Mercurial > hg > octave-nkf
annotate liboctave/ChangeLog @ 9528:ec066ba012c8
more fixes & tests for matrix multiply
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Sun, 16 Aug 2009 08:25:24 +0200 |
parents | 6a9fd5f653c9 |
children | baeecd69fd44 |
rev | line source |
---|---|
9528
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
1 2009-08-16 Jaroslav Hajek <highegg@gmail.com> |
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
2 |
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
3 * dMatrix.cc, fMatrix.cc, CMatrix.cc, fCMatrix.cc: Add more tests. |
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
4 * CMatrix.cc (xgemm): Fix vector * matrix case. |
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
5 * fCMatrix.cc (xgemm): Ditto. |
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
6 |
9527
6a9fd5f653c9
make single prec. matrix mutliply tests really single
Jaroslav Hajek <highegg@gmail.com>
parents:
9526
diff
changeset
|
7 2009-08-16 Jaroslav Hajek <highegg@gmail.com> |
6a9fd5f653c9
make single prec. matrix mutliply tests really single
Jaroslav Hajek <highegg@gmail.com>
parents:
9526
diff
changeset
|
8 |
6a9fd5f653c9
make single prec. matrix mutliply tests really single
Jaroslav Hajek <highegg@gmail.com>
parents:
9526
diff
changeset
|
9 * fMatrix.cc, fCMatrix.cc: Make tests use single precision. |
6a9fd5f653c9
make single prec. matrix mutliply tests really single
Jaroslav Hajek <highegg@gmail.com>
parents:
9526
diff
changeset
|
10 |
9526
f3ebc728ffd7
fix typos in complex xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9524
diff
changeset
|
11 2009-08-16 Jaroslav Hajek <highegg@gmail.com> |
f3ebc728ffd7
fix typos in complex xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9524
diff
changeset
|
12 |
f3ebc728ffd7
fix typos in complex xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9524
diff
changeset
|
13 * CMatrix.cc (xgemm): Fix typo. Add test. |
f3ebc728ffd7
fix typos in complex xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9524
diff
changeset
|
14 * fCMatrix.cc (xgemm): Ditto. |
f3ebc728ffd7
fix typos in complex xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9524
diff
changeset
|
15 |
9524
ace0febd263e
link liboctave with blas libs
John W. Eaton <jwe@octave.org>
parents:
9523
diff
changeset
|
16 2009-08-14 John W. Eaton <jwe@octave.org> |
ace0febd263e
link liboctave with blas libs
John W. Eaton <jwe@octave.org>
parents:
9523
diff
changeset
|
17 |
ace0febd263e
link liboctave with blas libs
John W. Eaton <jwe@octave.org>
parents:
9523
diff
changeset
|
18 * Makefile.in (LINK_DEPS): Include BLAS_LIBS in the list. |
ace0febd263e
link liboctave with blas libs
John W. Eaton <jwe@octave.org>
parents:
9523
diff
changeset
|
19 |
9523
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
20 2009-08-13 John W. Eaton <jwe@octave.org> |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
21 |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
22 * CMatrix.cc, CNDArray.cc, dMatrix.cc, dNDArray.cc, fCMatrix.cc, |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
23 fCNDArray.cc, fMatrix.cc, fNDARray.cc, oct-fftw.cc, oct-fftw.h: |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
24 Update for new FFTW defines. |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
25 |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
26 * Makefile.in: Add library-specific CPPFLAGS and LDFLAGS variables |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
27 to CPPFLAGS and LDFLAGS for files that use sparse matrices or fftw. |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
28 |
9518
113dba092d8c
include LDFLAGS for shared liboctave and liboctinterp
Jaroslav Hajek <highegg@gmail.com>
parents:
9516
diff
changeset
|
29 2009-08-12 Jaroslav Hajek <highegg@gmail.com> |
113dba092d8c
include LDFLAGS for shared liboctave and liboctinterp
Jaroslav Hajek <highegg@gmail.com>
parents:
9516
diff
changeset
|
30 |
113dba092d8c
include LDFLAGS for shared liboctave and liboctinterp
Jaroslav Hajek <highegg@gmail.com>
parents:
9516
diff
changeset
|
31 * Makefile.in: Include LDFLAGS when linking shared executable. |
113dba092d8c
include LDFLAGS for shared liboctave and liboctinterp
Jaroslav Hajek <highegg@gmail.com>
parents:
9516
diff
changeset
|
32 |
9516
fb933db0c517
convert fftw planner classes to singleton objects
John W. Eaton <jwe@octave.org>
parents:
9515
diff
changeset
|
33 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
|
34 |
fb933db0c517
convert fftw planner classes to singleton objects
John W. Eaton <jwe@octave.org>
parents:
9515
diff
changeset
|
35 * 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
|
36 (octave_float_fft_planner): Likewise. |
fb933db0c517
convert fftw planner classes to singleton objects
John W. Eaton <jwe@octave.org>
parents:
9515
diff
changeset
|
37 |
9515 | 38 2009-08-11 John W. Eaton <jwe@octave.org> |
39 | |
40 * Makefile.in (LINK_DEPS): Use READLINE_LIBS instead of | |
41 LIBREADLINE. Also link with TERM_LIBS and DL_LIBS. | |
42 | |
9513
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
43 2009-08-11 Jaroslav Hajek <highegg@gmail.com> |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
44 |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
45 * mx-inlines.cc (mx_inline_diff<T>): New overloaded template |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
46 function. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
47 (get_extent_triplet): Use dim_vector::first_non_singleton. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
48 (do_mx_diff_op): New template function. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
49 * dNDArray.cc (NDArray::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
50 * dNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
51 * fNDArray.cc (FloatNDArray::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
52 * fNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
53 * CNDArray.cc (ComplexNDArray::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
54 * CNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
55 * fCNDArray.cc (FloatComplexNDArray::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
56 * fCNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
57 * intNDArray.cc (intNDArray<T>::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
58 * intNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
59 |
9511
cc1fd3084cb2
implement dim_vector::first_non_singleton
Jaroslav Hajek <highegg@gmail.com>
parents:
9507
diff
changeset
|
60 2009-08-10 Jaroslav Hajek <highegg@gmail.com> |
cc1fd3084cb2
implement dim_vector::first_non_singleton
Jaroslav Hajek <highegg@gmail.com>
parents:
9507
diff
changeset
|
61 |
cc1fd3084cb2
implement dim_vector::first_non_singleton
Jaroslav Hajek <highegg@gmail.com>
parents:
9507
diff
changeset
|
62 * 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
|
63 |
9507
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
64 2009-08-06 Jaroslav Hajek <highegg@gmail.com> |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
65 |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
66 * dim-vector.h (dim_vector): Rewrite. Use single-alloc implementation |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
67 aka GCC's basic_string class. |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
68 * Array.cc: Use dim_vector::alloc where fitting. |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
69 * Array-util.cc: Ditto. |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
70 |
9493 | 71 2009-08-05 John W. Eaton <jwe@octave.org> |
72 | |
73 * oct-shlib.cc (octave_shl_load_shlib::open): Pass BIND_IMMEDIATE, | |
74 not BIND_DEFERRED to shl_load. | |
75 (octave_dlopen_shlib::open): Don't pass RTLD_GLOBAL to dlopen. | |
76 | |
9490 | 77 2009-08-05 John W. Eaton <jwe@octave.org> |
78 | |
79 * Makefile.in (LINK_DEPS): Omit $(BLAS_LIBS) from the list. | |
80 Include $(RLD_FLAG) in the list. | |
81 | |
9488
ee572cdd4b97
add configure checks for pthread library and compiler flags
John W. Eaton <jwe@octave.org>
parents:
9485
diff
changeset
|
82 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
|
83 |
ee572cdd4b97
add configure checks for pthread library and compiler flags
John W. Eaton <jwe@octave.org>
parents:
9485
diff
changeset
|
84 * 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
|
85 |
9485
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
86 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
|
87 |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
88 * 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
|
89 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
|
90 (command_editor::get_line_buffer): New function. |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
91 * 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
|
92 (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
|
93 |
9479
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
94 2009-07-31 Jaroslav Hajek <highegg@gmail.com> |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
95 |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
96 * idx-vector.h (idx_vector::is_range): New method. |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
97 (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
|
98 * 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
|
99 methods. |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
100 * Array-utils.cc (sub2ind, ind2sub): New functions. |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
101 |
9469
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
102 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
|
103 |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
104 * 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
|
105 * fNDArray.cc (operator >>): Likeise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
106 * 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
|
107 * fCNDArray.cc (operator >>): Likeise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
108 * 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
|
109 * dNDArray.cc (operator >>): Likeise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
110 * 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
|
111 * CNDArray.cc (operator >>): Likeise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
112 |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
113 * 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
|
114 (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
|
115 Provide specializations. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
116 (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
|
117 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
|
118 * 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
|
119 * dSparse.cc (operator >>): Call read_sparse_matrix. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
120 * CSparse.cc (operator >>): Likewise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
121 * boolSparse.cc (operator >>): Likewise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
122 * 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
|
123 * 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
|
124 New member functions. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
125 |
9441
160c564d5d25
initialize floating point values properly for NetBSD systems
Aleksej Saushev <asau@inbox.ru>
parents:
9431
diff
changeset
|
126 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
|
127 |
160c564d5d25
initialize floating point values properly for NetBSD systems
Aleksej Saushev <asau@inbox.ru>
parents:
9431
diff
changeset
|
128 * 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
|
129 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
|
130 |
9431 | 131 2009-07-11 John W. Eaton <jwe@octave.org> |
132 | |
133 * file-ops.cc (file_ops::symlink, file_ops::readlink): | |
134 Don't use incorrectly sized OCTAVE_LOCAL_BUFFER. | |
135 | |
9420
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
136 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
|
137 |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
138 * 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
|
139 (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
|
140 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
|
141 (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
|
142 (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
|
143 |
9417
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
144 2009-07-03 Jaroslav Hajek <highegg@gmail.com> |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
145 |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
146 * Sparse-op-defs.h (SPARSE_ALL_OP): Fix typo. |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
147 * dSparse.cc (SparseMatrix::prod): Ditto. |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
148 * CSparse.cc (ComplexSparseMatrix::prod): Ditto. |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
149 |
9414
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
150 2009-07-02 Jaroslav Hajek <highegg@gmail.com> |
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
151 |
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
152 * 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
|
153 ordering of row indices. |
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
154 |
9410
2ad67ccd09fd
fix typo in octave_sort::lookupb
Jaroslav Hajek <highegg@gmail.com>
parents:
9407
diff
changeset
|
155 2009-06-30 Jaroslav Hajek <highegg@gmail.com> |
2ad67ccd09fd
fix typo in octave_sort::lookupb
Jaroslav Hajek <highegg@gmail.com>
parents:
9407
diff
changeset
|
156 |
2ad67ccd09fd
fix typo in octave_sort::lookupb
Jaroslav Hajek <highegg@gmail.com>
parents:
9407
diff
changeset
|
157 * 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
|
158 |
9407
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
159 2009-06-29 Jaroslav Hajek <highegg@gmail.com> |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
160 |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
161 * 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
|
162 (octave_sort<T>::lookup<Comp>, |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
163 octave_sort<T>::lookupm<Comp>, |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
164 octave_sort<T>::lookupb<Comp>): Rewrite. |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
165 |
9402
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
166 2009-06-26 Michael Goffioul <michael.goffioul@gmail.com> |
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
167 |
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
168 * pathsearch.h (class dir_path::static_members): Decorate with |
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
169 OCTAVE_API. |
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
170 |
9400
df1ea906c1c4
a slight speed-up in oct-sort.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9399
diff
changeset
|
171 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
|
172 |
df1ea906c1c4
a slight speed-up in oct-sort.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9399
diff
changeset
|
173 * 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
|
174 the merge case. |
df1ea906c1c4
a slight speed-up in oct-sort.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9399
diff
changeset
|
175 |
9399
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
176 2009-06-26 Jaroslav Hajek <highegg@gmail.com> |
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
177 |
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
178 * 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
|
179 recursion. |
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
180 |
9391
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
181 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
|
182 |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
183 * 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
|
184 EigsRealSymmetricMatrixShift, EigsRealSymmetricFunc, |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
185 EigsRealNonSymmetricMatrix, EigsRealNonSymmetricMatrixShift, |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
186 EigsRealNonSymmetricFunc, EigsComplexNonSymmetricMatrix, |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
187 EigsComplexNonSymmetricMatrixShift, EigsComplexNonSymmetricFunc): |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
188 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
|
189 |
9370
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
190 2009-06-22 Jaroslav Hajek <highegg@gmail.com> |
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
191 |
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
192 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): |
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
193 Optimize w.r.t. COW of std::string. |
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
194 |
9362
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
195 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
|
196 |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
197 * 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
|
198 (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
|
199 (octave_sort<T>::lookup<Comp>): Rewrite. |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
200 (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
|
201 (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
|
202 (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
|
203 |
9359
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
204 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
|
205 |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
206 * 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
|
207 where appropriate. |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
208 * fMatrix.cc (xgemm): Ditto. |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
209 * CMatrix.cc (xgemm): Ditto. |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
210 * fCMatrix.cc (xgemm): Ditto. |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
211 |
9341
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
212 2009-06-12 Jaroslav Hajek <highegg@gmail.com> |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
213 |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
214 * oct-sort.cc (octave_sort::lookupm, octave_sort::lookupb): New |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
215 overloaded methods. |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
216 * oct-sort.h: Declare them. |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
217 * Array.cc (Array<T>::lookupm, Array<T>::lookupb): New methods. |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
218 * Array.h: Declare them. |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
219 |
9321
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
220 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
|
221 |
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
222 * 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
|
223 method. |
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
224 * 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
|
225 |
9319
0d9178575dd7
fix log2 with 2 outargs, loosen tests to meet IEEE
Jaroslav Hajek <highegg@gmail.com>
parents:
9310
diff
changeset
|
226 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
|
227 |
0d9178575dd7
fix log2 with 2 outargs, loosen tests to meet IEEE
Jaroslav Hajek <highegg@gmail.com>
parents:
9310
diff
changeset
|
228 * 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
|
229 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
|
230 |
9310 | 231 2009-06-07 Jaroslav Hajek <highegg@gmail.com> |
232 | |
233 * Array.cc (Array<T>::find): Avoid allocating excessive memory. Fix | |
234 order for backward searches. | |
235 | |
9287
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
236 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
|
237 |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
238 * 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
|
239 instantiate DiagArray2<T>::Proxy on MSVC. |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
240 * 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
|
241 * 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
|
242 * 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
|
243 |
9267 | 244 2009-05-26 John W. Eaton <jwe@octave.org> |
245 | |
246 * pathsearch.h (dir_path::path_sep_char (char), | |
247 dir_path::static_members::path_sep_char (char)): New functions. | |
248 | |
9232
7319e4de9e44
Add missing return statement in base-aepbal.h
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9228
diff
changeset
|
249 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
|
250 |
9237
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
251 * 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
|
252 * 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
|
253 * 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
|
254 * 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
|
255 * 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
|
256 * 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
|
257 * 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
|
258 * CMatrix.h (conj): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
259 * CNDArray.h (conj): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
260 * 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
|
261 * 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
|
262 * 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
|
263 * 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
|
264 Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
265 * fCMatrix.h (conj): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
266 * fCNDArray.h (conj): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
267 * fDiagMatrix.h (operator*): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
268 * 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
|
269 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
|
270 * 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
|
271 * 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
|
272 templates). |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
273 * 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
|
274 |
9235
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
275 * 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
|
276 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
|
277 volatile variable as const& argument). |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
278 * 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
|
279 * fCmplxQR.cc (FloatComplexQR::insert_col, |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
280 FloatComplexQR::delete_col): Ditto. |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
281 * 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
|
282 |
9233
b935bbfab7c4
Exclude pthread.h inclusion under Win32
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9232
diff
changeset
|
283 * 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
|
284 |
9232
7319e4de9e44
Add missing return statement in base-aepbal.h
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9228
diff
changeset
|
285 * 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
|
286 statement. |
7319e4de9e44
Add missing return statement in base-aepbal.h
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9228
diff
changeset
|
287 |
9228
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
288 2009-05-20 Jaroslav Hajek <highegg@gmail.com> |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
289 |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
290 * eigs-base.cc ( |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
291 EigsRealSymmetricMatrix, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
292 EigsRealSymmetricMatrixShift, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
293 EigsRealSymmetricFunc, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
294 EigsRealNonSymmetricMatrix, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
295 EigsRealNonSymmetricMatrixShift, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
296 EigsRealNonSymmetricFunc, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
297 EigsComplexNonSymmetricMatrix, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
298 EigsComplexNonSymmetricMatrixShift, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
299 EigsComplexNonSymmetricFunc): Update tests. |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
300 |
9227
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
301 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
|
302 |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
303 * CMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
304 (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
|
305 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
|
306 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
|
307 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
|
308 * CNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
309 (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
|
310 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
|
311 ComplexNDArray::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
312 * boolMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
313 (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
|
314 * boolNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
315 (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
|
316 * chMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
317 (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
|
318 * chNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
319 (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
|
320 * dMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
321 (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
|
322 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
|
323 Matrix::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
324 * dNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
325 (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
|
326 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
|
327 NDArray::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
328 * fCMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
329 (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
|
330 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
|
331 FloatComplexMatrix::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
332 * fCNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
333 (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
|
334 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
|
335 FloatComplexNDArray::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
336 * fMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
337 (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
|
338 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
|
339 FloatMatrix::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
340 * fNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
341 (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
|
342 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
|
343 FloatNDArray::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
344 * intNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
345 (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
|
346 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
|
347 |
9225
3161ccb261ec
delete ArrayN-idx from Makefile.in
Jaroslav Hajek <highegg@gmail.com>
parents:
9222
diff
changeset
|
348 2009-05-20 Jaroslav Hajek <highegg@gmail.com> |
3161ccb261ec
delete ArrayN-idx from Makefile.in
Jaroslav Hajek <highegg@gmail.com>
parents:
9222
diff
changeset
|
349 |
3161ccb261ec
delete ArrayN-idx from Makefile.in
Jaroslav Hajek <highegg@gmail.com>
parents:
9222
diff
changeset
|
350 * Makefile.in: Remove reference to ArrayN-idx.h. |
3161ccb261ec
delete ArrayN-idx from Makefile.in
Jaroslav Hajek <highegg@gmail.com>
parents:
9222
diff
changeset
|
351 |
9222
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
352 2009-05-20 Jaroslav Hajek <highegg@gmail.com> |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
353 |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
354 * Array-voidp.cc: New source. |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
355 * 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
|
356 * Makefile.in: Include it. |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
357 |
9201
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
358 2009-05-15 Jaroslav Hajek <highegg@gmail.com> |
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
359 |
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
360 * Array.cc (Array<T>::instantiation_guard): New function |
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
361 (INSTANTIATE_ARRAY): Always override it here. |
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
362 * Array.h: Declare it. |
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
363 |
9200
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
364 2009-05-15 Jaroslav Hajek <highegg@gmail.com> |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
365 |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
366 * ArrayN-idx.h: Remove file. |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
367 * ArrayN.cc: Don't include it. |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
368 * MArrayN.cc: Dtto. |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
369 |
9192
864805896876
fix zero-dims assignment bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9186
diff
changeset
|
370 2009-05-09 Jaroslav Hajek <highegg@gmail.com> |
864805896876
fix zero-dims assignment bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9186
diff
changeset
|
371 |
864805896876
fix zero-dims assignment bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9186
diff
changeset
|
372 * 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
|
373 |
9186
49a0c58a7dcf
Added SHLPRE for SHLEXT instead of SHLLIBPRE
marco_atzeri@yahoo.it
parents:
9182
diff
changeset
|
374 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
|
375 |
49a0c58a7dcf
Added SHLPRE for SHLEXT instead of SHLLIBPRE
marco_atzeri@yahoo.it
parents:
9182
diff
changeset
|
376 * Makefile.in: (SHLPRE): Rename from SHLLIBPRE. |
49a0c58a7dcf
Added SHLPRE for SHLEXT instead of SHLLIBPRE
marco_atzeri@yahoo.it
parents:
9182
diff
changeset
|
377 |
9182
23af5910e5f5
make load work for derived classses
Robert T. Short <octave@phaselockedsystems.com>
parents:
9179
diff
changeset
|
378 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
|
379 |
23af5910e5f5
make load work for derived classses
Robert T. Short <octave@phaselockedsystems.com>
parents:
9179
diff
changeset
|
380 * 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
|
381 |
9179
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
382 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
|
383 |
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
384 * 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
|
385 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
|
386 * 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
|
387 |
9177
39be2c4531c8
fix sparse indexing bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9169
diff
changeset
|
388 2009-05-05 Jaroslav Hajek <highegg@gmail.com> |
39be2c4531c8
fix sparse indexing bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9169
diff
changeset
|
389 |
39be2c4531c8
fix sparse indexing bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9169
diff
changeset
|
390 * Sparse.cc (assign1): Fix an old indexing bug. |
39be2c4531c8
fix sparse indexing bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9169
diff
changeset
|
391 |
9169
b1e82cc8a9f3
eliminate broken special case for copying floats on Sun systems
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9124
diff
changeset
|
392 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
|
393 |
b1e82cc8a9f3
eliminate broken special case for copying floats on Sun systems
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9124
diff
changeset
|
394 * 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
|
395 |
9124
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
396 2009-04-16 Jaroslav Hajek <highegg@gmail.com> |
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
397 |
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
398 * 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
|
399 Range&)): Check for positive integer indices. Unify gripes. |
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
400 |
9121
bb62bc406ea7
reuse fast blocked transpose implementation from rec_permute_helper in Array<T>::transpose
Jaroslav Hajek <highegg@gmail.com>
parents:
9100
diff
changeset
|
401 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
|
402 |
bb62bc406ea7
reuse fast blocked transpose implementation from rec_permute_helper in Array<T>::transpose
Jaroslav Hajek <highegg@gmail.com>
parents:
9100
diff
changeset
|
403 * 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
|
404 (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
|
405 |
9100
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
406 2009-04-04 Jaroslav Hajek <highegg@gmail.com> |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
407 |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
408 * 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
|
409 (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
|
410 pop operations. |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
411 (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
|
412 using resize. |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
413 |
9058
2da105bf2507
remove redundant checks from Array<T>::index
Jaroslav Hajek <highegg@gmail.com>
parents:
9046
diff
changeset
|
414 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
|
415 |
2da105bf2507
remove redundant checks from Array<T>::index
Jaroslav Hajek <highegg@gmail.com>
parents:
9046
diff
changeset
|
416 * 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
|
417 resize. |
2da105bf2507
remove redundant checks from Array<T>::index
Jaroslav Hajek <highegg@gmail.com>
parents:
9046
diff
changeset
|
418 |
9046
88bf56bbccca
make Array::find already return Matlab-compatible dimensions
Jaroslav Hajek <highegg@gmail.com>
parents:
9045
diff
changeset
|
419 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
|
420 |
88bf56bbccca
make Array::find already return Matlab-compatible dimensions
Jaroslav Hajek <highegg@gmail.com>
parents:
9045
diff
changeset
|
421 * 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
|
422 * 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
|
423 |
9045
ac0a23e9f5c5
more compatible indexing by logical empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9027
diff
changeset
|
424 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
|
425 |
ac0a23e9f5c5
more compatible indexing by logical empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9027
diff
changeset
|
426 * 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
|
427 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
|
428 |
9027
9a46ba093db4
generalize dim_vector::numel
Jaroslav Hajek <highegg@gmail.com>
parents:
9026
diff
changeset
|
429 2009-03-26 Jaroslav Hajek <highegg@gmail.com> |
9a46ba093db4
generalize dim_vector::numel
Jaroslav Hajek <highegg@gmail.com>
parents:
9026
diff
changeset
|
430 |
9a46ba093db4
generalize dim_vector::numel
Jaroslav Hajek <highegg@gmail.com>
parents:
9026
diff
changeset
|
431 * dim-vector.h (dim_vector::numel): Add optional argument, simplify. |
9a46ba093db4
generalize dim_vector::numel
Jaroslav Hajek <highegg@gmail.com>
parents:
9026
diff
changeset
|
432 |
9026
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
433 2009-03-26 Jaroslav Hajek <highegg@gmail.com> |
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
434 |
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
435 * 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
|
436 (Array<T>::is_vector): New method. |
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
437 |
9025 | 438 2009-03-26 Jaroslav Hajek <highegg@gmail.com> |
439 | |
440 * Array.cc (Array<T>::find): New method. | |
441 * Array.h: Declare it. | |
442 | |
9018
9057df9bb8a1
liboctave/Makefile.in (MATRIX_INC): add missing files to the list
John W. Eaton <jwe@octave.org>
parents:
9013
diff
changeset
|
443 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
|
444 |
9020
728e7943752d
EIG.cc: avoid volatile decl for tmp variable
John W. Eaton <jwe@octave.org>
parents:
9018
diff
changeset
|
445 * 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
|
446 EIG::init (const Matrix&, const Matrix&, bool)): |
9021 | 447 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
|
448 |
9018
9057df9bb8a1
liboctave/Makefile.in (MATRIX_INC): add missing files to the list
John W. Eaton <jwe@octave.org>
parents:
9013
diff
changeset
|
449 * 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
|
450 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
|
451 |
9013
3b1908b58662
fixes in mixed int64-double multiply emulation
Jaroslav Hajek <highegg@gmail.com>
parents:
9012
diff
changeset
|
452 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
|
453 |
3b1908b58662
fixes in mixed int64-double multiply emulation
Jaroslav Hajek <highegg@gmail.com>
parents:
9012
diff
changeset
|
454 * 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
|
455 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
|
456 |
9012
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
457 2009-03-25 Jaroslav Hajek <highegg@gmail.com> |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
458 |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
459 * Array.cc (rec_permute_helper::use_blk): New field. |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
460 (rec_permute_helper::blk_trans): New method. |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
461 (rec_permute_helper::rec_permute_helper): Use smart reductions, |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
462 detect possibility of using blocked transpose. |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
463 (rec_permute_helper::do_permute): Use blocked transpose if possible. |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
464 |
9007
7e31df9a0334
simplify double->int conversion in indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9003
diff
changeset
|
465 2009-03-23 Jaroslav Hajek <highegg@gmail.com> |
7e31df9a0334
simplify double->int conversion in indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9003
diff
changeset
|
466 |
7e31df9a0334
simplify double->int conversion in indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9003
diff
changeset
|
467 * idx-vector.cc (convert_index(double,...)): Simplify. |
7e31df9a0334
simplify double->int conversion in indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9003
diff
changeset
|
468 |
9003
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
469 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
|
470 |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
471 * 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
|
472 * Array-f.cc: Ditto. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
473 * oct-inttypes.cc: Ditto. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
474 * oct-inttypes.h: Ditto. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
475 * CDiagMatrix.cc: Add missing include. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
476 * fCDiagMatrix.cc: Ditto. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
477 |
8999
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
478 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
|
479 |
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
480 * 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
|
481 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
|
482 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
|
483 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
|
484 Allow empty arrays in stream input operators. |
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
485 |
8998
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
486 2009-03-20 Jaroslav Hajek <highegg@gmail.com> |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
487 |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
488 * Array.h (Array<T>::fastmap): New method. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
489 * dNDArray.cc (NDArray::isnan, NDArray::isinf, NDArray::isfinite): |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
490 New methods. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
491 * dNDArray.h: Declare them. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
492 * fNDArray.cc (FloatNDArray::isnan, FloatNDArray::isinf, |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
493 FloatNDArray::isfinite): New methods. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
494 * fNDArray.h: Declare them. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
495 * CNDArray.cc (ComplexNDArray::isnan, ComplexNDArray::isinf, |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
496 ComplexNDArray::isfinite): New methods. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
497 * CNDArray.h: Declare them. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
498 * fCNDArray.cc (FloatComplexNDArray::isnan, FloatComplexNDArray::isinf, |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
499 FloatComplexNDArray::isfinite): New methods. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
500 * fCNDArray.h: Declare them. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
501 * 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
|
502 from <cmath>. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
503 |
9501 | 504 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
|
505 |
1b097d86a61a
remove a TODO in oct-norm.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8987
diff
changeset
|
506 * 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
|
507 (higham): Use std::numeric_limits instead. |
1b097d86a61a
remove a TODO in oct-norm.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8987
diff
changeset
|
508 Include OCTAVE_QUIT. |
1b097d86a61a
remove a TODO in oct-norm.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8987
diff
changeset
|
509 |
8987
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
510 2009-03-16 Jason Riedy <jason@acm.org> |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
511 |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
512 * 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
|
513 retval.xcidx. |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
514 * 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
|
515 retval.xcidx. |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
516 |
8982
dc6bda6f9994
implement compound logical ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8981
diff
changeset
|
517 2009-03-14 Jaroslav Hajek <highegg@gmail.com> |
dc6bda6f9994
implement compound logical ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8981
diff
changeset
|
518 |
8983
e781ab1aee39
optimize comparison ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8982
diff
changeset
|
519 * 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
|
520 * 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
|
521 * 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
|
522 |
8981
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
523 2009-03-14 Jaroslav Hajek <highegg@gmail.com> |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
524 |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
525 * fNDArray.h (FloatMatrix::matrix_value): Fix return type. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
526 * dNDArray.cc (Matrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
527 * fNDArray.cc (FloatMatrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
528 * CNDArray.cc (ComplexMatrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
529 * fCNDArray.cc (FloatComplexMatrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
530 |
8971 | 531 2009-03-13 Jaroslav Hajek <highegg@gmail.com> |
532 | |
533 * Range.h (Range::Range (double, double, octave_idx_type)): Remove | |
534 constructor body. | |
535 * Range.cc: Move it here. Check for invalid range op results. | |
536 (all operators): Validate cache for invalid range op results. | |
8972
5fa53d1b6247
more indexing optimizations
Jaroslav Hajek <highegg@gmail.com>
parents:
8971
diff
changeset
|
537 * idx-vector.h (idx_vector::index): Optimize zero-step range case. |
5fa53d1b6247
more indexing optimizations
Jaroslav Hajek <highegg@gmail.com>
parents:
8971
diff
changeset
|
538 * idx-vector.cc (idx_vector::maybe_reduce): Always reduce colon in |
5fa53d1b6247
more indexing optimizations
Jaroslav Hajek <highegg@gmail.com>
parents:
8971
diff
changeset
|
539 singleton dimension. |
8971 | 540 |
8969
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
541 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
|
542 |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
543 * 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
|
544 permutation as a PermMatrix. |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
545 (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
|
546 PermMatrix. |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
547 |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
548 * 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
|
549 member functions. |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
550 |
8966
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
551 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
|
552 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
553 * 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
|
554 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
|
555 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
|
556 generate both subtraction variants. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
557 (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
|
558 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
|
559 (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
|
560 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
|
561 (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
|
562 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
|
563 (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
|
564 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
|
565 (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
|
566 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
|
567 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
568 * 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
|
569 sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
570 (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
|
571 diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
572 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
573 * 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
|
574 sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
575 (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
|
576 diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
577 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
578 * 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
|
579 combinations of diag + sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
580 (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
|
581 of diag - sparse, sparse - diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
582 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
583 * 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
|
584 combinations of diag + sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
585 (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
|
586 of diag - sparse, sparse - diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
587 |
8964
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
588 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
|
589 |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
590 * 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
|
591 (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
|
592 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
|
593 |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
594 * 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
|
595 DiagMatrix and ComplexDiagMatrix. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
596 * 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
|
597 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
|
598 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
|
599 * 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
|
600 * 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
|
601 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
|
602 |
8963
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
603 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
|
604 |
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
605 * 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
|
606 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
|
607 |
8958
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
608 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
|
609 |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
610 * PermMatrix.cc (PermMatrix::power): New method. |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
611 * PermMatrix.h: Declare it. |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
612 |
8956
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
613 2009-03-11 Jaroslav Hajek <highegg@gmail.com> |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
614 |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
615 * dNDArray.cc (NDArray::NDArray (const charNDArray&)): New |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
616 constructor. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
617 * fNDArray.cc (FloatNDArray::FloatNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
618 Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
619 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
620 Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
621 * fCNDArray.cc (FloatComplexNDArray::FloatComplexNDArray |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
622 (const charNDArray&)): Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
623 |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
624 * dNDArray.h (NDArray::NDArray (const charNDArray&)): Declare. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
625 * fNDArray.h (FloatNDArray::FloatNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
626 Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
627 * CNDArray.h (ComplexNDArray::ComplexNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
628 Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
629 * fCNDArray.h (FloatComplexNDArray::FloatComplexNDArray |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
630 (const charNDArray&)): Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
631 |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
632 * dMatrix.cc (Matrix::Matrix (const charMatrix&)): Cast to unsigned |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
633 chars. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
634 * fMatrix.cc (FloatMatrix::FloatMatrix (const charMatrix&)): Likewise. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
635 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
636 Likewise. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
637 * fCMatrix.cc (FloatComplexMatrix::FloatComplexMatrix |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
638 (const charMatrix&)): Likewise. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
639 |
8954
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
640 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
|
641 |
8968
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
642 * 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
|
643 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
|
644 matrix operator. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
645 (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
|
646 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
|
647 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
|
648 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
|
649 (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
|
650 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
|
651 (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
|
652 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
|
653 (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
|
654 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
|
655 |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
656 * 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
|
657 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
658 * 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
|
659 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
660 |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
661 * 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
|
662 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
663 * 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
|
664 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
665 |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
666 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
|
667 |
8954
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
668 * 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
|
669 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
|
670 |
8951
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
671 2009-03-10 Jason Riedy <jason@acm.org> |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
672 |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
673 * dSparse.cc (SparseMatrix::SparseMatrix (const PermMatrix&)): |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
674 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
|
675 structure correct. |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
676 |
8950
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
677 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
|
678 |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
679 * 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
|
680 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
|
681 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
|
682 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
|
683 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
|
684 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
|
685 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
|
686 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
|
687 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
|
688 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
|
689 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
|
690 |
8949
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
691 2009-03-10 Jaroslav Hajek <highegg@gmail.com> |
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
692 |
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
693 * 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
|
694 |
8934
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
695 2009-03-08 Jaroslav Hajek <highegg@gmail.com> |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
696 |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
697 * idx-vector.h (idx_vector::bloop): loop --> bloop. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
698 (idx_vector::loop): New method. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
699 * MArray.cc (MArray<T>::idx_add (cons idx_vector&, T)) |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
700 (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
|
701 * MArray.h: Declare them. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
702 |
8918
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
703 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
|
704 |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
705 * 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
|
706 * 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
|
707 with Array.h |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
708 * 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
|
709 * 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
|
710 Array<T>::element_type. |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
711 * 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
|
712 from MArrayN<T>. |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
713 |
8910
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
714 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
|
715 |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
716 * dSparse.h (SparseMatrix::SparseMatrix(const PermMatrix&)): New |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
717 constructor. |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
718 (SparseMatrix::SparseMatrix(const DiagMatrix&)): Fix implementation. |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
719 * CSparse.h (SparseComplexMatrix::SparseComplexMatrix(const ComplexDiagMatrix&)): |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
720 Fix implementation. |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
721 |
8908
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
722 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
|
723 |
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
724 * PermMatrix.h (PermMatrix::elem): Fix comparisons. |
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
725 |
8904
4de5544a1d1d
simplify also float version of xmin/xmax
Jaroslav Hajek <highegg@gmail.com>
parents:
8897
diff
changeset
|
726 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
|
727 |
4de5544a1d1d
simplify also float version of xmin/xmax
Jaroslav Hajek <highegg@gmail.com>
parents:
8897
diff
changeset
|
728 * 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
|
729 |
8897 | 730 2009-03-02 Jaroslav Hajek <highegg@gmail.com> |
731 | |
732 * mx-inlines.cc: Add missing #include. | |
733 | |
8873
e258715b2e78
fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents:
8864
diff
changeset
|
734 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
|
735 |
e258715b2e78
fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents:
8864
diff
changeset
|
736 * 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
|
737 |
8864 | 738 2009-02-25 Jaroslav Hajek <highegg@gmail.com> |
739 | |
740 * oct-inttypes.cc (pow (const octave_int<T>&, const octave_int<T>&)): | |
741 Simplify. | |
742 | |
8856
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
743 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
|
744 |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
745 * 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
|
746 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
|
747 (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
|
748 member function. |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
749 * 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
|
750 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
|
751 (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
|
752 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
|
753 |
8840
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
754 2009-02-23 Jaroslav Hajek <highegg@gmail.com> |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
755 |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
756 * dDiagMatrix.cc (DiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
757 * dDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
758 * fDiagMatrix.cc (FloatDiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
759 * fDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
760 * CDiagMatrix.cc (ComplexDiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
761 * CDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
762 * fCDiagMatrix.cc (FloatComplexDiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
763 * fCDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
764 |
8820
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
765 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
|
766 |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
767 * 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
|
768 constructor. |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
769 (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
|
770 (octave_sort<T>::MergeState::reset, |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
771 octave_sort<T>::MergeState::getmem, |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
772 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
|
773 (octave_sort<T>::sort, |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
774 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
|
775 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
|
776 |
8814
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
777 2009-02-19 Jaroslav Hajek <highegg@gmail.com> |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
778 |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
779 * oct-types.h (sortmode): Move enum here. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
780 * 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
|
781 (octave_sort<T>::lookup): New overloaded method. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
782 * oct-sort.cc: Reflect change to ms. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
783 (octave_sort<T>::lookup): New overloaded method. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
784 (out_of_range_pred): New helper class. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
785 (out_of_range): New helper function. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
786 * oct-lookup.h: Remove file. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
787 * Array.cc (Array<T>::lookup): New overloaded method. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
788 * Array.h: Declare it. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
789 |
8801
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
790 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
|
791 |
8811 | 792 * dbleQR.cc (QR::init, QR::form): Cast int to octave_idx_type in |
793 call to std::max. | |
794 * floatQR.cc (FloatQR::init, FloatQR::form): Ditto. | |
795 * CmplxQR.cc (ComplexQR::init, ComplexQR::form): Ditto. | |
796 * fCmplxQR.cc (FloatComplexQR::init, FloatComplexQR::form): Ditto. | |
797 | |
798 * dbleQRP.cc (QRP::init): Cast int to octave_idx_type in call to | |
799 std::max and as operand to -= operator. | |
800 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
801 * floatQRP.cc (FloatQRP::init): Ditto. | |
802 * fCmplxQRP.cc (FloatComplexQRP::init): Ditto. | |
803 | |
804 * CDiagMatrix.cc, CDiagMatrix.h (ComplexDiagMatrix::inverse): | |
805 Declare info as octave_idx_type, not int. | |
806 * dDiagMatrix.cc, dDiagMatrix.h (DiagMatrix::inverse): Ditto. | |
807 * fDiagMatrix.cc, fCDiagMatrix.h (FloatDiagMatrix::inverse): Ditto. | |
808 * fCDiagMatrix.cc, fCDiagMatrix.h (FloatComplexDiagMatrix::inverse): | |
809 Ditto. | |
810 | |
8806 | 811 * dMatrix.cc (Matrix::determinant): |
812 Declare local variables volatile as needed to avoid "maybe | |
813 clobbered by vfork" warning from GCC. | |
814 * fMatrix.cc (FloatMatrix::determinant): Likewise. | |
815 * CMatrix.cc (ComplexMatrix::determinant): Likewise. | |
816 * fCMatrix.cc (FloatComplexMatrix::determinant): Likewise. | |
817 * dbleQR.cc (QR::update, QR::insert_col, QR::delete_col): Likewise. | |
818 * floatQR.cc (FloatQR::update, FloatQR::insert_col, | |
819 FloatQR::delete_col): Likewise. | |
820 * CmplxQR.cc (ComplexQR::update, ComplexQR::insert_col, | |
821 ComplexQR::delete_col): Likewise. | |
822 * fCmplxQR.cc (FloatComplexQR::update, FloatComplexQR::insert_col, | |
823 FloatComplexQR::delete_col): Likewise. | |
824 | |
8801
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
825 * 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
|
826 static variable and function. |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
827 * 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
|
828 * 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
|
829 * 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
|
830 |
8799
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
831 2009-02-18 Jaroslav Hajek <highegg@gmail.com> |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
832 |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
833 * 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
|
834 dimensions. |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
835 |
8797
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
836 2009-02-18 Jaroslav Hajek <highegg@gmail.com> |
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
837 |
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
838 * 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
|
839 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
|
840 |
8784
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
841 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
842 |
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
843 * 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
|
844 |
8780
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
845 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
|
846 |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
847 * 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
|
848 Add TSRC/TRES parameters. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
849 (mx_inline_cumcount): New function. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
850 * 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
|
851 * intNDArray.h: Declare it. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
852 * 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
|
853 * boolNDArray.h: Declare it. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
854 |
8777
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
855 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
856 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
857 * mx-inlines.cc (OP_CUMMINMAX_FCN, OP_CUMMINMAX_FCN2, |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
858 OP_CUMMINMAX_FCNN): New macros. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
859 (mx_inline_cummax, mx_inline_cummin, do_mx_cumminmax_op): |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
860 New overloaded template functions. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
861 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
862 * dNDArray.cc (NDArray::cummin, NDArray::cummax): New methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
863 * dNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
864 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
865 * fNDArray.cc (FloatNDArray::cummin, FloatNDArray::cummax): New |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
866 methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
867 * fNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
868 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
869 * CNDArray.cc (ComplexNDArray::cummin, ComplexNDArray::cummax): New |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
870 methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
871 * CNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
872 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
873 * fCNDArray.cc (FloatComplexNDArray::cummin, |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
874 FloatComplexNDArray::cummax): New methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
875 * fCNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
876 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
877 * intNDArray.cc (intNDArray::cummin, intNDArray::cummax): New methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
878 * intNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
879 |
8776
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
880 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
881 |
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
882 * 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
|
883 |
8774
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
884 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
|
885 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
886 * 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
|
887 * 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
|
888 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
889 * 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
|
890 * 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
|
891 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
892 * 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
|
893 * 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
|
894 files. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
895 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
896 * 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
|
897 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
|
898 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
|
899 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
|
900 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
|
901 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
|
902 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
|
903 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
|
904 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
|
905 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
|
906 |
8760
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
907 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
|
908 |
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
909 * 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
|
910 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
|
911 |
8758
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
912 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
|
913 |
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
914 * 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
|
915 (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
|
916 (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
|
917 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
|
918 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
|
919 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
|
920 Remove unused macros. |
8758
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
921 |
8756
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
922 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
923 |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
924 * 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
|
925 (mx_inline_count): New overloaded template function. |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
926 * boolNDArray.h (boolNDArray::sum): Return NDArray. |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
927 * 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
|
928 |
8752
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
929 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
930 |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
931 * 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
|
932 * 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
|
933 * 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
|
934 octave_sort, reflect changes. |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
935 * 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
|
936 pointer types. |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
937 |
8751
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
938 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
939 |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
940 * oct-cmplx.h (operator <, operator >): New operators. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
941 * 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
|
942 New macros. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
943 (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
|
944 template functions. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
945 * dNDArray (NDArray::min, NDArray::max): Use do_mx_minmax_op. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
946 * fNDArray (FloatNDArray::min, FloatNDArray::max): Ditto. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
947 * CNDArray (ComplexNDArray::min, ComplexNDArray::max): Ditto. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
948 * fCNDArray (FloatComplexNDArray::min, FloatComplexNDArray::max): |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
949 Ditto. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
950 |
8750
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
951 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
|
952 |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
953 * 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
|
954 * chNDArray.cc (charNDArray::all, charNDArray::any): Ditto. |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
955 |
8749
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
956 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
|
957 |
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
958 * 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
|
959 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
|
960 |
8743
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
961 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
|
962 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
963 * 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
|
964 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
|
965 (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
|
966 (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
|
967 (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
|
968 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
969 * 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
|
970 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
971 * 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
|
972 and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
973 * 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
|
974 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
|
975 * 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
|
976 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
|
977 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
978 * 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
|
979 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
980 * 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
|
981 and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
982 * 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
|
983 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
|
984 * fCNDArray.cc (FloatComplexNDArray::any, FloatComplexNDArray::all): |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
985 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
|
986 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
987 * 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
|
988 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
989 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
990 * 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
|
991 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
992 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
993 * 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
|
994 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
995 |
8741
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
996 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
|
997 |
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
998 * intNDArray.cc: include mx-inlines.cc. |
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
999 (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
|
1000 * 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
|
1001 |
8736
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1002 2009-02-13 Jaroslav Hajek <highegg@gmail.com> |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1003 |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1004 * 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
|
1005 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
|
1006 OP_CUM_FCNN): New macros. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1007 (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
|
1008 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
|
1009 New template functions. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1010 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum, Matrix::prod, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1011 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
|
1012 * fMatrix.cc (FloatMatrix::cumprod, FloatMatrix::cumsum, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1013 FloatMatrix::prod, FloatMatrix::sum, FloatMatrix::sumsq): Use |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1014 do_mx_red_op and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1015 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1016 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): Use |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1017 do_mx_red_op and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1018 * fCMatrix.cc (FloatComplexMatrix::cumprod, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1019 FloatComplexMatrix::cumsum, FloatComplexMatrix::prod, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1020 FloatComplexMatrix::sum, FloatComplexMatrix::sumsq): Use do_mx_red_op |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1021 and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1022 |
8731
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
1023 2009-02-12 Jaroslav Hajek <highegg@gmail.com> |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
1024 |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
1025 * oct-inttypes.h (if_else_type): Remove |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
1026 (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
|
1027 |
8725 | 1028 2009-02-12 John W. Eaton <jwe@octave.org> |
1029 | |
1030 * lo-traits.h: New file. | |
1031 * Makefile.in (INCLUDES): Add it to the list. | |
1032 | |
1033 * Array.h (compare_fcn_type): New typedef. | |
1034 * oct-sort.h (compare_fcn_type): Ditto. | |
1035 | |
1036 * oct-sort.h, oct-sort.cc (octave_sort<T>::octave_sort, | |
1037 octave_sort<T>::set_compare, octave_sort<T>::compare): | |
1038 Use typedef to simplify decl. | |
1039 (octave_sort<T>::ascending_compare, | |
1040 octave_sort<T>::descending_compare): | |
1041 Use ref_param<T>::type for parameter decl. | |
1042 | |
1043 * Array.cc (sort_isnan): Use ref_param<T>::type for parameter decl. | |
1044 (Array<T>::sort): Use explicit template parameter for sort_isnan calls. | |
1045 | |
1046 * Array.cc, Array-C.cc, Array-fC.cc, Array-d.cc, Array-f.cc | |
1047 (sortrows_comparator): Rename from _sortrows_comparator. Change | |
1048 all uses. Use typedef for return value to simplify decl. | |
1049 (sort_isnan): Rename from _sort_isnan. Change all uses. | |
1050 (NO_INSTANTIATE_ARRAY_SORT): Use typedef to simplify instantiation | |
1051 of sortrows_comparator. | |
1052 | |
1053 * Array-C.cc, Array-fC.cc (sort_isnan, ascending_compare, | |
1054 descending_compare, nan_ascending_compare, | |
1055 nan_descending_compare): | |
1056 | |
8721
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1057 2009-02-11 Jaroslav Hajek <highegg@gmail.com> |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1058 |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1059 * 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
|
1060 octave_sort<T>::is_sorted_rows): New methods. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1061 * oct-sort.h: Declare them. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1062 |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1063 * Array.cc (Array<T>::is_sorted): New method. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1064 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT, |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1065 INSTANTIATE_ARRAY_AND_ASSIGN, INSTANTIATE_ARRAY): Move macros here. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1066 * Array.h: Reflect changes. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1067 |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1068 * dim-vector.h (dim_vector::is_vector): New method. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1069 * 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
|
1070 NaN in default comparators. Provide NaN-safe comparators, override |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1071 _sortrows_comparator. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1072 * 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
|
1073 _sortrows_comparator. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1074 * Range.cc (Range::is_sorted): New method. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1075 * Range.h: Declare it. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1076 |
8700 | 1077 2009-02-09 Jaroslav Hajek <highegg@gmail.com> |
1078 | |
1079 * oct-sort.cc (octave_sort<T>): Rewrite for optimizations. Allow | |
1080 inlined comparison functor and by-the-way indexed sorting. | |
1081 * oct-sort.h (octave_sort<T>): Update interface. | |
1082 * Array.cc (Array<T>::sort): Reflect changes. Use copy & partition | |
1083 mechanism. | |
1084 * Array-d.cc, Array-f.cc, Array-C.cc, Array-fC.cc, Array-s.cc, | |
1085 Array-i.cc: Reflect changes. | |
1086 | |
8689
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
1087 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
|
1088 |
8690
6e9887f9cf9f
file-stat.cc: use EXISTS instead of OK in previuos change
John W. Eaton <jwe@octave.org>
parents:
8689
diff
changeset
|
1089 * 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
|
1090 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
|
1091 |
8689
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
1092 * 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
|
1093 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
|
1094 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
|
1095 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
|
1096 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
|
1097 |
8681
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
1098 2009-02-05 Jaroslav Hajek <highegg@gmail.com> |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
1099 |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
1100 * idx-vector.h (idx_vector::idx_colon_rep, |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
1101 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
|
1102 idx_vector::idx_vector_rep): Declare allocators. |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
1103 * idx-vector.cc: Define them. |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
1104 |
8678
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
1105 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
|
1106 |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
1107 * 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
|
1108 * 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
|
1109 * 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
|
1110 * 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
|
1111 std::copy_backward where appropriate. |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
1112 |
8677
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1113 2009-02-05 John W. Eaton <jwe@octave.org> |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1114 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1115 * 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
|
1116 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1117 * 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
|
1118 Eliminate unused variable N. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1119 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1120 * MArray-f.cc (MArray<float>::norm (float p) const, |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1121 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
|
1122 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1123 * eigs-base.cc (EigsRealNonSymmetricFunc, EigsRealSymmetricFunc) |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1124 (EigsComplexNonSymmetricFunc): Avoid unused parameter warning. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1125 * idx-vector.cc (idx_vector::freeze): Likewise. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1126 |
8660
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
1127 2009-02-04 Jaroslav Hajek <highegg@gmail.com> |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
1128 |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
1129 * 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
|
1130 allocation for pointers and const pointers. |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
1131 |
8655
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
1132 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
|
1133 |
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
1134 * Makefile.in: Add missing library reference. |
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
1135 |
8651
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1136 2009-02-03 Jaroslav Hajek <highegg@gmail.com> |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1137 |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1138 * Array.cc (Array<T>::sort (octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1139 Copy array on-the-fly. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1140 (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
|
1141 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
|
1142 |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1143 * 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
|
1144 Copy array on-the-fly. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1145 (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
|
1146 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
|
1147 |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1148 * 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
|
1149 Copy array on-the-fly. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1150 (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
|
1151 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
|
1152 |
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
|
1153 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
|
1154 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1155 * 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
|
1156 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1157 * 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
|
1158 * 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
|
1159 * 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
|
1160 * 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
|
1161 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1162 * 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
|
1163 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1164 * 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
|
1165 * 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
|
1166 * 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
|
1167 * 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
|
1168 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1169 * 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
|
1170 |
8626
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
1171 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
|
1172 |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
1173 * 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
|
1174 * 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
|
1175 * 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
|
1176 |
8618
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
1177 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
|
1178 |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
1179 * 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
|
1180 and SHLBINPRE library prefixes. |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
1181 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
|
1182 |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1183 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
|
1184 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1185 * dMatrix.cc (Matrix::Matrix (const RowVector&)): Use shallow copy. |
8628 | 1186 (Matrix::Matrix (const ColumnVector&)): Ditto. |
1187 (Matrix::row): Ditto. | |
1188 (Matrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1189 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1190 * 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
|
1191 shallow copy. |
8628 | 1192 (FloatMatrix::FloatMatrix (const FloatColumnVector&)): Ditto. |
1193 (FloatMatrix::row): Ditto. | |
1194 (FloatMatrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1195 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1196 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const ComplexRowVector&)): |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1197 Use shallow copy. |
8628 | 1198 (ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): Ditto. |
1199 (ComplexMatrix::row): Ditto. | |
1200 (ComplexMatrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1201 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1202 * fCMatrix.cc (FloatComplexMatrix::FloatComplexMatrix (const FloatComplexRowVector&)): |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1203 Use shallow copy. |
8628 | 1204 (FloatComplexMatrix::FloatComplexMatrix (const FloatComplexColumnVector&)): Ditto. |
1205 (FloatComplexMatrix::row): Ditto. | |
1206 (FloatComplexMatrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1207 |
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
|
1208 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
|
1209 |
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
|
1210 * 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
|
1211 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
|
1212 |
8597
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1213 2009-01-27 Jaroslav Hajek <highegg@gmail.com> |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1214 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1215 * dbleQR.cc (QR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1216 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1217 (QR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1218 * dbleQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1219 * dbleQRP.cc (QRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1220 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1221 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1222 * floatQR.cc (FloatQR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1223 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1224 (FloatQR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1225 * floatQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1226 * floatQRP.cc (FloatQRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1227 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1228 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1229 * CmplxQR.cc (ComplexQR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1230 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1231 (ComplexQR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1232 * CmplxQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1233 * CmplxQRP.cc (ComplexQRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1234 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1235 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1236 * fCmplxQR.cc (FloatComplexQR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1237 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1238 (FloatComplexQR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1239 * fCmplxQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1240 * fCmplxQRP.cc (FloatComplexQRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1241 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1242 |
8580
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
1243 2009-01-23 Jaroslav Hajek <highegg@gmail.com> |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
1244 |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
1245 * 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
|
1246 Optimize assignment to an empty array. |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
1247 (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
|
1248 Optimize assignment to an empty array. |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
1249 |
8579
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
1250 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
1251 |
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
1252 * Array2.h (Array2<T>::index): Declare resize_ok as bool. |
8628 | 1253 * 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
|
1254 refs. |
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
1255 |
8565 | 1256 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
1257 | |
1258 * Range.cc (sort_internal): Add missing test. | |
1259 | |
8563
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
1260 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
1261 |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
1262 * Array.cc (Array<T>::index (..., bool resize_ok)): |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
1263 Optimize the all-scalar-indices cases. |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
1264 |
8562
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
1265 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
|
1266 |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
1267 * 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
|
1268 * dbleQR.cc: Define it. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
1269 * (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
|
1270 methods unconditionally. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
1271 * (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
|
1272 updating replacement methods. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
1273 * (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
|
1274 replacement methods unconditionally. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
1275 * (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
|
1276 updating replacement methods. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
1277 |
8553
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
1278 2009-01-21 Jaroslav Hajek <highegg@gmail.com> |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
1279 |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
1280 * Range.cc ( operator + (double x, const Range& r), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
1281 operator + (const Range& r, double x), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
1282 operator - (double x, const Range& r), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
1283 operator - (const Range& r, double x), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
1284 operator * (double x, const Range& r), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
1285 operator * (const Range& r, double x)): New operators. |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
1286 * Range.h: Declare them. |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
1287 |
8549 | 1288 2009-01-20 John W. Eaton <jwe@octave.org> |
1289 | |
1290 * file-stat.h, file-stat.cc (class base_file_stat): New base class. | |
1291 (class file_stat): Derive from base_file_stat. | |
1292 (class file_fstat): New class, derived from base_file_stat. | |
1293 | |
8547
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1294 2009-01-17 Jaroslav Hajek <highegg@gmail.com> |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1295 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1296 * floatQR.h (FloatQR::update, FloatQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1297 FloatQR::insert_row, FloatQR::delete_col, FloatQR::delete_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1298 FloatQR::shift_col): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1299 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1300 * floatQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1301 (FloatQR::update, FloatQR::insert_col, FloatQR::insert_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1302 FloatQR::delete_col, FloatQR::delete_row, FloatQR::shift_col): Reflect |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1303 changes in qrupdate interfaces, implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1304 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1305 * dbleQR.h (QR::update, QR::insert_col, QR::insert_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1306 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
|
1307 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1308 * dbleQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1309 (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
|
1310 QR::delete_row, QR::shift_col): Reflect changes in qrupdate |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1311 interfaces, implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1312 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1313 * fCmplxQR.h (FloatComplexQR::update, FloatComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1314 FloatComplexQR::insert_row, FloatComplexQR::delete_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1315 FloatComplexQR::delete_row, FloatComplexQR::shift_col): Update |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1316 interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1317 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1318 * fCmplxQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1319 (FloatComplexQR::update, FloatComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1320 FloatComplexQR::insert_row, FloatComplexQR::delete_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1321 FloatComplexQR::delete_row, FloatComplexQR::shift_col): Reflect |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1322 changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1323 implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1324 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1325 * CmplxQR.h (ComplexQR::update, ComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1326 ComplexQR::insert_row, ComplexQR::delete_col, ComplexQR::delete_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1327 ComplexQR::shift_col): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1328 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1329 * CmplxQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1330 (ComplexQR::update, ComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1331 ComplexQR::insert_row, ComplexQR::delete_col, ComplexQR::delete_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1332 ComplexQR::shift_col): Reflect changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1333 implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1334 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1335 * floatCHOL.h (FloatCHOL::update, FloatCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1336 FloatCHOL::insert_sym): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1337 * floatCHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1338 (FloatCHOL::update, FloatCHOL::downdate, FloatCHOL::insert_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1339 FloatCHOL::delete_sym, FloatCHOL::shift_sym): Reflect changes in |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1340 qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1341 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1342 * CHOL.h (CHOL::update, CHOL::downdate, CHOL::insert_sym): Update |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1343 interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1344 * CHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1345 (CHOL::update, CHOL::downdate, CHOL::insert_sym, CHOL::delete_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1346 CHOL::shift_sym): Reflect changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1347 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1348 * fCmplxCHOL.h (FloatComplexCHOL::update, FloatComplexCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1349 FloatComplexCHOL::insert_sym): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1350 * fCmplxCHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1351 (FloatComplexCHOL::update, FloatComplexCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1352 FloatComplexCHOL::insert_sym, FloatComplexCHOL::delete_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1353 FloatComplexCHOL::shift_sym): Reflect changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1354 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1355 * CmplxCHOL.h (ComplexCHOL::update, ComplexCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1356 ComplexCHOL::insert_sym): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1357 * CmplxCHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1358 (ComplexCHOL::update, ComplexCHOL::downdate, ComplexCHOL::insert_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1359 ComplexCHOL::delete_sym, ComplexCHOL::shift_sym): Reflect changes in |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1360 qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1361 |
8531
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
1362 2009-01-17 Jaroslav Hajek <highegg@gmail.com> |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
1363 |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
1364 * 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
|
1365 slice_len. |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
1366 |
8526
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
1367 2009-01-15 John W. Eaton <jwe@octave.org> |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
1368 |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
1369 * Sparse.cc (Sparse<T>::reshape): Include mismatched dimensions in |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
1370 error message. |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
1371 * Array.cc (Array<T>::reshape): Likewise. |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
1372 From Robert Millan <rmh@aybabtu.com>. |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
1373 |
8524
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1374 2009-01-14 Jaroslav Hajek <highegg@gmail.com> |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1375 |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1376 * 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
|
1377 * Array.cc (Array<T>::make_unique): Move implementation here. |
8628 | 1378 (Array<T>::fill): Ditto. |
8524
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1379 * DiagArray2.h (DiagArray2<T>): Reimplement without abusing |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1380 Array<T> internals. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1381 (DiagArray2<T>::operator Array2<T>): New method. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1382 * DiagArray2.cc (DiagArray2<T>): Update methods. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1383 * MDiagArray2.h (MDiagArray2<T>::operator Array2<T>): Simplify. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1384 * PermMatrix.h (PermMatrix): Reimplement without abusing |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1385 Array<T> internals. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1386 * PermMatrix.cc (PermMatrix): Update methods. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1387 |
8523
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1388 2009-01-14 Jaroslav Hajek <highegg@gmail.com> |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1389 |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1390 * 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
|
1391 slice_len. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1392 (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
|
1393 octave_idx_type, octave_idx_type)): New constructor. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1394 (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
|
1395 range. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1396 (Array<T>::make_unique): Rewrite. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1397 (Array<T>::ArrayRep): Delete redundant methods. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1398 (rec_index_helper::is_cont_range): New method. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1399 (Array<T>::maybe_economize): New method. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1400 * DiagArray2.cc (DiagArray2<T>::resize): Fix the mess. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1401 |
8521 | 1402 2008-01-15 Rafael Laboissiere <rafael@debian.org> |
1403 | |
1404 * oct-md5.cc: Include <cstdio>. | |
1405 | |
8503
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
1406 2009-01-13 Jaroslav Hajek <highegg@gmail.com> |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
1407 |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
1408 * Array.h (Array::ArrayRep::qsort): Remove. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
1409 (Array::qsort): Remove. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
1410 * glob-match.cc (glob_match::glob): qsort -> sort. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
1411 * str-vec.cc (string_vector::compare): Remove. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
1412 * str-vec.h (string_vector::compare): Remove decl. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
1413 (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
|
1414 |
8417
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
1415 2008-12-23 David Bateman <dbateman@free.fr> |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
1416 |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
1417 * 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
|
1418 * Makefile.in (TEMPLATE_SRC): Add it here. |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
1419 |
8410 | 1420 2008-12-16 Jaroslav Hajek <highegg@gmail.com> |
1421 | |
1422 * Array.cc (rec_permute_helper): New class. | |
1423 (Array<T>::permute): Rewrite using the recursive algorithm. | |
1424 | |
8403 | 1425 2008-12-12 David Bateman <dbateman@free.fr> |
1426 | |
1427 * sparse-base-chol.cc (inverse): Fix inversion based on cholesky | |
1428 factorization. | |
1429 | |
8400
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
1430 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
|
1431 |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
1432 * oct-locbuf.cc: New source. |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
1433 * 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
|
1434 (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
|
1435 POD types. |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
1436 |
8397 | 1437 2008-12-11 Jaroslav Hajek <highegg@gmail.com> |
1438 | |
1439 * mx-op-defs.h (DMDM_BIN_OP): Fix invalid buffer length. | |
1440 | |
8392
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
1441 2008-12-10 Jaroslav Hajek <highegg@gmail.com> |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
1442 |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
1443 * dMatrix.h, dMatrix.cc (Matrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
1444 * fMatrix.h, fMatrix.cc (FloatMatrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
1445 * CMatrix.h, CMatrix.cc (ComplexMatrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
1446 * fCMatrix.h, fCMatrix.cc (FloatComplexMatrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
1447 |
8386
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
1448 2008-12-09 Jaroslav Hajek <highegg@gmail.com> |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
1449 |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
1450 * base-aepbal.h: New source. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
1451 * dbleAEPBAL.h, dbleAEPBAL.cc: Rebase AEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
1452 * floatAEPBAL.h, floatAEPBAL.cc: Rebase FloatAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
1453 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Rebase ComplexAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
1454 * fCmplxAEPBAL.h, fCmplxAEPBAL.cc: Rebase FloatComplexAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
1455 |
8384
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
1456 2008-12-08 Jaroslav Hajek <highegg@gmail.com> |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
1457 |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
1458 * 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
|
1459 Sparse<bool>&)): New constructor. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
1460 * idx_vector.h: Declare it. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
1461 (idx_vector::idx_vector (const Sparse<bool>&)): New constructor. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
1462 * 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
|
1463 Array<bool>&)): Fix extent calculation. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
1464 |
8385
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
1465 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
|
1466 |
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
1467 * 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
|
1468 |
8380
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
1469 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
|
1470 |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
1471 * 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
|
1472 * 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
|
1473 (MDM_MULTIPLY_OP): Use mx_inline_mul_vs and mx_inline_fill_vs. |
8628 | 1474 (DMM_MULTIPLY_OP): Ditto. |
8380
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
1475 * fDiagMatrix.cc (operator *): Remove redundant ifs. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
1476 * fCDiagMatrix.cc (operator *): Remove redundant ifs. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
1477 |
8379
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
1478 2008-12-06 Jaroslav Hajek <highegg@gmail.com> |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
1479 |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
1480 * oct-locbuf.h (OCTAVE_LOCAL_BUFFER_INIT): New macro. |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
1481 |
8377
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
1482 2008-10-29 Jaroslav Hajek <highegg@gmail.com> |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
1483 |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
1484 * oct-locbuf.h: New header file. |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
1485 * 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
|
1486 CSparse.cc, CmplxCHOL.cc, CmplxGEPBAL.cc, MatrixType.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
1487 Sparse-op-defs.h, Sparse.cc, SparseCmplxLU.cc, SparseCmplxQR.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
1488 SparseQR.cc, SparsedbleLU.cc, dMatrix.cc, dNDArray.cc, dSparse.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
1489 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
|
1490 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
|
1491 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
|
1492 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
|
1493 |
8375
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1494 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
|
1495 |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1496 * 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
|
1497 (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
|
1498 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
|
1499 (DiagArray2<T>::diag): New method decl. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1500 * 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
|
1501 * 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
|
1502 * dDiagMatrix.cc (DiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1503 * fDiagMatrix.cc (FloatDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1504 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1505 * fCDiagMatrix.cc (FloatComplexDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1506 |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1507 * 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
|
1508 (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
|
1509 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
|
1510 |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1511 |
8371
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1512 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
|
1513 |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1514 * 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
|
1515 method. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1516 * dDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1517 * fDiagMatrix.cc (FloatDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1518 FloatDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1519 * fDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1520 * CDiagMatrix.cc (ComplexDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1521 ComplexDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1522 * CDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1523 * fCDiagMatrix.cc (FloatComplexDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1524 FloatComplexDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1525 * fCDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1526 |
8369 | 1527 2008-12-04 Jaroslav Hajek <highegg@gmail.com> |
1528 | |
1529 * idx-vector.cc (idx-vector::complement): Add missing delete. | |
1530 | |
8368
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
1531 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
|
1532 |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
1533 * 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
|
1534 * 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
|
1535 * 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
|
1536 * 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
|
1537 |
8367
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1538 2008-12-03 Jaroslav Hajek <highegg@gmail.com> |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1539 |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1540 * PermMatrix.h, PermMatrix.cc: New sources. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1541 * MDiagArray2.cc (MDiagArray2<T>::is_multiple_of_identity): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1542 * MDiagArray2.h (MDiagArray2<T>::is_multiple_of_identity): Declare it. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1543 * idx-vector.cc (idx_vector::is_permutation): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1544 * idx-vector.h (idx_vector::is_permutation): Declare it. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1545 * base-lu.cc (base_lu::getp): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1546 (base_lu::P): Call getp. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1547 (base_lu::Pvec): Call getp. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1548 * 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
|
1549 params. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1550 * dbleQRP.cc (dbleQRP::dbleQRP): Construct a permutation matrix. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1551 (dbleQRP::Pvec): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1552 * dbleQRP.h: Declare new method. Declare P as PermMatrix. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1553 * CmplxQRP.cc (ComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1554 * CmplxQRP.h (ComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1555 * floatQRP.cc (FloatQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1556 * floatQRP.h (FloatQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1557 * fCmplxQRP.cc (FloatComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1558 * fCmplxQRP.h (FloatComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1559 |
8366
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1560 2008-12-01 Jaroslav Hajek <highegg@gmail.com> |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1561 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1562 * 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
|
1563 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1564 (DiagArray2<T>::elem, xelem, operator ()): Move to header file to |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1565 enable inlining. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1566 * DiagArray2.cc (DiagArray2<T>::elem, xelem, operator ()): Remove |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1567 implementations. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1568 * 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
|
1569 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1570 (MDiagArray2<T>::nnz): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1571 * MDiagArray2.cc (MDiagArray2<T>::nnz): Implement it. |
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 * dDiagMatrix.h (DiagMatrix::DiagMatrix (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 (DiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1576 (real (const ComplexDiagMatrix&), imag (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1577 New decls. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1578 * dDiagMatrix.cc (DiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1579 (operator *(const DiagMatrix&, const DiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1580 (real (const ComplexDiagMatrix&), imag (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1581 New functions. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1582 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1583 * fDiagMatrix.h (FloatDiagMatrix::FloatDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1584 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1585 (FloatDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1586 (real (const FloatComplexDiagMatrix&), imag (const FloatComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1587 New decls. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1588 * fDiagMatrix.cc (FloatDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1589 (operator *(const FloatDiagMatrix&, const FloatDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1590 (real (const FloatComplexDiagMatrix&), imag (const FloatComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1591 New functions. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1592 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1593 * CDiagMatrix.h (ComplexDiagMatrix::ComplexDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1594 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1595 (ComplexDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1596 (conj (const ComplexDiagMatrix&)): Add missing decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1597 (ComplexDiagMatrix::all_elements_are_real): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1598 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1599 * CDiagMatrix.cc (CDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1600 (operator *(const DiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1601 (operator *(const ComplexDiagMatrix&, const DiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1602 (operator *(const ComplexDiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1603 (ComplexDiagMatrix::all_elements_are_real): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1604 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1605 * fCDiagMatrix.h (FloatComplexDiagMatrix::FloatComplexDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1606 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1607 (FloatComplexDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1608 (conj (const FloatComplexDiagMatrix&)): Add missing decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1609 (FloatComplexDiagMatrix::all_elements_are_real): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1610 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1611 * fCDiagMatrix.cc (CDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1612 (operator *(const FloatDiagMatrix&, const FloatComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1613 (operator *(const FloatComplexDiagMatrix&, const FloatDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1614 (operator *(const ComplexDiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1615 (FloatComplexDiagMatrix::all_elements_are_real): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1616 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1617 * dSparse.cc (SparseMatrix::SparseMatrix (const DiagMatrix&)): New |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1618 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1619 * dSparse.h (SparseMatrix::SparseMatrix (const DiagMatrix&)): Declare |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1620 it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1621 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1622 * CSparse.cc (SparseComplexMatrix::SparseComplexMatrix (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1623 New constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1624 * CSparse.h (SparseComplexMatrix::SparseComplexMatrix (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1625 Declare it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1626 * 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
|
1627 |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1628 2008-11-21 Jarkko Kaleva <d3roga@gmail.com> |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1629 |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1630 * EIG.h (EIG::EIG (const Matrix& a, const Matrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1631 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1632 (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
|
1633 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1634 (EIG::EIG (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1635 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1636 (EIG::EIG (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1637 octave_idx_type& info, bool calc_eigenvectors = true)): New |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1638 constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1639 * EIG.cc (EIG::init (const Matrix& a, const Matrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1640 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1641 (EIG::init (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1642 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1643 (EIG::symmetric_init (const Matrix& a, const Matrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1644 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1645 (EIG::hermitian_init (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1646 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1647 * fEIG.h (fEIG::fEIG (const FloatMatrix& a, const FloatMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1648 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1649 (fEIG::fEIG (const FloatMatrix& a, const FloatMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1650 octave_idx_type& info, bool calc_eigenvectors = true)): New |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1651 constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1652 (fEIG::fEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1653 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1654 (fEIG::fEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1655 octave_idx_type& info, bool calc_eigenvectors = true)): New |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1656 constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1657 (fEIG::init (const FloatMatrix& a, const FloatMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1658 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1659 (fEIG::init (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1660 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1661 (fEIG::symmetric_init (const FloatMatrix& a, const FloatMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1662 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1663 (fEIG::hermitian_init (const FloatComplexMatrix& a, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1664 const FloatComplexMatrix& b, bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1665 |
8337
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
1666 2008-11-19 Jaroslav Hajek <highegg@gmail.com> |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
1667 |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
1668 * dMatrix.cc (Matrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
1669 fMatrix.cc (FloatMatrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
1670 CMatrix.cc (ComplexMatrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
1671 fCMatrix.cc (FloatComplexMatrix::determinant): |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
1672 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
|
1673 |
8336
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1674 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
|
1675 |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1676 * 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
|
1677 * dMatrix.cc (Matrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1678 fMatrix.cc (FloatMatrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1679 CMatrix.cc (ComplexMatrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1680 fCMatrix.cc (FloatComplexMatrix::determinant): |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1681 Allow taking MatrixType argument. |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1682 * 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
|
1683 |
8335 | 1684 2008-11-19 Jaroslav Hajek <highegg@gmail.com> |
1685 | |
1686 * DET.h: New source. | |
1687 * CmplxDET.cc, CmplxDET.h, dbleDET.cc, dbleDET.h, fCmplxDET.cc, | |
1688 fCmplxDET.h, floatDET.cc, floatDET.h: Remove. | |
1689 * Makefile.in: Reflect changes. | |
1690 * mx-defs.h: Remove DET decls. | |
1691 * mx-ext.h, dMatrix.h, fMatrix.h, CMatrix.h, fCMatrix.h, | |
1692 dSparse.h, CSparse.h: Include only DET.h. | |
1693 * dMatrix.cc (Matrix::determinant), | |
1694 fMatrix.cc (FloatMatrix::determinant), | |
1695 CMatrix.cc (ComplexMatrix::determinant), | |
1696 fCMatrix.cc (FloatComplexMatrix::determinant), | |
1697 dSparse.cc (SparseMatrix::determinant), | |
1698 CSparse.cc (SparseComplexMatrix::determinant): Use new class. | |
1699 | |
8328
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
1700 2008-11-18 David Bateman <dbateman@free.fr> |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
1701 |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
1702 * file-ops.cc (std::string file_ops::tilde_expand (const |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
1703 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
|
1704 return if not. |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
1705 |
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
|
1706 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
|
1707 |
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
|
1708 * 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
|
1709 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
|
1710 |
8324 | 1711 2008-11-14 David Bateman <dbateman@free.fr> |
1712 | |
1713 * Array2.h (Array2<T> Array2<T>::index): Correct use of | |
1714 resize_fill_value. | |
1715 | |
8319
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1716 2008-11-12 Michael Goffioul <michael.goffioul@gmail.com> |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1717 |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1718 * 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
|
1719 MArray<T>::norm specialization before implicit MArray<T> implicit |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1720 instantiation. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1721 * 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
|
1722 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
|
1723 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
|
1724 OCTAVE_API tag. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1725 * 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
|
1726 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
|
1727 * oct-inttypes.cc (octave_int<T>::type_name): Ditto. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1728 * 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
|
1729 to double. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1730 * oct-inttypes.h: Undefine min/max. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1731 * 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
|
1732 tag. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1733 * oct-norm.cc (xnorm, xfrobnorm, xcolnorms, xrownorms): Ditto. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1734 |
9501 | 1735 2008-11-12 Jaroslav Hajek <highegg@gmail.com> |
8314
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
1736 |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
1737 * DiagArray2.h (DiagArray2<T>::maybe_delete_elements): Remove |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
1738 declaration. |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
1739 |
9501 | 1740 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
|
1741 |
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
|
1742 * 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
|
1743 (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
|
1744 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
|
1745 Array<T>::resize. |
8628 | 1746 (row_norms (const MArray2<T>&, ...)): Ditto. |
1747 (column_norms (const MSparse2<T>&, ...)): Ditto. | |
1748 (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
|
1749 |
8303
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1750 2008-10-31 Jaroslav Hajek <highegg@gmail.com> |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1751 |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1752 * oct-norm.h: New header file. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1753 * oct-norm.cc: New source. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1754 * CSparse.cc (SparseComplexMatrix::row, SparseComplexMatrix::column): |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1755 New member functions. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1756 * CSparse.h (SparseComplexMatrix): Declare them. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1757 * dSparse.cc (SparseMatrix::row, SparseMatrix::column): |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1758 New member functions. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1759 * dSparse.h (SparseMatrix): Declare them. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1760 * MArray-C.cc (MArray<Complex>::norm), |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1761 MArray-d.cc (MArray<double>::norm), |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1762 MArray-fC.cc (MArray<FloatComplex>::norm), |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1763 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
|
1764 |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1765 * MArray-defs.h (MARRAY_NORM_BODY): Remove. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1766 |
9501 | 1767 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
|
1768 |
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
1769 * 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
|
1770 correctly. |
8302
f2e050b62199
fix dim check in Array<T>::delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8301
diff
changeset
|
1771 * 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
|
1772 Fix check for invalid dim. |
8301
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
1773 |
8298
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
1774 2008-10-31 Jaroslav Hajek <highegg@gmail.com> |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
1775 |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
1776 * 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
|
1777 extent when len is zero. |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
1778 * 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
|
1779 Create empty range by default. |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
1780 |
9501 | 1781 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
|
1782 |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
1783 * 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
|
1784 (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
|
1785 std::abs. |
8628 | 1786 * 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
|
1787 |
9501 | 1788 2008-10-28 Jaroslav Hajek <highegg@gmail.com> |
8290
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1789 |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1790 * 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
|
1791 Don't use semicolon after INSTANTIATE_ARRAY_ASSIGN. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1792 * Array-util.h (zero_dims_inquire): New declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1793 (is_in, how_many_lgt, short_freeze): Remove declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1794 * Array-util.cc (zero_dims_inquire): New functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1795 (is_in, how_many_lgt, short_freeze): Remove functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1796 * 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
|
1797 Array<T>::assign, Array<T>::delete_elements): |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1798 Rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1799 * 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
|
1800 Array<T>::assign, Array<T>::delete_elements): |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1801 Rewrite interfaces. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1802 * Array2.h (Array2<T>::resize): Call Array<T>::resize_fill. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1803 * Array3.h (Array3<T>::resize): Call Array<T>::resize_fill. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1804 * ArrayN.h (ArrayN<T>::resize): Remove declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1805 (ArrayN<T>::index): Fix call to resize_fill_value. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1806 * Sparse.cc (assign, assign1): Use zero-based indices. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1807 * chMatrix.h: Include mx-op-defs.h |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1808 * 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
|
1809 dim_vector::redim): New member functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1810 * idx-vector.cc: Mostly rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1811 * idx-vector.h: Mostly rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1812 |
8288
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
1813 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
|
1814 |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
1815 * 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
|
1816 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
|
1817 not supported under MSVC. |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
1818 |
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
|
1819 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
|
1820 |
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
|
1821 * 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
|
1822 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
|
1823 (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
|
1824 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
|
1825 |
8278
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
1826 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
|
1827 |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
1828 * 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
|
1829 (cbesi): Likewise. |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
1830 |
8272
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
1831 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
|
1832 |
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
1833 * 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
|
1834 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
|
1835 |
8271
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
1836 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
|
1837 |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
1838 * 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
|
1839 of RTLD_LAZY. |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
1840 |
9501 | 1841 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
|
1842 |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
1843 * CSparse.cc (ComplexMatrix::expm): Improve inverse preconditioning |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
1844 according to Marco Caliari. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
1845 * dSparse.cc (Matrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
1846 * fCSparse.cc (FloatComplexMatrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
1847 * fSparse.cc (FloatMatrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
1848 |
8207
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
1849 2008-10-10 Jaroslav Hajek <highegg@gmail.com> |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
1850 |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
1851 * sparse-util.h (SparseCholPrint): Change char * argument to const |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
1852 char *. |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
1853 * sparse-util.cc (SparseCholPrint): Likewise. |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
1854 |
9501 | 1855 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
|
1856 |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
1857 * oct-sort.cc (octave_sort<T>::merge_getmem, |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
1858 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
|
1859 delete []. |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
1860 (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
|
1861 std::memcpy and std::memmove with std::copy. |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
1862 |
8198 | 1863 2008-10-08 John W. Eaton <jwe@octave.org> |
1864 | |
1865 * Sparse-op-defs.h (SPARSE_SMSM_BOOL_OPS): Duplicate code for scalar | |
1866 sparse arguments rather than rely on extern function. | |
1867 | |
8193
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
1868 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
|
1869 |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
1870 * 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
|
1871 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
|
1872 optimizations. |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
1873 (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
|
1874 |
9501 | 1875 2008-10-07 Jaroslav Hajek <highegg@gmail.com> |
8191
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
1876 |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
1877 * 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
|
1878 octave_uint64 where appropriate. |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
1879 |
8187 | 1880 2008-10-06 David Bateman <dbateman@free.fr> |
1881 | |
1882 * Sparse-op-defs.h (SPARSE_SMSM_CMP_OPS): Duplicate code for scalar | |
1883 sparse arguments rather than rely on extern function. | |
1884 | |
8186
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
1885 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
|
1886 |
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
1887 * 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
|
1888 |
9501 | 1889 2008-10-01 Jaroslav Hajek <highegg@gmail.com> |
8185
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1890 |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1891 * 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
|
1892 constants. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1893 * oct-inttypes.cc: Define them. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1894 * 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
|
1895 * oct-inttypes.cc: Define alternative implementations for 64-bit |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1896 multiplication and mixed operations. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1897 * mx-ops: Instantiate all 64-bit integer operations. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1898 |
8180
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
1899 2008-10-06 Jaroslav Hajek <highegg@gmail.com> |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
1900 |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
1901 * 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
|
1902 |
8181
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
1903 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
|
1904 |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
1905 * 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
|
1906 * 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
|
1907 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
|
1908 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
|
1909 |
8179
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
1910 2008-10-03 Jaroslav Hajek <highegg@gmail.com> |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
1911 |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
1912 * 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
|
1913 declaration. |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
1914 * 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
|
1915 rfv. |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
1916 |
8178
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
1917 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
|
1918 |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
1919 * 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
|
1920 for empty matrix. |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
1921 |
8182 | 1922 2008-09-30 Jaroslav Hajek <highegg@gmail.com> |
8169
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
1923 |
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
1924 * oct-inttypes.h: Mostly rewrite. |
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
1925 * oct-inttypes.cc: Modstly rewrite. |
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
1926 |
8157
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
1927 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
|
1928 |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
1929 * 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
|
1930 empty index vector. |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
1931 |
8150
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1932 2008-09-26 Jaroslav Hajek <highegg@gmail.com> |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1933 |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1934 * Array.cc (assign1, assign2, assignN): Do not call |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1935 maybe_delete_elements. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1936 (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
|
1937 special handlers if possible. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1938 * Sparse.cc (assign1, assign2, assignN): Do not call |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1939 maybe_delete_elements. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1940 |
8124
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
1941 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
|
1942 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
1943 * 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
|
1944 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
|
1945 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
1946 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
|
1947 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
1948 * 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
|
1949 |
8121
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
1950 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
|
1951 |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
1952 * 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
|
1953 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
|
1954 (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
|
1955 |
8119
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
1956 2008-09-18 Jaroslav Hajek <highegg@gmail.com> |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
1957 |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
1958 * 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
|
1959 better Matlab compatibility. |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
1960 (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
|
1961 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
|
1962 |
8118
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
1963 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
|
1964 |
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
1965 * 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
|
1966 |
8104
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
1967 2008-09-12 Jaroslav Hajek <highegg@gmail.com> |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
1968 |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
1969 * 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
|
1970 Handle negative exponent correctly. |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
1971 |
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
|
1972 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
|
1973 |
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
|
1974 * 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
|
1975 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
|
1976 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
|
1977 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
|
1978 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
|
1979 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
|
1980 (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
|
1981 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
|
1982 (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
|
1983 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
|
1984 (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
|
1985 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
|
1986 (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
|
1987 (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
|
1988 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
|
1989 (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
|
1990 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
|
1991 (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
|
1992 (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
|
1993 (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
|
1994 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
|
1995 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
|
1996 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
|
1997 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
|
1998 (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
|
1999 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
|
2000 (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
|
2001 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
|
2002 octave_int<T>&, float)): New functions. |
8040 | 2003 |
2004 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
|
2005 |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
2006 * 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
|
2007 classified as positive by lo_ieee_signbit. |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
2008 |
8040 | 2009 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
|
2010 |
f0fbf47c914c
avoid null pointer call in Array<T>::hermitian
Jaroslav Hajek <highegg@gmail.com>
parents:
8022
diff
changeset
|
2011 * 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
|
2012 (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
|
2013 |
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
|
2014 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
|
2015 |
8022
9708674ab85d
don't include config.h in other header files
John W. Eaton <jwe@octave.org>
parents:
8019
diff
changeset
|
2016 * 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
|
2017 |
8019
0ef13e15319b
replace NPOS with std::string::npos
John W. Eaton <jwe@octave.org>
parents:
8018
diff
changeset
|
2018 * 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
|
2019 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
|
2020 |
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
|
2021 * 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
|
2022 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
|
2023 |
8008
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
2024 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
|
2025 |
8009
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
2026 * 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
|
2027 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
|
2028 |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
2029 * 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
|
2030 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
|
2031 |
8008
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
2032 * 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
|
2033 here from file scope. |
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
2034 |
8006
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
2035 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
|
2036 |
8007
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2037 * 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
|
2038 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
|
2039 file_ops::dir_sep_chars. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2040 (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
|
2041 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
|
2042 (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
|
2043 file_ops::dir_sep_str. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2044 |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2045 * 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
|
2046 (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
|
2047 * 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
|
2048 (file_ops::file_ops): New constructor. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2049 (file_ops::instance_ok): New function. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2050 (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
|
2051 from dir_sep_char. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2052 (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
|
2053 (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
|
2054 (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
|
2055 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
|
2056 (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
|
2057 (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
|
2058 |
8006
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
2059 * 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
|
2060 |
7999 | 2061 2008-07-30 John W. Eaton <jwe@octave.org> |
2062 | |
2063 * oct-inttypes.h: Style fixes. | |
2064 | |
8040 | 2065 2008-07-30 Jaroslav Hajek <highegg@gmail.com> |
7997
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
2066 |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
2067 * 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
|
2068 (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
|
2069 member functions. |
7999 | 2070 (octave_int<T>::octave_int (const octave_int<U>&)): set trunc_flag |
2071 on truncation. | |
7997
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
2072 (SPECIALIZE_WIDENING_CONVERSION): New macro. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
2073 (DECLARE_OCTAVE_INT_TYPENAME): New macro. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
2074 |
7991
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
2075 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
|
2076 |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
2077 * 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
|
2078 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
|
2079 maintains NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
2080 (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
|
2081 (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
|
2082 detect old NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
2083 (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
|
2084 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
|
2085 * 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
|
2086 detect old NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
2087 (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
|
2088 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
|
2089 * 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
|
2090 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
|
2091 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
|
2092 |
8040 | 2093 2008-07-28 Jaroslav Hajek <highegg@gmail.com> |
7979 | 2094 |
2095 * lo-math.h: Ensure log2 is undefined from cmath in C++ mode. | |
2096 | |
7957
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
2097 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
|
2098 |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
2099 * 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
|
2100 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
|
2101 |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
2102 * 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
|
2103 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
|
2104 |
7955
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
2105 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
|
2106 |
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
2107 * 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
|
2108 |
7952
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
2109 2008-07-19 John W. Eaton <jwe@octave.org> |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
2110 |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
2111 * oct-mutex.h (class octave_base_mutex): New class. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
2112 (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
|
2113 (octave_mutex::rep): Declare as octave_base_mutex. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
2114 (octave_mutex::count): Delete. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
2115 (octave_mutex::lock, octave_mutex::unlock): No longer virtual. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
2116 (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
|
2117 valid or set rep to zero after deleting. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
2118 (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
|
2119 * 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
|
2120 from octave_base_mutex, not octave_mutex. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
2121 |
7943
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
2122 2008-07-18 John W. Eaton <jwe@octave.org> |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
2123 |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
2124 * 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
|
2125 to 0, not count. |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
2126 * 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
|
2127 to 1 instead of incrementing it. |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
2128 |
7941
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
2129 2008-07-17 Michael Goffioul <michael.goffioul@gmail.com> |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
2130 |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
2131 * 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
|
2132 bool, bool) into conditional HAVE_FFTW3 preprocessor statement. |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
2133 |
7936
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
2134 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
|
2135 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
2136 * 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
|
2137 octave_autolock (const octave_autolock&), |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
2138 octave_autolock::operator = (const octave_autolock&)): |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
2139 Delete definitions. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
2140 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
2141 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
|
2142 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
2143 * 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
|
2144 (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
|
2145 executing handlers. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
2146 (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
|
2147 Autolock event_hook_lock. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
2148 |
7934 | 2149 2008-07-15 Michael Goffioul <michael.goffioul@gmail.com> |
2150 | |
2151 * oct-mutex.h, oct-mutex.cc: New files. | |
2152 * Makefile.in: Add them to appropriate lists. | |
2153 | |
7929 | 2154 2008-07-15 John W. Eaton <jwe@octave.org> |
2155 | |
2156 * oct-sort.cc, oct-sort.h (octave_sort<T>::count_run): Declare | |
2157 descending arg as bool&. | |
2158 (octave_sort<T>::sort): Pass bool to count_run for descending arg. | |
2159 | |
7922
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
2160 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
|
2161 |
7924 | 2162 * dDiagMatrix.cc (DiagMatrix::diag): Return empty ColumnVector if |
2163 number of rows or columns is 0. | |
2164 * fDiagMatrix.cc (FloatDiagMatrix::diag): Likewise. | |
2165 | |
2166 * Array-util.cc (is_vector): Avoid GCC warning. | |
2167 * Array-f.cc (Array<float>::sort): Likewise. | |
2168 * Array-d.cc (Array<double>::sort): Likewise. | |
2169 * dbleQR.cc (QR::QR (const Matrix&, const Matrix&)): Likewise. | |
2170 * CmplxQR.cc (ComplexQR::ComplexQR (const ComplexMatrix&, const | |
2171 ComplexMatrix&)): Likewise. | |
2172 * floatQR.cc (FloatQR::FloatQR (const FloatMatrix&, const | |
2173 FloatMatrix&)): Likewise. | |
2174 * fCmplxQR.cc (FloatComplexQR::FloatComplexQR (const | |
2175 FloatComplexMatrix&, const FloatComplexMatrix&)): Likewise. | |
2176 * Quad.cc (IndefQuad::do_integrate (octave_idx_type&, | |
2177 octave_idx_type&, float&), FloatIndefQuad::do_integrate, | |
2178 DefQuad::do_integrate octave_idx_type&, octave_idx_type&, float&, | |
2179 FloatIndefQuad::do_integrate): Likewise. | |
2180 | |
7922
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
2181 * 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
|
2182 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
|
2183 * 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
|
2184 * Array-util.h: Provide decl. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
2185 * 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
|
2186 * 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
|
2187 |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
2188 * 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
|
2189 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
|
2190 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
|
2191 * 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
|
2192 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
|
2193 Provide decl. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
2194 |
7919
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
2195 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
|
2196 |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
2197 * 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
|
2198 bool, bool)): New constructor. |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
2199 * dNDArray.h: Provide decl. |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
2200 |
7914
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
2201 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
|
2202 |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
2203 * 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
|
2204 * lo-specfun.cc: Ditto. Add atanhf implementation. |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
2205 |
8040 | 2206 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
|
2207 |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
2208 * MatrixType.h: Add missing include statement. |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
2209 |
7889
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
2210 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
|
2211 |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
2212 * 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
|
2213 * fCmplxDET.cc (FloatComplexDET::initialize10): Likewise, for pow. |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
2214 |
7885 | 2215 2008-06-11 John W. Eaton <jwe@octave.org> |
2216 | |
2217 * so-array.h, so-array.cc, Array-so.cc: Delete. | |
2218 * Makefile.in: Remove them from the lists. | |
2219 | |
7872 | 2220 2008-06-05 John W. Eaton <jwe@octave.org> |
2221 | |
2222 * oct-shlib.cc (octave_base_shlib::remove): Only dereference | |
2223 counter if iterator is valid. | |
2224 | |
7814
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
2225 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
|
2226 |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
2227 * 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
|
2228 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
|
2229 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
|
2230 * 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
|
2231 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
|
2232 * 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
|
2233 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
|
2234 (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
|
2235 (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
|
2236 (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
|
2237 * 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
|
2238 * 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
|
2239 (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
|
2240 (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
|
2241 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
2242 2008-06-02 David Bateman <dbateman@free.fr> |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
2243 |
7810
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
2244 * fCmplxLU.cc (class FloatComplexLU): Correct error in instantiation. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
2245 * floatLU.cc (class FloatLU): ditto. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
2246 * floatLU.h (class FloatLU): ditto. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
2247 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
2248 * floatAEPBAL.cc (octave_idx_type FloatAEPBALANCE::init (const |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
2249 FloatMatrix&, const std::string&)): Use FloatMatrix to initialize |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
2250 balancing_mat. |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
2251 |
7809
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
2252 * 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
|
2253 (MATRIX_SRC): Add fCmplxAEPBAL.cc and floatAEPBAL.cc. |
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
2254 |
7805
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2255 2008-05-21 David Bateman <dbateman@free.fr> |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2256 |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2257 * Quad-opts.in: Handle single precision tolerances. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2258 * Quad.cc (float_user_fcn): New static variable. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2259 (quad_float_fcn_ptr): New typedef. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2260 (qagp, quagi): New QUADPACK decls. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2261 (float_user_function): New function. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2262 (DefQuad::do_integrate, IndefQuad::do_integrate): Float versions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2263 (FloatDefQuad::do_integrate, FloatIndefQuad::do_integrate): |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2264 New functions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2265 * Quad.h (class Quad): Handle float type. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2266 (class FloatDefQuad, class FloatIndefQuad): New classes. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2267 |
8040 | 2268 2008-05-21 Jaroslav Hajek <highegg@gmail.com> |
7799 | 2269 |
7804
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2270 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2271 (xcdotc, csyrk, cherk): New F77 decls. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2272 * fMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2273 (operator * (const FloatMatrix&, const FloatMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2274 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2275 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2276 (ssyrk): New F77 decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2277 * fCMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2278 (operator * (const FloatComplexMatrix&, const |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2279 FloatComplexMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2280 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2281 |
7803 | 2282 * dMatrix.cc, CMatrix.cc, Sparse-op-defs.h: Add missing copyright. |
2283 | |
7802
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
2284 * 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
|
2285 Correct indenting. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
2286 (SPARSE_FULL_TRANS_MUL): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
2287 (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
|
2288 Move OCTAVE_QUIT one level up. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
2289 (FULL_SPARSE_MUL_TRANS): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
2290 * dSparse.h (mul_trans, trans_mul): Provide decl. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
2291 * dSparse.cc (mul_trans, trans_mul): New functions. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
2292 * 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
|
2293 * 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
|
2294 |
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
|
2295 * 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
|
2296 * 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
|
2297 (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
|
2298 (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
|
2299 * 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
|
2300 * 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
|
2301 (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
|
2302 (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
|
2303 |
7799 | 2304 * MatrixType.cc (matrix_real_probe, matrix_complex_probe): |
2305 New template functions. | |
2306 (MatrixType::MatrixType (const Matrix&), | |
2307 MatrixType::MatrixType (const FloatMatrix&)): | |
2308 just call matrix_real_probe. | |
2309 (MatrixType::MatrixType (const ComplexMatrix&), | |
2310 MatrixType::MatrixType (const FloatComplexMatrix&)): | |
2311 just call matrix_complex_probe. | |
2312 | |
2313 * MatrixType.cc (MatrixType::MatrixType (matrix_type, bool)): | |
2314 add missing test for Unknown. | |
2315 | |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2316 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
|
2317 |
7797
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2318 * 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
|
2319 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2320 (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
|
2321 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2322 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2323 * 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
|
2324 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2325 (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
|
2326 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2327 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2328 * 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
|
2329 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2330 (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
|
2331 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2332 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2333 * 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
|
2334 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2335 (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
|
2336 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2337 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2338 |
7796
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
2339 * Array.cc: Fix transpose tests. |
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
2340 |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2341 * 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
|
2342 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
|
2343 (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
|
2344 * 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
|
2345 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
|
2346 (FloatGEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2347 * 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
|
2348 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2349 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2350 * 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
|
2351 (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
|
2352 Algebraic eignvalue balancing. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2353 * 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
|
2354 (FloatComplexAEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2355 * 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
|
2356 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2357 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2358 * 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
|
2359 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
|
2360 * 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
|
2361 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2362 * 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
|
2363 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2364 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2365 * 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
|
2366 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
|
2367 * 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
|
2368 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2369 * 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
|
2370 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2371 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2372 * 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
|
2373 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
|
2374 * 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
|
2375 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2376 * 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
|
2377 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2378 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2379 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2380 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2381 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
|
2382 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
|
2383 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2384 2008-05-20 David Bateman <dbateman@free.fr> |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2385 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2386 * 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
|
2387 transpose to limit the number of cache misses. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2388 (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
|
2389 for matrix conjugate transpose. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2390 * 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
|
2391 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2392 * DiagArray2.cc (DiagArray2<T> DiagArray2<T>::transpose () const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2393 Specialization for diagonal arrays. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2394 (DiagArray2<T> DiagArray2<T>::transpose (T (*) (const&)) const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2395 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 * 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
|
2398 (MArray<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2399 * 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
|
2400 * 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
|
2401 * 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
|
2402 * MDiagArray2.h (MDiagArray2<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2403 (MDiagArray<T> hermitian <T (*) (const&)) const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2404 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2405 * 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
|
2406 * CRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2407 * dColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2408 * dRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2409 * CDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2410 * dDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2411 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2412 * 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
|
2413 * fCRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2414 * fColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2415 * fRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2416 * fCDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2417 * fDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2418 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2419 * CDiagMatrix.cc (ComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2420 ComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2421 * dDiagMatrix.cc (DiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2422 * CMatrix.cc (ComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2423 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2424 * fCDiagMatrix.cc (FloatComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2425 FloatComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2426 * fDiagMatrix.cc (FloatDiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2427 * fCMatrix.cc (FloatComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2428 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2429 * lo-mappers.cc (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2430 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2431 New mapper functions for single precion values. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2432 * lo-mappers.h (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2433 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2434 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2435 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2436 * CmplxGEBAL.cc (ComplexGEPBALANCE), dbleGEPBAL.cc (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2437 fCmplxGEPBAL.cc (FloatComplexGEPBALANCE), floatGEPBAL.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2438 (FloatGEPBALANCE): New class for generalized eigenvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2439 * CmplxGEBAL.h (ComplexGEPBALANCE), dbleGEPBAL.h (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2440 fCmplxGEPBAL.h (FloatComplexGEPBALANCE), floatGEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2441 (FloatGEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2442 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2443 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2444 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2445 * floatAEPBAL.cc (FloatAEPBALANCE), fCmplxAEPBAL.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2446 (FloatComplexAEPBALANCE): New classes for single precision |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2447 Algebraic eignvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2448 * floatAEPBAL.h (FloatAEPBALANCE), fCmplxAEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2449 (FloatComplexAEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2450 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2451 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2452 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2453 * floatHESS.cc (FloatHESS), fCmplxHESS.cc (FloatComplexHESS): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2454 classes for single precision Hessenberg decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2455 * floatHESS.h (FloatHESS), fCmplxHESS.h (FloatComplexHESS): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2456 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2457 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2458 (MATRIX_SRC): and here. |
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 * floatQR.cc (FloatQR), fCmplxQR.cc (FloatComplexQR): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2461 classes for single precision QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2462 * floatQR.h (FloatQR), fCmplxQR.h (FloatComplexQR): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2463 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2464 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2465 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2466 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2467 * floatQRP.cc (FloatQRP), fCmplxQRP.cc (FloatComplexQRP): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2468 classes for single precision permuted QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2469 * floatQRP.h (FloatQRP), fCmplxQRP.h (FloatComplexQRP): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2470 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2471 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2472 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2473 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2474 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2475 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2476 FloatHESS, FloatComplexHESS, FloatQR, FloatComplexQR, QRP, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2477 ComplexQRP, FloatQRP, FloatComplexQRP): Declare classes. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2478 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2479 * 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
|
2480 fCColVector.cc, fCColVector.h, fCDiagMatrix.cc, fCDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2481 fCMatrix.cc, fCMatrix.h, fCNDArray.cc, fCNDArray.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2482 fCRowVector.cc, fCRowVector.h, fCmplxCHOL.cc, fCmplxCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2483 fCmplxDET.cc, fCmplxDET.h, fCmplxLU.cc, fCmplxLU.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2484 fCmplxSCHUR.cc, fCmplxSCHUR.h, fCmplxSVD.cc, fCmplxSVD.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2485 fColVector.cc, fColVector.h, fDiagMatrix.cc, fDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2486 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
|
2487 fRowVector.cc, fRowVector.h, floatCHOL.cc, floatCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2488 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
|
2489 floatSCHUR.h, floatSVD.cc, floatSVD.h: New files. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2490 * 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
|
2491 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2492 * 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
|
2493 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
|
2494 MatrixType.cc, MatrixType.h, SparseCmplxQR.cc, SparseCmplxQR.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2495 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
|
2496 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
|
2497 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
|
2498 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
|
2499 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
|
2500 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
|
2501 Allow single precision types. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2502 |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
2503 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
|
2504 |
7788 | 2505 * CMatrix.cc (double rcond): Replace with double rcon everywhere |
2506 to avoid shadowed variable warning | |
2507 (double ComplexMatrix::rcond (void) const): New method for | |
2508 reciprocal condition number calculation. | |
2509 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
2510 * CMatrix.h (double rcond): Replace with double rcon everywhere | |
2511 to avoid shadowed variable warning | |
2512 (double ComplexMatrix::rcond (void) const): New method for | |
2513 reciprocal condition number calculation. | |
2514 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
2515 * dMatrix.cc (double rcond): Replace with double rcon everywhere | |
2516 to avoid shadowed variable warning | |
2517 (double Matrix::rcond (void) const): New method for | |
2518 reciprocal condition number calculation. | |
2519 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
2520 * dMatrix.h (double rcond): Replace with double rcon everywhere | |
2521 to avoid shadowed variable warning | |
2522 (double Matrix::rcond (void) const): New method for | |
2523 reciprocal condition number calculation. | |
2524 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
2525 | |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
2526 * 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
|
2527 expression matching |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
2528 * 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
|
2529 (LIBOCTAVE_CXX_SOURCES): regex-match.cc here. |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
2530 |
7776 | 2531 2008-05-19 David Bateman <dbateman@free.fr> |
2532 | |
2533 * dSparse.cc: Replace some DGBCON with GPBCON where they are | |
2534 incorrectly used. | |
2535 | |
7774
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
2536 2008-05-13 David Bateman <dbateman@free.fr> |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
2537 |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
2538 * 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
|
2539 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
|
2540 is not zero. |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
2541 |
7758
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
2542 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
|
2543 |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
2544 * 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
|
2545 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
|
2546 * 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
|
2547 (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
|
2548 * 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
|
2549 * 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
|
2550 |
7757
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
2551 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
|
2552 |
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
2553 * 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
|
2554 |
7749
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2555 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
|
2556 |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2557 * 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
|
2558 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
|
2559 * 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
|
2560 Likewise. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2561 (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
|
2562 Adjust all uses. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2563 (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
|
2564 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
|
2565 (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
|
2566 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
|
2567 |
8040 | 2568 2008-04-30 Jaroslav Hajek <highegg@gmail.com> |
7740 | 2569 |
2570 * lo-mappers.cc (xlog2 (double)): Compute log (2), not log2 (2). | |
2571 (xlog2 (Complex), xlog2 (double, int&), xlog2 (Complex, int&)): | |
2572 New functions. | |
2573 * lo-mappers.h: Provide decls. | |
2574 | |
9501 | 2575 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
|
2576 |
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
2577 * 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
|
2578 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
|
2579 |
7732
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
2580 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
|
2581 |
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
2582 * 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
|
2583 |
7727
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
2584 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
|
2585 |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
2586 * 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
|
2587 Fix for-loop condition. |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
2588 |
8040 | 2589 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
|
2590 |
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
2591 * 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
|
2592 |
7717
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2593 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
|
2594 |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2595 * 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
|
2596 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2597 * 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
|
2598 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2599 * 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
|
2600 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2601 * 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
|
2602 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2603 |
7707
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
2604 2008-04-09 Michael Goffioul <michael.goffioul@gmail.com> |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
2605 |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
2606 * lo-mappers.cc (xround): Avoid floating-point overflow when input |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
2607 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
|
2608 |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
2609 * 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
|
2610 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
|
2611 __WIN32__ platforms. |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
2612 |
8040 | 2613 2008-04-07 Jaroslav Hajek <highegg@gmail.com> |
7700
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2614 |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2615 * dbleQR.h, dbleQR.cc (QR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2616 * CmplxQR.h, CmplxQR.cc (ComplexQR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2617 * 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
|
2618 CHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2619 * CmplxCHOL.h, CmplxCHOL.cc (ComplexCHOL::insert_sym, |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2620 ComplexCHOL::delete_sym, ComplexCHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2621 |
7695
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
2622 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
|
2623 |
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
2624 * 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
|
2625 |
7671
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
2626 2008-03-27 Jaroslav Hajek <highegg@gmail.com> |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
2627 |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
2628 * oct-lookup.h: New file. |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
2629 |
7646
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
2630 2008-03-26 David Bateman <dbateman@feee.fr> |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
2631 |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
2632 * Array.cc (assignN): Additional fix for vector assignments. |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
2633 |
7642
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
2634 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
|
2635 |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
2636 * 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
|
2637 original matrix is empty. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
2638 * 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
|
2639 function. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
2640 * 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
|
2641 |
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
|
2642 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
|
2643 |
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
|
2644 * 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
|
2645 (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
|
2646 * 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
|
2647 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
|
2648 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
|
2649 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2650 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
|
2651 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2652 * lo-mappers.cc (xtrunc): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2653 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2654 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2655 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
|
2656 |
7638
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
2657 * lo-specfun.cc (expm1, log1p): New functions. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
2658 * lo-specfun.h: Provide decls. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
2659 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2660 * lo-mappers.cc (xroundb): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2661 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2662 |
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
|
2663 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
|
2664 |
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
|
2665 * 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
|
2666 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
|
2667 |
7619 | 2668 2008-03-21 David Bateman <dbateman@free.fr> |
2669 | |
2670 * oct-sparse.h: Add headers for amd.h. | |
2671 | |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2672 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
|
2673 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2674 * 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
|
2675 method for diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2676 * 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
|
2677 * 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
|
2678 * 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
|
2679 * 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
|
2680 * 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
|
2681 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2682 * 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
|
2683 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2684 * 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
|
2685 * 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
|
2686 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2687 * 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
|
2688 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2689 * 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
|
2690 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2691 * CDiagMatrix.cc (ComplexColumnVector ComplexDiagMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2692 (void) const): delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2693 * 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
|
2694 * 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
|
2695 * 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
|
2696 delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2697 * 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
|
2698 * 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
|
2699 * 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
|
2700 * 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
|
2701 * 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
|
2702 * 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
|
2703 * 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
|
2704 * 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
|
2705 * 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
|
2706 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2707 * 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
|
2708 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
|
2709 * 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
|
2710 return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2711 * 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
|
2712 terms of template classes function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2713 * 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
|
2714 * 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
|
2715 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
|
2716 * 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
|
2717 return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2718 * 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
|
2719 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
|
2720 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2721 * 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
|
2722 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
|
2723 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2724 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2725 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2726 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2727 * 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
|
2728 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2729 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2730 * CNDArray.cc (ComplexNDArray ComplexNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2731 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2732 * 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
|
2733 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2734 * 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
|
2735 method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2736 * 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
|
2737 * chNDArray.cc (charNDArray charNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2738 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2739 * 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
|
2740 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2741 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2742 |
7609
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
2743 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
|
2744 |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
2745 * 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
|
2746 relative filenames. |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
2747 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2748 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
|
2749 |
7605
48488cca0006
Fix for array indexing if original matrix is empty
David Bateman <dbateman@free.fr>
parents:
7602
diff
changeset
|
2750 * 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
|
2751 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
|
2752 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2753 * 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
|
2754 const): New template function. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2755 * 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
|
2756 const): ditto. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2757 * 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
|
2758 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
|
2759 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
|
2760 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
|
2761 * 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
|
2762 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
|
2763 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
|
2764 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
2765 2008-03-18 David Bateman <dbateman@free.fr> |
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
2766 |
7601
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
2767 * 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
|
2768 * 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
|
2769 * 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
|
2770 |
7600
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
2771 * 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
|
2772 * CNDarray.cc (ComplexNDArray::min, CompelxNDArray::max): ditto. |
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
2773 * 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
|
2774 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
2775 * 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
|
2776 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
|
2777 |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
2778 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
|
2779 |
7598
a89b3fa632ee
partial specialization for octave_int_fit_to_range
John W. Eaton <jwe@octave.org>
parents:
7597
diff
changeset
|
2780 * 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
|
2781 Use partial specialization for double values. |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
2782 |
7573
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
2783 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
|
2784 |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
2785 * 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
|
2786 * 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
|
2787 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
|
2788 * idx-vector.cc, idx-vector.h |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
2789 (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
|
2790 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
|
2791 (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
|
2792 (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
|
2793 (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
|
2794 |
7572
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
2795 2008-03-07 John W. Eaton <jwe@octave.org> |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
2796 |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
2797 * 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
|
2798 IDX_VEC_REP::idx_vector_rep (const boolNDArray&)): |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
2799 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
|
2800 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
|
2801 (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
|
2802 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2803 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
|
2804 |
7560
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
2805 * 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
|
2806 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
|
2807 * 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
|
2808 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
|
2809 |
7559
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
2810 * dbleCHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
2811 * CmplxHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
2812 * 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
|
2813 * 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
|
2814 * 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
|
2815 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2816 2008-03-04 Jaroslav Hajek <highegg@gmail.com> |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2817 |
7554
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
2818 * dbleCHOL.cc (CHOL::set, CHOL::update, CHOL::downdate): |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
2819 New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
2820 * dbleCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
2821 * CmplxCHOL.cc (ComplexCHOL::set, ComplexCHOL::update, |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
2822 ComplexCHOL::downdate): New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
2823 * CmplxCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
2824 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2825 * 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
|
2826 QR::insert_row, QR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2827 (QR::QR (const Matrix&, const MAtrix&)): New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2828 * dbleQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2829 * CmplxQR.cc (ComplexQR::update, ComplexQR::insert_col, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2830 ComplexQR::delete_col, ComplexQR::insert_row, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2831 ComplexQR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2832 (ComplexQR::ComplexQR (const ComplexMatrix&, const ComplexMAtrix&)): |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2833 New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2834 * CmplxQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2835 |
7549
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
2836 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
|
2837 |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
2838 * 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
|
2839 of < and > operators. |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
2840 |
7546
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
2841 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
|
2842 |
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
2843 * 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
|
2844 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
|
2845 |
7545 | 2846 2008-03-03 Jaroslav Hajek <highegg@gmail.com> |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
2847 |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
2848 * dMatrix.cc (Matrix::lssolve): Also avoid dgelsd lwork query bug |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
2849 in lssolve method that accepts column vector argument. Correct |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
2850 calculation of nlvl. |
7545 | 2851 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd. |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
2852 |
7537
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
2853 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
|
2854 |
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
2855 * 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
|
2856 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
2857 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
|
2858 |
7536 | 2859 * oct-rand.cc (get_dist_id): Fix typo. |
2860 (get_dist_id, octave_rand::distribution, octave_rand::scalar, | |
2861 fill_rand): Improve error messages. | |
2862 | |
7535
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
2863 * 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
|
2864 (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
|
2865 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
|
2866 (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
|
2867 |
7533
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
2868 * 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
|
2869 (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
|
2870 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
|
2871 (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
|
2872 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
|
2873 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
|
2874 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
|
2875 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
|
2876 (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
|
2877 (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
|
2878 (octave_rand::uniform_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
2879 octave_rand::normal_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
2880 octave_rand::exponential_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
2881 octave_rand::poisson_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
2882 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
|
2883 (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
|
2884 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
|
2885 (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
|
2886 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
2887 * 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
|
2888 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd |
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
2889 |
7521
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
2890 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
|
2891 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
2892 * 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
|
2893 specializations for signed and unsigned types. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
2894 (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
|
2895 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
|
2896 octave_int_helper class. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
2897 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
2898 * 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
|
2899 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
|
2900 with "template <>". |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
2901 |
7520 | 2902 2008-02-22 John W. Eaton <jwe@octave.org> |
2903 | |
2904 * CSparse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc, | |
2905 file-ops.cc, oct-group.cc, oct-shlib.cc, sparse-base-chol.h, | |
2906 sparse-dmsolve.cc: Use 0 instead of NULL. | |
2907 | |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2908 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
|
2909 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2910 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2911 (octave_idx_type) const): New method. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2912 * boolSparse.h (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2913 (octave_idx_type) const): Declare it. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2914 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2915 * 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
|
2916 factorization of xGETRF directly. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2917 * 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
|
2918 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
|
2919 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
|
2920 to simulate the retirn of xGETRF. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2921 * 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
|
2922 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
|
2923 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
|
2924 (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
|
2925 * 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
|
2926 scaling. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2927 * SparseCmplxLU.cc: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2928 * 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
|
2929 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
|
2930 * SparseCmplxLU.h: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2931 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2932 * 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
|
2933 return permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2934 * 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
|
2935 * 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
|
2936 return row permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2937 (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
|
2938 permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2939 * 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
|
2940 (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
|
2941 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2942 * 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
|
2943 |
7505
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
2944 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
|
2945 |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
2946 * 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
|
2947 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
|
2948 (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
|
2949 * 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
|
2950 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
|
2951 (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
|
2952 * 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
|
2953 * 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
|
2954 |
7503
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2955 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
|
2956 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2957 * boolNDArray.h (boolNDArray (const Array2<bool>&)): Delete. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2958 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2959 * Marray2.h (MArray2 (const Array2<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2960 MArray2 (const MArray2<U>&)): New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2961 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2962 * Array2.h (Array2 (const Array<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2963 Array2 (const Array<U>&, const dim_vector&)): |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2964 New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2965 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2966 * CColVector.cc (ComplexColumnVector::map): Forward to MArray::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2967 * dColVector.cc (ColumnVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2968 * CRowVector.cc (ComplexRowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2969 * dRowVector.cc (RowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2970 * CMatrix.cc (ComplexMatrix::map): Forward to MArray2::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2971 * dMatrix.cc (Matrix::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2972 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2973 * dNDArray.cc (NDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2974 * dNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2975 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2976 * CNDArray.cc (ComplexNDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2977 * CNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2978 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2979 * MArray2.h (MArray2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2980 * Array2.h (Array2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2981 * MArrayN.h (MArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2982 * ArrayN.h (ArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2983 * Array.h (Array<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2984 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2985 * functor.h: New file. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2986 * Makefile.in (INCLUDES): Add it to the list. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2987 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2988 2008-02-20 David Bateman <dbateman@free.fr> |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2989 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2990 * CColVector.h, CColVector.cc (ComplexColumnVector::apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2991 * dColVector.h, dColVector.cc (ColumnVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2992 * CRowVector.h, CRowVector.cc (ComplexRowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2993 * dRowVector.h, dRowVector.cc (RowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2994 * CMatrix.h, CMatrix.cc (ComplexMatrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2995 * dMatrix.h, dMatrix.cc (Matrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2996 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2997 * CSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2998 (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
|
2999 * CSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3000 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3001 * dSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3002 (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
|
3003 * dSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3004 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3005 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3006 * intNDArray.cc (abs, signum): Two new mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3007 * intNDArray.h (abs, signum): Declare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3008 * 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
|
3009 base type. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3010 |
7486
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
3011 2008-02-15 John W. Eaton <jwe@octave.org> |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
3012 |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
3013 * 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
|
3014 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
|
3015 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
3016 |
7482
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
3017 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
|
3018 |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
3019 * 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
|
3020 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
|
3021 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
|
3022 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
|
3023 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
|
3024 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
|
3025 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc: |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
3026 Don't check f77_exception_encountered. |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
3027 |
7477 | 3028 2008-02-12 John W. Eaton <jwe@octave.org> |
3029 | |
3030 * CMatrix.cc: Declare xilaenv instead of ilaenv. | |
3031 (ComplexMatrix::lssolve): Call xilaenv instead of ilaenv. | |
3032 | |
7476 | 3033 2008-02-12 Jason Riedy <ejr@cs.berkeley.edu> |
3034 | |
7480 | 3035 * Array.cc (ascending_compare, descending_compare): Remove |
3036 non-standard extern in the instantiations. | |
3037 | |
3038 * oct-sort.cc: Include <cstring> and sprinkle with std:: as needed. | |
3039 | |
7476 | 3040 * dMatrix.cc (ILAENV): Declare LAPACK Fortran function. |
3041 (Matrix::lssolve): Use ILAENV to query smlsiz. And add an ugly | |
3042 workaround for DGELSD's broken lwork query. The formula is from | |
3043 LAPACK's dgelsd.f source and allocates enough workspace to use an | |
3044 efficient algorithm in the short-and-fat case (n > m). | |
3045 * CMatrix.cc (ILAENV): Declare LAPACK Fortran function. | |
3046 (ComplexMatrix::lssolve): Use ILAENV to query smlsiz. And add an | |
3047 ugly workaround for DGELSD's broken lwork query, as with double. | |
3048 | |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
3049 2008-02-12 John W. Eaton <jwe@octave.org> |
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
3050 |
7470
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
3051 * sparse-sort.cc: Don't explicitly instantiate |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
3052 class octave_sort<octave_idx_vector_sort *>, |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
3053 class octave_sort<octave_idx_type>, or |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
3054 class octave_sort<octave_sparse_sort_idxl *>. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
3055 |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
3056 * Sparse.h (INSTANTIATE_SPARSE_SORT): Delete macro. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
3057 * 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
|
3058 |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
3059 * 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
|
3060 |
7466
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
3061 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
|
3062 |
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
3063 * 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
|
3064 |
7463
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
3065 2008-02-08 John W. Eaton <jwe@octave.org> |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
3066 |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
3067 * oct-sort.h (enum sortmode): Eliminate UNDEFINED. Change all |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
3068 uses of UNDEFINED to ASCENDING. |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
3069 |
7457 | 3070 2008-02-07 John W. Eaton <jwe@octave.org> |
3071 | |
7458 | 3072 * Range.cc (Range::sort_internal): Rename from sort. New arg, |
3073 ASCENDING, with default value of true. | |
3074 (Range::sort_internal (Array<octave_idx_type>&, bool)): New function. | |
3075 (Range::sort (octave_idx_type, sortmode) const): New function. | |
3076 (Range::sort (Array<octave_idx_type>&, octave_idx_type, sortmode) | |
3077 const): New function. | |
3078 * Range.h: Fix/provide decls. | |
3079 | |
7457 | 3080 * intNDArray.cc (intNDArray<T>::any (int)): Use != for comparison. |
3081 | |
7449 | 3082 2008-02-06 John W. Eaton <jwe@octave.org> |
3083 | |
3084 * Makefile.in ($(OPTS_INC)): Use mv instead of move-if-change. | |
3085 (stamp-prereq): Eliminate. | |
3086 (clean): Don't remove stamp-prereq. | |
3087 (libraries): Don't depend on stamp-prereq. | |
3088 (PREREQ): New macro. | |
3089 ($(MAKEDEPS)): Depend on $(PREREQ), not stamp-prereq. | |
3090 (distclean): Simplify with $(PREREQ). | |
3091 (OPT_BASE): New macro. | |
3092 (OPT_IN): Rename from OPTS_INC_DATA. Define in terms of OPT_BASE. | |
3093 (OPT_INC): Rename from OPTS_INC. Define in terms of OPT_BASE. | |
3094 | |
7448 | 3095 2008-02-05 John W. Eaton <jwe@octave.org> |
3096 | |
3097 * Makefile.in: Unconditionally include $(MAKEDEPS). | |
3098 Mark $(MAKEDEPS) as .PHONY targets if omit_deps is true. | |
3099 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3100 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> |
7443 | 3101 |
3102 * Array.cc (ascending_compare, descending_compare, | |
3103 Array<T>::sort): Declare explicit specialization for T=double to | |
3104 avoid symbol duplication error at link time. | |
3105 * Array-d.cc (ascending_compare, descending_compare): Declare and | |
3106 define as nonmember functions, not member functions of Array<T>. | |
3107 | |
7442 | 3108 2008-02-03 John W. Eaton <jwe@octave.org> |
3109 | |
3110 * Array-i.cc: Also instantiate Arrays for long long type if it exists. | |
3111 | |
3112 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> | |
3113 | |
3114 * Array.cc: Don't include Range.h. | |
3115 | |
7433 | 3116 2008-01-31 David Bateman <dbateman@free.fr> |
3117 | |
3118 * oct-sort.cc: conversion of int to octave_idx_type where needed | |
3119 for 64-bit builds. | |
3120 (IFLT): Allow IFLT macro to be overridden. | |
3121 * oct-sort.h: conversion of int to octave_idx_type where needed | |
3122 for 64-bit builds. | |
3123 (enum sortmode): Type of sort to perform. | |
3124 (vec_index): Simple class to aid in indexed sorts. | |
3125 | |
3126 * Array.h ( Array<T> sort (octave_idx_type, sortmode) const, | |
3127 Array<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
3128 sortmode) const): Array sorting methods. | |
3129 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT): Macros to | |
3130 instantiate the array sorting methods. | |
3131 * Array.cc (ascending_compare, descending_compare): New template | |
3132 functions for generic sort comparison. | |
3133 ( Array<T> Array<T>::sort (octave_idx_type, sortmode) const, | |
3134 Array<T> Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, | |
3135 sortmode) const): Array sorting functions based of octave_sort | |
3136 class. | |
3137 * Array-C.cc: Instantiate the complex array sort methods. | |
3138 (IFLT): New macro to override the one in the | |
3139 octave_sort class to avoid need for Complex < and > operators. | |
3140 (static double xabs (const Complex&)): Complex abs function | |
3141 avoiding std::abs(Inf) returning NaN with some compilers. | |
3142 (ascending_compare, descending compare): override template | |
3143 functions for complex comparison. | |
3144 * Array-d.cc: Instantiate the double array sort methods. | |
3145 (Array<double> Array<double>::sort (octave_idx_type, | |
3146 sortmode) const, Array<double> Array<double>::sort | |
3147 (Array<octave_idx_type> &, octave_idx_type, sortmode) const): | |
3148 Array sorting functions based of octave_sort using uint64 sorting | |
3149 on IEE754 doubles, for speed and correct sorting of Inf and NaN. | |
3150 (ascending_compare, descending compare): override template | |
3151 functions for double and uint64 comparison. | |
3152 * Array-b.cc, Array-ch.cc, Array-i.cc, Array-s.cc, Array-str.cc: | |
3153 Instantiate the array sort methods. | |
3154 * Array-idx-vec.cc: Null instantiation of array sort methods. | |
3155 * Array2.h, Array3.h, ArrayN.h (sort): 2, 3 and N-dimensional | |
3156 versions of the sort methods based on Array<T>::sort. | |
3157 | |
3158 * CSparse.cc, dSparse.cc: Remove inclusion of octa-sort.h. | |
3159 * Sparse.h ( Sparse<T> sort (octave_idx_type, sortmode) const, | |
3160 Sparse<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
3161 sortmode) const): Sparse sorting methods. | |
3162 (INSTANTIATE_ARRAY_SORT): Macro to instantiate the sparse sorting | |
3163 methods. | |
3164 * Sparse.cc: replace sort with lsort throughout to avoid shadowing | |
3165 of new sort method. | |
3166 (sparse_ascending_compare, sparse_descending_compare): New template | |
3167 functions for generic sort comparison. | |
3168 ( Sparse<T> Sparse<T>::sort (octave_idx_type, sortmode) const, | |
3169 Sparse<T> Sparse<T>::sort (Sparse<octave_idx_type> &, octave_idx_type, | |
3170 sortmode) const): Sparse sorting functions based of octave_sort | |
3171 class. | |
3172 * Sparse-C.cc: Instantiate the complex sparse sort methods. | |
3173 (IFLT): New macro to override the one in the | |
3174 octave_sort class to avoid need for Complex < and > operators. | |
3175 (static double xabs (const Complex&)): Complex abs function | |
3176 avoiding std::abs(Inf) returning NaN with some compilers. | |
3177 (sparse_ascending_compare, sparse_descending compare): override | |
3178 template functions for complex comparison. | |
3179 * Sparse-d.cc: Instantiate the cdouble sparse sort methods. | |
3180 (sparse_ascending_compare, sparse_descending compare): override | |
3181 template functions for double comparison. | |
3182 * Array-b.cc: Instantiate the sparse sort methods. | |
3183 | |
7422 | 3184 2008-01-25 Jaroslav Hajek <highegg@gmail.com> |
3185 | |
3186 * idx-vector.h (idx_vector::idx_vector_rep::range_base, | |
3187 idx_vector::idx_vector_rep::range_step, | |
3188 idx_vector::idx_vector_rep::range_step): New data members. | |
3189 (idx_vector::idx_vector_rep::idx_vector_rep): Initialize them. | |
3190 * idx-vector.cc (IDX_VEC_REP::sort, IDX_VEC_REP::is_colon_equiv, | |
3191 IDX_VEC_REP::init_state, IDX_VEC_REP::operator =, | |
3192 IDX_VECTOR_REP::idx_vector_rep): Handle range. | |
3193 | |
7416 | 3194 2008-01-18 Marco Caliari <marco.caliari@univr.it> |
3195 | |
3196 * dMatrix.cc (Matrix::expm): Correctly perform reverse permutation. | |
3197 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
3198 | |
7408 | 3199 2008-01-22 Michael Goffioul <michael.goffioul@gmail.com> |
7407 | 3200 |
3201 * oct-time.cc (octave_base_tim::init): Validate pointer argument; | |
3202 this fixes the "localtime(-1)" crash under Windows. | |
3203 | |
7400 | 3204 2008-01-18 John W. Eaton <jwe@octave.org> |
3205 | |
3206 * dMatrix.cc (solve_singularity_warning): New function. | |
3207 (Matrix::expm): Pass pointer to solve_singularity_warning to | |
3208 Matrix::solve method. Exit early if Matrix::solve fails. | |
3209 Limit sqpow value to avoid overflowing scale factor. | |
3210 * CMatrix.cc (solve_singularity_warning): New function. | |
3211 (ComplexMatrix::expm): Pass pointer to solve_singularity_warning to | |
3212 ComplexMatrix::solve method. Exit early if ComplexMatrix::solve fails. | |
3213 Limit sqpow value to avoid overflowing scale factor. | |
7402 | 3214 From Marco Caliari <marco.caliari@univr.it>. |
7400 | 3215 |
7356 | 3216 2008-01-10 Kim Hansen <kimhanse@gmail.com> |
3217 | |
3218 * Sparse.cc: New tests for slicing of sparse matrices. | |
3219 | |
7350 | 3220 2008-01-07 David Bateman <dbateman@free.fr> |
3221 | |
3222 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Don't break from | |
3223 loop if this test succeeds. | |
3224 | |
7342 | 3225 2008-01-03 David Bateman <dbateman@free.fr> |
3226 | |
3227 * MSparse.cc (SPARSE_A2A2_OP): If first arg is scalar zero, then | |
3228 need unary operator on remaining argument | |
3229 * Sparse-op-defs.h (SPARSE_SMSM_BIN_OP_1): ditto. | |
3230 | |
7334 | 3231 2007-12-21 John W. Eaton <jwe@octave.org> |
3232 | |
3233 Version 3.0.0 released. | |
3234 | |
7322 | 3235 2007-12-18 David Bateman <dbateman@free.fr> |
3236 | |
3237 * Sparse.cc (template <class T> Sparse<T> Sparse<T>::index | |
3238 (idx_vector&, int) const): Fix case indexing of non zero scalar | |
3239 stored as a sparse matrix. | |
3240 (template <class T> Sparse<T> Sparse<T>::index (idx_vector&, | |
3241 idx_vector&, int) const): For the non permutated indexing case, | |
3242 fix link list calculation and use. | |
3243 | |
7321 | 3244 2007-12-17 John W. Eaton <jwe@octave.org> |
3245 | |
3246 * Array.cc (Array<T>::indexN): Correctly handle scalar indexed by | |
3247 N-d array. | |
3248 | |
7318 | 3249 2007-12-17 David Bateman <dbateman@free.fr> |
3250 | |
3251 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Use ridx for row | |
3252 index. | |
3253 | |
7299 | 3254 2007-12-11 John W. Eaton <jwe@octave.org> |
3255 | |
3256 * Sparse.cc (Sparse<T>::index (idx_vector&, int) const): | |
3257 If indexing scalar with empty matrix, return empty array with same | |
3258 size as index. | |
3259 | |
7272 | 3260 2007-12-10 John W. Eaton <jwe@octave.org> |
3261 | |
7279 | 3262 * NLEqn.h (NLEqn::fval): New data member. Adjust constructors |
3263 and assignment operator. | |
3264 (NLEqn::function_value): New function. | |
3265 * NLEqn.cc (NLEqn::solve): If solution is successful, compute | |
3266 function value. | |
3267 | |
7272 | 3268 * file-ops.cc (file_ops::concat): New function. |
3269 * file-ops.h: Provide decl. | |
3270 | |
7270 | 3271 2007-12-07 John W. Eaton <jwe@octave.org> |
3272 | |
3273 * oct-time.cc (octave_base_tm::init): Only assign t->tm_zone if it | |
3274 is not 0. | |
3275 | |
7269 | 3276 2007-12-07 David Bateman <dbateman@free.fr> |
3277 | |
3278 * Sparse-op-defs.h (SPARSE_SMS_CMP_OP, SPARSE_SMS_BOOL_OP, | |
3279 SPARSE_SSM_CMP_OP, SPARSE_SSM_BOOL_OP, SPARSE_SMSM_CMP_OP, | |
3280 SPARSE_SMSM_BOOL_OP, SPARSE_BASE_REDUCTION_OP): Use sparse | |
3281 indexing where possible rather than the elem method. | |
3282 (SPARSE_REDUCTION_OP_ROW_EXPR, SPARSE_REDUCTION_OP_COL_EXPR, | |
3283 SPARSE_ANY_ALL_OP_ROW_CODE, SPARSE_ANY_ALL_OP_COL_CODE): | |
3284 Replace for new version of SPARSE_BASE_REDUCTION_OP. | |
3285 (SPARSE_ALL_OP): Specialize the initial value, and only treat dim | |
3286 = 0 directly. | |
3287 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::sumsq (int) | |
3288 const): Replace ROW_EXPR and COL_EXPR functions for new version of | |
3289 SPARSE_BASE_REDUCTION_OP. | |
3290 (SparseComplexMatrix SparseComplexMatrix::prod (int) const): | |
3291 Specialize the initial value, and only treat dim = 0 directly. | |
3292 * dSparse.cc (SparseMatrix SparseMatrix::sumsq (int) const): | |
3293 ditto. | |
3294 (SparseMatrix SparseMatrix::prod (int) const): ditto. | |
3295 | |
7265 | 3296 2007-12-06 John W. Eaton <jwe@octave.org> |
3297 | |
3298 * CMatrix.cc (ComplexMatrix::expm): Update pointers to internal | |
3299 data for npp and dpp after assignments. | |
3300 * dMatrix.cc (Matrix::expm): Use same method as ComplexMatrix::expm. | |
3301 | |
7253 | 3302 2007-12-04 John W. Eaton <jwe@octave.org> |
3303 | |
3304 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
3305 Do nothing if one index is empty. | |
3306 | |
7246 | 3307 2007-12-04 David Bateman <dbateman@free.fr> |
3308 | |
3309 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
3310 Resize matrix as well if one dimension of lhs is zero and the rhs | |
3311 index exceeds the lhs index. | |
3312 * Sparse.cc (assign1 (Sparse<LT>&, const Sparse<RT>&)): | |
3313 Don't resize to a smaller matrix for empty matrices with a max rhs | |
3314 index smaller than the non zero lhs index. | |
3315 | |
3316 2007-12-04 Michael Goffioul <michael.goffioul@gmail.com> | |
3317 | |
3318 * Array-util.h: Tag permute_vector_compare with OCTAVE_API. | |
3319 | |
7241 | 3320 2007-12-03 Moritz Borgmann <octave@moriborg.de> |
3321 | |
3322 * Array-util.cc (permute_vector_compare): Move here from Array.cc. | |
3323 * Array-util.h (permute_vector, permute_vector_compare): Provide decls. | |
3324 * Array.cc (permute_vector, permute_vector_compare): Delete. | |
3325 | |
7238 | 3326 2007-12-03 David Bateman <dbateman@free.fr> |
3327 | |
3328 * Sparse.cc (template <class LT, class RT> int assign | |
3329 (Sparse<LT>&, const Sparse<RT>&)): Only set return matrix size to | |
3330 rhs values if both no. rows and columns are zero. | |
3331 | |
7231 | 3332 2007-11-30 John W. Eaton <jwe@octave.org> |
3333 | |
7234 | 3334 * oct-sort.cc, oct-sort.h: Style fixes. |
3335 | |
7231 | 3336 * lo-math.h: New file. |
3337 * Makefile.in (INCLUDES): Add it to the list. | |
3338 * liboctave/Array2.h, liboctave/ArrayN.h, liboctave/CmplxDET.cc, | |
3339 liboctave/DASPK.cc, liboctave/DASPK.h, liboctave/DASRT.cc, | |
3340 liboctave/DASRT.h, liboctave/DASSL.cc, liboctave/DASSL.h, | |
3341 liboctave/LSODE.cc, liboctave/LSODE.h, liboctave/NLEqn.h, | |
3342 liboctave/Quad.h, liboctave/Range.cc, liboctave/dbleDET.cc, | |
3343 liboctave/lo-cieee.c, liboctave/lo-ieee.cc, | |
3344 liboctave/lo-mappers.cc, liboctave/oct-time.cc, | |
3345 liboctave/oct-time.h, liboctave/randgamma.c, | |
3346 liboctave/randmtzig.c, liboctave/randpoisson.c: Include lo-math.h | |
3347 instead of cmath or math.h. | |
3348 * lo-mappers.h: Don't include sunmath.h here. | |
3349 | |
7198 | 3350 2007-11-26 John W. Eaton <jwe@octave.org> |
3351 | |
3352 * idx-vector.h (idx_vector::idx_vector_rep (const intNDArray<U>&)): | |
3353 Eliminate unnecessary second arg from call to tree_to_mat_idx. | |
3354 | |
3355 * oct-inttypes.h (operator bool, operator char): Delete. | |
3356 (bool_value, char_value, double_value, float_value): New functions. | |
3357 | |
7189 | 3358 2007-11-26 David Bateman <dbateman@free.fr> |
3359 | |
3360 * intNDArray.cc (template <class T> intNDArray<T> | |
3361 intNDArray<T>::max (int) const, template <class T> intNDArray<T> | |
3362 intNDArray<T>::max (ArrayN<octave_idx_type>&, int) const, | |
3363 template <class T> intNDArray<T> intNDArray<T>::min (int) const, | |
3364 template <class T> intNDArray<T> intNDArray<T>::min | |
3365 (ArrayN<octave_idx_type>&, int) const): New methods for integer | |
3366 classes. | |
3367 * intNDArray.h (class intNDArray): Add min/max methods | |
3368 * mx-op-defs.h (MIXMAX_DECLS, MINMAX_FCNS, SND_MINMAX_FCN, | |
3369 NDS_MINMAX_FCN, NDND_MINMAX_FCN): New macro for instantiation of | |
3370 min/max functions. | |
3371 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
3372 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
3373 (MINMAX_DECLS(T)): Declare the min/max functions for integer | |
3374 types. | |
3375 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
3376 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
3377 (MINMAX_FCNS(T)): Instantiate the min/max functions for integer | |
3378 types. | |
3379 | |
3380 * Arrayc.cc (Array<T>::index (idx_vector&, idx_vector&, int, | |
3381 const T& rfv) const): If ndims != 2 call ND version of index. | |
3382 | |
7176 | 3383 2007-11-14 John W. Eaton <jwe@octave.org> |
3384 | |
7178 | 3385 * oct-inttypes.h (opeator T (void) const): New conversion operator. |
3386 | |
7176 | 3387 * lo-specfun.cc (zbesi): When alpha is negative, don't limit |
3388 correction to half-integer values. From Eric Chassande-Mottin | |
3389 <echassandemottin@gmail.com>. | |
3390 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3391 2007-11-07 Michael Goffioul <michael.goffioul@gmail.com> |
7124 | 3392 |
3393 * dMatrix.cc, CMatrix.cc: Help MSVC compiler to resolve | |
3394 ambiguities related to math functions (in C++ mode). | |
3395 | |
7102 | 3396 2007-11-06 David Bateman <dbateman@free.fr> |
3397 | |
7113 | 3398 * intNDArray.cc (intNDArray<T> intNDArray<T>::sum (int) const): |
3399 New method. | |
3400 * intNDarray.h (intNDArray sum (int) const): Declare it. | |
3401 * boolNDArray.cc (boolNDArray boolNDArray::sum (int) const): | |
3402 New method. | |
3403 * boolNDarray.cc (boolNDArray sum (int) const): Declare it. | |
7102 | 3404 * MArray-def.h (MARRAY_NORM_BODY): Scale frobenius norm by infinity |
3405 norm to avoid issues of over- and underflow. From Rolf Fabian | |
3406 <Rolf.Fabian@gmx.de>. | |
3407 | |
7081 | 3408 2007-10-30 David Bateman <dbateman@free.fr> |
3409 | |
3410 * DASRT-opts.in, LSODE-opts.in: Doc fixes for small book format. | |
3411 | |
7079 | 3412 2007-10-30 John W. Eaton <jwe@octave.org> |
3413 | |
3414 * CMatrix.cc (lssolve): Compute size of rwork and iwork arrays. | |
3415 * dMatrix.cc (lssolve): Compute size of iwork array. | |
3416 | |
7076 | 3417 2007-10-29 David Bateman <dbateman@free.fr> |
3418 | |
3419 * CMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
3420 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
3421 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
3422 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
3423 double& rcond) const, lssolve (const ComplexColumnVector&, | |
3424 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
3425 declarations. | |
3426 * CMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
3427 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
3428 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
3429 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
3430 double& rcond) const, lssolve (const ComplexColumnVector&, | |
3431 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
3432 methods. | |
3433 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
3434 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
3435 octave_idx_type&, double&) const): Also return rcond from the | |
3436 singular values returned by XGELSD. | |
3437 * dMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
3438 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
3439 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
3440 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
3441 double& rcond) const, lssolve (const ComplexColumnVector&, | |
3442 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
3443 declarations. | |
3444 * dMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
3445 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
3446 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
3447 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
3448 double& rcond) const, lssolve (const ComplexColumnVector&, | |
3449 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
3450 methods. | |
3451 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
3452 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
3453 octave_idx_type&, double&) const): Also return rcond from the | |
3454 singular values returned by XGELSD. | |
3455 | |
7072 | 3456 2007-10-26 David Bateman <dbateman@free.fr> |
3457 | |
3458 * dMatrix.cc (Matrix::lssolve): Use xGELSD for rank deficient | |
3459 matrices to avoid reliability issues with xGELSY. | |
3460 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. | |
7071 | 3461 |
7065 | 3462 2007-10-25 John W. Eaton <jwe@octave.org> |
3463 | |
3464 * oct-time.cc (octave_gmtime::init, octave_localtime::init): | |
3465 Call unix_time on arg instead of relying on conversion operator. | |
3466 | |
3467 * oct-time.h (octave_time::double_value): New function. | |
3468 (octave_time::operator double () const): Delete. | |
3469 (octave_time::operator time_t () const): Delete. | |
3470 | |
7058 | 3471 2007-10-24 John W. Eaton <jwe@octave.org> |
3472 | |
3473 * strptime.c: Also compile if OCTAVE_HAVE_BROKEN_STRPTIME is defined. | |
3474 | |
7052 | 3475 2007-10-23 John W. Eaton <jwe@octave.org> |
3476 | |
3477 * CRowVector.cc (operator * const ComplexRowVector&, const | |
3478 ComplexColumnVector&)): Delete spurious code left from patch. | |
3479 | |
7048 | 3480 2007-10-22 Kim Hansen <kimhanse@gmail.com> |
3481 | |
3482 * chMatrix.cc, lo-utils.cc, oct-env.cc, oct-uname.cc, | |
3483 sparse-sort.cc: Include <cstring>. | |
3484 | |
7036 | 3485 2007-10-17 John W. Eaton <jwe@octave.org> |
3486 | |
3487 * oct-sparse.h: Don't include metis.h. | |
3488 | |
3489 * dSparse.cc (SparseMatrix::fsolve): Delete special code for METIS. | |
3490 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
3491 * sparse-base-chol.cc (sparse_base_chol<chol_type, chol_elt, | |
3492 p_type>::sparse_base_chol_rep::init): Likewise. | |
3493 | |
7033 | 3494 2007-10-16 John W. Eaton <jwe@octave.org> |
3495 | |
3496 * dMatrix.cc (Matrix::inverse): Only check rcond == 0 if the | |
3497 matrix is hermitian or calc_cond is true. | |
3498 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
3499 | |
7016 | 3500 2007-10-12 John W. Eaton <jwe@octave.org> |
3501 | |
3502 * Change copyright notices in all files that are part of Octave to | |
3503 GPLv3 or any later version. | |
3504 | |
7007 | 3505 2007-10-11 Brian Gough <bjg@network-theory.co.uk> |
3506 | |
3507 * DASSL-opts.in, LSODE-opts.in: Spelling fixes. | |
3508 | |
7001 | 3509 2007-10-10 Olli Saarela <Olli.Saarela@kcl.fi> |
3510 | |
3511 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in: Spelling fixes. | |
3512 | |
7000 | 3513 2007-10-10 John W. Eaton <jwe@octave.org> |
3514 | |
3515 * LPsolve.h, LPsolve.cc: Delete. | |
3516 * Makefile.in: Remove them from the INCLUDES and | |
3517 LIBOCTAVE_CXX_SOURCES lists. | |
3518 | |
6989 | 3519 2007-10-09 John W. Eaton <jwe@octave.org> |
3520 | |
6996 | 3521 * oct-time.cc (octave_strptime::init): Initialize t.tm_mon to -1 |
3522 and t.tm_year to INT_MIN before call to oct_strptime. Adjust | |
3523 values to zero after call if they remain unchanged. | |
3524 | |
6989 | 3525 * dSparse.cc (SparseMatrix::all_elements_are_zero): New function. |
3526 * dNDArray.cc (NDArray::all_elements_are_zero): New function. | |
3527 | |
6988 | 3528 2007-10-09 David Bateman <dbateman@free.fr> |
3529 | |
6995 | 3530 * oct-time.cc (octave_strptime::init): Only call mktime if mday is |
3531 valud and mon and year are also filled in. | |
3532 | |
6990 | 3533 * Array2.h (Array2<T>::Array2(const dim_vector&), |
3534 Array2<T>::Array(const dim_vector&, const T&)): Check that | |
3535 dim_vector is 2 dimensional. | |
3536 | |
6988 | 3537 * Sparse.cc (Sparse<T> Sparse<T>::index (idx_vector&, idx_vector&, |
3538 int)): Remove a for loop in the random indexing case at the | |
3539 expense of maintaining a set of linked lists of indices that point | |
3540 to the same column in the original matrix. | |
3541 (int assign (Sparse<LT>&, Sparse<RT>)): Take a const copy of lhs | |
3542 and use it on the RHS of expressions to avoid unnecessary calls to | |
3543 make_unique. | |
3544 | |
6979 | 3545 2007-10-08 David Bateman <dbateman@free.fr> |
3546 | |
3547 * oct-rl-edit. (typedef rl_quoting_fcn_ptr, rl_dequoting_fcn_ptr, | |
3548 rl_char_is_quoted_fcn_ptr, rl_command_fcn_ptr): New typedefs | |
3549 for readline compatible functions. | |
3550 (octave_rl_redisplay): Redisplay the current line of text. | |
3551 (octave_rl_newline): Change interface to the same | |
3552 as used by the equivalent readline function itself. | |
3553 (octave_rl_filename_quoting_desired, | |
3554 octave_rl_set_filename_quote_characters, | |
3555 octave_rl_set_completer_quote_characters, | |
3556 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
3557 octave_rl_set_char_is_quoted_function): New functions to control | |
3558 readline filename quoting and line acceptace. | |
3559 * oct-rl-edit.c (octave_rl_newline): Change interface to the same | |
3560 as used by the equivalent readline function itself. | |
3561 (octave_rl_redisplay): Redisplay the current line of text. | |
3562 (octave_rl_filename_quoting_desired, | |
3563 octave_rl_set_filename_quote_characters, | |
3564 octave_rl_set_completer_quote_characters, | |
3565 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
3566 octave_rl_set_char_is_quoted_function): New functions to control | |
3567 readline filename quoting and line acceptace. | |
3568 * cmd-edit.h (typedef quoting_fcn, typedef dequoting_fcn, | |
3569 typedef char_is_quoted_fcn, user_accept_line_fcn): New typedefs | |
3570 to map C++ function to readline compatible functions. | |
3571 (set_filename_quote_characters): New function to set the | |
3572 characters to if they appear in a filename that force the filename | |
3573 to be quoted. | |
3574 (set_completer_quote_characters): The characters that the readline | |
3575 completion function considers as quotation characters. | |
3576 (set_quoting_function, set_dequoting_function, | |
3577 set_char_is_quoted_function, set_user_accept_line_function): | |
3578 Functions to set the Octave functions to perform quoting and the | |
3579 acceptance of a line of text by readline. | |
3580 (get_quoting_function, get_dequoting_function, | |
3581 get_char_is_quoted_function, get_user_accept_line_function): | |
3582 Functions to get the above functions. | |
3583 (accept_line): New method for the command_editor to accept a line | |
3584 of text. | |
3585 (file_quoting_desired): Function to set whether readline should | |
3586 attempt to quote filenames. | |
3587 (do_set_filename_quoting_characters, | |
3588 do_set_completer_quote_characters, do_set_quoting_function, | |
3589 do_set_dequoting_function, do_set_char_is_quoted_function, | |
3590 do_set_user_accept_line_function, do_get_quoting_function, | |
3591 do_get_dequoting_function, do_get_char_is_quoted_function, | |
3592 do_get_user_accept_line_function, do_filename_quoting_desired): | |
3593 Virtual functions to control the behavior of readline quoting and | |
3594 acceptance of lines. | |
3595 (do_accept_line): Virtual function for the accept line function. | |
3596 * cmd-edit.cc (class gnu_readline do_set_filename_quote_characters, | |
3597 do_completer_quote_characters, do_set_quoting_function, | |
3598 do_set_dequoting_function, do_set_char_is_quoted_function, | |
3599 do_set_user_accept_line_function, do_get_quoting_function, | |
3600 do_get_dequoting_function, do_get_user_accept_line_function, | |
3601 do_accept_line, do_filename_quoting_desired, command_quoter, | |
3602 command_dequoter, command_char_is_quoted, command_accept_line): | |
3603 New functions in gnu_readline class to control filename quoting | |
3604 and line acceptance. | |
3605 (quoting_function, dequoting_function, char_is_quoted_function, | |
3606 user_accept_line_function): private variable to store functions | |
3607 supplied for readline quoting and line acceptance. | |
3608 (gnu_readline::gnu_readline): Also set the new function pointers | |
3609 to zero. | |
3610 (gnu_readline::do_newline): Adapt to new octave_rl_newline | |
3611 interface. | |
3612 (gnu_readeline::operate_and_get_next): Use new accept_line | |
3613 function rather than newline. | |
3614 (default_ommand_editor::do_accept_line): New method. | |
3615 (class command_editor set_filename_quote_characters, | |
3616 set_completer_quote_characters, set_quoting_function, | |
3617 set_dequoting_function, set_char_is_quoted_function, | |
3618 set_user_accept_line_function, get_quoting_function, | |
3619 get_dequoting_function, get_user_accept_line_function, | |
3620 accept_line, filename_quoting_desired): New functions checking | |
3621 instance before calling virtual function. | |
3622 | |
3623 * CMatrix.h, dMatrix.h, boolMatrix.h, chMatrix.h, MArray2.h, | |
3624 Array2.h: Add dim_vector constructors. | |
3625 * charNDArray.h (charNDArray (const dim_vector&)): Add missing | |
3626 const to dim_vector constructors. | |
3627 * boolMatrix.cc, chMatrix.cc, intNDArray.cc (diag (void), diag | |
3628 (octave_idx_type)): New methods to constructor diagonal matrices. | |
3629 * boolMatrix.h, chMatrix.h, intNDArray.h (diag (void), diag | |
3630 (octave_idx_type)): Declare them. | |
3631 | |
6969 | 3632 2007-10-06 John W. Eaton <jwe@octave.org> |
3633 | |
3634 * lo-specfun.cc: (zlgamma): Delete. | |
3635 (xgamma): Use C library gamma function if available. | |
3636 (xlgamma): Use C library lgamma function if available. | |
3637 (xlgamma) [! HAVE_LGAMMA]: Allow calculation for any value of X | |
3638 other than NaN or Inf. | |
3639 | |
6961 | 3640 2007-10-05 John W. Eaton <jwe@octave.org> |
3641 | |
3642 * lo-specfun.cc (zlgamma): New function. | |
3643 | |
6959 | 3644 2007-10-04 John W. Eaton <jwe@octave.org> |
3645 | |
3646 * oct-sort.cc (octave_sort<T>::binarysort): Remove register | |
3647 qualifiers on local variables. | |
3648 | |
6958 | 3649 2007-10-04 Marco Caliari <mcaliari@math.unipd.it> |
3650 | |
3651 * CMatrix.cc (ComplexMatrix::expm): Limit shift to values less | |
3652 than log(realmax) to avoid issues with NaN. | |
3653 | |
6940 | 3654 2007-10-01 John W. Eaton <jwe@octave.org> |
3655 | |
6941 | 3656 * oct-time.cc (octave_strptime::init): Call mktime to propertly |
3657 initialize wday and yday. | |
3658 From Matthias Drochner <m.drochner@fz-juelich.de>. | |
3659 | |
6940 | 3660 * cmd-edit.cc (command_editor::do_decode_prompt_string): Don't |
3661 insert extra '\001' when decoding \[ and \]. | |
3662 | |
6926 | 3663 2007-09-26 David Bateman <dbateman@free.fr> |
3664 | |
3665 * dMatrix.cc (lssolve): Replace the use of xGELSS with xGELSY with | |
3666 is much faster and no less accurate. | |
3667 * CMatrix.cc (lssolve): ditto. | |
3668 | |
6924 | 3669 2007-09-25 David Bateman <dbateman@free.fr> |
3670 | |
3671 * dMatrix.cc (utsolve, ltsolve, fsolve, lssolve): Allow | |
3672 zero dimensioned matrices. | |
3673 * CMatrix.cc (utsolve, ltsolve, fsolve, lssolve): ditto. | |
3674 * dSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
3675 ditto. | |
3676 * CSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
3677 ditto. | |
3678 * SparseQR.cc (SparseQR::SparseQR_rep::C, qrsolve): ditto. | |
3679 * SparseCmplxQR.cc (SparseComplexQR::SparseComplexQR_rep::C, | |
3680 qrsolve): ditto. | |
3681 * sparse-dmsolve.cc (dmsolve): ditto. | |
3682 | |
6922 | 3683 2007-09-21 John W. Eaton <jwe@octave.org> |
3684 | |
3685 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): | |
3686 Also allow resizing empty LHS if it is 1x0 or 0xN. | |
3687 | |
6916 | 3688 2007-09-19 John W. Eaton <jwe@octave.org> |
3689 | |
3690 * cmd-edit.cc (command_editor::remove_startup_hook): | |
3691 Fix cut-and-paste error. | |
6917 | 3692 (gnu_readline::set_startup_hook): Only set hook function if new |
3693 function is different from the current one. | |
6916 | 3694 |
6913 | 3695 2007-09-18 John W. Eaton <jwe@octave.org> |
3696 | |
3697 * cmd-edit.h, cmd-edit.cc (command_editor::startup_hook_set, | |
3698 command_editor::event_hook_set): New static data. | |
3699 (default_command_editor::set_startup_hook, | |
3700 gnu_readline::set_startup_hook, | |
3701 default_command_editor::restore_startup_hook, | |
3702 gnu_readline_restore_event_hook): | |
3703 Rename from do_set_startup_hook and do_set_event_hook. | |
3704 (gnu_readline::operate_and_get_next): Call | |
3705 command_editor::add_startup_hook, not | |
3706 command_editor::set_startup_hook. | |
3707 (command_editor::startup_handler, command_editor::event_handler): | |
3708 New functions. | |
3709 (command_editor::add_startup_hook, command_editor::add_event_hook, | |
3710 command_editor::remove_startup_hook, | |
3711 command_editor::remove_event_hook): Rename from set_startup_hook | |
3712 and restore_startup_hook. Handle hook sets here. | |
3713 * cmd-edit.cc (gnu_history::do_goto_mark): | |
3714 Call remove_startup_hook instead of restore_startup_hook. | |
3715 | |
6907 | 3716 2007-09-17 John W. Eaton <jwe@octave.org> |
3717 | |
3718 * lo-utils.cc (octave_read_complex, octave_read_double): Skip | |
3719 leading whitespace. | |
3720 | |
6897 | 3721 2007-09-13 John W. Eaton <jwe@octave.org> |
3722 | |
3723 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
3724 octave_read_complex): Use istream::get instead of >> to read | |
3725 individual characters. | |
3726 | |
6884 | 3727 2007-09-10 John W. Eaton <jwe@octave.org> |
3728 | |
3729 * Array.cc (assign1): Don't call make_unique for invalid assignment. | |
3730 | |
3731 2007-09-10 David Bateman <dbateman@free.fr> | |
3732 | |
3733 * Array.h (Array<T>::make_unique): Make public so that the | |
3734 ::assign functions can access it directly. | |
3735 * Array.cc (Array<T>::maybe_delete_elements_1(idx_vector&), | |
3736 Array<T>::maybe_delete_elements_1(idx_vector&), | |
3737 Array<T>::maybe_delete_elements(idx_vector&, idx_vector&), | |
3738 Array<T>::maybe_delete_elements(Array<idx_vector>&, const T&)): | |
3739 Use xelem for non const RHS to avoid call to make_unique. | |
3740 (int assign1 (Array<LT>&, const Array<RT>&, const LT&)): Use | |
3741 xelem for LHS and call lhs.make_unique() only once. Special case | |
3742 the is_colon index case and use Array<T>::xelem(octave_idx_type) | |
3743 rather than Array<T>::xelem(octave_idx_type,octave_idx_type) and | |
3744 bring the additional multiplication out of the inner loop. | |
3745 (int assign2 (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
3746 (int assignN (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
3747 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep | |
3748 (const Range& r)): Don't use init_state() method but special case | |
3749 as with a Range can avoid exhaustive search. | |
3750 | |
6881 | 3751 2007-09-07 John W. Eaton <jwe@octave.org> |
3752 | |
3753 * Array.cc (Array<T>::fortran_vec): Call make_unique instead of | |
3754 manipulating rep directly. | |
3755 | |
3756 * Array.h (idx, idx_count): Declare mutable. | |
3757 (Array<T>::set_index, Array<T>::clear_index, Array<T>::value): | |
3758 Now const. | |
3759 | |
6867 | 3760 2007-09-06 David Bateman <dbateman@free.fr> |
3761 | |
6868 | 3762 * Array-util.cc (increment_index): dimensions can have singleton |
3763 trailing dimensions. | |
6867 | 3764 * Array.h (range_error, xelem, checkelem, elem, operator ()): |
3765 Modify use of Array<int> to Array<octave_idx_type> and adjust | |
3766 where necessary. | |
3767 * Array.cc (range_error): ditto. | |
3768 * MArrayN.h (permute, ipermute): ditto. | |
3769 * ArrayN.h (permute, ipermute): ditto. | |
3770 * so-array.cc (streamoff_array::compute_index): ditto. | |
3771 * so-array.h (compute_index): ditto. | |
3772 * CMattrix.cc (ComplexMatrix::exmpm): ditto. | |
3773 | |
6840 | 3774 2007-08-29 David Bateman <dbateman@free.fr> |
3775 | |
3776 * dSparse.cc (SparseMatrix SparseMatrix::inverse (MatrixType &, | |
3777 octave_idx_type&, double&, int, int)): Calculate with LU even for | |
3778 matrices marked as singular. | |
3779 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::inverse ( | |
3780 MatrixType &, octave_idx_type&, double&, int, int)): ditto. | |
3781 * dMatrix.cc (Matrix Matrix::inverse (MatrixType &, octave_idx_type&, | |
3782 double&, int, int)): ditto. If rcond==0 force matrix of infinities. | |
3783 * dMatrix.cc (ComplexMatrix ComplexMatrix::inverse (MatrixType &, | |
3784 octave_idx_type&, double&, int, int)): ditto. | |
3785 | |
6838 | 3786 2007-08-27 John W. Eaton <jwe@octave.org> |
3787 | |
3788 * oct-env.cc (octave_env::rooted_relative_pathname, | |
3789 octave_env::do_rooted_relative_pathname): New functions. | |
3790 * oct-env.h: Provide decls. | |
3791 | |
6823 | 3792 2007-08-24 David Bateman <dbateman@free.fr> |
3793 | |
3794 * MSparse.h (MSparse<T>& insert (const Sparse<T>&, | |
3795 const Array<octave_idx_type>&)): New method. | |
3796 (MSparse (const dim_vector&, octave_idx_type)): Ditto. | |
3797 * dSparse.h (SparseMatrix& SparseMatrix::insert (const | |
3798 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
3799 (SparseMatrix (const dim_vector&, octave_idx_type)): ditto. | |
3800 * dSparse.cc (SparseMatrix& SparseMatrix::insert (const | |
3801 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
3802 * boolSparse.h (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
3803 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
3804 * boolSparse.cc (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
3805 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
3806 * CSparse.h (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
3807 SparseMatrix&, const Array<octave_idx_type>&), | |
3808 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
3809 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
3810 (SparseComplexMatrix (const dim_vector&, octave_idx_type)): ditto. | |
3811 * CSparse.cc (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
3812 SparseMatrix&, const Array<octave_idx_type>&), | |
3813 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
3814 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
3815 | |
6817 | 3816 2007-08-19 David Bateman <dbateman@free.fr> |
3817 | |
3818 * Sparse.cc (Sparse<T>::permute): Avoid shadowing warning. | |
3819 | |
6813 | 3820 2007-08-14 John W. Eaton <jwe@octave.org> |
3821 | |
3822 * Sparse.cc (Sparse<T>::permute): permutation vector is zero based. | |
3823 Simplify. | |
6814 | 3824 (Sparse<T>::reshape): Warn about reshaping to N-d array. |
6813 | 3825 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3826 2007-08-10 Michael Goffioul <michael.goffioul@gmail.com> |
6810 | 3827 |
3828 * file-stat.cc (file_stat::update_internal) [__WIN32__]: | |
3829 Remove trailing dir separator when stat'ing directory except for | |
3830 root directory. | |
3831 | |
6796 | 3832 2007-07-25 David Bateman <dbateman@free.fr> |
3833 | |
3834 * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" | |
3835 to work. | |
3836 | |
6764 | 3837 2007-06-04 David Bateman <dbateman@free.fr> |
3838 | |
3839 * oct-inttypes.h (octave_int<T>& operator <<= (const T2&), | |
3840 octave_int<T>& operator >>= (const T2&)): Make shift operators | |
3841 perform a twos complement arithmetic shift for both signed and | |
3842 unsigned integers regardless of compiler implementations. | |
3843 | |
6708 | 3844 2007-06-13 Michael Goffioul <michael.goffioul@swing.be> |
3845 | |
6719 | 3846 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): For CXSparse 2.2 and greater |
3847 use cs_complex_t(0,0) for the complex zero. | |
3848 | |
6708 | 3849 * MArray-ch.cc, MArray-d.cc, MArray-i.cc, MArray-s.cc: |
3850 Sprinkle class instantiations with OCTAVE_API as needed. | |
3851 | |
3852 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY, | |
3853 INSTANTIATE_ARRAY_AND_ASSIGN): New arg, API. Change all uses. | |
3854 * MArray-defs.h (MARRAY_OP_ASSIGN_DECL, MARRAY_OP_ASSIGN_DECLS, | |
3855 MARRAY_OP_ASSIGN_FWD_DECLS, MARRAY_OP_ASSIGN_FRIENDS, | |
3856 MARRAY_OP_ASSIGN_DEFS, MARRAY_UNOP, MARRAY_UNOP_DECLS, | |
3857 MARRAY_UNOP_FWD_DECLS, MARRAY_UNOP_FRIENDS, MARRAY_UNOP_DEFS, | |
3858 MARRAY_BINOP_DECL, MARRAY_BINOP_DECLS, MARRAY_AA_BINOP_DECLS, | |
3859 MDIAGARRAY2_DAS_BINOP_DECLS, MDIAGARRAY2_SDA_BINOP_DECLS, | |
3860 MDIAGARRAY2_DADA_BINOP_DECLS, MARRAY_BINOP_FWD_DECLS, | |
3861 MDIAGARRAY2_BINOP_FWD_DECLS, MARRAY_BINOP_FRIENDS, | |
3862 MDIAGARRAY2_BINOP_FRIENDS, MARRAY_BINOP_DEFS, | |
3863 MDIAGARRAY2_BINOP_DEFS, MARRAY_OPS_FORWARD_DECLS, | |
3864 MDIAGARRAY2_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS, | |
3865 MDIAGARRAY2_OPS_FRIEND_DECLS, INSTANTIATE_MARRAY_FRIENDS, | |
3866 INSTANTIATE_MARRAY2_FRIENDS, INSTANTIATE_MARRAYN_FRIENDS, | |
3867 INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. | |
3868 * MSparse-defs.h (SPARSE_OP_ASSIGN_DECL, SPARSE_OP_ASSIGN_DECLS, | |
3869 SPARSE_OP_ASSIGN_FWD_DECLS, SPARSE_OP_ASSIGN_FRIENDS, | |
3870 SPARSE_OP_ASSIGN_DEFS, SPARSE_UNOP, SPARSE_UNOP_DECLS, | |
3871 SPARSE_UNOP_FWD_DECLS, SPARSE_UNOP_FRIENDS, SPARSE_UNOP_DEFS, | |
3872 SPARSE_BINOP_DECL, SPARSE_BINOP_DECLS, SPARSE_AA_BINOP_DECLS, | |
3873 SPARSE_BINOP_FWD_DECLS, SPARSE_BINOP_FRIENDS, SPARSE_BINOP_DEFS, | |
3874 SPARSE_OPS_FORWARD_DECLS, SPARSE_OPS_FRIEND_DECLS, | |
3875 INSTANTIATE_SPARSE_FRIENDS): Ditto. | |
3876 * Sparse-op-defs.h (SPARSE_BIN_OP_DECL, SPARSE_CMP_OP_DECL, | |
3877 SPARSE_BOOL_OP_DECL, SPARSE_SMS_BIN_OP_DECLS, | |
3878 SPARSE_SMS_CMP_OP_DECLS, SPARSE_SMS_EQNE_OP_DECLS, | |
3879 SPARSE_SMS_BOOL_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
3880 SPARSE_SMS_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
3881 SPARSE_SSM_CMP_OP_DECLS, SPARSE_SSM_EQNE_OP_DECLS, | |
3882 SPARSE_SSM_BOOL_OP_DECLS, SPARSE_SSM_OP_DECLS, | |
3883 SPARSE_SMSM_BIN_OP_DECLS, SPARSE_SMSM_CMP_OP_DECLS, | |
3884 SPARSE_SMSM_EQNE_OP_DECLS, SPARSE_SMSM_BOOL_OP_DECLS, | |
3885 SPARSE_SMSM_OP_DECLS, SPARSE_MSM_BIN_OP_DECLS, | |
3886 SPARSE_MSM_CMP_OP_DECLS, SPARSE_MSM_EQNE_OP_DECLS, | |
3887 SPARSE_MSM_BOOL_OP_DECLS, SPARSE_MSM_OP_DECLS, | |
3888 SPARSE_SMM_BIN_OP_DECLS, SPARSE_SMM_CMP_OP_DECLS, | |
3889 SPARSE_SMM_EQNE_OP_DECLS, SPARSE_SMM_BOOL_OP_DECLS, | |
3890 SPARSE_SMM_OP_DECLS): Ditto. | |
3891 * Sparse.h (INSTANTIATE_SPARSE_ASSIGN, INSTANTIATE_SPARSE, | |
3892 INSTANTIATE_SPARSE_AND_ASSIGN): Ditto. | |
3893 * mx-op-defs.h (BIN_OP_DECL, CMP_OP_DECL, NDCMP_OP_DECL, | |
3894 BOOL_OP_DECL, NDBOOL_OP_DECL, VS_BIN_OP_DECLS, VS_OP_DECLS, | |
3895 SV_BIN_OP_DECLS, SV_OP_DECLS, VV_BIN_OP_DECLS, VV_OP_DECLS, | |
3896 MS_BIN_OP_DECLS, MS_CMP_OP_DECLS, MS_BOOL_OP_DECLS, MS_OP_DECLS, | |
3897 SM_BIN_OP_DECLS, SM_CMP_OP_DECLS, SM_BOOL_OP_DECLS, SM_OP_DECLS, | |
3898 MM_BIN_OP_DECLS, MM_CMP_OP_DECLS, MM_BOOL_OP_DECLS, MM_OP_DECLS, | |
3899 NDS_BIN_OP_DECLS, NDS_CMP_OP_DECLS, NDS_BOOL_OP_DECLS, | |
3900 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_CMP_OP_DECLS, | |
3901 SND_BOOL_OP_DECLS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
3902 NDND_CMP_OP_DECLS, NDND_BOOL_OP_DECLS, NDND_OP_DECLS, | |
3903 SDM_BIN_OP_DECLS, SDM_OP_DECLS, DMS_BIN_OP_DECLS, DMS_OP_DECLS, | |
3904 MDM_BIN_OP_DECLS, MDM_OP_DECLS, DMM_BIN_OP_DECLS, DMM_OP_DECLS, | |
3905 DMDM_BIN_OP_DECLS, DMDM_OP_DECLS): Ditto. | |
3906 | |
6699 | 3907 2007-06-12 John W. Eaton <jwe@octave.org> |
3908 | |
3909 * dMatrix.cc (Matrix::expm): Special case for scalar arg. | |
3910 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6697 | 3911 |
6693 | 3912 2007-06-06 Michael Goffioul <michael.goffioul@swing.be> |
3913 | |
6709 | 3914 * file-ops.cc (tilde_find_suffix, isolate_tilde_prefix, |
3915 tilde_expand_word): Use file_ops::is_dir_sep instead of comparing | |
3916 with file_ops::dir_sep_char. | |
6694 | 3917 |
6693 | 3918 * MArray-C.cc: Sprinkle with OCTINTERP_API as needed. |
3919 | |
6689 | 3920 2007-06-04 David Bateman <dbateman@free.fr> |
3921 | |
6699 | 3922 * file-ops.cc: Typo. |
3923 | |
6689 | 3924 * Sparse.cc (Sparse<T> Sparse<T>::reshape): If length of new |
3925 dimensions is greater than 2, collapse to 2-D. | |
3926 | |
6685 | 3927 2007-06-02 David Bateman <dbateman@free.fr> |
3928 | |
3929 * SparseCmplxQR.cc: Changes to support CXSparse 2.2.0. | |
3930 | |
6680 | 3931 2007-05-31 John W. Eaton <jwe@octave.org> |
3932 | |
3933 * Array.cc (Array::get_size): Throw std::bad_alloc exception if | |
3934 the computed size is too large for the size of Octave's index type. | |
3935 | |
6662 | 3936 2007-05-23 John W. Eaton <jwe@octave.org> |
3937 | |
3938 * oct-sparse.h: Don't surround included files with extern "C" { ... }. | |
3939 | |
6629 | 3940 2007-05-16 David Bateman <dbateman@free.fr> |
3941 | |
3942 * dRowVector.cc (linspace): Return second argument if fewer than | |
3943 two values are requested. | |
3944 * CRowVector.cc (linspace): Likewise. | |
3945 | |
6596 | 3946 2007-04-27 John W. Eaton <jwe@octave.org> |
3947 | |
3948 * lo-mappers.cc (signum (const Complex&)): Special case for (0, 0). | |
3949 | |
6583 | 3950 2007-04-25 John W. Eaton <jwe@octave.org> |
3951 | |
3952 * oct-fftw.h (octave_fftw): Tag with OCTAVE_API. | |
3953 | |
6553 | 3954 2007-04-20 John W. Eaton <jwe@octave.org> |
3955 | |
3956 * Array.cc (assign1): For x(:) = RHS, require rhs_len == lhs_len, | |
3957 not rhs_len == 1. | |
3958 | |
6536 | 3959 2007-04-18 Michael Goffioul <michael.goffioul@swing.be> |
3960 | |
3961 * oct-md5.h (oct_md5, oct_md5_file): Tag decls with OCTAVE_API. | |
3962 | |
6525 | 3963 2007-04-13 John W. Eaton <jwe@octave.org> |
3964 | |
3965 * Array.cc (Array<T>::maybe_delete_elements_2): Don't return early | |
3966 for empty matrix. Only check for colon index equivalence if not empty. | |
3967 | |
6513 | 3968 2007-04-10 John W. Eaton <jwe@octave.org> |
3969 | |
3970 * SparseCmplxQR.cc | |
3971 (SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep): | |
3972 Move GCC_ATTR_UNUSED before the parameter decl. | |
3973 From Luis Ortiz <lortiz@interactivesupercomputing.com>. | |
3974 | |
6508 | 3975 2007-04-06 John W. Eaton <jwe@octave.org> |
3976 | |
3977 * MArray-defs.h (MARRAY_NORM_BODY): New macro. | |
3978 * MArray.h (MArray<T>::norm): New function. | |
3979 * MArray.cc: Provide decl. | |
3980 * MArray-d.cc (MArray<double>::norm): Define double specialization. | |
3981 * MArray-C.cc (MArray<Complex>::norm): Define Complex specialization. | |
3982 | |
6490 | 3983 2007-04-04 John W. Eaton <jwe@octave.org> |
3984 | |
3985 * Range.cc (Range::nelem_internal): Likewise. | |
3986 * lo-utils.cc (NINT): Use numeric_limits<int> instead of INT_MAX. | |
3987 (NINTbig): Use numeric_limits<octave_idx_type> instead of INT_MAX. | |
3988 From Scott Pakin <pakin@lanl.gov>. | |
3989 | |
6486 | 3990 2007-04-04 David Bateman <dbateman@free.fr> |
3991 | |
3992 * dMatrix.cc (Matrix::inverse): If calc_cond is true, calculate | |
3993 the condition number for positive definite matrices. | |
3994 * CMatrix.cc (ComplexMatrix::inverse): Ditto. | |
3995 * dbleChol.h (CHOL(const Matrix&, bool)): New arg, calc_cond. | |
3996 (CHOL(const Matrix&, octave_idx_type&, bool): Ditto. | |
3997 (octave_idx_type init (const Matrix&, bool)): Ditto. | |
3998 (CHOL(const CHOL&)): Copy xrcond. | |
3999 (CHOL& operator = (const CHOL&)): Copy xrcond. | |
4000 (xrcond): New private data member. | |
4001 * CmplxCHOL.h (ComplexCHOL(const ComplexMatrix&, bool)): New arg, | |
4002 calc_cond. | |
4003 (ComplexCHOL(const ComplexMatrix&, octave_idx_type&, bool): Ditto | |
4004 (octave_idx_type init (const ComplexMatrix&, bool)): Ditto. | |
4005 (ComplexCHOL(const ComplexCHOL&)): Copy xrcond. | |
4006 (ComplexCHOL& operator = (const ComplexCHOL&)): Copy xrcond. | |
4007 (xrcond): New private data member. | |
4008 * dbleCHOL.cc (CHOL::init(const Matrix&, bool)): If calc_cond is | |
4009 true, calculate the condition number with dpocon. | |
4010 * CmplxCHOL.cc (ComplexCHOL::init(const ComplexMatrix&, bool)): If | |
4011 calc_cond is true, calculate the condition number with zpocon. | |
4012 | |
6481 | 4013 2007-04-03 John W. Eaton <jwe@octave.org> |
4014 | |
6482 | 4015 * intNDArray.cc (intNDArray): Delete spurious semicolon. |
4016 | |
4017 * CMatrix.cc (ComplexMatrix::tinverse): Use Array<T> and | |
4018 fortran_vec method instead of OCTAVE_LOCAL_BUFFER to avoid | |
4019 "maybe clobbered by vfork" warning. | |
4020 | |
6483 | 4021 * Sparse-op-defs.h (SPARSE_CUMSUM): Add braces to avoid ambiguous |
6482 | 4022 if/else. |
4023 | |
4024 * oct-spparms.h (octave_sparse_params): Define copy constructor | |
4025 and destructor. | |
4026 | |
6481 | 4027 * Array.cc (assignN): Don't resize dimension if corresponding |
4028 index is empty. | |
4029 | |
6479 | 4030 2007-04-02 John W. Eaton <jwe@octave.org> |
4031 | |
4032 * dMatrix.h (Matrix::inverse): Reinstate versions without | |
4033 MatrixType argument. | |
4034 * CMatrix.h (ComplexMatrix::inverse): Likewise. | |
4035 | |
6467 | 4036 2007-03-27 John W. Eaton <jwe@octave.org> |
4037 | |
4038 * Makefile.in (DISTDIRS): Delete variable. | |
4039 (dist): Delete action for DISTDIRS. Use ln instead of $(LN_S). | |
4040 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4041 2007-03-26 David Bateman <dbateman@free.fr> |
6460 | 4042 |
4043 * MatrixType.cc: Replace all uses of the method | |
4044 octave_sparse_params::get_key ("bandden") with | |
4045 octave_sparse_params::get_bandden (void). | |
4046 (MatrixType::MatrixType (void)): Undo previous change but use | |
4047 octave_sparse_params::get_bandden (void). | |
4048 * oct-spparms.cc (get_bandden(void), do_get_bandden(void)): New | |
4049 methods. | |
4050 * oct-spparms.h (get_bandden(void), do_get_bandden(void)): | |
4051 Declare them. | |
4052 | |
6458 | 4053 2007-03-26 Luis Ortiz <lortiz@interactivesupercomputing.com> |
4054 David Bateman <dbateman@free.fr> | |
4055 | |
4056 * idx-vector.h.cc (IDX_VEC_REP::idx_vector_rep (const Range&)): | |
4057 Check that all elements are ints before doing anything. Simplify | |
4058 calculation of index values. | |
4059 | |
6457 | 4060 2007-03-26 David Bateman <dbateman@free.fr> |
4061 | |
4062 * Range.cc (Range::all_elements_are_ints): Improve check. | |
4063 | |
6456 | 4064 2007-03-26 John W. Eaton <jwe@octave.org> |
4065 | |
4066 * chNDArray.cc, chMatrix.cc: Also generate comparison and bool ops. | |
4067 * chNDArray.h, chMatrix.h: Provide decls. | |
4068 | |
4069 2007-03-24 Luis Ortiz <lortiz@interactivesupercomputing.com> | |
4070 | |
4071 * MatrixType.cc (MatrixType::MatrixType (void)): Initialize | |
4072 sp_bandden to zero for performance reasons as it's not used. | |
6452 | 4073 |
6435 | 4074 2007-03-23 David Bateman <dbateman@free.fr> |
4075 | |
4076 * oct-rand.cc (octave_rand::seed): Seed differently for big and | |
4077 little endian. | |
4078 | |
6414 | 4079 2007-03-15 John W. Eaton <jwe@octave.org> |
4080 | |
4081 * lo-mappers.cc (acos): Use formula similar to what we use for asin. | |
4082 From Alexander Barth <abarth@marine.usf.edu>. | |
4083 | |
6402 | 4084 2007-03-12 John W. Eaton <jwe@octave.org> |
4085 | |
4086 * oct-inttypes.h (octave_int::octave_int (double)): | |
4087 New Specialization. Round arg. | |
4088 (operator / (const octave_int<T1>&, const octave_int<T2>&)): | |
4089 Round result before converting type. | |
4090 | |
6388 | 4091 2007-03-07 John W. Eaton <jwe@octave.org> |
4092 | |
6392 | 4093 * Array.cc (assign1): Avoid resizing if there is an error. |
4094 | |
6390 | 4095 * dMatrix.cc, CMatrix.cc (operator *): Only check |
4096 f77_exception_encountered immediately after calls that use F77_XFCN. | |
4097 | |
6389 | 4098 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
4099 Only allow resizing empty LHS if it is 0x0. | |
4100 | |
6388 | 4101 * Array.cc (Array<T>::maybe_delete_elements (Array<idx_vector>&, |
4102 const T&)): Handle case of more indices than dimensions. | |
4103 (assign (Array<LT>&, const Array<RT>&, const LT&)): Allow more | |
4104 cases to be handled by assignN. | |
4105 (assignN (Array<LT>&, const Array<RT>&, const LT&)): | |
4106 Special cases for 2-d array assignments for speed. | |
4107 Improve handling of scalar RHS and empty indices. | |
6384 | 4108 |
6383 | 4109 2007-03-05 David Bateman <dbateman@free.fr> |
4110 | |
4111 * oct-md5.c (oct_md5_file (const std::string&)): New function. | |
4112 * oct-md5.h (oct_md5_file (const std::string&)): Declare it. | |
4113 | |
6379 | 4114 2007-03-02 John W. Eaton <jwe@octave.org> |
4115 | |
4116 * str-vec.h (string_vector::empty): Return bool, not int. | |
4117 | |
6375 | 4118 2007-03-01 David Bateman <dbateman@free.fr> |
4119 | |
4120 * md5.h, md5.c: New files from libmd5-rfc sourceforge project for | |
4121 an independent implementation of RFC1321. | |
4122 * oct-md5.h, oct-md5: New files for treating std::string class | |
4123 with MD5. | |
4124 * Makefile.in (INCLUDES): Add md5.h and oct-md5.h | |
4125 (LIBOCTAVE_CXX_SOURCES): Add oct-md5.cc | |
4126 (LIBOCTAVE_C_SOURCES): Add md5.c | |
4127 | |
6366 | 4128 2007-02-27 John W. Eaton <jwe@octave.org> |
4129 | |
4130 * Makefile.in (uninstall): Delete files listed in | |
4131 $(INCLUDES_FOR_INSTALL), instead of $(INCLUDES). | |
4132 From Thomas Treichl <Thomas.Treichl@gmx.net>. | |
4133 | |
6536 | 4134 2007-02-27 Michael Goffioul <michael.goffioul@swing.be> |
6363 | 4135 |
4136 * file-ops.cc (file_ops::recursive_rmdir): | |
4137 Close dir_entry object before calling rmdir. | |
4138 | |
6536 | 4139 2007-02-26 Michael Goffioul <michael.goffioul@swing.be> |
6358 | 4140 |
4141 * Makefile.in: Use $(LN_S) instead of ln or ln -s. | |
4142 | |
6359 | 4143 * sparse-util.h (SparseCholPrint, SparseCholError): |
4144 Tag with OCTAVE_API. | |
4145 | |
6326 | 4146 2007-02-18 David Bateman <dbateman@free.fr> |
4147 | |
4148 * oct-rand.cc (do_old_initialization()): call setcgn(1) prior to | |
4149 calling setall and reset to the current generator after. | |
4150 | |
6323 | 4151 2007-02-16 John W. Eaton <jwe@octave.org> |
4152 | |
4153 * oct-shlib.h (octave_shlib::relative): New data member. | |
4154 (octave_shlib::mark_relative, octave_shlib::is_relative): | |
4155 New functions. | |
4156 | |
6321 | 4157 2007-02-16 Michael Goffioul <michael.goffioul@swing.be> |
4158 | |
4159 * lo-sysdep.cc (octave_popen2): New function to simulate popen2 on | |
4160 windows platform. | |
4161 * lo-sysdep.h (octave_popen2): Declare it. | |
4162 * oct-syscalls.cc (octave_syscalls::popen2): New function. | |
4163 * oct-syscalls.h (octave_syscalls::popen2): Declare it. | |
4164 | |
6306 | 4165 2007-02-14 John W. Eaton <jwe@octave.org> |
4166 | |
4167 * kpse.cc (expand_elt): Omit special treatment for //. | |
4168 | |
6273 | 4169 2007-02-06 John W. Eaton <jwe@octave.org> |
4170 | |
4171 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_REALPATH]: | |
4172 Don't delete value returned from realpath. | |
4173 | |
6271 | 4174 2007-02-05 Thomas Treichl <Thomas.Treichl@gmx.net> |
4175 | |
4176 * file-ops.cc (file_ops::canonicalize_file_name): | |
4177 Provide implementation if realpath function is available. | |
4178 | |
6256 | 4179 2007-01-29 Michael Goffioul <michael.goffioul@swing.be> |
4180 | |
4181 * oct-fftw.h: Sprinkle with OCTAVE_API as needed. | |
4182 | |
6244 | 4183 2007-01-17 Michael Goffioul <michael.goffioul@swing.be> |
4184 | |
4185 * lo-sysdep.cc (octave_chdir): Handle directory names like "C:" on | |
4186 Windows systems. | |
4187 | |
6242 | 4188 2007-01-16 John W. Eaton <jwe@octave.org> |
4189 | |
4190 * dSparse.cc: Fix dgbtrf decl for --enable-64. | |
4191 (SparseMatrix::bsolve): Fix call to dgbtrf for --enable-64 | |
4192 | |
4193 * oct-fftw.h (fftw_planner): Provide decl. | |
4194 | |
6241 | 4195 2007-01-11 Michael Goffioul <michael.goffioul@swing.be> |
4196 | |
4197 * Makefile.in (LINK_DEPS): Include $(CAMD_LIBS) in the list. | |
4198 | |
6236 | 4199 2007-01-10 John W. Eaton <jwe@octave.org> |
4200 | |
4201 * oct-sparse.h: Use HAVE_CHOLMOD_CHOLMOD_H, not | |
4202 HAVE_UMFPACK_CHOLMOD_H for case of "cholmod/cholmod.h". | |
4203 | |
6231 | 4204 2007-01-08 David Bateman <dbateman@free.fr> |
4205 | |
4206 * oct-sparse.h: Replace sparsesuite with suitesparse and | |
4207 SPARSESUITE with SUITESPARSE to match upstream name. | |
4208 | |
6228 | 4209 2007-01-05 David Bateman <dbateman@free.fr> |
4210 | |
4211 * oct-fftw.cc: (octave_fftw_planner::method (void), | |
4212 octave_fftw_planner (FftwMethod)): New methods to interrogate and | |
4213 set the FFTW wisdom method used. | |
4214 (octave_fftw_planner::create_plan) Modify to allow different | |
4215 methods to be used. | |
4216 (octave_fftw_planner): Move class definition from here. | |
4217 * oct-fftw.h (octave_fftw_planner): To here. Add method methods | |
4218 and FftwMethod enum. | |
4219 | |
6221 | 4220 2007-01-03 David Bateman <dbateman@free.fr> |
4221 | |
4222 * MSparse.cc (SPARSE_A2A2_OP, SPARSE_A2A2_FCN_1, | |
4223 SPARSE_A2A2_FCN_1): Modify macros so that scalars stored as | |
4224 sparse matrices are special cased. | |
4225 | |
4226 * Sparse-op-defs.h: Include mx-ops.h to have access to mixed | |
4227 matrix, sparse matrix operations. | |
4228 (SPARSE_SMSM_BIN_OP_1, SPARSE_SMSM_BIN_OP_2, SPARSE_SMSM_BIN_OP_3, | |
4229 SPARSE_SMSM_CMP_OP, SPARSE_SMSM_BOOL_OP, SPARSE_MSM_BIN_OP_1, | |
4230 SPARSE_MSM_BIN_OP_2, SPARSE_MSM_CMP_OP, SPARSE_MSM_BOOL_OP, | |
4231 SPARSE_SMM_BIN_OP_1, SPARSE_SMM_BIN_OP_2, SPARSE_SMM_CMP_OP, | |
4232 SPARSE_SMM_BOOL_OP, SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, | |
4233 FULL_SPARSE_MUL): Modify macros so that scalars stored as | |
4234 sparse matrices are special cased. | |
4235 | |
6217 | 4236 2006-12-22 David Bateman <dbateman@free.fr> |
4237 | |
4238 * boolSparse.cc (SparseBoolMatrix::operator !): Fix off-by-one error. | |
4239 | |
6216 | 4240 2006-12-22 John W. Eaton <jwe@octave.org> |
4241 | |
4242 * dim-vector.h (dim_vector::dim_vector): Always start with at | |
4243 least 2 dimensions. | |
4244 (dim_vector::resize): Don't allow resizing to fewer than 2 dimensions. | |
4245 | |
6208 | 4246 2006-12-06 Michael Goffioul <michael.goffioul@swing.be> |
4247 | |
4248 * lo-sysdep.cc (opendir): Avoid passing \\* to FindFirstFile. | |
4249 | |
4250 * file-ops.cc (ops::canonicalize_file_name): Provide partial | |
6217 | 4251 implementation for Windows. |
6208 | 4252 |
6207 | 4253 2006-12-06 David Bateman <dbateman@free.fr> |
4254 | |
6208 | 4255 * dSparse.cc (SparseMatrix::is_symmetric): Faster implementation. |
4256 * CSparse.cc (SparseComplexMatrix::is_symmetric): Ditto. | |
6207 | 4257 |
4258 * dMatrrix.cc (finverse): Old inverse method renamed inverse. | |
4259 (tinverse): New method for triangular matrices. | |
4260 (inverse): New function with matrix type probing. | |
4261 * dMatrix.h (finverse, tinverse, inverse): New and modified | |
4262 declarations. | |
6208 | 4263 * CMatrix.cc: Ditto. |
4264 * CMatrix.h: Ditto. | |
6207 | 4265 |
6205 | 4266 2006-12-06 John W. Eaton <jwe@octave.org> |
4267 | |
4268 * strptime.c (day_of_the_week): Use code from current glibc sources. | |
4269 | |
6202 | 4270 2006-12-05 John W. Eaton <jwe@octave.org> |
4271 | |
4272 * lo-utils.cc (octave_read_double): If we see '+' or '-' but not | |
4273 followed by 'I' or 'i', try reading number after putting | |
4274 characters back on input stream. | |
4275 | |
6198 | 4276 2006-12-05 Paul Kienzle <pkienzle@users.sf.net> |
4277 | |
4278 * randpoisson.c (oct_fill_randp): For lambda > 1e8, upper limit of | |
4279 loop is n, not L. | |
4280 | |
6194 | 4281 2006-11-30 John W. Eaton <jwe@octave.org> |
4282 | |
4283 * lo-utils.cc (octave_read_double, read_inf_nan_na): | |
4284 Also recognize [+-][Ii]nf. | |
4285 | |
6187 | 4286 2006-11-28 David Bateman <dbateman@free.fr> |
6186 | 4287 |
4288 * oct-sparse.h: Allow sparse headers to also be in a sparsesuite | |
4289 sub-directory. | |
4290 | |
6204 | 4291 * dSparse.cc (SparseMatrix::inverse): Transpose the matrix type as |
4292 well when calling tinverse for lower triangular matrices. | |
4293 * CSparse.cc (SparseComplexMatrix::inverse): | |
4294 Ditto. | |
6185 | 4295 |
6183 | 4296 2006-11-21 John W. Eaton <jwe@octave.org> |
4297 | |
4298 * oct-env.cc (do_absolute_pathname): Undo previous change. | |
4299 | |
6182 | 4300 2006-11-20 John W. Eaton <jwe@octave.org> |
4301 | |
4302 * oct-env.cc (octave_env::do_absolute_pathname): Also return true | |
4303 for ".", and names beginning with "./" or "../". | |
4304 | |
6162 | 4305 2006-11-14 Luis F. Ortiz <lortiz@interactivesupercomputing.com> |
4306 | |
4307 * CMatrix.cc, dMatrix.cc: New tests. | |
4308 | |
6153 | 4309 2006-11-13 Michael Goffioul <michael.goffioul@swing.be> |
4310 | |
4311 * Array-d.cc, dDiagMatrix.h: Sprinkle with OCTAVE_API as needed. | |
4312 | |
6152 | 4313 2006-11-11 John W. Eaton <jwe@octave.org> |
4314 | |
4315 * Makefile.in ($(OPTS_INC), mx-ops.h): | |
4316 Use $(simple-move-if-change-rule) here. | |
4317 | |
6148 | 4318 2006-11-09 David Bateman <dbateman@free.fr> |
4319 | |
4320 * sparse-base-chol.cc (sparse_base_chol_rep::Q): Cast perms(i) to | |
4321 octave_idx_type, not int. | |
4322 | |
6145 | 4323 2006-11-08 John W. Eaton <jwe@octave.org> |
4324 | |
4325 * dir-ops.cc (dir_entry::read): Avoid rewinddir. | |
4326 | |
6141 | 4327 2006-11-06 John W. Eaton <jwe@octave.org> |
4328 | |
4329 * Array.cc (assignN): Exit early if invalid indices are found. | |
4330 | |
6140 | 4331 2006-11-03 Michael Goffioul <michael.goffioul@swing.be> |
4332 | |
4333 * strftime.c [HAVE_TZNAME]: Tag tzname with OCTAVE_IMPORT. | |
4334 | |
6137 | 4335 2006-11-03 John W. Eaton <jwe@octave.org> |
4336 | |
4337 * Makefile.in (DLL_CXXDEFS): Rename from XTRA_CXXDEFS. | |
4338 (DLL_CDEFS): Rename from XTRA_CDEFS. | |
4339 Substitute OCTAVE_DLL_DEFS, not XTRA_OCTAVE_DEFS. | |
4340 | |
6123 | 4341 2006-10-28 Michael Goffioul <michael.goffioul@swing.be> |
4342 | |
4343 * oct-shlib.cc: Undefine min and max after including windows.h. | |
4344 * oct-syscalls.cc (syscalls::pipe (int *)): Avoid infinite recursion. | |
4345 * lo-sysdep.h: Move opendir, readdir, etc. decls here from | |
4346 lo-sysdep.cc. | |
4347 | |
6113 | 4348 2006-10-27 John W. Eaton <jwe@octave.org> |
4349 | |
6119 | 4350 * oct-time.cc [! HAVE_STRFTIME]: Declare strftime. |
4351 | |
4352 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> | |
4353 | |
4354 * mx-op-defs.h (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, | |
4355 NDS_CMP_OPS2): New macros. | |
6113 | 4356 |
6111 | 4357 2006-10-26 John W. Eaton <jwe@octave.org> |
4358 | |
6119 | 4359 * mx-ops (core-type): New field for integer types. |
4360 * mk-ops.awk: Handle core-type for integer comparison ops. | |
4361 | |
6111 | 4362 * lo-cutils.c (octave_strcasecmp, octave-strncasecmp): |
4363 Move here from src/cutils.c. | |
4364 * lo-utils.h: Provide decls. | |
4365 * strcasecmp.c: Move here from src/strcasecmp.c. | |
4366 * strncase.c: Move here from src/strncase.c. | |
4367 * Makefile.in (LIBOCTAVE_C_SOURCES): Add them to the list. | |
4368 | |
6106 | 4369 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
4370 | |
4371 * kpse.cc [! MSVC]: Don't include win32lib.h. | |
4372 | |
6708 | 4373 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-util.h, |
4374 Array.h, CColVector.h, CMatrix.h, CNDArray.h, CRowVector.h, | |
4375 CSparse.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, | |
4376 CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, | |
4377 CollocWt.h, DAE.h, DASPK.h, DASRT.h, DASSL.h, EIG.h, LSODE.h, | |
4378 MArray-C.cc, MArray-defs.h, MSparse-C.cc, MSparse-d.cc, | |
4379 MSparse-defs.h, MatrixType.h, NLEqn.h, Quad.h, Range.h, | |
4380 Sparse-op-defs.h, Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, | |
4381 SparseCmplxQR.h, SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, | |
4382 boolMatrix.h, boolNDArray.h, boolSparse.h, chMatrix.h, | |
4383 chNDArray.h, cmd-edit.h, cmd-hist.h, dColVector.h, dDiagMatrix.h, | |
4384 dMatrix.h, dNDArray.h, dRowVector.h, dSparse.h, data-conv.h, | |
4385 dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, dbleLU.h, | |
4386 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, dir-ops.h, | |
4387 file-ops.h, file-stat.h, glob-match.h, idx-vector.h, | |
4388 int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, | |
4389 lo-cutils.c, lo-ieee.h, lo-mappers.h, lo-specfun.h, lo-utils.h, | |
4390 mach-info.h, mx-op-defs.h, oct-alloc.h, oct-env.h, oct-group.h, | |
4391 oct-inttypes.cc, oct-inttypes.h, oct-passwd.h, oct-rand.h, | |
4392 oct-shlib.h, oct-spparms.h, oct-syscalls.h, oct-time.h, | |
4393 oct-uname.h, pathsearch.h, prog-args.h, so-array.h, str-vec.h, | |
4394 uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc, | |
4395 uint8NDArray.cc: Sprinkle with OCTAVE_API as needed. | |
6108 | 4396 |
6105 | 4397 2006-10-26 John W. Eaton <jwe@octave.org> |
4398 | |
4399 * oct-inttypes.cc (INSTANTIATE_INTTYPE_BIN_OP): Provide explicit | |
4400 type qualification for OP. | |
4401 | |
6101 | 4402 2006-10-26 David Bateman <dbateman@free.fr> |
4403 | |
4404 * Sparse.cc (Sparse<T>::resize_no_fill (octave_idx_type, | |
4405 octave_idx_type)): Be more careful with the size of the input | |
4406 matrix, and therefore don't create or read non existent data. | |
4407 | |
6092 | 4408 2006-10-25 John W. Eaton <jwe@octave.org> |
4409 | |
4410 * Sparse.cc (assign): Clear lhs index after error. | |
4411 | |
6093 | 4412 2006-10-25 David Bateman <dbateman@free.fr> |
6092 | 4413 |
4414 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
4415 Fix previous patch so it works. | |
4416 | |
6087 | 4417 2006-10-25 Michael Goffioul <michael.goffioul@swing.be> |
4418 | |
6095 | 4419 * glob-match.h (glob_match::glob_match (const std::string&, |
4420 unsigned int)): Delete initializer for first arg. | |
4421 | |
6093 | 4422 * lo-sysdep.cc (opendir, readdir, rewinddir, closedir): |
4423 New functions. | |
4424 | |
6087 | 4425 * Makefile.in (XTRA_CDEFS, XTRA_CXXDEFS): Substitute here. |
4426 | |
6096 | 4427 * oct-env.cc (octave_env::do_get_home_directory) [_MSC_VER]: Use |
4428 same code as __MINGW32__. | |
4429 * syswait.h [_MSC_VER]: Define HAVE_WAITPID, WAITPID, and WNOHANG | |
4430 the same as for __MINGW32__. | |
4431 | |
4432 * randpoisson.c: Undefine INFINITE before redefining. | |
4433 | |
6079 | 4434 2006-10-24 David Bateman <dbateman@free.fr> |
4435 | |
4436 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Resize the | |
4437 lhs at the point we know the assignment can succeed if the lhs is | |
4438 empty. | |
4439 | |
6072 | 4440 2006-10-23 John W. Eaton <jwe@octave.org> |
4441 | |
4442 * Array.cc (assign2): Don't require vector assignments to be oriented. | |
4443 | |
6061 | 4444 2006-10-17 John W. Eaton <jwe@octave.org> |
4445 | |
4446 * lo-cieee.c: If isnan is not available but _isnan is, then define | |
4447 isnan to be _isnan, and define HAVE_ISNAN. Likewise for _finite | |
4448 and _copysign. | |
4449 | |
6059 | 4450 2006-10-17 Michael Goffioul <michael.goffioul@swing.be> |
6051 | 4451 |
6061 | 4452 * oct-syscalls.cc (syscalls::waitpid): Always declare and define retval. |
4453 | |
6708 | 4454 * CMatrix.cc (ComplexMatrix::solve): Avoid infinite recursion. |
4455 * CSparse.cc (SparseComplexMatrix::insert): Likewise. | |
6061 | 4456 |
6058 | 4457 * oct-types.h.in: Include limits.h, for CHAR_BIT. |
4458 | |
6059 | 4459 2006-10-13 Michael Goffioul <michael.goffioul@swing.be> |
4460 | |
6051 | 4461 * Makefile.in: Adapt rules to use $(LIBPRE). |
4462 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4463 2006-10-03 David Bateman <dbateman@free.fr> |
6027 | 4464 |
4465 * MatrixType.cc (MatrixType::MatrixType): Avoid crash if np == 0 | |
4466 or p == 0. | |
4467 | |
6018 | 4468 2006-10-02 John W. Eaton <jwe@octave.org> |
4469 | |
4470 * dbleDET.cc (DET::initialize2): Ensure arg to log10 is double. | |
4471 * CmplxDET.cc (ComplexDET::initialize2): Likewise. | |
4472 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4473 2006-09-22 David Bateman <dbateman@free.fr> |
5996 | 4474 |
4475 * MatrixType.h (MatrixType::MatrixType(const SparseComplexMatrix&)): | |
5997 | 4476 Remove spurious warning. |
5996 | 4477 |
5992 | 4478 2006-09-15 John W. Eaton <jwe@octave.org> |
4479 | |
4480 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&) const): | |
4481 Handle resizing. | |
4482 | |
4483 * intNDArray.h (intNDArray<T>:elt_type): New typedef. | |
4484 | |
5983 | 4485 2006-09-11 John W. Eaton <jwe@octave.org> |
4486 | |
4487 * dMatrix.cc (operator * (const Matrix&, const Matrix&))): | |
4488 Handle M*v and rv*cv special cases. | |
4489 * CMatrix.cc (operator * (const ComplexMatrix&, const | |
4490 ComplexMatrix&))): Likewise. | |
4491 From Luis F. Ortiz <lortiz@interactivesupercomputing.com>. | |
4492 | |
4493 * dRowVector.cc (operator * (const RowVector&, const | |
4494 ColumnVector&)): Call xddot here instead of using a Fortran | |
4495 function directly. | |
4496 * CRowVector.cc (operator * (const ComplexRowVector&, const | |
4497 ComplexColumnVector&)): Call xzdotu here. | |
4498 | |
4499 2006-09-05 John W. Eaton <jwe@octave.org> | |
4500 | |
4501 * chNDArray.cc (charNDArray::any, charNDArray::all): Compare | |
4502 elements to '\0', not ' '. | |
4503 | |
5972 | 4504 2006-08-25 John W. Eaton <jwe@octave.org> |
4505 | |
4506 * mx-inlines.cc (MX_ND_REDUCTION): Special case for 0x0 arrays. | |
4507 | |
5958 | 4508 2006-08-23 John W. Eaton <jwe@octave.org> |
4509 | |
4510 * dMatrix.cc, dMatrix.h (Matrix::save_ascii): Delete function and decl. | |
4511 * CMatrix.cc, CMatrix.h (ComplexMatrix::save_ascii): Likewise. | |
4512 | |
5955 | 4513 2006-08-22 John W. Eaton <jwe@octave.org> |
4514 | |
5956 | 4515 * CMatrix.cc (ComplexMatrix::save_ascii): New function. |
4516 * dMatrix.cc (Matrix::save_ascii): New function. | |
4517 | |
5955 | 4518 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Correctly detect empty arrays. |
4519 If array is empty, return value is same size as array. | |
4520 (MX_ND_REDUCTION): Correctly detect empty arrays. | |
4521 If array is empty, produce correctly sized return value. | |
4522 | |
5940 | 4523 2006-08-18 John W. Eaton <jwe@octave.org> |
4524 | |
5943 | 4525 * dMatrix.cc (Matrix::any_element_not_one_or_zero): New function. |
4526 * dMatrix.h: Provide decl. | |
4527 * dNDArray.cc (NDArray::any_element_not_one_or_zero): New function. | |
4528 * dNDArray.h: Provide decl. | |
4529 * intNDArray.cc (intNDArray<T>::any_element_not_one_or_zero): | |
4530 New function. | |
4531 * intNDArray.h: Provide decl. | |
4532 | |
5940 | 4533 * Array.cc (Array<T>::permute): Only rearrange values if array is |
4534 not empty. | |
4535 | |
5904 | 4536 2006-07-26 John W. Eaton <jwe@octave.org> |
4537 | |
4538 * dbleDET.cc (DET::initialize10, DET::value_will_underflow, | |
4539 DET::value_will_overflow): Use xlog2 instead of log2. | |
4540 (DET::initialize2, DET::initialize10): Use xround instead of round. | |
4541 (DET::initialize2, DET::value): Use xexp2 instead of exp2. | |
4542 * CmplxDET.cc (ComplexDET::initialize10, | |
4543 ComplexDET::value_will_underflow, | |
4544 ComplexDET::value_will_overflow): Use xlog2 instead of log2. | |
4545 (ComplexDET::initialize2, ComplexDET::initialize10): | |
4546 Use xround instead of round. | |
4547 (ComplexDET::initialize2, ComplexDET::value): | |
4548 Use xexp2 instead of exp2. | |
4549 | |
4550 * lo-mappers.cc (M_LOG10E): Delete unused macro. | |
4551 (xlog2, xexp2): New functions. | |
4552 * lo-mappers.h: Provide decls. | |
4553 | |
5900 | 4554 2006-07-22 John W. Eaton <jwe@octave.org> |
4555 | |
4556 * Sparse.h (Sparse<T>::mex_get_data, Sparse<T>::mex_get_ir, | |
4557 Sparse<T>::mex_get_jc): New functions. | |
4558 | |
4559 2006-07-21 John W. Eaton <jwe@octave.org> | |
4560 | |
4561 * oct-inttypes.h (octave_int<T>::mex_get_data): New function. | |
4562 * Array.h (Array<T>::mex_get_data): New function. | |
4563 | |
5898 | 4564 2006-07-19 John W. Eaton <jwe@octave.org> |
4565 | |
4566 * oct-inttypes.h (octave_int::operator bool (void)): New function. | |
4567 | |
5893 | 4568 2006-07-16 John W. Eaton <jwe@octave.org> |
4569 | |
4570 * oct-spparms.h, oct-spparms.cc (class octave_sparse_params): | |
4571 Rename from SparseParams. Use same implementation method as other | |
4572 singleton classes in Octave. Change all uses of | |
4573 Voctave_sparse_controls to use static functions from | |
4574 octave_sparse_params class instead. | |
4575 | |
4576 * oct-spparms.h, oct-spparms.cc (SparseParams::set_key, | |
4577 SparseParams::get_key): Pass std::string arg by const reference, | |
4578 not const value. | |
4579 | |
5892 | 4580 2006-07-15 John W. Eaton <jwe@octave.org> |
4581 | |
4582 * data-conv.cc: Instantiante swap_bytes templates here. | |
4583 | |
4584 * MatrixType.cc (MatrixType::MatrixType): | |
4585 Use complete initializer lists in constructors. | |
4586 | |
5880 | 4587 2006-07-06 John W. Eaton <jwe@octave.org> |
4588 | |
4589 * str-vec.cc (string_vector::string_vector (std::list<std::string>&)): | |
4590 New constructor. | |
4591 * str-vec.h: Provide decl. | |
4592 | |
5876 | 4593 2006-07-01 David Bateman <dbateman@free.fr> |
4594 | |
4595 * dSparse.cc (tinverse): Check for rows with no elements and zero | |
4596 elements on the diagonal. Allow both Upper and Lower triangular | |
4597 matrices to be treated. | |
4598 * CSparse.cc (tinverse): ditto. | |
4599 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Take into account 64-bit | |
4600 constant assignment. | |
4601 | |
5870 | 4602 2006-06-30 John W. Eaton <jwe@octave.org> |
4603 | |
5872 | 4604 * lo-sysdep.cc (octave_chdir): Perform tilde expansion here. |
4605 * cmd-edit.cc (editor::read_init_file): Ditto. | |
4606 * dir-ops.cc (dir_entry::open): Ditto. | |
5871 | 4607 * file-stat.cc (stat::update_internal): Ditto. |
5872 | 4608 * cmd-hist.cc (command_history::set_file): Ditto. |
5871 | 4609 |
5870 | 4610 * data-conv.cc (data_conv::string_to_data_type): |
4611 Correctly handle leading "*". | |
4612 | |
5869 | 4613 2006-06-29 Atsushi Kajita <a-kajita@mizar.freemail.ne.jp> |
4614 | |
4615 * Sparse.cc (Sparse<T>::SparseRep::elem): Avoid out of bounds | |
4616 array access. | |
4617 | |
5866 | 4618 2006-06-27 John W. Eaton <jwe@octave.org> |
4619 | |
4620 * Makefile.in: Finish renaming of OBJECTS -> LIBOCTAVE_OBJECTS. | |
4621 | |
5864 | 4622 2006-06-21 John W. Eaton <jwe@octave.org> |
4623 | |
4624 * oct-shlib.cc (octave_dlopen_shlib::close, | |
4625 octave_shl_load_shlib::close, octave_w32_shlib::close): | |
4626 Skip do_close_hook if cl_hook is 0. | |
4627 | |
5863 | 4628 2006-06-16 John W. Eaton <jwe@octave.org> |
4629 | |
4630 * oct-sort.h: Don't include config.h, lo-mappers.h, or quit.h. | |
4631 * randmtzig.h: Don't inlcude config.h. | |
4632 | |
5837 | 4633 2006-05-31 David Bateman <dbateman@free.fr> |
4634 | |
4635 * Array.cc (assignN): Maybe reshape LHS before doing assignment. | |
4636 | |
5828 | 4637 2006-05-23 John W. Eaton <jwe@octave.org> |
4638 | |
4639 * oct-types.h.in: Include stdint.h or inttypes.h for integer | |
4640 typedefs, or define them if those files are not available. | |
4641 * oct-inttypes.h (octave_int8_t, octave_int16_t, octave_int32_t, | |
4642 octave_int64_t, octave_uint8_t, octave_uint16_t, octave_uint32_t, | |
4643 octave_uint64_t): Delete typedefs. Replace all uses of these | |
4644 types with int8_t, int16_t, etc. | |
4645 * data-conv.h (TWO_BYTE_INT, FOUR_BYTE_INT, EIGHT_BYTE_INT): | |
4646 Delete definitions. Replace all uses of these macros with int8_t, | |
4647 int16_t, etc. | |
4648 * randmtzig.h: Delete integer typedefs. | |
4649 | |
5822 | 4650 2006-05-18 John W. Eaton <jwe@octave.org> |
4651 | |
4652 * EIG.cc (EIG::init): Trap Inf and NaN values here. | |
4653 From Keith Goodman <kwgoodman@gmail.com>. | |
4654 | |
5813 | 4655 2006-05-08 David Bateman <dbateman@free.fr> |
4656 | |
4657 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): fix bug in previous | |
4658 modification. | |
4659 | |
5797 | 4660 2006-05-09 David Bateman <dbateman@free.fr> |
4661 | |
4662 * sparse-dmsolve.cc: Remove reference to ov-re-sparse.h, | |
4663 ov-cx-sparse. and error_state. | |
4664 * SparseQR.cc, SparseCmplxQR.cc (qrsolve): Return info = -1 on error. | |
4665 | |
5795 | 4666 2006-05-08 David Bateman <dbateman@free.fr> |
4667 | |
4668 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Set column pointers in | |
4669 first pass and use to determine which algorithm to use on a | |
4670 column-by-column basis. | |
4671 | |
5792 | 4672 2006-05-04 David Bateman <dbateman@free.fr> |
4673 | |
4674 * SparseQR.cc, SparseQR.h, SparseCmplxQR.cc, SparseCmplxQR.h, | |
4675 sparse-dmsolve.cc : Allow compilation with versions v2.0.0 of | |
4676 CXSparse or later | |
4677 | |
5785 | 4678 2006-05-03 David Bateman <dbateman@free.fr> |
4679 | |
4680 * CMatrix.cc (zpotrf, zpocon, zpotrs, ztrcon, ztrtrs): | |
4681 External declaration of lapack triangular and Cholesky codes. | |
4682 (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, | |
4683 ComplexMatrix::fsolve): New private solver codes for | |
4684 upper, lower and LU/Cholesky solvers. | |
4685 (ComplexMatrix::solve): New versions for cached matrix | |
4686 type. Adapt old versions to call new versions | |
4687 * CMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
4688 new solvers. | |
4689 (solve): New versions for cached matrix type. | |
4690 * dMatrix.cc (dpotrf, dpocon, dpotrs, dtrcon, dtrtrs): | |
4691 External declaration of lapack triangular and Cholesky codes. | |
4692 (Matrix::utsolve, Matrix::ltsolve, | |
4693 Matrix::fsolve): New private solver codes for | |
4694 upper, lower and LU/Cholesky solvers. | |
4695 (Matrix::solve): New versions for cached matrix | |
4696 type. Adapt old versions to call new versions | |
4697 * dMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
4698 new solvers. | |
4699 (solve): New versions for cached matrix type. | |
4700 * CSparse.cc: Replace all uses of SparseType with MatrixType. | |
4701 * CSparse.h: ditto. | |
4702 * dSparse.cc: ditto. | |
4703 * dSparse.h: ditto. | |
4704 * SparseCmplxCHOL.cc: ditto. | |
4705 * SparsedbleCHOL.cc: ditto. | |
4706 * sparse-dmsolve.cc: ditto. | |
4707 * SparseType.cc, SparseType.h: delete. | |
4708 * MatrixType.cc: New file for class to cache matrix type, based on | |
4709 old SparseType class but caching matrix and sparse types. | |
4710 * MatrixType.h: ditto. | |
4711 * Makefile.in (MATRIX_INC, MATRIX_SRC): Add MatrixType.h and | |
4712 MatrixType.cc respectively. Delete SparseType.h and SparseType.cc | |
4713 respectively. | |
4714 * mx-base.h: Include MatrixTye.h as header file. | |
4715 | |
5781 | 4716 2006-05-01 John W. Eaton <jwe@octave.org> |
4717 | |
4718 * oct-shlib.h (octave_shlib::octave_shlib, octave_shlib::open): | |
4719 Delete WARN_FUTURE arg. Change all uses. | |
4720 * oct-shlib.cc (octave_base_shlib::stamp_time): Delete arg. | |
4721 Change all uses. Use current_liboctave_warning_with_id_handler. | |
4722 (octave_base_shlib::open): Delete arg. Change all derived classes | |
4723 and uses. | |
4724 | |
4725 2006-04-29 John W. Eaton <jwe@octave.org> | |
4726 | |
4727 * Array-flags.cc, Array-flags.h: Delete. | |
4728 * Makefile.in (MATRIX_SRC): Remove Array-flags.cc from the list. | |
4729 (MATRIX_INC): Remove Array-flags.h from the list. | |
4730 | |
4731 * idx-vector.cc (IDX_VEC_REP::freeze): Delete warn_resize arg. | |
4732 Use current_liboctave_warning_with_id_handler | |
4733 with warning ID Octave:resize-on-range-error. | |
4734 * idx-vector.h: Fix decl. | |
4735 * Array.cc, Sparse.cc: Change all callers. | |
4736 | |
4737 * Array.cc (Array<T>::maybe_delete_elements, Array<T>::index2, | |
4738 assign2, assignN): Use current_liboctave_warning_with_id_handler | |
4739 with warning ID Octave:fortran-indexing instead of | |
4740 liboctave_wfi_flag. | |
4741 * Sparse.cc (assign, Sparse<T>::index): Likewise. | |
4742 | |
5777 | 4743 2006-04-26 John W. Eaton <jwe@octave.org> |
4744 | |
4745 * pathsearch.cc (dir_path::path_sep_char, dir_path::path_sep_str): | |
4746 New static data. | |
4747 * pathsearch.h: Provide decls. | |
4748 (dir_path::is_path_sep): New function. | |
4749 | |
5766 | 4750 2006-04-18 John W. Eaton <jwe@octave.org> |
4751 | |
4752 * randmtzig.c (randmt, randi53, randi54, randi64, randu32, randu53): | |
4753 Omit inline from decl. | |
4754 | |
4755 * Sparse.cc (Sparse<T>::index): Use std::vector<bool> to avoid | |
4756 local array with variable dimension. | |
4757 | |
5764 | 4758 2006-04-16 John W. Eaton <jwe@octave.org> |
4759 | |
5765 | 4760 * lo-sstream.h: Delete. |
4761 * Makefile.in (INCLUDES): Remove it from the list. | |
4762 | |
4763 * dim-vector.h (dim_vector::str): Use std::ostringstream directly. | |
4764 * Sparse.cc (Sparse::range_error): Likewise. | |
4765 * DASSL.cc (DASSL::error_message): Likewise. | |
4766 * LSODE.cc (LSODE::error_message): Likewise. | |
4767 * DASRT.cc (DASRT::error_message): Likewise. | |
4768 * DASPK.cc (DASPK::error_message): Likewise. | |
4769 * Array.cc (Array::range_error): Likewise. | |
4770 | |
5764 | 4771 * kpse.cc (kpse_hash): Rename from hash. |
4772 (hash_lookup): Call kpse_hash instead of hash. | |
4773 | |
4774 * SparseType.cc (SparseType::SparseType): Use std::vector<bool> | |
4775 to avoid local array with variable dimension. | |
4776 | |
5760 | 4777 2006-04-13 David Bateman <dbateman@free.fr> |
4778 | |
4779 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
4780 Optimize assignment. | |
4781 | |
4782 2006-04-13 John W. Eaton <jwe@octave.org> | |
4783 | |
4784 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
4785 Eliminate unnecessary casts. | |
4786 * SparsedbleLU.cc (SparseLU::SparseLU): Likewise. | |
4787 | |
4788 * kpse.cc (fopen): Use reinterpret_cast instead of C-style cast. | |
4789 (log_search, dir_links): Use static_cast instead of C-style cast. | |
4790 | |
4791 * prog-args.cc (args::getopt): Use reinterpret_cast instead of X_CAST. | |
4792 * oct-alloc.cc (allocator::grow): Likewise. | |
4793 * CSparse.cc (SparseComplexMatrix::determinant, | |
4794 SparseComplexMatrix::factorize, SparseComplexMatrix::fsolve): | |
4795 Likewise. | |
4796 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU): Likewise. | |
4797 | |
4798 * oct-sort.cc (roundupsize, octave_sort<T>::merge_getmem): | |
4799 Use static_cast instead of C-style cast. | |
4800 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
4801 * dSparse.cc (SparseMatrix::fsolve): Likewise. | |
4802 | |
4803 * data-conv.cc (LS_DO_WRITE): Use static_cast for value conversion. | |
4804 Use OCTAVE_LOCAL_BUFFER instead of new/delete. | |
4805 (LS_DO_READ): Allocate local buffer to avoid pointer tricks. | |
4806 (write_doubles, read_doubles, LS_DO_WRITE, LS_DO_READ): | |
4807 Use reinterpret_cast instead of X_CAST. | |
4808 | |
4809 * DiagArray2.h (DiagArray2::Proxy::operator&): No need to cast | |
4810 return value here. | |
4811 | |
5752 | 4812 2006-04-12 Rafael Laboissiere <rafael@debian.org> |
4813 | |
4814 * ArrayN.h (ArrayN::ArrayN): Qualify fill with Array<T> base class. | |
4815 * DiagArray2.h (DiagArray2::DiagArray2): Likewise. | |
4816 | |
5730 | 4817 2006-04-03 David Bateman <dbateman@free.fr> |
4818 | |
5731 | 4819 * Sparse.cc (Sparse<T>::resize): Use xcidx rather than cdix, etc |
4820 to avoid copy of original matrix. | |
4821 | |
5730 | 4822 * Makefile.in (INCLUDES): Add randgamma.h, randpoisson.h and |
4823 randmtzig.h to the list. | |
4824 (LIBOCTAVE_C_SOURCES): Add randgamma.c, randpoisson.c and | |
4825 randmtzig.c to the list. | |
4826 * oct-rand.cc (do_old_initialization): Rename from do_initialization. | |
4827 (use_old_generators): New variable. | |
4828 (old_initialized): Rename from initialized. | |
4829 (new_initialized): New variable. | |
4830 (oct_init_by_entropy): New function. | |
4831 (maybe_initialize): Initialize new or old generator depending on | |
4832 value of use_old_generators. | |
4833 (octave_rand::state): New functions. | |
4834 (octave_rand::distribution): Add gamma, exponential and poisson | |
4835 distributions. | |
4836 (octave_rand::exponential_distribution, | |
4837 octave_rand::poisson_distribution, | |
4838 octave_rand::gamma_distribution): New methods to select | |
4839 exponential, poisson or gamma distribution. | |
4840 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
4841 octave_rand::vector): Add new distributions. | |
4842 * oct-rand.h: Provide decls for new functions. | |
4843 (octave_rand::matrix, octave_rand::scalar, octave_rand:: | |
4844 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
4845 octave_rand::vector): New arg A, for gamma and poisson distributions. | |
4846 * randpoisson.c, randpoisson.h, randgamma.c, randmtzig.c, | |
4847 randmtzig.h: New files. | |
4848 | |
5717 | 4849 2006-03-24 John W. Eaton <jwe@octave.org> |
4850 | |
4851 * dSparse.cc (SparseMatrix::bsolve): Integer work vector is | |
4852 Array<octave_idx_type>, so fortran_vec returns pointer to | |
4853 octave_idx_type, not pointer to int. | |
4854 | |
4855 * CMatrix.cc, CMatrix.h (ComplexMatrix::row (char*), | |
4856 ComplexMatrix::column (char*)): Delete. | |
4857 * dMatrix.cc, dMatrix.h (Matrix::row (char*), | |
4858 Matrix::column (char*)): Delete. | |
4859 | |
5713 | 4860 2006-03-21 David Bateman <dbateman@free.fr> |
4861 | |
4862 * SparseQR.h: Publish externally used friends. | |
4863 * SparseCmplxQR.h: ditto. | |
4864 | |
5700 | 4865 2006-03-21 John W. Eaton <jwe@octave.org> |
4866 | |
4867 * lo-specfun.cc (betainc): Use F77_XFCN instead of F77_FUNC for | |
4868 call to xdbetai. | |
4869 | |
5697 | 4870 2006-03-21 David Bateman <dbateman@free.fr> |
4871 | |
5701 | 4872 * lo-specfun.cc (xlgamma, xgamma): Trap special values. |
4873 (xlgamma): Use F77_XFCN instead of F77_FUNC for call to dlgams. | |
5700 | 4874 |
4875 * dSparse.cc (solve): Add argument singular_fallback, to allow | |
4876 fallback to QR solvers to be optional. | |
4877 * CSparse.cc (solve): Ditto. | |
4878 * dSparse.h (solve): update declaration for new argument. | |
4879 * CSparse.h (solve): Ditto. | |
4880 * sparse-dmsolve.cc (dmsolve): Use singular_fallback argument | |
4881 to bypass QR solvers when solving the well determined part of | |
4882 the problem. | |
5697 | 4883 |
5690 | 4884 2006-03-17 John W. Eaton <jwe@octave.org> |
4885 | |
4886 * str-vec.cc (vector::list_in_columns): New optional arg, width. | |
4887 | |
5681 | 4888 2006-03-16 David Bateman <dbateman@free.fr> |
4889 | |
4890 * CSparse.cc: Change use of nzmax to nnz to allow automatic | |
4891 reduction of matrix size, except for a couple of cases where nzmax | |
4892 is needed. | |
4893 (zpbcon): Correct declaration of lapack zpbcon function. | |
4894 (dsolve, utsolve, ltsolve, trisolve, bsolve, factorize, fsolve): Add | |
4895 an argument to allow the calculation of condition number to be | |
4896 optional. | |
4897 (bsolve): Add code for the calculation of the condition number | |
4898 using zpbcon and zgbcon. | |
4899 (dsolve): Bug fix for rectangular matrices with sparse RHS. | |
4900 (utsolve, ltsolve, trisolve, bsolve, fsolve): Mark matrix type as | |
4901 singular if singularity is detected. | |
4902 (solve): Use optional argument to disable calculation of | |
4903 condition number for all but fsolve, for speed. Add code to | |
4904 allow rectnagular matrices or matrices identified as singular | |
4905 to be treated. | |
4906 (lssolve): delete. | |
4907 (operator *): Don't recast real matrices as complex, but | |
4908 rather use the macro directly on the real data. | |
4909 * dSparse.cc: ditto. | |
4910 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, | |
4911 fsolve, factorize): Update declaration for new argument to | |
4912 calculate the condition number. | |
4913 (lssolve): delete. | |
4914 * dSparse.h: ditto. | |
4915 * Msparse.h: Change use of nxmax to nnz to allow automatic | |
4916 reduction of matrix size, except for a couple of cases where | |
4917 nzmax is needed. | |
4918 * Sparse.cc: Change use of nxmax to nnz to allow automatic | |
4919 reduction of matrix size, except for a couple of cases where | |
4920 nzmax is needed. | |
4921 (Sparse<T>::index (idx_vector&, idx_vector&, int) const): | |
4922 Special case strict permutations for speed. | |
4923 * Sparse-op-defs.h: Change use of nxmax to nnz to allow automatic | |
4924 reduction of matrix size, except for a couple of cases where | |
4925 nzmax is needed. | |
4926 (SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, FULL_SPARSE_MUL): Update | |
4927 macros to allow mixed complex/real arguments. | |
4928 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): New macro for C99 zero | |
4929 value. | |
4930 (qrsolve): Use it to zero temporary buffers used bt CXSPARSE. | |
4931 * SparseType.cc (SparseType::SparseType ()): Correct detection | |
4932 of permutated triangular matrices to avoid seg-faults. Disable | |
4933 detection of underdetermined lower and over-determined upper | |
4934 matrix due to problems with non minimum norm solutions. | |
4935 * sparse-dmsolve.cc: New file for Dulmage-Mendelsohn solver. | |
4936 * Makefile.in: add sparse-dmsolve.cc to targets. | |
4937 | |
5675 | 4938 2006-03-15 William Poetra Yoga Hadisoeseno <williampoetra@gmail.com> |
4939 | |
4940 * oct-time.cc (octave_strptime::init): Return useful character count. | |
4941 | |
5648 | 4942 2006-03-08 David Bateman <dbateman@free.fr> |
4943 | |
4944 * SparseCmplxQR.cc: Updates for new upstream CXSPARSE release. Fix for | |
4945 g++ 4.x stl_vector.h issue with C99 double _Complex type. | |
4946 * SparseCmplxQR.h: Updates for new upstream CXSPARSE release. | |
4947 * SparseQR.cc: ditto. | |
4948 * SparseQR.h: ditto. | |
4949 * oct-sparse.h: ditto. | |
4950 * sparse-base-chol.cc (sparse_base_chol<>::sparse_base_chol_rep::init): | |
4951 Declare info variable as volatile. | |
4952 | |
4953 * Sparse.cc (Sparse<T>::transpose (void) const): Accelerate algorithm. | |
4954 * CSparse.cc (SparseComplexMatrix::transpose (void) const): ditto. | |
4955 | |
5634 | 4956 2006-03-01 John W. Eaton <jwe@octave.org> |
4957 | |
4958 * CMatrix.cc (ComplexMatrix::determinant): | |
4959 Scale result by factors of 2, not 10. | |
4960 * dMatrix.cc (Matrix::determinant): Likewise. | |
4961 | |
4962 * dbleDET.h (DET::DET): Use initializer list. | |
4963 (DET::coefficient2, DET::coefficient10, DET::exponent2, | |
4964 DET::exponent10): New functions. | |
4965 (DET::det): Delete. | |
4966 (DET::c2, DET::c10, DET::e2, DET::e10, DET::base2): New data members. | |
4967 Store value internally with double and int instead of 2-element | |
4968 double vector. | |
4969 (DET::initialize2, DET::initialize10): Provide decls. | |
4970 * dbleDET.cc (DET::value_will_overflow, DET::value_will_underflow): | |
4971 Return bool value, not int. | |
4972 (DET::initialize2, DET::initialize10): New functions. | |
4973 | |
4974 * CmplxDET.h (ComplexDET::ComplexDET): Use initializer list. | |
4975 (ComplexDET::coefficient2, ComplexDET::coefficient10, | |
4976 ComplexDET::exponent2, ComplexDET::exponent10): New functions. | |
4977 (ComplexDET::det): Delete. | |
4978 (ComplexDET::c2, ComplexDET::c10, ComplexDET::e2, ComplexDET::e10, | |
4979 ComplexDET::base2): New data members. | |
4980 Store value internally with Complex and int instead of 2-element | |
4981 Complex vector. | |
4982 (ComplexDET::initialize2, ComplexDET::initialize10): Provide decls. | |
4983 * dbleComplexDET.cc (ComplexDET::value_will_overflow, | |
4984 ComplexDET::value_will_underflow): Return bool value, not int. | |
4985 (ComplexDET::initialize2, ComplexDET::initialize10): New functions. | |
4986 | |
5632 | 4987 2006-02-24 John W. Eaton <jwe@octave.org> |
4988 | |
4989 * Array.cc (assignN): Clear index before reshaping. | |
4990 | |
4991 * Array.h (Array<T>::operator =): Don't set idx to 0 if copying self. | |
4992 | |
5630 | 4993 2006-02-20 David Bateman <dbateman@free.fr> |
4994 | |
4995 * dSparse.cc (dsolve, utsolve, ltsolve): Remove restriction that | |
4996 matrix must be square in diagonal, permuted diagonal, triangular | |
4997 and permuted triangular back/forward substitution code. Change | |
4998 ambiguous use of no. rows and columns. | |
4999 * CSParse.cc (dsolve, utsolve, ltsolve): ditto. | |
5000 * SparseType.cc (SparseType::SparseType(const SparseMatrix&), | |
5001 SparseType::SparseType(const SparseComplexMatrix&)): Recognize | |
5002 rectangular diagonal, permuted diagonal, triangular and permuted | |
5003 triangular matrices. | |
5004 * Sparse.cc (Sparse<T>::Sparse (octave_idx_type, octave_idx_type, T)): | |
5005 Treat case where third argument is zero. | |
5006 | |
5621 | 5007 2006-02-15 John W. Eaton <jwe@octave.org> |
5008 | |
5622 | 5009 * kpse.cc: Do define ST_NLINK_TRICK for Cygwin systems. |
5010 (do_subdir) [ST_NLINK_TRICK]: Check links != 2 instead of links > 2. | |
5011 | |
5621 | 5012 * getopt.c: Use __CYGWIN__ instead of __CYGWIN32__. |
5013 | |
5619 | 5014 2006-02-13 David Bateman <dbateman@free.fr> |
5015 | |
5016 * Makefile.in (LINK_DEPS): Add missing dependencies on colamd, | |
5017 ccolamd and cxsparse | |
5018 | |
5617 | 5019 2006-02-13 John W. Eaton <jwe@octave.org> |
5020 | |
5618 | 5021 * kpse.cc (kpse_path_iterator::next): Reverse order of tests in |
5022 while loop condition. | |
5023 (kpse_path_iterator::operator =): Declare as private function but | |
5024 don't define to prevent attempts to use assignment operator. | |
5025 Don't define ST_NLINK_TRICK for Cygwin systems. | |
5617 | 5026 |
5615 | 5027 2006-02-10 John W. Eaton <jwe@octave.org> |
5028 | |
5029 * mx-inlines.cc (MX_ND_REDUCTION): Store in cummulative | |
5030 product of all dimensions in CP_SZ. | |
5031 | |
5611 | 5032 2006-02-09 John W. Eaton <jwe@octave.org> |
5033 | |
5034 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Store in cummulative | |
5615 | 5035 product of all dimensions in CP_SZ. |
5611 | 5036 |
5610 | 5037 2006-02-09 David Bateman <dbateman@free.fr> |
5038 | |
5039 * SparseQR.cc: new file for real sparse QR class. | |
5040 * SparseQR.h: declaration. | |
5041 * SparseCmplxQR.cc: new file for complex sparse QR class. | |
5042 * SparseCmplxQR.h: declaration. | |
5043 * dSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
5044 (factorize, fsolve): Enable code code lssolve. | |
5045 (lssolve): disable unused args, write based in above sparse QR class. | |
5046 * CSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
5047 (factorize, fsolve): Enable code code lssolve. | |
5048 (lssolve): disable unused args, write based in above sparse QR class. | |
5049 * oct-sparse.h: fix location of colamd, ccolamd and metis headers. | |
5050 Include CXSparse headers. | |
5051 * Makefile.in (MATRIX_INC): Include SparseQR.h and SparseCmplxQR.h. | |
5052 (MATRIX_SRC): Include SparseQR.cc and SparseCmplxQR.cc. | |
5053 | |
5607 | 5054 2006-02-08 John W. Eaton <jwe@octave.org> |
5055 | |
5056 * Array-util.h (calc_permutated_idx): Delete. | |
5057 * Array.cc (permute_vector): New data structure. | |
5058 (permute_vector_compare): New function. | |
5059 (Array<T>::permute): Rewrite to avoid calc_permutated_index for | |
5060 improved performance. | |
5061 | |
5606 | 5062 2006-02-04 David Bateman <dbateman@free.fr> |
5063 | |
5064 * COLAMD: Remove all files, as now unused. | |
5065 | |
5604 | 5066 2006-01-31 John W. Eaton <jwe@octave.org> |
5067 | |
5068 * Sparse.h (Sparse<T>::nzmax): New function. | |
5069 (Sparse<T>::nnz): Rename from nonzero. | |
5070 Change all uses of old nnz function to be nzmax. Change all uses | |
5071 of nonzero to be nnz. | |
5072 (Sparse<T>::nzmx): Rename from nnz (data member). Change all uses. | |
5073 | |
5603 | 5074 2006-01-21 David Bateman <dbateman@free.fr> |
5075 | |
5076 * sparse-sort.cc (bool octave_sparse_sidxl_comp): 64-bit fix. | |
5077 (bool octave_idx_vector_comp): New function. | |
5078 (template class octave_sort<octave_idx_vector_sort *>): Instantiate | |
5079 indexed idx_vector sorting function. | |
5080 * sparse-sort.h (class octave_sparse_sort_idxl): 64-bit fix. | |
5081 (class octave_idx_vector_sort): New class for indexed idx_vector | |
5082 sorting. | |
5083 (bool octave_idx_vector_comp): Declaration. | |
5084 * Sparse.cc (int assign1(Sparse<LT>&, Sparse<RT>&)): Treat cases of | |
5085 unordered LHS indexes in assignment using new octave_idx_vector_sort | |
5086 class. | |
5087 (int assign(Sparse<LT>&, Sparse<RT>&)): ditto. | |
5088 | |
5602 | 5089 2006-01-30 John W. Eaton <jwe@octave.org> |
5090 | |
5091 * so-array.h (streamoff_array::nnz): New funtion. | |
5092 * boolNDArray.h (boolNDArray::nnz): New function. | |
5093 * MArrayN.h (MArrayN<T>::nnz): New function. | |
5094 * MArray.h (MArray<T>::nnz): New function. | |
5095 | |
5587 | 5096 2006-01-04 David Bateman <dbateman@free.fr> |
5097 | |
5098 * Spars-op-defs.h (SPARSE_SPARSE_MUL): Previous change resulted in | |
5099 elements not being sorted in return matrix. Sort them, and make | |
5100 solver select between two algorithms to further improve the | |
5101 performance. | |
5102 * dSparse.cc: include oct-sort.h. | |
5103 * CSparse.cc: ditto. | |
5104 * sparse-sort.cc: Instantiate octave_sort<octave_idx_type>. | |
5105 | |
5586 | 5106 2005-12-28 David Bateman <dbateman@free.fr> |
5107 | |
5587 | 5108 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Improved algorithm that is |
5109 faster in all cases, and significantly so for low density or small | |
5110 order problems. | |
5586 | 5111 |
5552 | 5112 2005-11-30 John W. Eaton <jwe@octave.org> |
5113 | |
5114 * LSODE.cc (LSODE::do_integrate (double)): Resize iwork and rwork | |
5115 before setting any values in either array. | |
5116 | |
5547 | 5117 2005-11-29 John W. Eaton <jwe@octave.org> |
5118 | |
5119 * oct-uname.h, oct-uname.cc: New files. | |
5120 * Makefile.in: Add them to the appropriate lists. | |
5121 | |
5535 | 5122 2005-11-11 John W. Eaton <jwe@octave.org> |
5123 | |
5124 * Array.cc (Array<T>::indexN): Simplify. | |
5125 | |
5533 | 5126 2005-11-09 John W. Eaton <jwe@octave.org> |
5127 | |
5128 * oct-inttypes.h (octave_int::operator char (void) const): | |
5129 New conversion op. | |
5130 | |
5527 | 5131 2005-11-01 John W. Eaton <jwe@octave.org> |
5132 | |
5133 * Makefile.in (distclean): Also remove oct-types.h. | |
5134 From Quentin Spencer <qspencer@ieee.org>. | |
5135 | |
5526 | 5136 2005-10-31 David Bateman <dbateman@free.fr> |
5137 | |
5138 * dSparse.cc, CSparse.cc: Use C++ true/false instead of | |
5139 preprocessor defined TRUE/FALSE. | |
5140 | |
5523 | 5141 2005-10-30 John W. Eaton <jwe@octave.org> |
5142 | |
5143 * mx-inlines.cc (MX_ND_REDUCTION): Iterate in direction of DIM. | |
5144 (MX_ND_CUMULATIVE_OP): Likewise. | |
5145 | |
5519 | 5146 2005-10-29 John W. Eaton <jwe@octave.org> |
5147 | |
5520 | 5148 * mx-inlines.cc (MX_ND_REDUCTION): Avoid increment_index to speed |
5149 things up. Simplify. | |
5150 | |
5519 | 5151 * Array.cc (Array<T>::indexN): Simplify. Delete separate special |
5152 case for "vector_equivalent". | |
5153 | |
5154 * Array-util.cc (vector_equivalent): Arg is now dim_vector. | |
5155 | |
5518 | 5156 2005-10-28 John W. Eaton <jwe@octave.org> |
5157 | |
5158 * oct-sparse.h: Fix typo in HAVE_UFSPARSE_UMFPACK_H. | |
5159 From Quentin Spencer <qspencer@ieee.org>. | |
5160 | |
5161 * sparse-base-chol.cc: Use C++ true/false instead of | |
5162 preprocessor defined TRUE/FALSE. Use 0 instead of NULL. | |
5163 | |
5516 | 5164 2005-10-27 John W. Eaton <jwe@octave.org> |
5165 | |
5166 * Array.cc (assignN): Reshape to final size instead of resizing. | |
5167 | |
5512 | 5168 2005-10-26 John W. Eaton <jwe@octave.org> |
5169 | |
5170 * oct-sparse.h: New file. | |
5171 * oct-sparse.h.in: Delete. | |
5172 | |
5511 | 5173 2005-10-26 David Bateman <dbateman@free.fr> |
5174 | |
5175 * sparse-base-chol.h: Include cholmod specific code in HAVE_CHOLMOD | |
5176 * sparse-base-chol.cc: ditto. | |
5177 | |
5508 | 5178 2005-10-26 John W. Eaton <jwe@octave.org> |
5179 | |
5180 Changes for GCC 4.1, tip from Arno J. Klaassen | |
5181 <arno@heho.snv.jussieu.fr>: | |
5182 | |
5509 | 5183 * dSparse.h (real (const SparseComplexMatrix&)): |
5184 Publish externally used friend function. | |
5185 (imag (const SparseComplexMatrix&)): Likewise. | |
5186 | |
5508 | 5187 * dColVector.h (real (const ComplexColumnVector&)): |
5188 Publish externally used friend function. | |
5189 (imag (const ComplexColumnVector&)): Likewise. | |
5190 | |
5191 * dNDArray.h (real (const ComplexNDArray&)): | |
5192 Publish externally used friend function. | |
5193 (imag (const ComplexNDArray&)): Likewise. | |
5194 | |
5195 * dMatrix.h (operator * (const ComplexMatrix&)): | |
5196 Move decl outside class. No need to be friend. | |
5197 (real (const ComplexMatrix&)): Publish externally used friend function. | |
5198 (imag (const ComplexMatrix&)): Likewise. | |
5199 | |
5200 * CMatrix.h: (operator * (const ColumnVector&, const | |
5201 ComplexRowVector&)): Move decl outside class. No need to be friend. | |
5202 (operator * (const ComplexColumnVector&, const RowVector&)): Likewise. | |
5203 (operator * (const ComplexColumnVector&, const ComplexRowVector& b)): | |
5204 Likewise. | |
5205 | |
5506 | 5206 2005-10-23 David Bateman <dbateman@free.fr> |
5207 | |
5208 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Check whether trailing zero | |
5209 elements need to be removed. | |
5210 | |
5211 * oct-sparse.h.in: Include metis headers and some macros for long/int | |
5212 versions of cholmod. | |
5213 | |
5214 * CSparse.cc (tinverse): New private function for the inversion of | |
5215 an upper triangular matrix. | |
5216 (dinverse): ditto for diagonal matrices. | |
5217 (inverse): Add SparseType as an argument. Implement matrix inverse | |
5218 using tinverse and dinverse. | |
5219 (fsolve): Use cholmod to implement Cholesky solver. | |
5220 * CSparse.h (tinverse, dinverse): Declarations | |
5221 (inverse): Alter declaration to include SparseType. | |
5222 | |
5223 * dSparse.cc (tinverse, dinverse, inverse, fsolve): ditto. | |
5224 * dSparse.h (tinverse, dinverse, inverse): ditto. | |
5225 | |
5226 * SparseType.cc: Fix complex constructor for hermitian matrices. | |
5227 | |
5228 * sparse-util.cc: New file for sparse utility functions. | |
5229 * sparse-util.h: New file with declarations of sparse utility | |
5230 functions. | |
5231 | |
5232 * sparse-base-chol.cc: New file with sparse cholesky class based | |
5233 on cholmod. | |
5234 * sparse-base-chol.h: New file with declaration of sparse cholesky | |
5235 class based on cholmod. | |
5236 | |
5237 * SparseCmplxCHOL.cc: Instantiate sparse cholesky class for Complex. | |
5238 * SparseCmplxCHOL.h: Declaration of sparse cholesky class. | |
5239 | |
5240 * SparsedbleCHOL.cc: ditto. | |
5241 * SparsedbleCHOL.h: ditto. | |
5242 | |
5243 * Makefile.in (MATRIX_INC): Include sparse-base-chol.h. | |
5244 (INCLUDES): Include sparse-util.h | |
5245 (TEMPLATE_SRC): Include sparse-base-chol.cc | |
5246 (MATRIX_SRC): Include SparseCmplxCHOL.cc and SparsedbleCHOL.cc | |
5247 | |
5489 | 5248 2005-10-12 John W. Eaton <jwe@octave.org> |
5249 | |
5250 * oct-env.cc (octave_env::have_x11_display): New function. | |
5251 * oct-env.h: Provide decl. | |
5252 | |
5476 | 5253 2005-09-29 John W. Eaton <jwe@octave.org> |
5254 | |
5255 * file-stat.h (file_stat::mode): New function. | |
5256 | |
5257 * file-stat.cc (file_stat::is_blk, file_stat::is_chr, | |
5258 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
5259 file_stat::is_reg, file_stat::is_sock): New static functions. | |
5260 * file-stat.h: Provide decls. | |
5261 | |
5262 2005-09-28 John W. Eaton <jwe@octave.org> | |
5263 | |
5264 * file-ops.cc (file_ops::recursive_rmdir): New function. | |
5265 * file-ops.h: Provide decl. | |
5266 | |
5454 | 5267 2005-09-19 David Bateman <dbateman@free.fr> |
5268 | |
5269 * oct-env.cc (octave_env::do_get_home_directory): | |
5270 Also check HOMEDRIVE under mingw. | |
5271 | |
5455 | 5272 * Makefile.in (LINK_DEPS): Include UFsparse libraries. |
5273 | |
5453 | 5274 2005-09-16 John W. Eaton <jwe@octave.org> |
5275 | |
5276 * oct-syscalls.cc: Include lo-utils.h here. | |
5277 (octave_syscalls::waitpid): Call octave_waitpid here. | |
5278 | |
5279 * lo-cutils.c (octave_waitpid): New function. | |
5280 * lo-utils.h: Provide decl. Include syswait.h here, not in | |
5281 oct-syscalls.cc | |
5282 | |
5283 | |
5284 * syswait.h [__MINGW32__]: Define WAITPID here instead of defining | |
5285 waitpid in src/sysdep.h. Make this header C-compatible. | |
5286 | |
5287 * oct-syscalls.cc (octave_syscalls::waitpid): New arg, status. | |
5288 Change all uses. | |
5289 | |
5451 | 5290 2005-09-15 John W. Eaton <jwe@octave.org> |
5291 | |
5292 * Makefile.in (MAKEDEPS_2): Omit unnecessary variable. | |
5293 | |
5294 * oct-sparse.h.in: New file. | |
5295 * Makefile.in (DISTFILES): Include it in the list. | |
5296 (INCLUDES): Add oct-sparse.h to the list. | |
5297 | |
5298 2005-09-15 David Bateman <dbateman@free.fr> | |
5299 | |
5300 * dSparse.cc : Include oct-sparse.h for probed umfpack, colamd etc | |
5301 headers. Remove include of umfpack.h. | |
5302 * CSparse.cc : ditto. | |
5303 * SparsedbleLU.cc : ditto. | |
5304 * SparseCmplxLU.cc : ditto. | |
5305 | |
5306 * COLAMD : Remove colamd files from octave. | |
5307 * COLAMD.files : delete. | |
5308 * COLAMD.README : delete. | |
5309 * Makefile.in: Remove COLAMD. Add LIBGLOB. | |
5310 (LN_S): Change to DESTDIR before LN_S to avoid lack of symlinks | |
5311 under mingw. | |
5312 | |
5313 * kpse.cc (ENV_SEP, ENV_SEP_STRING): Use SEPCHAR and SEPCHAR_STR | |
5314 in definition. | |
5315 * lo-cutils.c (octave_w32_library_search): Call GetProcAddress with | |
5316 change of cast not allowed under g++ 3.x. | |
5317 * lo-utils.h (octave_w32_library_search): Declaration. | |
5318 * oct-env.cc (do_get_home_directory): Also check HOMEPATH under mingw. | |
5319 * oct-shlib.cc (octave_w32_shlib::search): Use octave_w32_library_search. | |
5320 | |
5442 | 5321 2005-09-07 John W. Eaton <jwe@octave.org> |
5322 | |
5323 * cmd-edit.cc (command_editor::do_decode_prompt_string): Update | |
5324 based on current code in Bash. Handle a few more escape | |
5325 sequences. Do a better job of decoding \W. | |
5326 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
5327 2005-09-04 David Bateman <dbateman@free.fr> |
5438 | 5328 |
5329 * COLAMD: Update version of colamd to v2.4. | |
5330 * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of | |
5331 colamd.c for long version. | |
5332 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
5333 2005-08-25 David Bateman <dbateman@free.fr> |
5429 | 5334 |
5335 * Sparse-op-defs.h (FULL_SPARSE_MUL, SPARSE_FULL_MUL): Macro for | |
5336 mixed sparse/full multiply. | |
5337 * dSparse.cc (operator *), CSparse.cc (operator *): New operators for | |
5338 mixed sparse/full multiply. | |
5339 * dSparse.h (operator *), CSparse.h (operator *): Declaration of | |
5340 mixed sparse/full multiply operators. | |
5341 | |
5420 | 5342 2005-07-25 Erik de Castro Lopo <erikd@zip.com.au> |
5343 | |
5344 * oct-inttypes.h (OCTAVE_S_US_FTR): Compare <= 0 instead of < 0 to | |
5345 avoid warnings for unsigned types. | |
5346 | |
5404 | 5347 2005-07-07 John W. Eaton <jwe@octave.org> |
5348 | |
5349 * dSparse.cc (SparseMatrix::factorize): Initialize Numeric to 0. | |
5350 * CSparse.cc (SparseComplexMatrix::factorize:) Likewise. | |
5351 | |
5392 | 5352 2005-06-15 John W. Eaton <jwe@octave.org> |
5353 | |
5394 | 5354 * oct-rl-edit.c (flush_stdout): Rename from no_redisplay. |
5355 Flush stdout here. | |
5356 (octave_rl_clear_screen): Set rl_redisplay_function to flush_stdout. | |
5357 | |
5392 | 5358 * Array.h (Array::resize): Change int args to octave_idx_type. |
5359 | |
5386 | 5360 2005-06-14 John W. Eaton <jwe@octave.org> |
5361 | |
5389 | 5362 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
5363 dSparse.cc, lo-cieee.c, lo-mappers.cc: Change all uses of | |
5364 octave_is_NaN_or_NA to xisnan. | |
5365 | |
5366 * lo-mappers.h (octave_is_NaN_or_NA): Mark with GCC_ATTR_DEPRECATED. | |
5367 * lo-ieee.h (lo_ieee_is_NaN_or_NA): Likewise. | |
5368 | |
5369 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Now just a wrapper for | |
5370 lo_ieee_isnan. | |
5371 | |
5387 | 5372 * dMatrix.cc (Matrix::too_large_for_float): Only check if abs |
5373 value is greater than FLT_MAX. | |
5374 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
5375 * dNDArray.cc (NDArray::too_large_for_float): Ditto. | |
5376 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
5377 | |
5378 * dMatrix.cc (Matrix::too_large_for_float): Special case Inf | |
5379 values too. | |
5380 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
5381 | |
5382 * dNDArray.cc (NDArray::too_large_for_float): Likewise for NaN, | |
5383 NA, Inf values. | |
5384 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
5386 | 5385 |
5385 | 5386 2005-06-14 David Bateman <dbateman@free.fr> |
5387 | |
5387 | 5388 * dMatrix.cc (Matrix::too_large_for_float): Special case NaN and |
5389 NA values. | |
5390 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
5385 | 5391 |
5379 | 5392 2005-06-02 John W. Eaton <jwe@octave.org> |
5393 | |
5394 * Array.cc (assignN): Try harder to correctly resize previously | |
5395 empty LHS. | |
5396 | |
5351 | 5397 2005-05-16 David Bateman <dbateman@free.fr> |
5398 | |
5399 * dSparse.h: Change UMFPACK_LONG_IDX to IDX_TYPE_LONG. | |
5400 * CSparse.h: ditto. | |
5401 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
5402 2005-05-10 David Bateman <dbateman@free.fr> |
5346 | 5403 |
5404 * dSparse.cc (determinant): Free numeric factorization after | |
5405 sucessful calculation. | |
5406 * CSparse.cc (determinant): ditto. | |
5407 | |
5340 | 5408 2005-05-06 John W. Eaton <jwe@octave.org> |
5409 | |
5410 * dbleCHOL.cc (CHOL::init): Use xelem instead of elem for indexing | |
5411 chol_mat. | |
5412 (chol2mat_internal, chol2mat, CHOL::inverse): New functions. | |
5413 * dbleCHOL.h (chol2mat_internal, chol2mat, CHOL::inverse): | |
5414 Provide decls. | |
5415 | |
5416 * CmplxChol.cc (ComplexCHOL::init): Use xelem instead of elem for | |
5417 indexing chol_mat. | |
5418 (chol2mat_internal, chol2mat, ComplexCHOL::inverse): New functions. | |
5419 * CmplxCHOL.h (chol2mat_internal, chol2mat, CmplxCHOL::inverse): | |
5420 Provide decls. | |
5421 | |
5338 | 5422 2005-05-05 John W. Eaton <jwe@octave.org> |
5423 | |
5424 * Array.cc (Array<T>::permute): Call chop_trailing_singletons on | |
5425 retval before return. | |
5426 | |
5336 | 5427 2005-05-04 John W. Eaton <jwe@octave.org> |
5428 | |
5429 * cmd-edit.cc (gnu_readline::do_readline): Extract const char* | |
5430 from prompt outside of INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE block. | |
5431 | |
5330 | 5432 2005-05-02 John W. Eaton <jwe@octave.org> |
5433 | |
5434 * Makefile.in (LINK_DEPS): List $(UMFPACK_LIBS) ahead of $(BLAS_LIBS). | |
5435 From Dmitri A. Sergatskov <dasergatskov@gmail.com>. | |
5436 | |
5322 | 5437 2005-04-29 David Bateman <dbateman@free.fr> |
5438 | |
5330 | 5439 * dSparse.cc (trisolve): Diagonal passed to lapack zptsv is type |
5440 double. Correct indexing for upper diagonal elements for sparse | |
5441 tridiagonal. | |
5322 | 5442 * CSparse.cc (trisolve): ditto. |
5443 | |
5330 | 5444 * CSparse.h (UMFPACK_ZNAME): Define macro to pick version of |
5445 UMFPACK for 64-bit. | |
5322 | 5446 * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with |
5447 UMFPACK_ZNAME(*). | |
5448 * SparseCmplxLU.cc (UMFPACK_ZNAME): ditto | |
5449 | |
5330 | 5450 * dSparse.h (UMFPACK_DNAME): Define macro to pick version of |
5451 UMFPACK for 64-bit. | |
5322 | 5452 * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with |
5453 UMFPACK_DNAME(*). | |
5454 * SparsedbleLU.cc (UMFPACK_DNAME): ditto | |
5455 | |
5330 | 5456 * dSparse.cc (ltsolve, utsolve): Correct permuted upper/lower |
5457 triangular back/forward substitution code. | |
5322 | 5458 * CSparse.cc (ltsolve, utsolve): ditto. |
5459 | |
5330 | 5460 * dSparse.cc (solve): Use mattype.type (false) to force messaging |
5461 from spparms("spumoni",1). | |
5322 | 5462 * CSparse.cc (solve): ditto |
5463 | |
5330 | 5464 * SparseType.cc (SparseType(void)): Print info for |
5465 spparms("spumoni",1). | |
5322 | 5466 (SparseType(const matrix_type), SparseType(const matrix_type, const |
5467 octave_idx_type, const octave_idx_type*), SparseType(const matrix_type, | |
5468 const octave_idx_type, const octave_idx_type)): New constructors. | |
5469 (SparseType (const SparseMatrix&), SparseType (SparseComplexMatrix&)): | |
5330 | 5470 Detect row permuted lower triangular and column permuted upper |
5471 triangular matrices. Remove one of the permutation vectors.. | |
5322 | 5472 |
5473 * SparseType.h: Simplify the permutation code. | |
5474 (SparseType(const matrix_type), SparseType | |
5475 (const matrix_type, const octave_idx_type, const octave_idx_type*), | |
5476 SparseType(const matrix_type, const octave_idx_type, | |
5477 const octave_idx_type)): Declarations. | |
5478 | |
5304 | 5479 2005-04-25 John W. Eaton <jwe@octave.org> |
5480 | |
5481 * str-vec.cc (string_vector::delete_c_str_vec): Correctly free | |
5482 array and its contents. | |
5483 | |
5303 | 5484 2005-04-22 John W. Eaton <jwe@octave.org> |
5485 | |
5486 * oct-rl-edit.c (octave_rl_set_terminal_name): Don't cast away | |
5487 const here now that rl_terminal_name is declared const char*. | |
5488 | |
5294 | 5489 2005-04-21 John W. Eaton <jwe@octave.org> |
5490 | |
5491 * Makefile.in (DISTFILES): Include oct-types.h.in in the list. | |
5492 | |
5285 | 5493 2005-04-19 John W. Eaton <jwe@octave.org> |
5494 | |
5495 * Array.cc (assignN): Don't crash if the index list is empty. | |
5496 | |
5282 | 5497 2005-04-14 David Bateman <dbateman@free.fr> |
5498 | |
5499 * SparseCmplxLU.cc: Add flags for incomplete factorization. | |
5500 * SparsedbleLU.cc: Ditto. | |
5501 * SparseCmplxLU.h: Definition. | |
5502 * SparsedbleLU.h: ditto. | |
5503 | |
5504 * SparseType.cc (transpose): New function. | |
5505 * SparseType.h (transpose): Definition. | |
5506 | |
5278 | 5507 2005-04-11 John W. Eaton <jwe@octave.org> |
5508 | |
5509 * lo-specfun.cc: Use F77_XFCN instead of F77_FUNC for calls to | |
5510 fortran code that could end up calling XSTOPX. | |
5511 | |
5277 | 5512 2005-04-10 David Bateman <dbateman@free.fr> |
5513 | |
5514 * Makefile.in: include oct-types in INCLUDES so that it is | |
5515 installed | |
5516 | |
5275 | 5517 2005-04-08 John W. Eaton <jwe@octave.org> |
5518 | |
5276 | 5519 * Makefile.in (clean): Use exact filenames instead of *.xxx. |
5520 | |
5275 | 5521 * Initial merge of 64-bit changes from Clinton Chee: |
5522 | |
5523 2005-04-07 John W. Eaton <jwe@octave.org> | |
5524 | |
5525 * MArray-i.cc, Array-i.cc: Instantiate Array<long> and MArray<long>. | |
5526 | |
5527 * CSparse.cc, CSparse.h, MSparse.cc, MSparse.h, Sparse-op-defs.h, | |
5528 Sparse.cc, Sparse.h, SparseCmplxLU.cc, SparseType.cc, | |
5529 SparseType.h, SparsedbleLU.cc, boolSparse.cc, boolSparse.h, | |
5530 dSparse.cc, dSparse.h, sparse-base-lu.cc: | |
5531 Use octave_idx_type instead of int where needed. | |
5532 | |
5533 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
5534 | |
5535 * Array-util.cc, Array-util.h, Array.cc,Array.h, Array2.h, | |
5536 Array3.h, ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
5537 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
5538 CMatrix.h, CNDArray.cc, CNDArray.h, CRowVector.cc, CRowVector.h, | |
5539 CmplxAEPBAL.cc, CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, | |
5540 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
5541 CmplxSCHUR.cc, CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, | |
5542 CollocWt.h, DAEFunc.h, DASPK-opts.in,DASPK.cc,DASPK.h, | |
5543 DASRT-opts.in, DASRT.cc, DASRT.h, DASSL-opts.in, DASSL.cc, | |
5544 DASSL.h, DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, | |
5545 FEGrid.h, LPsolve.cc, LPsolve.h, LSODE-opts.in, LSODE.cc, LSODE.h, | |
5546 MArray-defs.h, MArray.cc, MArray.h, MArray2.cc, MArray2.h, | |
5547 MArrayN.cc, MDiagArray2.cc, MDiagArray2.h, NLConst.h, NLEqn.cc, | |
5548 NLEqn.h, Quad.cc, Quad.h, Range.cc,Range.cc, Range.h, base-de.h, | |
5549 base-lu.cc, base-lu.h, base-min.h, boolMatrix.cc, boolMatrix.h, | |
5550 boolNDArray.cc, boolNDArray.h, chMatrix.cc, chMatrix.h, | |
5551 chNDArray.cc, chNDArray.h, dColVector.cc, dColVector.h, | |
5552 dDiagMatrix.cc, dDiagMatrix.h, dMatrix.cc, dMatrix.h, | |
5553 dNDArray.cc,dNDArray.cc, dNDArray.h, dRowVector.cc, dRowVector.h, | |
5554 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleHESS.cc, | |
5555 dbleHESS.h, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
5556 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, dim-vector.h, idx-vector.cc, | |
5557 idx-vector.h, intNDArray.cc, intNDArray.h, lo-specfun.cc, | |
5558 lo-specfun.h, mach-info.cc, mx-inlines.cc, oct-fftw.cc, | |
5559 oct-fftw.h, oct-rand.cc, oct-rand.h, so-array.cc, so-array.h, | |
5560 str-vec.cc, str-vec.h: | |
5561 Use octave_idx_type instead of int where needed. | |
5562 | |
5563 2005-04-01 John W. Eaton <jwe@octave.org> | |
5564 | |
5565 * dim-vector.h, lo-utils.h: Include oct-types.h. | |
5566 | |
5567 * oct-types.h.in: New file. | |
5568 | |
5569 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
5570 | |
5571 * lo-utils.cc (NINTbig): New function. | |
5572 * lo-utils.h: Provide decl. | |
5573 | |
5269 | 5574 2005-04-06 David Bateman <dbateman@free.fr> |
5575 | |
5576 * Makefile.in: Link to UMFPACK_LIBS. | |
5577 | |
5265 | 5578 2005-04-05 John W. Eaton <jwe@octave.org> |
5579 | |
5580 * Array.cc (assignN): Avoid shadowed declaration in previous change. | |
5581 | |
5264 | 5582 2005-04-01 John W. Eaton <jwe@octave.org> |
5583 | |
5584 * Array.cc (assignN): For A(IDX-LIST) = RHS with A previously | |
5585 undefined, correctly match colons in IDX-LIST with RHS dimensions | |
5586 when resizing A. When performing the assignment, just check that | |
5587 the number of elements in RHS matches the number of elements | |
5588 indexed by IDX-LIST. | |
5589 | |
5260 | 5590 2005-03-30 John W. Eaton <jwe@octave.org> |
5591 | |
5261 | 5592 * lo-mappers.cc (log10, tan, tanh): Delete functions. |
5593 * lo-mappers.h (log10, tan, tanh): Delete decls. | |
5594 | |
5595 * CColVector.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, | |
5596 dSparse.cc: Use std:: for Complex functions instead of relying on | |
5597 wrappers from oct-cmplx.h. | |
5260 | 5598 |
5599 * oct-cmplx.h: Provide typedef only. | |
5600 | |
5601 * DiagArray2.cc (xelem): Don't use initializer for static data. | |
5602 * DiagArray2.h (DiagArray<T>::Proxy::operator T ()): | |
5603 Likewise. | |
5604 | |
5247 | 5605 2005-03-26 John W. Eaton <jwe@octave.org> |
5606 | |
5607 * cmd-edit.cc (do_readline): Wrap call to ::octave_rl_readline | |
5608 with {BEGIN,END}_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE. | |
5609 | |
5209 | 5610 2005-03-15 John W. Eaton <jwe@octave.org> |
5611 | |
5612 * Makefile.in (MATRIX_INC): Remove oct-spparms.h from the list. | |
5613 | |
5203 | 5614 2005-03-14 John W. Eaton <jwe@octave.org> |
5615 | |
5616 * Makefile.in (DISTFILES): Don't include $(UMFPACK_EXTRAS). | |
5617 (DISTDIRS): Don't include UMFPACK. | |
5618 (LIBOCTAVE_OBJECTS): Don't include $(UMFPACK_OBJ). | |
5619 (UMFPACK_SPECIAL_1, UMFPACK_SPECIAL): No need for special include | |
5620 flags for these files. | |
5621 Don't include include $(srcdir)/UMFPACK.files. | |
5622 Don't include include $(srcdir)/UMFPACK.rules. | |
5623 | |
5624 * UMFPACK.README, UMFPACK.files, UMFPACK.patch, UMFPACK.rules: | |
5625 Delete files. | |
5626 * UMFPACK: Delete directory tree. | |
5627 | |
5628 * dSparse.cc: Include <umfpack/umfpack.h> instead of just "umfpack.h". | |
5629 * CSparse.cc: Likewise. | |
5630 * SparsedbleLU.cc: Likewise. | |
5631 * SparseCmplxLU.cc: Likewise. | |
5632 | |
5633 2005-03-14 David Bateman <dbateman@free.org> | |
5634 | |
5635 * CSParse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc: | |
5636 Allow compilation to succeed if UMFPACK is not available. | |
5637 | |
5196 | 5638 2005-03-09 John W. Eaton <jwe@octave.org> |
5639 | |
5640 * Makefile.in (bin-dist): Delete target. | |
5641 (BINDISTLIBS, BINDISTFILES): Delete variables. | |
5642 | |
5173 | 5643 2005-03-01 John W. Eaton <jwe@octave.org> |
5644 | |
5645 * ODESSA.h, ODESSA.cc, ODESSA-opts.in: Delete. | |
5646 * Makefile.in: Remove them from the lists. | |
5647 | |
5169 | 5648 2005-02-28 John W. Eaton <jwe@octave.org> |
5649 | |
5650 * Makefile.in (LINK_DEPS): Remove -lglob from the list. | |
5651 | |
5167 | 5652 2005-02-27 David Bateman <dbateman@free.org> |
5653 | |
5169 | 5654 * Sparse.cc (Sparse<T>::reshape): Set cidx for the N last elements |
5655 in the sparse matrix. | |
5167 | 5656 |
5164 | 5657 2005-02-25 John W. Eaton <jwe@octave.org> |
5658 | |
5659 Sparse merge. | |
5660 | |
5661 2005-02-13 David Bateman <dbateman@free.fr> | |
5662 | |
5663 * CSparse.cc (SparseComplexMatrix:dsolve, SparseComplexMatrix:utsolve, | |
5664 SparseComplexMatrix::ltsolve, SparseComplexMatrix::trisolve, | |
5665 SparseComplexMatrix::bsolve, SparseComplexMatrix:fsolve): Split sparse | |
5666 solver into separate functions for the diagonal, upper, lower | |
5667 triangular, tridiagonal, banded and full cases. | |
5668 (SparseComplexMatrix::solve): rewrite to call the above function. One | |
5669 version that probes the matrix type and another that assumes the type | |
5670 is passed. | |
5671 | |
5672 * dSparse.cc (SparseMatrix:dsolve, SparseMatrix:utsolve, | |
5673 SparseMatrix::ltsolve, SparseMatrix::trisolve, | |
5674 SparseMatrix::bsolve, SparseMatrix:fsolve): Likewise | |
5675 (SparseMatrix::solve): Likewise | |
5676 | |
5677 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
5678 Declaration of new functions | |
5679 * dSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
5680 Likewise | |
5681 | |
5682 * CSparse.cc (operator !): Reverse the sense of the test. | |
5683 * dSpase.cc (operator !): Likewise | |
5684 | |
5685 * dSparse.h (type, band_size, is_dense, triangular_row_perm, | |
5686 triangular_col_perm, sparse_info): Remove matrix type code | |
5687 * CSparse.h (type, band_size, is_dense, triangular_row_perm, | |
5688 triangular_col_perm, sparse_info): Likewise | |
5689 * boolSparse.h (type, band_size, is_dense, triangular_row_perm, | |
5690 triangular_col_perm, sparse_info): Likewise | |
5691 * MSparse.h (type, band_size, is_dense, triangular_row_perm, | |
5692 triangular_col_perm, sparse_info): Likewise | |
5693 * Sparse.h (type, band_size, is_dense, triangular_row_perm, | |
5694 triangular_col_perm, sparse_info, matrix_type): Likewise | |
5695 | |
5696 * Sparse.cc (type, sparse_info, band_size): Remove type code | |
5697 | |
5698 * SparseType.h: New class for the matrix type used in solvers | |
5699 * SparseType.cc: methods of sparse matrix type class | |
5700 | |
5701 * Makefile.in: Add SparseType.cc | |
5702 | |
5703 2005-02-01 David Bateman <dbateman@free.fr> | |
5704 | |
5705 * UMFPACK: Update to version 4.4 | |
5706 * UMFPACK.patch: Version 4.4 contains most of the previous patch. Only | |
5707 keep octave specific test files | |
5708 | |
5709 2005-01-23 David Bateman <dbateman@free.fr> | |
5710 | |
5711 * dSparse.cc (SparseMatrix::solve): Include tridiagonal, cholesky | |
5712 tridiagonal and banded cholesky solvers. Remove calculation of | |
5713 condition number for banded solvers. | |
5714 * CSparse.cc (SparseComplexMatrix::solve): ditto. | |
5715 | |
5716 * Sparse.h (int type (int) const, bool is_dense (void) const): | |
5717 new functions. | |
5718 * MSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
5719 * dSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
5720 * CSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
5721 * boolSparse.h (int type (int) const, bool is_dense (void) const): | |
5722 ditto | |
5723 | |
5724 * Sparse.cc (int Sparse<T>::type (int) const, | |
5725 bool Sparse<T>::is_dense (void) const): New functions definition | |
5726 | |
5727 * Sparse.h (matrix_type typ): Move caching of matrix type to SparseRep, | |
5728 so it actually is cached, but disable | |
5729 | |
5730 * oct-spparms.cc (SparseParams::init_keys): Change spmoni to spumoni | |
5731 for compatiability | |
5732 | |
5733 2005-01-18 David Bateman <dbateman@free.fr> | |
5734 | |
5735 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
5736 Modify calculation of number elements to skip between copied blocks. | |
5737 | |
5738 2005-01-07 David Bateman <dbateman@free.fr> | |
5739 | |
5740 * Sparse.h : Reverse definitions of numel and nelem. | |
5741 * Sparse.cc (assign1): Use numel and not nelem | |
5742 * Sparse-op-def.h: Replace all uses of nelem with numel | |
5743 | |
5744 2005-01-07 David Bateman <dbateman@free.fr> | |
5745 | |
5746 * dbleDET.h: Make SparseMatrix a friend of the class DET | |
5747 * CmplexDET.h: Make SparseComplexMatrix a friend of the class | |
5748 ComplexDET | |
5749 * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET | |
5750 by DET | |
5751 * dSparse.h (determinant): ditto | |
5752 * CSparse.cc (SparseComplexMatrix::determinant): Replace use of | |
5753 SparseComplexDET by ComplexDET | |
5754 * CSparse.h (determinant): ditto | |
5755 * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, | |
5756 SparseCmplxDET.cc: delete files | |
5757 * Makefile.in: Delete reference to SparsedbleDET.h, SparsedbleDET.cc, | |
5758 SparseCmplxDET.h andSparseCmplxDET.cc. | |
5759 | |
5760 * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in | |
5761 local variable to avoid variable shadowing. | |
5762 * dSparse.cc (SparseMatrix::solve): ditto. | |
5763 | |
5764 * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc | |
5765 dSparse.h MSparse.cc MSparse-C.cc MSparse-d.cc MSparse-defs.h | |
5766 MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc | |
5767 Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc | |
5768 SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc | |
5769 sparse-sort.h: Remove additional licensing clause with authors | |
5770 permission. | |
5771 | |
5772 2004-12-30 John W. Eaton <jwe@octave.org> | |
5773 | |
5774 * MSparse.cc (SPARSE_A2S_OP_2, SPARSE_SA2_OP_2): | |
5775 Loop counter is int, not size_t. | |
5776 | |
5777 * oct-spparms.cc (SparseParams::operator =): Return *this. | |
5778 | |
5779 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Delete unused variable tmpval. | |
5780 | |
5781 * dSparse.cc (operator << (ostream&, const SparseMatrix&), atan2): | |
5782 Delete unused variables. | |
5783 (SparseMatrix::solve): Avoid warnings about uninitialized | |
5784 variables and variables that might be clobbered by longjmp. | |
5785 | |
5786 * CSparse.cc (operator << (ostream&, const SparseComplexMatrix&), | |
5787 min, max): Delete unused variables. | |
5788 (SparseComplexMatrix::solve): Avoid warnings about uninitialized | |
5789 variables and variables that might be clobbered by longjmp. | |
5790 | |
5791 * Makefile.in (UMFPACK_SPECIAL): Include .d files in the list. | |
5792 | |
5793 * Sparse-op-defs.h (SPARSE_SMS_BIN_OP_2, SPARSE_SSM_BIN_OP_2): | |
5794 Loop counter is int, not size_t. | |
5795 | |
5796 * CSparse.cc (SparseComplexMatrix::hermitian): Avoid shadow warnings. | |
5797 * Sparse.cc (Sparse<T>::Sparse, Sparse<T>::type, assign): Likewise. | |
5798 | |
5799 * Sparse.h (Sparse::SparseRep): Order data members and initializer | |
5800 lists consistently. | |
5801 | |
5802 * mx-base.h: Include boolSparse.h, dSparse.h, and CSparse.h. | |
5803 | |
5804 2004-12-29 John W. Eaton <jwe@octave.org> | |
5805 | |
5806 * COLAMD.files (COLAMD_EXTRAS): New variable. | |
5807 * UMFPACK.files (UMFPACK_EXTRAS): New variable. | |
5808 * Makefile.in (DISTFILES): Add $(COLAMD_EXTRAS) and | |
5809 $(UMFPACK_EXTRAS) to the list. | |
5810 (DISTDIRS): New variable. | |
5811 (dist): Handle $(DISTDIRS). | |
5812 | |
5813 Merge of sparse code from David Bateman <dbateman@free.fr> and | |
5814 Andy Adler <adler@site.uottawa.ca>. | |
5815 | |
5816 * Makefile.in (VPATH): ADD @srcdir@/COLAMD to the list. | |
5817 | |
5818 * Makefile.in (MAKEDEPS): Include $(COLAMD_SRC) and $(UMFPACK_SRC) | |
5819 without directory prefix. | |
5820 | |
5821 * Makefile.in (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJ) and | |
5822 $(UMFPACK_OBJ) to the list. | |
5823 | |
5824 * COLAMD: New directory. | |
5825 * COLAMD.files: New file. | |
5826 * Makefile.in: Include COLAMD.files. | |
5827 (SOURCES): Add $(COLAMD_SOURCES) to the list. | |
5828 (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJECTS) to the list. | |
5829 (INCLUDES): Add $(COLAMD_INCLUDES) to the list. | |
5830 | |
5831 * UMFPACK: New directory. | |
5832 * UMFPACK.patch, UMFPACK.README, UMFPACK.files, UMFPACK.rules: | |
5833 New files. | |
5834 * Makefile.in: Include UMFPACK.files and UMFPACK.rules. | |
5835 (SOURCES): Add $(UMFPACK_SOURCES) to the list. | |
5836 (LIBOCTAVE_OBJECTS): Add $(UMFPACK_OBJECTS) to the list. | |
5837 (INCLUDES): Add $(UMFPACK_INCLUDES) to the list. | |
5838 | |
5839 * Makefile.in (SPARSE_MX_OP_INC): New variable. | |
5840 (INCLUDES): Add it to the list. | |
5841 (SPARSE_MX_OP_SRC): New variable. | |
5842 (LIBOCTAVE_CXX_SOURCES): Add it to the list. | |
5843 (distclean): Remove $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
5844 (stamp-prereq): Depend on $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
5845 | |
5846 * sparse-mk-ops.awk, sparse-mx-ops: New files. | |
5847 * Makefile.in (DISTFILES): Add them to the lists. | |
5848 | |
5849 * oct-spparms.h, sparse-sort.h: New files. | |
5850 * Makefile.in (INCLUDES): Add them to the list. | |
5851 | |
5852 * oct-spparms.cc, sparse-sort.cc: New files. | |
5853 * Makefile.in (LIBOCTAVE_CXX_SOURCES): Add them to the list. | |
5854 | |
5855 * sparse-base-lu.cc: New file. | |
5856 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
5857 | |
5858 * boolSparse.cc, CSparse.cc, dSparse.cc, MSparse.cc, Sparse.cc, | |
5859 SparseCmplxDET.cc, SparseCmplxLU.cc, SparsedbleDET.cc, | |
5860 SparsedbleLU.cc: New files. | |
5861 * Makefile.in (MATRIX_SRC): Add them to the list. | |
5862 | |
5863 * boolSparse.h, CSparse.h, dSparse.h, MSparse-defs.h, MSparse.h, | |
5864 Sparse.h, oct-spparms.h, sparse-base-lu.h, SparseCmplxDET.h, | |
5865 SparseCmplxLU.h, SparsedbleDET.h, SparsedbleLU.h, | |
5866 Sparse-op-defs.h: New files. | |
5867 * Makefile.in (MATRIX_INC): Add them to the appropriate lists. | |
5868 | |
5869 * MSparse-d.cc, MSparse-C.cc, Sparse-b.cc, Sparse-d.cc, | |
5870 Sparse-C.cc: New files. | |
5871 * Makefile.in (TI_SRC): Add them to the list. | |
5872 | |
5149 | 5873 2005-02-18 John W. Eaton <jwe@octave.org> |
5874 | |
5875 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_RESOLVEPATH]: | |
5876 Pass current directory to octave_env::make_absolute. | |
5877 Save value returned from octave_env::make_absolute in local var. | |
5878 Pass const char*, not std::string as first arg of resolvepath. | |
5879 Provide decl for resolved_len. | |
5880 | |
5148 | 5881 2005-02-18 John W. Eaton <jwe@octave.org> |
5882 | |
5883 * Array.cc (Array<T>::permute): Allow permutation vector longer | |
5884 than number of dimenensions of permuted matrix. | |
5885 | |
5886 * Array.cc (Array<T>::permute): Use zero-based indexing for perm_vec. | |
5887 * Array-util.cc (calc_permutated_idx): Likewise. | |
5888 | |
5139 | 5889 2005-02-10 David Bateman <dbateman@free.fr> |
5890 | |
5891 * CNDArray.cc (ComplexNDarray::operator !): Change sense of test. | |
5892 * CMatrix.cc (ComplexMatrix::operator !): Likewise. | |
5893 | |
5137 | 5894 2005-02-09 John W. Eaton <jwe@octave.org> |
5895 | |
5138 | 5896 * file-ops.cc (file_ops::canonicalize_file_name): New functions. |
5897 * file-ops.h: Provide decls. | |
5898 | |
5137 | 5899 * kpse.cc (kpse_tilde_expand): Simply return NAME if it is empty. |
5900 | |
5136 | 5901 2005-02-08 John W. Eaton <jwe@octave.org> |
5902 | |
5903 * Array-util.cc (freeze): Improve error message. | |
5904 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
5905 2005-01-26 David Bateman <dbateman@free.fr> |
5120 | 5906 |
5121 | 5907 * Array.cc (Array<T>::insert): Handle generic case, not just |
5908 special case for fast concatenation. | |
5120 | 5909 |
5110 | 5910 2005-01-18 John W. Eaton <jwe@octave.org> |
5911 | |
5912 * mx-inlines.cc (MX_ND_REDUCTION): Delete RET_ELT_TYPE arg. | |
5913 Change all uses. Use VAL instead of RET_ELT_TYPE when resizing. | |
5914 | |
5915 * dNDArray.cc (NDArray::any): NaN does not count as a nonzero value. | |
5916 * CNDArray.cc (ComplexNDArray::any): Likewise. | |
5917 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
5918 2005-01-18 David Bateman <dbateman@free.fr> |
5108 | 5919 |
5920 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
5921 Modify calculation of number elements to skip between copied blocks. | |
5922 | |
5923 2005-01-18 John W. Eaton <jwe@octave.org> | |
5924 | |
5925 * idx-vector.cc (IDX_VEC_REP::freeze): Call warning handler, not | |
5926 error handler, to warn about resizing. | |
5927 | |
5105 | 5928 2004-12-27 Martin Dalecki <martin@dalecki.de> |
5929 | |
5930 * Array.cc, ArrayN.cc, base-lu.cc, boolMatrix.cc, boolNDArray.cc, | |
5931 Bounds.cc, CColVector.cc, CDiagMatrix.cc, chMatrix.cc, | |
5932 chNDArray.cc, CMatrix.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, | |
5933 CmplxDET.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
5934 CmplxSCHUR.cc, CmplxSVD.cc, CNDArray.cc, CollocWt.cc, | |
5935 CRowVector.cc, DASPK.cc, DASRT.cc, DASSL.cc, dbleAEPBAL.cc, | |
5936 dbleCHOL.cc, dbleDET.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, | |
5937 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, dColVector.cc, | |
5938 dDiagMatrix.cc, DiagArray2.cc, dMatrix.cc, dNDArray.cc, | |
5939 dRowVector.cc, EIG.cc, FEGrid.cc, idx-vector.cc, int16NDArray.cc, | |
5940 int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, intNDArray.cc, | |
5941 LinConst.cc, LPsolve.cc, LSODE.cc, MArray2.cc, MArray.cc, | |
5942 MArrayN.cc, MDiagArray2.cc, NLEqn.cc, oct-alloc.cc, ODES.cc, | |
5943 ODESSA.cc, Quad.cc, Range.cc, so-array.cc, uint16NDArray.cc, | |
5944 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: | |
5945 Delete #pragma implementation. | |
5946 | |
5947 * Array2.h, Array3.h, Array.h, ArrayN.h, base-lu.h, boolMatrix.h, | |
5948 boolNDArray.h, Bounds.h, CColVector.h, CDiagMatrix.h, chMatrix.h, | |
5949 chNDArray.h, CMatrix.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, | |
5950 CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, | |
5951 CmplxSVD.h, CNDArray.h, CollocWt.h, CRowVector.h, DASPK.h, | |
5952 DASRT.h, DASSL.h, dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, | |
5953 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, | |
5954 dColVector.h, dDiagMatrix.h, DiagArray2.h, dim-vector.h, | |
5955 dMatrix.h, dNDArray.h, dRowVector.h, EIG.h, FEGrid.h, | |
5956 idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
5957 int8NDArray.h, intNDArray.h, LinConst.h, LPsolve.h, LSODE.h, | |
5958 MArray2.h, MArray.h, MArrayN.h, MDiagArray2.h, NLConst.h, NLEqn.h, | |
5959 ODES.h, ODESSA.h, Quad.h, Range.h, so-array.h, uint16NDArray.h, | |
5960 uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: | |
5961 Delete #pragma interface. | |
5962 | |
5098 | 5963 2004-12-17 John W. Eaton <jwe@octave.org> |
5964 | |
5965 * lo-cieee.c (lo_ieee_signbit): New function. | |
5966 * lo-ieee.h: Provide decl. | |
5967 Don't define lo_ieee_signbit as a macro here. | |
5968 From Orion Poplawski <orion@cora.nwra.com>. | |
5969 | |
5085 | 5970 2004-11-18 John W. Eaton <jwe@octave.org> |
5971 | |
5972 * int32NDArray.cc (pow): Delete instantiation. | |
5973 * int16NDArray.cc (pow): Likewise. | |
5974 * int8NDArray.cc (pow): Likewise. | |
5975 * uint32NDArray.cc (pow): Likewise. | |
5976 * uint16NDArray.cc (pow): Likewise. | |
5977 * uint8NDArray.cc (pow): Likewise. | |
5978 | |
5081 | 5979 2004-11-17 John W. Eaton <jwe@octave.org> |
5980 | |
5085 | 5981 * kpse.cc (str_llist_float, str_llist_add, kpse_var_expand): |
5982 Now static. | |
5983 (DB_ENVS, DB_HASH_SIZE, DB_NAME, ALIAS_NAME, ALIAS_HASH_SIZE, | |
5984 DEFAULT_TEXMFDBS): Delete unused macros. | |
5985 | |
5081 | 5986 * Array.cc (Array<T>::index): Call generic N-d indexing function |
5987 if idx_arg is N-d. | |
5988 | |
5073 | 5989 2004-11-09 David Bateman <dbateman@free.fr> |
5990 | |
5991 * dNDArray.cc (concat): Delete. | |
5992 (NDArray::concat): New methods. | |
5993 * dNDArray.h: Provide decls. | |
5994 | |
5995 * CNDArray.cc (concat): Delete. | |
5996 (ComplexNDArray::concat): New methods. | |
5997 * CNDArray.h: Provide decls. | |
5998 | |
5999 * boolNDArray.cc (concat): Delete. | |
6000 (boolNDArray::concat): New methods. | |
6001 * boolNDArray.h: Provide decls. | |
6002 | |
6003 * chNDArray.cc (concat): Delete. | |
6004 (charNDArray::concat): New methods. | |
6005 * chNDArray.h: Provide decls. | |
6006 | |
6007 * oct-inttypes.h (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): | |
6008 Delete macros. | |
6009 | |
6010 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
6011 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
6012 (OCTAVE_INT_CONCAT_DECL): Delete use of macro. | |
6013 | |
6014 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
6015 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
6016 (OCTAVE_INT_CONCAT_FN): Delete use of macro. | |
6017 | |
6018 * intNDArray.cc (intNDArray<T>::concat): New method. | |
6019 * intNDArray.h: Provide decl. | |
6020 | |
5072 | 6021 2004-11-08 John W. Eaton <jwe@octave.org> |
6022 | |
6023 * oct-inttypes.cc: New file. | |
6024 * Makefile.in (TI_SRC): Add it to the list. | |
6025 * oct-inttypes.h (OCTAVE_US_TYPE1_CMP_OP, OCTAVE_US_TYPE1_CMP_OPS, | |
6026 OCTAVE_SU_TYPE1_CMP_OP, OCTAVE_SU_TYPE1_CMP_OPS, | |
6027 OCTAVE_TYPE1_CMP_OPS, OCTAVE_US_TYPE2_CMP_OP, | |
6028 OCTAVE_US_TYPE2_CMP_OPS, OCTAVE_SU_TYPE2_CMP_OP, | |
6029 OCTAVE_SU_TYPE2_CMP_OPS, OCTAVE_TYPE2_CMP_OPS): | |
6030 New macros for comparison operations. Avoid potential | |
6031 problems with default conversions when comparing signed and | |
6032 unsigned values. | |
6033 | |
5061 | 6034 2004-11-03 John W. Eaton <jwe@octave.org> |
6035 | |
6036 * dMatrix.cc (Matrix::inverse): Return info == -1 for any failure. | |
6037 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
6038 | |
5052 | 6039 2004-10-19 John W. Eaton <jwe@octave.org> |
6040 | |
6041 * Array.cc (assignN): Avoid resizing if assignment will fail. | |
6042 | |
5047 | 6043 2004-10-18 John W. Eaton <jwe@octave.org> |
6044 | |
6045 * Array.cc (assign2): Save result of squeeze operation. | |
6046 Squeeze if ndims is > 2, not if length of RHS vector is > 2. | |
6047 | |
5095 | 6048 2004-10-11 David Bateman <dbateman@free.fr> |
5044 | 6049 |
6050 * oct-fftw.cc (class octave_fftw_planner): Add inplace[2] to | |
6051 flag whether transform in- or out-of-place. | |
6052 (octave_fftw_planner::octave_fftw_planner): Initialize it. | |
6053 (octave_fftw_planner::create_plan): Use it. | |
6054 | |
5039 | 6055 2004-09-24 John W. Eaton <jwe@octave.org> |
6056 | |
6057 * Array.cc (assign2, assignN): If index is empty, allow RHS to be | |
6058 any empty matrix, not just []. | |
6059 | |
5030 | 6060 2004-09-23 John W. Eaton <jwe@octave.org> |
6061 | |
6062 * mx-ops: Include scalar zero value in type definitions. | |
6063 Delete zero information from ops section. | |
6064 * mk-ops.awk: Use type-specific zero info. | |
6065 | |
6066 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, | |
6067 SND_BOOL_OP, NDND_BOOL_OP): Args now include zero values for both | |
6068 LHS and RHS. | |
6069 (MS_BOOL_OPS2, SM_BOOL_OPS2, MM_BOOL_OPS2, NDS_BOOL_OPS2, | |
6070 SND_BOOL_OPS2, NDND_BOOL_OPS2): New macros. | |
6071 (MS_BOOL_OPS, SM_BOOL_OPS, MM_BOOL_OPS, NDS_BOOL_OPS, | |
6072 SND_BOOL_OPS, NDND_BOOL_OPS): Define in terms of 2-zero versions. | |
6073 | |
6074 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const | |
6075 intNDArray<U>&)): Use explicit as_double () conversion in call to | |
6076 tree_to_mat_idx. | |
6077 | |
6078 * oct-inttypes.h (octave_int<T>::operator float): New conversion. | |
6079 (pow): Instead of "if (b_val)", use "if (b_val != zero)". | |
6080 Likewise for the "if (b_val & one)" test. | |
6081 (operator <<, operator >>): Type of retval is octave_int<T1>, not T1. | |
6082 | |
5029 | 6083 2004-09-23 David Bateman <dbateman@free.fr> |
6084 | |
6085 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): | |
6086 New macros. Use them to define mixed intX-double and double-intX ops. | |
6087 | |
5021 | 6088 2004-09-22 Federico Zenith <zenith@chemeng.ntnu.no> |
6089 | |
6090 * DASPK-opts.in, DASRT-opts.in, ODESSA-opts.in: | |
6091 Fix doc string layout to avoid overfull hbox in printed output. | |
6092 | |
5015 | 6093 2004-09-21 John W. Eaton <jwe@octave.org> |
6094 | |
6095 * mach-info.h (octave_mach_info::flt_fmt_native): Delete. | |
6096 * mach-info.cc (octave_mach_info::string_to_float_format): | |
6097 For "native", set actual native format. | |
6098 (octave_mach_info::float_format_as_string): Delete flt_fmt_native case. | |
6099 | |
5008 | 6100 2004-09-17 David Bateman <dbateman@free.fr> |
6101 | |
6102 * CmplxSCHUR.cc (CmplxSCHUR::init): New arg, calc_unitary to make the | |
6103 calculation of the unitary matrix optional. | |
6104 * dbleSCHUR.cc (SCHUR::init): Ditto. | |
6105 * CmplxSCHUR.h, dbleSCHUR.h: Update decls. | |
6106 | |
4998 | 6107 2004-09-15 David Bateman <dbateman@free.fr> |
6108 | |
6109 * oct-sort.h (octave_sort<T>::set_compare (bool (*comp) (T, T))): | |
6110 New function to set the comparison function for the sort. | |
6111 | |
4985 | 6112 2004-09-10 John W. Eaton <jwe@octave.org> |
6113 | |
6114 * lo-mappers.cc (xround): Fix typo. | |
6115 | |
4979 | 6116 2004-09-08 John W. Eaton <jwe@octave.org> |
6117 | |
6118 * Array.h (Array::~Array): Declare virtual. | |
6119 | |
6120 * idx-vector.h (idx_vector::idx_vector): Initialize rep in member | |
6121 initializaion list. Don't set rep->count since the rep | |
6122 constructor does that. | |
6123 | |
4968 | 6124 2004-09-07 John W. Eaton <jwe@octave.org> |
6125 | |
4970 | 6126 * data-conv.cc (oct_data_conv::string_to_data_type): Handle dt_logical. |
6127 (oct_data_conv::data_type_as_string): Likewise. | |
6128 | |
6129 * data-conv.h (oct_data_conv::data_type): Add dt_logical to list. | |
6130 | |
4968 | 6131 * Range.cc (round): Delete unused function. |
6132 | |
6133 * lo-mappers.cc (xround): Rename from round. Change all uses. | |
6134 If HAVE_ROUND, call round, otherwise fake with floor and ceil. | |
6135 | |
6136 * oct-inttypes.h: Include <cmath> here. | |
6137 | |
4964 | 6138 2004-09-03 David Bateman <dbateman@free.fr> |
6139 | |
6140 * boolNDArray.cc (boolNDArray::concat, boolNDArray::insert): | |
6141 New functions for boolean matrix concatenation. | |
6142 * boolNDArray.h: Provide decls. | |
6143 | |
4963 | 6144 2004-09-03 John W. Eaton <jwe@octave.org> |
6145 | |
4964 | 6146 * oct-inttpes.h (OCTAVE_INT_CMP_OP): Convert operarands to double |
6147 to avoid signed/unsigned int comparison problems. | |
6148 | |
6149 * mx-ops: Generate CMP and BOOL ops for mixed integer types and | |
6150 for mixed integer and double types. | |
6151 | |
6152 * mk-ops.awk: Output BIN_OP_DECLS, CMP_OP_DECLS, and BOOL_OP_DECLS | |
6153 separately, and only if needed. | |
6154 | |
4963 | 6155 * oct-inttypes.h (octave_fit_to_range): Use constructor instead of |
6156 static_cast for type conversion. | |
6157 | |
4953 | 6158 2004-09-01 John W. Eaton <jwe@octave.org> |
6159 | |
6160 * oct-inttypes.h (pow, operator +, operator -, operator *, | |
6161 operator /): Handle mixed integer/double ops. If op generates a | |
6162 NaN, set result to 0. | |
6163 (octave_int::operator - (void)): Convert to double, then negate, | |
6164 then fit to range. | |
6165 | |
6166 * mx-ops: Define integer types. Include declarations for mixed | |
6167 integer/double ops. | |
6168 | |
4952 | 6169 2004-08-31 John W. Eaton <jwe@octave.org> |
6170 | |
6171 * oct-inttypes.h (pow): Args now const reference. | |
6172 (octave_int<T>::operator *=, octave_int<T>::operator /=, | |
6173 octave_int<T>::operator <<=, octave_int<T>::operator >>=): | |
6174 New member functions. | |
6175 (OCTAVE_INT_BITSHIFT_OP): Delete macro. | |
6176 (operator >> (const octave_int<T1>& x, const T2& y)): | |
6177 Define in terms of >>=. | |
6178 (operator << (const octave_int<T1>& x, const T2& y)): | |
6179 Define in terms of <<=. | |
6180 (bitshift): Operate on octave_int<T> objects, not the values, so | |
6181 we get proper saturation properties. | |
6182 | |
6183 2004-08-31 David Bateman <dbateman@free.fr> | |
6184 | |
6185 * oct-inttypes.h (pow (constT, T)): New template. | |
6186 | |
6187 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, | |
6188 uint16NDArray.cc, uint32NDArray.cc: Instantiate power function. | |
6189 | |
4949 | 6190 2004-08-31 John W. Eaton <jwe@octave.org> |
6191 | |
6192 * oct-inttypes.h (octave_int::byte_size): New function. | |
6193 | |
4944 | 6194 2004-08-31 John W. Eaton <jwe@octave.org> |
6195 | |
4946 | 6196 * Makefile.in (EXTRAS): Add intNDArray.cc to the list. |
6197 | |
4944 | 6198 * data-conv.h (oct_data_conv::data_type): Include sized types. |
6199 Explicitly number enum elements. | |
6200 | |
6201 * data-conv.cc (oct_data_conv::string_to_data_type (const | |
6202 std::string&, int&, oct_data_conv::data_type&, | |
6203 oct_data_conv::data_type&)): New function. | |
6204 (oct_data_conv::string_to_data_type (const std::string&, int&, | |
6205 oct_data_conv::data_type&)): New function. | |
6206 (oct_data_conv::data_type_as_string): New function. | |
6207 | |
6208 * dMatrix.cc (read_int, do_read, Matrix::read): Delete. | |
6209 (write_int, do_write, Matrix::write): Delete. | |
6210 * dMatrix.h (Matrix::read, Matrix::write): Delete decls. | |
6211 | |
6212 * byte-swap.h: Use template functions and specialization. | |
6213 Change all uses. | |
6214 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
6215 | |
4943 | 6216 2004-08-30 John W. Eaton <jwe@octave.org> |
6217 | |
6218 * oct-inttypes.h (octave_int_fit_to_range): Use template | |
6219 specializations to avoid warnings about signed/unsigned comparisons. | |
6220 | |
6221 2004-08-28 John W. Eaton <jwe@octave.org> | |
6222 | |
6223 * data-conv.cc (do_float_format_conversion (unsigned char *, | |
6224 size_t, int, oct_mach_info::float_format)): New function. | |
6225 (GET_SIZED_INT_TYPE): New macro. | |
6226 (string_to_data_type): Use it to return sized types corresponding | |
6227 to Octave array data types. | |
6228 (strip_spaces): New function. | |
6229 (do_double_format_conversion, do_float_format_conversion): Pass | |
6230 from_fmt and to_fmt. Don't always assume the to_fmt is the native | |
6231 float format. | |
6232 (do_double_format_conversion, | |
6233 IEEE_big_double_to_IEEE_little_double, | |
6234 VAX_D_double_to_IEEE_little_double, | |
6235 VAX_G_double_to_IEEE_little_double, Cray_to_IEEE_little_double, | |
6236 IEEE_little_double_to_IEEE_big_double, | |
6237 VAX_D_double_to_IEEE_big_double, VAX_G_double_to_IEEE_big_double, | |
6238 Cray_to_IEEE_big_double, IEEE_little_double_to_VAX_D_double, | |
6239 IEEE_big_double_to_VAX_D_double, VAX_G_double_to_VAX_D_double, | |
6240 Cray_to_VAX_D_double, IEEE_little_double_to_VAX_G_double, | |
6241 IEEE_big_double_to_VAX_G_double, VAX_D_double_to_VAX_G_double, | |
6242 Cray_to_VAX_G_double): | |
6243 Pass data as void*, not double*. | |
6244 (do_float_format_conversion, IEEE_big_float_to_IEEE_little_float, | |
6245 VAX_D_float_to_IEEE_little_float, | |
6246 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, | |
6247 IEEE_little_float_to_IEEE_big_float, | |
6248 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, | |
6249 Cray_to_IEEE_big_float, IEEE_little_float_to_VAX_D_float, | |
6250 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, | |
6251 Cray_to_VAX_D_float, IEEE_little_float_to_VAX_G_float, | |
6252 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, | |
6253 Cray_to_VAX_G_float): | |
6254 Pass data as void*, not float*. | |
6255 | |
6256 2004-08-27 John W. Eaton <jwe@octave.org> | |
6257 | |
6258 * byte-swap.h (swap_bytes): New template versions, with | |
6259 specializations. | |
6260 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
6261 Change all uses. | |
6262 | |
4940 | 6263 2004-08-24 David Bateman <dbateman@free.fr> |
6264 | |
6265 * chNDArray.cc (concat): Check whether matrix to be inserted is | |
6266 empty instead of checking final matrix. | |
6267 * dNDArray.cc (concat): Likewise. | |
6268 * CNDArray.cc (concat): Likewise. | |
6269 | |
6270 2004-08-23 David Bateman <dbateman@free.fr> | |
6271 | |
6272 * dim-vector.h (dim_vector::concat): Correct incrementation for | |
6273 non-existent dimensions. | |
6274 | |
4938 | 6275 2004-08-09 John W. Eaton <jwe@octave.org> |
6276 | |
6277 * idx-vector.h (idx_vector::idx_vector_rep::tree_to_mat_idx | |
6278 (const octave_int<U>&)): New member function. | |
6279 (idx_vector::idx_vector_rep::tree_to_mat_idx (double, bool&), | |
6280 idx_vector::idx_vector_rep::tree_to_mat_idx (int)): | |
6281 Now member functions instead of static in idx-vector.cc. | |
6282 (idx_vector::idx_vector_rep::idx_vector_rep (const octave_int<U>&), | |
6283 idx_vector::idx_vector_rep::idx_vector_rep (const intNDArray<U>&)): | |
6284 New template constructors. | |
6285 | |
4932 | 6286 2004-08-05 John W. Eaton <jwe@octave.org> |
6287 | |
4933 | 6288 * EIG.cc (EIG::init): Add volatile qualifier to nvr decl. |
6289 | |
4932 | 6290 * intNDArray.cc (intNDArray<T>::operator !, intNDArray<T>::all, |
6291 intNDArray<T>::any): Sprinkle with this-> as needed. | |
6292 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): Likewise. | |
6293 | |
4929 | 6294 2004-08-03 John W. Eaton <jwe@octave.org> |
6295 | |
6296 * Array.cc (Array<T>::squeeze): Do nothing for 2-d arrays. For | |
6297 arrays with more than two dimensions and only one non-singleton | |
6298 dimension, return a column vector. | |
6299 | |
4921 | 6300 2004-07-28 John W. Eaton <jwe@octave.org> |
6301 | |
6302 * oct-cmplx.h (pow (const Complex&, const double&): | |
6303 Convert second arg to complex to avoid libstdc++ bug. | |
6304 | |
4920 | 6305 2004-07-27 John W. Eaton <jwe@octave.org> |
6306 | |
6307 * oct-inttypes.h (bitshift): New arg, MASK. | |
6308 (OCTAVE_INT_BITSHIFT_OP): Bitshift does not saturate. | |
6309 | |
4916 | 6310 2004-07-23 John W. Eaton <jwe@octave.org> |
6311 | |
6312 * Array.cc (Array<T>::reshape): Return *this if no change in size. | |
6313 | |
4915 | 6314 2004-07-23 David Bateman <dbateman@free.fr> |
6315 | |
6316 * Array.cc, Array.h (cat_ra): Delete. | |
6317 * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc | |
6318 (INSTANTIATE_ARRAY_CAT): Delete. | |
6319 | |
6320 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
6321 chNDArray.h, intNDArray.cc, intNDArray.h (cat): Delete. | |
6322 | |
6323 * Array.cc (Array<T>::insert): Copy data in NDArray version. | |
6324 | |
6325 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
6326 chNDArray.h (concat): New function used for concatenation that does | |
6327 an indexed copy of one array into another. | |
6328 | |
6329 * dim-vector.h (concat): New function to concatenate dim_vectors. | |
6330 | |
6331 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
6332 chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for | |
6333 insertion of one NDArray into another. | |
6334 | |
6335 * oct-inttype.cc (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): New | |
6336 macros to define the int/uint concatenation functions. | |
6337 | |
6338 * uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
6339 int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc | |
6340 (OCTAVE_INT_CONCAT_FN): Instantiate the concatenation function . | |
6341 | |
6342 * uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
6343 int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h | |
6344 (OCTAVE_INT_CONCAT_DECL): Declare the int/uint concatentaion | |
6345 functions. | |
6346 | |
4911 | 6347 2004-07-22 David Bateman <dbateman@free.fr> |
6348 | |
6349 * oct-sort.h: Don't include oct-obj.h. | |
6350 | |
6351 * lo-specfun.cc (is_integer_value): New function. | |
6352 (zbesj, zbesi, zbesy): Special case negative integer or half | |
6353 integer orders that cause overflow for small arguments. | |
6354 | |
4909 | 6355 2004-07-12 John W. Eaton <jwe@octave.org> |
6356 | |
6357 * oct-inttypes.h (octave_int<T>::nbits): New function. | |
6358 (bitshift (const octave_int<T>&, int)): New function. | |
6359 | |
4902 | 6360 2004-06-14 John W. Eaton <jwe@octave.org> |
6361 | |
6362 * mx-base.h: Include headers for new int types. | |
6363 | |
6364 * dNDArray.h, dNDArray.cc (NDArray::NDArray (const boolNDArray&), | |
6365 NDArray::NDArray (const charNDArray&)): Delete. | |
6366 (template <class U> explicit NDArray (const intNDArray<U>&)): New | |
6367 constructor. | |
6368 (NDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
6369 | |
6370 * chMatrix.h (CharMatrix::transpose): New forwarding functions for | |
6371 return type conversion. | |
6372 | |
6373 * ComplexNDArray.h, ComplexNDArray.cc | |
6374 (ComplexNDArray::ComplexNDArray (const ArrayN<Complex>&), | |
6375 (ComplexNDArray::ComplexNDArray (const NDArray&), | |
6376 (ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
6377 (ComplexNDArray::ComplexNDArray (const charNDArray&)): Delete. | |
6378 | |
6379 (ComplexNDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
6380 | |
6381 * MArrayN.h: | |
6382 (template <class U> explicit MArrayN<T>::MArrayN (const Array2<U>&), | |
6383 (template <class U> MArrayN<T>::MArrayN (const ArrayN<U>&), | |
6384 (template <class U> explicit MArrayN<T>::MArrayN (const MArray<U>&)): | |
6385 New constructors. | |
6386 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
6387 ArrayN<T>::squeeze): | |
6388 New forwarding functions for return type conversion. | |
6389 | |
6390 * ArrayN.h: | |
6391 (template <class U> explicit ArrayN<T>::ArrayN (const Array2<U>&), | |
6392 (template <class U> explicit ArrayN<T>::ArrayN (const ArrayN<U>&), | |
6393 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&), | |
6394 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&, | |
6395 const dim_vector&)): New constructors. | |
6396 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
6397 ArrayN<T>::transpose): | |
6398 New forwarding functions for return type conversion. | |
6399 | |
6400 * Array.h (template <class U> Array<T>::Array (const Array<U>&)): | |
6401 New constructor. | |
6402 (Array<T>::coerce, Array<T>::byte_size): New functions. | |
6403 | |
6404 * Array-i.cc, MArray-i.cc: Instantiate new integer types. | |
6405 | |
6406 * oct-inttypes.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
6407 int8NDArray.h , intNDArray.h, uint16NDArray.h, uint32NDArray.h, | |
6408 uint64NDArray.h, uint8NDArray.h, int16NDArray.cc, int32NDArray.cc, | |
6409 int64NDArray.cc, int8NDArray.cc, intNDArray.cc, uint16NDArray.cc, | |
6410 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: New files. | |
6411 * Makefile.in: Add them to the appropriate lists. | |
6412 | |
4899 | 6413 2004-06-04 John W. Eaton <jwe@octave.org> |
6414 | |
6415 * mx-inlines.cc (MX_ND_REDUCTION): New arg, RET_ELT_TYPE. Use | |
6416 "RET_ELT_TYPE ()" rather than "false" as fill value for retval | |
6417 resize op. Change all uses. | |
6418 | |
4898 | 6419 2004-06-03 David Bateman <dbateman@free.fr> |
6420 | |
6421 * Array.cc (assignN): Allow magic colon for dimensions lvalue | |
6422 greater than the existing number of dimensions in lvalue. | |
6423 | |
4887 | 6424 2004-04-30 David Bateman <dbateman@free.fr> |
6425 | |
6426 * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): | |
6427 New arg, fill_value. | |
6428 (dim_vector::resize): Allow optional fill_value argument. | |
6429 | |
6430 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
6431 Don't chop trailing dimensions of Array<idx_vector> if there is | |
6432 more than one element in idx_vector. Resize the return value to | |
6433 the size of Array<idx_vector>. | |
6434 | |
6435 * Array-util.cc (short_freeze): Better freeze of last dimension of | |
6436 idx_vector that is shorter than a dim_vector. | |
6437 | |
4882 | 6438 2004-04-23 John W. Eaton <jwe@octave.org> |
6439 | |
6440 * oct-sort.cc: Don't include oct-obj.h. | |
6441 | |
4876 | 6442 2004-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6443 | |
6444 * Array.cc (Array<T>::index2, Array<T>::indexN): | |
6445 Don't set invalid dimensions on return value. | |
6446 | |
4871 | 6447 2004-04-21 John W. Eaton <jwe@octave.org> |
6448 | |
6449 * mx-inlines.cc (MX_ND_REDUCTION): Chop trailing singletons. | |
6450 | |
4850 | 6451 2004-04-06 David Bateman <dbateman@free.fr> |
6452 | |
4870 | 6453 * Array.cc (Array<T>::resize_no_fill (const dim_vector& dv), |
6454 Array<T>::resize_and_fill (const dim_vector& dv, const T& val)): | |
6455 Make their behavior equivalent except for filling vs. not filling. | |
6456 | |
4850 | 6457 * oct-sort.cc: New template class for arbitrary sorting. |
6458 * oct-sort.h: Declaration of sort class. | |
6459 * Makefile: Add them to the appropriate lists. | |
6460 | |
4845 | 6461 2004-04-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6462 | |
6463 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Fix off-by-one error. | |
6464 | |
4844 | 6465 2004-04-02 David Bateman <dbateman@free.fr> |
6466 | |
6467 * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, | |
6468 besselh2, airy, biry, betainc, gammainc, do_bessel): | |
4852 | 6469 New N-d array versions. |
4844 | 6470 (SN_BESSEL, NS_BESSEL, NN_BESSEL): New macros. |
6471 * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, | |
6472 besselh2, airy, biry, betainc, gammainc): Provide decls. | |
6473 | |
6474 * dNDArray.cc (NDArray::min, NDArray::max, min, max): | |
6475 New functions. | |
6476 * dNDArray.h (NDArray::min, NDArray::max, min, max): Provide decls. | |
6477 | |
6478 * CNDArray.cc (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
6479 New functions. | |
6480 * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
6481 Provide decls. | |
6482 | |
4842 | 6483 2004-03-17 David Hoover <jazzdaq@yahoo.com> |
6484 | |
6485 * DASPK.cc (DASPK::do_integrate): Always add n*n elements to the | |
6486 work vector, not just when using a numerical Jacobian. | |
6487 | |
4834 | 6488 2004-03-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6489 | |
4835 | 6490 * so-array.cc (SND_CMP_OP, NDS_CMP_OP, NDND_CMP_OP): |
6491 Omit empty result args. | |
6492 | |
4834 | 6493 * Array.cc (Array<T>::Array (const Array<T>&, const dim_vector&)): |
6494 Move here from Array.h, check that size of array arg is not | |
6495 smaller than the size defined by the new dimensions. | |
6496 | |
4832 | 6497 2004-03-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6498 | |
6499 * Array.cc (Array<T>::index2): Allow result to be N-d if indexing | |
6500 a scalar or vector with an N-d array. | |
6501 | |
4826 | 6502 2004-03-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
6503 | |
4828 | 6504 * Array.cc (Array<T>::index2): If scalar or vector is indexed by |
6505 matrix, return object that is the same size as the index. | |
6506 | |
4826 | 6507 * mx-op-defs.h (NDND_CMP_OP, MM_CMP_OP): Require dimensions to agree. |
6508 Eliminate MT_RESULT args. Return value is always size of args. | |
6509 (MS_CMP_OP, SM_CMP_OP, NDS_CMP_OP, SND_CMP_OP): | |
6510 Eliminate EMPTY_RESULT arg. | |
6511 Return value is always size of matrix or N-d array arg. | |
6512 (TBM, FBM, NBM): Delete unused macros. | |
6513 | |
4821 | 6514 2004-03-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
6515 | |
6516 * Array.cc (Array<T>::maybe_delete_elements): Return immediately | |
6517 if all LHS dimensions are zero. For one index case, freeze and | |
6518 sort idx_vec before checking length, and do nothing if | |
6519 num_to_delete is zero. | |
4822 | 6520 (Array<T>::maybe_delete_elements_2): Omit Fortran-indexing warning. |
4821 | 6521 |
4816 | 6522 2004-03-04 David Bateman <dbateman@free.fr> |
6523 | |
6524 * dNDArray.cc (NDArray::ifourier): Arg is int, not const int. | |
6525 * CNDArray.cc (ComplexNDArray::ifourier): Likewise. | |
6526 | |
4811 | 6527 2004-03-03 Hans Ekkehard Plesser <hans.ekkehard.plesser@nlh.no> |
6528 | |
6529 * base-lu.cc (base_lu<>::L): Check bounds before setting diagonal | |
6530 element. | |
6531 | |
6532 2004-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6533 | |
6534 * Range.h (Range::Range): Add cache to member initialization list. | |
6535 (Range::clear_cache): New private function. | |
6536 | |
6537 * Range.h (Range::set_base, Range::set_limit, Range::set_inc): | |
6538 Use clear cache. Don't do anything if range does not change. | |
6539 * Range.cc (Range::sort): Likewise. | |
6540 | |
4810 | 6541 2004-03-02 Paul Kienzle <pkienzle@users.sf.net> |
6542 | |
6543 * Range.cc (Range::matrix_value): Cache result. | |
6544 (Range::sort): Clear cache. | |
6545 * Range.h (Range::cache): New data member. | |
6546 (Range::set_base, Range::set_limit, Range::set_inc): Clear cache. | |
6547 (Range::print_range): Delete. | |
4808 | 6548 |
6549 2004-03-02 David Bateman <dbateman@free.fr> | |
6550 | |
6551 * oct-fftw.cc: Only two versions of plan, and avoid endless | |
6552 changes between them. Faster for small fft's. | |
6553 (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): | |
6554 New member variables. | |
6555 (octave_fftw_planner::ialign, octave_fftw_planner::oalign, | |
6556 octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. | |
6557 Change all uses. | |
6558 (CHECK_SIMD_ALIGNMENT): New macro. | |
6559 (octave_fftw_planner::create_plan): Use it. | |
6560 | |
4806 | 6561 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> |
6562 | |
6563 * Array.cc (Array<T>::insertN): Eliminate N-d indexing. | |
6564 | |
6565 * mx-inlines.cc (MX_ND_CAT): Delete macro. | |
6566 | |
6567 * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. | |
6568 * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. | |
6569 * chNDArray.cc (charNDArray<T>::cat): Ditto. | |
6570 * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. | |
6571 | |
6572 * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. | |
6573 * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. | |
6574 | |
4800 | 6575 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
6576 | |
4802 | 6577 * oct-rl-edit.c (octave_rl_set_startup_hook, |
6578 octave_rl_get_startup_hook, octave_rl_set_event_hook, | |
6579 octave_rl_get_event_hook): Omit casts. | |
6580 * oct-rl-edit.h (rl_startup_hook_fcn_ptr, rl_event_hook_fcn_ptr): | |
6581 Return value for function pointer typedef is now int. | |
6582 * cmd-edit.h (command_editor::startup_hook_fcn, | |
6583 command_editor::event_hook_fcn): Likewise. | |
6584 * cmd-hist.cc, cmd-hist.h (command_history::goto_mark, | |
6585 command_history::do_goto_mark, gnu_history::do_goto_mark): | |
6586 Return type is now int. Return 0. | |
6587 | |
4800 | 6588 * EIG.cc (EIG::init, EIG::symmetric_init): |
6589 Query Lapack for workspace size. | |
6590 | |
4796 | 6591 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6592 | |
6593 * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): | |
6594 Fix thinko in extending dimensions. | |
6595 | |
4791 | 6596 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6597 | |
6598 * Range.cc (Range::matrix_value, Range::min, Range::max): | |
6599 Don't compute values beyond the limits of the range. | |
6600 (operator << (std::ostream&, const Range&)): Likewise. | |
6601 | |
4786 | 6602 2004-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6603 | |
4788 | 6604 * oct-fftw.cc (octave_fftw_planner::create_plan): |
6605 Cast IN and OUT args to ptrdiff_t instead of long before masking. | |
6606 From Paul Kienzle <pkienzle@users.sf.net>. | |
6607 | |
4786 | 6608 * Array.cc (Array<T>::insertN (const Array<T>&, int, int)): |
6609 Rename from Array<T>::insert. | |
6610 (Array<T>::insert2 (const Array<T>&, int, int)): | |
6611 Reinstate old Array<T>::insert function under this name. | |
6612 (Array<T>::insert (const Array<T>&, int, int)): | |
6613 New function. Dispatch to insert2 or insertN as appropriate. | |
6614 | |
4785 | 6615 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6616 | |
6617 * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): | |
6618 Sprinkle with OCTAVE_QUIT. | |
6619 | |
5095 | 6620 2004-02-16 David Bateman <dbateman@free.fr> |
4773 | 6621 |
6622 * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): | |
6623 Add support for FFTW 3.x. Include the ability to | |
6624 use the real to complex transform for fft's of real matrices | |
6625 (octave_fftw_planner::create_plan2d): Delete. | |
6626 (octave_fftw::fft2d): Delete. | |
6627 (convert_packcomplex_1d, convert_packcomplex_Nd): | |
6628 New static functions. | |
6629 * oct-fftw.h: Update decls. | |
6630 | |
6631 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
6632 Matrix::fourier2d, Matrix::ifourier2d): FFT's use real to complex | |
6633 transforms. 1D FFT of a matrix done as single call rather than | |
6634 loop. Update for FFTW 3.x | |
6635 * CMatrix.cc (ComplexMatrix::fourier, ComplexMatrix::ifourier, | |
6636 ComplexMatrix::fourier2d, ComplexMatrix::ifourier2d): 1D fft of a | |
6637 matrix done as single call rather than loop. Update for FFTW 3.x. | |
6638 | |
6639 * dNDArray.cc (NDArray::fourier, NDArray::ifourier, | |
6640 NDArray::fourierNd, NDArray::ifouriourNd): New fourier transform | |
6641 functions for Nd arrays. | |
6642 * dNArray.h Provide decls. | |
6643 * CNDArray.cc (ComplexNDArray::fourier, ComplexNDArray::ifourier, | |
6644 ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New | |
6645 fourier transform functions for complex Nd arrays. | |
6646 * CNArray.h: Provide decls. | |
6647 | |
4765 | 6648 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> |
6649 | |
6650 * Array.cc (Array<T>::insert (const Array<T>&, int, int)): | |
6651 Make it work for N-d arrays. | |
6652 | |
6653 * ArrayN.h (ArrayN<T>::insert (const ArrayN<T>& a, int, int)): | |
6654 New function. | |
6655 | |
6656 * CNDArray.cc (ComplexNDArray::insert (const NDArray&, int, int), | |
6657 ComplexNDArray::insert (const ComplexNDArray&, int, int)): | |
6658 New functions. | |
6659 * CNDArray.h: Provide decls. | |
6660 | |
4759 | 6661 2004-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6662 | |
4760 | 6663 * Makefile.in (LINK_DEPS): Always define. |
6664 | |
4759 | 6665 * Array.cc (Array<T>::squeeze): Always return an array with at |
6666 least two dimensions. | |
6667 | |
4758 | 6668 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
6669 | |
6670 * mx-inlines.cc (MX_ND_CAT): New macro. | |
6671 * dNDArray.cc (NDArray::cat): New function. | |
6672 * dNDArray.h: Provide decls. | |
6673 * CNDArray.cc (complexNDArray::cat): New function. | |
6674 * CNDArray.h: Provide decls. | |
6675 * chNDArray.cc (charNDArray::cat): New function. | |
6676 * chNDArray.h: Provide decls. | |
6677 | |
4756 | 6678 2004-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
6679 | |
6680 * Array.cc (maybe_delete_elements_2): Allow X(n) = [] for 2-d X. | |
6681 (Array<T>assign2): Also call maybe_delete_elements for single | |
6682 index when rows and columns or LHS are both greater than 1. | |
6683 | |
4755 | 6684 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
6685 | |
6686 * Array.cc (Array<T>::maybe_delete_elements): | |
6687 Check for index out of bounds. Handle one index. | |
6688 | |
6689 * Array.cc (Array<T>::indexN): Use dim_vector (0, 0) instead of | |
6690 dim_vector (0) to create empty return vector. | |
6691 | |
4749 | 6692 2004-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6693 | |
6694 * Array.cc (Array<T>::assignN): Don't crash if trying to resize a | |
6695 non-empty LHS when the number of lhs dimensions is less than the | |
6696 number of indices. Detect error if attempting to resize non-empty | |
6697 LHS with colon indices. | |
6698 | |
4745 | 6699 2004-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6700 | |
4747 | 6701 * Array.cc (Array<T>::resize_and_fill): Don't bother to assign any |
6702 values unless the length of the new array is greater than 0. | |
6703 (Array<T>::resize_no_fill): Likewise. | |
6704 | |
6705 * Array-util.cc (index_in_bounds): Also return false if ra_idx(i) | |
6706 is equal to dimensions(i). | |
6707 | |
6708 * Array-util.h, Array-util.cc (equal_arrays, any_zero_len, | |
6709 get_zero_len_size, number_of_elements): | |
6710 Delete unused functions. | |
6711 | |
6712 * Array-util.cc (get_ra_idx): Use dim_vector::numel instead of | |
6713 number_of_elements function. | |
6714 * Array.cc (Array<T>::indexN): Likewise. | |
6715 | |
6716 * Array.cc (Array<T>::indexN): Use dim_vector::operator == instead | |
6717 of equal_arrays function. | |
6718 (Array<T>::index, Array<T>::indexN, Array<T>::assignN) Use | |
6719 dim_vector::any_zero instead of any_zero_len function. | |
6720 | |
6721 * Array.cc (Array<T>::assignN): Eliminate special case for empty index. | |
6722 Don't skip reshaping and resizing if RHS is empty. | |
6723 | |
4746 | 6724 * Array.cc (Array<T>::assignN): Simplify loop for array assignment. |
6725 Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. | |
4747 | 6726 Delete unused variables is_colon and is_colon_equiv. |
4746 | 6727 Correctly resize for expressions like x(:,:,2) = ones(3,3) when |
6728 LHS is not yet defined. | |
4745 | 6729 Error for resizing if number of indices is less than number of LHS |
6730 dimensions. | |
6731 | |
4746 | 6732 * Array.cc (Array<T>::maybe_delete_elements): Maybe warn about |
6733 Fortran-style indexing. | |
6734 | |
4743 | 6735 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
6736 | |
6737 * Array.cc (Array<T>::assignN): Simplify. | |
6738 Allow assignments to succeed if number if indices is less than the | |
6739 number of RHS dimensions. | |
6740 | |
4738 | 6741 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
6742 | |
4741 | 6743 * Array.cc (Array<T>::maybe_delete_elements): Reshape LHS |
6744 when number of indices is less than number of dimensions. | |
6745 | |
6746 * Array.cc (Array<T>::assignN, Array<T>::maybe_delete_elements): | |
6747 Remove unsued variable lhs_inc. | |
6748 | |
4740 | 6749 * Array.cc (Array<T>::maybe_delete_elements): Declare idx_is_colon |
6750 and idx_is_colon_equiv Array<int> instead of dim_vector. | |
6751 | |
6752 * Array.cc (Array<T>::assignN): Compute new dims in a cleaner way. | |
6753 | |
4738 | 6754 * Array.cc (Array<T>::index): Check for frozen_lengths.length () |
6755 == n_dims before checking to see if all indices are colon_equiv. | |
6756 | |
4736 | 6757 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
6758 | |
6759 * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for | |
6760 deleting elements. | |
4737 | 6761 (Array<T>::index): Remove trailing singletons in ra_idx, but leave |
6762 at least ndims elements. | |
4736 | 6763 |
4735 | 6764 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
6765 | |
6766 * Array.cc (Array<T>::assignN): Accept assignment of a vector | |
6767 oriented differently from the index. | |
6768 | |
6769 * dim-vector.h (dim_vector::squeeze): Return value always has at | |
6770 least two dimensions. | |
6771 | |
4733 | 6772 2004-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
6773 | |
4735 | 6774 * dim-vector.h (dim_vector::squeeze): New function. |
6775 (Array<T>::assignN): Use it instead of chop_trailing_singltons for | |
6776 deciding whether the assignment conforms. | |
6777 | |
4733 | 6778 * Array.cc (Array<T>::assignN): Simplify dimension check by |
6779 comparing rhs_dims and frozen_len sans trailing singletons. | |
6780 | |
4732 | 6781 2004-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6782 | |
6783 * idx-vector.cc (tree_to_mat_idx): New arg, conversion_error. | |
6784 Call error handler and return conversion_error == true if arg is | |
6785 not integer. | |
6786 (IDX_VEC_REP::idx_vector_rep): Exit early if conversion_error. | |
6787 | |
4730 | 6788 2004-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6789 | |
6790 * boolNDArray.h (boolNDArray::boolNDArray): Declare dim_vector | |
6791 reference arg const. | |
6792 | |
6793 2004-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6794 | |
6795 * Array-flags.cc: Include Array-flags.h, not Array.h. Doh. | |
6796 | |
4729 | 6797 2004-01-30 Jakub Bogusz <qboosh@pld-linux.org> |
6798 | |
6799 * Array-flags.h (liboctave_wfi_flag, liboctave_wrore_flag): | |
6800 Now bool, to match definition in Array-flags.cc. | |
6801 | |
4725 | 6802 2004-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6803 | |
4726 | 6804 * file-ops.cc: Include <vector> instead of <memory> for new |
6805 definition of OCTAVE_LOCAL_BUFFER. | |
6806 | |
4725 | 6807 * EIG.cc, EIG.h (EIG::init, EIG::symmetric_init, EIG::hermitian_init): |
6808 New arg, calc_eigenvectors. | |
6809 * EIG.h (EIG:EIG): New optional arg, calc_eigenvectors. | |
6810 Based on patch from David Bateman <dbateman@free.fr>. | |
6811 | |
4716 | 6812 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6813 | |
6814 * Array.cc (Array<T>::assign2, Array<T>::assignN): | |
6815 For X(I) = RHS, don't restrict I to fewer elements than X. | |
6816 | |
6817 * Array.cc (Array<T>::assign2): Simplify indexing for X(I) = RHS case. | |
6818 | |
4711 | 6819 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
6820 | |
4714 | 6821 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): |
6822 Simplify calculation of number of elements in retval. | |
6823 | |
4711 | 6824 * Array.cc (Array<T>::assignN): Eliminate unnecessray code for |
6825 filling when RHS is scalar and dimension lengths agree. | |
6826 | |
4710 | 6827 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6828 | |
4713 | 6829 * Makefile.in (distclean): Remove mx-ops.h, $(MX_OP_INC), |
6830 $(VX_OP_INC), $(MX_OP_SRC), $(VX_OP_SRC), and $(OPTS_INC). | |
4710 | 6831 |
4707 | 6832 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
6833 | |
4709 | 6834 * Array.cc (Array<T>::resize_and_fill): Correctly copy old elements. |
6835 (Array<T>::assign2): Check for RHS dimensions larger than 2. | |
4707 | 6836 |
4702 | 6837 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> |
6838 | |
4703 | 6839 * Array.h (Array<T>::chop_trailing_singletons): New function. |
6840 * Array.cc (Array<T>::assignN): Use it on LHS. | |
6841 | |
6842 * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. | |
4702 | 6843 Retrieve scalar element by passin 0 instead of an index array. |
4703 | 6844 Check for singleton dimensions where RHS is matrix or higher dimension. |
6845 Make sure index is in bounds. | |
4702 | 6846 |
4698 | 6847 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
6848 | |
6849 * lo-ieee.cc (octave_ieee_init): Ensure that octave_Inf, | |
6850 octave_NaN, and octav_NA values are always initialized. Check | |
6851 floating point format, not HAVE_ISINF, HAVE_FINITE, or HAVE_ISNAN | |
6852 to decide whether to do IEEE initialization. | |
6853 | |
4687 | 6854 2004-01-06 David Bateman <dbateman@free.fr> |
6855 | |
6856 * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, | |
6857 ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, | |
6858 ComplexNDArray::too_large_for_float): New functions | |
6859 | |
6860 * CNDArray.cc (operator <<, operator >>): New IO operators. | |
6861 * CNDArray.h: Provide decls. | |
6862 * dNDArray.cc (operator <<, operator >>): New IO operators. | |
6863 * dNDArray.h: Provide decls. | |
6864 | |
4673 | 6865 2003-12-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6866 | |
4674 | 6867 * mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since |
6868 they are already defined in boolNDArray.cc. | |
6869 | |
4673 | 6870 * Array-util.cc (get_zero_len_size): Delete. |
6871 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
6872 Handle zero-length result dimensions the same as empty original | |
6873 indices. | |
6874 | |
6875 2003-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6876 | |
6877 * dim-vector.h (dim_vector::chop_trailing_singleton_dims, | |
6878 dim_vector::dim_vector_rep::chop_trailing_singleton_dims): | |
6879 New functions. | |
6880 * Array.cc (ArrayN<T>::indexN): Use it. | |
6881 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): Likewise. | |
6882 | |
4669 | 6883 2003-11-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6884 | |
6885 * boolNDArray.cc: Define BOOL ops. Define mixed CMP ops. | |
6886 * boolNDArray.h: Declare BOOL ops. Declare mixed CMP ops. | |
6887 | |
6888 2003-11-25 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6889 | |
6890 * mk-ops.awk: Also emit #include "Array-util.h". | |
6891 | |
6892 * mx-ops: Add bool, boolMatrix, and boolNDarray types. | |
6893 Add bnda x bnda, b x bnda, and bnda x b ops. | |
6894 | |
6895 * MArray-misc.cc: Delete. | |
6896 * Makefile.in (MATRIX_SRC): Remove it from the list. | |
6897 | |
6898 * Array-util.h, Array-util.cc (gripe_nonconformant): Move here from | |
6899 MArray.h, MArray2.h, MArrayN.h, and MArray-misc.cc. | |
6900 | |
4655 | 6901 2003-11-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
6902 | |
4663 | 6903 * dbleQR.cc (QR::init): Use separate pwork pointers. |
6904 * CmplxQR.cc (ComplexQR::init): Likewise. | |
6905 | |
6906 * oct-group.cc (octave_group::getgrnam): Pass correct args to | |
6907 two-arg getgrnam version. | |
6908 | |
4657 | 6909 * Array.cc (assignN): Allow single indexing to work. |
4661 | 6910 (Array<T>::range_error (const char*, const Array<int>&)): |
6911 Report index values. | |
6912 | |
6913 * Array.cc (Array<T>::index): Delete unused arg names. | |
4662 | 6914 * ODESSA.cc (odessa_j): Likewise. |
6915 * DASRT.cc (ddasrt_f, ddasrt_g): Likewise. | |
6916 * DASPK.cc (ddaspk_psol): Likewise. | |
6917 * lo-mappers.cc (imag): Likewise. | |
4663 | 6918 * Array-util.cc (get_zero_len_size): Likewise. |
6919 * kpse.cc (path_search, path_find_first_of): Likewise. | |
6920 * cmd-edit.cc (do_generate_filename_completions): Likewise. | |
4656 | 6921 |
4655 | 6922 * dim-vector.h (dim_vector::all_ones): New function. |
6923 | |
4646 | 6924 2003-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6925 | |
4653 | 6926 * idx-vector.h (idx_vector::orig_empty): Check orig_dims for |
6927 zeros, not orig_rows or orig_columns. | |
6928 (idx_vector::idx_vector_rep::orig_rows): Define using orig_dims. | |
6929 (idx_vector::idx_vector_rep::orig_columns): Likewise. | |
6930 | |
6931 * idx-vector.cc (idx_vector::idx_vector_rep::orig_nr, | |
6932 (idx_vector::idx_vector_rep::orig_nc): Delete. | |
6933 | |
6934 * idx-vector.cc (idx_vector::idx_vector_rep): | |
6935 Use initialization lists for constructors. | |
6936 | |
4651 | 6937 * Array.cc (Array<T>::indexN): Correctly handle single colon index. |
6938 Omit special case for ra_idx.capacity () == 1. | |
6939 Always allow single index for matrix args with optional warning. | |
6940 | |
4650 | 6941 * idx-vector.h, idx-vector.cc: Convert boolMatrix functions to use |
6942 boolNDArray. Likewise, convert Matrix functions to use NDArray. | |
6943 | |
4648 | 6944 * Array-so.cc: New file. Move instantiations here from so-array.h. |
6945 * Makefile.in (TI_SRC): Add it to the list. | |
6946 | |
4646 | 6947 * MArray-defs.h (DO_VS_OP2, DO_VV_OP2): Accept args for element |
6948 type and the names of the left and right operands. Change all uses. | |
6949 | |
6950 * so-array.cc, so-array.h: New files. Move streamoff_array here | |
6951 from src/ov-streamoff.h and src/ov-streamoff.cc. | |
6952 | |
4645 | 6953 2003-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6954 | |
6955 * MArrayN.cc (operator -=, operator +=): Check dimensions, not | |
6956 just length. | |
6957 | |
6958 * Array2.h, Array3.h, DiagArray2.h, DiagArray2.cc, MDiagArray2.h, | |
6959 ArrayN.h: Add this-> or Base:: qualifiers for references to | |
6960 non-dependent member functions and data as needed. | |
6961 | |
6962 * DiagArray2.h, DiagArray2.cc: Delete unused code. | |
6963 | |
6964 * Array2.h (Array2<T>::operator =): Don't copy dimensions here. | |
6965 * Array3.h (Array3<T>::operator =): Likewise. | |
6966 * DiagArray2.h (DiagArray2<T>::operator =): Likewise. | |
6967 Include Array.h, not Array2.h. | |
6968 | |
4634 | 6969 2003-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
6970 | |
4636 | 6971 * str-vec.cc (list_in_columns): Fix previous change. |
6972 | |
4635 | 6973 * dim-vector.h (dim_vector::num_ones): New function. |
6974 * Array.cc (maybe_delete_elements): Use it instead of | |
6975 num_ones (const Array<int>&). | |
6976 | |
6977 * Array.cc (assignN): Omit dubious check of singleton dimensions. | |
6978 | |
4634 | 6979 * dNDArray.cc (NDArray::all_elements_are_int_or_inf_or_nan, |
6980 NDArray::any_element_is_inf_or_nan, NDArray::too_large_for_float): | |
6981 New functions. | |
6982 * dNDArray.h: Provide decls. | |
6983 | |
6984 * dMatrix.h (Matrix::any_element_is_negative, | |
6985 Matrix::any_element_is_inf_or_nan, Matrix::too_large_for_float, | |
6986 Matrix::all_elements_are_int_or_inf_or_nan, Matrix::all_integers): | |
6987 Simplify. | |
6988 | |
6989 * dNDArray.cc (NDArray::abs): Make it work for N-d arrays. | |
6990 * CNDArray.cc (ComplexNDArray::abs): Likewise. | |
6991 | |
6992 * dNDArray.cc (real, imag): New functions. | |
6993 * dNDArray.h: Provide decls. | |
6994 | |
4630 | 6995 2003-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6996 | |
6997 * Makefile.in (TEMPLATE_SRC): Move MArrayN.cc here from MATRIX_SRC. | |
6998 | |
4625 | 6999 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
7000 | |
7001 * Array.h (Array<T>::resize (int, const T&)): Reinstate. | |
7002 * MArray.h (resize): Delete. | |
7003 * MArray2.h (resize): Delete. | |
7004 * DASRT.cc (DASRT::integrate): Use resize, not resize_and_fill. | |
7005 * ODESSA (ODESSA::integrate): Likewise. | |
7006 | |
4616 | 7007 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7008 | |
7009 * Makefile.in (dist): Depend on stamp-prereq. | |
7010 | |
4605 | 7011 2003-11-12 John Eaton <jwe@bevo.che.wisc.edu> |
7012 | |
7013 * mach-info.c (oct_mach_info::init_float_format) [CRAY]: | |
7014 Kluge to make it work. | |
4604 | 7015 |
7016 * lo-ieee.cc (octave_ieee_init): Set octave_Inf, octave_NaN, and | |
7017 octave_NA to DBL_MAX if native float format is vaxd, vaxg, or cray. | |
7018 | |
7019 * cmd-edit.cc (gnu_readline::do_generate_filename_completions, | |
7020 default_command_editor::do_generate_filename_completions, | |
7021 command_editor::generate_filename_completions): New functions. | |
7022 * cmd-edit.h: Provide decls. | |
7023 * oct-rl-edit.c (octave_rl_filename_completion_function): New | |
7024 function. | |
7025 * oct-rl-edit.h: Provide decl. | |
7026 | |
4593 | 7027 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7028 | |
4594 | 7029 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY_AND_ASSIGN, |
7030 INSTANTIATE_ARRAY): New macros. | |
7031 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
7032 Array-idx-vec.cc, Array-s.cc, Array-str.cc, ODESSA.cc: Use them. | |
7033 | |
4593 | 7034 * Array.h (Array<T>::ipermute): New function. |
7035 | |
7036 2003-11-11 Petter Risholm <risholm@stud.ntnu.no> | |
7037 | |
7038 * Array.cc (Array<T>::permute): New function. | |
7039 * Array.h: Provide decl. | |
7040 | |
7041 * Array-util.cc (calc_permutated_idx): New function. | |
7042 * Array-util.h: Provide decl. | |
7043 | |
4587 | 7044 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
7045 | |
4592 | 7046 * Array.cc (Array<T>::index2): Return value has orientation of |
7047 indexed value if indexing a vector with a bool matrix. | |
7048 | |
4589 | 7049 * ArrayN.h (ArrayN<T>::get_size): Delete. |
7050 | |
4588 | 7051 * Array.cc, ArrayN.cc, dNDArray.cc, CNDArray.cc, boolNDArray.cc, |
7052 chNDArray.cc: Include Array-util.h instead of ArrayN-inline.h. | |
7053 | |
7054 * ArrayN-inline.h: Delete. | |
7055 * Array-util.h, Array-util.cc: New files, from ArrayN-inline.h. | |
7056 * Makefile.in: Fix the appropriate lists. | |
7057 | |
4587 | 7058 * Array.cc, Array.h, ArrayN.h, CMatrix.cc, CNDArray.h, |
7059 CRowVector.cc, CmplxQR.cc, CollocWt.h, DASPK.h, DASRT.h, DASSL.h, | |
7060 FEGrid.cc, LP.h, LSODE.h, MArrayN.h, ODE.h, ODES.h, ODESSA.cc, | |
7061 boolNDArray.h, chNDArray.h, dMatrix.cc, dNDArray.h, dRowVector.cc, | |
7062 dbleQR.cc, kpse.cc, oct-rl-hist.c, str-vec.cc, str-vec.h: | |
7063 Avoid -Wshadow warnings. | |
7064 | |
7065 2003-11-08 John Eaton <jwe@bevo.che.wisc.edu> | |
4585 | 7066 |
7067 * Array.h (Array<T>::nil_rep): Qualify return type with typename. | |
7068 | |
7069 * mk-ops.awk: Delete elements of bool_headers array individually. | |
7070 | |
7071 2003-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7072 | |
7073 * Array.cc (maybe_delete_elements): Rename arg idx to ra_idx. | |
7074 | |
4584 | 7075 2003-10-31 Petter Risholm <risholm@stud.ntnu.no> |
7076 | |
7077 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): New macro. | |
7078 | |
7079 * CNDArray.cc, CNDArray.h (ComplexNDArray::cumsum, | |
7080 ComplexNDArray::cumprod): Return ComplexNDArray. Handle N-d arrays. | |
7081 * dNDArray.cc, dNDArray.h (NDArray::cumsum, NDArray::cumprod): | |
7082 Return NDArray. Handle N-d arrays. | |
7083 | |
4575 | 7084 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
7085 | |
4583 | 7086 * LSODE.cc (LSODE::do_integrate): Avoid name conflict on systems |
7087 that upcase Fortran names by calling dlsode instead of lsode. | |
7088 | |
7089 * ODESSA.cc (ODESSA::do_integrate): Avoid name conflict on systems | |
7090 that upcase Fortran names by calling dodessa instead of odessa. | |
7091 | |
4577 | 7092 * file-ops.cc (file_ops::symlink): Cope with systems that expect |
7093 non-const args for symlink system call. | |
7094 (file_ops::readlink): Likewise, for readlink. | |
7095 | |
4575 | 7096 * DASRT.cc (DASRT::integrate): Fix typo in Fortran function name. |
7097 | |
4574 | 7098 2003-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
7099 | |
7100 * mach-info.h (oct_mach_info): Prefix enum elements with flt_fmt_. | |
7101 Change all uses. | |
7102 | |
4569 | 7103 2003-10-29 Petter Risholm <risholm@stud.ntnu.no> |
7104 | |
7105 * dNDArray.cc (NDArray::cumprod, NDArray::cumsum, NDArray::prod, | |
7106 NDArray::sum, NDArray::sumsq, NDArray::abs): New functions. | |
7107 * dNDArray.h: Provide decls. | |
7108 * CNDArray.cc (ComplexNDArray::cumprod, ComplexNDArray::cumsum, | |
7109 ComplexNDArray::prod, ComplexNDArray::sum, ComplexNDArray::sumsq, | |
7110 ComplexNDArray::abs): New functions. | |
7111 * CNDArray.h: Provide decls. | |
7112 | |
7113 * mx-inlines.cc (MX_ND_REDUCTION): Rename from MX_ND_ANY_ALL. | |
7114 Generalize to handle other reduction operations. | |
7115 (MX_ND_REAL_OP_REDUCTION, MX_ND_COMPLEX_OP_REDUCTION, | |
7116 MX_ND_ALL_ANY_REDUCTION): New macros. | |
7117 | |
4565 | 7118 2003-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7119 | |
4567 | 7120 * Array.cc (Array<T>::reshape): New function. |
7121 * Array.h: Provide decl. | |
7122 | |
7123 * dim-vector.h (dim_vector::numel): New function. | |
7124 | |
4565 | 7125 * dim-vector.h (dim_vector_rep::dim_vector_rep (int, const |
7126 dim_vector&)): Correctly handle case of n < dv->ndims. | |
7127 | |
4559 | 7128 2003-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
7129 | |
7130 * dim-vector.h (dim_vector::any_zero): New function. | |
7131 (dim_vector::str): New default arg, sep. | |
7132 | |
7133 * Array.h (Array<T>::numel): New function. | |
7134 | |
4556 | 7135 2003-10-27 Petter Risholm <risholm@stud.ntnu.no> |
7136 | |
7137 * mx-inlines.cc (MX_ND_ALL_EXPR, MX_ND_ANY_EXPR, | |
7138 MX_ND_ALL_EVAL, MX_ND_ANY_EVAL, MX_ND_ALL_ANY): New macros. | |
7139 * dNDArray.h (NDArray::all, NDArray::any): Return type now boolNDArray. | |
7140 * CNDArray.h (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
7141 * boolNDArray.h (boolNDArray::all, boolNDArray::any): Likewise. | |
7142 * chNDArray.h (charNDArray::all, charNDArray::any): Likewise. | |
7143 * dNDArray.cc (NDArray::all, NDArray::any): Make them work. | |
7144 * CNDArray.cc (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
7145 * boolNDArray.cc (boolNDArray::all, boolNDArray::any): Likewise. | |
7146 * chNDArray.cc (charNDArray::all, charNDArray::any): Likewise. | |
7147 | |
4552 | 7148 2003-10-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
7149 | |
4553 | 7150 * Array.cc (Array<T>::resize_and_fill): Allow number of dimensions |
7151 to change. From Petter Risholm <risholm@stud.ntnu.no>. | |
7152 | |
4552 | 7153 * oct-rand.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, |
7154 CmplxAEPBAL.cc CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
7155 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, | |
7156 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, ODESSA.cc, | |
7157 Quad.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
7158 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
7159 dbleSCHUR.cc, dbleSVD.cc, lo-specfun.cc: | |
7160 Use new F77 arg macros in declarations of external Fortran | |
7161 subroutines and for calling them. | |
7162 | |
4548 | 7163 2003-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
7164 | |
7165 * Array.cc (Array<T>::resize_no_fill (const dim_vector&)): | |
7166 Allow number of dimensions to change. | |
7167 (Array<T>::resize_no_fill (int, int)): Require ndims to be 0 or 2. | |
7168 (Array<T>::resize_and_fill (int, int, const T&)): Likewise. | |
7169 (Array<T>::resize_no_fill (int, int, int)): Require ndims to be 0 or 3. | |
7170 (Array<T>::resize_and_fill (int, int, int, const T&)): Likewise. | |
7171 (Array<T>::transpose): Require ndims to be 2. | |
7172 (Array<T>::index2): Likewise. | |
7173 (Array<T>::index (idx_vector&, idx_vector&, int, const T&)): Likewise. | |
7174 (Array<T>::maybe_delete_elements_2): Likewise. | |
7175 (Array<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Likewise. | |
7176 (Array<T>::index1): Use resize_and_fill. | |
7177 (MAYBE_RESIZE_ND_DIMS): Likewise. | |
7178 | |
7179 * ODESSA.cc (ODESSA::integrate): Use resize_and_fill for x_s_out. | |
7180 | |
7181 * MArray2.h (MArray2<T>::resize (int, int)): New function. | |
7182 (MArray2<T>::resize (int, int, const T&)): New function. | |
7183 | |
7184 * MArray.h (MArray<T>::resize (int)): New function. | |
7185 (MArray<T>::resize (int, const T&)): New function. | |
7186 | |
7187 * DASRT.cc (DASRT::integrate): Use resize_and_fill for jroot. | |
7188 | |
7189 * DASPK-opts.in: Use single-arg resize for initial condition | |
7190 heuristics. | |
7191 | |
7192 * dim-vector.h (class dim_vector): Now reference counted. | |
7193 (dim_vector_rep::elem): Use assert to check that index is in bounds. | |
7194 | |
4544 | 7195 2003-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7196 | |
4545 | 7197 * Array.cc (Array<T>::squeeze): Delete redundant retval decl. |
7198 | |
4544 | 7199 * mx-cdm-cm.cc, mx-cdm-cm.h, mx-cdm-cs.cc, mx-cdm-cs.h, |
7200 mx-cdm-dm.cc, mx-cdm-dm.h, mx-cdm-m.cc, mx-cdm-m.h, mx-cdm-s.cc, | |
7201 mx-cdm-s.h, mx-cm-cdm.cc, mx-cm-cdm.h, mx-cm-dm.cc, mx-cm-dm.h, | |
7202 mx-cm-m.cc, mx-cm-m.h, mx-cm-s.cc, mx-cm-s.h, mx-cs-cdm.cc, | |
7203 mx-cs-cdm.h, mx-cs-dm.cc, mx-cs-dm.h, mx-cs-m.cc, mx-cs-m.h, | |
7204 mx-dm-cdm.cc, mx-dm-cdm.h, mx-dm-cm.cc, mx-dm-cm.h, mx-dm-cs.cc, | |
7205 mx-dm-cs.h, mx-dm-m.cc, mx-dm-m.h, mx-dm-s.cc, mx-dm-s.h, | |
7206 mx-m-cdm.cc, mx-m-cdm.h, mx-m-cm.cc, mx-m-cm.h, mx-m-cs.cc, | |
7207 mx-m-cs.h, mx-m-dm.cc, mx-m-dm.h, mx-ops.h, mx-s-cdm.cc, | |
7208 mx-s-cdm.h, mx-s-cm.cc, mx-s-cm.h, mx-s-dm.cc, mx-s-dm.h, | |
7209 vx-ccv-cv.cc, vx-ccv-cv.h, vx-ccv-s.cc, vx-ccv-s.h, vx-crv-rv.cc, | |
7210 vx-crv-rv.h, vx-crv-s.cc, vx-crv-s.h, vx-cs-cv.cc, vx-cs-cv.h, | |
7211 vx-cs-rv.cc, vx-cs-rv.h, vx-cv-ccv.cc, vx-cv-ccv.h, vx-cv-cs.cc, | |
7212 vx-cv-cs.h, vx-rv-crv.cc, vx-rv-crv.h, vx-rv-cs.cc, vx-rv-cs.h, | |
7213 vx-s-ccv.cc, vx-s-ccv.h, vx-s-crv.cc, vx-s-crv.h: Delete. These | |
7214 files are now automatically generated. | |
7215 | |
7216 * Makefile.in ($(VX_OP_INC), $(VX_OP_SRC), $(MX_OP_INC), | |
7217 $(MX_OP_SRC)): Generate lists with new mk-ops.awk script. | |
7218 Add rules to generate these files and mx-ops.h. | |
7219 (stamp-prereq): Depend on these files. | |
7220 | |
7221 * mx-ops, vx-ops, mk-ops.awk: New files. | |
7222 * Makefile.in (DISTFILES): Add them to the list. | |
7223 | |
4543 | 7224 2003-10-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
7225 | |
7226 * NDArray.cc (NDArray::NDArray (const boolNDArray), | |
7227 NDArray::NDArray (const charNDArray)): New constructors. | |
7228 (NDArray::operator !): New function. | |
7229 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
7230 NDND_CMP_OPS, NDND_BOOL_OPS. | |
7231 | |
7232 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const NDArray&), | |
7233 ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
7234 ComplexNDArray::ComplexNDArray (const charNDArray&)): | |
7235 New constructors. | |
7236 (ComplexNDArray::operator !): New function. | |
7237 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
7238 NDND_CMP_OPS, NDND_BOOL_OPS. | |
7239 | |
7240 * ArrayN.h (resize (const dim_vector&)): Fix typo. | |
7241 | |
7242 * boolNDArray.cc (boolNDArray::operator !): New function. | |
7243 Provide NDND_CMP_OPS. | |
7244 | |
7245 * MArrayN.cc (operator +=, operator -=): New functions. | |
7246 Provide product and quotient functions. | |
7247 | |
7248 * MArray-misc.cc (gripe_nonconformant (const char *, dim_vector&, | |
7249 dim_vector&)): New function. | |
7250 | |
7251 * dim-vector.h (dim_vector::str, dim_vector::all_zero, | |
7252 operator ==, operator !=): New functions. | |
7253 * ArrayN.cc (operator <<): Use dim_vector::str here. | |
7254 | |
7255 * Array.cc (Array<T>::resize_no_fill, Array<T>::resize_and_fill): | |
7256 No need to save old dimensions. | |
7257 | |
7258 * oct-rand.cc (MAKE_RAND_ND_ARRAY): New macro. | |
7259 (octave_rand::nd_array): New function. | |
7260 * oct-rand.h (octave_rand::nd_array): Provide decl. | |
7261 | |
7262 * mx-op-defs.h (NDCMP_OP_DECL, NDBOOL_OP_DECL, NDS_BIN_OP_DECLS, | |
7263 NDS_BIN_OP, NDS_BIN_OPS, NDS_CMP_OP_DECLS, NDS_CMP_OP, | |
7264 NDS_CMP_OPS, NDS_BOOL_OP_DECLS, NDS_BOOL_OP, NDS_BOOL_OPS, | |
7265 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_BIN_OP, SND_BIN_OPS, | |
7266 SND_CMP_OP_DECLS, SND_CMP_OP, SND_CMP_OPS, SND_BOOL_OP_DECLS, | |
7267 SND_BOOL_OP, SND_BOOL_OPS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
7268 NDND_BIN_OP, NDND_BIN_OPS, NDND_CMP_OP_DECLS, NDND_CMP_OP, | |
7269 NDND_CMP_OPS, NDND_BOOL_OP_DECLS, NDND_BOOL_OP, NDND_BOOL_OPS, | |
7270 NDND_OP_DECLS): New macros. | |
7271 * mx-cm-m.h, mx-cm-s.h, mx-cs-m.h, mx-m-cm.h, mx-m-cs.h, | |
7272 mx-s-cm.h, mx-cm-m.cc, mx-cm-s.cc, mx-cs-m.cc, mx-m-cm.cc, | |
7273 mx-m-cs.cc, mx-s-cm.cc: Use them. | |
7274 | |
7275 * mx-defs.h (class NDArray, class ComplexNDArray, class | |
7276 boolNDArray, class charNDArray): New forward decls. | |
7277 | |
4534 | 7278 2003-10-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
7279 | |
7280 * Array.cc (assign2): No error (but don't do anything either) for | |
7281 expressions like x([],j) = scalar. | |
7282 | |
4532 | 7283 2003-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
7284 | |
4533 | 7285 * Array.cc (assignN): Allow lhs(:) = scalar. |
7286 | |
4532 | 7287 * CNDArray.cc (ComplexNDArray::increment_index): New function. |
7288 * dNDArray.cc (NDArray::increment_index): Likewise. | |
7289 * boolNDArray.cc (boolNDArray::increment_index): Likewise. | |
7290 * chNDArray.cc (charNDArray::increment_index): Likewise. | |
7291 | |
7292 * dim-vector.h (rows, cols): Delete unused data members. | |
7293 | |
7294 * Array.cc (Array<T>::get_size): Fix thinko. | |
7295 | |
7296 2003-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7297 | |
7298 * Array.cc (Array<T>::squeeze): New function. | |
7299 * CNDArray.h (ComplexNDArray::squeeze): Likewise. | |
7300 * dNDArray.h (NDArray::squeeze): Likewise. | |
7301 * boolNDArray.h (boolNDArray::squeeze): Likewise. | |
7302 * chNDArray.h (charNDArray::squeeze): Likewise. | |
7303 | |
4530 | 7304 2003-10-06 Petter Risholm <risholm@stud.ntnu.no> |
7305 | |
7306 * Array.cc (ArrayN<T>::indexN): New definition. | |
7307 * Array.h (Array<T>::indexN): Provide decl. | |
7308 * Array.cc (ArrayN<T>::index (idx_vector&, int, const T&): | |
7309 Call indexN if more than 2 indices. | |
7310 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): | |
7311 Make it (mostly) work. | |
7312 * ArrayN-inline.h (number_of_elements, get_ra_idx, short_freeze): | |
7313 New functions. | |
7314 | |
4527 | 7315 2003-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
7316 | |
7317 * cmd-edit.cc (do_readline): Pass eof to octave_fgetl. | |
7318 * lo-utils.cc (octave_fgets, octave_fgetl): New overloaded | |
7319 versions with eof arg. | |
7320 | |
4518 | 7321 2003-09-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
7322 | |
7323 * Array.h (dimensions): Now public. | |
7324 template <class LT, class RT> | |
7325 (assign (Array<LT>&, const Array<RT>&, const LT&), | |
7326 assign1 (Array<LT>&, const Array<RT>&, const LT&), | |
7327 assign2 (Array<LT>&, const Array<RT>&, const LT&), | |
7328 assignN (Array<LT>&, const Array<RT>&, const LT&), | |
7329 resize_no_fill (int), | |
7330 resize_no_fill (int, int), | |
7331 resize_no_fill (int, int, int), | |
7332 resize_no_fill (const dim_vector&), | |
7333 resize_and_fill (int, const T&), | |
7334 resize_and_fill (int, int, const T&), | |
7335 resize_and_fill (int, int, int, const T&), | |
7336 resize_and_fill (const dim_vector&, const T&)): Now public. | |
7337 | |
7338 * Array.cc: Include <climits>. | |
7339 | |
4513 | 7340 2003-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
7341 | |
4517 | 7342 * Array.cc: Merge Array-idx.h. |
7343 * Array-idx.h: Delete. | |
7344 | |
4514 | 7345 * chNDArray.h, chNDArray.cc, boolNDArray.h, boolNDArray.cc: New files. |
7346 | |
4513 | 7347 * Array.h, Array-idx.h, Array.cc: Fold all N-d functionality here. |
7348 Turn inheritance hierarchy upside down (2-d and 3-d arrays are now | |
7349 just special cases of the general purpose N-d Array object). | |
7350 | |
7351 * dim-vector.h: New file. Use dim_vector objects instead of | |
7352 ints or Array<int> objects to represent the size of Array | |
7353 objects. | |
7354 | |
7355 * MArray-defs.h (INSTANTIATE_MARRAYN_FRIENDS): New macro. | |
7356 | |
7357 * Array2-idx.h, Array3-idx.h, Array2.cc, Array3.cc: Delete. | |
7358 | |
7359 * mx-base.h: Include NDArray header files. | |
7360 | |
7361 * MArray-C.cc, MArray-d.cc: Also instantiate ArrayN objects. | |
7362 | |
7363 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
7364 Array-s.cc: Also instantiate ArrayN objects. | |
7365 Don't instantiate assign funcitons for Array2 objects. | |
7366 | |
7367 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Signal error with | |
7368 liboctave_error_handler, not cerr. | |
7369 * CMatrix.cc (ComplexMatrix::diag): Likewise. | |
7370 * dDiagMatrix.cc (DiagMatrix::diag): Likewise. | |
7371 * dMatrix.cc (Matrix::diag): Likewise. | |
7372 | |
7373 * Array-flags.cc, Array.cc, Array.h, Array2.h, Array3.h, ArrayN.h: | |
7374 Omit checks for HEAVYWEIGHT_INDEXING. | |
7375 | |
7376 2003-09-12 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7377 | |
7378 * mx-base.h: Include CNDarray.h. Include dNDArray.h, not NDArray.h. | |
7379 | |
7380 * CNDARray.h, CNDArray.cc: New files. | |
7381 * Makefile.in: Add them to the appropriate lists. | |
7382 | |
7383 * dNDArray.h: Rename from NDArray.h. | |
7384 * dNDArray.cc: Rename from NDArray.cc. | |
7385 * Makefile.in: Rename them here too. | |
7386 | |
4507 | 7387 2003-09-10 Petter Risholm <risholm@stud.ntnu.no> |
7388 | |
7389 * mx-base.h: Include NDArray.h, not ArrayN.h. | |
7390 | |
7391 * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. | |
7392 * Makefile.in: Add them to the appropriate lists. | |
7393 | |
5095 | 7394 2003-09-09 David Bateman <dbateman@free.fr> |
4506 | 7395 |
7396 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, | |
7397 biry): Always request scaled results from AMOS functions and | |
7398 perform reverse scaling on results if scaled result not requested | |
7399 by user. | |
7400 | |
7401 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7402 | |
7403 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
7404 | |
4505 | 7405 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
7406 | |
7407 * Array-d.cc: Instantiate assign functions. | |
7408 | |
4504 | 7409 2003-09-09 Petter Risholm <risholm@stud.ntnu.no> |
7410 | |
7411 * ArrayN-idx.h (vector_equivalent, equal_arrays): New functions. | |
7412 (get_elt_idx): Index ra_idx correctly. | |
7413 | |
7414 * ArrayN-inline.h (index_in_bounds): Index is also condidered in | |
7415 bounds if it is exactly on the bound. | |
7416 | |
7417 * ArrayN.cc (ArrayN<T>::maybe_delete_dims): New function. | |
7418 * ArrayN.h: Provide decl. | |
7419 | |
7420 * ArrayN.h (ArrayN<T>::ArrayN<T> (const Matrix&)): New constructor. | |
7421 | |
7422 * idx-vector.h (idx_vector::orig_dims): New member variable. | |
7423 (idx_vector::idx_vector_rep::orig_dimensions): New function. | |
7424 (idx_vector::orig_dimensions): New function. | |
7425 | |
4497 | 7426 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
7427 | |
7428 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
7429 | |
4496 | 7430 2003-09-04 Petter Risholm <risholm@stud.ntnu.no> |
7431 | |
7432 * ArrayN-idx.h (maybe_delete_elements): Implement function. | |
7433 (is_in, how_many_lgt, all_ones): New functions. | |
7434 | |
4493 | 7435 2003-09-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
7436 | |
7437 * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. | |
7438 | |
7439 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> | |
7440 | |
7441 * ArrayN-inline.h: New file. | |
7442 (index_in_bounds, increment_index): Move here. | |
7443 * ArrayN.cc: From here. | |
7444 | |
7445 * ArrayN.h (maybe_delete_elements): New arg, resize_fill_value. | |
7446 * ArrayN-idx.h (assign): New function. | |
7447 | |
4490 | 7448 2003-08-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
7449 | |
7450 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, airy, biry): | |
7451 Also zero imaginary part of result if real part of input value is | |
7452 zero. | |
7453 | |
4478 | 7454 2003-07-30 Heine Kolltveit <kolltvei@idi.ntnu.no> |
7455 | |
7456 * mx-base.h: Include ArrayN.h. | |
7457 | |
4476 | 7458 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> |
7459 | |
7460 * ArrayN.cc (operator <<): Corrected output. | |
7461 | |
4474 | 7462 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
7463 | |
7464 * ArrayN.cc (increment_index): New arg, start_dimension. | |
7465 | |
5095 | 7466 2003-07-29 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4473 | 7467 |
7468 * ArrayN.cc (operator <<): Improve output readability. | |
7469 | |
4493 | 7470 2003-07-29 Petter Risholm <risholm@stud.ntnu.no> |
4473 | 7471 |
7472 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&, const T&)): | |
7473 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&)): | |
7474 Initialize old_len before changing size. | |
7475 | |
4472 | 7476 2003-07-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7477 | |
7478 * Makefile.in (install-lib): Use $(INSTALL), not | |
4473 | 7479 $(INSTALL_PROGRAM) for $(SHLLIB) files. |
4472 | 7480 |
4469 | 7481 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
7482 | |
7483 * lo-mappers.cc (xmin, xmax): Handle NaN in a Matlab-compatible | |
7484 way. Handle NA in an R-compatible way. | |
7485 | |
7486 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Also check for lo_ieee_is_NA. | |
7487 (lo_ieee_is_NA): Don't call isnan unless HAVE_ISNAN is defined. | |
7488 | |
7489 * lo-mappers.h (octave_is_NA (const Complex&)): Provide decl. | |
7490 (octave_is_NaN_or_NA (const Complex&)): Likewise. | |
7491 | |
7492 * dMatrix.cc (Matrix::row_min, Matrix::row_max, | |
7493 Matrix::column_min, Matrix::column_max): Ignore NaNs. | |
7494 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_max, | |
7495 ComplexMatrix::column_min, ComplexMatrix::column_max): Likewise. | |
7496 | |
4461 | 7497 2003-07-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7498 | |
7499 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
7500 Pass true for resize_ok arg to freeze. | |
7501 * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
7502 Likewise. | |
7503 | |
7504 * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; | |
7505 resize_ok arg is now bool. | |
7506 * idx-vector.h (idx_vector::freeze): Likewise. | |
7507 | |
7508 * Array-flags.cc, Array-flags.h (liboctave_wrore_flag): | |
7509 Rename from liboctave_rre_flag. Now bool. | |
7510 (liboctave_wfi_flag): Now bool. | |
7511 | |
7512 * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. | |
7513 | |
5095 | 7514 2003-07-11 Russell Standish <R.Standish@unsw.edu.au> |
4459 | 7515 |
7516 * Array.h (resize_fill_value): Now a top-level template function. | |
7517 Accept object as argument. Change all uses. | |
7518 | |
4455 | 7519 2003-07-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
7520 | |
7521 * Array-flags.cc, Array-flags.h (liboctave_pcv_flag): Delete. | |
7522 | |
7523 * Array2-idx.h (Array2<T>::index): Use liboctave_wfi_flag, not | |
7524 liboctave_dfi_flag. | |
7525 (assign): Likewise. For indexed assignments like X(I) = RHS with | |
7526 X undefined or empty, always create a row vector. | |
7527 | |
7528 * Array-flags.cc (liboctave_wfi_flag): Rename from liboctave_dfi_flag. | |
7529 * Array-flags.h (liboctave_wfi_flag): Ditto. | |
7530 | |
4437 | 7531 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
7532 | |
7533 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
7534 Magic colon indexing always produces an object with one column. | |
7535 | |
5095 | 7536 2003-06-21 Paul Kienzle <pkienzle@users.sf.net> |
4433 | 7537 |
7538 * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. | |
7539 | |
7540 * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. | |
7541 | |
4431 | 7542 2003-06-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7543 | |
7544 * dMatrix.cc (any_element_is_negative): If new optional arg | |
7545 neg_zero is true, also return true for negative zero. | |
7546 | |
4429 | 7547 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
7548 | |
7549 * DASSL.cc (DASSL::do_integrate): Set liw to 21 + n, not 20 + n. | |
7550 Handle step limit. | |
7551 * DASSL-opts.in: New option for step limit. | |
7552 | |
5095 | 7553 2003-06-16 Per Persson <persquare@mac.com> |
4429 | 7554 |
7555 * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. | |
7556 | |
4428 | 7557 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
7558 | |
7559 * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. | |
7560 Store step limit in iwork(20), not iwork(18). | |
7561 | |
5095 | 7562 2003-05-16 Paul Kienzle <pkienzle@users.sf.net> |
4415 | 7563 |
7564 * oct-rand.cc: Use liboctave's clock layer instead of the system clock. | |
7565 | |
4412 | 7566 2003-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7567 | |
4413 | 7568 * Makefile.in: Handle DESTDIR. |
7569 | |
4412 | 7570 * kpse.cc (kpse_path_iterator::next): Skip consecutive colons here. |
7571 (kpse_path_iterator::set_end): Don't miss last element when not | |
7572 followed by a colon. | |
7573 | |
4409 | 7574 2003-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7575 | |
7576 * Array-idx.h (Array<T>::index): Fix off-by-one error. | |
7577 | |
7578 2003-05-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7579 | |
7580 * kpse.cc (kpse_absolute_p): Fix typo in translation. | |
7581 (find_first_of): Also do an absolute search on each | |
7582 name before looking in the path. | |
7583 | |
4407 | 7584 2003-05-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
7585 | |
7586 * kpse.cc (dir_list_add): Ensure that directory ends with a | |
7587 directory separator. | |
7588 | |
4399 | 7589 2003-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
7590 | |
7591 * pathsearch.cc: Include kpse.cc here. | |
7592 | |
7593 * kpse.cc: All functions are now static. Massive surgery to | |
7594 condense kpathsearch library to a single file of just the | |
7595 essentials for Octave and convert to using C++ strings (no more | |
7596 calls to malloc, very few calls to new, so there should be much | |
7597 less potential for introducing memory leaks now). | |
7598 | |
7599 * Makefile.in (EXTRAS): Move kpse.cc here from | |
7600 LIBOCT_PATHSEARCH_CXX_SOURCES. | |
7601 | |
7602 * kpse.h, kpse-config.h: Delete. | |
7603 * Makefile.in (INCLUDES): Delete them from the list. | |
7604 | |
4392 | 7605 2003-04-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
7606 | |
7607 * str-vec.cc (string_vector::append (const std::string&), | |
7608 string_vector::append (const string_vector&)): New methods. | |
7609 | |
4386 | 7610 2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
7611 | |
4389 | 7612 * kpse.cc, kpse.h: Replace fn_type with std::string. |
7613 | |
4387 | 7614 * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. |
7615 | |
4386 | 7616 * kpse.cc (xclosedir): Don't define or declare for Windows. |
7617 (READABLE): Now a static function to avoid warnings from MinGW | |
7618 compiler. | |
7619 | |
4384 | 7620 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7621 | |
4385 | 7622 * kpse.cc: Move most functions from kpse-xfns.c here and make |
7623 static. Include most of kpse-xfns.h directly, removing | |
7624 unnecessary bits. | |
7625 | |
4384 | 7626 * dMatrix.cc (Matrix::pseudo_inverse): Now const. |
7627 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
7628 | |
4378 | 7629 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7630 | |
7631 * getopt.c, getopt1.c, getopt.h: Move here from kpathsea. | |
7632 * Makefile.in: Add them to the appropriates lists. | |
7633 | |
7634 * oct-getopt.c: Include "getopt.h", not <kpathsea/getopt.h>. | |
7635 | |
7636 * Makefile.in (liboctave.$(LIBEXT), liboctave.$(SHLEXT)): Adjust | |
7637 for new locations of kpathsea objects. | |
7638 Delete kpathsea targets. | |
7639 | |
7640 * pathsearch.cc (dir_path::set_program_name): Delete. | |
7641 | |
7642 * kpse.cc: New file. | |
7643 * Makefile.in (LIBOCT_PATHSEARCH_CXX_SOURCES): Add it to the list. | |
7644 | |
7645 * kpse.c: New file. | |
7646 * Makefile.in (LIBOCT_PATHSEARCH_C_SOURCES): Add it to the list. | |
7647 | |
7648 * kpse.h, kpse-config.h, kpse-xfns.h: New files. | |
7649 * Makefile.in (INCLUDES): Add them to the list. | |
7650 | |
7651 * oct-kpse.h: Delete. | |
7652 * Makefile.in (INCLUDES): Delete it from the list. | |
7653 | |
4374 | 7654 2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
7655 | |
7656 * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. | |
7657 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): | |
7658 Likewise. | |
7659 From Quentin H. Spencer <qspencer@ieee.org>. | |
7660 | |
4365 | 7661 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
7662 | |
7663 * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h". | |
7664 | |
4349 | 7665 2003-02-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
7666 | |
4352 | 7667 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Handle systems with or |
7668 without placement delete. | |
7669 | |
4349 | 7670 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Don't lose -0 |
7671 imaginary parts. | |
7672 | |
7673 * lo-ieee.h (lo_ieee_signbit): New macro. | |
7674 | |
5095 | 7675 2003-02-18 David Bateman <dbateman@free.fr> |
4329 | 7676 |
7677 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
7678 Use Lapack instead of Linpack. | |
5315 | 7679 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
4329 | 7680 ComplexMatrix::solve): Likewise. |
7681 | |
7682 * dMatrix.cc (Matrix::determinant, Matrix::inverse): New arg, | |
7683 calc_cond. If 0, skip condition number calculation. | |
7684 * CMatrix.cc (ComplexMatrix::determinant, ComplexMatrix::inverse): | |
7685 Likewise. | |
7686 | |
7687 * CmplxLU.cc (ComplexLU::ComplexLU): Allow non-square matrices. | |
7688 * dbleLU.cc (LU::LU): Likewise. | |
7689 * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. | |
7690 | |
7691 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7692 | |
7693 * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: | |
7694 | |
4323 | 7695 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7696 | |
7697 * Array2-idx.h (Array2<T>::index): Fix thinko. | |
7698 Additional compatibility fix. | |
7699 | |
7700 2003-02-13 Arno Klaassen <arno@scito.com> | |
7701 | |
7702 * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
7703 ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: | |
7704 Sprinkle with Array<T>:: as necessary for gcc 3.4. | |
7705 | |
4322 | 7706 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
7707 | |
7708 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
7709 Compatibility fix. | |
7710 | |
4316 | 7711 2003-02-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
7712 | |
7713 * CColVector.cc (ComplexColumnVector::extract_n): New function. | |
7714 * CRowVector.cc (ComplexRowVector::extract_n): Likewise. | |
7715 * CMatrix.cc (ComplexMatrix::extract_n): Likewise. | |
7716 * dColVector.cc (ColumnVector::extract_n): Likewise. | |
7717 * dRowVector.cc (RowVector::extract_n): Likewise. | |
7718 * dMatrix.cc (Matrix::extract_n): Likewise. | |
7719 | |
7720 * CColVector.cc (ComplexColumnVector::insert): Improve efficiency | |
7721 with make_unique and xelem. | |
7722 * CRowVector.cc (ComplexRowVector::insert): Likewise. | |
7723 * CMatrix.cc (ComplexMatrix::insert, ComplexMatrix::fill, | |
7724 ComplexMatrix::extract, ComplexMatrix::row, | |
7725 ComplexMatrix::column): Likewise. | |
7726 * dColVector.cc (ColumnVector::insert): Likewise. | |
7727 * dRowVector.cc (RowVector::insert): Likewise. | |
7728 * dMatrix.cc (Matrix::insert, Matrix::fill, Matrix::extract, | |
7729 Matrix::row, Matrix::column): Likewise. | |
7730 | |
4313 | 7731 2003-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
7732 | |
7733 * lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN. | |
7734 | |
4309 | 7735 2003-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
7736 | |
7737 * CMatrix.cc, dMatrix.cc: Move min and max functions here, from | |
7738 src/DLD-FUNCTIONS/minmax.cc, and make them extern. | |
7739 * CMatrix.h, dMatrix.h: Provide decls. | |
7740 | |
4307 | 7741 2003-01-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
7742 | |
7743 * oct-rand.h, oct-rand.cc: New files. | |
7744 * Makefile.in: Add them to the appropriate lists. | |
7745 | |
4306 | 7746 2003-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7747 | |
7748 * Array2-idx.h (Array2<T>::index): Fix off-by-one error. | |
7749 | |
4299 | 7750 2003-01-16 Mumit Khan <khan@nanotech.wisc.edu> |
7751 | |
7752 * oct-syscalls.cc: Include signal.h. | |
7753 | |
4294 | 7754 2003-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
7755 | |
7756 * oct-syscalls.cc (octave_syscalls::kill): New function. | |
7757 * oct-syscalls.h: Provide decl. | |
7758 | |
7759 | |
4293 | 7760 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
7761 | |
7762 * dMatrix.cc (Matrix::read): Set size and return immediately if | |
7763 there is nothing to read. | |
7764 | |
4290 | 7765 2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
7766 | |
7767 * lo-cutils.c: Define _XOPEN_SOURCE. | |
7768 | |
4286 | 7769 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
7770 | |
4288 | 7771 * getopt.h: Update to version from kpathsearch, so we will install |
7772 the version that we are using. | |
7773 | |
7774 * getopt.c, getopt1.c: Delete. | |
7775 (INCLUDES): Delete them from the list. We'll get these files from | |
7776 kpathsearch. | |
7777 | |
4286 | 7778 * Makefile.in (liboctave.$(LIBEXT)): Link directly to |
7779 ../kpathsea/STATIC/*.o. | |
7780 (liboctave.$(SHLEXT)): Link directly to ../kpathsea/SHARED/*.o. | |
7781 | |
4270 | 7782 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
7783 | |
4282 | 7784 * dMatrix.cc (read_int, write_int): Avoid warnings about |
7785 unreachable code. | |
7786 | |
4279 | 7787 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete |
7788 to correspond to placement new operator. | |
7789 | |
4278 | 7790 * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. |
7791 (DET::value_will_underflow): Likewise. | |
7792 * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. | |
7793 (ComplexDET::value_will_underflow): Likewise. | |
7794 | |
4276 | 7795 * Makefile.in (distclean): Also remove stamp-prereq. |
7796 | |
4306 | 7797 * Array2-idx.h (Array2<T>::assign): If assignment conforms but the |
7798 RHS and index are empty matrices, don't do anything. | |
4270 | 7799 |
4242 | 7800 2002-12-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
7801 | |
7802 * pathsearch.cc (make_retval, free_c_array, make_c_names, | |
7803 delete_c_names): New helper functions. | |
7804 (dir_path::find_first_of): New function. | |
7805 (dir_path::find_all_first_of): Likewise. | |
7806 * pathsearch.h: Provide decls. | |
7807 | |
7808 * oct-kpse.c (octave_kpse_path_find_first_of): New function. | |
7809 (octave_kpse_all_path_find_first_of): Likewise. | |
7810 * oct-kpse.h: Provide decls. | |
7811 | |
4231 | 7812 2002-12-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
7813 | |
7814 * ODESSA.cc (ODESSA::integrate): Handle maxord. | |
7815 * ODESSA-opts.in: Likewise. | |
7816 | |
7817 * LSODE.cc (ODESSA::integrate): Handle maxord. | |
7818 * LSODE-opts.in: Likewise. | |
7819 | |
4229 | 7820 2002-12-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7821 | |
4230 | 7822 * ODESSA.cc (ODESSA::ODESSA): Initialize "initialized" data member |
7823 in all constructors. | |
7824 | |
4229 | 7825 * Makefile.in (liboctave.$(SHLEXT)): Include $(LIBKPATHSEA) here. |
7826 (LINK_DEPS): Not here. | |
7827 | |
4219 | 7828 2002-12-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
7829 | |
4220 | 7830 * str-vec.cc (string_vector::compare): New static member function. |
7831 * str-vec.h: Provide decl. | |
7832 (string_vector::sort): Use it. | |
7833 (str_vec_compare): Delete static function. | |
7834 | |
4219 | 7835 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Also declare and define |
7836 a placement operator new. | |
7837 | |
4209 | 7838 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
7839 | |
4210 | 7840 * Matrix.h: Include mx-ops.h too. |
4209 | 7841 * mx-ops.h: New file. |
7842 | |
4192 | 7843 2002-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
7844 | |
7845 * DASRT.cc, DASRT.h, Array.cc, ArrayN.h, Array.h, Array2.cc, | |
7846 Array2.h, Array3.cc, Array3.h, Bounds.cc, Bounds.h, CRowVector.h, | |
7847 CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, CMatrix.h, | |
7848 CRowVector.cc, CColVector.h, ChangeLog, CmplxAEPBAL.cc, | |
7849 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
7850 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
7851 CmplxQR.h, CmplxQRP.cc, ArrayN.cc, CmplxQRP.h, CmplxSCHUR.cc, | |
7852 CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, dMatrix.cc, | |
7853 CollocWt.h, EIG.h, DASSL.cc, FEGrid.h, DASSL.h, DiagArray2.cc, | |
7854 DiagArray2.h, EIG.cc, FEGrid.cc, LSODE.cc, LPsolve.cc, LPsolve.h, | |
7855 LSODE.h, LinConst.cc, LinConst.h, MArray.h, MArray.cc, MArray2.cc, | |
7856 MArray2.h, MDiagArray2.cc, MDiagArray2.h, Range.cc, NLConst.h, | |
7857 NLEqn.cc, Range.h, NLEqn.h, Quad.cc, dbleQR.h, Quad.h, base-lu.cc, | |
7858 base-lu.h, boolMatrix.cc, boolMatrix.h, dColVector.cc, | |
7859 dColVector.h, dDiagMatrix.cc, dDiagMatrix.h, dMatrix.h, | |
7860 dRowVector.cc, dRowVector.h, dbleAEPBAL.cc, dbleAEPBAL.h, | |
7861 dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, dbleDET.h, dbleHESS.cc, | |
7862 dbleHESS.h, dbleLU.cc, dbleLU.h, dbleQR.cc, dbleQRP.cc, dbleQRP.h, | |
7863 dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, | |
7864 idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, | |
7865 ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: | |
7866 Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of | |
7867 "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". | |
7868 | |
4184 | 7869 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
7870 | |
7871 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_GLOBAL too. | |
7872 From Remy Bruno <remy.bruno@libertysurf.fr> | |
7873 | |
4180 | 7874 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7875 | |
7876 * lo-specfun.cc: Use F77_FUNC instead of F77_XFCN for calls to | |
7877 fortran code that should run fast enough that it is not worth all | |
7878 the setup costs of F77_XFCN. | |
7879 | |
7880 * Quad.cc (user_function): Surround body of function with | |
7881 BEGIN_INTERRUPT_WITH_EXCEPTIONS, END_INTERRUPT_WITH_EXCEPTIONS. | |
7882 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Likewise. | |
7883 * NLEqn.cc (hybrd1_fcn, hybrj1_fcn): Likewise. | |
7884 * LSODE.cc (lsode_f, lsode_j): Likewise. | |
7885 * DASSL.cc (ddassl_f, ddassl_j): Likewise. | |
7886 * DASRT.cc (ddasrt_f, ddasrt_j, ddasrt_g): Likewise. | |
7887 * DASPK.cc (ddaspk_f, ddaspk_psol, ddaspk_j): Likewise. | |
7888 | |
4164 | 7889 2002-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7890 | |
7891 * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead | |
7892 of ! defined (linux). | |
7893 | |
5095 | 7894 2002-11-09 Per Persson <persquare@mac.com> |
4162 | 7895 |
7896 * oct-shlib.cc (octave_dyld_shlib): New class. | |
7897 (make_shlib): Instantiate octave_dyld_shlib. | |
7898 | |
4152 | 7899 2002-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
7900 | |
4153 | 7901 * CMatrix.cc, dMatrix.cc: Sprinkle with OCTAVE_QUIT. |
7902 | |
4152 | 7903 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Abort on error. |
7904 | |
7905 * Array.h: Include <cstddef> here. | |
7906 | |
4142 | 7907 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
7908 | |
4144 | 7909 * DASPK.cc (DASPK::do_integrate): Resize rwork and iwork before |
7910 using them. Accept inequality contraint option of 0. Assign | |
7911 pabs_tol and prel_tol before calling DASPK. Don't redeclare | |
7912 abs_tol and rel_tol. | |
7913 | |
4143 | 7914 * cmd-edit.h (command_editor::filename_completion_desired): New |
7915 static function. | |
7916 (command_editor::do_filename_completion_desired): New virtual function. | |
7917 * oct-rl-edit.c (octave_rl_filename_completion_desired): New function. | |
7918 * oct-rl-edit.h: Provide decl. | |
7919 | |
4142 | 7920 * Array2.cc (Array2<T>::get_size): #define MALLOC_OVERHEAD to |
7921 avoid OS X linker bug. | |
7922 * ArrayN.cc (ArrayN<T>::get_size): Likewise. | |
7923 | |
4139 | 7924 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
7925 | |
4141 | 7926 * ODESFunc.h (ODESFunc::ODES_fsub, ODESFunc::ODES_bsub, |
7927 ODESFunc::ODES_jsub): Reorder args for consistency with other | |
7928 solvers. | |
7929 * ODESSA.cc: Fix all callers. | |
7930 | |
4139 | 7931 * mx-inlines.cc (MX_BASE_REDUCTION_OP): Also return scalar |
7932 MT_RESULT if nr == 1 && nc == 0 && dim == -1 (i.e., | |
7933 sum(zeros(1,0)) returns 0, not [](1x0)). | |
7934 | |
4136 | 7935 2002-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
7936 | |
7937 * Makefile.in (LINK_DEPS): Include $(FLIBS) here too. | |
7938 | |
4132 | 7939 2002-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7940 | |
4133 | 7941 * DASRT.cc (DASRT::integrate): Fix computation of lrw |
7942 (ddasrt_f): Combine loops. | |
7943 | |
4132 | 7944 * NLEqn.cc (NLEqn::solve): Return current estimate of solution |
7945 instead of empty vector if user termninates iteration. | |
7946 | |
4130 | 7947 2002-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
7948 | |
7949 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
7950 octave_read_complex, octave_write_double, octave_write_complex): | |
7951 New functions. | |
7952 * CMatrix.cc (operator << (std::ostream&, const ComplexMatrix&)): | |
7953 Use octave_write_complex. | |
7954 (operator >> (std::istream&, const ComplexMatrix&)): | |
7955 Use octave_read_complex. | |
7956 * dMatrix.cc (operator << (std::ostream&, double)): | |
7957 Use octave_write_double. | |
7958 (operator >> (std::istream&, double)): Use octave_read_double. | |
7959 | |
4126 | 7960 2002-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
7961 | |
7962 * oct-kpse.c (octave_kpse_clear_dir_cache): Delete. | |
7963 * oct-kpse.h: Delete decl. | |
7964 * pathsearch.cc (dir_path::init): Delete unnecessary call to | |
7965 ::octave_kpse_clear_dir_cache. | |
7966 | |
4123 | 7967 2002-10-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
7968 | |
4124 | 7969 * lo-sstream.h: Undef HAVE_SSTREAM if using a version of g++ |
7970 earlier than 3.0. | |
7971 | |
4123 | 7972 * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. |
7973 (liboctave.$(SHLEXT)): Not here. | |
7974 | |
5095 | 7975 2002-10-17 Paul Kienzle <pkienzle@users.sf.net> |
4110 | 7976 |
7977 * oct-shlib.cc (octave_w32_shlib): New class to support Windows. | |
7978 | |
4108 | 7979 2002-10-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
7980 | |
7981 * Makefile.in (install-lib): Don't bother with versions for | |
7982 $(SHLBIN) files. | |
7983 | |
5095 | 7984 2002-10-16 Paul Kienzle <pkienzle@users.sf.net> |
4105 | 7985 |
7986 * Makefile.in (LIB_DEPS): Include $(LIBS). | |
7987 | |
4102 | 7988 2002-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7989 | |
7990 * lo-cieee.c: Move everything but lo_ieee_init here. | |
7991 (lo_ieee_Inf_value, lo_ieee_NA_value, lo_ieee_NaN_value): | |
7992 New functions. | |
7993 | |
7994 * Makefile.in (install): No need to use cd to create links. | |
7995 (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. | |
7996 | |
5095 | 7997 2002-10-14 Paul Kienzle <pkienzle@users.sf.net> |
4102 | 7998 |
7999 * Makefile.in: Merge liboctave with liboct-readline and | |
8000 liboct-pathsearch. | |
8001 Use link dependencies for shared libs if INCLUDE_LINK_DEPS. | |
8002 (libraries): Depend on versioned library. | |
8003 (liboctave.$(SHLEXT), liboctave.$(SHLEXT_VER)): Reverse actions -- | |
8004 build unversioned library, symbolic link adds version info. | |
8005 (install, uninstall): Handle link and load forms of the library | |
8006 separately. | |
8007 | |
4101 | 8008 2002-10-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
8009 | |
8010 * oct-time.cc: Use OCTAVE_USE_WINDOWS_API instead of __WIN32__ and | |
8011 __CYGWIN__. | |
8012 | |
8013 * file-ops.cc (file_ops::dir_sep_char, file_ops::dir_sep_str, | |
8014 file_ops::dir_sep_chars): New static functions to replace | |
8015 OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS. | |
8016 | |
8017 * oct-env.cc (octave_env::do_set_program_name): | |
8018 Use file_ops::dir_sep_chars instead of OCTAVE_DIR_SEP_CHARS. | |
8019 (octave_env::do_base_pathname): Likewise. | |
8020 (octave_env::do_make_absolute): Likewise. | |
8021 | |
8022 * oct-env.cc (octave_env::do_make_absolute): | |
8023 Use file_ops::dir_sep_str instead of OCTAVE_DIR_SEP_STR. | |
8024 (octave_env::do_get_home_directory): Likewise. | |
8025 | |
8026 * file-ops.cc (is_dir_sep): Use dir_sep_chars instead of embedding | |
8027 that information here too. | |
8028 (tilde_find_suffix, isolate_tilde_prefix, tilde_expand_word): | |
8029 Use file_ops::dir_sep_char instead of OCTAVE_DIR_SEP_CHAR. | |
8030 | |
8031 * file-ops.h: Use OCTAVE_HAVE_WINDOWS_FILESYSTEM and | |
8032 OCTAVE_HAVE_POSIX_FILESYSTEM instead of __WIN32__ and __CYGWIN__. | |
8033 | |
4097 | 8034 2002-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
8035 | |
8036 * oct-env.h (octave_env::current_directory): Now mutable. | |
8037 (octave_env:do_getcwd): Now const. | |
8038 | |
8039 * file-ops.h, file-ops.cc (file_ops::is_dir_sep): New function. | |
8040 (OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS, | |
8041 OCTAVE_CURRENT_DIR_STR): New macros. | |
8042 * oct-env.cc (is_dir_sep): Delete. | |
8043 (octave_env::do_base_pathname): Look for OCTAVE_DIR_SEP_CHARS, not '/'. | |
8044 (octave_env::do_set_program_name): Likewise. | |
8045 (octave_env::do_polite_directory_format): Use file_ops::is_dir_sep | |
8046 instead of checking for '/'. | |
8047 (octave_env::pathname_backup): Likewise. | |
8048 (octave_env::do_absolute_pathname): Likewise. | |
8049 (octave_env::do_make_absolute): Likewise. | |
8050 If dot_path is empty, use getcwd to set current_dir. | |
8051 (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR | |
8052 instead of "/". | |
8053 | |
5095 | 8054 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 8055 |
8056 * lo-cutils.c: On non-Posix Windows systems, include winsock.h. | |
8057 | |
5095 | 8058 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 8059 |
8060 * oct-env.cc (octave_env::do_absolute_pathname): Recognize | |
8061 absolute path names under MinGW as well. | |
8062 | |
8063 2002-10-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8064 | |
8065 * oct-env.cc: Include <cctype> too. | |
8066 | |
4087 | 8067 2002-10-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
8068 | |
8069 * oct-env.cc (octave_env::do_absolute_pathname): Handle Windows | |
8070 filenames. | |
8071 (octave_env::do_make_absolute): Check for absolute name with | |
8072 do_absolute_path. | |
4088 | 8073 (octave_env::do_chdir): Likewise. |
8074 (is_dir_sep): New function. | |
4087 | 8075 |
5095 | 8076 2002-10-03 Paul Kienzle <pkienzle@users.sf.net> |
4085 | 8077 |
4086 | 8078 * oct-time.cc (octave_time::stamp): Better resolution for Windows |
8079 systems. | |
4085 | 8080 |
4083 | 8081 2002-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
8082 | |
8083 * dMatrix.cc (Matrix::read): Clean up error handling logic. | |
8084 | |
4080 | 8085 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
8086 | |
4081 | 8087 * file-ops.cc (file_ops::mkdir): Handle one-arg mkdir here. |
8088 | |
4080 | 8089 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
8090 | |
5095 | 8091 2002-09-27 Per Persson <persquare@mac.com> |
4076 | 8092 |
8093 * oct-group.cc (octave_group::octave_group): Dont' forget to set | |
8094 gr_gid too. | |
8095 | |
4072 | 8096 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
8097 | |
4074 | 8098 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
8099 lo_ieee_* functions. | |
4072 | 8100 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074 | 8101 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
8102 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. | |
4072 | 8103 * lo-cieee.c: New file. |
4074 | 8104 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072 | 8105 * lo-ieee.h: Now all extern "C". |
4074 | 8106 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
8107 lo-mappers.cc and rename from xisnan, xfinite, xisinf. | |
8108 | |
4072 | 8109 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
8110 Now extern. | |
8111 | |
4066 | 8112 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
8113 | |
8114 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
8115 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
8116 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
8117 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
8118 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
8119 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
8120 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
8121 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
8122 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
8123 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
8124 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
8125 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
8126 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
8127 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
8128 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
8129 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
8130 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
8131 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
8132 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
8133 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
8134 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
8135 oct-alloc.cc: | |
8136 If __GNUG__, use pragma interface/implementation. Allow this to | |
8137 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. | |
8138 | |
5095 | 8139 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
4064 | 8140 |
4066 | 8141 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
8142 system readlink function is not available. | |
8143 | |
4065 | 8144 * lo-mappers.cc (xerf, xerfc): Delete. |
8145 * lo-mappers.h (xerf, xerfc): Delete decls. | |
8146 | |
4064 | 8147 * lo-mappers.cc: Remove unused #define M_PI. |
8148 * lo-specfun.cc: Add #define M_PI if needed. | |
8149 | |
4062 | 8150 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
8151 | |
8152 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility | |
8153 that geteuid doesn't exist. | |
8154 | |
8155 * LP.h: Rename LP class to octave_LP. | |
8156 LPsolve.h: Change all uses. | |
8157 | |
8158 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove | |
8159 incorrect token-pasting op. | |
8160 | |
8161 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to | |
8162 define lstat. | |
8163 | |
4061 | 8164 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
8165 | |
8166 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
8167 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
8168 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
8169 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
8170 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
8171 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
8172 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
8173 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
8174 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
8175 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
8176 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
8177 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
8178 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
8179 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
8180 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
8181 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
8182 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
8183 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
8184 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
8185 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
8186 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
8187 oct-alloc.cc: | |
8188 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ | |
8189 to decide whether to use the interface/implementation pragmas. | |
8190 | |
4058 | 8191 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
8192 | |
8193 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. | |
8194 | |
4055 | 8195 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
8196 | |
8197 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use | |
8198 qualified names. | |
8199 | |
4051 | 8200 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
8201 | |
4054 | 8202 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
8203 ArrayN.cc: Add typename where needed. | |
4053 | 8204 |
4051 | 8205 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
8206 strstream classes directly. | |
8207 * DASRT.cc: Likewise. | |
8208 * DASSL.cc: Likewise. | |
8209 * LSODE.cc: Likewise. | |
8210 * ODESSA.cc: Likewise. | |
8211 | |
8212 * cmd-hist.cc: Don't include <strstream>. | |
8213 * oct-shlib.cc: Likewise. | |
8214 | |
8215 * lo-sstream.h: New file. | |
8216 | |
4049 | 8217 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
8218 | |
8219 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): | |
8220 New data members. | |
8221 (LSODE::sanity_checked): Delete unused data member. | |
8222 | |
8223 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, | |
8224 prel_tol, pinfo, piwork, prwork): New data members. | |
8225 * DASSL.h (DASSL): Likewise. | |
8226 | |
8227 * DASRT.h (DASRT::sanity_checked): Delete unused data member. | |
8228 | |
8229 * DASRT.cc (DASRT::integrate (double)): Better handling of | |
8230 initialization, changes in options, etc. | |
8231 * DASPK.cc (DASPK::do_integrate): Likewise. | |
8232 * DASSL.cc (DASSL::do_integrate): Likewise. | |
8233 * LSODE.cc (LSODE::do_integrate): Likewise. | |
8234 | |
4047 | 8235 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
8236 | |
4049 | 8237 * DAEFunc.h (DAEFunc::reset): New data member. |
8238 * DAERTFunc.h (DAERTFunc::reset): Likewise. | |
8239 | |
8240 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. | |
8241 (base_diff_eqn::clear_stop_time): Likewise. | |
8242 | |
4047 | 8243 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
8244 * DASPK.cc (DASPK::do_integrate (double)): Likewise. | |
8245 | |
5095 | 8246 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
4044 | 8247 |
8248 * DASPK-opts.in, DASPK.h: Move include to .in file. | |
8249 * DASRT-opts.in, DASRT.h: Likewise. | |
8250 * DASSL-opts.in, DASSL.h: Likewise. | |
8251 * LSODE-opts.in, LSODE.h: Likewise. | |
8252 * NLEqn-opts.in, NLEqn.h: Likewise. | |
8253 * ODESSA-opts.in, ODESSA.h: Likewise. | |
8254 | |
4038 | 8255 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
8256 | |
4042 | 8257 * LSODE.cc (LSODE::error_message): Also return current T on |
8258 failures when that makes sense. | |
4043 | 8259 * DASSL.cc (DASSL::error_message): Likewise. |
8260 * DASRT.cc (DASRT::error_message): Likewise. | |
8261 * DASPK.cc (DASPK::error_message): Likewise. | |
8262 * ODESSA.cc (ODESSA:error_message): Likewise. | |
4042 | 8263 |
4038 | 8264 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
8265 $(LIBKPATHSEA) here. | |
8266 | |
4025 | 8267 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
8268 | |
8269 * lo-ieee.cc (lo_ieee_is_NA): New function. | |
8270 (lo_ieee_is_NaN_or_NA): New function. | |
8271 (octave_NA): New global value. | |
8272 (octave_ieee_init): Initialize it. | |
8273 * lo-mappers.cc (octave_is_NA): New function. | |
8274 (octave_is_NaN_or_NA): New function. | |
8275 (xisnan): Return false if NaN looks like a missing value. | |
8276 (xisnan (const Complex&)): Use xisnan here. | |
8277 | |
4015 | 8278 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
8279 | |
4017 | 8280 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
8281 ComplexMatrix::cumprod, ComplexMatrix::cumsum, | |
8282 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): | |
8283 Default value for dim is -1, not 0. | |
8284 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, | |
8285 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. | |
8286 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. | |
8287 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. | |
8288 | |
4015 | 8289 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
8290 New macros. | |
8291 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and | |
8292 MX_BASE_REDUCTION_OP. | |
8293 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. | |
8294 | |
4014 | 8295 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
8296 | |
4015 | 8297 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
8298 Return boolMatrix, not Matrix. | |
8299 | |
8300 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. | |
8301 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. | |
8302 (Matrix::all): Replace guts with MX_ALL_OP. | |
8303 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. | |
8304 (ComplexMatrix::all): Replace guts with MX_ALL_OP. | |
8305 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. | |
8306 (boolMatrix::all): Replace guts with MX_ALL_OP. | |
8307 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. | |
8308 (charMatrix::all): Replace guts with MX_ALL_OP. | |
8309 | |
8310 * dMatrix.h (Matrix::any): New arg, dim. | |
8311 (Matrix::all): Likewise. | |
8312 * CMatrix.h (ComplexMatrix::any): Likewise. | |
8313 (ComplexMatrix::all): Likewise. | |
8314 * boolMatrix.h (boolMatrix::any): Likewise. | |
8315 (boolMatrix::all): Likewise. | |
8316 * chMatrix.h (charMatrix::any): Likewise. | |
8317 (charMatrix::all): Likewise. | |
8318 | |
4014 | 8319 * Makefile.in: Use $@-t instead of $@.t. |
8320 | |
4004 | 8321 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
8322 | |
8323 * lo-specfun.cc (gammainc): New arg, err, for scalar version. | |
8324 Use it in matrix versions to avoid spewing multiple errors. | |
8325 Call xgammainc instead of dgamit. | |
8326 | |
3998 | 8327 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
8328 | |
8329 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): | |
8330 Get rows and columns right in loop. | |
8331 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. | |
8332 | |
8333 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8334 | |
8335 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. | |
8336 * DASRT.cc (DASRT::integrate): Likewise. | |
8337 * DASSL.cc (DASSL::do_integrate): Likewise. | |
8338 | |
8339 * Quad.cc: Don't pass tolerances in constructors. | |
8340 | |
8341 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, | |
8342 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. | |
8343 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, | |
8344 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically | |
8345 from corresponding .in files. | |
8346 * LSODE.h, Quad.h: Replace options class definitions with included | |
8347 file. | |
8348 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to | |
8349 create OPTS_INC files from OPTS_INC_SRC files. | |
8350 (stamp-prereq): New target. | |
8351 (libraries): Depend on stamp-prereq. | |
8352 Include stamp-prereq along with $(MAKEDEPS). | |
8353 | |
3997 | 8354 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
8355 | |
8356 * base-de.h (base_diff_eqn::istate): New data member. | |
8357 (base_diff_eqn::integration_state): New member function. | |
8358 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding | |
8359 data members and functions. | |
8360 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. | |
8361 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. | |
8362 | |
3990 | 8363 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
8364 | |
3995 | 8365 * base-de.h (base_diff_eqn::stop_time, |
8366 base_diff_eqn::stop_time_set, base_diff_eqn::restart, | |
8367 base_diff_eqn::integration_error): New data members. | |
8368 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, | |
8369 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, | |
8370 base_diff_eqn::error_message): New member functions. | |
8371 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, | |
8372 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data | |
8373 members and functions. | |
8374 | |
3992 | 8375 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
8376 * DASRT.cc (DASRT::DASRT): Set ng here. | |
3993 | 8377 (DASRT::integrate): Don't forget to set nn. |
3992 | 8378 |
3991 | 8379 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
8380 * DASSL.cc (ddassl_j): Make it work. | |
8381 * DASPK.cc (ddaspk_j): Likewise. | |
8382 | |
3990 | 8383 * DAE.cc: Delete. |
8384 | |
8385 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE | |
8386 solving with root finding. | |
8387 * Makefile.in: Add them to the appropriate lists. | |
8388 | |
8389 * base-dae.h: New file. | |
8390 * Makefile.in (INCLUDES): Add it to the list. | |
8391 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. | |
8392 | |
3984 | 8393 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
8394 | |
8395 * ODE.h: Move integrate and do_integrate method declarations and | |
8396 definitions here. | |
8397 * base-de.h: From here. | |
8398 | |
8399 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. | |
8400 * Makefile.in: Add them to the appropriate lists. | |
8401 (LIBOCTAVE_CXX_SOURCES): | |
8402 | |
3971 | 8403 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
8404 | |
8405 * NLEqn.cc (NLEqn::error_message): New function. | |
8406 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. | |
8407 | |
3970 | 8408 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
8409 | |
8410 * lo-utils.cc (octave_fgetl): New function. | |
8411 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. | |
8412 | |
3959 | 8413 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
8414 | |
8415 * LSODE.cc (LSODE::error_message): New function. | |
8416 * LSODE.h: Provide decl. | |
8417 (LSODE::integration_state): New function. | |
8418 (LSODE::integration_ok): New function. | |
8419 | |
3952 | 8420 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
8421 | |
3955 | 8422 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
8423 (LSODE_options::set_integration_method, | |
8424 LSODE_options::integration_method): New functions. | |
3954 | 8425 |
3952 | 8426 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
8427 Change all uses. | |
8428 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. | |
8429 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): | |
8430 New function. | |
8431 | |
8432 * Array.h (Array::fortran_vec): New const version. | |
8433 | |
3951 | 8434 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
8435 | |
8436 * cmd-edit.cc (gnu_readline::history_search_backward): New function. | |
8437 (gnu_readline::history_search_forward): Likewise. | |
8438 (gnu_readline::gnu_readline): Use them instead of passing pointers | |
8439 to extern "C" functions to octave_rl_ad_defun. | |
8440 | |
5095 | 8441 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
3946 | 8442 |
8443 * DASPK.cc (ddaspk_psol): Return value. | |
8444 * oct-rl-edit.c: Use /* ... */ to comment. | |
8445 | |
3945 | 8446 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
8447 | |
8448 * DASSL.h (DASSL_options::init): Undo previous change. | |
8449 (DASSL_options::set_absolute_tolerance): Likewise. | |
8450 * LSODE.h (LSODE_options::init): Likewise. | |
8451 (LSODE_options::set_absolute_tolerance): Likewise. | |
8452 | |
8453 * DASPK.h (DASPK_options::init): Use default absolute tolerance of | |
8454 sqrt(eps), not eps^2. | |
8455 DASPK_options::set_absolute_tolerance): Likewise. | |
8456 | |
5095 | 8457 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
3944 | 8458 |
8459 * Array.h (Array<T>::resize_fill_value): Return default initialized | |
8460 object. | |
8461 | |
3933 | 8462 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
8463 | |
8464 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. | |
8465 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. | |
8466 (octave_rl_set_basic_word_break_characters, | |
8467 octave_rl_set_completer_word_break_characters): New functions. | |
8468 * oct-rl-edit.h: Provide decls. | |
8469 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, | |
8470 gnu_readline::do_set_completer_word_break_characters): New functions. | |
8471 (command_editor::set_basic_quote_characters, | |
8472 command_editor::set_completion_append_character): New static functions. | |
8473 * cmd-edit.h: Provide decls. | |
8474 (command_editor::do_set_basic_word_break_characters, | |
8475 command_editor::do_set_completer_word_break_characters): | |
8476 New virtual functions. | |
8477 | |
8478 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h | |
8479 (resize_fill_value): New static function. | |
8480 | |
8481 * Array-idx.h (Array<T>::index): New args, resize_ok and | |
8482 resize_fill_value. | |
8483 * Array2-idx.h (Array2<T>::index): Likewise. | |
8484 * ArrayN-idx.h (ArrayN<T>::index): Likewise. | |
8485 | |
8486 * Array2.cc (Array<T>::print_info): New function. | |
8487 * Array2.h: Provide decl. | |
8488 | |
8489 * Array.cc (Array<T>::print_info): New function. | |
8490 * Array.h: Provide decl. | |
8491 | |
3928 | 8492 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
8493 | |
8494 * idx-vector.h (idx_vector::idx_vector (int)): New function. | |
8495 (idx_vector_rep::idx_vector_rep (int)): New decl. | |
8496 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. | |
8497 | |
8498 * Array.h (Array<T>::resize_fill_value (void)): New static function. | |
8499 (assign (Array<LT>&, const Array<RT>&)): Use it. | |
8500 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. | |
8501 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. | |
8502 | |
5095 | 8503 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
3928 | 8504 |
8505 * Array3.h (Array3<T>::checkelem): Improve error message. | |
8506 * ArrayN.h (ArrayN<T>::range_error): Likewise. | |
8507 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. | |
8508 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. | |
8509 | |
3919 | 8510 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
8511 | |
8512 * DASSL.h (DASSL_options::init): Undo previous change. | |
8513 (DASSL_options::set_absolute_tolerance): Likewise. | |
8514 | |
3912 | 8515 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
8516 | |
8517 * DASPK.h, DASPK.cc: New files. | |
8518 * Makefile.in: Add them to the appropriate lists. | |
8519 | |
3904 | 8520 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
8521 | |
8522 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): | |
8523 Simplify indexing when one or both of the indices are empty. | |
8524 | |
3896 | 8525 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
8526 | |
8527 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. | |
8528 (DASSL_options::set_absolute_tolerance): Likewise. | |
8529 * LSODE.h (LSODE_options::init): Likewise. | |
8530 (LSODE_options::set_absolute_tolerance): Likewise. | |
8531 | |
5095 | 8532 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
3887 | 8533 |
8534 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. | |
8535 * file-stat.cc (file_stat::update_internal, file_stat::copy): | |
8536 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. | |
8537 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. | |
8538 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. | |
8539 * file-stat.h: Likewise. | |
8540 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, | |
8541 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE | |
8542 instead of HAVE_STRUCT_TM_TM_ZONE. | |
8543 * strftime.c: Likewise. | |
8544 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, | |
8545 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, | |
8546 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, | |
8547 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, | |
8548 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
8549 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
8550 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. | |
8551 | |
5095 | 8552 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
3883 | 8553 |
8554 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition | |
8555 internally when the user requests it. | |
8556 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
8557 * dbleQR.cc (QR::init): Ditto. | |
8558 * dbleQRP.cc (QRP::init): Ditto. | |
8559 | |
3874 | 8560 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
8561 | |
8562 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a | |
8563 definition for NULL by passing 0 as the last arg to fftwnd_one. | |
8564 (octave_fftw::ifft2d): Likewise. | |
8565 | |
5095 | 8566 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
3873 | 8567 |
8568 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). | |
8569 | |
3867 | 8570 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
8571 | |
8572 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. | |
8573 (LS_DO_WRITE): Likewise. | |
8574 | |
3864 | 8575 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
8576 | |
8577 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. | |
8578 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. | |
8579 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. | |
8580 | |
8581 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, | |
8582 MX_REDUCTION_OP_ROW_EXPR): New macros. | |
8583 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. | |
8584 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. | |
8585 | |
8586 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. | |
8587 DIM == -1 now means no orientation for vector sums. | |
8588 * dMatrix.cc (ComplexMatrix::sumsq): Use it. | |
8589 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. | |
8590 | |
3858 | 8591 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
8592 | |
8593 * Range.cc (Range::nelem_internal): Special case ranges that must | |
8594 have zero elements. | |
8595 | |
3854 | 8596 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
8597 | |
3857 | 8598 * Makefile.in: Split out readline and pathsearch functionality |
8599 into separate liboct-readline and liboct-pathsearch libraries. | |
8600 | |
3854 | 8601 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857 | 8602 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
8603 to do nothing for this call to rl_clear_screen. | |
3854 | 8604 |
3849 | 8605 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
8606 | |
8607 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied | |
8608 function. | |
8609 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. | |
8610 | |
3838 | 8611 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
8612 | |
8613 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, | |
8614 Matrix::inverse): Handle the case of rcond being a NaN the same as | |
8615 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. | |
8616 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, | |
8617 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. | |
8618 | |
3836 | 8619 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
8620 | |
8621 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. | |
8622 | |
8623 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, | |
8624 Array-b.cc: Instantiate three arg assign functions. | |
8625 | |
8626 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): | |
8627 New arg, resize_fill_value. | |
8628 * ArrayN.h: Provide declaration. | |
8629 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling | |
8630 three arg version. | |
8631 | |
8632 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): | |
8633 New arg, resize_fill_value. | |
8634 * Array3.h: Provide declaration. | |
8635 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling | |
8636 three arg version. | |
8637 | |
8638 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
8639 New arg, resize_fill_value. | |
8640 * Array2.h: Provide declaration. | |
8641 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling | |
8642 three arg version. | |
8643 | |
8644 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
8645 New arg, resize_fill_value. | |
8646 * Array.h: Provide declaration. | |
8647 (assign (Array<LT>&, const Array<RT>&): Define here by calling | |
8648 three arg version. | |
8649 | |
3833 | 8650 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
8651 | |
8652 * pathsearch.cc (dir_path::set_program_name): Set the environment | |
8653 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS | |
8654 to the empty string. | |
8655 | |
3832 | 8656 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
8657 | |
8658 * Array2.h (Array2<T>::operator = (const Array2<T>&)): | |
8659 Don't check for rep != a.rep. | |
8660 | |
3827 | 8661 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
8662 | |
8663 * oct-fftw.h, oct-fftw.cc: New files. | |
8664 * Makefile.in (INCLUDES, SOURCES): Add new files. | |
8665 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, | |
8666 ifourier2d}): Use fftw if available. | |
8667 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): | |
8668 Likewise. | |
8669 | |
3821 | 8670 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
8671 | |
8672 * Makefile.in (install-lib): Don't use mk-libdir-link. | |
8673 (install-inc): Don't use mk-includedir-link. | |
8674 | |
3803 | 8675 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
8676 | |
8677 * lo-cutils.c (octave_gethostname): New function. | |
8678 * lo-utils.h: Provide declaration. | |
8679 * oct-env.cc (octave_env::do_get_host_name): | |
8680 Call octave_gethostname, instead of gethostname. | |
8681 | |
8682 * lo-cutils.c (gethostname): Define here. | |
8683 * lo-sysdep.cc: Not here. | |
8684 | |
3786 | 8685 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
8686 | |
8687 * lo-cutils.c: Don't declare strptime. | |
8688 (oct_strptime): Cast return type of strptime to char*. | |
8689 | |
3777 | 8690 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
8691 | |
3779 | 8692 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
8693 (octave_rl_set_name): call rl_re_read_init_file with two args. | |
8694 (octave_rl_read_init_file): Ditto. | |
8695 (octave_rl_clear_undo_list): Call rl_free_undo_list, not | |
8696 free_undo_list. | |
8697 (octave_rl_completion_matches): Call rl_completion_matches, not | |
8698 completion_matches. | |
8699 (octave_rl_enable_paren_matching): New function. | |
8700 (octave_rl_set_blink_matching_paren_flag): Delete. | |
8701 (octave_rl_get_blink_matching_paren_flag): Delete. | |
8702 | |
3777 | 8703 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
8704 tanh (const Complex&)): Declare and define if not | |
8705 CXX_ISO_COMPLIANT_LIBRARY. | |
8706 | |
3776 | 8707 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
8708 | |
8709 * lo-mappers.h (tanh (const Complex&)): Only declare if not | |
8710 CXX_ISO_COMPLIANT_LIBRARY. | |
8711 | |
3775 | 8712 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
8713 | |
3776 | 8714 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
8715 CXX_ISO_COMPLIANT_LIBRARY. | |
8716 | |
3775 | 8717 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
8718 archive libraries containing templates. | |
8719 | |
8720 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, | |
8721 get_zero_len_size, all_colon_equiv): Inline. | |
8722 (ArrayN<T>::index): Rename idx to arr_idx. | |
8723 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, | |
8724 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, | |
8725 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. | |
8726 | |
8727 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8728 | |
8729 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), | |
8730 log10 (const Complex&)): Delete. | |
8731 | |
8732 * oct-cmplx.h: Define forwarding functions for real, imag, abs, | |
8733 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, | |
8734 sinh, sqrt, tan, and tanh. | |
8735 | |
3769 | 8736 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
8737 | |
8738 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: | |
8739 Add std:: namespace qualifier as needed. | |
8740 | |
8741 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. | |
8742 Change all uses to match. | |
8743 | |
3767 | 8744 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
8745 | |
8746 * lo-cutils.c: Don't delcare strptime. | |
8747 | |
3760 | 8748 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
8749 | |
8750 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): | |
8751 Return correct size result for empty matrix case. | |
8752 | |
3757 | 8753 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
8754 | |
8755 * lo-mappers.cc (xmin (const Complex&, const Complex& y): | |
8756 If args are equal in magnitude, return first arg instead of | |
8757 second. | |
8758 | |
3752 | 8759 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
8760 | |
3755 | 8761 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
8762 then try harder to compute correct number of elements. | |
3753 | 8763 |
3752 | 8764 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
8765 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. | |
8766 | |
3750 | 8767 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
8768 | |
3751 | 8769 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
8770 Rename n_intervals to be n_elt. | |
8771 | |
3750 | 8772 * strptime.c: Surround everything after including config.h in |
8773 #ifndef HAVE_STRPTIME ... #endif. | |
8774 | |
3742 | 8775 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
8776 | |
8777 * Array-idx.h (assign): When resizing, cast fill value to LT. | |
8778 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. | |
8779 | |
3741 | 8780 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
8781 | |
8782 * MArray-defs.h: Protect against multiple inclusion. | |
8783 | |
3739 | 8784 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
8785 | |
8786 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the | |
8787 end of the list, to be compatible with previous versions of Octave. | |
8788 | |
3736 | 8789 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
8790 | |
8791 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, | |
8792 since mktime is supposed to `normalize' the results for us. | |
8793 | |
3731 | 8794 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
8795 | |
8796 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices | |
3732 | 8797 and vectors. Use xelem for faster access to elements when copying. |
3731 | 8798 |
3726 | 8799 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
8800 | |
8801 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): | |
8802 Correct indexing for operation across rows. | |
8803 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. | |
8804 | |
3725 | 8805 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
8806 | |
8807 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying | |
8808 elements if arg is a colon. | |
8809 | |
5095 | 8810 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
3723 | 8811 |
3795 | 8812 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723 | 8813 (Matrix::cumsum (int) const): Likewise. |
8814 (Matrix::prod (int) const): Likewise. | |
8815 (Matrix::sum (int) const): Likewise. | |
8816 (Matrix::sumsq (int) const): Likewise. | |
8817 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. | |
8818 (ComplexMatrix::cumsum (int) const): Likewise. | |
8819 (ComplexMatrix::prod (int) const): Likewise. | |
8820 (ComplexMatrix::sum (int) const): Likewise. | |
8821 (ComplexMatrix::sumsq (int) const): Likewise. | |
8822 | |
3722 | 8823 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
8824 | |
8825 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set | |
8826 size if Array<T>::index returns an empty array. | |
8827 | |
3710 | 8828 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
8829 | |
8830 * file-ops.cc (file_ops::link, file_ops::symlink, | |
8831 file_ops::readlink): New functions. | |
8832 | |
3709 | 8833 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
8834 | |
8835 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is | |
8836 indexed, always return an object the same size as the index arg. | |
8837 | |
8838 * oct-time.cc (octave_base_tm::strftime): Return empty string for | |
8839 empty format. | |
8840 | |
3706 | 8841 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
8842 | |
8843 * lo-cutils.c (oct_strptime): New function. | |
8844 * oct-time.cc (octave_strptime::init): Call it instead of strptime. | |
8845 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. | |
8846 | |
3702 | 8847 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
8848 | |
3703 | 8849 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
8850 | |
3702 | 8851 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
8852 | |
3689 | 8853 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
8854 | |
8855 * dMatrix.h (read_int): Provide declaration. | |
8856 | |
3688 | 8857 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
8858 | |
8859 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. | |
8860 (write_doubles): Ditto. | |
8861 * data-conv.h: Ditto. | |
8862 (enum save_type): New values, LS_U_LONG and LS_LONG. | |
8863 | |
3685 | 8864 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
8865 | |
8866 * boolMatrix.h: Declare MM_CMP_OPS here. | |
8867 * boolMatrix.cc: Define them here. | |
8868 | |
3680 | 8869 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
8870 | |
8871 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is | |
8872 previously undefined and set size of x to size of bool index. | |
8873 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): | |
8874 Allow z_len to be zero. | |
8875 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. | |
8876 If frozen, don't assert that frozen_at_z_len == z_len. | |
8877 | |
3670 | 8878 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
8879 | |
8880 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen | |
8881 instead of rl_clear_screen. | |
8882 | |
3665 | 8883 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
8884 | |
8885 * Array-d.cc: Instantiate ArrayN<double> here too. | |
8886 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. | |
8887 * Makefile.in: Add them to the appropriate lists. | |
8888 | |
3657 | 8889 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
8890 | |
8891 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. | |
8892 | |
3635 | 8893 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
8894 | |
8895 * lo-sysdep.h: octave_chdir returns int, not bool. | |
8896 | |
3615 | 8897 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
8898 | |
8899 * Makefile.in (liboctave.$(SHLEXT)): Delete target | |
8900 before rebuilding. | |
8901 | |
5095 | 8902 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
3615 | 8903 |
5261 | 8904 * Makefile.in (liboctave.$(LIBEXT)): New target. |
3615 | 8905 (libraries): Depend only on library targets, not archive members. |
8906 | |
3613 | 8907 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
8908 | |
8909 * Makefile.in: (objects): New target. | |
8910 | |
8911 * lo-cutils.c: New file. | |
8912 * Makefile.in (SOURCES): Add it to the list. | |
8913 * lo-utils.h: Declare octave_qsort here. | |
8914 * Array.h (Array::qsort): Use it here. | |
8915 | |
3607 | 8916 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
8917 | |
8918 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. | |
8919 | |
3598 | 8920 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
8921 | |
8922 * oct-rl-hist.c (octave_history_list): Do something when not | |
8923 printing line numbers. Fix reallocation of retval. | |
8924 | |
3597 | 8925 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
8926 | |
8927 * Makefile.in (install-inc): Install files in | |
8928 $(octincludedir)/octave. | |
8929 (uninstall): Remove them from the correct directory too. | |
8930 | |
8931 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if | |
8932 they are not already defined. | |
8933 | |
3588 | 8934 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
8935 | |
8936 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: | |
8937 Delete declarations and definitions of mixed-type vector-vector ops. | |
8938 | |
3585 | 8939 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
8940 | |
8941 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS | |
8942 matrix and vector objects. | |
8943 | |
8944 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to | |
8945 return type from second arg type. | |
8946 (MDM_BIN_OP): Likewise, for first arg type. | |
8947 | |
8948 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
8949 Matrix::fourier2d, Matrix::ifourier2d): Likewise. | |
8950 | |
8951 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly | |
8952 request ColumnVector to ComplexColumnVector, and Matrix to | |
8953 ComplexMatrix conversions. | |
8954 | |
8955 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its | |
8956 initial value using ComplexMatrix constructor. | |
8957 | |
8958 * CColVector.cc (product, quotient, | |
8959 operator * (const DiagMatrix&, const ComplexColumnVetor&)): | |
8960 Fix type of returned value. | |
8961 * CDiagMatrix.cc (ComplexDiagMatrix::row, | |
8962 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. | |
8963 | |
8964 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, | |
8965 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, | |
8966 dRowVector.h: Declare some constructors explicit, to disallow | |
8967 potentially problematic automatic type conversions. | |
8968 | |
3580 | 8969 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
8970 | |
3582 | 8971 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
8972 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: | |
8973 More new files. | |
8974 * Makefile.in: Add them to the appropriate lists. | |
8975 | |
8976 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, | |
8977 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, | |
8978 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, | |
8979 vx-s-crv.cc:, New files. | |
8980 * Makefile.in: Add them to the appropriate lists. | |
8981 | |
8982 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: | |
8983 Delete scalar by vector and vector by scalar binary ops. | |
8984 | |
3580 | 8985 * MArray-defs.h: More new macros to handle MDiagArray operators. |
8986 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. | |
8987 | |
3573 | 8988 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
8989 | |
3578 | 8990 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
8991 rl_event_hook before casting to void **. | |
8992 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. | |
8993 | |
3574 | 8994 * MArray-defs.h: Many new macros to make declaration and |
8995 definition of operators more consistent. | |
8996 | |
8997 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, | |
8998 CRowVector.h, dMatrix.h, CMatrix.h: Use them. | |
3573 | 8999 |
3569 | 9000 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
9001 | |
3572 | 9002 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
9003 (Matrix::ifourier2d): Likewise. | |
9004 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. | |
9005 (ComplexMatrix::ifourier2d): Likewise. | |
9006 | |
3569 | 9007 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
9008 | |
3504 | 9009 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
9010 | |
3519 | 9011 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
9012 readline library. | |
9013 * Makefile.in: Add them to the appropriate lists. | |
9014 | |
9015 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU | |
9016 readline history library. | |
9017 * Makefile.in: Add them to the appropriate lists. | |
9018 | |
3517 | 9019 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
9020 (LS_DO_READ): Likewise, for istream::read. | |
3518 | 9021 (write_doubles): Likewise. |
9022 (read_doubles): Likewise. | |
3517 | 9023 |
3516 | 9024 * oct-env.cc (octave_env::do_polite_directory_format): |
9025 Use operator== and substr method to do limited-length string | |
9026 comparison. | |
9027 | |
3513 | 9028 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512 | 9029 |
3511 | 9030 * Quad.h: Use do_integrate as name of pure virtual function. |
9031 | |
3508 | 9032 * base-de.h: Use tt instead of t as arg names. |
3511 | 9033 Add method with tcrit arg. |
9034 | |
3509 | 9035 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508 | 9036 |
3507 | 9037 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
9038 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. | |
9039 * Quad.cc (quad_fcn_ptr): Ditto. | |
9040 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. | |
9041 | |
3505 | 9042 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519 | 9043 * Makefile.in: Add them to the appropriate lists. |
3505 | 9044 |
9045 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. | |
3519 | 9046 * Makefile.in: Add them to the appropriate lists. |
3505 | 9047 |
3504 | 9048 * dMatrix.cc (write_int, read_int): No longer declared static. |
9049 | |
9050 * CDiagMatrix.h: Delete decls for friend operators that are | |
9051 handled by MDiagArray2 class. Move others outside class decl and | |
9052 strip friend status. | |
9053 * dDiagMatrix.h: Likewise. | |
9054 | |
9055 * MArray.h: Delete decls for friend operators inside class decl. | |
9056 * MArray2.h: Ditto. | |
9057 * MDiagArray2.h: Ditto. | |
9058 | |
9059 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all | |
9060 necessary parameters. Don't allocate memory in the macro. Change | |
9061 all uses. | |
9062 | |
9063 * dMatrix.h (class Matrix): Delete `friend class' decls. | |
9064 * CMatrix.h (class ComplexMatrix): Ditto. | |
9065 | |
9066 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, | |
9067 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, | |
9068 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to | |
9069 avoid type conflicts. Change all uses. | |
9070 | |
9071 * strptime.c (__mon_yday): Fix size of array decl. | |
9072 | |
9073 * mx-inlines.cc: Use `xnot' instead of `not' for function name. | |
9074 | |
9075 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous | |
9076 default value for second arg. | |
9077 | |
9078 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to | |
9079 references to ArrayRep. | |
9080 | |
3503 | 9081 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
9082 | |
3504 | 9083 * Array.h (Array::ArrayRep): Now protected, not private. |
3503 | 9084 |
9085 * All source files: Include iostream, fstream, strstream, | |
9086 etc. as needed instead of using forward declarations for these | |
3504 | 9087 classes. Add std:: qualifier as needed. |
3503 | 9088 |
3498 | 9089 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
9090 | |
9091 * oct-time.cc: Declare strptime extern "C". | |
9092 | |
3496 | 9093 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
9094 | |
9095 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. | |
9096 | |
3488 | 9097 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
9098 | |
3492 | 9099 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
9100 * Array3.h, Array3.cc: Use it in constructors and resize methods | |
9101 to get total size to be allocated. | |
9102 | |
3488 | 9103 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
9104 as bool, not int. | |
9105 | |
3482 | 9106 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
9107 | |
9108 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
9109 Allow A(idx) = RHS if idx is a boolean index with the same shape | |
9110 as A, even when do_fortran_indexing is not enabled. | |
9111 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). | |
9112 | |
3473 | 9113 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
9114 | |
3480 | 9115 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
9116 function pointer as final arg. Passed function (if any) will be | |
9117 called for singularity errors. | |
9118 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. | |
9119 | |
9120 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. | |
9121 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
9122 | |
3475 | 9123 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
9124 No longer bother with infinity or quiet_nan. | |
9125 | |
3473 | 9126 * Array2.cc (Array2<T>::get_size): New function. |
9127 (Array2<T>::Array2, Array2<T>::resize): Use it. | |
9128 | |
3472 | 9129 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
9130 | |
9131 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): | |
9132 New function. | |
9133 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
9134 Use it when indexing with one arg instead of faking a second one. | |
9135 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): | |
9136 Return empty matrices with the correct dimensions for A(:,:) = [] | |
9137 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all | |
9138 rows or columns. | |
9139 | |
9140 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool | |
9141 vector that is all true values with a length equal to n as colon | |
9142 equivalent. | |
9143 | |
3470 | 9144 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
9145 | |
9146 * strptime.c: Only include langinfo.h if _LIBC is defined. | |
9147 | |
5095 | 9148 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468 | 9149 |
9150 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling | |
9151 operations directly in step 2 and reverse step 2. | |
9152 * dMatrix.cc (Matrix::expm): Apply permutation and scaling | |
9153 operations directly in step 2 and reverse step 2. | |
9154 | |
3465 | 9155 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
9156 | |
9157 * oct-time.h, oct-time.cc (octave_strptime): New class. | |
9158 | |
9159 * strptime.c: New file, from glibc 2.1.2. | |
9160 * Makefile.in (SOURCES): Add strptime.c to the list. | |
9161 | |
3419 | 9162 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
9163 | |
9164 * MArray.h (MArray <const Array<T>&)): New constructor. | |
9165 | |
3415 | 9166 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
9167 | |
9168 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing | |
9169 NULL directory list returned from kpse_element_dirs | |
9170 | |
3375 | 9171 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
9172 | |
9173 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. | |
9174 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF | |
9175 directly, instead of calling ZGESV. | |
9176 | |
3358 | 9177 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
9178 | |
9179 * data-conv.cc (init_sized_type_lookup_table): New function. | |
9180 (string_to_data_type): Use it to improve lookup of data types. | |
9181 | |
3354 | 9182 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
9183 | |
9184 * dMatrix.cc (is_symmetric): Move here from Array2.cc. | |
9185 * Array2.h (is_symmetric): Delete declaration. | |
9186 | |
3347 | 9187 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
9188 | |
9189 * oct-env.cc (do_get_user_name): Reverse sense of test. | |
9190 | |
3344 | 9191 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
9192 | |
9193 * oct-time.cc (Fstrftime): Undo previous change. | |
9194 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
9195 | |
3334 | 9196 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
9197 | |
3336 | 9198 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
9199 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. | |
9200 | |
3334 | 9201 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
9202 Don't forget to pass length of third string argument to dgeesx. | |
9203 | |
9204 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length | |
9205 of third string argument to zgeesx. | |
9206 | |
3333 | 9207 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
9208 | |
9209 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): | |
9210 On errors, simply return `T ()'. | |
9211 (DiagArray2<T>::checkelem (int, int)): Likewise. | |
9212 | |
5095 | 9213 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3331 | 9214 |
9215 * dMatrix.cc (Matrix::expm): Do balancing here instead of using | |
9216 AEPBALANCE class. | |
9217 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
9218 | |
3325 | 9219 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
9220 | |
9221 * oct-shlib.cc, oct-shlib.h: New files. | |
9222 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
9223 | |
3322 | 9224 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
9225 | |
9226 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. | |
9227 * dRowVector.cc (linspace): Ditto. | |
9228 | |
9229 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. | |
9230 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
9231 | |
3312 | 9232 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
9233 | |
9234 * DASSL.cc (DASSL::do_integrate (double)): If we have a function | |
9235 to evaluate the Jacobian, set info(4), not iwork(4). | |
9236 Set rwork(1) to the maximum step size, not rwork(2). | |
9237 | |
3290 | 9238 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
9239 | |
9240 * oct-time.cc: Include <climits>. | |
9241 | |
3281 | 9242 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
9243 | |
9244 * cmd-edit.h (command_editor::do_resize_terminal): New function. | |
9245 * cmd-edit.cc (command_editor::resize_terminal): New function. | |
9246 (gnu_readline::do_resize_terminal): New function. | |
9247 | |
3268 | 9248 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
9249 | |
9250 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. | |
9251 * lo-ieee.c: Likewise. | |
9252 Delete extern "C" declarations for infinity and quiet_nan. | |
9253 | |
3262 | 9254 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
9255 | |
3263 | 9256 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
9257 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions | |
9258 `inline', not `static inline'. | |
9259 | |
3262 | 9260 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
9261 then cast to const int * to compare. | |
9262 | |
3257 | 9263 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
9264 | |
9265 * DAEFunc.h: Remove useless preprocessor conditional. | |
9266 | |
3255 | 9267 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
9268 | |
3257 | 9269 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
9270 Use octave_time object instead of time_t. | |
9271 | |
9272 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, | |
9273 file_stat::fs_ctime): Now octave_time objects. | |
9274 (file_stat::atime, file_stat::mtime, file_stat::ctime): | |
9275 Return octave_time objects. | |
9276 (file_stat::is_newer): Args are now octave_time objects instead of | |
9277 time_t. | |
9278 | |
3255 | 9279 * oct-time.h (octave_time::as_double): Delete. |
9280 (octave_time::operator double ()): New function. | |
9281 (octave_time::operator time_t ()): New function. | |
9282 (octave_time::ctime): New function. | |
9283 (octave_base_tm::strftime): Renamed from format_as_string. | |
9284 (octave_base_tm::asctime): New function. | |
9285 (operator == (const octave_time&, const octave_time&), | |
9286 operator != (const octave_time&, const octave_time&), | |
9287 operator < (const octave_time&, const octave_time&), | |
9288 operator <= (const octave_time&, const octave_time&), | |
9289 operator > (const octave_time&, const octave_time&), | |
9290 operator >= (const octave_time&, const octave_time&)): | |
9291 New comparison functions. | |
9292 | |
9293 * strftime.c: Move here from src directory. | |
9294 * Makefile.in (SOURCES): Add it to the list. | |
9295 | |
9296 * oct-time.h (octave_time::octave_time (time_t)): New constructor. | |
9297 | |
3253 | 9298 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
9299 | |
9300 * oct-time.h, oct-time.cc: New files. | |
9301 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
9302 | |
9303 * systime.h: Move here from src directory. | |
9304 * Makefile.in (INCLUDES): Add it to the list. | |
9305 | |
3248 | 9306 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
9307 | |
9308 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. | |
9309 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. | |
9310 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. | |
9311 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. | |
9312 | |
9313 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. | |
9314 | |
3243 | 9315 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
9316 | |
9317 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. | |
9318 | |
9319 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9320 | |
9321 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a | |
9322 column vector for A(:), for compatibility with Matlab. | |
9323 | |
9324 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9325 | |
9326 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set | |
9327 iopt when there are optional inputs in rwork or iwork. | |
9328 | |
3238 | 9329 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
9330 | |
9331 * Makefile.in (libraries): Use the libfoo.a(objects) method of | |
9332 creating static libs. | |
9333 | |
5095 | 9334 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
3238 | 9335 |
9336 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 | |
9337 and uint32 data types. | |
9338 | |
9339 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9340 | |
9341 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code | |
9342 for Linux. Remove old Linux-specific code. | |
9343 | |
3233 | 9344 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
9345 | |
9346 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): | |
9347 Don't require lengths to be equal. | |
9348 * CMatrix.cc (operator * (const ComplexColumnVector& v, const | |
9349 ComplexRowVector& a)): Likewise | |
9350 | |
5095 | 9351 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
3225 | 9352 |
9353 * statdefs.h: Only define mode_t if not already defined. | |
9354 | |
5095 | 9355 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
3225 | 9356 |
9357 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero | |
9358 when appropriate. | |
9359 | |
9360 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9361 | |
9362 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name | |
9363 before calling rl_initialize. | |
9364 | |
3220 | 9365 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9366 | |
9367 * lo-specfun.cc (besselh, airy, biry): New functions. | |
9368 Update Bessel function support to use library by D. E. Amos. | |
9369 | |
3219 | 9370 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9371 | |
9372 * cmd-edit.h (command_editor::readline): Add new variation that | |
9373 allows EOF information to be passed back to caller. | |
9374 | |
9375 * dMatrix.cc (Matrix::read): Do the right thing for EOF when | |
9376 amount of data to read is unspecified. | |
9377 | |
3215 | 9378 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9379 | |
3219 | 9380 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
9381 (DEFINE_OCTAVE_ALLOCATOR): Ditto. | |
9382 | |
3215 | 9383 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
9384 Add volatile qualifier to void* arg. | |
9385 Cast volatile void* arg to volatile char*. | |
9386 | |
9387 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9388 | |
9389 * cmd-edit.h (command_editor::do_set_event_hook): New function. | |
9390 (command_editor::do_restore_event_hook): Ditto. | |
9391 * cmd-edit.cc (command_editor::set_event_hook): Ditto. | |
9392 (command_editor::restore_event_hook): Ditto. | |
9393 (gnu_readline::do_set_event_hook): Ditto. | |
9394 (gnu_readline::do_restore_event_hook): Ditto. | |
9395 (gnu_readline::previous_event_hook): New data member. | |
9396 (gnu_readline::gnu_readline): Initialize previous_event_hook. | |
9397 | |
3206 | 9398 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9399 | |
9400 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. | |
9401 | |
9402 * Makefile.in (stmp-pic): New target. | |
9403 ($(PICOBJ)): Depend on stmp-pic, not pic. | |
9404 (clean): Remove stmp-pic | |
9405 | |
9406 * Makefile.in: Undo previous change to avoid optmization when | |
9407 compiling lo-ieee.cc. | |
9408 | |
9409 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9410 | |
9411 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and | |
9412 imaginary parts. | |
9413 (xisinf): Define in terms of xisinf for real and imaginary parts. | |
9414 | |
3203 | 9415 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9416 | |
9417 * boolMatrix.cc (boolMatrix::operator !): New function. | |
9418 | |
3196 | 9419 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9420 | |
9421 * pathsearch.h (dir_path::default_path): New data member. | |
9422 * pathsearch.cc (dir_path::init): Use it. | |
9423 | |
9424 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. | |
9425 | |
3189 | 9426 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9427 | |
9428 * chMatrix.cc (charMatrix::extract): New function. | |
9429 (charMatrix::charMatrix (char c)): New constructor. | |
9430 | |
9431 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9432 | |
9433 * cmd-edit.h: (command_editor::do_read_init_file): New function. | |
9434 * cmd-edit.cc (command_editor::read_init_file): New function. | |
9435 (gnu_readline::do_read_init_file): Likewise. | |
9436 | |
3185 | 9437 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9438 | |
9439 * oct-env.cc (octave_env::do_get_home_directory): | |
9440 If HOME can't be found, set it to "/". | |
9441 (octave_env::do_get_user_name) | |
9442 If user name can't be found, set it to "unknown". | |
9443 (octave_env::do_get_host_name) | |
9444 If host name can't be found, set it to "unknown". | |
9445 | |
9446 * pathsearch.h (dir_path::rehash): New function. | |
9447 * pathsearch.cc (dir_path::init): Clear kpathsea's internal | |
9448 diretcory cache before doing initialization. | |
9449 | |
3180 | 9450 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9451 | |
3185 | 9452 * dMatrix.cc (Qzval): Delete. |
9453 (qzhes, qzit, qzval): Delete F77_FCN declarations. | |
9454 * dMatrix.h (Qzval): Delete declaration. | |
9455 | |
9456 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. | |
9457 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. | |
9458 * mx-ext.h: Don't include dbleGEPBAL. | |
9459 | |
3180 | 9460 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
9461 static_cast. | |
9462 | |
9463 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9464 | |
9465 * dMatrix.cc (Matrix::read): Skip after reading, not before. | |
9466 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. | |
9467 | |
9468 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9469 | |
9470 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on | |
9471 HUGE_VAL and NAN. | |
9472 | |
9473 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9474 | |
9475 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
9476 Handle x(i) = scalar for do_fortran_indexing == 1. | |
9477 | |
9478 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9479 | |
9480 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): | |
9481 Alloctate space before attempting to use it. | |
9482 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. | |
9483 | |
5095 | 9484 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
3178 | 9485 |
9486 * EIG.cc (EIG::init): Move invariant code outside loop. | |
9487 | |
9488 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9489 | |
9490 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result | |
9491 have the same size as the operands. | |
9492 | |
9493 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9494 | |
9495 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the | |
9496 call to ddassl, set integration_error to 1 before calling the | |
9497 error handler and returning. | |
9498 * LSODE.cc (LSODE::do_integrate): Likewise. | |
9499 | |
3177 | 9500 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9501 | |
9502 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if | |
9503 do_fortran_indexing is set, A([]) = scalar. | |
9504 * Array-idx.h (assign): Allow A([]) = scalar. | |
9505 | |
3176 | 9506 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9507 | |
9508 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not | |
9509 if dm_nc == 0. | |
9510 | |
3174 | 9511 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9512 | |
9513 * pathsearch.h (dir_path::p_orig): New field. | |
9514 * pathsearch.cc (dir_path::init): Perform variable and tilde | |
9515 expansion on the original path here. | |
9516 (dir_path::find_all): Don't do anything if not initialized. | |
9517 | |
3164 | 9518 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9519 | |
9520 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing | |
9521 is not set. | |
9522 (index): Allow x = zeros (2, 0); x(1,:) to work. | |
9523 | |
9524 * lo-specfun.cc (gammainc): Use dgamit to compute | |
9525 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just | |
9526 \int_0^x exp(-t) t^(a-1) dt. | |
9527 | |
9528 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9529 | |
9530 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, | |
9531 Array-s.cc: Change return types of all `assign' explicit | |
9532 instantiations to be int, not void, to match the template decl in | |
9533 Array.h. | |
9534 | |
3162 | 9535 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9536 | |
9537 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. | |
9538 | |
3156 | 9539 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9540 | |
9541 * lo-specfun.cc (xgamma, xlgamma): Define here. | |
9542 * lo-mappers.cc: Not here. | |
9543 | |
9544 * lo-specfun.h: Declare xgamma and xlgamma here. | |
9545 * lo-mappers.h: Not here. | |
9546 | |
9547 * lo-specfun.h: Never declare gamma or lgamma. | |
9548 | |
3154 | 9549 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9550 | |
9551 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an | |
9552 empty matrix of any dimension. | |
9553 | |
3145 | 9554 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9555 | |
3147 | 9556 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
9557 | |
3146 | 9558 * lo-specfun.cc: Don't include dbleBessel.h. |
9559 | |
9560 * Makefile.in (INCLUDES): Delete oct-math.h from the list. | |
9561 | |
3145 | 9562 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
9563 * file-stat.h (file_stat::operator bool ()): Likewise. | |
9564 * idx-vector.h (idx_vector::operator bool ()): Likewise. | |
9565 * oct-group.h (octave_group::operator bool ()): Likewise. | |
9566 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. | |
9567 | |
9568 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): | |
9569 Don't cast arg in call to swap_8_bytes. | |
9570 (IEEE_big_double_to_IEEE_little_double): Ditto | |
9571 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to | |
9572 swap_4_bytes. | |
9573 (IEEE_little_float_to_IEEE_big_float): Ditto | |
9574 | |
9575 * oct-alloc.cc (grow): Use X_CAST, not static_cast. | |
9576 * prog-args.cc (prog_args::getopt): Likewise. | |
9577 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. | |
9578 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. | |
9579 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): | |
9580 Likewise. | |
9581 | |
9582 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, | |
9583 swap_8_bytes): Declare ptr arg as void*, then use cast. | |
9584 | |
3141 | 9585 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9586 | |
9587 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). | |
9588 Use $(mk-libdir-link). | |
9589 | |
9590 * file-stat.cc (file_stat::update_internal): Use stat and lstat, | |
9591 not SAFE_STAT and SAFE_LSTAT. | |
9592 (lstat): New function, defined if HAVE_LSTAT is not defined. | |
9593 * safe-xstat.hin, safe-xstat.cin: Delete. | |
9594 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, | |
9595 safe-lstat.h, and safe-lstat.cc. | |
9596 | |
3136 | 9597 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9598 | |
9599 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. | |
9600 | |
3130 | 9601 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9602 | |
9603 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the | |
9604 trace is negative. | |
9605 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if | |
9606 the real part of the trace is negative. | |
9607 | |
9608 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9609 | |
9610 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. | |
9611 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. | |
9612 | |
9613 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] | |
9614 to succeed. | |
9615 | |
3125 | 9616 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9617 | |
9618 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. | |
9619 (make_uniq): Likewise. | |
9620 | |
9621 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9622 | |
9623 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. | |
9624 | |
3119 | 9625 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9626 | |
3121 | 9627 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
9628 | |
9629 * lo-specfun.h, lo-specfun.cc: New files. | |
3119 | 9630 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
9631 | |
3121 | 9632 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
9633 oct-math.h: Delete. | |
9634 * Makefile.in (SOURCES): Delete them from the list. | |
9635 | |
3112 | 9636 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9637 | |
9638 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. | |
9639 | |
5095 | 9640 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
3107 | 9641 |
9642 Changes to make support egcs snapshots that implement explicit | |
9643 specification of template functions according to CD2. | |
9644 | |
9645 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit | |
9646 template function specs for template friends. | |
9647 * MArray2.h: Likewise. | |
9648 * MDiagArray2.h: Likewise. | |
9649 | |
3095 | 9650 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9651 | |
9652 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) | |
9653 | |
3092 | 9654 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
9655 | |
9656 * CRowVector.cc (linspace): Removed attempt for implicit conversion | |
9657 to complex<double>(int) instead of complex<double>(double). | |
9658 | |
9659 * lo-mappers.cc (atanh): Ditto. | |
9660 | |
3079 | 9661 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9662 | |
9663 * idx-vector.cc (IDX_VEC_REP::sort): New function. | |
9664 * idx-vector.h (idx_vector::sort): Ditto. | |
9665 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before | |
9666 trying to delete elements specified by the index vectors. | |
9667 | |
3075 | 9668 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9669 | |
9670 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. | |
9671 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. | |
9672 | |
3074 | 9673 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9674 | |
9675 * file-ops.cc (tilde_expand_word): Fix off-by-one error. | |
9676 | |
3069 | 9677 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9678 | |
9679 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. | |
9680 Call error handler if we can't find the current directory. | |
9681 | |
3068 | 9682 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9683 | |
3069 | 9684 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
9685 (xfinite (double)): Ditto. | |
9686 | |
3068 | 9687 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
9688 * CmplxQR.cc (ComplexQR::init): Ditto. | |
9689 | |
3056 | 9690 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9691 | |
9692 * lo-mappers.cc (acos (const Complex&)): Select branch that is | |
9693 compatible with Matlab. | |
9694 | |
3050 | 9695 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9696 | |
9697 * Array2-idx.h: Correctly handle empty matrices indexed by a | |
9698 single colon. | |
9699 | |
3040 | 9700 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9701 | |
3049 | 9702 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
9703 (xgamma): Likewise, for calling xdgamma. | |
9704 | |
3042 | 9705 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
9706 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. | |
9707 | |
3040 | 9708 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
9709 to do better job expanding tildes. | |
9710 | |
9711 * str-vec.cc (string_vector::string_vector (const char * const *): | |
9712 Use temporary variable to compute length. | |
9713 | |
3029 | 9714 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9715 | |
3034 | 9716 * Makefile.in: Make building of static library optional. |
3036 | 9717 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034 | 9718 |
3029 | 9719 * Makefile.in (stamp-picdir): Delete. |
9720 (pic): New target. Don't worry so much about creating pic | |
9721 directory only when it is really needed. | |
9722 (stamp-interp): Delete. | |
9723 (libraries): New target. Depend on shared library directly. | |
9724 | |
3024 | 9725 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9726 | |
9727 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): | |
9728 New static function. | |
9729 | |
3012 | 9730 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9731 | |
9732 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. | |
9733 | |
3004 | 9734 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9735 | |
9736 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to | |
9737 set_basic_quote_characters, to match new version of readline. | |
9738 | |
9739 * cmd-edit.cc (do_restore_terminal_state): Call readline function | |
9740 for restoring terminal state through rl_deprep_term_function, now | |
9741 declared in readline.h | |
9742 (rl_deprep_terminal): Delete declaration. | |
9743 | |
2993 | 9744 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9745 | |
9746 * Makefile.in (install-in): Use new mk-includedir-link macro. | |
9747 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. | |
9748 | |
2968 | 9749 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9750 | |
9751 * cmd-edit.cc (command_editor::increment_current_command_number): | |
9752 New static function. | |
9753 | |
2964 | 9754 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9755 | |
2966 | 9756 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
9757 the vector is not sorted. | |
9758 | |
2964 | 9759 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
9760 * dMatrix.cc (Matrix::operator !): Likewise | |
9761 | |
2941 | 9762 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9763 | |
9764 * oct-syscalls.h, oct-syscalls.cc: New files. | |
9765 | |
9766 * cmd-edit.h, cmd-edit.cc: Handle completion function. | |
9767 | |
9768 * str-vec.h, str-vec.cc (string_vector::uniq): New function. | |
9769 | |
2938 | 9770 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9771 | |
2941 | 9772 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
9773 (install-inc): Use it. | |
9774 | |
2938 | 9775 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
9776 Handle errors and missing functions consistently. | |
9777 | |
9778 * oct-group.h, oct-group.cc: New files. | |
9779 | |
9780 * oct-passwd.cc: Handle errors and missing functions consistently. | |
9781 | |
9782 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. | |
9783 | |
2934 | 9784 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9785 | |
9786 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. | |
9787 * oct-env.cc (octave_env::do_get_user_name): Likewise. | |
9788 | |
9789 * oct-passwd.h, oct-passwd.cc: New files. | |
9790 | |
2926 | 9791 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9792 | |
9793 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. | |
9794 | |
9795 * mach-info.h, mach-info.cc: Add missing const qualifiers. | |
9796 (instance_ok ()): New function. | |
9797 | |
9798 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. | |
9799 | |
9800 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. | |
9801 | |
9802 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from | |
9803 src/utils.h and src/utils.cc. | |
9804 (octave_fgets): New function, extracted from src/input.cc. | |
9805 | |
9806 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for | |
9807 GNU readline, and allow Octave to work without GNU readline. | |
9808 | |
9809 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous | |
9810 system-dependent functions. | |
9811 | |
9812 * oct-env.h, oct-env.cc: New files for process environment stuff. | |
9813 | |
9814 * file-stat.h, file-stat.cc: New files. Extract file_stat class | |
9815 from file-ops.h and file-ops.cc and move here. | |
9816 | |
9817 * file-ops.h, file-ops.cc: Wrap functions in struct. Move | |
9818 tilde_expand functions here from src/dirfns.cc. | |
9819 | |
9820 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9821 | |
9822 * pathlen.h: New file, from ../src. | |
9823 | |
2917 | 9824 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9825 | |
9826 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent | |
9827 out-of-bounds indexing of the index array. | |
9828 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. | |
9829 | |
2850 | 9830 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9831 | |
9832 * LSODE.h (x_step_limit): New field. | |
9833 (LSODE_options::init): Initialize it. | |
9834 (LSODE_options::copy): Copy it. | |
9835 (LSODE_options::set_step_limit, LSODE_options::step_limit): | |
9836 New functions. | |
9837 (LSODE::working_too_hard): Delete. | |
9838 * LSODE.cc (LSODE::do_integrate): Handle step limit. | |
9839 | |
2844 | 9840 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9841 | |
9842 * MArray-b.cc: Delete. | |
9843 * Makefile.in: Delete it from the lists. | |
9844 | |
9845 * boolMatrix.h (class bboolMatrix): Derive from Array2, not | |
9846 MArray2, since most of the numeric ops don't really make sense. | |
9847 | |
2829 | 9848 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9849 | |
2832 | 9850 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
9851 | |
9852 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. | |
9853 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. | |
9854 | |
2830 | 9855 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
9856 idx_vector::freeze): Delete prefer_zero_one arg. | |
9857 * Array-idx.h, Array2-idx.h: Change all callers. | |
9858 | |
9859 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. | |
9860 | |
2829 | 9861 * mx-op-defs.h: New file for operator definitions. |
9862 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, | |
9863 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, | |
9864 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, | |
9865 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, | |
9866 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, | |
9867 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, | |
9868 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, | |
9869 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, | |
9870 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, | |
9871 mx-s-cm.cc, mx-s-dm.cc: | |
9872 New files for mixed-type operations. | |
9873 * Makefiles.in: Add them to the appropriate lists. | |
9874 | |
9875 * mx-inlines.cc: Add bool by bool EQ ops. | |
9876 | |
9877 * idx-vector.h, idx-vector.cc: Add constructors for bool and | |
9878 boolMatrix types. | |
9879 (idx_vector::maybe_convert_one_zero_to_idx, | |
9880 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): | |
9881 Delete second arg, prefer_zero_one. Change all callers. | |
9882 | |
9883 * boolMatrix.h, boolMatrix.cc: New files. | |
9884 * mx-base.h: Include boolMatrix.h here. | |
9885 * mx-defs.h: Provide forward declaration for boolMatrix here. | |
9886 | |
9887 * chMatrix.h, chMatrix.cc: Delete unused junk. | |
9888 | |
9889 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, | |
9890 operator-, operator*, product, and quotient functions. | |
9891 Add constructor for boolMatrix type. | |
9892 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, | |
9893 product, and quotient functions. | |
9894 | |
9895 * CDiagMatrix.h: Delete friend declarations for operator+, | |
9896 operator-, and product functions. | |
9897 * CDiagMatrix.h: Delete operator+, operator-, and product functions. | |
9898 | |
9899 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. | |
9900 | |
2815 | 9901 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9902 | |
9903 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. | |
9904 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. | |
9905 (EIG::symmetric_init (const Matrix&)): New function. | |
9906 (EIG::init (const Matrix&)): Call it if arg is symmetric. | |
9907 | |
9908 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. | |
9909 | |
9910 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9911 | |
9912 * Array2.cc (is_symmetric): New function. | |
9913 * Array2.h (is_square): New function. | |
9914 | |
2811 | 9915 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9916 | |
9917 * Makefile.in (install-strip): New target. | |
9918 | |
2804 | 9919 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9920 | |
9921 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
9922 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, | |
9923 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
9924 dbleSVD.cc: Don't include mx-inlines.cc. | |
9925 | |
9926 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of | |
9927 duplicate code. | |
9928 | |
2800 | 9929 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9930 | |
2804 | 9931 * dbleQR.h (QR): Delete extra comma at end of list. |
9932 | |
9933 * prog-args.cc (prog_args::getopt): Add missing const in cast. | |
9934 | |
9935 * dbleSVD.h (SVD::type): Delete extra comma at end of list. | |
9936 | |
9937 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and | |
9938 idx_vecotr_rep:: qualifiers. | |
9939 | |
9940 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. | |
9941 | |
9942 * data-conv.h (save_type): Delete extra comma at end of list. | |
9943 | |
2800 | 9944 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
9945 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, | |
9946 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of | |
9947 old C-style `(T) val' casts. | |
9948 | |
2795 | 9949 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9950 | |
9951 * dMatrix.cc (operator >>): Return if an error occurs instead of | |
9952 just breaking out of the innermost loop. | |
9953 * CMatrix.cc (operator >>): Likewise. | |
9954 | |
2779 | 9955 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775 | 9956 |
9957 * Version 2.0.5 released. | |
9958 | |
2767 | 9959 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9960 | |
9961 * CmplxQR.cc (ComplexQR::init): New function. | |
9962 (ComplexQR::ComplexQR): Use it. Use initializer list too. | |
9963 * CmplxQRP.cc (ComplexQRP::init): New function. | |
9964 Get sizes right in all cases. | |
9965 (ComplexQR::ComplexQRP): Use it. Use initializer list too. | |
9966 | |
9967 * dbleQR.cc (QR::init): New function. | |
9968 (QR::QR): Use it. Use initializer list too. | |
9969 * dbleQRP.cc (QRP::init): New function. | |
9970 Get sizes right in all cases. | |
9971 (QR::QRP): Use it. Use initializer list too. | |
9972 | |
2759 | 9973 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9974 | |
9975 * mach-info.cc (oct_mach_info::string_to_float_format): | |
9976 Recognize "vaxg", not "vax_g". | |
9977 | |
2713 | 9978 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9979 | |
2714 | 9980 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
9981 dimension in check for colon equivalent index. | |
9982 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element | |
9983 index whose value is 0 is also colon eqivalent for n == 1. | |
9984 | |
2713 | 9985 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
9986 system-specific tests first. | |
9987 | |
2709 | 9988 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702 | 9989 |
9990 * Version 2.0.4 released. | |
9991 | |
9992 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9993 | |
9994 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. | |
9995 | |
2693 | 9996 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690 | 9997 |
9998 * Version 2.0.3 released. | |
9999 | |
2686 | 10000 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10001 | |
10002 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. | |
10003 | |
2673 | 10004 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10005 | |
2676 | 10006 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
10007 (all): Don't depend on stamp-prereq or stamp-picdir. | |
10008 (liboctave.a, stamp-shared): Do depend on stamp-prereq. | |
10009 (stamp-picdir): Silence noise about making pic. | |
10010 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. | |
10011 | |
2673 | 10012 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
10013 Fix typo in last change. | |
10014 | |
10015 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): | |
10016 Convert from friend (moved from dColVector.cc). | |
10017 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): | |
10018 Likewise (moved from dMatrix.cc). | |
10019 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): | |
10020 Likewise (moved from dRowVector.cc). | |
10021 | |
10022 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. | |
10023 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. | |
10024 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. | |
10025 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. | |
10026 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. | |
10027 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. | |
10028 | |
10029 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. | |
10030 * dMatrix.cc (Matrix::apply): Likewise. | |
10031 * dRowVector.cc (RowVector::apply): Likewise. | |
10032 * CColVector.cc (ComplexColumnVector::apply): Likewise. | |
10033 * CMatrix.cc (ComplexMatrix::apply): Likewise. | |
10034 * CRowVector.cc (ComplexRowVector::apply): Likewise. | |
10035 | |
2668 | 10036 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10037 | |
10038 * lo-ieee.cc: Declare quiet_nan() and infinity(). | |
10039 | |
10040 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10041 | |
10042 * file-ops.cc (oct_unlink (const string&, string&)): | |
10043 New two-arg version. | |
10044 (oct_rmdir (const string&, string&)): New two-arg version. | |
10045 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. | |
10046 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. | |
10047 (oct_rename (const string&, const string&, string&)): | |
10048 New three-arg version. | |
10049 | |
2663 | 10050 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10051 | |
10052 * idx-vector.h (idx_vector::orig_empty): New function. | |
10053 | |
10054 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): | |
10055 Don't always resize to [](0x0) if one of the indices is empty or | |
10056 zero. | |
10057 | |
2658 | 10058 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10059 | |
10060 * cmd-hist.cc (command_history::read): New arg, must_exist. | |
10061 Set line_in_file here too. | |
10062 (command_history::read_range): New arg, must_exist. | |
10063 | |
2651 | 10064 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10065 | |
10066 * f2c-main.c: Change C++-style comments to C-style comments. | |
10067 | |
2638 | 10068 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10069 | |
10070 * Makefile.in (install-inc): Create a relative symbolic link. | |
10071 | |
2634 | 10072 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10073 | |
10074 * Version 2.0.2 released. | |
10075 | |
2624 | 10076 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10077 | |
10078 * Makefile.in (bin-dist): New target. | |
10079 | |
2621 | 10080 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10081 | |
10082 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. | |
10083 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. | |
10084 | |
2613 | 10085 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10086 | |
10087 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
10088 If the number of columns is zero, also set the number of rows to zero. | |
10089 (charMatrix::charMatrix (const char *)): Likewise. | |
10090 | |
2602 | 10091 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10092 | |
10093 * Version 2.0.1 released. | |
10094 | |
2601 | 10095 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10096 | |
10097 * dMatrix.cc (Matrix::read): Correctly compute the number of | |
10098 columns for resizing when the number of rows is specified but the | |
10099 number of columns is not. | |
10100 | |
2598 | 10101 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10102 | |
2599 | 10103 * Range.cc (operator -): New function. |
10104 | |
2598 | 10105 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
10106 | |
2589 | 10107 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10108 | |
10109 * Array2-idx.h (assign): Delay resizing left hand side until we | |
10110 know if the assignment conforms. | |
10111 | |
2583 | 10112 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10113 | |
10114 * Version 2.0 released. | |
10115 | |
2570 | 10116 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10117 | |
2575 | 10118 * Array2-idx.h (assign): If index is a colon, set number of |
10119 elements to the lhs dimension if the lhs dimension is greater than | |
10120 zero. Otherwise, set it to the rhs dimension. | |
10121 | |
10122 * Version 1.94. | |
10123 | |
2570 | 10124 * Array2-idx.h (assign): Test for rhs scalar case first. |
10125 If index is colon, set number of elements to lhs dimension, not | |
10126 rhs dimension. | |
10127 | |
2563 | 10128 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10129 | |
2566 | 10130 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
10131 * sun-utils.cc: Delete. | |
10132 * f2c-main.c: New file | |
10133 | |
10134 * Makefile.in: Fix file name lists. | |
10135 | |
2563 | 10136 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
10137 | |
2561 | 10138 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10139 | |
10140 * dMatrix.cc (Qzval): Don't try to use same memory three times. | |
10141 Create result using Complex constructor, not multiplication. | |
10142 Order elements as they are returned from Eispack. | |
10143 | |
2559 | 10144 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10145 | |
2560 | 10146 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
10147 Only include nan.h if SCO is defined. Define _IEEE before | |
10148 including it and undefine it afterward. | |
10149 [SCO] (isnan): Don't mistake Inf as NaN. | |
10150 | |
2559 | 10151 * Array-idx.h (assign): Only resize if assignment conforms. |
10152 | |
2551 | 10153 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10154 | |
10155 * Makefile.in (INCLUDES): Delete lo-error.h. | |
10156 * lo-error.h: Delete (moved to libcruft/misc). | |
10157 | |
10158 * Version 1.93. | |
10159 | |
2546 | 10160 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10161 | |
2549 | 10162 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
10163 be the same as they are in fnmatch.h. | |
10164 | |
2546 | 10165 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
10166 | |
10167 * Makefile.in (INCLUDES): Delete f77-fcn.h. | |
10168 (SOURCES): Delete f77-fcn.c. | |
10169 | |
2522 | 10170 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10171 | |
10172 * lo-ieee.h: [SCO]: Declare isinf and isnan. | |
10173 | |
2512 | 10174 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10175 | |
10176 * Version 1.92. | |
10177 | |
2508 | 10178 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10179 | |
2512 | 10180 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
10181 lines that have only carriage return or newline. | |
10182 | |
2508 | 10183 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
10184 | |
2500 | 10185 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10186 | |
10187 * idx-vector.cc (idx_is_inf_or_nan): New function. | |
10188 (IDX_VEC_REP::idx_vector_rep): Use it. | |
10189 | |
2493 | 10190 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10191 | |
10192 * str-vec.h, str-vec.cc: Add constructors to make string vectors | |
10193 from vectors of C strings. | |
10194 | |
10195 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string | |
10196 vector. | |
10197 (glob_match::match): Allow match string to be a string vector. | |
10198 (glob_match::glob): New function. | |
10199 | |
10200 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. | |
10201 | |
10202 * Array-b.cc: New file. | |
10203 * Makefile.in (TI_SRC): Add it to the list. | |
10204 | |
2492 | 10205 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10206 | |
10207 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h | |
10208 and safe-stat.h, to avoid getting them from $srcdir when we really | |
10209 want the version from the build directory. (Maybe this should be | |
10210 done for all the include files, not just those that are | |
10211 auto-generated? Hmm.) | |
10212 | |
2481 | 10213 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10214 | |
2482 | 10215 * Version 1.91. |
10216 | |
2481 | 10217 * Array3.cc (Array3<T>::resize): Make it work. |
10218 | |
10219 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10220 | |
10221 * oct-alloc.h, oct-alloc.cc: New files. | |
10222 * Makefile.in: Add them to the lists. | |
10223 | |
10224 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10225 | |
10226 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. | |
10227 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. | |
10228 | |
2466 | 10229 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10230 | |
10231 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, | |
10232 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
10233 file_stat::is_reg, file_stat::is_sock): Just return false if the | |
10234 underlying macro is not defined. | |
10235 | |
10236 * oct-math.h (lgamma, gamma): Delete declarations. | |
10237 (asinh, acosh, atanh, erf, erfc): Declare arg types too. | |
10238 Protect declarations with #ifdef HAVE_*. | |
10239 | |
2440 | 10240 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10241 | |
2452 | 10242 * Version 1.90. |
10243 | |
10244 * Makefile.in (DISTFILES): Add ChangeLog. | |
10245 | |
2444 | 10246 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
10247 | |
10248 * Matrix-ext.cc: Include <cfloat>, not <float.h>. | |
10249 | |
2443 | 10250 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444 | 10251 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
10252 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. | |
2443 | 10253 |
2440 | 10254 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
10255 since that is now accepatble syntax, even for built-in types. | |
10256 * Array2.h (T Array2<T>::checkelem): Likewise | |
10257 | |
2433 | 10258 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10259 | |
10260 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error | |
10261 message and return -1. | |
10262 | |
2428 | 10263 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10264 | |
2431 | 10265 * str-vec.h (str_vec_compare): Declare args as const void *, then |
10266 cast them to const string * in the body of the function. | |
10267 | |
10268 * file-ops.cc (file_stat::mode_as_string): Explicitly construct | |
10269 string from buf. | |
10270 | |
2428 | 10271 * Array3.h (Array3::checkelem): Tag bogus return value with |
10272 GCC_ATTRIBUTE_UNUSED. | |
10273 * Array2.h (Array2::checkelem): Likewise. | |
10274 | |
2424 | 10275 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10276 | |
10277 * Quad.h (Quad): Define virtual destructor. | |
10278 | |
2408 | 10279 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10280 | |
10281 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. | |
10282 | |
2401 | 10283 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10284 | |
10285 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ | |
10286 and MAIN__ extern "C". | |
10287 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. | |
10288 | |
2391 | 10289 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10290 | |
10291 * MArray-misc.cc: New file. | |
10292 * Makefile.in (MATRIX_SRC): Add it to the list. | |
10293 | |
10294 * mx-inlines.cc (equal): Return bool, not int. | |
10295 | |
10296 * idx-vector.h (idx_vector (double)): New constructor. | |
10297 | |
10298 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, | |
10299 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, | |
10300 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, | |
10301 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, | |
10302 CRowVector.cc: Logical operators return bool, not int. | |
10303 | |
10304 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): | |
10305 New function. | |
10306 | |
10307 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, | |
10308 Matrix::any_element_is_inf_or_nan, Matrix::abs, | |
10309 Matrix::all_elements_are_inf_or_nan): New functions. | |
10310 | |
10311 * Range.h, Range.cc (Range::all_elements_are_ints): New function. | |
10312 | |
10313 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant | |
10314 for errors. Simplify macros by converting FCN to string for error | |
10315 messages. | |
10316 | |
10317 * Array-idx.h (Array<T>::index): New function. Don't call | |
10318 clear_index() here. | |
10319 (Array<T>::value): Call it, do call clear_index() here. | |
10320 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for | |
10321 one and two arg index functions. | |
10322 | |
10323 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10324 | |
10325 * DAEFunc.h: Delete #pragma interface since there is no longer a | |
10326 separate implementation file. | |
10327 | |
2354 | 10328 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10329 | |
2358 | 10330 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
10331 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. | |
10332 | |
2356 | 10333 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
10334 sort_uniq. If sort_uniq is nonzero, sort the elements and make | |
10335 them uniq. | |
10336 | |
2354 | 10337 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
10338 ComplexMatrix::column_max, ComplexMatrix::column_min): | |
10339 Rewrite. Also return index as a reference arg. | |
10340 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, | |
10341 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): | |
10342 Delete. | |
10343 | |
10344 * dMatrix.cc (Matrix::row_max, Matrix::row_min, | |
10345 Matrix::column_max, Matrix::column_min): | |
10346 Rewrite. Also return index as a reference arg. | |
10347 (Matrix::row_max_loc, Matrix::row_min_loc, | |
10348 Matrix::column_max_loc, Matrix::column_min_loc): Delete. | |
10349 | |
10350 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10351 | |
10352 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, | |
10353 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, | |
10354 Matrix::column_min_loc, Matrix::column_max, | |
10355 Matrix::column_max_loc): Ignore leading NaNs. | |
10356 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, | |
10357 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, | |
10358 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, | |
10359 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore | |
10360 leading NaNs. | |
10361 | |
2352 | 10362 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10363 | |
10364 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds | |
10365 starting at n, not 0. | |
10366 | |
2349 | 10367 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10368 | |
10369 * dMatrix.cc (Matrix::Matrix (const RowVector&), | |
10370 Matrix::Matrix (const ColumnVector&)): New constructors. | |
10371 | |
10372 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), | |
10373 ComplexMatrix::ComplexMatrix (const ColumnVector&), | |
10374 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), | |
10375 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): | |
10376 New constructors. | |
10377 | |
10378 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): | |
10379 New constructor. | |
10380 | |
2343 | 10381 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10382 | |
10383 * LSODE.cc (do_integrate): Check to make sure that the state and | |
10384 derivative vectors are the same size. | |
2344 | 10385 * DASSL.cc (do_integrate): Likewise. |
2343 | 10386 |
2330 | 10387 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10388 | |
10389 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use | |
10390 iostreams and handler data format conversions. Delete old methods | |
10391 that used stdio. | |
10392 | |
10393 * data-conv.h, data-conv.cc (oct_data_conv): New class. | |
10394 | |
10395 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10396 | |
10397 * mach-info.h: Rename from float-fmt.h. | |
10398 * mach-info.cc: Rename from float-fmt.cc. | |
10399 Handle machine information using a singlton class. | |
10400 * Makefile.in: Update appropriate lists. | |
10401 | |
10402 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10403 | |
10404 * Array-flags.cc: Provide definitions for the flags even if | |
10405 OCTAVE_SOURCE is not defined. | |
10406 | |
10407 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects | |
10408 operator(), not elem(). | |
10409 * Array3.h: Move indexing methods here from Array3.cc. | |
10410 | |
10411 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10412 | |
10413 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). | |
10414 | |
10415 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of | |
10416 INSTALL_DATA for shared libs. | |
10417 | |
10418 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10419 | |
10420 * Quad.cc: Include lo-error.h here too. | |
10421 | |
10422 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10423 | |
10424 * file-ops.h: Include sys/types.h here. | |
10425 | |
10426 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10427 | |
10428 * chMatrix.cc (charMatrix::transpose): Provide definition. | |
10429 | |
10430 * Array-idx.h (maybe_delete_elements): Correctly compute number of | |
10431 elements in result. | |
10432 * Array2-idx.h (maybe_delete_elements): Likewise for number of | |
10433 rows and columns in result. | |
10434 | |
10435 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10436 | |
10437 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. | |
10438 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. | |
10439 | |
10440 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10441 | |
10442 * Makefile.in (install-inc): Install in octincludedir, not includedir. | |
10443 | |
10444 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10445 | |
10446 * Makefile.in (uninstall): Also delete shared library. | |
10447 Split install into install-libs and install-includes. | |
10448 (install-inc): If linkdir is a directory, leave it alone. | |
10449 | |
10450 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. | |
10451 | |
10452 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10453 | |
10454 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. | |
10455 * Array2-idx.h (assign): Likewise. | |
10456 | |
10457 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10458 | |
10459 * Array2.cc (Array2<T>::range_error): New functions. | |
10460 | |
10461 * Array.h (class Array<T>): elem() and operator() are now | |
10462 equivalent, and do bounds checking by default. | |
10463 * Array2.cc (class Array2<T>): Likewise. | |
10464 | |
10465 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10466 | |
10467 * Makefile.in (maintainer-clean, distclean): Also delete | |
10468 stamp-picdir, stamp-shared, and pic directory. | |
10469 (stamp-prereq): New target. | |
10470 | |
10471 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10472 | |
10473 * NPSOL.h (NPSOL_options::set_option (const char *, int)): | |
10474 New function. | |
10475 | |
10476 * Array.h, Array.cc (Array<T>::range_error ()): New functions. | |
10477 * Array.h (Array<T>::checkelem): Use them. | |
10478 | |
10479 * base-lu.h, base-lu.cc: Parameterize based on types of matrix | |
10480 elements too. | |
10481 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. | |
10482 | |
10483 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. | |
10484 | |
10485 * Makefile.in (distclean): Delete so_locations, which is created | |
10486 on DEC Alpha systems. | |
10487 | |
10488 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10489 | |
10490 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not | |
10491 already defined. | |
10492 | |
10493 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10494 | |
10495 * pathsearch.cc: Include config.h. | |
10496 | |
10497 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10498 | |
10499 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't | |
10500 allow M(I, J) = scalar if I or J is empty. | |
10501 | |
10502 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h | |
10503 and Array3-idx.h). | |
10504 | |
10505 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10506 | |
10507 * lo-error.h: Make comments C friendly. | |
10508 | |
10509 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10510 | |
10511 * Array2.h (make_unique): Move all indexing functions here. | |
10512 * Array2.cc: From here. | |
10513 | |
10514 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control | |
10515 whether operator() calls elem or checkelem. | |
10516 | |
10517 * Array.h (make_unique): New private function. | |
10518 Move all indexing functions here. | |
10519 * Array.cc: From here. | |
10520 | |
10521 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference | |
10522 it too. | |
10523 | |
10524 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, | |
10525 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, | |
10526 MArray-C.cc: Include config.h. | |
10527 | |
10528 * Array.h, Array2.h, DiagArray2.h, Array3.h: | |
10529 Don't define HEAVYWEIGHT_INDEXING here. | |
10530 | |
10531 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10532 | |
10533 * base-lu.h, base-lu.cc: New files. | |
10534 * Makefile.in: Add them to the appropriate lists. | |
10535 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. | |
10536 | |
10537 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10538 | |
10539 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h | |
10540 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h | |
10541 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. | |
10542 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. | |
10543 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. | |
10544 | |
10545 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. | |
10546 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. | |
10547 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. | |
10548 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: | |
10549 Simplify using new macros. | |
10550 | |
10551 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10552 | |
10553 * Makefile.in (install): If $(includedir) ends in version string, | |
10554 make link to name that does not include version info. | |
10555 | |
10556 * lo-ieee.cc: Include <cmath> here. | |
10557 | |
10558 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10559 | |
10560 * lo-ieee.cc, lo-ieee.h: New files. | |
10561 * lo-mappers.cc, lo-mappers.h: New files. | |
10562 * lo-utils.cc, lo-utils.h: New files. | |
10563 * Makefile.in: Add them to the appropriate lists. | |
10564 | |
10565 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10566 | |
10567 * dMatrix.cc (all_integers, too_large_for_float): New functions. | |
10568 * CMatrix.cc (all_integers, too_large_for_float): New functions. | |
10569 | |
10570 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, | |
10571 float-fmt.cc: New files. | |
10572 * Makefile.in: Include them in the appropriate lists. | |
10573 | |
10574 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10575 | |
10576 * dMatrix.cc (Qzval): New function. | |
10577 | |
10578 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10579 | |
10580 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not | |
10581 char*. | |
10582 | |
10583 * DASSL.h, DASSL.cc: Do better management of temporary workspace. | |
10584 Use F77_XFCN to call Fortran subroutine. | |
10585 * dColVector.cc, CColVector.cc: Likewise. | |
10586 * dRowVector.cc, CRowVector.cc: Likewise. | |
10587 * NPSOL.h, NPSOL.cc: Likewise. | |
10588 * CmplxCHOL.cc: Likewise. | |
10589 * dbleCHOL.cc: Likewise. | |
10590 * CMatrix.cc: Likewise. | |
10591 * dMatrix.cc: Likewise. | |
10592 * QPSOL.cc: Likewise. | |
10593 * LSODE.cc: Likewise. | |
10594 | |
10595 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10596 | |
10597 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. | |
10598 | |
10599 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary | |
10600 workspace. Use F77_XFCN to call Fortran subroutine. | |
10601 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. | |
10602 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. | |
10603 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. | |
10604 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. | |
10605 * CmplxHESS.h, CmplxHESS.cc: Likewise. | |
10606 * CmplxSVD.h, CmplxSVD.cc: Likewise. | |
10607 * dbleHESS.h, dbleHESS.cc: Likewise. | |
10608 * dbleSVD.h, dbleSVD.cc: Likewise. | |
10609 * EIG.h, EIG.cc; Likewise. | |
10610 * CollocWt.cc: Likewise. | |
10611 * NLEqn.cc: Likewise. | |
10612 * Quad.cc: Likewise. | |
10613 | |
10614 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10615 | |
10616 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. | |
10617 Use F77_XFCN to call Fortran subroutine. | |
10618 * CmplxLU.h, CmplxLU.cc: Ditto. | |
10619 * dbleQR.h, dbleQR.cc: Ditto. | |
10620 * CmplxQR.h, CmplxQR.cc: Ditto. | |
10621 * dbleQRP.h, dbleQRP.cc: Ditto. | |
10622 * CmplxQRP.h, CmplxQRP.cc: Ditto. | |
10623 | |
10624 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. | |
10625 (struct DIR): delete forward declaration. | |
10626 (dir_entry::operator = (const dir_entry$)): Protect against | |
10627 copying same object. | |
10628 * dir-ops.cc: Cast dir appropriately. | |
10629 | |
10630 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10631 | |
10632 * lo-error.cc: Moved to libcruft/misc. | |
10633 * Makefile.in: Delete it from the list. | |
10634 | |
10635 * f77-fcn.c (f77_context, f77_exception_encountered): Delete | |
10636 definitions (they have been moved to libcruft/misc/f77-extern.cc). | |
10637 | |
10638 * Array-flags.h: New file. | |
10639 * Array-idx.h: Include it here. | |
10640 * Makefile.in (MATRIX_INC): Add it to the list. | |
10641 | |
10642 * Array-flags.cc: Renamed from Array-ext.cc. | |
10643 (liboctave_dfi_flag): Renamed from dfi_flag. | |
10644 (liboctave_pcv_flag): Renamed from pcv_flag. | |
10645 (liboctave_pzo_flag): Renamed from pzo_flag. | |
10646 (liboctave_rre_flag): Renamed from rre_flag. | |
10647 * Array-idx.h: Change all uses of dfi_flag, etc. | |
10648 * Makefile.in (MATRIX_SRC): Change file name here too. | |
10649 | |
10650 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. | |
10651 (stamp-shared): Use them here. | |
10652 | |
10653 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10654 | |
10655 * cmd-hist.cc (command_history::ignore_entries): Delete default | |
10656 argument value. | |
10657 | |
10658 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10659 | |
10660 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, | |
10661 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, | |
10662 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, | |
10663 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: | |
10664 Clean up constructors, assigment operator. | |
10665 | |
10666 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10667 | |
10668 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. | |
10669 Check f77_exception_encountered on return. | |
10670 | |
10671 * f77-fcn.c (f77_exception_encountered): New variable. | |
10672 (F77_XFCN): Set it. | |
10673 * f77-fcn.h: Provide declaration. | |
10674 | |
10675 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). | |
10676 | |
10677 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). | |
10678 | |
10679 * NLEqn.h (NLEqn_options::set_options): New function. | |
10680 * Quad.h (Quad_options::set_options): Likewise. | |
10681 | |
10682 * LP.h (class LP): Add accessors for LP data. | |
10683 | |
10684 * NLEqn.h (NLEqn::n): Delete. | |
10685 | |
10686 * NLEqn.h (class NLEqn::n): Likewise. | |
10687 | |
10688 * NLP.h (class NLP): Add accessors for NLP data. | |
10689 | |
10690 * NPSOL.h (class NPSOL_options): Move constructors, set, and | |
10691 access functions here. | |
10692 * NPSOL.cc.cc: From here. | |
10693 | |
10694 * QLD.h (class QLD): Add destructor definition. | |
10695 * Objective.h (class Objective): Likewise. | |
10696 * ODEFunc.h (class ODEFunc): Likewise. | |
10697 * NLFunc.h (class NLFunc): Likewise. | |
10698 * NLEqn.h (class NLEqn): Likewise. | |
10699 * NLConst.h (class NLConst): Likewise. | |
10700 * LinConst.h (class LinConst): Likewise. | |
10701 * LSODE.h (class LSODE_options): Likewise. | |
10702 * CollocWt.h (class CollocWt): Likewise. | |
10703 * Bounds.h (class Bounds): Likewise. | |
10704 | |
10705 * QLD.cc (QLD::set_default_options): Delete. | |
10706 | |
10707 * QP.h (QP): Add accessors for QP data. | |
10708 Add copy constructor, operator =, and destructor definitions. | |
10709 | |
10710 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, | |
10711 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, | |
10712 DAEFunc.h, CollocWt.h, Bounds.h: | |
10713 Clean up constructors, assigment operator. | |
10714 | |
10715 * dRowVector.cc (RowVector::transpose): Use magic of reference | |
10716 counting to avoid duplicating the data immediately. | |
10717 * dColVector.cc (ColumnVector::transpose): Likewise. | |
10718 * CRowVector.cc (ComplexrowVector::transpose): Likewise. | |
10719 * CColVector.cc (ComplexColumnVector::transpose): Likewise. | |
10720 | |
10721 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10722 | |
10723 * prog-args.h (prog_args::option_argument): New enum. | |
10724 | |
10725 * f77-fcn.h: Rename from f77-uscore.h. | |
10726 (F77_XFCN_ERROR, F77_XFCN): New macros. | |
10727 * f77-fcn.c: New file. | |
10728 * Makefile.in (SOURCES): Add it to the list. | |
10729 | |
10730 * ODEFunc.h: Clean up. | |
10731 | |
10732 * DASSL.cc, DASSL.h: New files. | |
10733 * Makefile.in: Add them to the appropriate lists. | |
10734 | |
10735 * LSODE.cc, LSODE.h: New files. | |
10736 * Makefile.in: Add them to the appropriate lists. | |
10737 | |
10738 * ODE.cc: Delete. | |
10739 * Makefile.in (SOURCES): Remove from list. | |
10740 | |
10741 * base-de.h, DAE.cc: New files. | |
10742 * Makefile.in: Add them to the appropriate lists. | |
10743 * ODE.h: Only define interface for ODE classes. | |
10744 * DAE.h: Only define interface for ODE classes. | |
10745 | |
10746 * LPsolve.cc (do_minimize): Print sorry not implemented message. | |
10747 (LPsolve::set_default_options)): Delete | |
10748 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and | |
10749 destructor. | |
10750 | |
10751 * LP.h (class LP): Add operator =, copy constructor, and destructor. | |
10752 | |
10753 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. | |
10754 (QPSOL::operator =): Call base class operator = instead of assuming | |
10755 we know what to copy. | |
10756 | |
10757 * base-min.h (size): New function. | |
10758 | |
10759 * NLP.h (NLP::size): Delete. | |
10760 (NLP::NLP (const NLP&)): New constructor. | |
10761 (NLP::operator =): Call base class operator = instead of assuming | |
10762 we know what to copy. | |
10763 | |
10764 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. | |
10765 (class NPSOL): Add operator = and destructor. | |
10766 | |
10767 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. | |
10768 | |
10769 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10770 | |
10771 * Makefile.in (liboctave.a): Depend on $(PICOBJ). | |
10772 | |
10773 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10774 | |
10775 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. | |
10776 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. | |
10777 | |
10778 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10779 | |
10780 * prog-args.h, prog-args.cc: New files. | |
10781 * Makefile.in: Add them to lists. | |
10782 | |
10783 * getopt.h, getopt.c, getopt1.c: New files. | |
10784 * Makefile.in: Add them to the lists. | |
10785 | |
10786 * oct-term.h, oct-term.cc: New files. | |
10787 * Makefile.in: Add them to the lists. | |
10788 | |
10789 * str-vec.cc: New file. | |
10790 * Makefile.in (SOURCES): Add it to the list. | |
10791 | |
10792 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. | |
10793 | |
10794 * tempname.c, tempnam.c: Move here from src directory. | |
10795 * Makefile.in: Add to lists. | |
10796 | |
10797 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10798 | |
10799 * cmd-hist.h, cmd-hist.cc: New files. | |
10800 * Makefile.in: Add them to lists. | |
10801 | |
10802 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10803 | |
10804 * oct-glob.h, oct-glob.cc: New files. | |
10805 * Makefile.in: Add them to lists. | |
10806 | |
10807 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10808 | |
10809 * pathsearch.h, pathsearch.cc: New files. | |
10810 * Makefile.in: Add them to lists. | |
10811 | |
10812 * dir-ops.h, dir-ops.cc: New files. | |
10813 * sysdir.h: Move here from src directory. | |
10814 * Makefile.in: Add them to lists. | |
10815 | |
10816 * Array.h (Array::qsort): Return *this, not void. | |
10817 * str-vec.h (string_vector::qsort): Likewise. | |
10818 | |
10819 * chMatrix.cc (row_as_string): Resize result to eliminate | |
10820 unnecessary NULs. | |
10821 | |
10822 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10823 | |
10824 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, | |
10825 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: | |
10826 Files moved here from src directory. | |
10827 * Makefile.in: Add them to lists. Include appropriate rules. | |
10828 | |
10829 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
10830 Use pointers, not references (this is C code!). | |
10831 | |
10832 * oct-math.h: New file. | |
10833 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
10834 Files moved here from src directory. | |
10835 * Makefile.in: Add them to lists. | |
10836 | |
10837 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10838 | |
10839 * idx-vector.cc (make_uniq): Fix major brain-o. | |
10840 | |
10841 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: | |
10842 Convert to use string class instead of char*. | |
10843 | |
10844 * str-vec.h, Array-str.cc: New files. | |
10845 | |
10846 * Array.h (Array::qsort): New function. | |
10847 | |
10848 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10849 | |
10850 * Array.h: Nest ArrayRep class inside Array class. | |
10851 Refer to ArrayRep, not ArrayRep<T>. | |
10852 Move all ArrayRep functions inline. | |
10853 Don't declare other Array classes as friends of ArrayRep. | |
10854 * Array.cc: Delete ArrayRep functions. | |
10855 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. | |
10856 | |
10857 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: | |
10858 Don't instantiate ArrayRep objects. | |
10859 | |
10860 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10861 | |
10862 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
10863 New constructor. | |
10864 | |
10865 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10866 | |
10867 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* | |
10868 for balance_job arg. | |
10869 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. | |
10870 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. | |
10871 | |
10872 * chMatrix.cc (row_as_string): Return string, not const char*. | |
10873 | |
10874 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10875 | |
10876 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. | |
10877 | |
10878 * chMatrix.cc (row_as_string): Undo previous change. | |
10879 | |
10880 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10881 | |
10882 * chMatrix.cc (row_as_string): Do memory management here. Caller | |
10883 is expected to save string if necessary. | |
10884 | |
10885 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10886 | |
10887 * Array.h (class DiagArray): Enable nested Proxy class for all | |
10888 platforms. | |
10889 | |
10890 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == | |
10891 a.rep, don't mess with count. | |
10892 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, | |
10893 don't do anything if reps are the same. | |
10894 (Array3<T>& operator = (const Array3<T>&) | |
10895 | |
10896 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): | |
10897 Declare private with no definition to prevent misuse. | |
10898 | |
10899 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): | |
10900 Get range check right. | |
10901 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. | |
10902 (Matrix::insert (const ColumnVector&, int, int)): Ditto. | |
10903 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. | |
10904 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. | |
10905 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. | |
10906 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. | |
10907 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. | |
10908 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. | |
10909 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. | |
10910 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. | |
10911 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. | |
10912 * dColVector.cc | |
10913 (ColumnVector::insert (const ColumnVector&, int)): Ditto. | |
10914 * CRowVector.cc | |
10915 (ComplexRowVector::insert (const RowVector&, int)): Ditto. | |
10916 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. | |
10917 * CColVector.cc | |
10918 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. | |
10919 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. | |
10920 | |
10921 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): | |
10922 Also fill in zeros, not just the diagonal. | |
10923 | |
10924 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): | |
10925 Use END parameter properly. | |
10926 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. | |
10927 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. | |
10928 | |
10929 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. | |
10930 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. | |
10931 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): | |
10932 Don't copy count. Set it to 1. | |
10933 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. | |
10934 | |
10935 * Array.h (Array<T>::Array (T *, int)): After constructing rep, | |
10936 don't set rep->count to 1 here (now handled by ArrayRep | |
10937 constructors). | |
10938 (Array<T>::Array (void)): Ditto. | |
10939 (Array<T>::Array (int)): Ditto. | |
10940 (Array<T>::T& elem (int)): Ditto. | |
10941 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. | |
10942 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. | |
10943 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. | |
10944 (Array<T>::resize (int)): Ditto. | |
10945 (Array<T>::resize (int, const T&)) :Ditto. | |
10946 (Array<T>::fortran_vec (void)): Ditto. | |
10947 (Array2<T>::resize (int, int)): Ditto. | |
10948 (Array2<T>::resize (int, int, const T&)): Ditto. | |
10949 (DiagArray<T>::resize (int, int)): Ditto. | |
10950 (DiagArray<T>::resize (int, int, const T&)): Ditto. | |
10951 | |
10952 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10953 | |
10954 * Array-ch.cc: Rename from Array-c.cc. | |
10955 * MArray-ch.cc: Rename from MArray-c.cc. | |
10956 * chMatrix.cc: Rename from cMatrix.cc. | |
10957 * chMatrix.h: Rename from cMatrix.h. | |
10958 * Makefile.in (TI_SRC): Use new names here. | |
10959 * mx-base.h: Likewise. | |
10960 | |
10961 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10962 | |
10963 * Makefile.in: Handle shared libraries. | |
10964 | |
10965 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10966 | |
10967 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): | |
10968 Correctly compute length of return value. Correct rows and | |
10969 columns in zgemv call. | |
10970 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. | |
10971 | |
10972 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10973 | |
10974 * Makefile.in (stamp-picdir): New target. | |
10975 (all): Depend on it. | |
10976 | |
10977 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10978 | |
10979 * Makefile.in (INCLUDES): Remove QLD.h. | |
10980 (SOURCES): Remove QLD.cc. | |
10981 | |
10982 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10983 | |
10984 * dMatrix.cc (Matrix::inverse): New arg, force. | |
10985 If force is nonzero, invert even if matrix is singular. | |
10986 (ComplexMatrix::inverse): Likewise. | |
10987 | |
10988 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, | |
10989 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, | |
10990 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: | |
10991 Include "oct-cmplx.h" instead of <Complex.h>. | |
10992 | |
10993 * mx-defs.h: Include oct-cmplx.h in place of forward declaration | |
10994 for class Complex. | |
10995 | |
10996 * oct-cmplx.h: New file. | |
10997 * Makefile.in (INCLUDES): Add it to the list. | |
10998 | |
10999 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. | |
11000 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. | |
11001 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. | |
11002 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): | |
11003 Avoid g++ bugs. | |
11004 | |
11005 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11006 | |
11007 * Array-idx.h (maybe_delete_elements): Give useful error message. | |
11008 | |
11009 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. | |
11010 | |
11011 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11012 | |
11013 * CDiagMatrix.cc (inverse): Return retval, not *this. | |
11014 * dDiagMatrix.cc (inverse): Use same method as for Complex case. | |
11015 | |
11016 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11017 | |
11018 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep | |
11019 index vector object with Array, not ArrayRep. | |
11020 | |
11021 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11022 | |
11023 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail | |
11024 if index is a colon and resizing is maybe needed. | |
11025 | |
11026 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11027 | |
11028 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true | |
11029 if we have a vector of 1's. | |
11030 | |
11031 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no | |
11032 current orientation, require index and rhs to conform unless | |
11033 do_fortran_indexing flag is set. | |
11034 | |
11035 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11036 | |
11037 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, | |
11038 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, | |
11039 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, | |
11040 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, | |
11041 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: | |
11042 Massive changes to support additional data types. Only charMatrix | |
11043 is currently used in Octave. | |
11044 | |
11045 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11046 | |
11047 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. | |
11048 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): | |
11049 Simply call Array2<Complex> version. | |
11050 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just | |
11051 call Array2<double> version. | |
11052 | |
11053 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. | |
11054 | |
11055 * Array.h, Array.cc: Massive overhaul to support new way of | |
11056 handling indexing. | |
11057 * idx-vector.h, idx-vector.cc: Likewise. | |
11058 * Array-ext.cc, Array-idx.h: New files. | |
11059 * Makefile.in: Add them to the appropriate lists. | |
11060 | |
11061 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11062 | |
11063 * Range.cc (nelem_internal): Use tfloor here, not round. | |
11064 | |
11065 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11066 | |
11067 * idx-vector.h, idx-vector.cc: New files, moved from ../src. | |
11068 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. | |
11069 | |
11070 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11071 | |
11072 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. | |
11073 | |
11074 * Array.h: Move simple member functions here. | |
11075 * Array.cc: From here. | |
11076 | |
11077 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11078 | |
11079 * Range.cc (tfloor, tceil, round): New static functions. | |
11080 (Range::nelem_internal): Rewrite to use better method. | |
11081 | |
11082 * dbleSVD.h (SVD::type): New item, sigma_only. | |
11083 (type_computed): New var. | |
11084 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): | |
11085 Handle possible error condition. | |
11086 (init): Allow for SVD::sigma_only, save type computed. | |
11087 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): | |
11088 Handle possible error condition. | |
11089 (init): Allow for SVD::sigma_only, save type computed. | |
11090 | |
11091 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11092 | |
11093 * Nearly all non-matrix .h and .cc files: | |
11094 Move short function bodies into class declarations for inlining. | |
11095 Generally clean up. | |
11096 | |
11097 * base-min.h: New file. | |
11098 * LP.h (class LP): Derive from base_minimizer. | |
11099 * QLP.h (class QLP): Derive from base_minimizer. | |
11100 * NLP.h (class NLP): Derive from base_minimizer. | |
11101 * Makefile.in (INCLUDES): Add base-min.h to the list. | |
11102 | |
11103 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, | |
11104 NLFunc.cc, Objective.cc and QP.cc from list. | |
11105 | |
11106 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11107 | |
11108 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. | |
11109 (SCHUR::SCHUR): Delete unused parameter ord. | |
11110 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. | |
11111 | |
11112 * CRowVector.cc | |
11113 (ComplexRowVector::operator+ (const Complex&, const RowVector&), | |
11114 (ComplexRowVector::operator- (const Complex&, const RowVector&), | |
11115 (ComplexRowVector::operator* (const Complex&, const RowVector&), | |
11116 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): | |
11117 Actually do something. | |
11118 | |
11119 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. | |
11120 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. | |
11121 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. | |
11122 | |
11123 * Quad.cc (Quad_options::Quad_options (double, double)): New function. | |
11124 * (Quad::Quad (integrand_fcn, double, double): Properly initialize | |
11125 tolerances. | |
11126 | |
11127 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. | |
11128 * LPsolve.cc (LPsolve::minimize): Likewise. | |
11129 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. | |
11130 * ODE.cc (lsode_f, lsode_j): Likewise. | |
11131 * QPSOL.cc (qphess): Likewise. | |
11132 | |
11133 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11134 | |
11135 * dMatrix.cc: Include <cstring>. | |
11136 | |
11137 * Array.cc: Try harder to avoid warnings from gcc in functions | |
11138 that return bogus values after calling the error handler. | |
11139 | |
11140 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11141 | |
11142 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. | |
11143 | |
11144 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. | |
11145 | |
11146 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11147 | |
11148 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. | |
11149 (dassl_j): Likewise. | |
11150 | |
11151 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, | |
11152 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, | |
11153 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: | |
11154 Update for change in for loop variable scope for gcc 2.7.0. | |
11155 | |
11156 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11157 | |
11158 * Makefile.in: Only include dependency files if $(omit_deps) is | |
11159 not set. | |
11160 | |
11161 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) | |
11162 | |
11163 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h | |
11164 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h | |
11165 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h | |
11166 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h | |
11167 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h | |
11168 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h | |
11169 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h | |
11170 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h | |
11171 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc | |
11172 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc | |
11173 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc | |
11174 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc | |
11175 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc | |
11176 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc | |
11177 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc | |
11178 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc | |
11179 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc | |
11180 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h | |
11181 NLP.h: Use pragma interface/implementation. Don't surround | |
11182 contents in extern "C++". | |
11183 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". | |
11184 | |
11185 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
11186 | |
11187 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase | |
11188 identifiers. | |
11189 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
11190 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
11191 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
11192 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
11193 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
11194 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
11195 Quad.cc: Change usage of F77_FCN to match new definition | |
11196 | |
11197 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
11198 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
11199 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
11200 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
11201 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
11202 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
11203 Quad.cc: Where appropriate, declare Fortran subroutines to take | |
11204 args by reference instead of pointer. Change all callers. | |
11205 | |
11206 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
11207 | |
11208 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New | |
11209 functions. Make += and -= operators friend functions. | |
11210 | |
11211 * Array.h (Array2::~Array2, Array3::~Array3, | |
11212 DiagArray::~DiagArray): New functions. | |
11213 | |
11214 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
11215 | |
11216 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. | |
11217 (MATRIX_INC): Don't distribute mx-kludge.h. | |
11218 | |
11219 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
11220 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
11221 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
11222 dRowVector.h dRowVector.cc: | |
11223 Derive classes from MArray, MArray2, and MDiagArray, not Array, | |
11224 Array2, and DiagArray2. | |
11225 Don't use functions defined in mx-kludge.cc for arithmetic | |
11226 like-type operations on arrays. | |
11227 | |
11228 * MArray.cc: Use the classes defined here like-type mathematical | |
11229 operations on Array objects. Abuse CPP more. | |
11230 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
11231 (EXTRAS): Delete it from this list. | |
11232 | |
11233 * MArray-C.cc, MArray-d.cc: New files. | |
11234 * Makefile.in (TI_SRC): Add them to the list. | |
11235 | |
11236 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
11237 | |
11238 * mx-kludge.cc: Abuse CPP even more. | |
11239 | |
11240 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
11241 | |
11242 * Objective.h (objective_function): Add missing const. | |
11243 (gradient_function): Likewise. | |
11244 | |
11245 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
11246 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
11247 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
11248 dRowVector.h dRowVector.cc: | |
11249 Reorganize to declare and define friends where they should be, | |
11250 based on the use of private constructors. | |
11251 | |
11252 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
11253 | |
11254 * CRowVector.h (linspace): Add declaration. | |
11255 * dRowVector.h (linspace): Likewise. | |
11256 | |
11257 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
11258 Force result of rcond + 1.0 to be stored. | |
11259 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, | |
11260 ComplexMatrix::solve): Likewise. | |
11261 | |
11262 See ChangeLog.1 in the top level directory for earlier changes. |