Mercurial > hg > octave-nkf
annotate liboctave/ChangeLog @ 10140:36ea14c8992d
fix reversed min/max in bsxfun
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Wed, 20 Jan 2010 08:56:12 +0100 |
parents | 93c74edcc3e3 |
children | 829e69ec3110 |
rev | line source |
---|---|
10140
36ea14c8992d
fix reversed min/max in bsxfun
Jaroslav Hajek <highegg@gmail.com>
parents:
10139
diff
changeset
|
1 2010-01-20 Jaroslav Hajek <highegg@gmail.com> |
36ea14c8992d
fix reversed min/max in bsxfun
Jaroslav Hajek <highegg@gmail.com>
parents:
10139
diff
changeset
|
2 |
36ea14c8992d
fix reversed min/max in bsxfun
Jaroslav Hajek <highegg@gmail.com>
parents:
10139
diff
changeset
|
3 * bsxfun-defs.cc (BSXFUN_STDOP_DEFS_MXLOOP): Fix reversed min/max |
36ea14c8992d
fix reversed min/max in bsxfun
Jaroslav Hajek <highegg@gmail.com>
parents:
10139
diff
changeset
|
4 defs. |
36ea14c8992d
fix reversed min/max in bsxfun
Jaroslav Hajek <highegg@gmail.com>
parents:
10139
diff
changeset
|
5 |
10139
93c74edcc3e3
glob-match.h: update copyright
John W. Eaton <jwe@octave.org>
parents:
10138
diff
changeset
|
6 2010-01-20 John W. Eaton <jwe@octave.org> |
93c74edcc3e3
glob-match.h: update copyright
John W. Eaton <jwe@octave.org>
parents:
10138
diff
changeset
|
7 |
93c74edcc3e3
glob-match.h: update copyright
John W. Eaton <jwe@octave.org>
parents:
10138
diff
changeset
|
8 * glob-match.h: Update copyright. |
93c74edcc3e3
glob-match.h: update copyright
John W. Eaton <jwe@octave.org>
parents:
10138
diff
changeset
|
9 |
10138
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
10 2010-01-20 John W. Eaton <jwe@octave.org> |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
11 |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
12 * Makefile.am (INCS): Include oct-glob.h in the list. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
13 (LIBOCTAVE_CXX_SOURCES): Include oct-glob.cc in the list. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
14 * oct-glob.h, oct-glob.cc: New files. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
15 * glob-match.cc: (glob_match::match): Move internals to oct-glob.cc. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
16 (glob_match::glob_internal): Move internals to oct-glob.cc. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
17 (single_match_exists): Move to oct-glob.cc. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
18 (glob_match::opts_to_fnmatch_flags): New function. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
19 * glob-match.h Include oct-glob.h. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
20 (glob_match::glob): Call octave_glob to do the real work. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
21 (glob_match::glob_internal): Delete decl. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
22 (glob_match::match (const string_vector&)): Move here from |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
23 glob-match.cc. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
24 (glob_match::match (const std::string&)): Call octave_fnmatch to |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
25 do the real work. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
26 (glob_match::fnmatch_flags): Rename from flags. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
27 (glob_match::opts_to_fnmatch_flags): New function. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
28 (glob_match::glob_match): Use it. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
29 |
10124
e5c6600e3400
use octave_idx_type where needed
Jaroslav Hajek <highegg@gmail.com>
parents:
10123
diff
changeset
|
30 2010-01-17 Jaroslav Hajek <highegg@gmail.com> |
e5c6600e3400
use octave_idx_type where needed
Jaroslav Hajek <highegg@gmail.com>
parents:
10123
diff
changeset
|
31 |
e5c6600e3400
use octave_idx_type where needed
Jaroslav Hajek <highegg@gmail.com>
parents:
10123
diff
changeset
|
32 * CMatrix.cc (xgemm): Use octave_idx_type rather than int. |
e5c6600e3400
use octave_idx_type where needed
Jaroslav Hajek <highegg@gmail.com>
parents:
10123
diff
changeset
|
33 * fCMatrix.cc (xgemm): Ditto. |
e5c6600e3400
use octave_idx_type where needed
Jaroslav Hajek <highegg@gmail.com>
parents:
10123
diff
changeset
|
34 |
10123
8590f3c51868
Fix a few MSVC-related problems and partially re-enable MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10115
diff
changeset
|
35 2010-01-16 Michael Goffioul <michael.goffioul@gmail.com> |
8590f3c51868
Fix a few MSVC-related problems and partially re-enable MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10115
diff
changeset
|
36 |
8590f3c51868
Fix a few MSVC-related problems and partially re-enable MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10115
diff
changeset
|
37 * oct-time.cc: Avoid to include nonneeded headers from Win32 API, |
8590f3c51868
Fix a few MSVC-related problems and partially re-enable MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10115
diff
changeset
|
38 especially winsock.h. Include <sys/time.h> unconditionally, as it is |
8590f3c51868
Fix a few MSVC-related problems and partially re-enable MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10115
diff
changeset
|
39 now provided by gnulib, in order to get gettimeofday defined. |
8590f3c51868
Fix a few MSVC-related problems and partially re-enable MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10115
diff
changeset
|
40 |
10115
ed49cef7e005
simplify Array::insert methods
Jaroslav Hajek <highegg@gmail.com>
parents:
10114
diff
changeset
|
41 2010-01-15 Jaroslav Hajek <highegg@gmail.com> |
ed49cef7e005
simplify Array::insert methods
Jaroslav Hajek <highegg@gmail.com>
parents:
10114
diff
changeset
|
42 |
ed49cef7e005
simplify Array::insert methods
Jaroslav Hajek <highegg@gmail.com>
parents:
10114
diff
changeset
|
43 * Array.cc (Array<T>::insert): Rewrite using assign. |
ed49cef7e005
simplify Array::insert methods
Jaroslav Hajek <highegg@gmail.com>
parents:
10114
diff
changeset
|
44 (Array<T>::insert2, Array<T>::insertN): Remove. |
ed49cef7e005
simplify Array::insert methods
Jaroslav Hajek <highegg@gmail.com>
parents:
10114
diff
changeset
|
45 * Array.h: Update declarations. Add brief documentation. |
ed49cef7e005
simplify Array::insert methods
Jaroslav Hajek <highegg@gmail.com>
parents:
10114
diff
changeset
|
46 |
10114
e4936c129cbd
optimize sorting of bools
Jaroslav Hajek <highegg@gmail.com>
parents:
10113
diff
changeset
|
47 2010-01-15 Jaroslav Hajek <highegg@gmail.com> |
e4936c129cbd
optimize sorting of bools
Jaroslav Hajek <highegg@gmail.com>
parents:
10113
diff
changeset
|
48 |
e4936c129cbd
optimize sorting of bools
Jaroslav Hajek <highegg@gmail.com>
parents:
10113
diff
changeset
|
49 * Array-b.cc: Inline ascending and descending sort. |
e4936c129cbd
optimize sorting of bools
Jaroslav Hajek <highegg@gmail.com>
parents:
10113
diff
changeset
|
50 (do_bool_partition): New helper template function. |
e4936c129cbd
optimize sorting of bools
Jaroslav Hajek <highegg@gmail.com>
parents:
10113
diff
changeset
|
51 (octave_sort<bool>::sort): Provide specializations. |
e4936c129cbd
optimize sorting of bools
Jaroslav Hajek <highegg@gmail.com>
parents:
10113
diff
changeset
|
52 |
10113 | 53 2010-01-14 Jaroslav Hajek <highegg@gmail.com> |
54 | |
55 * Array.cc (Array<T>::insert (const Array<T>&, const | |
56 Array<octave_idx_type>&): Allow less dimensions than indices. | |
57 | |
10107
fd262afea1d1
optimize bsxfun for chars
Jaroslav Hajek <highegg@gmail.com>
parents:
10105
diff
changeset
|
58 2010-01-14 Jaroslav Hajek <highegg@gmail.com> |
fd262afea1d1
optimize bsxfun for chars
Jaroslav Hajek <highegg@gmail.com>
parents:
10105
diff
changeset
|
59 |
fd262afea1d1
optimize bsxfun for chars
Jaroslav Hajek <highegg@gmail.com>
parents:
10105
diff
changeset
|
60 * chNDArray.h: Declare relational bsxfun ops. |
fd262afea1d1
optimize bsxfun for chars
Jaroslav Hajek <highegg@gmail.com>
parents:
10105
diff
changeset
|
61 * chNDArray.cc: Define them. |
fd262afea1d1
optimize bsxfun for chars
Jaroslav Hajek <highegg@gmail.com>
parents:
10105
diff
changeset
|
62 |
10105
018d92ad0730
fix prototypes for zherk and cherk
John W. Eaton <jwe@octave.org>
parents:
10102
diff
changeset
|
63 2010-01-14 John W. Eaton <jwe@octave.org> |
018d92ad0730
fix prototypes for zherk and cherk
John W. Eaton <jwe@octave.org>
parents:
10102
diff
changeset
|
64 |
018d92ad0730
fix prototypes for zherk and cherk
John W. Eaton <jwe@octave.org>
parents:
10102
diff
changeset
|
65 * CMatrix.cc: Fix prototype for zherk. |
018d92ad0730
fix prototypes for zherk and cherk
John W. Eaton <jwe@octave.org>
parents:
10102
diff
changeset
|
66 * fCMatrix.cc: Fix prototype for cherk. |
018d92ad0730
fix prototypes for zherk and cherk
John W. Eaton <jwe@octave.org>
parents:
10102
diff
changeset
|
67 |
10102
8b4e3388a254
oct-rl-edit.c (octave_rl_set_terminal_name): save term string before setting rl_terminal_name
John W. Eaton <jwe@octave.org>
parents:
10101
diff
changeset
|
68 2010-01-14 John W. Eaton <jwe@octave.org> |
8b4e3388a254
oct-rl-edit.c (octave_rl_set_terminal_name): save term string before setting rl_terminal_name
John W. Eaton <jwe@octave.org>
parents:
10101
diff
changeset
|
69 |
8b4e3388a254
oct-rl-edit.c (octave_rl_set_terminal_name): save term string before setting rl_terminal_name
John W. Eaton <jwe@octave.org>
parents:
10101
diff
changeset
|
70 * oct-rl-edit.c (octave_rl_set_name): Save arg before setting |
8b4e3388a254
oct-rl-edit.c (octave_rl_set_terminal_name): save term string before setting rl_terminal_name
John W. Eaton <jwe@octave.org>
parents:
10101
diff
changeset
|
71 rl_terminal_name. |
8b4e3388a254
oct-rl-edit.c (octave_rl_set_terminal_name): save term string before setting rl_terminal_name
John W. Eaton <jwe@octave.org>
parents:
10101
diff
changeset
|
72 |
10101
b51848e95e4b
cleanups to avoid valgrind warnings
John W. Eaton <jwe@octave.org>
parents:
10098
diff
changeset
|
73 2010-01-13 John W. Eaton <jwe@octave.org> |
b51848e95e4b
cleanups to avoid valgrind warnings
John W. Eaton <jwe@octave.org>
parents:
10098
diff
changeset
|
74 |
b51848e95e4b
cleanups to avoid valgrind warnings
John W. Eaton <jwe@octave.org>
parents:
10098
diff
changeset
|
75 * idx-vector.cc (idx_vector::idx_scalar_rep::idx_scalar_rep (T x)): |
b51848e95e4b
cleanups to avoid valgrind warnings
John W. Eaton <jwe@octave.org>
parents:
10098
diff
changeset
|
76 Initialize dummy variable. |
b51848e95e4b
cleanups to avoid valgrind warnings
John W. Eaton <jwe@octave.org>
parents:
10098
diff
changeset
|
77 |
10098
d3451c1496f8
allow the general case in Array<T>::compute_index
Jaroslav Hajek <highegg@gmail.com>
parents:
10095
diff
changeset
|
78 2010-01-13 Jaroslav Hajek <highegg@gmail.com> |
d3451c1496f8
allow the general case in Array<T>::compute_index
Jaroslav Hajek <highegg@gmail.com>
parents:
10095
diff
changeset
|
79 |
d3451c1496f8
allow the general case in Array<T>::compute_index
Jaroslav Hajek <highegg@gmail.com>
parents:
10095
diff
changeset
|
80 * Array.cc (Array<T>::compute_index): Generalize to the case of |
d3451c1496f8
allow the general case in Array<T>::compute_index
Jaroslav Hajek <highegg@gmail.com>
parents:
10095
diff
changeset
|
81 unequal lengths. |
d3451c1496f8
allow the general case in Array<T>::compute_index
Jaroslav Hajek <highegg@gmail.com>
parents:
10095
diff
changeset
|
82 |
10095
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
83 2010-01-13 Jaroslav Hajek <highegg@gmail.com> |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
84 |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
85 * dim-vector.h (dim_vector::chop_trailing_singletons): Only uniquify |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
86 if really needed. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
87 * Array.h (Array<T>::Array (T*, const dim_vector&)): Call |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
88 chop_trailing_singletons. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
89 (Array<T>::Array (const Array<T>&, const dim_vector&, |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
90 octave_idx_type...)): Ditto. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
91 (Array<T>::Array (const dim_vector&)): Ditto. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
92 (Array<T>::Array (const dim_vector&, const T&)): Ditto. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
93 (Array<T>::chop_trailing_singletons): Deprecate. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
94 * Array.cc (Array::Array(const Array&, const dim_vector&)): Ditto. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
95 (Array::index (const Array<idx_vector>&, ...)): Ditto. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
96 (Array<T>::permute): Don't call deprecate method here. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
97 (Array<T>::assign): Neither here. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
98 |
10085
82d47b706424
Remove unnecessary uses of simple_move_if_change_rule
Rik <rdrider0-list@yahoo.com>
parents:
10075
diff
changeset
|
99 2010-01-11 Rik <octave@nomad.inbox5.com> |
82d47b706424
Remove unnecessary uses of simple_move_if_change_rule
Rik <rdrider0-list@yahoo.com>
parents:
10075
diff
changeset
|
100 |
82d47b706424
Remove unnecessary uses of simple_move_if_change_rule
Rik <rdrider0-list@yahoo.com>
parents:
10075
diff
changeset
|
101 * Makefile.am: Remove unnecessary use of simple_move_if_change_rule to allow |
82d47b706424
Remove unnecessary uses of simple_move_if_change_rule
Rik <rdrider0-list@yahoo.com>
parents:
10075
diff
changeset
|
102 Make to update timestamps |
82d47b706424
Remove unnecessary uses of simple_move_if_change_rule
Rik <rdrider0-list@yahoo.com>
parents:
10075
diff
changeset
|
103 |
10075
84b0725f4b09
return class types by reference in const Array element access functions
Jaroslav Hajek <highegg@gmail.com>
parents:
10072
diff
changeset
|
104 2010-01-08 Jaroslav Hajek <highegg@gmail.com> |
84b0725f4b09
return class types by reference in const Array element access functions
Jaroslav Hajek <highegg@gmail.com>
parents:
10072
diff
changeset
|
105 |
84b0725f4b09
return class types by reference in const Array element access functions
Jaroslav Hajek <highegg@gmail.com>
parents:
10072
diff
changeset
|
106 * Array.h (Array<T>::crefT): New helper typedef. |
84b0725f4b09
return class types by reference in const Array element access functions
Jaroslav Hajek <highegg@gmail.com>
parents:
10072
diff
changeset
|
107 (Array<T>::elem const, Array<T>::xelem const, |
84b0725f4b09
return class types by reference in const Array element access functions
Jaroslav Hajek <highegg@gmail.com>
parents:
10072
diff
changeset
|
108 Array<T>::checkelem const, Array<T>::operator () const): Return crefT. |
84b0725f4b09
return class types by reference in const Array element access functions
Jaroslav Hajek <highegg@gmail.com>
parents:
10072
diff
changeset
|
109 (Array<T>::range_error const): Remove overloads. |
84b0725f4b09
return class types by reference in const Array element access functions
Jaroslav Hajek <highegg@gmail.com>
parents:
10072
diff
changeset
|
110 * Array.cc (Array<T>::range_error const): Remove overloads. |
84b0725f4b09
return class types by reference in const Array element access functions
Jaroslav Hajek <highegg@gmail.com>
parents:
10072
diff
changeset
|
111 |
10072
0b0bf1fd1ed7
use gettimeofday module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10068
diff
changeset
|
112 2010-01-07 John W. Eaton <jwe@octave.org> |
0b0bf1fd1ed7
use gettimeofday module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10068
diff
changeset
|
113 |
0b0bf1fd1ed7
use gettimeofday module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10068
diff
changeset
|
114 * oct-time.cc (octave_time::stamp): Assume gettimeofday is |
0b0bf1fd1ed7
use gettimeofday module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10068
diff
changeset
|
115 available and that it takes two arguments. |
0b0bf1fd1ed7
use gettimeofday module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10068
diff
changeset
|
116 |
10068
ca93f583573d
handle interrupts octave_fgets
Jaroslav Hajek <highegg@gmail.com>
parents:
10061
diff
changeset
|
117 2010-01-07 Jaroslav Hajek <highegg@gmail.com> |
ca93f583573d
handle interrupts octave_fgets
Jaroslav Hajek <highegg@gmail.com>
parents:
10061
diff
changeset
|
118 |
ca93f583573d
handle interrupts octave_fgets
Jaroslav Hajek <highegg@gmail.com>
parents:
10061
diff
changeset
|
119 * lo-utils.cc (octave_fgets (FILE *, bool&)): Add OCTAVE_QUIT at the |
ca93f583573d
handle interrupts octave_fgets
Jaroslav Hajek <highegg@gmail.com>
parents:
10061
diff
changeset
|
120 end. |
ca93f583573d
handle interrupts octave_fgets
Jaroslav Hajek <highegg@gmail.com>
parents:
10061
diff
changeset
|
121 |
10061
ec0c445d0d6f
include -I../libgnu in AM_CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
10042
diff
changeset
|
122 2010-01-05 John W. Eaton <jwe@octave.org> |
ec0c445d0d6f
include -I../libgnu in AM_CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
10042
diff
changeset
|
123 |
ec0c445d0d6f
include -I../libgnu in AM_CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
10042
diff
changeset
|
124 * Makefile.am (AM_CPPFLAGS): Include @CPPFLAGS@ and -I../libgnu |
ec0c445d0d6f
include -I../libgnu in AM_CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
10042
diff
changeset
|
125 in the list. |
ec0c445d0d6f
include -I../libgnu in AM_CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
10042
diff
changeset
|
126 |
10042
b7915ebe8acf
implement index reduction rule for multiple constant ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
10038
diff
changeset
|
127 2009-12-30 Jaroslav Hajek <highegg@gmail.com> |
b7915ebe8acf
implement index reduction rule for multiple constant ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
10038
diff
changeset
|
128 |
b7915ebe8acf
implement index reduction rule for multiple constant ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
10038
diff
changeset
|
129 * idx-vector.cc (idx_vector::maybe_reduce): Implement reduction rule |
b7915ebe8acf
implement index reduction rule for multiple constant ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
10038
diff
changeset
|
130 for subsequent ones () indices. |
b7915ebe8acf
implement index reduction rule for multiple constant ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
10038
diff
changeset
|
131 |
10038
62eb444704ba
file-ops.cc: avoid problems if sys/stat.h #defines mkdir or mkfifo
John W. Eaton <jwe@octave.org>
parents:
10029
diff
changeset
|
132 2009-12-28 John W. Eaton <jwe@octave.org> |
62eb444704ba
file-ops.cc: avoid problems if sys/stat.h #defines mkdir or mkfifo
John W. Eaton <jwe@octave.org>
parents:
10029
diff
changeset
|
133 |
62eb444704ba
file-ops.cc: avoid problems if sys/stat.h #defines mkdir or mkfifo
John W. Eaton <jwe@octave.org>
parents:
10029
diff
changeset
|
134 * file-ops.cc (fle_ops::mkdir_internal, |
62eb444704ba
file-ops.cc: avoid problems if sys/stat.h #defines mkdir or mkfifo
John W. Eaton <jwe@octave.org>
parents:
10029
diff
changeset
|
135 file_ops::mkfifo_internal): New private static functions. |
62eb444704ba
file-ops.cc: avoid problems if sys/stat.h #defines mkdir or mkfifo
John W. Eaton <jwe@octave.org>
parents:
10029
diff
changeset
|
136 * file-ops.h (file_ops::mkdir, file_ops::mkdir): Move |
62eb444704ba
file-ops.cc: avoid problems if sys/stat.h #defines mkdir or mkfifo
John W. Eaton <jwe@octave.org>
parents:
10029
diff
changeset
|
137 definitions here from file-ops.cc. Forward to X_internal functions. |
62eb444704ba
file-ops.cc: avoid problems if sys/stat.h #defines mkdir or mkfifo
John W. Eaton <jwe@octave.org>
parents:
10029
diff
changeset
|
138 |
10029
3b2f81d5a6dc
use gnulib modules for fstat, lstat, and stat
John W. Eaton <jwe@octave.org>
parents:
10027
diff
changeset
|
139 2009-12-26 John W. Eaton <jwe@octave.org> |
3b2f81d5a6dc
use gnulib modules for fstat, lstat, and stat
John W. Eaton <jwe@octave.org>
parents:
10027
diff
changeset
|
140 |
3b2f81d5a6dc
use gnulib modules for fstat, lstat, and stat
John W. Eaton <jwe@octave.org>
parents:
10027
diff
changeset
|
141 * file-stat.cc (lstat): Delete replacement function. |
3b2f81d5a6dc
use gnulib modules for fstat, lstat, and stat
John W. Eaton <jwe@octave.org>
parents:
10027
diff
changeset
|
142 (file_fstat::update_internal): Assume fstat is available. |
3b2f81d5a6dc
use gnulib modules for fstat, lstat, and stat
John W. Eaton <jwe@octave.org>
parents:
10027
diff
changeset
|
143 |
10027
0f312e11957e
use mkdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10025
diff
changeset
|
144 2009-12-25 John W. Eaton <jwe@octave.org> |
0f312e11957e
use mkdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10025
diff
changeset
|
145 |
0f312e11957e
use mkdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10025
diff
changeset
|
146 * file-ops.cc (file_ops::mkdir): Assume we have an mkdir |
0f312e11957e
use mkdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10025
diff
changeset
|
147 function that takes two arguments. |
0f312e11957e
use mkdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10025
diff
changeset
|
148 * mkdir.c: Delete. |
0f312e11957e
use mkdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10025
diff
changeset
|
149 * Makefile.am (LIBOCTAVE_C_SOURCES): Remove mkdir.c from the list. |
0f312e11957e
use mkdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10025
diff
changeset
|
150 |
10025
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
151 2009-12-25 John W. Eaton <jwe@octave.org> |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
152 |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
153 * oct-md5.cc (oct_md5_result_to_str): New function. |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
154 (oct_md5, oct_md5_file): Simplify using gnulib md5 functions and |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
155 oct_md5_result_to_str. |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
156 |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
157 * Makefile.am (INCS): Remove md5.h from the list. |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
158 (LIBOCTAVE_C_SOURCES): Remove md5.c from the list. |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
159 * md5.c, md5.h: Delete. |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
160 |
10004
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9994
diff
changeset
|
161 2009-12-19 Rik <octave@nomad.inbox5.com> |
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9994
diff
changeset
|
162 |
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9994
diff
changeset
|
163 * Makefile.am: Eliminate TOPDIR variable in favor of built-in automake |
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9994
diff
changeset
|
164 variables of top_builddir and top_srcdir. |
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9994
diff
changeset
|
165 |
9994
fdc3a43c0be8
avoid conflict with gnulib defining glob to be rpl_glob
John W. Eaton <jwe@octave.org>
parents:
9987
diff
changeset
|
166 2009-12-17 John W. Eaton <jwe@octave.org> |
fdc3a43c0be8
avoid conflict with gnulib defining glob to be rpl_glob
John W. Eaton <jwe@octave.org>
parents:
9987
diff
changeset
|
167 |
fdc3a43c0be8
avoid conflict with gnulib defining glob to be rpl_glob
John W. Eaton <jwe@octave.org>
parents:
9987
diff
changeset
|
168 * glob-match.h, glob-match.cc (glob_match::glob_internal): |
fdc3a43c0be8
avoid conflict with gnulib defining glob to be rpl_glob
John W. Eaton <jwe@octave.org>
parents:
9987
diff
changeset
|
169 Rename from glob_match::glob and make private. |
fdc3a43c0be8
avoid conflict with gnulib defining glob to be rpl_glob
John W. Eaton <jwe@octave.org>
parents:
9987
diff
changeset
|
170 * glob-match.h (glob_match::glob): Forward to glob_internal. |
fdc3a43c0be8
avoid conflict with gnulib defining glob to be rpl_glob
John W. Eaton <jwe@octave.org>
parents:
9987
diff
changeset
|
171 |
9987
bb30843c4929
fix subscripting of vectors by N-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9986
diff
changeset
|
172 2009-12-15 Jaroslav Hajek <highegg@gmail.com> |
bb30843c4929
fix subscripting of vectors by N-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9986
diff
changeset
|
173 |
bb30843c4929
fix subscripting of vectors by N-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9986
diff
changeset
|
174 * Array.cc (Array<T>::index (const idx_vector&)): Fix determining of |
bb30843c4929
fix subscripting of vectors by N-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9986
diff
changeset
|
175 result dimensions. |
bb30843c4929
fix subscripting of vectors by N-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9986
diff
changeset
|
176 |
9986
672e1b49e01e
optimize indexing of ranges by single subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9985
diff
changeset
|
177 2009-12-15 Jaroslav Hajek <highegg@gmail.com> |
672e1b49e01e
optimize indexing of ranges by single subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9985
diff
changeset
|
178 |
672e1b49e01e
optimize indexing of ranges by single subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9985
diff
changeset
|
179 * Range.cc (Range::elem, Range::checkelem, Range::index): |
672e1b49e01e
optimize indexing of ranges by single subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9985
diff
changeset
|
180 New methods. |
672e1b49e01e
optimize indexing of ranges by single subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9985
diff
changeset
|
181 * Range.h: Declare them. |
672e1b49e01e
optimize indexing of ranges by single subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9985
diff
changeset
|
182 |
9985
43a29eeda994
fix idx_vector::loop for masks
Jaroslav Hajek <highegg@gmail.com>
parents:
9979
diff
changeset
|
183 2009-12-15 Jaroslav Hajek <highegg@gmail.com> |
43a29eeda994
fix idx_vector::loop for masks
Jaroslav Hajek <highegg@gmail.com>
parents:
9979
diff
changeset
|
184 |
43a29eeda994
fix idx_vector::loop for masks
Jaroslav Hajek <highegg@gmail.com>
parents:
9979
diff
changeset
|
185 * idx-vector.h (idx_vector::loop, idx_vector::bloop): Fix behavior for |
43a29eeda994
fix idx_vector::loop for masks
Jaroslav Hajek <highegg@gmail.com>
parents:
9979
diff
changeset
|
186 masks. |
43a29eeda994
fix idx_vector::loop for masks
Jaroslav Hajek <highegg@gmail.com>
parents:
9979
diff
changeset
|
187 |
9979
3878bae57c12
Clean liboctave/Makefile.am to use more standard automake syntax
Rik <rdrider0-list@yahoo.com>
parents:
9975
diff
changeset
|
188 2009-12-13 Rik <octave@nomad.inbox5.com> |
3878bae57c12
Clean liboctave/Makefile.am to use more standard automake syntax
Rik <rdrider0-list@yahoo.com>
parents:
9975
diff
changeset
|
189 |
3878bae57c12
Clean liboctave/Makefile.am to use more standard automake syntax
Rik <rdrider0-list@yahoo.com>
parents:
9975
diff
changeset
|
190 * Makefile.am: Use DISTCLEANFILES rather than distclean-local rule. |
3878bae57c12
Clean liboctave/Makefile.am to use more standard automake syntax
Rik <rdrider0-list@yahoo.com>
parents:
9975
diff
changeset
|
191 Use PERL variable defined by autoconf rather than direct call. Use |
3878bae57c12
Clean liboctave/Makefile.am to use more standard automake syntax
Rik <rdrider0-list@yahoo.com>
parents:
9975
diff
changeset
|
192 simple_move_if_change rule to reduce useless compiles if OPTS_INC have not |
3878bae57c12
Clean liboctave/Makefile.am to use more standard automake syntax
Rik <rdrider0-list@yahoo.com>
parents:
9975
diff
changeset
|
193 changed. |
3878bae57c12
Clean liboctave/Makefile.am to use more standard automake syntax
Rik <rdrider0-list@yahoo.com>
parents:
9975
diff
changeset
|
194 |
9975
14ed68363284
remove stray decls from oct-shlib.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9971
diff
changeset
|
195 2009-12-12 Jaroslav Hajek <highegg@gmail.com> |
14ed68363284
remove stray decls from oct-shlib.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9971
diff
changeset
|
196 |
14ed68363284
remove stray decls from oct-shlib.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9971
diff
changeset
|
197 * oct-shlib.h: Remove stray declarations. |
14ed68363284
remove stray decls from oct-shlib.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9971
diff
changeset
|
198 |
9971
d0680ace5fcb
oct-shlib.cc (octave_dlopen_shlib): reverse sense of test and improve error message
John W. Eaton <jwe@octave.org>
parents:
9967
diff
changeset
|
199 2009-12-11 John W. Eaton <jwe@octave.org> |
d0680ace5fcb
oct-shlib.cc (octave_dlopen_shlib): reverse sense of test and improve error message
John W. Eaton <jwe@octave.org>
parents:
9967
diff
changeset
|
200 |
d0680ace5fcb
oct-shlib.cc (octave_dlopen_shlib): reverse sense of test and improve error message
John W. Eaton <jwe@octave.org>
parents:
9967
diff
changeset
|
201 * oct-shlib.cc (octave_dlopen_shlib::octave_dlopen_shlib): |
d0680ace5fcb
oct-shlib.cc (octave_dlopen_shlib): reverse sense of test and improve error message
John W. Eaton <jwe@octave.org>
parents:
9967
diff
changeset
|
202 Print filename along with message from dlerror. |
d0680ace5fcb
oct-shlib.cc (octave_dlopen_shlib): reverse sense of test and improve error message
John W. Eaton <jwe@octave.org>
parents:
9967
diff
changeset
|
203 Reverse sense of test. |
d0680ace5fcb
oct-shlib.cc (octave_dlopen_shlib): reverse sense of test and improve error message
John W. Eaton <jwe@octave.org>
parents:
9967
diff
changeset
|
204 |
9958
80432f0ee895
improve octave_shlib for safer shared libs treatment
Jaroslav Hajek <highegg@gmail.com>
parents:
9947
diff
changeset
|
205 2009-12-09 Jaroslav Hajek <highegg@gmail.com> |
80432f0ee895
improve octave_shlib for safer shared libs treatment
Jaroslav Hajek <highegg@gmail.com>
parents:
9947
diff
changeset
|
206 |
80432f0ee895
improve octave_shlib for safer shared libs treatment
Jaroslav Hajek <highegg@gmail.com>
parents:
9947
diff
changeset
|
207 * oct-shlib.h (octave_shlib): Rewrite. |
80432f0ee895
improve octave_shlib for safer shared libs treatment
Jaroslav Hajek <highegg@gmail.com>
parents:
9947
diff
changeset
|
208 * oct-shlib.cc (octave_shlib): Rewrite. |
80432f0ee895
improve octave_shlib for safer shared libs treatment
Jaroslav Hajek <highegg@gmail.com>
parents:
9947
diff
changeset
|
209 |
9947
31436dcf7d0f
call nstrftime, not my_strftime
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
210 2009-12-09 John W. Eaton <jwe@octave.org> |
31436dcf7d0f
call nstrftime, not my_strftime
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
211 |
31436dcf7d0f
call nstrftime, not my_strftime
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
212 * oct-time.cc (octave_base_tm::strftime): Call nstrftime instead |
31436dcf7d0f
call nstrftime, not my_strftime
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
213 of my_strftime. |
31436dcf7d0f
call nstrftime, not my_strftime
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
214 |
9946 | 215 2009-12-09 John W. Eaton <jwe@octave.org> |
216 | |
217 * oct-time.cc: Include strftime.h. Don't provide decl for strftime. | |
218 (octave_base_tm::strftime): Call my_strftime instead of ::strftime. | |
219 * Makefile.am (AM_CPPFLAGS): Add -I$(top_srcdir)/libgnu to the list. | |
220 (LINK_DEPS): Add ../libgnu/libgnu.la to the list. | |
221 (LIBOCTAVE_C_SOURCES): Remove strftime.c from the list. | |
222 * strftime.c: Delete. | |
223 | |
9941
1369f13ae6b2
several fixes by M. Goffioul
Jaroslav Hajek <highegg@gmail.com>
parents:
9922
diff
changeset
|
224 2009-12-08 Michael Goffioul <michael.goffioul@gmail.com> |
1369f13ae6b2
several fixes by M. Goffioul
Jaroslav Hajek <highegg@gmail.com>
parents:
9922
diff
changeset
|
225 |
1369f13ae6b2
several fixes by M. Goffioul
Jaroslav Hajek <highegg@gmail.com>
parents:
9922
diff
changeset
|
226 * Array-d.cc (Array<double>::is_sorted): Declare as OCTAVE_API. |
1369f13ae6b2
several fixes by M. Goffioul
Jaroslav Hajek <highegg@gmail.com>
parents:
9922
diff
changeset
|
227 * Array-f.cc (Array<float>::is_sorted): Ditto. |
1369f13ae6b2
several fixes by M. Goffioul
Jaroslav Hajek <highegg@gmail.com>
parents:
9922
diff
changeset
|
228 * lo-sysdep.cc: Undef min and max after including windows.h |
1369f13ae6b2
several fixes by M. Goffioul
Jaroslav Hajek <highegg@gmail.com>
parents:
9922
diff
changeset
|
229 |
9922
3a8327d51ed4
optimize issorted for doubles & floats
Jaroslav Hajek <highegg@gmail.com>
parents:
9921
diff
changeset
|
230 2009-12-05 Jaroslav Hajek <highegg@gmail.com> |
3a8327d51ed4
optimize issorted for doubles & floats
Jaroslav Hajek <highegg@gmail.com>
parents:
9921
diff
changeset
|
231 |
3a8327d51ed4
optimize issorted for doubles & floats
Jaroslav Hajek <highegg@gmail.com>
parents:
9921
diff
changeset
|
232 * Array-d.cc (Array<double>::is_sorted): Optimized specialization. |
3a8327d51ed4
optimize issorted for doubles & floats
Jaroslav Hajek <highegg@gmail.com>
parents:
9921
diff
changeset
|
233 * Array-f.cc (Array<float>::is_sorted): Ditto. |
3a8327d51ed4
optimize issorted for doubles & floats
Jaroslav Hajek <highegg@gmail.com>
parents:
9921
diff
changeset
|
234 |
9921
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
235 2009-12-05 Jaroslav Hajek <highegg@gmail.com> |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
236 |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
237 * oct-sort.cc (lookup_binary): Remove. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
238 (octave_sort<T>::lookup (const T*, octave_idx_type, const T&, comp)): Move |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
239 code here. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
240 (octave_sort<T>::lookup (const T*, octave_idx_type, const T*, |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
241 octave_idx_type, octave_idx_type *, comp)): Remove offset parameter. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
242 Use a simple sequence of lookups. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
243 (octave_sort<T>::lookup (const T*, octave_idx_type, const T*, |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
244 octave_idx_type, octave_idx_type *)): Update. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
245 (octave_sort<T>::lookupm, octave_sort<T>::lookupb): Remove. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
246 (octave_sort<T>::lookup_sorted): New overloaded method. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
247 |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
248 * Array.cc (Array<T>::lookup (const Array<T>&, sortmode)): Remove |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
249 linf & rinf params. Rewrite using is_sorted to check for sortedness, |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
250 call octave_sort::lookup_sorted to do the sorted merge. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
251 (Array<T>::lookupm, Array<T>::lookupb): Remove. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
252 (NO_INSTANTIATE_ARRAY_SORT): Update. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
253 |
9920
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
254 2009-12-05 Jaroslav Hajek <highegg@gmail.com> |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
255 |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
256 * Array.cc (sortrows_comparator): Rename to safe_comparator. |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
257 (Array<T>::is_sorted): Use it here. |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
258 * Array-d.cc: Update. |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
259 * Array-f.cc: Update. |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
260 * Array-C.cc: Update. |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
261 * Array-fC.cc: Update. |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
262 |
9906 | 263 2009-12-03 John W. Eaton <jwe@octave.org> |
264 | |
265 * Makefile.am (BUILT_NODISTFILES): New variable. | |
266 | |
9894
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
267 2009-12-01 Jaroslav Hajek <highegg@gmail.com> |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
268 |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
269 * idx-vector.cc (idx_vector::idx_range_rep::unconvert, |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
270 idx_vector::idx_scalar_rep::unconvert, |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
271 idx_vector::idx_vector_rep::unconvert, |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
272 idx_vector::idx_mask_rep::unconvert): New methods. |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
273 (idx_vector::unconvert): Use them here. Add mask output. |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
274 * idx-vector.h: Update decls. |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
275 |
9886
cddd5c3d5f04
fix & extend special-case optimizations for indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
9879
diff
changeset
|
276 2009-11-28 Jaroslav Hajek <highegg@gmail.com> |
cddd5c3d5f04
fix & extend special-case optimizations for indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
9879
diff
changeset
|
277 |
cddd5c3d5f04
fix & extend special-case optimizations for indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
9879
diff
changeset
|
278 * dim-vector.h (dim_vector::zero_by_zero): New method. |
cddd5c3d5f04
fix & extend special-case optimizations for indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
9879
diff
changeset
|
279 * idx-vector.h (idx_vector::idx_mask_rep::is_colon_equiv): Fix. |
9967 | 280 * Array.cc (Array<T>::assign): Minor tweaks. Optimize |
9886
cddd5c3d5f04
fix & extend special-case optimizations for indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
9879
diff
changeset
|
281 A = []; A(1:m,1:n,1:k) = X for all cases. Use a shallow copy |
cddd5c3d5f04
fix & extend special-case optimizations for indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
9879
diff
changeset
|
282 for all colon-equivalent indices. |
cddd5c3d5f04
fix & extend special-case optimizations for indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
9879
diff
changeset
|
283 |
9879
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
284 2009-11-27 Jaroslav Hajek <highegg@gmail.com> |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
285 |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
286 * idx-vector.h (idx_vector::index_class): New member: class_mask. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
287 (idx_vector::idx_mask_rep): New class. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
288 (idx_vector::idx_vector (bool)): Construct idx_mask_rep. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
289 (idx_vector::unmask): New method decl. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
290 * idx-vector.cc (idx_vector::idx_vector (const boolNDArray&)): |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
291 Construct idx_mask_rep conditionally. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
292 (idx_vector::unmask): New method. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
293 (idx_vector::unconvert): Make non-const. unmask when called on a mask |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
294 vector. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
295 (idx_vector::is_cont_range): Check also for idx_mask_rep. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
296 |
9878
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
297 2009-11-27 Jaroslav Hajek <highegg@gmail.com> |
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
298 |
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
299 * Array.cc (Array<T>::nnz): New method. |
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
300 * Array.h: Declare it. |
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
301 * MArray.h (MArray<T>::nnz): Remove. |
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
302 * MArrayN.h (MArrayN<T>::nnz): Remove. |
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
303 * boolNDArray.h (boolNDArray::nnz): Remove. |
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
304 |
9862
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
305 2009-11-25 Jaroslav Hajek <highegg@gmail.com> |
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
306 |
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
307 * dbleCHOL.cc (CHOL::init): Output LAPACK's info. Resize matrix if |
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
308 nonzero. Use smarter copying. |
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
309 * floatCHOL.cc (FloatCHOL::init): Ditto. |
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
310 * CmplxCHOL.cc (ComplexCHOL::init): Ditto. |
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
311 * fCmplxCHOL.cc (FloatComplexCHOL::init): Ditto. |
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
312 |
9858
47c5af1868df
move idx_add methods to MArrayN
Jaroslav Hajek <highegg@gmail.com>
parents:
9840
diff
changeset
|
313 2009-11-24 Jaroslav Hajek <highegg@gmail.com> |
47c5af1868df
move idx_add methods to MArrayN
Jaroslav Hajek <highegg@gmail.com>
parents:
9840
diff
changeset
|
314 |
47c5af1868df
move idx_add methods to MArrayN
Jaroslav Hajek <highegg@gmail.com>
parents:
9840
diff
changeset
|
315 * MArrayN.cc (MArrayN::idx_add): New methods. |
47c5af1868df
move idx_add methods to MArrayN
Jaroslav Hajek <highegg@gmail.com>
parents:
9840
diff
changeset
|
316 * MArrayN.h: Declare them. |
47c5af1868df
move idx_add methods to MArrayN
Jaroslav Hajek <highegg@gmail.com>
parents:
9840
diff
changeset
|
317 * MArray.cc, MArray.h: Remove from here. |
47c5af1868df
move idx_add methods to MArrayN
Jaroslav Hajek <highegg@gmail.com>
parents:
9840
diff
changeset
|
318 |
9840
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
319 2009-11-19 Jaroslav Hajek <highegg@gmail.com> |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
320 |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
321 * dim-vector.h (dim_vector::safe_numel): New method. |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
322 * Array.h (Array<T>::Array (const dim_vector&), |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
323 Array<T>::Array (const dim_vector&, const T&), |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
324 Array<T>::Array (T *, const dim_vector&)): Use it here. |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
325 * Array.cc (Array<T>::clear (const dim_vector&)): Also here. |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
326 (Array<T>::get_size): Remove. |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
327 * Array2.h (Array2::get_size): Remove. |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
328 * Array3.h (Array3::get_size): Remove. |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
329 |
9839
3e8b4c80ae63
use Array::get_size in Array::clear
Jaroslav Hajek <highegg@gmail.com>
parents:
9835
diff
changeset
|
330 2009-11-19 Jaroslav Hajek <highegg@gmail.com> |
3e8b4c80ae63
use Array::get_size in Array::clear
Jaroslav Hajek <highegg@gmail.com>
parents:
9835
diff
changeset
|
331 |
3e8b4c80ae63
use Array::get_size in Array::clear
Jaroslav Hajek <highegg@gmail.com>
parents:
9835
diff
changeset
|
332 * Array.cc (Array::clear (const dim_vector&)): Use get_size. |
3e8b4c80ae63
use Array::get_size in Array::clear
Jaroslav Hajek <highegg@gmail.com>
parents:
9835
diff
changeset
|
333 |
9835
1bb1ed717d2f
implement built-in erfinv
Jaroslav Hajek <highegg@gmail.com>
parents:
9831
diff
changeset
|
334 2009-11-19 Jaroslav Hajek <highegg@gmail.com> |
1bb1ed717d2f
implement built-in erfinv
Jaroslav Hajek <highegg@gmail.com>
parents:
9831
diff
changeset
|
335 |
1bb1ed717d2f
implement built-in erfinv
Jaroslav Hajek <highegg@gmail.com>
parents:
9831
diff
changeset
|
336 * lo-mappers.cc (do_erfinv): New static function. |
1bb1ed717d2f
implement built-in erfinv
Jaroslav Hajek <highegg@gmail.com>
parents:
9831
diff
changeset
|
337 (erfinv (double), erfinv (float)): New mappers. |
1bb1ed717d2f
implement built-in erfinv
Jaroslav Hajek <highegg@gmail.com>
parents:
9831
diff
changeset
|
338 * lo-mappers.h: Declare them. |
1bb1ed717d2f
implement built-in erfinv
Jaroslav Hajek <highegg@gmail.com>
parents:
9831
diff
changeset
|
339 |
9831
737624cb7560
list_in_columns: Don't SIGFPE when given empty first argument
David Grundberg <davidg@cs.umu.se>
parents:
9829
diff
changeset
|
340 2009-11-18 David Grundberg <davidg@cs.umu.se> |
737624cb7560
list_in_columns: Don't SIGFPE when given empty first argument
David Grundberg <davidg@cs.umu.se>
parents:
9829
diff
changeset
|
341 |
737624cb7560
list_in_columns: Don't SIGFPE when given empty first argument
David Grundberg <davidg@cs.umu.se>
parents:
9829
diff
changeset
|
342 * str-vec.cc (string_vector::list_in_columns): Avoid crash on |
737624cb7560
list_in_columns: Don't SIGFPE when given empty first argument
David Grundberg <davidg@cs.umu.se>
parents:
9829
diff
changeset
|
343 empty arguments from list_in_columns. |
737624cb7560
list_in_columns: Don't SIGFPE when given empty first argument
David Grundberg <davidg@cs.umu.se>
parents:
9829
diff
changeset
|
344 |
9829
8fd88cc36fa4
fix loading sparse matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9827
diff
changeset
|
345 2009-11-18 Jaroslav Hajek <highegg@gmail.com> |
8fd88cc36fa4
fix loading sparse matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9827
diff
changeset
|
346 |
9967 | 347 * Sparse.h (read_sparse_matrix): Fix order of tests and reads. |
9829
8fd88cc36fa4
fix loading sparse matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9827
diff
changeset
|
348 |
9827
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
349 2009-11-18 Jaroslav Hajek <highegg@gmail.com> |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
350 |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
351 * mx-inlines.cc (mx_inline_any_negative, mx_inline_pow): New loops. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
352 (DEFMXMAPPER2X): New macro. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
353 * bsxfun-decl.h (BSXFUN_OP2_DECL): New macro. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
354 * bsxfun-defs.cc (BSXFUN_OP2_DEF, BSXFUN_OP2_DEF_MXLOOP): New macros. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
355 (do_bsxfun_op): Use OCTAVE_QUIT. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
356 * dNDArray.cc (NDArray::all_integers (void)): New method. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
357 (NDArray::any_element_is_negative): Use mx_inline_any_negative. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
358 (bsxfun_pow (const NDArray&, const NDArray&), |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
359 bsxfun_pow (const ComplexNDArray&, const NDArray&)): New functions. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
360 * dNDArray.h: Update. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
361 * fNDArray.cc (FloatNDArray::all_integers (void)): New method. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
362 (FloatNDArray::any_element_is_negative): Use mx_inline_any_negative. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
363 (bsxfun_pow (const FloatNDArray&, const FloatNDArray&), |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
364 bsxfun_pow (const FloatComplexNDArray&, const FloatNDArray&)): New functions. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
365 * fNDArray.h: Update. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
366 * CNDArray.cc (bsxfun_pow (const ComplexNDArray&, const |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
367 ComplexNDArray&)): New function. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
368 * CNDArray.h: Update. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
369 * fCNDArray.cc (bsxfun_pow (const FloatComplexNDArray&, const |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
370 FloatComplexNDArray&)): New function. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
371 * fCNDArray.h: Update. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
372 |
9825
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
373 2009-11-13 Jaroslav Hajek <highegg@gmail.com> |
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
374 |
9967 | 375 * CNDArray.cc (ComplexNDArray::all_elements_are_real): |
9825
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
376 Use mx_inline_all_real. |
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
377 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Ditto. |
9967 | 378 * fCNDArray.cc (FloatComplexNDArray::all_elements_are_real): |
9825
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
379 Use mx_inline_all_real. |
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
380 * fCMatrix.cc (FloatComplexMatrix::all_elements_are_real): Ditto. |
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
381 * CDiagMatrix.cc (ComplexDiagMatrix::all_elements_are_real): Ditto. |
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
382 * fCDiagMatrix.cc (FloatComplexDiagMatrix::all_elements_are_real): Ditto. |
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
383 * CSparse.cc (SparseComplexMatrix::all_elements_are_real): Ditto. |
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
384 |
9821 | 385 2009-11-17 Jaroslav Hajek <highegg@gmail.com> |
386 | |
387 * base-aepbal.h (permuting_vector): Fix lower part swapping. | |
388 | |
9816
b1462c588dd5
add -DX_DLL_DEFS to CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
9814
diff
changeset
|
389 2009-11-13 John W. Eaton <jwe@octave.org> |
b1462c588dd5
add -DX_DLL_DEFS to CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
9814
diff
changeset
|
390 |
b1462c588dd5
add -DX_DLL_DEFS to CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
9814
diff
changeset
|
391 * Makefile.am (liboctave_la_CPPFLAGS): Add @OCTAVE_DLL_DEFS@ to |
b1462c588dd5
add -DX_DLL_DEFS to CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
9814
diff
changeset
|
392 the list of flags. |
b1462c588dd5
add -DX_DLL_DEFS to CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
9814
diff
changeset
|
393 |
9814
2b29f3472e20
add a couple of useful loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9812
diff
changeset
|
394 2009-11-13 Jaroslav Hajek <highegg@gmail.com> |
2b29f3472e20
add a couple of useful loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9812
diff
changeset
|
395 |
2b29f3472e20
add a couple of useful loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9812
diff
changeset
|
396 * mx-inlines.cc (mx_inline_any_nan): Rewrite. |
2b29f3472e20
add a couple of useful loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9812
diff
changeset
|
397 (mx_inline_all_real): New reduction loop. |
2b29f3472e20
add a couple of useful loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9812
diff
changeset
|
398 |
9812
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
399 2009-11-12 Jaroslav Hajek <highegg@gmail.com> |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
400 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
401 * lo-mappers.cc ( rc_acos, rc_acos, rc_acosh, rc_acosh, rc_asin, |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
402 rc_asin, rc_atanh, rc_atanh, rc_log, rc_log, rc_xlog2, rc_log2, |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
403 rc_log10, rc_log10, rc_sqrt, rc_sqrt): New mappers. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
404 * lo-mappers.h: Declare them. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
405 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
406 * lo-specfun.cc (rc_lgamma, rc_lgamma, rc_log1p, rc_log1p): New |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
407 mappers. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
408 * lo-specfun.h: Declare them. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
409 * Array.h (Array<T>::map): Unroll loop to reduce OCTAVE_QUIT checking. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
410 Provide function-reference overloads. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
411 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
412 * MArray.h (MArray<T>::map): Provide function-reference overloads. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
413 * Array2.h (Array2<T>::map): Ditto. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
414 * MArray2.h (MArray2<T>::map): Ditto. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
415 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
416 * Sparse.h (Sparse<T>::map): Ditto. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
417 * MSparse.h (MSparse<T>::map): Ditto. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
418 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
419 * dNDArray.h (NDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
420 * dNDArray.cc (NDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
421 * fNDArray.h (FloatNDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
422 * fNDArray.cc (FloatNDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
423 * CNDArray.h (ComplexNDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
424 * CNDArray.cc (ComplexNDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
425 * fCNDArray.h (FloatComplexNDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
426 * fCNDArray.cc (FloatComplexNDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
427 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
428 * dMatrix.h (Matrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
429 * dMatrix.cc (Matrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
430 * fMatrix.h (FloatMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
431 * fMatrix.cc (FloatMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
432 * CMatrix.h (ComplexMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
433 * CMatrix.cc (ComplexMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
434 * fCMatrix.h (FloatComplexMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
435 * fCMatrix.cc (FloatComplexMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
436 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
437 * dRowVector.h (RowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
438 * dRowVector.cc (RowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
439 * fRowVector.h (FloatRowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
440 * fRowVector.cc (FloatRowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
441 * CRowVector.h (ComplexRowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
442 * CRowVector.cc (ComplexRowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
443 * fCRowVector.h (FloatComplexRowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
444 * fCRowVector.cc (FloatComplexRowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
445 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
446 * dColVector.h (ColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
447 * dColVector.cc (ColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
448 * fColVector.h (FloatColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
449 * fColVector.cc (FloatColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
450 * CColVector.h (ComplexColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
451 * CColVector.cc (ComplexColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
452 * fCColVector.h (FloatComplexColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
453 * fCColVector.cc (FloatComplexColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
454 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
455 * dSparse.h (SparseMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
456 * dSparse.cc (SparseMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
457 * CSparse.h (SparseComplexMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
458 * CSparse.cc (SparseComplexMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
459 |
9805
bb70d16cca3b
fail at configure time if IEEE floating point format is not detected
John W. Eaton <jwe@octave.org>
parents:
9800
diff
changeset
|
460 2009-11-11 John W. Eaton <jwe@octave.org> |
bb70d16cca3b
fail at configure time if IEEE floating point format is not detected
John W. Eaton <jwe@octave.org>
parents:
9800
diff
changeset
|
461 |
bb70d16cca3b
fail at configure time if IEEE floating point format is not detected
John W. Eaton <jwe@octave.org>
parents:
9800
diff
changeset
|
462 * lo-ieee.cc (octave_ieee_init): Improve comment about systems |
bb70d16cca3b
fail at configure time if IEEE floating point format is not detected
John W. Eaton <jwe@octave.org>
parents:
9800
diff
changeset
|
463 without IEEE floating point format. |
bb70d16cca3b
fail at configure time if IEEE floating point format is not detected
John W. Eaton <jwe@octave.org>
parents:
9800
diff
changeset
|
464 |
9800
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
465 2009-11-11 Jaroslav Hajek <highegg@gmail.com> |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
466 |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
467 * mx-inlines.cc (mx_inline_map): New template loop. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
468 (DEFMXMAPPER): New macro. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
469 (DEFMXMAPPER2): Rename from DEFMXMAPPER. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
470 (do_mx_unary_map): New applier. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
471 (mx_inline_real, mx_inline_complex): New loops. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
472 * dNDArray.cc (NDArray::abs, NDArray::isnan, NDArray::isinf, |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
473 NDArray::isfinite, real, imag): Use new constructs. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
474 * fNDArray.cc (FloatNDArray::abs, FloatNDArray::isnan, |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
475 FloatNDArray::isinf, FloatNDArray::isfinite, real, imag): Ditto. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
476 * CNDArray.cc (ComplexNDArray::abs, ComplexNDArray::isnan, |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
477 ComplexNDArray::isinf, ComplexNDArray::isfinite, conj): Use new |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
478 constructs. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
479 * fCNDArray.cc (FloatComplexNDArray::abs, FloatComplexNDArray::isnan, |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
480 FloatComplexNDArray::isinf, FloatComplexNDArray::isfinite, conj): Use |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
481 new constructs. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
482 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9790
diff
changeset
|
483 2009-11-10 John W. Eaton <jwe@octave.org> |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9790
diff
changeset
|
484 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9790
diff
changeset
|
485 * mx-ops, sparse-mx-ops, vx-ops b/liboctave/vx-ops: |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9790
diff
changeset
|
486 Add comment about updating. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9790
diff
changeset
|
487 * Makefile.am, config-ops.sh: New files. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9790
diff
changeset
|
488 * Makefile.in: Delete. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9790
diff
changeset
|
489 |
9789
97f5de91427b
support sparse templated extractors
Jaroslav Hajek <highegg@gmail.com>
parents:
9780
diff
changeset
|
490 2009-11-09 Jaroslav Hajek <highegg@gmail.com> |
97f5de91427b
support sparse templated extractors
Jaroslav Hajek <highegg@gmail.com>
parents:
9780
diff
changeset
|
491 |
97f5de91427b
support sparse templated extractors
Jaroslav Hajek <highegg@gmail.com>
parents:
9780
diff
changeset
|
492 * dSparse.h (Sparse::max): Use Array<octave_idx_type>. |
97f5de91427b
support sparse templated extractors
Jaroslav Hajek <highegg@gmail.com>
parents:
9780
diff
changeset
|
493 * dSparse.cc: Update. |
97f5de91427b
support sparse templated extractors
Jaroslav Hajek <highegg@gmail.com>
parents:
9780
diff
changeset
|
494 * CSparse.h (Sparse::max): Use Array<octave_idx_type>. |
97f5de91427b
support sparse templated extractors
Jaroslav Hajek <highegg@gmail.com>
parents:
9780
diff
changeset
|
495 * CSparse.cc: Update. |
9790
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
496 * dNDArray.h (NDArray::max, NDArray::min, NDArray::cummax, |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
497 NDArray::cummin, NDArray::diff): Use dim = -1 as default. |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
498 * fNDArray.h (FloatNDArray::max, FloatNDArray::min, FloatNDArray::cummax, |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
499 FloatNDArray::cummin, FloatNDArray::diff): Use dim = -1 as default. |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
500 * CNDArray.h (ComplexNDArray::max, ComplexNDArray::min, |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
501 ComplexNDArray::cummax, ComplexNDArray::cummin, ComplexNDArray::diff): |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
502 Use dim = -1 as default. |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
503 * fCNDArray.h (FloatComplexNDArray::max, FloatComplexNDArray::min, |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
504 FloatComplexNDArray::cummax, FloatComplexNDArray::cummin, |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
505 FloatComplexNDArray::diff): Use dim = -1 as default. |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
506 * intNDArray.h (intNDArray::max, intNDArray::min, intNDArray::cummax, |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
507 intNDArray::cummin, intNDArray::diff): Use dim = -1 as default. |
9789
97f5de91427b
support sparse templated extractors
Jaroslav Hajek <highegg@gmail.com>
parents:
9780
diff
changeset
|
508 |
9780
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
509 2009-11-03 Jaroslav Hajek <highegg@gmail.com> |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
510 |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
511 * oct-mem.h: Rename octave_ucopy -> copy_or_memcpy, |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
512 octave_fill -> fill_or_memset, octave_new -> no_ctor_new, |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
513 octave_delete -> no_ctor_delete. |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
514 * Array.h: Update. |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
515 * Array.cc: Update. |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
516 * idx-vector.h: Update. |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
517 * idx-vector.cc: Update. |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
518 |
9773
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
519 2009-11-03 Jaroslav Hajek <highegg@gmail.com> |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
520 |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
521 * oct-mem.h: New source. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
522 * Makefile.in: Include it. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
523 * Array.h (Array<T>::ArrayRep::ArrayRep (...)): Use octave_new, |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
524 octave_ucopy and octave_fill. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
525 (Array<T>::ArrayRep::~ArrayRep): Use octave_delete. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
526 (Array<T>::coerce): Use octave_new. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
527 * Array.cc (Array<T>::fill, rec_resize_helper::do_resize_fill, |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
528 Array<T>::resize_fill, rec_permute_helper::do_permute, |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
529 Array<T>::delete_elements): Use octave_ucopy and octave_fill. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
530 * idx-vector.h (index_vector::index, index_vector::assign): Use |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
531 octave_ucopy. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
532 * idx-vector.cc (index_vector::copy_data): Ditto. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
533 |
9772
3ac8ea48279b
improve index reduction rules
Jaroslav Hajek <highegg@gmail.com>
parents:
9766
diff
changeset
|
534 2009-11-03 Jaroslav Hajek <highegg@gmail.com> |
3ac8ea48279b
improve index reduction rules
Jaroslav Hajek <highegg@gmail.com>
parents:
9766
diff
changeset
|
535 |
3ac8ea48279b
improve index reduction rules
Jaroslav Hajek <highegg@gmail.com>
parents:
9766
diff
changeset
|
536 * idx-vector.cc (idx_vector::maybe_reduce): Implement (i:k:end, :) |
3ac8ea48279b
improve index reduction rules
Jaroslav Hajek <highegg@gmail.com>
parents:
9766
diff
changeset
|
537 and (i:k:end, p:q) reductions. |
3ac8ea48279b
improve index reduction rules
Jaroslav Hajek <highegg@gmail.com>
parents:
9766
diff
changeset
|
538 |
9766
82fe4db20dec
fix bad FLOAT_TRUNCATE in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9760
diff
changeset
|
539 2009-11-02 Jaroslav Hajek <highegg@gmail.com> |
82fe4db20dec
fix bad FLOAT_TRUNCATE in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9760
diff
changeset
|
540 |
82fe4db20dec
fix bad FLOAT_TRUNCATE in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9760
diff
changeset
|
541 * mx-inlines.cc (twosum_accum): Remove FLOAT_TRUNCATE. |
82fe4db20dec
fix bad FLOAT_TRUNCATE in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9760
diff
changeset
|
542 |
9760
c6b97d218345
PermMatrix.cc: don't include error.h
John W. Eaton <jwe@octave.org>
parents:
9759
diff
changeset
|
543 2009-10-28 John W. Eaton <jwe@octave.org> |
c6b97d218345
PermMatrix.cc: don't include error.h
John W. Eaton <jwe@octave.org>
parents:
9759
diff
changeset
|
544 |
c6b97d218345
PermMatrix.cc: don't include error.h
John W. Eaton <jwe@octave.org>
parents:
9759
diff
changeset
|
545 * PermMatrix.cc: Don't include error.h. |
c6b97d218345
PermMatrix.cc: don't include error.h
John W. Eaton <jwe@octave.org>
parents:
9759
diff
changeset
|
546 |
9759
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
547 2009-10-27 David Bateman <dbateman@free.fr> |
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
548 |
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
549 * SparsedbleLU.cc (SparseLU::SparseLU (const SparseMatrix&, |
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
550 const Matrix&, bool), SparseLU::SparseLU (const SparseMatrix&, |
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
551 const ColumnVector&, const Matrix&, boo, bool, double, bool, |
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
552 bool)): Fix test for valid pivot tolerance. |
9967 | 553 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU |
554 (const SparseComplexMatrix&, const Matrix&, bool), | |
9759
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
555 SparseComplexLU::SparseComplexLU (const SparseComplexMatrix&, |
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
556 const ColumnVector&, const Matrix&, boo, bool, double, bool, |
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
557 bool)): Ditto. |
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
558 |
9757
95ad9c2a27e2
fix idx_vector construction checks
Jaroslav Hajek <highegg@gmail.com>
parents:
9748
diff
changeset
|
559 2009-10-23 Jaroslav Hajek <highegg@gmail.com> |
95ad9c2a27e2
fix idx_vector construction checks
Jaroslav Hajek <highegg@gmail.com>
parents:
9748
diff
changeset
|
560 |
95ad9c2a27e2
fix idx_vector construction checks
Jaroslav Hajek <highegg@gmail.com>
parents:
9748
diff
changeset
|
561 * idx-vector.cc (idx_vector::idx_range_rep::idx_range_rep |
95ad9c2a27e2
fix idx_vector construction checks
Jaroslav Hajek <highegg@gmail.com>
parents:
9748
diff
changeset
|
562 (octave_idx_type, octave_idx_type, octave_idx_type)): |
95ad9c2a27e2
fix idx_vector construction checks
Jaroslav Hajek <highegg@gmail.com>
parents:
9748
diff
changeset
|
563 Improve checking. |
95ad9c2a27e2
fix idx_vector construction checks
Jaroslav Hajek <highegg@gmail.com>
parents:
9748
diff
changeset
|
564 |
9748
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
565 2009-10-21 John W. Eaton <jwe@octave.org> |
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
566 |
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
567 * oct-time.h (octave_time::octave_time (time_t t, int us)): |
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
568 New constructor. |
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
569 (operator + (const octave_time&, const octave_time&)): New function. |
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
570 |
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
571 * file-stat.h (base_file_stat::time_resolution): New function. |
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
572 |
9743
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
573 2009-10-20 Jaroslav Hajek <highegg@gmail.com> |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
574 |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
575 * bsxfun-decl.h, bsxfun-defs.cc: New sources. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
576 * Makefile.in: Add them. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
577 * dim-vector.h (dim_vector::compute_index, |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
578 dim_vector::increment_index): Fix. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
579 * mx-inlines.cc (DEFMXMAPPER, DEFMXLOCALMAPPER): New macros. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
580 (mx_inline_xmin, mx_inline_xmax): New loops. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
581 (mx_inline_fun): Remove. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
582 * oct-inttypes.h (xmin (const octave_int<T>&, const octave_int<T>&), |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
583 xmax (const octave_int<T>&, const octave_int<T>&)): |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
584 New inline functions. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
585 |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
586 * CNDArray.cc: Define bsxfun operations. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
587 * boolNDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
588 * dNDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
589 * fCNDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
590 * fNDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
591 * int16NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
592 * int32NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
593 * int64NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
594 * int8NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
595 * uint16NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
596 * uint32NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
597 * uint64NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
598 * uint8NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
599 |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
600 * CNDArray.h: Declare bsxfun operations. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
601 * boolNDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
602 * dNDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
603 * fCNDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
604 * fNDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
605 * int16NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
606 * int32NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
607 * int64NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
608 * int8NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
609 * uint16NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
610 * uint32NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
611 * uint64NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
612 * uint8NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
613 |
9739
13b57eec9440
a few handy methods for dim_vector
Jaroslav Hajek <highegg@gmail.com>
parents:
9738
diff
changeset
|
614 2009-10-19 Jaroslav Hajek <highegg@gmail.com> |
13b57eec9440
a few handy methods for dim_vector
Jaroslav Hajek <highegg@gmail.com>
parents:
9738
diff
changeset
|
615 |
13b57eec9440
a few handy methods for dim_vector
Jaroslav Hajek <highegg@gmail.com>
parents:
9738
diff
changeset
|
616 * dim-vector.h (dim_vector::compute_index, |
13b57eec9440
a few handy methods for dim_vector
Jaroslav Hajek <highegg@gmail.com>
parents:
9738
diff
changeset
|
617 dim_vector::increment_index, dim_vector::cumulative, |
13b57eec9440
a few handy methods for dim_vector
Jaroslav Hajek <highegg@gmail.com>
parents:
9738
diff
changeset
|
618 dim_vector::cum_compute_index): New methods. |
13b57eec9440
a few handy methods for dim_vector
Jaroslav Hajek <highegg@gmail.com>
parents:
9738
diff
changeset
|
619 |
9738
a141154ee825
Remove ArrayN.cc from Makefile.in
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9737
diff
changeset
|
620 2009-10-18 Carsten Clark <tantumquantum+gnuoctave@gmail.com> |
a141154ee825
Remove ArrayN.cc from Makefile.in
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9737
diff
changeset
|
621 |
a141154ee825
Remove ArrayN.cc from Makefile.in
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9737
diff
changeset
|
622 * Makefile.in: Remove ArrayN.cc. |
a141154ee825
Remove ArrayN.cc from Makefile.in
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9737
diff
changeset
|
623 |
9737
9bc642ea9006
include base-qr sources in install
Jaroslav Hajek <highegg@gmail.com>
parents:
9734
diff
changeset
|
624 2009-10-18 Jaroslav Hajek <highegg@gmail.com> |
9bc642ea9006
include base-qr sources in install
Jaroslav Hajek <highegg@gmail.com>
parents:
9734
diff
changeset
|
625 |
9bc642ea9006
include base-qr sources in install
Jaroslav Hajek <highegg@gmail.com>
parents:
9734
diff
changeset
|
626 * Makefile.in: Include base-qr.h and base-qr.cc. |
9bc642ea9006
include base-qr sources in install
Jaroslav Hajek <highegg@gmail.com>
parents:
9734
diff
changeset
|
627 |
9734
1a9508872af0
initialize QR:: constants
Jaroslav Hajek <highegg@gmail.com>
parents:
9732
diff
changeset
|
628 2009-10-17 Jaroslav Hajek <highegg@gmail.com> |
1a9508872af0
initialize QR:: constants
Jaroslav Hajek <highegg@gmail.com>
parents:
9732
diff
changeset
|
629 |
1a9508872af0
initialize QR:: constants
Jaroslav Hajek <highegg@gmail.com>
parents:
9732
diff
changeset
|
630 * dbleQR.cc: Initialize QR::raw, QR::economy and QR::std. |
1a9508872af0
initialize QR:: constants
Jaroslav Hajek <highegg@gmail.com>
parents:
9732
diff
changeset
|
631 |
9732
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
632 2009-10-16 Jaroslav Hajek <highegg@gmail.com> |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
633 |
9967 | 634 * ArrayN.h: Remove everything, just #define ArrayN Array. |
9732
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
635 Warn if under gcc. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
636 * ArrayN.cc: Remove. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
637 * Array.cc (operator >>): New operator. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
638 * Array.h: Declare it. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
639 |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
640 * Array-C.cc: Remove traces of ArrayN. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
641 * Array-b.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
642 * Array-ch.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
643 * Array-d.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
644 * Array-f.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
645 * Array-fC.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
646 * CNDArray.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
647 * CNDArray.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
648 * MArrayN.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
649 * boolNDArray.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
650 * boolNDArray.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
651 * chNDArray.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
652 * dNDArray.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
653 * dNDArray.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
654 * fCNDArray.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
655 * fCNDArray.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
656 * fNDArray.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
657 * fNDArray.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
658 * intNDArray.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
659 * intNDArray.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
660 * lo-specfun.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
661 * lo-specfun.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
662 |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
663 * mx-op-defs.h (DMS_BIN_OP, SDM_BIN_OP): Rewrite. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
664 (DMS_BIN_OPS, SDM_BIN_OPS): Define dm*s and dm/s rather than dm+s and |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
665 dm-s which are rather useless. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
666 * mx-ops: Update. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
667 |
9731 | 668 2009-10-16 Jaroslav Hajek <highegg@gmail.com> |
669 | |
670 * Array.cc (Array<T>::column, Array<T>::page, Array<T>::linearize, | |
671 Array<T>::linear_slice): New methods. | |
672 * Array.h: Declare them | |
673 * ArrayN.h: Forward them. | |
674 | |
9725 | 675 2009-10-14 Jaroslav Hajek <highegg@gmail.com> |
676 | |
677 * oct-sort.cc (octave_sort<T>::nth_element): New overloaded method. | |
678 * oct-sort.h: Declare it. | |
679 * Array.cc (Array<T>::nth_element): New method. | |
680 * Array.h: Declare it. | |
681 (Array<T>::sort): Use int for dim argument. | |
682 * ArrayN.h (ArrayN<T>::nth_element): Wrap. | |
683 (ArrayN<T>::sort): Use int for dim argument. | |
684 | |
9721
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
685 2009-10-13 Jaroslav Hajek <highegg@gmail.com> |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
686 |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
687 * lo-traits.h (equal_types, is_instance, subst_template_param): New |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
688 traits classes. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
689 * mx-inlines.cc (op_dble_sum, twosum_accum): New helper funcs. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
690 (mx_inline_dsum, mx_inline_xsum): New reduction loops. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
691 * fNDArray.cc (FloatNDArray::dsum): New method. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
692 * fNDArray.h: Declare it. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
693 * fCNDArray.cc (FloatComplexNDArray::dsum): New method. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
694 * fCNDArray.h: Declare it. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
695 * dNDArray.cc (NDArray::xsum): New method. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
696 * dNDArray.h: Declare it. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
697 * CNDArray.cc (ComplexNDArray::xsum): New method. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
698 * CNDArray.h: Declare it. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
699 * intNDArray.cc (intNDArray::dsum): New method. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
700 * intNDArray.h: Declare it. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
701 |
9715
9f27172fbd1e
auto-set MatrixType from certain functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9713
diff
changeset
|
702 2009-10-12 Jaroslav Hajek <highegg@gmail.com> |
9f27172fbd1e
auto-set MatrixType from certain functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9713
diff
changeset
|
703 |
9f27172fbd1e
auto-set MatrixType from certain functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9713
diff
changeset
|
704 * base-qr.cc (base_qr::regular): New method. |
9f27172fbd1e
auto-set MatrixType from certain functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9713
diff
changeset
|
705 * base-qr.h: Declare it. |
9f27172fbd1e
auto-set MatrixType from certain functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9713
diff
changeset
|
706 * base-lu.cc (base_lu::regular): New method. |
9f27172fbd1e
auto-set MatrixType from certain functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9713
diff
changeset
|
707 * base-lu.h: Declare it. |
9f27172fbd1e
auto-set MatrixType from certain functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9713
diff
changeset
|
708 |
9713
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
709 2009-10-12 Jaroslav Hajek <highegg@gmail.com> |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
710 |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
711 * base-qr.h: New source. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
712 * base-qr.cc: New source. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
713 * dbleQR.h (QR): Rebase on base_qr<Matrix>. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
714 * dbleQR.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
715 * floatQR.h (QR): Rebase on base_qr<FloatMatrix>. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
716 * floatQR.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
717 * CmplxQR.h (QR): Rebase on base_qr<ComplexMatrix>. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
718 * CmplxQR.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
719 * fCmplxQR.h (QR): Rebase on base_qr<FloatComplexMatrix>. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
720 * fCmplxQR.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
721 * dbleQRP.h (QR): Update. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
722 * dbleQRP.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
723 * floatQRP.h (QR): Update. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
724 * floatQRP.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
725 * CmplxQRP.h (QR): Update. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
726 * CmplxQRP.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
727 * fCmplxQRP.h (QR): Update. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
728 * fCmplxQRP.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
729 |
9708 | 730 2009-10-08 Jaroslav Hajek <highegg@gmail.com> |
731 | |
732 * PermMatrix.cc (PermMatrix::eye): New method. | |
733 * PermMatrix.h: Declare it. | |
734 * dbleLU.cc (LU::update, LU::update_piv): New overloaded methods. | |
735 * dbleLU.h: Declare them. | |
736 * floatLU.cc (FloatLU::update, FloatLU::update_piv): New overloaded | |
737 methods. | |
738 * floatLU.h: Declare them. | |
739 * CmplxLU.cc (ComplexLU::update, ComplexLU::update_piv): New | |
740 overloaded methods. | |
741 * CmplxLU.h: Declare them. | |
742 * fCmplxLU.cc (FloatComplexLU::update, FloatComplexLU::update_piv): | |
743 New overloaded methods. | |
744 * fCmplxLU.h: Declare them. | |
745 | |
9702
9ecd35a606e3
avoid some warnings from g++
John W. Eaton <jwe@octave.org>
parents:
9698
diff
changeset
|
746 2009-10-07 John W. Eaton <jwe@octave.org> |
9ecd35a606e3
avoid some warnings from g++
John W. Eaton <jwe@octave.org>
parents:
9698
diff
changeset
|
747 |
9ecd35a606e3
avoid some warnings from g++
John W. Eaton <jwe@octave.org>
parents:
9698
diff
changeset
|
748 * mx-inlines.cc (mx_inline_diff): Avoid uninitialized variable warning. |
9ecd35a606e3
avoid some warnings from g++
John W. Eaton <jwe@octave.org>
parents:
9698
diff
changeset
|
749 |
9698
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
750 2009-10-06 Jaroslav Hajek <highegg@gmail.com> |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
751 |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
752 * dDiagMatrix.cc (operator *(const DiagMatrix&, const DiagMatrix&)): |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
753 Rewrite. |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
754 * fDiagMatrix.cc (operator *(const FloatDiagMatrix&, const FloatDiagMatrix&)): |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
755 Rewrite. |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
756 * CDiagMatrix.cc (operator *(const ComplexDiagMatrix&, const ComplexDiagMatrix&)): |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
757 Rewrite. |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
758 * fCDiagMatrix.cc (operator *(const FloatComplexDiagMatrix&, const |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
759 FloatComplexDiagMatrix&)): |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
760 Rewrite. |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
761 * DiagArray2.h (DiagArray2::diag_length): New method. |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
762 * PermMatrix.h (PermMatrix::length): Make consistent with |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
763 DiagArray2::length. |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
764 |
9697
51c17bd18563
omission in base-lu::unpack
Jaroslav Hajek <highegg@gmail.com>
parents:
9695
diff
changeset
|
765 2009-10-05 Jaroslav Hajek <highegg@gmail.com> |
51c17bd18563
omission in base-lu::unpack
Jaroslav Hajek <highegg@gmail.com>
parents:
9695
diff
changeset
|
766 |
51c17bd18563
omission in base-lu::unpack
Jaroslav Hajek <highegg@gmail.com>
parents:
9695
diff
changeset
|
767 * base-lu.cc (base_lu::unpack): Unpack getp as well. |
51c17bd18563
omission in base-lu::unpack
Jaroslav Hajek <highegg@gmail.com>
parents:
9695
diff
changeset
|
768 |
9695
9fba7e1da785
correct algorithm for perm matrix det (sign)
Jaroslav Hajek <highegg@gmail.com>
parents:
9694
diff
changeset
|
769 2009-10-05 Jaroslav Hajek <highegg@gmail.com> |
9fba7e1da785
correct algorithm for perm matrix det (sign)
Jaroslav Hajek <highegg@gmail.com>
parents:
9694
diff
changeset
|
770 |
9fba7e1da785
correct algorithm for perm matrix det (sign)
Jaroslav Hajek <highegg@gmail.com>
parents:
9694
diff
changeset
|
771 * PermMatrix.cc (PermMatrix::determinant): Implement a (hopefully) |
9fba7e1da785
correct algorithm for perm matrix det (sign)
Jaroslav Hajek <highegg@gmail.com>
parents:
9694
diff
changeset
|
772 working algorithm. |
9fba7e1da785
correct algorithm for perm matrix det (sign)
Jaroslav Hajek <highegg@gmail.com>
parents:
9694
diff
changeset
|
773 |
9694
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
774 2009-10-05 Jaroslav Hajek <highegg@gmail.com> |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
775 |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
776 * dim-vector.h (operator ==): Include fast case. |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
777 * base-lu.cc (base_lu::packed, base_lu::unpack): New methods. |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
778 (base_lu::L, base_lu::U, base_lu::Y, base_lu::getp): Distinguish |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
779 packed vs. unpacked case. |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
780 * base-lu.h: Update decls. |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
781 (base_lu::l_fact): New member field. |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
782 |
9685 | 783 2009-10-02 Jaroslav Hajek <highegg@gmail.com> |
784 | |
785 * lo-traits.h (strip_template_param): New trait class. | |
786 | |
9678
c929f09457b7
rewrite num2cell for speed-up + a few associated fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
9667
diff
changeset
|
787 2009-10-01 Jaroslav Hajek <highegg@gmail.com> |
c929f09457b7
rewrite num2cell for speed-up + a few associated fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
9667
diff
changeset
|
788 |
c929f09457b7
rewrite num2cell for speed-up + a few associated fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
9667
diff
changeset
|
789 * Array.cc (Array<T>::permute): Fast case identity permutation. |
c929f09457b7
rewrite num2cell for speed-up + a few associated fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
9667
diff
changeset
|
790 |
9667
641a788c82a4
fix complex-real comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9666
diff
changeset
|
791 2009-09-27 Jaroslav Hajek <highegg@gmail.com> |
641a788c82a4
fix complex-real comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9666
diff
changeset
|
792 |
641a788c82a4
fix complex-real comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9666
diff
changeset
|
793 * oct-cmplx.h: Fix complex-real orderings. |
641a788c82a4
fix complex-real comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9666
diff
changeset
|
794 |
9666
a531dec450c4
allow 1D case for sub2ind and ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9665
diff
changeset
|
795 2009-09-27 Jaroslav Hajek <highegg@gmail.com> |
a531dec450c4
allow 1D case for sub2ind and ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9665
diff
changeset
|
796 |
a531dec450c4
allow 1D case for sub2ind and ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9665
diff
changeset
|
797 * dim-vector.h (dim_vector::redim): Rewrite. |
a531dec450c4
allow 1D case for sub2ind and ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9665
diff
changeset
|
798 * Array-util.cc (sub2ind): Allow single index case. |
a531dec450c4
allow 1D case for sub2ind and ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9665
diff
changeset
|
799 |
9665
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
800 2009-09-26 Jaroslav Hajek <highegg@gmail.com> |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
801 |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
802 * dMatrix.cc (xgemm): Use blas_trans_type to indicate transposes. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
803 (operator *(const Matrix&, const Matrix&)): Update. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
804 * fMatrix.cc (xgemm): Use blas_trans_type to indicate transposes. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
805 (operator *(const FloatMatrix&, const FloatMatrix&)): Update. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
806 * CMatrix.cc (xgemm): Use blas_trans_type to indicate transposes. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
807 (operator *(const ComplexMatrix&, const ComplexMatrix&)): Update. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
808 * fCMatrix.cc (xgemm): Use blas_trans_type to indicate transposes. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
809 (operator *(const FloatComplexMatrix&, const FloatComplexMatrix&)): Update. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
810 * dMatrix.h: Update decl. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
811 * fMatrix.h: Update decl. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
812 * CMatrix.h: Update decl. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
813 * fCMatrix.h: Update decl. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
814 |
9663
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
815 2009-09-23 Jaroslav Hajek <highegg@gmail.com> |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
816 |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
817 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const Matrix&, const |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
818 Matrix&)): New constructor. |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
819 (operator * (Matrix, ComplexMatrix), operator * (ComplexMatrix, |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
820 Matrix)): Optimize. |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
821 * fCMatrix.cc (FloatComplexMatrix::FloatComplexMatrix (const FloatMatrix&, const |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
822 FloatMatrix&)): New constructor. |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
823 (operator * (FloatMatrix, FloatComplexMatrix), operator * (FloatComplexMatrix, |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
824 FloatMatrix)): Optimize. |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
825 |
9662
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
826 2009-09-23 Jaroslav Hajek <highegg@gmail.com> |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
827 |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
828 * dMatrix.cc (stack_complex_matrix, unstack_complex_matrix): New |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
829 static funcs. |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
830 (Matrix::solve (..., const ComplexMatrix&, ...)): Use the above funcs. |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
831 Improve forwarding. |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
832 * fMatrix.cc (stack_complex_matrix, unstack_complex_matrix): New |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
833 static funcs. |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
834 (FloatMatrix::solve (..., const FloatComplexMatrix&, ...)): Use the |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
835 above funcs. Improve forwarding. |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
836 |
9661
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
837 2009-09-23 Jaroslav Hajek <highegg@gmail.com> |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
838 |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
839 * mx-defs.h (blas_trans_type): New enum. |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
840 (get_blas_char): New inline func. |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
841 * dMatrix.cc (Matrix::utsolve, Matrix::ltsolve, Matrix::solve): |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
842 Support transt parameter. |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
843 * fMatrix.cc (FloatMatrix::utsolve, FloatMatrix::ltsolve, |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
844 FloatMatrix::solve): Ditto. |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
845 * CMatrix.cc (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
846 ComplexMatrix::solve): Ditto. |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
847 * fCMatrix.cc (FloatComplexMatrix::utsolve, |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
848 FloatComplexMatrix::ltsolve, FloatComplexMatrix::solve): Ditto. |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
849 * dMatrix.h, fMatrix.h, CMatrix.h, fCMatrix.h: Update. |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
850 |
9660
0256e187d13b
get rid of VS|SV|VV_BIN_OP macros in mx-op-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
9656
diff
changeset
|
851 2009-09-21 Jaroslav Hajek <highegg@gmail.com> |
0256e187d13b
get rid of VS|SV|VV_BIN_OP macros in mx-op-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
9656
diff
changeset
|
852 |
0256e187d13b
get rid of VS|SV|VV_BIN_OP macros in mx-op-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
9656
diff
changeset
|
853 * mx-op-defs.h (VS_BIN_OP, SV_BIN_OP, VV_BIN_OP): Simplify. |
0256e187d13b
get rid of VS|SV|VV_BIN_OP macros in mx-op-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
9656
diff
changeset
|
854 |
9656
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
855 2009-09-19 Jaroslav Hajek <highegg@gmail.com> |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
856 |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
857 * dNDArray.h (NDArray::matrix_type): New typedef. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
858 * fNDArray.h (FloatNDArray::matrix_type): New typedef. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
859 * CNDArray.h (ComplexNDArray::matrix_type): New typedef. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
860 * fCNDArray.h (FloatComplexNDArray::matrix_type): New typedef. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
861 * boolNDArray.h (boolNDArray::matrix_type): New typedef. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
862 * charNDArray.h (charNDArray::matrix_type): New typedef. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
863 |
9967 | 864 * dMatrix.h (Matrix::column_vector_type, |
9656
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
865 Matrix::row_vector_type): New typedefs. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
866 * fMatrix.h (FloatMatrix::column_vector_type, |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
867 FloatMatrix::row_vector_type): New typedefs. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
868 * CMatrix.h (ComplexMatrix::column_vector_type, |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
869 ComplexMatrix::row_vector_type): New typedefs. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
870 * fCMatrix.h (FloatComplexMatrix::column_vector_type, |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
871 FloatComplexMatrix::row_vector_type): New typedefs. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
872 |
9655
17971b0f18b1
mach-info.cc: don't include oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9653
diff
changeset
|
873 2009-09-18 John W. Eaton <jwe@octave.org> |
17971b0f18b1
mach-info.cc: don't include oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9653
diff
changeset
|
874 |
17971b0f18b1
mach-info.cc: don't include oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9653
diff
changeset
|
875 * mach-info.cc: Don't include oct-types.h. |
17971b0f18b1
mach-info.cc: don't include oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9653
diff
changeset
|
876 |
9653
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
877 2009-09-18 Jaroslav Hajek <highegg@gmail.com> |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
878 |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
879 * Array.h (NoAlias): New template class. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
880 * dRowVector.cc (linspace): Rewrite. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
881 * fRowVector.cc (linspace): Rewrite. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
882 * CRowVector.cc (linspace): Rewrite. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
883 * fCRowVector.cc (linspace): Rewrite. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
884 * dMatrix.cc (linspace): New method. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
885 * dMatrix.h (linspace): Declare it. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
886 * fMatrix.cc (linspace): New method. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
887 * fMatrix.h (linspace): Declare it. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
888 * CMatrix.cc (linspace): New method. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
889 * CMatrix.h (linspace): Declare it. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
890 * fCMatrix.cc (linspace): New method. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
891 * fCMatrix.h (linspace): Declare it. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
892 |
9648
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
893 2009-09-17 John W. Eaton <jwe@octave.org> |
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
894 |
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
895 * oct-types.h.in: Delete. |
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
896 * Makefile.in (BUILT_INCLUDES, DISTFILES): Remove oct-types.h.in |
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
897 from the list. |
9649
d0e2aa1974e9
changelog fix for previous change
John W. Eaton <jwe@octave.org>
parents:
9648
diff
changeset
|
898 (distclean, maintainer-clean): Don't remove oct-types.h |
9648
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
899 * DAEFunc.h, MatrixType.h, base-aepbal.h, dim-vector.h, |
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
900 lo-specfun.h, lo-utils.h, mx-op-decl.h, oct-inttypes.h, |
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
901 randgamma.h, randmtzig.h, randpoisson.h: |
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
902 Don't include oct-types.h. |
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
903 |
9647
54f45f883a53
optimize & extend randperm
Jaroslav Hajek <highegg@gmail.com>
parents:
9625
diff
changeset
|
904 2009-09-16 Jaroslav Hajek <highegg@gmail.com> |
54f45f883a53
optimize & extend randperm
Jaroslav Hajek <highegg@gmail.com>
parents:
9625
diff
changeset
|
905 |
54f45f883a53
optimize & extend randperm
Jaroslav Hajek <highegg@gmail.com>
parents:
9625
diff
changeset
|
906 * oct-rand.cc (octave_rand::do_matrix, do_nd_array, do_vector): |
54f45f883a53
optimize & extend randperm
Jaroslav Hajek <highegg@gmail.com>
parents:
9625
diff
changeset
|
907 Use Array::clear rather than Array::resize. |
54f45f883a53
optimize & extend randperm
Jaroslav Hajek <highegg@gmail.com>
parents:
9625
diff
changeset
|
908 |
9625
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
909 2009-09-06 Jaroslav Hajek <highegg@gmail.com> |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
910 |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
911 * dColVector.h (operator *(const Matrix&, const ColumnVector)): |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
912 Optimize. |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
913 * fColVector.h (operator *(const FloatMatrix&, const |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
914 FloatColumnVector)): Optimize. |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
915 * CColVector.h (operator *(const ComplexMatrix&, const |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
916 ComplexColumnVector)): Optimize. |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
917 * fCColVector.h (operator *(const FloatComplexMatrix&, const |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
918 FloatComplexColumnVector)): Optimize. |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
919 |
9624
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
920 2009-09-04 Jaroslav Hajek <highegg@gmail.com> |
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
921 |
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
922 * Array.cc (Array<T>::clear (const dim_vector&)): new method. |
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
923 * Array.h: Declare it. |
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
924 (Array<T>::clear (octave_idx_type)): New method. |
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
925 (Array<T>::clear (octave_idx_type, octave_idx_type)): New method. |
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
926 |
9612
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
927 2009-09-04 Jaroslav Hajek <highegg@gmail.com> |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
928 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
929 * mx-inlines.cc (DEFMXBOOLOPEQ): New macro. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
930 (mx_inline_and2, mx_inline_or2): New loops. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
931 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
932 * MArray.h (MArray<T>::MArray (const dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
933 (MArray<T>::MArray (const Array<T>&)): Ensure column vector. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
934 (MArray<T>::resize): New method. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
935 * DiagArray2.h (DiagArray2<T>::DiagArray2 (const dim_vector&)): New |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
936 constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
937 * MDiagArray2.h (MDiagArray2<T>::MDiagArray2 (const dim_vector&)): New |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
938 constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
939 * dColVector.h (ColumnVector::ColumnVector (const dim_vector&)): New |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
940 constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
941 * fColVector.h (FloatColumnVector::FloatColumnVector (const |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
942 dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
943 * CColVector.h (ComplexColumnVector::ComplexColumnVector (const |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
944 dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
945 * fCColVector.h (FloatComplexColumnVector::FloatComplexColumnVector |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
946 (const dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
947 * dRowVector.h (RowVector::RowVector (const dim_vector&)): New |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
948 constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
949 * fRowVector.h (FloatRowVector::FloatRowVector (const dim_vector&)): |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
950 New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
951 * CRowVector.h (ComplexRowVector::ComplexRowVector (const |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
952 dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
953 * fCRowVector.h (FloatComplexRowVector::FloatComplexRowVector (const |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
954 dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
955 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
956 * CNDArray.cc (operator *= (const ComplexNDArray, double)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
957 * fCNDArray.cc (operator *= (const FloatComplexNDArray, float)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
958 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
959 * MArray.cc |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
960 (operator += (MArray<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
961 (operator -= (MArray<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
962 (operator *= (MArray<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
963 (operator /= (MArray<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
964 (operator += (MArray<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
965 (operator -= (MArray<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
966 (product (MArray<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
967 (quotient (MArray<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
968 (MARRAY_AS_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
969 (MARRAY_SA_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
970 (MARRAY_AA_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
971 (operator - (const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
972 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
973 * MArray2.cc |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
974 (operator += (MArray2<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
975 (operator -= (MArray2<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
976 (operator *= (MArray2<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
977 (operator /= (MArray2<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
978 (operator += (MArray2<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
979 (operator -= (MArray2<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
980 (product (MArray2<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
981 (quotient (MArray2<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
982 (MARRAY_A2S_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
983 (MARRAY_SA2_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
984 (MARRAY_A2A2_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
985 (operator - (const MArray2<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
986 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
987 * MArrayN.cc |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
988 (operator += (MArrayN<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
989 (operator -= (MArrayN<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
990 (operator *= (MArrayN<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
991 (operator /= (MArrayN<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
992 (operator += (MArrayN<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
993 (operator -= (MArrayN<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
994 (product (MArrayN<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
995 (quotient (MArrayN<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
996 (MARRAY_NDS_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
997 (MARRAY_SND_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
998 (MARRAY_NDND_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
999 (operator - (const MArrayN<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1000 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1001 * MDiagArray2.cc |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1002 (operator += (MDiagArray2<T>&, const MDiagArray2<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1003 (operator -= (MDiagArray2<T>&, const MDiagArray2<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1004 (operator *= (MDiagArray2<T>&, T)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1005 (operator /= (MDiagArray2<T>&, T)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1006 (MARRAY_DAS_OP, MARRAY_SDA_OP, MARRAY_DADA_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1007 * boolNDArray.cc (mx_el_and_assign, mx_el_or_assign): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1008 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1009 * MArray-defs.h (DO_VS_OP, DO_SV_OP, DO_VV_OP, |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1010 DO_VS_OP2, DO_VV_OP2, NEGV): Remove. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1011 |
9607
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1012 2009-09-03 Jaroslav Hajek <highegg@gmail.com> |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1013 |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1014 * mx-inlines.cc (DEFMXUNOPEQ): New macro. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1015 (mx_inline_not2, mx_inline_uminus2): New loops. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1016 * boolNDArray.cc (boolNDArray::invert): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1017 * boolNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1018 * MArrayN.cc (MArrayN<T>::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1019 * MArrayN.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1020 * dNDArray.cc (NDArray::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1021 * dNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1022 * fNDArray.cc (FloatNDArray::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1023 * fNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1024 * CNDArray.cc (ComplexNDArray::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1025 * CNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1026 * fCNDArray.cc (FloatComplexNDArray::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1027 * fCNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1028 * intNDArray.cc (intNDArray::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1029 * intNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1030 |
9603
8bea4e89326f
implement FLOAT_STORE to allow safer complex comparisons on x87
Jaroslav Hajek <highegg@gmail.com>
parents:
9594
diff
changeset
|
1031 2009-09-02 Jaroslav Hajek <highegg@gmail.com> |
8bea4e89326f
implement FLOAT_STORE to allow safer complex comparisons on x87
Jaroslav Hajek <highegg@gmail.com>
parents:
9594
diff
changeset
|
1032 |
9604
4dd8fc7c106c
ChangeLog fix for last change: FLOAT_STORE->FLOAT_TRUNCATE
Jaroslav Hajek <highegg@gmail.com>
parents:
9603
diff
changeset
|
1033 * oct-cmplx.h: Rewrite the comaprison ops. Use FLOAT_TRUNCATE. |
9603
8bea4e89326f
implement FLOAT_STORE to allow safer complex comparisons on x87
Jaroslav Hajek <highegg@gmail.com>
parents:
9594
diff
changeset
|
1034 |
9594
01004c3cde2c
fix non-strict complex comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9591
diff
changeset
|
1035 2009-09-01 Jaroslav Hajek <highegg@gmail.com> |
01004c3cde2c
fix non-strict complex comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9591
diff
changeset
|
1036 |
01004c3cde2c
fix non-strict complex comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9591
diff
changeset
|
1037 * oct-cmplx.h: Correct strict operators in macros. |
01004c3cde2c
fix non-strict complex comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9591
diff
changeset
|
1038 |
9591
264fb5520973
abort if floating point format is not recognized as IEEE
John W. Eaton <jwe@octave.org>
parents:
9582
diff
changeset
|
1039 2009-08-31 John W. Eaton <jwe@octave.org> |
264fb5520973
abort if floating point format is not recognized as IEEE
John W. Eaton <jwe@octave.org>
parents:
9582
diff
changeset
|
1040 |
264fb5520973
abort if floating point format is not recognized as IEEE
John W. Eaton <jwe@octave.org>
parents:
9582
diff
changeset
|
1041 * liboctave/lo-ieee.cc (octave_ieee_init): Abort if floating point |
264fb5520973
abort if floating point format is not recognized as IEEE
John W. Eaton <jwe@octave.org>
parents:
9582
diff
changeset
|
1042 format is not recognized as IEEE. |
264fb5520973
abort if floating point format is not recognized as IEEE
John W. Eaton <jwe@octave.org>
parents:
9582
diff
changeset
|
1043 |
9582
bdcfb756d721
improve error messages for ambiguous graphics property names
John W. Eaton <jwe@octave.org>
parents:
9578
diff
changeset
|
1044 2009-08-27 John W. Eaton <jwe@octave.org> |
bdcfb756d721
improve error messages for ambiguous graphics property names
John W. Eaton <jwe@octave.org>
parents:
9578
diff
changeset
|
1045 |
bdcfb756d721
improve error messages for ambiguous graphics property names
John W. Eaton <jwe@octave.org>
parents:
9578
diff
changeset
|
1046 * str-vec.cc, str-vec.h (string_vector::string_vector (const |
bdcfb756d721
improve error messages for ambiguous graphics property names
John W. Eaton <jwe@octave.org>
parents:
9578
diff
changeset
|
1047 std::set<std::string>&)): New constructor. |
bdcfb756d721
improve error messages for ambiguous graphics property names
John W. Eaton <jwe@octave.org>
parents:
9578
diff
changeset
|
1048 |
9578
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1049 2009-08-27 Jaroslav Hajek <highegg@gmail.com> |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1050 |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1051 * mx-inlines.cc (DEFCMPLXCMOP): Remove. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1052 * oct-cmplx.h (operator <, operator >): Remove definitions. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1053 (DEF_COMPLEXR_COMP): New macro. Instantiate for <, >, <=, >=. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1054 * mx-op-defs.h (MM_CMP_OP, MS_CMP_OP, SM_CMP_OP, |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1055 NDND_CMP_OP, NDS_CMP_OP, SND_CMP_OP): Replace by one-liners. Remove |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1056 unused parameters. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1057 (MM_CMP_OPS, MS_CMP_OPS, SM_CMP_OPS, NDND_CMP_OPS, NDS_CMP_OPS, |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1058 SND_CMP_OPS): Update. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1059 (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, NDS_CMP_OPS2, |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1060 SND_CMP_OP1, SND_CMP_OPS1, SND_CMP_OP2, SND_CMP_OPS2): Remove. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1061 * mk-ops.awk: Simplify CMP_OPS branch. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1062 * Sparse-op-defs.h (SPARSE_SMSM_CMP_OPS, SPARSE_SMS_CMP_OPS, |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1063 SPARSE_SSM_CMP_OPS, SPARSE_MSM_CMP_OPS, SPARSE_SMM_CMP_OPS): |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1064 Update. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1065 |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1066 * CNDArray.cc: Update syntax. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1067 * boolNDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1068 * chNDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1069 * dNDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1070 * fCNDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1071 * fNDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1072 |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1073 * int16NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1074 * int32NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1075 * int64NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1076 * int8NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1077 * uint16NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1078 * uint32NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1079 * uint64NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1080 * uint8NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1081 |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1082 * CMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1083 * boolMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1084 * chMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1085 * dMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1086 * fCMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1087 * fMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1088 |
9557
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
1089 2009-08-24 Jaroslav Hajek <highegg@gmail.com> |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
1090 |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
1091 * MArray.cc (MArray<T>::product_eq, MArray<T>::quotient_eq): New |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
1092 methods. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
1093 * MArray2.cc (MArray2<T>::product_eq, MArray2<T>::quotient_eq): Ditto. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
1094 * MArrayN.cc (MArrayN<T>::product_eq, MArrayN<T>::quotient_eq): Ditto. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
1095 * MArray-decl.h (MARRAY_OP_ASSIGN_DECLX): New macro. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
1096 (MARRAY_OP_ASSIGN_DECLS, MARRAY_OP_ASSIGN_FWD_DEFS): Include |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
1097 product_eq and quotient_eq. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
1098 (MARRAY_FORWARD_DEFS): Use MARRAY_OP_ASSIGN_FWD_DEFS1. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
1099 (MDIAGARRAY2_OPS_FORWARD_DECLS): Don't instantiate |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
1100 OP= operators for diag matrices. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
1101 (MDIAGARRAY2_FORWARD_DEFS): Ditto. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
1102 * MArray-defs.h (INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
1103 |
9556
948795dc1974
make a few Array methods inline
Jaroslav Hajek <highegg@gmail.com>
parents:
9553
diff
changeset
|
1104 2009-08-23 Jaroslav Hajek <highegg@gmail.com> |
948795dc1974
make a few Array methods inline
Jaroslav Hajek <highegg@gmail.com>
parents:
9553
diff
changeset
|
1105 |
948795dc1974
make a few Array methods inline
Jaroslav Hajek <highegg@gmail.com>
parents:
9553
diff
changeset
|
1106 * Array.h (Array::make_unique, Array::~Array, Array::operator =): |
948795dc1974
make a few Array methods inline
Jaroslav Hajek <highegg@gmail.com>
parents:
9553
diff
changeset
|
1107 Move here to allow inlining. |
948795dc1974
make a few Array methods inline
Jaroslav Hajek <highegg@gmail.com>
parents:
9553
diff
changeset
|
1108 * Array.cc: Remove from here. |
948795dc1974
make a few Array methods inline
Jaroslav Hajek <highegg@gmail.com>
parents:
9553
diff
changeset
|
1109 |
9553
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
1110 2009-08-20 Jaroslav Hajek <highegg@gmail.com> |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
1111 |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
1112 * mx-inlines.cc (logical_value): New overloaded template. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
1113 (DEFMXBOOL_OP): Use it in definitions. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
1114 (mx_inline_not): Also use logical_value. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
1115 * mx-op-defs.h (ND_LOGICAL_NAN_CHECK, SC_LOGICAL_NAN_CHECK): Remove |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
1116 (also from all macros). |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
1117 |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
1118 * CMatrix.cc (operator !): Simply call mx_inline_not. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
1119 * CNDArray.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
1120 * dMatrix.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
1121 * dNDArray.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
1122 * fCMatrix.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
1123 * fCNDArray.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
1124 * fMatrix.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
1125 * fNDArray.cc: Ditto. |
9967 | 1126 |
9551
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
1127 2009-08-20 Jaroslav Hajek <highegg@gmail.com> |
9967 | 1128 |
9551
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
1129 * dMatrix.cc (Matrix::operator!): Simplify & check for NaNs. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
1130 * fMatrix.cc (FloatMatrix::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
1131 * CMatrix.cc (ComplexMatrix::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
1132 * fCMatrix.cc (FloatComplexMatrix::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
1133 * dNDArray.cc (NDArray::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
1134 * fNDArray.cc (FloatNDArray::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
1135 * CNDArray.cc (ComplexNDArray::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
1136 * fCNDArray.cc (FloatComplexNDArray::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
1137 |
9550
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1138 2009-08-20 Jaroslav Hajek <highegg@gmail.com> |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1139 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1140 * mx-inlines.cc (mx_inline_add, mx_inline_sub, mx_inline_mul, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1141 mx_inline_div, mx_inline_uminus, mx_inline_not, mx_inline_add2, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1142 mx_inline_sub2, mx_inline_mul2, mx_inline_div2, mx_inline_iszero, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1143 mx_inline_notzero, mx_inline_and, mx_inline_or, mx_inline_not_and, |
9967 | 1144 mx_inline_not_or, mx_inline_and_not, mx_inline_or_not, |
9550
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1145 mx_inline_lt, mx_inline_le, mx_inline_gt, mx_inline_ge, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1146 mx_inline_eq, mx_inline_ne): New templates. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1147 (do_mx_unary_op, do_mm_binary_op, do_sm_binary_op, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1148 do_ms_binary_op, do_mm_inplace_op,do_ms_inplace_op): |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1149 New templates. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1150 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1151 * mx-op-defs.h (ND_LOGICAL_NAN_CHECK, SC_LOGICAL_NAN_CHECK): |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1152 New macros. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1153 (NDND_BIN_OP, NDS_BIN_OP, SND_BIN_OP): Simplify. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1154 (MM_BIN_OP, MS_BIN_OP, MM_BIN_OP): Simplify. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1155 (NDND_BOOL_OP, NDS_BOOL_OP, SND_BOOL_OP): Simplify. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1156 (MM_BOOL_OP, MS_BOOL_OP, MM_BOOL_OP): Simplify. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1157 (NDND_BOOL_OPS2, NDS_BOOL_OPS2, SND_BOOL_OPS2, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1158 MM_BOOL_OPS2, MS_BOOL_OPS2, SM_BOOL_OPS2): Remove. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1159 * mx-op-decl.h (NDND_BOOL_OPX_DECLS, NDS_BOOL_OPX_DECLS, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1160 SND_BOOL_OPX_DECLS): New macros. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1161 * mk-ops.awk: use _BOOL_OPS rather than _BOOL_OPS2. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1162 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1163 * boolMatrix.cc: Add missing bool op defs. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1164 * boolMatrix.h: Add missing bool op decls. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1165 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1166 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1167 * boolNDArray.cc: Remove unused arg to BOOL_OPS. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1168 * CMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1169 * CNDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1170 * ChangeLog: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1171 * chMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1172 * chNDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1173 * dMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1174 * dNDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1175 * fCMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1176 * fCNDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1177 * fMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1178 * fNDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1179 * int16NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1180 * int32NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1181 * int64NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1182 * int8NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1183 * uint16NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1184 * uint32NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1185 * uint64NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1186 * uint8NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1187 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1188 * CColVector.cc: Update syntax where needed. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1189 * CDiagMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1190 * CMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1191 * CRowVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1192 * chMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1193 * dColVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1194 * dDiagMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1195 * dMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1196 * dRowVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1197 * fCColVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1198 * fCDiagMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1199 * fCMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1200 * fCRowVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1201 * fColVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1202 * fDiagMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1203 * fMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1204 * fRowVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1205 |
9549
ed34b1da0e26
zero matrix assignment fix
Jaroslav Hajek <highegg@gmail.com>
parents:
9548
diff
changeset
|
1206 2009-08-19 Jaroslav Hajek <highegg@gmail.com> |
ed34b1da0e26
zero matrix assignment fix
Jaroslav Hajek <highegg@gmail.com>
parents:
9548
diff
changeset
|
1207 |
ed34b1da0e26
zero matrix assignment fix
Jaroslav Hajek <highegg@gmail.com>
parents:
9548
diff
changeset
|
1208 * Array-util.cc (zero_dims_inquire): Add matching ndims case. |
ed34b1da0e26
zero matrix assignment fix
Jaroslav Hajek <highegg@gmail.com>
parents:
9548
diff
changeset
|
1209 |
9548
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
1210 2009-08-19 Jaroslav Hajek <highegg@gmail.com> |
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
1211 |
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
1212 * MArrayN.cc (operator+=, operator-=): Test matching dimensions first. |
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
1213 * boolNDArray.cc (mx_el_and_assign, mx_el_or_assign): New functions. |
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
1214 * boolNDArray.h: Declare them. |
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
1215 |
9546
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1216 2009-08-19 Jaroslav Hajek <highegg@gmail.com> |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1217 |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1218 * Array.cc (Array<T>::clear): New method. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1219 * Array.h: Declare it. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1220 * MArray-decl.h (MARRAY_OP_ASSIGN_DECLS1, MARRAY_OP_ASSIGN_FWD_DECLS1, |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1221 MARRAY_OP_ASSIGN_FRIENDS1, MARRAY_OP_ASSIGN_FWD_DEFS1): New macros. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1222 (MARRAY_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS): Use them. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1223 * MArray-defs.h (MARRAY_OP_ASSIGN_DEFS1): New macro. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1224 (INSTANTIATE_MARRAY_FRIENDS): Use it. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1225 (INSTANTIATE_MARRAY2_FRIENDS): Use it. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1226 (INSTANTIATE_MARRAYN_FRIENDS): Use it. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1227 * MArray.cc (operator+=, operator-=): |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1228 Operate out-of-place when this is shared copy. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1229 (operator*=, operator/=): New operator overloads. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1230 * MArray2.cc: Ditto. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1231 * MArrayN.cc: Ditto. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1232 * CNDArray.cc (operator *= (ComplexNDArray&, double), |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1233 operator /= (ComplexNDArray&, double)): New operators. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1234 * CNDArray.h: Declare them. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1235 * fCNDArray.cc (operator *= (FloatComplexNDArray&, double), |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1236 operator /= (FloatComplexNDArray&, double)): New operators. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1237 * fCNDArray.h: Declare them. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1238 |
9534
baeecd69fd44
liboctave/Makefile.in (LINK_DEPS): list LIBS last
John W. Eaton <jwe@octave.org>
parents:
9528
diff
changeset
|
1239 2009-08-17 John W. Eaton <jwe@octave.org> |
baeecd69fd44
liboctave/Makefile.in (LINK_DEPS): list LIBS last
John W. Eaton <jwe@octave.org>
parents:
9528
diff
changeset
|
1240 |
baeecd69fd44
liboctave/Makefile.in (LINK_DEPS): list LIBS last
John W. Eaton <jwe@octave.org>
parents:
9528
diff
changeset
|
1241 * Makefile.in (LINK_DEPS): List LIBS last. |
baeecd69fd44
liboctave/Makefile.in (LINK_DEPS): list LIBS last
John W. Eaton <jwe@octave.org>
parents:
9528
diff
changeset
|
1242 |
9528
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
1243 2009-08-16 Jaroslav Hajek <highegg@gmail.com> |
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
1244 |
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
1245 * 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
|
1246 * CMatrix.cc (xgemm): Fix vector * matrix case. |
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
1247 * fCMatrix.cc (xgemm): Ditto. |
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
1248 |
9527
6a9fd5f653c9
make single prec. matrix mutliply tests really single
Jaroslav Hajek <highegg@gmail.com>
parents:
9526
diff
changeset
|
1249 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
|
1250 |
6a9fd5f653c9
make single prec. matrix mutliply tests really single
Jaroslav Hajek <highegg@gmail.com>
parents:
9526
diff
changeset
|
1251 * 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
|
1252 |
9526
f3ebc728ffd7
fix typos in complex xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9524
diff
changeset
|
1253 2009-08-16 Jaroslav Hajek <highegg@gmail.com> |
f3ebc728ffd7
fix typos in complex xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9524
diff
changeset
|
1254 |
f3ebc728ffd7
fix typos in complex xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9524
diff
changeset
|
1255 * CMatrix.cc (xgemm): Fix typo. Add test. |
f3ebc728ffd7
fix typos in complex xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9524
diff
changeset
|
1256 * fCMatrix.cc (xgemm): Ditto. |
f3ebc728ffd7
fix typos in complex xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9524
diff
changeset
|
1257 |
9524
ace0febd263e
link liboctave with blas libs
John W. Eaton <jwe@octave.org>
parents:
9523
diff
changeset
|
1258 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
|
1259 |
ace0febd263e
link liboctave with blas libs
John W. Eaton <jwe@octave.org>
parents:
9523
diff
changeset
|
1260 * 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
|
1261 |
9523
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
1262 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
|
1263 |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
1264 * 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
|
1265 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
|
1266 Update for new FFTW defines. |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
1267 |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
1268 * 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
|
1269 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
|
1270 |
9518
113dba092d8c
include LDFLAGS for shared liboctave and liboctinterp
Jaroslav Hajek <highegg@gmail.com>
parents:
9516
diff
changeset
|
1271 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
|
1272 |
113dba092d8c
include LDFLAGS for shared liboctave and liboctinterp
Jaroslav Hajek <highegg@gmail.com>
parents:
9516
diff
changeset
|
1273 * 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
|
1274 |
9516
fb933db0c517
convert fftw planner classes to singleton objects
John W. Eaton <jwe@octave.org>
parents:
9515
diff
changeset
|
1275 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
|
1276 |
fb933db0c517
convert fftw planner classes to singleton objects
John W. Eaton <jwe@octave.org>
parents:
9515
diff
changeset
|
1277 * 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
|
1278 (octave_float_fft_planner): Likewise. |
fb933db0c517
convert fftw planner classes to singleton objects
John W. Eaton <jwe@octave.org>
parents:
9515
diff
changeset
|
1279 |
9515 | 1280 2009-08-11 John W. Eaton <jwe@octave.org> |
1281 | |
1282 * Makefile.in (LINK_DEPS): Use READLINE_LIBS instead of | |
1283 LIBREADLINE. Also link with TERM_LIBS and DL_LIBS. | |
1284 | |
9513
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1285 2009-08-11 Jaroslav Hajek <highegg@gmail.com> |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1286 |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1287 * mx-inlines.cc (mx_inline_diff<T>): New overloaded template |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1288 function. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1289 (get_extent_triplet): Use dim_vector::first_non_singleton. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1290 (do_mx_diff_op): New template function. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1291 * dNDArray.cc (NDArray::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1292 * dNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1293 * fNDArray.cc (FloatNDArray::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1294 * fNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1295 * CNDArray.cc (ComplexNDArray::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1296 * CNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1297 * fCNDArray.cc (FloatComplexNDArray::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1298 * fCNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1299 * intNDArray.cc (intNDArray<T>::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1300 * intNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1301 |
9511
cc1fd3084cb2
implement dim_vector::first_non_singleton
Jaroslav Hajek <highegg@gmail.com>
parents:
9507
diff
changeset
|
1302 2009-08-10 Jaroslav Hajek <highegg@gmail.com> |
cc1fd3084cb2
implement dim_vector::first_non_singleton
Jaroslav Hajek <highegg@gmail.com>
parents:
9507
diff
changeset
|
1303 |
cc1fd3084cb2
implement dim_vector::first_non_singleton
Jaroslav Hajek <highegg@gmail.com>
parents:
9507
diff
changeset
|
1304 * 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
|
1305 |
9507
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
1306 2009-08-06 Jaroslav Hajek <highegg@gmail.com> |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
1307 |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
1308 * dim-vector.h (dim_vector): Rewrite. Use single-alloc implementation |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
1309 aka GCC's basic_string class. |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
1310 * Array.cc: Use dim_vector::alloc where fitting. |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
1311 * Array-util.cc: Ditto. |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
1312 |
9493 | 1313 2009-08-05 John W. Eaton <jwe@octave.org> |
1314 | |
1315 * oct-shlib.cc (octave_shl_load_shlib::open): Pass BIND_IMMEDIATE, | |
1316 not BIND_DEFERRED to shl_load. | |
1317 (octave_dlopen_shlib::open): Don't pass RTLD_GLOBAL to dlopen. | |
1318 | |
9490 | 1319 2009-08-05 John W. Eaton <jwe@octave.org> |
1320 | |
1321 * Makefile.in (LINK_DEPS): Omit $(BLAS_LIBS) from the list. | |
1322 Include $(RLD_FLAG) in the list. | |
1323 | |
9488
ee572cdd4b97
add configure checks for pthread library and compiler flags
John W. Eaton <jwe@octave.org>
parents:
9485
diff
changeset
|
1324 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
|
1325 |
ee572cdd4b97
add configure checks for pthread library and compiler flags
John W. Eaton <jwe@octave.org>
parents:
9485
diff
changeset
|
1326 * 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
|
1327 |
9485
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
1328 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
|
1329 |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
1330 * 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
|
1331 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
|
1332 (command_editor::get_line_buffer): New function. |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
1333 * 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
|
1334 (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
|
1335 |
9479
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
1336 2009-07-31 Jaroslav Hajek <highegg@gmail.com> |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
1337 |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
1338 * idx-vector.h (idx_vector::is_range): New method. |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
1339 (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
|
1340 * 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
|
1341 methods. |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
1342 * Array-utils.cc (sub2ind, ind2sub): New functions. |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
1343 |
9469
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1344 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
|
1345 |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1346 * 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
|
1347 * fNDArray.cc (operator >>): Likeise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1348 * 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
|
1349 * fCNDArray.cc (operator >>): Likeise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1350 * 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
|
1351 * dNDArray.cc (operator >>): Likeise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1352 * 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
|
1353 * CNDArray.cc (operator >>): Likeise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1354 |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1355 * 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
|
1356 (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
|
1357 Provide specializations. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1358 (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
|
1359 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
|
1360 * 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
|
1361 * dSparse.cc (operator >>): Call read_sparse_matrix. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1362 * CSparse.cc (operator >>): Likewise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1363 * boolSparse.cc (operator >>): Likewise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1364 * 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
|
1365 * 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
|
1366 New member functions. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1367 |
9441
160c564d5d25
initialize floating point values properly for NetBSD systems
Aleksej Saushev <asau@inbox.ru>
parents:
9431
diff
changeset
|
1368 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
|
1369 |
160c564d5d25
initialize floating point values properly for NetBSD systems
Aleksej Saushev <asau@inbox.ru>
parents:
9431
diff
changeset
|
1370 * 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
|
1371 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
|
1372 |
9431 | 1373 2009-07-11 John W. Eaton <jwe@octave.org> |
1374 | |
1375 * file-ops.cc (file_ops::symlink, file_ops::readlink): | |
1376 Don't use incorrectly sized OCTAVE_LOCAL_BUFFER. | |
1377 | |
9420
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
1378 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
|
1379 |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
1380 * 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
|
1381 (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
|
1382 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
|
1383 (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
|
1384 (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
|
1385 |
9417
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
1386 2009-07-03 Jaroslav Hajek <highegg@gmail.com> |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
1387 |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
1388 * Sparse-op-defs.h (SPARSE_ALL_OP): Fix typo. |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
1389 * dSparse.cc (SparseMatrix::prod): Ditto. |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
1390 * CSparse.cc (ComplexSparseMatrix::prod): Ditto. |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
1391 |
9414
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
1392 2009-07-02 Jaroslav Hajek <highegg@gmail.com> |
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
1393 |
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
1394 * 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
|
1395 ordering of row indices. |
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
1396 |
9410
2ad67ccd09fd
fix typo in octave_sort::lookupb
Jaroslav Hajek <highegg@gmail.com>
parents:
9407
diff
changeset
|
1397 2009-06-30 Jaroslav Hajek <highegg@gmail.com> |
2ad67ccd09fd
fix typo in octave_sort::lookupb
Jaroslav Hajek <highegg@gmail.com>
parents:
9407
diff
changeset
|
1398 |
2ad67ccd09fd
fix typo in octave_sort::lookupb
Jaroslav Hajek <highegg@gmail.com>
parents:
9407
diff
changeset
|
1399 * 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
|
1400 |
9407
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
1401 2009-06-29 Jaroslav Hajek <highegg@gmail.com> |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
1402 |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
1403 * 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
|
1404 (octave_sort<T>::lookup<Comp>, |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
1405 octave_sort<T>::lookupm<Comp>, |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
1406 octave_sort<T>::lookupb<Comp>): Rewrite. |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
1407 |
9402
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
1408 2009-06-26 Michael Goffioul <michael.goffioul@gmail.com> |
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
1409 |
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
1410 * pathsearch.h (class dir_path::static_members): Decorate with |
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
1411 OCTAVE_API. |
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
1412 |
9400
df1ea906c1c4
a slight speed-up in oct-sort.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9399
diff
changeset
|
1413 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
|
1414 |
df1ea906c1c4
a slight speed-up in oct-sort.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9399
diff
changeset
|
1415 * 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
|
1416 the merge case. |
df1ea906c1c4
a slight speed-up in oct-sort.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9399
diff
changeset
|
1417 |
9399
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
1418 2009-06-26 Jaroslav Hajek <highegg@gmail.com> |
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
1419 |
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
1420 * 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
|
1421 recursion. |
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
1422 |
9391
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
1423 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
|
1424 |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
1425 * 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
|
1426 EigsRealSymmetricMatrixShift, EigsRealSymmetricFunc, |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
1427 EigsRealNonSymmetricMatrix, EigsRealNonSymmetricMatrixShift, |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
1428 EigsRealNonSymmetricFunc, EigsComplexNonSymmetricMatrix, |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
1429 EigsComplexNonSymmetricMatrixShift, EigsComplexNonSymmetricFunc): |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
1430 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
|
1431 |
9370
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
1432 2009-06-22 Jaroslav Hajek <highegg@gmail.com> |
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
1433 |
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
1434 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): |
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
1435 Optimize w.r.t. COW of std::string. |
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
1436 |
9362
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
1437 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
|
1438 |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
1439 * 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
|
1440 (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
|
1441 (octave_sort<T>::lookup<Comp>): Rewrite. |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
1442 (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
|
1443 (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
|
1444 (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
|
1445 |
9359
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
1446 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
|
1447 |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
1448 * 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
|
1449 where appropriate. |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
1450 * fMatrix.cc (xgemm): Ditto. |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
1451 * CMatrix.cc (xgemm): Ditto. |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
1452 * fCMatrix.cc (xgemm): Ditto. |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
1453 |
9341
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
1454 2009-06-12 Jaroslav Hajek <highegg@gmail.com> |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
1455 |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
1456 * oct-sort.cc (octave_sort::lookupm, octave_sort::lookupb): New |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
1457 overloaded methods. |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
1458 * oct-sort.h: Declare them. |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
1459 * Array.cc (Array<T>::lookupm, Array<T>::lookupb): New methods. |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
1460 * Array.h: Declare them. |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
1461 |
9321
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
1462 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
|
1463 |
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
1464 * 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
|
1465 method. |
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
1466 * 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
|
1467 |
9319
0d9178575dd7
fix log2 with 2 outargs, loosen tests to meet IEEE
Jaroslav Hajek <highegg@gmail.com>
parents:
9310
diff
changeset
|
1468 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
|
1469 |
0d9178575dd7
fix log2 with 2 outargs, loosen tests to meet IEEE
Jaroslav Hajek <highegg@gmail.com>
parents:
9310
diff
changeset
|
1470 * 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
|
1471 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
|
1472 |
9310 | 1473 2009-06-07 Jaroslav Hajek <highegg@gmail.com> |
1474 | |
1475 * Array.cc (Array<T>::find): Avoid allocating excessive memory. Fix | |
1476 order for backward searches. | |
1477 | |
9287
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
1478 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
|
1479 |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
1480 * 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
|
1481 instantiate DiagArray2<T>::Proxy on MSVC. |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
1482 * 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
|
1483 * 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
|
1484 * 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
|
1485 |
9267 | 1486 2009-05-26 John W. Eaton <jwe@octave.org> |
1487 | |
1488 * pathsearch.h (dir_path::path_sep_char (char), | |
1489 dir_path::static_members::path_sep_char (char)): New functions. | |
1490 | |
9232
7319e4de9e44
Add missing return statement in base-aepbal.h
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9228
diff
changeset
|
1491 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
|
1492 |
9237
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1493 * 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
|
1494 * 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
|
1495 * 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
|
1496 * 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
|
1497 * 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
|
1498 * 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
|
1499 * 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
|
1500 * CMatrix.h (conj): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1501 * CNDArray.h (conj): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1502 * 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
|
1503 * 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
|
1504 * 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
|
1505 * 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
|
1506 Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1507 * fCMatrix.h (conj): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1508 * fCNDArray.h (conj): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1509 * fDiagMatrix.h (operator*): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1510 * 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
|
1511 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
|
1512 * 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
|
1513 * 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
|
1514 templates). |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1515 * 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
|
1516 |
9235
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
1517 * 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
|
1518 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
|
1519 volatile variable as const& argument). |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
1520 * 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
|
1521 * fCmplxQR.cc (FloatComplexQR::insert_col, |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
1522 FloatComplexQR::delete_col): Ditto. |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
1523 * 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
|
1524 |
9233
b935bbfab7c4
Exclude pthread.h inclusion under Win32
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9232
diff
changeset
|
1525 * 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
|
1526 |
9232
7319e4de9e44
Add missing return statement in base-aepbal.h
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9228
diff
changeset
|
1527 * 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
|
1528 statement. |
7319e4de9e44
Add missing return statement in base-aepbal.h
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9228
diff
changeset
|
1529 |
9228
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1530 2009-05-20 Jaroslav Hajek <highegg@gmail.com> |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1531 |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1532 * eigs-base.cc ( |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1533 EigsRealSymmetricMatrix, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1534 EigsRealSymmetricMatrixShift, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1535 EigsRealSymmetricFunc, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1536 EigsRealNonSymmetricMatrix, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1537 EigsRealNonSymmetricMatrixShift, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1538 EigsRealNonSymmetricFunc, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1539 EigsComplexNonSymmetricMatrix, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1540 EigsComplexNonSymmetricMatrixShift, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1541 EigsComplexNonSymmetricFunc): Update tests. |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1542 |
9227
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1543 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
|
1544 |
9967 | 1545 * CMatrix.cc |
9227
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1546 (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
|
1547 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
|
1548 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
|
1549 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
|
1550 * CNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1551 (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
|
1552 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
|
1553 ComplexNDArray::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1554 * boolMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1555 (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
|
1556 * boolNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1557 (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
|
1558 * chMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1559 (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
|
1560 * chNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1561 (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
|
1562 * dMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1563 (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
|
1564 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
|
1565 Matrix::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1566 * dNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1567 (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
|
1568 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
|
1569 NDArray::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1570 * fCMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1571 (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
|
1572 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
|
1573 FloatComplexMatrix::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1574 * fCNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1575 (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
|
1576 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
|
1577 FloatComplexNDArray::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1578 * fMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1579 (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
|
1580 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
|
1581 FloatMatrix::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1582 * fNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1583 (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
|
1584 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
|
1585 FloatNDArray::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1586 * intNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1587 (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
|
1588 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
|
1589 |
9225
3161ccb261ec
delete ArrayN-idx from Makefile.in
Jaroslav Hajek <highegg@gmail.com>
parents:
9222
diff
changeset
|
1590 2009-05-20 Jaroslav Hajek <highegg@gmail.com> |
3161ccb261ec
delete ArrayN-idx from Makefile.in
Jaroslav Hajek <highegg@gmail.com>
parents:
9222
diff
changeset
|
1591 |
3161ccb261ec
delete ArrayN-idx from Makefile.in
Jaroslav Hajek <highegg@gmail.com>
parents:
9222
diff
changeset
|
1592 * Makefile.in: Remove reference to ArrayN-idx.h. |
3161ccb261ec
delete ArrayN-idx from Makefile.in
Jaroslav Hajek <highegg@gmail.com>
parents:
9222
diff
changeset
|
1593 |
9222
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
1594 2009-05-20 Jaroslav Hajek <highegg@gmail.com> |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
1595 |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
1596 * Array-voidp.cc: New source. |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
1597 * 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
|
1598 * Makefile.in: Include it. |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
1599 |
9201
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
1600 2009-05-15 Jaroslav Hajek <highegg@gmail.com> |
9967 | 1601 |
9201
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
1602 * Array.cc (Array<T>::instantiation_guard): New function |
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
1603 (INSTANTIATE_ARRAY): Always override it here. |
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
1604 * Array.h: Declare it. |
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
1605 |
9200
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
1606 2009-05-15 Jaroslav Hajek <highegg@gmail.com> |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
1607 |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
1608 * ArrayN-idx.h: Remove file. |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
1609 * ArrayN.cc: Don't include it. |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
1610 * MArrayN.cc: Dtto. |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
1611 |
9192
864805896876
fix zero-dims assignment bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9186
diff
changeset
|
1612 2009-05-09 Jaroslav Hajek <highegg@gmail.com> |
864805896876
fix zero-dims assignment bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9186
diff
changeset
|
1613 |
864805896876
fix zero-dims assignment bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9186
diff
changeset
|
1614 * 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
|
1615 |
9186
49a0c58a7dcf
Added SHLPRE for SHLEXT instead of SHLLIBPRE
marco_atzeri@yahoo.it
parents:
9182
diff
changeset
|
1616 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
|
1617 |
9967 | 1618 * Makefile.in: (SHLPRE): Rename from SHLLIBPRE. |
9186
49a0c58a7dcf
Added SHLPRE for SHLEXT instead of SHLLIBPRE
marco_atzeri@yahoo.it
parents:
9182
diff
changeset
|
1619 |
9182
23af5910e5f5
make load work for derived classses
Robert T. Short <octave@phaselockedsystems.com>
parents:
9179
diff
changeset
|
1620 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
|
1621 |
23af5910e5f5
make load work for derived classses
Robert T. Short <octave@phaselockedsystems.com>
parents:
9179
diff
changeset
|
1622 * 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
|
1623 |
9179
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
1624 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
|
1625 |
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
1626 * 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
|
1627 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
|
1628 * 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
|
1629 |
9177
39be2c4531c8
fix sparse indexing bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9169
diff
changeset
|
1630 2009-05-05 Jaroslav Hajek <highegg@gmail.com> |
39be2c4531c8
fix sparse indexing bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9169
diff
changeset
|
1631 |
39be2c4531c8
fix sparse indexing bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9169
diff
changeset
|
1632 * Sparse.cc (assign1): Fix an old indexing bug. |
39be2c4531c8
fix sparse indexing bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9169
diff
changeset
|
1633 |
9169
b1e82cc8a9f3
eliminate broken special case for copying floats on Sun systems
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9124
diff
changeset
|
1634 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
|
1635 |
b1e82cc8a9f3
eliminate broken special case for copying floats on Sun systems
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9124
diff
changeset
|
1636 * 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
|
1637 |
9124
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
1638 2009-04-16 Jaroslav Hajek <highegg@gmail.com> |
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
1639 |
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
1640 * 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
|
1641 Range&)): Check for positive integer indices. Unify gripes. |
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
1642 |
9121
bb62bc406ea7
reuse fast blocked transpose implementation from rec_permute_helper in Array<T>::transpose
Jaroslav Hajek <highegg@gmail.com>
parents:
9100
diff
changeset
|
1643 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
|
1644 |
bb62bc406ea7
reuse fast blocked transpose implementation from rec_permute_helper in Array<T>::transpose
Jaroslav Hajek <highegg@gmail.com>
parents:
9100
diff
changeset
|
1645 * 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
|
1646 (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
|
1647 |
9100
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
1648 2009-04-04 Jaroslav Hajek <highegg@gmail.com> |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
1649 |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
1650 * 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
|
1651 (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
|
1652 pop operations. |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
1653 (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
|
1654 using resize. |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
1655 |
9058
2da105bf2507
remove redundant checks from Array<T>::index
Jaroslav Hajek <highegg@gmail.com>
parents:
9046
diff
changeset
|
1656 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
|
1657 |
2da105bf2507
remove redundant checks from Array<T>::index
Jaroslav Hajek <highegg@gmail.com>
parents:
9046
diff
changeset
|
1658 * 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
|
1659 resize. |
2da105bf2507
remove redundant checks from Array<T>::index
Jaroslav Hajek <highegg@gmail.com>
parents:
9046
diff
changeset
|
1660 |
9046
88bf56bbccca
make Array::find already return Matlab-compatible dimensions
Jaroslav Hajek <highegg@gmail.com>
parents:
9045
diff
changeset
|
1661 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
|
1662 |
88bf56bbccca
make Array::find already return Matlab-compatible dimensions
Jaroslav Hajek <highegg@gmail.com>
parents:
9045
diff
changeset
|
1663 * 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
|
1664 * 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
|
1665 |
9045
ac0a23e9f5c5
more compatible indexing by logical empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9027
diff
changeset
|
1666 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
|
1667 |
ac0a23e9f5c5
more compatible indexing by logical empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9027
diff
changeset
|
1668 * 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
|
1669 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
|
1670 |
9027
9a46ba093db4
generalize dim_vector::numel
Jaroslav Hajek <highegg@gmail.com>
parents:
9026
diff
changeset
|
1671 2009-03-26 Jaroslav Hajek <highegg@gmail.com> |
9a46ba093db4
generalize dim_vector::numel
Jaroslav Hajek <highegg@gmail.com>
parents:
9026
diff
changeset
|
1672 |
9a46ba093db4
generalize dim_vector::numel
Jaroslav Hajek <highegg@gmail.com>
parents:
9026
diff
changeset
|
1673 * dim-vector.h (dim_vector::numel): Add optional argument, simplify. |
9a46ba093db4
generalize dim_vector::numel
Jaroslav Hajek <highegg@gmail.com>
parents:
9026
diff
changeset
|
1674 |
9026
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
1675 2009-03-26 Jaroslav Hajek <highegg@gmail.com> |
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
1676 |
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
1677 * 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
|
1678 (Array<T>::is_vector): New method. |
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
1679 |
9025 | 1680 2009-03-26 Jaroslav Hajek <highegg@gmail.com> |
1681 | |
1682 * Array.cc (Array<T>::find): New method. | |
1683 * Array.h: Declare it. | |
1684 | |
9018
9057df9bb8a1
liboctave/Makefile.in (MATRIX_INC): add missing files to the list
John W. Eaton <jwe@octave.org>
parents:
9013
diff
changeset
|
1685 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
|
1686 |
9020
728e7943752d
EIG.cc: avoid volatile decl for tmp variable
John W. Eaton <jwe@octave.org>
parents:
9018
diff
changeset
|
1687 * 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
|
1688 EIG::init (const Matrix&, const Matrix&, bool)): |
9021 | 1689 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
|
1690 |
9018
9057df9bb8a1
liboctave/Makefile.in (MATRIX_INC): add missing files to the list
John W. Eaton <jwe@octave.org>
parents:
9013
diff
changeset
|
1691 * 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
|
1692 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
|
1693 |
9013
3b1908b58662
fixes in mixed int64-double multiply emulation
Jaroslav Hajek <highegg@gmail.com>
parents:
9012
diff
changeset
|
1694 2009-03-25 Jaroslav Hajek <highegg@gmail.com> |
9967 | 1695 |
9013
3b1908b58662
fixes in mixed int64-double multiply emulation
Jaroslav Hajek <highegg@gmail.com>
parents:
9012
diff
changeset
|
1696 * 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
|
1697 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
|
1698 |
9012
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
1699 2009-03-25 Jaroslav Hajek <highegg@gmail.com> |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
1700 |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
1701 * Array.cc (rec_permute_helper::use_blk): New field. |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
1702 (rec_permute_helper::blk_trans): New method. |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
1703 (rec_permute_helper::rec_permute_helper): Use smart reductions, |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
1704 detect possibility of using blocked transpose. |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
1705 (rec_permute_helper::do_permute): Use blocked transpose if possible. |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
1706 |
9007
7e31df9a0334
simplify double->int conversion in indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9003
diff
changeset
|
1707 2009-03-23 Jaroslav Hajek <highegg@gmail.com> |
7e31df9a0334
simplify double->int conversion in indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9003
diff
changeset
|
1708 |
7e31df9a0334
simplify double->int conversion in indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9003
diff
changeset
|
1709 * idx-vector.cc (convert_index(double,...)): Simplify. |
7e31df9a0334
simplify double->int conversion in indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9003
diff
changeset
|
1710 |
9003
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
1711 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
|
1712 |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
1713 * 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
|
1714 * Array-f.cc: Ditto. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
1715 * oct-inttypes.cc: Ditto. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
1716 * oct-inttypes.h: Ditto. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
1717 * CDiagMatrix.cc: Add missing include. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
1718 * fCDiagMatrix.cc: Ditto. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
1719 |
8999
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
1720 2009-03-20 Jaroslav Hajek <highegg@gmail.com> |
9967 | 1721 |
8999
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
1722 * 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
|
1723 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
|
1724 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
|
1725 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
|
1726 Allow empty arrays in stream input operators. |
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
1727 |
8998
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
1728 2009-03-20 Jaroslav Hajek <highegg@gmail.com> |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
1729 |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
1730 * Array.h (Array<T>::fastmap): New method. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
1731 * dNDArray.cc (NDArray::isnan, NDArray::isinf, NDArray::isfinite): |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
1732 New methods. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
1733 * dNDArray.h: Declare them. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
1734 * fNDArray.cc (FloatNDArray::isnan, FloatNDArray::isinf, |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
1735 FloatNDArray::isfinite): New methods. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
1736 * fNDArray.h: Declare them. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
1737 * CNDArray.cc (ComplexNDArray::isnan, ComplexNDArray::isinf, |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
1738 ComplexNDArray::isfinite): New methods. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
1739 * CNDArray.h: Declare them. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
1740 * fCNDArray.cc (FloatComplexNDArray::isnan, FloatComplexNDArray::isinf, |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
1741 FloatComplexNDArray::isfinite): New methods. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
1742 * fCNDArray.h: Declare them. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
1743 * 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
|
1744 from <cmath>. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
1745 |
9501 | 1746 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
|
1747 |
1b097d86a61a
remove a TODO in oct-norm.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8987
diff
changeset
|
1748 * 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
|
1749 (higham): Use std::numeric_limits instead. |
1b097d86a61a
remove a TODO in oct-norm.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8987
diff
changeset
|
1750 Include OCTAVE_QUIT. |
1b097d86a61a
remove a TODO in oct-norm.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8987
diff
changeset
|
1751 |
8987
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
1752 2009-03-16 Jason Riedy <jason@acm.org> |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
1753 |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
1754 * 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
|
1755 retval.xcidx. |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
1756 * 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
|
1757 retval.xcidx. |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
1758 |
8982
dc6bda6f9994
implement compound logical ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8981
diff
changeset
|
1759 2009-03-14 Jaroslav Hajek <highegg@gmail.com> |
dc6bda6f9994
implement compound logical ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8981
diff
changeset
|
1760 |
8983
e781ab1aee39
optimize comparison ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8982
diff
changeset
|
1761 * 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
|
1762 * 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
|
1763 * 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
|
1764 |
8981
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
1765 2009-03-14 Jaroslav Hajek <highegg@gmail.com> |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
1766 |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
1767 * fNDArray.h (FloatMatrix::matrix_value): Fix return type. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
1768 * dNDArray.cc (Matrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
1769 * fNDArray.cc (FloatMatrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
1770 * CNDArray.cc (ComplexMatrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
1771 * fCNDArray.cc (FloatComplexMatrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
1772 |
8971 | 1773 2009-03-13 Jaroslav Hajek <highegg@gmail.com> |
1774 | |
1775 * Range.h (Range::Range (double, double, octave_idx_type)): Remove | |
1776 constructor body. | |
1777 * Range.cc: Move it here. Check for invalid range op results. | |
1778 (all operators): Validate cache for invalid range op results. | |
8972
5fa53d1b6247
more indexing optimizations
Jaroslav Hajek <highegg@gmail.com>
parents:
8971
diff
changeset
|
1779 * idx-vector.h (idx_vector::index): Optimize zero-step range case. |
5fa53d1b6247
more indexing optimizations
Jaroslav Hajek <highegg@gmail.com>
parents:
8971
diff
changeset
|
1780 * idx-vector.cc (idx_vector::maybe_reduce): Always reduce colon in |
5fa53d1b6247
more indexing optimizations
Jaroslav Hajek <highegg@gmail.com>
parents:
8971
diff
changeset
|
1781 singleton dimension. |
8971 | 1782 |
8969
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
1783 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
|
1784 |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
1785 * 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
|
1786 permutation as a PermMatrix. |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
1787 (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
|
1788 PermMatrix. |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
1789 |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
1790 * 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
|
1791 member functions. |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
1792 |
8966
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1793 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
|
1794 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1795 * 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
|
1796 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
|
1797 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
|
1798 generate both subtraction variants. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1799 (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
|
1800 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
|
1801 (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
|
1802 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
|
1803 (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
|
1804 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
|
1805 (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
|
1806 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
|
1807 (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
|
1808 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
|
1809 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1810 * 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
|
1811 sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1812 (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
|
1813 diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1814 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1815 * 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
|
1816 sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1817 (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
|
1818 diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1819 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1820 * 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
|
1821 combinations of diag + sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1822 (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
|
1823 of diag - sparse, sparse - diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1824 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1825 * 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
|
1826 combinations of diag + sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1827 (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
|
1828 of diag - sparse, sparse - diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1829 |
8964
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
1830 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
|
1831 |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
1832 * 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
|
1833 (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
|
1834 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
|
1835 |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
1836 * 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
|
1837 DiagMatrix and ComplexDiagMatrix. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
1838 * 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
|
1839 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
|
1840 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
|
1841 * 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
|
1842 * 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
|
1843 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
|
1844 |
8963
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
1845 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
|
1846 |
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
1847 * 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
|
1848 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
|
1849 |
8958
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
1850 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
|
1851 |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
1852 * PermMatrix.cc (PermMatrix::power): New method. |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
1853 * PermMatrix.h: Declare it. |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
1854 |
8956
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1855 2009-03-11 Jaroslav Hajek <highegg@gmail.com> |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1856 |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1857 * dNDArray.cc (NDArray::NDArray (const charNDArray&)): New |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1858 constructor. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1859 * fNDArray.cc (FloatNDArray::FloatNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1860 Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1861 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1862 Ditto. |
9967 | 1863 * fCNDArray.cc (FloatComplexNDArray::FloatComplexNDArray |
8956
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1864 (const charNDArray&)): Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1865 |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1866 * dNDArray.h (NDArray::NDArray (const charNDArray&)): Declare. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1867 * fNDArray.h (FloatNDArray::FloatNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1868 Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1869 * CNDArray.h (ComplexNDArray::ComplexNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1870 Ditto. |
9967 | 1871 * fCNDArray.h (FloatComplexNDArray::FloatComplexNDArray |
8956
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1872 (const charNDArray&)): Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1873 |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1874 * dMatrix.cc (Matrix::Matrix (const charMatrix&)): Cast to unsigned |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1875 chars. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1876 * fMatrix.cc (FloatMatrix::FloatMatrix (const charMatrix&)): Likewise. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1877 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1878 Likewise. |
9967 | 1879 * fCMatrix.cc (FloatComplexMatrix::FloatComplexMatrix |
8956
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1880 (const charMatrix&)): Likewise. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
1881 |
8954
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
1882 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
|
1883 |
8968
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1884 * 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
|
1885 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
|
1886 matrix operator. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1887 (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
|
1888 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
|
1889 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
|
1890 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
|
1891 (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
|
1892 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
|
1893 (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
|
1894 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
|
1895 (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
|
1896 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
|
1897 |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1898 * 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
|
1899 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1900 * 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
|
1901 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1902 |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1903 * 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
|
1904 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1905 * 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
|
1906 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1907 |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1908 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
|
1909 |
8954
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
1910 * 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
|
1911 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
|
1912 |
8951
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
1913 2009-03-10 Jason Riedy <jason@acm.org> |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
1914 |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
1915 * dSparse.cc (SparseMatrix::SparseMatrix (const PermMatrix&)): |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
1916 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
|
1917 structure correct. |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
1918 |
8950
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
1919 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
|
1920 |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
1921 * 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
|
1922 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
|
1923 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
|
1924 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
|
1925 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
|
1926 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
|
1927 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
|
1928 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
|
1929 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
|
1930 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
|
1931 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
|
1932 |
8949
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
1933 2009-03-10 Jaroslav Hajek <highegg@gmail.com> |
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
1934 |
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
1935 * 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
|
1936 |
8934
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
1937 2009-03-08 Jaroslav Hajek <highegg@gmail.com> |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
1938 |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
1939 * idx-vector.h (idx_vector::bloop): loop --> bloop. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
1940 (idx_vector::loop): New method. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
1941 * MArray.cc (MArray<T>::idx_add (cons idx_vector&, T)) |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
1942 (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
|
1943 * MArray.h: Declare them. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
1944 |
8918
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
1945 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
|
1946 |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
1947 * 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
|
1948 * 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
|
1949 with Array.h |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
1950 * 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
|
1951 * 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
|
1952 Array<T>::element_type. |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
1953 * 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
|
1954 from MArrayN<T>. |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
1955 |
8910
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
1956 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
|
1957 |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
1958 * dSparse.h (SparseMatrix::SparseMatrix(const PermMatrix&)): New |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
1959 constructor. |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
1960 (SparseMatrix::SparseMatrix(const DiagMatrix&)): Fix implementation. |
9967 | 1961 * CSparse.h (SparseComplexMatrix::SparseComplexMatrix(const ComplexDiagMatrix&)): |
8910
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
1962 Fix implementation. |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
1963 |
8908
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
1964 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
|
1965 |
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
1966 * PermMatrix.h (PermMatrix::elem): Fix comparisons. |
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
1967 |
8904
4de5544a1d1d
simplify also float version of xmin/xmax
Jaroslav Hajek <highegg@gmail.com>
parents:
8897
diff
changeset
|
1968 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
|
1969 |
4de5544a1d1d
simplify also float version of xmin/xmax
Jaroslav Hajek <highegg@gmail.com>
parents:
8897
diff
changeset
|
1970 * 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
|
1971 |
8897 | 1972 2009-03-02 Jaroslav Hajek <highegg@gmail.com> |
1973 | |
1974 * mx-inlines.cc: Add missing #include. | |
1975 | |
8873
e258715b2e78
fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents:
8864
diff
changeset
|
1976 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
|
1977 |
e258715b2e78
fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents:
8864
diff
changeset
|
1978 * 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
|
1979 |
8864 | 1980 2009-02-25 Jaroslav Hajek <highegg@gmail.com> |
1981 | |
1982 * oct-inttypes.cc (pow (const octave_int<T>&, const octave_int<T>&)): | |
1983 Simplify. | |
1984 | |
8856
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
1985 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
|
1986 |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
1987 * 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
|
1988 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
|
1989 (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
|
1990 member function. |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
1991 * oct-inttypes.cc: Turn the octave_int_cmp_op::mop definitions into |
9967 | 1992 defs for octave_int_cmp_op::emulate_mop. |
8856
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
1993 (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
|
1994 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
|
1995 |
8840
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
1996 2009-02-23 Jaroslav Hajek <highegg@gmail.com> |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
1997 |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
1998 * dDiagMatrix.cc (DiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
1999 * dDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
2000 * fDiagMatrix.cc (FloatDiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
2001 * fDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
2002 * CDiagMatrix.cc (ComplexDiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
2003 * CDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
2004 * fCDiagMatrix.cc (FloatComplexDiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
2005 * fCDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
2006 |
8820
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
2007 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
|
2008 |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
2009 * 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
|
2010 constructor. |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
2011 (octave_sort<T>::MergeState::~MergeState): New destructor. |
9967 | 2012 (octave_sort<T>::MergeState::reset, |
8820
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
2013 octave_sort<T>::MergeState::getmem, |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
2014 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
|
2015 (octave_sort<T>::sort, |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
2016 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
|
2017 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
|
2018 |
8814
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
2019 2009-02-19 Jaroslav Hajek <highegg@gmail.com> |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
2020 |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
2021 * oct-types.h (sortmode): Move enum here. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
2022 * 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
|
2023 (octave_sort<T>::lookup): New overloaded method. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
2024 * oct-sort.cc: Reflect change to ms. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
2025 (octave_sort<T>::lookup): New overloaded method. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
2026 (out_of_range_pred): New helper class. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
2027 (out_of_range): New helper function. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
2028 * oct-lookup.h: Remove file. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
2029 * Array.cc (Array<T>::lookup): New overloaded method. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
2030 * Array.h: Declare it. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
2031 |
8801
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
2032 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
|
2033 |
8811 | 2034 * dbleQR.cc (QR::init, QR::form): Cast int to octave_idx_type in |
2035 call to std::max. | |
2036 * floatQR.cc (FloatQR::init, FloatQR::form): Ditto. | |
2037 * CmplxQR.cc (ComplexQR::init, ComplexQR::form): Ditto. | |
2038 * fCmplxQR.cc (FloatComplexQR::init, FloatComplexQR::form): Ditto. | |
2039 | |
2040 * dbleQRP.cc (QRP::init): Cast int to octave_idx_type in call to | |
2041 std::max and as operand to -= operator. | |
2042 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
2043 * floatQRP.cc (FloatQRP::init): Ditto. | |
2044 * fCmplxQRP.cc (FloatComplexQRP::init): Ditto. | |
2045 | |
2046 * CDiagMatrix.cc, CDiagMatrix.h (ComplexDiagMatrix::inverse): | |
2047 Declare info as octave_idx_type, not int. | |
2048 * dDiagMatrix.cc, dDiagMatrix.h (DiagMatrix::inverse): Ditto. | |
2049 * fDiagMatrix.cc, fCDiagMatrix.h (FloatDiagMatrix::inverse): Ditto. | |
2050 * fCDiagMatrix.cc, fCDiagMatrix.h (FloatComplexDiagMatrix::inverse): | |
2051 Ditto. | |
2052 | |
8806 | 2053 * dMatrix.cc (Matrix::determinant): |
2054 Declare local variables volatile as needed to avoid "maybe | |
2055 clobbered by vfork" warning from GCC. | |
2056 * fMatrix.cc (FloatMatrix::determinant): Likewise. | |
2057 * CMatrix.cc (ComplexMatrix::determinant): Likewise. | |
2058 * fCMatrix.cc (FloatComplexMatrix::determinant): Likewise. | |
2059 * dbleQR.cc (QR::update, QR::insert_col, QR::delete_col): Likewise. | |
2060 * floatQR.cc (FloatQR::update, FloatQR::insert_col, | |
2061 FloatQR::delete_col): Likewise. | |
2062 * CmplxQR.cc (ComplexQR::update, ComplexQR::insert_col, | |
2063 ComplexQR::delete_col): Likewise. | |
2064 * fCmplxQR.cc (FloatComplexQR::update, FloatComplexQR::insert_col, | |
2065 FloatComplexQR::delete_col): Likewise. | |
2066 | |
8801
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
2067 * 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
|
2068 static variable and function. |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
2069 * 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
|
2070 * 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
|
2071 * 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
|
2072 |
8799
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
2073 2009-02-18 Jaroslav Hajek <highegg@gmail.com> |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
2074 |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
2075 * 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
|
2076 dimensions. |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
2077 |
8797
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
2078 2009-02-18 Jaroslav Hajek <highegg@gmail.com> |
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
2079 |
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
2080 * 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
|
2081 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
|
2082 |
8784
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
2083 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
2084 |
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
2085 * 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
|
2086 |
8780
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
2087 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
|
2088 |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
2089 * 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
|
2090 Add TSRC/TRES parameters. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
2091 (mx_inline_cumcount): New function. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
2092 * 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
|
2093 * intNDArray.h: Declare it. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
2094 * 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
|
2095 * boolNDArray.h: Declare it. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
2096 |
8777
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2097 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2098 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2099 * mx-inlines.cc (OP_CUMMINMAX_FCN, OP_CUMMINMAX_FCN2, |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2100 OP_CUMMINMAX_FCNN): New macros. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2101 (mx_inline_cummax, mx_inline_cummin, do_mx_cumminmax_op): |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2102 New overloaded template functions. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2103 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2104 * dNDArray.cc (NDArray::cummin, NDArray::cummax): New methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2105 * dNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2106 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2107 * fNDArray.cc (FloatNDArray::cummin, FloatNDArray::cummax): New |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2108 methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2109 * fNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2110 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2111 * CNDArray.cc (ComplexNDArray::cummin, ComplexNDArray::cummax): New |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2112 methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2113 * CNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2114 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2115 * fCNDArray.cc (FloatComplexNDArray::cummin, |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2116 FloatComplexNDArray::cummax): New methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2117 * fCNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2118 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2119 * intNDArray.cc (intNDArray::cummin, intNDArray::cummax): New methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2120 * intNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2121 |
8776
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
2122 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
2123 |
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
2124 * 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
|
2125 |
8774
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
2126 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
|
2127 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
2128 * 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
|
2129 * 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
|
2130 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
2131 * 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
|
2132 * 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
|
2133 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
2134 * 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
|
2135 * 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
|
2136 files. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
2137 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
2138 * 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
|
2139 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
|
2140 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
|
2141 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
|
2142 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
|
2143 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
|
2144 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
|
2145 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
|
2146 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
|
2147 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
|
2148 |
8760
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
2149 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
|
2150 |
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
2151 * 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
|
2152 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
|
2153 |
8758
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
2154 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
9967 | 2155 |
8758
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
2156 * 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
|
2157 (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
|
2158 (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
|
2159 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
|
2160 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
|
2161 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
|
2162 Remove unused macros. |
8758
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
2163 |
8756
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
2164 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
9967 | 2165 |
8756
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
2166 * 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
|
2167 (mx_inline_count): New overloaded template function. |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
2168 * boolNDArray.h (boolNDArray::sum): Return NDArray. |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
2169 * 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
|
2170 |
8752
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
2171 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
2172 |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
2173 * 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
|
2174 * 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
|
2175 * 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
|
2176 octave_sort, reflect changes. |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
2177 * 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
|
2178 pointer types. |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
2179 |
8751
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2180 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2181 |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2182 * oct-cmplx.h (operator <, operator >): New operators. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2183 * 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
|
2184 New macros. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2185 (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
|
2186 template functions. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2187 * dNDArray (NDArray::min, NDArray::max): Use do_mx_minmax_op. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2188 * fNDArray (FloatNDArray::min, FloatNDArray::max): Ditto. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2189 * CNDArray (ComplexNDArray::min, ComplexNDArray::max): Ditto. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2190 * fCNDArray (FloatComplexNDArray::min, FloatComplexNDArray::max): |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2191 Ditto. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2192 |
8750
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
2193 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
|
2194 |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
2195 * 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
|
2196 * chNDArray.cc (charNDArray::all, charNDArray::any): Ditto. |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
2197 |
8749
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
2198 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
|
2199 |
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
2200 * 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
|
2201 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
|
2202 |
8743
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2203 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
|
2204 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2205 * 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
|
2206 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
|
2207 (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
|
2208 (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
|
2209 (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
|
2210 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2211 * 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
|
2212 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2213 * 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
|
2214 and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2215 * 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
|
2216 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
|
2217 * 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
|
2218 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
|
2219 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2220 * 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
|
2221 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2222 * 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
|
2223 and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2224 * 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
|
2225 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
|
2226 * fCNDArray.cc (FloatComplexNDArray::any, FloatComplexNDArray::all): |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2227 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
|
2228 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2229 * 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
|
2230 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2231 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2232 * 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
|
2233 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2234 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2235 * 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
|
2236 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2237 |
8741
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
2238 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
|
2239 |
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
2240 * intNDArray.cc: include mx-inlines.cc. |
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
2241 (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
|
2242 * 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
|
2243 |
8736
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2244 2009-02-13 Jaroslav Hajek <highegg@gmail.com> |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2245 |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2246 * 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
|
2247 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
|
2248 OP_CUM_FCNN): New macros. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2249 (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
|
2250 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
|
2251 New template functions. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2252 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum, Matrix::prod, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2253 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
|
2254 * fMatrix.cc (FloatMatrix::cumprod, FloatMatrix::cumsum, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2255 FloatMatrix::prod, FloatMatrix::sum, FloatMatrix::sumsq): Use |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2256 do_mx_red_op and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2257 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2258 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): Use |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2259 do_mx_red_op and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2260 * fCMatrix.cc (FloatComplexMatrix::cumprod, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2261 FloatComplexMatrix::cumsum, FloatComplexMatrix::prod, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2262 FloatComplexMatrix::sum, FloatComplexMatrix::sumsq): Use do_mx_red_op |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2263 and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2264 |
8731
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
2265 2009-02-12 Jaroslav Hajek <highegg@gmail.com> |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
2266 |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
2267 * oct-inttypes.h (if_else_type): Remove |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
2268 (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
|
2269 |
8725 | 2270 2009-02-12 John W. Eaton <jwe@octave.org> |
2271 | |
2272 * lo-traits.h: New file. | |
2273 * Makefile.in (INCLUDES): Add it to the list. | |
2274 | |
2275 * Array.h (compare_fcn_type): New typedef. | |
2276 * oct-sort.h (compare_fcn_type): Ditto. | |
2277 | |
2278 * oct-sort.h, oct-sort.cc (octave_sort<T>::octave_sort, | |
9967 | 2279 octave_sort<T>::set_compare, octave_sort<T>::compare): |
8725 | 2280 Use typedef to simplify decl. |
2281 (octave_sort<T>::ascending_compare, | |
2282 octave_sort<T>::descending_compare): | |
2283 Use ref_param<T>::type for parameter decl. | |
2284 | |
2285 * Array.cc (sort_isnan): Use ref_param<T>::type for parameter decl. | |
2286 (Array<T>::sort): Use explicit template parameter for sort_isnan calls. | |
2287 | |
2288 * Array.cc, Array-C.cc, Array-fC.cc, Array-d.cc, Array-f.cc | |
2289 (sortrows_comparator): Rename from _sortrows_comparator. Change | |
2290 all uses. Use typedef for return value to simplify decl. | |
2291 (sort_isnan): Rename from _sort_isnan. Change all uses. | |
2292 (NO_INSTANTIATE_ARRAY_SORT): Use typedef to simplify instantiation | |
2293 of sortrows_comparator. | |
2294 | |
2295 * Array-C.cc, Array-fC.cc (sort_isnan, ascending_compare, | |
2296 descending_compare, nan_ascending_compare, | |
2297 nan_descending_compare): | |
2298 | |
8721
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2299 2009-02-11 Jaroslav Hajek <highegg@gmail.com> |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2300 |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2301 * 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
|
2302 octave_sort<T>::is_sorted_rows): New methods. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2303 * oct-sort.h: Declare them. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2304 |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2305 * Array.cc (Array<T>::is_sorted): New method. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2306 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT, |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2307 INSTANTIATE_ARRAY_AND_ASSIGN, INSTANTIATE_ARRAY): Move macros here. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2308 * Array.h: Reflect changes. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2309 |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2310 * dim-vector.h (dim_vector::is_vector): New method. |
9967 | 2311 * Array-C.cc, Array-fC.cc: Override _sort_isnan, don't check for |
8721
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2312 NaN in default comparators. Provide NaN-safe comparators, override |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2313 _sortrows_comparator. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2314 * Array-d.cc, Array-f.cc: Provide NaN-safe comparators, override |
9967 | 2315 _sortrows_comparator. |
8721
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2316 * Range.cc (Range::is_sorted): New method. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2317 * Range.h: Declare it. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2318 |
8700 | 2319 2009-02-09 Jaroslav Hajek <highegg@gmail.com> |
2320 | |
2321 * oct-sort.cc (octave_sort<T>): Rewrite for optimizations. Allow | |
2322 inlined comparison functor and by-the-way indexed sorting. | |
2323 * oct-sort.h (octave_sort<T>): Update interface. | |
2324 * Array.cc (Array<T>::sort): Reflect changes. Use copy & partition | |
2325 mechanism. | |
2326 * Array-d.cc, Array-f.cc, Array-C.cc, Array-fC.cc, Array-s.cc, | |
2327 Array-i.cc: Reflect changes. | |
2328 | |
8689
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
2329 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
|
2330 |
8690
6e9887f9cf9f
file-stat.cc: use EXISTS instead of OK in previuos change
John W. Eaton <jwe@octave.org>
parents:
8689
diff
changeset
|
2331 * 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
|
2332 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
|
2333 |
8689
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
2334 * 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
|
2335 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
|
2336 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
|
2337 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
|
2338 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
|
2339 |
8681
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
2340 2009-02-05 Jaroslav Hajek <highegg@gmail.com> |
9967 | 2341 |
8681
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
2342 * idx-vector.h (idx_vector::idx_colon_rep, |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
2343 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
|
2344 idx_vector::idx_vector_rep): Declare allocators. |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
2345 * idx-vector.cc: Define them. |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
2346 |
8678
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
2347 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
|
2348 |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
2349 * 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
|
2350 * 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
|
2351 * 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
|
2352 * 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
|
2353 std::copy_backward where appropriate. |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
2354 |
8677
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2355 2009-02-05 John W. Eaton <jwe@octave.org> |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2356 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2357 * 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
|
2358 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2359 * 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
|
2360 Eliminate unused variable N. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2361 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2362 * MArray-f.cc (MArray<float>::norm (float p) const, |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2363 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
|
2364 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2365 * eigs-base.cc (EigsRealNonSymmetricFunc, EigsRealSymmetricFunc) |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2366 (EigsComplexNonSymmetricFunc): Avoid unused parameter warning. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2367 * idx-vector.cc (idx_vector::freeze): Likewise. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2368 |
8660
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
2369 2009-02-04 Jaroslav Hajek <highegg@gmail.com> |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
2370 |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
2371 * 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
|
2372 allocation for pointers and const pointers. |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
2373 |
8655
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
2374 2009-02-03 Benjamin Lindner <lindnerben@gmx.net> |
9967 | 2375 |
8655
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
2376 * Makefile.in: Add missing library reference. |
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
2377 |
8651
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2378 2009-02-03 Jaroslav Hajek <highegg@gmail.com> |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2379 |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2380 * Array.cc (Array<T>::sort (octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2381 Copy array on-the-fly. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2382 (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
|
2383 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
|
2384 |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2385 * 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
|
2386 Copy array on-the-fly. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2387 (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
|
2388 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
|
2389 |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2390 * 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
|
2391 Copy array on-the-fly. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2392 (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
|
2393 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
|
2394 |
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
|
2395 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
|
2396 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2397 * 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
|
2398 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2399 * 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
|
2400 * 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
|
2401 * 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
|
2402 * 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
|
2403 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2404 * 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
|
2405 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2406 * 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
|
2407 * 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
|
2408 * 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
|
2409 * 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
|
2410 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2411 * 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
|
2412 |
8626
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
2413 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
|
2414 |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
2415 * 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
|
2416 * 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
|
2417 * 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
|
2418 |
8618
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
2419 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
|
2420 |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
2421 * 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
|
2422 and SHLBINPRE library prefixes. |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
2423 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
|
2424 |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2425 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
|
2426 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2427 * dMatrix.cc (Matrix::Matrix (const RowVector&)): Use shallow copy. |
8628 | 2428 (Matrix::Matrix (const ColumnVector&)): Ditto. |
2429 (Matrix::row): Ditto. | |
2430 (Matrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2431 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2432 * 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
|
2433 shallow copy. |
8628 | 2434 (FloatMatrix::FloatMatrix (const FloatColumnVector&)): Ditto. |
2435 (FloatMatrix::row): Ditto. | |
2436 (FloatMatrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2437 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2438 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const ComplexRowVector&)): |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2439 Use shallow copy. |
8628 | 2440 (ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): Ditto. |
2441 (ComplexMatrix::row): Ditto. | |
2442 (ComplexMatrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2443 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2444 * fCMatrix.cc (FloatComplexMatrix::FloatComplexMatrix (const FloatComplexRowVector&)): |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2445 Use shallow copy. |
8628 | 2446 (FloatComplexMatrix::FloatComplexMatrix (const FloatComplexColumnVector&)): Ditto. |
2447 (FloatComplexMatrix::row): Ditto. | |
2448 (FloatComplexMatrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2449 |
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
|
2450 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
|
2451 |
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
|
2452 * 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
|
2453 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
|
2454 |
8597
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2455 2009-01-27 Jaroslav Hajek <highegg@gmail.com> |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2456 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2457 * dbleQR.cc (QR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2458 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2459 (QR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2460 * dbleQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2461 * dbleQRP.cc (QRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2462 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2463 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2464 * floatQR.cc (FloatQR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2465 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2466 (FloatQR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2467 * floatQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2468 * floatQRP.cc (FloatQRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2469 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2470 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2471 * CmplxQR.cc (ComplexQR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2472 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2473 (ComplexQR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2474 * CmplxQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2475 * CmplxQRP.cc (ComplexQRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2476 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2477 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2478 * fCmplxQR.cc (FloatComplexQR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2479 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2480 (FloatComplexQR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2481 * fCmplxQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2482 * fCmplxQRP.cc (FloatComplexQRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2483 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2484 |
8580
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
2485 2009-01-23 Jaroslav Hajek <highegg@gmail.com> |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
2486 |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
2487 * 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
|
2488 Optimize assignment to an empty array. |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
2489 (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
|
2490 Optimize assignment to an empty array. |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
2491 |
8579
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
2492 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
2493 |
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
2494 * Array2.h (Array2<T>::index): Declare resize_ok as bool. |
8628 | 2495 * 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
|
2496 refs. |
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
2497 |
8565 | 2498 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
2499 | |
2500 * Range.cc (sort_internal): Add missing test. | |
2501 | |
8563
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
2502 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
2503 |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
2504 * Array.cc (Array<T>::index (..., bool resize_ok)): |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
2505 Optimize the all-scalar-indices cases. |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
2506 |
8562
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
2507 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
|
2508 |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
2509 * 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
|
2510 * dbleQR.cc: Define it. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
2511 * (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
|
2512 methods unconditionally. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
2513 * (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
|
2514 updating replacement methods. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
2515 * (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
|
2516 replacement methods unconditionally. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
2517 * (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
|
2518 updating replacement methods. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
2519 |
8553
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
2520 2009-01-21 Jaroslav Hajek <highegg@gmail.com> |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
2521 |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
2522 * Range.cc ( operator + (double x, const Range& r), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
2523 operator + (const Range& r, double x), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
2524 operator - (double x, const Range& r), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
2525 operator - (const Range& r, double x), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
2526 operator * (double x, const Range& r), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
2527 operator * (const Range& r, double x)): New operators. |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
2528 * Range.h: Declare them. |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
2529 |
8549 | 2530 2009-01-20 John W. Eaton <jwe@octave.org> |
2531 | |
2532 * file-stat.h, file-stat.cc (class base_file_stat): New base class. | |
2533 (class file_stat): Derive from base_file_stat. | |
2534 (class file_fstat): New class, derived from base_file_stat. | |
2535 | |
8547
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2536 2009-01-17 Jaroslav Hajek <highegg@gmail.com> |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2537 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2538 * floatQR.h (FloatQR::update, FloatQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2539 FloatQR::insert_row, FloatQR::delete_col, FloatQR::delete_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2540 FloatQR::shift_col): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2541 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2542 * floatQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2543 (FloatQR::update, FloatQR::insert_col, FloatQR::insert_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2544 FloatQR::delete_col, FloatQR::delete_row, FloatQR::shift_col): Reflect |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2545 changes in qrupdate interfaces, implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2546 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2547 * dbleQR.h (QR::update, QR::insert_col, QR::insert_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2548 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
|
2549 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2550 * dbleQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2551 (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
|
2552 QR::delete_row, QR::shift_col): Reflect changes in qrupdate |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2553 interfaces, implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2554 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2555 * fCmplxQR.h (FloatComplexQR::update, FloatComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2556 FloatComplexQR::insert_row, FloatComplexQR::delete_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2557 FloatComplexQR::delete_row, FloatComplexQR::shift_col): Update |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2558 interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2559 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2560 * fCmplxQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2561 (FloatComplexQR::update, FloatComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2562 FloatComplexQR::insert_row, FloatComplexQR::delete_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2563 FloatComplexQR::delete_row, FloatComplexQR::shift_col): Reflect |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2564 changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2565 implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2566 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2567 * CmplxQR.h (ComplexQR::update, ComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2568 ComplexQR::insert_row, ComplexQR::delete_col, ComplexQR::delete_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2569 ComplexQR::shift_col): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2570 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2571 * CmplxQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2572 (ComplexQR::update, ComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2573 ComplexQR::insert_row, ComplexQR::delete_col, ComplexQR::delete_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2574 ComplexQR::shift_col): Reflect changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2575 implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2576 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2577 * floatCHOL.h (FloatCHOL::update, FloatCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2578 FloatCHOL::insert_sym): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2579 * floatCHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2580 (FloatCHOL::update, FloatCHOL::downdate, FloatCHOL::insert_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2581 FloatCHOL::delete_sym, FloatCHOL::shift_sym): Reflect changes in |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2582 qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2583 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2584 * CHOL.h (CHOL::update, CHOL::downdate, CHOL::insert_sym): Update |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2585 interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2586 * CHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2587 (CHOL::update, CHOL::downdate, CHOL::insert_sym, CHOL::delete_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2588 CHOL::shift_sym): Reflect changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2589 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2590 * fCmplxCHOL.h (FloatComplexCHOL::update, FloatComplexCHOL::downdate, |
9967 | 2591 FloatComplexCHOL::insert_sym): Update interfaces. |
8547
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2592 * fCmplxCHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2593 (FloatComplexCHOL::update, FloatComplexCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2594 FloatComplexCHOL::insert_sym, FloatComplexCHOL::delete_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2595 FloatComplexCHOL::shift_sym): Reflect changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2596 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2597 * CmplxCHOL.h (ComplexCHOL::update, ComplexCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2598 ComplexCHOL::insert_sym): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2599 * CmplxCHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2600 (ComplexCHOL::update, ComplexCHOL::downdate, ComplexCHOL::insert_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2601 ComplexCHOL::delete_sym, ComplexCHOL::shift_sym): Reflect changes in |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2602 qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2603 |
8531
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
2604 2009-01-17 Jaroslav Hajek <highegg@gmail.com> |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
2605 |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
2606 * 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
|
2607 slice_len. |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
2608 |
8526
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
2609 2009-01-15 John W. Eaton <jwe@octave.org> |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
2610 |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
2611 * Sparse.cc (Sparse<T>::reshape): Include mismatched dimensions in |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
2612 error message. |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
2613 * Array.cc (Array<T>::reshape): Likewise. |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
2614 From Robert Millan <rmh@aybabtu.com>. |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
2615 |
8524
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
2616 2009-01-14 Jaroslav Hajek <highegg@gmail.com> |
9967 | 2617 |
8524
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
2618 * 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
|
2619 * Array.cc (Array<T>::make_unique): Move implementation here. |
8628 | 2620 (Array<T>::fill): Ditto. |
8524
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
2621 * DiagArray2.h (DiagArray2<T>): Reimplement without abusing |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
2622 Array<T> internals. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
2623 (DiagArray2<T>::operator Array2<T>): New method. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
2624 * DiagArray2.cc (DiagArray2<T>): Update methods. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
2625 * MDiagArray2.h (MDiagArray2<T>::operator Array2<T>): Simplify. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
2626 * PermMatrix.h (PermMatrix): Reimplement without abusing |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
2627 Array<T> internals. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
2628 * PermMatrix.cc (PermMatrix): Update methods. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
2629 |
8523
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
2630 2009-01-14 Jaroslav Hajek <highegg@gmail.com> |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
2631 |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
2632 * 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
|
2633 slice_len. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
2634 (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
|
2635 octave_idx_type, octave_idx_type)): New constructor. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
2636 (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
|
2637 range. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
2638 (Array<T>::make_unique): Rewrite. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
2639 (Array<T>::ArrayRep): Delete redundant methods. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
2640 (rec_index_helper::is_cont_range): New method. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
2641 (Array<T>::maybe_economize): New method. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
2642 * DiagArray2.cc (DiagArray2<T>::resize): Fix the mess. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
2643 |
8521 | 2644 2008-01-15 Rafael Laboissiere <rafael@debian.org> |
2645 | |
2646 * oct-md5.cc: Include <cstdio>. | |
2647 | |
8503
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
2648 2009-01-13 Jaroslav Hajek <highegg@gmail.com> |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
2649 |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
2650 * Array.h (Array::ArrayRep::qsort): Remove. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
2651 (Array::qsort): Remove. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
2652 * glob-match.cc (glob_match::glob): qsort -> sort. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
2653 * str-vec.cc (string_vector::compare): Remove. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
2654 * str-vec.h (string_vector::compare): Remove decl. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
2655 (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
|
2656 |
8417
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
2657 2008-12-23 David Bateman <dbateman@free.fr> |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
2658 |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
2659 * 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
|
2660 * Makefile.in (TEMPLATE_SRC): Add it here. |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
2661 |
8410 | 2662 2008-12-16 Jaroslav Hajek <highegg@gmail.com> |
2663 | |
2664 * Array.cc (rec_permute_helper): New class. | |
2665 (Array<T>::permute): Rewrite using the recursive algorithm. | |
2666 | |
8403 | 2667 2008-12-12 David Bateman <dbateman@free.fr> |
2668 | |
9967 | 2669 * sparse-base-chol.cc (inverse): Fix inversion based on cholesky |
8403 | 2670 factorization. |
9967 | 2671 |
8400
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
2672 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
|
2673 |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
2674 * oct-locbuf.cc: New source. |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
2675 * 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
|
2676 (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
|
2677 POD types. |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
2678 |
8397 | 2679 2008-12-11 Jaroslav Hajek <highegg@gmail.com> |
2680 | |
2681 * mx-op-defs.h (DMDM_BIN_OP): Fix invalid buffer length. | |
2682 | |
8392
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
2683 2008-12-10 Jaroslav Hajek <highegg@gmail.com> |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
2684 |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
2685 * dMatrix.h, dMatrix.cc (Matrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
2686 * fMatrix.h, fMatrix.cc (FloatMatrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
2687 * CMatrix.h, CMatrix.cc (ComplexMatrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
2688 * fCMatrix.h, fCMatrix.cc (FloatComplexMatrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
2689 |
8386
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
2690 2008-12-09 Jaroslav Hajek <highegg@gmail.com> |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
2691 |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
2692 * base-aepbal.h: New source. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
2693 * dbleAEPBAL.h, dbleAEPBAL.cc: Rebase AEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
2694 * floatAEPBAL.h, floatAEPBAL.cc: Rebase FloatAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
2695 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Rebase ComplexAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
2696 * fCmplxAEPBAL.h, fCmplxAEPBAL.cc: Rebase FloatComplexAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
2697 |
8384
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
2698 2008-12-08 Jaroslav Hajek <highegg@gmail.com> |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
2699 |
9967 | 2700 * idx-vector.cc (idx_vector::idx_vector_rep::idx_vector_rep (const |
8384
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
2701 Sparse<bool>&)): New constructor. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
2702 * idx_vector.h: Declare it. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
2703 (idx_vector::idx_vector (const Sparse<bool>&)): New constructor. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
2704 * 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
|
2705 Array<bool>&)): Fix extent calculation. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
2706 |
8385
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
2707 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
|
2708 |
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
2709 * Makefile.in (INCLUDES): Add oct-locbuf.h |
9967 | 2710 |
8380
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
2711 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
|
2712 |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
2713 * 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
|
2714 * 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
|
2715 (MDM_MULTIPLY_OP): Use mx_inline_mul_vs and mx_inline_fill_vs. |
8628 | 2716 (DMM_MULTIPLY_OP): Ditto. |
8380
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
2717 * fDiagMatrix.cc (operator *): Remove redundant ifs. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
2718 * fCDiagMatrix.cc (operator *): Remove redundant ifs. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
2719 |
8379
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
2720 2008-12-06 Jaroslav Hajek <highegg@gmail.com> |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
2721 |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
2722 * oct-locbuf.h (OCTAVE_LOCAL_BUFFER_INIT): New macro. |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
2723 |
8377
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
2724 2008-10-29 Jaroslav Hajek <highegg@gmail.com> |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
2725 |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
2726 * oct-locbuf.h: New header file. |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
2727 * 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
|
2728 CSparse.cc, CmplxCHOL.cc, CmplxGEPBAL.cc, MatrixType.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
2729 Sparse-op-defs.h, Sparse.cc, SparseCmplxLU.cc, SparseCmplxQR.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
2730 SparseQR.cc, SparsedbleLU.cc, dMatrix.cc, dNDArray.cc, dSparse.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
2731 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
|
2732 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
|
2733 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
|
2734 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
|
2735 |
8375
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
2736 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
|
2737 |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
2738 * 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
|
2739 (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
|
2740 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
|
2741 (DiagArray2<T>::diag): New method decl. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
2742 * 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
|
2743 * 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
|
2744 * dDiagMatrix.cc (DiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
2745 * fDiagMatrix.cc (FloatDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
2746 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
2747 * fCDiagMatrix.cc (FloatComplexDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
2748 |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
2749 * 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
|
2750 (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
|
2751 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
|
2752 |
9967 | 2753 |
8371
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
2754 2008-12-04 Jaroslav Hajek <highegg@gmail.com> |
9967 | 2755 |
8371
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
2756 * 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
|
2757 method. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
2758 * dDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
2759 * fDiagMatrix.cc (FloatDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
2760 FloatDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
2761 * fDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
2762 * CDiagMatrix.cc (ComplexDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
2763 ComplexDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
2764 * CDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
2765 * fCDiagMatrix.cc (FloatComplexDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
2766 FloatComplexDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
2767 * fCDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
2768 |
8369 | 2769 2008-12-04 Jaroslav Hajek <highegg@gmail.com> |
2770 | |
2771 * idx-vector.cc (idx-vector::complement): Add missing delete. | |
2772 | |
8368
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
2773 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
|
2774 |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
2775 * 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
|
2776 * 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
|
2777 * 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
|
2778 * 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
|
2779 |
8367
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2780 2008-12-03 Jaroslav Hajek <highegg@gmail.com> |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2781 |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2782 * PermMatrix.h, PermMatrix.cc: New sources. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2783 * MDiagArray2.cc (MDiagArray2<T>::is_multiple_of_identity): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2784 * MDiagArray2.h (MDiagArray2<T>::is_multiple_of_identity): Declare it. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2785 * idx-vector.cc (idx_vector::is_permutation): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2786 * idx-vector.h (idx_vector::is_permutation): Declare it. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2787 * base-lu.cc (base_lu::getp): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2788 (base_lu::P): Call getp. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2789 (base_lu::Pvec): Call getp. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2790 * 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
|
2791 params. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2792 * dbleQRP.cc (dbleQRP::dbleQRP): Construct a permutation matrix. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2793 (dbleQRP::Pvec): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2794 * dbleQRP.h: Declare new method. Declare P as PermMatrix. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2795 * CmplxQRP.cc (ComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2796 * CmplxQRP.h (ComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2797 * floatQRP.cc (FloatQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2798 * floatQRP.h (FloatQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2799 * fCmplxQRP.cc (FloatComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2800 * fCmplxQRP.h (FloatComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
2801 |
8366
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2802 2008-12-01 Jaroslav Hajek <highegg@gmail.com> |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2803 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2804 * 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
|
2805 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2806 (DiagArray2<T>::elem, xelem, operator ()): Move to header file to |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2807 enable inlining. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2808 * DiagArray2.cc (DiagArray2<T>::elem, xelem, operator ()): Remove |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2809 implementations. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2810 * 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
|
2811 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2812 (MDiagArray2<T>::nnz): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2813 * MDiagArray2.cc (MDiagArray2<T>::nnz): Implement it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2814 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2815 * dDiagMatrix.h (DiagMatrix::DiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2816 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2817 (DiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2818 (real (const ComplexDiagMatrix&), imag (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2819 New decls. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2820 * dDiagMatrix.cc (DiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2821 (operator *(const DiagMatrix&, const DiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2822 (real (const ComplexDiagMatrix&), imag (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2823 New functions. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2824 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2825 * fDiagMatrix.h (FloatDiagMatrix::FloatDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2826 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2827 (FloatDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2828 (real (const FloatComplexDiagMatrix&), imag (const FloatComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2829 New decls. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2830 * fDiagMatrix.cc (FloatDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2831 (operator *(const FloatDiagMatrix&, const FloatDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2832 (real (const FloatComplexDiagMatrix&), imag (const FloatComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2833 New functions. |
9967 | 2834 |
8366
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2835 * CDiagMatrix.h (ComplexDiagMatrix::ComplexDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2836 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2837 (ComplexDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2838 (conj (const ComplexDiagMatrix&)): Add missing decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2839 (ComplexDiagMatrix::all_elements_are_real): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2840 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2841 * CDiagMatrix.cc (CDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2842 (operator *(const DiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2843 (operator *(const ComplexDiagMatrix&, const DiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2844 (operator *(const ComplexDiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2845 (ComplexDiagMatrix::all_elements_are_real): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2846 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2847 * fCDiagMatrix.h (FloatComplexDiagMatrix::FloatComplexDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2848 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2849 (FloatComplexDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2850 (conj (const FloatComplexDiagMatrix&)): Add missing decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2851 (FloatComplexDiagMatrix::all_elements_are_real): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2852 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2853 * fCDiagMatrix.cc (CDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2854 (operator *(const FloatDiagMatrix&, const FloatComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2855 (operator *(const FloatComplexDiagMatrix&, const FloatDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2856 (operator *(const ComplexDiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2857 (FloatComplexDiagMatrix::all_elements_are_real): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2858 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2859 * dSparse.cc (SparseMatrix::SparseMatrix (const DiagMatrix&)): New |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2860 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2861 * dSparse.h (SparseMatrix::SparseMatrix (const DiagMatrix&)): Declare |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2862 it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2863 |
9967 | 2864 * CSparse.cc (SparseComplexMatrix::SparseComplexMatrix (const ComplexDiagMatrix&)): |
8366
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2865 New constructor. |
9967 | 2866 * CSparse.h (SparseComplexMatrix::SparseComplexMatrix (const ComplexDiagMatrix&)): |
8366
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2867 Declare it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2868 * 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
|
2869 |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2870 2008-11-21 Jarkko Kaleva <d3roga@gmail.com> |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2871 |
9967 | 2872 * EIG.h (EIG::EIG (const Matrix& a, const Matrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2873 bool calc_eigenvectors = true)): New constructor. |
9967 | 2874 (EIG::EIG (const Matrix& a, const Matrix& b, octave_idx_type& info, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2875 bool calc_eigenvectors = true)): New constructor. |
9967 | 2876 (EIG::EIG (const ComplexMatrix& a, const ComplexMatrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2877 bool calc_eigenvectors = true)): New constructor. |
9967 | 2878 (EIG::EIG (const ComplexMatrix& a, const ComplexMatrix& b, |
2879 octave_idx_type& info, bool calc_eigenvectors = true)): New | |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2880 constructor. |
9967 | 2881 * EIG.cc (EIG::init (const Matrix& a, const Matrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2882 bool calc_eigenvectors)): New function. |
9967 | 2883 (EIG::init (const ComplexMatrix& a, const ComplexMatrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2884 bool calc_eigenvectors)): New function. |
9967 | 2885 (EIG::symmetric_init (const Matrix& a, const Matrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2886 bool calc_eigenvectors)): New function. |
9967 | 2887 (EIG::hermitian_init (const ComplexMatrix& a, const ComplexMatrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2888 bool calc_eigenvectors)): New function. |
9967 | 2889 * fEIG.h (fEIG::fEIG (const FloatMatrix& a, const FloatMatrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2890 bool calc_eigenvectors = true)): New constructor. |
9967 | 2891 (fEIG::fEIG (const FloatMatrix& a, const FloatMatrix& b, |
2892 octave_idx_type& info, bool calc_eigenvectors = true)): New | |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2893 constructor. |
9967 | 2894 (fEIG::fEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
2895 bool calc_eigenvectors = true)): New constructor. | |
2896 (fEIG::fEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, | |
2897 octave_idx_type& info, bool calc_eigenvectors = true)): New | |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2898 constructor. |
9967 | 2899 (fEIG::init (const FloatMatrix& a, const FloatMatrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2900 bool calc_eigenvectors)): New function. |
9967 | 2901 (fEIG::init (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2902 bool calc_eigenvectors)): New function. |
9967 | 2903 (fEIG::symmetric_init (const FloatMatrix& a, const FloatMatrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2904 bool calc_eigenvectors)): New function. |
9967 | 2905 (fEIG::hermitian_init (const FloatComplexMatrix& a, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2906 const FloatComplexMatrix& b, bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2907 |
8337
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
2908 2008-11-19 Jaroslav Hajek <highegg@gmail.com> |
9967 | 2909 |
8337
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
2910 * dMatrix.cc (Matrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
2911 fMatrix.cc (FloatMatrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
2912 CMatrix.cc (ComplexMatrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
2913 fCMatrix.cc (FloatComplexMatrix::determinant): |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
2914 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
|
2915 |
8336
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
2916 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
|
2917 |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
2918 * 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
|
2919 * dMatrix.cc (Matrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
2920 fMatrix.cc (FloatMatrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
2921 CMatrix.cc (ComplexMatrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
2922 fCMatrix.cc (FloatComplexMatrix::determinant): |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
2923 Allow taking MatrixType argument. |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
2924 * 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
|
2925 |
8335 | 2926 2008-11-19 Jaroslav Hajek <highegg@gmail.com> |
2927 | |
2928 * DET.h: New source. | |
2929 * CmplxDET.cc, CmplxDET.h, dbleDET.cc, dbleDET.h, fCmplxDET.cc, | |
2930 fCmplxDET.h, floatDET.cc, floatDET.h: Remove. | |
2931 * Makefile.in: Reflect changes. | |
2932 * mx-defs.h: Remove DET decls. | |
2933 * mx-ext.h, dMatrix.h, fMatrix.h, CMatrix.h, fCMatrix.h, | |
2934 dSparse.h, CSparse.h: Include only DET.h. | |
2935 * dMatrix.cc (Matrix::determinant), | |
2936 fMatrix.cc (FloatMatrix::determinant), | |
2937 CMatrix.cc (ComplexMatrix::determinant), | |
2938 fCMatrix.cc (FloatComplexMatrix::determinant), | |
2939 dSparse.cc (SparseMatrix::determinant), | |
2940 CSparse.cc (SparseComplexMatrix::determinant): Use new class. | |
2941 | |
8328
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
2942 2008-11-18 David Bateman <dbateman@free.fr> |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
2943 |
9967 | 2944 * file-ops.cc (std::string file_ops::tilde_expand (const |
2945 std::string&)): Check if the string contains a tilde and fast | |
8328
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
2946 return if not. |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
2947 |
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
|
2948 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
|
2949 |
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
|
2950 * 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
|
2951 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
|
2952 |
8324 | 2953 2008-11-14 David Bateman <dbateman@free.fr> |
2954 | |
2955 * Array2.h (Array2<T> Array2<T>::index): Correct use of | |
2956 resize_fill_value. | |
2957 | |
8319
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2958 2008-11-12 Michael Goffioul <michael.goffioul@gmail.com> |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2959 |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2960 * 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
|
2961 MArray<T>::norm specialization before implicit MArray<T> implicit |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2962 instantiation. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2963 * 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
|
2964 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
|
2965 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
|
2966 OCTAVE_API tag. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2967 * 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
|
2968 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
|
2969 * oct-inttypes.cc (octave_int<T>::type_name): Ditto. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2970 * 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
|
2971 to double. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2972 * oct-inttypes.h: Undefine min/max. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2973 * 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
|
2974 tag. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2975 * oct-norm.cc (xnorm, xfrobnorm, xcolnorms, xrownorms): Ditto. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2976 |
9501 | 2977 2008-11-12 Jaroslav Hajek <highegg@gmail.com> |
8314
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
2978 |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
2979 * DiagArray2.h (DiagArray2<T>::maybe_delete_elements): Remove |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
2980 declaration. |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
2981 |
9501 | 2982 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
|
2983 |
9967 | 2984 * oct-norm.cc: Don't include Array.cc. |
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
|
2985 (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
|
2986 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
|
2987 Array<T>::resize. |
8628 | 2988 (row_norms (const MArray2<T>&, ...)): Ditto. |
2989 (column_norms (const MSparse2<T>&, ...)): Ditto. | |
2990 (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
|
2991 |
8303
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2992 2008-10-31 Jaroslav Hajek <highegg@gmail.com> |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2993 |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2994 * oct-norm.h: New header file. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2995 * oct-norm.cc: New source. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2996 * CSparse.cc (SparseComplexMatrix::row, SparseComplexMatrix::column): |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2997 New member functions. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2998 * CSparse.h (SparseComplexMatrix): Declare them. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2999 * dSparse.cc (SparseMatrix::row, SparseMatrix::column): |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
3000 New member functions. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
3001 * dSparse.h (SparseMatrix): Declare them. |
9967 | 3002 * MArray-C.cc (MArray<Complex>::norm), |
3003 MArray-d.cc (MArray<double>::norm), | |
3004 MArray-fC.cc (MArray<FloatComplex>::norm), | |
3005 MArray-f.cc (MArray<float>::norm): Wrap a call to xnorm. | |
8303
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
3006 |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
3007 * MArray-defs.h (MARRAY_NORM_BODY): Remove. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
3008 |
9501 | 3009 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
|
3010 |
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
3011 * 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
|
3012 correctly. |
8302
f2e050b62199
fix dim check in Array<T>::delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8301
diff
changeset
|
3013 * 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
|
3014 Fix check for invalid dim. |
8301
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
3015 |
8298
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
3016 2008-10-31 Jaroslav Hajek <highegg@gmail.com> |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
3017 |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
3018 * 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
|
3019 extent when len is zero. |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
3020 * 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
|
3021 Create empty range by default. |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
3022 |
9501 | 3023 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
|
3024 |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
3025 * 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
|
3026 (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
|
3027 std::abs. |
8628 | 3028 * 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
|
3029 |
9501 | 3030 2008-10-28 Jaroslav Hajek <highegg@gmail.com> |
8290
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3031 |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3032 * 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
|
3033 Don't use semicolon after INSTANTIATE_ARRAY_ASSIGN. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3034 * Array-util.h (zero_dims_inquire): New declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3035 (is_in, how_many_lgt, short_freeze): Remove declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3036 * Array-util.cc (zero_dims_inquire): New functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3037 (is_in, how_many_lgt, short_freeze): Remove functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3038 * 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
|
3039 Array<T>::assign, Array<T>::delete_elements): |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3040 Rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3041 * 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
|
3042 Array<T>::assign, Array<T>::delete_elements): |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3043 Rewrite interfaces. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3044 * Array2.h (Array2<T>::resize): Call Array<T>::resize_fill. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3045 * Array3.h (Array3<T>::resize): Call Array<T>::resize_fill. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3046 * ArrayN.h (ArrayN<T>::resize): Remove declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3047 (ArrayN<T>::index): Fix call to resize_fill_value. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3048 * Sparse.cc (assign, assign1): Use zero-based indices. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3049 * chMatrix.h: Include mx-op-defs.h |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3050 * 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
|
3051 dim_vector::redim): New member functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3052 * idx-vector.cc: Mostly rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3053 * idx-vector.h: Mostly rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3054 |
8288
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
3055 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
|
3056 |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
3057 * 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
|
3058 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
|
3059 not supported under MSVC. |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
3060 |
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
|
3061 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
|
3062 |
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
|
3063 * 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
|
3064 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
|
3065 (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
|
3066 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
|
3067 |
8278
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
3068 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
|
3069 |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
3070 * 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
|
3071 (cbesi): Likewise. |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
3072 |
8272
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
3073 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
|
3074 |
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
3075 * 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
|
3076 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
|
3077 |
8271
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
3078 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
|
3079 |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
3080 * 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
|
3081 of RTLD_LAZY. |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
3082 |
9501 | 3083 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
|
3084 |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
3085 * CSparse.cc (ComplexMatrix::expm): Improve inverse preconditioning |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
3086 according to Marco Caliari. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
3087 * dSparse.cc (Matrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
3088 * fCSparse.cc (FloatComplexMatrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
3089 * fSparse.cc (FloatMatrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
3090 |
8207
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
3091 2008-10-10 Jaroslav Hajek <highegg@gmail.com> |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
3092 |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
3093 * sparse-util.h (SparseCholPrint): Change char * argument to const |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
3094 char *. |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
3095 * sparse-util.cc (SparseCholPrint): Likewise. |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
3096 |
9501 | 3097 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
|
3098 |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
3099 * oct-sort.cc (octave_sort<T>::merge_getmem, |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
3100 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
|
3101 delete []. |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
3102 (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
|
3103 std::memcpy and std::memmove with std::copy. |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
3104 |
8198 | 3105 2008-10-08 John W. Eaton <jwe@octave.org> |
3106 | |
3107 * Sparse-op-defs.h (SPARSE_SMSM_BOOL_OPS): Duplicate code for scalar | |
3108 sparse arguments rather than rely on extern function. | |
3109 | |
8193
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
3110 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
|
3111 |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
3112 * 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
|
3113 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
|
3114 optimizations. |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
3115 (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
|
3116 |
9501 | 3117 2008-10-07 Jaroslav Hajek <highegg@gmail.com> |
8191
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
3118 |
9967 | 3119 * oct-inttypes.h (OCTAVE_INT_DOUBLE_BIN_OP): Change octave_int64 to |
8191
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
3120 octave_uint64 where appropriate. |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
3121 |
8187 | 3122 2008-10-06 David Bateman <dbateman@free.fr> |
9967 | 3123 |
8187 | 3124 * Sparse-op-defs.h (SPARSE_SMSM_CMP_OPS): Duplicate code for scalar |
3125 sparse arguments rather than rely on extern function. | |
3126 | |
8186
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
3127 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
|
3128 |
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
3129 * 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
|
3130 |
9501 | 3131 2008-10-01 Jaroslav Hajek <highegg@gmail.com> |
8185
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
3132 |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
3133 * oct-inttypes.h (octave_int<T>::one, octave_int<T>::zero): Declare |
9967 | 3134 constants. |
8185
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
3135 * oct-inttypes.cc: Define them. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
3136 * 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
|
3137 * oct-inttypes.cc: Define alternative implementations for 64-bit |
9967 | 3138 multiplication and mixed operations. |
8185
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
3139 * mx-ops: Instantiate all 64-bit integer operations. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
3140 |
8180
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
3141 2008-10-06 Jaroslav Hajek <highegg@gmail.com> |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
3142 |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
3143 * 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
|
3144 |
8181
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
3145 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
|
3146 |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
3147 * 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
|
3148 * 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
|
3149 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
|
3150 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
|
3151 |
8179
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
3152 2008-10-03 Jaroslav Hajek <highegg@gmail.com> |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
3153 |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
3154 * 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
|
3155 declaration. |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
3156 * 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
|
3157 rfv. |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
3158 |
8178
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
3159 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
|
3160 |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
3161 * 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
|
3162 for empty matrix. |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
3163 |
8182 | 3164 2008-09-30 Jaroslav Hajek <highegg@gmail.com> |
8169
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
3165 |
9967 | 3166 * oct-inttypes.h: Mostly rewrite. |
8169
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
3167 * oct-inttypes.cc: Modstly rewrite. |
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
3168 |
8157
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
3169 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
|
3170 |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
3171 * 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
|
3172 empty index vector. |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
3173 |
8150
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
3174 2008-09-26 Jaroslav Hajek <highegg@gmail.com> |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
3175 |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
3176 * Array.cc (assign1, assign2, assignN): Do not call |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
3177 maybe_delete_elements. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
3178 (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
|
3179 special handlers if possible. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
3180 * Sparse.cc (assign1, assign2, assignN): Do not call |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
3181 maybe_delete_elements. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
3182 |
8124
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
3183 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
|
3184 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
3185 * 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
|
3186 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
|
3187 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
3188 2008-09-12 Jaroslav Hajek <highegg@gmail.com> |
9967 | 3189 |
3190 * oct-inttypes.h (pow (const octave_int<T>&, const octave_int<T>&)): | |
8124
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
3191 |
8121
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
3192 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
|
3193 |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
3194 * 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
|
3195 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
|
3196 (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
|
3197 |
8119
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
3198 2008-09-18 Jaroslav Hajek <highegg@gmail.com> |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
3199 |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
3200 * 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
|
3201 better Matlab compatibility. |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
3202 (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
|
3203 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
|
3204 |
8118
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
3205 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
|
3206 |
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
3207 * 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
|
3208 |
8104
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
3209 2008-09-12 Jaroslav Hajek <highegg@gmail.com> |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
3210 |
9967 | 3211 * oct-inttypes.h (pow (const octave_int<T>&, const octave_int<T>&)): |
8104
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
3212 Handle negative exponent correctly. |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
3213 |
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
|
3214 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
|
3215 |
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
|
3216 * 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
|
3217 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
|
3218 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
|
3219 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
|
3220 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
|
3221 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
|
3222 (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
|
3223 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
|
3224 (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
|
3225 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
|
3226 (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
|
3227 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
|
3228 (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
|
3229 (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
|
3230 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
|
3231 (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
|
3232 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
|
3233 (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
|
3234 (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
|
3235 (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
|
3236 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
|
3237 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
|
3238 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
|
3239 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
|
3240 (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
|
3241 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
|
3242 (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
|
3243 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
|
3244 octave_int<T>&, float)): New functions. |
8040 | 3245 |
3246 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
|
3247 |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
3248 * 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
|
3249 classified as positive by lo_ieee_signbit. |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
3250 |
8040 | 3251 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
|
3252 |
f0fbf47c914c
avoid null pointer call in Array<T>::hermitian
Jaroslav Hajek <highegg@gmail.com>
parents:
8022
diff
changeset
|
3253 * 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
|
3254 (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
|
3255 |
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
|
3256 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
|
3257 |
8022
9708674ab85d
don't include config.h in other header files
John W. Eaton <jwe@octave.org>
parents:
8019
diff
changeset
|
3258 * 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
|
3259 |
8019
0ef13e15319b
replace NPOS with std::string::npos
John W. Eaton <jwe@octave.org>
parents:
8018
diff
changeset
|
3260 * 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
|
3261 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
|
3262 |
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
|
3263 * 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
|
3264 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
|
3265 |
8008
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
3266 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
|
3267 |
8009
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
3268 * 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
|
3269 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
|
3270 |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
3271 * 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
|
3272 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
|
3273 |
8008
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
3274 * 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
|
3275 here from file scope. |
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
3276 |
8006
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
3277 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
|
3278 |
8007
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3279 * 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
|
3280 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
|
3281 file_ops::dir_sep_chars. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3282 (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
|
3283 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
|
3284 (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
|
3285 file_ops::dir_sep_str. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3286 |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3287 * 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
|
3288 (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
|
3289 * 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
|
3290 (file_ops::file_ops): New constructor. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3291 (file_ops::instance_ok): New function. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3292 (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
|
3293 from dir_sep_char. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3294 (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
|
3295 (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
|
3296 (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
|
3297 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
|
3298 (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
|
3299 (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
|
3300 |
8006
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
3301 * 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
|
3302 |
7999 | 3303 2008-07-30 John W. Eaton <jwe@octave.org> |
3304 | |
3305 * oct-inttypes.h: Style fixes. | |
3306 | |
8040 | 3307 2008-07-30 Jaroslav Hajek <highegg@gmail.com> |
7997
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
3308 |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
3309 * 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
|
3310 (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
|
3311 member functions. |
7999 | 3312 (octave_int<T>::octave_int (const octave_int<U>&)): set trunc_flag |
3313 on truncation. | |
7997
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
3314 (SPECIALIZE_WIDENING_CONVERSION): New macro. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
3315 (DECLARE_OCTAVE_INT_TYPENAME): New macro. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
3316 |
7991
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
3317 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
|
3318 |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
3319 * 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
|
3320 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
|
3321 maintains NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
3322 (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
|
3323 (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
|
3324 detect old NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
3325 (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
|
3326 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
|
3327 * 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
|
3328 detect old NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
3329 (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
|
3330 old NA value with new new. |
9967 | 3331 * data-conv.cc (void read_doubles(std::istream&, double *, |
7991
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
3332 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
|
3333 loaded NA values is the old representation and replace it. |
9967 | 3334 |
8040 | 3335 2008-07-28 Jaroslav Hajek <highegg@gmail.com> |
7979 | 3336 |
3337 * lo-math.h: Ensure log2 is undefined from cmath in C++ mode. | |
3338 | |
7957
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
3339 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
|
3340 |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
3341 * 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
|
3342 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
|
3343 |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
3344 * 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
|
3345 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
|
3346 |
7955
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
3347 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
|
3348 |
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
3349 * 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
|
3350 |
7952
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
3351 2008-07-19 John W. Eaton <jwe@octave.org> |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
3352 |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
3353 * oct-mutex.h (class octave_base_mutex): New class. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
3354 (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
|
3355 (octave_mutex::rep): Declare as octave_base_mutex. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
3356 (octave_mutex::count): Delete. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
3357 (octave_mutex::lock, octave_mutex::unlock): No longer virtual. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
3358 (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
|
3359 valid or set rep to zero after deleting. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
3360 (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
|
3361 * 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
|
3362 from octave_base_mutex, not octave_mutex. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
3363 |
7943
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
3364 2008-07-18 John W. Eaton <jwe@octave.org> |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
3365 |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
3366 * 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
|
3367 to 0, not count. |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
3368 * 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
|
3369 to 1 instead of incrementing it. |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
3370 |
7941
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
3371 2008-07-17 Michael Goffioul <michael.goffioul@gmail.com> |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
3372 |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
3373 * 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
|
3374 bool, bool) into conditional HAVE_FFTW3 preprocessor statement. |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
3375 |
7936
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
3376 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
|
3377 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
3378 * 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
|
3379 octave_autolock (const octave_autolock&), |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
3380 octave_autolock::operator = (const octave_autolock&)): |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
3381 Delete definitions. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
3382 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
3383 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
|
3384 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
3385 * 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
|
3386 (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
|
3387 executing handlers. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
3388 (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
|
3389 Autolock event_hook_lock. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
3390 |
7934 | 3391 2008-07-15 Michael Goffioul <michael.goffioul@gmail.com> |
3392 | |
3393 * oct-mutex.h, oct-mutex.cc: New files. | |
3394 * Makefile.in: Add them to appropriate lists. | |
3395 | |
7929 | 3396 2008-07-15 John W. Eaton <jwe@octave.org> |
3397 | |
3398 * oct-sort.cc, oct-sort.h (octave_sort<T>::count_run): Declare | |
3399 descending arg as bool&. | |
3400 (octave_sort<T>::sort): Pass bool to count_run for descending arg. | |
3401 | |
7922
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
3402 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
|
3403 |
7924 | 3404 * dDiagMatrix.cc (DiagMatrix::diag): Return empty ColumnVector if |
3405 number of rows or columns is 0. | |
3406 * fDiagMatrix.cc (FloatDiagMatrix::diag): Likewise. | |
3407 | |
3408 * Array-util.cc (is_vector): Avoid GCC warning. | |
3409 * Array-f.cc (Array<float>::sort): Likewise. | |
3410 * Array-d.cc (Array<double>::sort): Likewise. | |
3411 * dbleQR.cc (QR::QR (const Matrix&, const Matrix&)): Likewise. | |
3412 * CmplxQR.cc (ComplexQR::ComplexQR (const ComplexMatrix&, const | |
3413 ComplexMatrix&)): Likewise. | |
3414 * floatQR.cc (FloatQR::FloatQR (const FloatMatrix&, const | |
3415 FloatMatrix&)): Likewise. | |
3416 * fCmplxQR.cc (FloatComplexQR::FloatComplexQR (const | |
3417 FloatComplexMatrix&, const FloatComplexMatrix&)): Likewise. | |
3418 * Quad.cc (IndefQuad::do_integrate (octave_idx_type&, | |
3419 octave_idx_type&, float&), FloatIndefQuad::do_integrate, | |
3420 DefQuad::do_integrate octave_idx_type&, octave_idx_type&, float&, | |
3421 FloatIndefQuad::do_integrate): Likewise. | |
3422 | |
7922
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
3423 * 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
|
3424 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
|
3425 * 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
|
3426 * Array-util.h: Provide decl. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
3427 * 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
|
3428 * 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
|
3429 |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
3430 * 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
|
3431 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
|
3432 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
|
3433 * 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
|
3434 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
|
3435 Provide decl. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
3436 |
7919
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
3437 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
|
3438 |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
3439 * 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
|
3440 bool, bool)): New constructor. |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
3441 * dNDArray.h: Provide decl. |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
3442 |
7914
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
3443 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
|
3444 |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
3445 * 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
|
3446 * lo-specfun.cc: Ditto. Add atanhf implementation. |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
3447 |
8040 | 3448 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
|
3449 |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
3450 * MatrixType.h: Add missing include statement. |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
3451 |
7889
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
3452 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
|
3453 |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
3454 * 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
|
3455 * fCmplxDET.cc (FloatComplexDET::initialize10): Likewise, for pow. |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
3456 |
7885 | 3457 2008-06-11 John W. Eaton <jwe@octave.org> |
3458 | |
3459 * so-array.h, so-array.cc, Array-so.cc: Delete. | |
3460 * Makefile.in: Remove them from the lists. | |
3461 | |
7872 | 3462 2008-06-05 John W. Eaton <jwe@octave.org> |
3463 | |
3464 * oct-shlib.cc (octave_base_shlib::remove): Only dereference | |
3465 counter if iterator is valid. | |
3466 | |
7814
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
3467 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
|
3468 |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
3469 * 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
|
3470 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
|
3471 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
|
3472 * 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
|
3473 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
|
3474 * 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
|
3475 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
|
3476 (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
|
3477 (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
|
3478 (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
|
3479 * 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
|
3480 * 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
|
3481 (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
|
3482 (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
|
3483 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
3484 2008-06-02 David Bateman <dbateman@free.fr> |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
3485 |
7810
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
3486 * fCmplxLU.cc (class FloatComplexLU): Correct error in instantiation. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
3487 * floatLU.cc (class FloatLU): ditto. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
3488 * floatLU.h (class FloatLU): ditto. |
9967 | 3489 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
3490 * floatAEPBAL.cc (octave_idx_type FloatAEPBALANCE::init (const |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
3491 FloatMatrix&, const std::string&)): Use FloatMatrix to initialize |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
3492 balancing_mat. |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
3493 |
7809
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
3494 * 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
|
3495 (MATRIX_SRC): Add fCmplxAEPBAL.cc and floatAEPBAL.cc. |
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
3496 |
7805
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3497 2008-05-21 David Bateman <dbateman@free.fr> |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3498 |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3499 * Quad-opts.in: Handle single precision tolerances. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3500 * Quad.cc (float_user_fcn): New static variable. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3501 (quad_float_fcn_ptr): New typedef. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3502 (qagp, quagi): New QUADPACK decls. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3503 (float_user_function): New function. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3504 (DefQuad::do_integrate, IndefQuad::do_integrate): Float versions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3505 (FloatDefQuad::do_integrate, FloatIndefQuad::do_integrate): |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3506 New functions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3507 * Quad.h (class Quad): Handle float type. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3508 (class FloatDefQuad, class FloatIndefQuad): New classes. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3509 |
8040 | 3510 2008-05-21 Jaroslav Hajek <highegg@gmail.com> |
7799 | 3511 |
7804
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3512 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3513 (xcdotc, csyrk, cherk): New F77 decls. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3514 * fMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3515 (operator * (const FloatMatrix&, const FloatMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3516 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3517 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3518 (ssyrk): New F77 decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3519 * fCMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3520 (operator * (const FloatComplexMatrix&, const |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3521 FloatComplexMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3522 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3523 |
7803 | 3524 * dMatrix.cc, CMatrix.cc, Sparse-op-defs.h: Add missing copyright. |
3525 | |
7802
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
3526 * Sparse-op-defs.h (SPARSE_FULL_MUL): Simplify scalar*matrix case. |
9967 | 3527 Correct indenting. |
7802
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
3528 (SPARSE_FULL_TRANS_MUL): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
3529 (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
|
3530 Move OCTAVE_QUIT one level up. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
3531 (FULL_SPARSE_MUL_TRANS): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
3532 * dSparse.h (mul_trans, trans_mul): Provide decl. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
3533 * dSparse.cc (mul_trans, trans_mul): New functions. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
3534 * 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
|
3535 * 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
|
3536 |
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
|
3537 * 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
|
3538 * 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
|
3539 (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
|
3540 (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
|
3541 * 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
|
3542 * 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
|
3543 (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
|
3544 (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
|
3545 |
7799 | 3546 * MatrixType.cc (matrix_real_probe, matrix_complex_probe): |
3547 New template functions. | |
3548 (MatrixType::MatrixType (const Matrix&), | |
3549 MatrixType::MatrixType (const FloatMatrix&)): | |
3550 just call matrix_real_probe. | |
3551 (MatrixType::MatrixType (const ComplexMatrix&), | |
3552 MatrixType::MatrixType (const FloatComplexMatrix&)): | |
3553 just call matrix_complex_probe. | |
3554 | |
3555 * MatrixType.cc (MatrixType::MatrixType (matrix_type, bool)): | |
3556 add missing test for Unknown. | |
3557 | |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3558 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
|
3559 |
7797
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3560 * 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
|
3561 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3562 (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
|
3563 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3564 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3565 * 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
|
3566 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3567 (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
|
3568 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3569 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3570 * 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
|
3571 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3572 (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
|
3573 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3574 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3575 * 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
|
3576 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3577 (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
|
3578 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3579 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3580 |
7796
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
3581 * Array.cc: Fix transpose tests. |
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
3582 |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3583 * 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
|
3584 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
|
3585 (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
|
3586 * 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
|
3587 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
|
3588 (FloatGEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3589 * 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
|
3590 (MATRIX_SRC): and here. |
9967 | 3591 |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3592 * floatAEPBAL.cc (FloatAEPBALANCE), fCmplxAEPBAL.cc |
9967 | 3593 (FloatComplexAEPBALANCE): New classes for single precision |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3594 Algebraic eignvalue balancing. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3595 * 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
|
3596 (FloatComplexAEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3597 * 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
|
3598 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3599 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3600 * 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
|
3601 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
|
3602 * 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
|
3603 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3604 * 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
|
3605 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3606 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3607 * 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
|
3608 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
|
3609 * 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
|
3610 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3611 * 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
|
3612 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3613 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3614 * 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
|
3615 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
|
3616 * 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
|
3617 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3618 * 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
|
3619 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3620 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3621 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3622 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3623 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
|
3624 ComplexQRP, FloatQRP, FloatComplexQRP): Declare classes. |
9967 | 3625 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3626 2008-05-20 David Bateman <dbateman@free.fr> |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3627 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3628 * 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
|
3629 transpose to limit the number of cache misses. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3630 (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
|
3631 for matrix conjugate transpose. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3632 * 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
|
3633 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3634 * DiagArray2.cc (DiagArray2<T> DiagArray2<T>::transpose () const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3635 Specialization for diagonal arrays. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3636 (DiagArray2<T> DiagArray2<T>::transpose (T (*) (const&)) const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3637 Ditto. |
9967 | 3638 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3639 * 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
|
3640 (MArray<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3641 * 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
|
3642 * 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
|
3643 * 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
|
3644 * MDiagArray2.h (MDiagArray2<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3645 (MDiagArray<T> hermitian <T (*) (const&)) const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3646 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3647 * 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
|
3648 * CRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3649 * dColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3650 * dRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3651 * CDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3652 * dDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3653 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3654 * 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
|
3655 * fCRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3656 * fColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3657 * fRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3658 * fCDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3659 * fDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3660 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3661 * CDiagMatrix.cc (ComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3662 ComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3663 * dDiagMatrix.cc (DiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3664 * CMatrix.cc (ComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3665 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3666 * fCDiagMatrix.cc (FloatComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3667 FloatComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3668 * fDiagMatrix.cc (FloatDiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3669 * fCMatrix.cc (FloatComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3670 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3671 * lo-mappers.cc (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3672 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3673 New mapper functions for single precion values. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3674 * lo-mappers.h (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3675 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3676 Declare them. |
9967 | 3677 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3678 * CmplxGEBAL.cc (ComplexGEPBALANCE), dbleGEPBAL.cc (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3679 fCmplxGEPBAL.cc (FloatComplexGEPBALANCE), floatGEPBAL.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3680 (FloatGEPBALANCE): New class for generalized eigenvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3681 * CmplxGEBAL.h (ComplexGEPBALANCE), dbleGEPBAL.h (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3682 fCmplxGEPBAL.h (FloatComplexGEPBALANCE), floatGEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3683 (FloatGEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3684 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3685 (MATRIX_SRC): and here. |
9967 | 3686 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3687 * floatAEPBAL.cc (FloatAEPBALANCE), fCmplxAEPBAL.cc |
9967 | 3688 (FloatComplexAEPBALANCE): New classes for single precision |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3689 Algebraic eignvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3690 * floatAEPBAL.h (FloatAEPBALANCE), fCmplxAEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3691 (FloatComplexAEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3692 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3693 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3694 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3695 * floatHESS.cc (FloatHESS), fCmplxHESS.cc (FloatComplexHESS): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3696 classes for single precision Hessenberg decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3697 * floatHESS.h (FloatHESS), fCmplxHESS.h (FloatComplexHESS): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3698 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3699 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3700 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3701 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3702 * floatQR.cc (FloatQR), fCmplxQR.cc (FloatComplexQR): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3703 classes for single precision QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3704 * floatQR.h (FloatQR), fCmplxQR.h (FloatComplexQR): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3705 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3706 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3707 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3708 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3709 * floatQRP.cc (FloatQRP), fCmplxQRP.cc (FloatComplexQRP): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3710 classes for single precision permuted QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3711 * floatQRP.h (FloatQRP), fCmplxQRP.h (FloatComplexQRP): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3712 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3713 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3714 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3715 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3716 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3717 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3718 FloatHESS, FloatComplexHESS, FloatQR, FloatComplexQR, QRP, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3719 ComplexQRP, FloatQRP, FloatComplexQRP): Declare classes. |
9967 | 3720 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3721 * 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
|
3722 fCColVector.cc, fCColVector.h, fCDiagMatrix.cc, fCDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3723 fCMatrix.cc, fCMatrix.h, fCNDArray.cc, fCNDArray.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3724 fCRowVector.cc, fCRowVector.h, fCmplxCHOL.cc, fCmplxCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3725 fCmplxDET.cc, fCmplxDET.h, fCmplxLU.cc, fCmplxLU.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3726 fCmplxSCHUR.cc, fCmplxSCHUR.h, fCmplxSVD.cc, fCmplxSVD.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3727 fColVector.cc, fColVector.h, fDiagMatrix.cc, fDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3728 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
|
3729 fRowVector.cc, fRowVector.h, floatCHOL.cc, floatCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3730 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
|
3731 floatSCHUR.h, floatSVD.cc, floatSVD.h: New files. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3732 * 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
|
3733 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3734 * 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
|
3735 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
|
3736 MatrixType.cc, MatrixType.h, SparseCmplxQR.cc, SparseCmplxQR.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3737 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
|
3738 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
|
3739 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
|
3740 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
|
3741 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
|
3742 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
|
3743 Allow single precision types. |
9967 | 3744 |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
3745 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
|
3746 |
7788 | 3747 * CMatrix.cc (double rcond): Replace with double rcon everywhere |
3748 to avoid shadowed variable warning | |
3749 (double ComplexMatrix::rcond (void) const): New method for | |
3750 reciprocal condition number calculation. | |
3751 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
3752 * CMatrix.h (double rcond): Replace with double rcon everywhere | |
3753 to avoid shadowed variable warning | |
3754 (double ComplexMatrix::rcond (void) const): New method for | |
3755 reciprocal condition number calculation. | |
3756 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
3757 * dMatrix.cc (double rcond): Replace with double rcon everywhere | |
3758 to avoid shadowed variable warning | |
3759 (double Matrix::rcond (void) const): New method for | |
3760 reciprocal condition number calculation. | |
3761 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
3762 * dMatrix.h (double rcond): Replace with double rcon everywhere | |
3763 to avoid shadowed variable warning | |
3764 (double Matrix::rcond (void) const): New method for | |
3765 reciprocal condition number calculation. | |
3766 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
3767 | |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
3768 * 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
|
3769 expression matching |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
3770 * 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
|
3771 (LIBOCTAVE_CXX_SOURCES): regex-match.cc here. |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
3772 |
7776 | 3773 2008-05-19 David Bateman <dbateman@free.fr> |
3774 | |
3775 * dSparse.cc: Replace some DGBCON with GPBCON where they are | |
3776 incorrectly used. | |
3777 | |
7774
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
3778 2008-05-13 David Bateman <dbateman@free.fr> |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
3779 |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
3780 * 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
|
3781 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
|
3782 is not zero. |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
3783 |
7758
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
3784 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
|
3785 |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
3786 * 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
|
3787 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
|
3788 * 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
|
3789 (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
|
3790 * 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
|
3791 * 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
|
3792 |
7757
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
3793 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
|
3794 |
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
3795 * 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
|
3796 |
7749
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
3797 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
|
3798 |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
3799 * 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
|
3800 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
|
3801 * 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
|
3802 Likewise. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
3803 (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
|
3804 Adjust all uses. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
3805 (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
|
3806 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
|
3807 (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
|
3808 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
|
3809 |
8040 | 3810 2008-04-30 Jaroslav Hajek <highegg@gmail.com> |
7740 | 3811 |
3812 * lo-mappers.cc (xlog2 (double)): Compute log (2), not log2 (2). | |
3813 (xlog2 (Complex), xlog2 (double, int&), xlog2 (Complex, int&)): | |
3814 New functions. | |
3815 * lo-mappers.h: Provide decls. | |
3816 | |
9501 | 3817 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
|
3818 |
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
3819 * 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
|
3820 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
|
3821 |
7732
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
3822 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
|
3823 |
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
3824 * 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
|
3825 |
7727
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
3826 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
|
3827 |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
3828 * 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
|
3829 Fix for-loop condition. |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
3830 |
8040 | 3831 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
|
3832 |
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
3833 * 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
|
3834 |
7717
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
3835 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
|
3836 |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
3837 * 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
|
3838 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
3839 * 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
|
3840 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
3841 * 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
|
3842 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
3843 * 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
|
3844 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
3845 |
7707
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
3846 2008-04-09 Michael Goffioul <michael.goffioul@gmail.com> |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
3847 |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
3848 * lo-mappers.cc (xround): Avoid floating-point overflow when input |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
3849 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
|
3850 |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
3851 * 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
|
3852 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
|
3853 __WIN32__ platforms. |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
3854 |
8040 | 3855 2008-04-07 Jaroslav Hajek <highegg@gmail.com> |
7700
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
3856 |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
3857 * dbleQR.h, dbleQR.cc (QR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
3858 * CmplxQR.h, CmplxQR.cc (ComplexQR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
3859 * 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
|
3860 CHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
3861 * CmplxCHOL.h, CmplxCHOL.cc (ComplexCHOL::insert_sym, |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
3862 ComplexCHOL::delete_sym, ComplexCHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
3863 |
7695
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
3864 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
|
3865 |
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
3866 * 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
|
3867 |
7671
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
3868 2008-03-27 Jaroslav Hajek <highegg@gmail.com> |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
3869 |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
3870 * oct-lookup.h: New file. |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
3871 |
7646
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
3872 2008-03-26 David Bateman <dbateman@feee.fr> |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
3873 |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
3874 * Array.cc (assignN): Additional fix for vector assignments. |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
3875 |
7642
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
3876 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
|
3877 |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
3878 * 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
|
3879 original matrix is empty. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
3880 * 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
|
3881 function. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
3882 * 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
|
3883 |
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
|
3884 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
|
3885 |
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
|
3886 * 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
|
3887 (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
|
3888 * 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
|
3889 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
|
3890 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
|
3891 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
3892 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
|
3893 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
3894 * lo-mappers.cc (xtrunc): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
3895 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
3896 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
3897 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
|
3898 |
7638
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
3899 * lo-specfun.cc (expm1, log1p): New functions. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
3900 * lo-specfun.h: Provide decls. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
3901 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
3902 * lo-mappers.cc (xroundb): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
3903 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
3904 |
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
|
3905 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
|
3906 |
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
|
3907 * 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
|
3908 array case, except for 64bit cases. |
9967 | 3909 |
7619 | 3910 2008-03-21 David Bateman <dbateman@free.fr> |
3911 | |
3912 * oct-sparse.h: Add headers for amd.h. | |
3913 | |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3914 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
|
3915 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3916 * 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
|
3917 method for diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3918 * 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
|
3919 * 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
|
3920 * 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
|
3921 * 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
|
3922 * 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
|
3923 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3924 * 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
|
3925 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3926 * 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
|
3927 * 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
|
3928 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3929 * 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
|
3930 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3931 * Range.h (Matrix diag (octave_idx_type) const): Declare it. |
9967 | 3932 |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3933 * CDiagMatrix.cc (ComplexColumnVector ComplexDiagMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3934 (void) const): delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3935 * 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
|
3936 * 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
|
3937 * 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
|
3938 delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3939 * 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
|
3940 * 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
|
3941 * 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
|
3942 * 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
|
3943 * 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
|
3944 * 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
|
3945 * 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
|
3946 * 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
|
3947 * intNDArray.h (intNDArray<T> diag (void) const): ditto. |
9967 | 3948 |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3949 * 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
|
3950 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
|
3951 * 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
|
3952 return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3953 * 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
|
3954 terms of template classes function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3955 * 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
|
3956 * 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
|
3957 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
|
3958 * boolMatrix.h (boolMatrix diag (octave_idx_type) const): Change |
9967 | 3959 return type. |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3960 * 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
|
3961 const): Rewrite in terms of template classes function. |
9967 | 3962 |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3963 * 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
|
3964 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
|
3965 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3966 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3967 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3968 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3969 * 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
|
3970 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3971 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3972 * CNDArray.cc (ComplexNDArray ComplexNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3973 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3974 * 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
|
3975 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3976 * 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
|
3977 method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3978 * 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
|
3979 * chNDArray.cc (charNDArray charNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3980 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3981 * 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
|
3982 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3983 |
9967 | 3984 |
7609
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
3985 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
|
3986 |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
3987 * 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
|
3988 relative filenames. |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
3989 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
3990 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
|
3991 |
7605
48488cca0006
Fix for array indexing if original matrix is empty
David Bateman <dbateman@free.fr>
parents:
7602
diff
changeset
|
3992 * 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
|
3993 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
|
3994 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
3995 * 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
|
3996 const): New template function. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
3997 * 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
|
3998 const): ditto. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
3999 * 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
|
4000 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
|
4001 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
|
4002 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
|
4003 * 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
|
4004 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
|
4005 SparseBoolMatrix SparseComplexMatrix::map (bmapper) const): ditto. |
9967 | 4006 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
4007 2008-03-18 David Bateman <dbateman@free.fr> |
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
4008 |
7601
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
4009 * 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
|
4010 * 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
|
4011 * randpoison.c (xlgamma): Use lgamma if HAVE_LGAMMA is defined. |
9967 | 4012 |
7600
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
4013 * 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
|
4014 * CNDarray.cc (ComplexNDArray::min, CompelxNDArray::max): ditto. |
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
4015 * intNDarray.cc (intNDArray<T>::min, intNDArray<T>::max): ditto. |
9967 | 4016 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
4017 * 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
|
4018 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
|
4019 |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
4020 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
|
4021 |
7598
a89b3fa632ee
partial specialization for octave_int_fit_to_range
John W. Eaton <jwe@octave.org>
parents:
7597
diff
changeset
|
4022 * 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
|
4023 Use partial specialization for double values. |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
4024 |
7573
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
4025 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
|
4026 |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
4027 * 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
|
4028 * 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
|
4029 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
|
4030 * idx-vector.cc, idx-vector.h |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
4031 (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
|
4032 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
|
4033 (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
|
4034 (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
|
4035 (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
|
4036 |
7572
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
4037 2008-03-07 John W. Eaton <jwe@octave.org> |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
4038 |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
4039 * 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
|
4040 IDX_VEC_REP::idx_vector_rep (const boolNDArray&)): |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
4041 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
|
4042 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
|
4043 (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
|
4044 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4045 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
|
4046 |
9967 | 4047 * dbleQR.cc (QR::insert_col, QR::insert_row, |
7560
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
4048 QR::delete_col, QR::delete_row): Use 0-based indexing. |
9967 | 4049 * CmplxQR.cc (ComplexQR::insert_col, ComplexQR::insert_row, |
7560
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
4050 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
|
4051 |
7559
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
4052 * dbleCHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
4053 * CmplxHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
4054 * 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
|
4055 * 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
|
4056 * 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
|
4057 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
4058 2008-03-04 Jaroslav Hajek <highegg@gmail.com> |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
4059 |
7554
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
4060 * dbleCHOL.cc (CHOL::set, CHOL::update, CHOL::downdate): |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
4061 New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
4062 * dbleCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
4063 * CmplxCHOL.cc (ComplexCHOL::set, ComplexCHOL::update, |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
4064 ComplexCHOL::downdate): New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
4065 * CmplxCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
4066 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
4067 * 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
|
4068 QR::insert_row, QR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
4069 (QR::QR (const Matrix&, const MAtrix&)): New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
4070 * dbleQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
4071 * CmplxQR.cc (ComplexQR::update, ComplexQR::insert_col, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
4072 ComplexQR::delete_col, ComplexQR::insert_row, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
4073 ComplexQR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
4074 (ComplexQR::ComplexQR (const ComplexMatrix&, const ComplexMAtrix&)): |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
4075 New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
4076 * CmplxQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
4077 |
7549
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
4078 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
|
4079 |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
4080 * 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
|
4081 of < and > operators. |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
4082 |
7546
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
4083 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
|
4084 |
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
4085 * 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
|
4086 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
|
4087 |
7545 | 4088 2008-03-03 Jaroslav Hajek <highegg@gmail.com> |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
4089 |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
4090 * dMatrix.cc (Matrix::lssolve): Also avoid dgelsd lwork query bug |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
4091 in lssolve method that accepts column vector argument. Correct |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
4092 calculation of nlvl. |
7545 | 4093 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd. |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
4094 |
7537
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
4095 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
|
4096 |
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
4097 * 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
|
4098 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
4099 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
|
4100 |
7536 | 4101 * oct-rand.cc (get_dist_id): Fix typo. |
4102 (get_dist_id, octave_rand::distribution, octave_rand::scalar, | |
4103 fill_rand): Improve error messages. | |
4104 | |
7535
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
4105 * 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
|
4106 (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
|
4107 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
|
4108 (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
|
4109 |
7533
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
4110 * 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
|
4111 (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
|
4112 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
|
4113 (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
|
4114 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
|
4115 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
|
4116 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
|
4117 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
|
4118 (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
|
4119 (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
|
4120 (octave_rand::uniform_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
4121 octave_rand::normal_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
4122 octave_rand::exponential_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
4123 octave_rand::poisson_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
4124 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
|
4125 (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
|
4126 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
|
4127 (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
|
4128 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
4129 * 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
|
4130 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd |
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
4131 |
7521
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
4132 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
|
4133 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
4134 * 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
|
4135 specializations for signed and unsigned types. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
4136 (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
|
4137 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
|
4138 octave_int_helper class. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
4139 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
4140 * 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
|
4141 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
|
4142 with "template <>". |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
4143 |
7520 | 4144 2008-02-22 John W. Eaton <jwe@octave.org> |
4145 | |
4146 * CSparse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc, | |
4147 file-ops.cc, oct-group.cc, oct-shlib.cc, sparse-base-chol.h, | |
4148 sparse-dmsolve.cc: Use 0 instead of NULL. | |
4149 | |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4150 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
|
4151 |
9967 | 4152 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4153 (octave_idx_type) const): New method. |
9967 | 4154 * boolSparse.h (SparseBoolMatrix SparseBoolMatrix::diag |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4155 (octave_idx_type) const): Declare it. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4156 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4157 * 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
|
4158 factorization of xGETRF directly. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4159 * sparse-base-lu.cc (template <class lu_type, class lu_elt_type, |
9967 | 4160 class p_type, class p_elt_type> lu_type sparse_base_lu <lu_type, |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4161 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
|
4162 to simulate the retirn of xGETRF. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4163 * sparse-base-lu.h (template <class lu_type, class lu_elt_type, |
9967 | 4164 class p_type, class p_elt_type> lu_type sparse_base_lu <lu_type, |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4165 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
|
4166 (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
|
4167 * 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
|
4168 scaling. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4169 * SparseCmplxLU.cc: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4170 * 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
|
4171 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
|
4172 * SparseCmplxLU.h: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4173 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4174 * 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
|
4175 return permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4176 * 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
|
4177 * 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
|
4178 return row permutations as a vector. |
9967 | 4179 (ColumnVector Pc_vec (void) const): New method return column |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4180 permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4181 * 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
|
4182 (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
|
4183 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4184 * oct-spparms.cc: Add sym_tol field. |
9967 | 4185 |
7505
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
4186 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
|
4187 |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
4188 * SparseComplexQR.cc (ComplexMatrix |
9967 | 4189 SparseComplexQR::SparseComplexQR_rep::Q |
7505
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
4190 (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
|
4191 * SparseComplexQR.h (ComplexMatrix |
9967 | 4192 SparseComplexQR::SparseComplexQR_rep::Q |
7505
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
4193 (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
|
4194 * 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
|
4195 * 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
|
4196 |
7503
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4197 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
|
4198 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4199 * boolNDArray.h (boolNDArray (const Array2<bool>&)): Delete. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4200 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4201 * Marray2.h (MArray2 (const Array2<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4202 MArray2 (const MArray2<U>&)): New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4203 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4204 * Array2.h (Array2 (const Array<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4205 Array2 (const Array<U>&, const dim_vector&)): |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4206 New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4207 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4208 * CColVector.cc (ComplexColumnVector::map): Forward to MArray::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4209 * dColVector.cc (ColumnVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4210 * CRowVector.cc (ComplexRowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4211 * dRowVector.cc (RowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4212 * CMatrix.cc (ComplexMatrix::map): Forward to MArray2::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4213 * dMatrix.cc (Matrix::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4214 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4215 * dNDArray.cc (NDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4216 * dNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4217 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4218 * CNDArray.cc (ComplexNDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4219 * CNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4220 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4221 * MArray2.h (MArray2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4222 * Array2.h (Array2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4223 * MArrayN.h (MArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4224 * ArrayN.h (ArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4225 * Array.h (Array<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4226 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4227 * functor.h: New file. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4228 * Makefile.in (INCLUDES): Add it to the list. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4229 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4230 2008-02-20 David Bateman <dbateman@free.fr> |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4231 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4232 * CColVector.h, CColVector.cc (ComplexColumnVector::apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4233 * dColVector.h, dColVector.cc (ColumnVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4234 * CRowVector.h, CRowVector.cc (ComplexRowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4235 * dRowVector.h, dRowVector.cc (RowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4236 * CMatrix.h, CMatrix.cc (ComplexMatrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4237 * dMatrix.h, dMatrix.cc (Matrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4238 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4239 * CSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4240 (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
|
4241 * CSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4242 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4243 * dSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4244 (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
|
4245 * dSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4246 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4247 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4248 * intNDArray.cc (abs, signum): Two new mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4249 * intNDArray.h (abs, signum): Declare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4250 * 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
|
4251 base type. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4252 |
7486
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
4253 2008-02-15 John W. Eaton <jwe@octave.org> |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
4254 |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
4255 * 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
|
4256 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
|
4257 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
4258 |
7482
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
4259 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
|
4260 |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
4261 * 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
|
4262 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
|
4263 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
|
4264 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
|
4265 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
|
4266 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
|
4267 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc: |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
4268 Don't check f77_exception_encountered. |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
4269 |
7477 | 4270 2008-02-12 John W. Eaton <jwe@octave.org> |
4271 | |
4272 * CMatrix.cc: Declare xilaenv instead of ilaenv. | |
4273 (ComplexMatrix::lssolve): Call xilaenv instead of ilaenv. | |
4274 | |
7476 | 4275 2008-02-12 Jason Riedy <ejr@cs.berkeley.edu> |
9967 | 4276 |
7480 | 4277 * Array.cc (ascending_compare, descending_compare): Remove |
4278 non-standard extern in the instantiations. | |
4279 | |
4280 * oct-sort.cc: Include <cstring> and sprinkle with std:: as needed. | |
4281 | |
7476 | 4282 * dMatrix.cc (ILAENV): Declare LAPACK Fortran function. |
4283 (Matrix::lssolve): Use ILAENV to query smlsiz. And add an ugly | |
4284 workaround for DGELSD's broken lwork query. The formula is from | |
4285 LAPACK's dgelsd.f source and allocates enough workspace to use an | |
4286 efficient algorithm in the short-and-fat case (n > m). | |
4287 * CMatrix.cc (ILAENV): Declare LAPACK Fortran function. | |
4288 (ComplexMatrix::lssolve): Use ILAENV to query smlsiz. And add an | |
4289 ugly workaround for DGELSD's broken lwork query, as with double. | |
4290 | |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
4291 2008-02-12 John W. Eaton <jwe@octave.org> |
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
4292 |
7470
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
4293 * sparse-sort.cc: Don't explicitly instantiate |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
4294 class octave_sort<octave_idx_vector_sort *>, |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
4295 class octave_sort<octave_idx_type>, or |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
4296 class octave_sort<octave_sparse_sort_idxl *>. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
4297 |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
4298 * Sparse.h (INSTANTIATE_SPARSE_SORT): Delete macro. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
4299 * 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
|
4300 |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
4301 * 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
|
4302 |
7466
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
4303 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
|
4304 |
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
4305 * 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
|
4306 |
7463
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
4307 2008-02-08 John W. Eaton <jwe@octave.org> |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
4308 |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
4309 * oct-sort.h (enum sortmode): Eliminate UNDEFINED. Change all |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
4310 uses of UNDEFINED to ASCENDING. |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
4311 |
7457 | 4312 2008-02-07 John W. Eaton <jwe@octave.org> |
4313 | |
7458 | 4314 * Range.cc (Range::sort_internal): Rename from sort. New arg, |
4315 ASCENDING, with default value of true. | |
4316 (Range::sort_internal (Array<octave_idx_type>&, bool)): New function. | |
4317 (Range::sort (octave_idx_type, sortmode) const): New function. | |
4318 (Range::sort (Array<octave_idx_type>&, octave_idx_type, sortmode) | |
4319 const): New function. | |
4320 * Range.h: Fix/provide decls. | |
4321 | |
7457 | 4322 * intNDArray.cc (intNDArray<T>::any (int)): Use != for comparison. |
4323 | |
7449 | 4324 2008-02-06 John W. Eaton <jwe@octave.org> |
4325 | |
4326 * Makefile.in ($(OPTS_INC)): Use mv instead of move-if-change. | |
4327 (stamp-prereq): Eliminate. | |
4328 (clean): Don't remove stamp-prereq. | |
4329 (libraries): Don't depend on stamp-prereq. | |
4330 (PREREQ): New macro. | |
4331 ($(MAKEDEPS)): Depend on $(PREREQ), not stamp-prereq. | |
4332 (distclean): Simplify with $(PREREQ). | |
4333 (OPT_BASE): New macro. | |
4334 (OPT_IN): Rename from OPTS_INC_DATA. Define in terms of OPT_BASE. | |
4335 (OPT_INC): Rename from OPTS_INC. Define in terms of OPT_BASE. | |
4336 | |
7448 | 4337 2008-02-05 John W. Eaton <jwe@octave.org> |
4338 | |
4339 * Makefile.in: Unconditionally include $(MAKEDEPS). | |
4340 Mark $(MAKEDEPS) as .PHONY targets if omit_deps is true. | |
4341 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4342 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> |
7443 | 4343 |
4344 * Array.cc (ascending_compare, descending_compare, | |
4345 Array<T>::sort): Declare explicit specialization for T=double to | |
4346 avoid symbol duplication error at link time. | |
4347 * Array-d.cc (ascending_compare, descending_compare): Declare and | |
4348 define as nonmember functions, not member functions of Array<T>. | |
4349 | |
7442 | 4350 2008-02-03 John W. Eaton <jwe@octave.org> |
4351 | |
4352 * Array-i.cc: Also instantiate Arrays for long long type if it exists. | |
4353 | |
4354 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> | |
4355 | |
4356 * Array.cc: Don't include Range.h. | |
4357 | |
7433 | 4358 2008-01-31 David Bateman <dbateman@free.fr> |
4359 | |
4360 * oct-sort.cc: conversion of int to octave_idx_type where needed | |
4361 for 64-bit builds. | |
4362 (IFLT): Allow IFLT macro to be overridden. | |
4363 * oct-sort.h: conversion of int to octave_idx_type where needed | |
4364 for 64-bit builds. | |
4365 (enum sortmode): Type of sort to perform. | |
4366 (vec_index): Simple class to aid in indexed sorts. | |
9967 | 4367 |
7433 | 4368 * Array.h ( Array<T> sort (octave_idx_type, sortmode) const, |
4369 Array<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
4370 sortmode) const): Array sorting methods. | |
4371 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT): Macros to | |
4372 instantiate the array sorting methods. | |
4373 * Array.cc (ascending_compare, descending_compare): New template | |
4374 functions for generic sort comparison. | |
4375 ( Array<T> Array<T>::sort (octave_idx_type, sortmode) const, | |
4376 Array<T> Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, | |
4377 sortmode) const): Array sorting functions based of octave_sort | |
4378 class. | |
9967 | 4379 * Array-C.cc: Instantiate the complex array sort methods. |
7433 | 4380 (IFLT): New macro to override the one in the |
4381 octave_sort class to avoid need for Complex < and > operators. | |
4382 (static double xabs (const Complex&)): Complex abs function | |
4383 avoiding std::abs(Inf) returning NaN with some compilers. | |
4384 (ascending_compare, descending compare): override template | |
4385 functions for complex comparison. | |
9967 | 4386 * Array-d.cc: Instantiate the double array sort methods. |
4387 (Array<double> Array<double>::sort (octave_idx_type, | |
4388 sortmode) const, Array<double> Array<double>::sort | |
4389 (Array<octave_idx_type> &, octave_idx_type, sortmode) const): | |
7433 | 4390 Array sorting functions based of octave_sort using uint64 sorting |
4391 on IEE754 doubles, for speed and correct sorting of Inf and NaN. | |
4392 (ascending_compare, descending compare): override template | |
4393 functions for double and uint64 comparison. | |
9967 | 4394 * Array-b.cc, Array-ch.cc, Array-i.cc, Array-s.cc, Array-str.cc: |
7433 | 4395 Instantiate the array sort methods. |
4396 * Array-idx-vec.cc: Null instantiation of array sort methods. | |
4397 * Array2.h, Array3.h, ArrayN.h (sort): 2, 3 and N-dimensional | |
4398 versions of the sort methods based on Array<T>::sort. | |
4399 | |
4400 * CSparse.cc, dSparse.cc: Remove inclusion of octa-sort.h. | |
4401 * Sparse.h ( Sparse<T> sort (octave_idx_type, sortmode) const, | |
4402 Sparse<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
4403 sortmode) const): Sparse sorting methods. | |
9967 | 4404 (INSTANTIATE_ARRAY_SORT): Macro to instantiate the sparse sorting |
7433 | 4405 methods. |
4406 * Sparse.cc: replace sort with lsort throughout to avoid shadowing | |
4407 of new sort method. | |
4408 (sparse_ascending_compare, sparse_descending_compare): New template | |
4409 functions for generic sort comparison. | |
4410 ( Sparse<T> Sparse<T>::sort (octave_idx_type, sortmode) const, | |
4411 Sparse<T> Sparse<T>::sort (Sparse<octave_idx_type> &, octave_idx_type, | |
4412 sortmode) const): Sparse sorting functions based of octave_sort | |
4413 class. | |
9967 | 4414 * Sparse-C.cc: Instantiate the complex sparse sort methods. |
7433 | 4415 (IFLT): New macro to override the one in the |
4416 octave_sort class to avoid need for Complex < and > operators. | |
4417 (static double xabs (const Complex&)): Complex abs function | |
4418 avoiding std::abs(Inf) returning NaN with some compilers. | |
4419 (sparse_ascending_compare, sparse_descending compare): override | |
4420 template functions for complex comparison. | |
9967 | 4421 * Sparse-d.cc: Instantiate the cdouble sparse sort methods. |
7433 | 4422 (sparse_ascending_compare, sparse_descending compare): override |
4423 template functions for double comparison. | |
4424 * Array-b.cc: Instantiate the sparse sort methods. | |
4425 | |
7422 | 4426 2008-01-25 Jaroslav Hajek <highegg@gmail.com> |
4427 | |
4428 * idx-vector.h (idx_vector::idx_vector_rep::range_base, | |
4429 idx_vector::idx_vector_rep::range_step, | |
4430 idx_vector::idx_vector_rep::range_step): New data members. | |
4431 (idx_vector::idx_vector_rep::idx_vector_rep): Initialize them. | |
4432 * idx-vector.cc (IDX_VEC_REP::sort, IDX_VEC_REP::is_colon_equiv, | |
4433 IDX_VEC_REP::init_state, IDX_VEC_REP::operator =, | |
4434 IDX_VECTOR_REP::idx_vector_rep): Handle range. | |
4435 | |
7416 | 4436 2008-01-18 Marco Caliari <marco.caliari@univr.it> |
4437 | |
4438 * dMatrix.cc (Matrix::expm): Correctly perform reverse permutation. | |
4439 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
4440 | |
7408 | 4441 2008-01-22 Michael Goffioul <michael.goffioul@gmail.com> |
7407 | 4442 |
4443 * oct-time.cc (octave_base_tim::init): Validate pointer argument; | |
4444 this fixes the "localtime(-1)" crash under Windows. | |
4445 | |
7400 | 4446 2008-01-18 John W. Eaton <jwe@octave.org> |
4447 | |
4448 * dMatrix.cc (solve_singularity_warning): New function. | |
4449 (Matrix::expm): Pass pointer to solve_singularity_warning to | |
4450 Matrix::solve method. Exit early if Matrix::solve fails. | |
4451 Limit sqpow value to avoid overflowing scale factor. | |
4452 * CMatrix.cc (solve_singularity_warning): New function. | |
4453 (ComplexMatrix::expm): Pass pointer to solve_singularity_warning to | |
4454 ComplexMatrix::solve method. Exit early if ComplexMatrix::solve fails. | |
4455 Limit sqpow value to avoid overflowing scale factor. | |
7402 | 4456 From Marco Caliari <marco.caliari@univr.it>. |
7400 | 4457 |
7356 | 4458 2008-01-10 Kim Hansen <kimhanse@gmail.com> |
4459 | |
4460 * Sparse.cc: New tests for slicing of sparse matrices. | |
4461 | |
7350 | 4462 2008-01-07 David Bateman <dbateman@free.fr> |
4463 | |
4464 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Don't break from | |
4465 loop if this test succeeds. | |
4466 | |
7342 | 4467 2008-01-03 David Bateman <dbateman@free.fr> |
4468 | |
4469 * MSparse.cc (SPARSE_A2A2_OP): If first arg is scalar zero, then | |
4470 need unary operator on remaining argument | |
4471 * Sparse-op-defs.h (SPARSE_SMSM_BIN_OP_1): ditto. | |
4472 | |
7334 | 4473 2007-12-21 John W. Eaton <jwe@octave.org> |
4474 | |
4475 Version 3.0.0 released. | |
4476 | |
7322 | 4477 2007-12-18 David Bateman <dbateman@free.fr> |
4478 | |
9967 | 4479 * Sparse.cc (template <class T> Sparse<T> Sparse<T>::index |
4480 (idx_vector&, int) const): Fix case indexing of non zero scalar | |
7322 | 4481 stored as a sparse matrix. |
9967 | 4482 (template <class T> Sparse<T> Sparse<T>::index (idx_vector&, |
7322 | 4483 idx_vector&, int) const): For the non permutated indexing case, |
4484 fix link list calculation and use. | |
4485 | |
7321 | 4486 2007-12-17 John W. Eaton <jwe@octave.org> |
4487 | |
4488 * Array.cc (Array<T>::indexN): Correctly handle scalar indexed by | |
4489 N-d array. | |
4490 | |
7318 | 4491 2007-12-17 David Bateman <dbateman@free.fr> |
4492 | |
4493 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Use ridx for row | |
4494 index. | |
4495 | |
7299 | 4496 2007-12-11 John W. Eaton <jwe@octave.org> |
4497 | |
4498 * Sparse.cc (Sparse<T>::index (idx_vector&, int) const): | |
4499 If indexing scalar with empty matrix, return empty array with same | |
4500 size as index. | |
4501 | |
7272 | 4502 2007-12-10 John W. Eaton <jwe@octave.org> |
4503 | |
7279 | 4504 * NLEqn.h (NLEqn::fval): New data member. Adjust constructors |
4505 and assignment operator. | |
4506 (NLEqn::function_value): New function. | |
4507 * NLEqn.cc (NLEqn::solve): If solution is successful, compute | |
4508 function value. | |
4509 | |
7272 | 4510 * file-ops.cc (file_ops::concat): New function. |
4511 * file-ops.h: Provide decl. | |
4512 | |
7270 | 4513 2007-12-07 John W. Eaton <jwe@octave.org> |
4514 | |
4515 * oct-time.cc (octave_base_tm::init): Only assign t->tm_zone if it | |
4516 is not 0. | |
4517 | |
7269 | 4518 2007-12-07 David Bateman <dbateman@free.fr> |
4519 | |
4520 * Sparse-op-defs.h (SPARSE_SMS_CMP_OP, SPARSE_SMS_BOOL_OP, | |
9967 | 4521 SPARSE_SSM_CMP_OP, SPARSE_SSM_BOOL_OP, SPARSE_SMSM_CMP_OP, |
7269 | 4522 SPARSE_SMSM_BOOL_OP, SPARSE_BASE_REDUCTION_OP): Use sparse |
4523 indexing where possible rather than the elem method. | |
4524 (SPARSE_REDUCTION_OP_ROW_EXPR, SPARSE_REDUCTION_OP_COL_EXPR, | |
4525 SPARSE_ANY_ALL_OP_ROW_CODE, SPARSE_ANY_ALL_OP_COL_CODE): | |
4526 Replace for new version of SPARSE_BASE_REDUCTION_OP. | |
4527 (SPARSE_ALL_OP): Specialize the initial value, and only treat dim | |
4528 = 0 directly. | |
4529 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::sumsq (int) | |
4530 const): Replace ROW_EXPR and COL_EXPR functions for new version of | |
4531 SPARSE_BASE_REDUCTION_OP. | |
4532 (SparseComplexMatrix SparseComplexMatrix::prod (int) const): | |
4533 Specialize the initial value, and only treat dim = 0 directly. | |
4534 * dSparse.cc (SparseMatrix SparseMatrix::sumsq (int) const): | |
4535 ditto. | |
4536 (SparseMatrix SparseMatrix::prod (int) const): ditto. | |
4537 | |
7265 | 4538 2007-12-06 John W. Eaton <jwe@octave.org> |
4539 | |
4540 * CMatrix.cc (ComplexMatrix::expm): Update pointers to internal | |
4541 data for npp and dpp after assignments. | |
4542 * dMatrix.cc (Matrix::expm): Use same method as ComplexMatrix::expm. | |
4543 | |
7253 | 4544 2007-12-04 John W. Eaton <jwe@octave.org> |
4545 | |
4546 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
4547 Do nothing if one index is empty. | |
4548 | |
7246 | 4549 2007-12-04 David Bateman <dbateman@free.fr> |
4550 | |
4551 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
4552 Resize matrix as well if one dimension of lhs is zero and the rhs | |
4553 index exceeds the lhs index. | |
4554 * Sparse.cc (assign1 (Sparse<LT>&, const Sparse<RT>&)): | |
4555 Don't resize to a smaller matrix for empty matrices with a max rhs | |
4556 index smaller than the non zero lhs index. | |
4557 | |
4558 2007-12-04 Michael Goffioul <michael.goffioul@gmail.com> | |
4559 | |
4560 * Array-util.h: Tag permute_vector_compare with OCTAVE_API. | |
4561 | |
7241 | 4562 2007-12-03 Moritz Borgmann <octave@moriborg.de> |
4563 | |
4564 * Array-util.cc (permute_vector_compare): Move here from Array.cc. | |
4565 * Array-util.h (permute_vector, permute_vector_compare): Provide decls. | |
4566 * Array.cc (permute_vector, permute_vector_compare): Delete. | |
4567 | |
7238 | 4568 2007-12-03 David Bateman <dbateman@free.fr> |
4569 | |
4570 * Sparse.cc (template <class LT, class RT> int assign | |
4571 (Sparse<LT>&, const Sparse<RT>&)): Only set return matrix size to | |
4572 rhs values if both no. rows and columns are zero. | |
4573 | |
7231 | 4574 2007-11-30 John W. Eaton <jwe@octave.org> |
4575 | |
7234 | 4576 * oct-sort.cc, oct-sort.h: Style fixes. |
4577 | |
7231 | 4578 * lo-math.h: New file. |
4579 * Makefile.in (INCLUDES): Add it to the list. | |
4580 * liboctave/Array2.h, liboctave/ArrayN.h, liboctave/CmplxDET.cc, | |
4581 liboctave/DASPK.cc, liboctave/DASPK.h, liboctave/DASRT.cc, | |
4582 liboctave/DASRT.h, liboctave/DASSL.cc, liboctave/DASSL.h, | |
4583 liboctave/LSODE.cc, liboctave/LSODE.h, liboctave/NLEqn.h, | |
4584 liboctave/Quad.h, liboctave/Range.cc, liboctave/dbleDET.cc, | |
4585 liboctave/lo-cieee.c, liboctave/lo-ieee.cc, | |
4586 liboctave/lo-mappers.cc, liboctave/oct-time.cc, | |
4587 liboctave/oct-time.h, liboctave/randgamma.c, | |
4588 liboctave/randmtzig.c, liboctave/randpoisson.c: Include lo-math.h | |
4589 instead of cmath or math.h. | |
4590 * lo-mappers.h: Don't include sunmath.h here. | |
4591 | |
7198 | 4592 2007-11-26 John W. Eaton <jwe@octave.org> |
4593 | |
4594 * idx-vector.h (idx_vector::idx_vector_rep (const intNDArray<U>&)): | |
4595 Eliminate unnecessary second arg from call to tree_to_mat_idx. | |
4596 | |
4597 * oct-inttypes.h (operator bool, operator char): Delete. | |
4598 (bool_value, char_value, double_value, float_value): New functions. | |
4599 | |
7189 | 4600 2007-11-26 David Bateman <dbateman@free.fr> |
4601 | |
4602 * intNDArray.cc (template <class T> intNDArray<T> | |
4603 intNDArray<T>::max (int) const, template <class T> intNDArray<T> | |
4604 intNDArray<T>::max (ArrayN<octave_idx_type>&, int) const, | |
9967 | 4605 template <class T> intNDArray<T> intNDArray<T>::min (int) const, |
4606 template <class T> intNDArray<T> intNDArray<T>::min | |
7189 | 4607 (ArrayN<octave_idx_type>&, int) const): New methods for integer |
4608 classes. | |
4609 * intNDArray.h (class intNDArray): Add min/max methods | |
4610 * mx-op-defs.h (MIXMAX_DECLS, MINMAX_FCNS, SND_MINMAX_FCN, | |
4611 NDS_MINMAX_FCN, NDND_MINMAX_FCN): New macro for instantiation of | |
4612 min/max functions. | |
9967 | 4613 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, |
7189 | 4614 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h |
4615 (MINMAX_DECLS(T)): Declare the min/max functions for integer | |
4616 types. | |
9967 | 4617 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, |
7189 | 4618 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc |
4619 (MINMAX_FCNS(T)): Instantiate the min/max functions for integer | |
4620 types. | |
4621 | |
4622 * Arrayc.cc (Array<T>::index (idx_vector&, idx_vector&, int, | |
4623 const T& rfv) const): If ndims != 2 call ND version of index. | |
4624 | |
7176 | 4625 2007-11-14 John W. Eaton <jwe@octave.org> |
4626 | |
7178 | 4627 * oct-inttypes.h (opeator T (void) const): New conversion operator. |
4628 | |
7176 | 4629 * lo-specfun.cc (zbesi): When alpha is negative, don't limit |
4630 correction to half-integer values. From Eric Chassande-Mottin | |
4631 <echassandemottin@gmail.com>. | |
4632 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4633 2007-11-07 Michael Goffioul <michael.goffioul@gmail.com> |
7124 | 4634 |
4635 * dMatrix.cc, CMatrix.cc: Help MSVC compiler to resolve | |
4636 ambiguities related to math functions (in C++ mode). | |
4637 | |
7102 | 4638 2007-11-06 David Bateman <dbateman@free.fr> |
4639 | |
7113 | 4640 * intNDArray.cc (intNDArray<T> intNDArray<T>::sum (int) const): |
4641 New method. | |
4642 * intNDarray.h (intNDArray sum (int) const): Declare it. | |
4643 * boolNDArray.cc (boolNDArray boolNDArray::sum (int) const): | |
4644 New method. | |
4645 * boolNDarray.cc (boolNDArray sum (int) const): Declare it. | |
7102 | 4646 * MArray-def.h (MARRAY_NORM_BODY): Scale frobenius norm by infinity |
4647 norm to avoid issues of over- and underflow. From Rolf Fabian | |
4648 <Rolf.Fabian@gmx.de>. | |
4649 | |
7081 | 4650 2007-10-30 David Bateman <dbateman@free.fr> |
4651 | |
4652 * DASRT-opts.in, LSODE-opts.in: Doc fixes for small book format. | |
4653 | |
7079 | 4654 2007-10-30 John W. Eaton <jwe@octave.org> |
4655 | |
4656 * CMatrix.cc (lssolve): Compute size of rwork and iwork arrays. | |
4657 * dMatrix.cc (lssolve): Compute size of iwork array. | |
4658 | |
7076 | 4659 2007-10-29 David Bateman <dbateman@free.fr> |
4660 | |
9967 | 4661 * CMatrix.h (lssolve (const Matrix&, octave_idx_type&, |
4662 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
4663 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
4664 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
4665 double& rcond) const, lssolve (const ComplexColumnVector&, | |
7076 | 4666 octave_idx_type&, octave_idx_type&, double& rcond) const): New |
4667 declarations. | |
9967 | 4668 * CMatrix.cc (lssolve (const Matrix&, octave_idx_type&, |
4669 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
4670 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
4671 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
4672 double& rcond) const, lssolve (const ComplexColumnVector&, | |
7076 | 4673 octave_idx_type&, octave_idx_type&, double& rcond) const): New |
4674 methods. | |
4675 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
9967 | 4676 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, |
7076 | 4677 octave_idx_type&, double&) const): Also return rcond from the |
4678 singular values returned by XGELSD. | |
9967 | 4679 * dMatrix.h (lssolve (const Matrix&, octave_idx_type&, |
4680 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
4681 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
4682 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
4683 double& rcond) const, lssolve (const ComplexColumnVector&, | |
7076 | 4684 octave_idx_type&, octave_idx_type&, double& rcond) const): New |
4685 declarations. | |
9967 | 4686 * dMatrix.cc (lssolve (const Matrix&, octave_idx_type&, |
4687 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
4688 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
4689 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
4690 double& rcond) const, lssolve (const ComplexColumnVector&, | |
7076 | 4691 octave_idx_type&, octave_idx_type&, double& rcond) const): New |
4692 methods. | |
4693 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
9967 | 4694 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, |
7076 | 4695 octave_idx_type&, double&) const): Also return rcond from the |
4696 singular values returned by XGELSD. | |
9967 | 4697 |
7072 | 4698 2007-10-26 David Bateman <dbateman@free.fr> |
4699 | |
4700 * dMatrix.cc (Matrix::lssolve): Use xGELSD for rank deficient | |
4701 matrices to avoid reliability issues with xGELSY. | |
4702 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. | |
7071 | 4703 |
7065 | 4704 2007-10-25 John W. Eaton <jwe@octave.org> |
4705 | |
4706 * oct-time.cc (octave_gmtime::init, octave_localtime::init): | |
4707 Call unix_time on arg instead of relying on conversion operator. | |
4708 | |
4709 * oct-time.h (octave_time::double_value): New function. | |
4710 (octave_time::operator double () const): Delete. | |
4711 (octave_time::operator time_t () const): Delete. | |
4712 | |
7058 | 4713 2007-10-24 John W. Eaton <jwe@octave.org> |
4714 | |
4715 * strptime.c: Also compile if OCTAVE_HAVE_BROKEN_STRPTIME is defined. | |
4716 | |
7052 | 4717 2007-10-23 John W. Eaton <jwe@octave.org> |
4718 | |
4719 * CRowVector.cc (operator * const ComplexRowVector&, const | |
4720 ComplexColumnVector&)): Delete spurious code left from patch. | |
4721 | |
7048 | 4722 2007-10-22 Kim Hansen <kimhanse@gmail.com> |
4723 | |
4724 * chMatrix.cc, lo-utils.cc, oct-env.cc, oct-uname.cc, | |
4725 sparse-sort.cc: Include <cstring>. | |
4726 | |
7036 | 4727 2007-10-17 John W. Eaton <jwe@octave.org> |
4728 | |
4729 * oct-sparse.h: Don't include metis.h. | |
4730 | |
4731 * dSparse.cc (SparseMatrix::fsolve): Delete special code for METIS. | |
4732 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
4733 * sparse-base-chol.cc (sparse_base_chol<chol_type, chol_elt, | |
4734 p_type>::sparse_base_chol_rep::init): Likewise. | |
4735 | |
7033 | 4736 2007-10-16 John W. Eaton <jwe@octave.org> |
4737 | |
4738 * dMatrix.cc (Matrix::inverse): Only check rcond == 0 if the | |
4739 matrix is hermitian or calc_cond is true. | |
4740 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
4741 | |
7016 | 4742 2007-10-12 John W. Eaton <jwe@octave.org> |
4743 | |
4744 * Change copyright notices in all files that are part of Octave to | |
4745 GPLv3 or any later version. | |
4746 | |
7007 | 4747 2007-10-11 Brian Gough <bjg@network-theory.co.uk> |
4748 | |
4749 * DASSL-opts.in, LSODE-opts.in: Spelling fixes. | |
4750 | |
7001 | 4751 2007-10-10 Olli Saarela <Olli.Saarela@kcl.fi> |
4752 | |
4753 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in: Spelling fixes. | |
4754 | |
7000 | 4755 2007-10-10 John W. Eaton <jwe@octave.org> |
4756 | |
4757 * LPsolve.h, LPsolve.cc: Delete. | |
4758 * Makefile.in: Remove them from the INCLUDES and | |
4759 LIBOCTAVE_CXX_SOURCES lists. | |
4760 | |
6989 | 4761 2007-10-09 John W. Eaton <jwe@octave.org> |
4762 | |
6996 | 4763 * oct-time.cc (octave_strptime::init): Initialize t.tm_mon to -1 |
4764 and t.tm_year to INT_MIN before call to oct_strptime. Adjust | |
4765 values to zero after call if they remain unchanged. | |
4766 | |
6989 | 4767 * dSparse.cc (SparseMatrix::all_elements_are_zero): New function. |
4768 * dNDArray.cc (NDArray::all_elements_are_zero): New function. | |
4769 | |
6988 | 4770 2007-10-09 David Bateman <dbateman@free.fr> |
4771 | |
6995 | 4772 * oct-time.cc (octave_strptime::init): Only call mktime if mday is |
4773 valud and mon and year are also filled in. | |
4774 | |
6990 | 4775 * Array2.h (Array2<T>::Array2(const dim_vector&), |
4776 Array2<T>::Array(const dim_vector&, const T&)): Check that | |
4777 dim_vector is 2 dimensional. | |
4778 | |
6988 | 4779 * Sparse.cc (Sparse<T> Sparse<T>::index (idx_vector&, idx_vector&, |
4780 int)): Remove a for loop in the random indexing case at the | |
9967 | 4781 expense of maintaining a set of linked lists of indices that point |
6988 | 4782 to the same column in the original matrix. |
4783 (int assign (Sparse<LT>&, Sparse<RT>)): Take a const copy of lhs | |
4784 and use it on the RHS of expressions to avoid unnecessary calls to | |
4785 make_unique. | |
4786 | |
6979 | 4787 2007-10-08 David Bateman <dbateman@free.fr> |
4788 | |
4789 * oct-rl-edit. (typedef rl_quoting_fcn_ptr, rl_dequoting_fcn_ptr, | |
4790 rl_char_is_quoted_fcn_ptr, rl_command_fcn_ptr): New typedefs | |
4791 for readline compatible functions. | |
4792 (octave_rl_redisplay): Redisplay the current line of text. | |
4793 (octave_rl_newline): Change interface to the same | |
4794 as used by the equivalent readline function itself. | |
4795 (octave_rl_filename_quoting_desired, | |
4796 octave_rl_set_filename_quote_characters, | |
4797 octave_rl_set_completer_quote_characters, | |
4798 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
4799 octave_rl_set_char_is_quoted_function): New functions to control | |
4800 readline filename quoting and line acceptace. | |
4801 * oct-rl-edit.c (octave_rl_newline): Change interface to the same | |
4802 as used by the equivalent readline function itself. | |
4803 (octave_rl_redisplay): Redisplay the current line of text. | |
4804 (octave_rl_filename_quoting_desired, | |
4805 octave_rl_set_filename_quote_characters, | |
4806 octave_rl_set_completer_quote_characters, | |
4807 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
4808 octave_rl_set_char_is_quoted_function): New functions to control | |
4809 readline filename quoting and line acceptace. | |
4810 * cmd-edit.h (typedef quoting_fcn, typedef dequoting_fcn, | |
4811 typedef char_is_quoted_fcn, user_accept_line_fcn): New typedefs | |
4812 to map C++ function to readline compatible functions. | |
4813 (set_filename_quote_characters): New function to set the | |
4814 characters to if they appear in a filename that force the filename | |
4815 to be quoted. | |
4816 (set_completer_quote_characters): The characters that the readline | |
4817 completion function considers as quotation characters. | |
4818 (set_quoting_function, set_dequoting_function, | |
4819 set_char_is_quoted_function, set_user_accept_line_function): | |
4820 Functions to set the Octave functions to perform quoting and the | |
4821 acceptance of a line of text by readline. | |
4822 (get_quoting_function, get_dequoting_function, | |
4823 get_char_is_quoted_function, get_user_accept_line_function): | |
4824 Functions to get the above functions. | |
4825 (accept_line): New method for the command_editor to accept a line | |
4826 of text. | |
4827 (file_quoting_desired): Function to set whether readline should | |
4828 attempt to quote filenames. | |
9967 | 4829 (do_set_filename_quoting_characters, |
6979 | 4830 do_set_completer_quote_characters, do_set_quoting_function, |
4831 do_set_dequoting_function, do_set_char_is_quoted_function, | |
4832 do_set_user_accept_line_function, do_get_quoting_function, | |
4833 do_get_dequoting_function, do_get_char_is_quoted_function, | |
4834 do_get_user_accept_line_function, do_filename_quoting_desired): | |
4835 Virtual functions to control the behavior of readline quoting and | |
4836 acceptance of lines. | |
4837 (do_accept_line): Virtual function for the accept line function. | |
9967 | 4838 * cmd-edit.cc (class gnu_readline do_set_filename_quote_characters, |
6979 | 4839 do_completer_quote_characters, do_set_quoting_function, |
4840 do_set_dequoting_function, do_set_char_is_quoted_function, | |
4841 do_set_user_accept_line_function, do_get_quoting_function, | |
9967 | 4842 do_get_dequoting_function, do_get_user_accept_line_function, |
6979 | 4843 do_accept_line, do_filename_quoting_desired, command_quoter, |
4844 command_dequoter, command_char_is_quoted, command_accept_line): | |
9967 | 4845 New functions in gnu_readline class to control filename quoting |
6979 | 4846 and line acceptance. |
4847 (quoting_function, dequoting_function, char_is_quoted_function, | |
4848 user_accept_line_function): private variable to store functions | |
4849 supplied for readline quoting and line acceptance. | |
4850 (gnu_readline::gnu_readline): Also set the new function pointers | |
4851 to zero. | |
4852 (gnu_readline::do_newline): Adapt to new octave_rl_newline | |
4853 interface. | |
4854 (gnu_readeline::operate_and_get_next): Use new accept_line | |
4855 function rather than newline. | |
4856 (default_ommand_editor::do_accept_line): New method. | |
9967 | 4857 (class command_editor set_filename_quote_characters, |
6979 | 4858 set_completer_quote_characters, set_quoting_function, |
4859 set_dequoting_function, set_char_is_quoted_function, | |
4860 set_user_accept_line_function, get_quoting_function, | |
9967 | 4861 get_dequoting_function, get_user_accept_line_function, |
6979 | 4862 accept_line, filename_quoting_desired): New functions checking |
4863 instance before calling virtual function. | |
4864 | |
4865 * CMatrix.h, dMatrix.h, boolMatrix.h, chMatrix.h, MArray2.h, | |
4866 Array2.h: Add dim_vector constructors. | |
4867 * charNDArray.h (charNDArray (const dim_vector&)): Add missing | |
9967 | 4868 const to dim_vector constructors. |
6979 | 4869 * boolMatrix.cc, chMatrix.cc, intNDArray.cc (diag (void), diag |
4870 (octave_idx_type)): New methods to constructor diagonal matrices. | |
4871 * boolMatrix.h, chMatrix.h, intNDArray.h (diag (void), diag | |
4872 (octave_idx_type)): Declare them. | |
4873 | |
6969 | 4874 2007-10-06 John W. Eaton <jwe@octave.org> |
4875 | |
4876 * lo-specfun.cc: (zlgamma): Delete. | |
4877 (xgamma): Use C library gamma function if available. | |
4878 (xlgamma): Use C library lgamma function if available. | |
4879 (xlgamma) [! HAVE_LGAMMA]: Allow calculation for any value of X | |
4880 other than NaN or Inf. | |
4881 | |
6961 | 4882 2007-10-05 John W. Eaton <jwe@octave.org> |
4883 | |
4884 * lo-specfun.cc (zlgamma): New function. | |
4885 | |
6959 | 4886 2007-10-04 John W. Eaton <jwe@octave.org> |
4887 | |
4888 * oct-sort.cc (octave_sort<T>::binarysort): Remove register | |
4889 qualifiers on local variables. | |
4890 | |
6958 | 4891 2007-10-04 Marco Caliari <mcaliari@math.unipd.it> |
4892 | |
4893 * CMatrix.cc (ComplexMatrix::expm): Limit shift to values less | |
4894 than log(realmax) to avoid issues with NaN. | |
4895 | |
6940 | 4896 2007-10-01 John W. Eaton <jwe@octave.org> |
4897 | |
6941 | 4898 * oct-time.cc (octave_strptime::init): Call mktime to propertly |
4899 initialize wday and yday. | |
4900 From Matthias Drochner <m.drochner@fz-juelich.de>. | |
4901 | |
6940 | 4902 * cmd-edit.cc (command_editor::do_decode_prompt_string): Don't |
4903 insert extra '\001' when decoding \[ and \]. | |
4904 | |
6926 | 4905 2007-09-26 David Bateman <dbateman@free.fr> |
4906 | |
4907 * dMatrix.cc (lssolve): Replace the use of xGELSS with xGELSY with | |
4908 is much faster and no less accurate. | |
4909 * CMatrix.cc (lssolve): ditto. | |
4910 | |
6924 | 4911 2007-09-25 David Bateman <dbateman@free.fr> |
4912 | |
4913 * dMatrix.cc (utsolve, ltsolve, fsolve, lssolve): Allow | |
4914 zero dimensioned matrices. | |
9967 | 4915 * CMatrix.cc (utsolve, ltsolve, fsolve, lssolve): ditto. |
6924 | 4916 * dSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): |
4917 ditto. | |
4918 * CSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
4919 ditto. | |
4920 * SparseQR.cc (SparseQR::SparseQR_rep::C, qrsolve): ditto. | |
4921 * SparseCmplxQR.cc (SparseComplexQR::SparseComplexQR_rep::C, | |
4922 qrsolve): ditto. | |
4923 * sparse-dmsolve.cc (dmsolve): ditto. | |
4924 | |
6922 | 4925 2007-09-21 John W. Eaton <jwe@octave.org> |
4926 | |
4927 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): | |
4928 Also allow resizing empty LHS if it is 1x0 or 0xN. | |
4929 | |
6916 | 4930 2007-09-19 John W. Eaton <jwe@octave.org> |
4931 | |
4932 * cmd-edit.cc (command_editor::remove_startup_hook): | |
4933 Fix cut-and-paste error. | |
6917 | 4934 (gnu_readline::set_startup_hook): Only set hook function if new |
4935 function is different from the current one. | |
6916 | 4936 |
6913 | 4937 2007-09-18 John W. Eaton <jwe@octave.org> |
4938 | |
4939 * cmd-edit.h, cmd-edit.cc (command_editor::startup_hook_set, | |
4940 command_editor::event_hook_set): New static data. | |
4941 (default_command_editor::set_startup_hook, | |
4942 gnu_readline::set_startup_hook, | |
4943 default_command_editor::restore_startup_hook, | |
4944 gnu_readline_restore_event_hook): | |
4945 Rename from do_set_startup_hook and do_set_event_hook. | |
4946 (gnu_readline::operate_and_get_next): Call | |
4947 command_editor::add_startup_hook, not | |
4948 command_editor::set_startup_hook. | |
4949 (command_editor::startup_handler, command_editor::event_handler): | |
4950 New functions. | |
4951 (command_editor::add_startup_hook, command_editor::add_event_hook, | |
4952 command_editor::remove_startup_hook, | |
4953 command_editor::remove_event_hook): Rename from set_startup_hook | |
4954 and restore_startup_hook. Handle hook sets here. | |
4955 * cmd-edit.cc (gnu_history::do_goto_mark): | |
4956 Call remove_startup_hook instead of restore_startup_hook. | |
4957 | |
6907 | 4958 2007-09-17 John W. Eaton <jwe@octave.org> |
4959 | |
4960 * lo-utils.cc (octave_read_complex, octave_read_double): Skip | |
4961 leading whitespace. | |
4962 | |
6897 | 4963 2007-09-13 John W. Eaton <jwe@octave.org> |
4964 | |
4965 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
4966 octave_read_complex): Use istream::get instead of >> to read | |
4967 individual characters. | |
4968 | |
6884 | 4969 2007-09-10 John W. Eaton <jwe@octave.org> |
4970 | |
4971 * Array.cc (assign1): Don't call make_unique for invalid assignment. | |
4972 | |
4973 2007-09-10 David Bateman <dbateman@free.fr> | |
4974 | |
4975 * Array.h (Array<T>::make_unique): Make public so that the | |
4976 ::assign functions can access it directly. | |
4977 * Array.cc (Array<T>::maybe_delete_elements_1(idx_vector&), | |
4978 Array<T>::maybe_delete_elements_1(idx_vector&), | |
4979 Array<T>::maybe_delete_elements(idx_vector&, idx_vector&), | |
4980 Array<T>::maybe_delete_elements(Array<idx_vector>&, const T&)): | |
4981 Use xelem for non const RHS to avoid call to make_unique. | |
4982 (int assign1 (Array<LT>&, const Array<RT>&, const LT&)): Use | |
4983 xelem for LHS and call lhs.make_unique() only once. Special case | |
4984 the is_colon index case and use Array<T>::xelem(octave_idx_type) | |
4985 rather than Array<T>::xelem(octave_idx_type,octave_idx_type) and | |
4986 bring the additional multiplication out of the inner loop. | |
4987 (int assign2 (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
4988 (int assignN (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
9967 | 4989 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep |
6884 | 4990 (const Range& r)): Don't use init_state() method but special case |
4991 as with a Range can avoid exhaustive search. | |
4992 | |
6881 | 4993 2007-09-07 John W. Eaton <jwe@octave.org> |
4994 | |
4995 * Array.cc (Array<T>::fortran_vec): Call make_unique instead of | |
4996 manipulating rep directly. | |
4997 | |
4998 * Array.h (idx, idx_count): Declare mutable. | |
4999 (Array<T>::set_index, Array<T>::clear_index, Array<T>::value): | |
5000 Now const. | |
5001 | |
6867 | 5002 2007-09-06 David Bateman <dbateman@free.fr> |
5003 | |
9967 | 5004 * Array-util.cc (increment_index): dimensions can have singleton |
5005 trailing dimensions. | |
5006 * Array.h (range_error, xelem, checkelem, elem, operator ()): | |
5007 Modify use of Array<int> to Array<octave_idx_type> and adjust | |
5008 where necessary. | |
5009 * Array.cc (range_error): ditto. | |
5010 * MArrayN.h (permute, ipermute): ditto. | |
5011 * ArrayN.h (permute, ipermute): ditto. | |
5012 * so-array.cc (streamoff_array::compute_index): ditto. | |
5013 * so-array.h (compute_index): ditto. | |
5014 * CMattrix.cc (ComplexMatrix::exmpm): ditto. | |
6867 | 5015 |
6840 | 5016 2007-08-29 David Bateman <dbateman@free.fr> |
5017 | |
9967 | 5018 * dSparse.cc (SparseMatrix SparseMatrix::inverse (MatrixType &, |
5019 octave_idx_type&, double&, int, int)): Calculate with LU even for | |
5020 matrices marked as singular. | |
5021 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::inverse ( | |
5022 MatrixType &, octave_idx_type&, double&, int, int)): ditto. | |
5023 * dMatrix.cc (Matrix Matrix::inverse (MatrixType &, octave_idx_type&, | |
5024 double&, int, int)): ditto. If rcond==0 force matrix of infinities. | |
5025 * dMatrix.cc (ComplexMatrix ComplexMatrix::inverse (MatrixType &, | |
5026 octave_idx_type&, double&, int, int)): ditto. | |
6840 | 5027 |
6838 | 5028 2007-08-27 John W. Eaton <jwe@octave.org> |
5029 | |
5030 * oct-env.cc (octave_env::rooted_relative_pathname, | |
5031 octave_env::do_rooted_relative_pathname): New functions. | |
5032 * oct-env.h: Provide decls. | |
5033 | |
6823 | 5034 2007-08-24 David Bateman <dbateman@free.fr> |
5035 | |
9967 | 5036 * MSparse.h (MSparse<T>& insert (const Sparse<T>&, |
5037 const Array<octave_idx_type>&)): New method. | |
5038 (MSparse (const dim_vector&, octave_idx_type)): Ditto. | |
5039 * dSparse.h (SparseMatrix& SparseMatrix::insert (const | |
5040 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
5041 (SparseMatrix (const dim_vector&, octave_idx_type)): ditto. | |
5042 * dSparse.cc (SparseMatrix& SparseMatrix::insert (const | |
5043 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
5044 * boolSparse.h (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
5045 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
5046 * boolSparse.cc (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
5047 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
5048 * CSparse.h (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
5049 SparseMatrix&, const Array<octave_idx_type>&), | |
5050 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
5051 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
5052 (SparseComplexMatrix (const dim_vector&, octave_idx_type)): ditto. | |
5053 * CSparse.cc (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
5054 SparseMatrix&, const Array<octave_idx_type>&), | |
5055 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
5056 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
6823 | 5057 |
6817 | 5058 2007-08-19 David Bateman <dbateman@free.fr> |
5059 | |
5060 * Sparse.cc (Sparse<T>::permute): Avoid shadowing warning. | |
5061 | |
6813 | 5062 2007-08-14 John W. Eaton <jwe@octave.org> |
5063 | |
5064 * Sparse.cc (Sparse<T>::permute): permutation vector is zero based. | |
5065 Simplify. | |
6814 | 5066 (Sparse<T>::reshape): Warn about reshaping to N-d array. |
6813 | 5067 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
5068 2007-08-10 Michael Goffioul <michael.goffioul@gmail.com> |
6810 | 5069 |
5070 * file-stat.cc (file_stat::update_internal) [__WIN32__]: | |
5071 Remove trailing dir separator when stat'ing directory except for | |
5072 root directory. | |
5073 | |
6796 | 5074 2007-07-25 David Bateman <dbateman@free.fr> |
9967 | 5075 |
5076 * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" | |
6796 | 5077 to work. |
5078 | |
6764 | 5079 2007-06-04 David Bateman <dbateman@free.fr> |
5080 | |
5081 * oct-inttypes.h (octave_int<T>& operator <<= (const T2&), | |
5082 octave_int<T>& operator >>= (const T2&)): Make shift operators | |
5083 perform a twos complement arithmetic shift for both signed and | |
5084 unsigned integers regardless of compiler implementations. | |
5085 | |
6708 | 5086 2007-06-13 Michael Goffioul <michael.goffioul@swing.be> |
5087 | |
6719 | 5088 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): For CXSparse 2.2 and greater |
5089 use cs_complex_t(0,0) for the complex zero. | |
5090 | |
6708 | 5091 * MArray-ch.cc, MArray-d.cc, MArray-i.cc, MArray-s.cc: |
5092 Sprinkle class instantiations with OCTAVE_API as needed. | |
5093 | |
5094 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY, | |
5095 INSTANTIATE_ARRAY_AND_ASSIGN): New arg, API. Change all uses. | |
5096 * MArray-defs.h (MARRAY_OP_ASSIGN_DECL, MARRAY_OP_ASSIGN_DECLS, | |
5097 MARRAY_OP_ASSIGN_FWD_DECLS, MARRAY_OP_ASSIGN_FRIENDS, | |
5098 MARRAY_OP_ASSIGN_DEFS, MARRAY_UNOP, MARRAY_UNOP_DECLS, | |
5099 MARRAY_UNOP_FWD_DECLS, MARRAY_UNOP_FRIENDS, MARRAY_UNOP_DEFS, | |
5100 MARRAY_BINOP_DECL, MARRAY_BINOP_DECLS, MARRAY_AA_BINOP_DECLS, | |
5101 MDIAGARRAY2_DAS_BINOP_DECLS, MDIAGARRAY2_SDA_BINOP_DECLS, | |
5102 MDIAGARRAY2_DADA_BINOP_DECLS, MARRAY_BINOP_FWD_DECLS, | |
5103 MDIAGARRAY2_BINOP_FWD_DECLS, MARRAY_BINOP_FRIENDS, | |
5104 MDIAGARRAY2_BINOP_FRIENDS, MARRAY_BINOP_DEFS, | |
5105 MDIAGARRAY2_BINOP_DEFS, MARRAY_OPS_FORWARD_DECLS, | |
5106 MDIAGARRAY2_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS, | |
5107 MDIAGARRAY2_OPS_FRIEND_DECLS, INSTANTIATE_MARRAY_FRIENDS, | |
5108 INSTANTIATE_MARRAY2_FRIENDS, INSTANTIATE_MARRAYN_FRIENDS, | |
5109 INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. | |
5110 * MSparse-defs.h (SPARSE_OP_ASSIGN_DECL, SPARSE_OP_ASSIGN_DECLS, | |
5111 SPARSE_OP_ASSIGN_FWD_DECLS, SPARSE_OP_ASSIGN_FRIENDS, | |
5112 SPARSE_OP_ASSIGN_DEFS, SPARSE_UNOP, SPARSE_UNOP_DECLS, | |
5113 SPARSE_UNOP_FWD_DECLS, SPARSE_UNOP_FRIENDS, SPARSE_UNOP_DEFS, | |
5114 SPARSE_BINOP_DECL, SPARSE_BINOP_DECLS, SPARSE_AA_BINOP_DECLS, | |
5115 SPARSE_BINOP_FWD_DECLS, SPARSE_BINOP_FRIENDS, SPARSE_BINOP_DEFS, | |
5116 SPARSE_OPS_FORWARD_DECLS, SPARSE_OPS_FRIEND_DECLS, | |
5117 INSTANTIATE_SPARSE_FRIENDS): Ditto. | |
5118 * Sparse-op-defs.h (SPARSE_BIN_OP_DECL, SPARSE_CMP_OP_DECL, | |
5119 SPARSE_BOOL_OP_DECL, SPARSE_SMS_BIN_OP_DECLS, | |
5120 SPARSE_SMS_CMP_OP_DECLS, SPARSE_SMS_EQNE_OP_DECLS, | |
5121 SPARSE_SMS_BOOL_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
5122 SPARSE_SMS_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
5123 SPARSE_SSM_CMP_OP_DECLS, SPARSE_SSM_EQNE_OP_DECLS, | |
5124 SPARSE_SSM_BOOL_OP_DECLS, SPARSE_SSM_OP_DECLS, | |
5125 SPARSE_SMSM_BIN_OP_DECLS, SPARSE_SMSM_CMP_OP_DECLS, | |
5126 SPARSE_SMSM_EQNE_OP_DECLS, SPARSE_SMSM_BOOL_OP_DECLS, | |
5127 SPARSE_SMSM_OP_DECLS, SPARSE_MSM_BIN_OP_DECLS, | |
5128 SPARSE_MSM_CMP_OP_DECLS, SPARSE_MSM_EQNE_OP_DECLS, | |
5129 SPARSE_MSM_BOOL_OP_DECLS, SPARSE_MSM_OP_DECLS, | |
5130 SPARSE_SMM_BIN_OP_DECLS, SPARSE_SMM_CMP_OP_DECLS, | |
5131 SPARSE_SMM_EQNE_OP_DECLS, SPARSE_SMM_BOOL_OP_DECLS, | |
5132 SPARSE_SMM_OP_DECLS): Ditto. | |
5133 * Sparse.h (INSTANTIATE_SPARSE_ASSIGN, INSTANTIATE_SPARSE, | |
5134 INSTANTIATE_SPARSE_AND_ASSIGN): Ditto. | |
5135 * mx-op-defs.h (BIN_OP_DECL, CMP_OP_DECL, NDCMP_OP_DECL, | |
5136 BOOL_OP_DECL, NDBOOL_OP_DECL, VS_BIN_OP_DECLS, VS_OP_DECLS, | |
5137 SV_BIN_OP_DECLS, SV_OP_DECLS, VV_BIN_OP_DECLS, VV_OP_DECLS, | |
5138 MS_BIN_OP_DECLS, MS_CMP_OP_DECLS, MS_BOOL_OP_DECLS, MS_OP_DECLS, | |
5139 SM_BIN_OP_DECLS, SM_CMP_OP_DECLS, SM_BOOL_OP_DECLS, SM_OP_DECLS, | |
5140 MM_BIN_OP_DECLS, MM_CMP_OP_DECLS, MM_BOOL_OP_DECLS, MM_OP_DECLS, | |
5141 NDS_BIN_OP_DECLS, NDS_CMP_OP_DECLS, NDS_BOOL_OP_DECLS, | |
5142 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_CMP_OP_DECLS, | |
5143 SND_BOOL_OP_DECLS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
5144 NDND_CMP_OP_DECLS, NDND_BOOL_OP_DECLS, NDND_OP_DECLS, | |
5145 SDM_BIN_OP_DECLS, SDM_OP_DECLS, DMS_BIN_OP_DECLS, DMS_OP_DECLS, | |
5146 MDM_BIN_OP_DECLS, MDM_OP_DECLS, DMM_BIN_OP_DECLS, DMM_OP_DECLS, | |
5147 DMDM_BIN_OP_DECLS, DMDM_OP_DECLS): Ditto. | |
5148 | |
6699 | 5149 2007-06-12 John W. Eaton <jwe@octave.org> |
5150 | |
5151 * dMatrix.cc (Matrix::expm): Special case for scalar arg. | |
5152 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6697 | 5153 |
6693 | 5154 2007-06-06 Michael Goffioul <michael.goffioul@swing.be> |
5155 | |
6709 | 5156 * file-ops.cc (tilde_find_suffix, isolate_tilde_prefix, |
5157 tilde_expand_word): Use file_ops::is_dir_sep instead of comparing | |
5158 with file_ops::dir_sep_char. | |
6694 | 5159 |
6693 | 5160 * MArray-C.cc: Sprinkle with OCTINTERP_API as needed. |
5161 | |
6689 | 5162 2007-06-04 David Bateman <dbateman@free.fr> |
5163 | |
6699 | 5164 * file-ops.cc: Typo. |
5165 | |
6689 | 5166 * Sparse.cc (Sparse<T> Sparse<T>::reshape): If length of new |
5167 dimensions is greater than 2, collapse to 2-D. | |
5168 | |
6685 | 5169 2007-06-02 David Bateman <dbateman@free.fr> |
5170 | |
5171 * SparseCmplxQR.cc: Changes to support CXSparse 2.2.0. | |
5172 | |
6680 | 5173 2007-05-31 John W. Eaton <jwe@octave.org> |
5174 | |
5175 * Array.cc (Array::get_size): Throw std::bad_alloc exception if | |
5176 the computed size is too large for the size of Octave's index type. | |
5177 | |
6662 | 5178 2007-05-23 John W. Eaton <jwe@octave.org> |
5179 | |
5180 * oct-sparse.h: Don't surround included files with extern "C" { ... }. | |
5181 | |
6629 | 5182 2007-05-16 David Bateman <dbateman@free.fr> |
5183 | |
5184 * dRowVector.cc (linspace): Return second argument if fewer than | |
5185 two values are requested. | |
5186 * CRowVector.cc (linspace): Likewise. | |
5187 | |
6596 | 5188 2007-04-27 John W. Eaton <jwe@octave.org> |
5189 | |
5190 * lo-mappers.cc (signum (const Complex&)): Special case for (0, 0). | |
5191 | |
6583 | 5192 2007-04-25 John W. Eaton <jwe@octave.org> |
5193 | |
5194 * oct-fftw.h (octave_fftw): Tag with OCTAVE_API. | |
5195 | |
6553 | 5196 2007-04-20 John W. Eaton <jwe@octave.org> |
5197 | |
5198 * Array.cc (assign1): For x(:) = RHS, require rhs_len == lhs_len, | |
5199 not rhs_len == 1. | |
5200 | |
6536 | 5201 2007-04-18 Michael Goffioul <michael.goffioul@swing.be> |
5202 | |
5203 * oct-md5.h (oct_md5, oct_md5_file): Tag decls with OCTAVE_API. | |
5204 | |
6525 | 5205 2007-04-13 John W. Eaton <jwe@octave.org> |
5206 | |
5207 * Array.cc (Array<T>::maybe_delete_elements_2): Don't return early | |
5208 for empty matrix. Only check for colon index equivalence if not empty. | |
5209 | |
6513 | 5210 2007-04-10 John W. Eaton <jwe@octave.org> |
5211 | |
5212 * SparseCmplxQR.cc | |
5213 (SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep): | |
5214 Move GCC_ATTR_UNUSED before the parameter decl. | |
5215 From Luis Ortiz <lortiz@interactivesupercomputing.com>. | |
5216 | |
6508 | 5217 2007-04-06 John W. Eaton <jwe@octave.org> |
5218 | |
5219 * MArray-defs.h (MARRAY_NORM_BODY): New macro. | |
5220 * MArray.h (MArray<T>::norm): New function. | |
5221 * MArray.cc: Provide decl. | |
5222 * MArray-d.cc (MArray<double>::norm): Define double specialization. | |
5223 * MArray-C.cc (MArray<Complex>::norm): Define Complex specialization. | |
5224 | |
6490 | 5225 2007-04-04 John W. Eaton <jwe@octave.org> |
5226 | |
5227 * Range.cc (Range::nelem_internal): Likewise. | |
5228 * lo-utils.cc (NINT): Use numeric_limits<int> instead of INT_MAX. | |
5229 (NINTbig): Use numeric_limits<octave_idx_type> instead of INT_MAX. | |
5230 From Scott Pakin <pakin@lanl.gov>. | |
5231 | |
6486 | 5232 2007-04-04 David Bateman <dbateman@free.fr> |
5233 | |
5234 * dMatrix.cc (Matrix::inverse): If calc_cond is true, calculate | |
5235 the condition number for positive definite matrices. | |
5236 * CMatrix.cc (ComplexMatrix::inverse): Ditto. | |
5237 * dbleChol.h (CHOL(const Matrix&, bool)): New arg, calc_cond. | |
5238 (CHOL(const Matrix&, octave_idx_type&, bool): Ditto. | |
5239 (octave_idx_type init (const Matrix&, bool)): Ditto. | |
5240 (CHOL(const CHOL&)): Copy xrcond. | |
5241 (CHOL& operator = (const CHOL&)): Copy xrcond. | |
5242 (xrcond): New private data member. | |
5243 * CmplxCHOL.h (ComplexCHOL(const ComplexMatrix&, bool)): New arg, | |
5244 calc_cond. | |
5245 (ComplexCHOL(const ComplexMatrix&, octave_idx_type&, bool): Ditto | |
5246 (octave_idx_type init (const ComplexMatrix&, bool)): Ditto. | |
5247 (ComplexCHOL(const ComplexCHOL&)): Copy xrcond. | |
5248 (ComplexCHOL& operator = (const ComplexCHOL&)): Copy xrcond. | |
5249 (xrcond): New private data member. | |
5250 * dbleCHOL.cc (CHOL::init(const Matrix&, bool)): If calc_cond is | |
5251 true, calculate the condition number with dpocon. | |
5252 * CmplxCHOL.cc (ComplexCHOL::init(const ComplexMatrix&, bool)): If | |
5253 calc_cond is true, calculate the condition number with zpocon. | |
5254 | |
6481 | 5255 2007-04-03 John W. Eaton <jwe@octave.org> |
5256 | |
6482 | 5257 * intNDArray.cc (intNDArray): Delete spurious semicolon. |
5258 | |
5259 * CMatrix.cc (ComplexMatrix::tinverse): Use Array<T> and | |
5260 fortran_vec method instead of OCTAVE_LOCAL_BUFFER to avoid | |
5261 "maybe clobbered by vfork" warning. | |
5262 | |
6483 | 5263 * Sparse-op-defs.h (SPARSE_CUMSUM): Add braces to avoid ambiguous |
6482 | 5264 if/else. |
5265 | |
5266 * oct-spparms.h (octave_sparse_params): Define copy constructor | |
5267 and destructor. | |
5268 | |
6481 | 5269 * Array.cc (assignN): Don't resize dimension if corresponding |
5270 index is empty. | |
5271 | |
6479 | 5272 2007-04-02 John W. Eaton <jwe@octave.org> |
5273 | |
5274 * dMatrix.h (Matrix::inverse): Reinstate versions without | |
5275 MatrixType argument. | |
5276 * CMatrix.h (ComplexMatrix::inverse): Likewise. | |
5277 | |
6467 | 5278 2007-03-27 John W. Eaton <jwe@octave.org> |
5279 | |
5280 * Makefile.in (DISTDIRS): Delete variable. | |
5281 (dist): Delete action for DISTDIRS. Use ln instead of $(LN_S). | |
5282 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
5283 2007-03-26 David Bateman <dbateman@free.fr> |
6460 | 5284 |
5285 * MatrixType.cc: Replace all uses of the method | |
9967 | 5286 octave_sparse_params::get_key ("bandden") with |
6460 | 5287 octave_sparse_params::get_bandden (void). |
5288 (MatrixType::MatrixType (void)): Undo previous change but use | |
5289 octave_sparse_params::get_bandden (void). | |
5290 * oct-spparms.cc (get_bandden(void), do_get_bandden(void)): New | |
5291 methods. | |
5292 * oct-spparms.h (get_bandden(void), do_get_bandden(void)): | |
9967 | 5293 Declare them. |
5294 | |
6458 | 5295 2007-03-26 Luis Ortiz <lortiz@interactivesupercomputing.com> |
5296 David Bateman <dbateman@free.fr> | |
5297 | |
5298 * idx-vector.h.cc (IDX_VEC_REP::idx_vector_rep (const Range&)): | |
5299 Check that all elements are ints before doing anything. Simplify | |
5300 calculation of index values. | |
5301 | |
6457 | 5302 2007-03-26 David Bateman <dbateman@free.fr> |
5303 | |
5304 * Range.cc (Range::all_elements_are_ints): Improve check. | |
5305 | |
6456 | 5306 2007-03-26 John W. Eaton <jwe@octave.org> |
5307 | |
5308 * chNDArray.cc, chMatrix.cc: Also generate comparison and bool ops. | |
5309 * chNDArray.h, chMatrix.h: Provide decls. | |
5310 | |
5311 2007-03-24 Luis Ortiz <lortiz@interactivesupercomputing.com> | |
5312 | |
5313 * MatrixType.cc (MatrixType::MatrixType (void)): Initialize | |
5314 sp_bandden to zero for performance reasons as it's not used. | |
6452 | 5315 |
6435 | 5316 2007-03-23 David Bateman <dbateman@free.fr> |
5317 | |
5318 * oct-rand.cc (octave_rand::seed): Seed differently for big and | |
5319 little endian. | |
5320 | |
6414 | 5321 2007-03-15 John W. Eaton <jwe@octave.org> |
5322 | |
5323 * lo-mappers.cc (acos): Use formula similar to what we use for asin. | |
5324 From Alexander Barth <abarth@marine.usf.edu>. | |
5325 | |
6402 | 5326 2007-03-12 John W. Eaton <jwe@octave.org> |
5327 | |
5328 * oct-inttypes.h (octave_int::octave_int (double)): | |
5329 New Specialization. Round arg. | |
5330 (operator / (const octave_int<T1>&, const octave_int<T2>&)): | |
5331 Round result before converting type. | |
5332 | |
6388 | 5333 2007-03-07 John W. Eaton <jwe@octave.org> |
5334 | |
6392 | 5335 * Array.cc (assign1): Avoid resizing if there is an error. |
5336 | |
6390 | 5337 * dMatrix.cc, CMatrix.cc (operator *): Only check |
5338 f77_exception_encountered immediately after calls that use F77_XFCN. | |
5339 | |
6389 | 5340 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
5341 Only allow resizing empty LHS if it is 0x0. | |
5342 | |
6388 | 5343 * Array.cc (Array<T>::maybe_delete_elements (Array<idx_vector>&, |
5344 const T&)): Handle case of more indices than dimensions. | |
5345 (assign (Array<LT>&, const Array<RT>&, const LT&)): Allow more | |
5346 cases to be handled by assignN. | |
5347 (assignN (Array<LT>&, const Array<RT>&, const LT&)): | |
5348 Special cases for 2-d array assignments for speed. | |
5349 Improve handling of scalar RHS and empty indices. | |
6384 | 5350 |
6383 | 5351 2007-03-05 David Bateman <dbateman@free.fr> |
5352 | |
5353 * oct-md5.c (oct_md5_file (const std::string&)): New function. | |
5354 * oct-md5.h (oct_md5_file (const std::string&)): Declare it. | |
5355 | |
6379 | 5356 2007-03-02 John W. Eaton <jwe@octave.org> |
5357 | |
5358 * str-vec.h (string_vector::empty): Return bool, not int. | |
5359 | |
6375 | 5360 2007-03-01 David Bateman <dbateman@free.fr> |
5361 | |
9967 | 5362 * md5.h, md5.c: New files from libmd5-rfc sourceforge project for |
5363 an independent implementation of RFC1321. | |
5364 * oct-md5.h, oct-md5: New files for treating std::string class | |
5365 with MD5. | |
5366 * Makefile.in (INCLUDES): Add md5.h and oct-md5.h | |
5367 (LIBOCTAVE_CXX_SOURCES): Add oct-md5.cc | |
5368 (LIBOCTAVE_C_SOURCES): Add md5.c | |
6375 | 5369 |
6366 | 5370 2007-02-27 John W. Eaton <jwe@octave.org> |
5371 | |
5372 * Makefile.in (uninstall): Delete files listed in | |
5373 $(INCLUDES_FOR_INSTALL), instead of $(INCLUDES). | |
5374 From Thomas Treichl <Thomas.Treichl@gmx.net>. | |
5375 | |
6536 | 5376 2007-02-27 Michael Goffioul <michael.goffioul@swing.be> |
6363 | 5377 |
5378 * file-ops.cc (file_ops::recursive_rmdir): | |
5379 Close dir_entry object before calling rmdir. | |
5380 | |
6536 | 5381 2007-02-26 Michael Goffioul <michael.goffioul@swing.be> |
6358 | 5382 |
5383 * Makefile.in: Use $(LN_S) instead of ln or ln -s. | |
5384 | |
6359 | 5385 * sparse-util.h (SparseCholPrint, SparseCholError): |
5386 Tag with OCTAVE_API. | |
5387 | |
6326 | 5388 2007-02-18 David Bateman <dbateman@free.fr> |
5389 | |
5390 * oct-rand.cc (do_old_initialization()): call setcgn(1) prior to | |
5391 calling setall and reset to the current generator after. | |
5392 | |
6323 | 5393 2007-02-16 John W. Eaton <jwe@octave.org> |
5394 | |
5395 * oct-shlib.h (octave_shlib::relative): New data member. | |
5396 (octave_shlib::mark_relative, octave_shlib::is_relative): | |
5397 New functions. | |
5398 | |
6321 | 5399 2007-02-16 Michael Goffioul <michael.goffioul@swing.be> |
5400 | |
5401 * lo-sysdep.cc (octave_popen2): New function to simulate popen2 on | |
5402 windows platform. | |
5403 * lo-sysdep.h (octave_popen2): Declare it. | |
5404 * oct-syscalls.cc (octave_syscalls::popen2): New function. | |
5405 * oct-syscalls.h (octave_syscalls::popen2): Declare it. | |
5406 | |
6306 | 5407 2007-02-14 John W. Eaton <jwe@octave.org> |
5408 | |
5409 * kpse.cc (expand_elt): Omit special treatment for //. | |
5410 | |
6273 | 5411 2007-02-06 John W. Eaton <jwe@octave.org> |
5412 | |
5413 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_REALPATH]: | |
5414 Don't delete value returned from realpath. | |
5415 | |
6271 | 5416 2007-02-05 Thomas Treichl <Thomas.Treichl@gmx.net> |
5417 | |
5418 * file-ops.cc (file_ops::canonicalize_file_name): | |
5419 Provide implementation if realpath function is available. | |
5420 | |
6256 | 5421 2007-01-29 Michael Goffioul <michael.goffioul@swing.be> |
5422 | |
5423 * oct-fftw.h: Sprinkle with OCTAVE_API as needed. | |
5424 | |
6244 | 5425 2007-01-17 Michael Goffioul <michael.goffioul@swing.be> |
5426 | |
5427 * lo-sysdep.cc (octave_chdir): Handle directory names like "C:" on | |
5428 Windows systems. | |
5429 | |
6242 | 5430 2007-01-16 John W. Eaton <jwe@octave.org> |
5431 | |
5432 * dSparse.cc: Fix dgbtrf decl for --enable-64. | |
5433 (SparseMatrix::bsolve): Fix call to dgbtrf for --enable-64 | |
5434 | |
5435 * oct-fftw.h (fftw_planner): Provide decl. | |
5436 | |
6241 | 5437 2007-01-11 Michael Goffioul <michael.goffioul@swing.be> |
5438 | |
5439 * Makefile.in (LINK_DEPS): Include $(CAMD_LIBS) in the list. | |
5440 | |
6236 | 5441 2007-01-10 John W. Eaton <jwe@octave.org> |
5442 | |
5443 * oct-sparse.h: Use HAVE_CHOLMOD_CHOLMOD_H, not | |
5444 HAVE_UMFPACK_CHOLMOD_H for case of "cholmod/cholmod.h". | |
5445 | |
6231 | 5446 2007-01-08 David Bateman <dbateman@free.fr> |
5447 | |
5448 * oct-sparse.h: Replace sparsesuite with suitesparse and | |
5449 SPARSESUITE with SUITESPARSE to match upstream name. | |
5450 | |
6228 | 5451 2007-01-05 David Bateman <dbateman@free.fr> |
5452 | |
9967 | 5453 * oct-fftw.cc: (octave_fftw_planner::method (void), |
6228 | 5454 octave_fftw_planner (FftwMethod)): New methods to interrogate and |
5455 set the FFTW wisdom method used. | |
9967 | 5456 (octave_fftw_planner::create_plan) Modify to allow different |
6228 | 5457 methods to be used. |
5458 (octave_fftw_planner): Move class definition from here. | |
5459 * oct-fftw.h (octave_fftw_planner): To here. Add method methods | |
5460 and FftwMethod enum. | |
5461 | |
6221 | 5462 2007-01-03 David Bateman <dbateman@free.fr> |
5463 | |
5464 * MSparse.cc (SPARSE_A2A2_OP, SPARSE_A2A2_FCN_1, | |
5465 SPARSE_A2A2_FCN_1): Modify macros so that scalars stored as | |
5466 sparse matrices are special cased. | |
5467 | |
5468 * Sparse-op-defs.h: Include mx-ops.h to have access to mixed | |
5469 matrix, sparse matrix operations. | |
5470 (SPARSE_SMSM_BIN_OP_1, SPARSE_SMSM_BIN_OP_2, SPARSE_SMSM_BIN_OP_3, | |
5471 SPARSE_SMSM_CMP_OP, SPARSE_SMSM_BOOL_OP, SPARSE_MSM_BIN_OP_1, | |
5472 SPARSE_MSM_BIN_OP_2, SPARSE_MSM_CMP_OP, SPARSE_MSM_BOOL_OP, | |
9967 | 5473 SPARSE_SMM_BIN_OP_1, SPARSE_SMM_BIN_OP_2, SPARSE_SMM_CMP_OP, |
5474 SPARSE_SMM_BOOL_OP, SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, | |
6221 | 5475 FULL_SPARSE_MUL): Modify macros so that scalars stored as |
5476 sparse matrices are special cased. | |
5477 | |
6217 | 5478 2006-12-22 David Bateman <dbateman@free.fr> |
5479 | |
5480 * boolSparse.cc (SparseBoolMatrix::operator !): Fix off-by-one error. | |
5481 | |
6216 | 5482 2006-12-22 John W. Eaton <jwe@octave.org> |
5483 | |
5484 * dim-vector.h (dim_vector::dim_vector): Always start with at | |
5485 least 2 dimensions. | |
5486 (dim_vector::resize): Don't allow resizing to fewer than 2 dimensions. | |
5487 | |
6208 | 5488 2006-12-06 Michael Goffioul <michael.goffioul@swing.be> |
5489 | |
5490 * lo-sysdep.cc (opendir): Avoid passing \\* to FindFirstFile. | |
5491 | |
5492 * file-ops.cc (ops::canonicalize_file_name): Provide partial | |
6217 | 5493 implementation for Windows. |
6208 | 5494 |
6207 | 5495 2006-12-06 David Bateman <dbateman@free.fr> |
5496 | |
6208 | 5497 * dSparse.cc (SparseMatrix::is_symmetric): Faster implementation. |
5498 * CSparse.cc (SparseComplexMatrix::is_symmetric): Ditto. | |
6207 | 5499 |
5500 * dMatrrix.cc (finverse): Old inverse method renamed inverse. | |
9967 | 5501 (tinverse): New method for triangular matrices. |
5502 (inverse): New function with matrix type probing. | |
5503 * dMatrix.h (finverse, tinverse, inverse): New and modified | |
5504 declarations. | |
5505 * CMatrix.cc: Ditto. | |
5506 * CMatrix.h: Ditto. | |
6207 | 5507 |
6205 | 5508 2006-12-06 John W. Eaton <jwe@octave.org> |
5509 | |
5510 * strptime.c (day_of_the_week): Use code from current glibc sources. | |
5511 | |
6202 | 5512 2006-12-05 John W. Eaton <jwe@octave.org> |
5513 | |
5514 * lo-utils.cc (octave_read_double): If we see '+' or '-' but not | |
5515 followed by 'I' or 'i', try reading number after putting | |
5516 characters back on input stream. | |
5517 | |
6198 | 5518 2006-12-05 Paul Kienzle <pkienzle@users.sf.net> |
5519 | |
5520 * randpoisson.c (oct_fill_randp): For lambda > 1e8, upper limit of | |
5521 loop is n, not L. | |
5522 | |
6194 | 5523 2006-11-30 John W. Eaton <jwe@octave.org> |
5524 | |
5525 * lo-utils.cc (octave_read_double, read_inf_nan_na): | |
5526 Also recognize [+-][Ii]nf. | |
5527 | |
6187 | 5528 2006-11-28 David Bateman <dbateman@free.fr> |
6186 | 5529 |
5530 * oct-sparse.h: Allow sparse headers to also be in a sparsesuite | |
5531 sub-directory. | |
5532 | |
9967 | 5533 * dSparse.cc (SparseMatrix::inverse): Transpose the matrix type as |
6204 | 5534 well when calling tinverse for lower triangular matrices. |
9967 | 5535 * CSparse.cc (SparseComplexMatrix::inverse): |
5536 Ditto. | |
5537 | |
6183 | 5538 2006-11-21 John W. Eaton <jwe@octave.org> |
5539 | |
5540 * oct-env.cc (do_absolute_pathname): Undo previous change. | |
5541 | |
6182 | 5542 2006-11-20 John W. Eaton <jwe@octave.org> |
5543 | |
5544 * oct-env.cc (octave_env::do_absolute_pathname): Also return true | |
5545 for ".", and names beginning with "./" or "../". | |
5546 | |
6162 | 5547 2006-11-14 Luis F. Ortiz <lortiz@interactivesupercomputing.com> |
5548 | |
5549 * CMatrix.cc, dMatrix.cc: New tests. | |
5550 | |
6153 | 5551 2006-11-13 Michael Goffioul <michael.goffioul@swing.be> |
5552 | |
5553 * Array-d.cc, dDiagMatrix.h: Sprinkle with OCTAVE_API as needed. | |
5554 | |
6152 | 5555 2006-11-11 John W. Eaton <jwe@octave.org> |
5556 | |
5557 * Makefile.in ($(OPTS_INC), mx-ops.h): | |
5558 Use $(simple-move-if-change-rule) here. | |
5559 | |
6148 | 5560 2006-11-09 David Bateman <dbateman@free.fr> |
5561 | |
5562 * sparse-base-chol.cc (sparse_base_chol_rep::Q): Cast perms(i) to | |
5563 octave_idx_type, not int. | |
5564 | |
6145 | 5565 2006-11-08 John W. Eaton <jwe@octave.org> |
5566 | |
5567 * dir-ops.cc (dir_entry::read): Avoid rewinddir. | |
5568 | |
6141 | 5569 2006-11-06 John W. Eaton <jwe@octave.org> |
5570 | |
5571 * Array.cc (assignN): Exit early if invalid indices are found. | |
5572 | |
6140 | 5573 2006-11-03 Michael Goffioul <michael.goffioul@swing.be> |
5574 | |
5575 * strftime.c [HAVE_TZNAME]: Tag tzname with OCTAVE_IMPORT. | |
5576 | |
6137 | 5577 2006-11-03 John W. Eaton <jwe@octave.org> |
5578 | |
5579 * Makefile.in (DLL_CXXDEFS): Rename from XTRA_CXXDEFS. | |
5580 (DLL_CDEFS): Rename from XTRA_CDEFS. | |
5581 Substitute OCTAVE_DLL_DEFS, not XTRA_OCTAVE_DEFS. | |
5582 | |
6123 | 5583 2006-10-28 Michael Goffioul <michael.goffioul@swing.be> |
5584 | |
5585 * oct-shlib.cc: Undefine min and max after including windows.h. | |
5586 * oct-syscalls.cc (syscalls::pipe (int *)): Avoid infinite recursion. | |
5587 * lo-sysdep.h: Move opendir, readdir, etc. decls here from | |
5588 lo-sysdep.cc. | |
5589 | |
6113 | 5590 2006-10-27 John W. Eaton <jwe@octave.org> |
5591 | |
6119 | 5592 * oct-time.cc [! HAVE_STRFTIME]: Declare strftime. |
5593 | |
5594 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> | |
5595 | |
5596 * mx-op-defs.h (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, | |
5597 NDS_CMP_OPS2): New macros. | |
6113 | 5598 |
6111 | 5599 2006-10-26 John W. Eaton <jwe@octave.org> |
5600 | |
6119 | 5601 * mx-ops (core-type): New field for integer types. |
5602 * mk-ops.awk: Handle core-type for integer comparison ops. | |
5603 | |
6111 | 5604 * lo-cutils.c (octave_strcasecmp, octave-strncasecmp): |
5605 Move here from src/cutils.c. | |
5606 * lo-utils.h: Provide decls. | |
5607 * strcasecmp.c: Move here from src/strcasecmp.c. | |
5608 * strncase.c: Move here from src/strncase.c. | |
5609 * Makefile.in (LIBOCTAVE_C_SOURCES): Add them to the list. | |
5610 | |
6106 | 5611 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
5612 | |
5613 * kpse.cc [! MSVC]: Don't include win32lib.h. | |
5614 | |
6708 | 5615 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-util.h, |
5616 Array.h, CColVector.h, CMatrix.h, CNDArray.h, CRowVector.h, | |
5617 CSparse.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, | |
5618 CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, | |
5619 CollocWt.h, DAE.h, DASPK.h, DASRT.h, DASSL.h, EIG.h, LSODE.h, | |
5620 MArray-C.cc, MArray-defs.h, MSparse-C.cc, MSparse-d.cc, | |
5621 MSparse-defs.h, MatrixType.h, NLEqn.h, Quad.h, Range.h, | |
5622 Sparse-op-defs.h, Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, | |
5623 SparseCmplxQR.h, SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, | |
5624 boolMatrix.h, boolNDArray.h, boolSparse.h, chMatrix.h, | |
5625 chNDArray.h, cmd-edit.h, cmd-hist.h, dColVector.h, dDiagMatrix.h, | |
5626 dMatrix.h, dNDArray.h, dRowVector.h, dSparse.h, data-conv.h, | |
5627 dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, dbleLU.h, | |
5628 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, dir-ops.h, | |
5629 file-ops.h, file-stat.h, glob-match.h, idx-vector.h, | |
5630 int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, | |
5631 lo-cutils.c, lo-ieee.h, lo-mappers.h, lo-specfun.h, lo-utils.h, | |
5632 mach-info.h, mx-op-defs.h, oct-alloc.h, oct-env.h, oct-group.h, | |
5633 oct-inttypes.cc, oct-inttypes.h, oct-passwd.h, oct-rand.h, | |
5634 oct-shlib.h, oct-spparms.h, oct-syscalls.h, oct-time.h, | |
5635 oct-uname.h, pathsearch.h, prog-args.h, so-array.h, str-vec.h, | |
5636 uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc, | |
5637 uint8NDArray.cc: Sprinkle with OCTAVE_API as needed. | |
6108 | 5638 |
6105 | 5639 2006-10-26 John W. Eaton <jwe@octave.org> |
5640 | |
5641 * oct-inttypes.cc (INSTANTIATE_INTTYPE_BIN_OP): Provide explicit | |
5642 type qualification for OP. | |
5643 | |
6101 | 5644 2006-10-26 David Bateman <dbateman@free.fr> |
5645 | |
5646 * Sparse.cc (Sparse<T>::resize_no_fill (octave_idx_type, | |
5647 octave_idx_type)): Be more careful with the size of the input | |
5648 matrix, and therefore don't create or read non existent data. | |
5649 | |
6092 | 5650 2006-10-25 John W. Eaton <jwe@octave.org> |
5651 | |
5652 * Sparse.cc (assign): Clear lhs index after error. | |
5653 | |
6093 | 5654 2006-10-25 David Bateman <dbateman@free.fr> |
6092 | 5655 |
5656 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
5657 Fix previous patch so it works. | |
5658 | |
6087 | 5659 2006-10-25 Michael Goffioul <michael.goffioul@swing.be> |
5660 | |
6095 | 5661 * glob-match.h (glob_match::glob_match (const std::string&, |
5662 unsigned int)): Delete initializer for first arg. | |
5663 | |
6093 | 5664 * lo-sysdep.cc (opendir, readdir, rewinddir, closedir): |
5665 New functions. | |
5666 | |
6087 | 5667 * Makefile.in (XTRA_CDEFS, XTRA_CXXDEFS): Substitute here. |
5668 | |
6096 | 5669 * oct-env.cc (octave_env::do_get_home_directory) [_MSC_VER]: Use |
5670 same code as __MINGW32__. | |
5671 * syswait.h [_MSC_VER]: Define HAVE_WAITPID, WAITPID, and WNOHANG | |
5672 the same as for __MINGW32__. | |
5673 | |
5674 * randpoisson.c: Undefine INFINITE before redefining. | |
5675 | |
6079 | 5676 2006-10-24 David Bateman <dbateman@free.fr> |
5677 | |
5678 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Resize the | |
5679 lhs at the point we know the assignment can succeed if the lhs is | |
5680 empty. | |
5681 | |
6072 | 5682 2006-10-23 John W. Eaton <jwe@octave.org> |
5683 | |
5684 * Array.cc (assign2): Don't require vector assignments to be oriented. | |
5685 | |
6061 | 5686 2006-10-17 John W. Eaton <jwe@octave.org> |
5687 | |
5688 * lo-cieee.c: If isnan is not available but _isnan is, then define | |
5689 isnan to be _isnan, and define HAVE_ISNAN. Likewise for _finite | |
5690 and _copysign. | |
5691 | |
6059 | 5692 2006-10-17 Michael Goffioul <michael.goffioul@swing.be> |
6051 | 5693 |
6061 | 5694 * oct-syscalls.cc (syscalls::waitpid): Always declare and define retval. |
5695 | |
9967 | 5696 * CMatrix.cc (ComplexMatrix::solve): Avoid infinite recursion. |
6708 | 5697 * CSparse.cc (SparseComplexMatrix::insert): Likewise. |
6061 | 5698 |
6058 | 5699 * oct-types.h.in: Include limits.h, for CHAR_BIT. |
5700 | |
6059 | 5701 2006-10-13 Michael Goffioul <michael.goffioul@swing.be> |
5702 | |
6051 | 5703 * Makefile.in: Adapt rules to use $(LIBPRE). |
5704 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
5705 2006-10-03 David Bateman <dbateman@free.fr> |
6027 | 5706 |
5707 * MatrixType.cc (MatrixType::MatrixType): Avoid crash if np == 0 | |
5708 or p == 0. | |
5709 | |
6018 | 5710 2006-10-02 John W. Eaton <jwe@octave.org> |
5711 | |
5712 * dbleDET.cc (DET::initialize2): Ensure arg to log10 is double. | |
5713 * CmplxDET.cc (ComplexDET::initialize2): Likewise. | |
5714 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
5715 2006-09-22 David Bateman <dbateman@free.fr> |
5996 | 5716 |
9967 | 5717 * MatrixType.h (MatrixType::MatrixType(const SparseComplexMatrix&)): |
5718 Remove spurious warning. | |
5996 | 5719 |
5992 | 5720 2006-09-15 John W. Eaton <jwe@octave.org> |
5721 | |
9967 | 5722 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&) const): |
5992 | 5723 Handle resizing. |
5724 | |
5725 * intNDArray.h (intNDArray<T>:elt_type): New typedef. | |
5726 | |
5983 | 5727 2006-09-11 John W. Eaton <jwe@octave.org> |
5728 | |
5729 * dMatrix.cc (operator * (const Matrix&, const Matrix&))): | |
9967 | 5730 Handle M*v and rv*cv special cases. |
5983 | 5731 * CMatrix.cc (operator * (const ComplexMatrix&, const |
5732 ComplexMatrix&))): Likewise. | |
5733 From Luis F. Ortiz <lortiz@interactivesupercomputing.com>. | |
5734 | |
5735 * dRowVector.cc (operator * (const RowVector&, const | |
5736 ColumnVector&)): Call xddot here instead of using a Fortran | |
5737 function directly. | |
5738 * CRowVector.cc (operator * (const ComplexRowVector&, const | |
5739 ComplexColumnVector&)): Call xzdotu here. | |
5740 | |
5741 2006-09-05 John W. Eaton <jwe@octave.org> | |
5742 | |
5743 * chNDArray.cc (charNDArray::any, charNDArray::all): Compare | |
5744 elements to '\0', not ' '. | |
5745 | |
5972 | 5746 2006-08-25 John W. Eaton <jwe@octave.org> |
5747 | |
5748 * mx-inlines.cc (MX_ND_REDUCTION): Special case for 0x0 arrays. | |
5749 | |
5958 | 5750 2006-08-23 John W. Eaton <jwe@octave.org> |
5751 | |
5752 * dMatrix.cc, dMatrix.h (Matrix::save_ascii): Delete function and decl. | |
5753 * CMatrix.cc, CMatrix.h (ComplexMatrix::save_ascii): Likewise. | |
5754 | |
5955 | 5755 2006-08-22 John W. Eaton <jwe@octave.org> |
5756 | |
5956 | 5757 * CMatrix.cc (ComplexMatrix::save_ascii): New function. |
5758 * dMatrix.cc (Matrix::save_ascii): New function. | |
5759 | |
5955 | 5760 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Correctly detect empty arrays. |
5761 If array is empty, return value is same size as array. | |
5762 (MX_ND_REDUCTION): Correctly detect empty arrays. | |
5763 If array is empty, produce correctly sized return value. | |
5764 | |
5940 | 5765 2006-08-18 John W. Eaton <jwe@octave.org> |
5766 | |
5943 | 5767 * dMatrix.cc (Matrix::any_element_not_one_or_zero): New function. |
5768 * dMatrix.h: Provide decl. | |
5769 * dNDArray.cc (NDArray::any_element_not_one_or_zero): New function. | |
5770 * dNDArray.h: Provide decl. | |
5771 * intNDArray.cc (intNDArray<T>::any_element_not_one_or_zero): | |
5772 New function. | |
5773 * intNDArray.h: Provide decl. | |
5774 | |
5940 | 5775 * Array.cc (Array<T>::permute): Only rearrange values if array is |
5776 not empty. | |
5777 | |
5904 | 5778 2006-07-26 John W. Eaton <jwe@octave.org> |
5779 | |
5780 * dbleDET.cc (DET::initialize10, DET::value_will_underflow, | |
5781 DET::value_will_overflow): Use xlog2 instead of log2. | |
5782 (DET::initialize2, DET::initialize10): Use xround instead of round. | |
5783 (DET::initialize2, DET::value): Use xexp2 instead of exp2. | |
5784 * CmplxDET.cc (ComplexDET::initialize10, | |
5785 ComplexDET::value_will_underflow, | |
5786 ComplexDET::value_will_overflow): Use xlog2 instead of log2. | |
5787 (ComplexDET::initialize2, ComplexDET::initialize10): | |
5788 Use xround instead of round. | |
5789 (ComplexDET::initialize2, ComplexDET::value): | |
5790 Use xexp2 instead of exp2. | |
5791 | |
5792 * lo-mappers.cc (M_LOG10E): Delete unused macro. | |
5793 (xlog2, xexp2): New functions. | |
5794 * lo-mappers.h: Provide decls. | |
5795 | |
5900 | 5796 2006-07-22 John W. Eaton <jwe@octave.org> |
5797 | |
5798 * Sparse.h (Sparse<T>::mex_get_data, Sparse<T>::mex_get_ir, | |
5799 Sparse<T>::mex_get_jc): New functions. | |
5800 | |
5801 2006-07-21 John W. Eaton <jwe@octave.org> | |
5802 | |
5803 * oct-inttypes.h (octave_int<T>::mex_get_data): New function. | |
5804 * Array.h (Array<T>::mex_get_data): New function. | |
5805 | |
5898 | 5806 2006-07-19 John W. Eaton <jwe@octave.org> |
5807 | |
5808 * oct-inttypes.h (octave_int::operator bool (void)): New function. | |
5809 | |
5893 | 5810 2006-07-16 John W. Eaton <jwe@octave.org> |
5811 | |
5812 * oct-spparms.h, oct-spparms.cc (class octave_sparse_params): | |
5813 Rename from SparseParams. Use same implementation method as other | |
5814 singleton classes in Octave. Change all uses of | |
5815 Voctave_sparse_controls to use static functions from | |
5816 octave_sparse_params class instead. | |
5817 | |
5818 * oct-spparms.h, oct-spparms.cc (SparseParams::set_key, | |
5819 SparseParams::get_key): Pass std::string arg by const reference, | |
5820 not const value. | |
5821 | |
5892 | 5822 2006-07-15 John W. Eaton <jwe@octave.org> |
5823 | |
5824 * data-conv.cc: Instantiante swap_bytes templates here. | |
5825 | |
5826 * MatrixType.cc (MatrixType::MatrixType): | |
5827 Use complete initializer lists in constructors. | |
5828 | |
5880 | 5829 2006-07-06 John W. Eaton <jwe@octave.org> |
5830 | |
5831 * str-vec.cc (string_vector::string_vector (std::list<std::string>&)): | |
5832 New constructor. | |
5833 * str-vec.h: Provide decl. | |
5834 | |
5876 | 5835 2006-07-01 David Bateman <dbateman@free.fr> |
5836 | |
5837 * dSparse.cc (tinverse): Check for rows with no elements and zero | |
5838 elements on the diagonal. Allow both Upper and Lower triangular | |
5839 matrices to be treated. | |
5840 * CSparse.cc (tinverse): ditto. | |
5841 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Take into account 64-bit | |
5842 constant assignment. | |
9967 | 5843 |
5870 | 5844 2006-06-30 John W. Eaton <jwe@octave.org> |
5845 | |
5872 | 5846 * lo-sysdep.cc (octave_chdir): Perform tilde expansion here. |
5847 * cmd-edit.cc (editor::read_init_file): Ditto. | |
5848 * dir-ops.cc (dir_entry::open): Ditto. | |
5871 | 5849 * file-stat.cc (stat::update_internal): Ditto. |
5872 | 5850 * cmd-hist.cc (command_history::set_file): Ditto. |
5871 | 5851 |
5870 | 5852 * data-conv.cc (data_conv::string_to_data_type): |
5853 Correctly handle leading "*". | |
5854 | |
5869 | 5855 2006-06-29 Atsushi Kajita <a-kajita@mizar.freemail.ne.jp> |
5856 | |
5857 * Sparse.cc (Sparse<T>::SparseRep::elem): Avoid out of bounds | |
5858 array access. | |
9967 | 5859 |
5866 | 5860 2006-06-27 John W. Eaton <jwe@octave.org> |
5861 | |
5862 * Makefile.in: Finish renaming of OBJECTS -> LIBOCTAVE_OBJECTS. | |
5863 | |
5864 | 5864 2006-06-21 John W. Eaton <jwe@octave.org> |
5865 | |
5866 * oct-shlib.cc (octave_dlopen_shlib::close, | |
5867 octave_shl_load_shlib::close, octave_w32_shlib::close): | |
5868 Skip do_close_hook if cl_hook is 0. | |
5869 | |
5863 | 5870 2006-06-16 John W. Eaton <jwe@octave.org> |
5871 | |
5872 * oct-sort.h: Don't include config.h, lo-mappers.h, or quit.h. | |
5873 * randmtzig.h: Don't inlcude config.h. | |
5874 | |
5837 | 5875 2006-05-31 David Bateman <dbateman@free.fr> |
5876 | |
5877 * Array.cc (assignN): Maybe reshape LHS before doing assignment. | |
5878 | |
5828 | 5879 2006-05-23 John W. Eaton <jwe@octave.org> |
5880 | |
5881 * oct-types.h.in: Include stdint.h or inttypes.h for integer | |
5882 typedefs, or define them if those files are not available. | |
5883 * oct-inttypes.h (octave_int8_t, octave_int16_t, octave_int32_t, | |
5884 octave_int64_t, octave_uint8_t, octave_uint16_t, octave_uint32_t, | |
5885 octave_uint64_t): Delete typedefs. Replace all uses of these | |
5886 types with int8_t, int16_t, etc. | |
5887 * data-conv.h (TWO_BYTE_INT, FOUR_BYTE_INT, EIGHT_BYTE_INT): | |
5888 Delete definitions. Replace all uses of these macros with int8_t, | |
5889 int16_t, etc. | |
5890 * randmtzig.h: Delete integer typedefs. | |
5891 | |
5822 | 5892 2006-05-18 John W. Eaton <jwe@octave.org> |
5893 | |
5894 * EIG.cc (EIG::init): Trap Inf and NaN values here. | |
5895 From Keith Goodman <kwgoodman@gmail.com>. | |
5896 | |
5813 | 5897 2006-05-08 David Bateman <dbateman@free.fr> |
5898 | |
5899 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): fix bug in previous | |
5900 modification. | |
5901 | |
5797 | 5902 2006-05-09 David Bateman <dbateman@free.fr> |
5903 | |
5904 * sparse-dmsolve.cc: Remove reference to ov-re-sparse.h, | |
5905 ov-cx-sparse. and error_state. | |
5906 * SparseQR.cc, SparseCmplxQR.cc (qrsolve): Return info = -1 on error. | |
9967 | 5907 |
5795 | 5908 2006-05-08 David Bateman <dbateman@free.fr> |
5909 | |
5910 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Set column pointers in | |
5911 first pass and use to determine which algorithm to use on a | |
5912 column-by-column basis. | |
5913 | |
5792 | 5914 2006-05-04 David Bateman <dbateman@free.fr> |
5915 | |
5916 * SparseQR.cc, SparseQR.h, SparseCmplxQR.cc, SparseCmplxQR.h, | |
5917 sparse-dmsolve.cc : Allow compilation with versions v2.0.0 of | |
5918 CXSparse or later | |
5919 | |
5785 | 5920 2006-05-03 David Bateman <dbateman@free.fr> |
5921 | |
5922 * CMatrix.cc (zpotrf, zpocon, zpotrs, ztrcon, ztrtrs): | |
5923 External declaration of lapack triangular and Cholesky codes. | |
9967 | 5924 (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, |
5785 | 5925 ComplexMatrix::fsolve): New private solver codes for |
9967 | 5926 upper, lower and LU/Cholesky solvers. |
5785 | 5927 (ComplexMatrix::solve): New versions for cached matrix |
5928 type. Adapt old versions to call new versions | |
5929 * CMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
5930 new solvers. | |
5931 (solve): New versions for cached matrix type. | |
5932 * dMatrix.cc (dpotrf, dpocon, dpotrs, dtrcon, dtrtrs): | |
5933 External declaration of lapack triangular and Cholesky codes. | |
9967 | 5934 (Matrix::utsolve, Matrix::ltsolve, |
5785 | 5935 Matrix::fsolve): New private solver codes for |
9967 | 5936 upper, lower and LU/Cholesky solvers. |
5785 | 5937 (Matrix::solve): New versions for cached matrix |
5938 type. Adapt old versions to call new versions | |
5939 * dMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
5940 new solvers. | |
5941 (solve): New versions for cached matrix type. | |
5942 * CSparse.cc: Replace all uses of SparseType with MatrixType. | |
5943 * CSparse.h: ditto. | |
5944 * dSparse.cc: ditto. | |
5945 * dSparse.h: ditto. | |
5946 * SparseCmplxCHOL.cc: ditto. | |
5947 * SparsedbleCHOL.cc: ditto. | |
5948 * sparse-dmsolve.cc: ditto. | |
5949 * SparseType.cc, SparseType.h: delete. | |
5950 * MatrixType.cc: New file for class to cache matrix type, based on | |
5951 old SparseType class but caching matrix and sparse types. | |
5952 * MatrixType.h: ditto. | |
5953 * Makefile.in (MATRIX_INC, MATRIX_SRC): Add MatrixType.h and | |
5954 MatrixType.cc respectively. Delete SparseType.h and SparseType.cc | |
5955 respectively. | |
5956 * mx-base.h: Include MatrixTye.h as header file. | |
9967 | 5957 |
5781 | 5958 2006-05-01 John W. Eaton <jwe@octave.org> |
5959 | |
5960 * oct-shlib.h (octave_shlib::octave_shlib, octave_shlib::open): | |
5961 Delete WARN_FUTURE arg. Change all uses. | |
5962 * oct-shlib.cc (octave_base_shlib::stamp_time): Delete arg. | |
5963 Change all uses. Use current_liboctave_warning_with_id_handler. | |
5964 (octave_base_shlib::open): Delete arg. Change all derived classes | |
5965 and uses. | |
5966 | |
5967 2006-04-29 John W. Eaton <jwe@octave.org> | |
5968 | |
5969 * Array-flags.cc, Array-flags.h: Delete. | |
5970 * Makefile.in (MATRIX_SRC): Remove Array-flags.cc from the list. | |
5971 (MATRIX_INC): Remove Array-flags.h from the list. | |
5972 | |
5973 * idx-vector.cc (IDX_VEC_REP::freeze): Delete warn_resize arg. | |
5974 Use current_liboctave_warning_with_id_handler | |
5975 with warning ID Octave:resize-on-range-error. | |
5976 * idx-vector.h: Fix decl. | |
5977 * Array.cc, Sparse.cc: Change all callers. | |
5978 | |
5979 * Array.cc (Array<T>::maybe_delete_elements, Array<T>::index2, | |
5980 assign2, assignN): Use current_liboctave_warning_with_id_handler | |
5981 with warning ID Octave:fortran-indexing instead of | |
5982 liboctave_wfi_flag. | |
5983 * Sparse.cc (assign, Sparse<T>::index): Likewise. | |
5984 | |
5777 | 5985 2006-04-26 John W. Eaton <jwe@octave.org> |
5986 | |
5987 * pathsearch.cc (dir_path::path_sep_char, dir_path::path_sep_str): | |
5988 New static data. | |
5989 * pathsearch.h: Provide decls. | |
5990 (dir_path::is_path_sep): New function. | |
5991 | |
5766 | 5992 2006-04-18 John W. Eaton <jwe@octave.org> |
5993 | |
5994 * randmtzig.c (randmt, randi53, randi54, randi64, randu32, randu53): | |
5995 Omit inline from decl. | |
5996 | |
5997 * Sparse.cc (Sparse<T>::index): Use std::vector<bool> to avoid | |
5998 local array with variable dimension. | |
5999 | |
5764 | 6000 2006-04-16 John W. Eaton <jwe@octave.org> |
6001 | |
5765 | 6002 * lo-sstream.h: Delete. |
6003 * Makefile.in (INCLUDES): Remove it from the list. | |
6004 | |
6005 * dim-vector.h (dim_vector::str): Use std::ostringstream directly. | |
6006 * Sparse.cc (Sparse::range_error): Likewise. | |
6007 * DASSL.cc (DASSL::error_message): Likewise. | |
6008 * LSODE.cc (LSODE::error_message): Likewise. | |
6009 * DASRT.cc (DASRT::error_message): Likewise. | |
6010 * DASPK.cc (DASPK::error_message): Likewise. | |
6011 * Array.cc (Array::range_error): Likewise. | |
6012 | |
5764 | 6013 * kpse.cc (kpse_hash): Rename from hash. |
6014 (hash_lookup): Call kpse_hash instead of hash. | |
6015 | |
6016 * SparseType.cc (SparseType::SparseType): Use std::vector<bool> | |
6017 to avoid local array with variable dimension. | |
6018 | |
5760 | 6019 2006-04-13 David Bateman <dbateman@free.fr> |
6020 | |
9967 | 6021 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): |
5760 | 6022 Optimize assignment. |
6023 | |
6024 2006-04-13 John W. Eaton <jwe@octave.org> | |
6025 | |
9967 | 6026 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): |
5760 | 6027 Eliminate unnecessary casts. |
6028 * SparsedbleLU.cc (SparseLU::SparseLU): Likewise. | |
6029 | |
6030 * kpse.cc (fopen): Use reinterpret_cast instead of C-style cast. | |
6031 (log_search, dir_links): Use static_cast instead of C-style cast. | |
6032 | |
6033 * prog-args.cc (args::getopt): Use reinterpret_cast instead of X_CAST. | |
6034 * oct-alloc.cc (allocator::grow): Likewise. | |
6035 * CSparse.cc (SparseComplexMatrix::determinant, | |
6036 SparseComplexMatrix::factorize, SparseComplexMatrix::fsolve): | |
6037 Likewise. | |
6038 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU): Likewise. | |
6039 | |
6040 * oct-sort.cc (roundupsize, octave_sort<T>::merge_getmem): | |
6041 Use static_cast instead of C-style cast. | |
6042 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
6043 * dSparse.cc (SparseMatrix::fsolve): Likewise. | |
6044 | |
6045 * data-conv.cc (LS_DO_WRITE): Use static_cast for value conversion. | |
6046 Use OCTAVE_LOCAL_BUFFER instead of new/delete. | |
6047 (LS_DO_READ): Allocate local buffer to avoid pointer tricks. | |
6048 (write_doubles, read_doubles, LS_DO_WRITE, LS_DO_READ): | |
6049 Use reinterpret_cast instead of X_CAST. | |
6050 | |
6051 * DiagArray2.h (DiagArray2::Proxy::operator&): No need to cast | |
6052 return value here. | |
6053 | |
5752 | 6054 2006-04-12 Rafael Laboissiere <rafael@debian.org> |
6055 | |
6056 * ArrayN.h (ArrayN::ArrayN): Qualify fill with Array<T> base class. | |
6057 * DiagArray2.h (DiagArray2::DiagArray2): Likewise. | |
6058 | |
5730 | 6059 2006-04-03 David Bateman <dbateman@free.fr> |
6060 | |
5731 | 6061 * Sparse.cc (Sparse<T>::resize): Use xcidx rather than cdix, etc |
6062 to avoid copy of original matrix. | |
6063 | |
5730 | 6064 * Makefile.in (INCLUDES): Add randgamma.h, randpoisson.h and |
9967 | 6065 randmtzig.h to the list. |
5730 | 6066 (LIBOCTAVE_C_SOURCES): Add randgamma.c, randpoisson.c and |
9967 | 6067 randmtzig.c to the list. |
5730 | 6068 * oct-rand.cc (do_old_initialization): Rename from do_initialization. |
6069 (use_old_generators): New variable. | |
6070 (old_initialized): Rename from initialized. | |
6071 (new_initialized): New variable. | |
6072 (oct_init_by_entropy): New function. | |
6073 (maybe_initialize): Initialize new or old generator depending on | |
6074 value of use_old_generators. | |
6075 (octave_rand::state): New functions. | |
6076 (octave_rand::distribution): Add gamma, exponential and poisson | |
6077 distributions. | |
6078 (octave_rand::exponential_distribution, | |
6079 octave_rand::poisson_distribution, | |
6080 octave_rand::gamma_distribution): New methods to select | |
9967 | 6081 exponential, poisson or gamma distribution. |
5730 | 6082 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, |
6083 octave_rand::vector): Add new distributions. | |
6084 * oct-rand.h: Provide decls for new functions. | |
6085 (octave_rand::matrix, octave_rand::scalar, octave_rand:: | |
6086 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
6087 octave_rand::vector): New arg A, for gamma and poisson distributions. | |
6088 * randpoisson.c, randpoisson.h, randgamma.c, randmtzig.c, | |
9967 | 6089 randmtzig.h: New files. |
5730 | 6090 |
5717 | 6091 2006-03-24 John W. Eaton <jwe@octave.org> |
6092 | |
6093 * dSparse.cc (SparseMatrix::bsolve): Integer work vector is | |
6094 Array<octave_idx_type>, so fortran_vec returns pointer to | |
6095 octave_idx_type, not pointer to int. | |
6096 | |
6097 * CMatrix.cc, CMatrix.h (ComplexMatrix::row (char*), | |
6098 ComplexMatrix::column (char*)): Delete. | |
6099 * dMatrix.cc, dMatrix.h (Matrix::row (char*), | |
6100 Matrix::column (char*)): Delete. | |
6101 | |
5713 | 6102 2006-03-21 David Bateman <dbateman@free.fr> |
6103 | |
6104 * SparseQR.h: Publish externally used friends. | |
6105 * SparseCmplxQR.h: ditto. | |
6106 | |
5700 | 6107 2006-03-21 John W. Eaton <jwe@octave.org> |
6108 | |
6109 * lo-specfun.cc (betainc): Use F77_XFCN instead of F77_FUNC for | |
6110 call to xdbetai. | |
6111 | |
5697 | 6112 2006-03-21 David Bateman <dbateman@free.fr> |
6113 | |
5701 | 6114 * lo-specfun.cc (xlgamma, xgamma): Trap special values. |
6115 (xlgamma): Use F77_XFCN instead of F77_FUNC for call to dlgams. | |
5700 | 6116 |
6117 * dSparse.cc (solve): Add argument singular_fallback, to allow | |
6118 fallback to QR solvers to be optional. | |
6119 * CSparse.cc (solve): Ditto. | |
6120 * dSparse.h (solve): update declaration for new argument. | |
6121 * CSparse.h (solve): Ditto. | |
6122 * sparse-dmsolve.cc (dmsolve): Use singular_fallback argument | |
6123 to bypass QR solvers when solving the well determined part of | |
6124 the problem. | |
5697 | 6125 |
5690 | 6126 2006-03-17 John W. Eaton <jwe@octave.org> |
6127 | |
6128 * str-vec.cc (vector::list_in_columns): New optional arg, width. | |
6129 | |
5681 | 6130 2006-03-16 David Bateman <dbateman@free.fr> |
6131 | |
6132 * CSparse.cc: Change use of nzmax to nnz to allow automatic | |
6133 reduction of matrix size, except for a couple of cases where nzmax | |
6134 is needed. | |
6135 (zpbcon): Correct declaration of lapack zpbcon function. | |
6136 (dsolve, utsolve, ltsolve, trisolve, bsolve, factorize, fsolve): Add | |
6137 an argument to allow the calculation of condition number to be | |
6138 optional. | |
6139 (bsolve): Add code for the calculation of the condition number | |
6140 using zpbcon and zgbcon. | |
6141 (dsolve): Bug fix for rectangular matrices with sparse RHS. | |
6142 (utsolve, ltsolve, trisolve, bsolve, fsolve): Mark matrix type as | |
6143 singular if singularity is detected. | |
6144 (solve): Use optional argument to disable calculation of | |
9967 | 6145 condition number for all but fsolve, for speed. Add code to |
5681 | 6146 allow rectnagular matrices or matrices identified as singular |
6147 to be treated. | |
6148 (lssolve): delete. | |
6149 (operator *): Don't recast real matrices as complex, but | |
6150 rather use the macro directly on the real data. | |
6151 * dSparse.cc: ditto. | |
6152 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, | |
6153 fsolve, factorize): Update declaration for new argument to | |
6154 calculate the condition number. | |
6155 (lssolve): delete. | |
6156 * dSparse.h: ditto. | |
6157 * Msparse.h: Change use of nxmax to nnz to allow automatic | |
6158 reduction of matrix size, except for a couple of cases where | |
6159 nzmax is needed. | |
6160 * Sparse.cc: Change use of nxmax to nnz to allow automatic | |
6161 reduction of matrix size, except for a couple of cases where | |
6162 nzmax is needed. | |
6163 (Sparse<T>::index (idx_vector&, idx_vector&, int) const): | |
6164 Special case strict permutations for speed. | |
6165 * Sparse-op-defs.h: Change use of nxmax to nnz to allow automatic | |
6166 reduction of matrix size, except for a couple of cases where | |
6167 nzmax is needed. | |
6168 (SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, FULL_SPARSE_MUL): Update | |
6169 macros to allow mixed complex/real arguments. | |
6170 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): New macro for C99 zero | |
9967 | 6171 value. |
5681 | 6172 (qrsolve): Use it to zero temporary buffers used bt CXSPARSE. |
6173 * SparseType.cc (SparseType::SparseType ()): Correct detection | |
6174 of permutated triangular matrices to avoid seg-faults. Disable | |
6175 detection of underdetermined lower and over-determined upper | |
6176 matrix due to problems with non minimum norm solutions. | |
6177 * sparse-dmsolve.cc: New file for Dulmage-Mendelsohn solver. | |
6178 * Makefile.in: add sparse-dmsolve.cc to targets. | |
6179 | |
5675 | 6180 2006-03-15 William Poetra Yoga Hadisoeseno <williampoetra@gmail.com> |
6181 | |
6182 * oct-time.cc (octave_strptime::init): Return useful character count. | |
6183 | |
5648 | 6184 2006-03-08 David Bateman <dbateman@free.fr> |
6185 | |
6186 * SparseCmplxQR.cc: Updates for new upstream CXSPARSE release. Fix for | |
6187 g++ 4.x stl_vector.h issue with C99 double _Complex type. | |
6188 * SparseCmplxQR.h: Updates for new upstream CXSPARSE release. | |
6189 * SparseQR.cc: ditto. | |
6190 * SparseQR.h: ditto. | |
6191 * oct-sparse.h: ditto. | |
6192 * sparse-base-chol.cc (sparse_base_chol<>::sparse_base_chol_rep::init): | |
6193 Declare info variable as volatile. | |
6194 | |
6195 * Sparse.cc (Sparse<T>::transpose (void) const): Accelerate algorithm. | |
6196 * CSparse.cc (SparseComplexMatrix::transpose (void) const): ditto. | |
9967 | 6197 |
5634 | 6198 2006-03-01 John W. Eaton <jwe@octave.org> |
6199 | |
6200 * CMatrix.cc (ComplexMatrix::determinant): | |
6201 Scale result by factors of 2, not 10. | |
6202 * dMatrix.cc (Matrix::determinant): Likewise. | |
6203 | |
6204 * dbleDET.h (DET::DET): Use initializer list. | |
6205 (DET::coefficient2, DET::coefficient10, DET::exponent2, | |
6206 DET::exponent10): New functions. | |
6207 (DET::det): Delete. | |
6208 (DET::c2, DET::c10, DET::e2, DET::e10, DET::base2): New data members. | |
6209 Store value internally with double and int instead of 2-element | |
6210 double vector. | |
6211 (DET::initialize2, DET::initialize10): Provide decls. | |
9967 | 6212 * dbleDET.cc (DET::value_will_overflow, DET::value_will_underflow): |
5634 | 6213 Return bool value, not int. |
6214 (DET::initialize2, DET::initialize10): New functions. | |
6215 | |
6216 * CmplxDET.h (ComplexDET::ComplexDET): Use initializer list. | |
6217 (ComplexDET::coefficient2, ComplexDET::coefficient10, | |
6218 ComplexDET::exponent2, ComplexDET::exponent10): New functions. | |
6219 (ComplexDET::det): Delete. | |
6220 (ComplexDET::c2, ComplexDET::c10, ComplexDET::e2, ComplexDET::e10, | |
6221 ComplexDET::base2): New data members. | |
6222 Store value internally with Complex and int instead of 2-element | |
6223 Complex vector. | |
6224 (ComplexDET::initialize2, ComplexDET::initialize10): Provide decls. | |
6225 * dbleComplexDET.cc (ComplexDET::value_will_overflow, | |
6226 ComplexDET::value_will_underflow): Return bool value, not int. | |
6227 (ComplexDET::initialize2, ComplexDET::initialize10): New functions. | |
6228 | |
5632 | 6229 2006-02-24 John W. Eaton <jwe@octave.org> |
6230 | |
6231 * Array.cc (assignN): Clear index before reshaping. | |
6232 | |
6233 * Array.h (Array<T>::operator =): Don't set idx to 0 if copying self. | |
6234 | |
5630 | 6235 2006-02-20 David Bateman <dbateman@free.fr> |
6236 | |
9967 | 6237 * dSparse.cc (dsolve, utsolve, ltsolve): Remove restriction that |
5630 | 6238 matrix must be square in diagonal, permuted diagonal, triangular |
6239 and permuted triangular back/forward substitution code. Change | |
6240 ambiguous use of no. rows and columns. | |
6241 * CSParse.cc (dsolve, utsolve, ltsolve): ditto. | |
6242 * SparseType.cc (SparseType::SparseType(const SparseMatrix&), | |
6243 SparseType::SparseType(const SparseComplexMatrix&)): Recognize | |
6244 rectangular diagonal, permuted diagonal, triangular and permuted | |
6245 triangular matrices. | |
6246 * Sparse.cc (Sparse<T>::Sparse (octave_idx_type, octave_idx_type, T)): | |
6247 Treat case where third argument is zero. | |
6248 | |
5621 | 6249 2006-02-15 John W. Eaton <jwe@octave.org> |
6250 | |
5622 | 6251 * kpse.cc: Do define ST_NLINK_TRICK for Cygwin systems. |
9967 | 6252 (do_subdir) [ST_NLINK_TRICK]: Check links != 2 instead of links > 2. |
5622 | 6253 |
5621 | 6254 * getopt.c: Use __CYGWIN__ instead of __CYGWIN32__. |
6255 | |
5619 | 6256 2006-02-13 David Bateman <dbateman@free.fr> |
6257 | |
6258 * Makefile.in (LINK_DEPS): Add missing dependencies on colamd, | |
9967 | 6259 ccolamd and cxsparse |
5619 | 6260 |
5617 | 6261 2006-02-13 John W. Eaton <jwe@octave.org> |
6262 | |
5618 | 6263 * kpse.cc (kpse_path_iterator::next): Reverse order of tests in |
6264 while loop condition. | |
6265 (kpse_path_iterator::operator =): Declare as private function but | |
6266 don't define to prevent attempts to use assignment operator. | |
6267 Don't define ST_NLINK_TRICK for Cygwin systems. | |
5617 | 6268 |
5615 | 6269 2006-02-10 John W. Eaton <jwe@octave.org> |
6270 | |
6271 * mx-inlines.cc (MX_ND_REDUCTION): Store in cummulative | |
6272 product of all dimensions in CP_SZ. | |
6273 | |
5611 | 6274 2006-02-09 John W. Eaton <jwe@octave.org> |
6275 | |
6276 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Store in cummulative | |
5615 | 6277 product of all dimensions in CP_SZ. |
5611 | 6278 |
5610 | 6279 2006-02-09 David Bateman <dbateman@free.fr> |
6280 | |
9967 | 6281 * SparseQR.cc: new file for real sparse QR class. |
6282 * SparseQR.h: declaration. | |
6283 * SparseCmplxQR.cc: new file for complex sparse QR class. | |
6284 * SparseCmplxQR.h: declaration. | |
6285 * dSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
6286 (factorize, fsolve): Enable code code lssolve. | |
6287 (lssolve): disable unused args, write based in above sparse QR class. | |
6288 * CSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
6289 (factorize, fsolve): Enable code code lssolve. | |
6290 (lssolve): disable unused args, write based in above sparse QR class. | |
6291 * oct-sparse.h: fix location of colamd, ccolamd and metis headers. | |
6292 Include CXSparse headers. | |
6293 * Makefile.in (MATRIX_INC): Include SparseQR.h and SparseCmplxQR.h. | |
6294 (MATRIX_SRC): Include SparseQR.cc and SparseCmplxQR.cc. | |
5610 | 6295 |
5607 | 6296 2006-02-08 John W. Eaton <jwe@octave.org> |
6297 | |
6298 * Array-util.h (calc_permutated_idx): Delete. | |
6299 * Array.cc (permute_vector): New data structure. | |
6300 (permute_vector_compare): New function. | |
6301 (Array<T>::permute): Rewrite to avoid calc_permutated_index for | |
6302 improved performance. | |
6303 | |
5606 | 6304 2006-02-04 David Bateman <dbateman@free.fr> |
6305 | |
6306 * COLAMD: Remove all files, as now unused. | |
6307 | |
5604 | 6308 2006-01-31 John W. Eaton <jwe@octave.org> |
6309 | |
6310 * Sparse.h (Sparse<T>::nzmax): New function. | |
6311 (Sparse<T>::nnz): Rename from nonzero. | |
6312 Change all uses of old nnz function to be nzmax. Change all uses | |
6313 of nonzero to be nnz. | |
6314 (Sparse<T>::nzmx): Rename from nnz (data member). Change all uses. | |
6315 | |
5603 | 6316 2006-01-21 David Bateman <dbateman@free.fr> |
6317 | |
9967 | 6318 * sparse-sort.cc (bool octave_sparse_sidxl_comp): 64-bit fix. |
6319 (bool octave_idx_vector_comp): New function. | |
6320 (template class octave_sort<octave_idx_vector_sort *>): Instantiate | |
6321 indexed idx_vector sorting function. | |
6322 * sparse-sort.h (class octave_sparse_sort_idxl): 64-bit fix. | |
6323 (class octave_idx_vector_sort): New class for indexed idx_vector | |
6324 sorting. | |
6325 (bool octave_idx_vector_comp): Declaration. | |
6326 * Sparse.cc (int assign1(Sparse<LT>&, Sparse<RT>&)): Treat cases of | |
6327 unordered LHS indexes in assignment using new octave_idx_vector_sort | |
6328 class. | |
6329 (int assign(Sparse<LT>&, Sparse<RT>&)): ditto. | |
5603 | 6330 |
5602 | 6331 2006-01-30 John W. Eaton <jwe@octave.org> |
6332 | |
6333 * so-array.h (streamoff_array::nnz): New funtion. | |
6334 * boolNDArray.h (boolNDArray::nnz): New function. | |
6335 * MArrayN.h (MArrayN<T>::nnz): New function. | |
6336 * MArray.h (MArray<T>::nnz): New function. | |
6337 | |
5587 | 6338 2006-01-04 David Bateman <dbateman@free.fr> |
6339 | |
6340 * Spars-op-defs.h (SPARSE_SPARSE_MUL): Previous change resulted in | |
6341 elements not being sorted in return matrix. Sort them, and make | |
9967 | 6342 solver select between two algorithms to further improve the |
5587 | 6343 performance. |
6344 * dSparse.cc: include oct-sort.h. | |
6345 * CSparse.cc: ditto. | |
6346 * sparse-sort.cc: Instantiate octave_sort<octave_idx_type>. | |
9967 | 6347 |
5586 | 6348 2005-12-28 David Bateman <dbateman@free.fr> |
6349 | |
5587 | 6350 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Improved algorithm that is |
9967 | 6351 faster in all cases, and significantly so for low density or small |
5587 | 6352 order problems. |
5586 | 6353 |
5552 | 6354 2005-11-30 John W. Eaton <jwe@octave.org> |
6355 | |
6356 * LSODE.cc (LSODE::do_integrate (double)): Resize iwork and rwork | |
6357 before setting any values in either array. | |
6358 | |
5547 | 6359 2005-11-29 John W. Eaton <jwe@octave.org> |
6360 | |
6361 * oct-uname.h, oct-uname.cc: New files. | |
6362 * Makefile.in: Add them to the appropriate lists. | |
6363 | |
5535 | 6364 2005-11-11 John W. Eaton <jwe@octave.org> |
6365 | |
6366 * Array.cc (Array<T>::indexN): Simplify. | |
6367 | |
5533 | 6368 2005-11-09 John W. Eaton <jwe@octave.org> |
6369 | |
6370 * oct-inttypes.h (octave_int::operator char (void) const): | |
6371 New conversion op. | |
6372 | |
5527 | 6373 2005-11-01 John W. Eaton <jwe@octave.org> |
6374 | |
6375 * Makefile.in (distclean): Also remove oct-types.h. | |
6376 From Quentin Spencer <qspencer@ieee.org>. | |
6377 | |
5526 | 6378 2005-10-31 David Bateman <dbateman@free.fr> |
6379 | |
6380 * dSparse.cc, CSparse.cc: Use C++ true/false instead of | |
6381 preprocessor defined TRUE/FALSE. | |
6382 | |
5523 | 6383 2005-10-30 John W. Eaton <jwe@octave.org> |
6384 | |
6385 * mx-inlines.cc (MX_ND_REDUCTION): Iterate in direction of DIM. | |
6386 (MX_ND_CUMULATIVE_OP): Likewise. | |
6387 | |
5519 | 6388 2005-10-29 John W. Eaton <jwe@octave.org> |
6389 | |
5520 | 6390 * mx-inlines.cc (MX_ND_REDUCTION): Avoid increment_index to speed |
6391 things up. Simplify. | |
6392 | |
5519 | 6393 * Array.cc (Array<T>::indexN): Simplify. Delete separate special |
6394 case for "vector_equivalent". | |
6395 | |
6396 * Array-util.cc (vector_equivalent): Arg is now dim_vector. | |
6397 | |
5518 | 6398 2005-10-28 John W. Eaton <jwe@octave.org> |
6399 | |
6400 * oct-sparse.h: Fix typo in HAVE_UFSPARSE_UMFPACK_H. | |
6401 From Quentin Spencer <qspencer@ieee.org>. | |
6402 | |
6403 * sparse-base-chol.cc: Use C++ true/false instead of | |
6404 preprocessor defined TRUE/FALSE. Use 0 instead of NULL. | |
6405 | |
5516 | 6406 2005-10-27 John W. Eaton <jwe@octave.org> |
6407 | |
6408 * Array.cc (assignN): Reshape to final size instead of resizing. | |
6409 | |
5512 | 6410 2005-10-26 John W. Eaton <jwe@octave.org> |
6411 | |
6412 * oct-sparse.h: New file. | |
6413 * oct-sparse.h.in: Delete. | |
6414 | |
5511 | 6415 2005-10-26 David Bateman <dbateman@free.fr> |
6416 | |
6417 * sparse-base-chol.h: Include cholmod specific code in HAVE_CHOLMOD | |
6418 * sparse-base-chol.cc: ditto. | |
6419 | |
5508 | 6420 2005-10-26 John W. Eaton <jwe@octave.org> |
6421 | |
6422 Changes for GCC 4.1, tip from Arno J. Klaassen | |
6423 <arno@heho.snv.jussieu.fr>: | |
6424 | |
9967 | 6425 * dSparse.h (real (const SparseComplexMatrix&)): |
5509 | 6426 Publish externally used friend function. |
6427 (imag (const SparseComplexMatrix&)): Likewise. | |
6428 | |
5508 | 6429 * dColVector.h (real (const ComplexColumnVector&)): |
6430 Publish externally used friend function. | |
6431 (imag (const ComplexColumnVector&)): Likewise. | |
6432 | |
6433 * dNDArray.h (real (const ComplexNDArray&)): | |
6434 Publish externally used friend function. | |
6435 (imag (const ComplexNDArray&)): Likewise. | |
6436 | |
9967 | 6437 * dMatrix.h (operator * (const ComplexMatrix&)): |
5508 | 6438 Move decl outside class. No need to be friend. |
6439 (real (const ComplexMatrix&)): Publish externally used friend function. | |
6440 (imag (const ComplexMatrix&)): Likewise. | |
6441 | |
6442 * CMatrix.h: (operator * (const ColumnVector&, const | |
6443 ComplexRowVector&)): Move decl outside class. No need to be friend. | |
6444 (operator * (const ComplexColumnVector&, const RowVector&)): Likewise. | |
6445 (operator * (const ComplexColumnVector&, const ComplexRowVector& b)): | |
6446 Likewise. | |
6447 | |
5506 | 6448 2005-10-23 David Bateman <dbateman@free.fr> |
9967 | 6449 |
5506 | 6450 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Check whether trailing zero |
6451 elements need to be removed. | |
9967 | 6452 |
5506 | 6453 * oct-sparse.h.in: Include metis headers and some macros for long/int |
6454 versions of cholmod. | |
9967 | 6455 |
5506 | 6456 * CSparse.cc (tinverse): New private function for the inversion of |
6457 an upper triangular matrix. | |
6458 (dinverse): ditto for diagonal matrices. | |
6459 (inverse): Add SparseType as an argument. Implement matrix inverse | |
6460 using tinverse and dinverse. | |
6461 (fsolve): Use cholmod to implement Cholesky solver. | |
6462 * CSparse.h (tinverse, dinverse): Declarations | |
6463 (inverse): Alter declaration to include SparseType. | |
6464 | |
6465 * dSparse.cc (tinverse, dinverse, inverse, fsolve): ditto. | |
6466 * dSparse.h (tinverse, dinverse, inverse): ditto. | |
6467 | |
6468 * SparseType.cc: Fix complex constructor for hermitian matrices. | |
9967 | 6469 |
5506 | 6470 * sparse-util.cc: New file for sparse utility functions. |
9967 | 6471 * sparse-util.h: New file with declarations of sparse utility |
5506 | 6472 functions. |
6473 | |
6474 * sparse-base-chol.cc: New file with sparse cholesky class based | |
6475 on cholmod. | |
6476 * sparse-base-chol.h: New file with declaration of sparse cholesky | |
6477 class based on cholmod. | |
6478 | |
6479 * SparseCmplxCHOL.cc: Instantiate sparse cholesky class for Complex. | |
6480 * SparseCmplxCHOL.h: Declaration of sparse cholesky class. | |
6481 | |
6482 * SparsedbleCHOL.cc: ditto. | |
6483 * SparsedbleCHOL.h: ditto. | |
6484 | |
6485 * Makefile.in (MATRIX_INC): Include sparse-base-chol.h. | |
6486 (INCLUDES): Include sparse-util.h | |
6487 (TEMPLATE_SRC): Include sparse-base-chol.cc | |
6488 (MATRIX_SRC): Include SparseCmplxCHOL.cc and SparsedbleCHOL.cc | |
9967 | 6489 |
5489 | 6490 2005-10-12 John W. Eaton <jwe@octave.org> |
6491 | |
6492 * oct-env.cc (octave_env::have_x11_display): New function. | |
6493 * oct-env.h: Provide decl. | |
6494 | |
5476 | 6495 2005-09-29 John W. Eaton <jwe@octave.org> |
6496 | |
6497 * file-stat.h (file_stat::mode): New function. | |
6498 | |
6499 * file-stat.cc (file_stat::is_blk, file_stat::is_chr, | |
6500 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
6501 file_stat::is_reg, file_stat::is_sock): New static functions. | |
6502 * file-stat.h: Provide decls. | |
6503 | |
6504 2005-09-28 John W. Eaton <jwe@octave.org> | |
6505 | |
6506 * file-ops.cc (file_ops::recursive_rmdir): New function. | |
6507 * file-ops.h: Provide decl. | |
6508 | |
5454 | 6509 2005-09-19 David Bateman <dbateman@free.fr> |
6510 | |
6511 * oct-env.cc (octave_env::do_get_home_directory): | |
6512 Also check HOMEDRIVE under mingw. | |
6513 | |
5455 | 6514 * Makefile.in (LINK_DEPS): Include UFsparse libraries. |
6515 | |
5453 | 6516 2005-09-16 John W. Eaton <jwe@octave.org> |
6517 | |
6518 * oct-syscalls.cc: Include lo-utils.h here. | |
6519 (octave_syscalls::waitpid): Call octave_waitpid here. | |
6520 | |
6521 * lo-cutils.c (octave_waitpid): New function. | |
6522 * lo-utils.h: Provide decl. Include syswait.h here, not in | |
6523 oct-syscalls.cc | |
9967 | 6524 |
5453 | 6525 |
6526 * syswait.h [__MINGW32__]: Define WAITPID here instead of defining | |
6527 waitpid in src/sysdep.h. Make this header C-compatible. | |
6528 | |
6529 * oct-syscalls.cc (octave_syscalls::waitpid): New arg, status. | |
6530 Change all uses. | |
6531 | |
5451 | 6532 2005-09-15 John W. Eaton <jwe@octave.org> |
6533 | |
6534 * Makefile.in (MAKEDEPS_2): Omit unnecessary variable. | |
6535 | |
6536 * oct-sparse.h.in: New file. | |
6537 * Makefile.in (DISTFILES): Include it in the list. | |
6538 (INCLUDES): Add oct-sparse.h to the list. | |
6539 | |
6540 2005-09-15 David Bateman <dbateman@free.fr> | |
6541 | |
9967 | 6542 * dSparse.cc : Include oct-sparse.h for probed umfpack, colamd etc |
5451 | 6543 headers. Remove include of umfpack.h. |
6544 * CSparse.cc : ditto. | |
6545 * SparsedbleLU.cc : ditto. | |
6546 * SparseCmplxLU.cc : ditto. | |
6547 | |
6548 * COLAMD : Remove colamd files from octave. | |
6549 * COLAMD.files : delete. | |
6550 * COLAMD.README : delete. | |
6551 * Makefile.in: Remove COLAMD. Add LIBGLOB. | |
9967 | 6552 (LN_S): Change to DESTDIR before LN_S to avoid lack of symlinks |
5451 | 6553 under mingw. |
6554 | |
6555 * kpse.cc (ENV_SEP, ENV_SEP_STRING): Use SEPCHAR and SEPCHAR_STR | |
6556 in definition. | |
6557 * lo-cutils.c (octave_w32_library_search): Call GetProcAddress with | |
6558 change of cast not allowed under g++ 3.x. | |
6559 * lo-utils.h (octave_w32_library_search): Declaration. | |
6560 * oct-env.cc (do_get_home_directory): Also check HOMEPATH under mingw. | |
6561 * oct-shlib.cc (octave_w32_shlib::search): Use octave_w32_library_search. | |
6562 | |
5442 | 6563 2005-09-07 John W. Eaton <jwe@octave.org> |
6564 | |
6565 * cmd-edit.cc (command_editor::do_decode_prompt_string): Update | |
6566 based on current code in Bash. Handle a few more escape | |
6567 sequences. Do a better job of decoding \W. | |
6568 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
6569 2005-09-04 David Bateman <dbateman@free.fr> |
5438 | 6570 |
6571 * COLAMD: Update version of colamd to v2.4. | |
9967 | 6572 * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of |
5438 | 6573 colamd.c for long version. |
6574 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
6575 2005-08-25 David Bateman <dbateman@free.fr> |
5429 | 6576 |
6577 * Sparse-op-defs.h (FULL_SPARSE_MUL, SPARSE_FULL_MUL): Macro for | |
6578 mixed sparse/full multiply. | |
6579 * dSparse.cc (operator *), CSparse.cc (operator *): New operators for | |
6580 mixed sparse/full multiply. | |
6581 * dSparse.h (operator *), CSparse.h (operator *): Declaration of | |
6582 mixed sparse/full multiply operators. | |
6583 | |
5420 | 6584 2005-07-25 Erik de Castro Lopo <erikd@zip.com.au> |
6585 | |
6586 * oct-inttypes.h (OCTAVE_S_US_FTR): Compare <= 0 instead of < 0 to | |
6587 avoid warnings for unsigned types. | |
6588 | |
5404 | 6589 2005-07-07 John W. Eaton <jwe@octave.org> |
6590 | |
6591 * dSparse.cc (SparseMatrix::factorize): Initialize Numeric to 0. | |
6592 * CSparse.cc (SparseComplexMatrix::factorize:) Likewise. | |
6593 | |
5392 | 6594 2005-06-15 John W. Eaton <jwe@octave.org> |
6595 | |
5394 | 6596 * oct-rl-edit.c (flush_stdout): Rename from no_redisplay. |
6597 Flush stdout here. | |
6598 (octave_rl_clear_screen): Set rl_redisplay_function to flush_stdout. | |
6599 | |
5392 | 6600 * Array.h (Array::resize): Change int args to octave_idx_type. |
6601 | |
5386 | 6602 2005-06-14 John W. Eaton <jwe@octave.org> |
6603 | |
5389 | 6604 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
6605 dSparse.cc, lo-cieee.c, lo-mappers.cc: Change all uses of | |
6606 octave_is_NaN_or_NA to xisnan. | |
6607 | |
6608 * lo-mappers.h (octave_is_NaN_or_NA): Mark with GCC_ATTR_DEPRECATED. | |
6609 * lo-ieee.h (lo_ieee_is_NaN_or_NA): Likewise. | |
6610 | |
6611 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Now just a wrapper for | |
6612 lo_ieee_isnan. | |
6613 | |
5387 | 6614 * dMatrix.cc (Matrix::too_large_for_float): Only check if abs |
6615 value is greater than FLT_MAX. | |
6616 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
6617 * dNDArray.cc (NDArray::too_large_for_float): Ditto. | |
6618 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
6619 | |
6620 * dMatrix.cc (Matrix::too_large_for_float): Special case Inf | |
6621 values too. | |
6622 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
6623 | |
6624 * dNDArray.cc (NDArray::too_large_for_float): Likewise for NaN, | |
6625 NA, Inf values. | |
6626 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
5386 | 6627 |
5385 | 6628 2005-06-14 David Bateman <dbateman@free.fr> |
6629 | |
5387 | 6630 * dMatrix.cc (Matrix::too_large_for_float): Special case NaN and |
6631 NA values. | |
6632 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
5385 | 6633 |
5379 | 6634 2005-06-02 John W. Eaton <jwe@octave.org> |
6635 | |
6636 * Array.cc (assignN): Try harder to correctly resize previously | |
6637 empty LHS. | |
6638 | |
5351 | 6639 2005-05-16 David Bateman <dbateman@free.fr> |
6640 | |
6641 * dSparse.h: Change UMFPACK_LONG_IDX to IDX_TYPE_LONG. | |
6642 * CSparse.h: ditto. | |
6643 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
6644 2005-05-10 David Bateman <dbateman@free.fr> |
5346 | 6645 |
6646 * dSparse.cc (determinant): Free numeric factorization after | |
6647 sucessful calculation. | |
6648 * CSparse.cc (determinant): ditto. | |
6649 | |
5340 | 6650 2005-05-06 John W. Eaton <jwe@octave.org> |
6651 | |
6652 * dbleCHOL.cc (CHOL::init): Use xelem instead of elem for indexing | |
6653 chol_mat. | |
6654 (chol2mat_internal, chol2mat, CHOL::inverse): New functions. | |
6655 * dbleCHOL.h (chol2mat_internal, chol2mat, CHOL::inverse): | |
6656 Provide decls. | |
6657 | |
6658 * CmplxChol.cc (ComplexCHOL::init): Use xelem instead of elem for | |
6659 indexing chol_mat. | |
6660 (chol2mat_internal, chol2mat, ComplexCHOL::inverse): New functions. | |
6661 * CmplxCHOL.h (chol2mat_internal, chol2mat, CmplxCHOL::inverse): | |
6662 Provide decls. | |
6663 | |
5338 | 6664 2005-05-05 John W. Eaton <jwe@octave.org> |
6665 | |
6666 * Array.cc (Array<T>::permute): Call chop_trailing_singletons on | |
6667 retval before return. | |
6668 | |
5336 | 6669 2005-05-04 John W. Eaton <jwe@octave.org> |
6670 | |
6671 * cmd-edit.cc (gnu_readline::do_readline): Extract const char* | |
6672 from prompt outside of INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE block. | |
6673 | |
5330 | 6674 2005-05-02 John W. Eaton <jwe@octave.org> |
6675 | |
6676 * Makefile.in (LINK_DEPS): List $(UMFPACK_LIBS) ahead of $(BLAS_LIBS). | |
6677 From Dmitri A. Sergatskov <dasergatskov@gmail.com>. | |
6678 | |
5322 | 6679 2005-04-29 David Bateman <dbateman@free.fr> |
6680 | |
5330 | 6681 * dSparse.cc (trisolve): Diagonal passed to lapack zptsv is type |
6682 double. Correct indexing for upper diagonal elements for sparse | |
6683 tridiagonal. | |
5322 | 6684 * CSparse.cc (trisolve): ditto. |
6685 | |
5330 | 6686 * CSparse.h (UMFPACK_ZNAME): Define macro to pick version of |
6687 UMFPACK for 64-bit. | |
9967 | 6688 * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with |
5322 | 6689 UMFPACK_ZNAME(*). |
6690 * SparseCmplxLU.cc (UMFPACK_ZNAME): ditto | |
6691 | |
5330 | 6692 * dSparse.h (UMFPACK_DNAME): Define macro to pick version of |
6693 UMFPACK for 64-bit. | |
9967 | 6694 * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with |
5322 | 6695 UMFPACK_DNAME(*). |
6696 * SparsedbleLU.cc (UMFPACK_DNAME): ditto | |
6697 | |
5330 | 6698 * dSparse.cc (ltsolve, utsolve): Correct permuted upper/lower |
6699 triangular back/forward substitution code. | |
5322 | 6700 * CSparse.cc (ltsolve, utsolve): ditto. |
6701 | |
5330 | 6702 * dSparse.cc (solve): Use mattype.type (false) to force messaging |
6703 from spparms("spumoni",1). | |
5322 | 6704 * CSparse.cc (solve): ditto |
6705 | |
5330 | 6706 * SparseType.cc (SparseType(void)): Print info for |
6707 spparms("spumoni",1). | |
5322 | 6708 (SparseType(const matrix_type), SparseType(const matrix_type, const |
6709 octave_idx_type, const octave_idx_type*), SparseType(const matrix_type, | |
6710 const octave_idx_type, const octave_idx_type)): New constructors. | |
6711 (SparseType (const SparseMatrix&), SparseType (SparseComplexMatrix&)): | |
5330 | 6712 Detect row permuted lower triangular and column permuted upper |
6713 triangular matrices. Remove one of the permutation vectors.. | |
5322 | 6714 |
6715 * SparseType.h: Simplify the permutation code. | |
6716 (SparseType(const matrix_type), SparseType | |
9967 | 6717 (const matrix_type, const octave_idx_type, const octave_idx_type*), |
6718 SparseType(const matrix_type, const octave_idx_type, | |
5322 | 6719 const octave_idx_type)): Declarations. |
9967 | 6720 |
5304 | 6721 2005-04-25 John W. Eaton <jwe@octave.org> |
6722 | |
6723 * str-vec.cc (string_vector::delete_c_str_vec): Correctly free | |
6724 array and its contents. | |
6725 | |
5303 | 6726 2005-04-22 John W. Eaton <jwe@octave.org> |
6727 | |
6728 * oct-rl-edit.c (octave_rl_set_terminal_name): Don't cast away | |
6729 const here now that rl_terminal_name is declared const char*. | |
6730 | |
5294 | 6731 2005-04-21 John W. Eaton <jwe@octave.org> |
6732 | |
6733 * Makefile.in (DISTFILES): Include oct-types.h.in in the list. | |
6734 | |
5285 | 6735 2005-04-19 John W. Eaton <jwe@octave.org> |
6736 | |
6737 * Array.cc (assignN): Don't crash if the index list is empty. | |
6738 | |
5282 | 6739 2005-04-14 David Bateman <dbateman@free.fr> |
6740 | |
6741 * SparseCmplxLU.cc: Add flags for incomplete factorization. | |
6742 * SparsedbleLU.cc: Ditto. | |
6743 * SparseCmplxLU.h: Definition. | |
6744 * SparsedbleLU.h: ditto. | |
6745 | |
6746 * SparseType.cc (transpose): New function. | |
6747 * SparseType.h (transpose): Definition. | |
9967 | 6748 |
5278 | 6749 2005-04-11 John W. Eaton <jwe@octave.org> |
6750 | |
6751 * lo-specfun.cc: Use F77_XFCN instead of F77_FUNC for calls to | |
6752 fortran code that could end up calling XSTOPX. | |
6753 | |
5277 | 6754 2005-04-10 David Bateman <dbateman@free.fr> |
6755 | |
9967 | 6756 * Makefile.in: include oct-types in INCLUDES so that it is |
5277 | 6757 installed |
9967 | 6758 |
5275 | 6759 2005-04-08 John W. Eaton <jwe@octave.org> |
6760 | |
5276 | 6761 * Makefile.in (clean): Use exact filenames instead of *.xxx. |
6762 | |
5275 | 6763 * Initial merge of 64-bit changes from Clinton Chee: |
6764 | |
6765 2005-04-07 John W. Eaton <jwe@octave.org> | |
6766 | |
6767 * MArray-i.cc, Array-i.cc: Instantiate Array<long> and MArray<long>. | |
6768 | |
6769 * CSparse.cc, CSparse.h, MSparse.cc, MSparse.h, Sparse-op-defs.h, | |
6770 Sparse.cc, Sparse.h, SparseCmplxLU.cc, SparseType.cc, | |
6771 SparseType.h, SparsedbleLU.cc, boolSparse.cc, boolSparse.h, | |
6772 dSparse.cc, dSparse.h, sparse-base-lu.cc: | |
6773 Use octave_idx_type instead of int where needed. | |
6774 | |
6775 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
6776 | |
6777 * Array-util.cc, Array-util.h, Array.cc,Array.h, Array2.h, | |
6778 Array3.h, ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
6779 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
6780 CMatrix.h, CNDArray.cc, CNDArray.h, CRowVector.cc, CRowVector.h, | |
6781 CmplxAEPBAL.cc, CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, | |
6782 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
6783 CmplxSCHUR.cc, CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, | |
6784 CollocWt.h, DAEFunc.h, DASPK-opts.in,DASPK.cc,DASPK.h, | |
6785 DASRT-opts.in, DASRT.cc, DASRT.h, DASSL-opts.in, DASSL.cc, | |
6786 DASSL.h, DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, | |
6787 FEGrid.h, LPsolve.cc, LPsolve.h, LSODE-opts.in, LSODE.cc, LSODE.h, | |
6788 MArray-defs.h, MArray.cc, MArray.h, MArray2.cc, MArray2.h, | |
6789 MArrayN.cc, MDiagArray2.cc, MDiagArray2.h, NLConst.h, NLEqn.cc, | |
6790 NLEqn.h, Quad.cc, Quad.h, Range.cc,Range.cc, Range.h, base-de.h, | |
6791 base-lu.cc, base-lu.h, base-min.h, boolMatrix.cc, boolMatrix.h, | |
6792 boolNDArray.cc, boolNDArray.h, chMatrix.cc, chMatrix.h, | |
6793 chNDArray.cc, chNDArray.h, dColVector.cc, dColVector.h, | |
6794 dDiagMatrix.cc, dDiagMatrix.h, dMatrix.cc, dMatrix.h, | |
6795 dNDArray.cc,dNDArray.cc, dNDArray.h, dRowVector.cc, dRowVector.h, | |
6796 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleHESS.cc, | |
6797 dbleHESS.h, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
6798 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, dim-vector.h, idx-vector.cc, | |
6799 idx-vector.h, intNDArray.cc, intNDArray.h, lo-specfun.cc, | |
6800 lo-specfun.h, mach-info.cc, mx-inlines.cc, oct-fftw.cc, | |
6801 oct-fftw.h, oct-rand.cc, oct-rand.h, so-array.cc, so-array.h, | |
6802 str-vec.cc, str-vec.h: | |
6803 Use octave_idx_type instead of int where needed. | |
6804 | |
6805 2005-04-01 John W. Eaton <jwe@octave.org> | |
6806 | |
6807 * dim-vector.h, lo-utils.h: Include oct-types.h. | |
6808 | |
6809 * oct-types.h.in: New file. | |
6810 | |
6811 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
6812 | |
6813 * lo-utils.cc (NINTbig): New function. | |
6814 * lo-utils.h: Provide decl. | |
6815 | |
5269 | 6816 2005-04-06 David Bateman <dbateman@free.fr> |
6817 | |
6818 * Makefile.in: Link to UMFPACK_LIBS. | |
6819 | |
5265 | 6820 2005-04-05 John W. Eaton <jwe@octave.org> |
6821 | |
6822 * Array.cc (assignN): Avoid shadowed declaration in previous change. | |
6823 | |
5264 | 6824 2005-04-01 John W. Eaton <jwe@octave.org> |
6825 | |
6826 * Array.cc (assignN): For A(IDX-LIST) = RHS with A previously | |
6827 undefined, correctly match colons in IDX-LIST with RHS dimensions | |
6828 when resizing A. When performing the assignment, just check that | |
6829 the number of elements in RHS matches the number of elements | |
6830 indexed by IDX-LIST. | |
6831 | |
5260 | 6832 2005-03-30 John W. Eaton <jwe@octave.org> |
6833 | |
5261 | 6834 * lo-mappers.cc (log10, tan, tanh): Delete functions. |
6835 * lo-mappers.h (log10, tan, tanh): Delete decls. | |
6836 | |
6837 * CColVector.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, | |
6838 dSparse.cc: Use std:: for Complex functions instead of relying on | |
6839 wrappers from oct-cmplx.h. | |
5260 | 6840 |
6841 * oct-cmplx.h: Provide typedef only. | |
6842 | |
6843 * DiagArray2.cc (xelem): Don't use initializer for static data. | |
6844 * DiagArray2.h (DiagArray<T>::Proxy::operator T ()): | |
6845 Likewise. | |
6846 | |
5247 | 6847 2005-03-26 John W. Eaton <jwe@octave.org> |
6848 | |
6849 * cmd-edit.cc (do_readline): Wrap call to ::octave_rl_readline | |
6850 with {BEGIN,END}_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE. | |
6851 | |
5209 | 6852 2005-03-15 John W. Eaton <jwe@octave.org> |
6853 | |
6854 * Makefile.in (MATRIX_INC): Remove oct-spparms.h from the list. | |
6855 | |
5203 | 6856 2005-03-14 John W. Eaton <jwe@octave.org> |
6857 | |
6858 * Makefile.in (DISTFILES): Don't include $(UMFPACK_EXTRAS). | |
6859 (DISTDIRS): Don't include UMFPACK. | |
6860 (LIBOCTAVE_OBJECTS): Don't include $(UMFPACK_OBJ). | |
6861 (UMFPACK_SPECIAL_1, UMFPACK_SPECIAL): No need for special include | |
6862 flags for these files. | |
6863 Don't include include $(srcdir)/UMFPACK.files. | |
6864 Don't include include $(srcdir)/UMFPACK.rules. | |
6865 | |
6866 * UMFPACK.README, UMFPACK.files, UMFPACK.patch, UMFPACK.rules: | |
6867 Delete files. | |
6868 * UMFPACK: Delete directory tree. | |
6869 | |
6870 * dSparse.cc: Include <umfpack/umfpack.h> instead of just "umfpack.h". | |
6871 * CSparse.cc: Likewise. | |
6872 * SparsedbleLU.cc: Likewise. | |
6873 * SparseCmplxLU.cc: Likewise. | |
6874 | |
6875 2005-03-14 David Bateman <dbateman@free.org> | |
6876 | |
6877 * CSParse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc: | |
6878 Allow compilation to succeed if UMFPACK is not available. | |
6879 | |
5196 | 6880 2005-03-09 John W. Eaton <jwe@octave.org> |
6881 | |
6882 * Makefile.in (bin-dist): Delete target. | |
6883 (BINDISTLIBS, BINDISTFILES): Delete variables. | |
6884 | |
5173 | 6885 2005-03-01 John W. Eaton <jwe@octave.org> |
6886 | |
6887 * ODESSA.h, ODESSA.cc, ODESSA-opts.in: Delete. | |
6888 * Makefile.in: Remove them from the lists. | |
6889 | |
5169 | 6890 2005-02-28 John W. Eaton <jwe@octave.org> |
6891 | |
6892 * Makefile.in (LINK_DEPS): Remove -lglob from the list. | |
6893 | |
5167 | 6894 2005-02-27 David Bateman <dbateman@free.org> |
6895 | |
5169 | 6896 * Sparse.cc (Sparse<T>::reshape): Set cidx for the N last elements |
6897 in the sparse matrix. | |
9967 | 6898 |
5164 | 6899 2005-02-25 John W. Eaton <jwe@octave.org> |
6900 | |
6901 Sparse merge. | |
6902 | |
6903 2005-02-13 David Bateman <dbateman@free.fr> | |
6904 | |
6905 * CSparse.cc (SparseComplexMatrix:dsolve, SparseComplexMatrix:utsolve, | |
6906 SparseComplexMatrix::ltsolve, SparseComplexMatrix::trisolve, | |
6907 SparseComplexMatrix::bsolve, SparseComplexMatrix:fsolve): Split sparse | |
9967 | 6908 solver into separate functions for the diagonal, upper, lower |
5164 | 6909 triangular, tridiagonal, banded and full cases. |
6910 (SparseComplexMatrix::solve): rewrite to call the above function. One | |
6911 version that probes the matrix type and another that assumes the type | |
6912 is passed. | |
6913 | |
6914 * dSparse.cc (SparseMatrix:dsolve, SparseMatrix:utsolve, | |
6915 SparseMatrix::ltsolve, SparseMatrix::trisolve, | |
6916 SparseMatrix::bsolve, SparseMatrix:fsolve): Likewise | |
6917 (SparseMatrix::solve): Likewise | |
6918 | |
6919 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
6920 Declaration of new functions | |
6921 * dSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
6922 Likewise | |
6923 | |
6924 * CSparse.cc (operator !): Reverse the sense of the test. | |
6925 * dSpase.cc (operator !): Likewise | |
6926 | |
6927 * dSparse.h (type, band_size, is_dense, triangular_row_perm, | |
6928 triangular_col_perm, sparse_info): Remove matrix type code | |
6929 * CSparse.h (type, band_size, is_dense, triangular_row_perm, | |
6930 triangular_col_perm, sparse_info): Likewise | |
6931 * boolSparse.h (type, band_size, is_dense, triangular_row_perm, | |
6932 triangular_col_perm, sparse_info): Likewise | |
6933 * MSparse.h (type, band_size, is_dense, triangular_row_perm, | |
6934 triangular_col_perm, sparse_info): Likewise | |
6935 * Sparse.h (type, band_size, is_dense, triangular_row_perm, | |
6936 triangular_col_perm, sparse_info, matrix_type): Likewise | |
6937 | |
6938 * Sparse.cc (type, sparse_info, band_size): Remove type code | |
9967 | 6939 |
5164 | 6940 * SparseType.h: New class for the matrix type used in solvers |
6941 * SparseType.cc: methods of sparse matrix type class | |
9967 | 6942 |
5164 | 6943 * Makefile.in: Add SparseType.cc |
6944 | |
6945 2005-02-01 David Bateman <dbateman@free.fr> | |
6946 | |
6947 * UMFPACK: Update to version 4.4 | |
6948 * UMFPACK.patch: Version 4.4 contains most of the previous patch. Only | |
6949 keep octave specific test files | |
6950 | |
6951 2005-01-23 David Bateman <dbateman@free.fr> | |
6952 | |
6953 * dSparse.cc (SparseMatrix::solve): Include tridiagonal, cholesky | |
6954 tridiagonal and banded cholesky solvers. Remove calculation of | |
6955 condition number for banded solvers. | |
6956 * CSparse.cc (SparseComplexMatrix::solve): ditto. | |
6957 | |
6958 * Sparse.h (int type (int) const, bool is_dense (void) const): | |
6959 new functions. | |
6960 * MSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
6961 * dSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
6962 * CSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
9967 | 6963 * boolSparse.h (int type (int) const, bool is_dense (void) const): |
5164 | 6964 ditto |
6965 | |
9967 | 6966 * Sparse.cc (int Sparse<T>::type (int) const, |
5164 | 6967 bool Sparse<T>::is_dense (void) const): New functions definition |
9967 | 6968 |
5164 | 6969 * Sparse.h (matrix_type typ): Move caching of matrix type to SparseRep, |
6970 so it actually is cached, but disable | |
6971 | |
6972 * oct-spparms.cc (SparseParams::init_keys): Change spmoni to spumoni | |
6973 for compatiability | |
9967 | 6974 |
5164 | 6975 2005-01-18 David Bateman <dbateman@free.fr> |
6976 | |
6977 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
6978 Modify calculation of number elements to skip between copied blocks. | |
6979 | |
6980 2005-01-07 David Bateman <dbateman@free.fr> | |
6981 | |
6982 * Sparse.h : Reverse definitions of numel and nelem. | |
6983 * Sparse.cc (assign1): Use numel and not nelem | |
6984 * Sparse-op-def.h: Replace all uses of nelem with numel | |
9967 | 6985 |
5164 | 6986 2005-01-07 David Bateman <dbateman@free.fr> |
6987 | |
6988 * dbleDET.h: Make SparseMatrix a friend of the class DET | |
9967 | 6989 * CmplexDET.h: Make SparseComplexMatrix a friend of the class |
5164 | 6990 ComplexDET |
9967 | 6991 * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET |
5164 | 6992 by DET |
6993 * dSparse.h (determinant): ditto | |
9967 | 6994 * CSparse.cc (SparseComplexMatrix::determinant): Replace use of |
5164 | 6995 SparseComplexDET by ComplexDET |
6996 * CSparse.h (determinant): ditto | |
9967 | 6997 * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, |
5164 | 6998 SparseCmplxDET.cc: delete files |
6999 * Makefile.in: Delete reference to SparsedbleDET.h, SparsedbleDET.cc, | |
7000 SparseCmplxDET.h andSparseCmplxDET.cc. | |
7001 | |
9967 | 7002 * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in |
5164 | 7003 local variable to avoid variable shadowing. |
7004 * dSparse.cc (SparseMatrix::solve): ditto. | |
9967 | 7005 |
7006 * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc | |
5164 | 7007 dSparse.h MSparse.cc MSparse-C.cc MSparse-d.cc MSparse-defs.h |
9967 | 7008 MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc |
7009 Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc | |
7010 SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc | |
5164 | 7011 sparse-sort.h: Remove additional licensing clause with authors |
7012 permission. | |
9967 | 7013 |
5164 | 7014 2004-12-30 John W. Eaton <jwe@octave.org> |
7015 | |
7016 * MSparse.cc (SPARSE_A2S_OP_2, SPARSE_SA2_OP_2): | |
7017 Loop counter is int, not size_t. | |
7018 | |
7019 * oct-spparms.cc (SparseParams::operator =): Return *this. | |
7020 | |
7021 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Delete unused variable tmpval. | |
7022 | |
7023 * dSparse.cc (operator << (ostream&, const SparseMatrix&), atan2): | |
7024 Delete unused variables. | |
7025 (SparseMatrix::solve): Avoid warnings about uninitialized | |
7026 variables and variables that might be clobbered by longjmp. | |
7027 | |
7028 * CSparse.cc (operator << (ostream&, const SparseComplexMatrix&), | |
7029 min, max): Delete unused variables. | |
7030 (SparseComplexMatrix::solve): Avoid warnings about uninitialized | |
7031 variables and variables that might be clobbered by longjmp. | |
7032 | |
7033 * Makefile.in (UMFPACK_SPECIAL): Include .d files in the list. | |
7034 | |
7035 * Sparse-op-defs.h (SPARSE_SMS_BIN_OP_2, SPARSE_SSM_BIN_OP_2): | |
7036 Loop counter is int, not size_t. | |
7037 | |
7038 * CSparse.cc (SparseComplexMatrix::hermitian): Avoid shadow warnings. | |
7039 * Sparse.cc (Sparse<T>::Sparse, Sparse<T>::type, assign): Likewise. | |
9967 | 7040 |
5164 | 7041 * Sparse.h (Sparse::SparseRep): Order data members and initializer |
7042 lists consistently. | |
7043 | |
7044 * mx-base.h: Include boolSparse.h, dSparse.h, and CSparse.h. | |
7045 | |
7046 2004-12-29 John W. Eaton <jwe@octave.org> | |
7047 | |
7048 * COLAMD.files (COLAMD_EXTRAS): New variable. | |
7049 * UMFPACK.files (UMFPACK_EXTRAS): New variable. | |
7050 * Makefile.in (DISTFILES): Add $(COLAMD_EXTRAS) and | |
7051 $(UMFPACK_EXTRAS) to the list. | |
7052 (DISTDIRS): New variable. | |
7053 (dist): Handle $(DISTDIRS). | |
7054 | |
9967 | 7055 Merge of sparse code from David Bateman <dbateman@free.fr> and |
5164 | 7056 Andy Adler <adler@site.uottawa.ca>. |
7057 | |
7058 * Makefile.in (VPATH): ADD @srcdir@/COLAMD to the list. | |
7059 | |
7060 * Makefile.in (MAKEDEPS): Include $(COLAMD_SRC) and $(UMFPACK_SRC) | |
7061 without directory prefix. | |
7062 | |
7063 * Makefile.in (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJ) and | |
7064 $(UMFPACK_OBJ) to the list. | |
7065 | |
7066 * COLAMD: New directory. | |
7067 * COLAMD.files: New file. | |
7068 * Makefile.in: Include COLAMD.files. | |
7069 (SOURCES): Add $(COLAMD_SOURCES) to the list. | |
7070 (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJECTS) to the list. | |
7071 (INCLUDES): Add $(COLAMD_INCLUDES) to the list. | |
7072 | |
7073 * UMFPACK: New directory. | |
7074 * UMFPACK.patch, UMFPACK.README, UMFPACK.files, UMFPACK.rules: | |
7075 New files. | |
7076 * Makefile.in: Include UMFPACK.files and UMFPACK.rules. | |
7077 (SOURCES): Add $(UMFPACK_SOURCES) to the list. | |
7078 (LIBOCTAVE_OBJECTS): Add $(UMFPACK_OBJECTS) to the list. | |
7079 (INCLUDES): Add $(UMFPACK_INCLUDES) to the list. | |
7080 | |
7081 * Makefile.in (SPARSE_MX_OP_INC): New variable. | |
7082 (INCLUDES): Add it to the list. | |
7083 (SPARSE_MX_OP_SRC): New variable. | |
7084 (LIBOCTAVE_CXX_SOURCES): Add it to the list. | |
7085 (distclean): Remove $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
7086 (stamp-prereq): Depend on $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
7087 | |
7088 * sparse-mk-ops.awk, sparse-mx-ops: New files. | |
7089 * Makefile.in (DISTFILES): Add them to the lists. | |
7090 | |
7091 * oct-spparms.h, sparse-sort.h: New files. | |
7092 * Makefile.in (INCLUDES): Add them to the list. | |
7093 | |
7094 * oct-spparms.cc, sparse-sort.cc: New files. | |
7095 * Makefile.in (LIBOCTAVE_CXX_SOURCES): Add them to the list. | |
7096 | |
7097 * sparse-base-lu.cc: New file. | |
7098 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
7099 | |
7100 * boolSparse.cc, CSparse.cc, dSparse.cc, MSparse.cc, Sparse.cc, | |
7101 SparseCmplxDET.cc, SparseCmplxLU.cc, SparsedbleDET.cc, | |
7102 SparsedbleLU.cc: New files. | |
7103 * Makefile.in (MATRIX_SRC): Add them to the list. | |
9967 | 7104 |
5164 | 7105 * boolSparse.h, CSparse.h, dSparse.h, MSparse-defs.h, MSparse.h, |
7106 Sparse.h, oct-spparms.h, sparse-base-lu.h, SparseCmplxDET.h, | |
7107 SparseCmplxLU.h, SparsedbleDET.h, SparsedbleLU.h, | |
7108 Sparse-op-defs.h: New files. | |
7109 * Makefile.in (MATRIX_INC): Add them to the appropriate lists. | |
7110 | |
7111 * MSparse-d.cc, MSparse-C.cc, Sparse-b.cc, Sparse-d.cc, | |
7112 Sparse-C.cc: New files. | |
7113 * Makefile.in (TI_SRC): Add them to the list. | |
7114 | |
5149 | 7115 2005-02-18 John W. Eaton <jwe@octave.org> |
7116 | |
7117 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_RESOLVEPATH]: | |
7118 Pass current directory to octave_env::make_absolute. | |
7119 Save value returned from octave_env::make_absolute in local var. | |
7120 Pass const char*, not std::string as first arg of resolvepath. | |
7121 Provide decl for resolved_len. | |
7122 | |
5148 | 7123 2005-02-18 John W. Eaton <jwe@octave.org> |
7124 | |
7125 * Array.cc (Array<T>::permute): Allow permutation vector longer | |
7126 than number of dimenensions of permuted matrix. | |
7127 | |
7128 * Array.cc (Array<T>::permute): Use zero-based indexing for perm_vec. | |
7129 * Array-util.cc (calc_permutated_idx): Likewise. | |
7130 | |
5139 | 7131 2005-02-10 David Bateman <dbateman@free.fr> |
7132 | |
7133 * CNDArray.cc (ComplexNDarray::operator !): Change sense of test. | |
7134 * CMatrix.cc (ComplexMatrix::operator !): Likewise. | |
7135 | |
5137 | 7136 2005-02-09 John W. Eaton <jwe@octave.org> |
7137 | |
5138 | 7138 * file-ops.cc (file_ops::canonicalize_file_name): New functions. |
7139 * file-ops.h: Provide decls. | |
7140 | |
5137 | 7141 * kpse.cc (kpse_tilde_expand): Simply return NAME if it is empty. |
7142 | |
5136 | 7143 2005-02-08 John W. Eaton <jwe@octave.org> |
7144 | |
7145 * Array-util.cc (freeze): Improve error message. | |
7146 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
7147 2005-01-26 David Bateman <dbateman@free.fr> |
5120 | 7148 |
5121 | 7149 * Array.cc (Array<T>::insert): Handle generic case, not just |
7150 special case for fast concatenation. | |
5120 | 7151 |
5110 | 7152 2005-01-18 John W. Eaton <jwe@octave.org> |
7153 | |
7154 * mx-inlines.cc (MX_ND_REDUCTION): Delete RET_ELT_TYPE arg. | |
7155 Change all uses. Use VAL instead of RET_ELT_TYPE when resizing. | |
7156 | |
7157 * dNDArray.cc (NDArray::any): NaN does not count as a nonzero value. | |
7158 * CNDArray.cc (ComplexNDArray::any): Likewise. | |
7159 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
7160 2005-01-18 David Bateman <dbateman@free.fr> |
5108 | 7161 |
7162 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
7163 Modify calculation of number elements to skip between copied blocks. | |
7164 | |
7165 2005-01-18 John W. Eaton <jwe@octave.org> | |
7166 | |
7167 * idx-vector.cc (IDX_VEC_REP::freeze): Call warning handler, not | |
7168 error handler, to warn about resizing. | |
7169 | |
5105 | 7170 2004-12-27 Martin Dalecki <martin@dalecki.de> |
7171 | |
7172 * Array.cc, ArrayN.cc, base-lu.cc, boolMatrix.cc, boolNDArray.cc, | |
7173 Bounds.cc, CColVector.cc, CDiagMatrix.cc, chMatrix.cc, | |
7174 chNDArray.cc, CMatrix.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, | |
7175 CmplxDET.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
7176 CmplxSCHUR.cc, CmplxSVD.cc, CNDArray.cc, CollocWt.cc, | |
7177 CRowVector.cc, DASPK.cc, DASRT.cc, DASSL.cc, dbleAEPBAL.cc, | |
7178 dbleCHOL.cc, dbleDET.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, | |
7179 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, dColVector.cc, | |
7180 dDiagMatrix.cc, DiagArray2.cc, dMatrix.cc, dNDArray.cc, | |
7181 dRowVector.cc, EIG.cc, FEGrid.cc, idx-vector.cc, int16NDArray.cc, | |
7182 int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, intNDArray.cc, | |
7183 LinConst.cc, LPsolve.cc, LSODE.cc, MArray2.cc, MArray.cc, | |
7184 MArrayN.cc, MDiagArray2.cc, NLEqn.cc, oct-alloc.cc, ODES.cc, | |
7185 ODESSA.cc, Quad.cc, Range.cc, so-array.cc, uint16NDArray.cc, | |
7186 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: | |
7187 Delete #pragma implementation. | |
7188 | |
7189 * Array2.h, Array3.h, Array.h, ArrayN.h, base-lu.h, boolMatrix.h, | |
7190 boolNDArray.h, Bounds.h, CColVector.h, CDiagMatrix.h, chMatrix.h, | |
7191 chNDArray.h, CMatrix.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, | |
7192 CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, | |
7193 CmplxSVD.h, CNDArray.h, CollocWt.h, CRowVector.h, DASPK.h, | |
7194 DASRT.h, DASSL.h, dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, | |
7195 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, | |
7196 dColVector.h, dDiagMatrix.h, DiagArray2.h, dim-vector.h, | |
7197 dMatrix.h, dNDArray.h, dRowVector.h, EIG.h, FEGrid.h, | |
7198 idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
7199 int8NDArray.h, intNDArray.h, LinConst.h, LPsolve.h, LSODE.h, | |
7200 MArray2.h, MArray.h, MArrayN.h, MDiagArray2.h, NLConst.h, NLEqn.h, | |
7201 ODES.h, ODESSA.h, Quad.h, Range.h, so-array.h, uint16NDArray.h, | |
7202 uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: | |
7203 Delete #pragma interface. | |
7204 | |
5098 | 7205 2004-12-17 John W. Eaton <jwe@octave.org> |
7206 | |
7207 * lo-cieee.c (lo_ieee_signbit): New function. | |
7208 * lo-ieee.h: Provide decl. | |
7209 Don't define lo_ieee_signbit as a macro here. | |
7210 From Orion Poplawski <orion@cora.nwra.com>. | |
7211 | |
5085 | 7212 2004-11-18 John W. Eaton <jwe@octave.org> |
7213 | |
7214 * int32NDArray.cc (pow): Delete instantiation. | |
7215 * int16NDArray.cc (pow): Likewise. | |
7216 * int8NDArray.cc (pow): Likewise. | |
7217 * uint32NDArray.cc (pow): Likewise. | |
7218 * uint16NDArray.cc (pow): Likewise. | |
7219 * uint8NDArray.cc (pow): Likewise. | |
7220 | |
5081 | 7221 2004-11-17 John W. Eaton <jwe@octave.org> |
7222 | |
5085 | 7223 * kpse.cc (str_llist_float, str_llist_add, kpse_var_expand): |
7224 Now static. | |
7225 (DB_ENVS, DB_HASH_SIZE, DB_NAME, ALIAS_NAME, ALIAS_HASH_SIZE, | |
7226 DEFAULT_TEXMFDBS): Delete unused macros. | |
7227 | |
5081 | 7228 * Array.cc (Array<T>::index): Call generic N-d indexing function |
7229 if idx_arg is N-d. | |
7230 | |
5073 | 7231 2004-11-09 David Bateman <dbateman@free.fr> |
7232 | |
7233 * dNDArray.cc (concat): Delete. | |
7234 (NDArray::concat): New methods. | |
7235 * dNDArray.h: Provide decls. | |
7236 | |
7237 * CNDArray.cc (concat): Delete. | |
7238 (ComplexNDArray::concat): New methods. | |
7239 * CNDArray.h: Provide decls. | |
7240 | |
7241 * boolNDArray.cc (concat): Delete. | |
7242 (boolNDArray::concat): New methods. | |
7243 * boolNDArray.h: Provide decls. | |
7244 | |
7245 * chNDArray.cc (concat): Delete. | |
7246 (charNDArray::concat): New methods. | |
7247 * chNDArray.h: Provide decls. | |
7248 | |
7249 * oct-inttypes.h (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): | |
7250 Delete macros. | |
7251 | |
7252 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
7253 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
7254 (OCTAVE_INT_CONCAT_DECL): Delete use of macro. | |
7255 | |
7256 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
7257 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
7258 (OCTAVE_INT_CONCAT_FN): Delete use of macro. | |
7259 | |
7260 * intNDArray.cc (intNDArray<T>::concat): New method. | |
7261 * intNDArray.h: Provide decl. | |
7262 | |
5072 | 7263 2004-11-08 John W. Eaton <jwe@octave.org> |
7264 | |
7265 * oct-inttypes.cc: New file. | |
7266 * Makefile.in (TI_SRC): Add it to the list. | |
7267 * oct-inttypes.h (OCTAVE_US_TYPE1_CMP_OP, OCTAVE_US_TYPE1_CMP_OPS, | |
7268 OCTAVE_SU_TYPE1_CMP_OP, OCTAVE_SU_TYPE1_CMP_OPS, | |
7269 OCTAVE_TYPE1_CMP_OPS, OCTAVE_US_TYPE2_CMP_OP, | |
7270 OCTAVE_US_TYPE2_CMP_OPS, OCTAVE_SU_TYPE2_CMP_OP, | |
7271 OCTAVE_SU_TYPE2_CMP_OPS, OCTAVE_TYPE2_CMP_OPS): | |
7272 New macros for comparison operations. Avoid potential | |
7273 problems with default conversions when comparing signed and | |
7274 unsigned values. | |
7275 | |
5061 | 7276 2004-11-03 John W. Eaton <jwe@octave.org> |
7277 | |
7278 * dMatrix.cc (Matrix::inverse): Return info == -1 for any failure. | |
7279 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
7280 | |
5052 | 7281 2004-10-19 John W. Eaton <jwe@octave.org> |
7282 | |
7283 * Array.cc (assignN): Avoid resizing if assignment will fail. | |
7284 | |
5047 | 7285 2004-10-18 John W. Eaton <jwe@octave.org> |
7286 | |
7287 * Array.cc (assign2): Save result of squeeze operation. | |
7288 Squeeze if ndims is > 2, not if length of RHS vector is > 2. | |
7289 | |
5095 | 7290 2004-10-11 David Bateman <dbateman@free.fr> |
5044 | 7291 |
7292 * oct-fftw.cc (class octave_fftw_planner): Add inplace[2] to | |
7293 flag whether transform in- or out-of-place. | |
7294 (octave_fftw_planner::octave_fftw_planner): Initialize it. | |
7295 (octave_fftw_planner::create_plan): Use it. | |
7296 | |
5039 | 7297 2004-09-24 John W. Eaton <jwe@octave.org> |
7298 | |
7299 * Array.cc (assign2, assignN): If index is empty, allow RHS to be | |
7300 any empty matrix, not just []. | |
7301 | |
5030 | 7302 2004-09-23 John W. Eaton <jwe@octave.org> |
7303 | |
7304 * mx-ops: Include scalar zero value in type definitions. | |
7305 Delete zero information from ops section. | |
7306 * mk-ops.awk: Use type-specific zero info. | |
7307 | |
7308 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, | |
7309 SND_BOOL_OP, NDND_BOOL_OP): Args now include zero values for both | |
7310 LHS and RHS. | |
7311 (MS_BOOL_OPS2, SM_BOOL_OPS2, MM_BOOL_OPS2, NDS_BOOL_OPS2, | |
7312 SND_BOOL_OPS2, NDND_BOOL_OPS2): New macros. | |
7313 (MS_BOOL_OPS, SM_BOOL_OPS, MM_BOOL_OPS, NDS_BOOL_OPS, | |
7314 SND_BOOL_OPS, NDND_BOOL_OPS): Define in terms of 2-zero versions. | |
7315 | |
7316 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const | |
7317 intNDArray<U>&)): Use explicit as_double () conversion in call to | |
7318 tree_to_mat_idx. | |
7319 | |
7320 * oct-inttypes.h (octave_int<T>::operator float): New conversion. | |
7321 (pow): Instead of "if (b_val)", use "if (b_val != zero)". | |
7322 Likewise for the "if (b_val & one)" test. | |
7323 (operator <<, operator >>): Type of retval is octave_int<T1>, not T1. | |
7324 | |
5029 | 7325 2004-09-23 David Bateman <dbateman@free.fr> |
7326 | |
7327 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): | |
7328 New macros. Use them to define mixed intX-double and double-intX ops. | |
7329 | |
5021 | 7330 2004-09-22 Federico Zenith <zenith@chemeng.ntnu.no> |
7331 | |
7332 * DASPK-opts.in, DASRT-opts.in, ODESSA-opts.in: | |
7333 Fix doc string layout to avoid overfull hbox in printed output. | |
7334 | |
5015 | 7335 2004-09-21 John W. Eaton <jwe@octave.org> |
7336 | |
7337 * mach-info.h (octave_mach_info::flt_fmt_native): Delete. | |
7338 * mach-info.cc (octave_mach_info::string_to_float_format): | |
7339 For "native", set actual native format. | |
7340 (octave_mach_info::float_format_as_string): Delete flt_fmt_native case. | |
7341 | |
5008 | 7342 2004-09-17 David Bateman <dbateman@free.fr> |
7343 | |
7344 * CmplxSCHUR.cc (CmplxSCHUR::init): New arg, calc_unitary to make the | |
7345 calculation of the unitary matrix optional. | |
7346 * dbleSCHUR.cc (SCHUR::init): Ditto. | |
7347 * CmplxSCHUR.h, dbleSCHUR.h: Update decls. | |
7348 | |
4998 | 7349 2004-09-15 David Bateman <dbateman@free.fr> |
7350 | |
7351 * oct-sort.h (octave_sort<T>::set_compare (bool (*comp) (T, T))): | |
7352 New function to set the comparison function for the sort. | |
7353 | |
4985 | 7354 2004-09-10 John W. Eaton <jwe@octave.org> |
7355 | |
7356 * lo-mappers.cc (xround): Fix typo. | |
7357 | |
4979 | 7358 2004-09-08 John W. Eaton <jwe@octave.org> |
7359 | |
7360 * Array.h (Array::~Array): Declare virtual. | |
7361 | |
7362 * idx-vector.h (idx_vector::idx_vector): Initialize rep in member | |
7363 initializaion list. Don't set rep->count since the rep | |
7364 constructor does that. | |
7365 | |
4968 | 7366 2004-09-07 John W. Eaton <jwe@octave.org> |
7367 | |
4970 | 7368 * data-conv.cc (oct_data_conv::string_to_data_type): Handle dt_logical. |
7369 (oct_data_conv::data_type_as_string): Likewise. | |
7370 | |
7371 * data-conv.h (oct_data_conv::data_type): Add dt_logical to list. | |
7372 | |
4968 | 7373 * Range.cc (round): Delete unused function. |
7374 | |
7375 * lo-mappers.cc (xround): Rename from round. Change all uses. | |
7376 If HAVE_ROUND, call round, otherwise fake with floor and ceil. | |
7377 | |
7378 * oct-inttypes.h: Include <cmath> here. | |
7379 | |
4964 | 7380 2004-09-03 David Bateman <dbateman@free.fr> |
7381 | |
7382 * boolNDArray.cc (boolNDArray::concat, boolNDArray::insert): | |
7383 New functions for boolean matrix concatenation. | |
7384 * boolNDArray.h: Provide decls. | |
7385 | |
4963 | 7386 2004-09-03 John W. Eaton <jwe@octave.org> |
7387 | |
4964 | 7388 * oct-inttpes.h (OCTAVE_INT_CMP_OP): Convert operarands to double |
7389 to avoid signed/unsigned int comparison problems. | |
7390 | |
7391 * mx-ops: Generate CMP and BOOL ops for mixed integer types and | |
7392 for mixed integer and double types. | |
7393 | |
7394 * mk-ops.awk: Output BIN_OP_DECLS, CMP_OP_DECLS, and BOOL_OP_DECLS | |
7395 separately, and only if needed. | |
7396 | |
4963 | 7397 * oct-inttypes.h (octave_fit_to_range): Use constructor instead of |
7398 static_cast for type conversion. | |
7399 | |
4953 | 7400 2004-09-01 John W. Eaton <jwe@octave.org> |
7401 | |
7402 * oct-inttypes.h (pow, operator +, operator -, operator *, | |
7403 operator /): Handle mixed integer/double ops. If op generates a | |
7404 NaN, set result to 0. | |
7405 (octave_int::operator - (void)): Convert to double, then negate, | |
7406 then fit to range. | |
7407 | |
7408 * mx-ops: Define integer types. Include declarations for mixed | |
7409 integer/double ops. | |
7410 | |
4952 | 7411 2004-08-31 John W. Eaton <jwe@octave.org> |
7412 | |
7413 * oct-inttypes.h (pow): Args now const reference. | |
7414 (octave_int<T>::operator *=, octave_int<T>::operator /=, | |
7415 octave_int<T>::operator <<=, octave_int<T>::operator >>=): | |
7416 New member functions. | |
7417 (OCTAVE_INT_BITSHIFT_OP): Delete macro. | |
7418 (operator >> (const octave_int<T1>& x, const T2& y)): | |
7419 Define in terms of >>=. | |
7420 (operator << (const octave_int<T1>& x, const T2& y)): | |
7421 Define in terms of <<=. | |
7422 (bitshift): Operate on octave_int<T> objects, not the values, so | |
7423 we get proper saturation properties. | |
7424 | |
7425 2004-08-31 David Bateman <dbateman@free.fr> | |
7426 | |
7427 * oct-inttypes.h (pow (constT, T)): New template. | |
7428 | |
9967 | 7429 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, |
4952 | 7430 uint16NDArray.cc, uint32NDArray.cc: Instantiate power function. |
7431 | |
4949 | 7432 2004-08-31 John W. Eaton <jwe@octave.org> |
7433 | |
7434 * oct-inttypes.h (octave_int::byte_size): New function. | |
7435 | |
4944 | 7436 2004-08-31 John W. Eaton <jwe@octave.org> |
7437 | |
4946 | 7438 * Makefile.in (EXTRAS): Add intNDArray.cc to the list. |
7439 | |
4944 | 7440 * data-conv.h (oct_data_conv::data_type): Include sized types. |
7441 Explicitly number enum elements. | |
7442 | |
7443 * data-conv.cc (oct_data_conv::string_to_data_type (const | |
7444 std::string&, int&, oct_data_conv::data_type&, | |
7445 oct_data_conv::data_type&)): New function. | |
7446 (oct_data_conv::string_to_data_type (const std::string&, int&, | |
7447 oct_data_conv::data_type&)): New function. | |
7448 (oct_data_conv::data_type_as_string): New function. | |
7449 | |
7450 * dMatrix.cc (read_int, do_read, Matrix::read): Delete. | |
7451 (write_int, do_write, Matrix::write): Delete. | |
7452 * dMatrix.h (Matrix::read, Matrix::write): Delete decls. | |
7453 | |
7454 * byte-swap.h: Use template functions and specialization. | |
7455 Change all uses. | |
7456 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
7457 | |
4943 | 7458 2004-08-30 John W. Eaton <jwe@octave.org> |
7459 | |
7460 * oct-inttypes.h (octave_int_fit_to_range): Use template | |
7461 specializations to avoid warnings about signed/unsigned comparisons. | |
7462 | |
7463 2004-08-28 John W. Eaton <jwe@octave.org> | |
7464 | |
7465 * data-conv.cc (do_float_format_conversion (unsigned char *, | |
7466 size_t, int, oct_mach_info::float_format)): New function. | |
7467 (GET_SIZED_INT_TYPE): New macro. | |
7468 (string_to_data_type): Use it to return sized types corresponding | |
7469 to Octave array data types. | |
7470 (strip_spaces): New function. | |
7471 (do_double_format_conversion, do_float_format_conversion): Pass | |
7472 from_fmt and to_fmt. Don't always assume the to_fmt is the native | |
7473 float format. | |
7474 (do_double_format_conversion, | |
7475 IEEE_big_double_to_IEEE_little_double, | |
7476 VAX_D_double_to_IEEE_little_double, | |
7477 VAX_G_double_to_IEEE_little_double, Cray_to_IEEE_little_double, | |
7478 IEEE_little_double_to_IEEE_big_double, | |
7479 VAX_D_double_to_IEEE_big_double, VAX_G_double_to_IEEE_big_double, | |
7480 Cray_to_IEEE_big_double, IEEE_little_double_to_VAX_D_double, | |
7481 IEEE_big_double_to_VAX_D_double, VAX_G_double_to_VAX_D_double, | |
7482 Cray_to_VAX_D_double, IEEE_little_double_to_VAX_G_double, | |
7483 IEEE_big_double_to_VAX_G_double, VAX_D_double_to_VAX_G_double, | |
7484 Cray_to_VAX_G_double): | |
7485 Pass data as void*, not double*. | |
7486 (do_float_format_conversion, IEEE_big_float_to_IEEE_little_float, | |
7487 VAX_D_float_to_IEEE_little_float, | |
7488 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, | |
7489 IEEE_little_float_to_IEEE_big_float, | |
7490 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, | |
7491 Cray_to_IEEE_big_float, IEEE_little_float_to_VAX_D_float, | |
7492 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, | |
7493 Cray_to_VAX_D_float, IEEE_little_float_to_VAX_G_float, | |
7494 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, | |
7495 Cray_to_VAX_G_float): | |
7496 Pass data as void*, not float*. | |
7497 | |
7498 2004-08-27 John W. Eaton <jwe@octave.org> | |
7499 | |
7500 * byte-swap.h (swap_bytes): New template versions, with | |
7501 specializations. | |
7502 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
7503 Change all uses. | |
7504 | |
4940 | 7505 2004-08-24 David Bateman <dbateman@free.fr> |
7506 | |
7507 * chNDArray.cc (concat): Check whether matrix to be inserted is | |
7508 empty instead of checking final matrix. | |
7509 * dNDArray.cc (concat): Likewise. | |
7510 * CNDArray.cc (concat): Likewise. | |
7511 | |
7512 2004-08-23 David Bateman <dbateman@free.fr> | |
7513 | |
9967 | 7514 * dim-vector.h (dim_vector::concat): Correct incrementation for |
4940 | 7515 non-existent dimensions. |
7516 | |
4938 | 7517 2004-08-09 John W. Eaton <jwe@octave.org> |
7518 | |
7519 * idx-vector.h (idx_vector::idx_vector_rep::tree_to_mat_idx | |
9967 | 7520 (const octave_int<U>&)): New member function. |
4938 | 7521 (idx_vector::idx_vector_rep::tree_to_mat_idx (double, bool&), |
7522 idx_vector::idx_vector_rep::tree_to_mat_idx (int)): | |
7523 Now member functions instead of static in idx-vector.cc. | |
7524 (idx_vector::idx_vector_rep::idx_vector_rep (const octave_int<U>&), | |
7525 idx_vector::idx_vector_rep::idx_vector_rep (const intNDArray<U>&)): | |
7526 New template constructors. | |
7527 | |
4932 | 7528 2004-08-05 John W. Eaton <jwe@octave.org> |
7529 | |
4933 | 7530 * EIG.cc (EIG::init): Add volatile qualifier to nvr decl. |
7531 | |
4932 | 7532 * intNDArray.cc (intNDArray<T>::operator !, intNDArray<T>::all, |
7533 intNDArray<T>::any): Sprinkle with this-> as needed. | |
7534 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): Likewise. | |
7535 | |
4929 | 7536 2004-08-03 John W. Eaton <jwe@octave.org> |
7537 | |
7538 * Array.cc (Array<T>::squeeze): Do nothing for 2-d arrays. For | |
7539 arrays with more than two dimensions and only one non-singleton | |
7540 dimension, return a column vector. | |
7541 | |
4921 | 7542 2004-07-28 John W. Eaton <jwe@octave.org> |
7543 | |
7544 * oct-cmplx.h (pow (const Complex&, const double&): | |
7545 Convert second arg to complex to avoid libstdc++ bug. | |
7546 | |
4920 | 7547 2004-07-27 John W. Eaton <jwe@octave.org> |
7548 | |
7549 * oct-inttypes.h (bitshift): New arg, MASK. | |
7550 (OCTAVE_INT_BITSHIFT_OP): Bitshift does not saturate. | |
7551 | |
4916 | 7552 2004-07-23 John W. Eaton <jwe@octave.org> |
7553 | |
7554 * Array.cc (Array<T>::reshape): Return *this if no change in size. | |
7555 | |
4915 | 7556 2004-07-23 David Bateman <dbateman@free.fr> |
7557 | |
7558 * Array.cc, Array.h (cat_ra): Delete. | |
9967 | 7559 * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc |
4915 | 7560 (INSTANTIATE_ARRAY_CAT): Delete. |
7561 | |
9967 | 7562 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, |
4915 | 7563 chNDArray.h, intNDArray.cc, intNDArray.h (cat): Delete. |
9967 | 7564 |
4915 | 7565 * Array.cc (Array<T>::insert): Copy data in NDArray version. |
7566 | |
9967 | 7567 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, |
4915 | 7568 chNDArray.h (concat): New function used for concatenation that does |
7569 an indexed copy of one array into another. | |
7570 | |
7571 * dim-vector.h (concat): New function to concatenate dim_vectors. | |
7572 | |
7573 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
9967 | 7574 chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for |
4915 | 7575 insertion of one NDArray into another. |
7576 | |
7577 * oct-inttype.cc (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): New | |
7578 macros to define the int/uint concatenation functions. | |
7579 | |
7580 * uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
7581 int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc | |
7582 (OCTAVE_INT_CONCAT_FN): Instantiate the concatenation function . | |
7583 | |
7584 * uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
7585 int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h | |
7586 (OCTAVE_INT_CONCAT_DECL): Declare the int/uint concatentaion | |
7587 functions. | |
7588 | |
4911 | 7589 2004-07-22 David Bateman <dbateman@free.fr> |
7590 | |
7591 * oct-sort.h: Don't include oct-obj.h. | |
7592 | |
7593 * lo-specfun.cc (is_integer_value): New function. | |
7594 (zbesj, zbesi, zbesy): Special case negative integer or half | |
7595 integer orders that cause overflow for small arguments. | |
7596 | |
4909 | 7597 2004-07-12 John W. Eaton <jwe@octave.org> |
7598 | |
7599 * oct-inttypes.h (octave_int<T>::nbits): New function. | |
7600 (bitshift (const octave_int<T>&, int)): New function. | |
7601 | |
4902 | 7602 2004-06-14 John W. Eaton <jwe@octave.org> |
7603 | |
7604 * mx-base.h: Include headers for new int types. | |
7605 | |
7606 * dNDArray.h, dNDArray.cc (NDArray::NDArray (const boolNDArray&), | |
7607 NDArray::NDArray (const charNDArray&)): Delete. | |
7608 (template <class U> explicit NDArray (const intNDArray<U>&)): New | |
7609 constructor. | |
7610 (NDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
7611 | |
7612 * chMatrix.h (CharMatrix::transpose): New forwarding functions for | |
7613 return type conversion. | |
7614 | |
7615 * ComplexNDArray.h, ComplexNDArray.cc | |
7616 (ComplexNDArray::ComplexNDArray (const ArrayN<Complex>&), | |
7617 (ComplexNDArray::ComplexNDArray (const NDArray&), | |
7618 (ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
7619 (ComplexNDArray::ComplexNDArray (const charNDArray&)): Delete. | |
9967 | 7620 |
4902 | 7621 (ComplexNDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. |
7622 | |
7623 * MArrayN.h: | |
7624 (template <class U> explicit MArrayN<T>::MArrayN (const Array2<U>&), | |
7625 (template <class U> MArrayN<T>::MArrayN (const ArrayN<U>&), | |
7626 (template <class U> explicit MArrayN<T>::MArrayN (const MArray<U>&)): | |
7627 New constructors. | |
7628 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
7629 ArrayN<T>::squeeze): | |
7630 New forwarding functions for return type conversion. | |
7631 | |
7632 * ArrayN.h: | |
7633 (template <class U> explicit ArrayN<T>::ArrayN (const Array2<U>&), | |
7634 (template <class U> explicit ArrayN<T>::ArrayN (const ArrayN<U>&), | |
7635 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&), | |
7636 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&, | |
7637 const dim_vector&)): New constructors. | |
7638 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
7639 ArrayN<T>::transpose): | |
7640 New forwarding functions for return type conversion. | |
7641 | |
7642 * Array.h (template <class U> Array<T>::Array (const Array<U>&)): | |
7643 New constructor. | |
7644 (Array<T>::coerce, Array<T>::byte_size): New functions. | |
7645 | |
7646 * Array-i.cc, MArray-i.cc: Instantiate new integer types. | |
7647 | |
7648 * oct-inttypes.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
7649 int8NDArray.h , intNDArray.h, uint16NDArray.h, uint32NDArray.h, | |
7650 uint64NDArray.h, uint8NDArray.h, int16NDArray.cc, int32NDArray.cc, | |
7651 int64NDArray.cc, int8NDArray.cc, intNDArray.cc, uint16NDArray.cc, | |
7652 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: New files. | |
7653 * Makefile.in: Add them to the appropriate lists. | |
7654 | |
4899 | 7655 2004-06-04 John W. Eaton <jwe@octave.org> |
7656 | |
7657 * mx-inlines.cc (MX_ND_REDUCTION): New arg, RET_ELT_TYPE. Use | |
7658 "RET_ELT_TYPE ()" rather than "false" as fill value for retval | |
7659 resize op. Change all uses. | |
7660 | |
4898 | 7661 2004-06-03 David Bateman <dbateman@free.fr> |
7662 | |
7663 * Array.cc (assignN): Allow magic colon for dimensions lvalue | |
7664 greater than the existing number of dimensions in lvalue. | |
7665 | |
4887 | 7666 2004-04-30 David Bateman <dbateman@free.fr> |
7667 | |
9967 | 7668 * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): |
4887 | 7669 New arg, fill_value. |
7670 (dim_vector::resize): Allow optional fill_value argument. | |
7671 | |
9967 | 7672 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): |
4887 | 7673 Don't chop trailing dimensions of Array<idx_vector> if there is |
7674 more than one element in idx_vector. Resize the return value to | |
7675 the size of Array<idx_vector>. | |
7676 | |
7677 * Array-util.cc (short_freeze): Better freeze of last dimension of | |
7678 idx_vector that is shorter than a dim_vector. | |
7679 | |
4882 | 7680 2004-04-23 John W. Eaton <jwe@octave.org> |
7681 | |
7682 * oct-sort.cc: Don't include oct-obj.h. | |
7683 | |
4876 | 7684 2004-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
7685 | |
7686 * Array.cc (Array<T>::index2, Array<T>::indexN): | |
7687 Don't set invalid dimensions on return value. | |
7688 | |
4871 | 7689 2004-04-21 John W. Eaton <jwe@octave.org> |
7690 | |
7691 * mx-inlines.cc (MX_ND_REDUCTION): Chop trailing singletons. | |
7692 | |
4850 | 7693 2004-04-06 David Bateman <dbateman@free.fr> |
7694 | |
4870 | 7695 * Array.cc (Array<T>::resize_no_fill (const dim_vector& dv), |
7696 Array<T>::resize_and_fill (const dim_vector& dv, const T& val)): | |
7697 Make their behavior equivalent except for filling vs. not filling. | |
7698 | |
4850 | 7699 * oct-sort.cc: New template class for arbitrary sorting. |
7700 * oct-sort.h: Declaration of sort class. | |
7701 * Makefile: Add them to the appropriate lists. | |
7702 | |
4845 | 7703 2004-04-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
7704 | |
7705 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Fix off-by-one error. | |
7706 | |
4844 | 7707 2004-04-02 David Bateman <dbateman@free.fr> |
7708 | |
9967 | 7709 * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, |
4844 | 7710 besselh2, airy, biry, betainc, gammainc, do_bessel): |
4852 | 7711 New N-d array versions. |
4844 | 7712 (SN_BESSEL, NS_BESSEL, NN_BESSEL): New macros. |
9967 | 7713 * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, |
4844 | 7714 besselh2, airy, biry, betainc, gammainc): Provide decls. |
9967 | 7715 |
4844 | 7716 * dNDArray.cc (NDArray::min, NDArray::max, min, max): |
7717 New functions. | |
7718 * dNDArray.h (NDArray::min, NDArray::max, min, max): Provide decls. | |
7719 | |
7720 * CNDArray.cc (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
7721 New functions. | |
9967 | 7722 * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): |
4844 | 7723 Provide decls. |
7724 | |
4842 | 7725 2004-03-17 David Hoover <jazzdaq@yahoo.com> |
7726 | |
7727 * DASPK.cc (DASPK::do_integrate): Always add n*n elements to the | |
7728 work vector, not just when using a numerical Jacobian. | |
7729 | |
4834 | 7730 2004-03-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7731 | |
4835 | 7732 * so-array.cc (SND_CMP_OP, NDS_CMP_OP, NDND_CMP_OP): |
7733 Omit empty result args. | |
7734 | |
4834 | 7735 * Array.cc (Array<T>::Array (const Array<T>&, const dim_vector&)): |
7736 Move here from Array.h, check that size of array arg is not | |
7737 smaller than the size defined by the new dimensions. | |
7738 | |
4832 | 7739 2004-03-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
7740 | |
7741 * Array.cc (Array<T>::index2): Allow result to be N-d if indexing | |
7742 a scalar or vector with an N-d array. | |
7743 | |
4826 | 7744 2004-03-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
7745 | |
4828 | 7746 * Array.cc (Array<T>::index2): If scalar or vector is indexed by |
7747 matrix, return object that is the same size as the index. | |
7748 | |
4826 | 7749 * mx-op-defs.h (NDND_CMP_OP, MM_CMP_OP): Require dimensions to agree. |
7750 Eliminate MT_RESULT args. Return value is always size of args. | |
7751 (MS_CMP_OP, SM_CMP_OP, NDS_CMP_OP, SND_CMP_OP): | |
7752 Eliminate EMPTY_RESULT arg. | |
7753 Return value is always size of matrix or N-d array arg. | |
7754 (TBM, FBM, NBM): Delete unused macros. | |
7755 | |
4821 | 7756 2004-03-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
7757 | |
7758 * Array.cc (Array<T>::maybe_delete_elements): Return immediately | |
7759 if all LHS dimensions are zero. For one index case, freeze and | |
7760 sort idx_vec before checking length, and do nothing if | |
7761 num_to_delete is zero. | |
4822 | 7762 (Array<T>::maybe_delete_elements_2): Omit Fortran-indexing warning. |
4821 | 7763 |
4816 | 7764 2004-03-04 David Bateman <dbateman@free.fr> |
7765 | |
7766 * dNDArray.cc (NDArray::ifourier): Arg is int, not const int. | |
7767 * CNDArray.cc (ComplexNDArray::ifourier): Likewise. | |
7768 | |
4811 | 7769 2004-03-03 Hans Ekkehard Plesser <hans.ekkehard.plesser@nlh.no> |
7770 | |
7771 * base-lu.cc (base_lu<>::L): Check bounds before setting diagonal | |
7772 element. | |
7773 | |
7774 2004-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7775 | |
7776 * Range.h (Range::Range): Add cache to member initialization list. | |
7777 (Range::clear_cache): New private function. | |
7778 | |
7779 * Range.h (Range::set_base, Range::set_limit, Range::set_inc): | |
7780 Use clear cache. Don't do anything if range does not change. | |
7781 * Range.cc (Range::sort): Likewise. | |
7782 | |
4810 | 7783 2004-03-02 Paul Kienzle <pkienzle@users.sf.net> |
7784 | |
7785 * Range.cc (Range::matrix_value): Cache result. | |
7786 (Range::sort): Clear cache. | |
7787 * Range.h (Range::cache): New data member. | |
7788 (Range::set_base, Range::set_limit, Range::set_inc): Clear cache. | |
7789 (Range::print_range): Delete. | |
4808 | 7790 |
7791 2004-03-02 David Bateman <dbateman@free.fr> | |
9967 | 7792 |
4808 | 7793 * oct-fftw.cc: Only two versions of plan, and avoid endless |
7794 changes between them. Faster for small fft's. | |
7795 (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): | |
9967 | 7796 New member variables. |
4808 | 7797 (octave_fftw_planner::ialign, octave_fftw_planner::oalign, |
7798 octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. | |
7799 Change all uses. | |
7800 (CHECK_SIMD_ALIGNMENT): New macro. | |
7801 (octave_fftw_planner::create_plan): Use it. | |
7802 | |
4806 | 7803 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> |
7804 | |
7805 * Array.cc (Array<T>::insertN): Eliminate N-d indexing. | |
7806 | |
9967 | 7807 * mx-inlines.cc (MX_ND_CAT): Delete macro. |
7808 | |
7809 * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. | |
7810 * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. | |
7811 * chNDArray.cc (charNDArray<T>::cat): Ditto. | |
7812 * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. | |
7813 | |
7814 * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. | |
7815 * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. | |
4806 | 7816 |
4800 | 7817 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
7818 | |
4802 | 7819 * oct-rl-edit.c (octave_rl_set_startup_hook, |
7820 octave_rl_get_startup_hook, octave_rl_set_event_hook, | |
7821 octave_rl_get_event_hook): Omit casts. | |
7822 * oct-rl-edit.h (rl_startup_hook_fcn_ptr, rl_event_hook_fcn_ptr): | |
7823 Return value for function pointer typedef is now int. | |
7824 * cmd-edit.h (command_editor::startup_hook_fcn, | |
7825 command_editor::event_hook_fcn): Likewise. | |
7826 * cmd-hist.cc, cmd-hist.h (command_history::goto_mark, | |
7827 command_history::do_goto_mark, gnu_history::do_goto_mark): | |
7828 Return type is now int. Return 0. | |
7829 | |
4800 | 7830 * EIG.cc (EIG::init, EIG::symmetric_init): |
7831 Query Lapack for workspace size. | |
7832 | |
4796 | 7833 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7834 | |
9967 | 7835 * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): |
4796 | 7836 Fix thinko in extending dimensions. |
7837 | |
4791 | 7838 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
7839 | |
7840 * Range.cc (Range::matrix_value, Range::min, Range::max): | |
7841 Don't compute values beyond the limits of the range. | |
7842 (operator << (std::ostream&, const Range&)): Likewise. | |
7843 | |
4786 | 7844 2004-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7845 | |
4788 | 7846 * oct-fftw.cc (octave_fftw_planner::create_plan): |
7847 Cast IN and OUT args to ptrdiff_t instead of long before masking. | |
7848 From Paul Kienzle <pkienzle@users.sf.net>. | |
7849 | |
4786 | 7850 * Array.cc (Array<T>::insertN (const Array<T>&, int, int)): |
7851 Rename from Array<T>::insert. | |
7852 (Array<T>::insert2 (const Array<T>&, int, int)): | |
7853 Reinstate old Array<T>::insert function under this name. | |
7854 (Array<T>::insert (const Array<T>&, int, int)): | |
7855 New function. Dispatch to insert2 or insertN as appropriate. | |
7856 | |
4785 | 7857 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
7858 | |
9967 | 7859 * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): |
4785 | 7860 Sprinkle with OCTAVE_QUIT. |
7861 | |
5095 | 7862 2004-02-16 David Bateman <dbateman@free.fr> |
4773 | 7863 |
7864 * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): | |
7865 Add support for FFTW 3.x. Include the ability to | |
7866 use the real to complex transform for fft's of real matrices | |
7867 (octave_fftw_planner::create_plan2d): Delete. | |
7868 (octave_fftw::fft2d): Delete. | |
7869 (convert_packcomplex_1d, convert_packcomplex_Nd): | |
7870 New static functions. | |
7871 * oct-fftw.h: Update decls. | |
7872 | |
7873 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
7874 Matrix::fourier2d, Matrix::ifourier2d): FFT's use real to complex | |
7875 transforms. 1D FFT of a matrix done as single call rather than | |
7876 loop. Update for FFTW 3.x | |
7877 * CMatrix.cc (ComplexMatrix::fourier, ComplexMatrix::ifourier, | |
7878 ComplexMatrix::fourier2d, ComplexMatrix::ifourier2d): 1D fft of a | |
7879 matrix done as single call rather than loop. Update for FFTW 3.x. | |
7880 | |
7881 * dNDArray.cc (NDArray::fourier, NDArray::ifourier, | |
7882 NDArray::fourierNd, NDArray::ifouriourNd): New fourier transform | |
7883 functions for Nd arrays. | |
7884 * dNArray.h Provide decls. | |
7885 * CNDArray.cc (ComplexNDArray::fourier, ComplexNDArray::ifourier, | |
7886 ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New | |
7887 fourier transform functions for complex Nd arrays. | |
7888 * CNArray.h: Provide decls. | |
9967 | 7889 |
4765 | 7890 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> |
7891 | |
7892 * Array.cc (Array<T>::insert (const Array<T>&, int, int)): | |
7893 Make it work for N-d arrays. | |
7894 | |
7895 * ArrayN.h (ArrayN<T>::insert (const ArrayN<T>& a, int, int)): | |
7896 New function. | |
7897 | |
7898 * CNDArray.cc (ComplexNDArray::insert (const NDArray&, int, int), | |
7899 ComplexNDArray::insert (const ComplexNDArray&, int, int)): | |
7900 New functions. | |
7901 * CNDArray.h: Provide decls. | |
7902 | |
4759 | 7903 2004-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7904 | |
4760 | 7905 * Makefile.in (LINK_DEPS): Always define. |
7906 | |
4759 | 7907 * Array.cc (Array<T>::squeeze): Always return an array with at |
7908 least two dimensions. | |
7909 | |
4758 | 7910 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
7911 | |
7912 * mx-inlines.cc (MX_ND_CAT): New macro. | |
7913 * dNDArray.cc (NDArray::cat): New function. | |
7914 * dNDArray.h: Provide decls. | |
7915 * CNDArray.cc (complexNDArray::cat): New function. | |
7916 * CNDArray.h: Provide decls. | |
7917 * chNDArray.cc (charNDArray::cat): New function. | |
7918 * chNDArray.h: Provide decls. | |
7919 | |
4756 | 7920 2004-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
7921 | |
7922 * Array.cc (maybe_delete_elements_2): Allow X(n) = [] for 2-d X. | |
7923 (Array<T>assign2): Also call maybe_delete_elements for single | |
7924 index when rows and columns or LHS are both greater than 1. | |
7925 | |
4755 | 7926 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
7927 | |
7928 * Array.cc (Array<T>::maybe_delete_elements): | |
7929 Check for index out of bounds. Handle one index. | |
7930 | |
7931 * Array.cc (Array<T>::indexN): Use dim_vector (0, 0) instead of | |
7932 dim_vector (0) to create empty return vector. | |
7933 | |
4749 | 7934 2004-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
7935 | |
7936 * Array.cc (Array<T>::assignN): Don't crash if trying to resize a | |
7937 non-empty LHS when the number of lhs dimensions is less than the | |
7938 number of indices. Detect error if attempting to resize non-empty | |
7939 LHS with colon indices. | |
7940 | |
4745 | 7941 2004-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
7942 | |
4747 | 7943 * Array.cc (Array<T>::resize_and_fill): Don't bother to assign any |
7944 values unless the length of the new array is greater than 0. | |
7945 (Array<T>::resize_no_fill): Likewise. | |
7946 | |
7947 * Array-util.cc (index_in_bounds): Also return false if ra_idx(i) | |
7948 is equal to dimensions(i). | |
7949 | |
7950 * Array-util.h, Array-util.cc (equal_arrays, any_zero_len, | |
7951 get_zero_len_size, number_of_elements): | |
7952 Delete unused functions. | |
7953 | |
7954 * Array-util.cc (get_ra_idx): Use dim_vector::numel instead of | |
7955 number_of_elements function. | |
7956 * Array.cc (Array<T>::indexN): Likewise. | |
7957 | |
7958 * Array.cc (Array<T>::indexN): Use dim_vector::operator == instead | |
7959 of equal_arrays function. | |
7960 (Array<T>::index, Array<T>::indexN, Array<T>::assignN) Use | |
7961 dim_vector::any_zero instead of any_zero_len function. | |
7962 | |
7963 * Array.cc (Array<T>::assignN): Eliminate special case for empty index. | |
7964 Don't skip reshaping and resizing if RHS is empty. | |
7965 | |
4746 | 7966 * Array.cc (Array<T>::assignN): Simplify loop for array assignment. |
9967 | 7967 Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. |
4747 | 7968 Delete unused variables is_colon and is_colon_equiv. |
4746 | 7969 Correctly resize for expressions like x(:,:,2) = ones(3,3) when |
7970 LHS is not yet defined. | |
4745 | 7971 Error for resizing if number of indices is less than number of LHS |
7972 dimensions. | |
7973 | |
4746 | 7974 * Array.cc (Array<T>::maybe_delete_elements): Maybe warn about |
7975 Fortran-style indexing. | |
7976 | |
4743 | 7977 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
7978 | |
7979 * Array.cc (Array<T>::assignN): Simplify. | |
7980 Allow assignments to succeed if number if indices is less than the | |
7981 number of RHS dimensions. | |
7982 | |
4738 | 7983 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
7984 | |
4741 | 7985 * Array.cc (Array<T>::maybe_delete_elements): Reshape LHS |
7986 when number of indices is less than number of dimensions. | |
7987 | |
7988 * Array.cc (Array<T>::assignN, Array<T>::maybe_delete_elements): | |
7989 Remove unsued variable lhs_inc. | |
7990 | |
4740 | 7991 * Array.cc (Array<T>::maybe_delete_elements): Declare idx_is_colon |
7992 and idx_is_colon_equiv Array<int> instead of dim_vector. | |
7993 | |
7994 * Array.cc (Array<T>::assignN): Compute new dims in a cleaner way. | |
7995 | |
4738 | 7996 * Array.cc (Array<T>::index): Check for frozen_lengths.length () |
7997 == n_dims before checking to see if all indices are colon_equiv. | |
7998 | |
4736 | 7999 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
8000 | |
8001 * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for | |
8002 deleting elements. | |
4737 | 8003 (Array<T>::index): Remove trailing singletons in ra_idx, but leave |
8004 at least ndims elements. | |
4736 | 8005 |
4735 | 8006 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
8007 | |
8008 * Array.cc (Array<T>::assignN): Accept assignment of a vector | |
8009 oriented differently from the index. | |
8010 | |
8011 * dim-vector.h (dim_vector::squeeze): Return value always has at | |
8012 least two dimensions. | |
8013 | |
4733 | 8014 2004-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
8015 | |
4735 | 8016 * dim-vector.h (dim_vector::squeeze): New function. |
8017 (Array<T>::assignN): Use it instead of chop_trailing_singltons for | |
8018 deciding whether the assignment conforms. | |
8019 | |
4733 | 8020 * Array.cc (Array<T>::assignN): Simplify dimension check by |
8021 comparing rhs_dims and frozen_len sans trailing singletons. | |
8022 | |
4732 | 8023 2004-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
8024 | |
8025 * idx-vector.cc (tree_to_mat_idx): New arg, conversion_error. | |
8026 Call error handler and return conversion_error == true if arg is | |
8027 not integer. | |
8028 (IDX_VEC_REP::idx_vector_rep): Exit early if conversion_error. | |
8029 | |
4730 | 8030 2004-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
8031 | |
8032 * boolNDArray.h (boolNDArray::boolNDArray): Declare dim_vector | |
8033 reference arg const. | |
8034 | |
8035 2004-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8036 | |
8037 * Array-flags.cc: Include Array-flags.h, not Array.h. Doh. | |
8038 | |
4729 | 8039 2004-01-30 Jakub Bogusz <qboosh@pld-linux.org> |
8040 | |
8041 * Array-flags.h (liboctave_wfi_flag, liboctave_wrore_flag): | |
8042 Now bool, to match definition in Array-flags.cc. | |
8043 | |
4725 | 8044 2004-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
8045 | |
4726 | 8046 * file-ops.cc: Include <vector> instead of <memory> for new |
8047 definition of OCTAVE_LOCAL_BUFFER. | |
8048 | |
4725 | 8049 * EIG.cc, EIG.h (EIG::init, EIG::symmetric_init, EIG::hermitian_init): |
8050 New arg, calc_eigenvectors. | |
8051 * EIG.h (EIG:EIG): New optional arg, calc_eigenvectors. | |
8052 Based on patch from David Bateman <dbateman@free.fr>. | |
8053 | |
4716 | 8054 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
8055 | |
8056 * Array.cc (Array<T>::assign2, Array<T>::assignN): | |
8057 For X(I) = RHS, don't restrict I to fewer elements than X. | |
8058 | |
8059 * Array.cc (Array<T>::assign2): Simplify indexing for X(I) = RHS case. | |
8060 | |
4711 | 8061 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
8062 | |
4714 | 8063 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): |
8064 Simplify calculation of number of elements in retval. | |
8065 | |
4711 | 8066 * Array.cc (Array<T>::assignN): Eliminate unnecessray code for |
8067 filling when RHS is scalar and dimension lengths agree. | |
8068 | |
4710 | 8069 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
8070 | |
4713 | 8071 * Makefile.in (distclean): Remove mx-ops.h, $(MX_OP_INC), |
8072 $(VX_OP_INC), $(MX_OP_SRC), $(VX_OP_SRC), and $(OPTS_INC). | |
4710 | 8073 |
4707 | 8074 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
8075 | |
4709 | 8076 * Array.cc (Array<T>::resize_and_fill): Correctly copy old elements. |
8077 (Array<T>::assign2): Check for RHS dimensions larger than 2. | |
4707 | 8078 |
4702 | 8079 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> |
8080 | |
4703 | 8081 * Array.h (Array<T>::chop_trailing_singletons): New function. |
8082 * Array.cc (Array<T>::assignN): Use it on LHS. | |
8083 | |
8084 * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. | |
4702 | 8085 Retrieve scalar element by passin 0 instead of an index array. |
4703 | 8086 Check for singleton dimensions where RHS is matrix or higher dimension. |
8087 Make sure index is in bounds. | |
4702 | 8088 |
4698 | 8089 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
8090 | |
8091 * lo-ieee.cc (octave_ieee_init): Ensure that octave_Inf, | |
8092 octave_NaN, and octav_NA values are always initialized. Check | |
8093 floating point format, not HAVE_ISINF, HAVE_FINITE, or HAVE_ISNAN | |
8094 to decide whether to do IEEE initialization. | |
8095 | |
4687 | 8096 2004-01-06 David Bateman <dbateman@free.fr> |
8097 | |
9967 | 8098 * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, |
4687 | 8099 ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, |
8100 ComplexNDArray::too_large_for_float): New functions | |
9967 | 8101 |
4687 | 8102 * CNDArray.cc (operator <<, operator >>): New IO operators. |
8103 * CNDArray.h: Provide decls. | |
8104 * dNDArray.cc (operator <<, operator >>): New IO operators. | |
8105 * dNDArray.h: Provide decls. | |
8106 | |
4673 | 8107 2003-12-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
8108 | |
4674 | 8109 * mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since |
8110 they are already defined in boolNDArray.cc. | |
8111 | |
4673 | 8112 * Array-util.cc (get_zero_len_size): Delete. |
8113 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
8114 Handle zero-length result dimensions the same as empty original | |
8115 indices. | |
8116 | |
8117 2003-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8118 | |
8119 * dim-vector.h (dim_vector::chop_trailing_singleton_dims, | |
8120 dim_vector::dim_vector_rep::chop_trailing_singleton_dims): | |
8121 New functions. | |
8122 * Array.cc (ArrayN<T>::indexN): Use it. | |
8123 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): Likewise. | |
8124 | |
4669 | 8125 2003-11-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
8126 | |
8127 * boolNDArray.cc: Define BOOL ops. Define mixed CMP ops. | |
8128 * boolNDArray.h: Declare BOOL ops. Declare mixed CMP ops. | |
8129 | |
8130 2003-11-25 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8131 | |
8132 * mk-ops.awk: Also emit #include "Array-util.h". | |
8133 | |
8134 * mx-ops: Add bool, boolMatrix, and boolNDarray types. | |
8135 Add bnda x bnda, b x bnda, and bnda x b ops. | |
8136 | |
8137 * MArray-misc.cc: Delete. | |
8138 * Makefile.in (MATRIX_SRC): Remove it from the list. | |
8139 | |
8140 * Array-util.h, Array-util.cc (gripe_nonconformant): Move here from | |
8141 MArray.h, MArray2.h, MArrayN.h, and MArray-misc.cc. | |
8142 | |
4655 | 8143 2003-11-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
8144 | |
4663 | 8145 * dbleQR.cc (QR::init): Use separate pwork pointers. |
8146 * CmplxQR.cc (ComplexQR::init): Likewise. | |
8147 | |
8148 * oct-group.cc (octave_group::getgrnam): Pass correct args to | |
8149 two-arg getgrnam version. | |
8150 | |
4657 | 8151 * Array.cc (assignN): Allow single indexing to work. |
4661 | 8152 (Array<T>::range_error (const char*, const Array<int>&)): |
8153 Report index values. | |
8154 | |
8155 * Array.cc (Array<T>::index): Delete unused arg names. | |
4662 | 8156 * ODESSA.cc (odessa_j): Likewise. |
8157 * DASRT.cc (ddasrt_f, ddasrt_g): Likewise. | |
8158 * DASPK.cc (ddaspk_psol): Likewise. | |
8159 * lo-mappers.cc (imag): Likewise. | |
4663 | 8160 * Array-util.cc (get_zero_len_size): Likewise. |
8161 * kpse.cc (path_search, path_find_first_of): Likewise. | |
8162 * cmd-edit.cc (do_generate_filename_completions): Likewise. | |
4656 | 8163 |
4655 | 8164 * dim-vector.h (dim_vector::all_ones): New function. |
8165 | |
4646 | 8166 2003-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
8167 | |
4653 | 8168 * idx-vector.h (idx_vector::orig_empty): Check orig_dims for |
8169 zeros, not orig_rows or orig_columns. | |
8170 (idx_vector::idx_vector_rep::orig_rows): Define using orig_dims. | |
8171 (idx_vector::idx_vector_rep::orig_columns): Likewise. | |
8172 | |
8173 * idx-vector.cc (idx_vector::idx_vector_rep::orig_nr, | |
8174 (idx_vector::idx_vector_rep::orig_nc): Delete. | |
8175 | |
8176 * idx-vector.cc (idx_vector::idx_vector_rep): | |
8177 Use initialization lists for constructors. | |
8178 | |
4651 | 8179 * Array.cc (Array<T>::indexN): Correctly handle single colon index. |
8180 Omit special case for ra_idx.capacity () == 1. | |
8181 Always allow single index for matrix args with optional warning. | |
8182 | |
4650 | 8183 * idx-vector.h, idx-vector.cc: Convert boolMatrix functions to use |
8184 boolNDArray. Likewise, convert Matrix functions to use NDArray. | |
8185 | |
4648 | 8186 * Array-so.cc: New file. Move instantiations here from so-array.h. |
8187 * Makefile.in (TI_SRC): Add it to the list. | |
8188 | |
4646 | 8189 * MArray-defs.h (DO_VS_OP2, DO_VV_OP2): Accept args for element |
8190 type and the names of the left and right operands. Change all uses. | |
8191 | |
8192 * so-array.cc, so-array.h: New files. Move streamoff_array here | |
8193 from src/ov-streamoff.h and src/ov-streamoff.cc. | |
8194 | |
4645 | 8195 2003-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
8196 | |
8197 * MArrayN.cc (operator -=, operator +=): Check dimensions, not | |
8198 just length. | |
8199 | |
8200 * Array2.h, Array3.h, DiagArray2.h, DiagArray2.cc, MDiagArray2.h, | |
8201 ArrayN.h: Add this-> or Base:: qualifiers for references to | |
8202 non-dependent member functions and data as needed. | |
8203 | |
8204 * DiagArray2.h, DiagArray2.cc: Delete unused code. | |
8205 | |
8206 * Array2.h (Array2<T>::operator =): Don't copy dimensions here. | |
8207 * Array3.h (Array3<T>::operator =): Likewise. | |
8208 * DiagArray2.h (DiagArray2<T>::operator =): Likewise. | |
8209 Include Array.h, not Array2.h. | |
8210 | |
4634 | 8211 2003-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
8212 | |
4636 | 8213 * str-vec.cc (list_in_columns): Fix previous change. |
8214 | |
4635 | 8215 * dim-vector.h (dim_vector::num_ones): New function. |
8216 * Array.cc (maybe_delete_elements): Use it instead of | |
8217 num_ones (const Array<int>&). | |
8218 | |
8219 * Array.cc (assignN): Omit dubious check of singleton dimensions. | |
8220 | |
4634 | 8221 * dNDArray.cc (NDArray::all_elements_are_int_or_inf_or_nan, |
8222 NDArray::any_element_is_inf_or_nan, NDArray::too_large_for_float): | |
8223 New functions. | |
8224 * dNDArray.h: Provide decls. | |
8225 | |
8226 * dMatrix.h (Matrix::any_element_is_negative, | |
8227 Matrix::any_element_is_inf_or_nan, Matrix::too_large_for_float, | |
8228 Matrix::all_elements_are_int_or_inf_or_nan, Matrix::all_integers): | |
8229 Simplify. | |
8230 | |
8231 * dNDArray.cc (NDArray::abs): Make it work for N-d arrays. | |
8232 * CNDArray.cc (ComplexNDArray::abs): Likewise. | |
8233 | |
8234 * dNDArray.cc (real, imag): New functions. | |
8235 * dNDArray.h: Provide decls. | |
8236 | |
4630 | 8237 2003-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
8238 | |
8239 * Makefile.in (TEMPLATE_SRC): Move MArrayN.cc here from MATRIX_SRC. | |
8240 | |
4625 | 8241 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
8242 | |
8243 * Array.h (Array<T>::resize (int, const T&)): Reinstate. | |
8244 * MArray.h (resize): Delete. | |
8245 * MArray2.h (resize): Delete. | |
8246 * DASRT.cc (DASRT::integrate): Use resize, not resize_and_fill. | |
8247 * ODESSA (ODESSA::integrate): Likewise. | |
8248 | |
4616 | 8249 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
8250 | |
8251 * Makefile.in (dist): Depend on stamp-prereq. | |
8252 | |
4605 | 8253 2003-11-12 John Eaton <jwe@bevo.che.wisc.edu> |
8254 | |
8255 * mach-info.c (oct_mach_info::init_float_format) [CRAY]: | |
8256 Kluge to make it work. | |
4604 | 8257 |
8258 * lo-ieee.cc (octave_ieee_init): Set octave_Inf, octave_NaN, and | |
8259 octave_NA to DBL_MAX if native float format is vaxd, vaxg, or cray. | |
8260 | |
8261 * cmd-edit.cc (gnu_readline::do_generate_filename_completions, | |
8262 default_command_editor::do_generate_filename_completions, | |
8263 command_editor::generate_filename_completions): New functions. | |
8264 * cmd-edit.h: Provide decls. | |
8265 * oct-rl-edit.c (octave_rl_filename_completion_function): New | |
8266 function. | |
8267 * oct-rl-edit.h: Provide decl. | |
8268 | |
4593 | 8269 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
8270 | |
4594 | 8271 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY_AND_ASSIGN, |
8272 INSTANTIATE_ARRAY): New macros. | |
8273 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
8274 Array-idx-vec.cc, Array-s.cc, Array-str.cc, ODESSA.cc: Use them. | |
8275 | |
4593 | 8276 * Array.h (Array<T>::ipermute): New function. |
8277 | |
8278 2003-11-11 Petter Risholm <risholm@stud.ntnu.no> | |
8279 | |
8280 * Array.cc (Array<T>::permute): New function. | |
8281 * Array.h: Provide decl. | |
8282 | |
8283 * Array-util.cc (calc_permutated_idx): New function. | |
8284 * Array-util.h: Provide decl. | |
8285 | |
4587 | 8286 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
8287 | |
4592 | 8288 * Array.cc (Array<T>::index2): Return value has orientation of |
8289 indexed value if indexing a vector with a bool matrix. | |
8290 | |
4589 | 8291 * ArrayN.h (ArrayN<T>::get_size): Delete. |
8292 | |
4588 | 8293 * Array.cc, ArrayN.cc, dNDArray.cc, CNDArray.cc, boolNDArray.cc, |
8294 chNDArray.cc: Include Array-util.h instead of ArrayN-inline.h. | |
8295 | |
8296 * ArrayN-inline.h: Delete. | |
8297 * Array-util.h, Array-util.cc: New files, from ArrayN-inline.h. | |
8298 * Makefile.in: Fix the appropriate lists. | |
8299 | |
4587 | 8300 * Array.cc, Array.h, ArrayN.h, CMatrix.cc, CNDArray.h, |
8301 CRowVector.cc, CmplxQR.cc, CollocWt.h, DASPK.h, DASRT.h, DASSL.h, | |
8302 FEGrid.cc, LP.h, LSODE.h, MArrayN.h, ODE.h, ODES.h, ODESSA.cc, | |
8303 boolNDArray.h, chNDArray.h, dMatrix.cc, dNDArray.h, dRowVector.cc, | |
8304 dbleQR.cc, kpse.cc, oct-rl-hist.c, str-vec.cc, str-vec.h: | |
8305 Avoid -Wshadow warnings. | |
8306 | |
8307 2003-11-08 John Eaton <jwe@bevo.che.wisc.edu> | |
4585 | 8308 |
8309 * Array.h (Array<T>::nil_rep): Qualify return type with typename. | |
8310 | |
8311 * mk-ops.awk: Delete elements of bool_headers array individually. | |
8312 | |
8313 2003-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8314 | |
8315 * Array.cc (maybe_delete_elements): Rename arg idx to ra_idx. | |
8316 | |
4584 | 8317 2003-10-31 Petter Risholm <risholm@stud.ntnu.no> |
8318 | |
8319 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): New macro. | |
8320 | |
8321 * CNDArray.cc, CNDArray.h (ComplexNDArray::cumsum, | |
8322 ComplexNDArray::cumprod): Return ComplexNDArray. Handle N-d arrays. | |
8323 * dNDArray.cc, dNDArray.h (NDArray::cumsum, NDArray::cumprod): | |
8324 Return NDArray. Handle N-d arrays. | |
8325 | |
4575 | 8326 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
8327 | |
4583 | 8328 * LSODE.cc (LSODE::do_integrate): Avoid name conflict on systems |
8329 that upcase Fortran names by calling dlsode instead of lsode. | |
8330 | |
8331 * ODESSA.cc (ODESSA::do_integrate): Avoid name conflict on systems | |
8332 that upcase Fortran names by calling dodessa instead of odessa. | |
8333 | |
4577 | 8334 * file-ops.cc (file_ops::symlink): Cope with systems that expect |
8335 non-const args for symlink system call. | |
8336 (file_ops::readlink): Likewise, for readlink. | |
8337 | |
4575 | 8338 * DASRT.cc (DASRT::integrate): Fix typo in Fortran function name. |
8339 | |
4574 | 8340 2003-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
8341 | |
8342 * mach-info.h (oct_mach_info): Prefix enum elements with flt_fmt_. | |
8343 Change all uses. | |
8344 | |
4569 | 8345 2003-10-29 Petter Risholm <risholm@stud.ntnu.no> |
8346 | |
8347 * dNDArray.cc (NDArray::cumprod, NDArray::cumsum, NDArray::prod, | |
8348 NDArray::sum, NDArray::sumsq, NDArray::abs): New functions. | |
8349 * dNDArray.h: Provide decls. | |
8350 * CNDArray.cc (ComplexNDArray::cumprod, ComplexNDArray::cumsum, | |
8351 ComplexNDArray::prod, ComplexNDArray::sum, ComplexNDArray::sumsq, | |
8352 ComplexNDArray::abs): New functions. | |
8353 * CNDArray.h: Provide decls. | |
8354 | |
8355 * mx-inlines.cc (MX_ND_REDUCTION): Rename from MX_ND_ANY_ALL. | |
8356 Generalize to handle other reduction operations. | |
8357 (MX_ND_REAL_OP_REDUCTION, MX_ND_COMPLEX_OP_REDUCTION, | |
8358 MX_ND_ALL_ANY_REDUCTION): New macros. | |
8359 | |
4565 | 8360 2003-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
8361 | |
4567 | 8362 * Array.cc (Array<T>::reshape): New function. |
8363 * Array.h: Provide decl. | |
8364 | |
8365 * dim-vector.h (dim_vector::numel): New function. | |
8366 | |
4565 | 8367 * dim-vector.h (dim_vector_rep::dim_vector_rep (int, const |
8368 dim_vector&)): Correctly handle case of n < dv->ndims. | |
8369 | |
4559 | 8370 2003-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
8371 | |
8372 * dim-vector.h (dim_vector::any_zero): New function. | |
8373 (dim_vector::str): New default arg, sep. | |
8374 | |
8375 * Array.h (Array<T>::numel): New function. | |
8376 | |
4556 | 8377 2003-10-27 Petter Risholm <risholm@stud.ntnu.no> |
8378 | |
8379 * mx-inlines.cc (MX_ND_ALL_EXPR, MX_ND_ANY_EXPR, | |
8380 MX_ND_ALL_EVAL, MX_ND_ANY_EVAL, MX_ND_ALL_ANY): New macros. | |
8381 * dNDArray.h (NDArray::all, NDArray::any): Return type now boolNDArray. | |
8382 * CNDArray.h (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
8383 * boolNDArray.h (boolNDArray::all, boolNDArray::any): Likewise. | |
8384 * chNDArray.h (charNDArray::all, charNDArray::any): Likewise. | |
8385 * dNDArray.cc (NDArray::all, NDArray::any): Make them work. | |
8386 * CNDArray.cc (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
8387 * boolNDArray.cc (boolNDArray::all, boolNDArray::any): Likewise. | |
8388 * chNDArray.cc (charNDArray::all, charNDArray::any): Likewise. | |
8389 | |
4552 | 8390 2003-10-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
8391 | |
4553 | 8392 * Array.cc (Array<T>::resize_and_fill): Allow number of dimensions |
8393 to change. From Petter Risholm <risholm@stud.ntnu.no>. | |
8394 | |
4552 | 8395 * oct-rand.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, |
8396 CmplxAEPBAL.cc CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
8397 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, | |
8398 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, ODESSA.cc, | |
8399 Quad.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
8400 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
8401 dbleSCHUR.cc, dbleSVD.cc, lo-specfun.cc: | |
8402 Use new F77 arg macros in declarations of external Fortran | |
8403 subroutines and for calling them. | |
8404 | |
4548 | 8405 2003-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
8406 | |
8407 * Array.cc (Array<T>::resize_no_fill (const dim_vector&)): | |
8408 Allow number of dimensions to change. | |
8409 (Array<T>::resize_no_fill (int, int)): Require ndims to be 0 or 2. | |
8410 (Array<T>::resize_and_fill (int, int, const T&)): Likewise. | |
8411 (Array<T>::resize_no_fill (int, int, int)): Require ndims to be 0 or 3. | |
8412 (Array<T>::resize_and_fill (int, int, int, const T&)): Likewise. | |
8413 (Array<T>::transpose): Require ndims to be 2. | |
8414 (Array<T>::index2): Likewise. | |
8415 (Array<T>::index (idx_vector&, idx_vector&, int, const T&)): Likewise. | |
8416 (Array<T>::maybe_delete_elements_2): Likewise. | |
8417 (Array<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Likewise. | |
8418 (Array<T>::index1): Use resize_and_fill. | |
8419 (MAYBE_RESIZE_ND_DIMS): Likewise. | |
8420 | |
8421 * ODESSA.cc (ODESSA::integrate): Use resize_and_fill for x_s_out. | |
8422 | |
8423 * MArray2.h (MArray2<T>::resize (int, int)): New function. | |
8424 (MArray2<T>::resize (int, int, const T&)): New function. | |
8425 | |
8426 * MArray.h (MArray<T>::resize (int)): New function. | |
8427 (MArray<T>::resize (int, const T&)): New function. | |
8428 | |
8429 * DASRT.cc (DASRT::integrate): Use resize_and_fill for jroot. | |
8430 | |
8431 * DASPK-opts.in: Use single-arg resize for initial condition | |
8432 heuristics. | |
8433 | |
8434 * dim-vector.h (class dim_vector): Now reference counted. | |
8435 (dim_vector_rep::elem): Use assert to check that index is in bounds. | |
8436 | |
4544 | 8437 2003-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
8438 | |
4545 | 8439 * Array.cc (Array<T>::squeeze): Delete redundant retval decl. |
8440 | |
4544 | 8441 * mx-cdm-cm.cc, mx-cdm-cm.h, mx-cdm-cs.cc, mx-cdm-cs.h, |
8442 mx-cdm-dm.cc, mx-cdm-dm.h, mx-cdm-m.cc, mx-cdm-m.h, mx-cdm-s.cc, | |
8443 mx-cdm-s.h, mx-cm-cdm.cc, mx-cm-cdm.h, mx-cm-dm.cc, mx-cm-dm.h, | |
8444 mx-cm-m.cc, mx-cm-m.h, mx-cm-s.cc, mx-cm-s.h, mx-cs-cdm.cc, | |
8445 mx-cs-cdm.h, mx-cs-dm.cc, mx-cs-dm.h, mx-cs-m.cc, mx-cs-m.h, | |
8446 mx-dm-cdm.cc, mx-dm-cdm.h, mx-dm-cm.cc, mx-dm-cm.h, mx-dm-cs.cc, | |
8447 mx-dm-cs.h, mx-dm-m.cc, mx-dm-m.h, mx-dm-s.cc, mx-dm-s.h, | |
8448 mx-m-cdm.cc, mx-m-cdm.h, mx-m-cm.cc, mx-m-cm.h, mx-m-cs.cc, | |
8449 mx-m-cs.h, mx-m-dm.cc, mx-m-dm.h, mx-ops.h, mx-s-cdm.cc, | |
8450 mx-s-cdm.h, mx-s-cm.cc, mx-s-cm.h, mx-s-dm.cc, mx-s-dm.h, | |
8451 vx-ccv-cv.cc, vx-ccv-cv.h, vx-ccv-s.cc, vx-ccv-s.h, vx-crv-rv.cc, | |
8452 vx-crv-rv.h, vx-crv-s.cc, vx-crv-s.h, vx-cs-cv.cc, vx-cs-cv.h, | |
8453 vx-cs-rv.cc, vx-cs-rv.h, vx-cv-ccv.cc, vx-cv-ccv.h, vx-cv-cs.cc, | |
8454 vx-cv-cs.h, vx-rv-crv.cc, vx-rv-crv.h, vx-rv-cs.cc, vx-rv-cs.h, | |
8455 vx-s-ccv.cc, vx-s-ccv.h, vx-s-crv.cc, vx-s-crv.h: Delete. These | |
8456 files are now automatically generated. | |
8457 | |
8458 * Makefile.in ($(VX_OP_INC), $(VX_OP_SRC), $(MX_OP_INC), | |
8459 $(MX_OP_SRC)): Generate lists with new mk-ops.awk script. | |
8460 Add rules to generate these files and mx-ops.h. | |
8461 (stamp-prereq): Depend on these files. | |
8462 | |
8463 * mx-ops, vx-ops, mk-ops.awk: New files. | |
8464 * Makefile.in (DISTFILES): Add them to the list. | |
8465 | |
4543 | 8466 2003-10-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
8467 | |
8468 * NDArray.cc (NDArray::NDArray (const boolNDArray), | |
8469 NDArray::NDArray (const charNDArray)): New constructors. | |
8470 (NDArray::operator !): New function. | |
8471 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
8472 NDND_CMP_OPS, NDND_BOOL_OPS. | |
8473 | |
8474 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const NDArray&), | |
8475 ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
8476 ComplexNDArray::ComplexNDArray (const charNDArray&)): | |
8477 New constructors. | |
8478 (ComplexNDArray::operator !): New function. | |
8479 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
8480 NDND_CMP_OPS, NDND_BOOL_OPS. | |
8481 | |
8482 * ArrayN.h (resize (const dim_vector&)): Fix typo. | |
8483 | |
8484 * boolNDArray.cc (boolNDArray::operator !): New function. | |
8485 Provide NDND_CMP_OPS. | |
8486 | |
8487 * MArrayN.cc (operator +=, operator -=): New functions. | |
8488 Provide product and quotient functions. | |
8489 | |
8490 * MArray-misc.cc (gripe_nonconformant (const char *, dim_vector&, | |
8491 dim_vector&)): New function. | |
8492 | |
8493 * dim-vector.h (dim_vector::str, dim_vector::all_zero, | |
8494 operator ==, operator !=): New functions. | |
8495 * ArrayN.cc (operator <<): Use dim_vector::str here. | |
8496 | |
8497 * Array.cc (Array<T>::resize_no_fill, Array<T>::resize_and_fill): | |
8498 No need to save old dimensions. | |
8499 | |
8500 * oct-rand.cc (MAKE_RAND_ND_ARRAY): New macro. | |
8501 (octave_rand::nd_array): New function. | |
8502 * oct-rand.h (octave_rand::nd_array): Provide decl. | |
8503 | |
8504 * mx-op-defs.h (NDCMP_OP_DECL, NDBOOL_OP_DECL, NDS_BIN_OP_DECLS, | |
8505 NDS_BIN_OP, NDS_BIN_OPS, NDS_CMP_OP_DECLS, NDS_CMP_OP, | |
8506 NDS_CMP_OPS, NDS_BOOL_OP_DECLS, NDS_BOOL_OP, NDS_BOOL_OPS, | |
8507 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_BIN_OP, SND_BIN_OPS, | |
8508 SND_CMP_OP_DECLS, SND_CMP_OP, SND_CMP_OPS, SND_BOOL_OP_DECLS, | |
8509 SND_BOOL_OP, SND_BOOL_OPS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
8510 NDND_BIN_OP, NDND_BIN_OPS, NDND_CMP_OP_DECLS, NDND_CMP_OP, | |
8511 NDND_CMP_OPS, NDND_BOOL_OP_DECLS, NDND_BOOL_OP, NDND_BOOL_OPS, | |
8512 NDND_OP_DECLS): New macros. | |
8513 * mx-cm-m.h, mx-cm-s.h, mx-cs-m.h, mx-m-cm.h, mx-m-cs.h, | |
8514 mx-s-cm.h, mx-cm-m.cc, mx-cm-s.cc, mx-cs-m.cc, mx-m-cm.cc, | |
8515 mx-m-cs.cc, mx-s-cm.cc: Use them. | |
8516 | |
8517 * mx-defs.h (class NDArray, class ComplexNDArray, class | |
8518 boolNDArray, class charNDArray): New forward decls. | |
8519 | |
4534 | 8520 2003-10-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
8521 | |
8522 * Array.cc (assign2): No error (but don't do anything either) for | |
8523 expressions like x([],j) = scalar. | |
8524 | |
4532 | 8525 2003-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
8526 | |
4533 | 8527 * Array.cc (assignN): Allow lhs(:) = scalar. |
8528 | |
4532 | 8529 * CNDArray.cc (ComplexNDArray::increment_index): New function. |
8530 * dNDArray.cc (NDArray::increment_index): Likewise. | |
8531 * boolNDArray.cc (boolNDArray::increment_index): Likewise. | |
8532 * chNDArray.cc (charNDArray::increment_index): Likewise. | |
8533 | |
8534 * dim-vector.h (rows, cols): Delete unused data members. | |
8535 | |
8536 * Array.cc (Array<T>::get_size): Fix thinko. | |
8537 | |
8538 2003-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8539 | |
8540 * Array.cc (Array<T>::squeeze): New function. | |
8541 * CNDArray.h (ComplexNDArray::squeeze): Likewise. | |
8542 * dNDArray.h (NDArray::squeeze): Likewise. | |
8543 * boolNDArray.h (boolNDArray::squeeze): Likewise. | |
8544 * chNDArray.h (charNDArray::squeeze): Likewise. | |
8545 | |
4530 | 8546 2003-10-06 Petter Risholm <risholm@stud.ntnu.no> |
8547 | |
8548 * Array.cc (ArrayN<T>::indexN): New definition. | |
8549 * Array.h (Array<T>::indexN): Provide decl. | |
8550 * Array.cc (ArrayN<T>::index (idx_vector&, int, const T&): | |
8551 Call indexN if more than 2 indices. | |
8552 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): | |
8553 Make it (mostly) work. | |
8554 * ArrayN-inline.h (number_of_elements, get_ra_idx, short_freeze): | |
8555 New functions. | |
8556 | |
4527 | 8557 2003-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
8558 | |
8559 * cmd-edit.cc (do_readline): Pass eof to octave_fgetl. | |
8560 * lo-utils.cc (octave_fgets, octave_fgetl): New overloaded | |
8561 versions with eof arg. | |
8562 | |
4518 | 8563 2003-09-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
8564 | |
8565 * Array.h (dimensions): Now public. | |
8566 template <class LT, class RT> | |
8567 (assign (Array<LT>&, const Array<RT>&, const LT&), | |
8568 assign1 (Array<LT>&, const Array<RT>&, const LT&), | |
8569 assign2 (Array<LT>&, const Array<RT>&, const LT&), | |
8570 assignN (Array<LT>&, const Array<RT>&, const LT&), | |
8571 resize_no_fill (int), | |
8572 resize_no_fill (int, int), | |
8573 resize_no_fill (int, int, int), | |
8574 resize_no_fill (const dim_vector&), | |
8575 resize_and_fill (int, const T&), | |
8576 resize_and_fill (int, int, const T&), | |
8577 resize_and_fill (int, int, int, const T&), | |
8578 resize_and_fill (const dim_vector&, const T&)): Now public. | |
8579 | |
8580 * Array.cc: Include <climits>. | |
8581 | |
4513 | 8582 2003-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
8583 | |
4517 | 8584 * Array.cc: Merge Array-idx.h. |
8585 * Array-idx.h: Delete. | |
8586 | |
4514 | 8587 * chNDArray.h, chNDArray.cc, boolNDArray.h, boolNDArray.cc: New files. |
8588 | |
4513 | 8589 * Array.h, Array-idx.h, Array.cc: Fold all N-d functionality here. |
8590 Turn inheritance hierarchy upside down (2-d and 3-d arrays are now | |
8591 just special cases of the general purpose N-d Array object). | |
8592 | |
8593 * dim-vector.h: New file. Use dim_vector objects instead of | |
8594 ints or Array<int> objects to represent the size of Array | |
8595 objects. | |
8596 | |
8597 * MArray-defs.h (INSTANTIATE_MARRAYN_FRIENDS): New macro. | |
8598 | |
8599 * Array2-idx.h, Array3-idx.h, Array2.cc, Array3.cc: Delete. | |
8600 | |
8601 * mx-base.h: Include NDArray header files. | |
8602 | |
8603 * MArray-C.cc, MArray-d.cc: Also instantiate ArrayN objects. | |
8604 | |
8605 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
8606 Array-s.cc: Also instantiate ArrayN objects. | |
8607 Don't instantiate assign funcitons for Array2 objects. | |
8608 | |
8609 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Signal error with | |
8610 liboctave_error_handler, not cerr. | |
8611 * CMatrix.cc (ComplexMatrix::diag): Likewise. | |
8612 * dDiagMatrix.cc (DiagMatrix::diag): Likewise. | |
8613 * dMatrix.cc (Matrix::diag): Likewise. | |
8614 | |
8615 * Array-flags.cc, Array.cc, Array.h, Array2.h, Array3.h, ArrayN.h: | |
8616 Omit checks for HEAVYWEIGHT_INDEXING. | |
8617 | |
8618 2003-09-12 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8619 | |
8620 * mx-base.h: Include CNDarray.h. Include dNDArray.h, not NDArray.h. | |
8621 | |
8622 * CNDARray.h, CNDArray.cc: New files. | |
8623 * Makefile.in: Add them to the appropriate lists. | |
8624 | |
8625 * dNDArray.h: Rename from NDArray.h. | |
8626 * dNDArray.cc: Rename from NDArray.cc. | |
8627 * Makefile.in: Rename them here too. | |
8628 | |
4507 | 8629 2003-09-10 Petter Risholm <risholm@stud.ntnu.no> |
8630 | |
8631 * mx-base.h: Include NDArray.h, not ArrayN.h. | |
8632 | |
8633 * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. | |
8634 * Makefile.in: Add them to the appropriate lists. | |
8635 | |
5095 | 8636 2003-09-09 David Bateman <dbateman@free.fr> |
4506 | 8637 |
8638 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, | |
8639 biry): Always request scaled results from AMOS functions and | |
8640 perform reverse scaling on results if scaled result not requested | |
8641 by user. | |
8642 | |
8643 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9967 | 8644 |
4506 | 8645 * lo-specfun.cc (xlgamma): Require nonnegative argument. |
8646 | |
4505 | 8647 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
8648 | |
8649 * Array-d.cc: Instantiate assign functions. | |
8650 | |
4504 | 8651 2003-09-09 Petter Risholm <risholm@stud.ntnu.no> |
8652 | |
8653 * ArrayN-idx.h (vector_equivalent, equal_arrays): New functions. | |
8654 (get_elt_idx): Index ra_idx correctly. | |
8655 | |
8656 * ArrayN-inline.h (index_in_bounds): Index is also condidered in | |
8657 bounds if it is exactly on the bound. | |
8658 | |
8659 * ArrayN.cc (ArrayN<T>::maybe_delete_dims): New function. | |
8660 * ArrayN.h: Provide decl. | |
8661 | |
8662 * ArrayN.h (ArrayN<T>::ArrayN<T> (const Matrix&)): New constructor. | |
8663 | |
8664 * idx-vector.h (idx_vector::orig_dims): New member variable. | |
8665 (idx_vector::idx_vector_rep::orig_dimensions): New function. | |
8666 (idx_vector::orig_dimensions): New function. | |
8667 | |
4497 | 8668 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
8669 | |
8670 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
8671 | |
4496 | 8672 2003-09-04 Petter Risholm <risholm@stud.ntnu.no> |
8673 | |
8674 * ArrayN-idx.h (maybe_delete_elements): Implement function. | |
8675 (is_in, how_many_lgt, all_ones): New functions. | |
8676 | |
4493 | 8677 2003-09-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
8678 | |
8679 * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. | |
8680 | |
8681 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> | |
9967 | 8682 |
4493 | 8683 * ArrayN-inline.h: New file. |
8684 (index_in_bounds, increment_index): Move here. | |
8685 * ArrayN.cc: From here. | |
8686 | |
8687 * ArrayN.h (maybe_delete_elements): New arg, resize_fill_value. | |
8688 * ArrayN-idx.h (assign): New function. | |
8689 | |
4490 | 8690 2003-08-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
8691 | |
8692 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, airy, biry): | |
8693 Also zero imaginary part of result if real part of input value is | |
8694 zero. | |
8695 | |
4478 | 8696 2003-07-30 Heine Kolltveit <kolltvei@idi.ntnu.no> |
8697 | |
8698 * mx-base.h: Include ArrayN.h. | |
8699 | |
4476 | 8700 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> |
8701 | |
9967 | 8702 * ArrayN.cc (operator <<): Corrected output. |
4476 | 8703 |
4474 | 8704 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
8705 | |
8706 * ArrayN.cc (increment_index): New arg, start_dimension. | |
8707 | |
5095 | 8708 2003-07-29 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4473 | 8709 |
8710 * ArrayN.cc (operator <<): Improve output readability. | |
8711 | |
4493 | 8712 2003-07-29 Petter Risholm <risholm@stud.ntnu.no> |
4473 | 8713 |
8714 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&, const T&)): | |
8715 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&)): | |
8716 Initialize old_len before changing size. | |
8717 | |
4472 | 8718 2003-07-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
8719 | |
8720 * Makefile.in (install-lib): Use $(INSTALL), not | |
4473 | 8721 $(INSTALL_PROGRAM) for $(SHLLIB) files. |
4472 | 8722 |
4469 | 8723 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
8724 | |
8725 * lo-mappers.cc (xmin, xmax): Handle NaN in a Matlab-compatible | |
8726 way. Handle NA in an R-compatible way. | |
8727 | |
8728 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Also check for lo_ieee_is_NA. | |
8729 (lo_ieee_is_NA): Don't call isnan unless HAVE_ISNAN is defined. | |
8730 | |
8731 * lo-mappers.h (octave_is_NA (const Complex&)): Provide decl. | |
8732 (octave_is_NaN_or_NA (const Complex&)): Likewise. | |
8733 | |
8734 * dMatrix.cc (Matrix::row_min, Matrix::row_max, | |
8735 Matrix::column_min, Matrix::column_max): Ignore NaNs. | |
8736 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_max, | |
8737 ComplexMatrix::column_min, ComplexMatrix::column_max): Likewise. | |
8738 | |
4461 | 8739 2003-07-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
8740 | |
8741 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
8742 Pass true for resize_ok arg to freeze. | |
9967 | 8743 * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): |
4461 | 8744 Likewise. |
8745 | |
8746 * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; | |
8747 resize_ok arg is now bool. | |
8748 * idx-vector.h (idx_vector::freeze): Likewise. | |
8749 | |
8750 * Array-flags.cc, Array-flags.h (liboctave_wrore_flag): | |
8751 Rename from liboctave_rre_flag. Now bool. | |
8752 (liboctave_wfi_flag): Now bool. | |
8753 | |
8754 * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. | |
8755 | |
5095 | 8756 2003-07-11 Russell Standish <R.Standish@unsw.edu.au> |
4459 | 8757 |
8758 * Array.h (resize_fill_value): Now a top-level template function. | |
8759 Accept object as argument. Change all uses. | |
8760 | |
4455 | 8761 2003-07-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
8762 | |
8763 * Array-flags.cc, Array-flags.h (liboctave_pcv_flag): Delete. | |
8764 | |
8765 * Array2-idx.h (Array2<T>::index): Use liboctave_wfi_flag, not | |
8766 liboctave_dfi_flag. | |
8767 (assign): Likewise. For indexed assignments like X(I) = RHS with | |
8768 X undefined or empty, always create a row vector. | |
8769 | |
8770 * Array-flags.cc (liboctave_wfi_flag): Rename from liboctave_dfi_flag. | |
8771 * Array-flags.h (liboctave_wfi_flag): Ditto. | |
8772 | |
4437 | 8773 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
8774 | |
8775 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
8776 Magic colon indexing always produces an object with one column. | |
8777 | |
5095 | 8778 2003-06-21 Paul Kienzle <pkienzle@users.sf.net> |
4433 | 8779 |
8780 * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. | |
8781 | |
8782 * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. | |
8783 | |
4431 | 8784 2003-06-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
8785 | |
8786 * dMatrix.cc (any_element_is_negative): If new optional arg | |
8787 neg_zero is true, also return true for negative zero. | |
8788 | |
4429 | 8789 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
8790 | |
8791 * DASSL.cc (DASSL::do_integrate): Set liw to 21 + n, not 20 + n. | |
8792 Handle step limit. | |
8793 * DASSL-opts.in: New option for step limit. | |
8794 | |
5095 | 8795 2003-06-16 Per Persson <persquare@mac.com> |
4429 | 8796 |
8797 * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. | |
8798 | |
4428 | 8799 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
8800 | |
8801 * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. | |
8802 Store step limit in iwork(20), not iwork(18). | |
8803 | |
5095 | 8804 2003-05-16 Paul Kienzle <pkienzle@users.sf.net> |
4415 | 8805 |
8806 * oct-rand.cc: Use liboctave's clock layer instead of the system clock. | |
8807 | |
4412 | 8808 2003-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
8809 | |
4413 | 8810 * Makefile.in: Handle DESTDIR. |
8811 | |
4412 | 8812 * kpse.cc (kpse_path_iterator::next): Skip consecutive colons here. |
8813 (kpse_path_iterator::set_end): Don't miss last element when not | |
8814 followed by a colon. | |
8815 | |
4409 | 8816 2003-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
8817 | |
8818 * Array-idx.h (Array<T>::index): Fix off-by-one error. | |
8819 | |
8820 2003-05-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8821 | |
8822 * kpse.cc (kpse_absolute_p): Fix typo in translation. | |
8823 (find_first_of): Also do an absolute search on each | |
8824 name before looking in the path. | |
8825 | |
4407 | 8826 2003-05-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
8827 | |
8828 * kpse.cc (dir_list_add): Ensure that directory ends with a | |
8829 directory separator. | |
8830 | |
4399 | 8831 2003-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
8832 | |
8833 * pathsearch.cc: Include kpse.cc here. | |
8834 | |
8835 * kpse.cc: All functions are now static. Massive surgery to | |
8836 condense kpathsearch library to a single file of just the | |
8837 essentials for Octave and convert to using C++ strings (no more | |
8838 calls to malloc, very few calls to new, so there should be much | |
8839 less potential for introducing memory leaks now). | |
8840 | |
8841 * Makefile.in (EXTRAS): Move kpse.cc here from | |
8842 LIBOCT_PATHSEARCH_CXX_SOURCES. | |
8843 | |
8844 * kpse.h, kpse-config.h: Delete. | |
8845 * Makefile.in (INCLUDES): Delete them from the list. | |
8846 | |
4392 | 8847 2003-04-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
8848 | |
8849 * str-vec.cc (string_vector::append (const std::string&), | |
8850 string_vector::append (const string_vector&)): New methods. | |
8851 | |
4386 | 8852 2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
8853 | |
4389 | 8854 * kpse.cc, kpse.h: Replace fn_type with std::string. |
8855 | |
4387 | 8856 * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. |
8857 | |
4386 | 8858 * kpse.cc (xclosedir): Don't define or declare for Windows. |
8859 (READABLE): Now a static function to avoid warnings from MinGW | |
9967 | 8860 compiler. |
4386 | 8861 |
4384 | 8862 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
8863 | |
4385 | 8864 * kpse.cc: Move most functions from kpse-xfns.c here and make |
8865 static. Include most of kpse-xfns.h directly, removing | |
8866 unnecessary bits. | |
8867 | |
4384 | 8868 * dMatrix.cc (Matrix::pseudo_inverse): Now const. |
8869 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
8870 | |
4378 | 8871 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
8872 | |
8873 * getopt.c, getopt1.c, getopt.h: Move here from kpathsea. | |
8874 * Makefile.in: Add them to the appropriates lists. | |
8875 | |
8876 * oct-getopt.c: Include "getopt.h", not <kpathsea/getopt.h>. | |
8877 | |
8878 * Makefile.in (liboctave.$(LIBEXT), liboctave.$(SHLEXT)): Adjust | |
8879 for new locations of kpathsea objects. | |
8880 Delete kpathsea targets. | |
8881 | |
8882 * pathsearch.cc (dir_path::set_program_name): Delete. | |
8883 | |
8884 * kpse.cc: New file. | |
8885 * Makefile.in (LIBOCT_PATHSEARCH_CXX_SOURCES): Add it to the list. | |
8886 | |
8887 * kpse.c: New file. | |
8888 * Makefile.in (LIBOCT_PATHSEARCH_C_SOURCES): Add it to the list. | |
8889 | |
8890 * kpse.h, kpse-config.h, kpse-xfns.h: New files. | |
8891 * Makefile.in (INCLUDES): Add them to the list. | |
8892 | |
8893 * oct-kpse.h: Delete. | |
8894 * Makefile.in (INCLUDES): Delete it from the list. | |
8895 | |
4374 | 8896 2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
8897 | |
8898 * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. | |
8899 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): | |
8900 Likewise. | |
8901 From Quentin H. Spencer <qspencer@ieee.org>. | |
8902 | |
4365 | 8903 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
8904 | |
8905 * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h". | |
8906 | |
4349 | 8907 2003-02-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
8908 | |
4352 | 8909 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Handle systems with or |
8910 without placement delete. | |
8911 | |
4349 | 8912 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Don't lose -0 |
8913 imaginary parts. | |
8914 | |
8915 * lo-ieee.h (lo_ieee_signbit): New macro. | |
8916 | |
5095 | 8917 2003-02-18 David Bateman <dbateman@free.fr> |
4329 | 8918 |
8919 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
8920 Use Lapack instead of Linpack. | |
5315 | 8921 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
4329 | 8922 ComplexMatrix::solve): Likewise. |
8923 | |
8924 * dMatrix.cc (Matrix::determinant, Matrix::inverse): New arg, | |
8925 calc_cond. If 0, skip condition number calculation. | |
8926 * CMatrix.cc (ComplexMatrix::determinant, ComplexMatrix::inverse): | |
8927 Likewise. | |
8928 | |
8929 * CmplxLU.cc (ComplexLU::ComplexLU): Allow non-square matrices. | |
8930 * dbleLU.cc (LU::LU): Likewise. | |
8931 * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. | |
8932 | |
8933 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9967 | 8934 |
4329 | 8935 * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: |
8936 | |
4323 | 8937 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
8938 | |
8939 * Array2-idx.h (Array2<T>::index): Fix thinko. | |
8940 Additional compatibility fix. | |
8941 | |
8942 2003-02-13 Arno Klaassen <arno@scito.com> | |
9967 | 8943 |
8944 * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
4323 | 8945 ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: |
8946 Sprinkle with Array<T>:: as necessary for gcc 3.4. | |
9967 | 8947 |
4322 | 8948 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
8949 | |
8950 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
8951 Compatibility fix. | |
8952 | |
4316 | 8953 2003-02-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
8954 | |
8955 * CColVector.cc (ComplexColumnVector::extract_n): New function. | |
8956 * CRowVector.cc (ComplexRowVector::extract_n): Likewise. | |
8957 * CMatrix.cc (ComplexMatrix::extract_n): Likewise. | |
8958 * dColVector.cc (ColumnVector::extract_n): Likewise. | |
8959 * dRowVector.cc (RowVector::extract_n): Likewise. | |
8960 * dMatrix.cc (Matrix::extract_n): Likewise. | |
8961 | |
8962 * CColVector.cc (ComplexColumnVector::insert): Improve efficiency | |
8963 with make_unique and xelem. | |
8964 * CRowVector.cc (ComplexRowVector::insert): Likewise. | |
8965 * CMatrix.cc (ComplexMatrix::insert, ComplexMatrix::fill, | |
8966 ComplexMatrix::extract, ComplexMatrix::row, | |
8967 ComplexMatrix::column): Likewise. | |
8968 * dColVector.cc (ColumnVector::insert): Likewise. | |
8969 * dRowVector.cc (RowVector::insert): Likewise. | |
8970 * dMatrix.cc (Matrix::insert, Matrix::fill, Matrix::extract, | |
8971 Matrix::row, Matrix::column): Likewise. | |
8972 | |
4313 | 8973 2003-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
8974 | |
8975 * lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN. | |
8976 | |
4309 | 8977 2003-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
8978 | |
8979 * CMatrix.cc, dMatrix.cc: Move min and max functions here, from | |
8980 src/DLD-FUNCTIONS/minmax.cc, and make them extern. | |
8981 * CMatrix.h, dMatrix.h: Provide decls. | |
8982 | |
4307 | 8983 2003-01-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
8984 | |
8985 * oct-rand.h, oct-rand.cc: New files. | |
8986 * Makefile.in: Add them to the appropriate lists. | |
8987 | |
4306 | 8988 2003-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
8989 | |
8990 * Array2-idx.h (Array2<T>::index): Fix off-by-one error. | |
8991 | |
4299 | 8992 2003-01-16 Mumit Khan <khan@nanotech.wisc.edu> |
8993 | |
8994 * oct-syscalls.cc: Include signal.h. | |
8995 | |
4294 | 8996 2003-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
8997 | |
8998 * oct-syscalls.cc (octave_syscalls::kill): New function. | |
8999 * oct-syscalls.h: Provide decl. | |
9967 | 9000 |
4294 | 9001 |
4293 | 9002 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
9003 | |
9004 * dMatrix.cc (Matrix::read): Set size and return immediately if | |
9005 there is nothing to read. | |
9006 | |
4290 | 9007 2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
9008 | |
9009 * lo-cutils.c: Define _XOPEN_SOURCE. | |
9010 | |
4286 | 9011 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
9012 | |
4288 | 9013 * getopt.h: Update to version from kpathsearch, so we will install |
9014 the version that we are using. | |
9015 | |
9016 * getopt.c, getopt1.c: Delete. | |
9017 (INCLUDES): Delete them from the list. We'll get these files from | |
9018 kpathsearch. | |
9019 | |
4286 | 9020 * Makefile.in (liboctave.$(LIBEXT)): Link directly to |
9021 ../kpathsea/STATIC/*.o. | |
9022 (liboctave.$(SHLEXT)): Link directly to ../kpathsea/SHARED/*.o. | |
9023 | |
4270 | 9024 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
9025 | |
4282 | 9026 * dMatrix.cc (read_int, write_int): Avoid warnings about |
9027 unreachable code. | |
9028 | |
4279 | 9029 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete |
9030 to correspond to placement new operator. | |
9031 | |
4278 | 9032 * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. |
9033 (DET::value_will_underflow): Likewise. | |
9034 * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. | |
9035 (ComplexDET::value_will_underflow): Likewise. | |
9036 | |
4276 | 9037 * Makefile.in (distclean): Also remove stamp-prereq. |
9038 | |
4306 | 9039 * Array2-idx.h (Array2<T>::assign): If assignment conforms but the |
9040 RHS and index are empty matrices, don't do anything. | |
4270 | 9041 |
4242 | 9042 2002-12-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
9043 | |
9044 * pathsearch.cc (make_retval, free_c_array, make_c_names, | |
9045 delete_c_names): New helper functions. | |
9046 (dir_path::find_first_of): New function. | |
9047 (dir_path::find_all_first_of): Likewise. | |
9048 * pathsearch.h: Provide decls. | |
9049 | |
9050 * oct-kpse.c (octave_kpse_path_find_first_of): New function. | |
9051 (octave_kpse_all_path_find_first_of): Likewise. | |
9052 * oct-kpse.h: Provide decls. | |
9053 | |
4231 | 9054 2002-12-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
9055 | |
9056 * ODESSA.cc (ODESSA::integrate): Handle maxord. | |
9057 * ODESSA-opts.in: Likewise. | |
9058 | |
9059 * LSODE.cc (ODESSA::integrate): Handle maxord. | |
9060 * LSODE-opts.in: Likewise. | |
9061 | |
4229 | 9062 2002-12-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
9063 | |
4230 | 9064 * ODESSA.cc (ODESSA::ODESSA): Initialize "initialized" data member |
9065 in all constructors. | |
9066 | |
4229 | 9067 * Makefile.in (liboctave.$(SHLEXT)): Include $(LIBKPATHSEA) here. |
9068 (LINK_DEPS): Not here. | |
9069 | |
4219 | 9070 2002-12-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
9071 | |
4220 | 9072 * str-vec.cc (string_vector::compare): New static member function. |
9073 * str-vec.h: Provide decl. | |
9074 (string_vector::sort): Use it. | |
9075 (str_vec_compare): Delete static function. | |
9076 | |
4219 | 9077 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Also declare and define |
9078 a placement operator new. | |
9079 | |
4209 | 9080 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
9081 | |
4210 | 9082 * Matrix.h: Include mx-ops.h too. |
4209 | 9083 * mx-ops.h: New file. |
9084 | |
4192 | 9085 2002-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
9086 | |
9087 * DASRT.cc, DASRT.h, Array.cc, ArrayN.h, Array.h, Array2.cc, | |
9088 Array2.h, Array3.cc, Array3.h, Bounds.cc, Bounds.h, CRowVector.h, | |
9089 CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, CMatrix.h, | |
9090 CRowVector.cc, CColVector.h, ChangeLog, CmplxAEPBAL.cc, | |
9091 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
9092 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
9093 CmplxQR.h, CmplxQRP.cc, ArrayN.cc, CmplxQRP.h, CmplxSCHUR.cc, | |
9094 CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, dMatrix.cc, | |
9095 CollocWt.h, EIG.h, DASSL.cc, FEGrid.h, DASSL.h, DiagArray2.cc, | |
9096 DiagArray2.h, EIG.cc, FEGrid.cc, LSODE.cc, LPsolve.cc, LPsolve.h, | |
9097 LSODE.h, LinConst.cc, LinConst.h, MArray.h, MArray.cc, MArray2.cc, | |
9098 MArray2.h, MDiagArray2.cc, MDiagArray2.h, Range.cc, NLConst.h, | |
9099 NLEqn.cc, Range.h, NLEqn.h, Quad.cc, dbleQR.h, Quad.h, base-lu.cc, | |
9100 base-lu.h, boolMatrix.cc, boolMatrix.h, dColVector.cc, | |
9101 dColVector.h, dDiagMatrix.cc, dDiagMatrix.h, dMatrix.h, | |
9102 dRowVector.cc, dRowVector.h, dbleAEPBAL.cc, dbleAEPBAL.h, | |
9103 dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, dbleDET.h, dbleHESS.cc, | |
9104 dbleHESS.h, dbleLU.cc, dbleLU.h, dbleQR.cc, dbleQRP.cc, dbleQRP.h, | |
9105 dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, | |
9106 idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, | |
9107 ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: | |
9967 | 9108 Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of |
4192 | 9109 "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". |
9110 | |
4184 | 9111 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
9112 | |
9113 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_GLOBAL too. | |
9114 From Remy Bruno <remy.bruno@libertysurf.fr> | |
9115 | |
4180 | 9116 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
9117 | |
9118 * lo-specfun.cc: Use F77_FUNC instead of F77_XFCN for calls to | |
9119 fortran code that should run fast enough that it is not worth all | |
9120 the setup costs of F77_XFCN. | |
9121 | |
9122 * Quad.cc (user_function): Surround body of function with | |
9123 BEGIN_INTERRUPT_WITH_EXCEPTIONS, END_INTERRUPT_WITH_EXCEPTIONS. | |
9124 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Likewise. | |
9125 * NLEqn.cc (hybrd1_fcn, hybrj1_fcn): Likewise. | |
9126 * LSODE.cc (lsode_f, lsode_j): Likewise. | |
9127 * DASSL.cc (ddassl_f, ddassl_j): Likewise. | |
9128 * DASRT.cc (ddasrt_f, ddasrt_j, ddasrt_g): Likewise. | |
9129 * DASPK.cc (ddaspk_f, ddaspk_psol, ddaspk_j): Likewise. | |
9130 | |
4164 | 9131 2002-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
9132 | |
9133 * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead | |
9134 of ! defined (linux). | |
9135 | |
5095 | 9136 2002-11-09 Per Persson <persquare@mac.com> |
4162 | 9137 |
9138 * oct-shlib.cc (octave_dyld_shlib): New class. | |
9139 (make_shlib): Instantiate octave_dyld_shlib. | |
9140 | |
4152 | 9141 2002-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
9142 | |
4153 | 9143 * CMatrix.cc, dMatrix.cc: Sprinkle with OCTAVE_QUIT. |
9144 | |
4152 | 9145 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Abort on error. |
9146 | |
9147 * Array.h: Include <cstddef> here. | |
9148 | |
4142 | 9149 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
9150 | |
4144 | 9151 * DASPK.cc (DASPK::do_integrate): Resize rwork and iwork before |
9152 using them. Accept inequality contraint option of 0. Assign | |
9153 pabs_tol and prel_tol before calling DASPK. Don't redeclare | |
9154 abs_tol and rel_tol. | |
9155 | |
4143 | 9156 * cmd-edit.h (command_editor::filename_completion_desired): New |
9157 static function. | |
9158 (command_editor::do_filename_completion_desired): New virtual function. | |
9159 * oct-rl-edit.c (octave_rl_filename_completion_desired): New function. | |
9160 * oct-rl-edit.h: Provide decl. | |
9161 | |
4142 | 9162 * Array2.cc (Array2<T>::get_size): #define MALLOC_OVERHEAD to |
9163 avoid OS X linker bug. | |
9164 * ArrayN.cc (ArrayN<T>::get_size): Likewise. | |
9165 | |
4139 | 9166 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
9167 | |
4141 | 9168 * ODESFunc.h (ODESFunc::ODES_fsub, ODESFunc::ODES_bsub, |
9169 ODESFunc::ODES_jsub): Reorder args for consistency with other | |
9170 solvers. | |
9171 * ODESSA.cc: Fix all callers. | |
9172 | |
4139 | 9173 * mx-inlines.cc (MX_BASE_REDUCTION_OP): Also return scalar |
9174 MT_RESULT if nr == 1 && nc == 0 && dim == -1 (i.e., | |
9175 sum(zeros(1,0)) returns 0, not [](1x0)). | |
9176 | |
4136 | 9177 2002-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
9178 | |
9179 * Makefile.in (LINK_DEPS): Include $(FLIBS) here too. | |
9180 | |
4132 | 9181 2002-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
9182 | |
4133 | 9183 * DASRT.cc (DASRT::integrate): Fix computation of lrw |
9184 (ddasrt_f): Combine loops. | |
9185 | |
4132 | 9186 * NLEqn.cc (NLEqn::solve): Return current estimate of solution |
9187 instead of empty vector if user termninates iteration. | |
9188 | |
4130 | 9189 2002-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
9190 | |
9191 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
9192 octave_read_complex, octave_write_double, octave_write_complex): | |
9193 New functions. | |
9194 * CMatrix.cc (operator << (std::ostream&, const ComplexMatrix&)): | |
9195 Use octave_write_complex. | |
9196 (operator >> (std::istream&, const ComplexMatrix&)): | |
9197 Use octave_read_complex. | |
9198 * dMatrix.cc (operator << (std::ostream&, double)): | |
9199 Use octave_write_double. | |
9200 (operator >> (std::istream&, double)): Use octave_read_double. | |
9201 | |
4126 | 9202 2002-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
9203 | |
9204 * oct-kpse.c (octave_kpse_clear_dir_cache): Delete. | |
9205 * oct-kpse.h: Delete decl. | |
9206 * pathsearch.cc (dir_path::init): Delete unnecessary call to | |
9207 ::octave_kpse_clear_dir_cache. | |
9208 | |
4123 | 9209 2002-10-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
9210 | |
4124 | 9211 * lo-sstream.h: Undef HAVE_SSTREAM if using a version of g++ |
9212 earlier than 3.0. | |
9213 | |
4123 | 9214 * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. |
9215 (liboctave.$(SHLEXT)): Not here. | |
9216 | |
5095 | 9217 2002-10-17 Paul Kienzle <pkienzle@users.sf.net> |
4110 | 9218 |
9219 * oct-shlib.cc (octave_w32_shlib): New class to support Windows. | |
9220 | |
4108 | 9221 2002-10-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
9222 | |
9223 * Makefile.in (install-lib): Don't bother with versions for | |
9224 $(SHLBIN) files. | |
9225 | |
5095 | 9226 2002-10-16 Paul Kienzle <pkienzle@users.sf.net> |
4105 | 9227 |
9228 * Makefile.in (LIB_DEPS): Include $(LIBS). | |
9229 | |
4102 | 9230 2002-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
9231 | |
9232 * lo-cieee.c: Move everything but lo_ieee_init here. | |
9233 (lo_ieee_Inf_value, lo_ieee_NA_value, lo_ieee_NaN_value): | |
9234 New functions. | |
9235 | |
9236 * Makefile.in (install): No need to use cd to create links. | |
9237 (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. | |
9238 | |
5095 | 9239 2002-10-14 Paul Kienzle <pkienzle@users.sf.net> |
4102 | 9240 |
9241 * Makefile.in: Merge liboctave with liboct-readline and | |
9242 liboct-pathsearch. | |
9243 Use link dependencies for shared libs if INCLUDE_LINK_DEPS. | |
9244 (libraries): Depend on versioned library. | |
9245 (liboctave.$(SHLEXT), liboctave.$(SHLEXT_VER)): Reverse actions -- | |
9246 build unversioned library, symbolic link adds version info. | |
9247 (install, uninstall): Handle link and load forms of the library | |
9248 separately. | |
9249 | |
4101 | 9250 2002-10-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
9251 | |
9252 * oct-time.cc: Use OCTAVE_USE_WINDOWS_API instead of __WIN32__ and | |
9253 __CYGWIN__. | |
9254 | |
9255 * file-ops.cc (file_ops::dir_sep_char, file_ops::dir_sep_str, | |
9256 file_ops::dir_sep_chars): New static functions to replace | |
9257 OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS. | |
9258 | |
9259 * oct-env.cc (octave_env::do_set_program_name): | |
9260 Use file_ops::dir_sep_chars instead of OCTAVE_DIR_SEP_CHARS. | |
9261 (octave_env::do_base_pathname): Likewise. | |
9262 (octave_env::do_make_absolute): Likewise. | |
9263 | |
9264 * oct-env.cc (octave_env::do_make_absolute): | |
9265 Use file_ops::dir_sep_str instead of OCTAVE_DIR_SEP_STR. | |
9266 (octave_env::do_get_home_directory): Likewise. | |
9267 | |
9268 * file-ops.cc (is_dir_sep): Use dir_sep_chars instead of embedding | |
9269 that information here too. | |
9270 (tilde_find_suffix, isolate_tilde_prefix, tilde_expand_word): | |
9271 Use file_ops::dir_sep_char instead of OCTAVE_DIR_SEP_CHAR. | |
9272 | |
9273 * file-ops.h: Use OCTAVE_HAVE_WINDOWS_FILESYSTEM and | |
9274 OCTAVE_HAVE_POSIX_FILESYSTEM instead of __WIN32__ and __CYGWIN__. | |
9275 | |
4097 | 9276 2002-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
9277 | |
9278 * oct-env.h (octave_env::current_directory): Now mutable. | |
9279 (octave_env:do_getcwd): Now const. | |
9280 | |
9281 * file-ops.h, file-ops.cc (file_ops::is_dir_sep): New function. | |
9282 (OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS, | |
9283 OCTAVE_CURRENT_DIR_STR): New macros. | |
9284 * oct-env.cc (is_dir_sep): Delete. | |
9285 (octave_env::do_base_pathname): Look for OCTAVE_DIR_SEP_CHARS, not '/'. | |
9286 (octave_env::do_set_program_name): Likewise. | |
9287 (octave_env::do_polite_directory_format): Use file_ops::is_dir_sep | |
9288 instead of checking for '/'. | |
9289 (octave_env::pathname_backup): Likewise. | |
9290 (octave_env::do_absolute_pathname): Likewise. | |
9291 (octave_env::do_make_absolute): Likewise. | |
9292 If dot_path is empty, use getcwd to set current_dir. | |
9293 (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR | |
9294 instead of "/". | |
9295 | |
5095 | 9296 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 9297 |
9298 * lo-cutils.c: On non-Posix Windows systems, include winsock.h. | |
9299 | |
5095 | 9300 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 9301 |
9302 * oct-env.cc (octave_env::do_absolute_pathname): Recognize | |
9303 absolute path names under MinGW as well. | |
9304 | |
9305 2002-10-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9306 | |
9307 * oct-env.cc: Include <cctype> too. | |
9308 | |
4087 | 9309 2002-10-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
9310 | |
9311 * oct-env.cc (octave_env::do_absolute_pathname): Handle Windows | |
9312 filenames. | |
9313 (octave_env::do_make_absolute): Check for absolute name with | |
9314 do_absolute_path. | |
4088 | 9315 (octave_env::do_chdir): Likewise. |
9316 (is_dir_sep): New function. | |
4087 | 9317 |
5095 | 9318 2002-10-03 Paul Kienzle <pkienzle@users.sf.net> |
4085 | 9319 |
4086 | 9320 * oct-time.cc (octave_time::stamp): Better resolution for Windows |
9321 systems. | |
4085 | 9322 |
4083 | 9323 2002-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
9324 | |
9325 * dMatrix.cc (Matrix::read): Clean up error handling logic. | |
9326 | |
4080 | 9327 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
9328 | |
4081 | 9329 * file-ops.cc (file_ops::mkdir): Handle one-arg mkdir here. |
9330 | |
4080 | 9331 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
9332 | |
5095 | 9333 2002-09-27 Per Persson <persquare@mac.com> |
4076 | 9334 |
9335 * oct-group.cc (octave_group::octave_group): Dont' forget to set | |
9336 gr_gid too. | |
9337 | |
4072 | 9338 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
9339 | |
4074 | 9340 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
9341 lo_ieee_* functions. | |
4072 | 9342 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074 | 9343 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
9344 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. | |
4072 | 9345 * lo-cieee.c: New file. |
4074 | 9346 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072 | 9347 * lo-ieee.h: Now all extern "C". |
4074 | 9348 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
9349 lo-mappers.cc and rename from xisnan, xfinite, xisinf. | |
9350 | |
4072 | 9351 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
9352 Now extern. | |
9353 | |
4066 | 9354 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
9355 | |
9356 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
9357 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
9358 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
9359 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
9360 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
9361 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
9362 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
9363 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
9364 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
9365 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
9366 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
9367 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
9368 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
9369 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
9370 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
9371 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
9372 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
9373 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
9374 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
9375 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
9376 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
9377 oct-alloc.cc: | |
9378 If __GNUG__, use pragma interface/implementation. Allow this to | |
9379 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. | |
9380 | |
5095 | 9381 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
4064 | 9382 |
4066 | 9383 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
9384 system readlink function is not available. | |
9385 | |
4065 | 9386 * lo-mappers.cc (xerf, xerfc): Delete. |
9387 * lo-mappers.h (xerf, xerfc): Delete decls. | |
9388 | |
4064 | 9389 * lo-mappers.cc: Remove unused #define M_PI. |
9390 * lo-specfun.cc: Add #define M_PI if needed. | |
9391 | |
4062 | 9392 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
9393 | |
9394 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility | |
9395 that geteuid doesn't exist. | |
9396 | |
9397 * LP.h: Rename LP class to octave_LP. | |
9398 LPsolve.h: Change all uses. | |
9399 | |
9400 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove | |
9401 incorrect token-pasting op. | |
9402 | |
9403 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to | |
9404 define lstat. | |
9405 | |
4061 | 9406 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
9407 | |
9408 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
9409 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
9410 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
9411 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
9412 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
9413 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
9414 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
9415 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
9416 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
9417 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
9418 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
9419 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
9420 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
9421 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
9422 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
9423 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
9424 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
9425 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
9426 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
9427 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
9428 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
9429 oct-alloc.cc: | |
9430 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ | |
9431 to decide whether to use the interface/implementation pragmas. | |
9432 | |
4058 | 9433 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
9434 | |
9435 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. | |
9436 | |
4055 | 9437 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
9438 | |
9439 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use | |
9440 qualified names. | |
9441 | |
4051 | 9442 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
9443 | |
4054 | 9444 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
9445 ArrayN.cc: Add typename where needed. | |
4053 | 9446 |
4051 | 9447 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
9448 strstream classes directly. | |
9449 * DASRT.cc: Likewise. | |
9450 * DASSL.cc: Likewise. | |
9451 * LSODE.cc: Likewise. | |
9452 * ODESSA.cc: Likewise. | |
9453 | |
9454 * cmd-hist.cc: Don't include <strstream>. | |
9455 * oct-shlib.cc: Likewise. | |
9456 | |
9457 * lo-sstream.h: New file. | |
9458 | |
4049 | 9459 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
9460 | |
9461 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): | |
9462 New data members. | |
9463 (LSODE::sanity_checked): Delete unused data member. | |
9464 | |
9465 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, | |
9466 prel_tol, pinfo, piwork, prwork): New data members. | |
9467 * DASSL.h (DASSL): Likewise. | |
9468 | |
9469 * DASRT.h (DASRT::sanity_checked): Delete unused data member. | |
9470 | |
9471 * DASRT.cc (DASRT::integrate (double)): Better handling of | |
9472 initialization, changes in options, etc. | |
9473 * DASPK.cc (DASPK::do_integrate): Likewise. | |
9474 * DASSL.cc (DASSL::do_integrate): Likewise. | |
9475 * LSODE.cc (LSODE::do_integrate): Likewise. | |
9476 | |
4047 | 9477 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
9478 | |
4049 | 9479 * DAEFunc.h (DAEFunc::reset): New data member. |
9480 * DAERTFunc.h (DAERTFunc::reset): Likewise. | |
9481 | |
9482 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. | |
9483 (base_diff_eqn::clear_stop_time): Likewise. | |
9484 | |
4047 | 9485 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
9486 * DASPK.cc (DASPK::do_integrate (double)): Likewise. | |
9487 | |
5095 | 9488 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
4044 | 9489 |
9490 * DASPK-opts.in, DASPK.h: Move include to .in file. | |
9491 * DASRT-opts.in, DASRT.h: Likewise. | |
9967 | 9492 * DASSL-opts.in, DASSL.h: Likewise. |
4044 | 9493 * LSODE-opts.in, LSODE.h: Likewise. |
9494 * NLEqn-opts.in, NLEqn.h: Likewise. | |
9495 * ODESSA-opts.in, ODESSA.h: Likewise. | |
9496 | |
4038 | 9497 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
9498 | |
4042 | 9499 * LSODE.cc (LSODE::error_message): Also return current T on |
9500 failures when that makes sense. | |
4043 | 9501 * DASSL.cc (DASSL::error_message): Likewise. |
9502 * DASRT.cc (DASRT::error_message): Likewise. | |
9503 * DASPK.cc (DASPK::error_message): Likewise. | |
9504 * ODESSA.cc (ODESSA:error_message): Likewise. | |
4042 | 9505 |
4038 | 9506 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
9507 $(LIBKPATHSEA) here. | |
9508 | |
4025 | 9509 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
9510 | |
9511 * lo-ieee.cc (lo_ieee_is_NA): New function. | |
9512 (lo_ieee_is_NaN_or_NA): New function. | |
9513 (octave_NA): New global value. | |
9514 (octave_ieee_init): Initialize it. | |
9515 * lo-mappers.cc (octave_is_NA): New function. | |
9516 (octave_is_NaN_or_NA): New function. | |
9517 (xisnan): Return false if NaN looks like a missing value. | |
9518 (xisnan (const Complex&)): Use xisnan here. | |
9519 | |
4015 | 9520 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
9521 | |
4017 | 9522 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
9523 ComplexMatrix::cumprod, ComplexMatrix::cumsum, | |
9524 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): | |
9525 Default value for dim is -1, not 0. | |
9526 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, | |
9527 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. | |
9528 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. | |
9529 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. | |
9530 | |
4015 | 9531 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
9532 New macros. | |
9533 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and | |
9534 MX_BASE_REDUCTION_OP. | |
9535 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. | |
9536 | |
4014 | 9537 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
9538 | |
4015 | 9539 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
9540 Return boolMatrix, not Matrix. | |
9541 | |
9542 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. | |
9543 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. | |
9544 (Matrix::all): Replace guts with MX_ALL_OP. | |
9545 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. | |
9546 (ComplexMatrix::all): Replace guts with MX_ALL_OP. | |
9547 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. | |
9548 (boolMatrix::all): Replace guts with MX_ALL_OP. | |
9549 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. | |
9550 (charMatrix::all): Replace guts with MX_ALL_OP. | |
9551 | |
9552 * dMatrix.h (Matrix::any): New arg, dim. | |
9553 (Matrix::all): Likewise. | |
9554 * CMatrix.h (ComplexMatrix::any): Likewise. | |
9555 (ComplexMatrix::all): Likewise. | |
9556 * boolMatrix.h (boolMatrix::any): Likewise. | |
9557 (boolMatrix::all): Likewise. | |
9558 * chMatrix.h (charMatrix::any): Likewise. | |
9559 (charMatrix::all): Likewise. | |
9560 | |
4014 | 9561 * Makefile.in: Use $@-t instead of $@.t. |
9562 | |
4004 | 9563 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
9564 | |
9565 * lo-specfun.cc (gammainc): New arg, err, for scalar version. | |
9566 Use it in matrix versions to avoid spewing multiple errors. | |
9567 Call xgammainc instead of dgamit. | |
9568 | |
3998 | 9569 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
9570 | |
9967 | 9571 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): |
3998 | 9572 Get rows and columns right in loop. |
9573 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. | |
9574 | |
9575 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9576 | |
9577 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. | |
9578 * DASRT.cc (DASRT::integrate): Likewise. | |
9579 * DASSL.cc (DASSL::do_integrate): Likewise. | |
9580 | |
9581 * Quad.cc: Don't pass tolerances in constructors. | |
9582 | |
9583 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, | |
9584 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. | |
9585 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, | |
9586 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically | |
9587 from corresponding .in files. | |
9588 * LSODE.h, Quad.h: Replace options class definitions with included | |
9589 file. | |
9590 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to | |
9967 | 9591 create OPTS_INC files from OPTS_INC_SRC files. |
3998 | 9592 (stamp-prereq): New target. |
9593 (libraries): Depend on stamp-prereq. | |
9594 Include stamp-prereq along with $(MAKEDEPS). | |
9595 | |
3997 | 9596 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
9597 | |
9598 * base-de.h (base_diff_eqn::istate): New data member. | |
9599 (base_diff_eqn::integration_state): New member function. | |
9600 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding | |
9601 data members and functions. | |
9602 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. | |
9603 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. | |
9604 | |
3990 | 9605 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
9606 | |
3995 | 9607 * base-de.h (base_diff_eqn::stop_time, |
9608 base_diff_eqn::stop_time_set, base_diff_eqn::restart, | |
9609 base_diff_eqn::integration_error): New data members. | |
9610 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, | |
9611 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, | |
9612 base_diff_eqn::error_message): New member functions. | |
9613 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, | |
9614 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data | |
9615 members and functions. | |
9616 | |
3992 | 9617 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
9618 * DASRT.cc (DASRT::DASRT): Set ng here. | |
3993 | 9619 (DASRT::integrate): Don't forget to set nn. |
3992 | 9620 |
3991 | 9621 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
9622 * DASSL.cc (ddassl_j): Make it work. | |
9623 * DASPK.cc (ddaspk_j): Likewise. | |
9624 | |
3990 | 9625 * DAE.cc: Delete. |
9626 | |
9627 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE | |
9628 solving with root finding. | |
9629 * Makefile.in: Add them to the appropriate lists. | |
9630 | |
9631 * base-dae.h: New file. | |
9632 * Makefile.in (INCLUDES): Add it to the list. | |
9633 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. | |
9634 | |
3984 | 9635 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
9636 | |
9637 * ODE.h: Move integrate and do_integrate method declarations and | |
9638 definitions here. | |
9639 * base-de.h: From here. | |
9640 | |
9641 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. | |
9642 * Makefile.in: Add them to the appropriate lists. | |
9967 | 9643 (LIBOCTAVE_CXX_SOURCES): |
3984 | 9644 |
3971 | 9645 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
9646 | |
9647 * NLEqn.cc (NLEqn::error_message): New function. | |
9648 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. | |
9649 | |
3970 | 9650 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
9651 | |
9652 * lo-utils.cc (octave_fgetl): New function. | |
9653 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. | |
9654 | |
3959 | 9655 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
9656 | |
9657 * LSODE.cc (LSODE::error_message): New function. | |
9658 * LSODE.h: Provide decl. | |
9659 (LSODE::integration_state): New function. | |
9660 (LSODE::integration_ok): New function. | |
9661 | |
3952 | 9662 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
9663 | |
3955 | 9664 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
9665 (LSODE_options::set_integration_method, | |
9666 LSODE_options::integration_method): New functions. | |
3954 | 9667 |
3952 | 9668 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
9669 Change all uses. | |
9670 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. | |
9671 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): | |
9672 New function. | |
9673 | |
9674 * Array.h (Array::fortran_vec): New const version. | |
9675 | |
3951 | 9676 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
9677 | |
9678 * cmd-edit.cc (gnu_readline::history_search_backward): New function. | |
9679 (gnu_readline::history_search_forward): Likewise. | |
9680 (gnu_readline::gnu_readline): Use them instead of passing pointers | |
9681 to extern "C" functions to octave_rl_ad_defun. | |
9682 | |
5095 | 9683 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
3946 | 9684 |
9685 * DASPK.cc (ddaspk_psol): Return value. | |
9686 * oct-rl-edit.c: Use /* ... */ to comment. | |
9687 | |
3945 | 9688 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
9689 | |
9690 * DASSL.h (DASSL_options::init): Undo previous change. | |
9691 (DASSL_options::set_absolute_tolerance): Likewise. | |
9692 * LSODE.h (LSODE_options::init): Likewise. | |
9693 (LSODE_options::set_absolute_tolerance): Likewise. | |
9694 | |
9695 * DASPK.h (DASPK_options::init): Use default absolute tolerance of | |
9696 sqrt(eps), not eps^2. | |
9697 DASPK_options::set_absolute_tolerance): Likewise. | |
9698 | |
5095 | 9699 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
3944 | 9700 |
9701 * Array.h (Array<T>::resize_fill_value): Return default initialized | |
9702 object. | |
9703 | |
3933 | 9704 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
9705 | |
9706 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. | |
9707 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. | |
9708 (octave_rl_set_basic_word_break_characters, | |
9709 octave_rl_set_completer_word_break_characters): New functions. | |
9710 * oct-rl-edit.h: Provide decls. | |
9711 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, | |
9712 gnu_readline::do_set_completer_word_break_characters): New functions. | |
9713 (command_editor::set_basic_quote_characters, | |
9714 command_editor::set_completion_append_character): New static functions. | |
9715 * cmd-edit.h: Provide decls. | |
9716 (command_editor::do_set_basic_word_break_characters, | |
9717 command_editor::do_set_completer_word_break_characters): | |
9718 New virtual functions. | |
9719 | |
9720 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h | |
9721 (resize_fill_value): New static function. | |
9722 | |
9723 * Array-idx.h (Array<T>::index): New args, resize_ok and | |
9724 resize_fill_value. | |
9725 * Array2-idx.h (Array2<T>::index): Likewise. | |
9726 * ArrayN-idx.h (ArrayN<T>::index): Likewise. | |
9727 | |
9728 * Array2.cc (Array<T>::print_info): New function. | |
9729 * Array2.h: Provide decl. | |
9730 | |
9731 * Array.cc (Array<T>::print_info): New function. | |
9732 * Array.h: Provide decl. | |
9733 | |
3928 | 9734 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
9735 | |
9736 * idx-vector.h (idx_vector::idx_vector (int)): New function. | |
9737 (idx_vector_rep::idx_vector_rep (int)): New decl. | |
9738 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. | |
9739 | |
9740 * Array.h (Array<T>::resize_fill_value (void)): New static function. | |
9741 (assign (Array<LT>&, const Array<RT>&)): Use it. | |
9742 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. | |
9743 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. | |
9744 | |
9967 | 9745 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
3928 | 9746 |
9747 * Array3.h (Array3<T>::checkelem): Improve error message. | |
9748 * ArrayN.h (ArrayN<T>::range_error): Likewise. | |
9749 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. | |
9750 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. | |
9751 | |
3919 | 9752 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
9753 | |
9754 * DASSL.h (DASSL_options::init): Undo previous change. | |
9755 (DASSL_options::set_absolute_tolerance): Likewise. | |
9756 | |
3912 | 9757 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
9758 | |
9759 * DASPK.h, DASPK.cc: New files. | |
9760 * Makefile.in: Add them to the appropriate lists. | |
9761 | |
3904 | 9762 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
9763 | |
9764 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): | |
9765 Simplify indexing when one or both of the indices are empty. | |
9766 | |
3896 | 9767 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
9768 | |
9769 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. | |
9770 (DASSL_options::set_absolute_tolerance): Likewise. | |
9771 * LSODE.h (LSODE_options::init): Likewise. | |
9772 (LSODE_options::set_absolute_tolerance): Likewise. | |
9773 | |
5095 | 9774 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
3887 | 9775 |
9776 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. | |
9777 * file-stat.cc (file_stat::update_internal, file_stat::copy): | |
9778 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. | |
9779 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. | |
9780 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. | |
9781 * file-stat.h: Likewise. | |
9782 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, | |
9783 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE | |
9784 instead of HAVE_STRUCT_TM_TM_ZONE. | |
9785 * strftime.c: Likewise. | |
9786 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, | |
9787 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, | |
9788 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, | |
9789 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, | |
9790 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
9791 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
9792 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. | |
9793 | |
5095 | 9794 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
3883 | 9795 |
9967 | 9796 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition |
3883 | 9797 internally when the user requests it. |
9798 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
9799 * dbleQR.cc (QR::init): Ditto. | |
9800 * dbleQRP.cc (QRP::init): Ditto. | |
9801 | |
3874 | 9802 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
9803 | |
9804 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a | |
9805 definition for NULL by passing 0 as the last arg to fftwnd_one. | |
9806 (octave_fftw::ifft2d): Likewise. | |
9807 | |
5095 | 9808 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
3873 | 9809 |
9810 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). | |
9811 | |
3867 | 9812 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
9813 | |
9814 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. | |
9815 (LS_DO_WRITE): Likewise. | |
9967 | 9816 |
3864 | 9817 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
9818 | |
9819 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. | |
9820 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. | |
9821 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. | |
9822 | |
9823 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, | |
9824 MX_REDUCTION_OP_ROW_EXPR): New macros. | |
9825 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. | |
9826 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. | |
9827 | |
9828 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. | |
9829 DIM == -1 now means no orientation for vector sums. | |
9830 * dMatrix.cc (ComplexMatrix::sumsq): Use it. | |
9831 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. | |
9832 | |
3858 | 9833 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
9834 | |
9835 * Range.cc (Range::nelem_internal): Special case ranges that must | |
9836 have zero elements. | |
9837 | |
3854 | 9838 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
9839 | |
3857 | 9840 * Makefile.in: Split out readline and pathsearch functionality |
9841 into separate liboct-readline and liboct-pathsearch libraries. | |
9842 | |
3854 | 9843 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857 | 9844 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
9845 to do nothing for this call to rl_clear_screen. | |
3854 | 9846 |
3849 | 9847 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
9848 | |
9849 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied | |
9850 function. | |
9851 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. | |
9852 | |
3838 | 9853 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
9854 | |
9855 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, | |
9856 Matrix::inverse): Handle the case of rcond being a NaN the same as | |
9857 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. | |
9858 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, | |
9859 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. | |
9860 | |
3836 | 9861 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
9862 | |
9863 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. | |
9864 | |
9865 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, | |
9866 Array-b.cc: Instantiate three arg assign functions. | |
9867 | |
9868 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): | |
9869 New arg, resize_fill_value. | |
9870 * ArrayN.h: Provide declaration. | |
9871 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling | |
9872 three arg version. | |
9873 | |
9874 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): | |
9875 New arg, resize_fill_value. | |
9876 * Array3.h: Provide declaration. | |
9877 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling | |
9878 three arg version. | |
9879 | |
9880 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
9881 New arg, resize_fill_value. | |
9882 * Array2.h: Provide declaration. | |
9883 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling | |
9884 three arg version. | |
9885 | |
9886 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
9887 New arg, resize_fill_value. | |
9888 * Array.h: Provide declaration. | |
9889 (assign (Array<LT>&, const Array<RT>&): Define here by calling | |
9890 three arg version. | |
9891 | |
3833 | 9892 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
9893 | |
9894 * pathsearch.cc (dir_path::set_program_name): Set the environment | |
9895 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS | |
9896 to the empty string. | |
9897 | |
3832 | 9898 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
9899 | |
9900 * Array2.h (Array2<T>::operator = (const Array2<T>&)): | |
9901 Don't check for rep != a.rep. | |
9902 | |
3827 | 9903 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
9904 | |
9905 * oct-fftw.h, oct-fftw.cc: New files. | |
9906 * Makefile.in (INCLUDES, SOURCES): Add new files. | |
9967 | 9907 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, |
3827 | 9908 ifourier2d}): Use fftw if available. |
9967 | 9909 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): |
3827 | 9910 Likewise. |
9911 | |
3821 | 9912 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
9913 | |
9914 * Makefile.in (install-lib): Don't use mk-libdir-link. | |
9915 (install-inc): Don't use mk-includedir-link. | |
9916 | |
3803 | 9917 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
9918 | |
9919 * lo-cutils.c (octave_gethostname): New function. | |
9920 * lo-utils.h: Provide declaration. | |
9921 * oct-env.cc (octave_env::do_get_host_name): | |
9922 Call octave_gethostname, instead of gethostname. | |
9923 | |
9924 * lo-cutils.c (gethostname): Define here. | |
9925 * lo-sysdep.cc: Not here. | |
9926 | |
3786 | 9927 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
9928 | |
9929 * lo-cutils.c: Don't declare strptime. | |
9930 (oct_strptime): Cast return type of strptime to char*. | |
9931 | |
3777 | 9932 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
9933 | |
3779 | 9934 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
9935 (octave_rl_set_name): call rl_re_read_init_file with two args. | |
9936 (octave_rl_read_init_file): Ditto. | |
9937 (octave_rl_clear_undo_list): Call rl_free_undo_list, not | |
9938 free_undo_list. | |
9939 (octave_rl_completion_matches): Call rl_completion_matches, not | |
9940 completion_matches. | |
9941 (octave_rl_enable_paren_matching): New function. | |
9942 (octave_rl_set_blink_matching_paren_flag): Delete. | |
9943 (octave_rl_get_blink_matching_paren_flag): Delete. | |
9944 | |
3777 | 9945 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
9967 | 9946 tanh (const Complex&)): Declare and define if not |
3777 | 9947 CXX_ISO_COMPLIANT_LIBRARY. |
9948 | |
3776 | 9949 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
9950 | |
9951 * lo-mappers.h (tanh (const Complex&)): Only declare if not | |
9952 CXX_ISO_COMPLIANT_LIBRARY. | |
9953 | |
3775 | 9954 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
9955 | |
3776 | 9956 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
9957 CXX_ISO_COMPLIANT_LIBRARY. | |
9958 | |
3775 | 9959 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
9960 archive libraries containing templates. | |
9961 | |
9962 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, | |
9967 | 9963 get_zero_len_size, all_colon_equiv): Inline. |
3775 | 9964 (ArrayN<T>::index): Rename idx to arr_idx. |
9967 | 9965 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, |
3775 | 9966 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, |
9967 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. | |
9968 | |
9969 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9970 | |
9971 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), | |
9972 log10 (const Complex&)): Delete. | |
9973 | |
9974 * oct-cmplx.h: Define forwarding functions for real, imag, abs, | |
9975 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, | |
9976 sinh, sqrt, tan, and tanh. | |
9977 | |
3769 | 9978 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
9979 | |
9980 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: | |
9981 Add std:: namespace qualifier as needed. | |
9982 | |
9983 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. | |
9984 Change all uses to match. | |
9985 | |
3767 | 9986 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
9987 | |
9988 * lo-cutils.c: Don't delcare strptime. | |
9989 | |
3760 | 9990 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
9991 | |
9992 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): | |
9993 Return correct size result for empty matrix case. | |
9994 | |
3757 | 9995 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
9996 | |
9997 * lo-mappers.cc (xmin (const Complex&, const Complex& y): | |
9998 If args are equal in magnitude, return first arg instead of | |
9999 second. | |
10000 | |
3752 | 10001 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
10002 | |
3755 | 10003 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
10004 then try harder to compute correct number of elements. | |
3753 | 10005 |
3752 | 10006 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
10007 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. | |
10008 | |
3750 | 10009 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
10010 | |
3751 | 10011 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
10012 Rename n_intervals to be n_elt. | |
10013 | |
3750 | 10014 * strptime.c: Surround everything after including config.h in |
10015 #ifndef HAVE_STRPTIME ... #endif. | |
10016 | |
3742 | 10017 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
10018 | |
10019 * Array-idx.h (assign): When resizing, cast fill value to LT. | |
10020 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. | |
10021 | |
3741 | 10022 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
10023 | |
10024 * MArray-defs.h: Protect against multiple inclusion. | |
10025 | |
3739 | 10026 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
10027 | |
10028 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the | |
10029 end of the list, to be compatible with previous versions of Octave. | |
10030 | |
3736 | 10031 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
10032 | |
10033 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, | |
10034 since mktime is supposed to `normalize' the results for us. | |
10035 | |
3731 | 10036 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
10037 | |
10038 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices | |
3732 | 10039 and vectors. Use xelem for faster access to elements when copying. |
3731 | 10040 |
3726 | 10041 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
10042 | |
10043 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): | |
10044 Correct indexing for operation across rows. | |
10045 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. | |
10046 | |
3725 | 10047 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
10048 | |
10049 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying | |
10050 elements if arg is a colon. | |
10051 | |
5095 | 10052 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
3723 | 10053 |
3795 | 10054 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723 | 10055 (Matrix::cumsum (int) const): Likewise. |
10056 (Matrix::prod (int) const): Likewise. | |
10057 (Matrix::sum (int) const): Likewise. | |
10058 (Matrix::sumsq (int) const): Likewise. | |
10059 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. | |
10060 (ComplexMatrix::cumsum (int) const): Likewise. | |
10061 (ComplexMatrix::prod (int) const): Likewise. | |
10062 (ComplexMatrix::sum (int) const): Likewise. | |
10063 (ComplexMatrix::sumsq (int) const): Likewise. | |
10064 | |
3722 | 10065 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
10066 | |
10067 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set | |
10068 size if Array<T>::index returns an empty array. | |
10069 | |
3710 | 10070 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
10071 | |
10072 * file-ops.cc (file_ops::link, file_ops::symlink, | |
10073 file_ops::readlink): New functions. | |
10074 | |
3709 | 10075 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
10076 | |
10077 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is | |
10078 indexed, always return an object the same size as the index arg. | |
10079 | |
10080 * oct-time.cc (octave_base_tm::strftime): Return empty string for | |
10081 empty format. | |
10082 | |
3706 | 10083 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
10084 | |
10085 * lo-cutils.c (oct_strptime): New function. | |
10086 * oct-time.cc (octave_strptime::init): Call it instead of strptime. | |
10087 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. | |
10088 | |
3702 | 10089 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
10090 | |
3703 | 10091 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
10092 | |
3702 | 10093 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
10094 | |
3689 | 10095 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
10096 | |
10097 * dMatrix.h (read_int): Provide declaration. | |
10098 | |
3688 | 10099 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
10100 | |
10101 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. | |
10102 (write_doubles): Ditto. | |
10103 * data-conv.h: Ditto. | |
10104 (enum save_type): New values, LS_U_LONG and LS_LONG. | |
10105 | |
3685 | 10106 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
10107 | |
10108 * boolMatrix.h: Declare MM_CMP_OPS here. | |
10109 * boolMatrix.cc: Define them here. | |
10110 | |
3680 | 10111 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
10112 | |
10113 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is | |
10114 previously undefined and set size of x to size of bool index. | |
10115 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): | |
10116 Allow z_len to be zero. | |
10117 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. | |
10118 If frozen, don't assert that frozen_at_z_len == z_len. | |
10119 | |
3670 | 10120 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
10121 | |
10122 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen | |
10123 instead of rl_clear_screen. | |
10124 | |
3665 | 10125 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
10126 | |
10127 * Array-d.cc: Instantiate ArrayN<double> here too. | |
10128 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. | |
10129 * Makefile.in: Add them to the appropriate lists. | |
10130 | |
3657 | 10131 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
10132 | |
10133 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. | |
10134 | |
3635 | 10135 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
10136 | |
10137 * lo-sysdep.h: octave_chdir returns int, not bool. | |
10138 | |
3615 | 10139 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
10140 | |
10141 * Makefile.in (liboctave.$(SHLEXT)): Delete target | |
10142 before rebuilding. | |
10143 | |
5095 | 10144 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
3615 | 10145 |
5261 | 10146 * Makefile.in (liboctave.$(LIBEXT)): New target. |
3615 | 10147 (libraries): Depend only on library targets, not archive members. |
10148 | |
3613 | 10149 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
10150 | |
10151 * Makefile.in: (objects): New target. | |
10152 | |
10153 * lo-cutils.c: New file. | |
10154 * Makefile.in (SOURCES): Add it to the list. | |
10155 * lo-utils.h: Declare octave_qsort here. | |
10156 * Array.h (Array::qsort): Use it here. | |
10157 | |
3607 | 10158 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
10159 | |
10160 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. | |
10161 | |
3598 | 10162 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
10163 | |
10164 * oct-rl-hist.c (octave_history_list): Do something when not | |
10165 printing line numbers. Fix reallocation of retval. | |
10166 | |
3597 | 10167 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
10168 | |
10169 * Makefile.in (install-inc): Install files in | |
10170 $(octincludedir)/octave. | |
10171 (uninstall): Remove them from the correct directory too. | |
10172 | |
10173 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if | |
10174 they are not already defined. | |
10175 | |
3588 | 10176 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
10177 | |
10178 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: | |
10179 Delete declarations and definitions of mixed-type vector-vector ops. | |
10180 | |
3585 | 10181 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
10182 | |
10183 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS | |
10184 matrix and vector objects. | |
10185 | |
10186 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to | |
10187 return type from second arg type. | |
10188 (MDM_BIN_OP): Likewise, for first arg type. | |
10189 | |
10190 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
10191 Matrix::fourier2d, Matrix::ifourier2d): Likewise. | |
10192 | |
10193 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly | |
10194 request ColumnVector to ComplexColumnVector, and Matrix to | |
10195 ComplexMatrix conversions. | |
10196 | |
10197 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its | |
10198 initial value using ComplexMatrix constructor. | |
10199 | |
10200 * CColVector.cc (product, quotient, | |
10201 operator * (const DiagMatrix&, const ComplexColumnVetor&)): | |
10202 Fix type of returned value. | |
10203 * CDiagMatrix.cc (ComplexDiagMatrix::row, | |
10204 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. | |
10205 | |
10206 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, | |
10207 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, | |
10208 dRowVector.h: Declare some constructors explicit, to disallow | |
10209 potentially problematic automatic type conversions. | |
10210 | |
3580 | 10211 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
10212 | |
3582 | 10213 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
10214 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: | |
10215 More new files. | |
10216 * Makefile.in: Add them to the appropriate lists. | |
10217 | |
10218 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, | |
10219 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, | |
10220 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, | |
10221 vx-s-crv.cc:, New files. | |
10222 * Makefile.in: Add them to the appropriate lists. | |
10223 | |
10224 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: | |
10225 Delete scalar by vector and vector by scalar binary ops. | |
10226 | |
3580 | 10227 * MArray-defs.h: More new macros to handle MDiagArray operators. |
10228 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. | |
10229 | |
3573 | 10230 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
10231 | |
3578 | 10232 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
10233 rl_event_hook before casting to void **. | |
10234 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. | |
10235 | |
3574 | 10236 * MArray-defs.h: Many new macros to make declaration and |
10237 definition of operators more consistent. | |
9967 | 10238 |
3574 | 10239 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, |
10240 CRowVector.h, dMatrix.h, CMatrix.h: Use them. | |
3573 | 10241 |
3569 | 10242 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
10243 | |
3572 | 10244 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
10245 (Matrix::ifourier2d): Likewise. | |
10246 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. | |
10247 (ComplexMatrix::ifourier2d): Likewise. | |
10248 | |
3569 | 10249 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
10250 | |
3504 | 10251 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
10252 | |
3519 | 10253 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
10254 readline library. | |
10255 * Makefile.in: Add them to the appropriate lists. | |
10256 | |
10257 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU | |
10258 readline history library. | |
10259 * Makefile.in: Add them to the appropriate lists. | |
10260 | |
3517 | 10261 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
10262 (LS_DO_READ): Likewise, for istream::read. | |
3518 | 10263 (write_doubles): Likewise. |
10264 (read_doubles): Likewise. | |
3517 | 10265 |
3516 | 10266 * oct-env.cc (octave_env::do_polite_directory_format): |
10267 Use operator== and substr method to do limited-length string | |
10268 comparison. | |
10269 | |
3513 | 10270 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512 | 10271 |
3511 | 10272 * Quad.h: Use do_integrate as name of pure virtual function. |
10273 | |
3508 | 10274 * base-de.h: Use tt instead of t as arg names. |
3511 | 10275 Add method with tcrit arg. |
10276 | |
3509 | 10277 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508 | 10278 |
3507 | 10279 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
10280 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. | |
10281 * Quad.cc (quad_fcn_ptr): Ditto. | |
10282 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. | |
10283 | |
3505 | 10284 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519 | 10285 * Makefile.in: Add them to the appropriate lists. |
3505 | 10286 |
10287 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. | |
3519 | 10288 * Makefile.in: Add them to the appropriate lists. |
3505 | 10289 |
3504 | 10290 * dMatrix.cc (write_int, read_int): No longer declared static. |
10291 | |
10292 * CDiagMatrix.h: Delete decls for friend operators that are | |
10293 handled by MDiagArray2 class. Move others outside class decl and | |
10294 strip friend status. | |
10295 * dDiagMatrix.h: Likewise. | |
10296 | |
10297 * MArray.h: Delete decls for friend operators inside class decl. | |
10298 * MArray2.h: Ditto. | |
10299 * MDiagArray2.h: Ditto. | |
10300 | |
10301 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all | |
10302 necessary parameters. Don't allocate memory in the macro. Change | |
10303 all uses. | |
10304 | |
10305 * dMatrix.h (class Matrix): Delete `friend class' decls. | |
10306 * CMatrix.h (class ComplexMatrix): Ditto. | |
10307 | |
10308 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, | |
10309 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, | |
10310 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to | |
10311 avoid type conflicts. Change all uses. | |
10312 | |
10313 * strptime.c (__mon_yday): Fix size of array decl. | |
10314 | |
10315 * mx-inlines.cc: Use `xnot' instead of `not' for function name. | |
10316 | |
10317 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous | |
10318 default value for second arg. | |
10319 | |
10320 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to | |
10321 references to ArrayRep. | |
10322 | |
3503 | 10323 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
10324 | |
3504 | 10325 * Array.h (Array::ArrayRep): Now protected, not private. |
3503 | 10326 |
10327 * All source files: Include iostream, fstream, strstream, | |
10328 etc. as needed instead of using forward declarations for these | |
3504 | 10329 classes. Add std:: qualifier as needed. |
3503 | 10330 |
3498 | 10331 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
10332 | |
10333 * oct-time.cc: Declare strptime extern "C". | |
10334 | |
3496 | 10335 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
10336 | |
10337 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. | |
10338 | |
3488 | 10339 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
10340 | |
3492 | 10341 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
10342 * Array3.h, Array3.cc: Use it in constructors and resize methods | |
10343 to get total size to be allocated. | |
10344 | |
3488 | 10345 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
10346 as bool, not int. | |
10347 | |
3482 | 10348 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
10349 | |
9967 | 10350 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): |
3482 | 10351 Allow A(idx) = RHS if idx is a boolean index with the same shape |
10352 as A, even when do_fortran_indexing is not enabled. | |
10353 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). | |
10354 | |
3473 | 10355 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
10356 | |
3480 | 10357 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
10358 function pointer as final arg. Passed function (if any) will be | |
10359 called for singularity errors. | |
10360 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. | |
10361 | |
10362 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. | |
10363 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
10364 | |
3475 | 10365 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
10366 No longer bother with infinity or quiet_nan. | |
10367 | |
3473 | 10368 * Array2.cc (Array2<T>::get_size): New function. |
10369 (Array2<T>::Array2, Array2<T>::resize): Use it. | |
10370 | |
3472 | 10371 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
10372 | |
10373 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): | |
10374 New function. | |
10375 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
10376 Use it when indexing with one arg instead of faking a second one. | |
10377 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): | |
10378 Return empty matrices with the correct dimensions for A(:,:) = [] | |
10379 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all | |
10380 rows or columns. | |
10381 | |
10382 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool | |
10383 vector that is all true values with a length equal to n as colon | |
10384 equivalent. | |
10385 | |
3470 | 10386 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
10387 | |
10388 * strptime.c: Only include langinfo.h if _LIBC is defined. | |
10389 | |
5095 | 10390 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468 | 10391 |
10392 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling | |
10393 operations directly in step 2 and reverse step 2. | |
10394 * dMatrix.cc (Matrix::expm): Apply permutation and scaling | |
10395 operations directly in step 2 and reverse step 2. | |
10396 | |
3465 | 10397 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
10398 | |
10399 * oct-time.h, oct-time.cc (octave_strptime): New class. | |
10400 | |
10401 * strptime.c: New file, from glibc 2.1.2. | |
10402 * Makefile.in (SOURCES): Add strptime.c to the list. | |
10403 | |
3419 | 10404 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
10405 | |
10406 * MArray.h (MArray <const Array<T>&)): New constructor. | |
10407 | |
3415 | 10408 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
10409 | |
10410 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing | |
10411 NULL directory list returned from kpse_element_dirs | |
10412 | |
3375 | 10413 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
10414 | |
10415 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. | |
10416 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF | |
10417 directly, instead of calling ZGESV. | |
10418 | |
3358 | 10419 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
10420 | |
10421 * data-conv.cc (init_sized_type_lookup_table): New function. | |
10422 (string_to_data_type): Use it to improve lookup of data types. | |
10423 | |
3354 | 10424 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
10425 | |
10426 * dMatrix.cc (is_symmetric): Move here from Array2.cc. | |
10427 * Array2.h (is_symmetric): Delete declaration. | |
10428 | |
3347 | 10429 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
10430 | |
10431 * oct-env.cc (do_get_user_name): Reverse sense of test. | |
10432 | |
3344 | 10433 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
10434 | |
10435 * oct-time.cc (Fstrftime): Undo previous change. | |
10436 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
10437 | |
3334 | 10438 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
10439 | |
3336 | 10440 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
10441 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. | |
10442 | |
3334 | 10443 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
10444 Don't forget to pass length of third string argument to dgeesx. | |
10445 | |
10446 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length | |
10447 of third string argument to zgeesx. | |
10448 | |
3333 | 10449 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
10450 | |
10451 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): | |
10452 On errors, simply return `T ()'. | |
10453 (DiagArray2<T>::checkelem (int, int)): Likewise. | |
10454 | |
5095 | 10455 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3331 | 10456 |
10457 * dMatrix.cc (Matrix::expm): Do balancing here instead of using | |
10458 AEPBALANCE class. | |
10459 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
10460 | |
3325 | 10461 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
10462 | |
10463 * oct-shlib.cc, oct-shlib.h: New files. | |
10464 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
10465 | |
3322 | 10466 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
10467 | |
10468 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. | |
10469 * dRowVector.cc (linspace): Ditto. | |
10470 | |
10471 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. | |
10472 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
10473 | |
3312 | 10474 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
10475 | |
10476 * DASSL.cc (DASSL::do_integrate (double)): If we have a function | |
10477 to evaluate the Jacobian, set info(4), not iwork(4). | |
10478 Set rwork(1) to the maximum step size, not rwork(2). | |
10479 | |
3290 | 10480 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
10481 | |
10482 * oct-time.cc: Include <climits>. | |
10483 | |
3281 | 10484 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
10485 | |
10486 * cmd-edit.h (command_editor::do_resize_terminal): New function. | |
10487 * cmd-edit.cc (command_editor::resize_terminal): New function. | |
10488 (gnu_readline::do_resize_terminal): New function. | |
10489 | |
3268 | 10490 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
10491 | |
10492 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. | |
10493 * lo-ieee.c: Likewise. | |
10494 Delete extern "C" declarations for infinity and quiet_nan. | |
10495 | |
3262 | 10496 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
10497 | |
3263 | 10498 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
10499 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions | |
10500 `inline', not `static inline'. | |
10501 | |
3262 | 10502 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
10503 then cast to const int * to compare. | |
10504 | |
3257 | 10505 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
10506 | |
10507 * DAEFunc.h: Remove useless preprocessor conditional. | |
10508 | |
3255 | 10509 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
10510 | |
3257 | 10511 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
10512 Use octave_time object instead of time_t. | |
10513 | |
10514 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, | |
10515 file_stat::fs_ctime): Now octave_time objects. | |
10516 (file_stat::atime, file_stat::mtime, file_stat::ctime): | |
10517 Return octave_time objects. | |
10518 (file_stat::is_newer): Args are now octave_time objects instead of | |
10519 time_t. | |
10520 | |
3255 | 10521 * oct-time.h (octave_time::as_double): Delete. |
10522 (octave_time::operator double ()): New function. | |
10523 (octave_time::operator time_t ()): New function. | |
10524 (octave_time::ctime): New function. | |
10525 (octave_base_tm::strftime): Renamed from format_as_string. | |
10526 (octave_base_tm::asctime): New function. | |
10527 (operator == (const octave_time&, const octave_time&), | |
10528 operator != (const octave_time&, const octave_time&), | |
10529 operator < (const octave_time&, const octave_time&), | |
10530 operator <= (const octave_time&, const octave_time&), | |
10531 operator > (const octave_time&, const octave_time&), | |
10532 operator >= (const octave_time&, const octave_time&)): | |
10533 New comparison functions. | |
10534 | |
10535 * strftime.c: Move here from src directory. | |
10536 * Makefile.in (SOURCES): Add it to the list. | |
10537 | |
10538 * oct-time.h (octave_time::octave_time (time_t)): New constructor. | |
10539 | |
3253 | 10540 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
10541 | |
10542 * oct-time.h, oct-time.cc: New files. | |
10543 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
10544 | |
10545 * systime.h: Move here from src directory. | |
10546 * Makefile.in (INCLUDES): Add it to the list. | |
10547 | |
3248 | 10548 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
10549 | |
10550 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. | |
10551 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. | |
10552 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. | |
10553 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. | |
10554 | |
10555 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. | |
10556 | |
3243 | 10557 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
10558 | |
10559 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. | |
10560 | |
10561 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10562 | |
10563 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a | |
10564 column vector for A(:), for compatibility with Matlab. | |
10565 | |
10566 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10567 | |
10568 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set | |
10569 iopt when there are optional inputs in rwork or iwork. | |
10570 | |
3238 | 10571 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
10572 | |
10573 * Makefile.in (libraries): Use the libfoo.a(objects) method of | |
10574 creating static libs. | |
10575 | |
5095 | 10576 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
3238 | 10577 |
10578 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 | |
10579 and uint32 data types. | |
10580 | |
10581 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10582 | |
10583 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code | |
10584 for Linux. Remove old Linux-specific code. | |
10585 | |
3233 | 10586 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
10587 | |
10588 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): | |
10589 Don't require lengths to be equal. | |
10590 * CMatrix.cc (operator * (const ComplexColumnVector& v, const | |
10591 ComplexRowVector& a)): Likewise | |
10592 | |
5095 | 10593 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
3225 | 10594 |
10595 * statdefs.h: Only define mode_t if not already defined. | |
10596 | |
5095 | 10597 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
3225 | 10598 |
10599 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero | |
10600 when appropriate. | |
10601 | |
10602 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10603 | |
10604 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name | |
10605 before calling rl_initialize. | |
10606 | |
3220 | 10607 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10608 | |
10609 * lo-specfun.cc (besselh, airy, biry): New functions. | |
10610 Update Bessel function support to use library by D. E. Amos. | |
10611 | |
3219 | 10612 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10613 | |
10614 * cmd-edit.h (command_editor::readline): Add new variation that | |
10615 allows EOF information to be passed back to caller. | |
10616 | |
10617 * dMatrix.cc (Matrix::read): Do the right thing for EOF when | |
10618 amount of data to read is unspecified. | |
10619 | |
3215 | 10620 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10621 | |
3219 | 10622 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
10623 (DEFINE_OCTAVE_ALLOCATOR): Ditto. | |
10624 | |
9967 | 10625 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
3215 | 10626 Add volatile qualifier to void* arg. |
10627 Cast volatile void* arg to volatile char*. | |
10628 | |
10629 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10630 | |
10631 * cmd-edit.h (command_editor::do_set_event_hook): New function. | |
10632 (command_editor::do_restore_event_hook): Ditto. | |
10633 * cmd-edit.cc (command_editor::set_event_hook): Ditto. | |
10634 (command_editor::restore_event_hook): Ditto. | |
10635 (gnu_readline::do_set_event_hook): Ditto. | |
10636 (gnu_readline::do_restore_event_hook): Ditto. | |
10637 (gnu_readline::previous_event_hook): New data member. | |
10638 (gnu_readline::gnu_readline): Initialize previous_event_hook. | |
10639 | |
3206 | 10640 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10641 | |
10642 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. | |
10643 | |
10644 * Makefile.in (stmp-pic): New target. | |
10645 ($(PICOBJ)): Depend on stmp-pic, not pic. | |
10646 (clean): Remove stmp-pic | |
10647 | |
10648 * Makefile.in: Undo previous change to avoid optmization when | |
10649 compiling lo-ieee.cc. | |
10650 | |
10651 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10652 | |
10653 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and | |
10654 imaginary parts. | |
10655 (xisinf): Define in terms of xisinf for real and imaginary parts. | |
10656 | |
3203 | 10657 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10658 | |
10659 * boolMatrix.cc (boolMatrix::operator !): New function. | |
10660 | |
3196 | 10661 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10662 | |
10663 * pathsearch.h (dir_path::default_path): New data member. | |
10664 * pathsearch.cc (dir_path::init): Use it. | |
10665 | |
10666 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. | |
10667 | |
3189 | 10668 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10669 | |
10670 * chMatrix.cc (charMatrix::extract): New function. | |
10671 (charMatrix::charMatrix (char c)): New constructor. | |
10672 | |
10673 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10674 | |
10675 * cmd-edit.h: (command_editor::do_read_init_file): New function. | |
10676 * cmd-edit.cc (command_editor::read_init_file): New function. | |
10677 (gnu_readline::do_read_init_file): Likewise. | |
10678 | |
3185 | 10679 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10680 | |
9967 | 10681 * oct-env.cc (octave_env::do_get_home_directory): |
3185 | 10682 If HOME can't be found, set it to "/". |
10683 (octave_env::do_get_user_name) | |
10684 If user name can't be found, set it to "unknown". | |
10685 (octave_env::do_get_host_name) | |
10686 If host name can't be found, set it to "unknown". | |
10687 | |
10688 * pathsearch.h (dir_path::rehash): New function. | |
10689 * pathsearch.cc (dir_path::init): Clear kpathsea's internal | |
10690 diretcory cache before doing initialization. | |
10691 | |
3180 | 10692 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10693 | |
3185 | 10694 * dMatrix.cc (Qzval): Delete. |
10695 (qzhes, qzit, qzval): Delete F77_FCN declarations. | |
10696 * dMatrix.h (Qzval): Delete declaration. | |
10697 | |
10698 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. | |
10699 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. | |
10700 * mx-ext.h: Don't include dbleGEPBAL. | |
10701 | |
3180 | 10702 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
10703 static_cast. | |
10704 | |
10705 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10706 | |
10707 * dMatrix.cc (Matrix::read): Skip after reading, not before. | |
10708 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. | |
10709 | |
10710 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10711 | |
10712 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on | |
10713 HUGE_VAL and NAN. | |
10714 | |
10715 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10716 | |
10717 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
10718 Handle x(i) = scalar for do_fortran_indexing == 1. | |
10719 | |
10720 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10721 | |
10722 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): | |
10723 Alloctate space before attempting to use it. | |
10724 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. | |
10725 | |
5095 | 10726 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
3178 | 10727 |
10728 * EIG.cc (EIG::init): Move invariant code outside loop. | |
10729 | |
10730 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10731 | |
10732 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result | |
10733 have the same size as the operands. | |
9967 | 10734 |
3178 | 10735 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10736 | |
10737 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the | |
10738 call to ddassl, set integration_error to 1 before calling the | |
10739 error handler and returning. | |
10740 * LSODE.cc (LSODE::do_integrate): Likewise. | |
10741 | |
3177 | 10742 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10743 | |
10744 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if | |
10745 do_fortran_indexing is set, A([]) = scalar. | |
10746 * Array-idx.h (assign): Allow A([]) = scalar. | |
10747 | |
3176 | 10748 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10749 | |
10750 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not | |
10751 if dm_nc == 0. | |
10752 | |
3174 | 10753 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10754 | |
10755 * pathsearch.h (dir_path::p_orig): New field. | |
10756 * pathsearch.cc (dir_path::init): Perform variable and tilde | |
10757 expansion on the original path here. | |
10758 (dir_path::find_all): Don't do anything if not initialized. | |
10759 | |
3164 | 10760 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10761 | |
10762 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing | |
10763 is not set. | |
10764 (index): Allow x = zeros (2, 0); x(1,:) to work. | |
10765 | |
10766 * lo-specfun.cc (gammainc): Use dgamit to compute | |
10767 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just | |
10768 \int_0^x exp(-t) t^(a-1) dt. | |
10769 | |
10770 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10771 | |
10772 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, | |
10773 Array-s.cc: Change return types of all `assign' explicit | |
10774 instantiations to be int, not void, to match the template decl in | |
10775 Array.h. | |
10776 | |
3162 | 10777 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10778 | |
10779 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. | |
10780 | |
3156 | 10781 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10782 | |
10783 * lo-specfun.cc (xgamma, xlgamma): Define here. | |
10784 * lo-mappers.cc: Not here. | |
10785 | |
10786 * lo-specfun.h: Declare xgamma and xlgamma here. | |
10787 * lo-mappers.h: Not here. | |
10788 | |
10789 * lo-specfun.h: Never declare gamma or lgamma. | |
10790 | |
3154 | 10791 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10792 | |
10793 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an | |
10794 empty matrix of any dimension. | |
10795 | |
3145 | 10796 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10797 | |
3147 | 10798 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
10799 | |
3146 | 10800 * lo-specfun.cc: Don't include dbleBessel.h. |
10801 | |
10802 * Makefile.in (INCLUDES): Delete oct-math.h from the list. | |
10803 | |
3145 | 10804 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
10805 * file-stat.h (file_stat::operator bool ()): Likewise. | |
10806 * idx-vector.h (idx_vector::operator bool ()): Likewise. | |
10807 * oct-group.h (octave_group::operator bool ()): Likewise. | |
10808 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. | |
10809 | |
10810 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): | |
10811 Don't cast arg in call to swap_8_bytes. | |
10812 (IEEE_big_double_to_IEEE_little_double): Ditto | |
10813 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to | |
10814 swap_4_bytes. | |
10815 (IEEE_little_float_to_IEEE_big_float): Ditto | |
10816 | |
10817 * oct-alloc.cc (grow): Use X_CAST, not static_cast. | |
10818 * prog-args.cc (prog_args::getopt): Likewise. | |
10819 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. | |
10820 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. | |
10821 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): | |
10822 Likewise. | |
10823 | |
10824 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, | |
10825 swap_8_bytes): Declare ptr arg as void*, then use cast. | |
10826 | |
3141 | 10827 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10828 | |
10829 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). | |
10830 Use $(mk-libdir-link). | |
10831 | |
10832 * file-stat.cc (file_stat::update_internal): Use stat and lstat, | |
10833 not SAFE_STAT and SAFE_LSTAT. | |
10834 (lstat): New function, defined if HAVE_LSTAT is not defined. | |
10835 * safe-xstat.hin, safe-xstat.cin: Delete. | |
10836 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, | |
10837 safe-lstat.h, and safe-lstat.cc. | |
10838 | |
3136 | 10839 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10840 | |
10841 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. | |
10842 | |
3130 | 10843 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
10844 | |
10845 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the | |
9967 | 10846 trace is negative. |
3130 | 10847 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if |
10848 the real part of the trace is negative. | |
10849 | |
10850 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10851 | |
10852 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. | |
10853 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. | |
10854 | |
10855 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] | |
10856 to succeed. | |
10857 | |
3125 | 10858 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10859 | |
10860 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. | |
10861 (make_uniq): Likewise. | |
10862 | |
10863 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10864 | |
10865 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. | |
10866 | |
3119 | 10867 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10868 | |
3121 | 10869 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
10870 | |
10871 * lo-specfun.h, lo-specfun.cc: New files. | |
3119 | 10872 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
10873 | |
3121 | 10874 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
10875 oct-math.h: Delete. | |
10876 * Makefile.in (SOURCES): Delete them from the list. | |
10877 | |
3112 | 10878 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10879 | |
10880 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. | |
10881 | |
5095 | 10882 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
3107 | 10883 |
10884 Changes to make support egcs snapshots that implement explicit | |
10885 specification of template functions according to CD2. | |
10886 | |
10887 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit | |
10888 template function specs for template friends. | |
10889 * MArray2.h: Likewise. | |
10890 * MDiagArray2.h: Likewise. | |
10891 | |
3095 | 10892 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10893 | |
10894 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) | |
10895 | |
3092 | 10896 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
10897 | |
9967 | 10898 * CRowVector.cc (linspace): Removed attempt for implicit conversion |
3092 | 10899 to complex<double>(int) instead of complex<double>(double). |
10900 | |
10901 * lo-mappers.cc (atanh): Ditto. | |
10902 | |
3079 | 10903 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10904 | |
10905 * idx-vector.cc (IDX_VEC_REP::sort): New function. | |
10906 * idx-vector.h (idx_vector::sort): Ditto. | |
10907 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before | |
10908 trying to delete elements specified by the index vectors. | |
10909 | |
3075 | 10910 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10911 | |
10912 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. | |
10913 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. | |
10914 | |
3074 | 10915 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10916 | |
10917 * file-ops.cc (tilde_expand_word): Fix off-by-one error. | |
10918 | |
3069 | 10919 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10920 | |
10921 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. | |
10922 Call error handler if we can't find the current directory. | |
10923 | |
3068 | 10924 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10925 | |
3069 | 10926 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
10927 (xfinite (double)): Ditto. | |
10928 | |
3068 | 10929 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
10930 * CmplxQR.cc (ComplexQR::init): Ditto. | |
10931 | |
3056 | 10932 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10933 | |
10934 * lo-mappers.cc (acos (const Complex&)): Select branch that is | |
10935 compatible with Matlab. | |
10936 | |
3050 | 10937 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10938 | |
10939 * Array2-idx.h: Correctly handle empty matrices indexed by a | |
10940 single colon. | |
10941 | |
3040 | 10942 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10943 | |
3049 | 10944 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
10945 (xgamma): Likewise, for calling xdgamma. | |
10946 | |
3042 | 10947 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
10948 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. | |
10949 | |
3040 | 10950 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
10951 to do better job expanding tildes. | |
10952 | |
10953 * str-vec.cc (string_vector::string_vector (const char * const *): | |
10954 Use temporary variable to compute length. | |
10955 | |
3029 | 10956 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10957 | |
3034 | 10958 * Makefile.in: Make building of static library optional. |
3036 | 10959 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034 | 10960 |
3029 | 10961 * Makefile.in (stamp-picdir): Delete. |
10962 (pic): New target. Don't worry so much about creating pic | |
10963 directory only when it is really needed. | |
10964 (stamp-interp): Delete. | |
10965 (libraries): New target. Depend on shared library directly. | |
10966 | |
3024 | 10967 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10968 | |
10969 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): | |
10970 New static function. | |
10971 | |
3012 | 10972 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10973 | |
10974 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. | |
10975 | |
3004 | 10976 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10977 | |
10978 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to | |
10979 set_basic_quote_characters, to match new version of readline. | |
10980 | |
10981 * cmd-edit.cc (do_restore_terminal_state): Call readline function | |
10982 for restoring terminal state through rl_deprep_term_function, now | |
10983 declared in readline.h | |
10984 (rl_deprep_terminal): Delete declaration. | |
10985 | |
2993 | 10986 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10987 | |
10988 * Makefile.in (install-in): Use new mk-includedir-link macro. | |
10989 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. | |
10990 | |
2968 | 10991 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10992 | |
10993 * cmd-edit.cc (command_editor::increment_current_command_number): | |
10994 New static function. | |
10995 | |
2964 | 10996 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10997 | |
2966 | 10998 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
10999 the vector is not sorted. | |
11000 | |
2964 | 11001 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
11002 * dMatrix.cc (Matrix::operator !): Likewise | |
11003 | |
2941 | 11004 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11005 | |
11006 * oct-syscalls.h, oct-syscalls.cc: New files. | |
11007 | |
11008 * cmd-edit.h, cmd-edit.cc: Handle completion function. | |
11009 | |
11010 * str-vec.h, str-vec.cc (string_vector::uniq): New function. | |
11011 | |
2938 | 11012 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11013 | |
2941 | 11014 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
11015 (install-inc): Use it. | |
11016 | |
2938 | 11017 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
11018 Handle errors and missing functions consistently. | |
11019 | |
11020 * oct-group.h, oct-group.cc: New files. | |
11021 | |
11022 * oct-passwd.cc: Handle errors and missing functions consistently. | |
11023 | |
11024 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. | |
11025 | |
2934 | 11026 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11027 | |
11028 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. | |
11029 * oct-env.cc (octave_env::do_get_user_name): Likewise. | |
11030 | |
11031 * oct-passwd.h, oct-passwd.cc: New files. | |
11032 | |
2926 | 11033 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11034 | |
11035 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. | |
11036 | |
11037 * mach-info.h, mach-info.cc: Add missing const qualifiers. | |
11038 (instance_ok ()): New function. | |
11039 | |
11040 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. | |
11041 | |
11042 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. | |
11043 | |
11044 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from | |
11045 src/utils.h and src/utils.cc. | |
11046 (octave_fgets): New function, extracted from src/input.cc. | |
11047 | |
11048 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for | |
11049 GNU readline, and allow Octave to work without GNU readline. | |
11050 | |
11051 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous | |
11052 system-dependent functions. | |
11053 | |
11054 * oct-env.h, oct-env.cc: New files for process environment stuff. | |
11055 | |
11056 * file-stat.h, file-stat.cc: New files. Extract file_stat class | |
11057 from file-ops.h and file-ops.cc and move here. | |
11058 | |
11059 * file-ops.h, file-ops.cc: Wrap functions in struct. Move | |
11060 tilde_expand functions here from src/dirfns.cc. | |
11061 | |
11062 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11063 | |
11064 * pathlen.h: New file, from ../src. | |
11065 | |
2917 | 11066 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11067 | |
11068 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent | |
11069 out-of-bounds indexing of the index array. | |
11070 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. | |
11071 | |
2850 | 11072 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11073 | |
11074 * LSODE.h (x_step_limit): New field. | |
11075 (LSODE_options::init): Initialize it. | |
11076 (LSODE_options::copy): Copy it. | |
11077 (LSODE_options::set_step_limit, LSODE_options::step_limit): | |
11078 New functions. | |
11079 (LSODE::working_too_hard): Delete. | |
11080 * LSODE.cc (LSODE::do_integrate): Handle step limit. | |
11081 | |
2844 | 11082 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11083 | |
11084 * MArray-b.cc: Delete. | |
11085 * Makefile.in: Delete it from the lists. | |
11086 | |
11087 * boolMatrix.h (class bboolMatrix): Derive from Array2, not | |
11088 MArray2, since most of the numeric ops don't really make sense. | |
11089 | |
2829 | 11090 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11091 | |
2832 | 11092 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
11093 | |
11094 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. | |
11095 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. | |
11096 | |
2830 | 11097 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
11098 idx_vector::freeze): Delete prefer_zero_one arg. | |
11099 * Array-idx.h, Array2-idx.h: Change all callers. | |
11100 | |
11101 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. | |
11102 | |
2829 | 11103 * mx-op-defs.h: New file for operator definitions. |
11104 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, | |
11105 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, | |
11106 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, | |
11107 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, | |
11108 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, | |
11109 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, | |
11110 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, | |
11111 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, | |
11112 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, | |
11113 mx-s-cm.cc, mx-s-dm.cc: | |
11114 New files for mixed-type operations. | |
11115 * Makefiles.in: Add them to the appropriate lists. | |
11116 | |
11117 * mx-inlines.cc: Add bool by bool EQ ops. | |
11118 | |
11119 * idx-vector.h, idx-vector.cc: Add constructors for bool and | |
11120 boolMatrix types. | |
11121 (idx_vector::maybe_convert_one_zero_to_idx, | |
11122 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): | |
11123 Delete second arg, prefer_zero_one. Change all callers. | |
11124 | |
11125 * boolMatrix.h, boolMatrix.cc: New files. | |
11126 * mx-base.h: Include boolMatrix.h here. | |
11127 * mx-defs.h: Provide forward declaration for boolMatrix here. | |
11128 | |
11129 * chMatrix.h, chMatrix.cc: Delete unused junk. | |
11130 | |
11131 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, | |
11132 operator-, operator*, product, and quotient functions. | |
11133 Add constructor for boolMatrix type. | |
11134 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, | |
11135 product, and quotient functions. | |
11136 | |
11137 * CDiagMatrix.h: Delete friend declarations for operator+, | |
11138 operator-, and product functions. | |
11139 * CDiagMatrix.h: Delete operator+, operator-, and product functions. | |
11140 | |
11141 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. | |
11142 | |
2815 | 11143 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11144 | |
11145 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. | |
11146 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. | |
11147 (EIG::symmetric_init (const Matrix&)): New function. | |
11148 (EIG::init (const Matrix&)): Call it if arg is symmetric. | |
11149 | |
11150 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. | |
11151 | |
11152 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11153 | |
11154 * Array2.cc (is_symmetric): New function. | |
11155 * Array2.h (is_square): New function. | |
11156 | |
2811 | 11157 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11158 | |
11159 * Makefile.in (install-strip): New target. | |
11160 | |
2804 | 11161 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11162 | |
11163 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
11164 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, | |
11165 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
11166 dbleSVD.cc: Don't include mx-inlines.cc. | |
11167 | |
11168 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of | |
11169 duplicate code. | |
11170 | |
2800 | 11171 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11172 | |
2804 | 11173 * dbleQR.h (QR): Delete extra comma at end of list. |
11174 | |
11175 * prog-args.cc (prog_args::getopt): Add missing const in cast. | |
11176 | |
11177 * dbleSVD.h (SVD::type): Delete extra comma at end of list. | |
11178 | |
11179 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and | |
11180 idx_vecotr_rep:: qualifiers. | |
11181 | |
11182 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. | |
11183 | |
11184 * data-conv.h (save_type): Delete extra comma at end of list. | |
11185 | |
2800 | 11186 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
11187 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, | |
11188 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of | |
11189 old C-style `(T) val' casts. | |
11190 | |
2795 | 11191 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11192 | |
11193 * dMatrix.cc (operator >>): Return if an error occurs instead of | |
11194 just breaking out of the innermost loop. | |
11195 * CMatrix.cc (operator >>): Likewise. | |
11196 | |
2779 | 11197 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775 | 11198 |
11199 * Version 2.0.5 released. | |
11200 | |
2767 | 11201 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11202 | |
11203 * CmplxQR.cc (ComplexQR::init): New function. | |
11204 (ComplexQR::ComplexQR): Use it. Use initializer list too. | |
11205 * CmplxQRP.cc (ComplexQRP::init): New function. | |
11206 Get sizes right in all cases. | |
11207 (ComplexQR::ComplexQRP): Use it. Use initializer list too. | |
11208 | |
11209 * dbleQR.cc (QR::init): New function. | |
11210 (QR::QR): Use it. Use initializer list too. | |
11211 * dbleQRP.cc (QRP::init): New function. | |
11212 Get sizes right in all cases. | |
11213 (QR::QRP): Use it. Use initializer list too. | |
11214 | |
2759 | 11215 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11216 | |
11217 * mach-info.cc (oct_mach_info::string_to_float_format): | |
11218 Recognize "vaxg", not "vax_g". | |
11219 | |
2713 | 11220 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11221 | |
2714 | 11222 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
11223 dimension in check for colon equivalent index. | |
11224 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element | |
11225 index whose value is 0 is also colon eqivalent for n == 1. | |
11226 | |
2713 | 11227 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
11228 system-specific tests first. | |
11229 | |
2709 | 11230 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702 | 11231 |
11232 * Version 2.0.4 released. | |
11233 | |
11234 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11235 | |
11236 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. | |
11237 | |
2693 | 11238 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690 | 11239 |
11240 * Version 2.0.3 released. | |
11241 | |
2686 | 11242 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11243 | |
11244 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. | |
11245 | |
2673 | 11246 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11247 | |
2676 | 11248 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
11249 (all): Don't depend on stamp-prereq or stamp-picdir. | |
11250 (liboctave.a, stamp-shared): Do depend on stamp-prereq. | |
11251 (stamp-picdir): Silence noise about making pic. | |
11252 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. | |
11253 | |
2673 | 11254 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
9967 | 11255 Fix typo in last change. |
2673 | 11256 |
11257 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): | |
11258 Convert from friend (moved from dColVector.cc). | |
11259 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): | |
11260 Likewise (moved from dMatrix.cc). | |
11261 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): | |
11262 Likewise (moved from dRowVector.cc). | |
11263 | |
11264 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. | |
11265 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. | |
11266 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. | |
11267 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. | |
11268 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. | |
11269 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. | |
11270 | |
11271 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. | |
11272 * dMatrix.cc (Matrix::apply): Likewise. | |
11273 * dRowVector.cc (RowVector::apply): Likewise. | |
11274 * CColVector.cc (ComplexColumnVector::apply): Likewise. | |
11275 * CMatrix.cc (ComplexMatrix::apply): Likewise. | |
11276 * CRowVector.cc (ComplexRowVector::apply): Likewise. | |
11277 | |
2668 | 11278 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11279 | |
11280 * lo-ieee.cc: Declare quiet_nan() and infinity(). | |
11281 | |
11282 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11283 | |
11284 * file-ops.cc (oct_unlink (const string&, string&)): | |
11285 New two-arg version. | |
11286 (oct_rmdir (const string&, string&)): New two-arg version. | |
11287 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. | |
11288 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. | |
11289 (oct_rename (const string&, const string&, string&)): | |
11290 New three-arg version. | |
11291 | |
2663 | 11292 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11293 | |
11294 * idx-vector.h (idx_vector::orig_empty): New function. | |
11295 | |
11296 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): | |
11297 Don't always resize to [](0x0) if one of the indices is empty or | |
11298 zero. | |
11299 | |
2658 | 11300 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11301 | |
11302 * cmd-hist.cc (command_history::read): New arg, must_exist. | |
11303 Set line_in_file here too. | |
11304 (command_history::read_range): New arg, must_exist. | |
11305 | |
2651 | 11306 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11307 | |
11308 * f2c-main.c: Change C++-style comments to C-style comments. | |
11309 | |
2638 | 11310 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11311 | |
11312 * Makefile.in (install-inc): Create a relative symbolic link. | |
11313 | |
2634 | 11314 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11315 | |
11316 * Version 2.0.2 released. | |
11317 | |
2624 | 11318 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11319 | |
11320 * Makefile.in (bin-dist): New target. | |
11321 | |
2621 | 11322 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11323 | |
11324 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. | |
11325 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. | |
11326 | |
2613 | 11327 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11328 | |
11329 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
11330 If the number of columns is zero, also set the number of rows to zero. | |
11331 (charMatrix::charMatrix (const char *)): Likewise. | |
11332 | |
2602 | 11333 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11334 | |
11335 * Version 2.0.1 released. | |
11336 | |
2601 | 11337 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11338 | |
11339 * dMatrix.cc (Matrix::read): Correctly compute the number of | |
11340 columns for resizing when the number of rows is specified but the | |
11341 number of columns is not. | |
11342 | |
2598 | 11343 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11344 | |
2599 | 11345 * Range.cc (operator -): New function. |
11346 | |
2598 | 11347 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
11348 | |
2589 | 11349 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11350 | |
11351 * Array2-idx.h (assign): Delay resizing left hand side until we | |
11352 know if the assignment conforms. | |
11353 | |
2583 | 11354 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11355 | |
11356 * Version 2.0 released. | |
11357 | |
2570 | 11358 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11359 | |
2575 | 11360 * Array2-idx.h (assign): If index is a colon, set number of |
11361 elements to the lhs dimension if the lhs dimension is greater than | |
11362 zero. Otherwise, set it to the rhs dimension. | |
11363 | |
11364 * Version 1.94. | |
11365 | |
2570 | 11366 * Array2-idx.h (assign): Test for rhs scalar case first. |
11367 If index is colon, set number of elements to lhs dimension, not | |
11368 rhs dimension. | |
11369 | |
2563 | 11370 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11371 | |
2566 | 11372 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
11373 * sun-utils.cc: Delete. | |
11374 * f2c-main.c: New file | |
11375 | |
11376 * Makefile.in: Fix file name lists. | |
11377 | |
2563 | 11378 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
11379 | |
2561 | 11380 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11381 | |
11382 * dMatrix.cc (Qzval): Don't try to use same memory three times. | |
11383 Create result using Complex constructor, not multiplication. | |
11384 Order elements as they are returned from Eispack. | |
11385 | |
2559 | 11386 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11387 | |
2560 | 11388 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
11389 Only include nan.h if SCO is defined. Define _IEEE before | |
11390 including it and undefine it afterward. | |
11391 [SCO] (isnan): Don't mistake Inf as NaN. | |
11392 | |
2559 | 11393 * Array-idx.h (assign): Only resize if assignment conforms. |
11394 | |
2551 | 11395 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11396 | |
11397 * Makefile.in (INCLUDES): Delete lo-error.h. | |
11398 * lo-error.h: Delete (moved to libcruft/misc). | |
11399 | |
11400 * Version 1.93. | |
11401 | |
2546 | 11402 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11403 | |
2549 | 11404 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
11405 be the same as they are in fnmatch.h. | |
11406 | |
2546 | 11407 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
11408 | |
11409 * Makefile.in (INCLUDES): Delete f77-fcn.h. | |
11410 (SOURCES): Delete f77-fcn.c. | |
11411 | |
2522 | 11412 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11413 | |
11414 * lo-ieee.h: [SCO]: Declare isinf and isnan. | |
11415 | |
2512 | 11416 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11417 | |
11418 * Version 1.92. | |
11419 | |
2508 | 11420 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11421 | |
2512 | 11422 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
11423 lines that have only carriage return or newline. | |
11424 | |
2508 | 11425 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
11426 | |
2500 | 11427 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11428 | |
11429 * idx-vector.cc (idx_is_inf_or_nan): New function. | |
11430 (IDX_VEC_REP::idx_vector_rep): Use it. | |
11431 | |
2493 | 11432 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11433 | |
11434 * str-vec.h, str-vec.cc: Add constructors to make string vectors | |
11435 from vectors of C strings. | |
11436 | |
11437 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string | |
11438 vector. | |
11439 (glob_match::match): Allow match string to be a string vector. | |
11440 (glob_match::glob): New function. | |
11441 | |
11442 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. | |
11443 | |
11444 * Array-b.cc: New file. | |
11445 * Makefile.in (TI_SRC): Add it to the list. | |
11446 | |
2492 | 11447 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11448 | |
11449 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h | |
11450 and safe-stat.h, to avoid getting them from $srcdir when we really | |
11451 want the version from the build directory. (Maybe this should be | |
11452 done for all the include files, not just those that are | |
11453 auto-generated? Hmm.) | |
11454 | |
2481 | 11455 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11456 | |
2482 | 11457 * Version 1.91. |
11458 | |
2481 | 11459 * Array3.cc (Array3<T>::resize): Make it work. |
11460 | |
11461 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11462 | |
11463 * oct-alloc.h, oct-alloc.cc: New files. | |
11464 * Makefile.in: Add them to the lists. | |
11465 | |
11466 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11467 | |
11468 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. | |
11469 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. | |
11470 | |
2466 | 11471 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11472 | |
11473 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, | |
11474 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
11475 file_stat::is_reg, file_stat::is_sock): Just return false if the | |
9967 | 11476 underlying macro is not defined. |
2466 | 11477 |
11478 * oct-math.h (lgamma, gamma): Delete declarations. | |
11479 (asinh, acosh, atanh, erf, erfc): Declare arg types too. | |
11480 Protect declarations with #ifdef HAVE_*. | |
11481 | |
2440 | 11482 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11483 | |
2452 | 11484 * Version 1.90. |
11485 | |
11486 * Makefile.in (DISTFILES): Add ChangeLog. | |
11487 | |
2444 | 11488 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
11489 | |
11490 * Matrix-ext.cc: Include <cfloat>, not <float.h>. | |
11491 | |
2443 | 11492 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444 | 11493 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
11494 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. | |
2443 | 11495 |
2440 | 11496 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
11497 since that is now accepatble syntax, even for built-in types. | |
11498 * Array2.h (T Array2<T>::checkelem): Likewise | |
11499 | |
2433 | 11500 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11501 | |
11502 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error | |
11503 message and return -1. | |
11504 | |
2428 | 11505 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11506 | |
2431 | 11507 * str-vec.h (str_vec_compare): Declare args as const void *, then |
11508 cast them to const string * in the body of the function. | |
11509 | |
11510 * file-ops.cc (file_stat::mode_as_string): Explicitly construct | |
11511 string from buf. | |
11512 | |
2428 | 11513 * Array3.h (Array3::checkelem): Tag bogus return value with |
11514 GCC_ATTRIBUTE_UNUSED. | |
11515 * Array2.h (Array2::checkelem): Likewise. | |
9967 | 11516 |
2424 | 11517 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11518 | |
11519 * Quad.h (Quad): Define virtual destructor. | |
11520 | |
2408 | 11521 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11522 | |
11523 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. | |
11524 | |
2401 | 11525 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11526 | |
11527 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ | |
11528 and MAIN__ extern "C". | |
11529 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. | |
11530 | |
2391 | 11531 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11532 | |
11533 * MArray-misc.cc: New file. | |
11534 * Makefile.in (MATRIX_SRC): Add it to the list. | |
11535 | |
11536 * mx-inlines.cc (equal): Return bool, not int. | |
11537 | |
11538 * idx-vector.h (idx_vector (double)): New constructor. | |
11539 | |
11540 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, | |
11541 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, | |
11542 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, | |
11543 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, | |
11544 CRowVector.cc: Logical operators return bool, not int. | |
11545 | |
11546 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): | |
11547 New function. | |
11548 | |
11549 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, | |
11550 Matrix::any_element_is_inf_or_nan, Matrix::abs, | |
11551 Matrix::all_elements_are_inf_or_nan): New functions. | |
11552 | |
11553 * Range.h, Range.cc (Range::all_elements_are_ints): New function. | |
11554 | |
11555 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant | |
11556 for errors. Simplify macros by converting FCN to string for error | |
11557 messages. | |
11558 | |
11559 * Array-idx.h (Array<T>::index): New function. Don't call | |
11560 clear_index() here. | |
11561 (Array<T>::value): Call it, do call clear_index() here. | |
11562 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for | |
11563 one and two arg index functions. | |
11564 | |
11565 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11566 | |
11567 * DAEFunc.h: Delete #pragma interface since there is no longer a | |
11568 separate implementation file. | |
11569 | |
2354 | 11570 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11571 | |
2358 | 11572 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
11573 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. | |
11574 | |
2356 | 11575 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
11576 sort_uniq. If sort_uniq is nonzero, sort the elements and make | |
11577 them uniq. | |
11578 | |
2354 | 11579 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
11580 ComplexMatrix::column_max, ComplexMatrix::column_min): | |
11581 Rewrite. Also return index as a reference arg. | |
11582 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, | |
11583 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): | |
11584 Delete. | |
11585 | |
11586 * dMatrix.cc (Matrix::row_max, Matrix::row_min, | |
11587 Matrix::column_max, Matrix::column_min): | |
11588 Rewrite. Also return index as a reference arg. | |
11589 (Matrix::row_max_loc, Matrix::row_min_loc, | |
11590 Matrix::column_max_loc, Matrix::column_min_loc): Delete. | |
11591 | |
11592 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11593 | |
11594 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, | |
11595 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, | |
11596 Matrix::column_min_loc, Matrix::column_max, | |
11597 Matrix::column_max_loc): Ignore leading NaNs. | |
11598 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, | |
11599 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, | |
11600 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, | |
11601 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore | |
11602 leading NaNs. | |
11603 | |
2352 | 11604 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11605 | |
11606 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds | |
11607 starting at n, not 0. | |
11608 | |
2349 | 11609 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11610 | |
11611 * dMatrix.cc (Matrix::Matrix (const RowVector&), | |
11612 Matrix::Matrix (const ColumnVector&)): New constructors. | |
11613 | |
11614 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), | |
11615 ComplexMatrix::ComplexMatrix (const ColumnVector&), | |
11616 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), | |
11617 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): | |
11618 New constructors. | |
11619 | |
11620 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): | |
11621 New constructor. | |
11622 | |
2343 | 11623 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11624 | |
11625 * LSODE.cc (do_integrate): Check to make sure that the state and | |
11626 derivative vectors are the same size. | |
2344 | 11627 * DASSL.cc (do_integrate): Likewise. |
2343 | 11628 |
2330 | 11629 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11630 | |
11631 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use | |
11632 iostreams and handler data format conversions. Delete old methods | |
11633 that used stdio. | |
11634 | |
11635 * data-conv.h, data-conv.cc (oct_data_conv): New class. | |
11636 | |
11637 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11638 | |
11639 * mach-info.h: Rename from float-fmt.h. | |
11640 * mach-info.cc: Rename from float-fmt.cc. | |
11641 Handle machine information using a singlton class. | |
11642 * Makefile.in: Update appropriate lists. | |
11643 | |
11644 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11645 | |
11646 * Array-flags.cc: Provide definitions for the flags even if | |
11647 OCTAVE_SOURCE is not defined. | |
11648 | |
11649 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects | |
11650 operator(), not elem(). | |
11651 * Array3.h: Move indexing methods here from Array3.cc. | |
11652 | |
11653 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11654 | |
11655 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). | |
11656 | |
11657 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of | |
11658 INSTALL_DATA for shared libs. | |
11659 | |
11660 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11661 | |
11662 * Quad.cc: Include lo-error.h here too. | |
11663 | |
11664 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11665 | |
11666 * file-ops.h: Include sys/types.h here. | |
11667 | |
11668 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11669 | |
11670 * chMatrix.cc (charMatrix::transpose): Provide definition. | |
11671 | |
11672 * Array-idx.h (maybe_delete_elements): Correctly compute number of | |
11673 elements in result. | |
11674 * Array2-idx.h (maybe_delete_elements): Likewise for number of | |
11675 rows and columns in result. | |
11676 | |
11677 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11678 | |
11679 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. | |
11680 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. | |
11681 | |
11682 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11683 | |
11684 * Makefile.in (install-inc): Install in octincludedir, not includedir. | |
11685 | |
11686 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11687 | |
11688 * Makefile.in (uninstall): Also delete shared library. | |
11689 Split install into install-libs and install-includes. | |
11690 (install-inc): If linkdir is a directory, leave it alone. | |
11691 | |
11692 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. | |
11693 | |
11694 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11695 | |
11696 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. | |
11697 * Array2-idx.h (assign): Likewise. | |
11698 | |
11699 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11700 | |
11701 * Array2.cc (Array2<T>::range_error): New functions. | |
11702 | |
11703 * Array.h (class Array<T>): elem() and operator() are now | |
11704 equivalent, and do bounds checking by default. | |
11705 * Array2.cc (class Array2<T>): Likewise. | |
11706 | |
11707 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11708 | |
11709 * Makefile.in (maintainer-clean, distclean): Also delete | |
11710 stamp-picdir, stamp-shared, and pic directory. | |
11711 (stamp-prereq): New target. | |
11712 | |
11713 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11714 | |
11715 * NPSOL.h (NPSOL_options::set_option (const char *, int)): | |
11716 New function. | |
11717 | |
11718 * Array.h, Array.cc (Array<T>::range_error ()): New functions. | |
11719 * Array.h (Array<T>::checkelem): Use them. | |
11720 | |
11721 * base-lu.h, base-lu.cc: Parameterize based on types of matrix | |
11722 elements too. | |
11723 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. | |
11724 | |
11725 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. | |
11726 | |
11727 * Makefile.in (distclean): Delete so_locations, which is created | |
11728 on DEC Alpha systems. | |
11729 | |
11730 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11731 | |
11732 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not | |
11733 already defined. | |
11734 | |
11735 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11736 | |
11737 * pathsearch.cc: Include config.h. | |
11738 | |
11739 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11740 | |
11741 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't | |
11742 allow M(I, J) = scalar if I or J is empty. | |
11743 | |
11744 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h | |
11745 and Array3-idx.h). | |
11746 | |
11747 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11748 | |
11749 * lo-error.h: Make comments C friendly. | |
11750 | |
11751 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11752 | |
11753 * Array2.h (make_unique): Move all indexing functions here. | |
11754 * Array2.cc: From here. | |
11755 | |
11756 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control | |
11757 whether operator() calls elem or checkelem. | |
11758 | |
11759 * Array.h (make_unique): New private function. | |
11760 Move all indexing functions here. | |
11761 * Array.cc: From here. | |
11762 | |
11763 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference | |
11764 it too. | |
11765 | |
11766 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, | |
11767 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, | |
11768 MArray-C.cc: Include config.h. | |
11769 | |
11770 * Array.h, Array2.h, DiagArray2.h, Array3.h: | |
11771 Don't define HEAVYWEIGHT_INDEXING here. | |
11772 | |
11773 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11774 | |
11775 * base-lu.h, base-lu.cc: New files. | |
11776 * Makefile.in: Add them to the appropriate lists. | |
11777 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. | |
11778 | |
11779 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11780 | |
11781 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h | |
11782 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h | |
11783 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. | |
11784 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. | |
11785 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. | |
9967 | 11786 |
2330 | 11787 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. |
11788 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. | |
11789 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. | |
11790 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: | |
11791 Simplify using new macros. | |
11792 | |
11793 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11794 | |
11795 * Makefile.in (install): If $(includedir) ends in version string, | |
11796 make link to name that does not include version info. | |
11797 | |
11798 * lo-ieee.cc: Include <cmath> here. | |
11799 | |
11800 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11801 | |
11802 * lo-ieee.cc, lo-ieee.h: New files. | |
11803 * lo-mappers.cc, lo-mappers.h: New files. | |
11804 * lo-utils.cc, lo-utils.h: New files. | |
11805 * Makefile.in: Add them to the appropriate lists. | |
11806 | |
11807 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11808 | |
11809 * dMatrix.cc (all_integers, too_large_for_float): New functions. | |
11810 * CMatrix.cc (all_integers, too_large_for_float): New functions. | |
11811 | |
11812 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, | |
11813 float-fmt.cc: New files. | |
11814 * Makefile.in: Include them in the appropriate lists. | |
11815 | |
11816 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11817 | |
11818 * dMatrix.cc (Qzval): New function. | |
11819 | |
11820 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11821 | |
11822 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not | |
11823 char*. | |
11824 | |
11825 * DASSL.h, DASSL.cc: Do better management of temporary workspace. | |
11826 Use F77_XFCN to call Fortran subroutine. | |
11827 * dColVector.cc, CColVector.cc: Likewise. | |
11828 * dRowVector.cc, CRowVector.cc: Likewise. | |
11829 * NPSOL.h, NPSOL.cc: Likewise. | |
11830 * CmplxCHOL.cc: Likewise. | |
11831 * dbleCHOL.cc: Likewise. | |
11832 * CMatrix.cc: Likewise. | |
11833 * dMatrix.cc: Likewise. | |
11834 * QPSOL.cc: Likewise. | |
11835 * LSODE.cc: Likewise. | |
11836 | |
11837 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11838 | |
11839 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. | |
11840 | |
11841 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary | |
11842 workspace. Use F77_XFCN to call Fortran subroutine. | |
11843 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. | |
11844 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. | |
11845 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. | |
11846 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. | |
11847 * CmplxHESS.h, CmplxHESS.cc: Likewise. | |
11848 * CmplxSVD.h, CmplxSVD.cc: Likewise. | |
11849 * dbleHESS.h, dbleHESS.cc: Likewise. | |
11850 * dbleSVD.h, dbleSVD.cc: Likewise. | |
11851 * EIG.h, EIG.cc; Likewise. | |
11852 * CollocWt.cc: Likewise. | |
11853 * NLEqn.cc: Likewise. | |
11854 * Quad.cc: Likewise. | |
11855 | |
11856 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11857 | |
11858 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. | |
11859 Use F77_XFCN to call Fortran subroutine. | |
11860 * CmplxLU.h, CmplxLU.cc: Ditto. | |
11861 * dbleQR.h, dbleQR.cc: Ditto. | |
11862 * CmplxQR.h, CmplxQR.cc: Ditto. | |
11863 * dbleQRP.h, dbleQRP.cc: Ditto. | |
11864 * CmplxQRP.h, CmplxQRP.cc: Ditto. | |
11865 | |
11866 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. | |
11867 (struct DIR): delete forward declaration. | |
11868 (dir_entry::operator = (const dir_entry$)): Protect against | |
11869 copying same object. | |
11870 * dir-ops.cc: Cast dir appropriately. | |
11871 | |
11872 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11873 | |
11874 * lo-error.cc: Moved to libcruft/misc. | |
11875 * Makefile.in: Delete it from the list. | |
11876 | |
11877 * f77-fcn.c (f77_context, f77_exception_encountered): Delete | |
11878 definitions (they have been moved to libcruft/misc/f77-extern.cc). | |
11879 | |
11880 * Array-flags.h: New file. | |
11881 * Array-idx.h: Include it here. | |
11882 * Makefile.in (MATRIX_INC): Add it to the list. | |
11883 | |
11884 * Array-flags.cc: Renamed from Array-ext.cc. | |
11885 (liboctave_dfi_flag): Renamed from dfi_flag. | |
11886 (liboctave_pcv_flag): Renamed from pcv_flag. | |
11887 (liboctave_pzo_flag): Renamed from pzo_flag. | |
11888 (liboctave_rre_flag): Renamed from rre_flag. | |
11889 * Array-idx.h: Change all uses of dfi_flag, etc. | |
11890 * Makefile.in (MATRIX_SRC): Change file name here too. | |
11891 | |
11892 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. | |
11893 (stamp-shared): Use them here. | |
11894 | |
11895 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11896 | |
11897 * cmd-hist.cc (command_history::ignore_entries): Delete default | |
11898 argument value. | |
11899 | |
11900 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11901 | |
11902 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, | |
11903 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, | |
11904 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, | |
11905 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: | |
11906 Clean up constructors, assigment operator. | |
11907 | |
11908 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11909 | |
11910 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. | |
11911 Check f77_exception_encountered on return. | |
11912 | |
11913 * f77-fcn.c (f77_exception_encountered): New variable. | |
11914 (F77_XFCN): Set it. | |
11915 * f77-fcn.h: Provide declaration. | |
11916 | |
11917 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). | |
11918 | |
11919 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). | |
11920 | |
11921 * NLEqn.h (NLEqn_options::set_options): New function. | |
11922 * Quad.h (Quad_options::set_options): Likewise. | |
11923 | |
11924 * LP.h (class LP): Add accessors for LP data. | |
11925 | |
11926 * NLEqn.h (NLEqn::n): Delete. | |
11927 | |
11928 * NLEqn.h (class NLEqn::n): Likewise. | |
11929 | |
11930 * NLP.h (class NLP): Add accessors for NLP data. | |
11931 | |
11932 * NPSOL.h (class NPSOL_options): Move constructors, set, and | |
11933 access functions here. | |
11934 * NPSOL.cc.cc: From here. | |
11935 | |
11936 * QLD.h (class QLD): Add destructor definition. | |
11937 * Objective.h (class Objective): Likewise. | |
11938 * ODEFunc.h (class ODEFunc): Likewise. | |
11939 * NLFunc.h (class NLFunc): Likewise. | |
11940 * NLEqn.h (class NLEqn): Likewise. | |
11941 * NLConst.h (class NLConst): Likewise. | |
11942 * LinConst.h (class LinConst): Likewise. | |
11943 * LSODE.h (class LSODE_options): Likewise. | |
11944 * CollocWt.h (class CollocWt): Likewise. | |
11945 * Bounds.h (class Bounds): Likewise. | |
11946 | |
11947 * QLD.cc (QLD::set_default_options): Delete. | |
11948 | |
11949 * QP.h (QP): Add accessors for QP data. | |
11950 Add copy constructor, operator =, and destructor definitions. | |
11951 | |
11952 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, | |
11953 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, | |
11954 DAEFunc.h, CollocWt.h, Bounds.h: | |
11955 Clean up constructors, assigment operator. | |
9967 | 11956 |
2330 | 11957 * dRowVector.cc (RowVector::transpose): Use magic of reference |
11958 counting to avoid duplicating the data immediately. | |
11959 * dColVector.cc (ColumnVector::transpose): Likewise. | |
11960 * CRowVector.cc (ComplexrowVector::transpose): Likewise. | |
11961 * CColVector.cc (ComplexColumnVector::transpose): Likewise. | |
11962 | |
11963 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11964 | |
11965 * prog-args.h (prog_args::option_argument): New enum. | |
11966 | |
11967 * f77-fcn.h: Rename from f77-uscore.h. | |
11968 (F77_XFCN_ERROR, F77_XFCN): New macros. | |
11969 * f77-fcn.c: New file. | |
11970 * Makefile.in (SOURCES): Add it to the list. | |
11971 | |
11972 * ODEFunc.h: Clean up. | |
11973 | |
11974 * DASSL.cc, DASSL.h: New files. | |
11975 * Makefile.in: Add them to the appropriate lists. | |
11976 | |
11977 * LSODE.cc, LSODE.h: New files. | |
11978 * Makefile.in: Add them to the appropriate lists. | |
11979 | |
11980 * ODE.cc: Delete. | |
11981 * Makefile.in (SOURCES): Remove from list. | |
11982 | |
11983 * base-de.h, DAE.cc: New files. | |
11984 * Makefile.in: Add them to the appropriate lists. | |
11985 * ODE.h: Only define interface for ODE classes. | |
11986 * DAE.h: Only define interface for ODE classes. | |
11987 | |
11988 * LPsolve.cc (do_minimize): Print sorry not implemented message. | |
11989 (LPsolve::set_default_options)): Delete | |
11990 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and | |
11991 destructor. | |
11992 | |
11993 * LP.h (class LP): Add operator =, copy constructor, and destructor. | |
11994 | |
11995 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. | |
11996 (QPSOL::operator =): Call base class operator = instead of assuming | |
11997 we know what to copy. | |
11998 | |
11999 * base-min.h (size): New function. | |
12000 | |
12001 * NLP.h (NLP::size): Delete. | |
12002 (NLP::NLP (const NLP&)): New constructor. | |
12003 (NLP::operator =): Call base class operator = instead of assuming | |
12004 we know what to copy. | |
12005 | |
12006 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. | |
12007 (class NPSOL): Add operator = and destructor. | |
12008 | |
12009 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. | |
12010 | |
12011 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12012 | |
12013 * Makefile.in (liboctave.a): Depend on $(PICOBJ). | |
12014 | |
12015 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12016 | |
12017 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. | |
12018 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. | |
12019 | |
12020 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12021 | |
12022 * prog-args.h, prog-args.cc: New files. | |
12023 * Makefile.in: Add them to lists. | |
12024 | |
12025 * getopt.h, getopt.c, getopt1.c: New files. | |
12026 * Makefile.in: Add them to the lists. | |
12027 | |
12028 * oct-term.h, oct-term.cc: New files. | |
12029 * Makefile.in: Add them to the lists. | |
12030 | |
12031 * str-vec.cc: New file. | |
12032 * Makefile.in (SOURCES): Add it to the list. | |
12033 | |
12034 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. | |
12035 | |
12036 * tempname.c, tempnam.c: Move here from src directory. | |
12037 * Makefile.in: Add to lists. | |
12038 | |
12039 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12040 | |
12041 * cmd-hist.h, cmd-hist.cc: New files. | |
12042 * Makefile.in: Add them to lists. | |
12043 | |
12044 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12045 | |
12046 * oct-glob.h, oct-glob.cc: New files. | |
12047 * Makefile.in: Add them to lists. | |
12048 | |
12049 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12050 | |
12051 * pathsearch.h, pathsearch.cc: New files. | |
12052 * Makefile.in: Add them to lists. | |
12053 | |
12054 * dir-ops.h, dir-ops.cc: New files. | |
12055 * sysdir.h: Move here from src directory. | |
12056 * Makefile.in: Add them to lists. | |
12057 | |
12058 * Array.h (Array::qsort): Return *this, not void. | |
12059 * str-vec.h (string_vector::qsort): Likewise. | |
12060 | |
12061 * chMatrix.cc (row_as_string): Resize result to eliminate | |
12062 unnecessary NULs. | |
12063 | |
12064 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12065 | |
12066 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, | |
12067 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: | |
12068 Files moved here from src directory. | |
12069 * Makefile.in: Add them to lists. Include appropriate rules. | |
12070 | |
12071 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
12072 Use pointers, not references (this is C code!). | |
12073 | |
12074 * oct-math.h: New file. | |
12075 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
12076 Files moved here from src directory. | |
12077 * Makefile.in: Add them to lists. | |
12078 | |
12079 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12080 | |
12081 * idx-vector.cc (make_uniq): Fix major brain-o. | |
12082 | |
12083 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: | |
12084 Convert to use string class instead of char*. | |
12085 | |
12086 * str-vec.h, Array-str.cc: New files. | |
12087 | |
12088 * Array.h (Array::qsort): New function. | |
12089 | |
12090 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12091 | |
12092 * Array.h: Nest ArrayRep class inside Array class. | |
12093 Refer to ArrayRep, not ArrayRep<T>. | |
12094 Move all ArrayRep functions inline. | |
12095 Don't declare other Array classes as friends of ArrayRep. | |
12096 * Array.cc: Delete ArrayRep functions. | |
12097 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. | |
12098 | |
12099 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: | |
12100 Don't instantiate ArrayRep objects. | |
12101 | |
12102 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12103 | |
12104 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
12105 New constructor. | |
12106 | |
12107 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12108 | |
12109 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* | |
12110 for balance_job arg. | |
12111 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. | |
12112 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. | |
12113 | |
12114 * chMatrix.cc (row_as_string): Return string, not const char*. | |
12115 | |
12116 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12117 | |
12118 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. | |
12119 | |
12120 * chMatrix.cc (row_as_string): Undo previous change. | |
12121 | |
12122 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12123 | |
12124 * chMatrix.cc (row_as_string): Do memory management here. Caller | |
12125 is expected to save string if necessary. | |
12126 | |
12127 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12128 | |
12129 * Array.h (class DiagArray): Enable nested Proxy class for all | |
12130 platforms. | |
12131 | |
12132 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == | |
12133 a.rep, don't mess with count. | |
12134 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, | |
12135 don't do anything if reps are the same. | |
12136 (Array3<T>& operator = (const Array3<T>&) | |
12137 | |
12138 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): | |
12139 Declare private with no definition to prevent misuse. | |
12140 | |
12141 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): | |
12142 Get range check right. | |
12143 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. | |
12144 (Matrix::insert (const ColumnVector&, int, int)): Ditto. | |
12145 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. | |
12146 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. | |
12147 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. | |
12148 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. | |
12149 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. | |
12150 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. | |
12151 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. | |
12152 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. | |
12153 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. | |
12154 * dColVector.cc | |
12155 (ColumnVector::insert (const ColumnVector&, int)): Ditto. | |
12156 * CRowVector.cc | |
12157 (ComplexRowVector::insert (const RowVector&, int)): Ditto. | |
12158 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. | |
12159 * CColVector.cc | |
12160 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. | |
12161 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. | |
12162 | |
12163 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): | |
12164 Also fill in zeros, not just the diagonal. | |
12165 | |
12166 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): | |
12167 Use END parameter properly. | |
12168 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. | |
12169 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. | |
12170 | |
12171 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. | |
12172 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. | |
12173 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): | |
12174 Don't copy count. Set it to 1. | |
12175 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. | |
12176 | |
12177 * Array.h (Array<T>::Array (T *, int)): After constructing rep, | |
12178 don't set rep->count to 1 here (now handled by ArrayRep | |
12179 constructors). | |
12180 (Array<T>::Array (void)): Ditto. | |
12181 (Array<T>::Array (int)): Ditto. | |
12182 (Array<T>::T& elem (int)): Ditto. | |
12183 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. | |
12184 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. | |
12185 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. | |
12186 (Array<T>::resize (int)): Ditto. | |
12187 (Array<T>::resize (int, const T&)) :Ditto. | |
12188 (Array<T>::fortran_vec (void)): Ditto. | |
12189 (Array2<T>::resize (int, int)): Ditto. | |
12190 (Array2<T>::resize (int, int, const T&)): Ditto. | |
12191 (DiagArray<T>::resize (int, int)): Ditto. | |
12192 (DiagArray<T>::resize (int, int, const T&)): Ditto. | |
12193 | |
12194 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12195 | |
12196 * Array-ch.cc: Rename from Array-c.cc. | |
12197 * MArray-ch.cc: Rename from MArray-c.cc. | |
12198 * chMatrix.cc: Rename from cMatrix.cc. | |
12199 * chMatrix.h: Rename from cMatrix.h. | |
12200 * Makefile.in (TI_SRC): Use new names here. | |
12201 * mx-base.h: Likewise. | |
12202 | |
12203 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12204 | |
12205 * Makefile.in: Handle shared libraries. | |
12206 | |
12207 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12208 | |
12209 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): | |
12210 Correctly compute length of return value. Correct rows and | |
12211 columns in zgemv call. | |
12212 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. | |
12213 | |
12214 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12215 | |
12216 * Makefile.in (stamp-picdir): New target. | |
12217 (all): Depend on it. | |
12218 | |
12219 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12220 | |
12221 * Makefile.in (INCLUDES): Remove QLD.h. | |
12222 (SOURCES): Remove QLD.cc. | |
12223 | |
12224 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12225 | |
12226 * dMatrix.cc (Matrix::inverse): New arg, force. | |
12227 If force is nonzero, invert even if matrix is singular. | |
12228 (ComplexMatrix::inverse): Likewise. | |
12229 | |
12230 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, | |
12231 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, | |
12232 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: | |
12233 Include "oct-cmplx.h" instead of <Complex.h>. | |
12234 | |
12235 * mx-defs.h: Include oct-cmplx.h in place of forward declaration | |
12236 for class Complex. | |
12237 | |
12238 * oct-cmplx.h: New file. | |
12239 * Makefile.in (INCLUDES): Add it to the list. | |
12240 | |
12241 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. | |
12242 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. | |
12243 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. | |
12244 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): | |
12245 Avoid g++ bugs. | |
12246 | |
12247 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12248 | |
12249 * Array-idx.h (maybe_delete_elements): Give useful error message. | |
12250 | |
12251 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. | |
12252 | |
12253 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12254 | |
12255 * CDiagMatrix.cc (inverse): Return retval, not *this. | |
12256 * dDiagMatrix.cc (inverse): Use same method as for Complex case. | |
12257 | |
12258 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12259 | |
12260 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep | |
12261 index vector object with Array, not ArrayRep. | |
12262 | |
12263 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12264 | |
12265 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail | |
12266 if index is a colon and resizing is maybe needed. | |
12267 | |
12268 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12269 | |
12270 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true | |
12271 if we have a vector of 1's. | |
12272 | |
12273 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no | |
12274 current orientation, require index and rhs to conform unless | |
12275 do_fortran_indexing flag is set. | |
12276 | |
12277 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12278 | |
12279 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, | |
12280 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, | |
12281 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, | |
12282 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, | |
12283 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: | |
12284 Massive changes to support additional data types. Only charMatrix | |
12285 is currently used in Octave. | |
12286 | |
12287 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12288 | |
12289 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. | |
12290 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): | |
12291 Simply call Array2<Complex> version. | |
12292 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just | |
12293 call Array2<double> version. | |
12294 | |
12295 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. | |
12296 | |
12297 * Array.h, Array.cc: Massive overhaul to support new way of | |
12298 handling indexing. | |
12299 * idx-vector.h, idx-vector.cc: Likewise. | |
12300 * Array-ext.cc, Array-idx.h: New files. | |
12301 * Makefile.in: Add them to the appropriate lists. | |
12302 | |
12303 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12304 | |
12305 * Range.cc (nelem_internal): Use tfloor here, not round. | |
12306 | |
12307 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12308 | |
12309 * idx-vector.h, idx-vector.cc: New files, moved from ../src. | |
12310 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. | |
12311 | |
12312 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12313 | |
12314 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. | |
12315 | |
12316 * Array.h: Move simple member functions here. | |
12317 * Array.cc: From here. | |
12318 | |
12319 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12320 | |
12321 * Range.cc (tfloor, tceil, round): New static functions. | |
12322 (Range::nelem_internal): Rewrite to use better method. | |
12323 | |
12324 * dbleSVD.h (SVD::type): New item, sigma_only. | |
12325 (type_computed): New var. | |
12326 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): | |
12327 Handle possible error condition. | |
12328 (init): Allow for SVD::sigma_only, save type computed. | |
12329 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): | |
12330 Handle possible error condition. | |
12331 (init): Allow for SVD::sigma_only, save type computed. | |
12332 | |
12333 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12334 | |
12335 * Nearly all non-matrix .h and .cc files: | |
12336 Move short function bodies into class declarations for inlining. | |
12337 Generally clean up. | |
12338 | |
12339 * base-min.h: New file. | |
12340 * LP.h (class LP): Derive from base_minimizer. | |
12341 * QLP.h (class QLP): Derive from base_minimizer. | |
12342 * NLP.h (class NLP): Derive from base_minimizer. | |
12343 * Makefile.in (INCLUDES): Add base-min.h to the list. | |
12344 | |
12345 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, | |
12346 NLFunc.cc, Objective.cc and QP.cc from list. | |
12347 | |
12348 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12349 | |
12350 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. | |
12351 (SCHUR::SCHUR): Delete unused parameter ord. | |
12352 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. | |
12353 | |
12354 * CRowVector.cc | |
12355 (ComplexRowVector::operator+ (const Complex&, const RowVector&), | |
12356 (ComplexRowVector::operator- (const Complex&, const RowVector&), | |
12357 (ComplexRowVector::operator* (const Complex&, const RowVector&), | |
12358 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): | |
12359 Actually do something. | |
9967 | 12360 |
2330 | 12361 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. |
12362 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. | |
12363 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. | |
12364 | |
12365 * Quad.cc (Quad_options::Quad_options (double, double)): New function. | |
12366 * (Quad::Quad (integrand_fcn, double, double): Properly initialize | |
12367 tolerances. | |
9967 | 12368 |
2330 | 12369 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. |
12370 * LPsolve.cc (LPsolve::minimize): Likewise. | |
12371 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. | |
12372 * ODE.cc (lsode_f, lsode_j): Likewise. | |
12373 * QPSOL.cc (qphess): Likewise. | |
12374 | |
12375 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12376 | |
12377 * dMatrix.cc: Include <cstring>. | |
12378 | |
12379 * Array.cc: Try harder to avoid warnings from gcc in functions | |
12380 that return bogus values after calling the error handler. | |
12381 | |
12382 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12383 | |
12384 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. | |
12385 | |
12386 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. | |
12387 | |
12388 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12389 | |
12390 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. | |
12391 (dassl_j): Likewise. | |
9967 | 12392 |
2330 | 12393 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, |
12394 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, | |
12395 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: | |
12396 Update for change in for loop variable scope for gcc 2.7.0. | |
12397 | |
12398 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12399 | |
12400 * Makefile.in: Only include dependency files if $(omit_deps) is | |
12401 not set. | |
12402 | |
12403 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) | |
12404 | |
12405 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h | |
12406 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h | |
12407 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h | |
12408 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h | |
12409 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h | |
12410 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h | |
12411 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h | |
12412 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h | |
12413 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc | |
12414 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc | |
12415 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc | |
12416 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc | |
12417 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc | |
12418 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc | |
12419 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc | |
12420 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc | |
12421 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc | |
12422 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h | |
12423 NLP.h: Use pragma interface/implementation. Don't surround | |
12424 contents in extern "C++". | |
12425 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". | |
12426 | |
12427 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
12428 | |
12429 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase | |
12430 identifiers. | |
12431 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
12432 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
12433 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
12434 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
12435 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
12436 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
12437 Quad.cc: Change usage of F77_FCN to match new definition | |
12438 | |
12439 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
12440 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
12441 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
12442 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
12443 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
12444 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
12445 Quad.cc: Where appropriate, declare Fortran subroutines to take | |
12446 args by reference instead of pointer. Change all callers. | |
12447 | |
12448 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
12449 | |
12450 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New | |
12451 functions. Make += and -= operators friend functions. | |
12452 | |
12453 * Array.h (Array2::~Array2, Array3::~Array3, | |
12454 DiagArray::~DiagArray): New functions. | |
12455 | |
12456 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
12457 | |
12458 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. | |
12459 (MATRIX_INC): Don't distribute mx-kludge.h. | |
12460 | |
12461 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
12462 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
12463 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
12464 dRowVector.h dRowVector.cc: | |
12465 Derive classes from MArray, MArray2, and MDiagArray, not Array, | |
12466 Array2, and DiagArray2. | |
12467 Don't use functions defined in mx-kludge.cc for arithmetic | |
12468 like-type operations on arrays. | |
12469 | |
12470 * MArray.cc: Use the classes defined here like-type mathematical | |
12471 operations on Array objects. Abuse CPP more. | |
12472 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
12473 (EXTRAS): Delete it from this list. | |
12474 | |
12475 * MArray-C.cc, MArray-d.cc: New files. | |
12476 * Makefile.in (TI_SRC): Add them to the list. | |
12477 | |
12478 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
12479 | |
12480 * mx-kludge.cc: Abuse CPP even more. | |
12481 | |
12482 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
12483 | |
12484 * Objective.h (objective_function): Add missing const. | |
12485 (gradient_function): Likewise. | |
12486 | |
12487 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
12488 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
12489 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
12490 dRowVector.h dRowVector.cc: | |
12491 Reorganize to declare and define friends where they should be, | |
12492 based on the use of private constructors. | |
12493 | |
12494 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
12495 | |
12496 * CRowVector.h (linspace): Add declaration. | |
12497 * dRowVector.h (linspace): Likewise. | |
12498 | |
12499 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
12500 Force result of rcond + 1.0 to be stored. | |
12501 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, | |
12502 ComplexMatrix::solve): Likewise. | |
12503 | |
12504 See ChangeLog.1 in the top level directory for earlier changes. |