Mercurial > hg > octave-nkf
annotate liboctave/ChangeLog @ 8019:0ef13e15319b
replace NPOS with std::string::npos
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 07 Aug 2008 15:15:33 -0400 |
parents | 8487847eb092 |
children | 9708674ab85d |
rev | line source |
---|---|
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
|
1 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
|
2 |
8019
0ef13e15319b
replace NPOS with std::string::npos
John W. Eaton <jwe@octave.org>
parents:
8018
diff
changeset
|
3 * 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
|
4 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
|
5 |
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
|
6 * 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
|
7 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
|
8 |
8008
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
9 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
|
10 |
8009
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
11 * 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
|
12 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
|
13 |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
14 * 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
|
15 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
|
16 |
8008
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
17 * 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
|
18 here from file scope. |
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
19 |
8006
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
20 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
|
21 |
8007
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
22 * 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
|
23 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
|
24 file_ops::dir_sep_chars. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
25 (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
|
26 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
|
27 (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
|
28 file_ops::dir_sep_str. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
29 |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
30 * 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
|
31 (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
|
32 * 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
|
33 (file_ops::file_ops): New constructor. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
34 (file_ops::instance_ok): New function. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
35 (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
|
36 from dir_sep_char. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
37 (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
|
38 (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
|
39 (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
|
40 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
|
41 (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
|
42 (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
|
43 |
8006
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
44 * 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
|
45 |
7999 | 46 2008-07-30 John W. Eaton <jwe@octave.org> |
47 | |
48 * oct-inttypes.h: Style fixes. | |
49 | |
7997
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
50 2008-07-30 Jaroslav Hajek <highegg@gmail.com> |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
51 |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
52 * 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
|
53 (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
|
54 member functions. |
7999 | 55 (octave_int<T>::octave_int (const octave_int<U>&)): set trunc_flag |
56 on truncation. | |
7997
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
57 (SPECIALIZE_WIDENING_CONVERSION): New macro. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
58 (DECLARE_OCTAVE_INT_TYPENAME): New macro. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
59 |
7991
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
60 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
|
61 |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
62 * 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
|
63 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
|
64 maintains NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
65 (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
|
66 (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
|
67 detect old NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
68 (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
|
69 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
|
70 * 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
|
71 detect old NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
72 (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
|
73 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
|
74 * data-conv.cc (void read_doubles(std::istream&, double *, |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
75 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
|
76 loaded NA values is the old representation and replace it. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
77 |
7979 | 78 2008-07-28 Jaroslav Hajek <highegg@gmail.com> |
79 | |
80 * lo-math.h: Ensure log2 is undefined from cmath in C++ mode. | |
81 | |
7957
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
82 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
|
83 |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
84 * 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
|
85 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
|
86 |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
87 * 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
|
88 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
|
89 |
7955
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
90 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
|
91 |
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
92 * 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
|
93 |
7952
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
94 2008-07-19 John W. Eaton <jwe@octave.org> |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
95 |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
96 * oct-mutex.h (class octave_base_mutex): New class. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
97 (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
|
98 (octave_mutex::rep): Declare as octave_base_mutex. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
99 (octave_mutex::count): Delete. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
100 (octave_mutex::lock, octave_mutex::unlock): No longer virtual. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
101 (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
|
102 valid or set rep to zero after deleting. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
103 (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
|
104 * 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
|
105 from octave_base_mutex, not octave_mutex. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
106 |
7943
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
107 2008-07-18 John W. Eaton <jwe@octave.org> |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
108 |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
109 * 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
|
110 to 0, not count. |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
111 * 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
|
112 to 1 instead of incrementing it. |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
113 |
7941
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
114 2008-07-17 Michael Goffioul <michael.goffioul@gmail.com> |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
115 |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
116 * 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
|
117 bool, bool) into conditional HAVE_FFTW3 preprocessor statement. |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
118 |
7936
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
119 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
|
120 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
121 * 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
|
122 octave_autolock (const octave_autolock&), |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
123 octave_autolock::operator = (const octave_autolock&)): |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
124 Delete definitions. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
125 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
126 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
|
127 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
128 * 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
|
129 (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
|
130 executing handlers. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
131 (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
|
132 Autolock event_hook_lock. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
133 |
7934 | 134 2008-07-15 Michael Goffioul <michael.goffioul@gmail.com> |
135 | |
136 * oct-mutex.h, oct-mutex.cc: New files. | |
137 * Makefile.in: Add them to appropriate lists. | |
138 | |
7929 | 139 2008-07-15 John W. Eaton <jwe@octave.org> |
140 | |
141 * oct-sort.cc, oct-sort.h (octave_sort<T>::count_run): Declare | |
142 descending arg as bool&. | |
143 (octave_sort<T>::sort): Pass bool to count_run for descending arg. | |
144 | |
7922
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
145 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
|
146 |
7924 | 147 * dDiagMatrix.cc (DiagMatrix::diag): Return empty ColumnVector if |
148 number of rows or columns is 0. | |
149 * fDiagMatrix.cc (FloatDiagMatrix::diag): Likewise. | |
150 | |
151 * Array-util.cc (is_vector): Avoid GCC warning. | |
152 * Array-f.cc (Array<float>::sort): Likewise. | |
153 * Array-d.cc (Array<double>::sort): Likewise. | |
154 * dbleQR.cc (QR::QR (const Matrix&, const Matrix&)): Likewise. | |
155 * CmplxQR.cc (ComplexQR::ComplexQR (const ComplexMatrix&, const | |
156 ComplexMatrix&)): Likewise. | |
157 * floatQR.cc (FloatQR::FloatQR (const FloatMatrix&, const | |
158 FloatMatrix&)): Likewise. | |
159 * fCmplxQR.cc (FloatComplexQR::FloatComplexQR (const | |
160 FloatComplexMatrix&, const FloatComplexMatrix&)): Likewise. | |
161 * Quad.cc (IndefQuad::do_integrate (octave_idx_type&, | |
162 octave_idx_type&, float&), FloatIndefQuad::do_integrate, | |
163 DefQuad::do_integrate octave_idx_type&, octave_idx_type&, float&, | |
164 FloatIndefQuad::do_integrate): Likewise. | |
165 | |
7922
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
166 * 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
|
167 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
|
168 * 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
|
169 * Array-util.h: Provide decl. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
170 * 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
|
171 * 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
|
172 |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
173 * 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
|
174 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
|
175 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
|
176 * 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
|
177 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
|
178 Provide decl. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
179 |
7919
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
180 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
|
181 |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
182 * 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
|
183 bool, bool)): New constructor. |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
184 * dNDArray.h: Provide decl. |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
185 |
7914
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
186 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
|
187 |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
188 * 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
|
189 * lo-specfun.cc: Ditto. Add atanhf implementation. |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
190 |
7894
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
191 2008-06-20 Jaroslav Hajek <highegg@gmail.com> |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
192 |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
193 * MatrixType.h: Add missing include statement. |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
194 |
7889
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
195 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
|
196 |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
197 * 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
|
198 * fCmplxDET.cc (FloatComplexDET::initialize10): Likewise, for pow. |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
199 |
7885 | 200 2008-06-11 John W. Eaton <jwe@octave.org> |
201 | |
202 * so-array.h, so-array.cc, Array-so.cc: Delete. | |
203 * Makefile.in: Remove them from the lists. | |
204 | |
7872 | 205 2008-06-05 John W. Eaton <jwe@octave.org> |
206 | |
207 * oct-shlib.cc (octave_base_shlib::remove): Only dereference | |
208 counter if iterator is valid. | |
209 | |
7814
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
210 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
|
211 |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
212 * 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
|
213 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
|
214 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
|
215 * 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
|
216 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
|
217 * 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
|
218 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
|
219 (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
|
220 (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
|
221 (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
|
222 * 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
|
223 * 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
|
224 (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
|
225 (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
|
226 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
227 2008-06-02 David Bateman <dbateman@free.fr> |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
228 |
7810
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
229 * fCmplxLU.cc (class FloatComplexLU): Correct error in instantiation. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
230 * floatLU.cc (class FloatLU): ditto. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
231 * floatLU.h (class FloatLU): ditto. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
232 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
233 * floatAEPBAL.cc (octave_idx_type FloatAEPBALANCE::init (const |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
234 FloatMatrix&, const std::string&)): Use FloatMatrix to initialize |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
235 balancing_mat. |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
236 |
7809
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
237 * 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
|
238 (MATRIX_SRC): Add fCmplxAEPBAL.cc and floatAEPBAL.cc. |
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
239 |
7805
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
240 2008-05-21 David Bateman <dbateman@free.fr> |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
241 |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
242 * Quad-opts.in: Handle single precision tolerances. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
243 * Quad.cc (float_user_fcn): New static variable. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
244 (quad_float_fcn_ptr): New typedef. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
245 (qagp, quagi): New QUADPACK decls. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
246 (float_user_function): New function. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
247 (DefQuad::do_integrate, IndefQuad::do_integrate): Float versions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
248 (FloatDefQuad::do_integrate, FloatIndefQuad::do_integrate): |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
249 New functions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
250 * Quad.h (class Quad): Handle float type. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
251 (class FloatDefQuad, class FloatIndefQuad): New classes. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
252 |
7799 | 253 2008-05-21 Jaroslav Hajek <highegg@gmail.com> |
254 | |
7804
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
255 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
256 (xcdotc, csyrk, cherk): New F77 decls. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
257 * fMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
258 (operator * (const FloatMatrix&, const FloatMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
259 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
260 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
261 (ssyrk): New F77 decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
262 * fCMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
263 (operator * (const FloatComplexMatrix&, const |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
264 FloatComplexMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
265 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
266 |
7803 | 267 * dMatrix.cc, CMatrix.cc, Sparse-op-defs.h: Add missing copyright. |
268 | |
7802
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
269 * Sparse-op-defs.h (SPARSE_FULL_MUL): Simplify scalar*matrix case. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
270 Correct indenting. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
271 (SPARSE_FULL_TRANS_MUL): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
272 (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
|
273 Move OCTAVE_QUIT one level up. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
274 (FULL_SPARSE_MUL_TRANS): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
275 * dSparse.h (mul_trans, trans_mul): Provide decl. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
276 * dSparse.cc (mul_trans, trans_mul): New functions. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
277 * 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
|
278 * 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
|
279 |
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
|
280 * 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
|
281 * 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
|
282 (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
|
283 (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
|
284 * 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
|
285 * 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
|
286 (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
|
287 (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
|
288 |
7799 | 289 * MatrixType.cc (matrix_real_probe, matrix_complex_probe): |
290 New template functions. | |
291 (MatrixType::MatrixType (const Matrix&), | |
292 MatrixType::MatrixType (const FloatMatrix&)): | |
293 just call matrix_real_probe. | |
294 (MatrixType::MatrixType (const ComplexMatrix&), | |
295 MatrixType::MatrixType (const FloatComplexMatrix&)): | |
296 just call matrix_complex_probe. | |
297 | |
298 * MatrixType.cc (MatrixType::MatrixType (matrix_type, bool)): | |
299 add missing test for Unknown. | |
300 | |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
301 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
|
302 |
7797
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
303 * 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
|
304 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
305 (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
|
306 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
307 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
308 * 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
|
309 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
310 (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
|
311 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
312 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
313 * 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
|
314 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
315 (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
|
316 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
317 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
318 * 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
|
319 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
320 (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
|
321 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
322 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
323 |
7796
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
324 * Array.cc: Fix transpose tests. |
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
325 |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
326 * 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
|
327 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
|
328 (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
|
329 * 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
|
330 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
|
331 (FloatGEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
332 * 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
|
333 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
334 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
335 * floatAEPBAL.cc (FloatAEPBALANCE), fCmplxAEPBAL.cc |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
336 (FloatComplexAEPBALANCE): New classes for single precision |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
337 Algebraic eignvalue balancing. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
338 * 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
|
339 (FloatComplexAEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
340 * 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
|
341 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
342 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
343 * 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
|
344 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
|
345 * 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
|
346 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
347 * 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
|
348 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
349 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
350 * 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
|
351 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
|
352 * 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
|
353 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
354 * 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
|
355 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
356 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
357 * 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
|
358 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
|
359 * 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
|
360 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
361 * 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
|
362 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
363 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
364 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
365 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
366 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
|
367 ComplexQRP, FloatQRP, FloatComplexQRP): Declare classes. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
368 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
369 2008-05-20 David Bateman <dbateman@free.fr> |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
370 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
371 * 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
|
372 transpose to limit the number of cache misses. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
373 (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
|
374 for matrix conjugate transpose. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
375 * 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
|
376 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
377 * DiagArray2.cc (DiagArray2<T> DiagArray2<T>::transpose () const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
378 Specialization for diagonal arrays. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
379 (DiagArray2<T> DiagArray2<T>::transpose (T (*) (const&)) const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
380 Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
381 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
382 * 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
|
383 (MArray<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
384 * 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
|
385 * 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
|
386 * 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
|
387 * MDiagArray2.h (MDiagArray2<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
388 (MDiagArray<T> hermitian <T (*) (const&)) const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
389 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
390 * 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
|
391 * CRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
392 * dColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
393 * dRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
394 * CDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
395 * dDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
396 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
397 * 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
|
398 * fCRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
399 * fColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
400 * fRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
401 * fCDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
402 * fDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
403 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
404 * CDiagMatrix.cc (ComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
405 ComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
406 * dDiagMatrix.cc (DiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
407 * CMatrix.cc (ComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
408 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
409 * fCDiagMatrix.cc (FloatComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
410 FloatComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
411 * fDiagMatrix.cc (FloatDiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
412 * fCMatrix.cc (FloatComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
413 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
414 * lo-mappers.cc (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
415 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
416 New mapper functions for single precion values. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
417 * lo-mappers.h (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
418 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
419 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
420 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
421 * CmplxGEBAL.cc (ComplexGEPBALANCE), dbleGEPBAL.cc (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
422 fCmplxGEPBAL.cc (FloatComplexGEPBALANCE), floatGEPBAL.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
423 (FloatGEPBALANCE): New class for generalized eigenvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
424 * CmplxGEBAL.h (ComplexGEPBALANCE), dbleGEPBAL.h (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
425 fCmplxGEPBAL.h (FloatComplexGEPBALANCE), floatGEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
426 (FloatGEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
427 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
428 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
429 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
430 * floatAEPBAL.cc (FloatAEPBALANCE), fCmplxAEPBAL.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
431 (FloatComplexAEPBALANCE): New classes for single precision |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
432 Algebraic eignvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
433 * floatAEPBAL.h (FloatAEPBALANCE), fCmplxAEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
434 (FloatComplexAEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
435 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
436 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
437 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
438 * floatHESS.cc (FloatHESS), fCmplxHESS.cc (FloatComplexHESS): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
439 classes for single precision Hessenberg decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
440 * floatHESS.h (FloatHESS), fCmplxHESS.h (FloatComplexHESS): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
441 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
442 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
443 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
444 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
445 * floatQR.cc (FloatQR), fCmplxQR.cc (FloatComplexQR): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
446 classes for single precision QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
447 * floatQR.h (FloatQR), fCmplxQR.h (FloatComplexQR): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
448 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
449 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
450 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
451 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
452 * floatQRP.cc (FloatQRP), fCmplxQRP.cc (FloatComplexQRP): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
453 classes for single precision permuted QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
454 * floatQRP.h (FloatQRP), fCmplxQRP.h (FloatComplexQRP): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
455 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
456 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
457 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
458 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
459 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
460 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
461 FloatHESS, FloatComplexHESS, FloatQR, FloatComplexQR, QRP, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
462 ComplexQRP, FloatQRP, FloatComplexQRP): Declare classes. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
463 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
464 * 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
|
465 fCColVector.cc, fCColVector.h, fCDiagMatrix.cc, fCDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
466 fCMatrix.cc, fCMatrix.h, fCNDArray.cc, fCNDArray.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
467 fCRowVector.cc, fCRowVector.h, fCmplxCHOL.cc, fCmplxCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
468 fCmplxDET.cc, fCmplxDET.h, fCmplxLU.cc, fCmplxLU.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
469 fCmplxSCHUR.cc, fCmplxSCHUR.h, fCmplxSVD.cc, fCmplxSVD.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
470 fColVector.cc, fColVector.h, fDiagMatrix.cc, fDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
471 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
|
472 fRowVector.cc, fRowVector.h, floatCHOL.cc, floatCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
473 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
|
474 floatSCHUR.h, floatSVD.cc, floatSVD.h: New files. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
475 * 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
|
476 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
477 * 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
|
478 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
|
479 MatrixType.cc, MatrixType.h, SparseCmplxQR.cc, SparseCmplxQR.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
480 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
|
481 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
|
482 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
|
483 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
|
484 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
|
485 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
|
486 Allow single precision types. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
487 |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
488 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
|
489 |
7788 | 490 * CMatrix.cc (double rcond): Replace with double rcon everywhere |
491 to avoid shadowed variable warning | |
492 (double ComplexMatrix::rcond (void) const): New method for | |
493 reciprocal condition number calculation. | |
494 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
495 * CMatrix.h (double rcond): Replace with double rcon everywhere | |
496 to avoid shadowed variable warning | |
497 (double ComplexMatrix::rcond (void) const): New method for | |
498 reciprocal condition number calculation. | |
499 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
500 * dMatrix.cc (double rcond): Replace with double rcon everywhere | |
501 to avoid shadowed variable warning | |
502 (double Matrix::rcond (void) const): New method for | |
503 reciprocal condition number calculation. | |
504 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
505 * dMatrix.h (double rcond): Replace with double rcon everywhere | |
506 to avoid shadowed variable warning | |
507 (double Matrix::rcond (void) const): New method for | |
508 reciprocal condition number calculation. | |
509 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
510 | |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
511 * 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
|
512 expression matching |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
513 * 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
|
514 (LIBOCTAVE_CXX_SOURCES): regex-match.cc here. |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
515 |
7776 | 516 2008-05-19 David Bateman <dbateman@free.fr> |
517 | |
518 * dSparse.cc: Replace some DGBCON with GPBCON where they are | |
519 incorrectly used. | |
520 | |
7774
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
521 2008-05-13 David Bateman <dbateman@free.fr> |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
522 |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
523 * 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
|
524 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
|
525 is not zero. |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
526 |
7758
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
527 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
|
528 |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
529 * 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
|
530 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
|
531 * 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
|
532 (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
|
533 * 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
|
534 * 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
|
535 |
7757
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
536 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
|
537 |
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
538 * 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
|
539 |
7749
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
540 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
|
541 |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
542 * 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
|
543 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
|
544 * 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
|
545 Likewise. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
546 (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
|
547 Adjust all uses. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
548 (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
|
549 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
|
550 (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
|
551 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
|
552 |
7740 | 553 2008-04-30 Jaroslav Hajek <highegg@gmail.com> |
554 | |
555 * lo-mappers.cc (xlog2 (double)): Compute log (2), not log2 (2). | |
556 (xlog2 (Complex), xlog2 (double, int&), xlog2 (Complex, int&)): | |
557 New functions. | |
558 * lo-mappers.h: Provide decls. | |
559 | |
7735
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
560 2008-04-25 Michael Goffioul <michael.goffioul@gmail.com> |
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
561 |
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
562 * 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
|
563 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
|
564 |
7732
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
565 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
|
566 |
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
567 * 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
|
568 |
7727
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
569 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
|
570 |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
571 * 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
|
572 Fix for-loop condition. |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
573 |
7725
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
574 2008-04-19 Jaroslav Hajek <highegg@gmail.com> |
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
575 |
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
576 * 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
|
577 |
7717
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
578 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
|
579 |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
580 * 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
|
581 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
582 * 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
|
583 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
584 * 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
|
585 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
586 * 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
|
587 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
588 |
7707
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
589 2008-04-09 Michael Goffioul <michael.goffioul@gmail.com> |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
590 |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
591 * lo-mappers.cc (xround): Avoid floating-point overflow when input |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
592 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
|
593 |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
594 * 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
|
595 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
|
596 __WIN32__ platforms. |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
597 |
7700
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
598 2008-04-07 Jaroslav Hajek <highegg@gmail.com> |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
599 |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
600 * dbleQR.h, dbleQR.cc (QR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
601 * CmplxQR.h, CmplxQR.cc (ComplexQR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
602 * 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
|
603 CHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
604 * CmplxCHOL.h, CmplxCHOL.cc (ComplexCHOL::insert_sym, |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
605 ComplexCHOL::delete_sym, ComplexCHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
606 |
7695
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
607 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
|
608 |
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
609 * 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
|
610 |
7671
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
611 2008-03-27 Jaroslav Hajek <highegg@gmail.com> |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
612 |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
613 * oct-lookup.h: New file. |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
614 |
7646
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
615 2008-03-26 David Bateman <dbateman@feee.fr> |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
616 |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
617 * Array.cc (assignN): Additional fix for vector assignments. |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
618 |
7642
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
619 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
|
620 |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
621 * 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
|
622 original matrix is empty. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
623 * 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
|
624 function. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
625 * 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
|
626 |
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
|
627 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
|
628 |
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
|
629 * 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
|
630 (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
|
631 * 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
|
632 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
|
633 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
|
634 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
635 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
|
636 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
637 * lo-mappers.cc (xtrunc): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
638 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
639 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
640 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
|
641 |
7638
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
642 * lo-specfun.cc (expm1, log1p): New functions. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
643 * lo-specfun.h: Provide decls. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
644 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
645 * lo-mappers.cc (xroundb): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
646 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
647 |
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
|
648 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
|
649 |
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
|
650 * 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
|
651 array case, except for 64bit cases. |
43e3efb2cbc2
Add integer el_div and el_ldiv operators to the binops that were missing them
David Bateman <dbateman@free.fr>
parents:
7620
diff
changeset
|
652 |
7619 | 653 2008-03-21 David Bateman <dbateman@free.fr> |
654 | |
655 * oct-sparse.h: Add headers for amd.h. | |
656 | |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
657 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
|
658 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
659 * 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
|
660 method for diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
661 * 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
|
662 * 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
|
663 * 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
|
664 * 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
|
665 * 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
|
666 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
667 * 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
|
668 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
669 * 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
|
670 * 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
|
671 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
672 * 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
|
673 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
674 * Range.h (Matrix diag (octave_idx_type) const): Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
675 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
676 * CDiagMatrix.cc (ComplexColumnVector ComplexDiagMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
677 (void) const): delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
678 * 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
|
679 * 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
|
680 * 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
|
681 delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
682 * 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
|
683 * 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
|
684 * 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
|
685 * 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
|
686 * 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
|
687 * 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
|
688 * 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
|
689 * 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
|
690 * intNDArray.h (intNDArray<T> diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
691 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
692 * 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
|
693 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
|
694 * 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
|
695 return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
696 * 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
|
697 terms of template classes function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
698 * 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
|
699 * 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
|
700 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
|
701 * boolMatrix.h (boolMatrix diag (octave_idx_type) const): Change |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
702 return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
703 * 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
|
704 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
|
705 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
706 * 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
|
707 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
|
708 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
709 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
710 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
711 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
712 * 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
|
713 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
714 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
715 * CNDArray.cc (ComplexNDArray ComplexNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
716 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
717 * 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
|
718 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
719 * 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
|
720 method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
721 * 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
|
722 * chNDArray.cc (charNDArray charNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
723 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
724 * 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
|
725 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
726 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
727 |
7609
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
728 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
|
729 |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
730 * 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
|
731 relative filenames. |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
732 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
733 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
|
734 |
7605
48488cca0006
Fix for array indexing if original matrix is empty
David Bateman <dbateman@free.fr>
parents:
7602
diff
changeset
|
735 * 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
|
736 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
|
737 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
738 * 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
|
739 const): New template function. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
740 * 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
|
741 const): ditto. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
742 * 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
|
743 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
|
744 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
|
745 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
|
746 * 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
|
747 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
|
748 SparseBoolMatrix SparseComplexMatrix::map (bmapper) const): ditto. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
749 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
750 2008-03-18 David Bateman <dbateman@free.fr> |
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
751 |
7601
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
752 * 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
|
753 * 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
|
754 * randpoison.c (xlgamma): Use lgamma if HAVE_LGAMMA is defined. |
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
755 |
7600
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
756 * 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
|
757 * CNDarray.cc (ComplexNDArray::min, CompelxNDArray::max): ditto. |
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
758 * intNDarray.cc (intNDArray<T>::min, intNDArray<T>::max): ditto. |
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
759 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
760 * 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
|
761 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
|
762 |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
763 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
|
764 |
7598
a89b3fa632ee
partial specialization for octave_int_fit_to_range
John W. Eaton <jwe@octave.org>
parents:
7597
diff
changeset
|
765 * 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
|
766 Use partial specialization for double values. |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
767 |
7573
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
768 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
|
769 |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
770 * 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
|
771 * 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
|
772 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
|
773 * idx-vector.cc, idx-vector.h |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
774 (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
|
775 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
|
776 (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
|
777 (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
|
778 (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
|
779 |
7572
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
780 2008-03-07 John W. Eaton <jwe@octave.org> |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
781 |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
782 * 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
|
783 IDX_VEC_REP::idx_vector_rep (const boolNDArray&)): |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
784 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
|
785 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
|
786 (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
|
787 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
788 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
|
789 |
7560
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
790 * dbleQR.cc (QR::insert_col, QR::insert_row, |
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
791 QR::delete_col, QR::delete_row): Use 0-based indexing. |
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
792 * CmplxQR.cc (ComplexQR::insert_col, ComplexQR::insert_row, |
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
793 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
|
794 |
7559
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
795 * dbleCHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
796 * CmplxHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
797 * 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
|
798 * 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
|
799 * 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
|
800 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
801 2008-03-04 Jaroslav Hajek <highegg@gmail.com> |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
802 |
7554
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
803 * dbleCHOL.cc (CHOL::set, CHOL::update, CHOL::downdate): |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
804 New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
805 * dbleCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
806 * CmplxCHOL.cc (ComplexCHOL::set, ComplexCHOL::update, |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
807 ComplexCHOL::downdate): New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
808 * CmplxCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
809 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
810 * 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
|
811 QR::insert_row, QR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
812 (QR::QR (const Matrix&, const MAtrix&)): New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
813 * dbleQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
814 * CmplxQR.cc (ComplexQR::update, ComplexQR::insert_col, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
815 ComplexQR::delete_col, ComplexQR::insert_row, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
816 ComplexQR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
817 (ComplexQR::ComplexQR (const ComplexMatrix&, const ComplexMAtrix&)): |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
818 New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
819 * CmplxQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
820 |
7549
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
821 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
|
822 |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
823 * 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
|
824 of < and > operators. |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
825 |
7546
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
826 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
|
827 |
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
828 * 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
|
829 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
|
830 |
7545 | 831 2008-03-03 Jaroslav Hajek <highegg@gmail.com> |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
832 |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
833 * dMatrix.cc (Matrix::lssolve): Also avoid dgelsd lwork query bug |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
834 in lssolve method that accepts column vector argument. Correct |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
835 calculation of nlvl. |
7545 | 836 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd. |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
837 |
7537
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
838 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
|
839 |
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
840 * 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
|
841 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
842 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
|
843 |
7536 | 844 * oct-rand.cc (get_dist_id): Fix typo. |
845 (get_dist_id, octave_rand::distribution, octave_rand::scalar, | |
846 fill_rand): Improve error messages. | |
847 | |
7535
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
848 * 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
|
849 (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
|
850 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
|
851 (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
|
852 |
7533
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
853 * 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
|
854 (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
|
855 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
|
856 (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
|
857 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
|
858 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
|
859 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
|
860 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
|
861 (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
|
862 (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
|
863 (octave_rand::uniform_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
864 octave_rand::normal_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
865 octave_rand::exponential_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
866 octave_rand::poisson_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
867 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
|
868 (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
|
869 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
|
870 (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
|
871 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
872 * 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
|
873 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd |
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
874 |
7521
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
875 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
|
876 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
877 * 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
|
878 specializations for signed and unsigned types. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
879 (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
|
880 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
|
881 octave_int_helper class. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
882 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
883 * 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
|
884 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
|
885 with "template <>". |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
886 |
7520 | 887 2008-02-22 John W. Eaton <jwe@octave.org> |
888 | |
889 * CSparse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc, | |
890 file-ops.cc, oct-group.cc, oct-shlib.cc, sparse-base-chol.h, | |
891 sparse-dmsolve.cc: Use 0 instead of NULL. | |
892 | |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
893 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
|
894 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
895 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
896 (octave_idx_type) const): New method. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
897 * boolSparse.h (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
898 (octave_idx_type) const): Declare it. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
899 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
900 * 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
|
901 factorization of xGETRF directly. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
902 * sparse-base-lu.cc (template <class lu_type, class lu_elt_type, |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
903 class p_type, class p_elt_type> lu_type sparse_base_lu <lu_type, |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
904 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
|
905 to simulate the retirn of xGETRF. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
906 * sparse-base-lu.h (template <class lu_type, class lu_elt_type, |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
907 class p_type, class p_elt_type> lu_type sparse_base_lu <lu_type, |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
908 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
|
909 (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
|
910 * 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
|
911 scaling. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
912 * SparseCmplxLU.cc: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
913 * 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
|
914 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
|
915 * SparseCmplxLU.h: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
916 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
917 * 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
|
918 return permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
919 * 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
|
920 * 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
|
921 return row permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
922 (ColumnVector Pc_vec (void) const): New method return column |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
923 permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
924 * 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
|
925 (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
|
926 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
927 * oct-spparms.cc: Add sym_tol field. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
928 |
7505
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
929 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
|
930 |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
931 * SparseComplexQR.cc (ComplexMatrix |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
932 SparseComplexQR::SparseComplexQR_rep::Q |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
933 (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
|
934 * SparseComplexQR.h (ComplexMatrix |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
935 SparseComplexQR::SparseComplexQR_rep::Q |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
936 (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
|
937 * 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
|
938 * 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
|
939 |
7503
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
940 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
|
941 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
942 * boolNDArray.h (boolNDArray (const Array2<bool>&)): Delete. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
943 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
944 * Marray2.h (MArray2 (const Array2<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
945 MArray2 (const MArray2<U>&)): New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
946 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
947 * Array2.h (Array2 (const Array<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
948 Array2 (const Array<U>&, const dim_vector&)): |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
949 New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
950 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
951 * CColVector.cc (ComplexColumnVector::map): Forward to MArray::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
952 * dColVector.cc (ColumnVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
953 * CRowVector.cc (ComplexRowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
954 * dRowVector.cc (RowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
955 * CMatrix.cc (ComplexMatrix::map): Forward to MArray2::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
956 * dMatrix.cc (Matrix::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
957 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
958 * dNDArray.cc (NDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
959 * dNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
960 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
961 * CNDArray.cc (ComplexNDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
962 * CNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
963 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
964 * MArray2.h (MArray2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
965 * Array2.h (Array2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
966 * MArrayN.h (MArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
967 * ArrayN.h (ArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
968 * Array.h (Array<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
969 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
970 * functor.h: New file. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
971 * Makefile.in (INCLUDES): Add it to the list. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
972 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
973 2008-02-20 David Bateman <dbateman@free.fr> |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
974 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
975 * CColVector.h, CColVector.cc (ComplexColumnVector::apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
976 * dColVector.h, dColVector.cc (ColumnVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
977 * CRowVector.h, CRowVector.cc (ComplexRowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
978 * dRowVector.h, dRowVector.cc (RowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
979 * CMatrix.h, CMatrix.cc (ComplexMatrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
980 * dMatrix.h, dMatrix.cc (Matrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
981 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
982 * CSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
983 (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
|
984 * CSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
985 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
986 * dSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
987 (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
|
988 * dSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
989 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
990 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
991 * intNDArray.cc (abs, signum): Two new mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
992 * intNDArray.h (abs, signum): Declare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
993 * 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
|
994 base type. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
995 |
7486
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
996 2008-02-15 John W. Eaton <jwe@octave.org> |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
997 |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
998 * 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
|
999 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
|
1000 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
1001 |
7482
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
1002 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
|
1003 |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
1004 * 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
|
1005 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
|
1006 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
|
1007 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
|
1008 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
|
1009 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
|
1010 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc: |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
1011 Don't check f77_exception_encountered. |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
1012 |
7477 | 1013 2008-02-12 John W. Eaton <jwe@octave.org> |
1014 | |
1015 * CMatrix.cc: Declare xilaenv instead of ilaenv. | |
1016 (ComplexMatrix::lssolve): Call xilaenv instead of ilaenv. | |
1017 | |
7476 | 1018 2008-02-12 Jason Riedy <ejr@cs.berkeley.edu> |
1019 | |
7480 | 1020 * Array.cc (ascending_compare, descending_compare): Remove |
1021 non-standard extern in the instantiations. | |
1022 | |
1023 * oct-sort.cc: Include <cstring> and sprinkle with std:: as needed. | |
1024 | |
7476 | 1025 * dMatrix.cc (ILAENV): Declare LAPACK Fortran function. |
1026 (Matrix::lssolve): Use ILAENV to query smlsiz. And add an ugly | |
1027 workaround for DGELSD's broken lwork query. The formula is from | |
1028 LAPACK's dgelsd.f source and allocates enough workspace to use an | |
1029 efficient algorithm in the short-and-fat case (n > m). | |
1030 * CMatrix.cc (ILAENV): Declare LAPACK Fortran function. | |
1031 (ComplexMatrix::lssolve): Use ILAENV to query smlsiz. And add an | |
1032 ugly workaround for DGELSD's broken lwork query, as with double. | |
1033 | |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
1034 2008-02-12 John W. Eaton <jwe@octave.org> |
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
1035 |
7470
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
1036 * sparse-sort.cc: Don't explicitly instantiate |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
1037 class octave_sort<octave_idx_vector_sort *>, |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
1038 class octave_sort<octave_idx_type>, or |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
1039 class octave_sort<octave_sparse_sort_idxl *>. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
1040 |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
1041 * Sparse.h (INSTANTIATE_SPARSE_SORT): Delete macro. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
1042 * 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
|
1043 |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
1044 * 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
|
1045 |
7466
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
1046 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
|
1047 |
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
1048 * 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
|
1049 |
7463
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
1050 2008-02-08 John W. Eaton <jwe@octave.org> |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
1051 |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
1052 * oct-sort.h (enum sortmode): Eliminate UNDEFINED. Change all |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
1053 uses of UNDEFINED to ASCENDING. |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
1054 |
7457 | 1055 2008-02-07 John W. Eaton <jwe@octave.org> |
1056 | |
7458 | 1057 * Range.cc (Range::sort_internal): Rename from sort. New arg, |
1058 ASCENDING, with default value of true. | |
1059 (Range::sort_internal (Array<octave_idx_type>&, bool)): New function. | |
1060 (Range::sort (octave_idx_type, sortmode) const): New function. | |
1061 (Range::sort (Array<octave_idx_type>&, octave_idx_type, sortmode) | |
1062 const): New function. | |
1063 * Range.h: Fix/provide decls. | |
1064 | |
7457 | 1065 * intNDArray.cc (intNDArray<T>::any (int)): Use != for comparison. |
1066 | |
7449 | 1067 2008-02-06 John W. Eaton <jwe@octave.org> |
1068 | |
1069 * Makefile.in ($(OPTS_INC)): Use mv instead of move-if-change. | |
1070 (stamp-prereq): Eliminate. | |
1071 (clean): Don't remove stamp-prereq. | |
1072 (libraries): Don't depend on stamp-prereq. | |
1073 (PREREQ): New macro. | |
1074 ($(MAKEDEPS)): Depend on $(PREREQ), not stamp-prereq. | |
1075 (distclean): Simplify with $(PREREQ). | |
1076 (OPT_BASE): New macro. | |
1077 (OPT_IN): Rename from OPTS_INC_DATA. Define in terms of OPT_BASE. | |
1078 (OPT_INC): Rename from OPTS_INC. Define in terms of OPT_BASE. | |
1079 | |
7448 | 1080 2008-02-05 John W. Eaton <jwe@octave.org> |
1081 | |
1082 * Makefile.in: Unconditionally include $(MAKEDEPS). | |
1083 Mark $(MAKEDEPS) as .PHONY targets if omit_deps is true. | |
1084 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
1085 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> |
7443 | 1086 |
1087 * Array.cc (ascending_compare, descending_compare, | |
1088 Array<T>::sort): Declare explicit specialization for T=double to | |
1089 avoid symbol duplication error at link time. | |
1090 * Array-d.cc (ascending_compare, descending_compare): Declare and | |
1091 define as nonmember functions, not member functions of Array<T>. | |
1092 | |
7442 | 1093 2008-02-03 John W. Eaton <jwe@octave.org> |
1094 | |
1095 * Array-i.cc: Also instantiate Arrays for long long type if it exists. | |
1096 | |
1097 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> | |
1098 | |
1099 * Array.cc: Don't include Range.h. | |
1100 | |
7433 | 1101 2008-01-31 David Bateman <dbateman@free.fr> |
1102 | |
1103 * oct-sort.cc: conversion of int to octave_idx_type where needed | |
1104 for 64-bit builds. | |
1105 (IFLT): Allow IFLT macro to be overridden. | |
1106 * oct-sort.h: conversion of int to octave_idx_type where needed | |
1107 for 64-bit builds. | |
1108 (enum sortmode): Type of sort to perform. | |
1109 (vec_index): Simple class to aid in indexed sorts. | |
1110 | |
1111 * Array.h ( Array<T> sort (octave_idx_type, sortmode) const, | |
1112 Array<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
1113 sortmode) const): Array sorting methods. | |
1114 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT): Macros to | |
1115 instantiate the array sorting methods. | |
1116 * Array.cc (ascending_compare, descending_compare): New template | |
1117 functions for generic sort comparison. | |
1118 ( Array<T> Array<T>::sort (octave_idx_type, sortmode) const, | |
1119 Array<T> Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, | |
1120 sortmode) const): Array sorting functions based of octave_sort | |
1121 class. | |
1122 * Array-C.cc: Instantiate the complex array sort methods. | |
1123 (IFLT): New macro to override the one in the | |
1124 octave_sort class to avoid need for Complex < and > operators. | |
1125 (static double xabs (const Complex&)): Complex abs function | |
1126 avoiding std::abs(Inf) returning NaN with some compilers. | |
1127 (ascending_compare, descending compare): override template | |
1128 functions for complex comparison. | |
1129 * Array-d.cc: Instantiate the double array sort methods. | |
1130 (Array<double> Array<double>::sort (octave_idx_type, | |
1131 sortmode) const, Array<double> Array<double>::sort | |
1132 (Array<octave_idx_type> &, octave_idx_type, sortmode) const): | |
1133 Array sorting functions based of octave_sort using uint64 sorting | |
1134 on IEE754 doubles, for speed and correct sorting of Inf and NaN. | |
1135 (ascending_compare, descending compare): override template | |
1136 functions for double and uint64 comparison. | |
1137 * Array-b.cc, Array-ch.cc, Array-i.cc, Array-s.cc, Array-str.cc: | |
1138 Instantiate the array sort methods. | |
1139 * Array-idx-vec.cc: Null instantiation of array sort methods. | |
1140 * Array2.h, Array3.h, ArrayN.h (sort): 2, 3 and N-dimensional | |
1141 versions of the sort methods based on Array<T>::sort. | |
1142 | |
1143 * CSparse.cc, dSparse.cc: Remove inclusion of octa-sort.h. | |
1144 * Sparse.h ( Sparse<T> sort (octave_idx_type, sortmode) const, | |
1145 Sparse<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
1146 sortmode) const): Sparse sorting methods. | |
1147 (INSTANTIATE_ARRAY_SORT): Macro to instantiate the sparse sorting | |
1148 methods. | |
1149 * Sparse.cc: replace sort with lsort throughout to avoid shadowing | |
1150 of new sort method. | |
1151 (sparse_ascending_compare, sparse_descending_compare): New template | |
1152 functions for generic sort comparison. | |
1153 ( Sparse<T> Sparse<T>::sort (octave_idx_type, sortmode) const, | |
1154 Sparse<T> Sparse<T>::sort (Sparse<octave_idx_type> &, octave_idx_type, | |
1155 sortmode) const): Sparse sorting functions based of octave_sort | |
1156 class. | |
1157 * Sparse-C.cc: Instantiate the complex sparse sort methods. | |
1158 (IFLT): New macro to override the one in the | |
1159 octave_sort class to avoid need for Complex < and > operators. | |
1160 (static double xabs (const Complex&)): Complex abs function | |
1161 avoiding std::abs(Inf) returning NaN with some compilers. | |
1162 (sparse_ascending_compare, sparse_descending compare): override | |
1163 template functions for complex comparison. | |
1164 * Sparse-d.cc: Instantiate the cdouble sparse sort methods. | |
1165 (sparse_ascending_compare, sparse_descending compare): override | |
1166 template functions for double comparison. | |
1167 * Array-b.cc: Instantiate the sparse sort methods. | |
1168 | |
7422 | 1169 2008-01-25 Jaroslav Hajek <highegg@gmail.com> |
1170 | |
1171 * idx-vector.h (idx_vector::idx_vector_rep::range_base, | |
1172 idx_vector::idx_vector_rep::range_step, | |
1173 idx_vector::idx_vector_rep::range_step): New data members. | |
1174 (idx_vector::idx_vector_rep::idx_vector_rep): Initialize them. | |
1175 * idx-vector.cc (IDX_VEC_REP::sort, IDX_VEC_REP::is_colon_equiv, | |
1176 IDX_VEC_REP::init_state, IDX_VEC_REP::operator =, | |
1177 IDX_VECTOR_REP::idx_vector_rep): Handle range. | |
1178 | |
7416 | 1179 2008-01-18 Marco Caliari <marco.caliari@univr.it> |
1180 | |
1181 * dMatrix.cc (Matrix::expm): Correctly perform reverse permutation. | |
1182 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
1183 | |
7408 | 1184 2008-01-22 Michael Goffioul <michael.goffioul@gmail.com> |
7407 | 1185 |
1186 * oct-time.cc (octave_base_tim::init): Validate pointer argument; | |
1187 this fixes the "localtime(-1)" crash under Windows. | |
1188 | |
7400 | 1189 2008-01-18 John W. Eaton <jwe@octave.org> |
1190 | |
1191 * dMatrix.cc (solve_singularity_warning): New function. | |
1192 (Matrix::expm): Pass pointer to solve_singularity_warning to | |
1193 Matrix::solve method. Exit early if Matrix::solve fails. | |
1194 Limit sqpow value to avoid overflowing scale factor. | |
1195 * CMatrix.cc (solve_singularity_warning): New function. | |
1196 (ComplexMatrix::expm): Pass pointer to solve_singularity_warning to | |
1197 ComplexMatrix::solve method. Exit early if ComplexMatrix::solve fails. | |
1198 Limit sqpow value to avoid overflowing scale factor. | |
7402 | 1199 From Marco Caliari <marco.caliari@univr.it>. |
7400 | 1200 |
7356 | 1201 2008-01-10 Kim Hansen <kimhanse@gmail.com> |
1202 | |
1203 * Sparse.cc: New tests for slicing of sparse matrices. | |
1204 | |
7350 | 1205 2008-01-07 David Bateman <dbateman@free.fr> |
1206 | |
1207 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Don't break from | |
1208 loop if this test succeeds. | |
1209 | |
7342 | 1210 2008-01-03 David Bateman <dbateman@free.fr> |
1211 | |
1212 * MSparse.cc (SPARSE_A2A2_OP): If first arg is scalar zero, then | |
1213 need unary operator on remaining argument | |
1214 * Sparse-op-defs.h (SPARSE_SMSM_BIN_OP_1): ditto. | |
1215 | |
7334 | 1216 2007-12-21 John W. Eaton <jwe@octave.org> |
1217 | |
1218 Version 3.0.0 released. | |
1219 | |
7322 | 1220 2007-12-18 David Bateman <dbateman@free.fr> |
1221 | |
1222 * Sparse.cc (template <class T> Sparse<T> Sparse<T>::index | |
1223 (idx_vector&, int) const): Fix case indexing of non zero scalar | |
1224 stored as a sparse matrix. | |
1225 (template <class T> Sparse<T> Sparse<T>::index (idx_vector&, | |
1226 idx_vector&, int) const): For the non permutated indexing case, | |
1227 fix link list calculation and use. | |
1228 | |
7321 | 1229 2007-12-17 John W. Eaton <jwe@octave.org> |
1230 | |
1231 * Array.cc (Array<T>::indexN): Correctly handle scalar indexed by | |
1232 N-d array. | |
1233 | |
7318 | 1234 2007-12-17 David Bateman <dbateman@free.fr> |
1235 | |
1236 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Use ridx for row | |
1237 index. | |
1238 | |
7299 | 1239 2007-12-11 John W. Eaton <jwe@octave.org> |
1240 | |
1241 * Sparse.cc (Sparse<T>::index (idx_vector&, int) const): | |
1242 If indexing scalar with empty matrix, return empty array with same | |
1243 size as index. | |
1244 | |
7272 | 1245 2007-12-10 John W. Eaton <jwe@octave.org> |
1246 | |
7279 | 1247 * NLEqn.h (NLEqn::fval): New data member. Adjust constructors |
1248 and assignment operator. | |
1249 (NLEqn::function_value): New function. | |
1250 * NLEqn.cc (NLEqn::solve): If solution is successful, compute | |
1251 function value. | |
1252 | |
7272 | 1253 * file-ops.cc (file_ops::concat): New function. |
1254 * file-ops.h: Provide decl. | |
1255 | |
7270 | 1256 2007-12-07 John W. Eaton <jwe@octave.org> |
1257 | |
1258 * oct-time.cc (octave_base_tm::init): Only assign t->tm_zone if it | |
1259 is not 0. | |
1260 | |
7269 | 1261 2007-12-07 David Bateman <dbateman@free.fr> |
1262 | |
1263 * Sparse-op-defs.h (SPARSE_SMS_CMP_OP, SPARSE_SMS_BOOL_OP, | |
1264 SPARSE_SSM_CMP_OP, SPARSE_SSM_BOOL_OP, SPARSE_SMSM_CMP_OP, | |
1265 SPARSE_SMSM_BOOL_OP, SPARSE_BASE_REDUCTION_OP): Use sparse | |
1266 indexing where possible rather than the elem method. | |
1267 (SPARSE_REDUCTION_OP_ROW_EXPR, SPARSE_REDUCTION_OP_COL_EXPR, | |
1268 SPARSE_ANY_ALL_OP_ROW_CODE, SPARSE_ANY_ALL_OP_COL_CODE): | |
1269 Replace for new version of SPARSE_BASE_REDUCTION_OP. | |
1270 (SPARSE_ALL_OP): Specialize the initial value, and only treat dim | |
1271 = 0 directly. | |
1272 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::sumsq (int) | |
1273 const): Replace ROW_EXPR and COL_EXPR functions for new version of | |
1274 SPARSE_BASE_REDUCTION_OP. | |
1275 (SparseComplexMatrix SparseComplexMatrix::prod (int) const): | |
1276 Specialize the initial value, and only treat dim = 0 directly. | |
1277 * dSparse.cc (SparseMatrix SparseMatrix::sumsq (int) const): | |
1278 ditto. | |
1279 (SparseMatrix SparseMatrix::prod (int) const): ditto. | |
1280 | |
7265 | 1281 2007-12-06 John W. Eaton <jwe@octave.org> |
1282 | |
1283 * CMatrix.cc (ComplexMatrix::expm): Update pointers to internal | |
1284 data for npp and dpp after assignments. | |
1285 * dMatrix.cc (Matrix::expm): Use same method as ComplexMatrix::expm. | |
1286 | |
7253 | 1287 2007-12-04 John W. Eaton <jwe@octave.org> |
1288 | |
1289 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1290 Do nothing if one index is empty. | |
1291 | |
7246 | 1292 2007-12-04 David Bateman <dbateman@free.fr> |
1293 | |
1294 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1295 Resize matrix as well if one dimension of lhs is zero and the rhs | |
1296 index exceeds the lhs index. | |
1297 * Sparse.cc (assign1 (Sparse<LT>&, const Sparse<RT>&)): | |
1298 Don't resize to a smaller matrix for empty matrices with a max rhs | |
1299 index smaller than the non zero lhs index. | |
1300 | |
1301 2007-12-04 Michael Goffioul <michael.goffioul@gmail.com> | |
1302 | |
1303 * Array-util.h: Tag permute_vector_compare with OCTAVE_API. | |
1304 | |
7241 | 1305 2007-12-03 Moritz Borgmann <octave@moriborg.de> |
1306 | |
1307 * Array-util.cc (permute_vector_compare): Move here from Array.cc. | |
1308 * Array-util.h (permute_vector, permute_vector_compare): Provide decls. | |
1309 * Array.cc (permute_vector, permute_vector_compare): Delete. | |
1310 | |
7238 | 1311 2007-12-03 David Bateman <dbateman@free.fr> |
1312 | |
1313 * Sparse.cc (template <class LT, class RT> int assign | |
1314 (Sparse<LT>&, const Sparse<RT>&)): Only set return matrix size to | |
1315 rhs values if both no. rows and columns are zero. | |
1316 | |
7231 | 1317 2007-11-30 John W. Eaton <jwe@octave.org> |
1318 | |
7234 | 1319 * oct-sort.cc, oct-sort.h: Style fixes. |
1320 | |
7231 | 1321 * lo-math.h: New file. |
1322 * Makefile.in (INCLUDES): Add it to the list. | |
1323 * liboctave/Array2.h, liboctave/ArrayN.h, liboctave/CmplxDET.cc, | |
1324 liboctave/DASPK.cc, liboctave/DASPK.h, liboctave/DASRT.cc, | |
1325 liboctave/DASRT.h, liboctave/DASSL.cc, liboctave/DASSL.h, | |
1326 liboctave/LSODE.cc, liboctave/LSODE.h, liboctave/NLEqn.h, | |
1327 liboctave/Quad.h, liboctave/Range.cc, liboctave/dbleDET.cc, | |
1328 liboctave/lo-cieee.c, liboctave/lo-ieee.cc, | |
1329 liboctave/lo-mappers.cc, liboctave/oct-time.cc, | |
1330 liboctave/oct-time.h, liboctave/randgamma.c, | |
1331 liboctave/randmtzig.c, liboctave/randpoisson.c: Include lo-math.h | |
1332 instead of cmath or math.h. | |
1333 * lo-mappers.h: Don't include sunmath.h here. | |
1334 | |
7198 | 1335 2007-11-26 John W. Eaton <jwe@octave.org> |
1336 | |
1337 * idx-vector.h (idx_vector::idx_vector_rep (const intNDArray<U>&)): | |
1338 Eliminate unnecessary second arg from call to tree_to_mat_idx. | |
1339 | |
1340 * oct-inttypes.h (operator bool, operator char): Delete. | |
1341 (bool_value, char_value, double_value, float_value): New functions. | |
1342 | |
7189 | 1343 2007-11-26 David Bateman <dbateman@free.fr> |
1344 | |
1345 * intNDArray.cc (template <class T> intNDArray<T> | |
1346 intNDArray<T>::max (int) const, template <class T> intNDArray<T> | |
1347 intNDArray<T>::max (ArrayN<octave_idx_type>&, int) const, | |
1348 template <class T> intNDArray<T> intNDArray<T>::min (int) const, | |
1349 template <class T> intNDArray<T> intNDArray<T>::min | |
1350 (ArrayN<octave_idx_type>&, int) const): New methods for integer | |
1351 classes. | |
1352 * intNDArray.h (class intNDArray): Add min/max methods | |
1353 * mx-op-defs.h (MIXMAX_DECLS, MINMAX_FCNS, SND_MINMAX_FCN, | |
1354 NDS_MINMAX_FCN, NDND_MINMAX_FCN): New macro for instantiation of | |
1355 min/max functions. | |
1356 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
1357 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
1358 (MINMAX_DECLS(T)): Declare the min/max functions for integer | |
1359 types. | |
1360 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
1361 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
1362 (MINMAX_FCNS(T)): Instantiate the min/max functions for integer | |
1363 types. | |
1364 | |
1365 * Arrayc.cc (Array<T>::index (idx_vector&, idx_vector&, int, | |
1366 const T& rfv) const): If ndims != 2 call ND version of index. | |
1367 | |
7176 | 1368 2007-11-14 John W. Eaton <jwe@octave.org> |
1369 | |
7178 | 1370 * oct-inttypes.h (opeator T (void) const): New conversion operator. |
1371 | |
7176 | 1372 * lo-specfun.cc (zbesi): When alpha is negative, don't limit |
1373 correction to half-integer values. From Eric Chassande-Mottin | |
1374 <echassandemottin@gmail.com>. | |
1375 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
1376 2007-11-07 Michael Goffioul <michael.goffioul@gmail.com> |
7124 | 1377 |
1378 * dMatrix.cc, CMatrix.cc: Help MSVC compiler to resolve | |
1379 ambiguities related to math functions (in C++ mode). | |
1380 | |
7102 | 1381 2007-11-06 David Bateman <dbateman@free.fr> |
1382 | |
7113 | 1383 * intNDArray.cc (intNDArray<T> intNDArray<T>::sum (int) const): |
1384 New method. | |
1385 * intNDarray.h (intNDArray sum (int) const): Declare it. | |
1386 * boolNDArray.cc (boolNDArray boolNDArray::sum (int) const): | |
1387 New method. | |
1388 * boolNDarray.cc (boolNDArray sum (int) const): Declare it. | |
7102 | 1389 * MArray-def.h (MARRAY_NORM_BODY): Scale frobenius norm by infinity |
1390 norm to avoid issues of over- and underflow. From Rolf Fabian | |
1391 <Rolf.Fabian@gmx.de>. | |
1392 | |
7081 | 1393 2007-10-30 David Bateman <dbateman@free.fr> |
1394 | |
1395 * DASRT-opts.in, LSODE-opts.in: Doc fixes for small book format. | |
1396 | |
7079 | 1397 2007-10-30 John W. Eaton <jwe@octave.org> |
1398 | |
1399 * CMatrix.cc (lssolve): Compute size of rwork and iwork arrays. | |
1400 * dMatrix.cc (lssolve): Compute size of iwork array. | |
1401 | |
7076 | 1402 2007-10-29 David Bateman <dbateman@free.fr> |
1403 | |
1404 * CMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
1405 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1406 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
1407 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
1408 double& rcond) const, lssolve (const ComplexColumnVector&, | |
1409 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
1410 declarations. | |
1411 * CMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
1412 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1413 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
1414 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
1415 double& rcond) const, lssolve (const ComplexColumnVector&, | |
1416 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
1417 methods. | |
1418 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
1419 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
1420 octave_idx_type&, double&) const): Also return rcond from the | |
1421 singular values returned by XGELSD. | |
1422 * dMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
1423 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1424 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
1425 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
1426 double& rcond) const, lssolve (const ComplexColumnVector&, | |
1427 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
1428 declarations. | |
1429 * dMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
1430 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1431 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
1432 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
1433 double& rcond) const, lssolve (const ComplexColumnVector&, | |
1434 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
1435 methods. | |
1436 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
1437 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
1438 octave_idx_type&, double&) const): Also return rcond from the | |
1439 singular values returned by XGELSD. | |
1440 | |
7072 | 1441 2007-10-26 David Bateman <dbateman@free.fr> |
1442 | |
1443 * dMatrix.cc (Matrix::lssolve): Use xGELSD for rank deficient | |
1444 matrices to avoid reliability issues with xGELSY. | |
1445 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. | |
7071 | 1446 |
7065 | 1447 2007-10-25 John W. Eaton <jwe@octave.org> |
1448 | |
1449 * oct-time.cc (octave_gmtime::init, octave_localtime::init): | |
1450 Call unix_time on arg instead of relying on conversion operator. | |
1451 | |
1452 * oct-time.h (octave_time::double_value): New function. | |
1453 (octave_time::operator double () const): Delete. | |
1454 (octave_time::operator time_t () const): Delete. | |
1455 | |
7058 | 1456 2007-10-24 John W. Eaton <jwe@octave.org> |
1457 | |
1458 * strptime.c: Also compile if OCTAVE_HAVE_BROKEN_STRPTIME is defined. | |
1459 | |
7052 | 1460 2007-10-23 John W. Eaton <jwe@octave.org> |
1461 | |
1462 * CRowVector.cc (operator * const ComplexRowVector&, const | |
1463 ComplexColumnVector&)): Delete spurious code left from patch. | |
1464 | |
7048 | 1465 2007-10-22 Kim Hansen <kimhanse@gmail.com> |
1466 | |
1467 * chMatrix.cc, lo-utils.cc, oct-env.cc, oct-uname.cc, | |
1468 sparse-sort.cc: Include <cstring>. | |
1469 | |
7036 | 1470 2007-10-17 John W. Eaton <jwe@octave.org> |
1471 | |
1472 * oct-sparse.h: Don't include metis.h. | |
1473 | |
1474 * dSparse.cc (SparseMatrix::fsolve): Delete special code for METIS. | |
1475 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
1476 * sparse-base-chol.cc (sparse_base_chol<chol_type, chol_elt, | |
1477 p_type>::sparse_base_chol_rep::init): Likewise. | |
1478 | |
7033 | 1479 2007-10-16 John W. Eaton <jwe@octave.org> |
1480 | |
1481 * dMatrix.cc (Matrix::inverse): Only check rcond == 0 if the | |
1482 matrix is hermitian or calc_cond is true. | |
1483 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
1484 | |
7016 | 1485 2007-10-12 John W. Eaton <jwe@octave.org> |
1486 | |
1487 * Change copyright notices in all files that are part of Octave to | |
1488 GPLv3 or any later version. | |
1489 | |
7007 | 1490 2007-10-11 Brian Gough <bjg@network-theory.co.uk> |
1491 | |
1492 * DASSL-opts.in, LSODE-opts.in: Spelling fixes. | |
1493 | |
7001 | 1494 2007-10-10 Olli Saarela <Olli.Saarela@kcl.fi> |
1495 | |
1496 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in: Spelling fixes. | |
1497 | |
7000 | 1498 2007-10-10 John W. Eaton <jwe@octave.org> |
1499 | |
1500 * LPsolve.h, LPsolve.cc: Delete. | |
1501 * Makefile.in: Remove them from the INCLUDES and | |
1502 LIBOCTAVE_CXX_SOURCES lists. | |
1503 | |
6989 | 1504 2007-10-09 John W. Eaton <jwe@octave.org> |
1505 | |
6996 | 1506 * oct-time.cc (octave_strptime::init): Initialize t.tm_mon to -1 |
1507 and t.tm_year to INT_MIN before call to oct_strptime. Adjust | |
1508 values to zero after call if they remain unchanged. | |
1509 | |
6989 | 1510 * dSparse.cc (SparseMatrix::all_elements_are_zero): New function. |
1511 * dNDArray.cc (NDArray::all_elements_are_zero): New function. | |
1512 | |
6988 | 1513 2007-10-09 David Bateman <dbateman@free.fr> |
1514 | |
6995 | 1515 * oct-time.cc (octave_strptime::init): Only call mktime if mday is |
1516 valud and mon and year are also filled in. | |
1517 | |
6990 | 1518 * Array2.h (Array2<T>::Array2(const dim_vector&), |
1519 Array2<T>::Array(const dim_vector&, const T&)): Check that | |
1520 dim_vector is 2 dimensional. | |
1521 | |
6988 | 1522 * Sparse.cc (Sparse<T> Sparse<T>::index (idx_vector&, idx_vector&, |
1523 int)): Remove a for loop in the random indexing case at the | |
1524 expense of maintaining a set of linked lists of indices that point | |
1525 to the same column in the original matrix. | |
1526 (int assign (Sparse<LT>&, Sparse<RT>)): Take a const copy of lhs | |
1527 and use it on the RHS of expressions to avoid unnecessary calls to | |
1528 make_unique. | |
1529 | |
6979 | 1530 2007-10-08 David Bateman <dbateman@free.fr> |
1531 | |
1532 * oct-rl-edit. (typedef rl_quoting_fcn_ptr, rl_dequoting_fcn_ptr, | |
1533 rl_char_is_quoted_fcn_ptr, rl_command_fcn_ptr): New typedefs | |
1534 for readline compatible functions. | |
1535 (octave_rl_redisplay): Redisplay the current line of text. | |
1536 (octave_rl_newline): Change interface to the same | |
1537 as used by the equivalent readline function itself. | |
1538 (octave_rl_filename_quoting_desired, | |
1539 octave_rl_set_filename_quote_characters, | |
1540 octave_rl_set_completer_quote_characters, | |
1541 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
1542 octave_rl_set_char_is_quoted_function): New functions to control | |
1543 readline filename quoting and line acceptace. | |
1544 * oct-rl-edit.c (octave_rl_newline): Change interface to the same | |
1545 as used by the equivalent readline function itself. | |
1546 (octave_rl_redisplay): Redisplay the current line of text. | |
1547 (octave_rl_filename_quoting_desired, | |
1548 octave_rl_set_filename_quote_characters, | |
1549 octave_rl_set_completer_quote_characters, | |
1550 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
1551 octave_rl_set_char_is_quoted_function): New functions to control | |
1552 readline filename quoting and line acceptace. | |
1553 * cmd-edit.h (typedef quoting_fcn, typedef dequoting_fcn, | |
1554 typedef char_is_quoted_fcn, user_accept_line_fcn): New typedefs | |
1555 to map C++ function to readline compatible functions. | |
1556 (set_filename_quote_characters): New function to set the | |
1557 characters to if they appear in a filename that force the filename | |
1558 to be quoted. | |
1559 (set_completer_quote_characters): The characters that the readline | |
1560 completion function considers as quotation characters. | |
1561 (set_quoting_function, set_dequoting_function, | |
1562 set_char_is_quoted_function, set_user_accept_line_function): | |
1563 Functions to set the Octave functions to perform quoting and the | |
1564 acceptance of a line of text by readline. | |
1565 (get_quoting_function, get_dequoting_function, | |
1566 get_char_is_quoted_function, get_user_accept_line_function): | |
1567 Functions to get the above functions. | |
1568 (accept_line): New method for the command_editor to accept a line | |
1569 of text. | |
1570 (file_quoting_desired): Function to set whether readline should | |
1571 attempt to quote filenames. | |
1572 (do_set_filename_quoting_characters, | |
1573 do_set_completer_quote_characters, do_set_quoting_function, | |
1574 do_set_dequoting_function, do_set_char_is_quoted_function, | |
1575 do_set_user_accept_line_function, do_get_quoting_function, | |
1576 do_get_dequoting_function, do_get_char_is_quoted_function, | |
1577 do_get_user_accept_line_function, do_filename_quoting_desired): | |
1578 Virtual functions to control the behavior of readline quoting and | |
1579 acceptance of lines. | |
1580 (do_accept_line): Virtual function for the accept line function. | |
1581 * cmd-edit.cc (class gnu_readline do_set_filename_quote_characters, | |
1582 do_completer_quote_characters, do_set_quoting_function, | |
1583 do_set_dequoting_function, do_set_char_is_quoted_function, | |
1584 do_set_user_accept_line_function, do_get_quoting_function, | |
1585 do_get_dequoting_function, do_get_user_accept_line_function, | |
1586 do_accept_line, do_filename_quoting_desired, command_quoter, | |
1587 command_dequoter, command_char_is_quoted, command_accept_line): | |
1588 New functions in gnu_readline class to control filename quoting | |
1589 and line acceptance. | |
1590 (quoting_function, dequoting_function, char_is_quoted_function, | |
1591 user_accept_line_function): private variable to store functions | |
1592 supplied for readline quoting and line acceptance. | |
1593 (gnu_readline::gnu_readline): Also set the new function pointers | |
1594 to zero. | |
1595 (gnu_readline::do_newline): Adapt to new octave_rl_newline | |
1596 interface. | |
1597 (gnu_readeline::operate_and_get_next): Use new accept_line | |
1598 function rather than newline. | |
1599 (default_ommand_editor::do_accept_line): New method. | |
1600 (class command_editor set_filename_quote_characters, | |
1601 set_completer_quote_characters, set_quoting_function, | |
1602 set_dequoting_function, set_char_is_quoted_function, | |
1603 set_user_accept_line_function, get_quoting_function, | |
1604 get_dequoting_function, get_user_accept_line_function, | |
1605 accept_line, filename_quoting_desired): New functions checking | |
1606 instance before calling virtual function. | |
1607 | |
1608 * CMatrix.h, dMatrix.h, boolMatrix.h, chMatrix.h, MArray2.h, | |
1609 Array2.h: Add dim_vector constructors. | |
1610 * charNDArray.h (charNDArray (const dim_vector&)): Add missing | |
1611 const to dim_vector constructors. | |
1612 * boolMatrix.cc, chMatrix.cc, intNDArray.cc (diag (void), diag | |
1613 (octave_idx_type)): New methods to constructor diagonal matrices. | |
1614 * boolMatrix.h, chMatrix.h, intNDArray.h (diag (void), diag | |
1615 (octave_idx_type)): Declare them. | |
1616 | |
1617 | |
6969 | 1618 2007-10-06 John W. Eaton <jwe@octave.org> |
1619 | |
1620 * lo-specfun.cc: (zlgamma): Delete. | |
1621 (xgamma): Use C library gamma function if available. | |
1622 (xlgamma): Use C library lgamma function if available. | |
1623 (xlgamma) [! HAVE_LGAMMA]: Allow calculation for any value of X | |
1624 other than NaN or Inf. | |
1625 | |
6961 | 1626 2007-10-05 John W. Eaton <jwe@octave.org> |
1627 | |
1628 * lo-specfun.cc (zlgamma): New function. | |
1629 | |
6959 | 1630 2007-10-04 John W. Eaton <jwe@octave.org> |
1631 | |
1632 * oct-sort.cc (octave_sort<T>::binarysort): Remove register | |
1633 qualifiers on local variables. | |
1634 | |
6958 | 1635 2007-10-04 Marco Caliari <mcaliari@math.unipd.it> |
1636 | |
1637 * CMatrix.cc (ComplexMatrix::expm): Limit shift to values less | |
1638 than log(realmax) to avoid issues with NaN. | |
1639 | |
6940 | 1640 2007-10-01 John W. Eaton <jwe@octave.org> |
1641 | |
6941 | 1642 * oct-time.cc (octave_strptime::init): Call mktime to propertly |
1643 initialize wday and yday. | |
1644 From Matthias Drochner <m.drochner@fz-juelich.de>. | |
1645 | |
6940 | 1646 * cmd-edit.cc (command_editor::do_decode_prompt_string): Don't |
1647 insert extra '\001' when decoding \[ and \]. | |
1648 | |
6926 | 1649 2007-09-26 David Bateman <dbateman@free.fr> |
1650 | |
1651 * dMatrix.cc (lssolve): Replace the use of xGELSS with xGELSY with | |
1652 is much faster and no less accurate. | |
1653 * CMatrix.cc (lssolve): ditto. | |
1654 | |
6924 | 1655 2007-09-25 David Bateman <dbateman@free.fr> |
1656 | |
1657 * dMatrix.cc (utsolve, ltsolve, fsolve, lssolve): Allow | |
1658 zero dimensioned matrices. | |
1659 * CMatrix.cc (utsolve, ltsolve, fsolve, lssolve): ditto. | |
1660 * dSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
1661 ditto. | |
1662 * CSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
1663 ditto. | |
1664 * SparseQR.cc (SparseQR::SparseQR_rep::C, qrsolve): ditto. | |
1665 * SparseCmplxQR.cc (SparseComplexQR::SparseComplexQR_rep::C, | |
1666 qrsolve): ditto. | |
1667 * sparse-dmsolve.cc (dmsolve): ditto. | |
1668 | |
6922 | 1669 2007-09-21 John W. Eaton <jwe@octave.org> |
1670 | |
1671 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): | |
1672 Also allow resizing empty LHS if it is 1x0 or 0xN. | |
1673 | |
6916 | 1674 2007-09-19 John W. Eaton <jwe@octave.org> |
1675 | |
1676 * cmd-edit.cc (command_editor::remove_startup_hook): | |
1677 Fix cut-and-paste error. | |
6917 | 1678 (gnu_readline::set_startup_hook): Only set hook function if new |
1679 function is different from the current one. | |
6916 | 1680 |
6913 | 1681 2007-09-18 John W. Eaton <jwe@octave.org> |
1682 | |
1683 * cmd-edit.h, cmd-edit.cc (command_editor::startup_hook_set, | |
1684 command_editor::event_hook_set): New static data. | |
1685 (default_command_editor::set_startup_hook, | |
1686 gnu_readline::set_startup_hook, | |
1687 default_command_editor::restore_startup_hook, | |
1688 gnu_readline_restore_event_hook): | |
1689 Rename from do_set_startup_hook and do_set_event_hook. | |
1690 (gnu_readline::operate_and_get_next): Call | |
1691 command_editor::add_startup_hook, not | |
1692 command_editor::set_startup_hook. | |
1693 (command_editor::startup_handler, command_editor::event_handler): | |
1694 New functions. | |
1695 (command_editor::add_startup_hook, command_editor::add_event_hook, | |
1696 command_editor::remove_startup_hook, | |
1697 command_editor::remove_event_hook): Rename from set_startup_hook | |
1698 and restore_startup_hook. Handle hook sets here. | |
1699 * cmd-edit.cc (gnu_history::do_goto_mark): | |
1700 Call remove_startup_hook instead of restore_startup_hook. | |
1701 | |
6907 | 1702 2007-09-17 John W. Eaton <jwe@octave.org> |
1703 | |
1704 * lo-utils.cc (octave_read_complex, octave_read_double): Skip | |
1705 leading whitespace. | |
1706 | |
6897 | 1707 2007-09-13 John W. Eaton <jwe@octave.org> |
1708 | |
1709 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
1710 octave_read_complex): Use istream::get instead of >> to read | |
1711 individual characters. | |
1712 | |
6884 | 1713 2007-09-10 John W. Eaton <jwe@octave.org> |
1714 | |
1715 * Array.cc (assign1): Don't call make_unique for invalid assignment. | |
1716 | |
1717 2007-09-10 David Bateman <dbateman@free.fr> | |
1718 | |
1719 * Array.h (Array<T>::make_unique): Make public so that the | |
1720 ::assign functions can access it directly. | |
1721 * Array.cc (Array<T>::maybe_delete_elements_1(idx_vector&), | |
1722 Array<T>::maybe_delete_elements_1(idx_vector&), | |
1723 Array<T>::maybe_delete_elements(idx_vector&, idx_vector&), | |
1724 Array<T>::maybe_delete_elements(Array<idx_vector>&, const T&)): | |
1725 Use xelem for non const RHS to avoid call to make_unique. | |
1726 (int assign1 (Array<LT>&, const Array<RT>&, const LT&)): Use | |
1727 xelem for LHS and call lhs.make_unique() only once. Special case | |
1728 the is_colon index case and use Array<T>::xelem(octave_idx_type) | |
1729 rather than Array<T>::xelem(octave_idx_type,octave_idx_type) and | |
1730 bring the additional multiplication out of the inner loop. | |
1731 (int assign2 (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
1732 (int assignN (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
1733 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep | |
1734 (const Range& r)): Don't use init_state() method but special case | |
1735 as with a Range can avoid exhaustive search. | |
1736 | |
6881 | 1737 2007-09-07 John W. Eaton <jwe@octave.org> |
1738 | |
1739 * Array.cc (Array<T>::fortran_vec): Call make_unique instead of | |
1740 manipulating rep directly. | |
1741 | |
1742 * Array.h (idx, idx_count): Declare mutable. | |
1743 (Array<T>::set_index, Array<T>::clear_index, Array<T>::value): | |
1744 Now const. | |
1745 | |
6867 | 1746 2007-09-06 David Bateman <dbateman@free.fr> |
1747 | |
6868 | 1748 * Array-util.cc (increment_index): dimensions can have singleton |
1749 trailing dimensions. | |
6867 | 1750 * Array.h (range_error, xelem, checkelem, elem, operator ()): |
1751 Modify use of Array<int> to Array<octave_idx_type> and adjust | |
1752 where necessary. | |
1753 * Array.cc (range_error): ditto. | |
1754 * MArrayN.h (permute, ipermute): ditto. | |
1755 * ArrayN.h (permute, ipermute): ditto. | |
1756 * so-array.cc (streamoff_array::compute_index): ditto. | |
1757 * so-array.h (compute_index): ditto. | |
1758 * CMattrix.cc (ComplexMatrix::exmpm): ditto. | |
1759 | |
6840 | 1760 2007-08-29 David Bateman <dbateman@free.fr> |
1761 | |
1762 * dSparse.cc (SparseMatrix SparseMatrix::inverse (MatrixType &, | |
1763 octave_idx_type&, double&, int, int)): Calculate with LU even for | |
1764 matrices marked as singular. | |
1765 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::inverse ( | |
1766 MatrixType &, octave_idx_type&, double&, int, int)): ditto. | |
1767 * dMatrix.cc (Matrix Matrix::inverse (MatrixType &, octave_idx_type&, | |
1768 double&, int, int)): ditto. If rcond==0 force matrix of infinities. | |
1769 * dMatrix.cc (ComplexMatrix ComplexMatrix::inverse (MatrixType &, | |
1770 octave_idx_type&, double&, int, int)): ditto. | |
1771 | |
6838 | 1772 2007-08-27 John W. Eaton <jwe@octave.org> |
1773 | |
1774 * oct-env.cc (octave_env::rooted_relative_pathname, | |
1775 octave_env::do_rooted_relative_pathname): New functions. | |
1776 * oct-env.h: Provide decls. | |
1777 | |
6823 | 1778 2007-08-24 David Bateman <dbateman@free.fr> |
1779 | |
1780 * MSparse.h (MSparse<T>& insert (const Sparse<T>&, | |
1781 const Array<octave_idx_type>&)): New method. | |
1782 (MSparse (const dim_vector&, octave_idx_type)): Ditto. | |
1783 * dSparse.h (SparseMatrix& SparseMatrix::insert (const | |
1784 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
1785 (SparseMatrix (const dim_vector&, octave_idx_type)): ditto. | |
1786 * dSparse.cc (SparseMatrix& SparseMatrix::insert (const | |
1787 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
1788 * boolSparse.h (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
1789 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
1790 * boolSparse.cc (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
1791 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
1792 * CSparse.h (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
1793 SparseMatrix&, const Array<octave_idx_type>&), | |
1794 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
1795 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
1796 (SparseComplexMatrix (const dim_vector&, octave_idx_type)): ditto. | |
1797 * CSparse.cc (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
1798 SparseMatrix&, const Array<octave_idx_type>&), | |
1799 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
1800 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
1801 | |
6817 | 1802 2007-08-19 David Bateman <dbateman@free.fr> |
1803 | |
1804 * Sparse.cc (Sparse<T>::permute): Avoid shadowing warning. | |
1805 | |
6813 | 1806 2007-08-14 John W. Eaton <jwe@octave.org> |
1807 | |
1808 * Sparse.cc (Sparse<T>::permute): permutation vector is zero based. | |
1809 Simplify. | |
6814 | 1810 (Sparse<T>::reshape): Warn about reshaping to N-d array. |
6813 | 1811 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
1812 2007-08-10 Michael Goffioul <michael.goffioul@gmail.com> |
6810 | 1813 |
1814 * file-stat.cc (file_stat::update_internal) [__WIN32__]: | |
1815 Remove trailing dir separator when stat'ing directory except for | |
1816 root directory. | |
1817 | |
6796 | 1818 2007-07-25 David Bateman <dbateman@free.fr> |
1819 | |
1820 * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" | |
1821 to work. | |
1822 | |
6764 | 1823 2007-06-04 David Bateman <dbateman@free.fr> |
1824 | |
1825 * oct-inttypes.h (octave_int<T>& operator <<= (const T2&), | |
1826 octave_int<T>& operator >>= (const T2&)): Make shift operators | |
1827 perform a twos complement arithmetic shift for both signed and | |
1828 unsigned integers regardless of compiler implementations. | |
1829 | |
6708 | 1830 2007-06-13 Michael Goffioul <michael.goffioul@swing.be> |
1831 | |
6719 | 1832 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): For CXSparse 2.2 and greater |
1833 use cs_complex_t(0,0) for the complex zero. | |
1834 | |
6708 | 1835 * MArray-ch.cc, MArray-d.cc, MArray-i.cc, MArray-s.cc: |
1836 Sprinkle class instantiations with OCTAVE_API as needed. | |
1837 | |
1838 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY, | |
1839 INSTANTIATE_ARRAY_AND_ASSIGN): New arg, API. Change all uses. | |
1840 * MArray-defs.h (MARRAY_OP_ASSIGN_DECL, MARRAY_OP_ASSIGN_DECLS, | |
1841 MARRAY_OP_ASSIGN_FWD_DECLS, MARRAY_OP_ASSIGN_FRIENDS, | |
1842 MARRAY_OP_ASSIGN_DEFS, MARRAY_UNOP, MARRAY_UNOP_DECLS, | |
1843 MARRAY_UNOP_FWD_DECLS, MARRAY_UNOP_FRIENDS, MARRAY_UNOP_DEFS, | |
1844 MARRAY_BINOP_DECL, MARRAY_BINOP_DECLS, MARRAY_AA_BINOP_DECLS, | |
1845 MDIAGARRAY2_DAS_BINOP_DECLS, MDIAGARRAY2_SDA_BINOP_DECLS, | |
1846 MDIAGARRAY2_DADA_BINOP_DECLS, MARRAY_BINOP_FWD_DECLS, | |
1847 MDIAGARRAY2_BINOP_FWD_DECLS, MARRAY_BINOP_FRIENDS, | |
1848 MDIAGARRAY2_BINOP_FRIENDS, MARRAY_BINOP_DEFS, | |
1849 MDIAGARRAY2_BINOP_DEFS, MARRAY_OPS_FORWARD_DECLS, | |
1850 MDIAGARRAY2_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS, | |
1851 MDIAGARRAY2_OPS_FRIEND_DECLS, INSTANTIATE_MARRAY_FRIENDS, | |
1852 INSTANTIATE_MARRAY2_FRIENDS, INSTANTIATE_MARRAYN_FRIENDS, | |
1853 INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. | |
1854 * MSparse-defs.h (SPARSE_OP_ASSIGN_DECL, SPARSE_OP_ASSIGN_DECLS, | |
1855 SPARSE_OP_ASSIGN_FWD_DECLS, SPARSE_OP_ASSIGN_FRIENDS, | |
1856 SPARSE_OP_ASSIGN_DEFS, SPARSE_UNOP, SPARSE_UNOP_DECLS, | |
1857 SPARSE_UNOP_FWD_DECLS, SPARSE_UNOP_FRIENDS, SPARSE_UNOP_DEFS, | |
1858 SPARSE_BINOP_DECL, SPARSE_BINOP_DECLS, SPARSE_AA_BINOP_DECLS, | |
1859 SPARSE_BINOP_FWD_DECLS, SPARSE_BINOP_FRIENDS, SPARSE_BINOP_DEFS, | |
1860 SPARSE_OPS_FORWARD_DECLS, SPARSE_OPS_FRIEND_DECLS, | |
1861 INSTANTIATE_SPARSE_FRIENDS): Ditto. | |
1862 * Sparse-op-defs.h (SPARSE_BIN_OP_DECL, SPARSE_CMP_OP_DECL, | |
1863 SPARSE_BOOL_OP_DECL, SPARSE_SMS_BIN_OP_DECLS, | |
1864 SPARSE_SMS_CMP_OP_DECLS, SPARSE_SMS_EQNE_OP_DECLS, | |
1865 SPARSE_SMS_BOOL_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
1866 SPARSE_SMS_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
1867 SPARSE_SSM_CMP_OP_DECLS, SPARSE_SSM_EQNE_OP_DECLS, | |
1868 SPARSE_SSM_BOOL_OP_DECLS, SPARSE_SSM_OP_DECLS, | |
1869 SPARSE_SMSM_BIN_OP_DECLS, SPARSE_SMSM_CMP_OP_DECLS, | |
1870 SPARSE_SMSM_EQNE_OP_DECLS, SPARSE_SMSM_BOOL_OP_DECLS, | |
1871 SPARSE_SMSM_OP_DECLS, SPARSE_MSM_BIN_OP_DECLS, | |
1872 SPARSE_MSM_CMP_OP_DECLS, SPARSE_MSM_EQNE_OP_DECLS, | |
1873 SPARSE_MSM_BOOL_OP_DECLS, SPARSE_MSM_OP_DECLS, | |
1874 SPARSE_SMM_BIN_OP_DECLS, SPARSE_SMM_CMP_OP_DECLS, | |
1875 SPARSE_SMM_EQNE_OP_DECLS, SPARSE_SMM_BOOL_OP_DECLS, | |
1876 SPARSE_SMM_OP_DECLS): Ditto. | |
1877 * Sparse.h (INSTANTIATE_SPARSE_ASSIGN, INSTANTIATE_SPARSE, | |
1878 INSTANTIATE_SPARSE_AND_ASSIGN): Ditto. | |
1879 * mx-op-defs.h (BIN_OP_DECL, CMP_OP_DECL, NDCMP_OP_DECL, | |
1880 BOOL_OP_DECL, NDBOOL_OP_DECL, VS_BIN_OP_DECLS, VS_OP_DECLS, | |
1881 SV_BIN_OP_DECLS, SV_OP_DECLS, VV_BIN_OP_DECLS, VV_OP_DECLS, | |
1882 MS_BIN_OP_DECLS, MS_CMP_OP_DECLS, MS_BOOL_OP_DECLS, MS_OP_DECLS, | |
1883 SM_BIN_OP_DECLS, SM_CMP_OP_DECLS, SM_BOOL_OP_DECLS, SM_OP_DECLS, | |
1884 MM_BIN_OP_DECLS, MM_CMP_OP_DECLS, MM_BOOL_OP_DECLS, MM_OP_DECLS, | |
1885 NDS_BIN_OP_DECLS, NDS_CMP_OP_DECLS, NDS_BOOL_OP_DECLS, | |
1886 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_CMP_OP_DECLS, | |
1887 SND_BOOL_OP_DECLS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
1888 NDND_CMP_OP_DECLS, NDND_BOOL_OP_DECLS, NDND_OP_DECLS, | |
1889 SDM_BIN_OP_DECLS, SDM_OP_DECLS, DMS_BIN_OP_DECLS, DMS_OP_DECLS, | |
1890 MDM_BIN_OP_DECLS, MDM_OP_DECLS, DMM_BIN_OP_DECLS, DMM_OP_DECLS, | |
1891 DMDM_BIN_OP_DECLS, DMDM_OP_DECLS): Ditto. | |
1892 | |
6699 | 1893 2007-06-12 John W. Eaton <jwe@octave.org> |
1894 | |
1895 * dMatrix.cc (Matrix::expm): Special case for scalar arg. | |
1896 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6697 | 1897 |
6693 | 1898 2007-06-06 Michael Goffioul <michael.goffioul@swing.be> |
1899 | |
6709 | 1900 * file-ops.cc (tilde_find_suffix, isolate_tilde_prefix, |
1901 tilde_expand_word): Use file_ops::is_dir_sep instead of comparing | |
1902 with file_ops::dir_sep_char. | |
6694 | 1903 |
6693 | 1904 * MArray-C.cc: Sprinkle with OCTINTERP_API as needed. |
1905 | |
6689 | 1906 2007-06-04 David Bateman <dbateman@free.fr> |
1907 | |
6699 | 1908 * file-ops.cc: Typo. |
1909 | |
6689 | 1910 * Sparse.cc (Sparse<T> Sparse<T>::reshape): If length of new |
1911 dimensions is greater than 2, collapse to 2-D. | |
1912 | |
6685 | 1913 2007-06-02 David Bateman <dbateman@free.fr> |
1914 | |
1915 * SparseCmplxQR.cc: Changes to support CXSparse 2.2.0. | |
1916 | |
6680 | 1917 2007-05-31 John W. Eaton <jwe@octave.org> |
1918 | |
1919 * Array.cc (Array::get_size): Throw std::bad_alloc exception if | |
1920 the computed size is too large for the size of Octave's index type. | |
1921 | |
6662 | 1922 2007-05-23 John W. Eaton <jwe@octave.org> |
1923 | |
1924 * oct-sparse.h: Don't surround included files with extern "C" { ... }. | |
1925 | |
6629 | 1926 2007-05-16 David Bateman <dbateman@free.fr> |
1927 | |
1928 * dRowVector.cc (linspace): Return second argument if fewer than | |
1929 two values are requested. | |
1930 * CRowVector.cc (linspace): Likewise. | |
1931 | |
6596 | 1932 2007-04-27 John W. Eaton <jwe@octave.org> |
1933 | |
1934 * lo-mappers.cc (signum (const Complex&)): Special case for (0, 0). | |
1935 | |
6583 | 1936 2007-04-25 John W. Eaton <jwe@octave.org> |
1937 | |
1938 * oct-fftw.h (octave_fftw): Tag with OCTAVE_API. | |
1939 | |
6553 | 1940 2007-04-20 John W. Eaton <jwe@octave.org> |
1941 | |
1942 * Array.cc (assign1): For x(:) = RHS, require rhs_len == lhs_len, | |
1943 not rhs_len == 1. | |
1944 | |
6536 | 1945 2007-04-18 Michael Goffioul <michael.goffioul@swing.be> |
1946 | |
1947 * oct-md5.h (oct_md5, oct_md5_file): Tag decls with OCTAVE_API. | |
1948 | |
6525 | 1949 2007-04-13 John W. Eaton <jwe@octave.org> |
1950 | |
1951 * Array.cc (Array<T>::maybe_delete_elements_2): Don't return early | |
1952 for empty matrix. Only check for colon index equivalence if not empty. | |
1953 | |
6513 | 1954 2007-04-10 John W. Eaton <jwe@octave.org> |
1955 | |
1956 * SparseCmplxQR.cc | |
1957 (SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep): | |
1958 Move GCC_ATTR_UNUSED before the parameter decl. | |
1959 From Luis Ortiz <lortiz@interactivesupercomputing.com>. | |
1960 | |
6508 | 1961 2007-04-06 John W. Eaton <jwe@octave.org> |
1962 | |
1963 * MArray-defs.h (MARRAY_NORM_BODY): New macro. | |
1964 * MArray.h (MArray<T>::norm): New function. | |
1965 * MArray.cc: Provide decl. | |
1966 * MArray-d.cc (MArray<double>::norm): Define double specialization. | |
1967 * MArray-C.cc (MArray<Complex>::norm): Define Complex specialization. | |
1968 | |
6490 | 1969 2007-04-04 John W. Eaton <jwe@octave.org> |
1970 | |
1971 * Range.cc (Range::nelem_internal): Likewise. | |
1972 * lo-utils.cc (NINT): Use numeric_limits<int> instead of INT_MAX. | |
1973 (NINTbig): Use numeric_limits<octave_idx_type> instead of INT_MAX. | |
1974 From Scott Pakin <pakin@lanl.gov>. | |
1975 | |
6486 | 1976 2007-04-04 David Bateman <dbateman@free.fr> |
1977 | |
1978 * dMatrix.cc (Matrix::inverse): If calc_cond is true, calculate | |
1979 the condition number for positive definite matrices. | |
1980 * CMatrix.cc (ComplexMatrix::inverse): Ditto. | |
1981 * dbleChol.h (CHOL(const Matrix&, bool)): New arg, calc_cond. | |
1982 (CHOL(const Matrix&, octave_idx_type&, bool): Ditto. | |
1983 (octave_idx_type init (const Matrix&, bool)): Ditto. | |
1984 (CHOL(const CHOL&)): Copy xrcond. | |
1985 (CHOL& operator = (const CHOL&)): Copy xrcond. | |
1986 (xrcond): New private data member. | |
1987 * CmplxCHOL.h (ComplexCHOL(const ComplexMatrix&, bool)): New arg, | |
1988 calc_cond. | |
1989 (ComplexCHOL(const ComplexMatrix&, octave_idx_type&, bool): Ditto | |
1990 (octave_idx_type init (const ComplexMatrix&, bool)): Ditto. | |
1991 (ComplexCHOL(const ComplexCHOL&)): Copy xrcond. | |
1992 (ComplexCHOL& operator = (const ComplexCHOL&)): Copy xrcond. | |
1993 (xrcond): New private data member. | |
1994 * dbleCHOL.cc (CHOL::init(const Matrix&, bool)): If calc_cond is | |
1995 true, calculate the condition number with dpocon. | |
1996 * CmplxCHOL.cc (ComplexCHOL::init(const ComplexMatrix&, bool)): If | |
1997 calc_cond is true, calculate the condition number with zpocon. | |
1998 | |
6481 | 1999 2007-04-03 John W. Eaton <jwe@octave.org> |
2000 | |
6482 | 2001 * intNDArray.cc (intNDArray): Delete spurious semicolon. |
2002 | |
2003 * CMatrix.cc (ComplexMatrix::tinverse): Use Array<T> and | |
2004 fortran_vec method instead of OCTAVE_LOCAL_BUFFER to avoid | |
2005 "maybe clobbered by vfork" warning. | |
2006 | |
6483 | 2007 * Sparse-op-defs.h (SPARSE_CUMSUM): Add braces to avoid ambiguous |
6482 | 2008 if/else. |
2009 | |
2010 * oct-spparms.h (octave_sparse_params): Define copy constructor | |
2011 and destructor. | |
2012 | |
6481 | 2013 * Array.cc (assignN): Don't resize dimension if corresponding |
2014 index is empty. | |
2015 | |
6479 | 2016 2007-04-02 John W. Eaton <jwe@octave.org> |
2017 | |
2018 * dMatrix.h (Matrix::inverse): Reinstate versions without | |
2019 MatrixType argument. | |
2020 * CMatrix.h (ComplexMatrix::inverse): Likewise. | |
2021 | |
6467 | 2022 2007-03-27 John W. Eaton <jwe@octave.org> |
2023 | |
2024 * Makefile.in (DISTDIRS): Delete variable. | |
2025 (dist): Delete action for DISTDIRS. Use ln instead of $(LN_S). | |
2026 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2027 2007-03-26 David Bateman <dbateman@free.fr> |
6460 | 2028 |
2029 * MatrixType.cc: Replace all uses of the method | |
2030 octave_sparse_params::get_key ("bandden") with | |
2031 octave_sparse_params::get_bandden (void). | |
2032 (MatrixType::MatrixType (void)): Undo previous change but use | |
2033 octave_sparse_params::get_bandden (void). | |
2034 * oct-spparms.cc (get_bandden(void), do_get_bandden(void)): New | |
2035 methods. | |
2036 * oct-spparms.h (get_bandden(void), do_get_bandden(void)): | |
2037 Declare them. | |
2038 | |
6458 | 2039 2007-03-26 Luis Ortiz <lortiz@interactivesupercomputing.com> |
2040 David Bateman <dbateman@free.fr> | |
2041 | |
2042 * idx-vector.h.cc (IDX_VEC_REP::idx_vector_rep (const Range&)): | |
2043 Check that all elements are ints before doing anything. Simplify | |
2044 calculation of index values. | |
2045 | |
6457 | 2046 2007-03-26 David Bateman <dbateman@free.fr> |
2047 | |
2048 * Range.cc (Range::all_elements_are_ints): Improve check. | |
2049 | |
6456 | 2050 2007-03-26 John W. Eaton <jwe@octave.org> |
2051 | |
2052 * chNDArray.cc, chMatrix.cc: Also generate comparison and bool ops. | |
2053 * chNDArray.h, chMatrix.h: Provide decls. | |
2054 | |
2055 2007-03-24 Luis Ortiz <lortiz@interactivesupercomputing.com> | |
2056 | |
2057 * MatrixType.cc (MatrixType::MatrixType (void)): Initialize | |
2058 sp_bandden to zero for performance reasons as it's not used. | |
6452 | 2059 |
6435 | 2060 2007-03-23 David Bateman <dbateman@free.fr> |
2061 | |
2062 * oct-rand.cc (octave_rand::seed): Seed differently for big and | |
2063 little endian. | |
2064 | |
6414 | 2065 2007-03-15 John W. Eaton <jwe@octave.org> |
2066 | |
2067 * lo-mappers.cc (acos): Use formula similar to what we use for asin. | |
2068 From Alexander Barth <abarth@marine.usf.edu>. | |
2069 | |
6402 | 2070 2007-03-12 John W. Eaton <jwe@octave.org> |
2071 | |
2072 * oct-inttypes.h (octave_int::octave_int (double)): | |
2073 New Specialization. Round arg. | |
2074 (operator / (const octave_int<T1>&, const octave_int<T2>&)): | |
2075 Round result before converting type. | |
2076 | |
6388 | 2077 2007-03-07 John W. Eaton <jwe@octave.org> |
2078 | |
6392 | 2079 * Array.cc (assign1): Avoid resizing if there is an error. |
2080 | |
6390 | 2081 * dMatrix.cc, CMatrix.cc (operator *): Only check |
2082 f77_exception_encountered immediately after calls that use F77_XFCN. | |
2083 | |
6389 | 2084 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
2085 Only allow resizing empty LHS if it is 0x0. | |
2086 | |
6388 | 2087 * Array.cc (Array<T>::maybe_delete_elements (Array<idx_vector>&, |
2088 const T&)): Handle case of more indices than dimensions. | |
2089 (assign (Array<LT>&, const Array<RT>&, const LT&)): Allow more | |
2090 cases to be handled by assignN. | |
2091 (assignN (Array<LT>&, const Array<RT>&, const LT&)): | |
2092 Special cases for 2-d array assignments for speed. | |
2093 Improve handling of scalar RHS and empty indices. | |
6384 | 2094 |
6383 | 2095 2007-03-05 David Bateman <dbateman@free.fr> |
2096 | |
2097 * oct-md5.c (oct_md5_file (const std::string&)): New function. | |
2098 * oct-md5.h (oct_md5_file (const std::string&)): Declare it. | |
2099 | |
6379 | 2100 2007-03-02 John W. Eaton <jwe@octave.org> |
2101 | |
2102 * str-vec.h (string_vector::empty): Return bool, not int. | |
2103 | |
6375 | 2104 2007-03-01 David Bateman <dbateman@free.fr> |
2105 | |
2106 * md5.h, md5.c: New files from libmd5-rfc sourceforge project for | |
2107 an independent implementation of RFC1321. | |
2108 * oct-md5.h, oct-md5: New files for treating std::string class | |
2109 with MD5. | |
2110 * Makefile.in (INCLUDES): Add md5.h and oct-md5.h | |
2111 (LIBOCTAVE_CXX_SOURCES): Add oct-md5.cc | |
2112 (LIBOCTAVE_C_SOURCES): Add md5.c | |
2113 | |
6366 | 2114 2007-02-27 John W. Eaton <jwe@octave.org> |
2115 | |
2116 * Makefile.in (uninstall): Delete files listed in | |
2117 $(INCLUDES_FOR_INSTALL), instead of $(INCLUDES). | |
2118 From Thomas Treichl <Thomas.Treichl@gmx.net>. | |
2119 | |
6536 | 2120 2007-02-27 Michael Goffioul <michael.goffioul@swing.be> |
6363 | 2121 |
2122 * file-ops.cc (file_ops::recursive_rmdir): | |
2123 Close dir_entry object before calling rmdir. | |
2124 | |
6536 | 2125 2007-02-26 Michael Goffioul <michael.goffioul@swing.be> |
6358 | 2126 |
2127 * Makefile.in: Use $(LN_S) instead of ln or ln -s. | |
2128 | |
6359 | 2129 * sparse-util.h (SparseCholPrint, SparseCholError): |
2130 Tag with OCTAVE_API. | |
2131 | |
6326 | 2132 2007-02-18 David Bateman <dbateman@free.fr> |
2133 | |
2134 * oct-rand.cc (do_old_initialization()): call setcgn(1) prior to | |
2135 calling setall and reset to the current generator after. | |
2136 | |
6323 | 2137 2007-02-16 John W. Eaton <jwe@octave.org> |
2138 | |
2139 * oct-shlib.h (octave_shlib::relative): New data member. | |
2140 (octave_shlib::mark_relative, octave_shlib::is_relative): | |
2141 New functions. | |
2142 | |
6321 | 2143 2007-02-16 Michael Goffioul <michael.goffioul@swing.be> |
2144 | |
2145 * lo-sysdep.cc (octave_popen2): New function to simulate popen2 on | |
2146 windows platform. | |
2147 * lo-sysdep.h (octave_popen2): Declare it. | |
2148 * oct-syscalls.cc (octave_syscalls::popen2): New function. | |
2149 * oct-syscalls.h (octave_syscalls::popen2): Declare it. | |
2150 | |
6306 | 2151 2007-02-14 John W. Eaton <jwe@octave.org> |
2152 | |
2153 * kpse.cc (expand_elt): Omit special treatment for //. | |
2154 | |
6273 | 2155 2007-02-06 John W. Eaton <jwe@octave.org> |
2156 | |
2157 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_REALPATH]: | |
2158 Don't delete value returned from realpath. | |
2159 | |
6271 | 2160 2007-02-05 Thomas Treichl <Thomas.Treichl@gmx.net> |
2161 | |
2162 * file-ops.cc (file_ops::canonicalize_file_name): | |
2163 Provide implementation if realpath function is available. | |
2164 | |
6256 | 2165 2007-01-29 Michael Goffioul <michael.goffioul@swing.be> |
2166 | |
2167 * oct-fftw.h: Sprinkle with OCTAVE_API as needed. | |
2168 | |
6244 | 2169 2007-01-17 Michael Goffioul <michael.goffioul@swing.be> |
2170 | |
2171 * lo-sysdep.cc (octave_chdir): Handle directory names like "C:" on | |
2172 Windows systems. | |
2173 | |
6242 | 2174 2007-01-16 John W. Eaton <jwe@octave.org> |
2175 | |
2176 * dSparse.cc: Fix dgbtrf decl for --enable-64. | |
2177 (SparseMatrix::bsolve): Fix call to dgbtrf for --enable-64 | |
2178 | |
2179 * oct-fftw.h (fftw_planner): Provide decl. | |
2180 | |
6241 | 2181 2007-01-11 Michael Goffioul <michael.goffioul@swing.be> |
2182 | |
2183 * Makefile.in (LINK_DEPS): Include $(CAMD_LIBS) in the list. | |
2184 | |
6236 | 2185 2007-01-10 John W. Eaton <jwe@octave.org> |
2186 | |
2187 * oct-sparse.h: Use HAVE_CHOLMOD_CHOLMOD_H, not | |
2188 HAVE_UMFPACK_CHOLMOD_H for case of "cholmod/cholmod.h". | |
2189 | |
6231 | 2190 2007-01-08 David Bateman <dbateman@free.fr> |
2191 | |
2192 * oct-sparse.h: Replace sparsesuite with suitesparse and | |
2193 SPARSESUITE with SUITESPARSE to match upstream name. | |
2194 | |
6228 | 2195 2007-01-05 David Bateman <dbateman@free.fr> |
2196 | |
2197 * oct-fftw.cc: (octave_fftw_planner::method (void), | |
2198 octave_fftw_planner (FftwMethod)): New methods to interrogate and | |
2199 set the FFTW wisdom method used. | |
2200 (octave_fftw_planner::create_plan) Modify to allow different | |
2201 methods to be used. | |
2202 (octave_fftw_planner): Move class definition from here. | |
2203 * oct-fftw.h (octave_fftw_planner): To here. Add method methods | |
2204 and FftwMethod enum. | |
2205 | |
6221 | 2206 2007-01-03 David Bateman <dbateman@free.fr> |
2207 | |
2208 * MSparse.cc (SPARSE_A2A2_OP, SPARSE_A2A2_FCN_1, | |
2209 SPARSE_A2A2_FCN_1): Modify macros so that scalars stored as | |
2210 sparse matrices are special cased. | |
2211 | |
2212 * Sparse-op-defs.h: Include mx-ops.h to have access to mixed | |
2213 matrix, sparse matrix operations. | |
2214 (SPARSE_SMSM_BIN_OP_1, SPARSE_SMSM_BIN_OP_2, SPARSE_SMSM_BIN_OP_3, | |
2215 SPARSE_SMSM_CMP_OP, SPARSE_SMSM_BOOL_OP, SPARSE_MSM_BIN_OP_1, | |
2216 SPARSE_MSM_BIN_OP_2, SPARSE_MSM_CMP_OP, SPARSE_MSM_BOOL_OP, | |
2217 SPARSE_SMM_BIN_OP_1, SPARSE_SMM_BIN_OP_2, SPARSE_SMM_CMP_OP, | |
2218 SPARSE_SMM_BOOL_OP, SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, | |
2219 FULL_SPARSE_MUL): Modify macros so that scalars stored as | |
2220 sparse matrices are special cased. | |
2221 | |
6217 | 2222 2006-12-22 David Bateman <dbateman@free.fr> |
2223 | |
2224 * boolSparse.cc (SparseBoolMatrix::operator !): Fix off-by-one error. | |
2225 | |
6216 | 2226 2006-12-22 John W. Eaton <jwe@octave.org> |
2227 | |
2228 * dim-vector.h (dim_vector::dim_vector): Always start with at | |
2229 least 2 dimensions. | |
2230 (dim_vector::resize): Don't allow resizing to fewer than 2 dimensions. | |
2231 | |
6208 | 2232 2006-12-06 Michael Goffioul <michael.goffioul@swing.be> |
2233 | |
2234 * lo-sysdep.cc (opendir): Avoid passing \\* to FindFirstFile. | |
2235 | |
2236 * file-ops.cc (ops::canonicalize_file_name): Provide partial | |
6217 | 2237 implementation for Windows. |
6208 | 2238 |
6207 | 2239 2006-12-06 David Bateman <dbateman@free.fr> |
2240 | |
6208 | 2241 * dSparse.cc (SparseMatrix::is_symmetric): Faster implementation. |
2242 * CSparse.cc (SparseComplexMatrix::is_symmetric): Ditto. | |
6207 | 2243 |
2244 * dMatrrix.cc (finverse): Old inverse method renamed inverse. | |
2245 (tinverse): New method for triangular matrices. | |
2246 (inverse): New function with matrix type probing. | |
2247 * dMatrix.h (finverse, tinverse, inverse): New and modified | |
2248 declarations. | |
6208 | 2249 * CMatrix.cc: Ditto. |
2250 * CMatrix.h: Ditto. | |
6207 | 2251 |
6205 | 2252 2006-12-06 John W. Eaton <jwe@octave.org> |
2253 | |
2254 * strptime.c (day_of_the_week): Use code from current glibc sources. | |
2255 | |
6202 | 2256 2006-12-05 John W. Eaton <jwe@octave.org> |
2257 | |
2258 * lo-utils.cc (octave_read_double): If we see '+' or '-' but not | |
2259 followed by 'I' or 'i', try reading number after putting | |
2260 characters back on input stream. | |
2261 | |
6198 | 2262 2006-12-05 Paul Kienzle <pkienzle@users.sf.net> |
2263 | |
2264 * randpoisson.c (oct_fill_randp): For lambda > 1e8, upper limit of | |
2265 loop is n, not L. | |
2266 | |
6194 | 2267 2006-11-30 John W. Eaton <jwe@octave.org> |
2268 | |
2269 * lo-utils.cc (octave_read_double, read_inf_nan_na): | |
2270 Also recognize [+-][Ii]nf. | |
2271 | |
6187 | 2272 2006-11-28 David Bateman <dbateman@free.fr> |
6186 | 2273 |
2274 * oct-sparse.h: Allow sparse headers to also be in a sparsesuite | |
2275 sub-directory. | |
2276 | |
6204 | 2277 * dSparse.cc (SparseMatrix::inverse): Transpose the matrix type as |
2278 well when calling tinverse for lower triangular matrices. | |
2279 * CSparse.cc (SparseComplexMatrix::inverse): | |
2280 Ditto. | |
6185 | 2281 |
6183 | 2282 2006-11-21 John W. Eaton <jwe@octave.org> |
2283 | |
2284 * oct-env.cc (do_absolute_pathname): Undo previous change. | |
2285 | |
6182 | 2286 2006-11-20 John W. Eaton <jwe@octave.org> |
2287 | |
2288 * oct-env.cc (octave_env::do_absolute_pathname): Also return true | |
2289 for ".", and names beginning with "./" or "../". | |
2290 | |
6162 | 2291 2006-11-14 Luis F. Ortiz <lortiz@interactivesupercomputing.com> |
2292 | |
2293 * CMatrix.cc, dMatrix.cc: New tests. | |
2294 | |
6153 | 2295 2006-11-13 Michael Goffioul <michael.goffioul@swing.be> |
2296 | |
2297 * Array-d.cc, dDiagMatrix.h: Sprinkle with OCTAVE_API as needed. | |
2298 | |
6152 | 2299 2006-11-11 John W. Eaton <jwe@octave.org> |
2300 | |
2301 * Makefile.in ($(OPTS_INC), mx-ops.h): | |
2302 Use $(simple-move-if-change-rule) here. | |
2303 | |
6148 | 2304 2006-11-09 David Bateman <dbateman@free.fr> |
2305 | |
2306 * sparse-base-chol.cc (sparse_base_chol_rep::Q): Cast perms(i) to | |
2307 octave_idx_type, not int. | |
2308 | |
6145 | 2309 2006-11-08 John W. Eaton <jwe@octave.org> |
2310 | |
2311 * dir-ops.cc (dir_entry::read): Avoid rewinddir. | |
2312 | |
6141 | 2313 2006-11-06 John W. Eaton <jwe@octave.org> |
2314 | |
2315 * Array.cc (assignN): Exit early if invalid indices are found. | |
2316 | |
6140 | 2317 2006-11-03 Michael Goffioul <michael.goffioul@swing.be> |
2318 | |
2319 * strftime.c [HAVE_TZNAME]: Tag tzname with OCTAVE_IMPORT. | |
2320 | |
6137 | 2321 2006-11-03 John W. Eaton <jwe@octave.org> |
2322 | |
2323 * Makefile.in (DLL_CXXDEFS): Rename from XTRA_CXXDEFS. | |
2324 (DLL_CDEFS): Rename from XTRA_CDEFS. | |
2325 Substitute OCTAVE_DLL_DEFS, not XTRA_OCTAVE_DEFS. | |
2326 | |
6123 | 2327 2006-10-28 Michael Goffioul <michael.goffioul@swing.be> |
2328 | |
2329 * oct-shlib.cc: Undefine min and max after including windows.h. | |
2330 * oct-syscalls.cc (syscalls::pipe (int *)): Avoid infinite recursion. | |
2331 * lo-sysdep.h: Move opendir, readdir, etc. decls here from | |
2332 lo-sysdep.cc. | |
2333 | |
6113 | 2334 2006-10-27 John W. Eaton <jwe@octave.org> |
2335 | |
6119 | 2336 * oct-time.cc [! HAVE_STRFTIME]: Declare strftime. |
2337 | |
2338 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> | |
2339 | |
2340 * mx-op-defs.h (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, | |
2341 NDS_CMP_OPS2): New macros. | |
6113 | 2342 |
6111 | 2343 2006-10-26 John W. Eaton <jwe@octave.org> |
2344 | |
6119 | 2345 * mx-ops (core-type): New field for integer types. |
2346 * mk-ops.awk: Handle core-type for integer comparison ops. | |
2347 | |
6111 | 2348 * lo-cutils.c (octave_strcasecmp, octave-strncasecmp): |
2349 Move here from src/cutils.c. | |
2350 * lo-utils.h: Provide decls. | |
2351 * strcasecmp.c: Move here from src/strcasecmp.c. | |
2352 * strncase.c: Move here from src/strncase.c. | |
2353 * Makefile.in (LIBOCTAVE_C_SOURCES): Add them to the list. | |
2354 | |
6106 | 2355 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
2356 | |
2357 * kpse.cc [! MSVC]: Don't include win32lib.h. | |
2358 | |
6708 | 2359 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-util.h, |
2360 Array.h, CColVector.h, CMatrix.h, CNDArray.h, CRowVector.h, | |
2361 CSparse.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, | |
2362 CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, | |
2363 CollocWt.h, DAE.h, DASPK.h, DASRT.h, DASSL.h, EIG.h, LSODE.h, | |
2364 MArray-C.cc, MArray-defs.h, MSparse-C.cc, MSparse-d.cc, | |
2365 MSparse-defs.h, MatrixType.h, NLEqn.h, Quad.h, Range.h, | |
2366 Sparse-op-defs.h, Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, | |
2367 SparseCmplxQR.h, SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, | |
2368 boolMatrix.h, boolNDArray.h, boolSparse.h, chMatrix.h, | |
2369 chNDArray.h, cmd-edit.h, cmd-hist.h, dColVector.h, dDiagMatrix.h, | |
2370 dMatrix.h, dNDArray.h, dRowVector.h, dSparse.h, data-conv.h, | |
2371 dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, dbleLU.h, | |
2372 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, dir-ops.h, | |
2373 file-ops.h, file-stat.h, glob-match.h, idx-vector.h, | |
2374 int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, | |
2375 lo-cutils.c, lo-ieee.h, lo-mappers.h, lo-specfun.h, lo-utils.h, | |
2376 mach-info.h, mx-op-defs.h, oct-alloc.h, oct-env.h, oct-group.h, | |
2377 oct-inttypes.cc, oct-inttypes.h, oct-passwd.h, oct-rand.h, | |
2378 oct-shlib.h, oct-spparms.h, oct-syscalls.h, oct-time.h, | |
2379 oct-uname.h, pathsearch.h, prog-args.h, so-array.h, str-vec.h, | |
2380 uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc, | |
2381 uint8NDArray.cc: Sprinkle with OCTAVE_API as needed. | |
6108 | 2382 |
6105 | 2383 2006-10-26 John W. Eaton <jwe@octave.org> |
2384 | |
2385 * oct-inttypes.cc (INSTANTIATE_INTTYPE_BIN_OP): Provide explicit | |
2386 type qualification for OP. | |
2387 | |
6101 | 2388 2006-10-26 David Bateman <dbateman@free.fr> |
2389 | |
2390 * Sparse.cc (Sparse<T>::resize_no_fill (octave_idx_type, | |
2391 octave_idx_type)): Be more careful with the size of the input | |
2392 matrix, and therefore don't create or read non existent data. | |
2393 | |
6092 | 2394 2006-10-25 John W. Eaton <jwe@octave.org> |
2395 | |
2396 * Sparse.cc (assign): Clear lhs index after error. | |
2397 | |
6093 | 2398 2006-10-25 David Bateman <dbateman@free.fr> |
6092 | 2399 |
2400 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
2401 Fix previous patch so it works. | |
2402 | |
6087 | 2403 2006-10-25 Michael Goffioul <michael.goffioul@swing.be> |
2404 | |
6095 | 2405 * glob-match.h (glob_match::glob_match (const std::string&, |
2406 unsigned int)): Delete initializer for first arg. | |
2407 | |
6093 | 2408 * lo-sysdep.cc (opendir, readdir, rewinddir, closedir): |
2409 New functions. | |
2410 | |
6087 | 2411 * Makefile.in (XTRA_CDEFS, XTRA_CXXDEFS): Substitute here. |
2412 | |
6096 | 2413 * oct-env.cc (octave_env::do_get_home_directory) [_MSC_VER]: Use |
2414 same code as __MINGW32__. | |
2415 * syswait.h [_MSC_VER]: Define HAVE_WAITPID, WAITPID, and WNOHANG | |
2416 the same as for __MINGW32__. | |
2417 | |
2418 * randpoisson.c: Undefine INFINITE before redefining. | |
2419 | |
6079 | 2420 2006-10-24 David Bateman <dbateman@free.fr> |
2421 | |
2422 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Resize the | |
2423 lhs at the point we know the assignment can succeed if the lhs is | |
2424 empty. | |
2425 | |
6072 | 2426 2006-10-23 John W. Eaton <jwe@octave.org> |
2427 | |
2428 * Array.cc (assign2): Don't require vector assignments to be oriented. | |
2429 | |
6061 | 2430 2006-10-17 John W. Eaton <jwe@octave.org> |
2431 | |
2432 * lo-cieee.c: If isnan is not available but _isnan is, then define | |
2433 isnan to be _isnan, and define HAVE_ISNAN. Likewise for _finite | |
2434 and _copysign. | |
2435 | |
6059 | 2436 2006-10-17 Michael Goffioul <michael.goffioul@swing.be> |
6051 | 2437 |
6061 | 2438 * oct-syscalls.cc (syscalls::waitpid): Always declare and define retval. |
2439 | |
6708 | 2440 * CMatrix.cc (ComplexMatrix::solve): Avoid infinite recursion. |
2441 * CSparse.cc (SparseComplexMatrix::insert): Likewise. | |
6061 | 2442 |
6058 | 2443 * oct-types.h.in: Include limits.h, for CHAR_BIT. |
2444 | |
6059 | 2445 2006-10-13 Michael Goffioul <michael.goffioul@swing.be> |
2446 | |
6051 | 2447 * Makefile.in: Adapt rules to use $(LIBPRE). |
2448 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2449 2006-10-03 David Bateman <dbateman@free.fr> |
6027 | 2450 |
2451 * MatrixType.cc (MatrixType::MatrixType): Avoid crash if np == 0 | |
2452 or p == 0. | |
2453 | |
6018 | 2454 2006-10-02 John W. Eaton <jwe@octave.org> |
2455 | |
2456 * dbleDET.cc (DET::initialize2): Ensure arg to log10 is double. | |
2457 * CmplxDET.cc (ComplexDET::initialize2): Likewise. | |
2458 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2459 2006-09-22 David Bateman <dbateman@free.fr> |
5996 | 2460 |
2461 * MatrixType.h (MatrixType::MatrixType(const SparseComplexMatrix&)): | |
5997 | 2462 Remove spurious warning. |
5996 | 2463 |
5992 | 2464 2006-09-15 John W. Eaton <jwe@octave.org> |
2465 | |
2466 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&) const): | |
2467 Handle resizing. | |
2468 | |
2469 * intNDArray.h (intNDArray<T>:elt_type): New typedef. | |
2470 | |
5983 | 2471 2006-09-11 John W. Eaton <jwe@octave.org> |
2472 | |
2473 * dMatrix.cc (operator * (const Matrix&, const Matrix&))): | |
2474 Handle M*v and rv*cv special cases. | |
2475 * CMatrix.cc (operator * (const ComplexMatrix&, const | |
2476 ComplexMatrix&))): Likewise. | |
2477 From Luis F. Ortiz <lortiz@interactivesupercomputing.com>. | |
2478 | |
2479 * dRowVector.cc (operator * (const RowVector&, const | |
2480 ColumnVector&)): Call xddot here instead of using a Fortran | |
2481 function directly. | |
2482 * CRowVector.cc (operator * (const ComplexRowVector&, const | |
2483 ComplexColumnVector&)): Call xzdotu here. | |
2484 | |
2485 2006-09-05 John W. Eaton <jwe@octave.org> | |
2486 | |
2487 * chNDArray.cc (charNDArray::any, charNDArray::all): Compare | |
2488 elements to '\0', not ' '. | |
2489 | |
5972 | 2490 2006-08-25 John W. Eaton <jwe@octave.org> |
2491 | |
2492 * mx-inlines.cc (MX_ND_REDUCTION): Special case for 0x0 arrays. | |
2493 | |
5958 | 2494 2006-08-23 John W. Eaton <jwe@octave.org> |
2495 | |
2496 * dMatrix.cc, dMatrix.h (Matrix::save_ascii): Delete function and decl. | |
2497 * CMatrix.cc, CMatrix.h (ComplexMatrix::save_ascii): Likewise. | |
2498 | |
5955 | 2499 2006-08-22 John W. Eaton <jwe@octave.org> |
2500 | |
5956 | 2501 * CMatrix.cc (ComplexMatrix::save_ascii): New function. |
2502 * dMatrix.cc (Matrix::save_ascii): New function. | |
2503 | |
5955 | 2504 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Correctly detect empty arrays. |
2505 If array is empty, return value is same size as array. | |
2506 (MX_ND_REDUCTION): Correctly detect empty arrays. | |
2507 If array is empty, produce correctly sized return value. | |
2508 | |
5940 | 2509 2006-08-18 John W. Eaton <jwe@octave.org> |
2510 | |
5943 | 2511 * dMatrix.cc (Matrix::any_element_not_one_or_zero): New function. |
2512 * dMatrix.h: Provide decl. | |
2513 * dNDArray.cc (NDArray::any_element_not_one_or_zero): New function. | |
2514 * dNDArray.h: Provide decl. | |
2515 * intNDArray.cc (intNDArray<T>::any_element_not_one_or_zero): | |
2516 New function. | |
2517 * intNDArray.h: Provide decl. | |
2518 | |
5940 | 2519 * Array.cc (Array<T>::permute): Only rearrange values if array is |
2520 not empty. | |
2521 | |
5904 | 2522 2006-07-26 John W. Eaton <jwe@octave.org> |
2523 | |
2524 * dbleDET.cc (DET::initialize10, DET::value_will_underflow, | |
2525 DET::value_will_overflow): Use xlog2 instead of log2. | |
2526 (DET::initialize2, DET::initialize10): Use xround instead of round. | |
2527 (DET::initialize2, DET::value): Use xexp2 instead of exp2. | |
2528 * CmplxDET.cc (ComplexDET::initialize10, | |
2529 ComplexDET::value_will_underflow, | |
2530 ComplexDET::value_will_overflow): Use xlog2 instead of log2. | |
2531 (ComplexDET::initialize2, ComplexDET::initialize10): | |
2532 Use xround instead of round. | |
2533 (ComplexDET::initialize2, ComplexDET::value): | |
2534 Use xexp2 instead of exp2. | |
2535 | |
2536 * lo-mappers.cc (M_LOG10E): Delete unused macro. | |
2537 (xlog2, xexp2): New functions. | |
2538 * lo-mappers.h: Provide decls. | |
2539 | |
5900 | 2540 2006-07-22 John W. Eaton <jwe@octave.org> |
2541 | |
2542 * Sparse.h (Sparse<T>::mex_get_data, Sparse<T>::mex_get_ir, | |
2543 Sparse<T>::mex_get_jc): New functions. | |
2544 | |
2545 2006-07-21 John W. Eaton <jwe@octave.org> | |
2546 | |
2547 * oct-inttypes.h (octave_int<T>::mex_get_data): New function. | |
2548 * Array.h (Array<T>::mex_get_data): New function. | |
2549 | |
5898 | 2550 2006-07-19 John W. Eaton <jwe@octave.org> |
2551 | |
2552 * oct-inttypes.h (octave_int::operator bool (void)): New function. | |
2553 | |
5893 | 2554 2006-07-16 John W. Eaton <jwe@octave.org> |
2555 | |
2556 * oct-spparms.h, oct-spparms.cc (class octave_sparse_params): | |
2557 Rename from SparseParams. Use same implementation method as other | |
2558 singleton classes in Octave. Change all uses of | |
2559 Voctave_sparse_controls to use static functions from | |
2560 octave_sparse_params class instead. | |
2561 | |
2562 * oct-spparms.h, oct-spparms.cc (SparseParams::set_key, | |
2563 SparseParams::get_key): Pass std::string arg by const reference, | |
2564 not const value. | |
2565 | |
5892 | 2566 2006-07-15 John W. Eaton <jwe@octave.org> |
2567 | |
2568 * data-conv.cc: Instantiante swap_bytes templates here. | |
2569 | |
2570 * MatrixType.cc (MatrixType::MatrixType): | |
2571 Use complete initializer lists in constructors. | |
2572 | |
5880 | 2573 2006-07-06 John W. Eaton <jwe@octave.org> |
2574 | |
2575 * str-vec.cc (string_vector::string_vector (std::list<std::string>&)): | |
2576 New constructor. | |
2577 * str-vec.h: Provide decl. | |
2578 | |
5876 | 2579 2006-07-01 David Bateman <dbateman@free.fr> |
2580 | |
2581 * dSparse.cc (tinverse): Check for rows with no elements and zero | |
2582 elements on the diagonal. Allow both Upper and Lower triangular | |
2583 matrices to be treated. | |
2584 * CSparse.cc (tinverse): ditto. | |
2585 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Take into account 64-bit | |
2586 constant assignment. | |
2587 | |
5870 | 2588 2006-06-30 John W. Eaton <jwe@octave.org> |
2589 | |
5872 | 2590 * lo-sysdep.cc (octave_chdir): Perform tilde expansion here. |
2591 * cmd-edit.cc (editor::read_init_file): Ditto. | |
2592 * dir-ops.cc (dir_entry::open): Ditto. | |
5871 | 2593 * file-stat.cc (stat::update_internal): Ditto. |
5872 | 2594 * cmd-hist.cc (command_history::set_file): Ditto. |
5871 | 2595 |
5870 | 2596 * data-conv.cc (data_conv::string_to_data_type): |
2597 Correctly handle leading "*". | |
2598 | |
5869 | 2599 2006-06-29 Atsushi Kajita <a-kajita@mizar.freemail.ne.jp> |
2600 | |
2601 * Sparse.cc (Sparse<T>::SparseRep::elem): Avoid out of bounds | |
2602 array access. | |
2603 | |
5866 | 2604 2006-06-27 John W. Eaton <jwe@octave.org> |
2605 | |
2606 * Makefile.in: Finish renaming of OBJECTS -> LIBOCTAVE_OBJECTS. | |
2607 | |
5864 | 2608 2006-06-21 John W. Eaton <jwe@octave.org> |
2609 | |
2610 * oct-shlib.cc (octave_dlopen_shlib::close, | |
2611 octave_shl_load_shlib::close, octave_w32_shlib::close): | |
2612 Skip do_close_hook if cl_hook is 0. | |
2613 | |
5863 | 2614 2006-06-16 John W. Eaton <jwe@octave.org> |
2615 | |
2616 * oct-sort.h: Don't include config.h, lo-mappers.h, or quit.h. | |
2617 * randmtzig.h: Don't inlcude config.h. | |
2618 | |
5837 | 2619 2006-05-31 David Bateman <dbateman@free.fr> |
2620 | |
2621 * Array.cc (assignN): Maybe reshape LHS before doing assignment. | |
2622 | |
5828 | 2623 2006-05-23 John W. Eaton <jwe@octave.org> |
2624 | |
2625 * oct-types.h.in: Include stdint.h or inttypes.h for integer | |
2626 typedefs, or define them if those files are not available. | |
2627 * oct-inttypes.h (octave_int8_t, octave_int16_t, octave_int32_t, | |
2628 octave_int64_t, octave_uint8_t, octave_uint16_t, octave_uint32_t, | |
2629 octave_uint64_t): Delete typedefs. Replace all uses of these | |
2630 types with int8_t, int16_t, etc. | |
2631 * data-conv.h (TWO_BYTE_INT, FOUR_BYTE_INT, EIGHT_BYTE_INT): | |
2632 Delete definitions. Replace all uses of these macros with int8_t, | |
2633 int16_t, etc. | |
2634 * randmtzig.h: Delete integer typedefs. | |
2635 | |
5822 | 2636 2006-05-18 John W. Eaton <jwe@octave.org> |
2637 | |
2638 * EIG.cc (EIG::init): Trap Inf and NaN values here. | |
2639 From Keith Goodman <kwgoodman@gmail.com>. | |
2640 | |
5813 | 2641 2006-05-08 David Bateman <dbateman@free.fr> |
2642 | |
2643 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): fix bug in previous | |
2644 modification. | |
2645 | |
5797 | 2646 2006-05-09 David Bateman <dbateman@free.fr> |
2647 | |
2648 * sparse-dmsolve.cc: Remove reference to ov-re-sparse.h, | |
2649 ov-cx-sparse. and error_state. | |
2650 * SparseQR.cc, SparseCmplxQR.cc (qrsolve): Return info = -1 on error. | |
2651 | |
5795 | 2652 2006-05-08 David Bateman <dbateman@free.fr> |
2653 | |
2654 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Set column pointers in | |
2655 first pass and use to determine which algorithm to use on a | |
2656 column-by-column basis. | |
2657 | |
5792 | 2658 2006-05-04 David Bateman <dbateman@free.fr> |
2659 | |
2660 * SparseQR.cc, SparseQR.h, SparseCmplxQR.cc, SparseCmplxQR.h, | |
2661 sparse-dmsolve.cc : Allow compilation with versions v2.0.0 of | |
2662 CXSparse or later | |
2663 | |
5785 | 2664 2006-05-03 David Bateman <dbateman@free.fr> |
2665 | |
2666 * CMatrix.cc (zpotrf, zpocon, zpotrs, ztrcon, ztrtrs): | |
2667 External declaration of lapack triangular and Cholesky codes. | |
2668 (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, | |
2669 ComplexMatrix::fsolve): New private solver codes for | |
2670 upper, lower and LU/Cholesky solvers. | |
2671 (ComplexMatrix::solve): New versions for cached matrix | |
2672 type. Adapt old versions to call new versions | |
2673 * CMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
2674 new solvers. | |
2675 (solve): New versions for cached matrix type. | |
2676 * dMatrix.cc (dpotrf, dpocon, dpotrs, dtrcon, dtrtrs): | |
2677 External declaration of lapack triangular and Cholesky codes. | |
2678 (Matrix::utsolve, Matrix::ltsolve, | |
2679 Matrix::fsolve): New private solver codes for | |
2680 upper, lower and LU/Cholesky solvers. | |
2681 (Matrix::solve): New versions for cached matrix | |
2682 type. Adapt old versions to call new versions | |
2683 * dMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
2684 new solvers. | |
2685 (solve): New versions for cached matrix type. | |
2686 * CSparse.cc: Replace all uses of SparseType with MatrixType. | |
2687 * CSparse.h: ditto. | |
2688 * dSparse.cc: ditto. | |
2689 * dSparse.h: ditto. | |
2690 * SparseCmplxCHOL.cc: ditto. | |
2691 * SparsedbleCHOL.cc: ditto. | |
2692 * sparse-dmsolve.cc: ditto. | |
2693 * SparseType.cc, SparseType.h: delete. | |
2694 * MatrixType.cc: New file for class to cache matrix type, based on | |
2695 old SparseType class but caching matrix and sparse types. | |
2696 * MatrixType.h: ditto. | |
2697 * Makefile.in (MATRIX_INC, MATRIX_SRC): Add MatrixType.h and | |
2698 MatrixType.cc respectively. Delete SparseType.h and SparseType.cc | |
2699 respectively. | |
2700 * mx-base.h: Include MatrixTye.h as header file. | |
2701 | |
5781 | 2702 2006-05-01 John W. Eaton <jwe@octave.org> |
2703 | |
2704 * oct-shlib.h (octave_shlib::octave_shlib, octave_shlib::open): | |
2705 Delete WARN_FUTURE arg. Change all uses. | |
2706 * oct-shlib.cc (octave_base_shlib::stamp_time): Delete arg. | |
2707 Change all uses. Use current_liboctave_warning_with_id_handler. | |
2708 (octave_base_shlib::open): Delete arg. Change all derived classes | |
2709 and uses. | |
2710 | |
2711 2006-04-29 John W. Eaton <jwe@octave.org> | |
2712 | |
2713 * Array-flags.cc, Array-flags.h: Delete. | |
2714 * Makefile.in (MATRIX_SRC): Remove Array-flags.cc from the list. | |
2715 (MATRIX_INC): Remove Array-flags.h from the list. | |
2716 | |
2717 * idx-vector.cc (IDX_VEC_REP::freeze): Delete warn_resize arg. | |
2718 Use current_liboctave_warning_with_id_handler | |
2719 with warning ID Octave:resize-on-range-error. | |
2720 * idx-vector.h: Fix decl. | |
2721 * Array.cc, Sparse.cc: Change all callers. | |
2722 | |
2723 * Array.cc (Array<T>::maybe_delete_elements, Array<T>::index2, | |
2724 assign2, assignN): Use current_liboctave_warning_with_id_handler | |
2725 with warning ID Octave:fortran-indexing instead of | |
2726 liboctave_wfi_flag. | |
2727 * Sparse.cc (assign, Sparse<T>::index): Likewise. | |
2728 | |
5777 | 2729 2006-04-26 John W. Eaton <jwe@octave.org> |
2730 | |
2731 * pathsearch.cc (dir_path::path_sep_char, dir_path::path_sep_str): | |
2732 New static data. | |
2733 * pathsearch.h: Provide decls. | |
2734 (dir_path::is_path_sep): New function. | |
2735 | |
5766 | 2736 2006-04-18 John W. Eaton <jwe@octave.org> |
2737 | |
2738 * randmtzig.c (randmt, randi53, randi54, randi64, randu32, randu53): | |
2739 Omit inline from decl. | |
2740 | |
2741 * Sparse.cc (Sparse<T>::index): Use std::vector<bool> to avoid | |
2742 local array with variable dimension. | |
2743 | |
5764 | 2744 2006-04-16 John W. Eaton <jwe@octave.org> |
2745 | |
5765 | 2746 * lo-sstream.h: Delete. |
2747 * Makefile.in (INCLUDES): Remove it from the list. | |
2748 | |
2749 * dim-vector.h (dim_vector::str): Use std::ostringstream directly. | |
2750 * Sparse.cc (Sparse::range_error): Likewise. | |
2751 * DASSL.cc (DASSL::error_message): Likewise. | |
2752 * LSODE.cc (LSODE::error_message): Likewise. | |
2753 * DASRT.cc (DASRT::error_message): Likewise. | |
2754 * DASPK.cc (DASPK::error_message): Likewise. | |
2755 * Array.cc (Array::range_error): Likewise. | |
2756 | |
5764 | 2757 * kpse.cc (kpse_hash): Rename from hash. |
2758 (hash_lookup): Call kpse_hash instead of hash. | |
2759 | |
2760 * SparseType.cc (SparseType::SparseType): Use std::vector<bool> | |
2761 to avoid local array with variable dimension. | |
2762 | |
5760 | 2763 2006-04-13 David Bateman <dbateman@free.fr> |
2764 | |
2765 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
2766 Optimize assignment. | |
2767 | |
2768 2006-04-13 John W. Eaton <jwe@octave.org> | |
2769 | |
2770 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
2771 Eliminate unnecessary casts. | |
2772 * SparsedbleLU.cc (SparseLU::SparseLU): Likewise. | |
2773 | |
2774 * kpse.cc (fopen): Use reinterpret_cast instead of C-style cast. | |
2775 (log_search, dir_links): Use static_cast instead of C-style cast. | |
2776 | |
2777 * prog-args.cc (args::getopt): Use reinterpret_cast instead of X_CAST. | |
2778 * oct-alloc.cc (allocator::grow): Likewise. | |
2779 * CSparse.cc (SparseComplexMatrix::determinant, | |
2780 SparseComplexMatrix::factorize, SparseComplexMatrix::fsolve): | |
2781 Likewise. | |
2782 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU): Likewise. | |
2783 | |
2784 * oct-sort.cc (roundupsize, octave_sort<T>::merge_getmem): | |
2785 Use static_cast instead of C-style cast. | |
2786 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
2787 * dSparse.cc (SparseMatrix::fsolve): Likewise. | |
2788 | |
2789 * data-conv.cc (LS_DO_WRITE): Use static_cast for value conversion. | |
2790 Use OCTAVE_LOCAL_BUFFER instead of new/delete. | |
2791 (LS_DO_READ): Allocate local buffer to avoid pointer tricks. | |
2792 (write_doubles, read_doubles, LS_DO_WRITE, LS_DO_READ): | |
2793 Use reinterpret_cast instead of X_CAST. | |
2794 | |
2795 * DiagArray2.h (DiagArray2::Proxy::operator&): No need to cast | |
2796 return value here. | |
2797 | |
5752 | 2798 2006-04-12 Rafael Laboissiere <rafael@debian.org> |
2799 | |
2800 * ArrayN.h (ArrayN::ArrayN): Qualify fill with Array<T> base class. | |
2801 * DiagArray2.h (DiagArray2::DiagArray2): Likewise. | |
2802 | |
5730 | 2803 2006-04-03 David Bateman <dbateman@free.fr> |
2804 | |
5731 | 2805 * Sparse.cc (Sparse<T>::resize): Use xcidx rather than cdix, etc |
2806 to avoid copy of original matrix. | |
2807 | |
5730 | 2808 * Makefile.in (INCLUDES): Add randgamma.h, randpoisson.h and |
2809 randmtzig.h to the list. | |
2810 (LIBOCTAVE_C_SOURCES): Add randgamma.c, randpoisson.c and | |
2811 randmtzig.c to the list. | |
2812 * oct-rand.cc (do_old_initialization): Rename from do_initialization. | |
2813 (use_old_generators): New variable. | |
2814 (old_initialized): Rename from initialized. | |
2815 (new_initialized): New variable. | |
2816 (oct_init_by_entropy): New function. | |
2817 (maybe_initialize): Initialize new or old generator depending on | |
2818 value of use_old_generators. | |
2819 (octave_rand::state): New functions. | |
2820 (octave_rand::distribution): Add gamma, exponential and poisson | |
2821 distributions. | |
2822 (octave_rand::exponential_distribution, | |
2823 octave_rand::poisson_distribution, | |
2824 octave_rand::gamma_distribution): New methods to select | |
2825 exponential, poisson or gamma distribution. | |
2826 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
2827 octave_rand::vector): Add new distributions. | |
2828 * oct-rand.h: Provide decls for new functions. | |
2829 (octave_rand::matrix, octave_rand::scalar, octave_rand:: | |
2830 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
2831 octave_rand::vector): New arg A, for gamma and poisson distributions. | |
2832 * randpoisson.c, randpoisson.h, randgamma.c, randmtzig.c, | |
2833 randmtzig.h: New files. | |
2834 | |
5717 | 2835 2006-03-24 John W. Eaton <jwe@octave.org> |
2836 | |
2837 * dSparse.cc (SparseMatrix::bsolve): Integer work vector is | |
2838 Array<octave_idx_type>, so fortran_vec returns pointer to | |
2839 octave_idx_type, not pointer to int. | |
2840 | |
2841 * CMatrix.cc, CMatrix.h (ComplexMatrix::row (char*), | |
2842 ComplexMatrix::column (char*)): Delete. | |
2843 * dMatrix.cc, dMatrix.h (Matrix::row (char*), | |
2844 Matrix::column (char*)): Delete. | |
2845 | |
5713 | 2846 2006-03-21 David Bateman <dbateman@free.fr> |
2847 | |
2848 * SparseQR.h: Publish externally used friends. | |
2849 * SparseCmplxQR.h: ditto. | |
2850 | |
5700 | 2851 2006-03-21 John W. Eaton <jwe@octave.org> |
2852 | |
2853 * lo-specfun.cc (betainc): Use F77_XFCN instead of F77_FUNC for | |
2854 call to xdbetai. | |
2855 | |
5697 | 2856 2006-03-21 David Bateman <dbateman@free.fr> |
2857 | |
5701 | 2858 * lo-specfun.cc (xlgamma, xgamma): Trap special values. |
2859 (xlgamma): Use F77_XFCN instead of F77_FUNC for call to dlgams. | |
5700 | 2860 |
2861 * dSparse.cc (solve): Add argument singular_fallback, to allow | |
2862 fallback to QR solvers to be optional. | |
2863 * CSparse.cc (solve): Ditto. | |
2864 * dSparse.h (solve): update declaration for new argument. | |
2865 * CSparse.h (solve): Ditto. | |
2866 * sparse-dmsolve.cc (dmsolve): Use singular_fallback argument | |
2867 to bypass QR solvers when solving the well determined part of | |
2868 the problem. | |
5697 | 2869 |
5690 | 2870 2006-03-17 John W. Eaton <jwe@octave.org> |
2871 | |
2872 * str-vec.cc (vector::list_in_columns): New optional arg, width. | |
2873 | |
5681 | 2874 2006-03-16 David Bateman <dbateman@free.fr> |
2875 | |
2876 * CSparse.cc: Change use of nzmax to nnz to allow automatic | |
2877 reduction of matrix size, except for a couple of cases where nzmax | |
2878 is needed. | |
2879 (zpbcon): Correct declaration of lapack zpbcon function. | |
2880 (dsolve, utsolve, ltsolve, trisolve, bsolve, factorize, fsolve): Add | |
2881 an argument to allow the calculation of condition number to be | |
2882 optional. | |
2883 (bsolve): Add code for the calculation of the condition number | |
2884 using zpbcon and zgbcon. | |
2885 (dsolve): Bug fix for rectangular matrices with sparse RHS. | |
2886 (utsolve, ltsolve, trisolve, bsolve, fsolve): Mark matrix type as | |
2887 singular if singularity is detected. | |
2888 (solve): Use optional argument to disable calculation of | |
2889 condition number for all but fsolve, for speed. Add code to | |
2890 allow rectnagular matrices or matrices identified as singular | |
2891 to be treated. | |
2892 (lssolve): delete. | |
2893 (operator *): Don't recast real matrices as complex, but | |
2894 rather use the macro directly on the real data. | |
2895 * dSparse.cc: ditto. | |
2896 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, | |
2897 fsolve, factorize): Update declaration for new argument to | |
2898 calculate the condition number. | |
2899 (lssolve): delete. | |
2900 * dSparse.h: ditto. | |
2901 * Msparse.h: Change use of nxmax to nnz to allow automatic | |
2902 reduction of matrix size, except for a couple of cases where | |
2903 nzmax is needed. | |
2904 * Sparse.cc: Change use of nxmax to nnz to allow automatic | |
2905 reduction of matrix size, except for a couple of cases where | |
2906 nzmax is needed. | |
2907 (Sparse<T>::index (idx_vector&, idx_vector&, int) const): | |
2908 Special case strict permutations for speed. | |
2909 * Sparse-op-defs.h: Change use of nxmax to nnz to allow automatic | |
2910 reduction of matrix size, except for a couple of cases where | |
2911 nzmax is needed. | |
2912 (SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, FULL_SPARSE_MUL): Update | |
2913 macros to allow mixed complex/real arguments. | |
2914 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): New macro for C99 zero | |
2915 value. | |
2916 (qrsolve): Use it to zero temporary buffers used bt CXSPARSE. | |
2917 * SparseType.cc (SparseType::SparseType ()): Correct detection | |
2918 of permutated triangular matrices to avoid seg-faults. Disable | |
2919 detection of underdetermined lower and over-determined upper | |
2920 matrix due to problems with non minimum norm solutions. | |
2921 * sparse-dmsolve.cc: New file for Dulmage-Mendelsohn solver. | |
2922 * Makefile.in: add sparse-dmsolve.cc to targets. | |
2923 | |
5675 | 2924 2006-03-15 William Poetra Yoga Hadisoeseno <williampoetra@gmail.com> |
2925 | |
2926 * oct-time.cc (octave_strptime::init): Return useful character count. | |
2927 | |
5648 | 2928 2006-03-08 David Bateman <dbateman@free.fr> |
2929 | |
2930 * SparseCmplxQR.cc: Updates for new upstream CXSPARSE release. Fix for | |
2931 g++ 4.x stl_vector.h issue with C99 double _Complex type. | |
2932 * SparseCmplxQR.h: Updates for new upstream CXSPARSE release. | |
2933 * SparseQR.cc: ditto. | |
2934 * SparseQR.h: ditto. | |
2935 * oct-sparse.h: ditto. | |
2936 * sparse-base-chol.cc (sparse_base_chol<>::sparse_base_chol_rep::init): | |
2937 Declare info variable as volatile. | |
2938 | |
2939 * Sparse.cc (Sparse<T>::transpose (void) const): Accelerate algorithm. | |
2940 * CSparse.cc (SparseComplexMatrix::transpose (void) const): ditto. | |
2941 | |
5634 | 2942 2006-03-01 John W. Eaton <jwe@octave.org> |
2943 | |
2944 * CMatrix.cc (ComplexMatrix::determinant): | |
2945 Scale result by factors of 2, not 10. | |
2946 * dMatrix.cc (Matrix::determinant): Likewise. | |
2947 | |
2948 * dbleDET.h (DET::DET): Use initializer list. | |
2949 (DET::coefficient2, DET::coefficient10, DET::exponent2, | |
2950 DET::exponent10): New functions. | |
2951 (DET::det): Delete. | |
2952 (DET::c2, DET::c10, DET::e2, DET::e10, DET::base2): New data members. | |
2953 Store value internally with double and int instead of 2-element | |
2954 double vector. | |
2955 (DET::initialize2, DET::initialize10): Provide decls. | |
2956 * dbleDET.cc (DET::value_will_overflow, DET::value_will_underflow): | |
2957 Return bool value, not int. | |
2958 (DET::initialize2, DET::initialize10): New functions. | |
2959 | |
2960 * CmplxDET.h (ComplexDET::ComplexDET): Use initializer list. | |
2961 (ComplexDET::coefficient2, ComplexDET::coefficient10, | |
2962 ComplexDET::exponent2, ComplexDET::exponent10): New functions. | |
2963 (ComplexDET::det): Delete. | |
2964 (ComplexDET::c2, ComplexDET::c10, ComplexDET::e2, ComplexDET::e10, | |
2965 ComplexDET::base2): New data members. | |
2966 Store value internally with Complex and int instead of 2-element | |
2967 Complex vector. | |
2968 (ComplexDET::initialize2, ComplexDET::initialize10): Provide decls. | |
2969 * dbleComplexDET.cc (ComplexDET::value_will_overflow, | |
2970 ComplexDET::value_will_underflow): Return bool value, not int. | |
2971 (ComplexDET::initialize2, ComplexDET::initialize10): New functions. | |
2972 | |
5632 | 2973 2006-02-24 John W. Eaton <jwe@octave.org> |
2974 | |
2975 * Array.cc (assignN): Clear index before reshaping. | |
2976 | |
2977 * Array.h (Array<T>::operator =): Don't set idx to 0 if copying self. | |
2978 | |
5630 | 2979 2006-02-20 David Bateman <dbateman@free.fr> |
2980 | |
2981 * dSparse.cc (dsolve, utsolve, ltsolve): Remove restriction that | |
2982 matrix must be square in diagonal, permuted diagonal, triangular | |
2983 and permuted triangular back/forward substitution code. Change | |
2984 ambiguous use of no. rows and columns. | |
2985 * CSParse.cc (dsolve, utsolve, ltsolve): ditto. | |
2986 * SparseType.cc (SparseType::SparseType(const SparseMatrix&), | |
2987 SparseType::SparseType(const SparseComplexMatrix&)): Recognize | |
2988 rectangular diagonal, permuted diagonal, triangular and permuted | |
2989 triangular matrices. | |
2990 * Sparse.cc (Sparse<T>::Sparse (octave_idx_type, octave_idx_type, T)): | |
2991 Treat case where third argument is zero. | |
2992 | |
5621 | 2993 2006-02-15 John W. Eaton <jwe@octave.org> |
2994 | |
5622 | 2995 * kpse.cc: Do define ST_NLINK_TRICK for Cygwin systems. |
2996 (do_subdir) [ST_NLINK_TRICK]: Check links != 2 instead of links > 2. | |
2997 | |
5621 | 2998 * getopt.c: Use __CYGWIN__ instead of __CYGWIN32__. |
2999 | |
5619 | 3000 2006-02-13 David Bateman <dbateman@free.fr> |
3001 | |
3002 * Makefile.in (LINK_DEPS): Add missing dependencies on colamd, | |
3003 ccolamd and cxsparse | |
3004 | |
5617 | 3005 2006-02-13 John W. Eaton <jwe@octave.org> |
3006 | |
5618 | 3007 * kpse.cc (kpse_path_iterator::next): Reverse order of tests in |
3008 while loop condition. | |
3009 (kpse_path_iterator::operator =): Declare as private function but | |
3010 don't define to prevent attempts to use assignment operator. | |
3011 Don't define ST_NLINK_TRICK for Cygwin systems. | |
5617 | 3012 |
5615 | 3013 2006-02-10 John W. Eaton <jwe@octave.org> |
3014 | |
3015 * mx-inlines.cc (MX_ND_REDUCTION): Store in cummulative | |
3016 product of all dimensions in CP_SZ. | |
3017 | |
5611 | 3018 2006-02-09 John W. Eaton <jwe@octave.org> |
3019 | |
3020 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Store in cummulative | |
5615 | 3021 product of all dimensions in CP_SZ. |
5611 | 3022 |
5610 | 3023 2006-02-09 David Bateman <dbateman@free.fr> |
3024 | |
3025 * SparseQR.cc: new file for real sparse QR class. | |
3026 * SparseQR.h: declaration. | |
3027 * SparseCmplxQR.cc: new file for complex sparse QR class. | |
3028 * SparseCmplxQR.h: declaration. | |
3029 * dSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
3030 (factorize, fsolve): Enable code code lssolve. | |
3031 (lssolve): disable unused args, write based in above sparse QR class. | |
3032 * CSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
3033 (factorize, fsolve): Enable code code lssolve. | |
3034 (lssolve): disable unused args, write based in above sparse QR class. | |
3035 * oct-sparse.h: fix location of colamd, ccolamd and metis headers. | |
3036 Include CXSparse headers. | |
3037 * Makefile.in (MATRIX_INC): Include SparseQR.h and SparseCmplxQR.h. | |
3038 (MATRIX_SRC): Include SparseQR.cc and SparseCmplxQR.cc. | |
3039 | |
5607 | 3040 2006-02-08 John W. Eaton <jwe@octave.org> |
3041 | |
3042 * Array-util.h (calc_permutated_idx): Delete. | |
3043 * Array.cc (permute_vector): New data structure. | |
3044 (permute_vector_compare): New function. | |
3045 (Array<T>::permute): Rewrite to avoid calc_permutated_index for | |
3046 improved performance. | |
3047 | |
5606 | 3048 2006-02-04 David Bateman <dbateman@free.fr> |
3049 | |
3050 * COLAMD: Remove all files, as now unused. | |
3051 | |
5604 | 3052 2006-01-31 John W. Eaton <jwe@octave.org> |
3053 | |
3054 * Sparse.h (Sparse<T>::nzmax): New function. | |
3055 (Sparse<T>::nnz): Rename from nonzero. | |
3056 Change all uses of old nnz function to be nzmax. Change all uses | |
3057 of nonzero to be nnz. | |
3058 (Sparse<T>::nzmx): Rename from nnz (data member). Change all uses. | |
3059 | |
5603 | 3060 2006-01-21 David Bateman <dbateman@free.fr> |
3061 | |
3062 * sparse-sort.cc (bool octave_sparse_sidxl_comp): 64-bit fix. | |
3063 (bool octave_idx_vector_comp): New function. | |
3064 (template class octave_sort<octave_idx_vector_sort *>): Instantiate | |
3065 indexed idx_vector sorting function. | |
3066 * sparse-sort.h (class octave_sparse_sort_idxl): 64-bit fix. | |
3067 (class octave_idx_vector_sort): New class for indexed idx_vector | |
3068 sorting. | |
3069 (bool octave_idx_vector_comp): Declaration. | |
3070 * Sparse.cc (int assign1(Sparse<LT>&, Sparse<RT>&)): Treat cases of | |
3071 unordered LHS indexes in assignment using new octave_idx_vector_sort | |
3072 class. | |
3073 (int assign(Sparse<LT>&, Sparse<RT>&)): ditto. | |
3074 | |
5602 | 3075 2006-01-30 John W. Eaton <jwe@octave.org> |
3076 | |
3077 * so-array.h (streamoff_array::nnz): New funtion. | |
3078 * boolNDArray.h (boolNDArray::nnz): New function. | |
3079 * MArrayN.h (MArrayN<T>::nnz): New function. | |
3080 * MArray.h (MArray<T>::nnz): New function. | |
3081 | |
5587 | 3082 2006-01-04 David Bateman <dbateman@free.fr> |
3083 | |
3084 * Spars-op-defs.h (SPARSE_SPARSE_MUL): Previous change resulted in | |
3085 elements not being sorted in return matrix. Sort them, and make | |
3086 solver select between two algorithms to further improve the | |
3087 performance. | |
3088 * dSparse.cc: include oct-sort.h. | |
3089 * CSparse.cc: ditto. | |
3090 * sparse-sort.cc: Instantiate octave_sort<octave_idx_type>. | |
3091 | |
5586 | 3092 2005-12-28 David Bateman <dbateman@free.fr> |
3093 | |
5587 | 3094 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Improved algorithm that is |
3095 faster in all cases, and significantly so for low density or small | |
3096 order problems. | |
5586 | 3097 |
5552 | 3098 2005-11-30 John W. Eaton <jwe@octave.org> |
3099 | |
3100 * LSODE.cc (LSODE::do_integrate (double)): Resize iwork and rwork | |
3101 before setting any values in either array. | |
3102 | |
5547 | 3103 2005-11-29 John W. Eaton <jwe@octave.org> |
3104 | |
3105 * oct-uname.h, oct-uname.cc: New files. | |
3106 * Makefile.in: Add them to the appropriate lists. | |
3107 | |
5535 | 3108 2005-11-11 John W. Eaton <jwe@octave.org> |
3109 | |
3110 * Array.cc (Array<T>::indexN): Simplify. | |
3111 | |
5533 | 3112 2005-11-09 John W. Eaton <jwe@octave.org> |
3113 | |
3114 * oct-inttypes.h (octave_int::operator char (void) const): | |
3115 New conversion op. | |
3116 | |
5527 | 3117 2005-11-01 John W. Eaton <jwe@octave.org> |
3118 | |
3119 * Makefile.in (distclean): Also remove oct-types.h. | |
3120 From Quentin Spencer <qspencer@ieee.org>. | |
3121 | |
5526 | 3122 2005-10-31 David Bateman <dbateman@free.fr> |
3123 | |
3124 * dSparse.cc, CSparse.cc: Use C++ true/false instead of | |
3125 preprocessor defined TRUE/FALSE. | |
3126 | |
5523 | 3127 2005-10-30 John W. Eaton <jwe@octave.org> |
3128 | |
3129 * mx-inlines.cc (MX_ND_REDUCTION): Iterate in direction of DIM. | |
3130 (MX_ND_CUMULATIVE_OP): Likewise. | |
3131 | |
5519 | 3132 2005-10-29 John W. Eaton <jwe@octave.org> |
3133 | |
5520 | 3134 * mx-inlines.cc (MX_ND_REDUCTION): Avoid increment_index to speed |
3135 things up. Simplify. | |
3136 | |
5519 | 3137 * Array.cc (Array<T>::indexN): Simplify. Delete separate special |
3138 case for "vector_equivalent". | |
3139 | |
3140 * Array-util.cc (vector_equivalent): Arg is now dim_vector. | |
3141 | |
5518 | 3142 2005-10-28 John W. Eaton <jwe@octave.org> |
3143 | |
3144 * oct-sparse.h: Fix typo in HAVE_UFSPARSE_UMFPACK_H. | |
3145 From Quentin Spencer <qspencer@ieee.org>. | |
3146 | |
3147 * sparse-base-chol.cc: Use C++ true/false instead of | |
3148 preprocessor defined TRUE/FALSE. Use 0 instead of NULL. | |
3149 | |
5516 | 3150 2005-10-27 John W. Eaton <jwe@octave.org> |
3151 | |
3152 * Array.cc (assignN): Reshape to final size instead of resizing. | |
3153 | |
5512 | 3154 2005-10-26 John W. Eaton <jwe@octave.org> |
3155 | |
3156 * oct-sparse.h: New file. | |
3157 * oct-sparse.h.in: Delete. | |
3158 | |
5511 | 3159 2005-10-26 David Bateman <dbateman@free.fr> |
3160 | |
3161 * sparse-base-chol.h: Include cholmod specific code in HAVE_CHOLMOD | |
3162 * sparse-base-chol.cc: ditto. | |
3163 | |
5508 | 3164 2005-10-26 John W. Eaton <jwe@octave.org> |
3165 | |
3166 Changes for GCC 4.1, tip from Arno J. Klaassen | |
3167 <arno@heho.snv.jussieu.fr>: | |
3168 | |
5509 | 3169 * dSparse.h (real (const SparseComplexMatrix&)): |
3170 Publish externally used friend function. | |
3171 (imag (const SparseComplexMatrix&)): Likewise. | |
3172 | |
5508 | 3173 * dColVector.h (real (const ComplexColumnVector&)): |
3174 Publish externally used friend function. | |
3175 (imag (const ComplexColumnVector&)): Likewise. | |
3176 | |
3177 * dNDArray.h (real (const ComplexNDArray&)): | |
3178 Publish externally used friend function. | |
3179 (imag (const ComplexNDArray&)): Likewise. | |
3180 | |
3181 * dMatrix.h (operator * (const ComplexMatrix&)): | |
3182 Move decl outside class. No need to be friend. | |
3183 (real (const ComplexMatrix&)): Publish externally used friend function. | |
3184 (imag (const ComplexMatrix&)): Likewise. | |
3185 | |
3186 * CMatrix.h: (operator * (const ColumnVector&, const | |
3187 ComplexRowVector&)): Move decl outside class. No need to be friend. | |
3188 (operator * (const ComplexColumnVector&, const RowVector&)): Likewise. | |
3189 (operator * (const ComplexColumnVector&, const ComplexRowVector& b)): | |
3190 Likewise. | |
3191 | |
5506 | 3192 2005-10-23 David Bateman <dbateman@free.fr> |
3193 | |
3194 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Check whether trailing zero | |
3195 elements need to be removed. | |
3196 | |
3197 * oct-sparse.h.in: Include metis headers and some macros for long/int | |
3198 versions of cholmod. | |
3199 | |
3200 * CSparse.cc (tinverse): New private function for the inversion of | |
3201 an upper triangular matrix. | |
3202 (dinverse): ditto for diagonal matrices. | |
3203 (inverse): Add SparseType as an argument. Implement matrix inverse | |
3204 using tinverse and dinverse. | |
3205 (fsolve): Use cholmod to implement Cholesky solver. | |
3206 * CSparse.h (tinverse, dinverse): Declarations | |
3207 (inverse): Alter declaration to include SparseType. | |
3208 | |
3209 * dSparse.cc (tinverse, dinverse, inverse, fsolve): ditto. | |
3210 * dSparse.h (tinverse, dinverse, inverse): ditto. | |
3211 | |
3212 * SparseType.cc: Fix complex constructor for hermitian matrices. | |
3213 | |
3214 * sparse-util.cc: New file for sparse utility functions. | |
3215 * sparse-util.h: New file with declarations of sparse utility | |
3216 functions. | |
3217 | |
3218 * sparse-base-chol.cc: New file with sparse cholesky class based | |
3219 on cholmod. | |
3220 * sparse-base-chol.h: New file with declaration of sparse cholesky | |
3221 class based on cholmod. | |
3222 | |
3223 * SparseCmplxCHOL.cc: Instantiate sparse cholesky class for Complex. | |
3224 * SparseCmplxCHOL.h: Declaration of sparse cholesky class. | |
3225 | |
3226 * SparsedbleCHOL.cc: ditto. | |
3227 * SparsedbleCHOL.h: ditto. | |
3228 | |
3229 * Makefile.in (MATRIX_INC): Include sparse-base-chol.h. | |
3230 (INCLUDES): Include sparse-util.h | |
3231 (TEMPLATE_SRC): Include sparse-base-chol.cc | |
3232 (MATRIX_SRC): Include SparseCmplxCHOL.cc and SparsedbleCHOL.cc | |
3233 | |
5489 | 3234 2005-10-12 John W. Eaton <jwe@octave.org> |
3235 | |
3236 * oct-env.cc (octave_env::have_x11_display): New function. | |
3237 * oct-env.h: Provide decl. | |
3238 | |
5476 | 3239 2005-09-29 John W. Eaton <jwe@octave.org> |
3240 | |
3241 * file-stat.h (file_stat::mode): New function. | |
3242 | |
3243 * file-stat.cc (file_stat::is_blk, file_stat::is_chr, | |
3244 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
3245 file_stat::is_reg, file_stat::is_sock): New static functions. | |
3246 * file-stat.h: Provide decls. | |
3247 | |
3248 2005-09-28 John W. Eaton <jwe@octave.org> | |
3249 | |
3250 * file-ops.cc (file_ops::recursive_rmdir): New function. | |
3251 * file-ops.h: Provide decl. | |
3252 | |
5454 | 3253 2005-09-19 David Bateman <dbateman@free.fr> |
3254 | |
3255 * oct-env.cc (octave_env::do_get_home_directory): | |
3256 Also check HOMEDRIVE under mingw. | |
3257 | |
5455 | 3258 * Makefile.in (LINK_DEPS): Include UFsparse libraries. |
3259 | |
5453 | 3260 2005-09-16 John W. Eaton <jwe@octave.org> |
3261 | |
3262 * oct-syscalls.cc: Include lo-utils.h here. | |
3263 (octave_syscalls::waitpid): Call octave_waitpid here. | |
3264 | |
3265 * lo-cutils.c (octave_waitpid): New function. | |
3266 * lo-utils.h: Provide decl. Include syswait.h here, not in | |
3267 oct-syscalls.cc | |
3268 | |
3269 | |
3270 * syswait.h [__MINGW32__]: Define WAITPID here instead of defining | |
3271 waitpid in src/sysdep.h. Make this header C-compatible. | |
3272 | |
3273 * oct-syscalls.cc (octave_syscalls::waitpid): New arg, status. | |
3274 Change all uses. | |
3275 | |
5451 | 3276 2005-09-15 John W. Eaton <jwe@octave.org> |
3277 | |
3278 * Makefile.in (MAKEDEPS_2): Omit unnecessary variable. | |
3279 | |
3280 * oct-sparse.h.in: New file. | |
3281 * Makefile.in (DISTFILES): Include it in the list. | |
3282 (INCLUDES): Add oct-sparse.h to the list. | |
3283 | |
3284 2005-09-15 David Bateman <dbateman@free.fr> | |
3285 | |
3286 * dSparse.cc : Include oct-sparse.h for probed umfpack, colamd etc | |
3287 headers. Remove include of umfpack.h. | |
3288 * CSparse.cc : ditto. | |
3289 * SparsedbleLU.cc : ditto. | |
3290 * SparseCmplxLU.cc : ditto. | |
3291 | |
3292 * COLAMD : Remove colamd files from octave. | |
3293 * COLAMD.files : delete. | |
3294 * COLAMD.README : delete. | |
3295 * Makefile.in: Remove COLAMD. Add LIBGLOB. | |
3296 (LN_S): Change to DESTDIR before LN_S to avoid lack of symlinks | |
3297 under mingw. | |
3298 | |
3299 * kpse.cc (ENV_SEP, ENV_SEP_STRING): Use SEPCHAR and SEPCHAR_STR | |
3300 in definition. | |
3301 * lo-cutils.c (octave_w32_library_search): Call GetProcAddress with | |
3302 change of cast not allowed under g++ 3.x. | |
3303 * lo-utils.h (octave_w32_library_search): Declaration. | |
3304 * oct-env.cc (do_get_home_directory): Also check HOMEPATH under mingw. | |
3305 * oct-shlib.cc (octave_w32_shlib::search): Use octave_w32_library_search. | |
3306 | |
5442 | 3307 2005-09-07 John W. Eaton <jwe@octave.org> |
3308 | |
3309 * cmd-edit.cc (command_editor::do_decode_prompt_string): Update | |
3310 based on current code in Bash. Handle a few more escape | |
3311 sequences. Do a better job of decoding \W. | |
3312 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3313 2005-09-04 David Bateman <dbateman@free.fr> |
5438 | 3314 |
3315 * COLAMD: Update version of colamd to v2.4. | |
3316 * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of | |
3317 colamd.c for long version. | |
3318 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3319 2005-08-25 David Bateman <dbateman@free.fr> |
5429 | 3320 |
3321 * Sparse-op-defs.h (FULL_SPARSE_MUL, SPARSE_FULL_MUL): Macro for | |
3322 mixed sparse/full multiply. | |
3323 * dSparse.cc (operator *), CSparse.cc (operator *): New operators for | |
3324 mixed sparse/full multiply. | |
3325 * dSparse.h (operator *), CSparse.h (operator *): Declaration of | |
3326 mixed sparse/full multiply operators. | |
3327 | |
5420 | 3328 2005-07-25 Erik de Castro Lopo <erikd@zip.com.au> |
3329 | |
3330 * oct-inttypes.h (OCTAVE_S_US_FTR): Compare <= 0 instead of < 0 to | |
3331 avoid warnings for unsigned types. | |
3332 | |
5404 | 3333 2005-07-07 John W. Eaton <jwe@octave.org> |
3334 | |
3335 * dSparse.cc (SparseMatrix::factorize): Initialize Numeric to 0. | |
3336 * CSparse.cc (SparseComplexMatrix::factorize:) Likewise. | |
3337 | |
5392 | 3338 2005-06-15 John W. Eaton <jwe@octave.org> |
3339 | |
5394 | 3340 * oct-rl-edit.c (flush_stdout): Rename from no_redisplay. |
3341 Flush stdout here. | |
3342 (octave_rl_clear_screen): Set rl_redisplay_function to flush_stdout. | |
3343 | |
5392 | 3344 * Array.h (Array::resize): Change int args to octave_idx_type. |
3345 | |
5386 | 3346 2005-06-14 John W. Eaton <jwe@octave.org> |
3347 | |
5389 | 3348 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
3349 dSparse.cc, lo-cieee.c, lo-mappers.cc: Change all uses of | |
3350 octave_is_NaN_or_NA to xisnan. | |
3351 | |
3352 * lo-mappers.h (octave_is_NaN_or_NA): Mark with GCC_ATTR_DEPRECATED. | |
3353 * lo-ieee.h (lo_ieee_is_NaN_or_NA): Likewise. | |
3354 | |
3355 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Now just a wrapper for | |
3356 lo_ieee_isnan. | |
3357 | |
5387 | 3358 * dMatrix.cc (Matrix::too_large_for_float): Only check if abs |
3359 value is greater than FLT_MAX. | |
3360 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
3361 * dNDArray.cc (NDArray::too_large_for_float): Ditto. | |
3362 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
3363 | |
3364 * dMatrix.cc (Matrix::too_large_for_float): Special case Inf | |
3365 values too. | |
3366 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
3367 | |
3368 * dNDArray.cc (NDArray::too_large_for_float): Likewise for NaN, | |
3369 NA, Inf values. | |
3370 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
5386 | 3371 |
5385 | 3372 2005-06-14 David Bateman <dbateman@free.fr> |
3373 | |
5387 | 3374 * dMatrix.cc (Matrix::too_large_for_float): Special case NaN and |
3375 NA values. | |
3376 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
5385 | 3377 |
5379 | 3378 2005-06-02 John W. Eaton <jwe@octave.org> |
3379 | |
3380 * Array.cc (assignN): Try harder to correctly resize previously | |
3381 empty LHS. | |
3382 | |
5351 | 3383 2005-05-16 David Bateman <dbateman@free.fr> |
3384 | |
3385 * dSparse.h: Change UMFPACK_LONG_IDX to IDX_TYPE_LONG. | |
3386 * CSparse.h: ditto. | |
3387 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3388 2005-05-10 David Bateman <dbateman@free.fr> |
5346 | 3389 |
3390 * dSparse.cc (determinant): Free numeric factorization after | |
3391 sucessful calculation. | |
3392 * CSparse.cc (determinant): ditto. | |
3393 | |
5340 | 3394 2005-05-06 John W. Eaton <jwe@octave.org> |
3395 | |
3396 * dbleCHOL.cc (CHOL::init): Use xelem instead of elem for indexing | |
3397 chol_mat. | |
3398 (chol2mat_internal, chol2mat, CHOL::inverse): New functions. | |
3399 * dbleCHOL.h (chol2mat_internal, chol2mat, CHOL::inverse): | |
3400 Provide decls. | |
3401 | |
3402 * CmplxChol.cc (ComplexCHOL::init): Use xelem instead of elem for | |
3403 indexing chol_mat. | |
3404 (chol2mat_internal, chol2mat, ComplexCHOL::inverse): New functions. | |
3405 * CmplxCHOL.h (chol2mat_internal, chol2mat, CmplxCHOL::inverse): | |
3406 Provide decls. | |
3407 | |
5338 | 3408 2005-05-05 John W. Eaton <jwe@octave.org> |
3409 | |
3410 * Array.cc (Array<T>::permute): Call chop_trailing_singletons on | |
3411 retval before return. | |
3412 | |
5336 | 3413 2005-05-04 John W. Eaton <jwe@octave.org> |
3414 | |
3415 * cmd-edit.cc (gnu_readline::do_readline): Extract const char* | |
3416 from prompt outside of INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE block. | |
3417 | |
5330 | 3418 2005-05-02 John W. Eaton <jwe@octave.org> |
3419 | |
3420 * Makefile.in (LINK_DEPS): List $(UMFPACK_LIBS) ahead of $(BLAS_LIBS). | |
3421 From Dmitri A. Sergatskov <dasergatskov@gmail.com>. | |
3422 | |
5322 | 3423 2005-04-29 David Bateman <dbateman@free.fr> |
3424 | |
5330 | 3425 * dSparse.cc (trisolve): Diagonal passed to lapack zptsv is type |
3426 double. Correct indexing for upper diagonal elements for sparse | |
3427 tridiagonal. | |
5322 | 3428 * CSparse.cc (trisolve): ditto. |
3429 | |
5330 | 3430 * CSparse.h (UMFPACK_ZNAME): Define macro to pick version of |
3431 UMFPACK for 64-bit. | |
5322 | 3432 * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with |
3433 UMFPACK_ZNAME(*). | |
3434 * SparseCmplxLU.cc (UMFPACK_ZNAME): ditto | |
3435 | |
5330 | 3436 * dSparse.h (UMFPACK_DNAME): Define macro to pick version of |
3437 UMFPACK for 64-bit. | |
5322 | 3438 * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with |
3439 UMFPACK_DNAME(*). | |
3440 * SparsedbleLU.cc (UMFPACK_DNAME): ditto | |
3441 | |
5330 | 3442 * dSparse.cc (ltsolve, utsolve): Correct permuted upper/lower |
3443 triangular back/forward substitution code. | |
5322 | 3444 * CSparse.cc (ltsolve, utsolve): ditto. |
3445 | |
5330 | 3446 * dSparse.cc (solve): Use mattype.type (false) to force messaging |
3447 from spparms("spumoni",1). | |
5322 | 3448 * CSparse.cc (solve): ditto |
3449 | |
5330 | 3450 * SparseType.cc (SparseType(void)): Print info for |
3451 spparms("spumoni",1). | |
5322 | 3452 (SparseType(const matrix_type), SparseType(const matrix_type, const |
3453 octave_idx_type, const octave_idx_type*), SparseType(const matrix_type, | |
3454 const octave_idx_type, const octave_idx_type)): New constructors. | |
3455 (SparseType (const SparseMatrix&), SparseType (SparseComplexMatrix&)): | |
5330 | 3456 Detect row permuted lower triangular and column permuted upper |
3457 triangular matrices. Remove one of the permutation vectors.. | |
5322 | 3458 |
3459 * SparseType.h: Simplify the permutation code. | |
3460 (SparseType(const matrix_type), SparseType | |
3461 (const matrix_type, const octave_idx_type, const octave_idx_type*), | |
3462 SparseType(const matrix_type, const octave_idx_type, | |
3463 const octave_idx_type)): Declarations. | |
3464 | |
5304 | 3465 2005-04-25 John W. Eaton <jwe@octave.org> |
3466 | |
3467 * str-vec.cc (string_vector::delete_c_str_vec): Correctly free | |
3468 array and its contents. | |
3469 | |
5303 | 3470 2005-04-22 John W. Eaton <jwe@octave.org> |
3471 | |
3472 * oct-rl-edit.c (octave_rl_set_terminal_name): Don't cast away | |
3473 const here now that rl_terminal_name is declared const char*. | |
3474 | |
5294 | 3475 2005-04-21 John W. Eaton <jwe@octave.org> |
3476 | |
3477 * Makefile.in (DISTFILES): Include oct-types.h.in in the list. | |
3478 | |
5285 | 3479 2005-04-19 John W. Eaton <jwe@octave.org> |
3480 | |
3481 * Array.cc (assignN): Don't crash if the index list is empty. | |
3482 | |
5282 | 3483 2005-04-14 David Bateman <dbateman@free.fr> |
3484 | |
3485 * SparseCmplxLU.cc: Add flags for incomplete factorization. | |
3486 * SparsedbleLU.cc: Ditto. | |
3487 * SparseCmplxLU.h: Definition. | |
3488 * SparsedbleLU.h: ditto. | |
3489 | |
3490 * SparseType.cc (transpose): New function. | |
3491 * SparseType.h (transpose): Definition. | |
3492 | |
5278 | 3493 2005-04-11 John W. Eaton <jwe@octave.org> |
3494 | |
3495 * lo-specfun.cc: Use F77_XFCN instead of F77_FUNC for calls to | |
3496 fortran code that could end up calling XSTOPX. | |
3497 | |
5277 | 3498 2005-04-10 David Bateman <dbateman@free.fr> |
3499 | |
3500 * Makefile.in: include oct-types in INCLUDES so that it is | |
3501 installed | |
3502 | |
5275 | 3503 2005-04-08 John W. Eaton <jwe@octave.org> |
3504 | |
5276 | 3505 * Makefile.in (clean): Use exact filenames instead of *.xxx. |
3506 | |
5275 | 3507 * Initial merge of 64-bit changes from Clinton Chee: |
3508 | |
3509 2005-04-07 John W. Eaton <jwe@octave.org> | |
3510 | |
3511 * MArray-i.cc, Array-i.cc: Instantiate Array<long> and MArray<long>. | |
3512 | |
3513 * CSparse.cc, CSparse.h, MSparse.cc, MSparse.h, Sparse-op-defs.h, | |
3514 Sparse.cc, Sparse.h, SparseCmplxLU.cc, SparseType.cc, | |
3515 SparseType.h, SparsedbleLU.cc, boolSparse.cc, boolSparse.h, | |
3516 dSparse.cc, dSparse.h, sparse-base-lu.cc: | |
3517 Use octave_idx_type instead of int where needed. | |
3518 | |
3519 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
3520 | |
3521 * Array-util.cc, Array-util.h, Array.cc,Array.h, Array2.h, | |
3522 Array3.h, ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
3523 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
3524 CMatrix.h, CNDArray.cc, CNDArray.h, CRowVector.cc, CRowVector.h, | |
3525 CmplxAEPBAL.cc, CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, | |
3526 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
3527 CmplxSCHUR.cc, CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, | |
3528 CollocWt.h, DAEFunc.h, DASPK-opts.in,DASPK.cc,DASPK.h, | |
3529 DASRT-opts.in, DASRT.cc, DASRT.h, DASSL-opts.in, DASSL.cc, | |
3530 DASSL.h, DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, | |
3531 FEGrid.h, LPsolve.cc, LPsolve.h, LSODE-opts.in, LSODE.cc, LSODE.h, | |
3532 MArray-defs.h, MArray.cc, MArray.h, MArray2.cc, MArray2.h, | |
3533 MArrayN.cc, MDiagArray2.cc, MDiagArray2.h, NLConst.h, NLEqn.cc, | |
3534 NLEqn.h, Quad.cc, Quad.h, Range.cc,Range.cc, Range.h, base-de.h, | |
3535 base-lu.cc, base-lu.h, base-min.h, boolMatrix.cc, boolMatrix.h, | |
3536 boolNDArray.cc, boolNDArray.h, chMatrix.cc, chMatrix.h, | |
3537 chNDArray.cc, chNDArray.h, dColVector.cc, dColVector.h, | |
3538 dDiagMatrix.cc, dDiagMatrix.h, dMatrix.cc, dMatrix.h, | |
3539 dNDArray.cc,dNDArray.cc, dNDArray.h, dRowVector.cc, dRowVector.h, | |
3540 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleHESS.cc, | |
3541 dbleHESS.h, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
3542 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, dim-vector.h, idx-vector.cc, | |
3543 idx-vector.h, intNDArray.cc, intNDArray.h, lo-specfun.cc, | |
3544 lo-specfun.h, mach-info.cc, mx-inlines.cc, oct-fftw.cc, | |
3545 oct-fftw.h, oct-rand.cc, oct-rand.h, so-array.cc, so-array.h, | |
3546 str-vec.cc, str-vec.h: | |
3547 Use octave_idx_type instead of int where needed. | |
3548 | |
3549 2005-04-01 John W. Eaton <jwe@octave.org> | |
3550 | |
3551 * dim-vector.h, lo-utils.h: Include oct-types.h. | |
3552 | |
3553 * oct-types.h.in: New file. | |
3554 | |
3555 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
3556 | |
3557 * lo-utils.cc (NINTbig): New function. | |
3558 * lo-utils.h: Provide decl. | |
3559 | |
5269 | 3560 2005-04-06 David Bateman <dbateman@free.fr> |
3561 | |
3562 * Makefile.in: Link to UMFPACK_LIBS. | |
3563 | |
5265 | 3564 2005-04-05 John W. Eaton <jwe@octave.org> |
3565 | |
3566 * Array.cc (assignN): Avoid shadowed declaration in previous change. | |
3567 | |
5264 | 3568 2005-04-01 John W. Eaton <jwe@octave.org> |
3569 | |
3570 * Array.cc (assignN): For A(IDX-LIST) = RHS with A previously | |
3571 undefined, correctly match colons in IDX-LIST with RHS dimensions | |
3572 when resizing A. When performing the assignment, just check that | |
3573 the number of elements in RHS matches the number of elements | |
3574 indexed by IDX-LIST. | |
3575 | |
5260 | 3576 2005-03-30 John W. Eaton <jwe@octave.org> |
3577 | |
5261 | 3578 * lo-mappers.cc (log10, tan, tanh): Delete functions. |
3579 * lo-mappers.h (log10, tan, tanh): Delete decls. | |
3580 | |
3581 * CColVector.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, | |
3582 dSparse.cc: Use std:: for Complex functions instead of relying on | |
3583 wrappers from oct-cmplx.h. | |
5260 | 3584 |
3585 * oct-cmplx.h: Provide typedef only. | |
3586 | |
3587 * DiagArray2.cc (xelem): Don't use initializer for static data. | |
3588 * DiagArray2.h (DiagArray<T>::Proxy::operator T ()): | |
3589 Likewise. | |
3590 | |
5247 | 3591 2005-03-26 John W. Eaton <jwe@octave.org> |
3592 | |
3593 * cmd-edit.cc (do_readline): Wrap call to ::octave_rl_readline | |
3594 with {BEGIN,END}_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE. | |
3595 | |
5209 | 3596 2005-03-15 John W. Eaton <jwe@octave.org> |
3597 | |
3598 * Makefile.in (MATRIX_INC): Remove oct-spparms.h from the list. | |
3599 | |
5203 | 3600 2005-03-14 John W. Eaton <jwe@octave.org> |
3601 | |
3602 * Makefile.in (DISTFILES): Don't include $(UMFPACK_EXTRAS). | |
3603 (DISTDIRS): Don't include UMFPACK. | |
3604 (LIBOCTAVE_OBJECTS): Don't include $(UMFPACK_OBJ). | |
3605 (UMFPACK_SPECIAL_1, UMFPACK_SPECIAL): No need for special include | |
3606 flags for these files. | |
3607 Don't include include $(srcdir)/UMFPACK.files. | |
3608 Don't include include $(srcdir)/UMFPACK.rules. | |
3609 | |
3610 * UMFPACK.README, UMFPACK.files, UMFPACK.patch, UMFPACK.rules: | |
3611 Delete files. | |
3612 * UMFPACK: Delete directory tree. | |
3613 | |
3614 * dSparse.cc: Include <umfpack/umfpack.h> instead of just "umfpack.h". | |
3615 * CSparse.cc: Likewise. | |
3616 * SparsedbleLU.cc: Likewise. | |
3617 * SparseCmplxLU.cc: Likewise. | |
3618 | |
3619 2005-03-14 David Bateman <dbateman@free.org> | |
3620 | |
3621 * CSParse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc: | |
3622 Allow compilation to succeed if UMFPACK is not available. | |
3623 | |
5196 | 3624 2005-03-09 John W. Eaton <jwe@octave.org> |
3625 | |
3626 * Makefile.in (bin-dist): Delete target. | |
3627 (BINDISTLIBS, BINDISTFILES): Delete variables. | |
3628 | |
5173 | 3629 2005-03-01 John W. Eaton <jwe@octave.org> |
3630 | |
3631 * ODESSA.h, ODESSA.cc, ODESSA-opts.in: Delete. | |
3632 * Makefile.in: Remove them from the lists. | |
3633 | |
5169 | 3634 2005-02-28 John W. Eaton <jwe@octave.org> |
3635 | |
3636 * Makefile.in (LINK_DEPS): Remove -lglob from the list. | |
3637 | |
5167 | 3638 2005-02-27 David Bateman <dbateman@free.org> |
3639 | |
5169 | 3640 * Sparse.cc (Sparse<T>::reshape): Set cidx for the N last elements |
3641 in the sparse matrix. | |
5167 | 3642 |
5164 | 3643 2005-02-25 John W. Eaton <jwe@octave.org> |
3644 | |
3645 Sparse merge. | |
3646 | |
3647 2005-02-13 David Bateman <dbateman@free.fr> | |
3648 | |
3649 * CSparse.cc (SparseComplexMatrix:dsolve, SparseComplexMatrix:utsolve, | |
3650 SparseComplexMatrix::ltsolve, SparseComplexMatrix::trisolve, | |
3651 SparseComplexMatrix::bsolve, SparseComplexMatrix:fsolve): Split sparse | |
3652 solver into separate functions for the diagonal, upper, lower | |
3653 triangular, tridiagonal, banded and full cases. | |
3654 (SparseComplexMatrix::solve): rewrite to call the above function. One | |
3655 version that probes the matrix type and another that assumes the type | |
3656 is passed. | |
3657 | |
3658 * dSparse.cc (SparseMatrix:dsolve, SparseMatrix:utsolve, | |
3659 SparseMatrix::ltsolve, SparseMatrix::trisolve, | |
3660 SparseMatrix::bsolve, SparseMatrix:fsolve): Likewise | |
3661 (SparseMatrix::solve): Likewise | |
3662 | |
3663 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
3664 Declaration of new functions | |
3665 * dSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
3666 Likewise | |
3667 | |
3668 * CSparse.cc (operator !): Reverse the sense of the test. | |
3669 * dSpase.cc (operator !): Likewise | |
3670 | |
3671 * dSparse.h (type, band_size, is_dense, triangular_row_perm, | |
3672 triangular_col_perm, sparse_info): Remove matrix type code | |
3673 * CSparse.h (type, band_size, is_dense, triangular_row_perm, | |
3674 triangular_col_perm, sparse_info): Likewise | |
3675 * boolSparse.h (type, band_size, is_dense, triangular_row_perm, | |
3676 triangular_col_perm, sparse_info): Likewise | |
3677 * MSparse.h (type, band_size, is_dense, triangular_row_perm, | |
3678 triangular_col_perm, sparse_info): Likewise | |
3679 * Sparse.h (type, band_size, is_dense, triangular_row_perm, | |
3680 triangular_col_perm, sparse_info, matrix_type): Likewise | |
3681 | |
3682 * Sparse.cc (type, sparse_info, band_size): Remove type code | |
3683 | |
3684 * SparseType.h: New class for the matrix type used in solvers | |
3685 * SparseType.cc: methods of sparse matrix type class | |
3686 | |
3687 * Makefile.in: Add SparseType.cc | |
3688 | |
3689 2005-02-01 David Bateman <dbateman@free.fr> | |
3690 | |
3691 * UMFPACK: Update to version 4.4 | |
3692 * UMFPACK.patch: Version 4.4 contains most of the previous patch. Only | |
3693 keep octave specific test files | |
3694 | |
3695 2005-01-23 David Bateman <dbateman@free.fr> | |
3696 | |
3697 * dSparse.cc (SparseMatrix::solve): Include tridiagonal, cholesky | |
3698 tridiagonal and banded cholesky solvers. Remove calculation of | |
3699 condition number for banded solvers. | |
3700 * CSparse.cc (SparseComplexMatrix::solve): ditto. | |
3701 | |
3702 * Sparse.h (int type (int) const, bool is_dense (void) const): | |
3703 new functions. | |
3704 * MSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
3705 * dSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
3706 * CSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
3707 * boolSparse.h (int type (int) const, bool is_dense (void) const): | |
3708 ditto | |
3709 | |
3710 * Sparse.cc (int Sparse<T>::type (int) const, | |
3711 bool Sparse<T>::is_dense (void) const): New functions definition | |
3712 | |
3713 * Sparse.h (matrix_type typ): Move caching of matrix type to SparseRep, | |
3714 so it actually is cached, but disable | |
3715 | |
3716 * oct-spparms.cc (SparseParams::init_keys): Change spmoni to spumoni | |
3717 for compatiability | |
3718 | |
3719 2005-01-18 David Bateman <dbateman@free.fr> | |
3720 | |
3721 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
3722 Modify calculation of number elements to skip between copied blocks. | |
3723 | |
3724 2005-01-07 David Bateman <dbateman@free.fr> | |
3725 | |
3726 * Sparse.h : Reverse definitions of numel and nelem. | |
3727 * Sparse.cc (assign1): Use numel and not nelem | |
3728 * Sparse-op-def.h: Replace all uses of nelem with numel | |
3729 | |
3730 2005-01-07 David Bateman <dbateman@free.fr> | |
3731 | |
3732 * dbleDET.h: Make SparseMatrix a friend of the class DET | |
3733 * CmplexDET.h: Make SparseComplexMatrix a friend of the class | |
3734 ComplexDET | |
3735 * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET | |
3736 by DET | |
3737 * dSparse.h (determinant): ditto | |
3738 * CSparse.cc (SparseComplexMatrix::determinant): Replace use of | |
3739 SparseComplexDET by ComplexDET | |
3740 * CSparse.h (determinant): ditto | |
3741 * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, | |
3742 SparseCmplxDET.cc: delete files | |
3743 * Makefile.in: Delete reference to SparsedbleDET.h, SparsedbleDET.cc, | |
3744 SparseCmplxDET.h andSparseCmplxDET.cc. | |
3745 | |
3746 * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in | |
3747 local variable to avoid variable shadowing. | |
3748 * dSparse.cc (SparseMatrix::solve): ditto. | |
3749 | |
3750 * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc | |
3751 dSparse.h MSparse.cc MSparse-C.cc MSparse-d.cc MSparse-defs.h | |
3752 MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc | |
3753 Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc | |
3754 SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc | |
3755 sparse-sort.h: Remove additional licensing clause with authors | |
3756 permission. | |
3757 | |
3758 2004-12-30 John W. Eaton <jwe@octave.org> | |
3759 | |
3760 * MSparse.cc (SPARSE_A2S_OP_2, SPARSE_SA2_OP_2): | |
3761 Loop counter is int, not size_t. | |
3762 | |
3763 * oct-spparms.cc (SparseParams::operator =): Return *this. | |
3764 | |
3765 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Delete unused variable tmpval. | |
3766 | |
3767 * dSparse.cc (operator << (ostream&, const SparseMatrix&), atan2): | |
3768 Delete unused variables. | |
3769 (SparseMatrix::solve): Avoid warnings about uninitialized | |
3770 variables and variables that might be clobbered by longjmp. | |
3771 | |
3772 * CSparse.cc (operator << (ostream&, const SparseComplexMatrix&), | |
3773 min, max): Delete unused variables. | |
3774 (SparseComplexMatrix::solve): Avoid warnings about uninitialized | |
3775 variables and variables that might be clobbered by longjmp. | |
3776 | |
3777 * Makefile.in (UMFPACK_SPECIAL): Include .d files in the list. | |
3778 | |
3779 * Sparse-op-defs.h (SPARSE_SMS_BIN_OP_2, SPARSE_SSM_BIN_OP_2): | |
3780 Loop counter is int, not size_t. | |
3781 | |
3782 * CSparse.cc (SparseComplexMatrix::hermitian): Avoid shadow warnings. | |
3783 * Sparse.cc (Sparse<T>::Sparse, Sparse<T>::type, assign): Likewise. | |
3784 | |
3785 * Sparse.h (Sparse::SparseRep): Order data members and initializer | |
3786 lists consistently. | |
3787 | |
3788 * mx-base.h: Include boolSparse.h, dSparse.h, and CSparse.h. | |
3789 | |
3790 2004-12-29 John W. Eaton <jwe@octave.org> | |
3791 | |
3792 * COLAMD.files (COLAMD_EXTRAS): New variable. | |
3793 * UMFPACK.files (UMFPACK_EXTRAS): New variable. | |
3794 * Makefile.in (DISTFILES): Add $(COLAMD_EXTRAS) and | |
3795 $(UMFPACK_EXTRAS) to the list. | |
3796 (DISTDIRS): New variable. | |
3797 (dist): Handle $(DISTDIRS). | |
3798 | |
3799 Merge of sparse code from David Bateman <dbateman@free.fr> and | |
3800 Andy Adler <adler@site.uottawa.ca>. | |
3801 | |
3802 * Makefile.in (VPATH): ADD @srcdir@/COLAMD to the list. | |
3803 | |
3804 * Makefile.in (MAKEDEPS): Include $(COLAMD_SRC) and $(UMFPACK_SRC) | |
3805 without directory prefix. | |
3806 | |
3807 * Makefile.in (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJ) and | |
3808 $(UMFPACK_OBJ) to the list. | |
3809 | |
3810 * COLAMD: New directory. | |
3811 * COLAMD.files: New file. | |
3812 * Makefile.in: Include COLAMD.files. | |
3813 (SOURCES): Add $(COLAMD_SOURCES) to the list. | |
3814 (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJECTS) to the list. | |
3815 (INCLUDES): Add $(COLAMD_INCLUDES) to the list. | |
3816 | |
3817 * UMFPACK: New directory. | |
3818 * UMFPACK.patch, UMFPACK.README, UMFPACK.files, UMFPACK.rules: | |
3819 New files. | |
3820 * Makefile.in: Include UMFPACK.files and UMFPACK.rules. | |
3821 (SOURCES): Add $(UMFPACK_SOURCES) to the list. | |
3822 (LIBOCTAVE_OBJECTS): Add $(UMFPACK_OBJECTS) to the list. | |
3823 (INCLUDES): Add $(UMFPACK_INCLUDES) to the list. | |
3824 | |
3825 * Makefile.in (SPARSE_MX_OP_INC): New variable. | |
3826 (INCLUDES): Add it to the list. | |
3827 (SPARSE_MX_OP_SRC): New variable. | |
3828 (LIBOCTAVE_CXX_SOURCES): Add it to the list. | |
3829 (distclean): Remove $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
3830 (stamp-prereq): Depend on $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
3831 | |
3832 * sparse-mk-ops.awk, sparse-mx-ops: New files. | |
3833 * Makefile.in (DISTFILES): Add them to the lists. | |
3834 | |
3835 * oct-spparms.h, sparse-sort.h: New files. | |
3836 * Makefile.in (INCLUDES): Add them to the list. | |
3837 | |
3838 * oct-spparms.cc, sparse-sort.cc: New files. | |
3839 * Makefile.in (LIBOCTAVE_CXX_SOURCES): Add them to the list. | |
3840 | |
3841 * sparse-base-lu.cc: New file. | |
3842 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
3843 | |
3844 * boolSparse.cc, CSparse.cc, dSparse.cc, MSparse.cc, Sparse.cc, | |
3845 SparseCmplxDET.cc, SparseCmplxLU.cc, SparsedbleDET.cc, | |
3846 SparsedbleLU.cc: New files. | |
3847 * Makefile.in (MATRIX_SRC): Add them to the list. | |
3848 | |
3849 * boolSparse.h, CSparse.h, dSparse.h, MSparse-defs.h, MSparse.h, | |
3850 Sparse.h, oct-spparms.h, sparse-base-lu.h, SparseCmplxDET.h, | |
3851 SparseCmplxLU.h, SparsedbleDET.h, SparsedbleLU.h, | |
3852 Sparse-op-defs.h: New files. | |
3853 * Makefile.in (MATRIX_INC): Add them to the appropriate lists. | |
3854 | |
3855 * MSparse-d.cc, MSparse-C.cc, Sparse-b.cc, Sparse-d.cc, | |
3856 Sparse-C.cc: New files. | |
3857 * Makefile.in (TI_SRC): Add them to the list. | |
3858 | |
5149 | 3859 2005-02-18 John W. Eaton <jwe@octave.org> |
3860 | |
3861 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_RESOLVEPATH]: | |
3862 Pass current directory to octave_env::make_absolute. | |
3863 Save value returned from octave_env::make_absolute in local var. | |
3864 Pass const char*, not std::string as first arg of resolvepath. | |
3865 Provide decl for resolved_len. | |
3866 | |
5148 | 3867 2005-02-18 John W. Eaton <jwe@octave.org> |
3868 | |
3869 * Array.cc (Array<T>::permute): Allow permutation vector longer | |
3870 than number of dimenensions of permuted matrix. | |
3871 | |
3872 * Array.cc (Array<T>::permute): Use zero-based indexing for perm_vec. | |
3873 * Array-util.cc (calc_permutated_idx): Likewise. | |
3874 | |
5139 | 3875 2005-02-10 David Bateman <dbateman@free.fr> |
3876 | |
3877 * CNDArray.cc (ComplexNDarray::operator !): Change sense of test. | |
3878 * CMatrix.cc (ComplexMatrix::operator !): Likewise. | |
3879 | |
5137 | 3880 2005-02-09 John W. Eaton <jwe@octave.org> |
3881 | |
5138 | 3882 * file-ops.cc (file_ops::canonicalize_file_name): New functions. |
3883 * file-ops.h: Provide decls. | |
3884 | |
5137 | 3885 * kpse.cc (kpse_tilde_expand): Simply return NAME if it is empty. |
3886 | |
5136 | 3887 2005-02-08 John W. Eaton <jwe@octave.org> |
3888 | |
3889 * Array-util.cc (freeze): Improve error message. | |
3890 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3891 2005-01-26 David Bateman <dbateman@free.fr> |
5120 | 3892 |
5121 | 3893 * Array.cc (Array<T>::insert): Handle generic case, not just |
3894 special case for fast concatenation. | |
5120 | 3895 |
5110 | 3896 2005-01-18 John W. Eaton <jwe@octave.org> |
3897 | |
3898 * mx-inlines.cc (MX_ND_REDUCTION): Delete RET_ELT_TYPE arg. | |
3899 Change all uses. Use VAL instead of RET_ELT_TYPE when resizing. | |
3900 | |
3901 * dNDArray.cc (NDArray::any): NaN does not count as a nonzero value. | |
3902 * CNDArray.cc (ComplexNDArray::any): Likewise. | |
3903 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3904 2005-01-18 David Bateman <dbateman@free.fr> |
5108 | 3905 |
3906 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
3907 Modify calculation of number elements to skip between copied blocks. | |
3908 | |
3909 2005-01-18 John W. Eaton <jwe@octave.org> | |
3910 | |
3911 * idx-vector.cc (IDX_VEC_REP::freeze): Call warning handler, not | |
3912 error handler, to warn about resizing. | |
3913 | |
5105 | 3914 2004-12-27 Martin Dalecki <martin@dalecki.de> |
3915 | |
3916 * Array.cc, ArrayN.cc, base-lu.cc, boolMatrix.cc, boolNDArray.cc, | |
3917 Bounds.cc, CColVector.cc, CDiagMatrix.cc, chMatrix.cc, | |
3918 chNDArray.cc, CMatrix.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, | |
3919 CmplxDET.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
3920 CmplxSCHUR.cc, CmplxSVD.cc, CNDArray.cc, CollocWt.cc, | |
3921 CRowVector.cc, DASPK.cc, DASRT.cc, DASSL.cc, dbleAEPBAL.cc, | |
3922 dbleCHOL.cc, dbleDET.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, | |
3923 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, dColVector.cc, | |
3924 dDiagMatrix.cc, DiagArray2.cc, dMatrix.cc, dNDArray.cc, | |
3925 dRowVector.cc, EIG.cc, FEGrid.cc, idx-vector.cc, int16NDArray.cc, | |
3926 int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, intNDArray.cc, | |
3927 LinConst.cc, LPsolve.cc, LSODE.cc, MArray2.cc, MArray.cc, | |
3928 MArrayN.cc, MDiagArray2.cc, NLEqn.cc, oct-alloc.cc, ODES.cc, | |
3929 ODESSA.cc, Quad.cc, Range.cc, so-array.cc, uint16NDArray.cc, | |
3930 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: | |
3931 Delete #pragma implementation. | |
3932 | |
3933 * Array2.h, Array3.h, Array.h, ArrayN.h, base-lu.h, boolMatrix.h, | |
3934 boolNDArray.h, Bounds.h, CColVector.h, CDiagMatrix.h, chMatrix.h, | |
3935 chNDArray.h, CMatrix.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, | |
3936 CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, | |
3937 CmplxSVD.h, CNDArray.h, CollocWt.h, CRowVector.h, DASPK.h, | |
3938 DASRT.h, DASSL.h, dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, | |
3939 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, | |
3940 dColVector.h, dDiagMatrix.h, DiagArray2.h, dim-vector.h, | |
3941 dMatrix.h, dNDArray.h, dRowVector.h, EIG.h, FEGrid.h, | |
3942 idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
3943 int8NDArray.h, intNDArray.h, LinConst.h, LPsolve.h, LSODE.h, | |
3944 MArray2.h, MArray.h, MArrayN.h, MDiagArray2.h, NLConst.h, NLEqn.h, | |
3945 ODES.h, ODESSA.h, Quad.h, Range.h, so-array.h, uint16NDArray.h, | |
3946 uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: | |
3947 Delete #pragma interface. | |
3948 | |
5098 | 3949 2004-12-17 John W. Eaton <jwe@octave.org> |
3950 | |
3951 * lo-cieee.c (lo_ieee_signbit): New function. | |
3952 * lo-ieee.h: Provide decl. | |
3953 Don't define lo_ieee_signbit as a macro here. | |
3954 From Orion Poplawski <orion@cora.nwra.com>. | |
3955 | |
5085 | 3956 2004-11-18 John W. Eaton <jwe@octave.org> |
3957 | |
3958 * int32NDArray.cc (pow): Delete instantiation. | |
3959 * int16NDArray.cc (pow): Likewise. | |
3960 * int8NDArray.cc (pow): Likewise. | |
3961 * uint32NDArray.cc (pow): Likewise. | |
3962 * uint16NDArray.cc (pow): Likewise. | |
3963 * uint8NDArray.cc (pow): Likewise. | |
3964 | |
5081 | 3965 2004-11-17 John W. Eaton <jwe@octave.org> |
3966 | |
5085 | 3967 * kpse.cc (str_llist_float, str_llist_add, kpse_var_expand): |
3968 Now static. | |
3969 (DB_ENVS, DB_HASH_SIZE, DB_NAME, ALIAS_NAME, ALIAS_HASH_SIZE, | |
3970 DEFAULT_TEXMFDBS): Delete unused macros. | |
3971 | |
5081 | 3972 * Array.cc (Array<T>::index): Call generic N-d indexing function |
3973 if idx_arg is N-d. | |
3974 | |
5073 | 3975 2004-11-09 David Bateman <dbateman@free.fr> |
3976 | |
3977 * dNDArray.cc (concat): Delete. | |
3978 (NDArray::concat): New methods. | |
3979 * dNDArray.h: Provide decls. | |
3980 | |
3981 * CNDArray.cc (concat): Delete. | |
3982 (ComplexNDArray::concat): New methods. | |
3983 * CNDArray.h: Provide decls. | |
3984 | |
3985 * boolNDArray.cc (concat): Delete. | |
3986 (boolNDArray::concat): New methods. | |
3987 * boolNDArray.h: Provide decls. | |
3988 | |
3989 * chNDArray.cc (concat): Delete. | |
3990 (charNDArray::concat): New methods. | |
3991 * chNDArray.h: Provide decls. | |
3992 | |
3993 * oct-inttypes.h (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): | |
3994 Delete macros. | |
3995 | |
3996 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
3997 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
3998 (OCTAVE_INT_CONCAT_DECL): Delete use of macro. | |
3999 | |
4000 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
4001 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
4002 (OCTAVE_INT_CONCAT_FN): Delete use of macro. | |
4003 | |
4004 * intNDArray.cc (intNDArray<T>::concat): New method. | |
4005 * intNDArray.h: Provide decl. | |
4006 | |
5072 | 4007 2004-11-08 John W. Eaton <jwe@octave.org> |
4008 | |
4009 * oct-inttypes.cc: New file. | |
4010 * Makefile.in (TI_SRC): Add it to the list. | |
4011 * oct-inttypes.h (OCTAVE_US_TYPE1_CMP_OP, OCTAVE_US_TYPE1_CMP_OPS, | |
4012 OCTAVE_SU_TYPE1_CMP_OP, OCTAVE_SU_TYPE1_CMP_OPS, | |
4013 OCTAVE_TYPE1_CMP_OPS, OCTAVE_US_TYPE2_CMP_OP, | |
4014 OCTAVE_US_TYPE2_CMP_OPS, OCTAVE_SU_TYPE2_CMP_OP, | |
4015 OCTAVE_SU_TYPE2_CMP_OPS, OCTAVE_TYPE2_CMP_OPS): | |
4016 New macros for comparison operations. Avoid potential | |
4017 problems with default conversions when comparing signed and | |
4018 unsigned values. | |
4019 | |
5061 | 4020 2004-11-03 John W. Eaton <jwe@octave.org> |
4021 | |
4022 * dMatrix.cc (Matrix::inverse): Return info == -1 for any failure. | |
4023 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
4024 | |
5052 | 4025 2004-10-19 John W. Eaton <jwe@octave.org> |
4026 | |
4027 * Array.cc (assignN): Avoid resizing if assignment will fail. | |
4028 | |
5047 | 4029 2004-10-18 John W. Eaton <jwe@octave.org> |
4030 | |
4031 * Array.cc (assign2): Save result of squeeze operation. | |
4032 Squeeze if ndims is > 2, not if length of RHS vector is > 2. | |
4033 | |
5095 | 4034 2004-10-11 David Bateman <dbateman@free.fr> |
5044 | 4035 |
4036 * oct-fftw.cc (class octave_fftw_planner): Add inplace[2] to | |
4037 flag whether transform in- or out-of-place. | |
4038 (octave_fftw_planner::octave_fftw_planner): Initialize it. | |
4039 (octave_fftw_planner::create_plan): Use it. | |
4040 | |
5039 | 4041 2004-09-24 John W. Eaton <jwe@octave.org> |
4042 | |
4043 * Array.cc (assign2, assignN): If index is empty, allow RHS to be | |
4044 any empty matrix, not just []. | |
4045 | |
5030 | 4046 2004-09-23 John W. Eaton <jwe@octave.org> |
4047 | |
4048 * mx-ops: Include scalar zero value in type definitions. | |
4049 Delete zero information from ops section. | |
4050 * mk-ops.awk: Use type-specific zero info. | |
4051 | |
4052 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, | |
4053 SND_BOOL_OP, NDND_BOOL_OP): Args now include zero values for both | |
4054 LHS and RHS. | |
4055 (MS_BOOL_OPS2, SM_BOOL_OPS2, MM_BOOL_OPS2, NDS_BOOL_OPS2, | |
4056 SND_BOOL_OPS2, NDND_BOOL_OPS2): New macros. | |
4057 (MS_BOOL_OPS, SM_BOOL_OPS, MM_BOOL_OPS, NDS_BOOL_OPS, | |
4058 SND_BOOL_OPS, NDND_BOOL_OPS): Define in terms of 2-zero versions. | |
4059 | |
4060 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const | |
4061 intNDArray<U>&)): Use explicit as_double () conversion in call to | |
4062 tree_to_mat_idx. | |
4063 | |
4064 * oct-inttypes.h (octave_int<T>::operator float): New conversion. | |
4065 (pow): Instead of "if (b_val)", use "if (b_val != zero)". | |
4066 Likewise for the "if (b_val & one)" test. | |
4067 (operator <<, operator >>): Type of retval is octave_int<T1>, not T1. | |
4068 | |
5029 | 4069 2004-09-23 David Bateman <dbateman@free.fr> |
4070 | |
4071 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): | |
4072 New macros. Use them to define mixed intX-double and double-intX ops. | |
4073 | |
5021 | 4074 2004-09-22 Federico Zenith <zenith@chemeng.ntnu.no> |
4075 | |
4076 * DASPK-opts.in, DASRT-opts.in, ODESSA-opts.in: | |
4077 Fix doc string layout to avoid overfull hbox in printed output. | |
4078 | |
5015 | 4079 2004-09-21 John W. Eaton <jwe@octave.org> |
4080 | |
4081 * mach-info.h (octave_mach_info::flt_fmt_native): Delete. | |
4082 * mach-info.cc (octave_mach_info::string_to_float_format): | |
4083 For "native", set actual native format. | |
4084 (octave_mach_info::float_format_as_string): Delete flt_fmt_native case. | |
4085 | |
5008 | 4086 2004-09-17 David Bateman <dbateman@free.fr> |
4087 | |
4088 * CmplxSCHUR.cc (CmplxSCHUR::init): New arg, calc_unitary to make the | |
4089 calculation of the unitary matrix optional. | |
4090 * dbleSCHUR.cc (SCHUR::init): Ditto. | |
4091 * CmplxSCHUR.h, dbleSCHUR.h: Update decls. | |
4092 | |
4998 | 4093 2004-09-15 David Bateman <dbateman@free.fr> |
4094 | |
4095 * oct-sort.h (octave_sort<T>::set_compare (bool (*comp) (T, T))): | |
4096 New function to set the comparison function for the sort. | |
4097 | |
4985 | 4098 2004-09-10 John W. Eaton <jwe@octave.org> |
4099 | |
4100 * lo-mappers.cc (xround): Fix typo. | |
4101 | |
4979 | 4102 2004-09-08 John W. Eaton <jwe@octave.org> |
4103 | |
4104 * Array.h (Array::~Array): Declare virtual. | |
4105 | |
4106 * idx-vector.h (idx_vector::idx_vector): Initialize rep in member | |
4107 initializaion list. Don't set rep->count since the rep | |
4108 constructor does that. | |
4109 | |
4968 | 4110 2004-09-07 John W. Eaton <jwe@octave.org> |
4111 | |
4970 | 4112 * data-conv.cc (oct_data_conv::string_to_data_type): Handle dt_logical. |
4113 (oct_data_conv::data_type_as_string): Likewise. | |
4114 | |
4115 * data-conv.h (oct_data_conv::data_type): Add dt_logical to list. | |
4116 | |
4968 | 4117 * Range.cc (round): Delete unused function. |
4118 | |
4119 * lo-mappers.cc (xround): Rename from round. Change all uses. | |
4120 If HAVE_ROUND, call round, otherwise fake with floor and ceil. | |
4121 | |
4122 * oct-inttypes.h: Include <cmath> here. | |
4123 | |
4964 | 4124 2004-09-03 David Bateman <dbateman@free.fr> |
4125 | |
4126 * boolNDArray.cc (boolNDArray::concat, boolNDArray::insert): | |
4127 New functions for boolean matrix concatenation. | |
4128 * boolNDArray.h: Provide decls. | |
4129 | |
4963 | 4130 2004-09-03 John W. Eaton <jwe@octave.org> |
4131 | |
4964 | 4132 * oct-inttpes.h (OCTAVE_INT_CMP_OP): Convert operarands to double |
4133 to avoid signed/unsigned int comparison problems. | |
4134 | |
4135 * mx-ops: Generate CMP and BOOL ops for mixed integer types and | |
4136 for mixed integer and double types. | |
4137 | |
4138 * mk-ops.awk: Output BIN_OP_DECLS, CMP_OP_DECLS, and BOOL_OP_DECLS | |
4139 separately, and only if needed. | |
4140 | |
4963 | 4141 * oct-inttypes.h (octave_fit_to_range): Use constructor instead of |
4142 static_cast for type conversion. | |
4143 | |
4953 | 4144 2004-09-01 John W. Eaton <jwe@octave.org> |
4145 | |
4146 * oct-inttypes.h (pow, operator +, operator -, operator *, | |
4147 operator /): Handle mixed integer/double ops. If op generates a | |
4148 NaN, set result to 0. | |
4149 (octave_int::operator - (void)): Convert to double, then negate, | |
4150 then fit to range. | |
4151 | |
4152 * mx-ops: Define integer types. Include declarations for mixed | |
4153 integer/double ops. | |
4154 | |
4952 | 4155 2004-08-31 John W. Eaton <jwe@octave.org> |
4156 | |
4157 * oct-inttypes.h (pow): Args now const reference. | |
4158 (octave_int<T>::operator *=, octave_int<T>::operator /=, | |
4159 octave_int<T>::operator <<=, octave_int<T>::operator >>=): | |
4160 New member functions. | |
4161 (OCTAVE_INT_BITSHIFT_OP): Delete macro. | |
4162 (operator >> (const octave_int<T1>& x, const T2& y)): | |
4163 Define in terms of >>=. | |
4164 (operator << (const octave_int<T1>& x, const T2& y)): | |
4165 Define in terms of <<=. | |
4166 (bitshift): Operate on octave_int<T> objects, not the values, so | |
4167 we get proper saturation properties. | |
4168 | |
4169 2004-08-31 David Bateman <dbateman@free.fr> | |
4170 | |
4171 * oct-inttypes.h (pow (constT, T)): New template. | |
4172 | |
4173 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, | |
4174 uint16NDArray.cc, uint32NDArray.cc: Instantiate power function. | |
4175 | |
4949 | 4176 2004-08-31 John W. Eaton <jwe@octave.org> |
4177 | |
4178 * oct-inttypes.h (octave_int::byte_size): New function. | |
4179 | |
4944 | 4180 2004-08-31 John W. Eaton <jwe@octave.org> |
4181 | |
4946 | 4182 * Makefile.in (EXTRAS): Add intNDArray.cc to the list. |
4183 | |
4944 | 4184 * data-conv.h (oct_data_conv::data_type): Include sized types. |
4185 Explicitly number enum elements. | |
4186 | |
4187 * data-conv.cc (oct_data_conv::string_to_data_type (const | |
4188 std::string&, int&, oct_data_conv::data_type&, | |
4189 oct_data_conv::data_type&)): New function. | |
4190 (oct_data_conv::string_to_data_type (const std::string&, int&, | |
4191 oct_data_conv::data_type&)): New function. | |
4192 (oct_data_conv::data_type_as_string): New function. | |
4193 | |
4194 * dMatrix.cc (read_int, do_read, Matrix::read): Delete. | |
4195 (write_int, do_write, Matrix::write): Delete. | |
4196 * dMatrix.h (Matrix::read, Matrix::write): Delete decls. | |
4197 | |
4198 * byte-swap.h: Use template functions and specialization. | |
4199 Change all uses. | |
4200 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
4201 | |
4943 | 4202 2004-08-30 John W. Eaton <jwe@octave.org> |
4203 | |
4204 * oct-inttypes.h (octave_int_fit_to_range): Use template | |
4205 specializations to avoid warnings about signed/unsigned comparisons. | |
4206 | |
4207 2004-08-28 John W. Eaton <jwe@octave.org> | |
4208 | |
4209 * data-conv.cc (do_float_format_conversion (unsigned char *, | |
4210 size_t, int, oct_mach_info::float_format)): New function. | |
4211 (GET_SIZED_INT_TYPE): New macro. | |
4212 (string_to_data_type): Use it to return sized types corresponding | |
4213 to Octave array data types. | |
4214 (strip_spaces): New function. | |
4215 (do_double_format_conversion, do_float_format_conversion): Pass | |
4216 from_fmt and to_fmt. Don't always assume the to_fmt is the native | |
4217 float format. | |
4218 (do_double_format_conversion, | |
4219 IEEE_big_double_to_IEEE_little_double, | |
4220 VAX_D_double_to_IEEE_little_double, | |
4221 VAX_G_double_to_IEEE_little_double, Cray_to_IEEE_little_double, | |
4222 IEEE_little_double_to_IEEE_big_double, | |
4223 VAX_D_double_to_IEEE_big_double, VAX_G_double_to_IEEE_big_double, | |
4224 Cray_to_IEEE_big_double, IEEE_little_double_to_VAX_D_double, | |
4225 IEEE_big_double_to_VAX_D_double, VAX_G_double_to_VAX_D_double, | |
4226 Cray_to_VAX_D_double, IEEE_little_double_to_VAX_G_double, | |
4227 IEEE_big_double_to_VAX_G_double, VAX_D_double_to_VAX_G_double, | |
4228 Cray_to_VAX_G_double): | |
4229 Pass data as void*, not double*. | |
4230 (do_float_format_conversion, IEEE_big_float_to_IEEE_little_float, | |
4231 VAX_D_float_to_IEEE_little_float, | |
4232 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, | |
4233 IEEE_little_float_to_IEEE_big_float, | |
4234 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, | |
4235 Cray_to_IEEE_big_float, IEEE_little_float_to_VAX_D_float, | |
4236 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, | |
4237 Cray_to_VAX_D_float, IEEE_little_float_to_VAX_G_float, | |
4238 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, | |
4239 Cray_to_VAX_G_float): | |
4240 Pass data as void*, not float*. | |
4241 | |
4242 2004-08-27 John W. Eaton <jwe@octave.org> | |
4243 | |
4244 * byte-swap.h (swap_bytes): New template versions, with | |
4245 specializations. | |
4246 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
4247 Change all uses. | |
4248 | |
4940 | 4249 2004-08-24 David Bateman <dbateman@free.fr> |
4250 | |
4251 * chNDArray.cc (concat): Check whether matrix to be inserted is | |
4252 empty instead of checking final matrix. | |
4253 * dNDArray.cc (concat): Likewise. | |
4254 * CNDArray.cc (concat): Likewise. | |
4255 | |
4256 2004-08-23 David Bateman <dbateman@free.fr> | |
4257 | |
4258 * dim-vector.h (dim_vector::concat): Correct incrementation for | |
4259 non-existent dimensions. | |
4260 | |
4938 | 4261 2004-08-09 John W. Eaton <jwe@octave.org> |
4262 | |
4263 * idx-vector.h (idx_vector::idx_vector_rep::tree_to_mat_idx | |
4264 (const octave_int<U>&)): New member function. | |
4265 (idx_vector::idx_vector_rep::tree_to_mat_idx (double, bool&), | |
4266 idx_vector::idx_vector_rep::tree_to_mat_idx (int)): | |
4267 Now member functions instead of static in idx-vector.cc. | |
4268 (idx_vector::idx_vector_rep::idx_vector_rep (const octave_int<U>&), | |
4269 idx_vector::idx_vector_rep::idx_vector_rep (const intNDArray<U>&)): | |
4270 New template constructors. | |
4271 | |
4932 | 4272 2004-08-05 John W. Eaton <jwe@octave.org> |
4273 | |
4933 | 4274 * EIG.cc (EIG::init): Add volatile qualifier to nvr decl. |
4275 | |
4932 | 4276 * intNDArray.cc (intNDArray<T>::operator !, intNDArray<T>::all, |
4277 intNDArray<T>::any): Sprinkle with this-> as needed. | |
4278 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): Likewise. | |
4279 | |
4929 | 4280 2004-08-03 John W. Eaton <jwe@octave.org> |
4281 | |
4282 * Array.cc (Array<T>::squeeze): Do nothing for 2-d arrays. For | |
4283 arrays with more than two dimensions and only one non-singleton | |
4284 dimension, return a column vector. | |
4285 | |
4921 | 4286 2004-07-28 John W. Eaton <jwe@octave.org> |
4287 | |
4288 * oct-cmplx.h (pow (const Complex&, const double&): | |
4289 Convert second arg to complex to avoid libstdc++ bug. | |
4290 | |
4920 | 4291 2004-07-27 John W. Eaton <jwe@octave.org> |
4292 | |
4293 * oct-inttypes.h (bitshift): New arg, MASK. | |
4294 (OCTAVE_INT_BITSHIFT_OP): Bitshift does not saturate. | |
4295 | |
4916 | 4296 2004-07-23 John W. Eaton <jwe@octave.org> |
4297 | |
4298 * Array.cc (Array<T>::reshape): Return *this if no change in size. | |
4299 | |
4915 | 4300 2004-07-23 David Bateman <dbateman@free.fr> |
4301 | |
4302 * Array.cc, Array.h (cat_ra): Delete. | |
4303 * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc | |
4304 (INSTANTIATE_ARRAY_CAT): Delete. | |
4305 | |
4306 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
4307 chNDArray.h, intNDArray.cc, intNDArray.h (cat): Delete. | |
4308 | |
4309 * Array.cc (Array<T>::insert): Copy data in NDArray version. | |
4310 | |
4311 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
4312 chNDArray.h (concat): New function used for concatenation that does | |
4313 an indexed copy of one array into another. | |
4314 | |
4315 * dim-vector.h (concat): New function to concatenate dim_vectors. | |
4316 | |
4317 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
4318 chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for | |
4319 insertion of one NDArray into another. | |
4320 | |
4321 * oct-inttype.cc (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): New | |
4322 macros to define the int/uint concatenation functions. | |
4323 | |
4324 * uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
4325 int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc | |
4326 (OCTAVE_INT_CONCAT_FN): Instantiate the concatenation function . | |
4327 | |
4328 * uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
4329 int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h | |
4330 (OCTAVE_INT_CONCAT_DECL): Declare the int/uint concatentaion | |
4331 functions. | |
4332 | |
4911 | 4333 2004-07-22 David Bateman <dbateman@free.fr> |
4334 | |
4335 * oct-sort.h: Don't include oct-obj.h. | |
4336 | |
4337 * lo-specfun.cc (is_integer_value): New function. | |
4338 (zbesj, zbesi, zbesy): Special case negative integer or half | |
4339 integer orders that cause overflow for small arguments. | |
4340 | |
4909 | 4341 2004-07-12 John W. Eaton <jwe@octave.org> |
4342 | |
4343 * oct-inttypes.h (octave_int<T>::nbits): New function. | |
4344 (bitshift (const octave_int<T>&, int)): New function. | |
4345 | |
4902 | 4346 2004-06-14 John W. Eaton <jwe@octave.org> |
4347 | |
4348 * mx-base.h: Include headers for new int types. | |
4349 | |
4350 * dNDArray.h, dNDArray.cc (NDArray::NDArray (const boolNDArray&), | |
4351 NDArray::NDArray (const charNDArray&)): Delete. | |
4352 (template <class U> explicit NDArray (const intNDArray<U>&)): New | |
4353 constructor. | |
4354 (NDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
4355 | |
4356 * chMatrix.h (CharMatrix::transpose): New forwarding functions for | |
4357 return type conversion. | |
4358 | |
4359 * ComplexNDArray.h, ComplexNDArray.cc | |
4360 (ComplexNDArray::ComplexNDArray (const ArrayN<Complex>&), | |
4361 (ComplexNDArray::ComplexNDArray (const NDArray&), | |
4362 (ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
4363 (ComplexNDArray::ComplexNDArray (const charNDArray&)): Delete. | |
4364 | |
4365 (ComplexNDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
4366 | |
4367 * MArrayN.h: | |
4368 (template <class U> explicit MArrayN<T>::MArrayN (const Array2<U>&), | |
4369 (template <class U> MArrayN<T>::MArrayN (const ArrayN<U>&), | |
4370 (template <class U> explicit MArrayN<T>::MArrayN (const MArray<U>&)): | |
4371 New constructors. | |
4372 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
4373 ArrayN<T>::squeeze): | |
4374 New forwarding functions for return type conversion. | |
4375 | |
4376 * ArrayN.h: | |
4377 (template <class U> explicit ArrayN<T>::ArrayN (const Array2<U>&), | |
4378 (template <class U> explicit ArrayN<T>::ArrayN (const ArrayN<U>&), | |
4379 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&), | |
4380 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&, | |
4381 const dim_vector&)): New constructors. | |
4382 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
4383 ArrayN<T>::transpose): | |
4384 New forwarding functions for return type conversion. | |
4385 | |
4386 * Array.h (template <class U> Array<T>::Array (const Array<U>&)): | |
4387 New constructor. | |
4388 (Array<T>::coerce, Array<T>::byte_size): New functions. | |
4389 | |
4390 * Array-i.cc, MArray-i.cc: Instantiate new integer types. | |
4391 | |
4392 * oct-inttypes.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
4393 int8NDArray.h , intNDArray.h, uint16NDArray.h, uint32NDArray.h, | |
4394 uint64NDArray.h, uint8NDArray.h, int16NDArray.cc, int32NDArray.cc, | |
4395 int64NDArray.cc, int8NDArray.cc, intNDArray.cc, uint16NDArray.cc, | |
4396 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: New files. | |
4397 * Makefile.in: Add them to the appropriate lists. | |
4398 | |
4899 | 4399 2004-06-04 John W. Eaton <jwe@octave.org> |
4400 | |
4401 * mx-inlines.cc (MX_ND_REDUCTION): New arg, RET_ELT_TYPE. Use | |
4402 "RET_ELT_TYPE ()" rather than "false" as fill value for retval | |
4403 resize op. Change all uses. | |
4404 | |
4898 | 4405 2004-06-03 David Bateman <dbateman@free.fr> |
4406 | |
4407 * Array.cc (assignN): Allow magic colon for dimensions lvalue | |
4408 greater than the existing number of dimensions in lvalue. | |
4409 | |
4887 | 4410 2004-04-30 David Bateman <dbateman@free.fr> |
4411 | |
4412 * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): | |
4413 New arg, fill_value. | |
4414 (dim_vector::resize): Allow optional fill_value argument. | |
4415 | |
4416 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
4417 Don't chop trailing dimensions of Array<idx_vector> if there is | |
4418 more than one element in idx_vector. Resize the return value to | |
4419 the size of Array<idx_vector>. | |
4420 | |
4421 * Array-util.cc (short_freeze): Better freeze of last dimension of | |
4422 idx_vector that is shorter than a dim_vector. | |
4423 | |
4882 | 4424 2004-04-23 John W. Eaton <jwe@octave.org> |
4425 | |
4426 * oct-sort.cc: Don't include oct-obj.h. | |
4427 | |
4876 | 4428 2004-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
4429 | |
4430 * Array.cc (Array<T>::index2, Array<T>::indexN): | |
4431 Don't set invalid dimensions on return value. | |
4432 | |
4871 | 4433 2004-04-21 John W. Eaton <jwe@octave.org> |
4434 | |
4435 * mx-inlines.cc (MX_ND_REDUCTION): Chop trailing singletons. | |
4436 | |
4850 | 4437 2004-04-06 David Bateman <dbateman@free.fr> |
4438 | |
4870 | 4439 * Array.cc (Array<T>::resize_no_fill (const dim_vector& dv), |
4440 Array<T>::resize_and_fill (const dim_vector& dv, const T& val)): | |
4441 Make their behavior equivalent except for filling vs. not filling. | |
4442 | |
4850 | 4443 * oct-sort.cc: New template class for arbitrary sorting. |
4444 * oct-sort.h: Declaration of sort class. | |
4445 * Makefile: Add them to the appropriate lists. | |
4446 | |
4845 | 4447 2004-04-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
4448 | |
4449 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Fix off-by-one error. | |
4450 | |
4844 | 4451 2004-04-02 David Bateman <dbateman@free.fr> |
4452 | |
4453 * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, | |
4454 besselh2, airy, biry, betainc, gammainc, do_bessel): | |
4852 | 4455 New N-d array versions. |
4844 | 4456 (SN_BESSEL, NS_BESSEL, NN_BESSEL): New macros. |
4457 * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, | |
4458 besselh2, airy, biry, betainc, gammainc): Provide decls. | |
4459 | |
4460 * dNDArray.cc (NDArray::min, NDArray::max, min, max): | |
4461 New functions. | |
4462 * dNDArray.h (NDArray::min, NDArray::max, min, max): Provide decls. | |
4463 | |
4464 * CNDArray.cc (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
4465 New functions. | |
4466 * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
4467 Provide decls. | |
4468 | |
4842 | 4469 2004-03-17 David Hoover <jazzdaq@yahoo.com> |
4470 | |
4471 * DASPK.cc (DASPK::do_integrate): Always add n*n elements to the | |
4472 work vector, not just when using a numerical Jacobian. | |
4473 | |
4834 | 4474 2004-03-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4475 | |
4835 | 4476 * so-array.cc (SND_CMP_OP, NDS_CMP_OP, NDND_CMP_OP): |
4477 Omit empty result args. | |
4478 | |
4834 | 4479 * Array.cc (Array<T>::Array (const Array<T>&, const dim_vector&)): |
4480 Move here from Array.h, check that size of array arg is not | |
4481 smaller than the size defined by the new dimensions. | |
4482 | |
4832 | 4483 2004-03-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4484 | |
4485 * Array.cc (Array<T>::index2): Allow result to be N-d if indexing | |
4486 a scalar or vector with an N-d array. | |
4487 | |
4826 | 4488 2004-03-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
4489 | |
4828 | 4490 * Array.cc (Array<T>::index2): If scalar or vector is indexed by |
4491 matrix, return object that is the same size as the index. | |
4492 | |
4826 | 4493 * mx-op-defs.h (NDND_CMP_OP, MM_CMP_OP): Require dimensions to agree. |
4494 Eliminate MT_RESULT args. Return value is always size of args. | |
4495 (MS_CMP_OP, SM_CMP_OP, NDS_CMP_OP, SND_CMP_OP): | |
4496 Eliminate EMPTY_RESULT arg. | |
4497 Return value is always size of matrix or N-d array arg. | |
4498 (TBM, FBM, NBM): Delete unused macros. | |
4499 | |
4821 | 4500 2004-03-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
4501 | |
4502 * Array.cc (Array<T>::maybe_delete_elements): Return immediately | |
4503 if all LHS dimensions are zero. For one index case, freeze and | |
4504 sort idx_vec before checking length, and do nothing if | |
4505 num_to_delete is zero. | |
4822 | 4506 (Array<T>::maybe_delete_elements_2): Omit Fortran-indexing warning. |
4821 | 4507 |
4816 | 4508 2004-03-04 David Bateman <dbateman@free.fr> |
4509 | |
4510 * dNDArray.cc (NDArray::ifourier): Arg is int, not const int. | |
4511 * CNDArray.cc (ComplexNDArray::ifourier): Likewise. | |
4512 | |
4811 | 4513 2004-03-03 Hans Ekkehard Plesser <hans.ekkehard.plesser@nlh.no> |
4514 | |
4515 * base-lu.cc (base_lu<>::L): Check bounds before setting diagonal | |
4516 element. | |
4517 | |
4518 2004-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4519 | |
4520 * Range.h (Range::Range): Add cache to member initialization list. | |
4521 (Range::clear_cache): New private function. | |
4522 | |
4523 * Range.h (Range::set_base, Range::set_limit, Range::set_inc): | |
4524 Use clear cache. Don't do anything if range does not change. | |
4525 * Range.cc (Range::sort): Likewise. | |
4526 | |
4810 | 4527 2004-03-02 Paul Kienzle <pkienzle@users.sf.net> |
4528 | |
4529 * Range.cc (Range::matrix_value): Cache result. | |
4530 (Range::sort): Clear cache. | |
4531 * Range.h (Range::cache): New data member. | |
4532 (Range::set_base, Range::set_limit, Range::set_inc): Clear cache. | |
4533 (Range::print_range): Delete. | |
4808 | 4534 |
4535 2004-03-02 David Bateman <dbateman@free.fr> | |
4536 | |
4537 * oct-fftw.cc: Only two versions of plan, and avoid endless | |
4538 changes between them. Faster for small fft's. | |
4539 (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): | |
4540 New member variables. | |
4541 (octave_fftw_planner::ialign, octave_fftw_planner::oalign, | |
4542 octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. | |
4543 Change all uses. | |
4544 (CHECK_SIMD_ALIGNMENT): New macro. | |
4545 (octave_fftw_planner::create_plan): Use it. | |
4546 | |
4806 | 4547 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> |
4548 | |
4549 * Array.cc (Array<T>::insertN): Eliminate N-d indexing. | |
4550 | |
4551 * mx-inlines.cc (MX_ND_CAT): Delete macro. | |
4552 | |
4553 * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. | |
4554 * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. | |
4555 * chNDArray.cc (charNDArray<T>::cat): Ditto. | |
4556 * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. | |
4557 | |
4558 * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. | |
4559 * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. | |
4560 | |
4800 | 4561 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4562 | |
4802 | 4563 * oct-rl-edit.c (octave_rl_set_startup_hook, |
4564 octave_rl_get_startup_hook, octave_rl_set_event_hook, | |
4565 octave_rl_get_event_hook): Omit casts. | |
4566 * oct-rl-edit.h (rl_startup_hook_fcn_ptr, rl_event_hook_fcn_ptr): | |
4567 Return value for function pointer typedef is now int. | |
4568 * cmd-edit.h (command_editor::startup_hook_fcn, | |
4569 command_editor::event_hook_fcn): Likewise. | |
4570 * cmd-hist.cc, cmd-hist.h (command_history::goto_mark, | |
4571 command_history::do_goto_mark, gnu_history::do_goto_mark): | |
4572 Return type is now int. Return 0. | |
4573 | |
4800 | 4574 * EIG.cc (EIG::init, EIG::symmetric_init): |
4575 Query Lapack for workspace size. | |
4576 | |
4796 | 4577 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4578 | |
4579 * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): | |
4580 Fix thinko in extending dimensions. | |
4581 | |
4791 | 4582 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
4583 | |
4584 * Range.cc (Range::matrix_value, Range::min, Range::max): | |
4585 Don't compute values beyond the limits of the range. | |
4586 (operator << (std::ostream&, const Range&)): Likewise. | |
4587 | |
4786 | 4588 2004-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4589 | |
4788 | 4590 * oct-fftw.cc (octave_fftw_planner::create_plan): |
4591 Cast IN and OUT args to ptrdiff_t instead of long before masking. | |
4592 From Paul Kienzle <pkienzle@users.sf.net>. | |
4593 | |
4786 | 4594 * Array.cc (Array<T>::insertN (const Array<T>&, int, int)): |
4595 Rename from Array<T>::insert. | |
4596 (Array<T>::insert2 (const Array<T>&, int, int)): | |
4597 Reinstate old Array<T>::insert function under this name. | |
4598 (Array<T>::insert (const Array<T>&, int, int)): | |
4599 New function. Dispatch to insert2 or insertN as appropriate. | |
4600 | |
4785 | 4601 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
4602 | |
4603 * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): | |
4604 Sprinkle with OCTAVE_QUIT. | |
4605 | |
5095 | 4606 2004-02-16 David Bateman <dbateman@free.fr> |
4773 | 4607 |
4608 * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): | |
4609 Add support for FFTW 3.x. Include the ability to | |
4610 use the real to complex transform for fft's of real matrices | |
4611 (octave_fftw_planner::create_plan2d): Delete. | |
4612 (octave_fftw::fft2d): Delete. | |
4613 (convert_packcomplex_1d, convert_packcomplex_Nd): | |
4614 New static functions. | |
4615 * oct-fftw.h: Update decls. | |
4616 | |
4617 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
4618 Matrix::fourier2d, Matrix::ifourier2d): FFT's use real to complex | |
4619 transforms. 1D FFT of a matrix done as single call rather than | |
4620 loop. Update for FFTW 3.x | |
4621 * CMatrix.cc (ComplexMatrix::fourier, ComplexMatrix::ifourier, | |
4622 ComplexMatrix::fourier2d, ComplexMatrix::ifourier2d): 1D fft of a | |
4623 matrix done as single call rather than loop. Update for FFTW 3.x. | |
4624 | |
4625 * dNDArray.cc (NDArray::fourier, NDArray::ifourier, | |
4626 NDArray::fourierNd, NDArray::ifouriourNd): New fourier transform | |
4627 functions for Nd arrays. | |
4628 * dNArray.h Provide decls. | |
4629 * CNDArray.cc (ComplexNDArray::fourier, ComplexNDArray::ifourier, | |
4630 ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New | |
4631 fourier transform functions for complex Nd arrays. | |
4632 * CNArray.h: Provide decls. | |
4633 | |
4765 | 4634 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> |
4635 | |
4636 * Array.cc (Array<T>::insert (const Array<T>&, int, int)): | |
4637 Make it work for N-d arrays. | |
4638 | |
4639 * ArrayN.h (ArrayN<T>::insert (const ArrayN<T>& a, int, int)): | |
4640 New function. | |
4641 | |
4642 * CNDArray.cc (ComplexNDArray::insert (const NDArray&, int, int), | |
4643 ComplexNDArray::insert (const ComplexNDArray&, int, int)): | |
4644 New functions. | |
4645 * CNDArray.h: Provide decls. | |
4646 | |
4759 | 4647 2004-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4648 | |
4760 | 4649 * Makefile.in (LINK_DEPS): Always define. |
4650 | |
4759 | 4651 * Array.cc (Array<T>::squeeze): Always return an array with at |
4652 least two dimensions. | |
4653 | |
4758 | 4654 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
4655 | |
4656 * mx-inlines.cc (MX_ND_CAT): New macro. | |
4657 * dNDArray.cc (NDArray::cat): New function. | |
4658 * dNDArray.h: Provide decls. | |
4659 * CNDArray.cc (complexNDArray::cat): New function. | |
4660 * CNDArray.h: Provide decls. | |
4661 * chNDArray.cc (charNDArray::cat): New function. | |
4662 * chNDArray.h: Provide decls. | |
4663 | |
4756 | 4664 2004-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
4665 | |
4666 * Array.cc (maybe_delete_elements_2): Allow X(n) = [] for 2-d X. | |
4667 (Array<T>assign2): Also call maybe_delete_elements for single | |
4668 index when rows and columns or LHS are both greater than 1. | |
4669 | |
4755 | 4670 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
4671 | |
4672 * Array.cc (Array<T>::maybe_delete_elements): | |
4673 Check for index out of bounds. Handle one index. | |
4674 | |
4675 * Array.cc (Array<T>::indexN): Use dim_vector (0, 0) instead of | |
4676 dim_vector (0) to create empty return vector. | |
4677 | |
4749 | 4678 2004-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
4679 | |
4680 * Array.cc (Array<T>::assignN): Don't crash if trying to resize a | |
4681 non-empty LHS when the number of lhs dimensions is less than the | |
4682 number of indices. Detect error if attempting to resize non-empty | |
4683 LHS with colon indices. | |
4684 | |
4745 | 4685 2004-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
4686 | |
4747 | 4687 * Array.cc (Array<T>::resize_and_fill): Don't bother to assign any |
4688 values unless the length of the new array is greater than 0. | |
4689 (Array<T>::resize_no_fill): Likewise. | |
4690 | |
4691 * Array-util.cc (index_in_bounds): Also return false if ra_idx(i) | |
4692 is equal to dimensions(i). | |
4693 | |
4694 * Array-util.h, Array-util.cc (equal_arrays, any_zero_len, | |
4695 get_zero_len_size, number_of_elements): | |
4696 Delete unused functions. | |
4697 | |
4698 * Array-util.cc (get_ra_idx): Use dim_vector::numel instead of | |
4699 number_of_elements function. | |
4700 * Array.cc (Array<T>::indexN): Likewise. | |
4701 | |
4702 * Array.cc (Array<T>::indexN): Use dim_vector::operator == instead | |
4703 of equal_arrays function. | |
4704 (Array<T>::index, Array<T>::indexN, Array<T>::assignN) Use | |
4705 dim_vector::any_zero instead of any_zero_len function. | |
4706 | |
4707 * Array.cc (Array<T>::assignN): Eliminate special case for empty index. | |
4708 Don't skip reshaping and resizing if RHS is empty. | |
4709 | |
4746 | 4710 * Array.cc (Array<T>::assignN): Simplify loop for array assignment. |
4711 Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. | |
4747 | 4712 Delete unused variables is_colon and is_colon_equiv. |
4746 | 4713 Correctly resize for expressions like x(:,:,2) = ones(3,3) when |
4714 LHS is not yet defined. | |
4745 | 4715 Error for resizing if number of indices is less than number of LHS |
4716 dimensions. | |
4717 | |
4746 | 4718 * Array.cc (Array<T>::maybe_delete_elements): Maybe warn about |
4719 Fortran-style indexing. | |
4720 | |
4743 | 4721 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
4722 | |
4723 * Array.cc (Array<T>::assignN): Simplify. | |
4724 Allow assignments to succeed if number if indices is less than the | |
4725 number of RHS dimensions. | |
4726 | |
4738 | 4727 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
4728 | |
4741 | 4729 * Array.cc (Array<T>::maybe_delete_elements): Reshape LHS |
4730 when number of indices is less than number of dimensions. | |
4731 | |
4732 * Array.cc (Array<T>::assignN, Array<T>::maybe_delete_elements): | |
4733 Remove unsued variable lhs_inc. | |
4734 | |
4740 | 4735 * Array.cc (Array<T>::maybe_delete_elements): Declare idx_is_colon |
4736 and idx_is_colon_equiv Array<int> instead of dim_vector. | |
4737 | |
4738 * Array.cc (Array<T>::assignN): Compute new dims in a cleaner way. | |
4739 | |
4738 | 4740 * Array.cc (Array<T>::index): Check for frozen_lengths.length () |
4741 == n_dims before checking to see if all indices are colon_equiv. | |
4742 | |
4736 | 4743 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
4744 | |
4745 * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for | |
4746 deleting elements. | |
4737 | 4747 (Array<T>::index): Remove trailing singletons in ra_idx, but leave |
4748 at least ndims elements. | |
4736 | 4749 |
4735 | 4750 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
4751 | |
4752 * Array.cc (Array<T>::assignN): Accept assignment of a vector | |
4753 oriented differently from the index. | |
4754 | |
4755 * dim-vector.h (dim_vector::squeeze): Return value always has at | |
4756 least two dimensions. | |
4757 | |
4733 | 4758 2004-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
4759 | |
4735 | 4760 * dim-vector.h (dim_vector::squeeze): New function. |
4761 (Array<T>::assignN): Use it instead of chop_trailing_singltons for | |
4762 deciding whether the assignment conforms. | |
4763 | |
4733 | 4764 * Array.cc (Array<T>::assignN): Simplify dimension check by |
4765 comparing rhs_dims and frozen_len sans trailing singletons. | |
4766 | |
4732 | 4767 2004-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
4768 | |
4769 * idx-vector.cc (tree_to_mat_idx): New arg, conversion_error. | |
4770 Call error handler and return conversion_error == true if arg is | |
4771 not integer. | |
4772 (IDX_VEC_REP::idx_vector_rep): Exit early if conversion_error. | |
4773 | |
4730 | 4774 2004-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
4775 | |
4776 * boolNDArray.h (boolNDArray::boolNDArray): Declare dim_vector | |
4777 reference arg const. | |
4778 | |
4779 2004-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4780 | |
4781 * Array-flags.cc: Include Array-flags.h, not Array.h. Doh. | |
4782 | |
4729 | 4783 2004-01-30 Jakub Bogusz <qboosh@pld-linux.org> |
4784 | |
4785 * Array-flags.h (liboctave_wfi_flag, liboctave_wrore_flag): | |
4786 Now bool, to match definition in Array-flags.cc. | |
4787 | |
4725 | 4788 2004-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4789 | |
4726 | 4790 * file-ops.cc: Include <vector> instead of <memory> for new |
4791 definition of OCTAVE_LOCAL_BUFFER. | |
4792 | |
4725 | 4793 * EIG.cc, EIG.h (EIG::init, EIG::symmetric_init, EIG::hermitian_init): |
4794 New arg, calc_eigenvectors. | |
4795 * EIG.h (EIG:EIG): New optional arg, calc_eigenvectors. | |
4796 Based on patch from David Bateman <dbateman@free.fr>. | |
4797 | |
4716 | 4798 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
4799 | |
4800 * Array.cc (Array<T>::assign2, Array<T>::assignN): | |
4801 For X(I) = RHS, don't restrict I to fewer elements than X. | |
4802 | |
4803 * Array.cc (Array<T>::assign2): Simplify indexing for X(I) = RHS case. | |
4804 | |
4711 | 4805 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
4806 | |
4714 | 4807 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): |
4808 Simplify calculation of number of elements in retval. | |
4809 | |
4711 | 4810 * Array.cc (Array<T>::assignN): Eliminate unnecessray code for |
4811 filling when RHS is scalar and dimension lengths agree. | |
4812 | |
4710 | 4813 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
4814 | |
4713 | 4815 * Makefile.in (distclean): Remove mx-ops.h, $(MX_OP_INC), |
4816 $(VX_OP_INC), $(MX_OP_SRC), $(VX_OP_SRC), and $(OPTS_INC). | |
4710 | 4817 |
4707 | 4818 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
4819 | |
4709 | 4820 * Array.cc (Array<T>::resize_and_fill): Correctly copy old elements. |
4821 (Array<T>::assign2): Check for RHS dimensions larger than 2. | |
4707 | 4822 |
4702 | 4823 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> |
4824 | |
4703 | 4825 * Array.h (Array<T>::chop_trailing_singletons): New function. |
4826 * Array.cc (Array<T>::assignN): Use it on LHS. | |
4827 | |
4828 * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. | |
4702 | 4829 Retrieve scalar element by passin 0 instead of an index array. |
4703 | 4830 Check for singleton dimensions where RHS is matrix or higher dimension. |
4831 Make sure index is in bounds. | |
4702 | 4832 |
4698 | 4833 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
4834 | |
4835 * lo-ieee.cc (octave_ieee_init): Ensure that octave_Inf, | |
4836 octave_NaN, and octav_NA values are always initialized. Check | |
4837 floating point format, not HAVE_ISINF, HAVE_FINITE, or HAVE_ISNAN | |
4838 to decide whether to do IEEE initialization. | |
4839 | |
4687 | 4840 2004-01-06 David Bateman <dbateman@free.fr> |
4841 | |
4842 * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, | |
4843 ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, | |
4844 ComplexNDArray::too_large_for_float): New functions | |
4845 | |
4846 * CNDArray.cc (operator <<, operator >>): New IO operators. | |
4847 * CNDArray.h: Provide decls. | |
4848 * dNDArray.cc (operator <<, operator >>): New IO operators. | |
4849 * dNDArray.h: Provide decls. | |
4850 | |
4673 | 4851 2003-12-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4852 | |
4674 | 4853 * mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since |
4854 they are already defined in boolNDArray.cc. | |
4855 | |
4673 | 4856 * Array-util.cc (get_zero_len_size): Delete. |
4857 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
4858 Handle zero-length result dimensions the same as empty original | |
4859 indices. | |
4860 | |
4861 2003-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4862 | |
4863 * dim-vector.h (dim_vector::chop_trailing_singleton_dims, | |
4864 dim_vector::dim_vector_rep::chop_trailing_singleton_dims): | |
4865 New functions. | |
4866 * Array.cc (ArrayN<T>::indexN): Use it. | |
4867 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): Likewise. | |
4868 | |
4669 | 4869 2003-11-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
4870 | |
4871 * boolNDArray.cc: Define BOOL ops. Define mixed CMP ops. | |
4872 * boolNDArray.h: Declare BOOL ops. Declare mixed CMP ops. | |
4873 | |
4874 2003-11-25 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4875 | |
4876 * mk-ops.awk: Also emit #include "Array-util.h". | |
4877 | |
4878 * mx-ops: Add bool, boolMatrix, and boolNDarray types. | |
4879 Add bnda x bnda, b x bnda, and bnda x b ops. | |
4880 | |
4881 * MArray-misc.cc: Delete. | |
4882 * Makefile.in (MATRIX_SRC): Remove it from the list. | |
4883 | |
4884 * Array-util.h, Array-util.cc (gripe_nonconformant): Move here from | |
4885 MArray.h, MArray2.h, MArrayN.h, and MArray-misc.cc. | |
4886 | |
4655 | 4887 2003-11-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4888 | |
4663 | 4889 * dbleQR.cc (QR::init): Use separate pwork pointers. |
4890 * CmplxQR.cc (ComplexQR::init): Likewise. | |
4891 | |
4892 * oct-group.cc (octave_group::getgrnam): Pass correct args to | |
4893 two-arg getgrnam version. | |
4894 | |
4657 | 4895 * Array.cc (assignN): Allow single indexing to work. |
4661 | 4896 (Array<T>::range_error (const char*, const Array<int>&)): |
4897 Report index values. | |
4898 | |
4899 * Array.cc (Array<T>::index): Delete unused arg names. | |
4662 | 4900 * ODESSA.cc (odessa_j): Likewise. |
4901 * DASRT.cc (ddasrt_f, ddasrt_g): Likewise. | |
4902 * DASPK.cc (ddaspk_psol): Likewise. | |
4903 * lo-mappers.cc (imag): Likewise. | |
4663 | 4904 * Array-util.cc (get_zero_len_size): Likewise. |
4905 * kpse.cc (path_search, path_find_first_of): Likewise. | |
4906 * cmd-edit.cc (do_generate_filename_completions): Likewise. | |
4656 | 4907 |
4655 | 4908 * dim-vector.h (dim_vector::all_ones): New function. |
4909 | |
4646 | 4910 2003-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4911 | |
4653 | 4912 * idx-vector.h (idx_vector::orig_empty): Check orig_dims for |
4913 zeros, not orig_rows or orig_columns. | |
4914 (idx_vector::idx_vector_rep::orig_rows): Define using orig_dims. | |
4915 (idx_vector::idx_vector_rep::orig_columns): Likewise. | |
4916 | |
4917 * idx-vector.cc (idx_vector::idx_vector_rep::orig_nr, | |
4918 (idx_vector::idx_vector_rep::orig_nc): Delete. | |
4919 | |
4920 * idx-vector.cc (idx_vector::idx_vector_rep): | |
4921 Use initialization lists for constructors. | |
4922 | |
4651 | 4923 * Array.cc (Array<T>::indexN): Correctly handle single colon index. |
4924 Omit special case for ra_idx.capacity () == 1. | |
4925 Always allow single index for matrix args with optional warning. | |
4926 | |
4650 | 4927 * idx-vector.h, idx-vector.cc: Convert boolMatrix functions to use |
4928 boolNDArray. Likewise, convert Matrix functions to use NDArray. | |
4929 | |
4648 | 4930 * Array-so.cc: New file. Move instantiations here from so-array.h. |
4931 * Makefile.in (TI_SRC): Add it to the list. | |
4932 | |
4646 | 4933 * MArray-defs.h (DO_VS_OP2, DO_VV_OP2): Accept args for element |
4934 type and the names of the left and right operands. Change all uses. | |
4935 | |
4936 * so-array.cc, so-array.h: New files. Move streamoff_array here | |
4937 from src/ov-streamoff.h and src/ov-streamoff.cc. | |
4938 | |
4645 | 4939 2003-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
4940 | |
4941 * MArrayN.cc (operator -=, operator +=): Check dimensions, not | |
4942 just length. | |
4943 | |
4944 * Array2.h, Array3.h, DiagArray2.h, DiagArray2.cc, MDiagArray2.h, | |
4945 ArrayN.h: Add this-> or Base:: qualifiers for references to | |
4946 non-dependent member functions and data as needed. | |
4947 | |
4948 * DiagArray2.h, DiagArray2.cc: Delete unused code. | |
4949 | |
4950 * Array2.h (Array2<T>::operator =): Don't copy dimensions here. | |
4951 * Array3.h (Array3<T>::operator =): Likewise. | |
4952 * DiagArray2.h (DiagArray2<T>::operator =): Likewise. | |
4953 Include Array.h, not Array2.h. | |
4954 | |
4634 | 4955 2003-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
4956 | |
4636 | 4957 * str-vec.cc (list_in_columns): Fix previous change. |
4958 | |
4635 | 4959 * dim-vector.h (dim_vector::num_ones): New function. |
4960 * Array.cc (maybe_delete_elements): Use it instead of | |
4961 num_ones (const Array<int>&). | |
4962 | |
4963 * Array.cc (assignN): Omit dubious check of singleton dimensions. | |
4964 | |
4634 | 4965 * dNDArray.cc (NDArray::all_elements_are_int_or_inf_or_nan, |
4966 NDArray::any_element_is_inf_or_nan, NDArray::too_large_for_float): | |
4967 New functions. | |
4968 * dNDArray.h: Provide decls. | |
4969 | |
4970 * dMatrix.h (Matrix::any_element_is_negative, | |
4971 Matrix::any_element_is_inf_or_nan, Matrix::too_large_for_float, | |
4972 Matrix::all_elements_are_int_or_inf_or_nan, Matrix::all_integers): | |
4973 Simplify. | |
4974 | |
4975 * dNDArray.cc (NDArray::abs): Make it work for N-d arrays. | |
4976 * CNDArray.cc (ComplexNDArray::abs): Likewise. | |
4977 | |
4978 * dNDArray.cc (real, imag): New functions. | |
4979 * dNDArray.h: Provide decls. | |
4980 | |
4630 | 4981 2003-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4982 | |
4983 * Makefile.in (TEMPLATE_SRC): Move MArrayN.cc here from MATRIX_SRC. | |
4984 | |
4625 | 4985 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
4986 | |
4987 * Array.h (Array<T>::resize (int, const T&)): Reinstate. | |
4988 * MArray.h (resize): Delete. | |
4989 * MArray2.h (resize): Delete. | |
4990 * DASRT.cc (DASRT::integrate): Use resize, not resize_and_fill. | |
4991 * ODESSA (ODESSA::integrate): Likewise. | |
4992 | |
4616 | 4993 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4994 | |
4995 * Makefile.in (dist): Depend on stamp-prereq. | |
4996 | |
4605 | 4997 2003-11-12 John Eaton <jwe@bevo.che.wisc.edu> |
4998 | |
4999 * mach-info.c (oct_mach_info::init_float_format) [CRAY]: | |
5000 Kluge to make it work. | |
4604 | 5001 |
5002 * lo-ieee.cc (octave_ieee_init): Set octave_Inf, octave_NaN, and | |
5003 octave_NA to DBL_MAX if native float format is vaxd, vaxg, or cray. | |
5004 | |
5005 * cmd-edit.cc (gnu_readline::do_generate_filename_completions, | |
5006 default_command_editor::do_generate_filename_completions, | |
5007 command_editor::generate_filename_completions): New functions. | |
5008 * cmd-edit.h: Provide decls. | |
5009 * oct-rl-edit.c (octave_rl_filename_completion_function): New | |
5010 function. | |
5011 * oct-rl-edit.h: Provide decl. | |
5012 | |
4593 | 5013 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5014 | |
4594 | 5015 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY_AND_ASSIGN, |
5016 INSTANTIATE_ARRAY): New macros. | |
5017 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
5018 Array-idx-vec.cc, Array-s.cc, Array-str.cc, ODESSA.cc: Use them. | |
5019 | |
4593 | 5020 * Array.h (Array<T>::ipermute): New function. |
5021 | |
5022 2003-11-11 Petter Risholm <risholm@stud.ntnu.no> | |
5023 | |
5024 * Array.cc (Array<T>::permute): New function. | |
5025 * Array.h: Provide decl. | |
5026 | |
5027 * Array-util.cc (calc_permutated_idx): New function. | |
5028 * Array-util.h: Provide decl. | |
5029 | |
4587 | 5030 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5031 | |
4592 | 5032 * Array.cc (Array<T>::index2): Return value has orientation of |
5033 indexed value if indexing a vector with a bool matrix. | |
5034 | |
4589 | 5035 * ArrayN.h (ArrayN<T>::get_size): Delete. |
5036 | |
4588 | 5037 * Array.cc, ArrayN.cc, dNDArray.cc, CNDArray.cc, boolNDArray.cc, |
5038 chNDArray.cc: Include Array-util.h instead of ArrayN-inline.h. | |
5039 | |
5040 * ArrayN-inline.h: Delete. | |
5041 * Array-util.h, Array-util.cc: New files, from ArrayN-inline.h. | |
5042 * Makefile.in: Fix the appropriate lists. | |
5043 | |
4587 | 5044 * Array.cc, Array.h, ArrayN.h, CMatrix.cc, CNDArray.h, |
5045 CRowVector.cc, CmplxQR.cc, CollocWt.h, DASPK.h, DASRT.h, DASSL.h, | |
5046 FEGrid.cc, LP.h, LSODE.h, MArrayN.h, ODE.h, ODES.h, ODESSA.cc, | |
5047 boolNDArray.h, chNDArray.h, dMatrix.cc, dNDArray.h, dRowVector.cc, | |
5048 dbleQR.cc, kpse.cc, oct-rl-hist.c, str-vec.cc, str-vec.h: | |
5049 Avoid -Wshadow warnings. | |
5050 | |
5051 2003-11-08 John Eaton <jwe@bevo.che.wisc.edu> | |
4585 | 5052 |
5053 * Array.h (Array<T>::nil_rep): Qualify return type with typename. | |
5054 | |
5055 * mk-ops.awk: Delete elements of bool_headers array individually. | |
5056 | |
5057 2003-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5058 | |
5059 * Array.cc (maybe_delete_elements): Rename arg idx to ra_idx. | |
5060 | |
4584 | 5061 2003-10-31 Petter Risholm <risholm@stud.ntnu.no> |
5062 | |
5063 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): New macro. | |
5064 | |
5065 * CNDArray.cc, CNDArray.h (ComplexNDArray::cumsum, | |
5066 ComplexNDArray::cumprod): Return ComplexNDArray. Handle N-d arrays. | |
5067 * dNDArray.cc, dNDArray.h (NDArray::cumsum, NDArray::cumprod): | |
5068 Return NDArray. Handle N-d arrays. | |
5069 | |
4575 | 5070 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
5071 | |
4583 | 5072 * LSODE.cc (LSODE::do_integrate): Avoid name conflict on systems |
5073 that upcase Fortran names by calling dlsode instead of lsode. | |
5074 | |
5075 * ODESSA.cc (ODESSA::do_integrate): Avoid name conflict on systems | |
5076 that upcase Fortran names by calling dodessa instead of odessa. | |
5077 | |
4577 | 5078 * file-ops.cc (file_ops::symlink): Cope with systems that expect |
5079 non-const args for symlink system call. | |
5080 (file_ops::readlink): Likewise, for readlink. | |
5081 | |
4575 | 5082 * DASRT.cc (DASRT::integrate): Fix typo in Fortran function name. |
5083 | |
4574 | 5084 2003-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5085 | |
5086 * mach-info.h (oct_mach_info): Prefix enum elements with flt_fmt_. | |
5087 Change all uses. | |
5088 | |
4569 | 5089 2003-10-29 Petter Risholm <risholm@stud.ntnu.no> |
5090 | |
5091 * dNDArray.cc (NDArray::cumprod, NDArray::cumsum, NDArray::prod, | |
5092 NDArray::sum, NDArray::sumsq, NDArray::abs): New functions. | |
5093 * dNDArray.h: Provide decls. | |
5094 * CNDArray.cc (ComplexNDArray::cumprod, ComplexNDArray::cumsum, | |
5095 ComplexNDArray::prod, ComplexNDArray::sum, ComplexNDArray::sumsq, | |
5096 ComplexNDArray::abs): New functions. | |
5097 * CNDArray.h: Provide decls. | |
5098 | |
5099 * mx-inlines.cc (MX_ND_REDUCTION): Rename from MX_ND_ANY_ALL. | |
5100 Generalize to handle other reduction operations. | |
5101 (MX_ND_REAL_OP_REDUCTION, MX_ND_COMPLEX_OP_REDUCTION, | |
5102 MX_ND_ALL_ANY_REDUCTION): New macros. | |
5103 | |
4565 | 5104 2003-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5105 | |
4567 | 5106 * Array.cc (Array<T>::reshape): New function. |
5107 * Array.h: Provide decl. | |
5108 | |
5109 * dim-vector.h (dim_vector::numel): New function. | |
5110 | |
4565 | 5111 * dim-vector.h (dim_vector_rep::dim_vector_rep (int, const |
5112 dim_vector&)): Correctly handle case of n < dv->ndims. | |
5113 | |
4559 | 5114 2003-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5115 | |
5116 * dim-vector.h (dim_vector::any_zero): New function. | |
5117 (dim_vector::str): New default arg, sep. | |
5118 | |
5119 * Array.h (Array<T>::numel): New function. | |
5120 | |
4556 | 5121 2003-10-27 Petter Risholm <risholm@stud.ntnu.no> |
5122 | |
5123 * mx-inlines.cc (MX_ND_ALL_EXPR, MX_ND_ANY_EXPR, | |
5124 MX_ND_ALL_EVAL, MX_ND_ANY_EVAL, MX_ND_ALL_ANY): New macros. | |
5125 * dNDArray.h (NDArray::all, NDArray::any): Return type now boolNDArray. | |
5126 * CNDArray.h (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
5127 * boolNDArray.h (boolNDArray::all, boolNDArray::any): Likewise. | |
5128 * chNDArray.h (charNDArray::all, charNDArray::any): Likewise. | |
5129 * dNDArray.cc (NDArray::all, NDArray::any): Make them work. | |
5130 * CNDArray.cc (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
5131 * boolNDArray.cc (boolNDArray::all, boolNDArray::any): Likewise. | |
5132 * chNDArray.cc (charNDArray::all, charNDArray::any): Likewise. | |
5133 | |
4552 | 5134 2003-10-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
5135 | |
4553 | 5136 * Array.cc (Array<T>::resize_and_fill): Allow number of dimensions |
5137 to change. From Petter Risholm <risholm@stud.ntnu.no>. | |
5138 | |
4552 | 5139 * oct-rand.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, |
5140 CmplxAEPBAL.cc CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
5141 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, | |
5142 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, ODESSA.cc, | |
5143 Quad.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
5144 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
5145 dbleSCHUR.cc, dbleSVD.cc, lo-specfun.cc: | |
5146 Use new F77 arg macros in declarations of external Fortran | |
5147 subroutines and for calling them. | |
5148 | |
4548 | 5149 2003-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5150 | |
5151 * Array.cc (Array<T>::resize_no_fill (const dim_vector&)): | |
5152 Allow number of dimensions to change. | |
5153 (Array<T>::resize_no_fill (int, int)): Require ndims to be 0 or 2. | |
5154 (Array<T>::resize_and_fill (int, int, const T&)): Likewise. | |
5155 (Array<T>::resize_no_fill (int, int, int)): Require ndims to be 0 or 3. | |
5156 (Array<T>::resize_and_fill (int, int, int, const T&)): Likewise. | |
5157 (Array<T>::transpose): Require ndims to be 2. | |
5158 (Array<T>::index2): Likewise. | |
5159 (Array<T>::index (idx_vector&, idx_vector&, int, const T&)): Likewise. | |
5160 (Array<T>::maybe_delete_elements_2): Likewise. | |
5161 (Array<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Likewise. | |
5162 (Array<T>::index1): Use resize_and_fill. | |
5163 (MAYBE_RESIZE_ND_DIMS): Likewise. | |
5164 | |
5165 * ODESSA.cc (ODESSA::integrate): Use resize_and_fill for x_s_out. | |
5166 | |
5167 * MArray2.h (MArray2<T>::resize (int, int)): New function. | |
5168 (MArray2<T>::resize (int, int, const T&)): New function. | |
5169 | |
5170 * MArray.h (MArray<T>::resize (int)): New function. | |
5171 (MArray<T>::resize (int, const T&)): New function. | |
5172 | |
5173 * DASRT.cc (DASRT::integrate): Use resize_and_fill for jroot. | |
5174 | |
5175 * DASPK-opts.in: Use single-arg resize for initial condition | |
5176 heuristics. | |
5177 | |
5178 * dim-vector.h (class dim_vector): Now reference counted. | |
5179 (dim_vector_rep::elem): Use assert to check that index is in bounds. | |
5180 | |
4544 | 5181 2003-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5182 | |
4545 | 5183 * Array.cc (Array<T>::squeeze): Delete redundant retval decl. |
5184 | |
4544 | 5185 * mx-cdm-cm.cc, mx-cdm-cm.h, mx-cdm-cs.cc, mx-cdm-cs.h, |
5186 mx-cdm-dm.cc, mx-cdm-dm.h, mx-cdm-m.cc, mx-cdm-m.h, mx-cdm-s.cc, | |
5187 mx-cdm-s.h, mx-cm-cdm.cc, mx-cm-cdm.h, mx-cm-dm.cc, mx-cm-dm.h, | |
5188 mx-cm-m.cc, mx-cm-m.h, mx-cm-s.cc, mx-cm-s.h, mx-cs-cdm.cc, | |
5189 mx-cs-cdm.h, mx-cs-dm.cc, mx-cs-dm.h, mx-cs-m.cc, mx-cs-m.h, | |
5190 mx-dm-cdm.cc, mx-dm-cdm.h, mx-dm-cm.cc, mx-dm-cm.h, mx-dm-cs.cc, | |
5191 mx-dm-cs.h, mx-dm-m.cc, mx-dm-m.h, mx-dm-s.cc, mx-dm-s.h, | |
5192 mx-m-cdm.cc, mx-m-cdm.h, mx-m-cm.cc, mx-m-cm.h, mx-m-cs.cc, | |
5193 mx-m-cs.h, mx-m-dm.cc, mx-m-dm.h, mx-ops.h, mx-s-cdm.cc, | |
5194 mx-s-cdm.h, mx-s-cm.cc, mx-s-cm.h, mx-s-dm.cc, mx-s-dm.h, | |
5195 vx-ccv-cv.cc, vx-ccv-cv.h, vx-ccv-s.cc, vx-ccv-s.h, vx-crv-rv.cc, | |
5196 vx-crv-rv.h, vx-crv-s.cc, vx-crv-s.h, vx-cs-cv.cc, vx-cs-cv.h, | |
5197 vx-cs-rv.cc, vx-cs-rv.h, vx-cv-ccv.cc, vx-cv-ccv.h, vx-cv-cs.cc, | |
5198 vx-cv-cs.h, vx-rv-crv.cc, vx-rv-crv.h, vx-rv-cs.cc, vx-rv-cs.h, | |
5199 vx-s-ccv.cc, vx-s-ccv.h, vx-s-crv.cc, vx-s-crv.h: Delete. These | |
5200 files are now automatically generated. | |
5201 | |
5202 * Makefile.in ($(VX_OP_INC), $(VX_OP_SRC), $(MX_OP_INC), | |
5203 $(MX_OP_SRC)): Generate lists with new mk-ops.awk script. | |
5204 Add rules to generate these files and mx-ops.h. | |
5205 (stamp-prereq): Depend on these files. | |
5206 | |
5207 * mx-ops, vx-ops, mk-ops.awk: New files. | |
5208 * Makefile.in (DISTFILES): Add them to the list. | |
5209 | |
4543 | 5210 2003-10-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5211 | |
5212 * NDArray.cc (NDArray::NDArray (const boolNDArray), | |
5213 NDArray::NDArray (const charNDArray)): New constructors. | |
5214 (NDArray::operator !): New function. | |
5215 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
5216 NDND_CMP_OPS, NDND_BOOL_OPS. | |
5217 | |
5218 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const NDArray&), | |
5219 ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
5220 ComplexNDArray::ComplexNDArray (const charNDArray&)): | |
5221 New constructors. | |
5222 (ComplexNDArray::operator !): New function. | |
5223 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
5224 NDND_CMP_OPS, NDND_BOOL_OPS. | |
5225 | |
5226 * ArrayN.h (resize (const dim_vector&)): Fix typo. | |
5227 | |
5228 * boolNDArray.cc (boolNDArray::operator !): New function. | |
5229 Provide NDND_CMP_OPS. | |
5230 | |
5231 * MArrayN.cc (operator +=, operator -=): New functions. | |
5232 Provide product and quotient functions. | |
5233 | |
5234 * MArray-misc.cc (gripe_nonconformant (const char *, dim_vector&, | |
5235 dim_vector&)): New function. | |
5236 | |
5237 * dim-vector.h (dim_vector::str, dim_vector::all_zero, | |
5238 operator ==, operator !=): New functions. | |
5239 * ArrayN.cc (operator <<): Use dim_vector::str here. | |
5240 | |
5241 * Array.cc (Array<T>::resize_no_fill, Array<T>::resize_and_fill): | |
5242 No need to save old dimensions. | |
5243 | |
5244 * oct-rand.cc (MAKE_RAND_ND_ARRAY): New macro. | |
5245 (octave_rand::nd_array): New function. | |
5246 * oct-rand.h (octave_rand::nd_array): Provide decl. | |
5247 | |
5248 * mx-op-defs.h (NDCMP_OP_DECL, NDBOOL_OP_DECL, NDS_BIN_OP_DECLS, | |
5249 NDS_BIN_OP, NDS_BIN_OPS, NDS_CMP_OP_DECLS, NDS_CMP_OP, | |
5250 NDS_CMP_OPS, NDS_BOOL_OP_DECLS, NDS_BOOL_OP, NDS_BOOL_OPS, | |
5251 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_BIN_OP, SND_BIN_OPS, | |
5252 SND_CMP_OP_DECLS, SND_CMP_OP, SND_CMP_OPS, SND_BOOL_OP_DECLS, | |
5253 SND_BOOL_OP, SND_BOOL_OPS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
5254 NDND_BIN_OP, NDND_BIN_OPS, NDND_CMP_OP_DECLS, NDND_CMP_OP, | |
5255 NDND_CMP_OPS, NDND_BOOL_OP_DECLS, NDND_BOOL_OP, NDND_BOOL_OPS, | |
5256 NDND_OP_DECLS): New macros. | |
5257 * mx-cm-m.h, mx-cm-s.h, mx-cs-m.h, mx-m-cm.h, mx-m-cs.h, | |
5258 mx-s-cm.h, mx-cm-m.cc, mx-cm-s.cc, mx-cs-m.cc, mx-m-cm.cc, | |
5259 mx-m-cs.cc, mx-s-cm.cc: Use them. | |
5260 | |
5261 * mx-defs.h (class NDArray, class ComplexNDArray, class | |
5262 boolNDArray, class charNDArray): New forward decls. | |
5263 | |
4534 | 5264 2003-10-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5265 | |
5266 * Array.cc (assign2): No error (but don't do anything either) for | |
5267 expressions like x([],j) = scalar. | |
5268 | |
4532 | 5269 2003-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5270 | |
4533 | 5271 * Array.cc (assignN): Allow lhs(:) = scalar. |
5272 | |
4532 | 5273 * CNDArray.cc (ComplexNDArray::increment_index): New function. |
5274 * dNDArray.cc (NDArray::increment_index): Likewise. | |
5275 * boolNDArray.cc (boolNDArray::increment_index): Likewise. | |
5276 * chNDArray.cc (charNDArray::increment_index): Likewise. | |
5277 | |
5278 * dim-vector.h (rows, cols): Delete unused data members. | |
5279 | |
5280 * Array.cc (Array<T>::get_size): Fix thinko. | |
5281 | |
5282 2003-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5283 | |
5284 * Array.cc (Array<T>::squeeze): New function. | |
5285 * CNDArray.h (ComplexNDArray::squeeze): Likewise. | |
5286 * dNDArray.h (NDArray::squeeze): Likewise. | |
5287 * boolNDArray.h (boolNDArray::squeeze): Likewise. | |
5288 * chNDArray.h (charNDArray::squeeze): Likewise. | |
5289 | |
4530 | 5290 2003-10-06 Petter Risholm <risholm@stud.ntnu.no> |
5291 | |
5292 * Array.cc (ArrayN<T>::indexN): New definition. | |
5293 * Array.h (Array<T>::indexN): Provide decl. | |
5294 * Array.cc (ArrayN<T>::index (idx_vector&, int, const T&): | |
5295 Call indexN if more than 2 indices. | |
5296 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): | |
5297 Make it (mostly) work. | |
5298 * ArrayN-inline.h (number_of_elements, get_ra_idx, short_freeze): | |
5299 New functions. | |
5300 | |
4527 | 5301 2003-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5302 | |
5303 * cmd-edit.cc (do_readline): Pass eof to octave_fgetl. | |
5304 * lo-utils.cc (octave_fgets, octave_fgetl): New overloaded | |
5305 versions with eof arg. | |
5306 | |
4518 | 5307 2003-09-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5308 | |
5309 * Array.h (dimensions): Now public. | |
5310 template <class LT, class RT> | |
5311 (assign (Array<LT>&, const Array<RT>&, const LT&), | |
5312 assign1 (Array<LT>&, const Array<RT>&, const LT&), | |
5313 assign2 (Array<LT>&, const Array<RT>&, const LT&), | |
5314 assignN (Array<LT>&, const Array<RT>&, const LT&), | |
5315 resize_no_fill (int), | |
5316 resize_no_fill (int, int), | |
5317 resize_no_fill (int, int, int), | |
5318 resize_no_fill (const dim_vector&), | |
5319 resize_and_fill (int, const T&), | |
5320 resize_and_fill (int, int, const T&), | |
5321 resize_and_fill (int, int, int, const T&), | |
5322 resize_and_fill (const dim_vector&, const T&)): Now public. | |
5323 | |
5324 * Array.cc: Include <climits>. | |
5325 | |
4513 | 5326 2003-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5327 | |
4517 | 5328 * Array.cc: Merge Array-idx.h. |
5329 * Array-idx.h: Delete. | |
5330 | |
4514 | 5331 * chNDArray.h, chNDArray.cc, boolNDArray.h, boolNDArray.cc: New files. |
5332 | |
4513 | 5333 * Array.h, Array-idx.h, Array.cc: Fold all N-d functionality here. |
5334 Turn inheritance hierarchy upside down (2-d and 3-d arrays are now | |
5335 just special cases of the general purpose N-d Array object). | |
5336 | |
5337 * dim-vector.h: New file. Use dim_vector objects instead of | |
5338 ints or Array<int> objects to represent the size of Array | |
5339 objects. | |
5340 | |
5341 * MArray-defs.h (INSTANTIATE_MARRAYN_FRIENDS): New macro. | |
5342 | |
5343 * Array2-idx.h, Array3-idx.h, Array2.cc, Array3.cc: Delete. | |
5344 | |
5345 * mx-base.h: Include NDArray header files. | |
5346 | |
5347 * MArray-C.cc, MArray-d.cc: Also instantiate ArrayN objects. | |
5348 | |
5349 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
5350 Array-s.cc: Also instantiate ArrayN objects. | |
5351 Don't instantiate assign funcitons for Array2 objects. | |
5352 | |
5353 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Signal error with | |
5354 liboctave_error_handler, not cerr. | |
5355 * CMatrix.cc (ComplexMatrix::diag): Likewise. | |
5356 * dDiagMatrix.cc (DiagMatrix::diag): Likewise. | |
5357 * dMatrix.cc (Matrix::diag): Likewise. | |
5358 | |
5359 * Array-flags.cc, Array.cc, Array.h, Array2.h, Array3.h, ArrayN.h: | |
5360 Omit checks for HEAVYWEIGHT_INDEXING. | |
5361 | |
5362 2003-09-12 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5363 | |
5364 * mx-base.h: Include CNDarray.h. Include dNDArray.h, not NDArray.h. | |
5365 | |
5366 * CNDARray.h, CNDArray.cc: New files. | |
5367 * Makefile.in: Add them to the appropriate lists. | |
5368 | |
5369 * dNDArray.h: Rename from NDArray.h. | |
5370 * dNDArray.cc: Rename from NDArray.cc. | |
5371 * Makefile.in: Rename them here too. | |
5372 | |
4507 | 5373 2003-09-10 Petter Risholm <risholm@stud.ntnu.no> |
5374 | |
5375 * mx-base.h: Include NDArray.h, not ArrayN.h. | |
5376 | |
5377 * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. | |
5378 * Makefile.in: Add them to the appropriate lists. | |
5379 | |
5095 | 5380 2003-09-09 David Bateman <dbateman@free.fr> |
4506 | 5381 |
5382 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, | |
5383 biry): Always request scaled results from AMOS functions and | |
5384 perform reverse scaling on results if scaled result not requested | |
5385 by user. | |
5386 | |
5387 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5388 | |
5389 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
5390 | |
4505 | 5391 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5392 | |
5393 * Array-d.cc: Instantiate assign functions. | |
5394 | |
4504 | 5395 2003-09-09 Petter Risholm <risholm@stud.ntnu.no> |
5396 | |
5397 * ArrayN-idx.h (vector_equivalent, equal_arrays): New functions. | |
5398 (get_elt_idx): Index ra_idx correctly. | |
5399 | |
5400 * ArrayN-inline.h (index_in_bounds): Index is also condidered in | |
5401 bounds if it is exactly on the bound. | |
5402 | |
5403 * ArrayN.cc (ArrayN<T>::maybe_delete_dims): New function. | |
5404 * ArrayN.h: Provide decl. | |
5405 | |
5406 * ArrayN.h (ArrayN<T>::ArrayN<T> (const Matrix&)): New constructor. | |
5407 | |
5408 * idx-vector.h (idx_vector::orig_dims): New member variable. | |
5409 (idx_vector::idx_vector_rep::orig_dimensions): New function. | |
5410 (idx_vector::orig_dimensions): New function. | |
5411 | |
4497 | 5412 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5413 | |
5414 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
5415 | |
4496 | 5416 2003-09-04 Petter Risholm <risholm@stud.ntnu.no> |
5417 | |
5418 * ArrayN-idx.h (maybe_delete_elements): Implement function. | |
5419 (is_in, how_many_lgt, all_ones): New functions. | |
5420 | |
4493 | 5421 2003-09-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5422 | |
5423 * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. | |
5424 | |
5425 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> | |
5426 | |
5427 * ArrayN-inline.h: New file. | |
5428 (index_in_bounds, increment_index): Move here. | |
5429 * ArrayN.cc: From here. | |
5430 | |
5431 * ArrayN.h (maybe_delete_elements): New arg, resize_fill_value. | |
5432 * ArrayN-idx.h (assign): New function. | |
5433 | |
4490 | 5434 2003-08-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5435 | |
5436 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, airy, biry): | |
5437 Also zero imaginary part of result if real part of input value is | |
5438 zero. | |
5439 | |
4478 | 5440 2003-07-30 Heine Kolltveit <kolltvei@idi.ntnu.no> |
5441 | |
5442 * mx-base.h: Include ArrayN.h. | |
5443 | |
4476 | 5444 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> |
5445 | |
5446 * ArrayN.cc (operator <<): Corrected output. | |
5447 | |
4474 | 5448 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5449 | |
5450 * ArrayN.cc (increment_index): New arg, start_dimension. | |
5451 | |
5095 | 5452 2003-07-29 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4473 | 5453 |
5454 * ArrayN.cc (operator <<): Improve output readability. | |
5455 | |
4493 | 5456 2003-07-29 Petter Risholm <risholm@stud.ntnu.no> |
4473 | 5457 |
5458 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&, const T&)): | |
5459 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&)): | |
5460 Initialize old_len before changing size. | |
5461 | |
4472 | 5462 2003-07-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5463 | |
5464 * Makefile.in (install-lib): Use $(INSTALL), not | |
4473 | 5465 $(INSTALL_PROGRAM) for $(SHLLIB) files. |
4472 | 5466 |
4469 | 5467 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5468 | |
5469 * lo-mappers.cc (xmin, xmax): Handle NaN in a Matlab-compatible | |
5470 way. Handle NA in an R-compatible way. | |
5471 | |
5472 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Also check for lo_ieee_is_NA. | |
5473 (lo_ieee_is_NA): Don't call isnan unless HAVE_ISNAN is defined. | |
5474 | |
5475 * lo-mappers.h (octave_is_NA (const Complex&)): Provide decl. | |
5476 (octave_is_NaN_or_NA (const Complex&)): Likewise. | |
5477 | |
5478 * dMatrix.cc (Matrix::row_min, Matrix::row_max, | |
5479 Matrix::column_min, Matrix::column_max): Ignore NaNs. | |
5480 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_max, | |
5481 ComplexMatrix::column_min, ComplexMatrix::column_max): Likewise. | |
5482 | |
4461 | 5483 2003-07-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5484 | |
5485 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
5486 Pass true for resize_ok arg to freeze. | |
5487 * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
5488 Likewise. | |
5489 | |
5490 * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; | |
5491 resize_ok arg is now bool. | |
5492 * idx-vector.h (idx_vector::freeze): Likewise. | |
5493 | |
5494 * Array-flags.cc, Array-flags.h (liboctave_wrore_flag): | |
5495 Rename from liboctave_rre_flag. Now bool. | |
5496 (liboctave_wfi_flag): Now bool. | |
5497 | |
5498 * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. | |
5499 | |
5095 | 5500 2003-07-11 Russell Standish <R.Standish@unsw.edu.au> |
4459 | 5501 |
5502 * Array.h (resize_fill_value): Now a top-level template function. | |
5503 Accept object as argument. Change all uses. | |
5504 | |
4455 | 5505 2003-07-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5506 | |
5507 * Array-flags.cc, Array-flags.h (liboctave_pcv_flag): Delete. | |
5508 | |
5509 * Array2-idx.h (Array2<T>::index): Use liboctave_wfi_flag, not | |
5510 liboctave_dfi_flag. | |
5511 (assign): Likewise. For indexed assignments like X(I) = RHS with | |
5512 X undefined or empty, always create a row vector. | |
5513 | |
5514 * Array-flags.cc (liboctave_wfi_flag): Rename from liboctave_dfi_flag. | |
5515 * Array-flags.h (liboctave_wfi_flag): Ditto. | |
5516 | |
4437 | 5517 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5518 | |
5519 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
5520 Magic colon indexing always produces an object with one column. | |
5521 | |
5095 | 5522 2003-06-21 Paul Kienzle <pkienzle@users.sf.net> |
4433 | 5523 |
5524 * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. | |
5525 | |
5526 * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. | |
5527 | |
4431 | 5528 2003-06-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5529 | |
5530 * dMatrix.cc (any_element_is_negative): If new optional arg | |
5531 neg_zero is true, also return true for negative zero. | |
5532 | |
4429 | 5533 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5534 | |
5535 * DASSL.cc (DASSL::do_integrate): Set liw to 21 + n, not 20 + n. | |
5536 Handle step limit. | |
5537 * DASSL-opts.in: New option for step limit. | |
5538 | |
5095 | 5539 2003-06-16 Per Persson <persquare@mac.com> |
4429 | 5540 |
5541 * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. | |
5542 | |
4428 | 5543 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5544 | |
5545 * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. | |
5546 Store step limit in iwork(20), not iwork(18). | |
5547 | |
5095 | 5548 2003-05-16 Paul Kienzle <pkienzle@users.sf.net> |
4415 | 5549 |
5550 * oct-rand.cc: Use liboctave's clock layer instead of the system clock. | |
5551 | |
4412 | 5552 2003-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5553 | |
4413 | 5554 * Makefile.in: Handle DESTDIR. |
5555 | |
4412 | 5556 * kpse.cc (kpse_path_iterator::next): Skip consecutive colons here. |
5557 (kpse_path_iterator::set_end): Don't miss last element when not | |
5558 followed by a colon. | |
5559 | |
4409 | 5560 2003-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5561 | |
5562 * Array-idx.h (Array<T>::index): Fix off-by-one error. | |
5563 | |
5564 2003-05-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5565 | |
5566 * kpse.cc (kpse_absolute_p): Fix typo in translation. | |
5567 (find_first_of): Also do an absolute search on each | |
5568 name before looking in the path. | |
5569 | |
4407 | 5570 2003-05-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5571 | |
5572 * kpse.cc (dir_list_add): Ensure that directory ends with a | |
5573 directory separator. | |
5574 | |
4399 | 5575 2003-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5576 | |
5577 * pathsearch.cc: Include kpse.cc here. | |
5578 | |
5579 * kpse.cc: All functions are now static. Massive surgery to | |
5580 condense kpathsearch library to a single file of just the | |
5581 essentials for Octave and convert to using C++ strings (no more | |
5582 calls to malloc, very few calls to new, so there should be much | |
5583 less potential for introducing memory leaks now). | |
5584 | |
5585 * Makefile.in (EXTRAS): Move kpse.cc here from | |
5586 LIBOCT_PATHSEARCH_CXX_SOURCES. | |
5587 | |
5588 * kpse.h, kpse-config.h: Delete. | |
5589 * Makefile.in (INCLUDES): Delete them from the list. | |
5590 | |
4392 | 5591 2003-04-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
5592 | |
5593 * str-vec.cc (string_vector::append (const std::string&), | |
5594 string_vector::append (const string_vector&)): New methods. | |
5595 | |
4386 | 5596 2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5597 | |
4389 | 5598 * kpse.cc, kpse.h: Replace fn_type with std::string. |
5599 | |
4387 | 5600 * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. |
5601 | |
4386 | 5602 * kpse.cc (xclosedir): Don't define or declare for Windows. |
5603 (READABLE): Now a static function to avoid warnings from MinGW | |
5604 compiler. | |
5605 | |
4384 | 5606 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5607 | |
4385 | 5608 * kpse.cc: Move most functions from kpse-xfns.c here and make |
5609 static. Include most of kpse-xfns.h directly, removing | |
5610 unnecessary bits. | |
5611 | |
4384 | 5612 * dMatrix.cc (Matrix::pseudo_inverse): Now const. |
5613 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
5614 | |
4378 | 5615 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5616 | |
5617 * getopt.c, getopt1.c, getopt.h: Move here from kpathsea. | |
5618 * Makefile.in: Add them to the appropriates lists. | |
5619 | |
5620 * oct-getopt.c: Include "getopt.h", not <kpathsea/getopt.h>. | |
5621 | |
5622 * Makefile.in (liboctave.$(LIBEXT), liboctave.$(SHLEXT)): Adjust | |
5623 for new locations of kpathsea objects. | |
5624 Delete kpathsea targets. | |
5625 | |
5626 * pathsearch.cc (dir_path::set_program_name): Delete. | |
5627 | |
5628 * kpse.cc: New file. | |
5629 * Makefile.in (LIBOCT_PATHSEARCH_CXX_SOURCES): Add it to the list. | |
5630 | |
5631 * kpse.c: New file. | |
5632 * Makefile.in (LIBOCT_PATHSEARCH_C_SOURCES): Add it to the list. | |
5633 | |
5634 * kpse.h, kpse-config.h, kpse-xfns.h: New files. | |
5635 * Makefile.in (INCLUDES): Add them to the list. | |
5636 | |
5637 * oct-kpse.h: Delete. | |
5638 * Makefile.in (INCLUDES): Delete it from the list. | |
5639 | |
4374 | 5640 2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
5641 | |
5642 * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. | |
5643 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): | |
5644 Likewise. | |
5645 From Quentin H. Spencer <qspencer@ieee.org>. | |
5646 | |
4365 | 5647 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5648 | |
5649 * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h". | |
5650 | |
4349 | 5651 2003-02-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
5652 | |
4352 | 5653 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Handle systems with or |
5654 without placement delete. | |
5655 | |
4349 | 5656 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Don't lose -0 |
5657 imaginary parts. | |
5658 | |
5659 * lo-ieee.h (lo_ieee_signbit): New macro. | |
5660 | |
5095 | 5661 2003-02-18 David Bateman <dbateman@free.fr> |
4329 | 5662 |
5663 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
5664 Use Lapack instead of Linpack. | |
5315 | 5665 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
4329 | 5666 ComplexMatrix::solve): Likewise. |
5667 | |
5668 * dMatrix.cc (Matrix::determinant, Matrix::inverse): New arg, | |
5669 calc_cond. If 0, skip condition number calculation. | |
5670 * CMatrix.cc (ComplexMatrix::determinant, ComplexMatrix::inverse): | |
5671 Likewise. | |
5672 | |
5673 * CmplxLU.cc (ComplexLU::ComplexLU): Allow non-square matrices. | |
5674 * dbleLU.cc (LU::LU): Likewise. | |
5675 * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. | |
5676 | |
5677 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5678 | |
5679 * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: | |
5680 | |
4323 | 5681 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5682 | |
5683 * Array2-idx.h (Array2<T>::index): Fix thinko. | |
5684 Additional compatibility fix. | |
5685 | |
5686 2003-02-13 Arno Klaassen <arno@scito.com> | |
5687 | |
5688 * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
5689 ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: | |
5690 Sprinkle with Array<T>:: as necessary for gcc 3.4. | |
5691 | |
4322 | 5692 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
5693 | |
5694 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
5695 Compatibility fix. | |
5696 | |
4316 | 5697 2003-02-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5698 | |
5699 * CColVector.cc (ComplexColumnVector::extract_n): New function. | |
5700 * CRowVector.cc (ComplexRowVector::extract_n): Likewise. | |
5701 * CMatrix.cc (ComplexMatrix::extract_n): Likewise. | |
5702 * dColVector.cc (ColumnVector::extract_n): Likewise. | |
5703 * dRowVector.cc (RowVector::extract_n): Likewise. | |
5704 * dMatrix.cc (Matrix::extract_n): Likewise. | |
5705 | |
5706 * CColVector.cc (ComplexColumnVector::insert): Improve efficiency | |
5707 with make_unique and xelem. | |
5708 * CRowVector.cc (ComplexRowVector::insert): Likewise. | |
5709 * CMatrix.cc (ComplexMatrix::insert, ComplexMatrix::fill, | |
5710 ComplexMatrix::extract, ComplexMatrix::row, | |
5711 ComplexMatrix::column): Likewise. | |
5712 * dColVector.cc (ColumnVector::insert): Likewise. | |
5713 * dRowVector.cc (RowVector::insert): Likewise. | |
5714 * dMatrix.cc (Matrix::insert, Matrix::fill, Matrix::extract, | |
5715 Matrix::row, Matrix::column): Likewise. | |
5716 | |
4313 | 5717 2003-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5718 | |
5719 * lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN. | |
5720 | |
4309 | 5721 2003-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5722 | |
5723 * CMatrix.cc, dMatrix.cc: Move min and max functions here, from | |
5724 src/DLD-FUNCTIONS/minmax.cc, and make them extern. | |
5725 * CMatrix.h, dMatrix.h: Provide decls. | |
5726 | |
4307 | 5727 2003-01-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5728 | |
5729 * oct-rand.h, oct-rand.cc: New files. | |
5730 * Makefile.in: Add them to the appropriate lists. | |
5731 | |
4306 | 5732 2003-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5733 | |
5734 * Array2-idx.h (Array2<T>::index): Fix off-by-one error. | |
5735 | |
4299 | 5736 2003-01-16 Mumit Khan <khan@nanotech.wisc.edu> |
5737 | |
5738 * oct-syscalls.cc: Include signal.h. | |
5739 | |
4294 | 5740 2003-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5741 | |
5742 * oct-syscalls.cc (octave_syscalls::kill): New function. | |
5743 * oct-syscalls.h: Provide decl. | |
5744 | |
5745 | |
4293 | 5746 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5747 | |
5748 * dMatrix.cc (Matrix::read): Set size and return immediately if | |
5749 there is nothing to read. | |
5750 | |
4290 | 5751 2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
5752 | |
5753 * lo-cutils.c: Define _XOPEN_SOURCE. | |
5754 | |
4286 | 5755 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5756 | |
4288 | 5757 * getopt.h: Update to version from kpathsearch, so we will install |
5758 the version that we are using. | |
5759 | |
5760 * getopt.c, getopt1.c: Delete. | |
5761 (INCLUDES): Delete them from the list. We'll get these files from | |
5762 kpathsearch. | |
5763 | |
4286 | 5764 * Makefile.in (liboctave.$(LIBEXT)): Link directly to |
5765 ../kpathsea/STATIC/*.o. | |
5766 (liboctave.$(SHLEXT)): Link directly to ../kpathsea/SHARED/*.o. | |
5767 | |
4270 | 5768 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5769 | |
4282 | 5770 * dMatrix.cc (read_int, write_int): Avoid warnings about |
5771 unreachable code. | |
5772 | |
4279 | 5773 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete |
5774 to correspond to placement new operator. | |
5775 | |
4278 | 5776 * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. |
5777 (DET::value_will_underflow): Likewise. | |
5778 * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. | |
5779 (ComplexDET::value_will_underflow): Likewise. | |
5780 | |
4276 | 5781 * Makefile.in (distclean): Also remove stamp-prereq. |
5782 | |
4306 | 5783 * Array2-idx.h (Array2<T>::assign): If assignment conforms but the |
5784 RHS and index are empty matrices, don't do anything. | |
4270 | 5785 |
4242 | 5786 2002-12-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
5787 | |
5788 * pathsearch.cc (make_retval, free_c_array, make_c_names, | |
5789 delete_c_names): New helper functions. | |
5790 (dir_path::find_first_of): New function. | |
5791 (dir_path::find_all_first_of): Likewise. | |
5792 * pathsearch.h: Provide decls. | |
5793 | |
5794 * oct-kpse.c (octave_kpse_path_find_first_of): New function. | |
5795 (octave_kpse_all_path_find_first_of): Likewise. | |
5796 * oct-kpse.h: Provide decls. | |
5797 | |
4231 | 5798 2002-12-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5799 | |
5800 * ODESSA.cc (ODESSA::integrate): Handle maxord. | |
5801 * ODESSA-opts.in: Likewise. | |
5802 | |
5803 * LSODE.cc (ODESSA::integrate): Handle maxord. | |
5804 * LSODE-opts.in: Likewise. | |
5805 | |
4229 | 5806 2002-12-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5807 | |
4230 | 5808 * ODESSA.cc (ODESSA::ODESSA): Initialize "initialized" data member |
5809 in all constructors. | |
5810 | |
4229 | 5811 * Makefile.in (liboctave.$(SHLEXT)): Include $(LIBKPATHSEA) here. |
5812 (LINK_DEPS): Not here. | |
5813 | |
4219 | 5814 2002-12-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5815 | |
4220 | 5816 * str-vec.cc (string_vector::compare): New static member function. |
5817 * str-vec.h: Provide decl. | |
5818 (string_vector::sort): Use it. | |
5819 (str_vec_compare): Delete static function. | |
5820 | |
4219 | 5821 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Also declare and define |
5822 a placement operator new. | |
5823 | |
4209 | 5824 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5825 | |
4210 | 5826 * Matrix.h: Include mx-ops.h too. |
4209 | 5827 * mx-ops.h: New file. |
5828 | |
4192 | 5829 2002-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5830 | |
5831 * DASRT.cc, DASRT.h, Array.cc, ArrayN.h, Array.h, Array2.cc, | |
5832 Array2.h, Array3.cc, Array3.h, Bounds.cc, Bounds.h, CRowVector.h, | |
5833 CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, CMatrix.h, | |
5834 CRowVector.cc, CColVector.h, ChangeLog, CmplxAEPBAL.cc, | |
5835 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
5836 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
5837 CmplxQR.h, CmplxQRP.cc, ArrayN.cc, CmplxQRP.h, CmplxSCHUR.cc, | |
5838 CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, dMatrix.cc, | |
5839 CollocWt.h, EIG.h, DASSL.cc, FEGrid.h, DASSL.h, DiagArray2.cc, | |
5840 DiagArray2.h, EIG.cc, FEGrid.cc, LSODE.cc, LPsolve.cc, LPsolve.h, | |
5841 LSODE.h, LinConst.cc, LinConst.h, MArray.h, MArray.cc, MArray2.cc, | |
5842 MArray2.h, MDiagArray2.cc, MDiagArray2.h, Range.cc, NLConst.h, | |
5843 NLEqn.cc, Range.h, NLEqn.h, Quad.cc, dbleQR.h, Quad.h, base-lu.cc, | |
5844 base-lu.h, boolMatrix.cc, boolMatrix.h, dColVector.cc, | |
5845 dColVector.h, dDiagMatrix.cc, dDiagMatrix.h, dMatrix.h, | |
5846 dRowVector.cc, dRowVector.h, dbleAEPBAL.cc, dbleAEPBAL.h, | |
5847 dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, dbleDET.h, dbleHESS.cc, | |
5848 dbleHESS.h, dbleLU.cc, dbleLU.h, dbleQR.cc, dbleQRP.cc, dbleQRP.h, | |
5849 dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, | |
5850 idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, | |
5851 ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: | |
5852 Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of | |
5853 "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". | |
5854 | |
4184 | 5855 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5856 | |
5857 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_GLOBAL too. | |
5858 From Remy Bruno <remy.bruno@libertysurf.fr> | |
5859 | |
4180 | 5860 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5861 | |
5862 * lo-specfun.cc: Use F77_FUNC instead of F77_XFCN for calls to | |
5863 fortran code that should run fast enough that it is not worth all | |
5864 the setup costs of F77_XFCN. | |
5865 | |
5866 * Quad.cc (user_function): Surround body of function with | |
5867 BEGIN_INTERRUPT_WITH_EXCEPTIONS, END_INTERRUPT_WITH_EXCEPTIONS. | |
5868 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Likewise. | |
5869 * NLEqn.cc (hybrd1_fcn, hybrj1_fcn): Likewise. | |
5870 * LSODE.cc (lsode_f, lsode_j): Likewise. | |
5871 * DASSL.cc (ddassl_f, ddassl_j): Likewise. | |
5872 * DASRT.cc (ddasrt_f, ddasrt_j, ddasrt_g): Likewise. | |
5873 * DASPK.cc (ddaspk_f, ddaspk_psol, ddaspk_j): Likewise. | |
5874 | |
4164 | 5875 2002-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5876 | |
5877 * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead | |
5878 of ! defined (linux). | |
5879 | |
5095 | 5880 2002-11-09 Per Persson <persquare@mac.com> |
4162 | 5881 |
5882 * oct-shlib.cc (octave_dyld_shlib): New class. | |
5883 (make_shlib): Instantiate octave_dyld_shlib. | |
5884 | |
4152 | 5885 2002-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5886 | |
4153 | 5887 * CMatrix.cc, dMatrix.cc: Sprinkle with OCTAVE_QUIT. |
5888 | |
4152 | 5889 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Abort on error. |
5890 | |
5891 * Array.h: Include <cstddef> here. | |
5892 | |
4142 | 5893 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
5894 | |
4144 | 5895 * DASPK.cc (DASPK::do_integrate): Resize rwork and iwork before |
5896 using them. Accept inequality contraint option of 0. Assign | |
5897 pabs_tol and prel_tol before calling DASPK. Don't redeclare | |
5898 abs_tol and rel_tol. | |
5899 | |
4143 | 5900 * cmd-edit.h (command_editor::filename_completion_desired): New |
5901 static function. | |
5902 (command_editor::do_filename_completion_desired): New virtual function. | |
5903 * oct-rl-edit.c (octave_rl_filename_completion_desired): New function. | |
5904 * oct-rl-edit.h: Provide decl. | |
5905 | |
4142 | 5906 * Array2.cc (Array2<T>::get_size): #define MALLOC_OVERHEAD to |
5907 avoid OS X linker bug. | |
5908 * ArrayN.cc (ArrayN<T>::get_size): Likewise. | |
5909 | |
4139 | 5910 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
5911 | |
4141 | 5912 * ODESFunc.h (ODESFunc::ODES_fsub, ODESFunc::ODES_bsub, |
5913 ODESFunc::ODES_jsub): Reorder args for consistency with other | |
5914 solvers. | |
5915 * ODESSA.cc: Fix all callers. | |
5916 | |
4139 | 5917 * mx-inlines.cc (MX_BASE_REDUCTION_OP): Also return scalar |
5918 MT_RESULT if nr == 1 && nc == 0 && dim == -1 (i.e., | |
5919 sum(zeros(1,0)) returns 0, not [](1x0)). | |
5920 | |
4136 | 5921 2002-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5922 | |
5923 * Makefile.in (LINK_DEPS): Include $(FLIBS) here too. | |
5924 | |
4132 | 5925 2002-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5926 | |
4133 | 5927 * DASRT.cc (DASRT::integrate): Fix computation of lrw |
5928 (ddasrt_f): Combine loops. | |
5929 | |
4132 | 5930 * NLEqn.cc (NLEqn::solve): Return current estimate of solution |
5931 instead of empty vector if user termninates iteration. | |
5932 | |
4130 | 5933 2002-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5934 | |
5935 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
5936 octave_read_complex, octave_write_double, octave_write_complex): | |
5937 New functions. | |
5938 * CMatrix.cc (operator << (std::ostream&, const ComplexMatrix&)): | |
5939 Use octave_write_complex. | |
5940 (operator >> (std::istream&, const ComplexMatrix&)): | |
5941 Use octave_read_complex. | |
5942 * dMatrix.cc (operator << (std::ostream&, double)): | |
5943 Use octave_write_double. | |
5944 (operator >> (std::istream&, double)): Use octave_read_double. | |
5945 | |
4126 | 5946 2002-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5947 | |
5948 * oct-kpse.c (octave_kpse_clear_dir_cache): Delete. | |
5949 * oct-kpse.h: Delete decl. | |
5950 * pathsearch.cc (dir_path::init): Delete unnecessary call to | |
5951 ::octave_kpse_clear_dir_cache. | |
5952 | |
4123 | 5953 2002-10-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5954 | |
4124 | 5955 * lo-sstream.h: Undef HAVE_SSTREAM if using a version of g++ |
5956 earlier than 3.0. | |
5957 | |
4123 | 5958 * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. |
5959 (liboctave.$(SHLEXT)): Not here. | |
5960 | |
5095 | 5961 2002-10-17 Paul Kienzle <pkienzle@users.sf.net> |
4110 | 5962 |
5963 * oct-shlib.cc (octave_w32_shlib): New class to support Windows. | |
5964 | |
4108 | 5965 2002-10-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5966 | |
5967 * Makefile.in (install-lib): Don't bother with versions for | |
5968 $(SHLBIN) files. | |
5969 | |
5095 | 5970 2002-10-16 Paul Kienzle <pkienzle@users.sf.net> |
4105 | 5971 |
5972 * Makefile.in (LIB_DEPS): Include $(LIBS). | |
5973 | |
4102 | 5974 2002-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5975 | |
5976 * lo-cieee.c: Move everything but lo_ieee_init here. | |
5977 (lo_ieee_Inf_value, lo_ieee_NA_value, lo_ieee_NaN_value): | |
5978 New functions. | |
5979 | |
5980 * Makefile.in (install): No need to use cd to create links. | |
5981 (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. | |
5982 | |
5095 | 5983 2002-10-14 Paul Kienzle <pkienzle@users.sf.net> |
4102 | 5984 |
5985 * Makefile.in: Merge liboctave with liboct-readline and | |
5986 liboct-pathsearch. | |
5987 Use link dependencies for shared libs if INCLUDE_LINK_DEPS. | |
5988 (libraries): Depend on versioned library. | |
5989 (liboctave.$(SHLEXT), liboctave.$(SHLEXT_VER)): Reverse actions -- | |
5990 build unversioned library, symbolic link adds version info. | |
5991 (install, uninstall): Handle link and load forms of the library | |
5992 separately. | |
5993 | |
4101 | 5994 2002-10-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5995 | |
5996 * oct-time.cc: Use OCTAVE_USE_WINDOWS_API instead of __WIN32__ and | |
5997 __CYGWIN__. | |
5998 | |
5999 * file-ops.cc (file_ops::dir_sep_char, file_ops::dir_sep_str, | |
6000 file_ops::dir_sep_chars): New static functions to replace | |
6001 OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS. | |
6002 | |
6003 * oct-env.cc (octave_env::do_set_program_name): | |
6004 Use file_ops::dir_sep_chars instead of OCTAVE_DIR_SEP_CHARS. | |
6005 (octave_env::do_base_pathname): Likewise. | |
6006 (octave_env::do_make_absolute): Likewise. | |
6007 | |
6008 * oct-env.cc (octave_env::do_make_absolute): | |
6009 Use file_ops::dir_sep_str instead of OCTAVE_DIR_SEP_STR. | |
6010 (octave_env::do_get_home_directory): Likewise. | |
6011 | |
6012 * file-ops.cc (is_dir_sep): Use dir_sep_chars instead of embedding | |
6013 that information here too. | |
6014 (tilde_find_suffix, isolate_tilde_prefix, tilde_expand_word): | |
6015 Use file_ops::dir_sep_char instead of OCTAVE_DIR_SEP_CHAR. | |
6016 | |
6017 * file-ops.h: Use OCTAVE_HAVE_WINDOWS_FILESYSTEM and | |
6018 OCTAVE_HAVE_POSIX_FILESYSTEM instead of __WIN32__ and __CYGWIN__. | |
6019 | |
4097 | 6020 2002-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
6021 | |
6022 * oct-env.h (octave_env::current_directory): Now mutable. | |
6023 (octave_env:do_getcwd): Now const. | |
6024 | |
6025 * file-ops.h, file-ops.cc (file_ops::is_dir_sep): New function. | |
6026 (OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS, | |
6027 OCTAVE_CURRENT_DIR_STR): New macros. | |
6028 * oct-env.cc (is_dir_sep): Delete. | |
6029 (octave_env::do_base_pathname): Look for OCTAVE_DIR_SEP_CHARS, not '/'. | |
6030 (octave_env::do_set_program_name): Likewise. | |
6031 (octave_env::do_polite_directory_format): Use file_ops::is_dir_sep | |
6032 instead of checking for '/'. | |
6033 (octave_env::pathname_backup): Likewise. | |
6034 (octave_env::do_absolute_pathname): Likewise. | |
6035 (octave_env::do_make_absolute): Likewise. | |
6036 If dot_path is empty, use getcwd to set current_dir. | |
6037 (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR | |
6038 instead of "/". | |
6039 | |
5095 | 6040 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 6041 |
6042 * lo-cutils.c: On non-Posix Windows systems, include winsock.h. | |
6043 | |
5095 | 6044 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 6045 |
6046 * oct-env.cc (octave_env::do_absolute_pathname): Recognize | |
6047 absolute path names under MinGW as well. | |
6048 | |
6049 2002-10-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6050 | |
6051 * oct-env.cc: Include <cctype> too. | |
6052 | |
4087 | 6053 2002-10-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
6054 | |
6055 * oct-env.cc (octave_env::do_absolute_pathname): Handle Windows | |
6056 filenames. | |
6057 (octave_env::do_make_absolute): Check for absolute name with | |
6058 do_absolute_path. | |
4088 | 6059 (octave_env::do_chdir): Likewise. |
6060 (is_dir_sep): New function. | |
4087 | 6061 |
5095 | 6062 2002-10-03 Paul Kienzle <pkienzle@users.sf.net> |
4085 | 6063 |
4086 | 6064 * oct-time.cc (octave_time::stamp): Better resolution for Windows |
6065 systems. | |
4085 | 6066 |
4083 | 6067 2002-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6068 | |
6069 * dMatrix.cc (Matrix::read): Clean up error handling logic. | |
6070 | |
4080 | 6071 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6072 | |
4081 | 6073 * file-ops.cc (file_ops::mkdir): Handle one-arg mkdir here. |
6074 | |
4080 | 6075 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
6076 | |
5095 | 6077 2002-09-27 Per Persson <persquare@mac.com> |
4076 | 6078 |
6079 * oct-group.cc (octave_group::octave_group): Dont' forget to set | |
6080 gr_gid too. | |
6081 | |
4072 | 6082 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
6083 | |
4074 | 6084 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
6085 lo_ieee_* functions. | |
4072 | 6086 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074 | 6087 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
6088 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. | |
4072 | 6089 * lo-cieee.c: New file. |
4074 | 6090 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072 | 6091 * lo-ieee.h: Now all extern "C". |
4074 | 6092 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
6093 lo-mappers.cc and rename from xisnan, xfinite, xisinf. | |
6094 | |
4072 | 6095 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
6096 Now extern. | |
6097 | |
4066 | 6098 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6099 | |
6100 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
6101 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
6102 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
6103 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
6104 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
6105 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
6106 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
6107 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
6108 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
6109 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
6110 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
6111 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
6112 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
6113 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
6114 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
6115 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
6116 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
6117 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
6118 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
6119 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
6120 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
6121 oct-alloc.cc: | |
6122 If __GNUG__, use pragma interface/implementation. Allow this to | |
6123 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. | |
6124 | |
5095 | 6125 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
4064 | 6126 |
4066 | 6127 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
6128 system readlink function is not available. | |
6129 | |
4065 | 6130 * lo-mappers.cc (xerf, xerfc): Delete. |
6131 * lo-mappers.h (xerf, xerfc): Delete decls. | |
6132 | |
4064 | 6133 * lo-mappers.cc: Remove unused #define M_PI. |
6134 * lo-specfun.cc: Add #define M_PI if needed. | |
6135 | |
4062 | 6136 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6137 | |
6138 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility | |
6139 that geteuid doesn't exist. | |
6140 | |
6141 * LP.h: Rename LP class to octave_LP. | |
6142 LPsolve.h: Change all uses. | |
6143 | |
6144 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove | |
6145 incorrect token-pasting op. | |
6146 | |
6147 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to | |
6148 define lstat. | |
6149 | |
4061 | 6150 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
6151 | |
6152 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
6153 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
6154 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
6155 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
6156 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
6157 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
6158 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
6159 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
6160 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
6161 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
6162 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
6163 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
6164 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
6165 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
6166 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
6167 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
6168 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
6169 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
6170 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
6171 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
6172 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
6173 oct-alloc.cc: | |
6174 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ | |
6175 to decide whether to use the interface/implementation pragmas. | |
6176 | |
4058 | 6177 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6178 | |
6179 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. | |
6180 | |
4055 | 6181 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
6182 | |
6183 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use | |
6184 qualified names. | |
6185 | |
4051 | 6186 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6187 | |
4054 | 6188 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
6189 ArrayN.cc: Add typename where needed. | |
4053 | 6190 |
4051 | 6191 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
6192 strstream classes directly. | |
6193 * DASRT.cc: Likewise. | |
6194 * DASSL.cc: Likewise. | |
6195 * LSODE.cc: Likewise. | |
6196 * ODESSA.cc: Likewise. | |
6197 | |
6198 * cmd-hist.cc: Don't include <strstream>. | |
6199 * oct-shlib.cc: Likewise. | |
6200 | |
6201 * lo-sstream.h: New file. | |
6202 | |
4049 | 6203 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6204 | |
6205 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): | |
6206 New data members. | |
6207 (LSODE::sanity_checked): Delete unused data member. | |
6208 | |
6209 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, | |
6210 prel_tol, pinfo, piwork, prwork): New data members. | |
6211 * DASSL.h (DASSL): Likewise. | |
6212 | |
6213 * DASRT.h (DASRT::sanity_checked): Delete unused data member. | |
6214 | |
6215 * DASRT.cc (DASRT::integrate (double)): Better handling of | |
6216 initialization, changes in options, etc. | |
6217 * DASPK.cc (DASPK::do_integrate): Likewise. | |
6218 * DASSL.cc (DASSL::do_integrate): Likewise. | |
6219 * LSODE.cc (LSODE::do_integrate): Likewise. | |
6220 | |
4047 | 6221 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
6222 | |
4049 | 6223 * DAEFunc.h (DAEFunc::reset): New data member. |
6224 * DAERTFunc.h (DAERTFunc::reset): Likewise. | |
6225 | |
6226 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. | |
6227 (base_diff_eqn::clear_stop_time): Likewise. | |
6228 | |
4047 | 6229 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
6230 * DASPK.cc (DASPK::do_integrate (double)): Likewise. | |
6231 | |
5095 | 6232 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
4044 | 6233 |
6234 * DASPK-opts.in, DASPK.h: Move include to .in file. | |
6235 * DASRT-opts.in, DASRT.h: Likewise. | |
6236 * DASSL-opts.in, DASSL.h: Likewise. | |
6237 * LSODE-opts.in, LSODE.h: Likewise. | |
6238 * NLEqn-opts.in, NLEqn.h: Likewise. | |
6239 * ODESSA-opts.in, ODESSA.h: Likewise. | |
6240 | |
4038 | 6241 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6242 | |
4042 | 6243 * LSODE.cc (LSODE::error_message): Also return current T on |
6244 failures when that makes sense. | |
4043 | 6245 * DASSL.cc (DASSL::error_message): Likewise. |
6246 * DASRT.cc (DASRT::error_message): Likewise. | |
6247 * DASPK.cc (DASPK::error_message): Likewise. | |
6248 * ODESSA.cc (ODESSA:error_message): Likewise. | |
4042 | 6249 |
4038 | 6250 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
6251 $(LIBKPATHSEA) here. | |
6252 | |
4025 | 6253 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6254 | |
6255 * lo-ieee.cc (lo_ieee_is_NA): New function. | |
6256 (lo_ieee_is_NaN_or_NA): New function. | |
6257 (octave_NA): New global value. | |
6258 (octave_ieee_init): Initialize it. | |
6259 * lo-mappers.cc (octave_is_NA): New function. | |
6260 (octave_is_NaN_or_NA): New function. | |
6261 (xisnan): Return false if NaN looks like a missing value. | |
6262 (xisnan (const Complex&)): Use xisnan here. | |
6263 | |
4015 | 6264 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6265 | |
4017 | 6266 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
6267 ComplexMatrix::cumprod, ComplexMatrix::cumsum, | |
6268 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): | |
6269 Default value for dim is -1, not 0. | |
6270 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, | |
6271 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. | |
6272 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. | |
6273 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. | |
6274 | |
4015 | 6275 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
6276 New macros. | |
6277 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and | |
6278 MX_BASE_REDUCTION_OP. | |
6279 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. | |
6280 | |
4014 | 6281 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6282 | |
4015 | 6283 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
6284 Return boolMatrix, not Matrix. | |
6285 | |
6286 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. | |
6287 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. | |
6288 (Matrix::all): Replace guts with MX_ALL_OP. | |
6289 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. | |
6290 (ComplexMatrix::all): Replace guts with MX_ALL_OP. | |
6291 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. | |
6292 (boolMatrix::all): Replace guts with MX_ALL_OP. | |
6293 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. | |
6294 (charMatrix::all): Replace guts with MX_ALL_OP. | |
6295 | |
6296 * dMatrix.h (Matrix::any): New arg, dim. | |
6297 (Matrix::all): Likewise. | |
6298 * CMatrix.h (ComplexMatrix::any): Likewise. | |
6299 (ComplexMatrix::all): Likewise. | |
6300 * boolMatrix.h (boolMatrix::any): Likewise. | |
6301 (boolMatrix::all): Likewise. | |
6302 * chMatrix.h (charMatrix::any): Likewise. | |
6303 (charMatrix::all): Likewise. | |
6304 | |
4014 | 6305 * Makefile.in: Use $@-t instead of $@.t. |
6306 | |
4004 | 6307 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6308 | |
6309 * lo-specfun.cc (gammainc): New arg, err, for scalar version. | |
6310 Use it in matrix versions to avoid spewing multiple errors. | |
6311 Call xgammainc instead of dgamit. | |
6312 | |
3998 | 6313 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6314 | |
6315 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): | |
6316 Get rows and columns right in loop. | |
6317 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. | |
6318 | |
6319 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6320 | |
6321 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. | |
6322 * DASRT.cc (DASRT::integrate): Likewise. | |
6323 * DASSL.cc (DASSL::do_integrate): Likewise. | |
6324 | |
6325 * Quad.cc: Don't pass tolerances in constructors. | |
6326 | |
6327 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, | |
6328 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. | |
6329 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, | |
6330 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically | |
6331 from corresponding .in files. | |
6332 * LSODE.h, Quad.h: Replace options class definitions with included | |
6333 file. | |
6334 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to | |
6335 create OPTS_INC files from OPTS_INC_SRC files. | |
6336 (stamp-prereq): New target. | |
6337 (libraries): Depend on stamp-prereq. | |
6338 Include stamp-prereq along with $(MAKEDEPS). | |
6339 | |
3997 | 6340 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6341 | |
6342 * base-de.h (base_diff_eqn::istate): New data member. | |
6343 (base_diff_eqn::integration_state): New member function. | |
6344 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding | |
6345 data members and functions. | |
6346 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. | |
6347 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. | |
6348 | |
3990 | 6349 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6350 | |
3995 | 6351 * base-de.h (base_diff_eqn::stop_time, |
6352 base_diff_eqn::stop_time_set, base_diff_eqn::restart, | |
6353 base_diff_eqn::integration_error): New data members. | |
6354 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, | |
6355 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, | |
6356 base_diff_eqn::error_message): New member functions. | |
6357 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, | |
6358 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data | |
6359 members and functions. | |
6360 | |
3992 | 6361 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
6362 * DASRT.cc (DASRT::DASRT): Set ng here. | |
3993 | 6363 (DASRT::integrate): Don't forget to set nn. |
3992 | 6364 |
3991 | 6365 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
6366 * DASSL.cc (ddassl_j): Make it work. | |
6367 * DASPK.cc (ddaspk_j): Likewise. | |
6368 | |
3990 | 6369 * DAE.cc: Delete. |
6370 | |
6371 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE | |
6372 solving with root finding. | |
6373 * Makefile.in: Add them to the appropriate lists. | |
6374 | |
6375 * base-dae.h: New file. | |
6376 * Makefile.in (INCLUDES): Add it to the list. | |
6377 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. | |
6378 | |
3984 | 6379 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6380 | |
6381 * ODE.h: Move integrate and do_integrate method declarations and | |
6382 definitions here. | |
6383 * base-de.h: From here. | |
6384 | |
6385 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. | |
6386 * Makefile.in: Add them to the appropriate lists. | |
6387 (LIBOCTAVE_CXX_SOURCES): | |
6388 | |
3971 | 6389 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6390 | |
6391 * NLEqn.cc (NLEqn::error_message): New function. | |
6392 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. | |
6393 | |
3970 | 6394 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6395 | |
6396 * lo-utils.cc (octave_fgetl): New function. | |
6397 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. | |
6398 | |
3959 | 6399 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
6400 | |
6401 * LSODE.cc (LSODE::error_message): New function. | |
6402 * LSODE.h: Provide decl. | |
6403 (LSODE::integration_state): New function. | |
6404 (LSODE::integration_ok): New function. | |
6405 | |
3952 | 6406 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6407 | |
3955 | 6408 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
6409 (LSODE_options::set_integration_method, | |
6410 LSODE_options::integration_method): New functions. | |
3954 | 6411 |
3952 | 6412 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
6413 Change all uses. | |
6414 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. | |
6415 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): | |
6416 New function. | |
6417 | |
6418 * Array.h (Array::fortran_vec): New const version. | |
6419 | |
3951 | 6420 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6421 | |
6422 * cmd-edit.cc (gnu_readline::history_search_backward): New function. | |
6423 (gnu_readline::history_search_forward): Likewise. | |
6424 (gnu_readline::gnu_readline): Use them instead of passing pointers | |
6425 to extern "C" functions to octave_rl_ad_defun. | |
6426 | |
5095 | 6427 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
3946 | 6428 |
6429 * DASPK.cc (ddaspk_psol): Return value. | |
6430 * oct-rl-edit.c: Use /* ... */ to comment. | |
6431 | |
3945 | 6432 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6433 | |
6434 * DASSL.h (DASSL_options::init): Undo previous change. | |
6435 (DASSL_options::set_absolute_tolerance): Likewise. | |
6436 * LSODE.h (LSODE_options::init): Likewise. | |
6437 (LSODE_options::set_absolute_tolerance): Likewise. | |
6438 | |
6439 * DASPK.h (DASPK_options::init): Use default absolute tolerance of | |
6440 sqrt(eps), not eps^2. | |
6441 DASPK_options::set_absolute_tolerance): Likewise. | |
6442 | |
5095 | 6443 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
3944 | 6444 |
6445 * Array.h (Array<T>::resize_fill_value): Return default initialized | |
6446 object. | |
6447 | |
3933 | 6448 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6449 | |
6450 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. | |
6451 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. | |
6452 (octave_rl_set_basic_word_break_characters, | |
6453 octave_rl_set_completer_word_break_characters): New functions. | |
6454 * oct-rl-edit.h: Provide decls. | |
6455 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, | |
6456 gnu_readline::do_set_completer_word_break_characters): New functions. | |
6457 (command_editor::set_basic_quote_characters, | |
6458 command_editor::set_completion_append_character): New static functions. | |
6459 * cmd-edit.h: Provide decls. | |
6460 (command_editor::do_set_basic_word_break_characters, | |
6461 command_editor::do_set_completer_word_break_characters): | |
6462 New virtual functions. | |
6463 | |
6464 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h | |
6465 (resize_fill_value): New static function. | |
6466 | |
6467 * Array-idx.h (Array<T>::index): New args, resize_ok and | |
6468 resize_fill_value. | |
6469 * Array2-idx.h (Array2<T>::index): Likewise. | |
6470 * ArrayN-idx.h (ArrayN<T>::index): Likewise. | |
6471 | |
6472 * Array2.cc (Array<T>::print_info): New function. | |
6473 * Array2.h: Provide decl. | |
6474 | |
6475 * Array.cc (Array<T>::print_info): New function. | |
6476 * Array.h: Provide decl. | |
6477 | |
3928 | 6478 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6479 | |
6480 * idx-vector.h (idx_vector::idx_vector (int)): New function. | |
6481 (idx_vector_rep::idx_vector_rep (int)): New decl. | |
6482 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. | |
6483 | |
6484 * Array.h (Array<T>::resize_fill_value (void)): New static function. | |
6485 (assign (Array<LT>&, const Array<RT>&)): Use it. | |
6486 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. | |
6487 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. | |
6488 | |
5095 | 6489 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
3928 | 6490 |
6491 * Array3.h (Array3<T>::checkelem): Improve error message. | |
6492 * ArrayN.h (ArrayN<T>::range_error): Likewise. | |
6493 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. | |
6494 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. | |
6495 | |
3919 | 6496 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6497 | |
6498 * DASSL.h (DASSL_options::init): Undo previous change. | |
6499 (DASSL_options::set_absolute_tolerance): Likewise. | |
6500 | |
3912 | 6501 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
6502 | |
6503 * DASPK.h, DASPK.cc: New files. | |
6504 * Makefile.in: Add them to the appropriate lists. | |
6505 | |
3904 | 6506 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6507 | |
6508 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): | |
6509 Simplify indexing when one or both of the indices are empty. | |
6510 | |
3896 | 6511 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6512 | |
6513 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. | |
6514 (DASSL_options::set_absolute_tolerance): Likewise. | |
6515 * LSODE.h (LSODE_options::init): Likewise. | |
6516 (LSODE_options::set_absolute_tolerance): Likewise. | |
6517 | |
5095 | 6518 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
3887 | 6519 |
6520 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. | |
6521 * file-stat.cc (file_stat::update_internal, file_stat::copy): | |
6522 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. | |
6523 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. | |
6524 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. | |
6525 * file-stat.h: Likewise. | |
6526 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, | |
6527 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE | |
6528 instead of HAVE_STRUCT_TM_TM_ZONE. | |
6529 * strftime.c: Likewise. | |
6530 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, | |
6531 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, | |
6532 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, | |
6533 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, | |
6534 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
6535 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
6536 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. | |
6537 | |
5095 | 6538 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
3883 | 6539 |
6540 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition | |
6541 internally when the user requests it. | |
6542 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
6543 * dbleQR.cc (QR::init): Ditto. | |
6544 * dbleQRP.cc (QRP::init): Ditto. | |
6545 | |
3874 | 6546 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6547 | |
6548 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a | |
6549 definition for NULL by passing 0 as the last arg to fftwnd_one. | |
6550 (octave_fftw::ifft2d): Likewise. | |
6551 | |
5095 | 6552 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
3873 | 6553 |
6554 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). | |
6555 | |
3867 | 6556 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6557 | |
6558 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. | |
6559 (LS_DO_WRITE): Likewise. | |
6560 | |
3864 | 6561 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6562 | |
6563 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. | |
6564 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. | |
6565 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. | |
6566 | |
6567 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, | |
6568 MX_REDUCTION_OP_ROW_EXPR): New macros. | |
6569 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. | |
6570 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. | |
6571 | |
6572 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. | |
6573 DIM == -1 now means no orientation for vector sums. | |
6574 * dMatrix.cc (ComplexMatrix::sumsq): Use it. | |
6575 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. | |
6576 | |
3858 | 6577 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6578 | |
6579 * Range.cc (Range::nelem_internal): Special case ranges that must | |
6580 have zero elements. | |
6581 | |
3854 | 6582 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6583 | |
3857 | 6584 * Makefile.in: Split out readline and pathsearch functionality |
6585 into separate liboct-readline and liboct-pathsearch libraries. | |
6586 | |
3854 | 6587 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857 | 6588 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
6589 to do nothing for this call to rl_clear_screen. | |
3854 | 6590 |
3849 | 6591 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6592 | |
6593 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied | |
6594 function. | |
6595 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. | |
6596 | |
3838 | 6597 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6598 | |
6599 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, | |
6600 Matrix::inverse): Handle the case of rcond being a NaN the same as | |
6601 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. | |
6602 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, | |
6603 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. | |
6604 | |
3836 | 6605 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
6606 | |
6607 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. | |
6608 | |
6609 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, | |
6610 Array-b.cc: Instantiate three arg assign functions. | |
6611 | |
6612 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): | |
6613 New arg, resize_fill_value. | |
6614 * ArrayN.h: Provide declaration. | |
6615 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling | |
6616 three arg version. | |
6617 | |
6618 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): | |
6619 New arg, resize_fill_value. | |
6620 * Array3.h: Provide declaration. | |
6621 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling | |
6622 three arg version. | |
6623 | |
6624 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
6625 New arg, resize_fill_value. | |
6626 * Array2.h: Provide declaration. | |
6627 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling | |
6628 three arg version. | |
6629 | |
6630 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
6631 New arg, resize_fill_value. | |
6632 * Array.h: Provide declaration. | |
6633 (assign (Array<LT>&, const Array<RT>&): Define here by calling | |
6634 three arg version. | |
6635 | |
3833 | 6636 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6637 | |
6638 * pathsearch.cc (dir_path::set_program_name): Set the environment | |
6639 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS | |
6640 to the empty string. | |
6641 | |
3832 | 6642 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
6643 | |
6644 * Array2.h (Array2<T>::operator = (const Array2<T>&)): | |
6645 Don't check for rep != a.rep. | |
6646 | |
3827 | 6647 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
6648 | |
6649 * oct-fftw.h, oct-fftw.cc: New files. | |
6650 * Makefile.in (INCLUDES, SOURCES): Add new files. | |
6651 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, | |
6652 ifourier2d}): Use fftw if available. | |
6653 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): | |
6654 Likewise. | |
6655 | |
3821 | 6656 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6657 | |
6658 * Makefile.in (install-lib): Don't use mk-libdir-link. | |
6659 (install-inc): Don't use mk-includedir-link. | |
6660 | |
3803 | 6661 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6662 | |
6663 * lo-cutils.c (octave_gethostname): New function. | |
6664 * lo-utils.h: Provide declaration. | |
6665 * oct-env.cc (octave_env::do_get_host_name): | |
6666 Call octave_gethostname, instead of gethostname. | |
6667 | |
6668 * lo-cutils.c (gethostname): Define here. | |
6669 * lo-sysdep.cc: Not here. | |
6670 | |
3786 | 6671 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6672 | |
6673 * lo-cutils.c: Don't declare strptime. | |
6674 (oct_strptime): Cast return type of strptime to char*. | |
6675 | |
3777 | 6676 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6677 | |
3779 | 6678 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
6679 (octave_rl_set_name): call rl_re_read_init_file with two args. | |
6680 (octave_rl_read_init_file): Ditto. | |
6681 (octave_rl_clear_undo_list): Call rl_free_undo_list, not | |
6682 free_undo_list. | |
6683 (octave_rl_completion_matches): Call rl_completion_matches, not | |
6684 completion_matches. | |
6685 (octave_rl_enable_paren_matching): New function. | |
6686 (octave_rl_set_blink_matching_paren_flag): Delete. | |
6687 (octave_rl_get_blink_matching_paren_flag): Delete. | |
6688 | |
3777 | 6689 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
6690 tanh (const Complex&)): Declare and define if not | |
6691 CXX_ISO_COMPLIANT_LIBRARY. | |
6692 | |
3776 | 6693 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
6694 | |
6695 * lo-mappers.h (tanh (const Complex&)): Only declare if not | |
6696 CXX_ISO_COMPLIANT_LIBRARY. | |
6697 | |
3775 | 6698 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
6699 | |
3776 | 6700 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
6701 CXX_ISO_COMPLIANT_LIBRARY. | |
6702 | |
3775 | 6703 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
6704 archive libraries containing templates. | |
6705 | |
6706 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, | |
6707 get_zero_len_size, all_colon_equiv): Inline. | |
6708 (ArrayN<T>::index): Rename idx to arr_idx. | |
6709 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, | |
6710 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, | |
6711 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. | |
6712 | |
6713 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6714 | |
6715 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), | |
6716 log10 (const Complex&)): Delete. | |
6717 | |
6718 * oct-cmplx.h: Define forwarding functions for real, imag, abs, | |
6719 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, | |
6720 sinh, sqrt, tan, and tanh. | |
6721 | |
3769 | 6722 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
6723 | |
6724 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: | |
6725 Add std:: namespace qualifier as needed. | |
6726 | |
6727 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. | |
6728 Change all uses to match. | |
6729 | |
3767 | 6730 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6731 | |
6732 * lo-cutils.c: Don't delcare strptime. | |
6733 | |
3760 | 6734 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6735 | |
6736 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): | |
6737 Return correct size result for empty matrix case. | |
6738 | |
3757 | 6739 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
6740 | |
6741 * lo-mappers.cc (xmin (const Complex&, const Complex& y): | |
6742 If args are equal in magnitude, return first arg instead of | |
6743 second. | |
6744 | |
3752 | 6745 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
6746 | |
3755 | 6747 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
6748 then try harder to compute correct number of elements. | |
3753 | 6749 |
3752 | 6750 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
6751 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. | |
6752 | |
3750 | 6753 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
6754 | |
3751 | 6755 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
6756 Rename n_intervals to be n_elt. | |
6757 | |
3750 | 6758 * strptime.c: Surround everything after including config.h in |
6759 #ifndef HAVE_STRPTIME ... #endif. | |
6760 | |
3742 | 6761 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6762 | |
6763 * Array-idx.h (assign): When resizing, cast fill value to LT. | |
6764 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. | |
6765 | |
3741 | 6766 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6767 | |
6768 * MArray-defs.h: Protect against multiple inclusion. | |
6769 | |
3739 | 6770 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6771 | |
6772 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the | |
6773 end of the list, to be compatible with previous versions of Octave. | |
6774 | |
3736 | 6775 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
6776 | |
6777 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, | |
6778 since mktime is supposed to `normalize' the results for us. | |
6779 | |
3731 | 6780 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
6781 | |
6782 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices | |
3732 | 6783 and vectors. Use xelem for faster access to elements when copying. |
3731 | 6784 |
3726 | 6785 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6786 | |
6787 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): | |
6788 Correct indexing for operation across rows. | |
6789 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. | |
6790 | |
3725 | 6791 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
6792 | |
6793 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying | |
6794 elements if arg is a colon. | |
6795 | |
5095 | 6796 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
3723 | 6797 |
3795 | 6798 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723 | 6799 (Matrix::cumsum (int) const): Likewise. |
6800 (Matrix::prod (int) const): Likewise. | |
6801 (Matrix::sum (int) const): Likewise. | |
6802 (Matrix::sumsq (int) const): Likewise. | |
6803 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. | |
6804 (ComplexMatrix::cumsum (int) const): Likewise. | |
6805 (ComplexMatrix::prod (int) const): Likewise. | |
6806 (ComplexMatrix::sum (int) const): Likewise. | |
6807 (ComplexMatrix::sumsq (int) const): Likewise. | |
6808 | |
3722 | 6809 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6810 | |
6811 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set | |
6812 size if Array<T>::index returns an empty array. | |
6813 | |
3710 | 6814 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6815 | |
6816 * file-ops.cc (file_ops::link, file_ops::symlink, | |
6817 file_ops::readlink): New functions. | |
6818 | |
3709 | 6819 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6820 | |
6821 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is | |
6822 indexed, always return an object the same size as the index arg. | |
6823 | |
6824 * oct-time.cc (octave_base_tm::strftime): Return empty string for | |
6825 empty format. | |
6826 | |
3706 | 6827 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6828 | |
6829 * lo-cutils.c (oct_strptime): New function. | |
6830 * oct-time.cc (octave_strptime::init): Call it instead of strptime. | |
6831 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. | |
6832 | |
3702 | 6833 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6834 | |
3703 | 6835 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
6836 | |
3702 | 6837 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
6838 | |
3689 | 6839 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6840 | |
6841 * dMatrix.h (read_int): Provide declaration. | |
6842 | |
3688 | 6843 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
6844 | |
6845 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. | |
6846 (write_doubles): Ditto. | |
6847 * data-conv.h: Ditto. | |
6848 (enum save_type): New values, LS_U_LONG and LS_LONG. | |
6849 | |
3685 | 6850 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
6851 | |
6852 * boolMatrix.h: Declare MM_CMP_OPS here. | |
6853 * boolMatrix.cc: Define them here. | |
6854 | |
3680 | 6855 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6856 | |
6857 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is | |
6858 previously undefined and set size of x to size of bool index. | |
6859 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): | |
6860 Allow z_len to be zero. | |
6861 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. | |
6862 If frozen, don't assert that frozen_at_z_len == z_len. | |
6863 | |
3670 | 6864 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6865 | |
6866 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen | |
6867 instead of rl_clear_screen. | |
6868 | |
3665 | 6869 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6870 | |
6871 * Array-d.cc: Instantiate ArrayN<double> here too. | |
6872 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. | |
6873 * Makefile.in: Add them to the appropriate lists. | |
6874 | |
3657 | 6875 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6876 | |
6877 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. | |
6878 | |
3635 | 6879 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6880 | |
6881 * lo-sysdep.h: octave_chdir returns int, not bool. | |
6882 | |
3615 | 6883 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
6884 | |
6885 * Makefile.in (liboctave.$(SHLEXT)): Delete target | |
6886 before rebuilding. | |
6887 | |
5095 | 6888 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
3615 | 6889 |
5261 | 6890 * Makefile.in (liboctave.$(LIBEXT)): New target. |
3615 | 6891 (libraries): Depend only on library targets, not archive members. |
6892 | |
3613 | 6893 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6894 | |
6895 * Makefile.in: (objects): New target. | |
6896 | |
6897 * lo-cutils.c: New file. | |
6898 * Makefile.in (SOURCES): Add it to the list. | |
6899 * lo-utils.h: Declare octave_qsort here. | |
6900 * Array.h (Array::qsort): Use it here. | |
6901 | |
3607 | 6902 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6903 | |
6904 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. | |
6905 | |
3598 | 6906 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6907 | |
6908 * oct-rl-hist.c (octave_history_list): Do something when not | |
6909 printing line numbers. Fix reallocation of retval. | |
6910 | |
3597 | 6911 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6912 | |
6913 * Makefile.in (install-inc): Install files in | |
6914 $(octincludedir)/octave. | |
6915 (uninstall): Remove them from the correct directory too. | |
6916 | |
6917 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if | |
6918 they are not already defined. | |
6919 | |
3588 | 6920 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6921 | |
6922 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: | |
6923 Delete declarations and definitions of mixed-type vector-vector ops. | |
6924 | |
3585 | 6925 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6926 | |
6927 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS | |
6928 matrix and vector objects. | |
6929 | |
6930 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to | |
6931 return type from second arg type. | |
6932 (MDM_BIN_OP): Likewise, for first arg type. | |
6933 | |
6934 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
6935 Matrix::fourier2d, Matrix::ifourier2d): Likewise. | |
6936 | |
6937 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly | |
6938 request ColumnVector to ComplexColumnVector, and Matrix to | |
6939 ComplexMatrix conversions. | |
6940 | |
6941 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its | |
6942 initial value using ComplexMatrix constructor. | |
6943 | |
6944 * CColVector.cc (product, quotient, | |
6945 operator * (const DiagMatrix&, const ComplexColumnVetor&)): | |
6946 Fix type of returned value. | |
6947 * CDiagMatrix.cc (ComplexDiagMatrix::row, | |
6948 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. | |
6949 | |
6950 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, | |
6951 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, | |
6952 dRowVector.h: Declare some constructors explicit, to disallow | |
6953 potentially problematic automatic type conversions. | |
6954 | |
3580 | 6955 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
6956 | |
3582 | 6957 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
6958 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: | |
6959 More new files. | |
6960 * Makefile.in: Add them to the appropriate lists. | |
6961 | |
6962 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, | |
6963 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, | |
6964 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, | |
6965 vx-s-crv.cc:, New files. | |
6966 * Makefile.in: Add them to the appropriate lists. | |
6967 | |
6968 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: | |
6969 Delete scalar by vector and vector by scalar binary ops. | |
6970 | |
3580 | 6971 * MArray-defs.h: More new macros to handle MDiagArray operators. |
6972 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. | |
6973 | |
3573 | 6974 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
6975 | |
3578 | 6976 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
6977 rl_event_hook before casting to void **. | |
6978 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. | |
6979 | |
3574 | 6980 * MArray-defs.h: Many new macros to make declaration and |
6981 definition of operators more consistent. | |
6982 | |
6983 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, | |
6984 CRowVector.h, dMatrix.h, CMatrix.h: Use them. | |
3573 | 6985 |
3569 | 6986 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6987 | |
3572 | 6988 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
6989 (Matrix::ifourier2d): Likewise. | |
6990 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. | |
6991 (ComplexMatrix::ifourier2d): Likewise. | |
6992 | |
3569 | 6993 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
6994 | |
3504 | 6995 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6996 | |
3519 | 6997 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
6998 readline library. | |
6999 * Makefile.in: Add them to the appropriate lists. | |
7000 | |
7001 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU | |
7002 readline history library. | |
7003 * Makefile.in: Add them to the appropriate lists. | |
7004 | |
3517 | 7005 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
7006 (LS_DO_READ): Likewise, for istream::read. | |
3518 | 7007 (write_doubles): Likewise. |
7008 (read_doubles): Likewise. | |
3517 | 7009 |
3516 | 7010 * oct-env.cc (octave_env::do_polite_directory_format): |
7011 Use operator== and substr method to do limited-length string | |
7012 comparison. | |
7013 | |
3513 | 7014 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512 | 7015 |
3511 | 7016 * Quad.h: Use do_integrate as name of pure virtual function. |
7017 | |
3508 | 7018 * base-de.h: Use tt instead of t as arg names. |
3511 | 7019 Add method with tcrit arg. |
7020 | |
3509 | 7021 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508 | 7022 |
3507 | 7023 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
7024 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. | |
7025 * Quad.cc (quad_fcn_ptr): Ditto. | |
7026 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. | |
7027 | |
3505 | 7028 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519 | 7029 * Makefile.in: Add them to the appropriate lists. |
3505 | 7030 |
7031 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. | |
3519 | 7032 * Makefile.in: Add them to the appropriate lists. |
3505 | 7033 |
3504 | 7034 * dMatrix.cc (write_int, read_int): No longer declared static. |
7035 | |
7036 * CDiagMatrix.h: Delete decls for friend operators that are | |
7037 handled by MDiagArray2 class. Move others outside class decl and | |
7038 strip friend status. | |
7039 * dDiagMatrix.h: Likewise. | |
7040 | |
7041 * MArray.h: Delete decls for friend operators inside class decl. | |
7042 * MArray2.h: Ditto. | |
7043 * MDiagArray2.h: Ditto. | |
7044 | |
7045 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all | |
7046 necessary parameters. Don't allocate memory in the macro. Change | |
7047 all uses. | |
7048 | |
7049 * dMatrix.h (class Matrix): Delete `friend class' decls. | |
7050 * CMatrix.h (class ComplexMatrix): Ditto. | |
7051 | |
7052 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, | |
7053 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, | |
7054 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to | |
7055 avoid type conflicts. Change all uses. | |
7056 | |
7057 * strptime.c (__mon_yday): Fix size of array decl. | |
7058 | |
7059 * mx-inlines.cc: Use `xnot' instead of `not' for function name. | |
7060 | |
7061 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous | |
7062 default value for second arg. | |
7063 | |
7064 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to | |
7065 references to ArrayRep. | |
7066 | |
3503 | 7067 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
7068 | |
3504 | 7069 * Array.h (Array::ArrayRep): Now protected, not private. |
3503 | 7070 |
7071 * All source files: Include iostream, fstream, strstream, | |
7072 etc. as needed instead of using forward declarations for these | |
3504 | 7073 classes. Add std:: qualifier as needed. |
3503 | 7074 |
3498 | 7075 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
7076 | |
7077 * oct-time.cc: Declare strptime extern "C". | |
7078 | |
3496 | 7079 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7080 | |
7081 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. | |
7082 | |
3488 | 7083 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
7084 | |
3492 | 7085 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
7086 * Array3.h, Array3.cc: Use it in constructors and resize methods | |
7087 to get total size to be allocated. | |
7088 | |
3488 | 7089 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
7090 as bool, not int. | |
7091 | |
3482 | 7092 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
7093 | |
7094 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
7095 Allow A(idx) = RHS if idx is a boolean index with the same shape | |
7096 as A, even when do_fortran_indexing is not enabled. | |
7097 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). | |
7098 | |
3473 | 7099 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
7100 | |
3480 | 7101 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
7102 function pointer as final arg. Passed function (if any) will be | |
7103 called for singularity errors. | |
7104 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. | |
7105 | |
7106 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. | |
7107 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
7108 | |
3475 | 7109 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
7110 No longer bother with infinity or quiet_nan. | |
7111 | |
3473 | 7112 * Array2.cc (Array2<T>::get_size): New function. |
7113 (Array2<T>::Array2, Array2<T>::resize): Use it. | |
7114 | |
3472 | 7115 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7116 | |
7117 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): | |
7118 New function. | |
7119 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
7120 Use it when indexing with one arg instead of faking a second one. | |
7121 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): | |
7122 Return empty matrices with the correct dimensions for A(:,:) = [] | |
7123 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all | |
7124 rows or columns. | |
7125 | |
7126 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool | |
7127 vector that is all true values with a length equal to n as colon | |
7128 equivalent. | |
7129 | |
3470 | 7130 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
7131 | |
7132 * strptime.c: Only include langinfo.h if _LIBC is defined. | |
7133 | |
5095 | 7134 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468 | 7135 |
7136 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling | |
7137 operations directly in step 2 and reverse step 2. | |
7138 * dMatrix.cc (Matrix::expm): Apply permutation and scaling | |
7139 operations directly in step 2 and reverse step 2. | |
7140 | |
3465 | 7141 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
7142 | |
7143 * oct-time.h, oct-time.cc (octave_strptime): New class. | |
7144 | |
7145 * strptime.c: New file, from glibc 2.1.2. | |
7146 * Makefile.in (SOURCES): Add strptime.c to the list. | |
7147 | |
3419 | 7148 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7149 | |
7150 * MArray.h (MArray <const Array<T>&)): New constructor. | |
7151 | |
3415 | 7152 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
7153 | |
7154 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing | |
7155 NULL directory list returned from kpse_element_dirs | |
7156 | |
3375 | 7157 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
7158 | |
7159 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. | |
7160 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF | |
7161 directly, instead of calling ZGESV. | |
7162 | |
3358 | 7163 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7164 | |
7165 * data-conv.cc (init_sized_type_lookup_table): New function. | |
7166 (string_to_data_type): Use it to improve lookup of data types. | |
7167 | |
3354 | 7168 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
7169 | |
7170 * dMatrix.cc (is_symmetric): Move here from Array2.cc. | |
7171 * Array2.h (is_symmetric): Delete declaration. | |
7172 | |
3347 | 7173 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
7174 | |
7175 * oct-env.cc (do_get_user_name): Reverse sense of test. | |
7176 | |
3344 | 7177 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
7178 | |
7179 * oct-time.cc (Fstrftime): Undo previous change. | |
7180 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
7181 | |
3334 | 7182 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
7183 | |
3336 | 7184 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
7185 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. | |
7186 | |
3334 | 7187 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
7188 Don't forget to pass length of third string argument to dgeesx. | |
7189 | |
7190 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length | |
7191 of third string argument to zgeesx. | |
7192 | |
3333 | 7193 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
7194 | |
7195 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): | |
7196 On errors, simply return `T ()'. | |
7197 (DiagArray2<T>::checkelem (int, int)): Likewise. | |
7198 | |
5095 | 7199 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3331 | 7200 |
7201 * dMatrix.cc (Matrix::expm): Do balancing here instead of using | |
7202 AEPBALANCE class. | |
7203 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
7204 | |
3325 | 7205 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7206 | |
7207 * oct-shlib.cc, oct-shlib.h: New files. | |
7208 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
7209 | |
3322 | 7210 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
7211 | |
7212 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. | |
7213 * dRowVector.cc (linspace): Ditto. | |
7214 | |
7215 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. | |
7216 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
7217 | |
3312 | 7218 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
7219 | |
7220 * DASSL.cc (DASSL::do_integrate (double)): If we have a function | |
7221 to evaluate the Jacobian, set info(4), not iwork(4). | |
7222 Set rwork(1) to the maximum step size, not rwork(2). | |
7223 | |
3290 | 7224 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7225 | |
7226 * oct-time.cc: Include <climits>. | |
7227 | |
3281 | 7228 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
7229 | |
7230 * cmd-edit.h (command_editor::do_resize_terminal): New function. | |
7231 * cmd-edit.cc (command_editor::resize_terminal): New function. | |
7232 (gnu_readline::do_resize_terminal): New function. | |
7233 | |
3268 | 7234 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7235 | |
7236 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. | |
7237 * lo-ieee.c: Likewise. | |
7238 Delete extern "C" declarations for infinity and quiet_nan. | |
7239 | |
3262 | 7240 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7241 | |
3263 | 7242 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
7243 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions | |
7244 `inline', not `static inline'. | |
7245 | |
3262 | 7246 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
7247 then cast to const int * to compare. | |
7248 | |
3257 | 7249 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7250 | |
7251 * DAEFunc.h: Remove useless preprocessor conditional. | |
7252 | |
3255 | 7253 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7254 | |
3257 | 7255 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
7256 Use octave_time object instead of time_t. | |
7257 | |
7258 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, | |
7259 file_stat::fs_ctime): Now octave_time objects. | |
7260 (file_stat::atime, file_stat::mtime, file_stat::ctime): | |
7261 Return octave_time objects. | |
7262 (file_stat::is_newer): Args are now octave_time objects instead of | |
7263 time_t. | |
7264 | |
3255 | 7265 * oct-time.h (octave_time::as_double): Delete. |
7266 (octave_time::operator double ()): New function. | |
7267 (octave_time::operator time_t ()): New function. | |
7268 (octave_time::ctime): New function. | |
7269 (octave_base_tm::strftime): Renamed from format_as_string. | |
7270 (octave_base_tm::asctime): New function. | |
7271 (operator == (const octave_time&, const octave_time&), | |
7272 operator != (const octave_time&, const octave_time&), | |
7273 operator < (const octave_time&, const octave_time&), | |
7274 operator <= (const octave_time&, const octave_time&), | |
7275 operator > (const octave_time&, const octave_time&), | |
7276 operator >= (const octave_time&, const octave_time&)): | |
7277 New comparison functions. | |
7278 | |
7279 * strftime.c: Move here from src directory. | |
7280 * Makefile.in (SOURCES): Add it to the list. | |
7281 | |
7282 * oct-time.h (octave_time::octave_time (time_t)): New constructor. | |
7283 | |
3253 | 7284 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7285 | |
7286 * oct-time.h, oct-time.cc: New files. | |
7287 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
7288 | |
7289 * systime.h: Move here from src directory. | |
7290 * Makefile.in (INCLUDES): Add it to the list. | |
7291 | |
3248 | 7292 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7293 | |
7294 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. | |
7295 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. | |
7296 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. | |
7297 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. | |
7298 | |
7299 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. | |
7300 | |
3243 | 7301 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7302 | |
7303 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. | |
7304 | |
7305 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7306 | |
7307 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a | |
7308 column vector for A(:), for compatibility with Matlab. | |
7309 | |
7310 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7311 | |
7312 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set | |
7313 iopt when there are optional inputs in rwork or iwork. | |
7314 | |
3238 | 7315 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7316 | |
7317 * Makefile.in (libraries): Use the libfoo.a(objects) method of | |
7318 creating static libs. | |
7319 | |
5095 | 7320 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
3238 | 7321 |
7322 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 | |
7323 and uint32 data types. | |
7324 | |
7325 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7326 | |
7327 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code | |
7328 for Linux. Remove old Linux-specific code. | |
7329 | |
3233 | 7330 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7331 | |
7332 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): | |
7333 Don't require lengths to be equal. | |
7334 * CMatrix.cc (operator * (const ComplexColumnVector& v, const | |
7335 ComplexRowVector& a)): Likewise | |
7336 | |
5095 | 7337 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
3225 | 7338 |
7339 * statdefs.h: Only define mode_t if not already defined. | |
7340 | |
5095 | 7341 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
3225 | 7342 |
7343 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero | |
7344 when appropriate. | |
7345 | |
7346 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7347 | |
7348 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name | |
7349 before calling rl_initialize. | |
7350 | |
3220 | 7351 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7352 | |
7353 * lo-specfun.cc (besselh, airy, biry): New functions. | |
7354 Update Bessel function support to use library by D. E. Amos. | |
7355 | |
3219 | 7356 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7357 | |
7358 * cmd-edit.h (command_editor::readline): Add new variation that | |
7359 allows EOF information to be passed back to caller. | |
7360 | |
7361 * dMatrix.cc (Matrix::read): Do the right thing for EOF when | |
7362 amount of data to read is unspecified. | |
7363 | |
3215 | 7364 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7365 | |
3219 | 7366 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
7367 (DEFINE_OCTAVE_ALLOCATOR): Ditto. | |
7368 | |
3215 | 7369 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
7370 Add volatile qualifier to void* arg. | |
7371 Cast volatile void* arg to volatile char*. | |
7372 | |
7373 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7374 | |
7375 * cmd-edit.h (command_editor::do_set_event_hook): New function. | |
7376 (command_editor::do_restore_event_hook): Ditto. | |
7377 * cmd-edit.cc (command_editor::set_event_hook): Ditto. | |
7378 (command_editor::restore_event_hook): Ditto. | |
7379 (gnu_readline::do_set_event_hook): Ditto. | |
7380 (gnu_readline::do_restore_event_hook): Ditto. | |
7381 (gnu_readline::previous_event_hook): New data member. | |
7382 (gnu_readline::gnu_readline): Initialize previous_event_hook. | |
7383 | |
3206 | 7384 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7385 | |
7386 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. | |
7387 | |
7388 * Makefile.in (stmp-pic): New target. | |
7389 ($(PICOBJ)): Depend on stmp-pic, not pic. | |
7390 (clean): Remove stmp-pic | |
7391 | |
7392 * Makefile.in: Undo previous change to avoid optmization when | |
7393 compiling lo-ieee.cc. | |
7394 | |
7395 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7396 | |
7397 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and | |
7398 imaginary parts. | |
7399 (xisinf): Define in terms of xisinf for real and imaginary parts. | |
7400 | |
3203 | 7401 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7402 | |
7403 * boolMatrix.cc (boolMatrix::operator !): New function. | |
7404 | |
3196 | 7405 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7406 | |
7407 * pathsearch.h (dir_path::default_path): New data member. | |
7408 * pathsearch.cc (dir_path::init): Use it. | |
7409 | |
7410 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. | |
7411 | |
3189 | 7412 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7413 | |
7414 * chMatrix.cc (charMatrix::extract): New function. | |
7415 (charMatrix::charMatrix (char c)): New constructor. | |
7416 | |
7417 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7418 | |
7419 * cmd-edit.h: (command_editor::do_read_init_file): New function. | |
7420 * cmd-edit.cc (command_editor::read_init_file): New function. | |
7421 (gnu_readline::do_read_init_file): Likewise. | |
7422 | |
3185 | 7423 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7424 | |
7425 * oct-env.cc (octave_env::do_get_home_directory): | |
7426 If HOME can't be found, set it to "/". | |
7427 (octave_env::do_get_user_name) | |
7428 If user name can't be found, set it to "unknown". | |
7429 (octave_env::do_get_host_name) | |
7430 If host name can't be found, set it to "unknown". | |
7431 | |
7432 * pathsearch.h (dir_path::rehash): New function. | |
7433 * pathsearch.cc (dir_path::init): Clear kpathsea's internal | |
7434 diretcory cache before doing initialization. | |
7435 | |
3180 | 7436 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7437 | |
3185 | 7438 * dMatrix.cc (Qzval): Delete. |
7439 (qzhes, qzit, qzval): Delete F77_FCN declarations. | |
7440 * dMatrix.h (Qzval): Delete declaration. | |
7441 | |
7442 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. | |
7443 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. | |
7444 * mx-ext.h: Don't include dbleGEPBAL. | |
7445 | |
3180 | 7446 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
7447 static_cast. | |
7448 | |
7449 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7450 | |
7451 * dMatrix.cc (Matrix::read): Skip after reading, not before. | |
7452 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. | |
7453 | |
7454 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7455 | |
7456 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on | |
7457 HUGE_VAL and NAN. | |
7458 | |
7459 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7460 | |
7461 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
7462 Handle x(i) = scalar for do_fortran_indexing == 1. | |
7463 | |
7464 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7465 | |
7466 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): | |
7467 Alloctate space before attempting to use it. | |
7468 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. | |
7469 | |
5095 | 7470 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
3178 | 7471 |
7472 * EIG.cc (EIG::init): Move invariant code outside loop. | |
7473 | |
7474 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7475 | |
7476 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result | |
7477 have the same size as the operands. | |
7478 | |
7479 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7480 | |
7481 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the | |
7482 call to ddassl, set integration_error to 1 before calling the | |
7483 error handler and returning. | |
7484 * LSODE.cc (LSODE::do_integrate): Likewise. | |
7485 | |
3177 | 7486 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7487 | |
7488 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if | |
7489 do_fortran_indexing is set, A([]) = scalar. | |
7490 * Array-idx.h (assign): Allow A([]) = scalar. | |
7491 | |
3176 | 7492 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7493 | |
7494 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not | |
7495 if dm_nc == 0. | |
7496 | |
3174 | 7497 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7498 | |
7499 * pathsearch.h (dir_path::p_orig): New field. | |
7500 * pathsearch.cc (dir_path::init): Perform variable and tilde | |
7501 expansion on the original path here. | |
7502 (dir_path::find_all): Don't do anything if not initialized. | |
7503 | |
3164 | 7504 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7505 | |
7506 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing | |
7507 is not set. | |
7508 (index): Allow x = zeros (2, 0); x(1,:) to work. | |
7509 | |
7510 * lo-specfun.cc (gammainc): Use dgamit to compute | |
7511 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just | |
7512 \int_0^x exp(-t) t^(a-1) dt. | |
7513 | |
7514 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7515 | |
7516 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, | |
7517 Array-s.cc: Change return types of all `assign' explicit | |
7518 instantiations to be int, not void, to match the template decl in | |
7519 Array.h. | |
7520 | |
3162 | 7521 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7522 | |
7523 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. | |
7524 | |
3156 | 7525 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7526 | |
7527 * lo-specfun.cc (xgamma, xlgamma): Define here. | |
7528 * lo-mappers.cc: Not here. | |
7529 | |
7530 * lo-specfun.h: Declare xgamma and xlgamma here. | |
7531 * lo-mappers.h: Not here. | |
7532 | |
7533 * lo-specfun.h: Never declare gamma or lgamma. | |
7534 | |
3154 | 7535 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7536 | |
7537 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an | |
7538 empty matrix of any dimension. | |
7539 | |
3145 | 7540 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7541 | |
3147 | 7542 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
7543 | |
3146 | 7544 * lo-specfun.cc: Don't include dbleBessel.h. |
7545 | |
7546 * Makefile.in (INCLUDES): Delete oct-math.h from the list. | |
7547 | |
3145 | 7548 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
7549 * file-stat.h (file_stat::operator bool ()): Likewise. | |
7550 * idx-vector.h (idx_vector::operator bool ()): Likewise. | |
7551 * oct-group.h (octave_group::operator bool ()): Likewise. | |
7552 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. | |
7553 | |
7554 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): | |
7555 Don't cast arg in call to swap_8_bytes. | |
7556 (IEEE_big_double_to_IEEE_little_double): Ditto | |
7557 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to | |
7558 swap_4_bytes. | |
7559 (IEEE_little_float_to_IEEE_big_float): Ditto | |
7560 | |
7561 * oct-alloc.cc (grow): Use X_CAST, not static_cast. | |
7562 * prog-args.cc (prog_args::getopt): Likewise. | |
7563 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. | |
7564 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. | |
7565 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): | |
7566 Likewise. | |
7567 | |
7568 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, | |
7569 swap_8_bytes): Declare ptr arg as void*, then use cast. | |
7570 | |
3141 | 7571 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7572 | |
7573 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). | |
7574 Use $(mk-libdir-link). | |
7575 | |
7576 * file-stat.cc (file_stat::update_internal): Use stat and lstat, | |
7577 not SAFE_STAT and SAFE_LSTAT. | |
7578 (lstat): New function, defined if HAVE_LSTAT is not defined. | |
7579 * safe-xstat.hin, safe-xstat.cin: Delete. | |
7580 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, | |
7581 safe-lstat.h, and safe-lstat.cc. | |
7582 | |
3136 | 7583 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7584 | |
7585 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. | |
7586 | |
3130 | 7587 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7588 | |
7589 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the | |
7590 trace is negative. | |
7591 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if | |
7592 the real part of the trace is negative. | |
7593 | |
7594 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7595 | |
7596 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. | |
7597 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. | |
7598 | |
7599 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] | |
7600 to succeed. | |
7601 | |
3125 | 7602 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7603 | |
7604 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. | |
7605 (make_uniq): Likewise. | |
7606 | |
7607 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7608 | |
7609 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. | |
7610 | |
3119 | 7611 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7612 | |
3121 | 7613 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
7614 | |
7615 * lo-specfun.h, lo-specfun.cc: New files. | |
3119 | 7616 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
7617 | |
3121 | 7618 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
7619 oct-math.h: Delete. | |
7620 * Makefile.in (SOURCES): Delete them from the list. | |
7621 | |
3112 | 7622 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7623 | |
7624 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. | |
7625 | |
5095 | 7626 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
3107 | 7627 |
7628 Changes to make support egcs snapshots that implement explicit | |
7629 specification of template functions according to CD2. | |
7630 | |
7631 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit | |
7632 template function specs for template friends. | |
7633 * MArray2.h: Likewise. | |
7634 * MDiagArray2.h: Likewise. | |
7635 | |
3095 | 7636 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7637 | |
7638 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) | |
7639 | |
3092 | 7640 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
7641 | |
7642 * CRowVector.cc (linspace): Removed attempt for implicit conversion | |
7643 to complex<double>(int) instead of complex<double>(double). | |
7644 | |
7645 * lo-mappers.cc (atanh): Ditto. | |
7646 | |
3079 | 7647 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7648 | |
7649 * idx-vector.cc (IDX_VEC_REP::sort): New function. | |
7650 * idx-vector.h (idx_vector::sort): Ditto. | |
7651 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before | |
7652 trying to delete elements specified by the index vectors. | |
7653 | |
3075 | 7654 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7655 | |
7656 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. | |
7657 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. | |
7658 | |
3074 | 7659 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7660 | |
7661 * file-ops.cc (tilde_expand_word): Fix off-by-one error. | |
7662 | |
3069 | 7663 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7664 | |
7665 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. | |
7666 Call error handler if we can't find the current directory. | |
7667 | |
3068 | 7668 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7669 | |
3069 | 7670 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
7671 (xfinite (double)): Ditto. | |
7672 | |
3068 | 7673 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
7674 * CmplxQR.cc (ComplexQR::init): Ditto. | |
7675 | |
3056 | 7676 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7677 | |
7678 * lo-mappers.cc (acos (const Complex&)): Select branch that is | |
7679 compatible with Matlab. | |
7680 | |
3050 | 7681 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7682 | |
7683 * Array2-idx.h: Correctly handle empty matrices indexed by a | |
7684 single colon. | |
7685 | |
3040 | 7686 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7687 | |
3049 | 7688 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
7689 (xgamma): Likewise, for calling xdgamma. | |
7690 | |
3042 | 7691 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
7692 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. | |
7693 | |
3040 | 7694 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
7695 to do better job expanding tildes. | |
7696 | |
7697 * str-vec.cc (string_vector::string_vector (const char * const *): | |
7698 Use temporary variable to compute length. | |
7699 | |
3029 | 7700 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7701 | |
3034 | 7702 * Makefile.in: Make building of static library optional. |
3036 | 7703 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034 | 7704 |
3029 | 7705 * Makefile.in (stamp-picdir): Delete. |
7706 (pic): New target. Don't worry so much about creating pic | |
7707 directory only when it is really needed. | |
7708 (stamp-interp): Delete. | |
7709 (libraries): New target. Depend on shared library directly. | |
7710 | |
3024 | 7711 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7712 | |
7713 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): | |
7714 New static function. | |
7715 | |
3012 | 7716 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7717 | |
7718 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. | |
7719 | |
3004 | 7720 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7721 | |
7722 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to | |
7723 set_basic_quote_characters, to match new version of readline. | |
7724 | |
7725 * cmd-edit.cc (do_restore_terminal_state): Call readline function | |
7726 for restoring terminal state through rl_deprep_term_function, now | |
7727 declared in readline.h | |
7728 (rl_deprep_terminal): Delete declaration. | |
7729 | |
2993 | 7730 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7731 | |
7732 * Makefile.in (install-in): Use new mk-includedir-link macro. | |
7733 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. | |
7734 | |
2968 | 7735 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7736 | |
7737 * cmd-edit.cc (command_editor::increment_current_command_number): | |
7738 New static function. | |
7739 | |
2964 | 7740 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7741 | |
2966 | 7742 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
7743 the vector is not sorted. | |
7744 | |
2964 | 7745 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
7746 * dMatrix.cc (Matrix::operator !): Likewise | |
7747 | |
2941 | 7748 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7749 | |
7750 * oct-syscalls.h, oct-syscalls.cc: New files. | |
7751 | |
7752 * cmd-edit.h, cmd-edit.cc: Handle completion function. | |
7753 | |
7754 * str-vec.h, str-vec.cc (string_vector::uniq): New function. | |
7755 | |
2938 | 7756 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7757 | |
2941 | 7758 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
7759 (install-inc): Use it. | |
7760 | |
2938 | 7761 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
7762 Handle errors and missing functions consistently. | |
7763 | |
7764 * oct-group.h, oct-group.cc: New files. | |
7765 | |
7766 * oct-passwd.cc: Handle errors and missing functions consistently. | |
7767 | |
7768 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. | |
7769 | |
2934 | 7770 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7771 | |
7772 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. | |
7773 * oct-env.cc (octave_env::do_get_user_name): Likewise. | |
7774 | |
7775 * oct-passwd.h, oct-passwd.cc: New files. | |
7776 | |
2926 | 7777 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7778 | |
7779 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. | |
7780 | |
7781 * mach-info.h, mach-info.cc: Add missing const qualifiers. | |
7782 (instance_ok ()): New function. | |
7783 | |
7784 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. | |
7785 | |
7786 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. | |
7787 | |
7788 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from | |
7789 src/utils.h and src/utils.cc. | |
7790 (octave_fgets): New function, extracted from src/input.cc. | |
7791 | |
7792 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for | |
7793 GNU readline, and allow Octave to work without GNU readline. | |
7794 | |
7795 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous | |
7796 system-dependent functions. | |
7797 | |
7798 * oct-env.h, oct-env.cc: New files for process environment stuff. | |
7799 | |
7800 * file-stat.h, file-stat.cc: New files. Extract file_stat class | |
7801 from file-ops.h and file-ops.cc and move here. | |
7802 | |
7803 * file-ops.h, file-ops.cc: Wrap functions in struct. Move | |
7804 tilde_expand functions here from src/dirfns.cc. | |
7805 | |
7806 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7807 | |
7808 * pathlen.h: New file, from ../src. | |
7809 | |
2917 | 7810 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7811 | |
7812 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent | |
7813 out-of-bounds indexing of the index array. | |
7814 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. | |
7815 | |
2850 | 7816 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7817 | |
7818 * LSODE.h (x_step_limit): New field. | |
7819 (LSODE_options::init): Initialize it. | |
7820 (LSODE_options::copy): Copy it. | |
7821 (LSODE_options::set_step_limit, LSODE_options::step_limit): | |
7822 New functions. | |
7823 (LSODE::working_too_hard): Delete. | |
7824 * LSODE.cc (LSODE::do_integrate): Handle step limit. | |
7825 | |
2844 | 7826 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7827 | |
7828 * MArray-b.cc: Delete. | |
7829 * Makefile.in: Delete it from the lists. | |
7830 | |
7831 * boolMatrix.h (class bboolMatrix): Derive from Array2, not | |
7832 MArray2, since most of the numeric ops don't really make sense. | |
7833 | |
2829 | 7834 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7835 | |
2832 | 7836 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
7837 | |
7838 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. | |
7839 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. | |
7840 | |
2830 | 7841 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
7842 idx_vector::freeze): Delete prefer_zero_one arg. | |
7843 * Array-idx.h, Array2-idx.h: Change all callers. | |
7844 | |
7845 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. | |
7846 | |
2829 | 7847 * mx-op-defs.h: New file for operator definitions. |
7848 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, | |
7849 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, | |
7850 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, | |
7851 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, | |
7852 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, | |
7853 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, | |
7854 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, | |
7855 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, | |
7856 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, | |
7857 mx-s-cm.cc, mx-s-dm.cc: | |
7858 New files for mixed-type operations. | |
7859 * Makefiles.in: Add them to the appropriate lists. | |
7860 | |
7861 * mx-inlines.cc: Add bool by bool EQ ops. | |
7862 | |
7863 * idx-vector.h, idx-vector.cc: Add constructors for bool and | |
7864 boolMatrix types. | |
7865 (idx_vector::maybe_convert_one_zero_to_idx, | |
7866 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): | |
7867 Delete second arg, prefer_zero_one. Change all callers. | |
7868 | |
7869 * boolMatrix.h, boolMatrix.cc: New files. | |
7870 * mx-base.h: Include boolMatrix.h here. | |
7871 * mx-defs.h: Provide forward declaration for boolMatrix here. | |
7872 | |
7873 * chMatrix.h, chMatrix.cc: Delete unused junk. | |
7874 | |
7875 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, | |
7876 operator-, operator*, product, and quotient functions. | |
7877 Add constructor for boolMatrix type. | |
7878 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, | |
7879 product, and quotient functions. | |
7880 | |
7881 * CDiagMatrix.h: Delete friend declarations for operator+, | |
7882 operator-, and product functions. | |
7883 * CDiagMatrix.h: Delete operator+, operator-, and product functions. | |
7884 | |
7885 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. | |
7886 | |
2815 | 7887 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7888 | |
7889 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. | |
7890 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. | |
7891 (EIG::symmetric_init (const Matrix&)): New function. | |
7892 (EIG::init (const Matrix&)): Call it if arg is symmetric. | |
7893 | |
7894 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. | |
7895 | |
7896 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7897 | |
7898 * Array2.cc (is_symmetric): New function. | |
7899 * Array2.h (is_square): New function. | |
7900 | |
2811 | 7901 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7902 | |
7903 * Makefile.in (install-strip): New target. | |
7904 | |
2804 | 7905 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7906 | |
7907 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
7908 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, | |
7909 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
7910 dbleSVD.cc: Don't include mx-inlines.cc. | |
7911 | |
7912 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of | |
7913 duplicate code. | |
7914 | |
2800 | 7915 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7916 | |
2804 | 7917 * dbleQR.h (QR): Delete extra comma at end of list. |
7918 | |
7919 * prog-args.cc (prog_args::getopt): Add missing const in cast. | |
7920 | |
7921 * dbleSVD.h (SVD::type): Delete extra comma at end of list. | |
7922 | |
7923 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and | |
7924 idx_vecotr_rep:: qualifiers. | |
7925 | |
7926 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. | |
7927 | |
7928 * data-conv.h (save_type): Delete extra comma at end of list. | |
7929 | |
2800 | 7930 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
7931 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, | |
7932 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of | |
7933 old C-style `(T) val' casts. | |
7934 | |
2795 | 7935 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7936 | |
7937 * dMatrix.cc (operator >>): Return if an error occurs instead of | |
7938 just breaking out of the innermost loop. | |
7939 * CMatrix.cc (operator >>): Likewise. | |
7940 | |
2779 | 7941 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775 | 7942 |
7943 * Version 2.0.5 released. | |
7944 | |
2767 | 7945 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7946 | |
7947 * CmplxQR.cc (ComplexQR::init): New function. | |
7948 (ComplexQR::ComplexQR): Use it. Use initializer list too. | |
7949 * CmplxQRP.cc (ComplexQRP::init): New function. | |
7950 Get sizes right in all cases. | |
7951 (ComplexQR::ComplexQRP): Use it. Use initializer list too. | |
7952 | |
7953 * dbleQR.cc (QR::init): New function. | |
7954 (QR::QR): Use it. Use initializer list too. | |
7955 * dbleQRP.cc (QRP::init): New function. | |
7956 Get sizes right in all cases. | |
7957 (QR::QRP): Use it. Use initializer list too. | |
7958 | |
2759 | 7959 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7960 | |
7961 * mach-info.cc (oct_mach_info::string_to_float_format): | |
7962 Recognize "vaxg", not "vax_g". | |
7963 | |
2713 | 7964 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7965 | |
2714 | 7966 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
7967 dimension in check for colon equivalent index. | |
7968 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element | |
7969 index whose value is 0 is also colon eqivalent for n == 1. | |
7970 | |
2713 | 7971 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
7972 system-specific tests first. | |
7973 | |
2709 | 7974 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702 | 7975 |
7976 * Version 2.0.4 released. | |
7977 | |
7978 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7979 | |
7980 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. | |
7981 | |
2693 | 7982 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690 | 7983 |
7984 * Version 2.0.3 released. | |
7985 | |
2686 | 7986 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7987 | |
7988 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. | |
7989 | |
2673 | 7990 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7991 | |
2676 | 7992 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
7993 (all): Don't depend on stamp-prereq or stamp-picdir. | |
7994 (liboctave.a, stamp-shared): Do depend on stamp-prereq. | |
7995 (stamp-picdir): Silence noise about making pic. | |
7996 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. | |
7997 | |
2673 | 7998 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
7999 Fix typo in last change. | |
8000 | |
8001 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): | |
8002 Convert from friend (moved from dColVector.cc). | |
8003 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): | |
8004 Likewise (moved from dMatrix.cc). | |
8005 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): | |
8006 Likewise (moved from dRowVector.cc). | |
8007 | |
8008 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. | |
8009 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. | |
8010 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. | |
8011 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. | |
8012 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. | |
8013 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. | |
8014 | |
8015 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. | |
8016 * dMatrix.cc (Matrix::apply): Likewise. | |
8017 * dRowVector.cc (RowVector::apply): Likewise. | |
8018 * CColVector.cc (ComplexColumnVector::apply): Likewise. | |
8019 * CMatrix.cc (ComplexMatrix::apply): Likewise. | |
8020 * CRowVector.cc (ComplexRowVector::apply): Likewise. | |
8021 | |
2668 | 8022 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8023 | |
8024 * lo-ieee.cc: Declare quiet_nan() and infinity(). | |
8025 | |
8026 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8027 | |
8028 * file-ops.cc (oct_unlink (const string&, string&)): | |
8029 New two-arg version. | |
8030 (oct_rmdir (const string&, string&)): New two-arg version. | |
8031 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. | |
8032 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. | |
8033 (oct_rename (const string&, const string&, string&)): | |
8034 New three-arg version. | |
8035 | |
2663 | 8036 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8037 | |
8038 * idx-vector.h (idx_vector::orig_empty): New function. | |
8039 | |
8040 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): | |
8041 Don't always resize to [](0x0) if one of the indices is empty or | |
8042 zero. | |
8043 | |
2658 | 8044 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8045 | |
8046 * cmd-hist.cc (command_history::read): New arg, must_exist. | |
8047 Set line_in_file here too. | |
8048 (command_history::read_range): New arg, must_exist. | |
8049 | |
2651 | 8050 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8051 | |
8052 * f2c-main.c: Change C++-style comments to C-style comments. | |
8053 | |
2638 | 8054 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8055 | |
8056 * Makefile.in (install-inc): Create a relative symbolic link. | |
8057 | |
2634 | 8058 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8059 | |
8060 * Version 2.0.2 released. | |
8061 | |
2624 | 8062 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8063 | |
8064 * Makefile.in (bin-dist): New target. | |
8065 | |
2621 | 8066 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8067 | |
8068 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. | |
8069 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. | |
8070 | |
2613 | 8071 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8072 | |
8073 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
8074 If the number of columns is zero, also set the number of rows to zero. | |
8075 (charMatrix::charMatrix (const char *)): Likewise. | |
8076 | |
2602 | 8077 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8078 | |
8079 * Version 2.0.1 released. | |
8080 | |
2601 | 8081 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8082 | |
8083 * dMatrix.cc (Matrix::read): Correctly compute the number of | |
8084 columns for resizing when the number of rows is specified but the | |
8085 number of columns is not. | |
8086 | |
2598 | 8087 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8088 | |
2599 | 8089 * Range.cc (operator -): New function. |
8090 | |
2598 | 8091 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
8092 | |
2589 | 8093 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8094 | |
8095 * Array2-idx.h (assign): Delay resizing left hand side until we | |
8096 know if the assignment conforms. | |
8097 | |
2583 | 8098 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8099 | |
8100 * Version 2.0 released. | |
8101 | |
2570 | 8102 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8103 | |
2575 | 8104 * Array2-idx.h (assign): If index is a colon, set number of |
8105 elements to the lhs dimension if the lhs dimension is greater than | |
8106 zero. Otherwise, set it to the rhs dimension. | |
8107 | |
8108 * Version 1.94. | |
8109 | |
2570 | 8110 * Array2-idx.h (assign): Test for rhs scalar case first. |
8111 If index is colon, set number of elements to lhs dimension, not | |
8112 rhs dimension. | |
8113 | |
2563 | 8114 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8115 | |
2566 | 8116 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
8117 * sun-utils.cc: Delete. | |
8118 * f2c-main.c: New file | |
8119 | |
8120 * Makefile.in: Fix file name lists. | |
8121 | |
2563 | 8122 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
8123 | |
2561 | 8124 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8125 | |
8126 * dMatrix.cc (Qzval): Don't try to use same memory three times. | |
8127 Create result using Complex constructor, not multiplication. | |
8128 Order elements as they are returned from Eispack. | |
8129 | |
2559 | 8130 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8131 | |
2560 | 8132 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
8133 Only include nan.h if SCO is defined. Define _IEEE before | |
8134 including it and undefine it afterward. | |
8135 [SCO] (isnan): Don't mistake Inf as NaN. | |
8136 | |
2559 | 8137 * Array-idx.h (assign): Only resize if assignment conforms. |
8138 | |
2551 | 8139 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8140 | |
8141 * Makefile.in (INCLUDES): Delete lo-error.h. | |
8142 * lo-error.h: Delete (moved to libcruft/misc). | |
8143 | |
8144 * Version 1.93. | |
8145 | |
2546 | 8146 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8147 | |
2549 | 8148 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
8149 be the same as they are in fnmatch.h. | |
8150 | |
2546 | 8151 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
8152 | |
8153 * Makefile.in (INCLUDES): Delete f77-fcn.h. | |
8154 (SOURCES): Delete f77-fcn.c. | |
8155 | |
2522 | 8156 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8157 | |
8158 * lo-ieee.h: [SCO]: Declare isinf and isnan. | |
8159 | |
2512 | 8160 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8161 | |
8162 * Version 1.92. | |
8163 | |
2508 | 8164 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8165 | |
2512 | 8166 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
8167 lines that have only carriage return or newline. | |
8168 | |
2508 | 8169 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
8170 | |
2500 | 8171 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8172 | |
8173 * idx-vector.cc (idx_is_inf_or_nan): New function. | |
8174 (IDX_VEC_REP::idx_vector_rep): Use it. | |
8175 | |
2493 | 8176 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8177 | |
8178 * str-vec.h, str-vec.cc: Add constructors to make string vectors | |
8179 from vectors of C strings. | |
8180 | |
8181 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string | |
8182 vector. | |
8183 (glob_match::match): Allow match string to be a string vector. | |
8184 (glob_match::glob): New function. | |
8185 | |
8186 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. | |
8187 | |
8188 * Array-b.cc: New file. | |
8189 * Makefile.in (TI_SRC): Add it to the list. | |
8190 | |
2492 | 8191 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8192 | |
8193 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h | |
8194 and safe-stat.h, to avoid getting them from $srcdir when we really | |
8195 want the version from the build directory. (Maybe this should be | |
8196 done for all the include files, not just those that are | |
8197 auto-generated? Hmm.) | |
8198 | |
2481 | 8199 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8200 | |
2482 | 8201 * Version 1.91. |
8202 | |
2481 | 8203 * Array3.cc (Array3<T>::resize): Make it work. |
8204 | |
8205 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8206 | |
8207 * oct-alloc.h, oct-alloc.cc: New files. | |
8208 * Makefile.in: Add them to the lists. | |
8209 | |
8210 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8211 | |
8212 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. | |
8213 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. | |
8214 | |
2466 | 8215 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8216 | |
8217 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, | |
8218 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
8219 file_stat::is_reg, file_stat::is_sock): Just return false if the | |
8220 underlying macro is not defined. | |
8221 | |
8222 * oct-math.h (lgamma, gamma): Delete declarations. | |
8223 (asinh, acosh, atanh, erf, erfc): Declare arg types too. | |
8224 Protect declarations with #ifdef HAVE_*. | |
8225 | |
2440 | 8226 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8227 | |
2452 | 8228 * Version 1.90. |
8229 | |
8230 * Makefile.in (DISTFILES): Add ChangeLog. | |
8231 | |
2444 | 8232 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
8233 | |
8234 * Matrix-ext.cc: Include <cfloat>, not <float.h>. | |
8235 | |
2443 | 8236 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444 | 8237 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
8238 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. | |
2443 | 8239 |
2440 | 8240 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
8241 since that is now accepatble syntax, even for built-in types. | |
8242 * Array2.h (T Array2<T>::checkelem): Likewise | |
8243 | |
2433 | 8244 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8245 | |
8246 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error | |
8247 message and return -1. | |
8248 | |
2428 | 8249 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8250 | |
2431 | 8251 * str-vec.h (str_vec_compare): Declare args as const void *, then |
8252 cast them to const string * in the body of the function. | |
8253 | |
8254 * file-ops.cc (file_stat::mode_as_string): Explicitly construct | |
8255 string from buf. | |
8256 | |
2428 | 8257 * Array3.h (Array3::checkelem): Tag bogus return value with |
8258 GCC_ATTRIBUTE_UNUSED. | |
8259 * Array2.h (Array2::checkelem): Likewise. | |
8260 | |
2424 | 8261 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8262 | |
8263 * Quad.h (Quad): Define virtual destructor. | |
8264 | |
2408 | 8265 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8266 | |
8267 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. | |
8268 | |
2401 | 8269 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8270 | |
8271 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ | |
8272 and MAIN__ extern "C". | |
8273 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. | |
8274 | |
2391 | 8275 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8276 | |
8277 * MArray-misc.cc: New file. | |
8278 * Makefile.in (MATRIX_SRC): Add it to the list. | |
8279 | |
8280 * mx-inlines.cc (equal): Return bool, not int. | |
8281 | |
8282 * idx-vector.h (idx_vector (double)): New constructor. | |
8283 | |
8284 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, | |
8285 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, | |
8286 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, | |
8287 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, | |
8288 CRowVector.cc: Logical operators return bool, not int. | |
8289 | |
8290 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): | |
8291 New function. | |
8292 | |
8293 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, | |
8294 Matrix::any_element_is_inf_or_nan, Matrix::abs, | |
8295 Matrix::all_elements_are_inf_or_nan): New functions. | |
8296 | |
8297 * Range.h, Range.cc (Range::all_elements_are_ints): New function. | |
8298 | |
8299 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant | |
8300 for errors. Simplify macros by converting FCN to string for error | |
8301 messages. | |
8302 | |
8303 * Array-idx.h (Array<T>::index): New function. Don't call | |
8304 clear_index() here. | |
8305 (Array<T>::value): Call it, do call clear_index() here. | |
8306 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for | |
8307 one and two arg index functions. | |
8308 | |
8309 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8310 | |
8311 * DAEFunc.h: Delete #pragma interface since there is no longer a | |
8312 separate implementation file. | |
8313 | |
2354 | 8314 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8315 | |
2358 | 8316 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
8317 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. | |
8318 | |
2356 | 8319 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
8320 sort_uniq. If sort_uniq is nonzero, sort the elements and make | |
8321 them uniq. | |
8322 | |
2354 | 8323 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
8324 ComplexMatrix::column_max, ComplexMatrix::column_min): | |
8325 Rewrite. Also return index as a reference arg. | |
8326 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, | |
8327 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): | |
8328 Delete. | |
8329 | |
8330 * dMatrix.cc (Matrix::row_max, Matrix::row_min, | |
8331 Matrix::column_max, Matrix::column_min): | |
8332 Rewrite. Also return index as a reference arg. | |
8333 (Matrix::row_max_loc, Matrix::row_min_loc, | |
8334 Matrix::column_max_loc, Matrix::column_min_loc): Delete. | |
8335 | |
8336 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8337 | |
8338 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, | |
8339 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, | |
8340 Matrix::column_min_loc, Matrix::column_max, | |
8341 Matrix::column_max_loc): Ignore leading NaNs. | |
8342 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, | |
8343 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, | |
8344 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, | |
8345 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore | |
8346 leading NaNs. | |
8347 | |
2352 | 8348 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8349 | |
8350 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds | |
8351 starting at n, not 0. | |
8352 | |
2349 | 8353 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8354 | |
8355 * dMatrix.cc (Matrix::Matrix (const RowVector&), | |
8356 Matrix::Matrix (const ColumnVector&)): New constructors. | |
8357 | |
8358 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), | |
8359 ComplexMatrix::ComplexMatrix (const ColumnVector&), | |
8360 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), | |
8361 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): | |
8362 New constructors. | |
8363 | |
8364 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): | |
8365 New constructor. | |
8366 | |
2343 | 8367 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8368 | |
8369 * LSODE.cc (do_integrate): Check to make sure that the state and | |
8370 derivative vectors are the same size. | |
2344 | 8371 * DASSL.cc (do_integrate): Likewise. |
2343 | 8372 |
2330 | 8373 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8374 | |
8375 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use | |
8376 iostreams and handler data format conversions. Delete old methods | |
8377 that used stdio. | |
8378 | |
8379 * data-conv.h, data-conv.cc (oct_data_conv): New class. | |
8380 | |
8381 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8382 | |
8383 * mach-info.h: Rename from float-fmt.h. | |
8384 * mach-info.cc: Rename from float-fmt.cc. | |
8385 Handle machine information using a singlton class. | |
8386 * Makefile.in: Update appropriate lists. | |
8387 | |
8388 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8389 | |
8390 * Array-flags.cc: Provide definitions for the flags even if | |
8391 OCTAVE_SOURCE is not defined. | |
8392 | |
8393 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects | |
8394 operator(), not elem(). | |
8395 * Array3.h: Move indexing methods here from Array3.cc. | |
8396 | |
8397 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8398 | |
8399 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). | |
8400 | |
8401 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of | |
8402 INSTALL_DATA for shared libs. | |
8403 | |
8404 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8405 | |
8406 * Quad.cc: Include lo-error.h here too. | |
8407 | |
8408 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8409 | |
8410 * file-ops.h: Include sys/types.h here. | |
8411 | |
8412 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8413 | |
8414 * chMatrix.cc (charMatrix::transpose): Provide definition. | |
8415 | |
8416 * Array-idx.h (maybe_delete_elements): Correctly compute number of | |
8417 elements in result. | |
8418 * Array2-idx.h (maybe_delete_elements): Likewise for number of | |
8419 rows and columns in result. | |
8420 | |
8421 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8422 | |
8423 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. | |
8424 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. | |
8425 | |
8426 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8427 | |
8428 * Makefile.in (install-inc): Install in octincludedir, not includedir. | |
8429 | |
8430 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8431 | |
8432 * Makefile.in (uninstall): Also delete shared library. | |
8433 Split install into install-libs and install-includes. | |
8434 (install-inc): If linkdir is a directory, leave it alone. | |
8435 | |
8436 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. | |
8437 | |
8438 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8439 | |
8440 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. | |
8441 * Array2-idx.h (assign): Likewise. | |
8442 | |
8443 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8444 | |
8445 * Array2.cc (Array2<T>::range_error): New functions. | |
8446 | |
8447 * Array.h (class Array<T>): elem() and operator() are now | |
8448 equivalent, and do bounds checking by default. | |
8449 * Array2.cc (class Array2<T>): Likewise. | |
8450 | |
8451 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8452 | |
8453 * Makefile.in (maintainer-clean, distclean): Also delete | |
8454 stamp-picdir, stamp-shared, and pic directory. | |
8455 (stamp-prereq): New target. | |
8456 | |
8457 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8458 | |
8459 * NPSOL.h (NPSOL_options::set_option (const char *, int)): | |
8460 New function. | |
8461 | |
8462 * Array.h, Array.cc (Array<T>::range_error ()): New functions. | |
8463 * Array.h (Array<T>::checkelem): Use them. | |
8464 | |
8465 * base-lu.h, base-lu.cc: Parameterize based on types of matrix | |
8466 elements too. | |
8467 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. | |
8468 | |
8469 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. | |
8470 | |
8471 * Makefile.in (distclean): Delete so_locations, which is created | |
8472 on DEC Alpha systems. | |
8473 | |
8474 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8475 | |
8476 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not | |
8477 already defined. | |
8478 | |
8479 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8480 | |
8481 * pathsearch.cc: Include config.h. | |
8482 | |
8483 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8484 | |
8485 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't | |
8486 allow M(I, J) = scalar if I or J is empty. | |
8487 | |
8488 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h | |
8489 and Array3-idx.h). | |
8490 | |
8491 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8492 | |
8493 * lo-error.h: Make comments C friendly. | |
8494 | |
8495 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8496 | |
8497 * Array2.h (make_unique): Move all indexing functions here. | |
8498 * Array2.cc: From here. | |
8499 | |
8500 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control | |
8501 whether operator() calls elem or checkelem. | |
8502 | |
8503 * Array.h (make_unique): New private function. | |
8504 Move all indexing functions here. | |
8505 * Array.cc: From here. | |
8506 | |
8507 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference | |
8508 it too. | |
8509 | |
8510 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, | |
8511 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, | |
8512 MArray-C.cc: Include config.h. | |
8513 | |
8514 * Array.h, Array2.h, DiagArray2.h, Array3.h: | |
8515 Don't define HEAVYWEIGHT_INDEXING here. | |
8516 | |
8517 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8518 | |
8519 * base-lu.h, base-lu.cc: New files. | |
8520 * Makefile.in: Add them to the appropriate lists. | |
8521 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. | |
8522 | |
8523 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8524 | |
8525 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h | |
8526 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h | |
8527 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. | |
8528 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. | |
8529 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. | |
8530 | |
8531 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. | |
8532 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. | |
8533 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. | |
8534 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: | |
8535 Simplify using new macros. | |
8536 | |
8537 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8538 | |
8539 * Makefile.in (install): If $(includedir) ends in version string, | |
8540 make link to name that does not include version info. | |
8541 | |
8542 * lo-ieee.cc: Include <cmath> here. | |
8543 | |
8544 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8545 | |
8546 * lo-ieee.cc, lo-ieee.h: New files. | |
8547 * lo-mappers.cc, lo-mappers.h: New files. | |
8548 * lo-utils.cc, lo-utils.h: New files. | |
8549 * Makefile.in: Add them to the appropriate lists. | |
8550 | |
8551 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8552 | |
8553 * dMatrix.cc (all_integers, too_large_for_float): New functions. | |
8554 * CMatrix.cc (all_integers, too_large_for_float): New functions. | |
8555 | |
8556 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, | |
8557 float-fmt.cc: New files. | |
8558 * Makefile.in: Include them in the appropriate lists. | |
8559 | |
8560 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8561 | |
8562 * dMatrix.cc (Qzval): New function. | |
8563 | |
8564 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8565 | |
8566 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not | |
8567 char*. | |
8568 | |
8569 * DASSL.h, DASSL.cc: Do better management of temporary workspace. | |
8570 Use F77_XFCN to call Fortran subroutine. | |
8571 * dColVector.cc, CColVector.cc: Likewise. | |
8572 * dRowVector.cc, CRowVector.cc: Likewise. | |
8573 * NPSOL.h, NPSOL.cc: Likewise. | |
8574 * CmplxCHOL.cc: Likewise. | |
8575 * dbleCHOL.cc: Likewise. | |
8576 * CMatrix.cc: Likewise. | |
8577 * dMatrix.cc: Likewise. | |
8578 * QPSOL.cc: Likewise. | |
8579 * LSODE.cc: Likewise. | |
8580 | |
8581 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8582 | |
8583 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. | |
8584 | |
8585 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary | |
8586 workspace. Use F77_XFCN to call Fortran subroutine. | |
8587 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. | |
8588 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. | |
8589 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. | |
8590 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. | |
8591 * CmplxHESS.h, CmplxHESS.cc: Likewise. | |
8592 * CmplxSVD.h, CmplxSVD.cc: Likewise. | |
8593 * dbleHESS.h, dbleHESS.cc: Likewise. | |
8594 * dbleSVD.h, dbleSVD.cc: Likewise. | |
8595 * EIG.h, EIG.cc; Likewise. | |
8596 * CollocWt.cc: Likewise. | |
8597 * NLEqn.cc: Likewise. | |
8598 * Quad.cc: Likewise. | |
8599 | |
8600 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8601 | |
8602 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. | |
8603 Use F77_XFCN to call Fortran subroutine. | |
8604 * CmplxLU.h, CmplxLU.cc: Ditto. | |
8605 * dbleQR.h, dbleQR.cc: Ditto. | |
8606 * CmplxQR.h, CmplxQR.cc: Ditto. | |
8607 * dbleQRP.h, dbleQRP.cc: Ditto. | |
8608 * CmplxQRP.h, CmplxQRP.cc: Ditto. | |
8609 | |
8610 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. | |
8611 (struct DIR): delete forward declaration. | |
8612 (dir_entry::operator = (const dir_entry$)): Protect against | |
8613 copying same object. | |
8614 * dir-ops.cc: Cast dir appropriately. | |
8615 | |
8616 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8617 | |
8618 * lo-error.cc: Moved to libcruft/misc. | |
8619 * Makefile.in: Delete it from the list. | |
8620 | |
8621 * f77-fcn.c (f77_context, f77_exception_encountered): Delete | |
8622 definitions (they have been moved to libcruft/misc/f77-extern.cc). | |
8623 | |
8624 * Array-flags.h: New file. | |
8625 * Array-idx.h: Include it here. | |
8626 * Makefile.in (MATRIX_INC): Add it to the list. | |
8627 | |
8628 * Array-flags.cc: Renamed from Array-ext.cc. | |
8629 (liboctave_dfi_flag): Renamed from dfi_flag. | |
8630 (liboctave_pcv_flag): Renamed from pcv_flag. | |
8631 (liboctave_pzo_flag): Renamed from pzo_flag. | |
8632 (liboctave_rre_flag): Renamed from rre_flag. | |
8633 * Array-idx.h: Change all uses of dfi_flag, etc. | |
8634 * Makefile.in (MATRIX_SRC): Change file name here too. | |
8635 | |
8636 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. | |
8637 (stamp-shared): Use them here. | |
8638 | |
8639 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8640 | |
8641 * cmd-hist.cc (command_history::ignore_entries): Delete default | |
8642 argument value. | |
8643 | |
8644 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8645 | |
8646 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, | |
8647 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, | |
8648 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, | |
8649 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: | |
8650 Clean up constructors, assigment operator. | |
8651 | |
8652 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8653 | |
8654 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. | |
8655 Check f77_exception_encountered on return. | |
8656 | |
8657 * f77-fcn.c (f77_exception_encountered): New variable. | |
8658 (F77_XFCN): Set it. | |
8659 * f77-fcn.h: Provide declaration. | |
8660 | |
8661 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). | |
8662 | |
8663 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). | |
8664 | |
8665 * NLEqn.h (NLEqn_options::set_options): New function. | |
8666 * Quad.h (Quad_options::set_options): Likewise. | |
8667 | |
8668 * LP.h (class LP): Add accessors for LP data. | |
8669 | |
8670 * NLEqn.h (NLEqn::n): Delete. | |
8671 | |
8672 * NLEqn.h (class NLEqn::n): Likewise. | |
8673 | |
8674 * NLP.h (class NLP): Add accessors for NLP data. | |
8675 | |
8676 * NPSOL.h (class NPSOL_options): Move constructors, set, and | |
8677 access functions here. | |
8678 * NPSOL.cc.cc: From here. | |
8679 | |
8680 * QLD.h (class QLD): Add destructor definition. | |
8681 * Objective.h (class Objective): Likewise. | |
8682 * ODEFunc.h (class ODEFunc): Likewise. | |
8683 * NLFunc.h (class NLFunc): Likewise. | |
8684 * NLEqn.h (class NLEqn): Likewise. | |
8685 * NLConst.h (class NLConst): Likewise. | |
8686 * LinConst.h (class LinConst): Likewise. | |
8687 * LSODE.h (class LSODE_options): Likewise. | |
8688 * CollocWt.h (class CollocWt): Likewise. | |
8689 * Bounds.h (class Bounds): Likewise. | |
8690 | |
8691 * QLD.cc (QLD::set_default_options): Delete. | |
8692 | |
8693 * QP.h (QP): Add accessors for QP data. | |
8694 Add copy constructor, operator =, and destructor definitions. | |
8695 | |
8696 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, | |
8697 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, | |
8698 DAEFunc.h, CollocWt.h, Bounds.h: | |
8699 Clean up constructors, assigment operator. | |
8700 | |
8701 * dRowVector.cc (RowVector::transpose): Use magic of reference | |
8702 counting to avoid duplicating the data immediately. | |
8703 * dColVector.cc (ColumnVector::transpose): Likewise. | |
8704 * CRowVector.cc (ComplexrowVector::transpose): Likewise. | |
8705 * CColVector.cc (ComplexColumnVector::transpose): Likewise. | |
8706 | |
8707 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8708 | |
8709 * prog-args.h (prog_args::option_argument): New enum. | |
8710 | |
8711 * f77-fcn.h: Rename from f77-uscore.h. | |
8712 (F77_XFCN_ERROR, F77_XFCN): New macros. | |
8713 * f77-fcn.c: New file. | |
8714 * Makefile.in (SOURCES): Add it to the list. | |
8715 | |
8716 * ODEFunc.h: Clean up. | |
8717 | |
8718 * DASSL.cc, DASSL.h: New files. | |
8719 * Makefile.in: Add them to the appropriate lists. | |
8720 | |
8721 * LSODE.cc, LSODE.h: New files. | |
8722 * Makefile.in: Add them to the appropriate lists. | |
8723 | |
8724 * ODE.cc: Delete. | |
8725 * Makefile.in (SOURCES): Remove from list. | |
8726 | |
8727 * base-de.h, DAE.cc: New files. | |
8728 * Makefile.in: Add them to the appropriate lists. | |
8729 * ODE.h: Only define interface for ODE classes. | |
8730 * DAE.h: Only define interface for ODE classes. | |
8731 | |
8732 * LPsolve.cc (do_minimize): Print sorry not implemented message. | |
8733 (LPsolve::set_default_options)): Delete | |
8734 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and | |
8735 destructor. | |
8736 | |
8737 * LP.h (class LP): Add operator =, copy constructor, and destructor. | |
8738 | |
8739 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. | |
8740 (QPSOL::operator =): Call base class operator = instead of assuming | |
8741 we know what to copy. | |
8742 | |
8743 * base-min.h (size): New function. | |
8744 | |
8745 * NLP.h (NLP::size): Delete. | |
8746 (NLP::NLP (const NLP&)): New constructor. | |
8747 (NLP::operator =): Call base class operator = instead of assuming | |
8748 we know what to copy. | |
8749 | |
8750 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. | |
8751 (class NPSOL): Add operator = and destructor. | |
8752 | |
8753 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. | |
8754 | |
8755 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8756 | |
8757 * Makefile.in (liboctave.a): Depend on $(PICOBJ). | |
8758 | |
8759 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8760 | |
8761 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. | |
8762 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. | |
8763 | |
8764 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8765 | |
8766 * prog-args.h, prog-args.cc: New files. | |
8767 * Makefile.in: Add them to lists. | |
8768 | |
8769 * getopt.h, getopt.c, getopt1.c: New files. | |
8770 * Makefile.in: Add them to the lists. | |
8771 | |
8772 * oct-term.h, oct-term.cc: New files. | |
8773 * Makefile.in: Add them to the lists. | |
8774 | |
8775 * str-vec.cc: New file. | |
8776 * Makefile.in (SOURCES): Add it to the list. | |
8777 | |
8778 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. | |
8779 | |
8780 * tempname.c, tempnam.c: Move here from src directory. | |
8781 * Makefile.in: Add to lists. | |
8782 | |
8783 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8784 | |
8785 * cmd-hist.h, cmd-hist.cc: New files. | |
8786 * Makefile.in: Add them to lists. | |
8787 | |
8788 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8789 | |
8790 * oct-glob.h, oct-glob.cc: New files. | |
8791 * Makefile.in: Add them to lists. | |
8792 | |
8793 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8794 | |
8795 * pathsearch.h, pathsearch.cc: New files. | |
8796 * Makefile.in: Add them to lists. | |
8797 | |
8798 * dir-ops.h, dir-ops.cc: New files. | |
8799 * sysdir.h: Move here from src directory. | |
8800 * Makefile.in: Add them to lists. | |
8801 | |
8802 * Array.h (Array::qsort): Return *this, not void. | |
8803 * str-vec.h (string_vector::qsort): Likewise. | |
8804 | |
8805 * chMatrix.cc (row_as_string): Resize result to eliminate | |
8806 unnecessary NULs. | |
8807 | |
8808 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8809 | |
8810 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, | |
8811 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: | |
8812 Files moved here from src directory. | |
8813 * Makefile.in: Add them to lists. Include appropriate rules. | |
8814 | |
8815 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
8816 Use pointers, not references (this is C code!). | |
8817 | |
8818 * oct-math.h: New file. | |
8819 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
8820 Files moved here from src directory. | |
8821 * Makefile.in: Add them to lists. | |
8822 | |
8823 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8824 | |
8825 * idx-vector.cc (make_uniq): Fix major brain-o. | |
8826 | |
8827 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: | |
8828 Convert to use string class instead of char*. | |
8829 | |
8830 * str-vec.h, Array-str.cc: New files. | |
8831 | |
8832 * Array.h (Array::qsort): New function. | |
8833 | |
8834 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8835 | |
8836 * Array.h: Nest ArrayRep class inside Array class. | |
8837 Refer to ArrayRep, not ArrayRep<T>. | |
8838 Move all ArrayRep functions inline. | |
8839 Don't declare other Array classes as friends of ArrayRep. | |
8840 * Array.cc: Delete ArrayRep functions. | |
8841 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. | |
8842 | |
8843 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: | |
8844 Don't instantiate ArrayRep objects. | |
8845 | |
8846 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8847 | |
8848 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
8849 New constructor. | |
8850 | |
8851 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8852 | |
8853 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* | |
8854 for balance_job arg. | |
8855 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. | |
8856 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. | |
8857 | |
8858 * chMatrix.cc (row_as_string): Return string, not const char*. | |
8859 | |
8860 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8861 | |
8862 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. | |
8863 | |
8864 * chMatrix.cc (row_as_string): Undo previous change. | |
8865 | |
8866 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8867 | |
8868 * chMatrix.cc (row_as_string): Do memory management here. Caller | |
8869 is expected to save string if necessary. | |
8870 | |
8871 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8872 | |
8873 * Array.h (class DiagArray): Enable nested Proxy class for all | |
8874 platforms. | |
8875 | |
8876 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == | |
8877 a.rep, don't mess with count. | |
8878 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, | |
8879 don't do anything if reps are the same. | |
8880 (Array3<T>& operator = (const Array3<T>&) | |
8881 | |
8882 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): | |
8883 Declare private with no definition to prevent misuse. | |
8884 | |
8885 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): | |
8886 Get range check right. | |
8887 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. | |
8888 (Matrix::insert (const ColumnVector&, int, int)): Ditto. | |
8889 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. | |
8890 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. | |
8891 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. | |
8892 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. | |
8893 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. | |
8894 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. | |
8895 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. | |
8896 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. | |
8897 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. | |
8898 * dColVector.cc | |
8899 (ColumnVector::insert (const ColumnVector&, int)): Ditto. | |
8900 * CRowVector.cc | |
8901 (ComplexRowVector::insert (const RowVector&, int)): Ditto. | |
8902 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. | |
8903 * CColVector.cc | |
8904 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. | |
8905 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. | |
8906 | |
8907 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): | |
8908 Also fill in zeros, not just the diagonal. | |
8909 | |
8910 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): | |
8911 Use END parameter properly. | |
8912 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. | |
8913 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. | |
8914 | |
8915 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. | |
8916 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. | |
8917 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): | |
8918 Don't copy count. Set it to 1. | |
8919 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. | |
8920 | |
8921 * Array.h (Array<T>::Array (T *, int)): After constructing rep, | |
8922 don't set rep->count to 1 here (now handled by ArrayRep | |
8923 constructors). | |
8924 (Array<T>::Array (void)): Ditto. | |
8925 (Array<T>::Array (int)): Ditto. | |
8926 (Array<T>::T& elem (int)): Ditto. | |
8927 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. | |
8928 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. | |
8929 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. | |
8930 (Array<T>::resize (int)): Ditto. | |
8931 (Array<T>::resize (int, const T&)) :Ditto. | |
8932 (Array<T>::fortran_vec (void)): Ditto. | |
8933 (Array2<T>::resize (int, int)): Ditto. | |
8934 (Array2<T>::resize (int, int, const T&)): Ditto. | |
8935 (DiagArray<T>::resize (int, int)): Ditto. | |
8936 (DiagArray<T>::resize (int, int, const T&)): Ditto. | |
8937 | |
8938 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8939 | |
8940 * Array-ch.cc: Rename from Array-c.cc. | |
8941 * MArray-ch.cc: Rename from MArray-c.cc. | |
8942 * chMatrix.cc: Rename from cMatrix.cc. | |
8943 * chMatrix.h: Rename from cMatrix.h. | |
8944 * Makefile.in (TI_SRC): Use new names here. | |
8945 * mx-base.h: Likewise. | |
8946 | |
8947 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8948 | |
8949 * Makefile.in: Handle shared libraries. | |
8950 | |
8951 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8952 | |
8953 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): | |
8954 Correctly compute length of return value. Correct rows and | |
8955 columns in zgemv call. | |
8956 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. | |
8957 | |
8958 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8959 | |
8960 * Makefile.in (stamp-picdir): New target. | |
8961 (all): Depend on it. | |
8962 | |
8963 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8964 | |
8965 * Makefile.in (INCLUDES): Remove QLD.h. | |
8966 (SOURCES): Remove QLD.cc. | |
8967 | |
8968 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8969 | |
8970 * dMatrix.cc (Matrix::inverse): New arg, force. | |
8971 If force is nonzero, invert even if matrix is singular. | |
8972 (ComplexMatrix::inverse): Likewise. | |
8973 | |
8974 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, | |
8975 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, | |
8976 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: | |
8977 Include "oct-cmplx.h" instead of <Complex.h>. | |
8978 | |
8979 * mx-defs.h: Include oct-cmplx.h in place of forward declaration | |
8980 for class Complex. | |
8981 | |
8982 * oct-cmplx.h: New file. | |
8983 * Makefile.in (INCLUDES): Add it to the list. | |
8984 | |
8985 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. | |
8986 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. | |
8987 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. | |
8988 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): | |
8989 Avoid g++ bugs. | |
8990 | |
8991 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8992 | |
8993 * Array-idx.h (maybe_delete_elements): Give useful error message. | |
8994 | |
8995 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. | |
8996 | |
8997 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8998 | |
8999 * CDiagMatrix.cc (inverse): Return retval, not *this. | |
9000 * dDiagMatrix.cc (inverse): Use same method as for Complex case. | |
9001 | |
9002 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9003 | |
9004 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep | |
9005 index vector object with Array, not ArrayRep. | |
9006 | |
9007 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9008 | |
9009 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail | |
9010 if index is a colon and resizing is maybe needed. | |
9011 | |
9012 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9013 | |
9014 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true | |
9015 if we have a vector of 1's. | |
9016 | |
9017 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no | |
9018 current orientation, require index and rhs to conform unless | |
9019 do_fortran_indexing flag is set. | |
9020 | |
9021 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9022 | |
9023 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, | |
9024 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, | |
9025 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, | |
9026 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, | |
9027 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: | |
9028 Massive changes to support additional data types. Only charMatrix | |
9029 is currently used in Octave. | |
9030 | |
9031 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9032 | |
9033 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. | |
9034 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): | |
9035 Simply call Array2<Complex> version. | |
9036 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just | |
9037 call Array2<double> version. | |
9038 | |
9039 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. | |
9040 | |
9041 * Array.h, Array.cc: Massive overhaul to support new way of | |
9042 handling indexing. | |
9043 * idx-vector.h, idx-vector.cc: Likewise. | |
9044 * Array-ext.cc, Array-idx.h: New files. | |
9045 * Makefile.in: Add them to the appropriate lists. | |
9046 | |
9047 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9048 | |
9049 * Range.cc (nelem_internal): Use tfloor here, not round. | |
9050 | |
9051 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9052 | |
9053 * idx-vector.h, idx-vector.cc: New files, moved from ../src. | |
9054 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. | |
9055 | |
9056 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9057 | |
9058 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. | |
9059 | |
9060 * Array.h: Move simple member functions here. | |
9061 * Array.cc: From here. | |
9062 | |
9063 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9064 | |
9065 * Range.cc (tfloor, tceil, round): New static functions. | |
9066 (Range::nelem_internal): Rewrite to use better method. | |
9067 | |
9068 * dbleSVD.h (SVD::type): New item, sigma_only. | |
9069 (type_computed): New var. | |
9070 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): | |
9071 Handle possible error condition. | |
9072 (init): Allow for SVD::sigma_only, save type computed. | |
9073 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): | |
9074 Handle possible error condition. | |
9075 (init): Allow for SVD::sigma_only, save type computed. | |
9076 | |
9077 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9078 | |
9079 * Nearly all non-matrix .h and .cc files: | |
9080 Move short function bodies into class declarations for inlining. | |
9081 Generally clean up. | |
9082 | |
9083 * base-min.h: New file. | |
9084 * LP.h (class LP): Derive from base_minimizer. | |
9085 * QLP.h (class QLP): Derive from base_minimizer. | |
9086 * NLP.h (class NLP): Derive from base_minimizer. | |
9087 * Makefile.in (INCLUDES): Add base-min.h to the list. | |
9088 | |
9089 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, | |
9090 NLFunc.cc, Objective.cc and QP.cc from list. | |
9091 | |
9092 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9093 | |
9094 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. | |
9095 (SCHUR::SCHUR): Delete unused parameter ord. | |
9096 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. | |
9097 | |
9098 * CRowVector.cc | |
9099 (ComplexRowVector::operator+ (const Complex&, const RowVector&), | |
9100 (ComplexRowVector::operator- (const Complex&, const RowVector&), | |
9101 (ComplexRowVector::operator* (const Complex&, const RowVector&), | |
9102 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): | |
9103 Actually do something. | |
9104 | |
9105 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. | |
9106 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. | |
9107 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. | |
9108 | |
9109 * Quad.cc (Quad_options::Quad_options (double, double)): New function. | |
9110 * (Quad::Quad (integrand_fcn, double, double): Properly initialize | |
9111 tolerances. | |
9112 | |
9113 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. | |
9114 * LPsolve.cc (LPsolve::minimize): Likewise. | |
9115 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. | |
9116 * ODE.cc (lsode_f, lsode_j): Likewise. | |
9117 * QPSOL.cc (qphess): Likewise. | |
9118 | |
9119 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9120 | |
9121 * dMatrix.cc: Include <cstring>. | |
9122 | |
9123 * Array.cc: Try harder to avoid warnings from gcc in functions | |
9124 that return bogus values after calling the error handler. | |
9125 | |
9126 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9127 | |
9128 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. | |
9129 | |
9130 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. | |
9131 | |
9132 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9133 | |
9134 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. | |
9135 (dassl_j): Likewise. | |
9136 | |
9137 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, | |
9138 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, | |
9139 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: | |
9140 Update for change in for loop variable scope for gcc 2.7.0. | |
9141 | |
9142 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9143 | |
9144 * Makefile.in: Only include dependency files if $(omit_deps) is | |
9145 not set. | |
9146 | |
9147 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) | |
9148 | |
9149 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h | |
9150 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h | |
9151 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h | |
9152 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h | |
9153 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h | |
9154 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h | |
9155 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h | |
9156 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h | |
9157 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc | |
9158 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc | |
9159 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc | |
9160 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc | |
9161 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc | |
9162 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc | |
9163 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc | |
9164 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc | |
9165 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc | |
9166 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h | |
9167 NLP.h: Use pragma interface/implementation. Don't surround | |
9168 contents in extern "C++". | |
9169 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". | |
9170 | |
9171 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9172 | |
9173 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase | |
9174 identifiers. | |
9175 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
9176 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
9177 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
9178 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
9179 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
9180 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
9181 Quad.cc: Change usage of F77_FCN to match new definition | |
9182 | |
9183 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
9184 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
9185 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
9186 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
9187 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
9188 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
9189 Quad.cc: Where appropriate, declare Fortran subroutines to take | |
9190 args by reference instead of pointer. Change all callers. | |
9191 | |
9192 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9193 | |
9194 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New | |
9195 functions. Make += and -= operators friend functions. | |
9196 | |
9197 * Array.h (Array2::~Array2, Array3::~Array3, | |
9198 DiagArray::~DiagArray): New functions. | |
9199 | |
9200 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9201 | |
9202 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. | |
9203 (MATRIX_INC): Don't distribute mx-kludge.h. | |
9204 | |
9205 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
9206 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
9207 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
9208 dRowVector.h dRowVector.cc: | |
9209 Derive classes from MArray, MArray2, and MDiagArray, not Array, | |
9210 Array2, and DiagArray2. | |
9211 Don't use functions defined in mx-kludge.cc for arithmetic | |
9212 like-type operations on arrays. | |
9213 | |
9214 * MArray.cc: Use the classes defined here like-type mathematical | |
9215 operations on Array objects. Abuse CPP more. | |
9216 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
9217 (EXTRAS): Delete it from this list. | |
9218 | |
9219 * MArray-C.cc, MArray-d.cc: New files. | |
9220 * Makefile.in (TI_SRC): Add them to the list. | |
9221 | |
9222 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9223 | |
9224 * mx-kludge.cc: Abuse CPP even more. | |
9225 | |
9226 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9227 | |
9228 * Objective.h (objective_function): Add missing const. | |
9229 (gradient_function): Likewise. | |
9230 | |
9231 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
9232 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
9233 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
9234 dRowVector.h dRowVector.cc: | |
9235 Reorganize to declare and define friends where they should be, | |
9236 based on the use of private constructors. | |
9237 | |
9238 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9239 | |
9240 * CRowVector.h (linspace): Add declaration. | |
9241 * dRowVector.h (linspace): Likewise. | |
9242 | |
9243 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
9244 Force result of rcond + 1.0 to be stored. | |
9245 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, | |
9246 ComplexMatrix::solve): Likewise. | |
9247 | |
9248 See ChangeLog.1 in the top level directory for earlier changes. |