Mercurial > hg > octave-nkf
annotate liboctave/ChangeLog @ 10278:4a278982c0fe
use gnulib progname module
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 08 Feb 2010 17:30:23 -0500 |
parents | 3a8c13b71612 |
children | 323c9cbbd02a |
rev | line source |
---|---|
10278
4a278982c0fe
use gnulib progname module
John W. Eaton <jwe@octave.org>
parents:
10273
diff
changeset
|
1 2010-02-08 John W. Eaton <jwe@octave.org> |
4a278982c0fe
use gnulib progname module
John W. Eaton <jwe@octave.org>
parents:
10273
diff
changeset
|
2 |
4a278982c0fe
use gnulib progname module
John W. Eaton <jwe@octave.org>
parents:
10273
diff
changeset
|
3 * oct-env.cc (octave_env::prog_invocation_name): Rename from |
4a278982c0fe
use gnulib progname module
John W. Eaton <jwe@octave.org>
parents:
10273
diff
changeset
|
4 program_invocation_name. Change all uses. |
4a278982c0fe
use gnulib progname module
John W. Eaton <jwe@octave.org>
parents:
10273
diff
changeset
|
5 (octave_env::prog_name): Rename from program_name. Change all uses. |
4a278982c0fe
use gnulib progname module
John W. Eaton <jwe@octave.org>
parents:
10273
diff
changeset
|
6 (octave_env::do_set_program_name): Call ::set_program_name |
4a278982c0fe
use gnulib progname module
John W. Eaton <jwe@octave.org>
parents:
10273
diff
changeset
|
7 function from gnulib. |
4a278982c0fe
use gnulib progname module
John W. Eaton <jwe@octave.org>
parents:
10273
diff
changeset
|
8 |
10273
3a8c13b71612
implement special-case optimization for sort of index vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10270
diff
changeset
|
9 2010-02-08 Jaroslav Hajek <highegg@gmail.com> |
3a8c13b71612
implement special-case optimization for sort of index vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10270
diff
changeset
|
10 |
3a8c13b71612
implement special-case optimization for sort of index vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10270
diff
changeset
|
11 * idx-vector.h (idx_vector::idx_base_rep::sort_idx): New pure virtual |
3a8c13b71612
implement special-case optimization for sort of index vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10270
diff
changeset
|
12 function. |
3a8c13b71612
implement special-case optimization for sort of index vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10270
diff
changeset
|
13 (idx_vector::idx_colon_rep::sort_idx, |
3a8c13b71612
implement special-case optimization for sort of index vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10270
diff
changeset
|
14 idx_vector::idx_range_rep::sort_idx, |
3a8c13b71612
implement special-case optimization for sort of index vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10270
diff
changeset
|
15 idx_vector::idx_scalar_rep::sort_idx, |
3a8c13b71612
implement special-case optimization for sort of index vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10270
diff
changeset
|
16 idx_vector::idx_vector_rep::sort_idx, |
3a8c13b71612
implement special-case optimization for sort of index vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10270
diff
changeset
|
17 idx_vector::idx_mask_rep::sort_idx): New override decls. |
3a8c13b71612
implement special-case optimization for sort of index vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10270
diff
changeset
|
18 idx_vector::sort (Array<octave_idx_type>&): New method. |
3a8c13b71612
implement special-case optimization for sort of index vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10270
diff
changeset
|
19 * idx-vector.cc (idx_vector::idx_range_rep::sort_idx, |
3a8c13b71612
implement special-case optimization for sort of index vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10270
diff
changeset
|
20 idx_vector::idx_vector_rep::sort_idx): New methods. |
3a8c13b71612
implement special-case optimization for sort of index vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10270
diff
changeset
|
21 (idx_vector::idx_vector_rep::sort_uniq_clone): Rewrite |
3a8c13b71612
implement special-case optimization for sort of index vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10270
diff
changeset
|
22 to use bucket sort under plausible circumstances. |
3a8c13b71612
implement special-case optimization for sort of index vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10270
diff
changeset
|
23 |
10270 | 24 2010-02-08 Jaroslav Hajek <highegg@gmail.com> |
25 | |
26 * Array.cc (Array<T>::permute): Fix result dimensions when inv=true. | |
27 | |
10268
9a16a61ed43d
new optimizations for accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
10267
diff
changeset
|
28 2010-02-05 Jaroslav Hajek <highegg@gmail.com> |
9a16a61ed43d
new optimizations for accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
10267
diff
changeset
|
29 |
9a16a61ed43d
new optimizations for accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
10267
diff
changeset
|
30 * MArrayN.cc (MArrayN::idx_min, MArrayN::idx_max): New methods. |
9a16a61ed43d
new optimizations for accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
10267
diff
changeset
|
31 * MArrayN.h: Declare them. |
9a16a61ed43d
new optimizations for accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
10267
diff
changeset
|
32 * lo-mappers.h (xmin, xmax): Define for general arguments. |
9a16a61ed43d
new optimizations for accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
10267
diff
changeset
|
33 |
10267
479c7df0cc96
don't instantiate MArray<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10266
diff
changeset
|
34 2010-02-04 Jaroslav Hajek <highegg@gmail.com> |
479c7df0cc96
don't instantiate MArray<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10266
diff
changeset
|
35 |
479c7df0cc96
don't instantiate MArray<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10266
diff
changeset
|
36 * chMatrix.h (charMatrix): Rebase directly on Array<char>. |
479c7df0cc96
don't instantiate MArray<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10266
diff
changeset
|
37 * chNDArray.h (charNDArray): Ditto. |
479c7df0cc96
don't instantiate MArray<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10266
diff
changeset
|
38 * chMatrix.cc: Update. |
479c7df0cc96
don't instantiate MArray<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10266
diff
changeset
|
39 * chNDArray.cc: Update. |
479c7df0cc96
don't instantiate MArray<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10266
diff
changeset
|
40 * MArray-ch.cc: Remove. |
479c7df0cc96
don't instantiate MArray<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10266
diff
changeset
|
41 * Makefile.am: Update. |
479c7df0cc96
don't instantiate MArray<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10266
diff
changeset
|
42 |
10266
82db36545def
use gnulib gethostname module
John W. Eaton <jwe@octave.org>
parents:
10259
diff
changeset
|
43 2010-02-04 John W. Eaton <jwe@octave.org> |
82db36545def
use gnulib gethostname module
John W. Eaton <jwe@octave.org>
parents:
10259
diff
changeset
|
44 |
82db36545def
use gnulib gethostname module
John W. Eaton <jwe@octave.org>
parents:
10259
diff
changeset
|
45 * lo-cutils.c (gethostname): Delete function. |
82db36545def
use gnulib gethostname module
John W. Eaton <jwe@octave.org>
parents:
10259
diff
changeset
|
46 * lo-sysdep.h (gethostname): Delete declaration. |
82db36545def
use gnulib gethostname module
John W. Eaton <jwe@octave.org>
parents:
10259
diff
changeset
|
47 |
10259 | 48 2010-02-03 John W. Eaton <jwe@octave.org> |
49 | |
50 * oct-syscalls.h, oct-syscalls.cc (octave_fcntl): Assume fcntl exists. | |
51 Rename from octave_syscalls::fcntl. | |
52 (octave_syscalls::popen2): Call octave_fcntl, not fcntl. | |
53 * cmd-hist.cc, lo-sysdep.cc, oct-syscalls.cc: | |
54 Include <fcntl.h> unconditionally. | |
55 | |
10258 | 56 2010-02-03 John W. Eaton <jwe@octave.org> |
57 | |
58 * dbleSVD.cc (SVD::init): Ensure args to std::max are the same type. | |
59 * CmplxSVD.cc (ComplexSVD::init): Likewise. | |
60 * floatSVD.cc (FloatSVD::init): Likewise. | |
61 * fCmplxSVD.cc (FloatComplexSVD::init): Likewise. | |
62 * idx-vector.cc (idx_range_rep): Likewise. | |
63 * Array.cc (Array<T>::nth_element): Likewise. | |
64 | |
65 * lo-specfun.cc (null_dims): Delete unused static variable. | |
66 (betainc): Call dim_vector (0, 0), not dim_vector (0). | |
67 | |
10252
2fcc927a8757
liboctave/file-ops.h: avoid gnulib #define for canonicalize_file_name
John W. Eaton <jwe@octave.org>
parents:
10250
diff
changeset
|
68 2010-02-03 John W. Eaton <jwe@octave.org> |
2fcc927a8757
liboctave/file-ops.h: avoid gnulib #define for canonicalize_file_name
John W. Eaton <jwe@octave.org>
parents:
10250
diff
changeset
|
69 |
2fcc927a8757
liboctave/file-ops.h: avoid gnulib #define for canonicalize_file_name
John W. Eaton <jwe@octave.org>
parents:
10250
diff
changeset
|
70 * file-ops.h (octave_canonicalize_file_name): Rename from |
2fcc927a8757
liboctave/file-ops.h: avoid gnulib #define for canonicalize_file_name
John W. Eaton <jwe@octave.org>
parents:
10250
diff
changeset
|
71 file_ops::canonicalize_file_name. |
2fcc927a8757
liboctave/file-ops.h: avoid gnulib #define for canonicalize_file_name
John W. Eaton <jwe@octave.org>
parents:
10250
diff
changeset
|
72 |
10250 | 73 2010-02-03 John W. Eaton <jwe@octave.org> |
74 | |
75 * file-ops.cc (canonicalize_file_name): | |
76 Don't pass current directory to octave_env::make_absolute. | |
77 * cmd-edit.cc (do_decode_prompt_string): Likewise. | |
78 | |
79 * oct-env.h (octave_env::get_current_directory): | |
80 Rename from octave_env::getcwd. | |
81 (octave_env::make_absolute): Provide default value for second arg. | |
82 | |
83 * lo-sysdep.cc (octave_getcwd): Assume we are using gnulib | |
84 getcwd module. | |
85 | |
10240
fa7b5751730c
use gnulib time, sys_time, and sys_times modules
John W. Eaton <jwe@octave.org>
parents:
10239
diff
changeset
|
86 2010-02-02 John W. Eaton <jwe@octave.org> |
fa7b5751730c
use gnulib time, sys_time, and sys_times modules
John W. Eaton <jwe@octave.org>
parents:
10239
diff
changeset
|
87 |
fa7b5751730c
use gnulib time, sys_time, and sys_times modules
John W. Eaton <jwe@octave.org>
parents:
10239
diff
changeset
|
88 * oct-time.h: Include <ctime>, not "systime.h". |
fa7b5751730c
use gnulib time, sys_time, and sys_times modules
John W. Eaton <jwe@octave.org>
parents:
10239
diff
changeset
|
89 * oct-time.cc: Include <strftime.h>, not "strftime.h". |
fa7b5751730c
use gnulib time, sys_time, and sys_times modules
John W. Eaton <jwe@octave.org>
parents:
10239
diff
changeset
|
90 Don't include <windows.h>. |
fa7b5751730c
use gnulib time, sys_time, and sys_times modules
John W. Eaton <jwe@octave.org>
parents:
10239
diff
changeset
|
91 |
fa7b5751730c
use gnulib time, sys_time, and sys_times modules
John W. Eaton <jwe@octave.org>
parents:
10239
diff
changeset
|
92 * systime.h: Delete. |
fa7b5751730c
use gnulib time, sys_time, and sys_times modules
John W. Eaton <jwe@octave.org>
parents:
10239
diff
changeset
|
93 * Makefile.am (INCS): Remove it from the list. |
fa7b5751730c
use gnulib time, sys_time, and sys_times modules
John W. Eaton <jwe@octave.org>
parents:
10239
diff
changeset
|
94 |
10239
e45ccac6017f
addtional fixes for using strptime module
John W. Eaton <jwe@octave.org>
parents:
10213
diff
changeset
|
95 2010-02-02 John W. Eaton <jwe@octave.org> |
e45ccac6017f
addtional fixes for using strptime module
John W. Eaton <jwe@octave.org>
parents:
10213
diff
changeset
|
96 |
e45ccac6017f
addtional fixes for using strptime module
John W. Eaton <jwe@octave.org>
parents:
10213
diff
changeset
|
97 * lo-utils.h, lo-cutils.c (oct_strptime): Delete. |
e45ccac6017f
addtional fixes for using strptime module
John W. Eaton <jwe@octave.org>
parents:
10213
diff
changeset
|
98 * oct-time.cc (octave_strptime::init): Call strptime, not oct_strptime. |
e45ccac6017f
addtional fixes for using strptime module
John W. Eaton <jwe@octave.org>
parents:
10213
diff
changeset
|
99 |
10213
f7ba6cfe7fb7
fix det() after singular matrix is flagged
Jaroslav Hajek <highegg@gmail.com>
parents:
10198
diff
changeset
|
100 2010-01-28 Jaroslav Hajek <highegg@gmail.com> |
f7ba6cfe7fb7
fix det() after singular matrix is flagged
Jaroslav Hajek <highegg@gmail.com>
parents:
10198
diff
changeset
|
101 |
f7ba6cfe7fb7
fix det() after singular matrix is flagged
Jaroslav Hajek <highegg@gmail.com>
parents:
10198
diff
changeset
|
102 * dMatrix.cc (Matrix::determinant): Treat matrices marked as singular |
f7ba6cfe7fb7
fix det() after singular matrix is flagged
Jaroslav Hajek <highegg@gmail.com>
parents:
10198
diff
changeset
|
103 normally. |
f7ba6cfe7fb7
fix det() after singular matrix is flagged
Jaroslav Hajek <highegg@gmail.com>
parents:
10198
diff
changeset
|
104 * fMatrix.cc (FloatMatrix::determinant): Ditto. |
f7ba6cfe7fb7
fix det() after singular matrix is flagged
Jaroslav Hajek <highegg@gmail.com>
parents:
10198
diff
changeset
|
105 * CMatrix.cc (ComplexMatrix::determinant): Ditto. |
f7ba6cfe7fb7
fix det() after singular matrix is flagged
Jaroslav Hajek <highegg@gmail.com>
parents:
10198
diff
changeset
|
106 * fCMatrix.cc (FloatComplexMatrix::determinant): Ditto. |
f7ba6cfe7fb7
fix det() after singular matrix is flagged
Jaroslav Hajek <highegg@gmail.com>
parents:
10198
diff
changeset
|
107 |
10198
025564630c8d
file-ops.cc: don't tag functions with OCTAVE_API i source file
John W. Eaton <jwe@octave.org>
parents:
10197
diff
changeset
|
108 2010-01-26 John W. Eaton <jwe@octave.org> |
025564630c8d
file-ops.cc: don't tag functions with OCTAVE_API i source file
John W. Eaton <jwe@octave.org>
parents:
10197
diff
changeset
|
109 |
025564630c8d
file-ops.cc: don't tag functions with OCTAVE_API i source file
John W. Eaton <jwe@octave.org>
parents:
10197
diff
changeset
|
110 * file-ops.cc: Don't tag functions with OCTAVE_API in source file. |
025564630c8d
file-ops.cc: don't tag functions with OCTAVE_API i source file
John W. Eaton <jwe@octave.org>
parents:
10197
diff
changeset
|
111 |
10197
4d433bd2d4dc
attempt to avoid trouble with gnulib #defines in a consistent way
John W. Eaton <jwe@octave.org>
parents:
10195
diff
changeset
|
112 2010-01-26 John W. Eaton <jwe@octave.org> |
4d433bd2d4dc
attempt to avoid trouble with gnulib #defines in a consistent way
John W. Eaton <jwe@octave.org>
parents:
10195
diff
changeset
|
113 |
4d433bd2d4dc
attempt to avoid trouble with gnulib #defines in a consistent way
John W. Eaton <jwe@octave.org>
parents:
10195
diff
changeset
|
114 * lo-cutils.c, lo-utils.h (octave_link, octave_symlink, |
4d433bd2d4dc
attempt to avoid trouble with gnulib #defines in a consistent way
John W. Eaton <jwe@octave.org>
parents:
10195
diff
changeset
|
115 octave_readlink, octave_mkdir, octave_mkfifo, octave_rmdir, |
4d433bd2d4dc
attempt to avoid trouble with gnulib #defines in a consistent way
John W. Eaton <jwe@octave.org>
parents:
10195
diff
changeset
|
116 octave_rename, octave_tempnam, octave_umask, octave_unlink): |
4d433bd2d4dc
attempt to avoid trouble with gnulib #defines in a consistent way
John W. Eaton <jwe@octave.org>
parents:
10195
diff
changeset
|
117 Delete. |
4d433bd2d4dc
attempt to avoid trouble with gnulib #defines in a consistent way
John W. Eaton <jwe@octave.org>
parents:
10195
diff
changeset
|
118 * file-io.h, file-io.cc (octave_mkdir, octave_mkfifo, |
4d433bd2d4dc
attempt to avoid trouble with gnulib #defines in a consistent way
John W. Eaton <jwe@octave.org>
parents:
10195
diff
changeset
|
119 octave_link, octave_symlink, octave_readlink, octave_rename, |
4d433bd2d4dc
attempt to avoid trouble with gnulib #defines in a consistent way
John W. Eaton <jwe@octave.org>
parents:
10195
diff
changeset
|
120 octave_rmdir, octave_recursive_rmdir, octave_umask, |
4d433bd2d4dc
attempt to avoid trouble with gnulib #defines in a consistent way
John W. Eaton <jwe@octave.org>
parents:
10195
diff
changeset
|
121 octave_unlink, octave_tempnam): Rename from file_ops::X to |
4d433bd2d4dc
attempt to avoid trouble with gnulib #defines in a consistent way
John W. Eaton <jwe@octave.org>
parents:
10195
diff
changeset
|
122 octave_X. Change all uses. |
4d433bd2d4dc
attempt to avoid trouble with gnulib #defines in a consistent way
John W. Eaton <jwe@octave.org>
parents:
10195
diff
changeset
|
123 (file_ops::static_members): Incorporate directly into file_ops class. |
4d433bd2d4dc
attempt to avoid trouble with gnulib #defines in a consistent way
John W. Eaton <jwe@octave.org>
parents:
10195
diff
changeset
|
124 |
10195
b49d47b637b7
use getopt directly instead of the (mostly useless) prog_args wrapper class
John W. Eaton <jwe@octave.org>
parents:
10192
diff
changeset
|
125 2010-01-23 John W. Eaton <jwe@octave.org> |
b49d47b637b7
use getopt directly instead of the (mostly useless) prog_args wrapper class
John W. Eaton <jwe@octave.org>
parents:
10192
diff
changeset
|
126 |
b49d47b637b7
use getopt directly instead of the (mostly useless) prog_args wrapper class
John W. Eaton <jwe@octave.org>
parents:
10192
diff
changeset
|
127 * Makefile.am (LIBOCTAVE_C_SOURCES): Remove oct-getopt.c from the list. |
b49d47b637b7
use getopt directly instead of the (mostly useless) prog_args wrapper class
John W. Eaton <jwe@octave.org>
parents:
10192
diff
changeset
|
128 (LIBOCTAVE_CXX_SOURCES): Remove prog-args.c from the list. |
b49d47b637b7
use getopt directly instead of the (mostly useless) prog_args wrapper class
John W. Eaton <jwe@octave.org>
parents:
10192
diff
changeset
|
129 (INCS): Remove prog-args.h and oct-getopt.h from the list. |
b49d47b637b7
use getopt directly instead of the (mostly useless) prog_args wrapper class
John W. Eaton <jwe@octave.org>
parents:
10192
diff
changeset
|
130 * prog-args.cc, prog-args.h, oct-getopt.c, oct-getopt.h: Delete. |
b49d47b637b7
use getopt directly instead of the (mostly useless) prog_args wrapper class
John W. Eaton <jwe@octave.org>
parents:
10192
diff
changeset
|
131 |
10191
a552859b009a
rename member functions in prog_args class to avoid conflicts with gnulib definitions
John W. Eaton <jwe@octave.org>
parents:
10189
diff
changeset
|
132 2010-01-22 John W. Eaton <jwe@octave.org> |
a552859b009a
rename member functions in prog_args class to avoid conflicts with gnulib definitions
John W. Eaton <jwe@octave.org>
parents:
10189
diff
changeset
|
133 |
10192
fc95c80058d8
don't make prog_args member functions const
John W. Eaton <jwe@octave.org>
parents:
10191
diff
changeset
|
134 * prog-args.h, prog-args.cc (prog_args::get_option, |
fc95c80058d8
don't make prog_args member functions const
John W. Eaton <jwe@octave.org>
parents:
10191
diff
changeset
|
135 prog_args::option_argument, prog_args::option_index): |
fc95c80058d8
don't make prog_args member functions const
John W. Eaton <jwe@octave.org>
parents:
10191
diff
changeset
|
136 Don't declare const. |
fc95c80058d8
don't make prog_args member functions const
John W. Eaton <jwe@octave.org>
parents:
10191
diff
changeset
|
137 |
fc95c80058d8
don't make prog_args member functions const
John W. Eaton <jwe@octave.org>
parents:
10191
diff
changeset
|
138 2010-01-22 John W. Eaton <jwe@octave.org> |
fc95c80058d8
don't make prog_args member functions const
John W. Eaton <jwe@octave.org>
parents:
10191
diff
changeset
|
139 |
fc95c80058d8
don't make prog_args member functions const
John W. Eaton <jwe@octave.org>
parents:
10191
diff
changeset
|
140 * prog-args.h, prog-args.cc (prog_args::get_option): |
fc95c80058d8
don't make prog_args member functions const
John W. Eaton <jwe@octave.org>
parents:
10191
diff
changeset
|
141 Rename from getopt. Now const. |
10191
a552859b009a
rename member functions in prog_args class to avoid conflicts with gnulib definitions
John W. Eaton <jwe@octave.org>
parents:
10189
diff
changeset
|
142 (prog_args::option_argument): Rename from optarg. Now const. |
a552859b009a
rename member functions in prog_args class to avoid conflicts with gnulib definitions
John W. Eaton <jwe@octave.org>
parents:
10189
diff
changeset
|
143 (prog_args::option_index): Rename from optind. Now const. |
a552859b009a
rename member functions in prog_args class to avoid conflicts with gnulib definitions
John W. Eaton <jwe@octave.org>
parents:
10189
diff
changeset
|
144 |
10189
8fa6ce1b21f2
file-ops.cc: don't include statdefs.h
John W. Eaton <jwe@octave.org>
parents:
10185
diff
changeset
|
145 2010-01-22 John W. Eaton <jwe@octave.org> |
8fa6ce1b21f2
file-ops.cc: don't include statdefs.h
John W. Eaton <jwe@octave.org>
parents:
10185
diff
changeset
|
146 |
8fa6ce1b21f2
file-ops.cc: don't include statdefs.h
John W. Eaton <jwe@octave.org>
parents:
10185
diff
changeset
|
147 * file-ops.cc: Don't include statdefs.h. |
8fa6ce1b21f2
file-ops.cc: don't include statdefs.h
John W. Eaton <jwe@octave.org>
parents:
10185
diff
changeset
|
148 |
10185
455759a5fcbe
fix norm and svd on empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
10182
diff
changeset
|
149 2010-01-22 Jaroslav Hajek <highegg@gmail.com> |
455759a5fcbe
fix norm and svd on empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
10182
diff
changeset
|
150 |
455759a5fcbe
fix norm and svd on empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
10182
diff
changeset
|
151 * dbleSVD.cc (SVD::init): Ensure LD* arguments >= 1. |
455759a5fcbe
fix norm and svd on empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
10182
diff
changeset
|
152 * floatSVD.cc (FloatSVD::init): Likewise. |
455759a5fcbe
fix norm and svd on empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
10182
diff
changeset
|
153 * CmplxSVD.cc (ComplexSVD::init): Likewise. |
455759a5fcbe
fix norm and svd on empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
10182
diff
changeset
|
154 * fCmplxSVD.cc (FloatComplexSVD::init): Likewise. |
455759a5fcbe
fix norm and svd on empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
10182
diff
changeset
|
155 |
10182
0522a65bcd56
assume unistd.h and sys/types.h exist
John W. Eaton <jwe@octave.org>
parents:
10180
diff
changeset
|
156 2010-01-21 John W. Eaton <jwe@octave.org> |
0522a65bcd56
assume unistd.h and sys/types.h exist
John W. Eaton <jwe@octave.org>
parents:
10180
diff
changeset
|
157 |
0522a65bcd56
assume unistd.h and sys/types.h exist
John W. Eaton <jwe@octave.org>
parents:
10180
diff
changeset
|
158 * CMatrix.cc, fCMatrix.cc, cmd-edit.cc, cmd-hist.cc, |
0522a65bcd56
assume unistd.h and sys/types.h exist
John W. Eaton <jwe@octave.org>
parents:
10180
diff
changeset
|
159 file-ops.cc, file-ops.h, file-stat.cc, file-stat.h, filemode.c, |
0522a65bcd56
assume unistd.h and sys/types.h exist
John W. Eaton <jwe@octave.org>
parents:
10180
diff
changeset
|
160 kpse.cc, lo-cutils.c, lo-sysdep.cc, lo-utils.cc, oct-env.cc, |
0522a65bcd56
assume unistd.h and sys/types.h exist
John W. Eaton <jwe@octave.org>
parents:
10180
diff
changeset
|
161 oct-group.cc, oct-group.h, oct-passwd.cc, oct-passwd.h, |
0522a65bcd56
assume unistd.h and sys/types.h exist
John W. Eaton <jwe@octave.org>
parents:
10180
diff
changeset
|
162 oct-time.cc, oct-syscalls.cc, oct-syscalls.h, statdefs.h, |
0522a65bcd56
assume unistd.h and sys/types.h exist
John W. Eaton <jwe@octave.org>
parents:
10180
diff
changeset
|
163 sysdir.h, syswait.h, tempname.c, regex-match.h: |
0522a65bcd56
assume unistd.h and sys/types.h exist
John W. Eaton <jwe@octave.org>
parents:
10180
diff
changeset
|
164 Assume sys/types.h and unistd.h are present (gnulib provides them). |
0522a65bcd56
assume unistd.h and sys/types.h exist
John W. Eaton <jwe@octave.org>
parents:
10180
diff
changeset
|
165 |
10179 | 166 2010-01-21 John W. Eaton <jwe@octave.org> |
167 | |
10180 | 168 * file-ops.h, file-ops.cc, lo-utils.h, lo-cutils.c: Untabify. |
169 | |
10179 | 170 * file-ops.cc: Don't include unistd.h. |
171 (NOT_SUPPORTED): Delete unused macro. | |
172 | |
10178
6bd86b6287b1
provide wrapper for tempnam
John W. Eaton <jwe@octave.org>
parents:
10177
diff
changeset
|
173 2010-01-21 John W. Eaton <jwe@octave.org> |
6bd86b6287b1
provide wrapper for tempnam
John W. Eaton <jwe@octave.org>
parents:
10177
diff
changeset
|
174 |
6bd86b6287b1
provide wrapper for tempnam
John W. Eaton <jwe@octave.org>
parents:
10177
diff
changeset
|
175 * lo-cutils.c (octave_tempnam): New funtion. |
6bd86b6287b1
provide wrapper for tempnam
John W. Eaton <jwe@octave.org>
parents:
10177
diff
changeset
|
176 * lo-utils.h: Provide decl. |
6bd86b6287b1
provide wrapper for tempnam
John W. Eaton <jwe@octave.org>
parents:
10177
diff
changeset
|
177 * file-ops.cc (file_ops::tempnam): Call octave_tempnam. |
6bd86b6287b1
provide wrapper for tempnam
John W. Eaton <jwe@octave.org>
parents:
10177
diff
changeset
|
178 |
10177
cb3d926b4d9e
use readlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10176
diff
changeset
|
179 2010-01-21 John W. Eaton <jwe@octave.org> |
cb3d926b4d9e
use readlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10176
diff
changeset
|
180 |
cb3d926b4d9e
use readlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10176
diff
changeset
|
181 * lo-cutils.c (octave_readlink): New funtion. |
cb3d926b4d9e
use readlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10176
diff
changeset
|
182 * lo-utils.h: Provide decl. |
cb3d926b4d9e
use readlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10176
diff
changeset
|
183 * file-ops.cc (file_ops::readlink): Call octave_readlink. |
cb3d926b4d9e
use readlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10176
diff
changeset
|
184 |
10176
a0665fa8798c
use symlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10175
diff
changeset
|
185 2010-01-21 John W. Eaton <jwe@octave.org> |
a0665fa8798c
use symlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10175
diff
changeset
|
186 |
a0665fa8798c
use symlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10175
diff
changeset
|
187 * lo-cutils.c (octave_symlink): New funtion. |
a0665fa8798c
use symlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10175
diff
changeset
|
188 * lo-utils.h: Provide decl. |
a0665fa8798c
use symlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10175
diff
changeset
|
189 * file-ops.cc (file_ops::symlink): Call octave_symlink. |
a0665fa8798c
use symlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10175
diff
changeset
|
190 |
10175
d354be89b2c3
use link module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10174
diff
changeset
|
191 2010-01-21 John W. Eaton <jwe@octave.org> |
d354be89b2c3
use link module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10174
diff
changeset
|
192 |
d354be89b2c3
use link module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10174
diff
changeset
|
193 * lo-cutils.c (octave_link): New funtion. |
d354be89b2c3
use link module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10174
diff
changeset
|
194 * lo-utils.h: Provide decl. |
d354be89b2c3
use link module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10174
diff
changeset
|
195 * file-ops.cc (file_ops::link): Call octave_link. |
d354be89b2c3
use link module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10174
diff
changeset
|
196 |
10174
eb64bf1c6107
use unlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10173
diff
changeset
|
197 2010-01-21 John W. Eaton <jwe@octave.org> |
eb64bf1c6107
use unlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10173
diff
changeset
|
198 |
eb64bf1c6107
use unlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10173
diff
changeset
|
199 * lo-cutils.c (octave_unlink): New funtion. |
eb64bf1c6107
use unlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10173
diff
changeset
|
200 * lo-utils.h: Provide decl. |
eb64bf1c6107
use unlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10173
diff
changeset
|
201 * file-ops.cc (file_ops::unlink): Call octave_unlink. |
eb64bf1c6107
use unlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10173
diff
changeset
|
202 |
10173 | 203 2010-01-21 John W. Eaton <jwe@octave.org> |
204 | |
205 * lo-cutils.c (octave_umask): New funtion. | |
206 * lo-utils.h: Provide decl. | |
207 * file-ops.cc (file_ops::umask): Call octave_umask. | |
208 | |
10172
96ed9db3345c
provide wrappers for mkdir and mkfifo
John W. Eaton <jwe@octave.org>
parents:
10171
diff
changeset
|
209 2010-01-21 John W. Eaton <jwe@octave.org> |
96ed9db3345c
provide wrappers for mkdir and mkfifo
John W. Eaton <jwe@octave.org>
parents:
10171
diff
changeset
|
210 |
96ed9db3345c
provide wrappers for mkdir and mkfifo
John W. Eaton <jwe@octave.org>
parents:
10171
diff
changeset
|
211 * file-ops.h (file_ops::mkdir): Move definitions to file-ops.cc. |
96ed9db3345c
provide wrappers for mkdir and mkfifo
John W. Eaton <jwe@octave.org>
parents:
10171
diff
changeset
|
212 (file_ops::mkfifo): Move definitions to file-ops.cc. |
96ed9db3345c
provide wrappers for mkdir and mkfifo
John W. Eaton <jwe@octave.org>
parents:
10171
diff
changeset
|
213 (file_ops::mkdir_internal, file_ops::mkfifo_internal): Delete decls. |
96ed9db3345c
provide wrappers for mkdir and mkfifo
John W. Eaton <jwe@octave.org>
parents:
10171
diff
changeset
|
214 * file-ops.cc (file_ops::mkdir): Call octave_mkdir. |
96ed9db3345c
provide wrappers for mkdir and mkfifo
John W. Eaton <jwe@octave.org>
parents:
10171
diff
changeset
|
215 (file_ops::mkfifo): Call octave_mkfifo. |
96ed9db3345c
provide wrappers for mkdir and mkfifo
John W. Eaton <jwe@octave.org>
parents:
10171
diff
changeset
|
216 * lo-cutils.c (octave_mkdir, octave_mkfifo): New functions. |
96ed9db3345c
provide wrappers for mkdir and mkfifo
John W. Eaton <jwe@octave.org>
parents:
10171
diff
changeset
|
217 * lo-utils.h: Provide decls. |
96ed9db3345c
provide wrappers for mkdir and mkfifo
John W. Eaton <jwe@octave.org>
parents:
10171
diff
changeset
|
218 |
10171
22400682d3aa
use strptime module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10170
diff
changeset
|
219 2010-01-21 John W. Eaton <jwe@octave.org> |
22400682d3aa
use strptime module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10170
diff
changeset
|
220 |
22400682d3aa
use strptime module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10170
diff
changeset
|
221 * Makefile.am (LIBOCTAVE_C_SOURCES): Remove strptime.c from the list. |
22400682d3aa
use strptime module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10170
diff
changeset
|
222 * strptime.c: Delete. |
22400682d3aa
use strptime module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10170
diff
changeset
|
223 |
10170
1dffc8b2fca7
use rename module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10169
diff
changeset
|
224 2010-01-21 John W. Eaton <jwe@octave.org> |
1dffc8b2fca7
use rename module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10169
diff
changeset
|
225 |
1dffc8b2fca7
use rename module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10169
diff
changeset
|
226 * lo-cutils.c (octave_rename): New funtion. |
1dffc8b2fca7
use rename module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10169
diff
changeset
|
227 * lo-utils.h: Provide decl. |
1dffc8b2fca7
use rename module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10169
diff
changeset
|
228 * file-ops.cc (file_ops::rename): Call octave_rename. |
1dffc8b2fca7
use rename module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10169
diff
changeset
|
229 * Makefile.am (LIBOCTAVE_C_SOURCES): Remove rename.c from the list. |
1dffc8b2fca7
use rename module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10169
diff
changeset
|
230 * rename.c: Delete. |
1dffc8b2fca7
use rename module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10169
diff
changeset
|
231 |
10169
06bd6e57f889
use rmdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10168
diff
changeset
|
232 2010-01-21 John W. Eaton <jwe@octave.org> |
06bd6e57f889
use rmdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10168
diff
changeset
|
233 |
06bd6e57f889
use rmdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10168
diff
changeset
|
234 * lo-cutils.c (octave_rmdir): New function. |
06bd6e57f889
use rmdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10168
diff
changeset
|
235 * lo-utils.h: Provide decl. |
06bd6e57f889
use rmdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10168
diff
changeset
|
236 * file-ops.cc (file_ops::rmdir): Call octave_rmdir. |
06bd6e57f889
use rmdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10168
diff
changeset
|
237 * Makefile.am (LIBOCTAVE_C_SOURCES): Remove rmdir.c from the list. |
06bd6e57f889
use rmdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10168
diff
changeset
|
238 * rmdir.c: Delete. |
06bd6e57f889
use rmdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10168
diff
changeset
|
239 |
10168
37150167a72a
use c-strcase module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10167
diff
changeset
|
240 2010-01-21 John W. Eaton <jwe@octave.org> |
37150167a72a
use c-strcase module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10167
diff
changeset
|
241 |
37150167a72a
use c-strcase module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10167
diff
changeset
|
242 * Makefile.am (LIBOCTAVE_C_SOURCES): Remove strcasecmp.c and |
37150167a72a
use c-strcase module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10167
diff
changeset
|
243 strncase.c from the list. |
37150167a72a
use c-strcase module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10167
diff
changeset
|
244 * strcasecmp.c, strncase.c: Delete. |
37150167a72a
use c-strcase module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10167
diff
changeset
|
245 |
10167
1929ba7bbfb2
use getopt-gnu module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10158
diff
changeset
|
246 2010-01-21 John W. Eaton <jwe@octave.org> |
1929ba7bbfb2
use getopt-gnu module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10158
diff
changeset
|
247 |
1929ba7bbfb2
use getopt-gnu module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10158
diff
changeset
|
248 * Makefile.am (INCS): Remove getopt.h from the list. |
1929ba7bbfb2
use getopt-gnu module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10158
diff
changeset
|
249 (LIBOCTAVE_C_SOURCES): Remove getopt.c and getopt1.c from the list. |
1929ba7bbfb2
use getopt-gnu module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10158
diff
changeset
|
250 * getopt.c, getopt1.c, getopt.h: Delete. |
1929ba7bbfb2
use getopt-gnu module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10158
diff
changeset
|
251 |
10158
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
252 2010-01-20 John W. Eaton <jwe@octave.org> |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
253 |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
254 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-f.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
255 Array-fC.cc, Array-i.cc, Array-idx-vec.cc, Array-s.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
256 Array-str.cc, Array-util.cc, Array-voidp.cc, Array.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
257 CColVector.cc, CDiagMatrix.cc, CMatrix.cc, CNDArray.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
258 CRowVector.cc, CSparse.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
259 CmplxGEPBAL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
260 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
261 DASRT.cc, DASSL.cc, DiagArray2.cc, EIG.cc, LSODE.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
262 MArray-C.cc, MArray-ch.cc, MArray-d.cc, MArray-f.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
263 MArray-fC.cc, MArray-i.cc, MArray-s.cc, MArray.cc, MArray2.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
264 MArrayN.cc, MDiagArray2.cc, MSparse-C.cc, MSparse-d.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
265 MSparse.cc, MatrixType.cc, ODES.cc, Quad.cc, Range.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
266 Sparse-C.cc, Sparse-b.cc, Sparse-d.cc, Sparse.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
267 SparseCmplxCHOL.cc, SparseCmplxLU.cc, SparseCmplxQR.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
268 SparseQR.cc, SparsedbleCHOL.cc, SparsedbleLU.cc, base-lu.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
269 boolMatrix.cc, boolNDArray.cc, boolSparse.cc, chMatrix.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
270 chNDArray.cc, cmd-edit.cc, cmd-hist.cc, dColVector.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
271 dDiagMatrix.cc, dMatrix.cc, dNDArray.cc, dRowVector.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
272 dSparse.cc, data-conv.cc, dbleAEPBAL.cc, dbleCHOL.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
273 dbleGEPBAL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
274 dbleSCHUR.cc, dbleSVD.cc, dir-ops.cc, eigs-base.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
275 fCColVector.cc, fCDiagMatrix.cc, fCMatrix.cc, fCNDArray.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
276 fCRowVector.cc, fCmplxAEPBAL.cc, fCmplxCHOL.cc, fCmplxGEPBAL.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
277 fCmplxHESS.cc, fCmplxLU.cc, fCmplxQR.cc, fCmplxQRP.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
278 fCmplxSCHUR.cc, fCmplxSVD.cc, fColVector.cc, fDiagMatrix.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
279 fEIG.cc, fMatrix.cc, fNDArray.cc, fRowVector.cc, file-ops.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
280 file-stat.cc, floatAEPBAL.cc, floatCHOL.cc, floatGEPBAL.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
281 floatHESS.cc, floatLU.cc, floatQR.cc, floatQRP.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
282 floatSCHUR.cc, floatSVD.cc, glob-match.cc, idx-vector.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
283 int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
284 int8NDArray.cc, intNDArray.cc, kpse.cc, lo-ieee.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
285 lo-mappers.cc, lo-specfun.cc, lo-sysdep.cc, lo-utils.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
286 mach-info.cc, mx-inlines.cc, oct-alloc.cc, oct-env.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
287 oct-fftw.cc, oct-group.cc, oct-inttypes.cc, oct-md5.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
288 oct-passwd.cc, oct-rand.cc, oct-shlib.cc, oct-sort.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
289 oct-spparms.cc, oct-syscalls.cc, oct-time.cc, oct-uname.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
290 pathsearch.cc, prog-args.cc, regex-match.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
291 sparse-base-chol.cc, sparse-base-lu.cc, sparse-dmsolve.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
292 sparse-sort.cc, sparse-util.cc, str-vec.cc, uint16NDArray.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
293 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
294 f2c-main.c, lo-cieee.c, lo-cutils.c, oct-getopt.c, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
295 oct-rl-edit.c, oct-rl-hist.c, randgamma.c, randmtzig.c, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
296 randpoisson.c, Array-util.h, Array.h, Array2.h, Array3.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
297 ArrayN.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CNDArray.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
298 CRowVector.h, CSparse.h, CmplxAEPBAL.h, CmplxCHOL.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
299 CmplxGEPBAL.h, CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
300 CmplxSCHUR.h, CmplxSVD.h, CollocWt.h, DAE.h, DAEFunc.h, DAERT.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
301 DAERTFunc.h, DASPK.h, DASRT.h, DASSL.h, DiagArray2.h, EIG.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
302 LSODE.h, MArray.h, MArray2.h, MArrayN.h, MDiagArray2.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
303 MSparse-defs.h, MSparse.h, Matrix.h, MatrixType.h, ODE.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
304 ODEFunc.h, ODES.h, ODESFunc.h, Quad.h, Range.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
305 Sparse-op-defs.h, Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
306 SparseCmplxQR.h, SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
307 base-dae.h, base-de.h, base-lu.h, base-min.h, boolMatrix.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
308 boolNDArray.h, boolSparse.h, byte-swap.h, chMatrix.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
309 chNDArray.h, cmd-edit.h, cmd-hist.h, dColVector.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
310 dDiagMatrix.h, dMatrix.h, dNDArray.h, dRowVector.h, dSparse.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
311 data-conv.h, dbleAEPBAL.h, dbleCHOL.h, dbleGEPBAL.h, dbleHESS.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
312 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
313 dir-ops.h, fCColVector.h, fCDiagMatrix.h, fCMatrix.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
314 fCNDArray.h, fCRowVector.h, fCmplxAEPBAL.h, fCmplxCHOL.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
315 fCmplxGEPBAL.h, fCmplxHESS.h, fCmplxLU.h, fCmplxQR.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
316 fCmplxQRP.h, fCmplxSCHUR.h, fCmplxSVD.h, fColVector.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
317 fDiagMatrix.h, fEIG.h, fMatrix.h, fNDArray.h, fRowVector.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
318 file-ops.h, file-stat.h, floatAEPBAL.h, floatCHOL.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
319 floatGEPBAL.h, floatHESS.h, floatLU.h, floatQR.h, floatQRP.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
320 floatSCHUR.h, floatSVD.h, functor.h, glob-match.h, idx-vector.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
321 int16NDArray.h, int32NDArray.h, int64NDArray.h, int8NDArray.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
322 intNDArray.h, kpse-xfns.h, lo-ieee.h, lo-mappers.h, lo-math.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
323 lo-specfun.h, lo-sysdep.h, lo-traits.h, lo-utils.h, mach-info.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
324 mx-base.h, mx-defs.h, mx-ext.h, mx-op-defs.h, oct-alloc.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
325 oct-cmplx.h, oct-env.h, oct-fftw.h, oct-getopt.h, oct-group.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
326 oct-inttypes.h, oct-md5.h, oct-passwd.h, oct-rand.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
327 oct-rl-edit.h, oct-rl-hist.h, oct-shlib.h, oct-sort.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
328 oct-spparms.h, oct-syscalls.h, oct-time.h, oct-uname.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
329 pathlen.h, pathsearch.h, prog-args.h, randgamma.h, randmtzig.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
330 randpoisson.h, regex-match.h, sparse-base-chol.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
331 sparse-base-lu.h, sparse-sort.h, sparse-util.h, statdefs.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
332 str-vec.h, sun-utils.h, sysdir.h, systime.h, syswait.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
333 uint16NDArray.h, uint32NDArray.h, uint64NDArray.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
334 uint8NDArray.h: Remove Emacs local-variables settings. |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
335 |
10152
b6b65e71049b
optimize cumsum with logicals
Jaroslav Hajek <highegg@gmail.com>
parents:
10150
diff
changeset
|
336 2010-01-20 Jaroslav Hajek <highegg@gmail.com> |
b6b65e71049b
optimize cumsum with logicals
Jaroslav Hajek <highegg@gmail.com>
parents:
10150
diff
changeset
|
337 |
b6b65e71049b
optimize cumsum with logicals
Jaroslav Hajek <highegg@gmail.com>
parents:
10150
diff
changeset
|
338 * boolNDArray.cc (boolNDArray::cumsum): Sum directly in double to |
b6b65e71049b
optimize cumsum with logicals
Jaroslav Hajek <highegg@gmail.com>
parents:
10150
diff
changeset
|
339 avoid a copy. |
b6b65e71049b
optimize cumsum with logicals
Jaroslav Hajek <highegg@gmail.com>
parents:
10150
diff
changeset
|
340 |
10150 | 341 2010-01-20 John W. Eaton <jwe@octave.org> |
342 | |
343 * dim-vector.h: Style fixes. Remove Emacs local variables block. | |
344 Untabify. | |
345 | |
10148 | 346 2010-01-20 John W. Eaton <jwe@octave.org> |
347 | |
348 * Makefile.am (PRIVATE_INCS): New variable. List oct-glob.h | |
349 here instead of in INCS. | |
350 (liboctave_la_SOURCES): Include $(PRIVATE_INCS) in the list. | |
351 | |
352 * glob-match.cc (glob_match::match, glob_match::glob): Now const. | |
353 Move definitions here from glob-match.h. | |
354 | |
10147
adc0143e9419
optimize any/all (x, 2) with small number of rows
Jaroslav Hajek <highegg@gmail.com>
parents:
10146
diff
changeset
|
355 2010-01-20 Jaroslav Hajek <highegg@gmail.com> |
adc0143e9419
optimize any/all (x, 2) with small number of rows
Jaroslav Hajek <highegg@gmail.com>
parents:
10146
diff
changeset
|
356 |
adc0143e9419
optimize any/all (x, 2) with small number of rows
Jaroslav Hajek <highegg@gmail.com>
parents:
10146
diff
changeset
|
357 * mx-inlines.cc (mx_inline_any_r, mx_inline_all_r): New helper |
adc0143e9419
optimize any/all (x, 2) with small number of rows
Jaroslav Hajek <highegg@gmail.com>
parents:
10146
diff
changeset
|
358 reductors. |
adc0143e9419
optimize any/all (x, 2) with small number of rows
Jaroslav Hajek <highegg@gmail.com>
parents:
10146
diff
changeset
|
359 (mx_inline_any, mx_inline_all): Call the here in row-wise reduction |
adc0143e9419
optimize any/all (x, 2) with small number of rows
Jaroslav Hajek <highegg@gmail.com>
parents:
10146
diff
changeset
|
360 with few enough columns. |
adc0143e9419
optimize any/all (x, 2) with small number of rows
Jaroslav Hajek <highegg@gmail.com>
parents:
10146
diff
changeset
|
361 |
10146
9597eea7fa36
inline xmin/xmax & optimize special cases
Jaroslav Hajek <highegg@gmail.com>
parents:
10145
diff
changeset
|
362 2010-01-20 Jaroslav Hajek <highegg@gmail.com> |
9597eea7fa36
inline xmin/xmax & optimize special cases
Jaroslav Hajek <highegg@gmail.com>
parents:
10145
diff
changeset
|
363 |
9597eea7fa36
inline xmin/xmax & optimize special cases
Jaroslav Hajek <highegg@gmail.com>
parents:
10145
diff
changeset
|
364 * lo-mappers.h (xmin (double, double), xmax (double, double), |
9597eea7fa36
inline xmin/xmax & optimize special cases
Jaroslav Hajek <highegg@gmail.com>
parents:
10145
diff
changeset
|
365 xmin (float, float), xmax (float, float)): Inline definitions. |
9597eea7fa36
inline xmin/xmax & optimize special cases
Jaroslav Hajek <highegg@gmail.com>
parents:
10145
diff
changeset
|
366 * lo-mappers.cc (xmin (double, double), xmax (double, double), |
9597eea7fa36
inline xmin/xmax & optimize special cases
Jaroslav Hajek <highegg@gmail.com>
parents:
10145
diff
changeset
|
367 xmin (float, float), xmax (float, float)): Remove from here. |
9597eea7fa36
inline xmin/xmax & optimize special cases
Jaroslav Hajek <highegg@gmail.com>
parents:
10145
diff
changeset
|
368 * mx-inlines.cc (mx_inline_xmin, mx_inline_xmax): Provide |
9597eea7fa36
inline xmin/xmax & optimize special cases
Jaroslav Hajek <highegg@gmail.com>
parents:
10145
diff
changeset
|
369 specializations for real array-scalar and scalar-array cases. |
9597eea7fa36
inline xmin/xmax & optimize special cases
Jaroslav Hajek <highegg@gmail.com>
parents:
10145
diff
changeset
|
370 |
10145
fa01c1670b3e
make p-norms breakable
Jaroslav Hajek <highegg@gmail.com>
parents:
10143
diff
changeset
|
371 2010-01-20 Jaroslav Hajek <highegg@gmail.com> |
fa01c1670b3e
make p-norms breakable
Jaroslav Hajek <highegg@gmail.com>
parents:
10143
diff
changeset
|
372 |
fa01c1670b3e
make p-norms breakable
Jaroslav Hajek <highegg@gmail.com>
parents:
10143
diff
changeset
|
373 * oct-norm.cc (norm_accumulator_p::accum, norm_accumulator_mp::accum): |
fa01c1670b3e
make p-norms breakable
Jaroslav Hajek <highegg@gmail.com>
parents:
10143
diff
changeset
|
374 Call octave_quit here. |
fa01c1670b3e
make p-norms breakable
Jaroslav Hajek <highegg@gmail.com>
parents:
10143
diff
changeset
|
375 (higham_subp): Also here. |
fa01c1670b3e
make p-norms breakable
Jaroslav Hajek <highegg@gmail.com>
parents:
10143
diff
changeset
|
376 |
10143
f3c34b518422
simplify pairwise min/max implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
10142
diff
changeset
|
377 2010-01-20 Jaroslav Hajek <highegg@gmail.com> |
f3c34b518422
simplify pairwise min/max implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
10142
diff
changeset
|
378 |
f3c34b518422
simplify pairwise min/max implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
10142
diff
changeset
|
379 * mx-op-defs.h (SND_MINMAX_FCN, NDS_MINMAX_FCN, NDND_MINMAX_FCN): |
f3c34b518422
simplify pairwise min/max implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
10142
diff
changeset
|
380 Simplify using mx_inlines machinery. |
f3c34b518422
simplify pairwise min/max implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
10142
diff
changeset
|
381 * dNDArray (min, max): Simplify. |
f3c34b518422
simplify pairwise min/max implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
10142
diff
changeset
|
382 * fNDArray (min, max): Simplify. |
f3c34b518422
simplify pairwise min/max implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
10142
diff
changeset
|
383 * CNDArray (min, max): Simplify. |
f3c34b518422
simplify pairwise min/max implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
10142
diff
changeset
|
384 * fCNDArray (min, max): Simplify. |
f3c34b518422
simplify pairwise min/max implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
10142
diff
changeset
|
385 |
10142
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
386 2010-01-20 Jaroslav Hajek <highegg@gmail.com> |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
387 |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
388 * Array.h: Substitute OCTAVE_QUIT -> octave_quit (). |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
389 * CMatrix.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
390 * CNDArray.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
391 * CSparse.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
392 * CmplxGEPBAL.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
393 * MArrayN.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
394 * MSparse.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
395 * Sparse-diag-op-defs.h: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
396 * Sparse-op-defs.h: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
397 * Sparse-perm-op-defs.h: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
398 * Sparse.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
399 * Sparse.h: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
400 * SparseCmplxQR.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
401 * SparseQR.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
402 * boolSparse.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
403 * bsxfun-defs.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
404 * dMatrix.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
405 * dNDArray.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
406 * dSparse.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
407 * dbleGEPBAL.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
408 * fCMatrix.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
409 * fCNDArray.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
410 * fCmplxGEPBAL.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
411 * fMatrix.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
412 * fNDArray.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
413 * file-ops.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
414 * floatGEPBAL.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
415 * lo-utils.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
416 * mx-op-defs.h: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
417 * oct-fftw.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
418 * oct-norm.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
419 * oct-rand.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
420 * sparse-dmsolve.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
421 |
10140
36ea14c8992d
fix reversed min/max in bsxfun
Jaroslav Hajek <highegg@gmail.com>
parents:
10139
diff
changeset
|
422 2010-01-20 Jaroslav Hajek <highegg@gmail.com> |
36ea14c8992d
fix reversed min/max in bsxfun
Jaroslav Hajek <highegg@gmail.com>
parents:
10139
diff
changeset
|
423 |
36ea14c8992d
fix reversed min/max in bsxfun
Jaroslav Hajek <highegg@gmail.com>
parents:
10139
diff
changeset
|
424 * bsxfun-defs.cc (BSXFUN_STDOP_DEFS_MXLOOP): Fix reversed min/max |
36ea14c8992d
fix reversed min/max in bsxfun
Jaroslav Hajek <highegg@gmail.com>
parents:
10139
diff
changeset
|
425 defs. |
36ea14c8992d
fix reversed min/max in bsxfun
Jaroslav Hajek <highegg@gmail.com>
parents:
10139
diff
changeset
|
426 |
10139
93c74edcc3e3
glob-match.h: update copyright
John W. Eaton <jwe@octave.org>
parents:
10138
diff
changeset
|
427 2010-01-20 John W. Eaton <jwe@octave.org> |
93c74edcc3e3
glob-match.h: update copyright
John W. Eaton <jwe@octave.org>
parents:
10138
diff
changeset
|
428 |
93c74edcc3e3
glob-match.h: update copyright
John W. Eaton <jwe@octave.org>
parents:
10138
diff
changeset
|
429 * glob-match.h: Update copyright. |
93c74edcc3e3
glob-match.h: update copyright
John W. Eaton <jwe@octave.org>
parents:
10138
diff
changeset
|
430 |
10138
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
431 2010-01-20 John W. Eaton <jwe@octave.org> |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
432 |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
433 * Makefile.am (INCS): Include oct-glob.h in the list. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
434 (LIBOCTAVE_CXX_SOURCES): Include oct-glob.cc in the list. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
435 * oct-glob.h, oct-glob.cc: New files. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
436 * glob-match.cc: (glob_match::match): Move internals to oct-glob.cc. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
437 (glob_match::glob_internal): Move internals to oct-glob.cc. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
438 (single_match_exists): Move to oct-glob.cc. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
439 (glob_match::opts_to_fnmatch_flags): New function. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
440 * glob-match.h Include oct-glob.h. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
441 (glob_match::glob): Call octave_glob to do the real work. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
442 (glob_match::glob_internal): Delete decl. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
443 (glob_match::match (const string_vector&)): Move here from |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
444 glob-match.cc. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
445 (glob_match::match (const std::string&)): Call octave_fnmatch to |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
446 do the real work. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
447 (glob_match::fnmatch_flags): Rename from flags. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
448 (glob_match::opts_to_fnmatch_flags): New function. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
449 (glob_match::glob_match): Use it. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
450 |
10124
e5c6600e3400
use octave_idx_type where needed
Jaroslav Hajek <highegg@gmail.com>
parents:
10123
diff
changeset
|
451 2010-01-17 Jaroslav Hajek <highegg@gmail.com> |
e5c6600e3400
use octave_idx_type where needed
Jaroslav Hajek <highegg@gmail.com>
parents:
10123
diff
changeset
|
452 |
e5c6600e3400
use octave_idx_type where needed
Jaroslav Hajek <highegg@gmail.com>
parents:
10123
diff
changeset
|
453 * CMatrix.cc (xgemm): Use octave_idx_type rather than int. |
e5c6600e3400
use octave_idx_type where needed
Jaroslav Hajek <highegg@gmail.com>
parents:
10123
diff
changeset
|
454 * fCMatrix.cc (xgemm): Ditto. |
e5c6600e3400
use octave_idx_type where needed
Jaroslav Hajek <highegg@gmail.com>
parents:
10123
diff
changeset
|
455 |
10123
8590f3c51868
Fix a few MSVC-related problems and partially re-enable MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10115
diff
changeset
|
456 2010-01-16 Michael Goffioul <michael.goffioul@gmail.com> |
8590f3c51868
Fix a few MSVC-related problems and partially re-enable MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10115
diff
changeset
|
457 |
8590f3c51868
Fix a few MSVC-related problems and partially re-enable MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10115
diff
changeset
|
458 * oct-time.cc: Avoid to include nonneeded headers from Win32 API, |
8590f3c51868
Fix a few MSVC-related problems and partially re-enable MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10115
diff
changeset
|
459 especially winsock.h. Include <sys/time.h> unconditionally, as it is |
8590f3c51868
Fix a few MSVC-related problems and partially re-enable MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10115
diff
changeset
|
460 now provided by gnulib, in order to get gettimeofday defined. |
8590f3c51868
Fix a few MSVC-related problems and partially re-enable MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10115
diff
changeset
|
461 |
10115
ed49cef7e005
simplify Array::insert methods
Jaroslav Hajek <highegg@gmail.com>
parents:
10114
diff
changeset
|
462 2010-01-15 Jaroslav Hajek <highegg@gmail.com> |
ed49cef7e005
simplify Array::insert methods
Jaroslav Hajek <highegg@gmail.com>
parents:
10114
diff
changeset
|
463 |
ed49cef7e005
simplify Array::insert methods
Jaroslav Hajek <highegg@gmail.com>
parents:
10114
diff
changeset
|
464 * Array.cc (Array<T>::insert): Rewrite using assign. |
ed49cef7e005
simplify Array::insert methods
Jaroslav Hajek <highegg@gmail.com>
parents:
10114
diff
changeset
|
465 (Array<T>::insert2, Array<T>::insertN): Remove. |
ed49cef7e005
simplify Array::insert methods
Jaroslav Hajek <highegg@gmail.com>
parents:
10114
diff
changeset
|
466 * Array.h: Update declarations. Add brief documentation. |
ed49cef7e005
simplify Array::insert methods
Jaroslav Hajek <highegg@gmail.com>
parents:
10114
diff
changeset
|
467 |
10114
e4936c129cbd
optimize sorting of bools
Jaroslav Hajek <highegg@gmail.com>
parents:
10113
diff
changeset
|
468 2010-01-15 Jaroslav Hajek <highegg@gmail.com> |
e4936c129cbd
optimize sorting of bools
Jaroslav Hajek <highegg@gmail.com>
parents:
10113
diff
changeset
|
469 |
e4936c129cbd
optimize sorting of bools
Jaroslav Hajek <highegg@gmail.com>
parents:
10113
diff
changeset
|
470 * Array-b.cc: Inline ascending and descending sort. |
e4936c129cbd
optimize sorting of bools
Jaroslav Hajek <highegg@gmail.com>
parents:
10113
diff
changeset
|
471 (do_bool_partition): New helper template function. |
e4936c129cbd
optimize sorting of bools
Jaroslav Hajek <highegg@gmail.com>
parents:
10113
diff
changeset
|
472 (octave_sort<bool>::sort): Provide specializations. |
e4936c129cbd
optimize sorting of bools
Jaroslav Hajek <highegg@gmail.com>
parents:
10113
diff
changeset
|
473 |
10113 | 474 2010-01-14 Jaroslav Hajek <highegg@gmail.com> |
475 | |
476 * Array.cc (Array<T>::insert (const Array<T>&, const | |
477 Array<octave_idx_type>&): Allow less dimensions than indices. | |
478 | |
10107
fd262afea1d1
optimize bsxfun for chars
Jaroslav Hajek <highegg@gmail.com>
parents:
10105
diff
changeset
|
479 2010-01-14 Jaroslav Hajek <highegg@gmail.com> |
fd262afea1d1
optimize bsxfun for chars
Jaroslav Hajek <highegg@gmail.com>
parents:
10105
diff
changeset
|
480 |
fd262afea1d1
optimize bsxfun for chars
Jaroslav Hajek <highegg@gmail.com>
parents:
10105
diff
changeset
|
481 * chNDArray.h: Declare relational bsxfun ops. |
fd262afea1d1
optimize bsxfun for chars
Jaroslav Hajek <highegg@gmail.com>
parents:
10105
diff
changeset
|
482 * chNDArray.cc: Define them. |
fd262afea1d1
optimize bsxfun for chars
Jaroslav Hajek <highegg@gmail.com>
parents:
10105
diff
changeset
|
483 |
10105
018d92ad0730
fix prototypes for zherk and cherk
John W. Eaton <jwe@octave.org>
parents:
10102
diff
changeset
|
484 2010-01-14 John W. Eaton <jwe@octave.org> |
018d92ad0730
fix prototypes for zherk and cherk
John W. Eaton <jwe@octave.org>
parents:
10102
diff
changeset
|
485 |
018d92ad0730
fix prototypes for zherk and cherk
John W. Eaton <jwe@octave.org>
parents:
10102
diff
changeset
|
486 * CMatrix.cc: Fix prototype for zherk. |
018d92ad0730
fix prototypes for zherk and cherk
John W. Eaton <jwe@octave.org>
parents:
10102
diff
changeset
|
487 * fCMatrix.cc: Fix prototype for cherk. |
018d92ad0730
fix prototypes for zherk and cherk
John W. Eaton <jwe@octave.org>
parents:
10102
diff
changeset
|
488 |
10102
8b4e3388a254
oct-rl-edit.c (octave_rl_set_terminal_name): save term string before setting rl_terminal_name
John W. Eaton <jwe@octave.org>
parents:
10101
diff
changeset
|
489 2010-01-14 John W. Eaton <jwe@octave.org> |
8b4e3388a254
oct-rl-edit.c (octave_rl_set_terminal_name): save term string before setting rl_terminal_name
John W. Eaton <jwe@octave.org>
parents:
10101
diff
changeset
|
490 |
8b4e3388a254
oct-rl-edit.c (octave_rl_set_terminal_name): save term string before setting rl_terminal_name
John W. Eaton <jwe@octave.org>
parents:
10101
diff
changeset
|
491 * oct-rl-edit.c (octave_rl_set_name): Save arg before setting |
8b4e3388a254
oct-rl-edit.c (octave_rl_set_terminal_name): save term string before setting rl_terminal_name
John W. Eaton <jwe@octave.org>
parents:
10101
diff
changeset
|
492 rl_terminal_name. |
8b4e3388a254
oct-rl-edit.c (octave_rl_set_terminal_name): save term string before setting rl_terminal_name
John W. Eaton <jwe@octave.org>
parents:
10101
diff
changeset
|
493 |
10101
b51848e95e4b
cleanups to avoid valgrind warnings
John W. Eaton <jwe@octave.org>
parents:
10098
diff
changeset
|
494 2010-01-13 John W. Eaton <jwe@octave.org> |
b51848e95e4b
cleanups to avoid valgrind warnings
John W. Eaton <jwe@octave.org>
parents:
10098
diff
changeset
|
495 |
b51848e95e4b
cleanups to avoid valgrind warnings
John W. Eaton <jwe@octave.org>
parents:
10098
diff
changeset
|
496 * idx-vector.cc (idx_vector::idx_scalar_rep::idx_scalar_rep (T x)): |
b51848e95e4b
cleanups to avoid valgrind warnings
John W. Eaton <jwe@octave.org>
parents:
10098
diff
changeset
|
497 Initialize dummy variable. |
b51848e95e4b
cleanups to avoid valgrind warnings
John W. Eaton <jwe@octave.org>
parents:
10098
diff
changeset
|
498 |
10098
d3451c1496f8
allow the general case in Array<T>::compute_index
Jaroslav Hajek <highegg@gmail.com>
parents:
10095
diff
changeset
|
499 2010-01-13 Jaroslav Hajek <highegg@gmail.com> |
d3451c1496f8
allow the general case in Array<T>::compute_index
Jaroslav Hajek <highegg@gmail.com>
parents:
10095
diff
changeset
|
500 |
d3451c1496f8
allow the general case in Array<T>::compute_index
Jaroslav Hajek <highegg@gmail.com>
parents:
10095
diff
changeset
|
501 * Array.cc (Array<T>::compute_index): Generalize to the case of |
d3451c1496f8
allow the general case in Array<T>::compute_index
Jaroslav Hajek <highegg@gmail.com>
parents:
10095
diff
changeset
|
502 unequal lengths. |
d3451c1496f8
allow the general case in Array<T>::compute_index
Jaroslav Hajek <highegg@gmail.com>
parents:
10095
diff
changeset
|
503 |
10095
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
504 2010-01-13 Jaroslav Hajek <highegg@gmail.com> |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
505 |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
506 * dim-vector.h (dim_vector::chop_trailing_singletons): Only uniquify |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
507 if really needed. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
508 * Array.h (Array<T>::Array (T*, const dim_vector&)): Call |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
509 chop_trailing_singletons. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
510 (Array<T>::Array (const Array<T>&, const dim_vector&, |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
511 octave_idx_type...)): Ditto. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
512 (Array<T>::Array (const dim_vector&)): Ditto. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
513 (Array<T>::Array (const dim_vector&, const T&)): Ditto. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
514 (Array<T>::chop_trailing_singletons): Deprecate. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
515 * Array.cc (Array::Array(const Array&, const dim_vector&)): Ditto. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
516 (Array::index (const Array<idx_vector>&, ...)): Ditto. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
517 (Array<T>::permute): Don't call deprecate method here. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
518 (Array<T>::assign): Neither here. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
519 |
10085
82d47b706424
Remove unnecessary uses of simple_move_if_change_rule
Rik <rdrider0-list@yahoo.com>
parents:
10075
diff
changeset
|
520 2010-01-11 Rik <octave@nomad.inbox5.com> |
82d47b706424
Remove unnecessary uses of simple_move_if_change_rule
Rik <rdrider0-list@yahoo.com>
parents:
10075
diff
changeset
|
521 |
82d47b706424
Remove unnecessary uses of simple_move_if_change_rule
Rik <rdrider0-list@yahoo.com>
parents:
10075
diff
changeset
|
522 * Makefile.am: Remove unnecessary use of simple_move_if_change_rule to allow |
82d47b706424
Remove unnecessary uses of simple_move_if_change_rule
Rik <rdrider0-list@yahoo.com>
parents:
10075
diff
changeset
|
523 Make to update timestamps |
82d47b706424
Remove unnecessary uses of simple_move_if_change_rule
Rik <rdrider0-list@yahoo.com>
parents:
10075
diff
changeset
|
524 |
10075
84b0725f4b09
return class types by reference in const Array element access functions
Jaroslav Hajek <highegg@gmail.com>
parents:
10072
diff
changeset
|
525 2010-01-08 Jaroslav Hajek <highegg@gmail.com> |
84b0725f4b09
return class types by reference in const Array element access functions
Jaroslav Hajek <highegg@gmail.com>
parents:
10072
diff
changeset
|
526 |
84b0725f4b09
return class types by reference in const Array element access functions
Jaroslav Hajek <highegg@gmail.com>
parents:
10072
diff
changeset
|
527 * Array.h (Array<T>::crefT): New helper typedef. |
84b0725f4b09
return class types by reference in const Array element access functions
Jaroslav Hajek <highegg@gmail.com>
parents:
10072
diff
changeset
|
528 (Array<T>::elem const, Array<T>::xelem const, |
84b0725f4b09
return class types by reference in const Array element access functions
Jaroslav Hajek <highegg@gmail.com>
parents:
10072
diff
changeset
|
529 Array<T>::checkelem const, Array<T>::operator () const): Return crefT. |
84b0725f4b09
return class types by reference in const Array element access functions
Jaroslav Hajek <highegg@gmail.com>
parents:
10072
diff
changeset
|
530 (Array<T>::range_error const): Remove overloads. |
84b0725f4b09
return class types by reference in const Array element access functions
Jaroslav Hajek <highegg@gmail.com>
parents:
10072
diff
changeset
|
531 * Array.cc (Array<T>::range_error const): Remove overloads. |
84b0725f4b09
return class types by reference in const Array element access functions
Jaroslav Hajek <highegg@gmail.com>
parents:
10072
diff
changeset
|
532 |
10072
0b0bf1fd1ed7
use gettimeofday module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10068
diff
changeset
|
533 2010-01-07 John W. Eaton <jwe@octave.org> |
0b0bf1fd1ed7
use gettimeofday module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10068
diff
changeset
|
534 |
0b0bf1fd1ed7
use gettimeofday module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10068
diff
changeset
|
535 * oct-time.cc (octave_time::stamp): Assume gettimeofday is |
0b0bf1fd1ed7
use gettimeofday module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10068
diff
changeset
|
536 available and that it takes two arguments. |
0b0bf1fd1ed7
use gettimeofday module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10068
diff
changeset
|
537 |
10068
ca93f583573d
handle interrupts octave_fgets
Jaroslav Hajek <highegg@gmail.com>
parents:
10061
diff
changeset
|
538 2010-01-07 Jaroslav Hajek <highegg@gmail.com> |
ca93f583573d
handle interrupts octave_fgets
Jaroslav Hajek <highegg@gmail.com>
parents:
10061
diff
changeset
|
539 |
ca93f583573d
handle interrupts octave_fgets
Jaroslav Hajek <highegg@gmail.com>
parents:
10061
diff
changeset
|
540 * lo-utils.cc (octave_fgets (FILE *, bool&)): Add OCTAVE_QUIT at the |
ca93f583573d
handle interrupts octave_fgets
Jaroslav Hajek <highegg@gmail.com>
parents:
10061
diff
changeset
|
541 end. |
ca93f583573d
handle interrupts octave_fgets
Jaroslav Hajek <highegg@gmail.com>
parents:
10061
diff
changeset
|
542 |
10061
ec0c445d0d6f
include -I../libgnu in AM_CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
10042
diff
changeset
|
543 2010-01-05 John W. Eaton <jwe@octave.org> |
ec0c445d0d6f
include -I../libgnu in AM_CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
10042
diff
changeset
|
544 |
ec0c445d0d6f
include -I../libgnu in AM_CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
10042
diff
changeset
|
545 * Makefile.am (AM_CPPFLAGS): Include @CPPFLAGS@ and -I../libgnu |
ec0c445d0d6f
include -I../libgnu in AM_CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
10042
diff
changeset
|
546 in the list. |
ec0c445d0d6f
include -I../libgnu in AM_CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
10042
diff
changeset
|
547 |
10042
b7915ebe8acf
implement index reduction rule for multiple constant ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
10038
diff
changeset
|
548 2009-12-30 Jaroslav Hajek <highegg@gmail.com> |
b7915ebe8acf
implement index reduction rule for multiple constant ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
10038
diff
changeset
|
549 |
b7915ebe8acf
implement index reduction rule for multiple constant ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
10038
diff
changeset
|
550 * idx-vector.cc (idx_vector::maybe_reduce): Implement reduction rule |
b7915ebe8acf
implement index reduction rule for multiple constant ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
10038
diff
changeset
|
551 for subsequent ones () indices. |
b7915ebe8acf
implement index reduction rule for multiple constant ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
10038
diff
changeset
|
552 |
10038
62eb444704ba
file-ops.cc: avoid problems if sys/stat.h #defines mkdir or mkfifo
John W. Eaton <jwe@octave.org>
parents:
10029
diff
changeset
|
553 2009-12-28 John W. Eaton <jwe@octave.org> |
62eb444704ba
file-ops.cc: avoid problems if sys/stat.h #defines mkdir or mkfifo
John W. Eaton <jwe@octave.org>
parents:
10029
diff
changeset
|
554 |
62eb444704ba
file-ops.cc: avoid problems if sys/stat.h #defines mkdir or mkfifo
John W. Eaton <jwe@octave.org>
parents:
10029
diff
changeset
|
555 * file-ops.cc (fle_ops::mkdir_internal, |
62eb444704ba
file-ops.cc: avoid problems if sys/stat.h #defines mkdir or mkfifo
John W. Eaton <jwe@octave.org>
parents:
10029
diff
changeset
|
556 file_ops::mkfifo_internal): New private static functions. |
62eb444704ba
file-ops.cc: avoid problems if sys/stat.h #defines mkdir or mkfifo
John W. Eaton <jwe@octave.org>
parents:
10029
diff
changeset
|
557 * file-ops.h (file_ops::mkdir, file_ops::mkdir): Move |
62eb444704ba
file-ops.cc: avoid problems if sys/stat.h #defines mkdir or mkfifo
John W. Eaton <jwe@octave.org>
parents:
10029
diff
changeset
|
558 definitions here from file-ops.cc. Forward to X_internal functions. |
62eb444704ba
file-ops.cc: avoid problems if sys/stat.h #defines mkdir or mkfifo
John W. Eaton <jwe@octave.org>
parents:
10029
diff
changeset
|
559 |
10029
3b2f81d5a6dc
use gnulib modules for fstat, lstat, and stat
John W. Eaton <jwe@octave.org>
parents:
10027
diff
changeset
|
560 2009-12-26 John W. Eaton <jwe@octave.org> |
3b2f81d5a6dc
use gnulib modules for fstat, lstat, and stat
John W. Eaton <jwe@octave.org>
parents:
10027
diff
changeset
|
561 |
3b2f81d5a6dc
use gnulib modules for fstat, lstat, and stat
John W. Eaton <jwe@octave.org>
parents:
10027
diff
changeset
|
562 * file-stat.cc (lstat): Delete replacement function. |
3b2f81d5a6dc
use gnulib modules for fstat, lstat, and stat
John W. Eaton <jwe@octave.org>
parents:
10027
diff
changeset
|
563 (file_fstat::update_internal): Assume fstat is available. |
3b2f81d5a6dc
use gnulib modules for fstat, lstat, and stat
John W. Eaton <jwe@octave.org>
parents:
10027
diff
changeset
|
564 |
10027
0f312e11957e
use mkdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10025
diff
changeset
|
565 2009-12-25 John W. Eaton <jwe@octave.org> |
0f312e11957e
use mkdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10025
diff
changeset
|
566 |
0f312e11957e
use mkdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10025
diff
changeset
|
567 * file-ops.cc (file_ops::mkdir): Assume we have an mkdir |
0f312e11957e
use mkdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10025
diff
changeset
|
568 function that takes two arguments. |
0f312e11957e
use mkdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10025
diff
changeset
|
569 * mkdir.c: Delete. |
0f312e11957e
use mkdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10025
diff
changeset
|
570 * Makefile.am (LIBOCTAVE_C_SOURCES): Remove mkdir.c from the list. |
0f312e11957e
use mkdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10025
diff
changeset
|
571 |
10025
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
572 2009-12-25 John W. Eaton <jwe@octave.org> |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
573 |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
574 * oct-md5.cc (oct_md5_result_to_str): New function. |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
575 (oct_md5, oct_md5_file): Simplify using gnulib md5 functions and |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
576 oct_md5_result_to_str. |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
577 |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
578 * Makefile.am (INCS): Remove md5.h from the list. |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
579 (LIBOCTAVE_C_SOURCES): Remove md5.c from the list. |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
580 * md5.c, md5.h: Delete. |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
581 |
10004
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9994
diff
changeset
|
582 2009-12-19 Rik <octave@nomad.inbox5.com> |
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9994
diff
changeset
|
583 |
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9994
diff
changeset
|
584 * Makefile.am: Eliminate TOPDIR variable in favor of built-in automake |
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9994
diff
changeset
|
585 variables of top_builddir and top_srcdir. |
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9994
diff
changeset
|
586 |
9994
fdc3a43c0be8
avoid conflict with gnulib defining glob to be rpl_glob
John W. Eaton <jwe@octave.org>
parents:
9987
diff
changeset
|
587 2009-12-17 John W. Eaton <jwe@octave.org> |
fdc3a43c0be8
avoid conflict with gnulib defining glob to be rpl_glob
John W. Eaton <jwe@octave.org>
parents:
9987
diff
changeset
|
588 |
fdc3a43c0be8
avoid conflict with gnulib defining glob to be rpl_glob
John W. Eaton <jwe@octave.org>
parents:
9987
diff
changeset
|
589 * glob-match.h, glob-match.cc (glob_match::glob_internal): |
fdc3a43c0be8
avoid conflict with gnulib defining glob to be rpl_glob
John W. Eaton <jwe@octave.org>
parents:
9987
diff
changeset
|
590 Rename from glob_match::glob and make private. |
fdc3a43c0be8
avoid conflict with gnulib defining glob to be rpl_glob
John W. Eaton <jwe@octave.org>
parents:
9987
diff
changeset
|
591 * glob-match.h (glob_match::glob): Forward to glob_internal. |
fdc3a43c0be8
avoid conflict with gnulib defining glob to be rpl_glob
John W. Eaton <jwe@octave.org>
parents:
9987
diff
changeset
|
592 |
9987
bb30843c4929
fix subscripting of vectors by N-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9986
diff
changeset
|
593 2009-12-15 Jaroslav Hajek <highegg@gmail.com> |
bb30843c4929
fix subscripting of vectors by N-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9986
diff
changeset
|
594 |
bb30843c4929
fix subscripting of vectors by N-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9986
diff
changeset
|
595 * Array.cc (Array<T>::index (const idx_vector&)): Fix determining of |
bb30843c4929
fix subscripting of vectors by N-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9986
diff
changeset
|
596 result dimensions. |
bb30843c4929
fix subscripting of vectors by N-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9986
diff
changeset
|
597 |
9986
672e1b49e01e
optimize indexing of ranges by single subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9985
diff
changeset
|
598 2009-12-15 Jaroslav Hajek <highegg@gmail.com> |
672e1b49e01e
optimize indexing of ranges by single subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9985
diff
changeset
|
599 |
672e1b49e01e
optimize indexing of ranges by single subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9985
diff
changeset
|
600 * Range.cc (Range::elem, Range::checkelem, Range::index): |
672e1b49e01e
optimize indexing of ranges by single subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9985
diff
changeset
|
601 New methods. |
672e1b49e01e
optimize indexing of ranges by single subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9985
diff
changeset
|
602 * Range.h: Declare them. |
672e1b49e01e
optimize indexing of ranges by single subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9985
diff
changeset
|
603 |
9985
43a29eeda994
fix idx_vector::loop for masks
Jaroslav Hajek <highegg@gmail.com>
parents:
9979
diff
changeset
|
604 2009-12-15 Jaroslav Hajek <highegg@gmail.com> |
43a29eeda994
fix idx_vector::loop for masks
Jaroslav Hajek <highegg@gmail.com>
parents:
9979
diff
changeset
|
605 |
43a29eeda994
fix idx_vector::loop for masks
Jaroslav Hajek <highegg@gmail.com>
parents:
9979
diff
changeset
|
606 * idx-vector.h (idx_vector::loop, idx_vector::bloop): Fix behavior for |
43a29eeda994
fix idx_vector::loop for masks
Jaroslav Hajek <highegg@gmail.com>
parents:
9979
diff
changeset
|
607 masks. |
43a29eeda994
fix idx_vector::loop for masks
Jaroslav Hajek <highegg@gmail.com>
parents:
9979
diff
changeset
|
608 |
9979
3878bae57c12
Clean liboctave/Makefile.am to use more standard automake syntax
Rik <rdrider0-list@yahoo.com>
parents:
9975
diff
changeset
|
609 2009-12-13 Rik <octave@nomad.inbox5.com> |
3878bae57c12
Clean liboctave/Makefile.am to use more standard automake syntax
Rik <rdrider0-list@yahoo.com>
parents:
9975
diff
changeset
|
610 |
3878bae57c12
Clean liboctave/Makefile.am to use more standard automake syntax
Rik <rdrider0-list@yahoo.com>
parents:
9975
diff
changeset
|
611 * Makefile.am: Use DISTCLEANFILES rather than distclean-local rule. |
3878bae57c12
Clean liboctave/Makefile.am to use more standard automake syntax
Rik <rdrider0-list@yahoo.com>
parents:
9975
diff
changeset
|
612 Use PERL variable defined by autoconf rather than direct call. Use |
3878bae57c12
Clean liboctave/Makefile.am to use more standard automake syntax
Rik <rdrider0-list@yahoo.com>
parents:
9975
diff
changeset
|
613 simple_move_if_change rule to reduce useless compiles if OPTS_INC have not |
3878bae57c12
Clean liboctave/Makefile.am to use more standard automake syntax
Rik <rdrider0-list@yahoo.com>
parents:
9975
diff
changeset
|
614 changed. |
3878bae57c12
Clean liboctave/Makefile.am to use more standard automake syntax
Rik <rdrider0-list@yahoo.com>
parents:
9975
diff
changeset
|
615 |
9975
14ed68363284
remove stray decls from oct-shlib.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9971
diff
changeset
|
616 2009-12-12 Jaroslav Hajek <highegg@gmail.com> |
14ed68363284
remove stray decls from oct-shlib.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9971
diff
changeset
|
617 |
14ed68363284
remove stray decls from oct-shlib.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9971
diff
changeset
|
618 * oct-shlib.h: Remove stray declarations. |
14ed68363284
remove stray decls from oct-shlib.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9971
diff
changeset
|
619 |
9971
d0680ace5fcb
oct-shlib.cc (octave_dlopen_shlib): reverse sense of test and improve error message
John W. Eaton <jwe@octave.org>
parents:
9967
diff
changeset
|
620 2009-12-11 John W. Eaton <jwe@octave.org> |
d0680ace5fcb
oct-shlib.cc (octave_dlopen_shlib): reverse sense of test and improve error message
John W. Eaton <jwe@octave.org>
parents:
9967
diff
changeset
|
621 |
d0680ace5fcb
oct-shlib.cc (octave_dlopen_shlib): reverse sense of test and improve error message
John W. Eaton <jwe@octave.org>
parents:
9967
diff
changeset
|
622 * oct-shlib.cc (octave_dlopen_shlib::octave_dlopen_shlib): |
d0680ace5fcb
oct-shlib.cc (octave_dlopen_shlib): reverse sense of test and improve error message
John W. Eaton <jwe@octave.org>
parents:
9967
diff
changeset
|
623 Print filename along with message from dlerror. |
d0680ace5fcb
oct-shlib.cc (octave_dlopen_shlib): reverse sense of test and improve error message
John W. Eaton <jwe@octave.org>
parents:
9967
diff
changeset
|
624 Reverse sense of test. |
d0680ace5fcb
oct-shlib.cc (octave_dlopen_shlib): reverse sense of test and improve error message
John W. Eaton <jwe@octave.org>
parents:
9967
diff
changeset
|
625 |
9958
80432f0ee895
improve octave_shlib for safer shared libs treatment
Jaroslav Hajek <highegg@gmail.com>
parents:
9947
diff
changeset
|
626 2009-12-09 Jaroslav Hajek <highegg@gmail.com> |
80432f0ee895
improve octave_shlib for safer shared libs treatment
Jaroslav Hajek <highegg@gmail.com>
parents:
9947
diff
changeset
|
627 |
80432f0ee895
improve octave_shlib for safer shared libs treatment
Jaroslav Hajek <highegg@gmail.com>
parents:
9947
diff
changeset
|
628 * oct-shlib.h (octave_shlib): Rewrite. |
80432f0ee895
improve octave_shlib for safer shared libs treatment
Jaroslav Hajek <highegg@gmail.com>
parents:
9947
diff
changeset
|
629 * oct-shlib.cc (octave_shlib): Rewrite. |
80432f0ee895
improve octave_shlib for safer shared libs treatment
Jaroslav Hajek <highegg@gmail.com>
parents:
9947
diff
changeset
|
630 |
9947
31436dcf7d0f
call nstrftime, not my_strftime
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
631 2009-12-09 John W. Eaton <jwe@octave.org> |
31436dcf7d0f
call nstrftime, not my_strftime
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
632 |
31436dcf7d0f
call nstrftime, not my_strftime
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
633 * oct-time.cc (octave_base_tm::strftime): Call nstrftime instead |
31436dcf7d0f
call nstrftime, not my_strftime
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
634 of my_strftime. |
31436dcf7d0f
call nstrftime, not my_strftime
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
635 |
9946 | 636 2009-12-09 John W. Eaton <jwe@octave.org> |
637 | |
638 * oct-time.cc: Include strftime.h. Don't provide decl for strftime. | |
639 (octave_base_tm::strftime): Call my_strftime instead of ::strftime. | |
640 * Makefile.am (AM_CPPFLAGS): Add -I$(top_srcdir)/libgnu to the list. | |
641 (LINK_DEPS): Add ../libgnu/libgnu.la to the list. | |
642 (LIBOCTAVE_C_SOURCES): Remove strftime.c from the list. | |
643 * strftime.c: Delete. | |
644 | |
9941
1369f13ae6b2
several fixes by M. Goffioul
Jaroslav Hajek <highegg@gmail.com>
parents:
9922
diff
changeset
|
645 2009-12-08 Michael Goffioul <michael.goffioul@gmail.com> |
1369f13ae6b2
several fixes by M. Goffioul
Jaroslav Hajek <highegg@gmail.com>
parents:
9922
diff
changeset
|
646 |
1369f13ae6b2
several fixes by M. Goffioul
Jaroslav Hajek <highegg@gmail.com>
parents:
9922
diff
changeset
|
647 * Array-d.cc (Array<double>::is_sorted): Declare as OCTAVE_API. |
1369f13ae6b2
several fixes by M. Goffioul
Jaroslav Hajek <highegg@gmail.com>
parents:
9922
diff
changeset
|
648 * Array-f.cc (Array<float>::is_sorted): Ditto. |
1369f13ae6b2
several fixes by M. Goffioul
Jaroslav Hajek <highegg@gmail.com>
parents:
9922
diff
changeset
|
649 * lo-sysdep.cc: Undef min and max after including windows.h |
1369f13ae6b2
several fixes by M. Goffioul
Jaroslav Hajek <highegg@gmail.com>
parents:
9922
diff
changeset
|
650 |
9922
3a8327d51ed4
optimize issorted for doubles & floats
Jaroslav Hajek <highegg@gmail.com>
parents:
9921
diff
changeset
|
651 2009-12-05 Jaroslav Hajek <highegg@gmail.com> |
3a8327d51ed4
optimize issorted for doubles & floats
Jaroslav Hajek <highegg@gmail.com>
parents:
9921
diff
changeset
|
652 |
3a8327d51ed4
optimize issorted for doubles & floats
Jaroslav Hajek <highegg@gmail.com>
parents:
9921
diff
changeset
|
653 * Array-d.cc (Array<double>::is_sorted): Optimized specialization. |
3a8327d51ed4
optimize issorted for doubles & floats
Jaroslav Hajek <highegg@gmail.com>
parents:
9921
diff
changeset
|
654 * Array-f.cc (Array<float>::is_sorted): Ditto. |
3a8327d51ed4
optimize issorted for doubles & floats
Jaroslav Hajek <highegg@gmail.com>
parents:
9921
diff
changeset
|
655 |
9921
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
656 2009-12-05 Jaroslav Hajek <highegg@gmail.com> |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
657 |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
658 * oct-sort.cc (lookup_binary): Remove. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
659 (octave_sort<T>::lookup (const T*, octave_idx_type, const T&, comp)): Move |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
660 code here. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
661 (octave_sort<T>::lookup (const T*, octave_idx_type, const T*, |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
662 octave_idx_type, octave_idx_type *, comp)): Remove offset parameter. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
663 Use a simple sequence of lookups. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
664 (octave_sort<T>::lookup (const T*, octave_idx_type, const T*, |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
665 octave_idx_type, octave_idx_type *)): Update. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
666 (octave_sort<T>::lookupm, octave_sort<T>::lookupb): Remove. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
667 (octave_sort<T>::lookup_sorted): New overloaded method. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
668 |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
669 * Array.cc (Array<T>::lookup (const Array<T>&, sortmode)): Remove |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
670 linf & rinf params. Rewrite using is_sorted to check for sortedness, |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
671 call octave_sort::lookup_sorted to do the sorted merge. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
672 (Array<T>::lookupm, Array<T>::lookupb): Remove. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
673 (NO_INSTANTIATE_ARRAY_SORT): Update. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
674 |
9920
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
675 2009-12-05 Jaroslav Hajek <highegg@gmail.com> |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
676 |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
677 * Array.cc (sortrows_comparator): Rename to safe_comparator. |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
678 (Array<T>::is_sorted): Use it here. |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
679 * Array-d.cc: Update. |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
680 * Array-f.cc: Update. |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
681 * Array-C.cc: Update. |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
682 * Array-fC.cc: Update. |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
683 |
9906 | 684 2009-12-03 John W. Eaton <jwe@octave.org> |
685 | |
686 * Makefile.am (BUILT_NODISTFILES): New variable. | |
687 | |
9894
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
688 2009-12-01 Jaroslav Hajek <highegg@gmail.com> |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
689 |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
690 * idx-vector.cc (idx_vector::idx_range_rep::unconvert, |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
691 idx_vector::idx_scalar_rep::unconvert, |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
692 idx_vector::idx_vector_rep::unconvert, |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
693 idx_vector::idx_mask_rep::unconvert): New methods. |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
694 (idx_vector::unconvert): Use them here. Add mask output. |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
695 * idx-vector.h: Update decls. |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
696 |
9886
cddd5c3d5f04
fix & extend special-case optimizations for indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
9879
diff
changeset
|
697 2009-11-28 Jaroslav Hajek <highegg@gmail.com> |
cddd5c3d5f04
fix & extend special-case optimizations for indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
9879
diff
changeset
|
698 |
cddd5c3d5f04
fix & extend special-case optimizations for indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
9879
diff
changeset
|
699 * dim-vector.h (dim_vector::zero_by_zero): New method. |
cddd5c3d5f04
fix & extend special-case optimizations for indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
9879
diff
changeset
|
700 * idx-vector.h (idx_vector::idx_mask_rep::is_colon_equiv): Fix. |
9967 | 701 * Array.cc (Array<T>::assign): Minor tweaks. Optimize |
9886
cddd5c3d5f04
fix & extend special-case optimizations for indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
9879
diff
changeset
|
702 A = []; A(1:m,1:n,1:k) = X for all cases. Use a shallow copy |
cddd5c3d5f04
fix & extend special-case optimizations for indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
9879
diff
changeset
|
703 for all colon-equivalent indices. |
cddd5c3d5f04
fix & extend special-case optimizations for indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
9879
diff
changeset
|
704 |
9879
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
705 2009-11-27 Jaroslav Hajek <highegg@gmail.com> |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
706 |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
707 * idx-vector.h (idx_vector::index_class): New member: class_mask. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
708 (idx_vector::idx_mask_rep): New class. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
709 (idx_vector::idx_vector (bool)): Construct idx_mask_rep. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
710 (idx_vector::unmask): New method decl. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
711 * idx-vector.cc (idx_vector::idx_vector (const boolNDArray&)): |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
712 Construct idx_mask_rep conditionally. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
713 (idx_vector::unmask): New method. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
714 (idx_vector::unconvert): Make non-const. unmask when called on a mask |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
715 vector. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
716 (idx_vector::is_cont_range): Check also for idx_mask_rep. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
717 |
9878
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
718 2009-11-27 Jaroslav Hajek <highegg@gmail.com> |
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
719 |
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
720 * Array.cc (Array<T>::nnz): New method. |
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
721 * Array.h: Declare it. |
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
722 * MArray.h (MArray<T>::nnz): Remove. |
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
723 * MArrayN.h (MArrayN<T>::nnz): Remove. |
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
724 * boolNDArray.h (boolNDArray::nnz): Remove. |
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
725 |
9862
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
726 2009-11-25 Jaroslav Hajek <highegg@gmail.com> |
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
727 |
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
728 * dbleCHOL.cc (CHOL::init): Output LAPACK's info. Resize matrix if |
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
729 nonzero. Use smarter copying. |
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
730 * floatCHOL.cc (FloatCHOL::init): Ditto. |
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
731 * CmplxCHOL.cc (ComplexCHOL::init): Ditto. |
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
732 * fCmplxCHOL.cc (FloatComplexCHOL::init): Ditto. |
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
733 |
9858
47c5af1868df
move idx_add methods to MArrayN
Jaroslav Hajek <highegg@gmail.com>
parents:
9840
diff
changeset
|
734 2009-11-24 Jaroslav Hajek <highegg@gmail.com> |
47c5af1868df
move idx_add methods to MArrayN
Jaroslav Hajek <highegg@gmail.com>
parents:
9840
diff
changeset
|
735 |
47c5af1868df
move idx_add methods to MArrayN
Jaroslav Hajek <highegg@gmail.com>
parents:
9840
diff
changeset
|
736 * MArrayN.cc (MArrayN::idx_add): New methods. |
47c5af1868df
move idx_add methods to MArrayN
Jaroslav Hajek <highegg@gmail.com>
parents:
9840
diff
changeset
|
737 * MArrayN.h: Declare them. |
47c5af1868df
move idx_add methods to MArrayN
Jaroslav Hajek <highegg@gmail.com>
parents:
9840
diff
changeset
|
738 * MArray.cc, MArray.h: Remove from here. |
47c5af1868df
move idx_add methods to MArrayN
Jaroslav Hajek <highegg@gmail.com>
parents:
9840
diff
changeset
|
739 |
9840
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
740 2009-11-19 Jaroslav Hajek <highegg@gmail.com> |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
741 |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
742 * dim-vector.h (dim_vector::safe_numel): New method. |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
743 * Array.h (Array<T>::Array (const dim_vector&), |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
744 Array<T>::Array (const dim_vector&, const T&), |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
745 Array<T>::Array (T *, const dim_vector&)): Use it here. |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
746 * Array.cc (Array<T>::clear (const dim_vector&)): Also here. |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
747 (Array<T>::get_size): Remove. |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
748 * Array2.h (Array2::get_size): Remove. |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
749 * Array3.h (Array3::get_size): Remove. |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
750 |
9839
3e8b4c80ae63
use Array::get_size in Array::clear
Jaroslav Hajek <highegg@gmail.com>
parents:
9835
diff
changeset
|
751 2009-11-19 Jaroslav Hajek <highegg@gmail.com> |
3e8b4c80ae63
use Array::get_size in Array::clear
Jaroslav Hajek <highegg@gmail.com>
parents:
9835
diff
changeset
|
752 |
3e8b4c80ae63
use Array::get_size in Array::clear
Jaroslav Hajek <highegg@gmail.com>
parents:
9835
diff
changeset
|
753 * Array.cc (Array::clear (const dim_vector&)): Use get_size. |
3e8b4c80ae63
use Array::get_size in Array::clear
Jaroslav Hajek <highegg@gmail.com>
parents:
9835
diff
changeset
|
754 |
9835
1bb1ed717d2f
implement built-in erfinv
Jaroslav Hajek <highegg@gmail.com>
parents:
9831
diff
changeset
|
755 2009-11-19 Jaroslav Hajek <highegg@gmail.com> |
1bb1ed717d2f
implement built-in erfinv
Jaroslav Hajek <highegg@gmail.com>
parents:
9831
diff
changeset
|
756 |
1bb1ed717d2f
implement built-in erfinv
Jaroslav Hajek <highegg@gmail.com>
parents:
9831
diff
changeset
|
757 * lo-mappers.cc (do_erfinv): New static function. |
1bb1ed717d2f
implement built-in erfinv
Jaroslav Hajek <highegg@gmail.com>
parents:
9831
diff
changeset
|
758 (erfinv (double), erfinv (float)): New mappers. |
1bb1ed717d2f
implement built-in erfinv
Jaroslav Hajek <highegg@gmail.com>
parents:
9831
diff
changeset
|
759 * lo-mappers.h: Declare them. |
1bb1ed717d2f
implement built-in erfinv
Jaroslav Hajek <highegg@gmail.com>
parents:
9831
diff
changeset
|
760 |
9831
737624cb7560
list_in_columns: Don't SIGFPE when given empty first argument
David Grundberg <davidg@cs.umu.se>
parents:
9829
diff
changeset
|
761 2009-11-18 David Grundberg <davidg@cs.umu.se> |
737624cb7560
list_in_columns: Don't SIGFPE when given empty first argument
David Grundberg <davidg@cs.umu.se>
parents:
9829
diff
changeset
|
762 |
737624cb7560
list_in_columns: Don't SIGFPE when given empty first argument
David Grundberg <davidg@cs.umu.se>
parents:
9829
diff
changeset
|
763 * str-vec.cc (string_vector::list_in_columns): Avoid crash on |
737624cb7560
list_in_columns: Don't SIGFPE when given empty first argument
David Grundberg <davidg@cs.umu.se>
parents:
9829
diff
changeset
|
764 empty arguments from list_in_columns. |
737624cb7560
list_in_columns: Don't SIGFPE when given empty first argument
David Grundberg <davidg@cs.umu.se>
parents:
9829
diff
changeset
|
765 |
9829
8fd88cc36fa4
fix loading sparse matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9827
diff
changeset
|
766 2009-11-18 Jaroslav Hajek <highegg@gmail.com> |
8fd88cc36fa4
fix loading sparse matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9827
diff
changeset
|
767 |
9967 | 768 * Sparse.h (read_sparse_matrix): Fix order of tests and reads. |
9829
8fd88cc36fa4
fix loading sparse matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9827
diff
changeset
|
769 |
9827
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
770 2009-11-18 Jaroslav Hajek <highegg@gmail.com> |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
771 |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
772 * mx-inlines.cc (mx_inline_any_negative, mx_inline_pow): New loops. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
773 (DEFMXMAPPER2X): New macro. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
774 * bsxfun-decl.h (BSXFUN_OP2_DECL): New macro. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
775 * bsxfun-defs.cc (BSXFUN_OP2_DEF, BSXFUN_OP2_DEF_MXLOOP): New macros. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
776 (do_bsxfun_op): Use OCTAVE_QUIT. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
777 * dNDArray.cc (NDArray::all_integers (void)): New method. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
778 (NDArray::any_element_is_negative): Use mx_inline_any_negative. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
779 (bsxfun_pow (const NDArray&, const NDArray&), |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
780 bsxfun_pow (const ComplexNDArray&, const NDArray&)): New functions. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
781 * dNDArray.h: Update. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
782 * fNDArray.cc (FloatNDArray::all_integers (void)): New method. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
783 (FloatNDArray::any_element_is_negative): Use mx_inline_any_negative. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
784 (bsxfun_pow (const FloatNDArray&, const FloatNDArray&), |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
785 bsxfun_pow (const FloatComplexNDArray&, const FloatNDArray&)): New functions. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
786 * fNDArray.h: Update. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
787 * CNDArray.cc (bsxfun_pow (const ComplexNDArray&, const |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
788 ComplexNDArray&)): New function. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
789 * CNDArray.h: Update. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
790 * fCNDArray.cc (bsxfun_pow (const FloatComplexNDArray&, const |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
791 FloatComplexNDArray&)): New function. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
792 * fCNDArray.h: Update. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
793 |
9825
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
794 2009-11-13 Jaroslav Hajek <highegg@gmail.com> |
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
795 |
9967 | 796 * CNDArray.cc (ComplexNDArray::all_elements_are_real): |
9825
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
797 Use mx_inline_all_real. |
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
798 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Ditto. |
9967 | 799 * fCNDArray.cc (FloatComplexNDArray::all_elements_are_real): |
9825
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
800 Use mx_inline_all_real. |
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
801 * fCMatrix.cc (FloatComplexMatrix::all_elements_are_real): Ditto. |
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
802 * CDiagMatrix.cc (ComplexDiagMatrix::all_elements_are_real): Ditto. |
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
803 * fCDiagMatrix.cc (FloatComplexDiagMatrix::all_elements_are_real): Ditto. |
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
804 * CSparse.cc (SparseComplexMatrix::all_elements_are_real): Ditto. |
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
805 |
9821 | 806 2009-11-17 Jaroslav Hajek <highegg@gmail.com> |
807 | |
808 * base-aepbal.h (permuting_vector): Fix lower part swapping. | |
809 | |
9816
b1462c588dd5
add -DX_DLL_DEFS to CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
9814
diff
changeset
|
810 2009-11-13 John W. Eaton <jwe@octave.org> |
b1462c588dd5
add -DX_DLL_DEFS to CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
9814
diff
changeset
|
811 |
b1462c588dd5
add -DX_DLL_DEFS to CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
9814
diff
changeset
|
812 * Makefile.am (liboctave_la_CPPFLAGS): Add @OCTAVE_DLL_DEFS@ to |
b1462c588dd5
add -DX_DLL_DEFS to CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
9814
diff
changeset
|
813 the list of flags. |
b1462c588dd5
add -DX_DLL_DEFS to CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
9814
diff
changeset
|
814 |
9814
2b29f3472e20
add a couple of useful loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9812
diff
changeset
|
815 2009-11-13 Jaroslav Hajek <highegg@gmail.com> |
2b29f3472e20
add a couple of useful loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9812
diff
changeset
|
816 |
2b29f3472e20
add a couple of useful loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9812
diff
changeset
|
817 * mx-inlines.cc (mx_inline_any_nan): Rewrite. |
2b29f3472e20
add a couple of useful loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9812
diff
changeset
|
818 (mx_inline_all_real): New reduction loop. |
2b29f3472e20
add a couple of useful loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9812
diff
changeset
|
819 |
9812
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
820 2009-11-12 Jaroslav Hajek <highegg@gmail.com> |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
821 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
822 * lo-mappers.cc ( rc_acos, rc_acos, rc_acosh, rc_acosh, rc_asin, |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
823 rc_asin, rc_atanh, rc_atanh, rc_log, rc_log, rc_xlog2, rc_log2, |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
824 rc_log10, rc_log10, rc_sqrt, rc_sqrt): New mappers. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
825 * lo-mappers.h: Declare them. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
826 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
827 * lo-specfun.cc (rc_lgamma, rc_lgamma, rc_log1p, rc_log1p): New |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
828 mappers. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
829 * lo-specfun.h: Declare them. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
830 * Array.h (Array<T>::map): Unroll loop to reduce OCTAVE_QUIT checking. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
831 Provide function-reference overloads. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
832 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
833 * MArray.h (MArray<T>::map): Provide function-reference overloads. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
834 * Array2.h (Array2<T>::map): Ditto. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
835 * MArray2.h (MArray2<T>::map): Ditto. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
836 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
837 * Sparse.h (Sparse<T>::map): Ditto. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
838 * MSparse.h (MSparse<T>::map): Ditto. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
839 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
840 * dNDArray.h (NDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
841 * dNDArray.cc (NDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
842 * fNDArray.h (FloatNDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
843 * fNDArray.cc (FloatNDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
844 * CNDArray.h (ComplexNDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
845 * CNDArray.cc (ComplexNDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
846 * fCNDArray.h (FloatComplexNDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
847 * fCNDArray.cc (FloatComplexNDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
848 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
849 * dMatrix.h (Matrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
850 * dMatrix.cc (Matrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
851 * fMatrix.h (FloatMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
852 * fMatrix.cc (FloatMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
853 * CMatrix.h (ComplexMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
854 * CMatrix.cc (ComplexMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
855 * fCMatrix.h (FloatComplexMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
856 * fCMatrix.cc (FloatComplexMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
857 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
858 * dRowVector.h (RowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
859 * dRowVector.cc (RowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
860 * fRowVector.h (FloatRowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
861 * fRowVector.cc (FloatRowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
862 * CRowVector.h (ComplexRowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
863 * CRowVector.cc (ComplexRowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
864 * fCRowVector.h (FloatComplexRowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
865 * fCRowVector.cc (FloatComplexRowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
866 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
867 * dColVector.h (ColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
868 * dColVector.cc (ColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
869 * fColVector.h (FloatColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
870 * fColVector.cc (FloatColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
871 * CColVector.h (ComplexColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
872 * CColVector.cc (ComplexColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
873 * fCColVector.h (FloatComplexColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
874 * fCColVector.cc (FloatComplexColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
875 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
876 * dSparse.h (SparseMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
877 * dSparse.cc (SparseMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
878 * CSparse.h (SparseComplexMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
879 * CSparse.cc (SparseComplexMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
880 |
9805
bb70d16cca3b
fail at configure time if IEEE floating point format is not detected
John W. Eaton <jwe@octave.org>
parents:
9800
diff
changeset
|
881 2009-11-11 John W. Eaton <jwe@octave.org> |
bb70d16cca3b
fail at configure time if IEEE floating point format is not detected
John W. Eaton <jwe@octave.org>
parents:
9800
diff
changeset
|
882 |
bb70d16cca3b
fail at configure time if IEEE floating point format is not detected
John W. Eaton <jwe@octave.org>
parents:
9800
diff
changeset
|
883 * lo-ieee.cc (octave_ieee_init): Improve comment about systems |
bb70d16cca3b
fail at configure time if IEEE floating point format is not detected
John W. Eaton <jwe@octave.org>
parents:
9800
diff
changeset
|
884 without IEEE floating point format. |
bb70d16cca3b
fail at configure time if IEEE floating point format is not detected
John W. Eaton <jwe@octave.org>
parents:
9800
diff
changeset
|
885 |
9800
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
886 2009-11-11 Jaroslav Hajek <highegg@gmail.com> |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
887 |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
888 * mx-inlines.cc (mx_inline_map): New template loop. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
889 (DEFMXMAPPER): New macro. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
890 (DEFMXMAPPER2): Rename from DEFMXMAPPER. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
891 (do_mx_unary_map): New applier. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
892 (mx_inline_real, mx_inline_complex): New loops. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
893 * dNDArray.cc (NDArray::abs, NDArray::isnan, NDArray::isinf, |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
894 NDArray::isfinite, real, imag): Use new constructs. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
895 * fNDArray.cc (FloatNDArray::abs, FloatNDArray::isnan, |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
896 FloatNDArray::isinf, FloatNDArray::isfinite, real, imag): Ditto. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
897 * CNDArray.cc (ComplexNDArray::abs, ComplexNDArray::isnan, |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
898 ComplexNDArray::isinf, ComplexNDArray::isfinite, conj): Use new |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
899 constructs. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
900 * fCNDArray.cc (FloatComplexNDArray::abs, FloatComplexNDArray::isnan, |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
901 FloatComplexNDArray::isinf, FloatComplexNDArray::isfinite, conj): Use |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
902 new constructs. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
903 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9790
diff
changeset
|
904 2009-11-10 John W. Eaton <jwe@octave.org> |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9790
diff
changeset
|
905 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9790
diff
changeset
|
906 * mx-ops, sparse-mx-ops, vx-ops b/liboctave/vx-ops: |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9790
diff
changeset
|
907 Add comment about updating. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9790
diff
changeset
|
908 * Makefile.am, config-ops.sh: New files. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9790
diff
changeset
|
909 * Makefile.in: Delete. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9790
diff
changeset
|
910 |
9789
97f5de91427b
support sparse templated extractors
Jaroslav Hajek <highegg@gmail.com>
parents:
9780
diff
changeset
|
911 2009-11-09 Jaroslav Hajek <highegg@gmail.com> |
97f5de91427b
support sparse templated extractors
Jaroslav Hajek <highegg@gmail.com>
parents:
9780
diff
changeset
|
912 |
97f5de91427b
support sparse templated extractors
Jaroslav Hajek <highegg@gmail.com>
parents:
9780
diff
changeset
|
913 * dSparse.h (Sparse::max): Use Array<octave_idx_type>. |
97f5de91427b
support sparse templated extractors
Jaroslav Hajek <highegg@gmail.com>
parents:
9780
diff
changeset
|
914 * dSparse.cc: Update. |
97f5de91427b
support sparse templated extractors
Jaroslav Hajek <highegg@gmail.com>
parents:
9780
diff
changeset
|
915 * CSparse.h (Sparse::max): Use Array<octave_idx_type>. |
97f5de91427b
support sparse templated extractors
Jaroslav Hajek <highegg@gmail.com>
parents:
9780
diff
changeset
|
916 * CSparse.cc: Update. |
9790
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
917 * dNDArray.h (NDArray::max, NDArray::min, NDArray::cummax, |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
918 NDArray::cummin, NDArray::diff): Use dim = -1 as default. |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
919 * fNDArray.h (FloatNDArray::max, FloatNDArray::min, FloatNDArray::cummax, |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
920 FloatNDArray::cummin, FloatNDArray::diff): Use dim = -1 as default. |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
921 * CNDArray.h (ComplexNDArray::max, ComplexNDArray::min, |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
922 ComplexNDArray::cummax, ComplexNDArray::cummin, ComplexNDArray::diff): |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
923 Use dim = -1 as default. |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
924 * fCNDArray.h (FloatComplexNDArray::max, FloatComplexNDArray::min, |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
925 FloatComplexNDArray::cummax, FloatComplexNDArray::cummin, |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
926 FloatComplexNDArray::diff): Use dim = -1 as default. |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
927 * intNDArray.h (intNDArray::max, intNDArray::min, intNDArray::cummax, |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
928 intNDArray::cummin, intNDArray::diff): Use dim = -1 as default. |
9789
97f5de91427b
support sparse templated extractors
Jaroslav Hajek <highegg@gmail.com>
parents:
9780
diff
changeset
|
929 |
9780
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
930 2009-11-03 Jaroslav Hajek <highegg@gmail.com> |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
931 |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
932 * oct-mem.h: Rename octave_ucopy -> copy_or_memcpy, |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
933 octave_fill -> fill_or_memset, octave_new -> no_ctor_new, |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
934 octave_delete -> no_ctor_delete. |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
935 * Array.h: Update. |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
936 * Array.cc: Update. |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
937 * idx-vector.h: Update. |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
938 * idx-vector.cc: Update. |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
939 |
9773
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
940 2009-11-03 Jaroslav Hajek <highegg@gmail.com> |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
941 |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
942 * oct-mem.h: New source. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
943 * Makefile.in: Include it. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
944 * Array.h (Array<T>::ArrayRep::ArrayRep (...)): Use octave_new, |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
945 octave_ucopy and octave_fill. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
946 (Array<T>::ArrayRep::~ArrayRep): Use octave_delete. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
947 (Array<T>::coerce): Use octave_new. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
948 * Array.cc (Array<T>::fill, rec_resize_helper::do_resize_fill, |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
949 Array<T>::resize_fill, rec_permute_helper::do_permute, |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
950 Array<T>::delete_elements): Use octave_ucopy and octave_fill. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
951 * idx-vector.h (index_vector::index, index_vector::assign): Use |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
952 octave_ucopy. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
953 * idx-vector.cc (index_vector::copy_data): Ditto. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
954 |
9772
3ac8ea48279b
improve index reduction rules
Jaroslav Hajek <highegg@gmail.com>
parents:
9766
diff
changeset
|
955 2009-11-03 Jaroslav Hajek <highegg@gmail.com> |
3ac8ea48279b
improve index reduction rules
Jaroslav Hajek <highegg@gmail.com>
parents:
9766
diff
changeset
|
956 |
3ac8ea48279b
improve index reduction rules
Jaroslav Hajek <highegg@gmail.com>
parents:
9766
diff
changeset
|
957 * idx-vector.cc (idx_vector::maybe_reduce): Implement (i:k:end, :) |
3ac8ea48279b
improve index reduction rules
Jaroslav Hajek <highegg@gmail.com>
parents:
9766
diff
changeset
|
958 and (i:k:end, p:q) reductions. |
3ac8ea48279b
improve index reduction rules
Jaroslav Hajek <highegg@gmail.com>
parents:
9766
diff
changeset
|
959 |
9766
82fe4db20dec
fix bad FLOAT_TRUNCATE in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9760
diff
changeset
|
960 2009-11-02 Jaroslav Hajek <highegg@gmail.com> |
82fe4db20dec
fix bad FLOAT_TRUNCATE in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9760
diff
changeset
|
961 |
82fe4db20dec
fix bad FLOAT_TRUNCATE in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9760
diff
changeset
|
962 * mx-inlines.cc (twosum_accum): Remove FLOAT_TRUNCATE. |
82fe4db20dec
fix bad FLOAT_TRUNCATE in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9760
diff
changeset
|
963 |
9760
c6b97d218345
PermMatrix.cc: don't include error.h
John W. Eaton <jwe@octave.org>
parents:
9759
diff
changeset
|
964 2009-10-28 John W. Eaton <jwe@octave.org> |
c6b97d218345
PermMatrix.cc: don't include error.h
John W. Eaton <jwe@octave.org>
parents:
9759
diff
changeset
|
965 |
c6b97d218345
PermMatrix.cc: don't include error.h
John W. Eaton <jwe@octave.org>
parents:
9759
diff
changeset
|
966 * PermMatrix.cc: Don't include error.h. |
c6b97d218345
PermMatrix.cc: don't include error.h
John W. Eaton <jwe@octave.org>
parents:
9759
diff
changeset
|
967 |
9759
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
968 2009-10-27 David Bateman <dbateman@free.fr> |
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
969 |
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
970 * SparsedbleLU.cc (SparseLU::SparseLU (const SparseMatrix&, |
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
971 const Matrix&, bool), SparseLU::SparseLU (const SparseMatrix&, |
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
972 const ColumnVector&, const Matrix&, boo, bool, double, bool, |
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
973 bool)): Fix test for valid pivot tolerance. |
9967 | 974 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU |
975 (const SparseComplexMatrix&, const Matrix&, bool), | |
9759
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
976 SparseComplexLU::SparseComplexLU (const SparseComplexMatrix&, |
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
977 const ColumnVector&, const Matrix&, boo, bool, double, bool, |
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
978 bool)): Ditto. |
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
979 |
9757
95ad9c2a27e2
fix idx_vector construction checks
Jaroslav Hajek <highegg@gmail.com>
parents:
9748
diff
changeset
|
980 2009-10-23 Jaroslav Hajek <highegg@gmail.com> |
95ad9c2a27e2
fix idx_vector construction checks
Jaroslav Hajek <highegg@gmail.com>
parents:
9748
diff
changeset
|
981 |
95ad9c2a27e2
fix idx_vector construction checks
Jaroslav Hajek <highegg@gmail.com>
parents:
9748
diff
changeset
|
982 * idx-vector.cc (idx_vector::idx_range_rep::idx_range_rep |
95ad9c2a27e2
fix idx_vector construction checks
Jaroslav Hajek <highegg@gmail.com>
parents:
9748
diff
changeset
|
983 (octave_idx_type, octave_idx_type, octave_idx_type)): |
95ad9c2a27e2
fix idx_vector construction checks
Jaroslav Hajek <highegg@gmail.com>
parents:
9748
diff
changeset
|
984 Improve checking. |
95ad9c2a27e2
fix idx_vector construction checks
Jaroslav Hajek <highegg@gmail.com>
parents:
9748
diff
changeset
|
985 |
9748
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
986 2009-10-21 John W. Eaton <jwe@octave.org> |
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
987 |
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
988 * oct-time.h (octave_time::octave_time (time_t t, int us)): |
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
989 New constructor. |
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
990 (operator + (const octave_time&, const octave_time&)): New function. |
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
991 |
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
992 * file-stat.h (base_file_stat::time_resolution): New function. |
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
993 |
9743
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
994 2009-10-20 Jaroslav Hajek <highegg@gmail.com> |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
995 |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
996 * bsxfun-decl.h, bsxfun-defs.cc: New sources. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
997 * Makefile.in: Add them. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
998 * dim-vector.h (dim_vector::compute_index, |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
999 dim_vector::increment_index): Fix. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1000 * mx-inlines.cc (DEFMXMAPPER, DEFMXLOCALMAPPER): New macros. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1001 (mx_inline_xmin, mx_inline_xmax): New loops. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1002 (mx_inline_fun): Remove. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1003 * oct-inttypes.h (xmin (const octave_int<T>&, const octave_int<T>&), |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1004 xmax (const octave_int<T>&, const octave_int<T>&)): |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1005 New inline functions. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1006 |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1007 * CNDArray.cc: Define bsxfun operations. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1008 * boolNDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1009 * dNDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1010 * fCNDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1011 * fNDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1012 * int16NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1013 * int32NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1014 * int64NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1015 * int8NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1016 * uint16NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1017 * uint32NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1018 * uint64NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1019 * uint8NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1020 |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1021 * CNDArray.h: Declare bsxfun operations. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1022 * boolNDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1023 * dNDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1024 * fCNDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1025 * fNDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1026 * int16NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1027 * int32NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1028 * int64NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1029 * int8NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1030 * uint16NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1031 * uint32NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1032 * uint64NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1033 * uint8NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1034 |
9739
13b57eec9440
a few handy methods for dim_vector
Jaroslav Hajek <highegg@gmail.com>
parents:
9738
diff
changeset
|
1035 2009-10-19 Jaroslav Hajek <highegg@gmail.com> |
13b57eec9440
a few handy methods for dim_vector
Jaroslav Hajek <highegg@gmail.com>
parents:
9738
diff
changeset
|
1036 |
13b57eec9440
a few handy methods for dim_vector
Jaroslav Hajek <highegg@gmail.com>
parents:
9738
diff
changeset
|
1037 * dim-vector.h (dim_vector::compute_index, |
13b57eec9440
a few handy methods for dim_vector
Jaroslav Hajek <highegg@gmail.com>
parents:
9738
diff
changeset
|
1038 dim_vector::increment_index, dim_vector::cumulative, |
13b57eec9440
a few handy methods for dim_vector
Jaroslav Hajek <highegg@gmail.com>
parents:
9738
diff
changeset
|
1039 dim_vector::cum_compute_index): New methods. |
13b57eec9440
a few handy methods for dim_vector
Jaroslav Hajek <highegg@gmail.com>
parents:
9738
diff
changeset
|
1040 |
9738
a141154ee825
Remove ArrayN.cc from Makefile.in
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9737
diff
changeset
|
1041 2009-10-18 Carsten Clark <tantumquantum+gnuoctave@gmail.com> |
a141154ee825
Remove ArrayN.cc from Makefile.in
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9737
diff
changeset
|
1042 |
a141154ee825
Remove ArrayN.cc from Makefile.in
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9737
diff
changeset
|
1043 * Makefile.in: Remove ArrayN.cc. |
a141154ee825
Remove ArrayN.cc from Makefile.in
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9737
diff
changeset
|
1044 |
9737
9bc642ea9006
include base-qr sources in install
Jaroslav Hajek <highegg@gmail.com>
parents:
9734
diff
changeset
|
1045 2009-10-18 Jaroslav Hajek <highegg@gmail.com> |
9bc642ea9006
include base-qr sources in install
Jaroslav Hajek <highegg@gmail.com>
parents:
9734
diff
changeset
|
1046 |
9bc642ea9006
include base-qr sources in install
Jaroslav Hajek <highegg@gmail.com>
parents:
9734
diff
changeset
|
1047 * Makefile.in: Include base-qr.h and base-qr.cc. |
9bc642ea9006
include base-qr sources in install
Jaroslav Hajek <highegg@gmail.com>
parents:
9734
diff
changeset
|
1048 |
9734
1a9508872af0
initialize QR:: constants
Jaroslav Hajek <highegg@gmail.com>
parents:
9732
diff
changeset
|
1049 2009-10-17 Jaroslav Hajek <highegg@gmail.com> |
1a9508872af0
initialize QR:: constants
Jaroslav Hajek <highegg@gmail.com>
parents:
9732
diff
changeset
|
1050 |
1a9508872af0
initialize QR:: constants
Jaroslav Hajek <highegg@gmail.com>
parents:
9732
diff
changeset
|
1051 * dbleQR.cc: Initialize QR::raw, QR::economy and QR::std. |
1a9508872af0
initialize QR:: constants
Jaroslav Hajek <highegg@gmail.com>
parents:
9732
diff
changeset
|
1052 |
9732
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1053 2009-10-16 Jaroslav Hajek <highegg@gmail.com> |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1054 |
9967 | 1055 * ArrayN.h: Remove everything, just #define ArrayN Array. |
9732
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1056 Warn if under gcc. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1057 * ArrayN.cc: Remove. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1058 * Array.cc (operator >>): New operator. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1059 * Array.h: Declare it. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1060 |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1061 * Array-C.cc: Remove traces of ArrayN. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1062 * Array-b.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1063 * Array-ch.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1064 * Array-d.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1065 * Array-f.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1066 * Array-fC.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1067 * CNDArray.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1068 * CNDArray.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1069 * MArrayN.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1070 * boolNDArray.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1071 * boolNDArray.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1072 * chNDArray.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1073 * dNDArray.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1074 * dNDArray.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1075 * fCNDArray.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1076 * fCNDArray.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1077 * fNDArray.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1078 * fNDArray.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1079 * intNDArray.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1080 * intNDArray.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1081 * lo-specfun.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1082 * lo-specfun.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1083 |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1084 * mx-op-defs.h (DMS_BIN_OP, SDM_BIN_OP): Rewrite. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1085 (DMS_BIN_OPS, SDM_BIN_OPS): Define dm*s and dm/s rather than dm+s and |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1086 dm-s which are rather useless. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1087 * mx-ops: Update. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1088 |
9731 | 1089 2009-10-16 Jaroslav Hajek <highegg@gmail.com> |
1090 | |
1091 * Array.cc (Array<T>::column, Array<T>::page, Array<T>::linearize, | |
1092 Array<T>::linear_slice): New methods. | |
1093 * Array.h: Declare them | |
1094 * ArrayN.h: Forward them. | |
1095 | |
9725 | 1096 2009-10-14 Jaroslav Hajek <highegg@gmail.com> |
1097 | |
1098 * oct-sort.cc (octave_sort<T>::nth_element): New overloaded method. | |
1099 * oct-sort.h: Declare it. | |
1100 * Array.cc (Array<T>::nth_element): New method. | |
1101 * Array.h: Declare it. | |
1102 (Array<T>::sort): Use int for dim argument. | |
1103 * ArrayN.h (ArrayN<T>::nth_element): Wrap. | |
1104 (ArrayN<T>::sort): Use int for dim argument. | |
1105 | |
9721
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
1106 2009-10-13 Jaroslav Hajek <highegg@gmail.com> |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
1107 |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
1108 * lo-traits.h (equal_types, is_instance, subst_template_param): New |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
1109 traits classes. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
1110 * mx-inlines.cc (op_dble_sum, twosum_accum): New helper funcs. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
1111 (mx_inline_dsum, mx_inline_xsum): New reduction loops. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
1112 * fNDArray.cc (FloatNDArray::dsum): New method. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
1113 * fNDArray.h: Declare it. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
1114 * fCNDArray.cc (FloatComplexNDArray::dsum): New method. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
1115 * fCNDArray.h: Declare it. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
1116 * dNDArray.cc (NDArray::xsum): New method. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
1117 * dNDArray.h: Declare it. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
1118 * CNDArray.cc (ComplexNDArray::xsum): New method. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
1119 * CNDArray.h: Declare it. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
1120 * intNDArray.cc (intNDArray::dsum): New method. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
1121 * intNDArray.h: Declare it. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
1122 |
9715
9f27172fbd1e
auto-set MatrixType from certain functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9713
diff
changeset
|
1123 2009-10-12 Jaroslav Hajek <highegg@gmail.com> |
9f27172fbd1e
auto-set MatrixType from certain functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9713
diff
changeset
|
1124 |
9f27172fbd1e
auto-set MatrixType from certain functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9713
diff
changeset
|
1125 * base-qr.cc (base_qr::regular): New method. |
9f27172fbd1e
auto-set MatrixType from certain functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9713
diff
changeset
|
1126 * base-qr.h: Declare it. |
9f27172fbd1e
auto-set MatrixType from certain functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9713
diff
changeset
|
1127 * base-lu.cc (base_lu::regular): New method. |
9f27172fbd1e
auto-set MatrixType from certain functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9713
diff
changeset
|
1128 * base-lu.h: Declare it. |
9f27172fbd1e
auto-set MatrixType from certain functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9713
diff
changeset
|
1129 |
9713
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
1130 2009-10-12 Jaroslav Hajek <highegg@gmail.com> |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
1131 |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
1132 * base-qr.h: New source. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
1133 * base-qr.cc: New source. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
1134 * dbleQR.h (QR): Rebase on base_qr<Matrix>. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
1135 * dbleQR.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
1136 * floatQR.h (QR): Rebase on base_qr<FloatMatrix>. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
1137 * floatQR.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
1138 * CmplxQR.h (QR): Rebase on base_qr<ComplexMatrix>. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
1139 * CmplxQR.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
1140 * fCmplxQR.h (QR): Rebase on base_qr<FloatComplexMatrix>. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
1141 * fCmplxQR.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
1142 * dbleQRP.h (QR): Update. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
1143 * dbleQRP.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
1144 * floatQRP.h (QR): Update. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
1145 * floatQRP.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
1146 * CmplxQRP.h (QR): Update. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
1147 * CmplxQRP.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
1148 * fCmplxQRP.h (QR): Update. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
1149 * fCmplxQRP.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
1150 |
9708 | 1151 2009-10-08 Jaroslav Hajek <highegg@gmail.com> |
1152 | |
1153 * PermMatrix.cc (PermMatrix::eye): New method. | |
1154 * PermMatrix.h: Declare it. | |
1155 * dbleLU.cc (LU::update, LU::update_piv): New overloaded methods. | |
1156 * dbleLU.h: Declare them. | |
1157 * floatLU.cc (FloatLU::update, FloatLU::update_piv): New overloaded | |
1158 methods. | |
1159 * floatLU.h: Declare them. | |
1160 * CmplxLU.cc (ComplexLU::update, ComplexLU::update_piv): New | |
1161 overloaded methods. | |
1162 * CmplxLU.h: Declare them. | |
1163 * fCmplxLU.cc (FloatComplexLU::update, FloatComplexLU::update_piv): | |
1164 New overloaded methods. | |
1165 * fCmplxLU.h: Declare them. | |
1166 | |
9702
9ecd35a606e3
avoid some warnings from g++
John W. Eaton <jwe@octave.org>
parents:
9698
diff
changeset
|
1167 2009-10-07 John W. Eaton <jwe@octave.org> |
9ecd35a606e3
avoid some warnings from g++
John W. Eaton <jwe@octave.org>
parents:
9698
diff
changeset
|
1168 |
9ecd35a606e3
avoid some warnings from g++
John W. Eaton <jwe@octave.org>
parents:
9698
diff
changeset
|
1169 * mx-inlines.cc (mx_inline_diff): Avoid uninitialized variable warning. |
9ecd35a606e3
avoid some warnings from g++
John W. Eaton <jwe@octave.org>
parents:
9698
diff
changeset
|
1170 |
9698
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
1171 2009-10-06 Jaroslav Hajek <highegg@gmail.com> |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
1172 |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
1173 * dDiagMatrix.cc (operator *(const DiagMatrix&, const DiagMatrix&)): |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
1174 Rewrite. |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
1175 * fDiagMatrix.cc (operator *(const FloatDiagMatrix&, const FloatDiagMatrix&)): |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
1176 Rewrite. |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
1177 * CDiagMatrix.cc (operator *(const ComplexDiagMatrix&, const ComplexDiagMatrix&)): |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
1178 Rewrite. |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
1179 * fCDiagMatrix.cc (operator *(const FloatComplexDiagMatrix&, const |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
1180 FloatComplexDiagMatrix&)): |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
1181 Rewrite. |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
1182 * DiagArray2.h (DiagArray2::diag_length): New method. |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
1183 * PermMatrix.h (PermMatrix::length): Make consistent with |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
1184 DiagArray2::length. |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
1185 |
9697
51c17bd18563
omission in base-lu::unpack
Jaroslav Hajek <highegg@gmail.com>
parents:
9695
diff
changeset
|
1186 2009-10-05 Jaroslav Hajek <highegg@gmail.com> |
51c17bd18563
omission in base-lu::unpack
Jaroslav Hajek <highegg@gmail.com>
parents:
9695
diff
changeset
|
1187 |
51c17bd18563
omission in base-lu::unpack
Jaroslav Hajek <highegg@gmail.com>
parents:
9695
diff
changeset
|
1188 * base-lu.cc (base_lu::unpack): Unpack getp as well. |
51c17bd18563
omission in base-lu::unpack
Jaroslav Hajek <highegg@gmail.com>
parents:
9695
diff
changeset
|
1189 |
9695
9fba7e1da785
correct algorithm for perm matrix det (sign)
Jaroslav Hajek <highegg@gmail.com>
parents:
9694
diff
changeset
|
1190 2009-10-05 Jaroslav Hajek <highegg@gmail.com> |
9fba7e1da785
correct algorithm for perm matrix det (sign)
Jaroslav Hajek <highegg@gmail.com>
parents:
9694
diff
changeset
|
1191 |
9fba7e1da785
correct algorithm for perm matrix det (sign)
Jaroslav Hajek <highegg@gmail.com>
parents:
9694
diff
changeset
|
1192 * PermMatrix.cc (PermMatrix::determinant): Implement a (hopefully) |
9fba7e1da785
correct algorithm for perm matrix det (sign)
Jaroslav Hajek <highegg@gmail.com>
parents:
9694
diff
changeset
|
1193 working algorithm. |
9fba7e1da785
correct algorithm for perm matrix det (sign)
Jaroslav Hajek <highegg@gmail.com>
parents:
9694
diff
changeset
|
1194 |
9694
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
1195 2009-10-05 Jaroslav Hajek <highegg@gmail.com> |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
1196 |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
1197 * dim-vector.h (operator ==): Include fast case. |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
1198 * base-lu.cc (base_lu::packed, base_lu::unpack): New methods. |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
1199 (base_lu::L, base_lu::U, base_lu::Y, base_lu::getp): Distinguish |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
1200 packed vs. unpacked case. |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
1201 * base-lu.h: Update decls. |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
1202 (base_lu::l_fact): New member field. |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
1203 |
9685 | 1204 2009-10-02 Jaroslav Hajek <highegg@gmail.com> |
1205 | |
1206 * lo-traits.h (strip_template_param): New trait class. | |
1207 | |
9678
c929f09457b7
rewrite num2cell for speed-up + a few associated fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
9667
diff
changeset
|
1208 2009-10-01 Jaroslav Hajek <highegg@gmail.com> |
c929f09457b7
rewrite num2cell for speed-up + a few associated fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
9667
diff
changeset
|
1209 |
c929f09457b7
rewrite num2cell for speed-up + a few associated fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
9667
diff
changeset
|
1210 * Array.cc (Array<T>::permute): Fast case identity permutation. |
c929f09457b7
rewrite num2cell for speed-up + a few associated fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
9667
diff
changeset
|
1211 |
9667
641a788c82a4
fix complex-real comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9666
diff
changeset
|
1212 2009-09-27 Jaroslav Hajek <highegg@gmail.com> |
641a788c82a4
fix complex-real comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9666
diff
changeset
|
1213 |
641a788c82a4
fix complex-real comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9666
diff
changeset
|
1214 * oct-cmplx.h: Fix complex-real orderings. |
641a788c82a4
fix complex-real comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9666
diff
changeset
|
1215 |
9666
a531dec450c4
allow 1D case for sub2ind and ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9665
diff
changeset
|
1216 2009-09-27 Jaroslav Hajek <highegg@gmail.com> |
a531dec450c4
allow 1D case for sub2ind and ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9665
diff
changeset
|
1217 |
a531dec450c4
allow 1D case for sub2ind and ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9665
diff
changeset
|
1218 * dim-vector.h (dim_vector::redim): Rewrite. |
a531dec450c4
allow 1D case for sub2ind and ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9665
diff
changeset
|
1219 * Array-util.cc (sub2ind): Allow single index case. |
a531dec450c4
allow 1D case for sub2ind and ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9665
diff
changeset
|
1220 |
9665
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
1221 2009-09-26 Jaroslav Hajek <highegg@gmail.com> |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
1222 |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
1223 * dMatrix.cc (xgemm): Use blas_trans_type to indicate transposes. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
1224 (operator *(const Matrix&, const Matrix&)): Update. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
1225 * fMatrix.cc (xgemm): Use blas_trans_type to indicate transposes. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
1226 (operator *(const FloatMatrix&, const FloatMatrix&)): Update. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
1227 * CMatrix.cc (xgemm): Use blas_trans_type to indicate transposes. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
1228 (operator *(const ComplexMatrix&, const ComplexMatrix&)): Update. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
1229 * fCMatrix.cc (xgemm): Use blas_trans_type to indicate transposes. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
1230 (operator *(const FloatComplexMatrix&, const FloatComplexMatrix&)): Update. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
1231 * dMatrix.h: Update decl. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
1232 * fMatrix.h: Update decl. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
1233 * CMatrix.h: Update decl. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
1234 * fCMatrix.h: Update decl. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
1235 |
9663
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
1236 2009-09-23 Jaroslav Hajek <highegg@gmail.com> |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
1237 |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
1238 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const Matrix&, const |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
1239 Matrix&)): New constructor. |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
1240 (operator * (Matrix, ComplexMatrix), operator * (ComplexMatrix, |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
1241 Matrix)): Optimize. |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
1242 * fCMatrix.cc (FloatComplexMatrix::FloatComplexMatrix (const FloatMatrix&, const |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
1243 FloatMatrix&)): New constructor. |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
1244 (operator * (FloatMatrix, FloatComplexMatrix), operator * (FloatComplexMatrix, |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
1245 FloatMatrix)): Optimize. |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
1246 |
9662
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
1247 2009-09-23 Jaroslav Hajek <highegg@gmail.com> |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
1248 |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
1249 * dMatrix.cc (stack_complex_matrix, unstack_complex_matrix): New |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
1250 static funcs. |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
1251 (Matrix::solve (..., const ComplexMatrix&, ...)): Use the above funcs. |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
1252 Improve forwarding. |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
1253 * fMatrix.cc (stack_complex_matrix, unstack_complex_matrix): New |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
1254 static funcs. |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
1255 (FloatMatrix::solve (..., const FloatComplexMatrix&, ...)): Use the |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
1256 above funcs. Improve forwarding. |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
1257 |
9661
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
1258 2009-09-23 Jaroslav Hajek <highegg@gmail.com> |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
1259 |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
1260 * mx-defs.h (blas_trans_type): New enum. |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
1261 (get_blas_char): New inline func. |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
1262 * dMatrix.cc (Matrix::utsolve, Matrix::ltsolve, Matrix::solve): |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
1263 Support transt parameter. |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
1264 * fMatrix.cc (FloatMatrix::utsolve, FloatMatrix::ltsolve, |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
1265 FloatMatrix::solve): Ditto. |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
1266 * CMatrix.cc (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
1267 ComplexMatrix::solve): Ditto. |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
1268 * fCMatrix.cc (FloatComplexMatrix::utsolve, |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
1269 FloatComplexMatrix::ltsolve, FloatComplexMatrix::solve): Ditto. |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
1270 * dMatrix.h, fMatrix.h, CMatrix.h, fCMatrix.h: Update. |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
1271 |
9660
0256e187d13b
get rid of VS|SV|VV_BIN_OP macros in mx-op-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
9656
diff
changeset
|
1272 2009-09-21 Jaroslav Hajek <highegg@gmail.com> |
0256e187d13b
get rid of VS|SV|VV_BIN_OP macros in mx-op-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
9656
diff
changeset
|
1273 |
0256e187d13b
get rid of VS|SV|VV_BIN_OP macros in mx-op-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
9656
diff
changeset
|
1274 * mx-op-defs.h (VS_BIN_OP, SV_BIN_OP, VV_BIN_OP): Simplify. |
0256e187d13b
get rid of VS|SV|VV_BIN_OP macros in mx-op-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
9656
diff
changeset
|
1275 |
9656
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
1276 2009-09-19 Jaroslav Hajek <highegg@gmail.com> |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
1277 |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
1278 * dNDArray.h (NDArray::matrix_type): New typedef. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
1279 * fNDArray.h (FloatNDArray::matrix_type): New typedef. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
1280 * CNDArray.h (ComplexNDArray::matrix_type): New typedef. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
1281 * fCNDArray.h (FloatComplexNDArray::matrix_type): New typedef. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
1282 * boolNDArray.h (boolNDArray::matrix_type): New typedef. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
1283 * charNDArray.h (charNDArray::matrix_type): New typedef. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
1284 |
9967 | 1285 * dMatrix.h (Matrix::column_vector_type, |
9656
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
1286 Matrix::row_vector_type): New typedefs. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
1287 * fMatrix.h (FloatMatrix::column_vector_type, |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
1288 FloatMatrix::row_vector_type): New typedefs. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
1289 * CMatrix.h (ComplexMatrix::column_vector_type, |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
1290 ComplexMatrix::row_vector_type): New typedefs. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
1291 * fCMatrix.h (FloatComplexMatrix::column_vector_type, |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
1292 FloatComplexMatrix::row_vector_type): New typedefs. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
1293 |
9655
17971b0f18b1
mach-info.cc: don't include oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9653
diff
changeset
|
1294 2009-09-18 John W. Eaton <jwe@octave.org> |
17971b0f18b1
mach-info.cc: don't include oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9653
diff
changeset
|
1295 |
17971b0f18b1
mach-info.cc: don't include oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9653
diff
changeset
|
1296 * mach-info.cc: Don't include oct-types.h. |
17971b0f18b1
mach-info.cc: don't include oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9653
diff
changeset
|
1297 |
9653
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
1298 2009-09-18 Jaroslav Hajek <highegg@gmail.com> |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
1299 |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
1300 * Array.h (NoAlias): New template class. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
1301 * dRowVector.cc (linspace): Rewrite. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
1302 * fRowVector.cc (linspace): Rewrite. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
1303 * CRowVector.cc (linspace): Rewrite. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
1304 * fCRowVector.cc (linspace): Rewrite. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
1305 * dMatrix.cc (linspace): New method. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
1306 * dMatrix.h (linspace): Declare it. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
1307 * fMatrix.cc (linspace): New method. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
1308 * fMatrix.h (linspace): Declare it. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
1309 * CMatrix.cc (linspace): New method. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
1310 * CMatrix.h (linspace): Declare it. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
1311 * fCMatrix.cc (linspace): New method. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
1312 * fCMatrix.h (linspace): Declare it. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
1313 |
9648
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
1314 2009-09-17 John W. Eaton <jwe@octave.org> |
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
1315 |
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
1316 * oct-types.h.in: Delete. |
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
1317 * Makefile.in (BUILT_INCLUDES, DISTFILES): Remove oct-types.h.in |
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
1318 from the list. |
9649
d0e2aa1974e9
changelog fix for previous change
John W. Eaton <jwe@octave.org>
parents:
9648
diff
changeset
|
1319 (distclean, maintainer-clean): Don't remove oct-types.h |
9648
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
1320 * DAEFunc.h, MatrixType.h, base-aepbal.h, dim-vector.h, |
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
1321 lo-specfun.h, lo-utils.h, mx-op-decl.h, oct-inttypes.h, |
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
1322 randgamma.h, randmtzig.h, randpoisson.h: |
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
1323 Don't include oct-types.h. |
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
1324 |
9647
54f45f883a53
optimize & extend randperm
Jaroslav Hajek <highegg@gmail.com>
parents:
9625
diff
changeset
|
1325 2009-09-16 Jaroslav Hajek <highegg@gmail.com> |
54f45f883a53
optimize & extend randperm
Jaroslav Hajek <highegg@gmail.com>
parents:
9625
diff
changeset
|
1326 |
54f45f883a53
optimize & extend randperm
Jaroslav Hajek <highegg@gmail.com>
parents:
9625
diff
changeset
|
1327 * oct-rand.cc (octave_rand::do_matrix, do_nd_array, do_vector): |
54f45f883a53
optimize & extend randperm
Jaroslav Hajek <highegg@gmail.com>
parents:
9625
diff
changeset
|
1328 Use Array::clear rather than Array::resize. |
54f45f883a53
optimize & extend randperm
Jaroslav Hajek <highegg@gmail.com>
parents:
9625
diff
changeset
|
1329 |
9625
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
1330 2009-09-06 Jaroslav Hajek <highegg@gmail.com> |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
1331 |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
1332 * dColVector.h (operator *(const Matrix&, const ColumnVector)): |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
1333 Optimize. |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
1334 * fColVector.h (operator *(const FloatMatrix&, const |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
1335 FloatColumnVector)): Optimize. |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
1336 * CColVector.h (operator *(const ComplexMatrix&, const |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
1337 ComplexColumnVector)): Optimize. |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
1338 * fCColVector.h (operator *(const FloatComplexMatrix&, const |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
1339 FloatComplexColumnVector)): Optimize. |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
1340 |
9624
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
1341 2009-09-04 Jaroslav Hajek <highegg@gmail.com> |
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
1342 |
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
1343 * Array.cc (Array<T>::clear (const dim_vector&)): new method. |
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
1344 * Array.h: Declare it. |
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
1345 (Array<T>::clear (octave_idx_type)): New method. |
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
1346 (Array<T>::clear (octave_idx_type, octave_idx_type)): New method. |
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
1347 |
9612
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1348 2009-09-04 Jaroslav Hajek <highegg@gmail.com> |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1349 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1350 * mx-inlines.cc (DEFMXBOOLOPEQ): New macro. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1351 (mx_inline_and2, mx_inline_or2): New loops. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1352 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1353 * MArray.h (MArray<T>::MArray (const dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1354 (MArray<T>::MArray (const Array<T>&)): Ensure column vector. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1355 (MArray<T>::resize): New method. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1356 * DiagArray2.h (DiagArray2<T>::DiagArray2 (const dim_vector&)): New |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1357 constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1358 * MDiagArray2.h (MDiagArray2<T>::MDiagArray2 (const dim_vector&)): New |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1359 constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1360 * dColVector.h (ColumnVector::ColumnVector (const dim_vector&)): New |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1361 constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1362 * fColVector.h (FloatColumnVector::FloatColumnVector (const |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1363 dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1364 * CColVector.h (ComplexColumnVector::ComplexColumnVector (const |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1365 dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1366 * fCColVector.h (FloatComplexColumnVector::FloatComplexColumnVector |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1367 (const dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1368 * dRowVector.h (RowVector::RowVector (const dim_vector&)): New |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1369 constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1370 * fRowVector.h (FloatRowVector::FloatRowVector (const dim_vector&)): |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1371 New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1372 * CRowVector.h (ComplexRowVector::ComplexRowVector (const |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1373 dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1374 * fCRowVector.h (FloatComplexRowVector::FloatComplexRowVector (const |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1375 dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1376 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1377 * CNDArray.cc (operator *= (const ComplexNDArray, double)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1378 * fCNDArray.cc (operator *= (const FloatComplexNDArray, float)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1379 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1380 * MArray.cc |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1381 (operator += (MArray<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1382 (operator -= (MArray<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1383 (operator *= (MArray<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1384 (operator /= (MArray<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1385 (operator += (MArray<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1386 (operator -= (MArray<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1387 (product (MArray<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1388 (quotient (MArray<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1389 (MARRAY_AS_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1390 (MARRAY_SA_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1391 (MARRAY_AA_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1392 (operator - (const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1393 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1394 * MArray2.cc |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1395 (operator += (MArray2<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1396 (operator -= (MArray2<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1397 (operator *= (MArray2<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1398 (operator /= (MArray2<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1399 (operator += (MArray2<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1400 (operator -= (MArray2<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1401 (product (MArray2<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1402 (quotient (MArray2<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1403 (MARRAY_A2S_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1404 (MARRAY_SA2_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1405 (MARRAY_A2A2_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1406 (operator - (const MArray2<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1407 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1408 * MArrayN.cc |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1409 (operator += (MArrayN<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1410 (operator -= (MArrayN<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1411 (operator *= (MArrayN<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1412 (operator /= (MArrayN<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1413 (operator += (MArrayN<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1414 (operator -= (MArrayN<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1415 (product (MArrayN<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1416 (quotient (MArrayN<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1417 (MARRAY_NDS_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1418 (MARRAY_SND_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1419 (MARRAY_NDND_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1420 (operator - (const MArrayN<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1421 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1422 * MDiagArray2.cc |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1423 (operator += (MDiagArray2<T>&, const MDiagArray2<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1424 (operator -= (MDiagArray2<T>&, const MDiagArray2<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1425 (operator *= (MDiagArray2<T>&, T)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1426 (operator /= (MDiagArray2<T>&, T)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1427 (MARRAY_DAS_OP, MARRAY_SDA_OP, MARRAY_DADA_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1428 * boolNDArray.cc (mx_el_and_assign, mx_el_or_assign): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1429 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1430 * MArray-defs.h (DO_VS_OP, DO_SV_OP, DO_VV_OP, |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1431 DO_VS_OP2, DO_VV_OP2, NEGV): Remove. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
1432 |
9607
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1433 2009-09-03 Jaroslav Hajek <highegg@gmail.com> |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1434 |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1435 * mx-inlines.cc (DEFMXUNOPEQ): New macro. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1436 (mx_inline_not2, mx_inline_uminus2): New loops. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1437 * boolNDArray.cc (boolNDArray::invert): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1438 * boolNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1439 * MArrayN.cc (MArrayN<T>::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1440 * MArrayN.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1441 * dNDArray.cc (NDArray::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1442 * dNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1443 * fNDArray.cc (FloatNDArray::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1444 * fNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1445 * CNDArray.cc (ComplexNDArray::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1446 * CNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1447 * fCNDArray.cc (FloatComplexNDArray::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1448 * fCNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1449 * intNDArray.cc (intNDArray::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1450 * intNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
1451 |
9603
8bea4e89326f
implement FLOAT_STORE to allow safer complex comparisons on x87
Jaroslav Hajek <highegg@gmail.com>
parents:
9594
diff
changeset
|
1452 2009-09-02 Jaroslav Hajek <highegg@gmail.com> |
8bea4e89326f
implement FLOAT_STORE to allow safer complex comparisons on x87
Jaroslav Hajek <highegg@gmail.com>
parents:
9594
diff
changeset
|
1453 |
9604
4dd8fc7c106c
ChangeLog fix for last change: FLOAT_STORE->FLOAT_TRUNCATE
Jaroslav Hajek <highegg@gmail.com>
parents:
9603
diff
changeset
|
1454 * oct-cmplx.h: Rewrite the comaprison ops. Use FLOAT_TRUNCATE. |
9603
8bea4e89326f
implement FLOAT_STORE to allow safer complex comparisons on x87
Jaroslav Hajek <highegg@gmail.com>
parents:
9594
diff
changeset
|
1455 |
9594
01004c3cde2c
fix non-strict complex comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9591
diff
changeset
|
1456 2009-09-01 Jaroslav Hajek <highegg@gmail.com> |
01004c3cde2c
fix non-strict complex comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9591
diff
changeset
|
1457 |
01004c3cde2c
fix non-strict complex comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9591
diff
changeset
|
1458 * oct-cmplx.h: Correct strict operators in macros. |
01004c3cde2c
fix non-strict complex comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9591
diff
changeset
|
1459 |
9591
264fb5520973
abort if floating point format is not recognized as IEEE
John W. Eaton <jwe@octave.org>
parents:
9582
diff
changeset
|
1460 2009-08-31 John W. Eaton <jwe@octave.org> |
264fb5520973
abort if floating point format is not recognized as IEEE
John W. Eaton <jwe@octave.org>
parents:
9582
diff
changeset
|
1461 |
264fb5520973
abort if floating point format is not recognized as IEEE
John W. Eaton <jwe@octave.org>
parents:
9582
diff
changeset
|
1462 * liboctave/lo-ieee.cc (octave_ieee_init): Abort if floating point |
264fb5520973
abort if floating point format is not recognized as IEEE
John W. Eaton <jwe@octave.org>
parents:
9582
diff
changeset
|
1463 format is not recognized as IEEE. |
264fb5520973
abort if floating point format is not recognized as IEEE
John W. Eaton <jwe@octave.org>
parents:
9582
diff
changeset
|
1464 |
9582
bdcfb756d721
improve error messages for ambiguous graphics property names
John W. Eaton <jwe@octave.org>
parents:
9578
diff
changeset
|
1465 2009-08-27 John W. Eaton <jwe@octave.org> |
bdcfb756d721
improve error messages for ambiguous graphics property names
John W. Eaton <jwe@octave.org>
parents:
9578
diff
changeset
|
1466 |
bdcfb756d721
improve error messages for ambiguous graphics property names
John W. Eaton <jwe@octave.org>
parents:
9578
diff
changeset
|
1467 * str-vec.cc, str-vec.h (string_vector::string_vector (const |
bdcfb756d721
improve error messages for ambiguous graphics property names
John W. Eaton <jwe@octave.org>
parents:
9578
diff
changeset
|
1468 std::set<std::string>&)): New constructor. |
bdcfb756d721
improve error messages for ambiguous graphics property names
John W. Eaton <jwe@octave.org>
parents:
9578
diff
changeset
|
1469 |
9578
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1470 2009-08-27 Jaroslav Hajek <highegg@gmail.com> |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1471 |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1472 * mx-inlines.cc (DEFCMPLXCMOP): Remove. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1473 * oct-cmplx.h (operator <, operator >): Remove definitions. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1474 (DEF_COMPLEXR_COMP): New macro. Instantiate for <, >, <=, >=. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1475 * mx-op-defs.h (MM_CMP_OP, MS_CMP_OP, SM_CMP_OP, |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1476 NDND_CMP_OP, NDS_CMP_OP, SND_CMP_OP): Replace by one-liners. Remove |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1477 unused parameters. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1478 (MM_CMP_OPS, MS_CMP_OPS, SM_CMP_OPS, NDND_CMP_OPS, NDS_CMP_OPS, |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1479 SND_CMP_OPS): Update. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1480 (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, NDS_CMP_OPS2, |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1481 SND_CMP_OP1, SND_CMP_OPS1, SND_CMP_OP2, SND_CMP_OPS2): Remove. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1482 * mk-ops.awk: Simplify CMP_OPS branch. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1483 * Sparse-op-defs.h (SPARSE_SMSM_CMP_OPS, SPARSE_SMS_CMP_OPS, |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1484 SPARSE_SSM_CMP_OPS, SPARSE_MSM_CMP_OPS, SPARSE_SMM_CMP_OPS): |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1485 Update. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1486 |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1487 * CNDArray.cc: Update syntax. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1488 * boolNDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1489 * chNDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1490 * dNDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1491 * fCNDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1492 * fNDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1493 |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1494 * int16NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1495 * int32NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1496 * int64NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1497 * int8NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1498 * uint16NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1499 * uint32NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1500 * uint64NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1501 * uint8NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1502 |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1503 * CMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1504 * boolMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1505 * chMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1506 * dMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1507 * fCMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1508 * fMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
1509 |
9557
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
1510 2009-08-24 Jaroslav Hajek <highegg@gmail.com> |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
1511 |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
1512 * MArray.cc (MArray<T>::product_eq, MArray<T>::quotient_eq): New |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
1513 methods. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
1514 * MArray2.cc (MArray2<T>::product_eq, MArray2<T>::quotient_eq): Ditto. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
1515 * MArrayN.cc (MArrayN<T>::product_eq, MArrayN<T>::quotient_eq): Ditto. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
1516 * MArray-decl.h (MARRAY_OP_ASSIGN_DECLX): New macro. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
1517 (MARRAY_OP_ASSIGN_DECLS, MARRAY_OP_ASSIGN_FWD_DEFS): Include |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
1518 product_eq and quotient_eq. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
1519 (MARRAY_FORWARD_DEFS): Use MARRAY_OP_ASSIGN_FWD_DEFS1. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
1520 (MDIAGARRAY2_OPS_FORWARD_DECLS): Don't instantiate |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
1521 OP= operators for diag matrices. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
1522 (MDIAGARRAY2_FORWARD_DEFS): Ditto. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
1523 * MArray-defs.h (INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
1524 |
9556
948795dc1974
make a few Array methods inline
Jaroslav Hajek <highegg@gmail.com>
parents:
9553
diff
changeset
|
1525 2009-08-23 Jaroslav Hajek <highegg@gmail.com> |
948795dc1974
make a few Array methods inline
Jaroslav Hajek <highegg@gmail.com>
parents:
9553
diff
changeset
|
1526 |
948795dc1974
make a few Array methods inline
Jaroslav Hajek <highegg@gmail.com>
parents:
9553
diff
changeset
|
1527 * Array.h (Array::make_unique, Array::~Array, Array::operator =): |
948795dc1974
make a few Array methods inline
Jaroslav Hajek <highegg@gmail.com>
parents:
9553
diff
changeset
|
1528 Move here to allow inlining. |
948795dc1974
make a few Array methods inline
Jaroslav Hajek <highegg@gmail.com>
parents:
9553
diff
changeset
|
1529 * Array.cc: Remove from here. |
948795dc1974
make a few Array methods inline
Jaroslav Hajek <highegg@gmail.com>
parents:
9553
diff
changeset
|
1530 |
9553
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
1531 2009-08-20 Jaroslav Hajek <highegg@gmail.com> |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
1532 |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
1533 * mx-inlines.cc (logical_value): New overloaded template. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
1534 (DEFMXBOOL_OP): Use it in definitions. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
1535 (mx_inline_not): Also use logical_value. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
1536 * mx-op-defs.h (ND_LOGICAL_NAN_CHECK, SC_LOGICAL_NAN_CHECK): Remove |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
1537 (also from all macros). |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
1538 |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
1539 * CMatrix.cc (operator !): Simply call mx_inline_not. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
1540 * CNDArray.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
1541 * dMatrix.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
1542 * dNDArray.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
1543 * fCMatrix.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
1544 * fCNDArray.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
1545 * fMatrix.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
1546 * fNDArray.cc: Ditto. |
9967 | 1547 |
9551
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
1548 2009-08-20 Jaroslav Hajek <highegg@gmail.com> |
9967 | 1549 |
9551
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
1550 * dMatrix.cc (Matrix::operator!): Simplify & check for NaNs. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
1551 * fMatrix.cc (FloatMatrix::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
1552 * CMatrix.cc (ComplexMatrix::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
1553 * fCMatrix.cc (FloatComplexMatrix::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
1554 * dNDArray.cc (NDArray::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
1555 * fNDArray.cc (FloatNDArray::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
1556 * CNDArray.cc (ComplexNDArray::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
1557 * fCNDArray.cc (FloatComplexNDArray::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
1558 |
9550
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1559 2009-08-20 Jaroslav Hajek <highegg@gmail.com> |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1560 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1561 * mx-inlines.cc (mx_inline_add, mx_inline_sub, mx_inline_mul, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1562 mx_inline_div, mx_inline_uminus, mx_inline_not, mx_inline_add2, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1563 mx_inline_sub2, mx_inline_mul2, mx_inline_div2, mx_inline_iszero, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1564 mx_inline_notzero, mx_inline_and, mx_inline_or, mx_inline_not_and, |
9967 | 1565 mx_inline_not_or, mx_inline_and_not, mx_inline_or_not, |
9550
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1566 mx_inline_lt, mx_inline_le, mx_inline_gt, mx_inline_ge, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1567 mx_inline_eq, mx_inline_ne): New templates. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1568 (do_mx_unary_op, do_mm_binary_op, do_sm_binary_op, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1569 do_ms_binary_op, do_mm_inplace_op,do_ms_inplace_op): |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1570 New templates. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1571 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1572 * mx-op-defs.h (ND_LOGICAL_NAN_CHECK, SC_LOGICAL_NAN_CHECK): |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1573 New macros. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1574 (NDND_BIN_OP, NDS_BIN_OP, SND_BIN_OP): Simplify. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1575 (MM_BIN_OP, MS_BIN_OP, MM_BIN_OP): Simplify. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1576 (NDND_BOOL_OP, NDS_BOOL_OP, SND_BOOL_OP): Simplify. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1577 (MM_BOOL_OP, MS_BOOL_OP, MM_BOOL_OP): Simplify. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1578 (NDND_BOOL_OPS2, NDS_BOOL_OPS2, SND_BOOL_OPS2, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1579 MM_BOOL_OPS2, MS_BOOL_OPS2, SM_BOOL_OPS2): Remove. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1580 * mx-op-decl.h (NDND_BOOL_OPX_DECLS, NDS_BOOL_OPX_DECLS, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1581 SND_BOOL_OPX_DECLS): New macros. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1582 * mk-ops.awk: use _BOOL_OPS rather than _BOOL_OPS2. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1583 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1584 * boolMatrix.cc: Add missing bool op defs. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1585 * boolMatrix.h: Add missing bool op decls. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1586 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1587 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1588 * boolNDArray.cc: Remove unused arg to BOOL_OPS. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1589 * CMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1590 * CNDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1591 * ChangeLog: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1592 * chMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1593 * chNDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1594 * dMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1595 * dNDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1596 * fCMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1597 * fCNDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1598 * fMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1599 * fNDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1600 * int16NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1601 * int32NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1602 * int64NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1603 * int8NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1604 * uint16NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1605 * uint32NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1606 * uint64NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1607 * uint8NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1608 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1609 * CColVector.cc: Update syntax where needed. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1610 * CDiagMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1611 * CMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1612 * CRowVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1613 * chMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1614 * dColVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1615 * dDiagMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1616 * dMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1617 * dRowVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1618 * fCColVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1619 * fCDiagMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1620 * fCMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1621 * fCRowVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1622 * fColVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1623 * fDiagMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1624 * fMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1625 * fRowVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
1626 |
9549
ed34b1da0e26
zero matrix assignment fix
Jaroslav Hajek <highegg@gmail.com>
parents:
9548
diff
changeset
|
1627 2009-08-19 Jaroslav Hajek <highegg@gmail.com> |
ed34b1da0e26
zero matrix assignment fix
Jaroslav Hajek <highegg@gmail.com>
parents:
9548
diff
changeset
|
1628 |
ed34b1da0e26
zero matrix assignment fix
Jaroslav Hajek <highegg@gmail.com>
parents:
9548
diff
changeset
|
1629 * Array-util.cc (zero_dims_inquire): Add matching ndims case. |
ed34b1da0e26
zero matrix assignment fix
Jaroslav Hajek <highegg@gmail.com>
parents:
9548
diff
changeset
|
1630 |
9548
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
1631 2009-08-19 Jaroslav Hajek <highegg@gmail.com> |
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
1632 |
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
1633 * MArrayN.cc (operator+=, operator-=): Test matching dimensions first. |
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
1634 * boolNDArray.cc (mx_el_and_assign, mx_el_or_assign): New functions. |
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
1635 * boolNDArray.h: Declare them. |
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
1636 |
9546
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1637 2009-08-19 Jaroslav Hajek <highegg@gmail.com> |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1638 |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1639 * Array.cc (Array<T>::clear): New method. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1640 * Array.h: Declare it. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1641 * MArray-decl.h (MARRAY_OP_ASSIGN_DECLS1, MARRAY_OP_ASSIGN_FWD_DECLS1, |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1642 MARRAY_OP_ASSIGN_FRIENDS1, MARRAY_OP_ASSIGN_FWD_DEFS1): New macros. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1643 (MARRAY_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS): Use them. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1644 * MArray-defs.h (MARRAY_OP_ASSIGN_DEFS1): New macro. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1645 (INSTANTIATE_MARRAY_FRIENDS): Use it. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1646 (INSTANTIATE_MARRAY2_FRIENDS): Use it. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1647 (INSTANTIATE_MARRAYN_FRIENDS): Use it. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1648 * MArray.cc (operator+=, operator-=): |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1649 Operate out-of-place when this is shared copy. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1650 (operator*=, operator/=): New operator overloads. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1651 * MArray2.cc: Ditto. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1652 * MArrayN.cc: Ditto. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1653 * CNDArray.cc (operator *= (ComplexNDArray&, double), |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1654 operator /= (ComplexNDArray&, double)): New operators. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1655 * CNDArray.h: Declare them. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1656 * fCNDArray.cc (operator *= (FloatComplexNDArray&, double), |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1657 operator /= (FloatComplexNDArray&, double)): New operators. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1658 * fCNDArray.h: Declare them. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
1659 |
9534
baeecd69fd44
liboctave/Makefile.in (LINK_DEPS): list LIBS last
John W. Eaton <jwe@octave.org>
parents:
9528
diff
changeset
|
1660 2009-08-17 John W. Eaton <jwe@octave.org> |
baeecd69fd44
liboctave/Makefile.in (LINK_DEPS): list LIBS last
John W. Eaton <jwe@octave.org>
parents:
9528
diff
changeset
|
1661 |
baeecd69fd44
liboctave/Makefile.in (LINK_DEPS): list LIBS last
John W. Eaton <jwe@octave.org>
parents:
9528
diff
changeset
|
1662 * Makefile.in (LINK_DEPS): List LIBS last. |
baeecd69fd44
liboctave/Makefile.in (LINK_DEPS): list LIBS last
John W. Eaton <jwe@octave.org>
parents:
9528
diff
changeset
|
1663 |
9528
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
1664 2009-08-16 Jaroslav Hajek <highegg@gmail.com> |
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
1665 |
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
1666 * dMatrix.cc, fMatrix.cc, CMatrix.cc, fCMatrix.cc: Add more tests. |
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
1667 * CMatrix.cc (xgemm): Fix vector * matrix case. |
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
1668 * fCMatrix.cc (xgemm): Ditto. |
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
1669 |
9527
6a9fd5f653c9
make single prec. matrix mutliply tests really single
Jaroslav Hajek <highegg@gmail.com>
parents:
9526
diff
changeset
|
1670 2009-08-16 Jaroslav Hajek <highegg@gmail.com> |
6a9fd5f653c9
make single prec. matrix mutliply tests really single
Jaroslav Hajek <highegg@gmail.com>
parents:
9526
diff
changeset
|
1671 |
6a9fd5f653c9
make single prec. matrix mutliply tests really single
Jaroslav Hajek <highegg@gmail.com>
parents:
9526
diff
changeset
|
1672 * fMatrix.cc, fCMatrix.cc: Make tests use single precision. |
6a9fd5f653c9
make single prec. matrix mutliply tests really single
Jaroslav Hajek <highegg@gmail.com>
parents:
9526
diff
changeset
|
1673 |
9526
f3ebc728ffd7
fix typos in complex xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9524
diff
changeset
|
1674 2009-08-16 Jaroslav Hajek <highegg@gmail.com> |
f3ebc728ffd7
fix typos in complex xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9524
diff
changeset
|
1675 |
f3ebc728ffd7
fix typos in complex xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9524
diff
changeset
|
1676 * CMatrix.cc (xgemm): Fix typo. Add test. |
f3ebc728ffd7
fix typos in complex xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9524
diff
changeset
|
1677 * fCMatrix.cc (xgemm): Ditto. |
f3ebc728ffd7
fix typos in complex xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9524
diff
changeset
|
1678 |
9524
ace0febd263e
link liboctave with blas libs
John W. Eaton <jwe@octave.org>
parents:
9523
diff
changeset
|
1679 2009-08-14 John W. Eaton <jwe@octave.org> |
ace0febd263e
link liboctave with blas libs
John W. Eaton <jwe@octave.org>
parents:
9523
diff
changeset
|
1680 |
ace0febd263e
link liboctave with blas libs
John W. Eaton <jwe@octave.org>
parents:
9523
diff
changeset
|
1681 * Makefile.in (LINK_DEPS): Include BLAS_LIBS in the list. |
ace0febd263e
link liboctave with blas libs
John W. Eaton <jwe@octave.org>
parents:
9523
diff
changeset
|
1682 |
9523
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
1683 2009-08-13 John W. Eaton <jwe@octave.org> |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
1684 |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
1685 * CMatrix.cc, CNDArray.cc, dMatrix.cc, dNDArray.cc, fCMatrix.cc, |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
1686 fCNDArray.cc, fMatrix.cc, fNDARray.cc, oct-fftw.cc, oct-fftw.h: |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
1687 Update for new FFTW defines. |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
1688 |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
1689 * Makefile.in: Add library-specific CPPFLAGS and LDFLAGS variables |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
1690 to CPPFLAGS and LDFLAGS for files that use sparse matrices or fftw. |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
1691 |
9518
113dba092d8c
include LDFLAGS for shared liboctave and liboctinterp
Jaroslav Hajek <highegg@gmail.com>
parents:
9516
diff
changeset
|
1692 2009-08-12 Jaroslav Hajek <highegg@gmail.com> |
113dba092d8c
include LDFLAGS for shared liboctave and liboctinterp
Jaroslav Hajek <highegg@gmail.com>
parents:
9516
diff
changeset
|
1693 |
113dba092d8c
include LDFLAGS for shared liboctave and liboctinterp
Jaroslav Hajek <highegg@gmail.com>
parents:
9516
diff
changeset
|
1694 * Makefile.in: Include LDFLAGS when linking shared executable. |
113dba092d8c
include LDFLAGS for shared liboctave and liboctinterp
Jaroslav Hajek <highegg@gmail.com>
parents:
9516
diff
changeset
|
1695 |
9516
fb933db0c517
convert fftw planner classes to singleton objects
John W. Eaton <jwe@octave.org>
parents:
9515
diff
changeset
|
1696 2009-08-11 John W. Eaton <jwe@octave.org> |
fb933db0c517
convert fftw planner classes to singleton objects
John W. Eaton <jwe@octave.org>
parents:
9515
diff
changeset
|
1697 |
fb933db0c517
convert fftw planner classes to singleton objects
John W. Eaton <jwe@octave.org>
parents:
9515
diff
changeset
|
1698 * oct-fftw.h, oct-fftw.cc (octave_fftw_planner): Convert to singleton. |
fb933db0c517
convert fftw planner classes to singleton objects
John W. Eaton <jwe@octave.org>
parents:
9515
diff
changeset
|
1699 (octave_float_fft_planner): Likewise. |
fb933db0c517
convert fftw planner classes to singleton objects
John W. Eaton <jwe@octave.org>
parents:
9515
diff
changeset
|
1700 |
9515 | 1701 2009-08-11 John W. Eaton <jwe@octave.org> |
1702 | |
1703 * Makefile.in (LINK_DEPS): Use READLINE_LIBS instead of | |
1704 LIBREADLINE. Also link with TERM_LIBS and DL_LIBS. | |
1705 | |
9513
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1706 2009-08-11 Jaroslav Hajek <highegg@gmail.com> |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1707 |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1708 * mx-inlines.cc (mx_inline_diff<T>): New overloaded template |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1709 function. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1710 (get_extent_triplet): Use dim_vector::first_non_singleton. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1711 (do_mx_diff_op): New template function. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1712 * dNDArray.cc (NDArray::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1713 * dNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1714 * fNDArray.cc (FloatNDArray::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1715 * fNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1716 * CNDArray.cc (ComplexNDArray::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1717 * CNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1718 * fCNDArray.cc (FloatComplexNDArray::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1719 * fCNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1720 * intNDArray.cc (intNDArray<T>::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1721 * intNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
1722 |
9511
cc1fd3084cb2
implement dim_vector::first_non_singleton
Jaroslav Hajek <highegg@gmail.com>
parents:
9507
diff
changeset
|
1723 2009-08-10 Jaroslav Hajek <highegg@gmail.com> |
cc1fd3084cb2
implement dim_vector::first_non_singleton
Jaroslav Hajek <highegg@gmail.com>
parents:
9507
diff
changeset
|
1724 |
cc1fd3084cb2
implement dim_vector::first_non_singleton
Jaroslav Hajek <highegg@gmail.com>
parents:
9507
diff
changeset
|
1725 * dim-vector.h (dim_vector::first_non_singleton): New method. |
cc1fd3084cb2
implement dim_vector::first_non_singleton
Jaroslav Hajek <highegg@gmail.com>
parents:
9507
diff
changeset
|
1726 |
9507
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
1727 2009-08-06 Jaroslav Hajek <highegg@gmail.com> |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
1728 |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
1729 * dim-vector.h (dim_vector): Rewrite. Use single-alloc implementation |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
1730 aka GCC's basic_string class. |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
1731 * Array.cc: Use dim_vector::alloc where fitting. |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
1732 * Array-util.cc: Ditto. |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
1733 |
9493 | 1734 2009-08-05 John W. Eaton <jwe@octave.org> |
1735 | |
1736 * oct-shlib.cc (octave_shl_load_shlib::open): Pass BIND_IMMEDIATE, | |
1737 not BIND_DEFERRED to shl_load. | |
1738 (octave_dlopen_shlib::open): Don't pass RTLD_GLOBAL to dlopen. | |
1739 | |
9490 | 1740 2009-08-05 John W. Eaton <jwe@octave.org> |
1741 | |
1742 * Makefile.in (LINK_DEPS): Omit $(BLAS_LIBS) from the list. | |
1743 Include $(RLD_FLAG) in the list. | |
1744 | |
9488
ee572cdd4b97
add configure checks for pthread library and compiler flags
John W. Eaton <jwe@octave.org>
parents:
9485
diff
changeset
|
1745 2009-08-05 John W. Eaton <jwe@octave.org> |
ee572cdd4b97
add configure checks for pthread library and compiler flags
John W. Eaton <jwe@octave.org>
parents:
9485
diff
changeset
|
1746 |
ee572cdd4b97
add configure checks for pthread library and compiler flags
John W. Eaton <jwe@octave.org>
parents:
9485
diff
changeset
|
1747 * Makefile.in (LINK_DEPS): Include $(PTHREAD_LIBS) in the list. |
ee572cdd4b97
add configure checks for pthread library and compiler flags
John W. Eaton <jwe@octave.org>
parents:
9485
diff
changeset
|
1748 |
9485
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
1749 2009-08-04 Kristian Rumberg <kristianrumberg@gmail.com> |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
1750 |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
1751 * cmd-edit.cc (gnu_readline::do_get_line_buffer, |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
1752 default_command_editor::do_get_line_buffer): New functions. |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
1753 (command_editor::get_line_buffer): New function. |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
1754 * cmd-edit.h (command_editor::get_line_buffer): Provide decls. |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
1755 (command_editor::do_get_line_buffer): New pure virtual function. |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
1756 |
9479
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
1757 2009-07-31 Jaroslav Hajek <highegg@gmail.com> |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
1758 |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
1759 * idx-vector.h (idx_vector::is_range): New method. |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
1760 (idx_vector::copy_data, idx_vector::unconvert): New method decls. |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
1761 * idx-vector.cc (idx_vector::copy_data, idx_vector::unconvert): New |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
1762 methods. |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
1763 * Array-utils.cc (sub2ind, ind2sub): New functions. |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
1764 |
9469
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1765 2009-07-29 John W. Eaton <jwe@octave.org> |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1766 |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1767 * fMatrix.cc (operator >>): Use template function to read value. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1768 * fNDArray.cc (operator >>): Likeise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1769 * fCMatrix.cc (operator >>): Use template function to read value. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1770 * fCNDArray.cc (operator >>): Likeise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1771 * dMatrix.cc (operator >>): Use template function to read value. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1772 * dNDArray.cc (operator >>): Likeise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1773 * CMatrix.cc (operator >>): Use template function to read value. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1774 * CNDArray.cc (operator >>): Likeise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1775 |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1776 * lo-utils.cc, lo-utils.h (octave_read_value): New template |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1777 (octave_read_value<double>, octave_read_value<Complex>): |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1778 Provide specializations. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1779 (octave_read_double, octave_read_complex, octave_read_float, |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1780 octave_rread_float_complex): Define in terms of template functions. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1781 * Sparse.h (read_sparse_matrix): New template function. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1782 * dSparse.cc (operator >>): Call read_sparse_matrix. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1783 * CSparse.cc (operator >>): Likewise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1784 * boolSparse.cc (operator >>): Likewise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1785 * sparse-util.cc, sparse-util.h (sparse_indices_ok): New function. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1786 * Sparse.cc (Sparse<T>::indices_ok, Sparse<T>::SparseRep::indices_ok): |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1787 New member functions. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
1788 |
9441
160c564d5d25
initialize floating point values properly for NetBSD systems
Aleksej Saushev <asau@inbox.ru>
parents:
9431
diff
changeset
|
1789 2009-07-20 John W. Eaton <jwe@octave.org> |
160c564d5d25
initialize floating point values properly for NetBSD systems
Aleksej Saushev <asau@inbox.ru>
parents:
9431
diff
changeset
|
1790 |
160c564d5d25
initialize floating point values properly for NetBSD systems
Aleksej Saushev <asau@inbox.ru>
parents:
9431
diff
changeset
|
1791 * lo-ieee.cc (octave_ieee_init) [__NetBSD__]: Call nan to |
160c564d5d25
initialize floating point values properly for NetBSD systems
Aleksej Saushev <asau@inbox.ru>
parents:
9431
diff
changeset
|
1792 initialize Octave_NaN and nanf, to initialize Octave_Float_NaN. |
160c564d5d25
initialize floating point values properly for NetBSD systems
Aleksej Saushev <asau@inbox.ru>
parents:
9431
diff
changeset
|
1793 |
9431 | 1794 2009-07-11 John W. Eaton <jwe@octave.org> |
1795 | |
1796 * file-ops.cc (file_ops::symlink, file_ops::readlink): | |
1797 Don't use incorrectly sized OCTAVE_LOCAL_BUFFER. | |
1798 | |
9420
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
1799 2009-07-08 John W. Eaton <jwe@octave.org> |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
1800 |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
1801 * dim-vector.h (dim_vector::dim_vector_rep::dim_vector_rep |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
1802 (octave_idx_type, const dim_vector_rep *, int)): |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
1803 Enforce 2-d objects here. |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
1804 (dim_vector::dim_vector_rep::dim_vector_rep): Simply copy object. |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
1805 (dim_vector::resize): Allow N < 2. |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
1806 |
9417
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
1807 2009-07-03 Jaroslav Hajek <highegg@gmail.com> |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
1808 |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
1809 * Sparse-op-defs.h (SPARSE_ALL_OP): Fix typo. |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
1810 * dSparse.cc (SparseMatrix::prod): Ditto. |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
1811 * CSparse.cc (ComplexSparseMatrix::prod): Ditto. |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
1812 |
9414
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
1813 2009-07-02 Jaroslav Hajek <highegg@gmail.com> |
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
1814 |
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
1815 * Sparse-diag-op-defs.h (inner_do_add_sm_dm): Rewrite to ensure |
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
1816 ordering of row indices. |
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
1817 |
9410
2ad67ccd09fd
fix typo in octave_sort::lookupb
Jaroslav Hajek <highegg@gmail.com>
parents:
9407
diff
changeset
|
1818 2009-06-30 Jaroslav Hajek <highegg@gmail.com> |
2ad67ccd09fd
fix typo in octave_sort::lookupb
Jaroslav Hajek <highegg@gmail.com>
parents:
9407
diff
changeset
|
1819 |
2ad67ccd09fd
fix typo in octave_sort::lookupb
Jaroslav Hajek <highegg@gmail.com>
parents:
9407
diff
changeset
|
1820 * oct-sort.cc (octave_sort<T>::lookupb<Comp>): Fix typo. |
2ad67ccd09fd
fix typo in octave_sort::lookupb
Jaroslav Hajek <highegg@gmail.com>
parents:
9407
diff
changeset
|
1821 |
9407
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
1822 2009-06-29 Jaroslav Hajek <highegg@gmail.com> |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
1823 |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
1824 * oct-sort.cc (octave_sort<T>::lookup_merge): Delete. |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
1825 (octave_sort<T>::lookup<Comp>, |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
1826 octave_sort<T>::lookupm<Comp>, |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
1827 octave_sort<T>::lookupb<Comp>): Rewrite. |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
1828 |
9402
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
1829 2009-06-26 Michael Goffioul <michael.goffioul@gmail.com> |
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
1830 |
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
1831 * pathsearch.h (class dir_path::static_members): Decorate with |
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
1832 OCTAVE_API. |
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
1833 |
9400
df1ea906c1c4
a slight speed-up in oct-sort.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9399
diff
changeset
|
1834 2009-06-26 Jaroslav Hajek <highegg@gmail.com> |
df1ea906c1c4
a slight speed-up in oct-sort.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9399
diff
changeset
|
1835 |
df1ea906c1c4
a slight speed-up in oct-sort.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9399
diff
changeset
|
1836 * oct-sort.cc (octave_sort<T>::lookup_merge<Comp>): Slightly speed-up |
df1ea906c1c4
a slight speed-up in oct-sort.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9399
diff
changeset
|
1837 the merge case. |
df1ea906c1c4
a slight speed-up in oct-sort.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9399
diff
changeset
|
1838 |
9399
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
1839 2009-06-26 Jaroslav Hajek <highegg@gmail.com> |
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
1840 |
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
1841 * oct-sort.cc (octave_sort<T>::lookup_merge<Comp>): Fix lower-part |
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
1842 recursion. |
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
1843 |
9391
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
1844 2009-06-24 Alexander Barth <barth.alexander@gmail.com> |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
1845 |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
1846 * eigs-base.cc (EigsRealSymmetricMatrix, |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
1847 EigsRealSymmetricMatrixShift, EigsRealSymmetricFunc, |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
1848 EigsRealNonSymmetricMatrix, EigsRealNonSymmetricMatrixShift, |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
1849 EigsRealNonSymmetricFunc, EigsComplexNonSymmetricMatrix, |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
1850 EigsComplexNonSymmetricMatrixShift, EigsComplexNonSymmetricFunc): |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
1851 Use octave_idx_type for parameters of type LOGICAL in ARPACK. |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
1852 |
9370
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
1853 2009-06-22 Jaroslav Hajek <highegg@gmail.com> |
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
1854 |
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
1855 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): |
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
1856 Optimize w.r.t. COW of std::string. |
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
1857 |
9362
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
1858 2009-06-18 Jaroslav Hajek <highegg@gmail.com> |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
1859 |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
1860 * oct-sort.cc (lookup_impl<T, Comp>): New helper inline function. |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
1861 (octave_sort<T>::lookup_merge<Comp>): New private template method. |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
1862 (octave_sort<T>::lookup<Comp>): Rewrite. |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
1863 (octave_sort<T>::lookupm<Comp>): use lookup_impl. |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
1864 (octave_sort<T>::lookupb<Comp>): use lookup_impl. |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
1865 (out_of_range_pred, out_of_range): Remove. |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
1866 |
9359
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
1867 2009-06-18 Jaroslav Hajek <highegg@gmail.com> |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
1868 |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
1869 * dMatrix.cc (xgemm): Replace resize() with uninitialized allocations |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
1870 where appropriate. |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
1871 * fMatrix.cc (xgemm): Ditto. |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
1872 * CMatrix.cc (xgemm): Ditto. |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
1873 * fCMatrix.cc (xgemm): Ditto. |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
1874 |
9341
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
1875 2009-06-12 Jaroslav Hajek <highegg@gmail.com> |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
1876 |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
1877 * oct-sort.cc (octave_sort::lookupm, octave_sort::lookupb): New |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
1878 overloaded methods. |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
1879 * oct-sort.h: Declare them. |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
1880 * Array.cc (Array<T>::lookupm, Array<T>::lookupb): New methods. |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
1881 * Array.h: Declare them. |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
1882 |
9321
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
1883 2009-06-09 Jaroslav Hajek <highegg@gmail.com> |
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
1884 |
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
1885 * cmd-edit.cc (command_editor::force_default_editor): New static |
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
1886 method. |
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
1887 * cmd-edit.h: Declare it. |
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
1888 |
9319
0d9178575dd7
fix log2 with 2 outargs, loosen tests to meet IEEE
Jaroslav Hajek <highegg@gmail.com>
parents:
9310
diff
changeset
|
1889 2009-06-09 Jaroslav Hajek <highegg@gmail.com> |
0d9178575dd7
fix log2 with 2 outargs, loosen tests to meet IEEE
Jaroslav Hajek <highegg@gmail.com>
parents:
9310
diff
changeset
|
1890 |
0d9178575dd7
fix log2 with 2 outargs, loosen tests to meet IEEE
Jaroslav Hajek <highegg@gmail.com>
parents:
9310
diff
changeset
|
1891 * lo-mappers.cc (xlog2 (const Complex&, int&), xlog2 (const |
0d9178575dd7
fix log2 with 2 outargs, loosen tests to meet IEEE
Jaroslav Hajek <highegg@gmail.com>
parents:
9310
diff
changeset
|
1892 FloatComplex&, int&)): Use more robust expression. |
0d9178575dd7
fix log2 with 2 outargs, loosen tests to meet IEEE
Jaroslav Hajek <highegg@gmail.com>
parents:
9310
diff
changeset
|
1893 |
9310 | 1894 2009-06-07 Jaroslav Hajek <highegg@gmail.com> |
1895 | |
1896 * Array.cc (Array<T>::find): Avoid allocating excessive memory. Fix | |
1897 order for backward searches. | |
1898 | |
9287
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
1899 2009-06-02 Jaroslav Hajek <highegg@gmail.com> |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
1900 |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
1901 * Array-C.cc (class DiagArray2<Complex>::Proxy): Only explicitly |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
1902 instantiate DiagArray2<T>::Proxy on MSVC. |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
1903 * Array-d.cc (class DiagArray2<double>::Proxy): Ditto. |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
1904 * Array-f.cc (class DiagArray2<float>::Proxy): Ditto. |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
1905 * Array-fC.cc (class DiagArray2<FloatComplex>::Proxy): Ditto. |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
1906 |
9267 | 1907 2009-05-26 John W. Eaton <jwe@octave.org> |
1908 | |
1909 * pathsearch.h (dir_path::path_sep_char (char), | |
1910 dir_path::static_members::path_sep_char (char)): New functions. | |
1911 | |
9232
7319e4de9e44
Add missing return statement in base-aepbal.h
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9228
diff
changeset
|
1912 2009-05-21 Michael Goffioul <michael.goffioul@gmail.com> |
7319e4de9e44
Add missing return statement in base-aepbal.h
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9228
diff
changeset
|
1913 |
9237
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1914 * Array-C.cc (class DiagArray2<Complex>::Proxy): Tag with OCTAVE_API. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1915 * Array-d.cc (class DiagArray2<double>::Proxy): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1916 * Array-f.cc (class DiagArray2<float>::Proxy): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1917 * Array-fC.cc (class DiagArray2<FloatComplex>::Proxy): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1918 * Array.cc (class octave_sort<T>): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1919 * CColVector.h (conj, operator*, operator>>, operator<<): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1920 * CDiagMatrix.h (class ComplexDiagMatrix, conj, operator*): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1921 * CMatrix.h (conj): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1922 * CNDArray.h (conj): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1923 * PermMatrix.h (class PermMatrix, operator*): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1924 * dDiagMatrix.h (class DiagMatrix): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1925 * fCColVector.h (conj, operator*, operator>>, operator<<): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1926 * fCDiagMatrix.h (class FloatComplexDiagMatrix, conj, operator*): |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1927 Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1928 * fCMatrix.h (conj): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1929 * fCNDArray.h (conj): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1930 * fDiagMatrix.h (operator*): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1931 * oct-locbuf.h (octave_chunk_buffer::octave_chunk_buffer, |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1932 octave_chunk_buffer::~octave_chunk_buffer): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1933 * oct-inttypes.cc (octave_int_cmp_op::emulate_op): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1934 * DET.h (class base_det<T>): Remove OCTAVE_API (cannot be applied on |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1935 templates). |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1936 * oct-inttypes.cc (octave_int_cmp_op::emulate_op<class xop>): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
1937 |
9235
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
1938 * CmplxQR.cc (ComplexQR::insert_col, ComplexQR::delete_col): Copy |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
1939 volatile variable to avoid MSVC compilation error (cannot pass |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
1940 volatile variable as const& argument). |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
1941 * dbleQR.cc (QR::insert_col, QR::delete_col): Ditto. |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
1942 * fCmplxQR.cc (FloatComplexQR::insert_col, |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
1943 FloatComplexQR::delete_col): Ditto. |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
1944 * floatQR.cc (FloatQR::insert_col, FloatQR::delete_col): Ditto. |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
1945 |
9233
b935bbfab7c4
Exclude pthread.h inclusion under Win32
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9232
diff
changeset
|
1946 * oct-mutex.cc: Exclude pthread.h inclusion under Win32. |
b935bbfab7c4
Exclude pthread.h inclusion under Win32
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9232
diff
changeset
|
1947 |
9232
7319e4de9e44
Add missing return statement in base-aepbal.h
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9228
diff
changeset
|
1948 * base-aepbal.h (base_aepbal::operator=): Add missing return |
7319e4de9e44
Add missing return statement in base-aepbal.h
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9228
diff
changeset
|
1949 statement. |
7319e4de9e44
Add missing return statement in base-aepbal.h
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9228
diff
changeset
|
1950 |
9228
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1951 2009-05-20 Jaroslav Hajek <highegg@gmail.com> |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1952 |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1953 * eigs-base.cc ( |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1954 EigsRealSymmetricMatrix, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1955 EigsRealSymmetricMatrixShift, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1956 EigsRealSymmetricFunc, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1957 EigsRealNonSymmetricMatrix, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1958 EigsRealNonSymmetricMatrixShift, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1959 EigsRealNonSymmetricFunc, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1960 EigsComplexNonSymmetricMatrix, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1961 EigsComplexNonSymmetricMatrixShift, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1962 EigsComplexNonSymmetricFunc): Update tests. |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
1963 |
9227
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1964 2009-05-21 Jaroslav Hajek <highegg@gmail.com> |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1965 |
9967 | 1966 * CMatrix.cc |
9227
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1967 (ComplexMatrix::all, ComplexMatrix::any, ComplexMatrix::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1968 ComplexMatrix::cumsum, ComplexMatrix::prod, ComplexMatrix::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1969 ComplexMatrix::sumsq): Use explicit template qualifications |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1970 to workaround bugs in Intel C++ and MSVC++ compilers. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1971 * CNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1972 (ComplexNDArray::all, ComplexNDArray::any, ComplexNDArray::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1973 ComplexNDArray::cumsum, ComplexNDArray::prod, ComplexNDArray::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1974 ComplexNDArray::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1975 * boolMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1976 (boolMatrix::all, boolMatrix::any): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1977 * boolNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1978 (boolNDArray::all, boolNDArray::any): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1979 * chMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1980 (charMatrix::all, charMatrix::any): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1981 * chNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1982 (charNDArray::all, charNDArray::any): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1983 * dMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1984 (Matrix::all, Matrix::any, Matrix::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1985 Matrix::cumsum, Matrix::prod, Matrix::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1986 Matrix::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1987 * dNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1988 (NDArray::all, NDArray::any, NDArray::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1989 NDArray::cumsum, NDArray::prod, NDArray::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1990 NDArray::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1991 * fCMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1992 (FloatComplexMatrix::all, FloatComplexMatrix::any, FloatComplexMatrix::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1993 FloatComplexMatrix::cumsum, FloatComplexMatrix::prod, FloatComplexMatrix::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1994 FloatComplexMatrix::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1995 * fCNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1996 (FloatComplexNDArray::all, FloatComplexNDArray::any, FloatComplexNDArray::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1997 FloatComplexNDArray::cumsum, FloatComplexNDArray::prod, FloatComplexNDArray::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1998 FloatComplexNDArray::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
1999 * fMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
2000 (FloatMatrix::all, FloatMatrix::any, FloatMatrix::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
2001 FloatMatrix::cumsum, FloatMatrix::prod, FloatMatrix::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
2002 FloatMatrix::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
2003 * fNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
2004 (FloatNDArray::all, FloatNDArray::any, FloatNDArray::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
2005 FloatNDArray::cumsum, FloatNDArray::prod, FloatNDArray::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
2006 FloatNDArray::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
2007 * intNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
2008 (intNDArray<T>::all, intNDArray<T>::any, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
2009 intNDArray<T>::cumsum, intNDArray<T>::sum): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
2010 |
9225
3161ccb261ec
delete ArrayN-idx from Makefile.in
Jaroslav Hajek <highegg@gmail.com>
parents:
9222
diff
changeset
|
2011 2009-05-20 Jaroslav Hajek <highegg@gmail.com> |
3161ccb261ec
delete ArrayN-idx from Makefile.in
Jaroslav Hajek <highegg@gmail.com>
parents:
9222
diff
changeset
|
2012 |
3161ccb261ec
delete ArrayN-idx from Makefile.in
Jaroslav Hajek <highegg@gmail.com>
parents:
9222
diff
changeset
|
2013 * Makefile.in: Remove reference to ArrayN-idx.h. |
3161ccb261ec
delete ArrayN-idx from Makefile.in
Jaroslav Hajek <highegg@gmail.com>
parents:
9222
diff
changeset
|
2014 |
9222
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
2015 2009-05-20 Jaroslav Hajek <highegg@gmail.com> |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
2016 |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
2017 * Array-voidp.cc: New source. |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
2018 * Array.cc (NO_INSTANTIATE_ARRAY_SORT): const T& -> T const & |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
2019 * Makefile.in: Include it. |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
2020 |
9201
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
2021 2009-05-15 Jaroslav Hajek <highegg@gmail.com> |
9967 | 2022 |
9201
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
2023 * Array.cc (Array<T>::instantiation_guard): New function |
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
2024 (INSTANTIATE_ARRAY): Always override it here. |
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
2025 * Array.h: Declare it. |
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
2026 |
9200
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
2027 2009-05-15 Jaroslav Hajek <highegg@gmail.com> |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
2028 |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
2029 * ArrayN-idx.h: Remove file. |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
2030 * ArrayN.cc: Don't include it. |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
2031 * MArrayN.cc: Dtto. |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
2032 |
9192
864805896876
fix zero-dims assignment bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9186
diff
changeset
|
2033 2009-05-09 Jaroslav Hajek <highegg@gmail.com> |
864805896876
fix zero-dims assignment bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9186
diff
changeset
|
2034 |
864805896876
fix zero-dims assignment bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9186
diff
changeset
|
2035 * Array-util.cc (zero_dims_inquire): Move j++ out of branch. |
864805896876
fix zero-dims assignment bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9186
diff
changeset
|
2036 |
9186
49a0c58a7dcf
Added SHLPRE for SHLEXT instead of SHLLIBPRE
marco_atzeri@yahoo.it
parents:
9182
diff
changeset
|
2037 2009-05-07 Marco Atzeri <marco_atzeri@yahoo.it> |
49a0c58a7dcf
Added SHLPRE for SHLEXT instead of SHLLIBPRE
marco_atzeri@yahoo.it
parents:
9182
diff
changeset
|
2038 |
9967 | 2039 * Makefile.in: (SHLPRE): Rename from SHLLIBPRE. |
9186
49a0c58a7dcf
Added SHLPRE for SHLEXT instead of SHLLIBPRE
marco_atzeri@yahoo.it
parents:
9182
diff
changeset
|
2040 |
9182
23af5910e5f5
make load work for derived classses
Robert T. Short <octave@phaselockedsystems.com>
parents:
9179
diff
changeset
|
2041 2009-05-05 Robert T. Short <octave@phaselockedsystems.com> |
23af5910e5f5
make load work for derived classses
Robert T. Short <octave@phaselockedsystems.com>
parents:
9179
diff
changeset
|
2042 |
23af5910e5f5
make load work for derived classses
Robert T. Short <octave@phaselockedsystems.com>
parents:
9179
diff
changeset
|
2043 * file-ops.h (file_ops::tail) New function. |
23af5910e5f5
make load work for derived classses
Robert T. Short <octave@phaselockedsystems.com>
parents:
9179
diff
changeset
|
2044 |
9179
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
2045 2009-05-05 Carsten Clark <tantumquantum+gnuoctave@gmail.com> |
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
2046 |
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
2047 * Quad.cc (user_function): Use access_double and assign_double on |
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
2048 SPARC only, not on all Sun systems. |
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
2049 * sun-utils.h: Likewise, define these functions on SPARC only. |
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
2050 |
9177
39be2c4531c8
fix sparse indexing bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9169
diff
changeset
|
2051 2009-05-05 Jaroslav Hajek <highegg@gmail.com> |
39be2c4531c8
fix sparse indexing bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9169
diff
changeset
|
2052 |
39be2c4531c8
fix sparse indexing bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9169
diff
changeset
|
2053 * Sparse.cc (assign1): Fix an old indexing bug. |
39be2c4531c8
fix sparse indexing bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9169
diff
changeset
|
2054 |
9169
b1e82cc8a9f3
eliminate broken special case for copying floats on Sun systems
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9124
diff
changeset
|
2055 2009-05-04 Carsten Clark <tantumquantum+gnuoctave@gmail.com> |
b1e82cc8a9f3
eliminate broken special case for copying floats on Sun systems
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9124
diff
changeset
|
2056 |
b1e82cc8a9f3
eliminate broken special case for copying floats on Sun systems
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9124
diff
changeset
|
2057 * Quad.cc (float_user_function): Remove Sun/GCC special case. |
b1e82cc8a9f3
eliminate broken special case for copying floats on Sun systems
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9124
diff
changeset
|
2058 |
9124
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
2059 2009-04-16 Jaroslav Hajek <highegg@gmail.com> |
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
2060 |
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
2061 * idx-vector.cc (idx_vector::idx_range_rep::idx_range_rep (const |
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
2062 Range&)): Check for positive integer indices. Unify gripes. |
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
2063 |
9121
bb62bc406ea7
reuse fast blocked transpose implementation from rec_permute_helper in Array<T>::transpose
Jaroslav Hajek <highegg@gmail.com>
parents:
9100
diff
changeset
|
2064 2009-04-15 Jaroslav Hajek <highegg@gmail.com> |
bb62bc406ea7
reuse fast blocked transpose implementation from rec_permute_helper in Array<T>::transpose
Jaroslav Hajek <highegg@gmail.com>
parents:
9100
diff
changeset
|
2065 |
bb62bc406ea7
reuse fast blocked transpose implementation from rec_permute_helper in Array<T>::transpose
Jaroslav Hajek <highegg@gmail.com>
parents:
9100
diff
changeset
|
2066 * Array.cc (rec_permute_helper::blk_trans): Declare as static. |
bb62bc406ea7
reuse fast blocked transpose implementation from rec_permute_helper in Array<T>::transpose
Jaroslav Hajek <highegg@gmail.com>
parents:
9100
diff
changeset
|
2067 (Array<T>::transpose): Reuse it. |
bb62bc406ea7
reuse fast blocked transpose implementation from rec_permute_helper in Array<T>::transpose
Jaroslav Hajek <highegg@gmail.com>
parents:
9100
diff
changeset
|
2068 |
9100
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
2069 2009-04-04 Jaroslav Hajek <highegg@gmail.com> |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
2070 |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
2071 * Array.cc (Array<T>::make_unique): Don't economize when unique. |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
2072 (Array<T>::resize_fill (octave_idx_type, const T&)): Optimize push & |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
2073 pop operations. |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
2074 (Array<T>::delete_elements (const idx_vector&)): Do pop operation |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
2075 using resize. |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
2076 |
9058
2da105bf2507
remove redundant checks from Array<T>::index
Jaroslav Hajek <highegg@gmail.com>
parents:
9046
diff
changeset
|
2077 2009-03-29 Jaroslav Hajek <highegg@gmail.com> |
2da105bf2507
remove redundant checks from Array<T>::index
Jaroslav Hajek <highegg@gmail.com>
parents:
9046
diff
changeset
|
2078 |
2da105bf2507
remove redundant checks from Array<T>::index
Jaroslav Hajek <highegg@gmail.com>
parents:
9046
diff
changeset
|
2079 * Array.cc (Array<T>::assign): Remove redundant checks after invalid |
2da105bf2507
remove redundant checks from Array<T>::index
Jaroslav Hajek <highegg@gmail.com>
parents:
9046
diff
changeset
|
2080 resize. |
2da105bf2507
remove redundant checks from Array<T>::index
Jaroslav Hajek <highegg@gmail.com>
parents:
9046
diff
changeset
|
2081 |
9046
88bf56bbccca
make Array::find already return Matlab-compatible dimensions
Jaroslav Hajek <highegg@gmail.com>
parents:
9045
diff
changeset
|
2082 2009-03-26 Jaroslav Hajek <highegg@gmail.com> |
88bf56bbccca
make Array::find already return Matlab-compatible dimensions
Jaroslav Hajek <highegg@gmail.com>
parents:
9045
diff
changeset
|
2083 |
88bf56bbccca
make Array::find already return Matlab-compatible dimensions
Jaroslav Hajek <highegg@gmail.com>
parents:
9045
diff
changeset
|
2084 * Array.cc (Array<T>::find): Reshape result for Matlab compatibility. |
88bf56bbccca
make Array::find already return Matlab-compatible dimensions
Jaroslav Hajek <highegg@gmail.com>
parents:
9045
diff
changeset
|
2085 * Array.h (Array<T>): Add friend template declaration. |
88bf56bbccca
make Array::find already return Matlab-compatible dimensions
Jaroslav Hajek <highegg@gmail.com>
parents:
9045
diff
changeset
|
2086 |
9045
ac0a23e9f5c5
more compatible indexing by logical empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9027
diff
changeset
|
2087 2009-03-27 Jaroslav Hajek <highegg@gmail.com> |
ac0a23e9f5c5
more compatible indexing by logical empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9027
diff
changeset
|
2088 |
ac0a23e9f5c5
more compatible indexing by logical empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9027
diff
changeset
|
2089 * idx-vector.cc (idx_vector::idx_vector_rep::idx_vector_rep (const |
ac0a23e9f5c5
more compatible indexing by logical empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9027
diff
changeset
|
2090 Array<bool>&): Use more M*b-compatible behaviour. |
ac0a23e9f5c5
more compatible indexing by logical empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9027
diff
changeset
|
2091 |
9027
9a46ba093db4
generalize dim_vector::numel
Jaroslav Hajek <highegg@gmail.com>
parents:
9026
diff
changeset
|
2092 2009-03-26 Jaroslav Hajek <highegg@gmail.com> |
9a46ba093db4
generalize dim_vector::numel
Jaroslav Hajek <highegg@gmail.com>
parents:
9026
diff
changeset
|
2093 |
9a46ba093db4
generalize dim_vector::numel
Jaroslav Hajek <highegg@gmail.com>
parents:
9026
diff
changeset
|
2094 * dim-vector.h (dim_vector::numel): Add optional argument, simplify. |
9a46ba093db4
generalize dim_vector::numel
Jaroslav Hajek <highegg@gmail.com>
parents:
9026
diff
changeset
|
2095 |
9026
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
2096 2009-03-26 Jaroslav Hajek <highegg@gmail.com> |
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
2097 |
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
2098 * Array.h (Array<T>::dims): Return a const reference. |
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
2099 (Array<T>::is_vector): New method. |
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
2100 |
9025 | 2101 2009-03-26 Jaroslav Hajek <highegg@gmail.com> |
2102 | |
2103 * Array.cc (Array<T>::find): New method. | |
2104 * Array.h: Declare it. | |
2105 | |
9018
9057df9bb8a1
liboctave/Makefile.in (MATRIX_INC): add missing files to the list
John W. Eaton <jwe@octave.org>
parents:
9013
diff
changeset
|
2106 2009-03-25 John W. Eaton <jwe@octave.org> |
9057df9bb8a1
liboctave/Makefile.in (MATRIX_INC): add missing files to the list
John W. Eaton <jwe@octave.org>
parents:
9013
diff
changeset
|
2107 |
9020
728e7943752d
EIG.cc: avoid volatile decl for tmp variable
John W. Eaton <jwe@octave.org>
parents:
9018
diff
changeset
|
2108 * EIG.cc (EIG::init (const Matrix&, bool), |
728e7943752d
EIG.cc: avoid volatile decl for tmp variable
John W. Eaton <jwe@octave.org>
parents:
9018
diff
changeset
|
2109 EIG::init (const Matrix&, const Matrix&, bool)): |
9021 | 2110 Avoid volatile declaration for tmp variable. |
9020
728e7943752d
EIG.cc: avoid volatile decl for tmp variable
John W. Eaton <jwe@octave.org>
parents:
9018
diff
changeset
|
2111 |
9018
9057df9bb8a1
liboctave/Makefile.in (MATRIX_INC): add missing files to the list
John W. Eaton <jwe@octave.org>
parents:
9013
diff
changeset
|
2112 * Makefile.in (MATRIX_INC): Add Sparse-diag-op-defs.h and |
9057df9bb8a1
liboctave/Makefile.in (MATRIX_INC): add missing files to the list
John W. Eaton <jwe@octave.org>
parents:
9013
diff
changeset
|
2113 Sparse-perm-op-defs.h to the list. |
9057df9bb8a1
liboctave/Makefile.in (MATRIX_INC): add missing files to the list
John W. Eaton <jwe@octave.org>
parents:
9013
diff
changeset
|
2114 |
9013
3b1908b58662
fixes in mixed int64-double multiply emulation
Jaroslav Hajek <highegg@gmail.com>
parents:
9012
diff
changeset
|
2115 2009-03-25 Jaroslav Hajek <highegg@gmail.com> |
9967 | 2116 |
9013
3b1908b58662
fixes in mixed int64-double multiply emulation
Jaroslav Hajek <highegg@gmail.com>
parents:
9012
diff
changeset
|
2117 * oct-inttypes.cc (INT_DOUBLE_BINOP_DECL (*, uint64), |
3b1908b58662
fixes in mixed int64-double multiply emulation
Jaroslav Hajek <highegg@gmail.com>
parents:
9012
diff
changeset
|
2118 INT_DOUBLE_BINOP_DECL (*, int64)): x -> y where appropriate. |
3b1908b58662
fixes in mixed int64-double multiply emulation
Jaroslav Hajek <highegg@gmail.com>
parents:
9012
diff
changeset
|
2119 |
9012
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
2120 2009-03-25 Jaroslav Hajek <highegg@gmail.com> |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
2121 |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
2122 * Array.cc (rec_permute_helper::use_blk): New field. |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
2123 (rec_permute_helper::blk_trans): New method. |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
2124 (rec_permute_helper::rec_permute_helper): Use smart reductions, |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
2125 detect possibility of using blocked transpose. |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
2126 (rec_permute_helper::do_permute): Use blocked transpose if possible. |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
2127 |
9007
7e31df9a0334
simplify double->int conversion in indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9003
diff
changeset
|
2128 2009-03-23 Jaroslav Hajek <highegg@gmail.com> |
7e31df9a0334
simplify double->int conversion in indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9003
diff
changeset
|
2129 |
7e31df9a0334
simplify double->int conversion in indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9003
diff
changeset
|
2130 * idx-vector.cc (convert_index(double,...)): Simplify. |
7e31df9a0334
simplify double->int conversion in indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9003
diff
changeset
|
2131 |
9003
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
2132 2009-03-21 Jaroslav Hajek <highegg@gmail.com> |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
2133 |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
2134 * Array-d.cc: lo_ieee_isnan -> xisnan. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
2135 * Array-f.cc: Ditto. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
2136 * oct-inttypes.cc: Ditto. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
2137 * oct-inttypes.h: Ditto. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
2138 * CDiagMatrix.cc: Add missing include. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
2139 * fCDiagMatrix.cc: Ditto. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
2140 |
8999
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
2141 2009-03-20 Jaroslav Hajek <highegg@gmail.com> |
9967 | 2142 |
8999
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
2143 * CColVector.cc, CMatrix.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, |
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
2144 boolSparse.cc, dColVector.cc, dMatrix.cc, dNDArray.cc, dRowVector.cc, |
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
2145 dSparse.cc, fCColVector.cc, fCMatrix.cc, fCNDArray.cc, fCRowVector.cc, |
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
2146 fColVector.cc, fMatrix.cc, fNDArray.cc, fRowVector.cc, intNDArray.cc: |
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
2147 Allow empty arrays in stream input operators. |
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
2148 |
8998
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
2149 2009-03-20 Jaroslav Hajek <highegg@gmail.com> |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
2150 |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
2151 * Array.h (Array<T>::fastmap): New method. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
2152 * dNDArray.cc (NDArray::isnan, NDArray::isinf, NDArray::isfinite): |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
2153 New methods. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
2154 * dNDArray.h: Declare them. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
2155 * fNDArray.cc (FloatNDArray::isnan, FloatNDArray::isinf, |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
2156 FloatNDArray::isfinite): New methods. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
2157 * fNDArray.h: Declare them. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
2158 * CNDArray.cc (ComplexNDArray::isnan, ComplexNDArray::isinf, |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
2159 ComplexNDArray::isfinite): New methods. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
2160 * CNDArray.h: Declare them. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
2161 * fCNDArray.cc (FloatComplexNDArray::isnan, FloatComplexNDArray::isinf, |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
2162 FloatComplexNDArray::isfinite): New methods. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
2163 * fCNDArray.h: Declare them. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
2164 * lo-mappers.h (xisnan, xisinf, xfinite): If possible, use definitions |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
2165 from <cmath>. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
2166 |
9501 | 2167 2009-03-18 Jaroslav Hajek <highegg@gmail.com> |
8995
1b097d86a61a
remove a TODO in oct-norm.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8987
diff
changeset
|
2168 |
1b097d86a61a
remove a TODO in oct-norm.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8987
diff
changeset
|
2169 * oct-norm.cc (get_eps): Remove that hack. |
1b097d86a61a
remove a TODO in oct-norm.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8987
diff
changeset
|
2170 (higham): Use std::numeric_limits instead. |
1b097d86a61a
remove a TODO in oct-norm.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8987
diff
changeset
|
2171 Include OCTAVE_QUIT. |
1b097d86a61a
remove a TODO in oct-norm.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8987
diff
changeset
|
2172 |
8987
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
2173 2009-03-16 Jason Riedy <jason@acm.org> |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
2174 |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
2175 * Sparse.cc (transpose): Eliminate the workspace by computing in |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
2176 retval.xcidx. |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
2177 * CSparse.cc (hermitian): Eliminate the workspace by computing in |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
2178 retval.xcidx. |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
2179 |
8982
dc6bda6f9994
implement compound logical ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8981
diff
changeset
|
2180 2009-03-14 Jaroslav Hajek <highegg@gmail.com> |
dc6bda6f9994
implement compound logical ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8981
diff
changeset
|
2181 |
8983
e781ab1aee39
optimize comparison ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8982
diff
changeset
|
2182 * mx-op-decl.h (NDS_BOOL_OP_DECLS, SND_BOOL_OP_DECLS, NDND_BOOL_OP_DECLS): Support compound binary ops. |
e781ab1aee39
optimize comparison ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8982
diff
changeset
|
2183 * mx-op-defs.h (NDS_BOOL_OPS, SND_BOOL_OPS, NDND_BOOL_OPS): Ditto. Optimize. |
e781ab1aee39
optimize comparison ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8982
diff
changeset
|
2184 * mx-op-defs.h (NDS_CMP_OP, SND_CMP_OP, NDND_CMP_OP): Optimize. |
8982
dc6bda6f9994
implement compound logical ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8981
diff
changeset
|
2185 |
8981
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
2186 2009-03-14 Jaroslav Hajek <highegg@gmail.com> |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
2187 |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
2188 * fNDArray.h (FloatMatrix::matrix_value): Fix return type. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
2189 * dNDArray.cc (Matrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
2190 * fNDArray.cc (FloatMatrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
2191 * CNDArray.cc (ComplexMatrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
2192 * fCNDArray.cc (FloatComplexMatrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
2193 |
8971 | 2194 2009-03-13 Jaroslav Hajek <highegg@gmail.com> |
2195 | |
2196 * Range.h (Range::Range (double, double, octave_idx_type)): Remove | |
2197 constructor body. | |
2198 * Range.cc: Move it here. Check for invalid range op results. | |
2199 (all operators): Validate cache for invalid range op results. | |
8972
5fa53d1b6247
more indexing optimizations
Jaroslav Hajek <highegg@gmail.com>
parents:
8971
diff
changeset
|
2200 * idx-vector.h (idx_vector::index): Optimize zero-step range case. |
5fa53d1b6247
more indexing optimizations
Jaroslav Hajek <highegg@gmail.com>
parents:
8971
diff
changeset
|
2201 * idx-vector.cc (idx_vector::maybe_reduce): Always reduce colon in |
5fa53d1b6247
more indexing optimizations
Jaroslav Hajek <highegg@gmail.com>
parents:
8971
diff
changeset
|
2202 singleton dimension. |
8971 | 2203 |
8969
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
2204 2009-03-10 Jason Riedy <jason@acm.org> |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
2205 |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
2206 * sparse-base-lu.cc (Pr_mat): New member function. Return the row |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
2207 permutation as a PermMatrix. |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
2208 (Pc_mat): New member function. Return the col permutation as a |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
2209 PermMatrix. |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
2210 |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
2211 * sparse-base-lu.h (sparse_base_lu): Declare Pc_mat and Pr_mat |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
2212 member functions. |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
2213 |
8966
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2214 2009-03-09 Jason Riedy <jason@acm.org> |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2215 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2216 * Sparse-diag-op-defs.h (octave_impl::inner_do_add_sm_dm): New |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2217 template function. Implementation for adding sparse and diagonal |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2218 matrices. Takes two functional arguments, opa and opd, to |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2219 generate both subtraction variants. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2220 (octave_impl::do_commutative_add_dm_sm): New template function. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2221 Ensure A+D and D+A use the same generated code. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2222 (octave_impl::do_add_dm_sm): New template function. Check |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2223 arguments for diag + sparse and call inner routine. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2224 (octave_impl::do_sub_dm_sm): New template function. Check |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2225 arguments for diag - sparse and call inner routine. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2226 (octave_impl::do_add_sm_dm): New template function. Check |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2227 arguments for sparse + diag and call inner routine. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2228 (octave_impl::do_sub_sm_dm): New template function. Check |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2229 arguments for sparse - diag and call inner routine. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2230 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2231 * dSparse.h (operator +): Declare overrides for real diag + |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2232 sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2233 (operator -): Declare overrides for real diag - sparse, sparse - |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2234 diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2235 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2236 * dSparse.cc (operator +): Define overrides for real diag + |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2237 sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2238 (operator -): Define overrides for real diag - sparse, sparse - |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2239 diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2240 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2241 * CSparse.h (operator +): Declare overrides for complex and real |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2242 combinations of diag + sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2243 (operator -): Declare overrides for complex and real combinations |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2244 of diag - sparse, sparse - diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2245 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2246 * CSparse.cc (operator +): Define overrides for complex and real |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2247 combinations of diag + sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2248 (operator -): Define overrides for complex and real combinations |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2249 of diag - sparse, sparse - diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2250 |
8964
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
2251 2009-03-08 Jason Riedy <jason@acm.org> |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
2252 |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
2253 * Sparse-diag-op-defs.h (octave_impl::do_mul_dm_sm) |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
2254 (octave_impl::do_mul_sm_dm): New template |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
2255 functions. Implementations for sparse * diag and diag * sparse. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
2256 |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
2257 * CSparse.h (operator *, trans_mul, herm_mul): Add overloads for |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
2258 DiagMatrix and ComplexDiagMatrix. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
2259 * CSparse.cc (operator *, trans_mul, herm_mul): Implement |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
2260 operations by calling approprate functions in |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
2261 Sparse-diag-op-defs.h. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
2262 * dSparse.h (operator *, trans_mul): Add overloads for DiagMatrix. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
2263 * dSparse.cc (operator *, trans_mul): Implement operations by |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
2264 calling approprate functions in Sparse-diag-op-defs.h. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
2265 |
8963
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
2266 2009-03-12 John W. Eaton <jwe@octave.org> |
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
2267 |
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
2268 * oct-inttypes.h (bitshift): Apply mask even if not shifting. |
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
2269 From Seb Astien <se6astien2@googlemail.com>. |
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
2270 |
8958
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
2271 2009-03-11 Jaroslav Hajek <highegg@gmail.com> |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
2272 |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
2273 * PermMatrix.cc (PermMatrix::power): New method. |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
2274 * PermMatrix.h: Declare it. |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
2275 |
8956
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
2276 2009-03-11 Jaroslav Hajek <highegg@gmail.com> |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
2277 |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
2278 * dNDArray.cc (NDArray::NDArray (const charNDArray&)): New |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
2279 constructor. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
2280 * fNDArray.cc (FloatNDArray::FloatNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
2281 Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
2282 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
2283 Ditto. |
9967 | 2284 * fCNDArray.cc (FloatComplexNDArray::FloatComplexNDArray |
8956
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
2285 (const charNDArray&)): Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
2286 |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
2287 * dNDArray.h (NDArray::NDArray (const charNDArray&)): Declare. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
2288 * fNDArray.h (FloatNDArray::FloatNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
2289 Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
2290 * CNDArray.h (ComplexNDArray::ComplexNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
2291 Ditto. |
9967 | 2292 * fCNDArray.h (FloatComplexNDArray::FloatComplexNDArray |
8956
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
2293 (const charNDArray&)): Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
2294 |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
2295 * dMatrix.cc (Matrix::Matrix (const charMatrix&)): Cast to unsigned |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
2296 chars. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
2297 * fMatrix.cc (FloatMatrix::FloatMatrix (const charMatrix&)): Likewise. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
2298 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
2299 Likewise. |
9967 | 2300 * fCMatrix.cc (FloatComplexMatrix::FloatComplexMatrix |
8956
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
2301 (const charMatrix&)): Likewise. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
2302 |
8954
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
2303 2009-03-10 Jason Riedy <jason@acm.org> |
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
2304 |
8968
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
2305 * Sparse-perm-op-defs.h (octinternal_do_mul_colpm_sm): New |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
2306 template function. Logic for the column permutation * sparse |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
2307 matrix operator. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
2308 (octinternal_do_mul_pm_sm): New template function. Logic for the |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
2309 permutation matrix * sparse matrix operator. Note that there is |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
2310 no special row perm * sparse routine; the permutation is inverted |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
2311 and the col perm routine is called. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
2312 (octinternal_do_mul_sm_rowpm): New template function. Logic for |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
2313 the sparse matrix * row permutation operator. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
2314 (octinternal_do_mul_sm_colpm): New template function. Logic for |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
2315 the sparse matrix * column permutation operator. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
2316 (octinternal_do_mul_sm_pm): New template function. Logic for the |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
2317 sparse matrix * permutation matrix operator. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
2318 |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
2319 * dSparse.h (operator *): Declare sparse * permutation and |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
2320 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
2321 * dSparse.cc (operator *): Define sparse * permutation and |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
2322 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
2323 |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
2324 * CSparse.h (operator *): Declare sparse * permutation and |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
2325 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
2326 * CSparse.cc (operator *): Define sparse * permutation and |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
2327 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
2328 |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
2329 2009-03-10 Jason Riedy <jason@acm.org> |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
2330 |
8954
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
2331 * sparse-base-lu.cc (Pc_vec): The column permutation should be |
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
2332 Ufact.cols ()-long, not Lfact.rows ()-long. |
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
2333 |
8951
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
2334 2009-03-10 Jason Riedy <jason@acm.org> |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
2335 |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
2336 * dSparse.cc (SparseMatrix::SparseMatrix (const PermMatrix&)): |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
2337 Fix conversion to add values to the matrix as well as getting |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
2338 structure correct. |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
2339 |
8950
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
2340 2009-03-10 John W. Eaton <jwe@octave.org> |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
2341 |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
2342 * Array.h, ArrayN.h, Bounds.h, CmplxAEPBAL.h, CmplxCHOL.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
2343 CmplxGEPBAL.h, CmplxHESS.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
2344 CmplxSVD.h, CollocWt.h, EIG.h, FEGrid.h, LinConst.h, Range.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
2345 Sparse.h, SparseCmplxQR.h, SparseQR.h, dbleAEPBAL.h, dbleCHOL.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
2346 dbleGEPBAL.h, dbleHESS.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
2347 dbleSVD.h, dim-vector.h, fCmplxAEPBAL.h, fCmplxCHOL.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
2348 fCmplxGEPBAL.h, fCmplxHESS.h, fCmplxQR.h, fCmplxQRP.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
2349 fCmplxSCHUR.h, fCmplxSVD.h, fEIG.h, floatAEPBAL.h, floatCHOL.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
2350 floatGEPBAL.h, floatHESS.h, floatQR.h, floatQRP.h, floatSCHUR.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
2351 floatSVD.h, idx-vector.h, lo-utils.h, oct-inttypes.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
2352 oct-spparms.h, str-vec.h: Include <iosfwd> instead of <iosstream>. |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
2353 |
8949
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
2354 2009-03-10 Jaroslav Hajek <highegg@gmail.com> |
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
2355 |
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
2356 * mx-inlines.cc (OP_CUMMINMAX_FCN2): r -> r0 where appropriate. |
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
2357 |
8934
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
2358 2009-03-08 Jaroslav Hajek <highegg@gmail.com> |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
2359 |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
2360 * idx-vector.h (idx_vector::bloop): loop --> bloop. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
2361 (idx_vector::loop): New method. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
2362 * MArray.cc (MArray<T>::idx_add (cons idx_vector&, T)) |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
2363 (MArray<T>::idx_add (cons idx_vector&, const MArray<T>&)): New methods. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
2364 * MArray.h: Declare them. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
2365 |
8918
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
2366 2009-03-05 Jason Riedy <jason@acm.org> |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
2367 |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
2368 * Sparse.h (Sparse<T>::elt_type): Remove typedef, replace with: |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
2369 * Sparse.h (Sparse<T>::element_type): Add typedef to be consistent |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
2370 with Array.h |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
2371 * DiagArray2.h (DiagArray2<T>::elt_type): Likewise, removed. |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
2372 * DiagArray2.h (DiagArray2<T>::element_type): Define by using |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
2373 Array<T>::element_type. |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
2374 * intNDArray.h (intNDArray<T>::element_type): Remove, inherited |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
2375 from MArrayN<T>. |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
2376 |
8910
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
2377 2009-03-05 Jaroslav Hajek <highegg@gmail.com> |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
2378 |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
2379 * dSparse.h (SparseMatrix::SparseMatrix(const PermMatrix&)): New |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
2380 constructor. |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
2381 (SparseMatrix::SparseMatrix(const DiagMatrix&)): Fix implementation. |
9967 | 2382 * CSparse.h (SparseComplexMatrix::SparseComplexMatrix(const ComplexDiagMatrix&)): |
8910
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
2383 Fix implementation. |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
2384 |
8908
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
2385 2009-03-04 Jaroslav Hajek <highegg@gmail.com> |
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
2386 |
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
2387 * PermMatrix.h (PermMatrix::elem): Fix comparisons. |
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
2388 |
8904
4de5544a1d1d
simplify also float version of xmin/xmax
Jaroslav Hajek <highegg@gmail.com>
parents:
8897
diff
changeset
|
2389 2009-03-03 Jaroslav Hajek <highegg@gmail.com> |
4de5544a1d1d
simplify also float version of xmin/xmax
Jaroslav Hajek <highegg@gmail.com>
parents:
8897
diff
changeset
|
2390 |
4de5544a1d1d
simplify also float version of xmin/xmax
Jaroslav Hajek <highegg@gmail.com>
parents:
8897
diff
changeset
|
2391 * lo-mappers.cc (xmin (float, float), xmax (float, float)): Simplify. |
4de5544a1d1d
simplify also float version of xmin/xmax
Jaroslav Hajek <highegg@gmail.com>
parents:
8897
diff
changeset
|
2392 |
8897 | 2393 2009-03-02 Jaroslav Hajek <highegg@gmail.com> |
2394 | |
2395 * mx-inlines.cc: Add missing #include. | |
2396 | |
8873
e258715b2e78
fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents:
8864
diff
changeset
|
2397 2009-02-25 John W. Eaton <jwe@octave.org> |
e258715b2e78
fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents:
8864
diff
changeset
|
2398 |
e258715b2e78
fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents:
8864
diff
changeset
|
2399 * Makefile.in: Make maintainer-clean and distclean the same. |
e258715b2e78
fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents:
8864
diff
changeset
|
2400 |
8864 | 2401 2009-02-25 Jaroslav Hajek <highegg@gmail.com> |
2402 | |
2403 * oct-inttypes.cc (pow (const octave_int<T>&, const octave_int<T>&)): | |
2404 Simplify. | |
2405 | |
8856
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
2406 2009-02-23 Jaroslav Hajek <highegg@gmail.com> |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
2407 |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
2408 * oct-inttypes.h (octave_int_cmp_op::mop): Implement as simple |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
2409 forwarders when OCTAVE_INT_USE_LONG_DOUBLE is not defined. |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
2410 (octave_int_cmp_op::emulate_mop): New static overloaded template |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
2411 member function. |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
2412 * oct-inttypes.cc: Turn the octave_int_cmp_op::mop definitions into |
9967 | 2413 defs for octave_int_cmp_op::emulate_mop. |
8856
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
2414 (INSTANTIATE_INT64_DOUBLE_CMP_OP0): Instantiate |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
2415 octave_int_cmp_op::emulate_op instead. |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
2416 |
8840
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
2417 2009-02-23 Jaroslav Hajek <highegg@gmail.com> |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
2418 |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
2419 * dDiagMatrix.cc (DiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
2420 * dDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
2421 * fDiagMatrix.cc (FloatDiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
2422 * fDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
2423 * CDiagMatrix.cc (ComplexDiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
2424 * CDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
2425 * fCDiagMatrix.cc (FloatComplexDiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
2426 * fCDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
2427 |
8820
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
2428 2009-02-20 Jaroslav Hajek <highegg@gmail.com> |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
2429 |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
2430 * oct-sort.h (octave_sort<T>::MergeState::MergeState): New |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
2431 constructor. |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
2432 (octave_sort<T>::MergeState::~MergeState): New destructor. |
9967 | 2433 (octave_sort<T>::MergeState::reset, |
8820
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
2434 octave_sort<T>::MergeState::getmem, |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
2435 octave_sort<T>::MergeState::getmemi): New methods. |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
2436 (octave_sort<T>::sort, |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
2437 octave_sort<T>::merge_lo, octave_sort<T>::merge_hi |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
2438 octave_sort<T>::merge_at): Reflect change. |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
2439 |
8814
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
2440 2009-02-19 Jaroslav Hajek <highegg@gmail.com> |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
2441 |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
2442 * oct-types.h (sortmode): Move enum here. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
2443 * oct-sort.h (octave_sort<T>::ms): Declare as pointer. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
2444 (octave_sort<T>::lookup): New overloaded method. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
2445 * oct-sort.cc: Reflect change to ms. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
2446 (octave_sort<T>::lookup): New overloaded method. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
2447 (out_of_range_pred): New helper class. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
2448 (out_of_range): New helper function. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
2449 * oct-lookup.h: Remove file. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
2450 * Array.cc (Array<T>::lookup): New overloaded method. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
2451 * Array.h: Declare it. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
2452 |
8801
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
2453 2009-02-18 John W. Eaton <jwe@octave.org> |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
2454 |
8811 | 2455 * dbleQR.cc (QR::init, QR::form): Cast int to octave_idx_type in |
2456 call to std::max. | |
2457 * floatQR.cc (FloatQR::init, FloatQR::form): Ditto. | |
2458 * CmplxQR.cc (ComplexQR::init, ComplexQR::form): Ditto. | |
2459 * fCmplxQR.cc (FloatComplexQR::init, FloatComplexQR::form): Ditto. | |
2460 | |
2461 * dbleQRP.cc (QRP::init): Cast int to octave_idx_type in call to | |
2462 std::max and as operand to -= operator. | |
2463 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
2464 * floatQRP.cc (FloatQRP::init): Ditto. | |
2465 * fCmplxQRP.cc (FloatComplexQRP::init): Ditto. | |
2466 | |
2467 * CDiagMatrix.cc, CDiagMatrix.h (ComplexDiagMatrix::inverse): | |
2468 Declare info as octave_idx_type, not int. | |
2469 * dDiagMatrix.cc, dDiagMatrix.h (DiagMatrix::inverse): Ditto. | |
2470 * fDiagMatrix.cc, fCDiagMatrix.h (FloatDiagMatrix::inverse): Ditto. | |
2471 * fCDiagMatrix.cc, fCDiagMatrix.h (FloatComplexDiagMatrix::inverse): | |
2472 Ditto. | |
2473 | |
8806 | 2474 * dMatrix.cc (Matrix::determinant): |
2475 Declare local variables volatile as needed to avoid "maybe | |
2476 clobbered by vfork" warning from GCC. | |
2477 * fMatrix.cc (FloatMatrix::determinant): Likewise. | |
2478 * CMatrix.cc (ComplexMatrix::determinant): Likewise. | |
2479 * fCMatrix.cc (FloatComplexMatrix::determinant): Likewise. | |
2480 * dbleQR.cc (QR::update, QR::insert_col, QR::delete_col): Likewise. | |
2481 * floatQR.cc (FloatQR::update, FloatQR::insert_col, | |
2482 FloatQR::delete_col): Likewise. | |
2483 * CmplxQR.cc (ComplexQR::update, ComplexQR::insert_col, | |
2484 ComplexQR::delete_col): Likewise. | |
2485 * fCmplxQR.cc (FloatComplexQR::update, FloatComplexQR::insert_col, | |
2486 FloatComplexQR::delete_col): Likewise. | |
2487 | |
8801
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
2488 * dMatrix.cc (padec, solve_singularity_warning): Delete unused |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
2489 static variable and function. |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
2490 * CMatrix.cc (padec, solve_singularity_warning): Ditto. |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
2491 * fMatrix.cc (padec, solve_singularity_warning): Ditto. |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
2492 * fCMatrix.cc (padec, solve_singularity_warning): Ditto. |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
2493 |
8799
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
2494 2009-02-18 Jaroslav Hajek <highegg@gmail.com> |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
2495 |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
2496 * Array.cc (Array<T>::resize (const dim_vector&)): Check for negative |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
2497 dimensions. |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
2498 |
8797
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
2499 2009-02-18 Jaroslav Hajek <highegg@gmail.com> |
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
2500 |
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
2501 * oct-inttypes.cc (pow (const octave_int<T>&, const octave_int<T>&)): |
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
2502 Use octave_int comparisons to avoid warning for unsigned types. |
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
2503 |
8784
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
2504 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
2505 |
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
2506 * Array.cc (Array<T>::resize (const dim_vector&)): Remove dead branch. |
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
2507 |
8780
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
2508 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
2509 |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
2510 * mx-inlines.cc (OP_CUM_FCN, OP_CUM_FCN2, OP_CUM_FCNN): |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
2511 Add TSRC/TRES parameters. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
2512 (mx_inline_cumcount): New function. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
2513 * intNDArray.cc (intNDArray::cumsum): New method. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
2514 * intNDArray.h: Declare it. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
2515 * boolNDArray.cc (boolNDArray::cumsum): New method. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
2516 * boolNDArray.h: Declare it. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
2517 |
8777
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2518 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2519 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2520 * mx-inlines.cc (OP_CUMMINMAX_FCN, OP_CUMMINMAX_FCN2, |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2521 OP_CUMMINMAX_FCNN): New macros. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2522 (mx_inline_cummax, mx_inline_cummin, do_mx_cumminmax_op): |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2523 New overloaded template functions. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2524 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2525 * dNDArray.cc (NDArray::cummin, NDArray::cummax): New methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2526 * dNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2527 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2528 * fNDArray.cc (FloatNDArray::cummin, FloatNDArray::cummax): New |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2529 methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2530 * fNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2531 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2532 * CNDArray.cc (ComplexNDArray::cummin, ComplexNDArray::cummax): New |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2533 methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2534 * CNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2535 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2536 * fCNDArray.cc (FloatComplexNDArray::cummin, |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2537 FloatComplexNDArray::cummax): New methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2538 * fCNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2539 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2540 * intNDArray.cc (intNDArray::cummin, intNDArray::cummax): New methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2541 * intNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
2542 |
8776
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
2543 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
2544 |
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
2545 * mx-inlines.cc (OP_MINMAX_FCN): Correct behaviour with NaNs. |
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
2546 |
8774
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
2547 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
2548 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
2549 * MArray-defs.h: Move declarative part to MArray-decl.h |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
2550 * MArray-decl.h: New source. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
2551 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
2552 * mx-op-defs.h: Move declarative part to mx-op-decl.h. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
2553 * mx-op-decl.h: New source. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
2554 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
2555 * Makefile.in: Include new sources in build. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
2556 * mk-ops.awk: Include mx-op-decl.h in headers, mx-op-defs in .cc |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
2557 files. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
2558 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
2559 * CMatrix.cc, CMatrix.h, CNDArray.cc, CNDArray.h, MArray.h, MArray2.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
2560 MArrayN.h, MDiagArray2.h, boolMatrix.cc, boolMatrix.h, boolNDArray.cc, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
2561 boolNDArray.h, chMatrix.cc, chMatrix.h, chNDArray.cc, chNDArray.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
2562 dMatrix.cc, dMatrix.h, dNDArray.cc, dNDArray.h, fCMatrix.cc, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
2563 fCMatrix.h, fCNDArray.cc, fCNDArray.h, fMatrix.cc, fMatrix.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
2564 fNDArray.cc, fNDArray.h, int16NDArray.cc, int16NDArray.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
2565 int32NDArray.cc, int32NDArray.h, int64NDArray.cc, int64NDArray.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
2566 int8NDArray.cc, int8NDArray.h, uint16NDArray.cc, uint16NDArray.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
2567 uint32NDArray.cc, uint32NDArray.h, uint64NDArray.cc, uint64NDArray.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
2568 uint8NDArray.cc, uint8NDArray.h: Ditto. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
2569 |
8760
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
2570 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
2571 |
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
2572 * Array.cc (Array<T>::assign (const idx_vector& i, |
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
2573 const idx_vector& j,...)): Fix invalid dimension inquiry. |
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
2574 |
8758
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
2575 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
9967 | 2576 |
8758
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
2577 * mx-inlines.cc (OP_ROW_SHORT_CIRCUIT): New macro. |
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
2578 (mx_inline_any, mx_inline_all): Override row-reduction case. |
8759
c32a08dccae6
remove unused macros from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8758
diff
changeset
|
2579 (MX_CUMULATIVE_OP, MX_BASE_REDUCTION_OP, MX_REDUCTION_OP, |
c32a08dccae6
remove unused macros from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8758
diff
changeset
|
2580 MX_ANY_OP, MX_ALL_OP, MX_ND_ANY_ALL, MX_ND_REDUCTION, |
c32a08dccae6
remove unused macros from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8758
diff
changeset
|
2581 MX_ND_COMPLEX_OP_REDUCTION, MX_ND_CUMULATIVE_OP, |
c32a08dccae6
remove unused macros from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8758
diff
changeset
|
2582 MX_ND_ANY_EVAL, MX_ND_ALL_EVAL, MX_ND_REAL_OP_REDUCTION): |
c32a08dccae6
remove unused macros from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8758
diff
changeset
|
2583 Remove unused macros. |
8758
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
2584 |
8756
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
2585 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
9967 | 2586 |
8756
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
2587 * mx-inlines.cc (OP_RED_FCNN): Use explicit type qualification. |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
2588 (mx_inline_count): New overloaded template function. |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
2589 * boolNDArray.h (boolNDArray::sum): Return NDArray. |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
2590 * boolNDArray.cc (boolNDArray::sum): Return NDArray, use do_mx-red_op. |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
2591 |
8752
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
2592 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
2593 |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
2594 * Array-C.cc, Array-fC.cc: Don't redefine complex comparison. |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
2595 * Sparse.cc (Sparse::sort): Don't use vec_index. |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
2596 * Sparse-C.cc, Sparse-d.cc, Sparse-b.cc: Don't reinstantiate |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
2597 octave_sort, reflect changes. |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
2598 * sparse-sort.cc: Explicitly instantiate octave_sort for requested |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
2599 pointer types. |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
2600 |
8751
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2601 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2602 |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2603 * oct-cmplx.h (operator <, operator >): New operators. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2604 * mx-inlines.cc (OP_MINMAX_FCN, OP_MINMAX_FCN2, OP_MINMAX_FCNN): |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2605 New macros. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2606 (mx_inline_min, mx_inline_max, do_mx_minmax_op): New overloaded |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2607 template functions. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2608 * dNDArray (NDArray::min, NDArray::max): Use do_mx_minmax_op. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2609 * fNDArray (FloatNDArray::min, FloatNDArray::max): Ditto. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2610 * CNDArray (ComplexNDArray::min, ComplexNDArray::max): Ditto. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2611 * fCNDArray (FloatComplexNDArray::min, FloatComplexNDArray::max): |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2612 Ditto. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2613 |
8750
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
2614 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
2615 |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
2616 * chMatrix.cc (charMatrix::all, charMatrix::any): Use do_mx_red_op. |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
2617 * chNDArray.cc (charNDArray::all, charNDArray::any): Ditto. |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
2618 |
8749
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
2619 2009-02-16 John W. Eaton <jwe@octave.org> |
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
2620 |
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
2621 * cmd-edit.cc (default_command_editor::do_readline): |
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
2622 Use fputs instead of fprintf. |
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
2623 |
8743
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2624 2009-02-14 Jaroslav Hajek <highegg@gmail.com> |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2625 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2626 * mx-inlines.cc (OP_RED_FCN, OP_RED_FCN2, OP_RED_FCNN, OP_CUM_FCN, |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2627 OP_CUM_FCN2, OP_CUM_FCNN): Include TRET parameter. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2628 (OP_RED_ANYC, OP_RED_ANYR, OP_RED_ALLC, OP_RED_ALLR): New macros. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2629 (is_true, is_false): New template functions. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2630 (mx_inline_any, mx_inline_all): New template functions. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2631 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2632 * dMatrix.cc (Matrix::any, Matrix::all): Use do_mx_red_op and |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2633 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2634 * fMatrix.cc (FloatMatrix::any, FloatMatrix::all): Use do_mx_red_op |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2635 and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2636 * CMatrix.cc (ComplexMatrix::any, ComplexMatrix::all): Use |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2637 do_mx_red_op and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2638 * fCMatrix.cc (FloatComplexMatrix::any, FloatComplexMatrix::all): Use |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2639 do_mx_red_op and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2640 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2641 * dNDArray.cc (NDArray::any, NDArray::all): Use do_mx_red_op and |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2642 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2643 * fNDArray.cc (FloatNDArray::any, FloatNDArray::all): Use do_mx_red_op |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2644 and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2645 * CNDArray.cc (ComplexNDArray::any, ComplexNDArray::all): Use |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2646 do_mx_red_op and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2647 * fCNDArray.cc (FloatComplexNDArray::any, FloatComplexNDArray::all): |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2648 Use do_mx_red_op and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2649 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2650 * intNDArray.cc (intNDArray::any, intNDArray::all): Use do_mx_red_op and |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2651 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2652 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2653 * boolNDArray.cc (boolNDArray::any, boolNDArray::all): Use do_mx_red_op and |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2654 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2655 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2656 * boolMatrix.cc (boolMatrix::any, boolMatrix::all): Use do_mx_red_op and |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2657 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
2658 |
8741
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
2659 2009-02-14 Jaroslav Hajek <highegg@gmail.com> |
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
2660 |
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
2661 * intNDArray.cc: include mx-inlines.cc. |
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
2662 (intNDArray::sum): Use mx_do_red_op (..., mx_inline_sum). |
8742
d2b06871afac
add missing return statement
Jaroslav Hajek <highegg@gmail.com>
parents:
8741
diff
changeset
|
2663 * Range.cc (Range::is_sorted): Add missing return statement. |
8741
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
2664 |
8736
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2665 2009-02-13 Jaroslav Hajek <highegg@gmail.com> |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2666 |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2667 * mx-inlines.cc (OP_RED_SUM, OP_RED_PROD, OP_RED_SUMSQ, OP_RED_SUMSQC, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2668 OP_RED_FCN, OP_RED_FCN2, OP_RED_FCNN, OP_CUM_FCN, OP_CUM_FCN2, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2669 OP_CUM_FCNN): New macros. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2670 (mx_inline_sum, mx_inline_prod, mx_inline_sumsq, mx_inline_cumsum, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2671 mx_inline_cumprod, get_extent_triplet, do_mx_red_op, do_mx_cum_op): |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2672 New template functions. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2673 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum, Matrix::prod, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2674 Matrix::sum, Matrix::sumsq): Use do_mx_red_op and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2675 * fMatrix.cc (FloatMatrix::cumprod, FloatMatrix::cumsum, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2676 FloatMatrix::prod, FloatMatrix::sum, FloatMatrix::sumsq): Use |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2677 do_mx_red_op and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2678 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2679 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): Use |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2680 do_mx_red_op and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2681 * fCMatrix.cc (FloatComplexMatrix::cumprod, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2682 FloatComplexMatrix::cumsum, FloatComplexMatrix::prod, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2683 FloatComplexMatrix::sum, FloatComplexMatrix::sumsq): Use do_mx_red_op |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2684 and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
2685 |
8731
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
2686 2009-02-12 Jaroslav Hajek <highegg@gmail.com> |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
2687 |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
2688 * oct-inttypes.h (if_else_type): Remove |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
2689 (octave_int_base::truncate_int): Use if_then_else. |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
2690 |
8725 | 2691 2009-02-12 John W. Eaton <jwe@octave.org> |
2692 | |
2693 * lo-traits.h: New file. | |
2694 * Makefile.in (INCLUDES): Add it to the list. | |
2695 | |
2696 * Array.h (compare_fcn_type): New typedef. | |
2697 * oct-sort.h (compare_fcn_type): Ditto. | |
2698 | |
2699 * oct-sort.h, oct-sort.cc (octave_sort<T>::octave_sort, | |
9967 | 2700 octave_sort<T>::set_compare, octave_sort<T>::compare): |
8725 | 2701 Use typedef to simplify decl. |
2702 (octave_sort<T>::ascending_compare, | |
2703 octave_sort<T>::descending_compare): | |
2704 Use ref_param<T>::type for parameter decl. | |
2705 | |
2706 * Array.cc (sort_isnan): Use ref_param<T>::type for parameter decl. | |
2707 (Array<T>::sort): Use explicit template parameter for sort_isnan calls. | |
2708 | |
2709 * Array.cc, Array-C.cc, Array-fC.cc, Array-d.cc, Array-f.cc | |
2710 (sortrows_comparator): Rename from _sortrows_comparator. Change | |
2711 all uses. Use typedef for return value to simplify decl. | |
2712 (sort_isnan): Rename from _sort_isnan. Change all uses. | |
2713 (NO_INSTANTIATE_ARRAY_SORT): Use typedef to simplify instantiation | |
2714 of sortrows_comparator. | |
2715 | |
2716 * Array-C.cc, Array-fC.cc (sort_isnan, ascending_compare, | |
2717 descending_compare, nan_ascending_compare, | |
2718 nan_descending_compare): | |
2719 | |
8721
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2720 2009-02-11 Jaroslav Hajek <highegg@gmail.com> |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2721 |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2722 * oct-sort.cc (octave_sort<T>::is_sorted, octave_sort<T>::sort_rows, |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2723 octave_sort<T>::is_sorted_rows): New methods. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2724 * oct-sort.h: Declare them. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2725 |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2726 * Array.cc (Array<T>::is_sorted): New method. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2727 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT, |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2728 INSTANTIATE_ARRAY_AND_ASSIGN, INSTANTIATE_ARRAY): Move macros here. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2729 * Array.h: Reflect changes. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2730 |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2731 * dim-vector.h (dim_vector::is_vector): New method. |
9967 | 2732 * Array-C.cc, Array-fC.cc: Override _sort_isnan, don't check for |
8721
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2733 NaN in default comparators. Provide NaN-safe comparators, override |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2734 _sortrows_comparator. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2735 * Array-d.cc, Array-f.cc: Provide NaN-safe comparators, override |
9967 | 2736 _sortrows_comparator. |
8721
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2737 * Range.cc (Range::is_sorted): New method. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2738 * Range.h: Declare it. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
2739 |
8700 | 2740 2009-02-09 Jaroslav Hajek <highegg@gmail.com> |
2741 | |
2742 * oct-sort.cc (octave_sort<T>): Rewrite for optimizations. Allow | |
2743 inlined comparison functor and by-the-way indexed sorting. | |
2744 * oct-sort.h (octave_sort<T>): Update interface. | |
2745 * Array.cc (Array<T>::sort): Reflect changes. Use copy & partition | |
2746 mechanism. | |
2747 * Array-d.cc, Array-f.cc, Array-C.cc, Array-fC.cc, Array-s.cc, | |
2748 Array-i.cc: Reflect changes. | |
2749 | |
8689
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
2750 2009-02-05 John W. Eaton <jwe@octave.org> |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
2751 |
8690
6e9887f9cf9f
file-stat.cc: use EXISTS instead of OK in previuos change
John W. Eaton <jwe@octave.org>
parents:
8689
diff
changeset
|
2752 * file-stat.cc (base_file_stat::is_sock): |
6e9887f9cf9f
file-stat.cc: use EXISTS instead of OK in previuos change
John W. Eaton <jwe@octave.org>
parents:
8689
diff
changeset
|
2753 Use EXISTS instead of OK in previous change. |
6e9887f9cf9f
file-stat.cc: use EXISTS instead of OK in previuos change
John W. Eaton <jwe@octave.org>
parents:
8689
diff
changeset
|
2754 |
8689
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
2755 * file-stat.cc (base_file_stat::is_blk, base_file_stat::is_chr, |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
2756 base_file_stat::is_dir, base_file_stat::is_fifo, |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
2757 base_file_stat::is_lnk, base_file_stat::is_reg, |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
2758 base_file_stat::is_sock): Return false if object is not initialized. |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
2759 From Rafael Laboissiere <rafael@debian.org>. |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
2760 |
8681
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
2761 2009-02-05 Jaroslav Hajek <highegg@gmail.com> |
9967 | 2762 |
8681
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
2763 * idx-vector.h (idx_vector::idx_colon_rep, |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
2764 idx_vector::idx_scalar_rep, idx_vector::idx_range_rep, |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
2765 idx_vector::idx_vector_rep): Declare allocators. |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
2766 * idx-vector.cc: Define them. |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
2767 |
8678
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
2768 2009-02-05 Jaroslav Hajek <highegg@gmail.com> |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
2769 |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
2770 * str-vec.h (string_vector::sort): Remove implementation. |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
2771 * str-vec.cc (string_vector::sort): Move here. Use in-place sorting. |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
2772 * Array-str.cc: Fix order of header files. |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
2773 * oct-sort.cc (octave_sort<T>::merge_hi): std::copy -> |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
2774 std::copy_backward where appropriate. |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
2775 |
8677
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2776 2009-02-05 John W. Eaton <jwe@octave.org> |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2777 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2778 * Array-util.cc (zero_dims_inquire): Eliminate unused variable MATCH. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2779 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2780 * Sparse.cc (assign (Sparse<LT>& lhs, const Sparse<RT>& rhs)): |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2781 Eliminate unused variable N. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2782 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2783 * MArray-f.cc (MArray<float>::norm (float p) const, |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2784 MArray<FloatComplex>::norm (float p) const): Pass P to xnorm. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2785 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2786 * eigs-base.cc (EigsRealNonSymmetricFunc, EigsRealSymmetricFunc) |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2787 (EigsComplexNonSymmetricFunc): Avoid unused parameter warning. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2788 * idx-vector.cc (idx_vector::freeze): Likewise. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
2789 |
8660
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
2790 2009-02-04 Jaroslav Hajek <highegg@gmail.com> |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
2791 |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
2792 * oct-locbuf.h: Specialize OCTAVE_LOCAL_BUFFER to use chunked |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
2793 allocation for pointers and const pointers. |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
2794 |
8655
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
2795 2009-02-03 Benjamin Lindner <lindnerben@gmx.net> |
9967 | 2796 |
8655
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
2797 * Makefile.in: Add missing library reference. |
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
2798 |
8651
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2799 2009-02-03 Jaroslav Hajek <highegg@gmail.com> |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2800 |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2801 * Array.cc (Array<T>::sort (octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2802 Copy array on-the-fly. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2803 (Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2804 Copy array on-the-fly, use bare pointers rather than vec_index. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2805 |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2806 * Array-d.cc (Array<double>::sort (octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2807 Copy array on-the-fly. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2808 (Array<double>::sort (Array<octave_idx_type> &, octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2809 Copy array on-the-fly, use bare pointers rather than vec_index. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2810 |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2811 * Array-f.cc (Array<float>::sort (octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2812 Copy array on-the-fly. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2813 (Array<float>::sort (Array<octave_idx_type> &, octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2814 Copy array on-the-fly, use bare pointers rather than vec_index. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
2815 |
8650
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2816 2009-02-02 Jaroslav Hajek <highegg@gmail.com> |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2817 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2818 * mx-inlines.cc (mx_inline_fabs_dup, mx_inline_cabs_dup): New funcs. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2819 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2820 * dMatrix.cc (real, imag, Matrix::abs): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2821 * fMatrix.cc (real, imag, FloatMatrix::abs): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2822 * CMatrix.cc (ComplexMatrix::abs, ComplexMatrix::conj): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2823 * fCMatrix.cc (FloatComplexMatrix::abs, FloatComplexMatrix::conj): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2824 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2825 * CMatrix.h, fCMatrix.h (conj): Add missing decl. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2826 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2827 * dNDArray.cc (real, imag, NDArray::abs): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2828 * fNDArray.cc (real, imag, FloatNDArray::abs): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2829 * CNDArray.cc (ComplexNDArray::abs, ComplexNDArray::conj): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2830 * fCNDArray.cc (FloatComplexNDArray::abs, FloatComplexNDArray::conj): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2831 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2832 * CMatrix.h, fCMatrix.h (conj): New decl. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
2833 |
8626
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
2834 2009-01-29 John W. Eaton <jwe@octave.org> |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
2835 |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
2836 * intNDArray.h (intNDArray<T>:any_element_is_nan): New function. |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
2837 * boolNDArrah.h (boolNDArray::any_element_is_nan): New function. |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
2838 * chNDArray.h (charNDArray::any_element_is_nan): New function. |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
2839 |
8618
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
2840 2009-01-28 John W. Eaton <jwe@octave.org> |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
2841 |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
2842 * Makefile.in (LIBRARIES, install, uninstall): Use SHLLIBPRE |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
2843 and SHLBINPRE library prefixes. |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
2844 From Marco Atzeri <marco_atzeri@yahoo.it>. |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
2845 |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2846 2009-01-28 Jaroslav Hajek <highegg@gmail.com> |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2847 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2848 * dMatrix.cc (Matrix::Matrix (const RowVector&)): Use shallow copy. |
8628 | 2849 (Matrix::Matrix (const ColumnVector&)): Ditto. |
2850 (Matrix::row): Ditto. | |
2851 (Matrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2852 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2853 * fMatrix.cc (FloatMatrix::FloatMatrix (const FloatRowVector&)): Use |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2854 shallow copy. |
8628 | 2855 (FloatMatrix::FloatMatrix (const FloatColumnVector&)): Ditto. |
2856 (FloatMatrix::row): Ditto. | |
2857 (FloatMatrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2858 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2859 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const ComplexRowVector&)): |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2860 Use shallow copy. |
8628 | 2861 (ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): Ditto. |
2862 (ComplexMatrix::row): Ditto. | |
2863 (ComplexMatrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2864 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2865 * fCMatrix.cc (FloatComplexMatrix::FloatComplexMatrix (const FloatComplexRowVector&)): |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2866 Use shallow copy. |
8628 | 2867 (FloatComplexMatrix::FloatComplexMatrix (const FloatComplexColumnVector&)): Ditto. |
2868 (FloatComplexMatrix::row): Ditto. | |
2869 (FloatComplexMatrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
2870 |
8607
08331c2fb00f
add -lregex to REGEX_LIBS at configure stage, add ARPACK_LIBS, REGEX_LIBS to liboctave's link deps
Benjamin Lindner <lindnerb@users.sourceforge.net>
parents:
8597
diff
changeset
|
2871 2009-01-27 Benjamin Lindner <lindnerb@users.sourceforge.net> |
08331c2fb00f
add -lregex to REGEX_LIBS at configure stage, add ARPACK_LIBS, REGEX_LIBS to liboctave's link deps
Benjamin Lindner <lindnerb@users.sourceforge.net>
parents:
8597
diff
changeset
|
2872 |
08331c2fb00f
add -lregex to REGEX_LIBS at configure stage, add ARPACK_LIBS, REGEX_LIBS to liboctave's link deps
Benjamin Lindner <lindnerb@users.sourceforge.net>
parents:
8597
diff
changeset
|
2873 * Makefile.in (LINK_DEPS): Include ARPACK_LIBS and REGEX_LIBS in |
08331c2fb00f
add -lregex to REGEX_LIBS at configure stage, add ARPACK_LIBS, REGEX_LIBS to liboctave's link deps
Benjamin Lindner <lindnerb@users.sourceforge.net>
parents:
8597
diff
changeset
|
2874 the list. |
08331c2fb00f
add -lregex to REGEX_LIBS at configure stage, add ARPACK_LIBS, REGEX_LIBS to liboctave's link deps
Benjamin Lindner <lindnerb@users.sourceforge.net>
parents:
8597
diff
changeset
|
2875 |
8597
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2876 2009-01-27 Jaroslav Hajek <highegg@gmail.com> |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2877 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2878 * dbleQR.cc (QR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2879 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2880 (QR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2881 * dbleQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2882 * dbleQRP.cc (QRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2883 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2884 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2885 * floatQR.cc (FloatQR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2886 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2887 (FloatQR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2888 * floatQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2889 * floatQRP.cc (FloatQRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2890 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2891 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2892 * CmplxQR.cc (ComplexQR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2893 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2894 (ComplexQR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2895 * CmplxQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2896 * CmplxQRP.cc (ComplexQRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2897 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2898 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2899 * fCmplxQR.cc (FloatComplexQR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2900 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2901 (FloatComplexQR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2902 * fCmplxQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2903 * fCmplxQRP.cc (FloatComplexQRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2904 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
2905 |
8580
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
2906 2009-01-23 Jaroslav Hajek <highegg@gmail.com> |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
2907 |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
2908 * Array.cc (Array<T>::assign (const idx_vector&, const Array<T>&)): |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
2909 Optimize assignment to an empty array. |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
2910 (Array<T>::assign (const idx_vector&, const idx_vector&, const Array<T>&)): |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
2911 Optimize assignment to an empty array. |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
2912 |
8579
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
2913 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
2914 |
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
2915 * Array2.h (Array2<T>::index): Declare resize_ok as bool. |
8628 | 2916 * ArrayN.h (ArrayN<T>::index): Ditto. Declare index vectors as const |
8579
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
2917 refs. |
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
2918 |
8565 | 2919 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
2920 | |
2921 * Range.cc (sort_internal): Add missing test. | |
2922 | |
8563
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
2923 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
2924 |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
2925 * Array.cc (Array<T>::index (..., bool resize_ok)): |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
2926 Optimize the all-scalar-indices cases. |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
2927 |
8562
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
2928 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
2929 |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
2930 * dbleQR.h: Optionally declare warn_qrupdate_once. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
2931 * dbleQR.cc: Define it. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
2932 * (CmplxQR.h, dbleQR.h, fCmplxQR.h, floatQR.h): Declare replacement |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
2933 methods unconditionally. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
2934 * (CmplxQR.cc, dbleQR.cc, fCmplxQR.cc, floatQR.cc): Define |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
2935 updating replacement methods. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
2936 * (CmplxCHOL.h, dbleCHOL.h, fCmplxCHOL.h, floatCHOL.h): Declare |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
2937 replacement methods unconditionally. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
2938 * (CmplxCHOL.cc, dbleCHOL.cc, fCmplxCHOL.cc, floatCHOL.cc): Define |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
2939 updating replacement methods. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
2940 |
8553
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
2941 2009-01-21 Jaroslav Hajek <highegg@gmail.com> |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
2942 |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
2943 * Range.cc ( operator + (double x, const Range& r), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
2944 operator + (const Range& r, double x), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
2945 operator - (double x, const Range& r), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
2946 operator - (const Range& r, double x), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
2947 operator * (double x, const Range& r), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
2948 operator * (const Range& r, double x)): New operators. |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
2949 * Range.h: Declare them. |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
2950 |
8549 | 2951 2009-01-20 John W. Eaton <jwe@octave.org> |
2952 | |
2953 * file-stat.h, file-stat.cc (class base_file_stat): New base class. | |
2954 (class file_stat): Derive from base_file_stat. | |
2955 (class file_fstat): New class, derived from base_file_stat. | |
2956 | |
8547
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2957 2009-01-17 Jaroslav Hajek <highegg@gmail.com> |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2958 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2959 * floatQR.h (FloatQR::update, FloatQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2960 FloatQR::insert_row, FloatQR::delete_col, FloatQR::delete_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2961 FloatQR::shift_col): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2962 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2963 * floatQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2964 (FloatQR::update, FloatQR::insert_col, FloatQR::insert_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2965 FloatQR::delete_col, FloatQR::delete_row, FloatQR::shift_col): Reflect |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2966 changes in qrupdate interfaces, implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2967 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2968 * dbleQR.h (QR::update, QR::insert_col, QR::insert_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2969 QR::delete_col, QR::delete_row, QR::shift_col): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2970 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2971 * dbleQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2972 (QR::update, QR::insert_col, QR::insert_row, QR::delete_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2973 QR::delete_row, QR::shift_col): Reflect changes in qrupdate |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2974 interfaces, implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2975 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2976 * fCmplxQR.h (FloatComplexQR::update, FloatComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2977 FloatComplexQR::insert_row, FloatComplexQR::delete_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2978 FloatComplexQR::delete_row, FloatComplexQR::shift_col): Update |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2979 interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2980 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2981 * fCmplxQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2982 (FloatComplexQR::update, FloatComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2983 FloatComplexQR::insert_row, FloatComplexQR::delete_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2984 FloatComplexQR::delete_row, FloatComplexQR::shift_col): Reflect |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2985 changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2986 implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2987 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2988 * CmplxQR.h (ComplexQR::update, ComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2989 ComplexQR::insert_row, ComplexQR::delete_col, ComplexQR::delete_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2990 ComplexQR::shift_col): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2991 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2992 * CmplxQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2993 (ComplexQR::update, ComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2994 ComplexQR::insert_row, ComplexQR::delete_col, ComplexQR::delete_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2995 ComplexQR::shift_col): Reflect changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2996 implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2997 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2998 * floatCHOL.h (FloatCHOL::update, FloatCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
2999 FloatCHOL::insert_sym): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3000 * floatCHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3001 (FloatCHOL::update, FloatCHOL::downdate, FloatCHOL::insert_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3002 FloatCHOL::delete_sym, FloatCHOL::shift_sym): Reflect changes in |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3003 qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3004 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3005 * CHOL.h (CHOL::update, CHOL::downdate, CHOL::insert_sym): Update |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3006 interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3007 * CHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3008 (CHOL::update, CHOL::downdate, CHOL::insert_sym, CHOL::delete_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3009 CHOL::shift_sym): Reflect changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3010 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3011 * fCmplxCHOL.h (FloatComplexCHOL::update, FloatComplexCHOL::downdate, |
9967 | 3012 FloatComplexCHOL::insert_sym): Update interfaces. |
8547
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3013 * fCmplxCHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3014 (FloatComplexCHOL::update, FloatComplexCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3015 FloatComplexCHOL::insert_sym, FloatComplexCHOL::delete_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3016 FloatComplexCHOL::shift_sym): Reflect changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3017 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3018 * CmplxCHOL.h (ComplexCHOL::update, ComplexCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3019 ComplexCHOL::insert_sym): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3020 * CmplxCHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3021 (ComplexCHOL::update, ComplexCHOL::downdate, ComplexCHOL::insert_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3022 ComplexCHOL::delete_sym, ComplexCHOL::shift_sym): Reflect changes in |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3023 qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3024 |
8531
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
3025 2009-01-17 Jaroslav Hajek <highegg@gmail.com> |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
3026 |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
3027 * Array.h (Array<T>): Document internal use of slice_data and |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
3028 slice_len. |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
3029 |
8526
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
3030 2009-01-15 John W. Eaton <jwe@octave.org> |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
3031 |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
3032 * Sparse.cc (Sparse<T>::reshape): Include mismatched dimensions in |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
3033 error message. |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
3034 * Array.cc (Array<T>::reshape): Likewise. |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
3035 From Robert Millan <rmh@aybabtu.com>. |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
3036 |
8524
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
3037 2009-01-14 Jaroslav Hajek <highegg@gmail.com> |
9967 | 3038 |
8524
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
3039 * Array.h (Array<T>::rep, Array<T>::dimensions): Make protected. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
3040 * Array.cc (Array<T>::make_unique): Move implementation here. |
8628 | 3041 (Array<T>::fill): Ditto. |
8524
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
3042 * DiagArray2.h (DiagArray2<T>): Reimplement without abusing |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
3043 Array<T> internals. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
3044 (DiagArray2<T>::operator Array2<T>): New method. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
3045 * DiagArray2.cc (DiagArray2<T>): Update methods. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
3046 * MDiagArray2.h (MDiagArray2<T>::operator Array2<T>): Simplify. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
3047 * PermMatrix.h (PermMatrix): Reimplement without abusing |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
3048 Array<T> internals. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
3049 * PermMatrix.cc (PermMatrix): Update methods. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
3050 |
8523
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
3051 2009-01-14 Jaroslav Hajek <highegg@gmail.com> |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
3052 |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
3053 * Array.cc, Array.h (all Array<T> constructors): Handle slice_data and |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
3054 slice_len. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
3055 (Array<T>::Array<T> (const Array<T>&, const dim_vector&, |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
3056 octave_idx_type, octave_idx_type)): New constructor. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
3057 (Array<T>::index): Use shallow copy when index reduces to a contiguous |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
3058 range. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
3059 (Array<T>::make_unique): Rewrite. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
3060 (Array<T>::ArrayRep): Delete redundant methods. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
3061 (rec_index_helper::is_cont_range): New method. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
3062 (Array<T>::maybe_economize): New method. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
3063 * DiagArray2.cc (DiagArray2<T>::resize): Fix the mess. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
3064 |
8521 | 3065 2008-01-15 Rafael Laboissiere <rafael@debian.org> |
3066 | |
3067 * oct-md5.cc: Include <cstdio>. | |
3068 | |
8503
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
3069 2009-01-13 Jaroslav Hajek <highegg@gmail.com> |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
3070 |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
3071 * Array.h (Array::ArrayRep::qsort): Remove. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
3072 (Array::qsort): Remove. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
3073 * glob-match.cc (glob_match::glob): qsort -> sort. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
3074 * str-vec.cc (string_vector::compare): Remove. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
3075 * str-vec.h (string_vector::compare): Remove decl. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
3076 (string_vector::qsort): Rename to sort, call Array::sort. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
3077 |
8417
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
3078 2008-12-23 David Bateman <dbateman@free.fr> |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
3079 |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
3080 * eigs-base.cc: New file with template wrapper for ARPACK. |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
3081 * Makefile.in (TEMPLATE_SRC): Add it here. |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
3082 |
8410 | 3083 2008-12-16 Jaroslav Hajek <highegg@gmail.com> |
3084 | |
3085 * Array.cc (rec_permute_helper): New class. | |
3086 (Array<T>::permute): Rewrite using the recursive algorithm. | |
3087 | |
8403 | 3088 2008-12-12 David Bateman <dbateman@free.fr> |
3089 | |
9967 | 3090 * sparse-base-chol.cc (inverse): Fix inversion based on cholesky |
8403 | 3091 factorization. |
9967 | 3092 |
8400
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
3093 2008-12-12 Jaroslav Hajek <highegg@gmail.com> |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
3094 |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
3095 * oct-locbuf.cc: New source. |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
3096 * oct-locbuf.h (octave_chunk_buffer): New class. |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
3097 (octave_local_buffer): Subclass from octave_chunk_buffer for selected |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
3098 POD types. |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
3099 |
8397 | 3100 2008-12-11 Jaroslav Hajek <highegg@gmail.com> |
3101 | |
3102 * mx-op-defs.h (DMDM_BIN_OP): Fix invalid buffer length. | |
3103 | |
8392
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
3104 2008-12-10 Jaroslav Hajek <highegg@gmail.com> |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
3105 |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
3106 * dMatrix.h, dMatrix.cc (Matrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
3107 * fMatrix.h, fMatrix.cc (FloatMatrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
3108 * CMatrix.h, CMatrix.cc (ComplexMatrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
3109 * fCMatrix.h, fCMatrix.cc (FloatComplexMatrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
3110 |
8386
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
3111 2008-12-09 Jaroslav Hajek <highegg@gmail.com> |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
3112 |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
3113 * base-aepbal.h: New source. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
3114 * dbleAEPBAL.h, dbleAEPBAL.cc: Rebase AEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
3115 * floatAEPBAL.h, floatAEPBAL.cc: Rebase FloatAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
3116 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Rebase ComplexAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
3117 * fCmplxAEPBAL.h, fCmplxAEPBAL.cc: Rebase FloatComplexAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
3118 |
8384
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
3119 2008-12-08 Jaroslav Hajek <highegg@gmail.com> |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
3120 |
9967 | 3121 * idx-vector.cc (idx_vector::idx_vector_rep::idx_vector_rep (const |
8384
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
3122 Sparse<bool>&)): New constructor. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
3123 * idx_vector.h: Declare it. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
3124 (idx_vector::idx_vector (const Sparse<bool>&)): New constructor. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
3125 * idx-vector.cc (idx_vector::idx_vector_rep::idx_vector_rep (const |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
3126 Array<bool>&)): Fix extent calculation. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
3127 |
8385
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
3128 2008-12-09 David Bateman <dbateman@free.fr> |
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
3129 |
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
3130 * Makefile.in (INCLUDES): Add oct-locbuf.h |
9967 | 3131 |
8380
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
3132 2008-12-07 Jaroslav Hajek <highegg@gmail.com> |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
3133 |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
3134 * mx-inlines.cc (mx_inline_fill_vs): New template function. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
3135 * mx-op-defs.h (everywhere): Replace int by octave_idx_type. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
3136 (MDM_MULTIPLY_OP): Use mx_inline_mul_vs and mx_inline_fill_vs. |
8628 | 3137 (DMM_MULTIPLY_OP): Ditto. |
8380
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
3138 * fDiagMatrix.cc (operator *): Remove redundant ifs. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
3139 * fCDiagMatrix.cc (operator *): Remove redundant ifs. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
3140 |
8379
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
3141 2008-12-06 Jaroslav Hajek <highegg@gmail.com> |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
3142 |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
3143 * oct-locbuf.h (OCTAVE_LOCAL_BUFFER_INIT): New macro. |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
3144 |
8377
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
3145 2008-10-29 Jaroslav Hajek <highegg@gmail.com> |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
3146 |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
3147 * oct-locbuf.h: New header file. |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
3148 * Array-d.cc, Array-f.cc, Array.cc, CMatrix.cc, CNDArray.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
3149 CSparse.cc, CmplxCHOL.cc, CmplxGEPBAL.cc, MatrixType.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
3150 Sparse-op-defs.h, Sparse.cc, SparseCmplxLU.cc, SparseCmplxQR.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
3151 SparseQR.cc, SparsedbleLU.cc, dMatrix.cc, dNDArray.cc, dSparse.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
3152 data-conv.cc, dbleCHOL.cc, dbleGEPBAL.cc, fCMatrix.cc, fCNDArray.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
3153 fCmplxCHOL.cc, fCmplxGEPBAL.cc, fMatrix.cc, fNDArray.cc, file-ops.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
3154 floatCHOL.cc, floatGEPBAL.cc, lo-sysdep.cc, oct-fftw.cc, oct-md5.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
3155 oct-rand.cc, regex-match.cc, sparse-dmsolve.cc: Include oct-locbuf.h. |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
3156 |
8375
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
3157 2008-12-04 Jaroslav Hajek <highegg@gmail.com> |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
3158 |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
3159 * DiagArray2.h (DiagArray2<T>): Inherit Array<T> privately. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
3160 (DiagArray2<T>::dim1, dim2, rows, columns, cols, length, |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
3161 nelem, numel, byte_size, dims): New methods. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
3162 (DiagArray2<T>::diag): New method decl. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
3163 * DiagArray2.cc (DiagArray2<T>::diag): New method. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
3164 * MDiagArray2.h (MDiagArray2<T>::diag): New method. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
3165 * dDiagMatrix.cc (DiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
3166 * fDiagMatrix.cc (FloatDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
3167 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
3168 * fCDiagMatrix.cc (FloatComplexDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
3169 |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
3170 * PermMatrix.h (PermMatrix): Inherit Array<octave_idx_type> privately. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
3171 (PermMatrix::dim1, dim2, rows, columns, cols, length, |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
3172 nelem, numel, byte_size, dims): New methods. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
3173 |
9967 | 3174 |
8371
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
3175 2008-12-04 Jaroslav Hajek <highegg@gmail.com> |
9967 | 3176 |
8371
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
3177 * dDiagMatrix.cc (DiagMatrix::determinant, DiagMatrix::rcond): New |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
3178 method. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
3179 * dDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
3180 * fDiagMatrix.cc (FloatDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
3181 FloatDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
3182 * fDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
3183 * CDiagMatrix.cc (ComplexDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
3184 ComplexDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
3185 * CDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
3186 * fCDiagMatrix.cc (FloatComplexDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
3187 FloatComplexDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
3188 * fCDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
3189 |
8369 | 3190 2008-12-04 Jaroslav Hajek <highegg@gmail.com> |
3191 | |
3192 * idx-vector.cc (idx-vector::complement): Add missing delete. | |
3193 | |
8368
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
3194 2008-12-04 Jaroslav Hajek <highegg@gmail.com> |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
3195 |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
3196 * dbleQRP.cc (QRP::QRP): Call DGEQP3 rather than DGEQPF. |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
3197 * floatQRP.cc (FloatQRP::FloatQRP): Call SGEQP3 rather than SGEQPF. |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
3198 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Call ZGEQP3 rather than ZGEQPF. |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
3199 * fCmplxQRP.cc (FloatComplexQRP::FloatComplexQRP): Call CGEQP3 rather than CGEQPF. |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
3200 |
8367
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
3201 2008-12-03 Jaroslav Hajek <highegg@gmail.com> |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
3202 |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
3203 * PermMatrix.h, PermMatrix.cc: New sources. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
3204 * MDiagArray2.cc (MDiagArray2<T>::is_multiple_of_identity): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
3205 * MDiagArray2.h (MDiagArray2<T>::is_multiple_of_identity): Declare it. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
3206 * idx-vector.cc (idx_vector::is_permutation): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
3207 * idx-vector.h (idx_vector::is_permutation): Declare it. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
3208 * base-lu.cc (base_lu::getp): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
3209 (base_lu::P): Call getp. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
3210 (base_lu::Pvec): Call getp. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
3211 * base-lu.h (base_lu): Delcare P as PermMatrix. Remove unused template |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
3212 params. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
3213 * dbleQRP.cc (dbleQRP::dbleQRP): Construct a permutation matrix. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
3214 (dbleQRP::Pvec): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
3215 * dbleQRP.h: Declare new method. Declare P as PermMatrix. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
3216 * CmplxQRP.cc (ComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
3217 * CmplxQRP.h (ComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
3218 * floatQRP.cc (FloatQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
3219 * floatQRP.h (FloatQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
3220 * fCmplxQRP.cc (FloatComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
3221 * fCmplxQRP.h (FloatComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
3222 |
8366
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3223 2008-12-01 Jaroslav Hajek <highegg@gmail.com> |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3224 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3225 * DiagArray2.h (DiagArray2<T>::DiagArray2<T> (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3226 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3227 (DiagArray2<T>::elem, xelem, operator ()): Move to header file to |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3228 enable inlining. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3229 * DiagArray2.cc (DiagArray2<T>::elem, xelem, operator ()): Remove |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3230 implementations. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3231 * MDiagArray2.h (MDiagArray2<T>::MDiagArray2<T> (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3232 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3233 (MDiagArray2<T>::nnz): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3234 * MDiagArray2.cc (MDiagArray2<T>::nnz): Implement it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3235 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3236 * dDiagMatrix.h (DiagMatrix::DiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3237 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3238 (DiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3239 (real (const ComplexDiagMatrix&), imag (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3240 New decls. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3241 * dDiagMatrix.cc (DiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3242 (operator *(const DiagMatrix&, const DiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3243 (real (const ComplexDiagMatrix&), imag (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3244 New functions. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3245 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3246 * fDiagMatrix.h (FloatDiagMatrix::FloatDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3247 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3248 (FloatDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3249 (real (const FloatComplexDiagMatrix&), imag (const FloatComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3250 New decls. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3251 * fDiagMatrix.cc (FloatDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3252 (operator *(const FloatDiagMatrix&, const FloatDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3253 (real (const FloatComplexDiagMatrix&), imag (const FloatComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3254 New functions. |
9967 | 3255 |
8366
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3256 * CDiagMatrix.h (ComplexDiagMatrix::ComplexDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3257 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3258 (ComplexDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3259 (conj (const ComplexDiagMatrix&)): Add missing decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3260 (ComplexDiagMatrix::all_elements_are_real): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3261 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3262 * CDiagMatrix.cc (CDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3263 (operator *(const DiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3264 (operator *(const ComplexDiagMatrix&, const DiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3265 (operator *(const ComplexDiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3266 (ComplexDiagMatrix::all_elements_are_real): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3267 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3268 * fCDiagMatrix.h (FloatComplexDiagMatrix::FloatComplexDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3269 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3270 (FloatComplexDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3271 (conj (const FloatComplexDiagMatrix&)): Add missing decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3272 (FloatComplexDiagMatrix::all_elements_are_real): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3273 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3274 * fCDiagMatrix.cc (CDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3275 (operator *(const FloatDiagMatrix&, const FloatComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3276 (operator *(const FloatComplexDiagMatrix&, const FloatDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3277 (operator *(const ComplexDiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3278 (FloatComplexDiagMatrix::all_elements_are_real): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3279 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3280 * dSparse.cc (SparseMatrix::SparseMatrix (const DiagMatrix&)): New |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3281 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3282 * dSparse.h (SparseMatrix::SparseMatrix (const DiagMatrix&)): Declare |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3283 it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3284 |
9967 | 3285 * CSparse.cc (SparseComplexMatrix::SparseComplexMatrix (const ComplexDiagMatrix&)): |
8366
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3286 New constructor. |
9967 | 3287 * CSparse.h (SparseComplexMatrix::SparseComplexMatrix (const ComplexDiagMatrix&)): |
8366
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3288 Declare it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3289 * mx-op-defs.h (DMM_MULTIPLY_OP, MDM_MULTIPLY_OP): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3290 |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
3291 2008-11-21 Jarkko Kaleva <d3roga@gmail.com> |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
3292 |
9967 | 3293 * EIG.h (EIG::EIG (const Matrix& a, const Matrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
3294 bool calc_eigenvectors = true)): New constructor. |
9967 | 3295 (EIG::EIG (const Matrix& a, const Matrix& b, octave_idx_type& info, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
3296 bool calc_eigenvectors = true)): New constructor. |
9967 | 3297 (EIG::EIG (const ComplexMatrix& a, const ComplexMatrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
3298 bool calc_eigenvectors = true)): New constructor. |
9967 | 3299 (EIG::EIG (const ComplexMatrix& a, const ComplexMatrix& b, |
3300 octave_idx_type& info, bool calc_eigenvectors = true)): New | |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
3301 constructor. |
9967 | 3302 * EIG.cc (EIG::init (const Matrix& a, const Matrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
3303 bool calc_eigenvectors)): New function. |
9967 | 3304 (EIG::init (const ComplexMatrix& a, const ComplexMatrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
3305 bool calc_eigenvectors)): New function. |
9967 | 3306 (EIG::symmetric_init (const Matrix& a, const Matrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
3307 bool calc_eigenvectors)): New function. |
9967 | 3308 (EIG::hermitian_init (const ComplexMatrix& a, const ComplexMatrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
3309 bool calc_eigenvectors)): New function. |
9967 | 3310 * fEIG.h (fEIG::fEIG (const FloatMatrix& a, const FloatMatrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
3311 bool calc_eigenvectors = true)): New constructor. |
9967 | 3312 (fEIG::fEIG (const FloatMatrix& a, const FloatMatrix& b, |
3313 octave_idx_type& info, bool calc_eigenvectors = true)): New | |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
3314 constructor. |
9967 | 3315 (fEIG::fEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
3316 bool calc_eigenvectors = true)): New constructor. | |
3317 (fEIG::fEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, | |
3318 octave_idx_type& info, bool calc_eigenvectors = true)): New | |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
3319 constructor. |
9967 | 3320 (fEIG::init (const FloatMatrix& a, const FloatMatrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
3321 bool calc_eigenvectors)): New function. |
9967 | 3322 (fEIG::init (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
3323 bool calc_eigenvectors)): New function. |
9967 | 3324 (fEIG::symmetric_init (const FloatMatrix& a, const FloatMatrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
3325 bool calc_eigenvectors)): New function. |
9967 | 3326 (fEIG::hermitian_init (const FloatComplexMatrix& a, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
3327 const FloatComplexMatrix& b, bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
3328 |
8337
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
3329 2008-11-19 Jaroslav Hajek <highegg@gmail.com> |
9967 | 3330 |
8337
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
3331 * dMatrix.cc (Matrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
3332 fMatrix.cc (FloatMatrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
3333 CMatrix.cc (ComplexMatrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
3334 fCMatrix.cc (FloatComplexMatrix::determinant): |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
3335 Use atmp(i,i) instead of elem(i,i). |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
3336 |
8336
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
3337 2008-11-19 Jaroslav Hajek <highegg@gmail.com> |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
3338 |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
3339 * DET.h (base_det<T>::square): New member function. |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
3340 * dMatrix.cc (Matrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
3341 fMatrix.cc (FloatMatrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
3342 CMatrix.cc (ComplexMatrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
3343 fCMatrix.cc (FloatComplexMatrix::determinant): |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
3344 Allow taking MatrixType argument. |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
3345 * dMatrix.h, fMatrix.h, CMatrix.h, fCMatrix.h: Update decls. |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
3346 |
8335 | 3347 2008-11-19 Jaroslav Hajek <highegg@gmail.com> |
3348 | |
3349 * DET.h: New source. | |
3350 * CmplxDET.cc, CmplxDET.h, dbleDET.cc, dbleDET.h, fCmplxDET.cc, | |
3351 fCmplxDET.h, floatDET.cc, floatDET.h: Remove. | |
3352 * Makefile.in: Reflect changes. | |
3353 * mx-defs.h: Remove DET decls. | |
3354 * mx-ext.h, dMatrix.h, fMatrix.h, CMatrix.h, fCMatrix.h, | |
3355 dSparse.h, CSparse.h: Include only DET.h. | |
3356 * dMatrix.cc (Matrix::determinant), | |
3357 fMatrix.cc (FloatMatrix::determinant), | |
3358 CMatrix.cc (ComplexMatrix::determinant), | |
3359 fCMatrix.cc (FloatComplexMatrix::determinant), | |
3360 dSparse.cc (SparseMatrix::determinant), | |
3361 CSparse.cc (SparseComplexMatrix::determinant): Use new class. | |
3362 | |
8328
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
3363 2008-11-18 David Bateman <dbateman@free.fr> |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
3364 |
9967 | 3365 * file-ops.cc (std::string file_ops::tilde_expand (const |
3366 std::string&)): Check if the string contains a tilde and fast | |
8328
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
3367 return if not. |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
3368 |
8326
545b9f62adcf
dir-ops.cc (dir_entry::read): use std::list<std::string> to cache names before converting to string_vector
John W. Eaton <jwe@octave.org>
parents:
8324
diff
changeset
|
3369 2008-11-17 John W. Eaton <jwe@octave.org> |
545b9f62adcf
dir-ops.cc (dir_entry::read): use std::list<std::string> to cache names before converting to string_vector
John W. Eaton <jwe@octave.org>
parents:
8324
diff
changeset
|
3370 |
545b9f62adcf
dir-ops.cc (dir_entry::read): use std::list<std::string> to cache names before converting to string_vector
John W. Eaton <jwe@octave.org>
parents:
8324
diff
changeset
|
3371 * dir-ops.cc (dir_entry::read): Use std::list<std::string> to |
545b9f62adcf
dir-ops.cc (dir_entry::read): use std::list<std::string> to cache names before converting to string_vector
John W. Eaton <jwe@octave.org>
parents:
8324
diff
changeset
|
3372 cache names before converting to string_vector. |
545b9f62adcf
dir-ops.cc (dir_entry::read): use std::list<std::string> to cache names before converting to string_vector
John W. Eaton <jwe@octave.org>
parents:
8324
diff
changeset
|
3373 |
8324 | 3374 2008-11-14 David Bateman <dbateman@free.fr> |
3375 | |
3376 * Array2.h (Array2<T> Array2<T>::index): Correct use of | |
3377 resize_fill_value. | |
3378 | |
8319
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
3379 2008-11-12 Michael Goffioul <michael.goffioul@gmail.com> |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
3380 |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
3381 * MArray-C.cc, MArray-d.cc, MArray-f.cc, MArray-fC.cc: Declare |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
3382 MArray<T>::norm specialization before implicit MArray<T> implicit |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
3383 instantiation. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
3384 * idx-vector.h (class idx_vector::idx_base_rep, class |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
3385 idx_vector::idx_range_rep, class idx_vector::idx_colon_rep, class |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
3386 idx_vector::idx_scalar_rep, class idx_vector::idx_vector_rep): Add |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
3387 OCTAVE_API tag. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
3388 * idx-vector.cc (idx_vector::idx_scalar_rep::idx_scalar_rep(T), |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
3389 idx_vector::idx_vector_rep::idx_vector_rep(const Array<T>&)): Ditto. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
3390 * oct-inttypes.cc (octave_int<T>::type_name): Ditto. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
3391 * oct-inttypes.cc (powf(const octave_int<T>&,const float&)): Cast 'b' |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
3392 to double. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
3393 * oct-inttypes.h: Undefine min/max. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
3394 * oct-norm.h (xnorm, xfrobnorm, xcolnorms, xrownorms): Add OCTAVE_API |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
3395 tag. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
3396 * oct-norm.cc (xnorm, xfrobnorm, xcolnorms, xrownorms): Ditto. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
3397 |
9501 | 3398 2008-11-12 Jaroslav Hajek <highegg@gmail.com> |
8314
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
3399 |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
3400 * DiagArray2.h (DiagArray2<T>::maybe_delete_elements): Remove |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
3401 declaration. |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
3402 |
9501 | 3403 2008-11-09 Jaroslav Hajek <highegg@gmail.com> |
8308
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
3404 |
9967 | 3405 * oct-norm.cc: Don't include Array.cc. |
8308
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
3406 (column_norms (const MArray2<T>&, ...)): Use std::vector instead of Array<T> for |
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
3407 accumulator containers. Use empty constructor instead of |
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
3408 Array<T>::resize. |
8628 | 3409 (row_norms (const MArray2<T>&, ...)): Ditto. |
3410 (column_norms (const MSparse2<T>&, ...)): Ditto. | |
3411 (row_norms (const MSparse2<T>&, ...)): Ditto. | |
8308
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
3412 |
8303
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
3413 2008-10-31 Jaroslav Hajek <highegg@gmail.com> |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
3414 |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
3415 * oct-norm.h: New header file. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
3416 * oct-norm.cc: New source. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
3417 * CSparse.cc (SparseComplexMatrix::row, SparseComplexMatrix::column): |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
3418 New member functions. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
3419 * CSparse.h (SparseComplexMatrix): Declare them. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
3420 * dSparse.cc (SparseMatrix::row, SparseMatrix::column): |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
3421 New member functions. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
3422 * dSparse.h (SparseMatrix): Declare them. |
9967 | 3423 * MArray-C.cc (MArray<Complex>::norm), |
3424 MArray-d.cc (MArray<double>::norm), | |
3425 MArray-fC.cc (MArray<FloatComplex>::norm), | |
3426 MArray-f.cc (MArray<float>::norm): Wrap a call to xnorm. | |
8303
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
3427 |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
3428 * MArray-defs.h (MARRAY_NORM_BODY): Remove. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
3429 |
9501 | 3430 2008-11-02 Jaroslav Hajek <highegg@gmail.com> |
8301
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
3431 |
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
3432 * idx-vector.cc (idx_vector::is_complement): Set resulting extent |
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
3433 correctly. |
8302
f2e050b62199
fix dim check in Array<T>::delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8301
diff
changeset
|
3434 * Array.cc (Array<T>::delete_elements (int, const idx_vector&)): |
f2e050b62199
fix dim check in Array<T>::delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8301
diff
changeset
|
3435 Fix check for invalid dim. |
8301
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
3436 |
8298
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
3437 2008-10-31 Jaroslav Hajek <highegg@gmail.com> |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
3438 |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
3439 * idx-vector.h (idx_vector::idx_range_rep::extent): Don't change |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
3440 extent when len is zero. |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
3441 * idx-vector.h (idx_vector::idx_range_rep::idx_range_rep (void)): |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
3442 Create empty range by default. |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
3443 |
9501 | 3444 2008-10-30 Jaroslav Hajek <highegg@gmail.com> |
8293
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
3445 |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
3446 * oct-inttypes.h (octave_int_abs): New function. |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
3447 (octave_int_arith_base<T, true>::div): Use octave_int_abs instead of |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
3448 std::abs. |
8628 | 3449 * oct-inttypes.cc (octave_int_arith_base<int64_t, true>): Ditto. |
8293
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
3450 |
9501 | 3451 2008-10-28 Jaroslav Hajek <highegg@gmail.com> |
8290
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3452 |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3453 * Array-C.cc Array-d.cc Array-f.cc Array-fC.cc Array-i.cc Array-s.cc: |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3454 Don't use semicolon after INSTANTIATE_ARRAY_ASSIGN. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3455 * Array-util.h (zero_dims_inquire): New declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3456 (is_in, how_many_lgt, short_freeze): Remove declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3457 * Array-util.cc (zero_dims_inquire): New functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3458 (is_in, how_many_lgt, short_freeze): Remove functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3459 * Array.cc (Array<T>::index, Array<T>::resize_fill, Array<T>::resize, |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3460 Array<T>::assign, Array<T>::delete_elements): |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3461 Rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3462 * Array.h (Array<T>::index, Array<T>::resize_fill, Array<T>::resize, |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3463 Array<T>::assign, Array<T>::delete_elements): |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3464 Rewrite interfaces. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3465 * Array2.h (Array2<T>::resize): Call Array<T>::resize_fill. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3466 * Array3.h (Array3<T>::resize): Call Array<T>::resize_fill. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3467 * ArrayN.h (ArrayN<T>::resize): Remove declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3468 (ArrayN<T>::index): Fix call to resize_fill_value. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3469 * Sparse.cc (assign, assign1): Use zero-based indices. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3470 * chMatrix.h: Include mx-op-defs.h |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3471 * dim-vector.h (dim_vector::any_neg, dim_vector::chop_all_singletons, |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3472 dim_vector::redim): New member functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3473 * idx-vector.cc: Mostly rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3474 * idx-vector.h: Mostly rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
3475 |
8288
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
3476 2008-10-29 Michael Goffioul <michael.goffioul@gmail.com> |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
3477 |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
3478 * lo-specfun.cc (cbesj, cbesy, cbesi, cbesk, cbesh1, cbesh2): Do not |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
3479 use std::complex::real() and std::complex::imag() as l-value, this is |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
3480 not supported under MSVC. |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
3481 |
8279
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
3482 2008-10-28 John W. Eaton <jwe@octave.org> |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
3483 |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
3484 * lo-specfun.cc: Fix prototypes for the Fortran subroutines cbesh, |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
3485 cbesi, cbesj, cbesk, and cbesy. |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
3486 (cbesh, cbesi, cbesj, cbesk, cbesy): Fix calls to Fortran |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
3487 subroutines. |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
3488 |
8278
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
3489 2008-10-28 Brian Gough <bjg@gnu.org> |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
3490 |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
3491 * lo-specfun.cc (zbesi): Fix scaling factor for negative alpha. |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
3492 (cbesi): Likewise. |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
3493 |
8272
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
3494 2008-10-23 John Swensen <jpswensen@comcast.net> |
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
3495 |
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
3496 * oct-shlib.cc (octave_dyld_shlib::open): Call NSLinkEditError to |
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
3497 get better diagnostic if NSLinkModule fails. |
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
3498 |
8271
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
3499 2008-10-23 John W. Eaton <jwe@octave.org> |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
3500 |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
3501 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_NOW instead |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
3502 of RTLD_LAZY. |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
3503 |
9501 | 3504 2008-10-12 Jaroslav Hajek <highegg@gmail.com> |
8211
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
3505 |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
3506 * CSparse.cc (ComplexMatrix::expm): Improve inverse preconditioning |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
3507 according to Marco Caliari. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
3508 * dSparse.cc (Matrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
3509 * fCSparse.cc (FloatComplexMatrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
3510 * fSparse.cc (FloatMatrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
3511 |
8207
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
3512 2008-10-10 Jaroslav Hajek <highegg@gmail.com> |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
3513 |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
3514 * sparse-util.h (SparseCholPrint): Change char * argument to const |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
3515 char *. |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
3516 * sparse-util.cc (SparseCholPrint): Likewise. |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
3517 |
9501 | 3518 2008-10-09 Jaroslav Hajek <highegg@gmail.com> |
8206
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
3519 |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
3520 * oct-sort.cc (octave_sort<T>::merge_getmem, |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
3521 octave_sort<T>::merge_freemem): Replace malloc -> new [], free -> |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
3522 delete []. |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
3523 (octave_sort<T>::merge_lo, octave_sort<T>::merge_hi): Replace |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
3524 std::memcpy and std::memmove with std::copy. |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
3525 |
8198 | 3526 2008-10-08 John W. Eaton <jwe@octave.org> |
3527 | |
3528 * Sparse-op-defs.h (SPARSE_SMSM_BOOL_OPS): Duplicate code for scalar | |
3529 sparse arguments rather than rely on extern function. | |
3530 | |
8193
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
3531 2008-10-08 Jaroslav Hajek <highegg@gmail.com> |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
3532 |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
3533 * oct-inttypes.h (octave_base_int<T>::compute_threshold): Return |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
3534 exclusive bounds rather than inclusive, be resistant to compiler |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
3535 optimizations. |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
3536 (octave_base_int<T>::convert_real): Use exclusive bounds. |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
3537 |
9501 | 3538 2008-10-07 Jaroslav Hajek <highegg@gmail.com> |
8191
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
3539 |
9967 | 3540 * oct-inttypes.h (OCTAVE_INT_DOUBLE_BIN_OP): Change octave_int64 to |
8191
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
3541 octave_uint64 where appropriate. |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
3542 |
8187 | 3543 2008-10-06 David Bateman <dbateman@free.fr> |
9967 | 3544 |
8187 | 3545 * Sparse-op-defs.h (SPARSE_SMSM_CMP_OPS): Duplicate code for scalar |
3546 sparse arguments rather than rely on extern function. | |
3547 | |
8186
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
3548 2008-10-06 John W. Eaton <jwe@octave.org> |
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
3549 |
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
3550 * Spasre-op-defs.h: Undo previous change. |
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
3551 |
9501 | 3552 2008-10-01 Jaroslav Hajek <highegg@gmail.com> |
8185
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
3553 |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
3554 * oct-inttypes.h (octave_int<T>::one, octave_int<T>::zero): Declare |
9967 | 3555 constants. |
8185
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
3556 * oct-inttypes.cc: Define them. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
3557 * oct-inttypes.h: Define mixed operations via long double if possible. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
3558 * oct-inttypes.cc: Define alternative implementations for 64-bit |
9967 | 3559 multiplication and mixed operations. |
8185
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
3560 * mx-ops: Instantiate all 64-bit integer operations. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
3561 |
8180
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
3562 2008-10-06 Jaroslav Hajek <highegg@gmail.com> |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
3563 |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
3564 * oct-lookup.h: Mark functions inline. Add missing std:: qualifiers. |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
3565 |
8181
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
3566 2008-10-06 John W. Eaton <jwe@octave.org> |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
3567 |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
3568 * Sparse.h (Sparse<T>::elt_type): New typedef. |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
3569 * Sparse-op-defs.h (SPARSE_SMSM_BOOL_OP, SPARSE_MSM_CMP_OP): |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
3570 Use it to call sparse-matrix/scalar operator instead of attempting |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
3571 to instantiate mixed-type sparse-matrix/scalar operators. |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
3572 |
8179
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
3573 2008-10-03 Jaroslav Hajek <highegg@gmail.com> |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
3574 |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
3575 * Array.h (Array<T>::maybe_delete_elements): Remove rfv argument from |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
3576 declaration. |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
3577 * Array.cc (Array<T>::maybe_delete_elements): Remove all usages of |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
3578 rfv. |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
3579 |
8178
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
3580 2008-10-03 Jaroslav Hajek <highegg@gmail.com> |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
3581 |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
3582 * Array.cc (assignN): Do not call maybe_delete_elements when |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
3583 for empty matrix. |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
3584 |
8182 | 3585 2008-09-30 Jaroslav Hajek <highegg@gmail.com> |
8169
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
3586 |
9967 | 3587 * oct-inttypes.h: Mostly rewrite. |
8169
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
3588 * oct-inttypes.cc: Modstly rewrite. |
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
3589 |
8157
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
3590 2008-09-29 Jaroslav Hajek <highegg@gmail.com> |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
3591 |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
3592 * Array.cc (Array<T>::maybe_delete_elements_2(idx_vector&)): Return on |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
3593 empty index vector. |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
3594 |
8150
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
3595 2008-09-26 Jaroslav Hajek <highegg@gmail.com> |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
3596 |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
3597 * Array.cc (assign1, assign2, assignN): Do not call |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
3598 maybe_delete_elements. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
3599 (maybe_delete_elements (Array<idx_vector>&)): Call the 1D and 2D |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
3600 special handlers if possible. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
3601 * Sparse.cc (assign1, assign2, assignN): Do not call |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
3602 maybe_delete_elements. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
3603 |
8124
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
3604 2008-09-22 Brian Gough <bjg@gnu.org> |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
3605 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
3606 * oct-rand.cc (initialize_mersenne_twister): Use separate |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
3607 initializations for each generator to avoid correlation. |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
3608 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
3609 2008-09-12 Jaroslav Hajek <highegg@gmail.com> |
9967 | 3610 |
3611 * oct-inttypes.h (pow (const octave_int<T>&, const octave_int<T>&)): | |
8124
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
3612 |
8121
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
3613 2008-09-19 John W. Eaton <jwe@octave.org> |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
3614 |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
3615 * Array.cc (assign1, assign2, assignN): |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
3616 Clear lhs index before throwing error. |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
3617 (Array<T>::value): Clear index before throwing error. |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
3618 |
8119
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
3619 2008-09-18 Jaroslav Hajek <highegg@gmail.com> |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
3620 |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
3621 * Array.cc (maybe_delete_elements_2 (idx_vector&)): Fix tests to get |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
3622 better Matlab compatibility. |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
3623 (maybe_delete_elements (idx_vector&, idx_vector&)): Fix tests to get |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
3624 better Matlab compatibility, simplify, gripe on invalid 2-D deletion. |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
3625 |
8118
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
3626 2008-09-18 Jaroslav Hajek <highegg@gmail.com> |
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
3627 |
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
3628 * Array.h (Array<T>::coerce): Use octave_idx_type instead of int. |
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
3629 |
8104
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
3630 2008-09-12 Jaroslav Hajek <highegg@gmail.com> |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
3631 |
9967 | 3632 * oct-inttypes.h (pow (const octave_int<T>&, const octave_int<T>&)): |
8104
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
3633 Handle negative exponent correctly. |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
3634 |
8039
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3635 2008-08-19 David Bateman <dbateman@free.fr> |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3636 |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3637 * oct-inttypes.h (template <class T1, class T2> inline T2 |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3638 octave_int_fit_to_range (const T1&, const T2&, const T2&), |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3639 template <typename T> inline T octave_int_fit_to_range (const |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3640 double&, const T&, const T&), template <> inline T2 |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3641 octave_int_fit_to_range<T1, T2> (const T1&, const T2&, const T2&), |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3642 OCTAVE_S_US_FTR): Check and flag integer trunctation. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3643 (OCTAVE_INT_FIT_TO_RANGE, OCTAVE_INT_FIT_TO_RANGE2): Adapt for the |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3644 above change. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3645 (OCTAVE_INT_CONV_FIT_TO_RANGE): New macro for conversion to |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3646 integer types. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3647 (octave_int<T>::conv_error_type): New enum to flag conversion and |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3648 math warnings. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3649 (octave_int<T>::octave_int (U i), octave_int<T>::octave_int |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3650 (double i), octave_int<>::octave_int (const octave_int<U>& i)): |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3651 Flag conversion and math errors other than integer truncation. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3652 (octave_int<T> octave_int<T>::operator - (void)): Flag truncation |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3653 error. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3654 (static bool get_trunc_flag (void), static bool clear_trunc_flag |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3655 (void, static bool trunc_flag)): Delete. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3656 (static int get_conv_flag (void), static bool get_trunc_flag (void), |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3657 static bool get_nan_flag (void), static bool get_non_int_flag (void), |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3658 static bool get_math_trunc_flag (void), static void |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3659 clear_conv_flag (void)): New functions to query and reset |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3660 conversion and mathw arning state. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3661 (static int cov_flag): New parameter holding current conversion |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3662 and math warning state. Set it to zero. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3663 (template <class T> octave_int<T> powf (float, const |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3664 octave_int<T>&), template <class T> octave_int<T> powf (const |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
3665 octave_int<T>&, float)): New functions. |
8040 | 3666 |
3667 2008-08-12 Jaroslav Hajek <highegg@gmail.com> | |
8029
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
3668 |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
3669 * lo-ieee.cc (octave_ieee_init): Try to ensure that octave_NaN is |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
3670 classified as positive by lo_ieee_signbit. |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
3671 |
8040 | 3672 2008-08-11 Jaroslav Hajek <highegg@gmail.com> |
8028
f0fbf47c914c
avoid null pointer call in Array<T>::hermitian
Jaroslav Hajek <highegg@gmail.com>
parents:
8022
diff
changeset
|
3673 |
f0fbf47c914c
avoid null pointer call in Array<T>::hermitian
Jaroslav Hajek <highegg@gmail.com>
parents:
8022
diff
changeset
|
3674 * Array.cc (no_op_fcn): New static function. |
f0fbf47c914c
avoid null pointer call in Array<T>::hermitian
Jaroslav Hajek <highegg@gmail.com>
parents:
8022
diff
changeset
|
3675 (Array<T>::hermitian): If fcn is null, set to no_op_fcn. |
f0fbf47c914c
avoid null pointer call in Array<T>::hermitian
Jaroslav Hajek <highegg@gmail.com>
parents:
8022
diff
changeset
|
3676 |
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
|
3677 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
|
3678 |
8022
9708674ab85d
don't include config.h in other header files
John W. Eaton <jwe@octave.org>
parents:
8019
diff
changeset
|
3679 * sprse-base-chol.h, oct-sparse.h: Don't include config.h. |
9708674ab85d
don't include config.h in other header files
John W. Eaton <jwe@octave.org>
parents:
8019
diff
changeset
|
3680 |
8019
0ef13e15319b
replace NPOS with std::string::npos
John W. Eaton <jwe@octave.org>
parents:
8018
diff
changeset
|
3681 * 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
|
3682 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
|
3683 |
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
|
3684 * 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
|
3685 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
|
3686 |
8008
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
3687 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
|
3688 |
8009
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
3689 * 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
|
3690 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
|
3691 |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
3692 * 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
|
3693 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
|
3694 |
8008
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
3695 * 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
|
3696 here from file scope. |
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
3697 |
8006
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
3698 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
|
3699 |
8007
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3700 * 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
|
3701 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
|
3702 file_ops::dir_sep_chars. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3703 (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
|
3704 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
|
3705 (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
|
3706 file_ops::dir_sep_str. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3707 |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3708 * 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
|
3709 (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
|
3710 * 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
|
3711 (file_ops::file_ops): New constructor. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3712 (file_ops::instance_ok): New function. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3713 (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
|
3714 from dir_sep_char. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
3715 (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
|
3716 (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
|
3717 (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
|
3718 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
|
3719 (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
|
3720 (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
|
3721 |
8006
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
3722 * 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
|
3723 |
7999 | 3724 2008-07-30 John W. Eaton <jwe@octave.org> |
3725 | |
3726 * oct-inttypes.h: Style fixes. | |
3727 | |
8040 | 3728 2008-07-30 Jaroslav Hajek <highegg@gmail.com> |
7997
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
3729 |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
3730 * 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
|
3731 (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
|
3732 member functions. |
7999 | 3733 (octave_int<T>::octave_int (const octave_int<U>&)): set trunc_flag |
3734 on truncation. | |
7997
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
3735 (SPECIALIZE_WIDENING_CONVERSION): New macro. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
3736 (DECLARE_OCTAVE_INT_TYPENAME): New macro. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
3737 |
7991
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
3738 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
|
3739 |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
3740 * 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
|
3741 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
|
3742 maintains NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
3743 (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
|
3744 (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
|
3745 detect old NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
3746 (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
|
3747 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
|
3748 * 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
|
3749 detect old NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
3750 (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
|
3751 old NA value with new new. |
9967 | 3752 * data-conv.cc (void read_doubles(std::istream&, double *, |
7991
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
3753 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
|
3754 loaded NA values is the old representation and replace it. |
9967 | 3755 |
8040 | 3756 2008-07-28 Jaroslav Hajek <highegg@gmail.com> |
7979 | 3757 |
3758 * lo-math.h: Ensure log2 is undefined from cmath in C++ mode. | |
3759 | |
7957
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
3760 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
|
3761 |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
3762 * 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
|
3763 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
|
3764 |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
3765 * 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
|
3766 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
|
3767 |
7955
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
3768 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
|
3769 |
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
3770 * 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
|
3771 |
7952
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
3772 2008-07-19 John W. Eaton <jwe@octave.org> |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
3773 |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
3774 * oct-mutex.h (class octave_base_mutex): New class. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
3775 (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
|
3776 (octave_mutex::rep): Declare as octave_base_mutex. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
3777 (octave_mutex::count): Delete. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
3778 (octave_mutex::lock, octave_mutex::unlock): No longer virtual. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
3779 (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
|
3780 valid or set rep to zero after deleting. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
3781 (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
|
3782 * 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
|
3783 from octave_base_mutex, not octave_mutex. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
3784 |
7943
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
3785 2008-07-18 John W. Eaton <jwe@octave.org> |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
3786 |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
3787 * 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
|
3788 to 0, not count. |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
3789 * 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
|
3790 to 1 instead of incrementing it. |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
3791 |
7941
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
3792 2008-07-17 Michael Goffioul <michael.goffioul@gmail.com> |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
3793 |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
3794 * 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
|
3795 bool, bool) into conditional HAVE_FFTW3 preprocessor statement. |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
3796 |
7936
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
3797 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
|
3798 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
3799 * 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
|
3800 octave_autolock (const octave_autolock&), |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
3801 octave_autolock::operator = (const octave_autolock&)): |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
3802 Delete definitions. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
3803 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
3804 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
|
3805 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
3806 * 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
|
3807 (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
|
3808 executing handlers. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
3809 (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
|
3810 Autolock event_hook_lock. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
3811 |
7934 | 3812 2008-07-15 Michael Goffioul <michael.goffioul@gmail.com> |
3813 | |
3814 * oct-mutex.h, oct-mutex.cc: New files. | |
3815 * Makefile.in: Add them to appropriate lists. | |
3816 | |
7929 | 3817 2008-07-15 John W. Eaton <jwe@octave.org> |
3818 | |
3819 * oct-sort.cc, oct-sort.h (octave_sort<T>::count_run): Declare | |
3820 descending arg as bool&. | |
3821 (octave_sort<T>::sort): Pass bool to count_run for descending arg. | |
3822 | |
7922
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
3823 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
|
3824 |
7924 | 3825 * dDiagMatrix.cc (DiagMatrix::diag): Return empty ColumnVector if |
3826 number of rows or columns is 0. | |
3827 * fDiagMatrix.cc (FloatDiagMatrix::diag): Likewise. | |
3828 | |
3829 * Array-util.cc (is_vector): Avoid GCC warning. | |
3830 * Array-f.cc (Array<float>::sort): Likewise. | |
3831 * Array-d.cc (Array<double>::sort): Likewise. | |
3832 * dbleQR.cc (QR::QR (const Matrix&, const Matrix&)): Likewise. | |
3833 * CmplxQR.cc (ComplexQR::ComplexQR (const ComplexMatrix&, const | |
3834 ComplexMatrix&)): Likewise. | |
3835 * floatQR.cc (FloatQR::FloatQR (const FloatMatrix&, const | |
3836 FloatMatrix&)): Likewise. | |
3837 * fCmplxQR.cc (FloatComplexQR::FloatComplexQR (const | |
3838 FloatComplexMatrix&, const FloatComplexMatrix&)): Likewise. | |
3839 * Quad.cc (IndefQuad::do_integrate (octave_idx_type&, | |
3840 octave_idx_type&, float&), FloatIndefQuad::do_integrate, | |
3841 DefQuad::do_integrate octave_idx_type&, octave_idx_type&, float&, | |
3842 FloatIndefQuad::do_integrate): Likewise. | |
3843 | |
7922
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
3844 * 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
|
3845 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
|
3846 * 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
|
3847 * Array-util.h: Provide decl. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
3848 * 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
|
3849 * 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
|
3850 |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
3851 * 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
|
3852 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
|
3853 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
|
3854 * 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
|
3855 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
|
3856 Provide decl. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
3857 |
7919
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
3858 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
|
3859 |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
3860 * 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
|
3861 bool, bool)): New constructor. |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
3862 * dNDArray.h: Provide decl. |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
3863 |
7914
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
3864 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
|
3865 |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
3866 * 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
|
3867 * lo-specfun.cc: Ditto. Add atanhf implementation. |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
3868 |
8040 | 3869 2008-06-20 Jaroslav Hajek <highegg@gmail.com> |
7894
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
3870 |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
3871 * MatrixType.h: Add missing include statement. |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
3872 |
7889
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
3873 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
|
3874 |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
3875 * 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
|
3876 * fCmplxDET.cc (FloatComplexDET::initialize10): Likewise, for pow. |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
3877 |
7885 | 3878 2008-06-11 John W. Eaton <jwe@octave.org> |
3879 | |
3880 * so-array.h, so-array.cc, Array-so.cc: Delete. | |
3881 * Makefile.in: Remove them from the lists. | |
3882 | |
7872 | 3883 2008-06-05 John W. Eaton <jwe@octave.org> |
3884 | |
3885 * oct-shlib.cc (octave_base_shlib::remove): Only dereference | |
3886 counter if iterator is valid. | |
3887 | |
7814
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
3888 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
|
3889 |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
3890 * 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
|
3891 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
|
3892 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
|
3893 * 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
|
3894 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
|
3895 * 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
|
3896 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
|
3897 (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
|
3898 (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
|
3899 (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
|
3900 * 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
|
3901 * 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
|
3902 (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
|
3903 (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
|
3904 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
3905 2008-06-02 David Bateman <dbateman@free.fr> |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
3906 |
7810
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
3907 * fCmplxLU.cc (class FloatComplexLU): Correct error in instantiation. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
3908 * floatLU.cc (class FloatLU): ditto. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
3909 * floatLU.h (class FloatLU): ditto. |
9967 | 3910 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
3911 * floatAEPBAL.cc (octave_idx_type FloatAEPBALANCE::init (const |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
3912 FloatMatrix&, const std::string&)): Use FloatMatrix to initialize |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
3913 balancing_mat. |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
3914 |
7809
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
3915 * 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
|
3916 (MATRIX_SRC): Add fCmplxAEPBAL.cc and floatAEPBAL.cc. |
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
3917 |
7805
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3918 2008-05-21 David Bateman <dbateman@free.fr> |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3919 |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3920 * Quad-opts.in: Handle single precision tolerances. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3921 * Quad.cc (float_user_fcn): New static variable. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3922 (quad_float_fcn_ptr): New typedef. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3923 (qagp, quagi): New QUADPACK decls. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3924 (float_user_function): New function. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3925 (DefQuad::do_integrate, IndefQuad::do_integrate): Float versions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3926 (FloatDefQuad::do_integrate, FloatIndefQuad::do_integrate): |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3927 New functions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3928 * Quad.h (class Quad): Handle float type. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3929 (class FloatDefQuad, class FloatIndefQuad): New classes. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
3930 |
8040 | 3931 2008-05-21 Jaroslav Hajek <highegg@gmail.com> |
7799 | 3932 |
7804
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3933 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3934 (xcdotc, csyrk, cherk): New F77 decls. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3935 * fMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3936 (operator * (const FloatMatrix&, const FloatMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3937 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3938 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3939 (ssyrk): New F77 decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3940 * fCMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3941 (operator * (const FloatComplexMatrix&, const |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3942 FloatComplexMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3943 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
3944 |
7803 | 3945 * dMatrix.cc, CMatrix.cc, Sparse-op-defs.h: Add missing copyright. |
3946 | |
7802
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
3947 * Sparse-op-defs.h (SPARSE_FULL_MUL): Simplify scalar*matrix case. |
9967 | 3948 Correct indenting. |
7802
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
3949 (SPARSE_FULL_TRANS_MUL): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
3950 (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
|
3951 Move OCTAVE_QUIT one level up. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
3952 (FULL_SPARSE_MUL_TRANS): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
3953 * dSparse.h (mul_trans, trans_mul): Provide decl. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
3954 * dSparse.cc (mul_trans, trans_mul): New functions. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
3955 * 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
|
3956 * 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
|
3957 |
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
|
3958 * 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
|
3959 * 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
|
3960 (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
|
3961 (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
|
3962 * 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
|
3963 * 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
|
3964 (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
|
3965 (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
|
3966 |
7799 | 3967 * MatrixType.cc (matrix_real_probe, matrix_complex_probe): |
3968 New template functions. | |
3969 (MatrixType::MatrixType (const Matrix&), | |
3970 MatrixType::MatrixType (const FloatMatrix&)): | |
3971 just call matrix_real_probe. | |
3972 (MatrixType::MatrixType (const ComplexMatrix&), | |
3973 MatrixType::MatrixType (const FloatComplexMatrix&)): | |
3974 just call matrix_complex_probe. | |
3975 | |
3976 * MatrixType.cc (MatrixType::MatrixType (matrix_type, bool)): | |
3977 add missing test for Unknown. | |
3978 | |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
3979 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
|
3980 |
7797
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3981 * 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
|
3982 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3983 (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
|
3984 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3985 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3986 * 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
|
3987 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3988 (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
|
3989 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3990 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3991 * 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
|
3992 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3993 (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
|
3994 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3995 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3996 * 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
|
3997 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
3998 (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
|
3999 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
4000 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
4001 |
7796
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
4002 * Array.cc: Fix transpose tests. |
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
4003 |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4004 * 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
|
4005 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
|
4006 (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
|
4007 * 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
|
4008 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
|
4009 (FloatGEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4010 * 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
|
4011 (MATRIX_SRC): and here. |
9967 | 4012 |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4013 * floatAEPBAL.cc (FloatAEPBALANCE), fCmplxAEPBAL.cc |
9967 | 4014 (FloatComplexAEPBALANCE): New classes for single precision |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4015 Algebraic eignvalue balancing. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4016 * 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
|
4017 (FloatComplexAEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4018 * 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
|
4019 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4020 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4021 * 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
|
4022 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
|
4023 * 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
|
4024 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4025 * 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
|
4026 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4027 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4028 * 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
|
4029 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
|
4030 * 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
|
4031 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4032 * 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
|
4033 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4034 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4035 * 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
|
4036 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
|
4037 * 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
|
4038 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4039 * 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
|
4040 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4041 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4042 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4043 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4044 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
|
4045 ComplexQRP, FloatQRP, FloatComplexQRP): Declare classes. |
9967 | 4046 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4047 2008-05-20 David Bateman <dbateman@free.fr> |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4048 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4049 * 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
|
4050 transpose to limit the number of cache misses. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4051 (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
|
4052 for matrix conjugate transpose. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4053 * 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
|
4054 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4055 * DiagArray2.cc (DiagArray2<T> DiagArray2<T>::transpose () const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4056 Specialization for diagonal arrays. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4057 (DiagArray2<T> DiagArray2<T>::transpose (T (*) (const&)) const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4058 Ditto. |
9967 | 4059 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4060 * 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
|
4061 (MArray<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4062 * 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
|
4063 * 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
|
4064 * 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
|
4065 * MDiagArray2.h (MDiagArray2<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4066 (MDiagArray<T> hermitian <T (*) (const&)) const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4067 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4068 * 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
|
4069 * CRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4070 * dColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4071 * dRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4072 * CDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4073 * dDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4074 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4075 * 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
|
4076 * fCRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4077 * fColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4078 * fRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4079 * fCDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4080 * fDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4081 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4082 * CDiagMatrix.cc (ComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4083 ComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4084 * dDiagMatrix.cc (DiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4085 * CMatrix.cc (ComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4086 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4087 * fCDiagMatrix.cc (FloatComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4088 FloatComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4089 * fDiagMatrix.cc (FloatDiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4090 * fCMatrix.cc (FloatComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4091 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4092 * lo-mappers.cc (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4093 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4094 New mapper functions for single precion values. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4095 * lo-mappers.h (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4096 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4097 Declare them. |
9967 | 4098 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4099 * CmplxGEBAL.cc (ComplexGEPBALANCE), dbleGEPBAL.cc (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4100 fCmplxGEPBAL.cc (FloatComplexGEPBALANCE), floatGEPBAL.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4101 (FloatGEPBALANCE): New class for generalized eigenvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4102 * CmplxGEBAL.h (ComplexGEPBALANCE), dbleGEPBAL.h (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4103 fCmplxGEPBAL.h (FloatComplexGEPBALANCE), floatGEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4104 (FloatGEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4105 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4106 (MATRIX_SRC): and here. |
9967 | 4107 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4108 * floatAEPBAL.cc (FloatAEPBALANCE), fCmplxAEPBAL.cc |
9967 | 4109 (FloatComplexAEPBALANCE): New classes for single precision |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4110 Algebraic eignvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4111 * floatAEPBAL.h (FloatAEPBALANCE), fCmplxAEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4112 (FloatComplexAEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4113 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4114 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4115 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4116 * floatHESS.cc (FloatHESS), fCmplxHESS.cc (FloatComplexHESS): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4117 classes for single precision Hessenberg decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4118 * floatHESS.h (FloatHESS), fCmplxHESS.h (FloatComplexHESS): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4119 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4120 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4121 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4122 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4123 * floatQR.cc (FloatQR), fCmplxQR.cc (FloatComplexQR): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4124 classes for single precision QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4125 * floatQR.h (FloatQR), fCmplxQR.h (FloatComplexQR): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4126 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4127 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4128 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4129 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4130 * floatQRP.cc (FloatQRP), fCmplxQRP.cc (FloatComplexQRP): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4131 classes for single precision permuted QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4132 * floatQRP.h (FloatQRP), fCmplxQRP.h (FloatComplexQRP): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4133 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4134 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4135 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4136 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4137 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4138 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4139 FloatHESS, FloatComplexHESS, FloatQR, FloatComplexQR, QRP, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4140 ComplexQRP, FloatQRP, FloatComplexQRP): Declare classes. |
9967 | 4141 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4142 * 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
|
4143 fCColVector.cc, fCColVector.h, fCDiagMatrix.cc, fCDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4144 fCMatrix.cc, fCMatrix.h, fCNDArray.cc, fCNDArray.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4145 fCRowVector.cc, fCRowVector.h, fCmplxCHOL.cc, fCmplxCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4146 fCmplxDET.cc, fCmplxDET.h, fCmplxLU.cc, fCmplxLU.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4147 fCmplxSCHUR.cc, fCmplxSCHUR.h, fCmplxSVD.cc, fCmplxSVD.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4148 fColVector.cc, fColVector.h, fDiagMatrix.cc, fDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4149 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
|
4150 fRowVector.cc, fRowVector.h, floatCHOL.cc, floatCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4151 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
|
4152 floatSCHUR.h, floatSVD.cc, floatSVD.h: New files. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4153 * 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
|
4154 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4155 * 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
|
4156 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
|
4157 MatrixType.cc, MatrixType.h, SparseCmplxQR.cc, SparseCmplxQR.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4158 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
|
4159 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
|
4160 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
|
4161 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
|
4162 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
|
4163 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
|
4164 Allow single precision types. |
9967 | 4165 |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
4166 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
|
4167 |
7788 | 4168 * CMatrix.cc (double rcond): Replace with double rcon everywhere |
4169 to avoid shadowed variable warning | |
4170 (double ComplexMatrix::rcond (void) const): New method for | |
4171 reciprocal condition number calculation. | |
4172 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
4173 * CMatrix.h (double rcond): Replace with double rcon everywhere | |
4174 to avoid shadowed variable warning | |
4175 (double ComplexMatrix::rcond (void) const): New method for | |
4176 reciprocal condition number calculation. | |
4177 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
4178 * dMatrix.cc (double rcond): Replace with double rcon everywhere | |
4179 to avoid shadowed variable warning | |
4180 (double Matrix::rcond (void) const): New method for | |
4181 reciprocal condition number calculation. | |
4182 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
4183 * dMatrix.h (double rcond): Replace with double rcon everywhere | |
4184 to avoid shadowed variable warning | |
4185 (double Matrix::rcond (void) const): New method for | |
4186 reciprocal condition number calculation. | |
4187 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
4188 | |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
4189 * 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
|
4190 expression matching |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
4191 * 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
|
4192 (LIBOCTAVE_CXX_SOURCES): regex-match.cc here. |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
4193 |
7776 | 4194 2008-05-19 David Bateman <dbateman@free.fr> |
4195 | |
4196 * dSparse.cc: Replace some DGBCON with GPBCON where they are | |
4197 incorrectly used. | |
4198 | |
7774
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
4199 2008-05-13 David Bateman <dbateman@free.fr> |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
4200 |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
4201 * 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
|
4202 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
|
4203 is not zero. |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
4204 |
7758
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
4205 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
|
4206 |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
4207 * 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
|
4208 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
|
4209 * 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
|
4210 (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
|
4211 * 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
|
4212 * 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
|
4213 |
7757
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
4214 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
|
4215 |
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
4216 * 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
|
4217 |
7749
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
4218 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
|
4219 |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
4220 * 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
|
4221 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
|
4222 * 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
|
4223 Likewise. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
4224 (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
|
4225 Adjust all uses. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
4226 (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
|
4227 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
|
4228 (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
|
4229 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
|
4230 |
8040 | 4231 2008-04-30 Jaroslav Hajek <highegg@gmail.com> |
7740 | 4232 |
4233 * lo-mappers.cc (xlog2 (double)): Compute log (2), not log2 (2). | |
4234 (xlog2 (Complex), xlog2 (double, int&), xlog2 (Complex, int&)): | |
4235 New functions. | |
4236 * lo-mappers.h: Provide decls. | |
4237 | |
9501 | 4238 2008-04-25 Michael Goffioul <michael.goffioul@gmail.com> |
7735
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
4239 |
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
4240 * 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
|
4241 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
|
4242 |
7732
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
4243 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
|
4244 |
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
4245 * 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
|
4246 |
7727
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
4247 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
|
4248 |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
4249 * 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
|
4250 Fix for-loop condition. |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
4251 |
8040 | 4252 2008-04-19 Jaroslav Hajek <highegg@gmail.com> |
7725
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
4253 |
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
4254 * 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
|
4255 |
7717
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
4256 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
|
4257 |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
4258 * 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
|
4259 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
4260 * 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
|
4261 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
4262 * 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
|
4263 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
4264 * 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
|
4265 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
4266 |
7707
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
4267 2008-04-09 Michael Goffioul <michael.goffioul@gmail.com> |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
4268 |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
4269 * lo-mappers.cc (xround): Avoid floating-point overflow when input |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
4270 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
|
4271 |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
4272 * 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
|
4273 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
|
4274 __WIN32__ platforms. |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
4275 |
8040 | 4276 2008-04-07 Jaroslav Hajek <highegg@gmail.com> |
7700
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
4277 |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
4278 * dbleQR.h, dbleQR.cc (QR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
4279 * CmplxQR.h, CmplxQR.cc (ComplexQR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
4280 * 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
|
4281 CHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
4282 * CmplxCHOL.h, CmplxCHOL.cc (ComplexCHOL::insert_sym, |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
4283 ComplexCHOL::delete_sym, ComplexCHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
4284 |
7695
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
4285 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
|
4286 |
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
4287 * 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
|
4288 |
7671
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
4289 2008-03-27 Jaroslav Hajek <highegg@gmail.com> |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
4290 |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
4291 * oct-lookup.h: New file. |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
4292 |
7646
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
4293 2008-03-26 David Bateman <dbateman@feee.fr> |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
4294 |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
4295 * Array.cc (assignN): Additional fix for vector assignments. |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
4296 |
7642
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
4297 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
|
4298 |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
4299 * 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
|
4300 original matrix is empty. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
4301 * 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
|
4302 function. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
4303 * 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
|
4304 |
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
|
4305 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
|
4306 |
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
|
4307 * 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
|
4308 (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
|
4309 * 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
|
4310 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
|
4311 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
|
4312 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
4313 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
|
4314 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
4315 * lo-mappers.cc (xtrunc): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
4316 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
4317 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
4318 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
|
4319 |
7638
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
4320 * lo-specfun.cc (expm1, log1p): New functions. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
4321 * lo-specfun.h: Provide decls. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
4322 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
4323 * lo-mappers.cc (xroundb): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
4324 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
4325 |
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
|
4326 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
|
4327 |
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
|
4328 * 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
|
4329 array case, except for 64bit cases. |
9967 | 4330 |
7619 | 4331 2008-03-21 David Bateman <dbateman@free.fr> |
4332 | |
4333 * oct-sparse.h: Add headers for amd.h. | |
4334 | |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
4335 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
|
4336 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
4337 * 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
|
4338 method for diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
4339 * 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
|
4340 * 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
|
4341 * 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
|
4342 * 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
|
4343 * 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
|
4344 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
4345 * 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
|
4346 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
4347 * 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
|
4348 * 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
|
4349 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
4350 * 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
|
4351 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
4352 * Range.h (Matrix diag (octave_idx_type) const): Declare it. |
9967 | 4353 |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
4354 * CDiagMatrix.cc (ComplexColumnVector ComplexDiagMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
4355 (void) const): delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
4356 * 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
|
4357 * 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
|
4358 * 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
|
4359 delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
4360 * 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
|
4361 * 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
|
4362 * 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
|
4363 * 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
|
4364 * 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
|
4365 * 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
|
4366 * 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
|
4367 * 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
|
4368 * intNDArray.h (intNDArray<T> diag (void) const): ditto. |
9967 | 4369 |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
4370 * 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
|
4371 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
|
4372 * 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
|
4373 return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
4374 * 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
|
4375 terms of template classes function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
4376 * 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
|
4377 * 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
|
4378 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
|
4379 * boolMatrix.h (boolMatrix diag (octave_idx_type) const): Change |
9967 | 4380 return type. |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
4381 * 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
|
4382 const): Rewrite in terms of template classes function. |
9967 | 4383 |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
4384 * 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
|
4385 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
|
4386 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
4387 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
4388 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
4389 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
4390 * 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
|
4391 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
4392 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
4393 * CNDArray.cc (ComplexNDArray ComplexNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
4394 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
4395 * 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
|
4396 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
4397 * 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
|
4398 method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
4399 * 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
|
4400 * chNDArray.cc (charNDArray charNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
4401 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
4402 * 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
|
4403 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
4404 |
9967 | 4405 |
7609
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
4406 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
|
4407 |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
4408 * 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
|
4409 relative filenames. |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
4410 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
4411 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
|
4412 |
7605
48488cca0006
Fix for array indexing if original matrix is empty
David Bateman <dbateman@free.fr>
parents:
7602
diff
changeset
|
4413 * 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
|
4414 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
|
4415 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
4416 * 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
|
4417 const): New template function. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
4418 * 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
|
4419 const): ditto. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
4420 * 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
|
4421 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
|
4422 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
|
4423 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
|
4424 * 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
|
4425 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
|
4426 SparseBoolMatrix SparseComplexMatrix::map (bmapper) const): ditto. |
9967 | 4427 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
4428 2008-03-18 David Bateman <dbateman@free.fr> |
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
4429 |
7601
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
4430 * 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
|
4431 * 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
|
4432 * randpoison.c (xlgamma): Use lgamma if HAVE_LGAMMA is defined. |
9967 | 4433 |
7600
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
4434 * 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
|
4435 * CNDarray.cc (ComplexNDArray::min, CompelxNDArray::max): ditto. |
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
4436 * intNDarray.cc (intNDArray<T>::min, intNDArray<T>::max): ditto. |
9967 | 4437 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
4438 * 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
|
4439 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
|
4440 |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
4441 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
|
4442 |
7598
a89b3fa632ee
partial specialization for octave_int_fit_to_range
John W. Eaton <jwe@octave.org>
parents:
7597
diff
changeset
|
4443 * 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
|
4444 Use partial specialization for double values. |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
4445 |
7573
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
4446 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
|
4447 |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
4448 * 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
|
4449 * 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
|
4450 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
|
4451 * idx-vector.cc, idx-vector.h |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
4452 (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
|
4453 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
|
4454 (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
|
4455 (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
|
4456 (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
|
4457 |
7572
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
4458 2008-03-07 John W. Eaton <jwe@octave.org> |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
4459 |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
4460 * 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
|
4461 IDX_VEC_REP::idx_vector_rep (const boolNDArray&)): |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
4462 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
|
4463 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
|
4464 (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
|
4465 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4466 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
|
4467 |
9967 | 4468 * dbleQR.cc (QR::insert_col, QR::insert_row, |
7560
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
4469 QR::delete_col, QR::delete_row): Use 0-based indexing. |
9967 | 4470 * CmplxQR.cc (ComplexQR::insert_col, ComplexQR::insert_row, |
7560
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
4471 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
|
4472 |
7559
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
4473 * dbleCHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
4474 * CmplxHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
4475 * 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
|
4476 * 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
|
4477 * 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
|
4478 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
4479 2008-03-04 Jaroslav Hajek <highegg@gmail.com> |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
4480 |
7554
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
4481 * dbleCHOL.cc (CHOL::set, CHOL::update, CHOL::downdate): |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
4482 New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
4483 * dbleCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
4484 * CmplxCHOL.cc (ComplexCHOL::set, ComplexCHOL::update, |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
4485 ComplexCHOL::downdate): New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
4486 * CmplxCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
4487 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
4488 * 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
|
4489 QR::insert_row, QR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
4490 (QR::QR (const Matrix&, const MAtrix&)): New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
4491 * dbleQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
4492 * CmplxQR.cc (ComplexQR::update, ComplexQR::insert_col, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
4493 ComplexQR::delete_col, ComplexQR::insert_row, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
4494 ComplexQR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
4495 (ComplexQR::ComplexQR (const ComplexMatrix&, const ComplexMAtrix&)): |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
4496 New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
4497 * CmplxQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
4498 |
7549
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
4499 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
|
4500 |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
4501 * 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
|
4502 of < and > operators. |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
4503 |
7546
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
4504 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
|
4505 |
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
4506 * 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
|
4507 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
|
4508 |
7545 | 4509 2008-03-03 Jaroslav Hajek <highegg@gmail.com> |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
4510 |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
4511 * dMatrix.cc (Matrix::lssolve): Also avoid dgelsd lwork query bug |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
4512 in lssolve method that accepts column vector argument. Correct |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
4513 calculation of nlvl. |
7545 | 4514 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd. |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
4515 |
7537
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
4516 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
|
4517 |
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
4518 * 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
|
4519 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
4520 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
|
4521 |
7536 | 4522 * oct-rand.cc (get_dist_id): Fix typo. |
4523 (get_dist_id, octave_rand::distribution, octave_rand::scalar, | |
4524 fill_rand): Improve error messages. | |
4525 | |
7535
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
4526 * 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
|
4527 (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
|
4528 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
|
4529 (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
|
4530 |
7533
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
4531 * 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
|
4532 (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
|
4533 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
|
4534 (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
|
4535 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
|
4536 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
|
4537 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
|
4538 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
|
4539 (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
|
4540 (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
|
4541 (octave_rand::uniform_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
4542 octave_rand::normal_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
4543 octave_rand::exponential_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
4544 octave_rand::poisson_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
4545 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
|
4546 (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
|
4547 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
|
4548 (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
|
4549 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
4550 * 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
|
4551 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd |
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
4552 |
7521
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
4553 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
|
4554 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
4555 * 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
|
4556 specializations for signed and unsigned types. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
4557 (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
|
4558 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
|
4559 octave_int_helper class. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
4560 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
4561 * 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
|
4562 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
|
4563 with "template <>". |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
4564 |
7520 | 4565 2008-02-22 John W. Eaton <jwe@octave.org> |
4566 | |
4567 * CSparse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc, | |
4568 file-ops.cc, oct-group.cc, oct-shlib.cc, sparse-base-chol.h, | |
4569 sparse-dmsolve.cc: Use 0 instead of NULL. | |
4570 | |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4571 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
|
4572 |
9967 | 4573 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4574 (octave_idx_type) const): New method. |
9967 | 4575 * boolSparse.h (SparseBoolMatrix SparseBoolMatrix::diag |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4576 (octave_idx_type) const): Declare it. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4577 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4578 * 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
|
4579 factorization of xGETRF directly. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4580 * sparse-base-lu.cc (template <class lu_type, class lu_elt_type, |
9967 | 4581 class p_type, class p_elt_type> lu_type sparse_base_lu <lu_type, |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4582 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
|
4583 to simulate the retirn of xGETRF. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4584 * sparse-base-lu.h (template <class lu_type, class lu_elt_type, |
9967 | 4585 class p_type, class p_elt_type> lu_type sparse_base_lu <lu_type, |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4586 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
|
4587 (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
|
4588 * 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
|
4589 scaling. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4590 * SparseCmplxLU.cc: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4591 * 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
|
4592 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
|
4593 * SparseCmplxLU.h: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4594 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4595 * 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
|
4596 return permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4597 * 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
|
4598 * 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
|
4599 return row permutations as a vector. |
9967 | 4600 (ColumnVector Pc_vec (void) const): New method return column |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4601 permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4602 * 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
|
4603 (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
|
4604 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
4605 * oct-spparms.cc: Add sym_tol field. |
9967 | 4606 |
7505
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
4607 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
|
4608 |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
4609 * SparseComplexQR.cc (ComplexMatrix |
9967 | 4610 SparseComplexQR::SparseComplexQR_rep::Q |
7505
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
4611 (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
|
4612 * SparseComplexQR.h (ComplexMatrix |
9967 | 4613 SparseComplexQR::SparseComplexQR_rep::Q |
7505
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
4614 (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
|
4615 * 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
|
4616 * 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
|
4617 |
7503
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4618 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
|
4619 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4620 * boolNDArray.h (boolNDArray (const Array2<bool>&)): Delete. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4621 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4622 * Marray2.h (MArray2 (const Array2<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4623 MArray2 (const MArray2<U>&)): New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4624 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4625 * Array2.h (Array2 (const Array<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4626 Array2 (const Array<U>&, const dim_vector&)): |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4627 New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4628 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4629 * CColVector.cc (ComplexColumnVector::map): Forward to MArray::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4630 * dColVector.cc (ColumnVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4631 * CRowVector.cc (ComplexRowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4632 * dRowVector.cc (RowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4633 * CMatrix.cc (ComplexMatrix::map): Forward to MArray2::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4634 * dMatrix.cc (Matrix::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4635 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4636 * dNDArray.cc (NDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4637 * dNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4638 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4639 * CNDArray.cc (ComplexNDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4640 * CNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4641 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4642 * MArray2.h (MArray2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4643 * Array2.h (Array2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4644 * MArrayN.h (MArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4645 * ArrayN.h (ArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4646 * Array.h (Array<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4647 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4648 * functor.h: New file. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4649 * Makefile.in (INCLUDES): Add it to the list. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4650 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4651 2008-02-20 David Bateman <dbateman@free.fr> |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4652 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4653 * CColVector.h, CColVector.cc (ComplexColumnVector::apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4654 * dColVector.h, dColVector.cc (ColumnVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4655 * CRowVector.h, CRowVector.cc (ComplexRowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4656 * dRowVector.h, dRowVector.cc (RowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4657 * CMatrix.h, CMatrix.cc (ComplexMatrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4658 * dMatrix.h, dMatrix.cc (Matrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4659 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4660 * CSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4661 (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
|
4662 * CSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4663 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4664 * dSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4665 (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
|
4666 * dSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4667 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4668 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4669 * intNDArray.cc (abs, signum): Two new mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4670 * intNDArray.h (abs, signum): Declare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4671 * 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
|
4672 base type. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4673 |
7486
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
4674 2008-02-15 John W. Eaton <jwe@octave.org> |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
4675 |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
4676 * 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
|
4677 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
|
4678 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
4679 |
7482
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
4680 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
|
4681 |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
4682 * 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
|
4683 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
|
4684 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
|
4685 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
|
4686 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
|
4687 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
|
4688 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc: |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
4689 Don't check f77_exception_encountered. |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
4690 |
7477 | 4691 2008-02-12 John W. Eaton <jwe@octave.org> |
4692 | |
4693 * CMatrix.cc: Declare xilaenv instead of ilaenv. | |
4694 (ComplexMatrix::lssolve): Call xilaenv instead of ilaenv. | |
4695 | |
7476 | 4696 2008-02-12 Jason Riedy <ejr@cs.berkeley.edu> |
9967 | 4697 |
7480 | 4698 * Array.cc (ascending_compare, descending_compare): Remove |
4699 non-standard extern in the instantiations. | |
4700 | |
4701 * oct-sort.cc: Include <cstring> and sprinkle with std:: as needed. | |
4702 | |
7476 | 4703 * dMatrix.cc (ILAENV): Declare LAPACK Fortran function. |
4704 (Matrix::lssolve): Use ILAENV to query smlsiz. And add an ugly | |
4705 workaround for DGELSD's broken lwork query. The formula is from | |
4706 LAPACK's dgelsd.f source and allocates enough workspace to use an | |
4707 efficient algorithm in the short-and-fat case (n > m). | |
4708 * CMatrix.cc (ILAENV): Declare LAPACK Fortran function. | |
4709 (ComplexMatrix::lssolve): Use ILAENV to query smlsiz. And add an | |
4710 ugly workaround for DGELSD's broken lwork query, as with double. | |
4711 | |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
4712 2008-02-12 John W. Eaton <jwe@octave.org> |
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
4713 |
7470
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
4714 * sparse-sort.cc: Don't explicitly instantiate |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
4715 class octave_sort<octave_idx_vector_sort *>, |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
4716 class octave_sort<octave_idx_type>, or |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
4717 class octave_sort<octave_sparse_sort_idxl *>. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
4718 |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
4719 * Sparse.h (INSTANTIATE_SPARSE_SORT): Delete macro. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
4720 * 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
|
4721 |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
4722 * 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
|
4723 |
7466
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
4724 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
|
4725 |
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
4726 * 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
|
4727 |
7463
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
4728 2008-02-08 John W. Eaton <jwe@octave.org> |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
4729 |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
4730 * oct-sort.h (enum sortmode): Eliminate UNDEFINED. Change all |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
4731 uses of UNDEFINED to ASCENDING. |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
4732 |
7457 | 4733 2008-02-07 John W. Eaton <jwe@octave.org> |
4734 | |
7458 | 4735 * Range.cc (Range::sort_internal): Rename from sort. New arg, |
4736 ASCENDING, with default value of true. | |
4737 (Range::sort_internal (Array<octave_idx_type>&, bool)): New function. | |
4738 (Range::sort (octave_idx_type, sortmode) const): New function. | |
4739 (Range::sort (Array<octave_idx_type>&, octave_idx_type, sortmode) | |
4740 const): New function. | |
4741 * Range.h: Fix/provide decls. | |
4742 | |
7457 | 4743 * intNDArray.cc (intNDArray<T>::any (int)): Use != for comparison. |
4744 | |
7449 | 4745 2008-02-06 John W. Eaton <jwe@octave.org> |
4746 | |
4747 * Makefile.in ($(OPTS_INC)): Use mv instead of move-if-change. | |
4748 (stamp-prereq): Eliminate. | |
4749 (clean): Don't remove stamp-prereq. | |
4750 (libraries): Don't depend on stamp-prereq. | |
4751 (PREREQ): New macro. | |
4752 ($(MAKEDEPS)): Depend on $(PREREQ), not stamp-prereq. | |
4753 (distclean): Simplify with $(PREREQ). | |
4754 (OPT_BASE): New macro. | |
4755 (OPT_IN): Rename from OPTS_INC_DATA. Define in terms of OPT_BASE. | |
4756 (OPT_INC): Rename from OPTS_INC. Define in terms of OPT_BASE. | |
4757 | |
7448 | 4758 2008-02-05 John W. Eaton <jwe@octave.org> |
4759 | |
4760 * Makefile.in: Unconditionally include $(MAKEDEPS). | |
4761 Mark $(MAKEDEPS) as .PHONY targets if omit_deps is true. | |
4762 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4763 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> |
7443 | 4764 |
4765 * Array.cc (ascending_compare, descending_compare, | |
4766 Array<T>::sort): Declare explicit specialization for T=double to | |
4767 avoid symbol duplication error at link time. | |
4768 * Array-d.cc (ascending_compare, descending_compare): Declare and | |
4769 define as nonmember functions, not member functions of Array<T>. | |
4770 | |
7442 | 4771 2008-02-03 John W. Eaton <jwe@octave.org> |
4772 | |
4773 * Array-i.cc: Also instantiate Arrays for long long type if it exists. | |
4774 | |
4775 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> | |
4776 | |
4777 * Array.cc: Don't include Range.h. | |
4778 | |
7433 | 4779 2008-01-31 David Bateman <dbateman@free.fr> |
4780 | |
4781 * oct-sort.cc: conversion of int to octave_idx_type where needed | |
4782 for 64-bit builds. | |
4783 (IFLT): Allow IFLT macro to be overridden. | |
4784 * oct-sort.h: conversion of int to octave_idx_type where needed | |
4785 for 64-bit builds. | |
4786 (enum sortmode): Type of sort to perform. | |
4787 (vec_index): Simple class to aid in indexed sorts. | |
9967 | 4788 |
7433 | 4789 * Array.h ( Array<T> sort (octave_idx_type, sortmode) const, |
4790 Array<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
4791 sortmode) const): Array sorting methods. | |
4792 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT): Macros to | |
4793 instantiate the array sorting methods. | |
4794 * Array.cc (ascending_compare, descending_compare): New template | |
4795 functions for generic sort comparison. | |
4796 ( Array<T> Array<T>::sort (octave_idx_type, sortmode) const, | |
4797 Array<T> Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, | |
4798 sortmode) const): Array sorting functions based of octave_sort | |
4799 class. | |
9967 | 4800 * Array-C.cc: Instantiate the complex array sort methods. |
7433 | 4801 (IFLT): New macro to override the one in the |
4802 octave_sort class to avoid need for Complex < and > operators. | |
4803 (static double xabs (const Complex&)): Complex abs function | |
4804 avoiding std::abs(Inf) returning NaN with some compilers. | |
4805 (ascending_compare, descending compare): override template | |
4806 functions for complex comparison. | |
9967 | 4807 * Array-d.cc: Instantiate the double array sort methods. |
4808 (Array<double> Array<double>::sort (octave_idx_type, | |
4809 sortmode) const, Array<double> Array<double>::sort | |
4810 (Array<octave_idx_type> &, octave_idx_type, sortmode) const): | |
7433 | 4811 Array sorting functions based of octave_sort using uint64 sorting |
4812 on IEE754 doubles, for speed and correct sorting of Inf and NaN. | |
4813 (ascending_compare, descending compare): override template | |
4814 functions for double and uint64 comparison. | |
9967 | 4815 * Array-b.cc, Array-ch.cc, Array-i.cc, Array-s.cc, Array-str.cc: |
7433 | 4816 Instantiate the array sort methods. |
4817 * Array-idx-vec.cc: Null instantiation of array sort methods. | |
4818 * Array2.h, Array3.h, ArrayN.h (sort): 2, 3 and N-dimensional | |
4819 versions of the sort methods based on Array<T>::sort. | |
4820 | |
4821 * CSparse.cc, dSparse.cc: Remove inclusion of octa-sort.h. | |
4822 * Sparse.h ( Sparse<T> sort (octave_idx_type, sortmode) const, | |
4823 Sparse<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
4824 sortmode) const): Sparse sorting methods. | |
9967 | 4825 (INSTANTIATE_ARRAY_SORT): Macro to instantiate the sparse sorting |
7433 | 4826 methods. |
4827 * Sparse.cc: replace sort with lsort throughout to avoid shadowing | |
4828 of new sort method. | |
4829 (sparse_ascending_compare, sparse_descending_compare): New template | |
4830 functions for generic sort comparison. | |
4831 ( Sparse<T> Sparse<T>::sort (octave_idx_type, sortmode) const, | |
4832 Sparse<T> Sparse<T>::sort (Sparse<octave_idx_type> &, octave_idx_type, | |
4833 sortmode) const): Sparse sorting functions based of octave_sort | |
4834 class. | |
9967 | 4835 * Sparse-C.cc: Instantiate the complex sparse sort methods. |
7433 | 4836 (IFLT): New macro to override the one in the |
4837 octave_sort class to avoid need for Complex < and > operators. | |
4838 (static double xabs (const Complex&)): Complex abs function | |
4839 avoiding std::abs(Inf) returning NaN with some compilers. | |
4840 (sparse_ascending_compare, sparse_descending compare): override | |
4841 template functions for complex comparison. | |
9967 | 4842 * Sparse-d.cc: Instantiate the cdouble sparse sort methods. |
7433 | 4843 (sparse_ascending_compare, sparse_descending compare): override |
4844 template functions for double comparison. | |
4845 * Array-b.cc: Instantiate the sparse sort methods. | |
4846 | |
7422 | 4847 2008-01-25 Jaroslav Hajek <highegg@gmail.com> |
4848 | |
4849 * idx-vector.h (idx_vector::idx_vector_rep::range_base, | |
4850 idx_vector::idx_vector_rep::range_step, | |
4851 idx_vector::idx_vector_rep::range_step): New data members. | |
4852 (idx_vector::idx_vector_rep::idx_vector_rep): Initialize them. | |
4853 * idx-vector.cc (IDX_VEC_REP::sort, IDX_VEC_REP::is_colon_equiv, | |
4854 IDX_VEC_REP::init_state, IDX_VEC_REP::operator =, | |
4855 IDX_VECTOR_REP::idx_vector_rep): Handle range. | |
4856 | |
7416 | 4857 2008-01-18 Marco Caliari <marco.caliari@univr.it> |
4858 | |
4859 * dMatrix.cc (Matrix::expm): Correctly perform reverse permutation. | |
4860 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
4861 | |
7408 | 4862 2008-01-22 Michael Goffioul <michael.goffioul@gmail.com> |
7407 | 4863 |
4864 * oct-time.cc (octave_base_tim::init): Validate pointer argument; | |
4865 this fixes the "localtime(-1)" crash under Windows. | |
4866 | |
7400 | 4867 2008-01-18 John W. Eaton <jwe@octave.org> |
4868 | |
4869 * dMatrix.cc (solve_singularity_warning): New function. | |
4870 (Matrix::expm): Pass pointer to solve_singularity_warning to | |
4871 Matrix::solve method. Exit early if Matrix::solve fails. | |
4872 Limit sqpow value to avoid overflowing scale factor. | |
4873 * CMatrix.cc (solve_singularity_warning): New function. | |
4874 (ComplexMatrix::expm): Pass pointer to solve_singularity_warning to | |
4875 ComplexMatrix::solve method. Exit early if ComplexMatrix::solve fails. | |
4876 Limit sqpow value to avoid overflowing scale factor. | |
7402 | 4877 From Marco Caliari <marco.caliari@univr.it>. |
7400 | 4878 |
7356 | 4879 2008-01-10 Kim Hansen <kimhanse@gmail.com> |
4880 | |
4881 * Sparse.cc: New tests for slicing of sparse matrices. | |
4882 | |
7350 | 4883 2008-01-07 David Bateman <dbateman@free.fr> |
4884 | |
4885 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Don't break from | |
4886 loop if this test succeeds. | |
4887 | |
7342 | 4888 2008-01-03 David Bateman <dbateman@free.fr> |
4889 | |
4890 * MSparse.cc (SPARSE_A2A2_OP): If first arg is scalar zero, then | |
4891 need unary operator on remaining argument | |
4892 * Sparse-op-defs.h (SPARSE_SMSM_BIN_OP_1): ditto. | |
4893 | |
7334 | 4894 2007-12-21 John W. Eaton <jwe@octave.org> |
4895 | |
4896 Version 3.0.0 released. | |
4897 | |
7322 | 4898 2007-12-18 David Bateman <dbateman@free.fr> |
4899 | |
9967 | 4900 * Sparse.cc (template <class T> Sparse<T> Sparse<T>::index |
4901 (idx_vector&, int) const): Fix case indexing of non zero scalar | |
7322 | 4902 stored as a sparse matrix. |
9967 | 4903 (template <class T> Sparse<T> Sparse<T>::index (idx_vector&, |
7322 | 4904 idx_vector&, int) const): For the non permutated indexing case, |
4905 fix link list calculation and use. | |
4906 | |
7321 | 4907 2007-12-17 John W. Eaton <jwe@octave.org> |
4908 | |
4909 * Array.cc (Array<T>::indexN): Correctly handle scalar indexed by | |
4910 N-d array. | |
4911 | |
7318 | 4912 2007-12-17 David Bateman <dbateman@free.fr> |
4913 | |
4914 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Use ridx for row | |
4915 index. | |
4916 | |
7299 | 4917 2007-12-11 John W. Eaton <jwe@octave.org> |
4918 | |
4919 * Sparse.cc (Sparse<T>::index (idx_vector&, int) const): | |
4920 If indexing scalar with empty matrix, return empty array with same | |
4921 size as index. | |
4922 | |
7272 | 4923 2007-12-10 John W. Eaton <jwe@octave.org> |
4924 | |
7279 | 4925 * NLEqn.h (NLEqn::fval): New data member. Adjust constructors |
4926 and assignment operator. | |
4927 (NLEqn::function_value): New function. | |
4928 * NLEqn.cc (NLEqn::solve): If solution is successful, compute | |
4929 function value. | |
4930 | |
7272 | 4931 * file-ops.cc (file_ops::concat): New function. |
4932 * file-ops.h: Provide decl. | |
4933 | |
7270 | 4934 2007-12-07 John W. Eaton <jwe@octave.org> |
4935 | |
4936 * oct-time.cc (octave_base_tm::init): Only assign t->tm_zone if it | |
4937 is not 0. | |
4938 | |
7269 | 4939 2007-12-07 David Bateman <dbateman@free.fr> |
4940 | |
4941 * Sparse-op-defs.h (SPARSE_SMS_CMP_OP, SPARSE_SMS_BOOL_OP, | |
9967 | 4942 SPARSE_SSM_CMP_OP, SPARSE_SSM_BOOL_OP, SPARSE_SMSM_CMP_OP, |
7269 | 4943 SPARSE_SMSM_BOOL_OP, SPARSE_BASE_REDUCTION_OP): Use sparse |
4944 indexing where possible rather than the elem method. | |
4945 (SPARSE_REDUCTION_OP_ROW_EXPR, SPARSE_REDUCTION_OP_COL_EXPR, | |
4946 SPARSE_ANY_ALL_OP_ROW_CODE, SPARSE_ANY_ALL_OP_COL_CODE): | |
4947 Replace for new version of SPARSE_BASE_REDUCTION_OP. | |
4948 (SPARSE_ALL_OP): Specialize the initial value, and only treat dim | |
4949 = 0 directly. | |
4950 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::sumsq (int) | |
4951 const): Replace ROW_EXPR and COL_EXPR functions for new version of | |
4952 SPARSE_BASE_REDUCTION_OP. | |
4953 (SparseComplexMatrix SparseComplexMatrix::prod (int) const): | |
4954 Specialize the initial value, and only treat dim = 0 directly. | |
4955 * dSparse.cc (SparseMatrix SparseMatrix::sumsq (int) const): | |
4956 ditto. | |
4957 (SparseMatrix SparseMatrix::prod (int) const): ditto. | |
4958 | |
7265 | 4959 2007-12-06 John W. Eaton <jwe@octave.org> |
4960 | |
4961 * CMatrix.cc (ComplexMatrix::expm): Update pointers to internal | |
4962 data for npp and dpp after assignments. | |
4963 * dMatrix.cc (Matrix::expm): Use same method as ComplexMatrix::expm. | |
4964 | |
7253 | 4965 2007-12-04 John W. Eaton <jwe@octave.org> |
4966 | |
4967 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
4968 Do nothing if one index is empty. | |
4969 | |
7246 | 4970 2007-12-04 David Bateman <dbateman@free.fr> |
4971 | |
4972 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
4973 Resize matrix as well if one dimension of lhs is zero and the rhs | |
4974 index exceeds the lhs index. | |
4975 * Sparse.cc (assign1 (Sparse<LT>&, const Sparse<RT>&)): | |
4976 Don't resize to a smaller matrix for empty matrices with a max rhs | |
4977 index smaller than the non zero lhs index. | |
4978 | |
4979 2007-12-04 Michael Goffioul <michael.goffioul@gmail.com> | |
4980 | |
4981 * Array-util.h: Tag permute_vector_compare with OCTAVE_API. | |
4982 | |
7241 | 4983 2007-12-03 Moritz Borgmann <octave@moriborg.de> |
4984 | |
4985 * Array-util.cc (permute_vector_compare): Move here from Array.cc. | |
4986 * Array-util.h (permute_vector, permute_vector_compare): Provide decls. | |
4987 * Array.cc (permute_vector, permute_vector_compare): Delete. | |
4988 | |
7238 | 4989 2007-12-03 David Bateman <dbateman@free.fr> |
4990 | |
4991 * Sparse.cc (template <class LT, class RT> int assign | |
4992 (Sparse<LT>&, const Sparse<RT>&)): Only set return matrix size to | |
4993 rhs values if both no. rows and columns are zero. | |
4994 | |
7231 | 4995 2007-11-30 John W. Eaton <jwe@octave.org> |
4996 | |
7234 | 4997 * oct-sort.cc, oct-sort.h: Style fixes. |
4998 | |
7231 | 4999 * lo-math.h: New file. |
5000 * Makefile.in (INCLUDES): Add it to the list. | |
5001 * liboctave/Array2.h, liboctave/ArrayN.h, liboctave/CmplxDET.cc, | |
5002 liboctave/DASPK.cc, liboctave/DASPK.h, liboctave/DASRT.cc, | |
5003 liboctave/DASRT.h, liboctave/DASSL.cc, liboctave/DASSL.h, | |
5004 liboctave/LSODE.cc, liboctave/LSODE.h, liboctave/NLEqn.h, | |
5005 liboctave/Quad.h, liboctave/Range.cc, liboctave/dbleDET.cc, | |
5006 liboctave/lo-cieee.c, liboctave/lo-ieee.cc, | |
5007 liboctave/lo-mappers.cc, liboctave/oct-time.cc, | |
5008 liboctave/oct-time.h, liboctave/randgamma.c, | |
5009 liboctave/randmtzig.c, liboctave/randpoisson.c: Include lo-math.h | |
5010 instead of cmath or math.h. | |
5011 * lo-mappers.h: Don't include sunmath.h here. | |
5012 | |
7198 | 5013 2007-11-26 John W. Eaton <jwe@octave.org> |
5014 | |
5015 * idx-vector.h (idx_vector::idx_vector_rep (const intNDArray<U>&)): | |
5016 Eliminate unnecessary second arg from call to tree_to_mat_idx. | |
5017 | |
5018 * oct-inttypes.h (operator bool, operator char): Delete. | |
5019 (bool_value, char_value, double_value, float_value): New functions. | |
5020 | |
7189 | 5021 2007-11-26 David Bateman <dbateman@free.fr> |
5022 | |
5023 * intNDArray.cc (template <class T> intNDArray<T> | |
5024 intNDArray<T>::max (int) const, template <class T> intNDArray<T> | |
5025 intNDArray<T>::max (ArrayN<octave_idx_type>&, int) const, | |
9967 | 5026 template <class T> intNDArray<T> intNDArray<T>::min (int) const, |
5027 template <class T> intNDArray<T> intNDArray<T>::min | |
7189 | 5028 (ArrayN<octave_idx_type>&, int) const): New methods for integer |
5029 classes. | |
5030 * intNDArray.h (class intNDArray): Add min/max methods | |
5031 * mx-op-defs.h (MIXMAX_DECLS, MINMAX_FCNS, SND_MINMAX_FCN, | |
5032 NDS_MINMAX_FCN, NDND_MINMAX_FCN): New macro for instantiation of | |
5033 min/max functions. | |
9967 | 5034 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, |
7189 | 5035 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h |
5036 (MINMAX_DECLS(T)): Declare the min/max functions for integer | |
5037 types. | |
9967 | 5038 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, |
7189 | 5039 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc |
5040 (MINMAX_FCNS(T)): Instantiate the min/max functions for integer | |
5041 types. | |
5042 | |
5043 * Arrayc.cc (Array<T>::index (idx_vector&, idx_vector&, int, | |
5044 const T& rfv) const): If ndims != 2 call ND version of index. | |
5045 | |
7176 | 5046 2007-11-14 John W. Eaton <jwe@octave.org> |
5047 | |
7178 | 5048 * oct-inttypes.h (opeator T (void) const): New conversion operator. |
5049 | |
7176 | 5050 * lo-specfun.cc (zbesi): When alpha is negative, don't limit |
5051 correction to half-integer values. From Eric Chassande-Mottin | |
5052 <echassandemottin@gmail.com>. | |
5053 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
5054 2007-11-07 Michael Goffioul <michael.goffioul@gmail.com> |
7124 | 5055 |
5056 * dMatrix.cc, CMatrix.cc: Help MSVC compiler to resolve | |
5057 ambiguities related to math functions (in C++ mode). | |
5058 | |
7102 | 5059 2007-11-06 David Bateman <dbateman@free.fr> |
5060 | |
7113 | 5061 * intNDArray.cc (intNDArray<T> intNDArray<T>::sum (int) const): |
5062 New method. | |
5063 * intNDarray.h (intNDArray sum (int) const): Declare it. | |
5064 * boolNDArray.cc (boolNDArray boolNDArray::sum (int) const): | |
5065 New method. | |
5066 * boolNDarray.cc (boolNDArray sum (int) const): Declare it. | |
7102 | 5067 * MArray-def.h (MARRAY_NORM_BODY): Scale frobenius norm by infinity |
5068 norm to avoid issues of over- and underflow. From Rolf Fabian | |
5069 <Rolf.Fabian@gmx.de>. | |
5070 | |
7081 | 5071 2007-10-30 David Bateman <dbateman@free.fr> |
5072 | |
5073 * DASRT-opts.in, LSODE-opts.in: Doc fixes for small book format. | |
5074 | |
7079 | 5075 2007-10-30 John W. Eaton <jwe@octave.org> |
5076 | |
5077 * CMatrix.cc (lssolve): Compute size of rwork and iwork arrays. | |
5078 * dMatrix.cc (lssolve): Compute size of iwork array. | |
5079 | |
7076 | 5080 2007-10-29 David Bateman <dbateman@free.fr> |
5081 | |
9967 | 5082 * CMatrix.h (lssolve (const Matrix&, octave_idx_type&, |
5083 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
5084 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
5085 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
5086 double& rcond) const, lssolve (const ComplexColumnVector&, | |
7076 | 5087 octave_idx_type&, octave_idx_type&, double& rcond) const): New |
5088 declarations. | |
9967 | 5089 * CMatrix.cc (lssolve (const Matrix&, octave_idx_type&, |
5090 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
5091 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
5092 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
5093 double& rcond) const, lssolve (const ComplexColumnVector&, | |
7076 | 5094 octave_idx_type&, octave_idx_type&, double& rcond) const): New |
5095 methods. | |
5096 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
9967 | 5097 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, |
7076 | 5098 octave_idx_type&, double&) const): Also return rcond from the |
5099 singular values returned by XGELSD. | |
9967 | 5100 * dMatrix.h (lssolve (const Matrix&, octave_idx_type&, |
5101 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
5102 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
5103 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
5104 double& rcond) const, lssolve (const ComplexColumnVector&, | |
7076 | 5105 octave_idx_type&, octave_idx_type&, double& rcond) const): New |
5106 declarations. | |
9967 | 5107 * dMatrix.cc (lssolve (const Matrix&, octave_idx_type&, |
5108 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
5109 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
5110 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
5111 double& rcond) const, lssolve (const ComplexColumnVector&, | |
7076 | 5112 octave_idx_type&, octave_idx_type&, double& rcond) const): New |
5113 methods. | |
5114 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
9967 | 5115 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, |
7076 | 5116 octave_idx_type&, double&) const): Also return rcond from the |
5117 singular values returned by XGELSD. | |
9967 | 5118 |
7072 | 5119 2007-10-26 David Bateman <dbateman@free.fr> |
5120 | |
5121 * dMatrix.cc (Matrix::lssolve): Use xGELSD for rank deficient | |
5122 matrices to avoid reliability issues with xGELSY. | |
5123 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. | |
7071 | 5124 |
7065 | 5125 2007-10-25 John W. Eaton <jwe@octave.org> |
5126 | |
5127 * oct-time.cc (octave_gmtime::init, octave_localtime::init): | |
5128 Call unix_time on arg instead of relying on conversion operator. | |
5129 | |
5130 * oct-time.h (octave_time::double_value): New function. | |
5131 (octave_time::operator double () const): Delete. | |
5132 (octave_time::operator time_t () const): Delete. | |
5133 | |
7058 | 5134 2007-10-24 John W. Eaton <jwe@octave.org> |
5135 | |
5136 * strptime.c: Also compile if OCTAVE_HAVE_BROKEN_STRPTIME is defined. | |
5137 | |
7052 | 5138 2007-10-23 John W. Eaton <jwe@octave.org> |
5139 | |
5140 * CRowVector.cc (operator * const ComplexRowVector&, const | |
5141 ComplexColumnVector&)): Delete spurious code left from patch. | |
5142 | |
7048 | 5143 2007-10-22 Kim Hansen <kimhanse@gmail.com> |
5144 | |
5145 * chMatrix.cc, lo-utils.cc, oct-env.cc, oct-uname.cc, | |
5146 sparse-sort.cc: Include <cstring>. | |
5147 | |
7036 | 5148 2007-10-17 John W. Eaton <jwe@octave.org> |
5149 | |
5150 * oct-sparse.h: Don't include metis.h. | |
5151 | |
5152 * dSparse.cc (SparseMatrix::fsolve): Delete special code for METIS. | |
5153 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
5154 * sparse-base-chol.cc (sparse_base_chol<chol_type, chol_elt, | |
5155 p_type>::sparse_base_chol_rep::init): Likewise. | |
5156 | |
7033 | 5157 2007-10-16 John W. Eaton <jwe@octave.org> |
5158 | |
5159 * dMatrix.cc (Matrix::inverse): Only check rcond == 0 if the | |
5160 matrix is hermitian or calc_cond is true. | |
5161 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
5162 | |
7016 | 5163 2007-10-12 John W. Eaton <jwe@octave.org> |
5164 | |
5165 * Change copyright notices in all files that are part of Octave to | |
5166 GPLv3 or any later version. | |
5167 | |
7007 | 5168 2007-10-11 Brian Gough <bjg@network-theory.co.uk> |
5169 | |
5170 * DASSL-opts.in, LSODE-opts.in: Spelling fixes. | |
5171 | |
7001 | 5172 2007-10-10 Olli Saarela <Olli.Saarela@kcl.fi> |
5173 | |
5174 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in: Spelling fixes. | |
5175 | |
7000 | 5176 2007-10-10 John W. Eaton <jwe@octave.org> |
5177 | |
5178 * LPsolve.h, LPsolve.cc: Delete. | |
5179 * Makefile.in: Remove them from the INCLUDES and | |
5180 LIBOCTAVE_CXX_SOURCES lists. | |
5181 | |
6989 | 5182 2007-10-09 John W. Eaton <jwe@octave.org> |
5183 | |
6996 | 5184 * oct-time.cc (octave_strptime::init): Initialize t.tm_mon to -1 |
5185 and t.tm_year to INT_MIN before call to oct_strptime. Adjust | |
5186 values to zero after call if they remain unchanged. | |
5187 | |
6989 | 5188 * dSparse.cc (SparseMatrix::all_elements_are_zero): New function. |
5189 * dNDArray.cc (NDArray::all_elements_are_zero): New function. | |
5190 | |
6988 | 5191 2007-10-09 David Bateman <dbateman@free.fr> |
5192 | |
6995 | 5193 * oct-time.cc (octave_strptime::init): Only call mktime if mday is |
5194 valud and mon and year are also filled in. | |
5195 | |
6990 | 5196 * Array2.h (Array2<T>::Array2(const dim_vector&), |
5197 Array2<T>::Array(const dim_vector&, const T&)): Check that | |
5198 dim_vector is 2 dimensional. | |
5199 | |
6988 | 5200 * Sparse.cc (Sparse<T> Sparse<T>::index (idx_vector&, idx_vector&, |
5201 int)): Remove a for loop in the random indexing case at the | |
9967 | 5202 expense of maintaining a set of linked lists of indices that point |
6988 | 5203 to the same column in the original matrix. |
5204 (int assign (Sparse<LT>&, Sparse<RT>)): Take a const copy of lhs | |
5205 and use it on the RHS of expressions to avoid unnecessary calls to | |
5206 make_unique. | |
5207 | |
6979 | 5208 2007-10-08 David Bateman <dbateman@free.fr> |
5209 | |
5210 * oct-rl-edit. (typedef rl_quoting_fcn_ptr, rl_dequoting_fcn_ptr, | |
5211 rl_char_is_quoted_fcn_ptr, rl_command_fcn_ptr): New typedefs | |
5212 for readline compatible functions. | |
5213 (octave_rl_redisplay): Redisplay the current line of text. | |
5214 (octave_rl_newline): Change interface to the same | |
5215 as used by the equivalent readline function itself. | |
5216 (octave_rl_filename_quoting_desired, | |
5217 octave_rl_set_filename_quote_characters, | |
5218 octave_rl_set_completer_quote_characters, | |
5219 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
5220 octave_rl_set_char_is_quoted_function): New functions to control | |
5221 readline filename quoting and line acceptace. | |
5222 * oct-rl-edit.c (octave_rl_newline): Change interface to the same | |
5223 as used by the equivalent readline function itself. | |
5224 (octave_rl_redisplay): Redisplay the current line of text. | |
5225 (octave_rl_filename_quoting_desired, | |
5226 octave_rl_set_filename_quote_characters, | |
5227 octave_rl_set_completer_quote_characters, | |
5228 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
5229 octave_rl_set_char_is_quoted_function): New functions to control | |
5230 readline filename quoting and line acceptace. | |
5231 * cmd-edit.h (typedef quoting_fcn, typedef dequoting_fcn, | |
5232 typedef char_is_quoted_fcn, user_accept_line_fcn): New typedefs | |
5233 to map C++ function to readline compatible functions. | |
5234 (set_filename_quote_characters): New function to set the | |
5235 characters to if they appear in a filename that force the filename | |
5236 to be quoted. | |
5237 (set_completer_quote_characters): The characters that the readline | |
5238 completion function considers as quotation characters. | |
5239 (set_quoting_function, set_dequoting_function, | |
5240 set_char_is_quoted_function, set_user_accept_line_function): | |
5241 Functions to set the Octave functions to perform quoting and the | |
5242 acceptance of a line of text by readline. | |
5243 (get_quoting_function, get_dequoting_function, | |
5244 get_char_is_quoted_function, get_user_accept_line_function): | |
5245 Functions to get the above functions. | |
5246 (accept_line): New method for the command_editor to accept a line | |
5247 of text. | |
5248 (file_quoting_desired): Function to set whether readline should | |
5249 attempt to quote filenames. | |
9967 | 5250 (do_set_filename_quoting_characters, |
6979 | 5251 do_set_completer_quote_characters, do_set_quoting_function, |
5252 do_set_dequoting_function, do_set_char_is_quoted_function, | |
5253 do_set_user_accept_line_function, do_get_quoting_function, | |
5254 do_get_dequoting_function, do_get_char_is_quoted_function, | |
5255 do_get_user_accept_line_function, do_filename_quoting_desired): | |
5256 Virtual functions to control the behavior of readline quoting and | |
5257 acceptance of lines. | |
5258 (do_accept_line): Virtual function for the accept line function. | |
9967 | 5259 * cmd-edit.cc (class gnu_readline do_set_filename_quote_characters, |
6979 | 5260 do_completer_quote_characters, do_set_quoting_function, |
5261 do_set_dequoting_function, do_set_char_is_quoted_function, | |
5262 do_set_user_accept_line_function, do_get_quoting_function, | |
9967 | 5263 do_get_dequoting_function, do_get_user_accept_line_function, |
6979 | 5264 do_accept_line, do_filename_quoting_desired, command_quoter, |
5265 command_dequoter, command_char_is_quoted, command_accept_line): | |
9967 | 5266 New functions in gnu_readline class to control filename quoting |
6979 | 5267 and line acceptance. |
5268 (quoting_function, dequoting_function, char_is_quoted_function, | |
5269 user_accept_line_function): private variable to store functions | |
5270 supplied for readline quoting and line acceptance. | |
5271 (gnu_readline::gnu_readline): Also set the new function pointers | |
5272 to zero. | |
5273 (gnu_readline::do_newline): Adapt to new octave_rl_newline | |
5274 interface. | |
5275 (gnu_readeline::operate_and_get_next): Use new accept_line | |
5276 function rather than newline. | |
5277 (default_ommand_editor::do_accept_line): New method. | |
9967 | 5278 (class command_editor set_filename_quote_characters, |
6979 | 5279 set_completer_quote_characters, set_quoting_function, |
5280 set_dequoting_function, set_char_is_quoted_function, | |
5281 set_user_accept_line_function, get_quoting_function, | |
9967 | 5282 get_dequoting_function, get_user_accept_line_function, |
6979 | 5283 accept_line, filename_quoting_desired): New functions checking |
5284 instance before calling virtual function. | |
5285 | |
5286 * CMatrix.h, dMatrix.h, boolMatrix.h, chMatrix.h, MArray2.h, | |
5287 Array2.h: Add dim_vector constructors. | |
5288 * charNDArray.h (charNDArray (const dim_vector&)): Add missing | |
9967 | 5289 const to dim_vector constructors. |
6979 | 5290 * boolMatrix.cc, chMatrix.cc, intNDArray.cc (diag (void), diag |
5291 (octave_idx_type)): New methods to constructor diagonal matrices. | |
5292 * boolMatrix.h, chMatrix.h, intNDArray.h (diag (void), diag | |
5293 (octave_idx_type)): Declare them. | |
5294 | |
6969 | 5295 2007-10-06 John W. Eaton <jwe@octave.org> |
5296 | |
5297 * lo-specfun.cc: (zlgamma): Delete. | |
5298 (xgamma): Use C library gamma function if available. | |
5299 (xlgamma): Use C library lgamma function if available. | |
5300 (xlgamma) [! HAVE_LGAMMA]: Allow calculation for any value of X | |
5301 other than NaN or Inf. | |
5302 | |
6961 | 5303 2007-10-05 John W. Eaton <jwe@octave.org> |
5304 | |
5305 * lo-specfun.cc (zlgamma): New function. | |
5306 | |
6959 | 5307 2007-10-04 John W. Eaton <jwe@octave.org> |
5308 | |
5309 * oct-sort.cc (octave_sort<T>::binarysort): Remove register | |
5310 qualifiers on local variables. | |
5311 | |
6958 | 5312 2007-10-04 Marco Caliari <mcaliari@math.unipd.it> |
5313 | |
5314 * CMatrix.cc (ComplexMatrix::expm): Limit shift to values less | |
5315 than log(realmax) to avoid issues with NaN. | |
5316 | |
6940 | 5317 2007-10-01 John W. Eaton <jwe@octave.org> |
5318 | |
6941 | 5319 * oct-time.cc (octave_strptime::init): Call mktime to propertly |
5320 initialize wday and yday. | |
5321 From Matthias Drochner <m.drochner@fz-juelich.de>. | |
5322 | |
6940 | 5323 * cmd-edit.cc (command_editor::do_decode_prompt_string): Don't |
5324 insert extra '\001' when decoding \[ and \]. | |
5325 | |
6926 | 5326 2007-09-26 David Bateman <dbateman@free.fr> |
5327 | |
5328 * dMatrix.cc (lssolve): Replace the use of xGELSS with xGELSY with | |
5329 is much faster and no less accurate. | |
5330 * CMatrix.cc (lssolve): ditto. | |
5331 | |
6924 | 5332 2007-09-25 David Bateman <dbateman@free.fr> |
5333 | |
5334 * dMatrix.cc (utsolve, ltsolve, fsolve, lssolve): Allow | |
5335 zero dimensioned matrices. | |
9967 | 5336 * CMatrix.cc (utsolve, ltsolve, fsolve, lssolve): ditto. |
6924 | 5337 * dSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): |
5338 ditto. | |
5339 * CSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
5340 ditto. | |
5341 * SparseQR.cc (SparseQR::SparseQR_rep::C, qrsolve): ditto. | |
5342 * SparseCmplxQR.cc (SparseComplexQR::SparseComplexQR_rep::C, | |
5343 qrsolve): ditto. | |
5344 * sparse-dmsolve.cc (dmsolve): ditto. | |
5345 | |
6922 | 5346 2007-09-21 John W. Eaton <jwe@octave.org> |
5347 | |
5348 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): | |
5349 Also allow resizing empty LHS if it is 1x0 or 0xN. | |
5350 | |
6916 | 5351 2007-09-19 John W. Eaton <jwe@octave.org> |
5352 | |
5353 * cmd-edit.cc (command_editor::remove_startup_hook): | |
5354 Fix cut-and-paste error. | |
6917 | 5355 (gnu_readline::set_startup_hook): Only set hook function if new |
5356 function is different from the current one. | |
6916 | 5357 |
6913 | 5358 2007-09-18 John W. Eaton <jwe@octave.org> |
5359 | |
5360 * cmd-edit.h, cmd-edit.cc (command_editor::startup_hook_set, | |
5361 command_editor::event_hook_set): New static data. | |
5362 (default_command_editor::set_startup_hook, | |
5363 gnu_readline::set_startup_hook, | |
5364 default_command_editor::restore_startup_hook, | |
5365 gnu_readline_restore_event_hook): | |
5366 Rename from do_set_startup_hook and do_set_event_hook. | |
5367 (gnu_readline::operate_and_get_next): Call | |
5368 command_editor::add_startup_hook, not | |
5369 command_editor::set_startup_hook. | |
5370 (command_editor::startup_handler, command_editor::event_handler): | |
5371 New functions. | |
5372 (command_editor::add_startup_hook, command_editor::add_event_hook, | |
5373 command_editor::remove_startup_hook, | |
5374 command_editor::remove_event_hook): Rename from set_startup_hook | |
5375 and restore_startup_hook. Handle hook sets here. | |
5376 * cmd-edit.cc (gnu_history::do_goto_mark): | |
5377 Call remove_startup_hook instead of restore_startup_hook. | |
5378 | |
6907 | 5379 2007-09-17 John W. Eaton <jwe@octave.org> |
5380 | |
5381 * lo-utils.cc (octave_read_complex, octave_read_double): Skip | |
5382 leading whitespace. | |
5383 | |
6897 | 5384 2007-09-13 John W. Eaton <jwe@octave.org> |
5385 | |
5386 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
5387 octave_read_complex): Use istream::get instead of >> to read | |
5388 individual characters. | |
5389 | |
6884 | 5390 2007-09-10 John W. Eaton <jwe@octave.org> |
5391 | |
5392 * Array.cc (assign1): Don't call make_unique for invalid assignment. | |
5393 | |
5394 2007-09-10 David Bateman <dbateman@free.fr> | |
5395 | |
5396 * Array.h (Array<T>::make_unique): Make public so that the | |
5397 ::assign functions can access it directly. | |
5398 * Array.cc (Array<T>::maybe_delete_elements_1(idx_vector&), | |
5399 Array<T>::maybe_delete_elements_1(idx_vector&), | |
5400 Array<T>::maybe_delete_elements(idx_vector&, idx_vector&), | |
5401 Array<T>::maybe_delete_elements(Array<idx_vector>&, const T&)): | |
5402 Use xelem for non const RHS to avoid call to make_unique. | |
5403 (int assign1 (Array<LT>&, const Array<RT>&, const LT&)): Use | |
5404 xelem for LHS and call lhs.make_unique() only once. Special case | |
5405 the is_colon index case and use Array<T>::xelem(octave_idx_type) | |
5406 rather than Array<T>::xelem(octave_idx_type,octave_idx_type) and | |
5407 bring the additional multiplication out of the inner loop. | |
5408 (int assign2 (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
5409 (int assignN (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
9967 | 5410 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep |
6884 | 5411 (const Range& r)): Don't use init_state() method but special case |
5412 as with a Range can avoid exhaustive search. | |
5413 | |
6881 | 5414 2007-09-07 John W. Eaton <jwe@octave.org> |
5415 | |
5416 * Array.cc (Array<T>::fortran_vec): Call make_unique instead of | |
5417 manipulating rep directly. | |
5418 | |
5419 * Array.h (idx, idx_count): Declare mutable. | |
5420 (Array<T>::set_index, Array<T>::clear_index, Array<T>::value): | |
5421 Now const. | |
5422 | |
6867 | 5423 2007-09-06 David Bateman <dbateman@free.fr> |
5424 | |
9967 | 5425 * Array-util.cc (increment_index): dimensions can have singleton |
5426 trailing dimensions. | |
5427 * Array.h (range_error, xelem, checkelem, elem, operator ()): | |
5428 Modify use of Array<int> to Array<octave_idx_type> and adjust | |
5429 where necessary. | |
5430 * Array.cc (range_error): ditto. | |
5431 * MArrayN.h (permute, ipermute): ditto. | |
5432 * ArrayN.h (permute, ipermute): ditto. | |
5433 * so-array.cc (streamoff_array::compute_index): ditto. | |
5434 * so-array.h (compute_index): ditto. | |
5435 * CMattrix.cc (ComplexMatrix::exmpm): ditto. | |
6867 | 5436 |
6840 | 5437 2007-08-29 David Bateman <dbateman@free.fr> |
5438 | |
9967 | 5439 * dSparse.cc (SparseMatrix SparseMatrix::inverse (MatrixType &, |
5440 octave_idx_type&, double&, int, int)): Calculate with LU even for | |
5441 matrices marked as singular. | |
5442 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::inverse ( | |
5443 MatrixType &, octave_idx_type&, double&, int, int)): ditto. | |
5444 * dMatrix.cc (Matrix Matrix::inverse (MatrixType &, octave_idx_type&, | |
5445 double&, int, int)): ditto. If rcond==0 force matrix of infinities. | |
5446 * dMatrix.cc (ComplexMatrix ComplexMatrix::inverse (MatrixType &, | |
5447 octave_idx_type&, double&, int, int)): ditto. | |
6840 | 5448 |
6838 | 5449 2007-08-27 John W. Eaton <jwe@octave.org> |
5450 | |
5451 * oct-env.cc (octave_env::rooted_relative_pathname, | |
5452 octave_env::do_rooted_relative_pathname): New functions. | |
5453 * oct-env.h: Provide decls. | |
5454 | |
6823 | 5455 2007-08-24 David Bateman <dbateman@free.fr> |
5456 | |
9967 | 5457 * MSparse.h (MSparse<T>& insert (const Sparse<T>&, |
5458 const Array<octave_idx_type>&)): New method. | |
5459 (MSparse (const dim_vector&, octave_idx_type)): Ditto. | |
5460 * dSparse.h (SparseMatrix& SparseMatrix::insert (const | |
5461 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
5462 (SparseMatrix (const dim_vector&, octave_idx_type)): ditto. | |
5463 * dSparse.cc (SparseMatrix& SparseMatrix::insert (const | |
5464 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
5465 * boolSparse.h (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
5466 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
5467 * boolSparse.cc (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
5468 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
5469 * CSparse.h (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
5470 SparseMatrix&, const Array<octave_idx_type>&), | |
5471 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
5472 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
5473 (SparseComplexMatrix (const dim_vector&, octave_idx_type)): ditto. | |
5474 * CSparse.cc (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
5475 SparseMatrix&, const Array<octave_idx_type>&), | |
5476 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
5477 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
6823 | 5478 |
6817 | 5479 2007-08-19 David Bateman <dbateman@free.fr> |
5480 | |
5481 * Sparse.cc (Sparse<T>::permute): Avoid shadowing warning. | |
5482 | |
6813 | 5483 2007-08-14 John W. Eaton <jwe@octave.org> |
5484 | |
5485 * Sparse.cc (Sparse<T>::permute): permutation vector is zero based. | |
5486 Simplify. | |
6814 | 5487 (Sparse<T>::reshape): Warn about reshaping to N-d array. |
6813 | 5488 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
5489 2007-08-10 Michael Goffioul <michael.goffioul@gmail.com> |
6810 | 5490 |
5491 * file-stat.cc (file_stat::update_internal) [__WIN32__]: | |
5492 Remove trailing dir separator when stat'ing directory except for | |
5493 root directory. | |
5494 | |
6796 | 5495 2007-07-25 David Bateman <dbateman@free.fr> |
9967 | 5496 |
5497 * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" | |
6796 | 5498 to work. |
5499 | |
6764 | 5500 2007-06-04 David Bateman <dbateman@free.fr> |
5501 | |
5502 * oct-inttypes.h (octave_int<T>& operator <<= (const T2&), | |
5503 octave_int<T>& operator >>= (const T2&)): Make shift operators | |
5504 perform a twos complement arithmetic shift for both signed and | |
5505 unsigned integers regardless of compiler implementations. | |
5506 | |
6708 | 5507 2007-06-13 Michael Goffioul <michael.goffioul@swing.be> |
5508 | |
6719 | 5509 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): For CXSparse 2.2 and greater |
5510 use cs_complex_t(0,0) for the complex zero. | |
5511 | |
6708 | 5512 * MArray-ch.cc, MArray-d.cc, MArray-i.cc, MArray-s.cc: |
5513 Sprinkle class instantiations with OCTAVE_API as needed. | |
5514 | |
5515 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY, | |
5516 INSTANTIATE_ARRAY_AND_ASSIGN): New arg, API. Change all uses. | |
5517 * MArray-defs.h (MARRAY_OP_ASSIGN_DECL, MARRAY_OP_ASSIGN_DECLS, | |
5518 MARRAY_OP_ASSIGN_FWD_DECLS, MARRAY_OP_ASSIGN_FRIENDS, | |
5519 MARRAY_OP_ASSIGN_DEFS, MARRAY_UNOP, MARRAY_UNOP_DECLS, | |
5520 MARRAY_UNOP_FWD_DECLS, MARRAY_UNOP_FRIENDS, MARRAY_UNOP_DEFS, | |
5521 MARRAY_BINOP_DECL, MARRAY_BINOP_DECLS, MARRAY_AA_BINOP_DECLS, | |
5522 MDIAGARRAY2_DAS_BINOP_DECLS, MDIAGARRAY2_SDA_BINOP_DECLS, | |
5523 MDIAGARRAY2_DADA_BINOP_DECLS, MARRAY_BINOP_FWD_DECLS, | |
5524 MDIAGARRAY2_BINOP_FWD_DECLS, MARRAY_BINOP_FRIENDS, | |
5525 MDIAGARRAY2_BINOP_FRIENDS, MARRAY_BINOP_DEFS, | |
5526 MDIAGARRAY2_BINOP_DEFS, MARRAY_OPS_FORWARD_DECLS, | |
5527 MDIAGARRAY2_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS, | |
5528 MDIAGARRAY2_OPS_FRIEND_DECLS, INSTANTIATE_MARRAY_FRIENDS, | |
5529 INSTANTIATE_MARRAY2_FRIENDS, INSTANTIATE_MARRAYN_FRIENDS, | |
5530 INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. | |
5531 * MSparse-defs.h (SPARSE_OP_ASSIGN_DECL, SPARSE_OP_ASSIGN_DECLS, | |
5532 SPARSE_OP_ASSIGN_FWD_DECLS, SPARSE_OP_ASSIGN_FRIENDS, | |
5533 SPARSE_OP_ASSIGN_DEFS, SPARSE_UNOP, SPARSE_UNOP_DECLS, | |
5534 SPARSE_UNOP_FWD_DECLS, SPARSE_UNOP_FRIENDS, SPARSE_UNOP_DEFS, | |
5535 SPARSE_BINOP_DECL, SPARSE_BINOP_DECLS, SPARSE_AA_BINOP_DECLS, | |
5536 SPARSE_BINOP_FWD_DECLS, SPARSE_BINOP_FRIENDS, SPARSE_BINOP_DEFS, | |
5537 SPARSE_OPS_FORWARD_DECLS, SPARSE_OPS_FRIEND_DECLS, | |
5538 INSTANTIATE_SPARSE_FRIENDS): Ditto. | |
5539 * Sparse-op-defs.h (SPARSE_BIN_OP_DECL, SPARSE_CMP_OP_DECL, | |
5540 SPARSE_BOOL_OP_DECL, SPARSE_SMS_BIN_OP_DECLS, | |
5541 SPARSE_SMS_CMP_OP_DECLS, SPARSE_SMS_EQNE_OP_DECLS, | |
5542 SPARSE_SMS_BOOL_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
5543 SPARSE_SMS_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
5544 SPARSE_SSM_CMP_OP_DECLS, SPARSE_SSM_EQNE_OP_DECLS, | |
5545 SPARSE_SSM_BOOL_OP_DECLS, SPARSE_SSM_OP_DECLS, | |
5546 SPARSE_SMSM_BIN_OP_DECLS, SPARSE_SMSM_CMP_OP_DECLS, | |
5547 SPARSE_SMSM_EQNE_OP_DECLS, SPARSE_SMSM_BOOL_OP_DECLS, | |
5548 SPARSE_SMSM_OP_DECLS, SPARSE_MSM_BIN_OP_DECLS, | |
5549 SPARSE_MSM_CMP_OP_DECLS, SPARSE_MSM_EQNE_OP_DECLS, | |
5550 SPARSE_MSM_BOOL_OP_DECLS, SPARSE_MSM_OP_DECLS, | |
5551 SPARSE_SMM_BIN_OP_DECLS, SPARSE_SMM_CMP_OP_DECLS, | |
5552 SPARSE_SMM_EQNE_OP_DECLS, SPARSE_SMM_BOOL_OP_DECLS, | |
5553 SPARSE_SMM_OP_DECLS): Ditto. | |
5554 * Sparse.h (INSTANTIATE_SPARSE_ASSIGN, INSTANTIATE_SPARSE, | |
5555 INSTANTIATE_SPARSE_AND_ASSIGN): Ditto. | |
5556 * mx-op-defs.h (BIN_OP_DECL, CMP_OP_DECL, NDCMP_OP_DECL, | |
5557 BOOL_OP_DECL, NDBOOL_OP_DECL, VS_BIN_OP_DECLS, VS_OP_DECLS, | |
5558 SV_BIN_OP_DECLS, SV_OP_DECLS, VV_BIN_OP_DECLS, VV_OP_DECLS, | |
5559 MS_BIN_OP_DECLS, MS_CMP_OP_DECLS, MS_BOOL_OP_DECLS, MS_OP_DECLS, | |
5560 SM_BIN_OP_DECLS, SM_CMP_OP_DECLS, SM_BOOL_OP_DECLS, SM_OP_DECLS, | |
5561 MM_BIN_OP_DECLS, MM_CMP_OP_DECLS, MM_BOOL_OP_DECLS, MM_OP_DECLS, | |
5562 NDS_BIN_OP_DECLS, NDS_CMP_OP_DECLS, NDS_BOOL_OP_DECLS, | |
5563 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_CMP_OP_DECLS, | |
5564 SND_BOOL_OP_DECLS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
5565 NDND_CMP_OP_DECLS, NDND_BOOL_OP_DECLS, NDND_OP_DECLS, | |
5566 SDM_BIN_OP_DECLS, SDM_OP_DECLS, DMS_BIN_OP_DECLS, DMS_OP_DECLS, | |
5567 MDM_BIN_OP_DECLS, MDM_OP_DECLS, DMM_BIN_OP_DECLS, DMM_OP_DECLS, | |
5568 DMDM_BIN_OP_DECLS, DMDM_OP_DECLS): Ditto. | |
5569 | |
6699 | 5570 2007-06-12 John W. Eaton <jwe@octave.org> |
5571 | |
5572 * dMatrix.cc (Matrix::expm): Special case for scalar arg. | |
5573 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6697 | 5574 |
6693 | 5575 2007-06-06 Michael Goffioul <michael.goffioul@swing.be> |
5576 | |
6709 | 5577 * file-ops.cc (tilde_find_suffix, isolate_tilde_prefix, |
5578 tilde_expand_word): Use file_ops::is_dir_sep instead of comparing | |
5579 with file_ops::dir_sep_char. | |
6694 | 5580 |
6693 | 5581 * MArray-C.cc: Sprinkle with OCTINTERP_API as needed. |
5582 | |
6689 | 5583 2007-06-04 David Bateman <dbateman@free.fr> |
5584 | |
6699 | 5585 * file-ops.cc: Typo. |
5586 | |
6689 | 5587 * Sparse.cc (Sparse<T> Sparse<T>::reshape): If length of new |
5588 dimensions is greater than 2, collapse to 2-D. | |
5589 | |
6685 | 5590 2007-06-02 David Bateman <dbateman@free.fr> |
5591 | |
5592 * SparseCmplxQR.cc: Changes to support CXSparse 2.2.0. | |
5593 | |
6680 | 5594 2007-05-31 John W. Eaton <jwe@octave.org> |
5595 | |
5596 * Array.cc (Array::get_size): Throw std::bad_alloc exception if | |
5597 the computed size is too large for the size of Octave's index type. | |
5598 | |
6662 | 5599 2007-05-23 John W. Eaton <jwe@octave.org> |
5600 | |
5601 * oct-sparse.h: Don't surround included files with extern "C" { ... }. | |
5602 | |
6629 | 5603 2007-05-16 David Bateman <dbateman@free.fr> |
5604 | |
5605 * dRowVector.cc (linspace): Return second argument if fewer than | |
5606 two values are requested. | |
5607 * CRowVector.cc (linspace): Likewise. | |
5608 | |
6596 | 5609 2007-04-27 John W. Eaton <jwe@octave.org> |
5610 | |
5611 * lo-mappers.cc (signum (const Complex&)): Special case for (0, 0). | |
5612 | |
6583 | 5613 2007-04-25 John W. Eaton <jwe@octave.org> |
5614 | |
5615 * oct-fftw.h (octave_fftw): Tag with OCTAVE_API. | |
5616 | |
6553 | 5617 2007-04-20 John W. Eaton <jwe@octave.org> |
5618 | |
5619 * Array.cc (assign1): For x(:) = RHS, require rhs_len == lhs_len, | |
5620 not rhs_len == 1. | |
5621 | |
6536 | 5622 2007-04-18 Michael Goffioul <michael.goffioul@swing.be> |
5623 | |
5624 * oct-md5.h (oct_md5, oct_md5_file): Tag decls with OCTAVE_API. | |
5625 | |
6525 | 5626 2007-04-13 John W. Eaton <jwe@octave.org> |
5627 | |
5628 * Array.cc (Array<T>::maybe_delete_elements_2): Don't return early | |
5629 for empty matrix. Only check for colon index equivalence if not empty. | |
5630 | |
6513 | 5631 2007-04-10 John W. Eaton <jwe@octave.org> |
5632 | |
5633 * SparseCmplxQR.cc | |
5634 (SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep): | |
5635 Move GCC_ATTR_UNUSED before the parameter decl. | |
5636 From Luis Ortiz <lortiz@interactivesupercomputing.com>. | |
5637 | |
6508 | 5638 2007-04-06 John W. Eaton <jwe@octave.org> |
5639 | |
5640 * MArray-defs.h (MARRAY_NORM_BODY): New macro. | |
5641 * MArray.h (MArray<T>::norm): New function. | |
5642 * MArray.cc: Provide decl. | |
5643 * MArray-d.cc (MArray<double>::norm): Define double specialization. | |
5644 * MArray-C.cc (MArray<Complex>::norm): Define Complex specialization. | |
5645 | |
6490 | 5646 2007-04-04 John W. Eaton <jwe@octave.org> |
5647 | |
5648 * Range.cc (Range::nelem_internal): Likewise. | |
5649 * lo-utils.cc (NINT): Use numeric_limits<int> instead of INT_MAX. | |
5650 (NINTbig): Use numeric_limits<octave_idx_type> instead of INT_MAX. | |
5651 From Scott Pakin <pakin@lanl.gov>. | |
5652 | |
6486 | 5653 2007-04-04 David Bateman <dbateman@free.fr> |
5654 | |
5655 * dMatrix.cc (Matrix::inverse): If calc_cond is true, calculate | |
5656 the condition number for positive definite matrices. | |
5657 * CMatrix.cc (ComplexMatrix::inverse): Ditto. | |
5658 * dbleChol.h (CHOL(const Matrix&, bool)): New arg, calc_cond. | |
5659 (CHOL(const Matrix&, octave_idx_type&, bool): Ditto. | |
5660 (octave_idx_type init (const Matrix&, bool)): Ditto. | |
5661 (CHOL(const CHOL&)): Copy xrcond. | |
5662 (CHOL& operator = (const CHOL&)): Copy xrcond. | |
5663 (xrcond): New private data member. | |
5664 * CmplxCHOL.h (ComplexCHOL(const ComplexMatrix&, bool)): New arg, | |
5665 calc_cond. | |
5666 (ComplexCHOL(const ComplexMatrix&, octave_idx_type&, bool): Ditto | |
5667 (octave_idx_type init (const ComplexMatrix&, bool)): Ditto. | |
5668 (ComplexCHOL(const ComplexCHOL&)): Copy xrcond. | |
5669 (ComplexCHOL& operator = (const ComplexCHOL&)): Copy xrcond. | |
5670 (xrcond): New private data member. | |
5671 * dbleCHOL.cc (CHOL::init(const Matrix&, bool)): If calc_cond is | |
5672 true, calculate the condition number with dpocon. | |
5673 * CmplxCHOL.cc (ComplexCHOL::init(const ComplexMatrix&, bool)): If | |
5674 calc_cond is true, calculate the condition number with zpocon. | |
5675 | |
6481 | 5676 2007-04-03 John W. Eaton <jwe@octave.org> |
5677 | |
6482 | 5678 * intNDArray.cc (intNDArray): Delete spurious semicolon. |
5679 | |
5680 * CMatrix.cc (ComplexMatrix::tinverse): Use Array<T> and | |
5681 fortran_vec method instead of OCTAVE_LOCAL_BUFFER to avoid | |
5682 "maybe clobbered by vfork" warning. | |
5683 | |
6483 | 5684 * Sparse-op-defs.h (SPARSE_CUMSUM): Add braces to avoid ambiguous |
6482 | 5685 if/else. |
5686 | |
5687 * oct-spparms.h (octave_sparse_params): Define copy constructor | |
5688 and destructor. | |
5689 | |
6481 | 5690 * Array.cc (assignN): Don't resize dimension if corresponding |
5691 index is empty. | |
5692 | |
6479 | 5693 2007-04-02 John W. Eaton <jwe@octave.org> |
5694 | |
5695 * dMatrix.h (Matrix::inverse): Reinstate versions without | |
5696 MatrixType argument. | |
5697 * CMatrix.h (ComplexMatrix::inverse): Likewise. | |
5698 | |
6467 | 5699 2007-03-27 John W. Eaton <jwe@octave.org> |
5700 | |
5701 * Makefile.in (DISTDIRS): Delete variable. | |
5702 (dist): Delete action for DISTDIRS. Use ln instead of $(LN_S). | |
5703 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
5704 2007-03-26 David Bateman <dbateman@free.fr> |
6460 | 5705 |
5706 * MatrixType.cc: Replace all uses of the method | |
9967 | 5707 octave_sparse_params::get_key ("bandden") with |
6460 | 5708 octave_sparse_params::get_bandden (void). |
5709 (MatrixType::MatrixType (void)): Undo previous change but use | |
5710 octave_sparse_params::get_bandden (void). | |
5711 * oct-spparms.cc (get_bandden(void), do_get_bandden(void)): New | |
5712 methods. | |
5713 * oct-spparms.h (get_bandden(void), do_get_bandden(void)): | |
9967 | 5714 Declare them. |
5715 | |
6458 | 5716 2007-03-26 Luis Ortiz <lortiz@interactivesupercomputing.com> |
5717 David Bateman <dbateman@free.fr> | |
5718 | |
5719 * idx-vector.h.cc (IDX_VEC_REP::idx_vector_rep (const Range&)): | |
5720 Check that all elements are ints before doing anything. Simplify | |
5721 calculation of index values. | |
5722 | |
6457 | 5723 2007-03-26 David Bateman <dbateman@free.fr> |
5724 | |
5725 * Range.cc (Range::all_elements_are_ints): Improve check. | |
5726 | |
6456 | 5727 2007-03-26 John W. Eaton <jwe@octave.org> |
5728 | |
5729 * chNDArray.cc, chMatrix.cc: Also generate comparison and bool ops. | |
5730 * chNDArray.h, chMatrix.h: Provide decls. | |
5731 | |
5732 2007-03-24 Luis Ortiz <lortiz@interactivesupercomputing.com> | |
5733 | |
5734 * MatrixType.cc (MatrixType::MatrixType (void)): Initialize | |
5735 sp_bandden to zero for performance reasons as it's not used. | |
6452 | 5736 |
6435 | 5737 2007-03-23 David Bateman <dbateman@free.fr> |
5738 | |
5739 * oct-rand.cc (octave_rand::seed): Seed differently for big and | |
5740 little endian. | |
5741 | |
6414 | 5742 2007-03-15 John W. Eaton <jwe@octave.org> |
5743 | |
5744 * lo-mappers.cc (acos): Use formula similar to what we use for asin. | |
5745 From Alexander Barth <abarth@marine.usf.edu>. | |
5746 | |
6402 | 5747 2007-03-12 John W. Eaton <jwe@octave.org> |
5748 | |
5749 * oct-inttypes.h (octave_int::octave_int (double)): | |
5750 New Specialization. Round arg. | |
5751 (operator / (const octave_int<T1>&, const octave_int<T2>&)): | |
5752 Round result before converting type. | |
5753 | |
6388 | 5754 2007-03-07 John W. Eaton <jwe@octave.org> |
5755 | |
6392 | 5756 * Array.cc (assign1): Avoid resizing if there is an error. |
5757 | |
6390 | 5758 * dMatrix.cc, CMatrix.cc (operator *): Only check |
5759 f77_exception_encountered immediately after calls that use F77_XFCN. | |
5760 | |
6389 | 5761 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
5762 Only allow resizing empty LHS if it is 0x0. | |
5763 | |
6388 | 5764 * Array.cc (Array<T>::maybe_delete_elements (Array<idx_vector>&, |
5765 const T&)): Handle case of more indices than dimensions. | |
5766 (assign (Array<LT>&, const Array<RT>&, const LT&)): Allow more | |
5767 cases to be handled by assignN. | |
5768 (assignN (Array<LT>&, const Array<RT>&, const LT&)): | |
5769 Special cases for 2-d array assignments for speed. | |
5770 Improve handling of scalar RHS and empty indices. | |
6384 | 5771 |
6383 | 5772 2007-03-05 David Bateman <dbateman@free.fr> |
5773 | |
5774 * oct-md5.c (oct_md5_file (const std::string&)): New function. | |
5775 * oct-md5.h (oct_md5_file (const std::string&)): Declare it. | |
5776 | |
6379 | 5777 2007-03-02 John W. Eaton <jwe@octave.org> |
5778 | |
5779 * str-vec.h (string_vector::empty): Return bool, not int. | |
5780 | |
6375 | 5781 2007-03-01 David Bateman <dbateman@free.fr> |
5782 | |
9967 | 5783 * md5.h, md5.c: New files from libmd5-rfc sourceforge project for |
5784 an independent implementation of RFC1321. | |
5785 * oct-md5.h, oct-md5: New files for treating std::string class | |
5786 with MD5. | |
5787 * Makefile.in (INCLUDES): Add md5.h and oct-md5.h | |
5788 (LIBOCTAVE_CXX_SOURCES): Add oct-md5.cc | |
5789 (LIBOCTAVE_C_SOURCES): Add md5.c | |
6375 | 5790 |
6366 | 5791 2007-02-27 John W. Eaton <jwe@octave.org> |
5792 | |
5793 * Makefile.in (uninstall): Delete files listed in | |
5794 $(INCLUDES_FOR_INSTALL), instead of $(INCLUDES). | |
5795 From Thomas Treichl <Thomas.Treichl@gmx.net>. | |
5796 | |
6536 | 5797 2007-02-27 Michael Goffioul <michael.goffioul@swing.be> |
6363 | 5798 |
5799 * file-ops.cc (file_ops::recursive_rmdir): | |
5800 Close dir_entry object before calling rmdir. | |
5801 | |
6536 | 5802 2007-02-26 Michael Goffioul <michael.goffioul@swing.be> |
6358 | 5803 |
5804 * Makefile.in: Use $(LN_S) instead of ln or ln -s. | |
5805 | |
6359 | 5806 * sparse-util.h (SparseCholPrint, SparseCholError): |
5807 Tag with OCTAVE_API. | |
5808 | |
6326 | 5809 2007-02-18 David Bateman <dbateman@free.fr> |
5810 | |
5811 * oct-rand.cc (do_old_initialization()): call setcgn(1) prior to | |
5812 calling setall and reset to the current generator after. | |
5813 | |
6323 | 5814 2007-02-16 John W. Eaton <jwe@octave.org> |
5815 | |
5816 * oct-shlib.h (octave_shlib::relative): New data member. | |
5817 (octave_shlib::mark_relative, octave_shlib::is_relative): | |
5818 New functions. | |
5819 | |
6321 | 5820 2007-02-16 Michael Goffioul <michael.goffioul@swing.be> |
5821 | |
5822 * lo-sysdep.cc (octave_popen2): New function to simulate popen2 on | |
5823 windows platform. | |
5824 * lo-sysdep.h (octave_popen2): Declare it. | |
5825 * oct-syscalls.cc (octave_syscalls::popen2): New function. | |
5826 * oct-syscalls.h (octave_syscalls::popen2): Declare it. | |
5827 | |
6306 | 5828 2007-02-14 John W. Eaton <jwe@octave.org> |
5829 | |
5830 * kpse.cc (expand_elt): Omit special treatment for //. | |
5831 | |
6273 | 5832 2007-02-06 John W. Eaton <jwe@octave.org> |
5833 | |
5834 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_REALPATH]: | |
5835 Don't delete value returned from realpath. | |
5836 | |
6271 | 5837 2007-02-05 Thomas Treichl <Thomas.Treichl@gmx.net> |
5838 | |
5839 * file-ops.cc (file_ops::canonicalize_file_name): | |
5840 Provide implementation if realpath function is available. | |
5841 | |
6256 | 5842 2007-01-29 Michael Goffioul <michael.goffioul@swing.be> |
5843 | |
5844 * oct-fftw.h: Sprinkle with OCTAVE_API as needed. | |
5845 | |
6244 | 5846 2007-01-17 Michael Goffioul <michael.goffioul@swing.be> |
5847 | |
5848 * lo-sysdep.cc (octave_chdir): Handle directory names like "C:" on | |
5849 Windows systems. | |
5850 | |
6242 | 5851 2007-01-16 John W. Eaton <jwe@octave.org> |
5852 | |
5853 * dSparse.cc: Fix dgbtrf decl for --enable-64. | |
5854 (SparseMatrix::bsolve): Fix call to dgbtrf for --enable-64 | |
5855 | |
5856 * oct-fftw.h (fftw_planner): Provide decl. | |
5857 | |
6241 | 5858 2007-01-11 Michael Goffioul <michael.goffioul@swing.be> |
5859 | |
5860 * Makefile.in (LINK_DEPS): Include $(CAMD_LIBS) in the list. | |
5861 | |
6236 | 5862 2007-01-10 John W. Eaton <jwe@octave.org> |
5863 | |
5864 * oct-sparse.h: Use HAVE_CHOLMOD_CHOLMOD_H, not | |
5865 HAVE_UMFPACK_CHOLMOD_H for case of "cholmod/cholmod.h". | |
5866 | |
6231 | 5867 2007-01-08 David Bateman <dbateman@free.fr> |
5868 | |
5869 * oct-sparse.h: Replace sparsesuite with suitesparse and | |
5870 SPARSESUITE with SUITESPARSE to match upstream name. | |
5871 | |
6228 | 5872 2007-01-05 David Bateman <dbateman@free.fr> |
5873 | |
9967 | 5874 * oct-fftw.cc: (octave_fftw_planner::method (void), |
6228 | 5875 octave_fftw_planner (FftwMethod)): New methods to interrogate and |
5876 set the FFTW wisdom method used. | |
9967 | 5877 (octave_fftw_planner::create_plan) Modify to allow different |
6228 | 5878 methods to be used. |
5879 (octave_fftw_planner): Move class definition from here. | |
5880 * oct-fftw.h (octave_fftw_planner): To here. Add method methods | |
5881 and FftwMethod enum. | |
5882 | |
6221 | 5883 2007-01-03 David Bateman <dbateman@free.fr> |
5884 | |
5885 * MSparse.cc (SPARSE_A2A2_OP, SPARSE_A2A2_FCN_1, | |
5886 SPARSE_A2A2_FCN_1): Modify macros so that scalars stored as | |
5887 sparse matrices are special cased. | |
5888 | |
5889 * Sparse-op-defs.h: Include mx-ops.h to have access to mixed | |
5890 matrix, sparse matrix operations. | |
5891 (SPARSE_SMSM_BIN_OP_1, SPARSE_SMSM_BIN_OP_2, SPARSE_SMSM_BIN_OP_3, | |
5892 SPARSE_SMSM_CMP_OP, SPARSE_SMSM_BOOL_OP, SPARSE_MSM_BIN_OP_1, | |
5893 SPARSE_MSM_BIN_OP_2, SPARSE_MSM_CMP_OP, SPARSE_MSM_BOOL_OP, | |
9967 | 5894 SPARSE_SMM_BIN_OP_1, SPARSE_SMM_BIN_OP_2, SPARSE_SMM_CMP_OP, |
5895 SPARSE_SMM_BOOL_OP, SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, | |
6221 | 5896 FULL_SPARSE_MUL): Modify macros so that scalars stored as |
5897 sparse matrices are special cased. | |
5898 | |
6217 | 5899 2006-12-22 David Bateman <dbateman@free.fr> |
5900 | |
5901 * boolSparse.cc (SparseBoolMatrix::operator !): Fix off-by-one error. | |
5902 | |
6216 | 5903 2006-12-22 John W. Eaton <jwe@octave.org> |
5904 | |
5905 * dim-vector.h (dim_vector::dim_vector): Always start with at | |
5906 least 2 dimensions. | |
5907 (dim_vector::resize): Don't allow resizing to fewer than 2 dimensions. | |
5908 | |
6208 | 5909 2006-12-06 Michael Goffioul <michael.goffioul@swing.be> |
5910 | |
5911 * lo-sysdep.cc (opendir): Avoid passing \\* to FindFirstFile. | |
5912 | |
5913 * file-ops.cc (ops::canonicalize_file_name): Provide partial | |
6217 | 5914 implementation for Windows. |
6208 | 5915 |
6207 | 5916 2006-12-06 David Bateman <dbateman@free.fr> |
5917 | |
6208 | 5918 * dSparse.cc (SparseMatrix::is_symmetric): Faster implementation. |
5919 * CSparse.cc (SparseComplexMatrix::is_symmetric): Ditto. | |
6207 | 5920 |
5921 * dMatrrix.cc (finverse): Old inverse method renamed inverse. | |
9967 | 5922 (tinverse): New method for triangular matrices. |
5923 (inverse): New function with matrix type probing. | |
5924 * dMatrix.h (finverse, tinverse, inverse): New and modified | |
5925 declarations. | |
5926 * CMatrix.cc: Ditto. | |
5927 * CMatrix.h: Ditto. | |
6207 | 5928 |
6205 | 5929 2006-12-06 John W. Eaton <jwe@octave.org> |
5930 | |
5931 * strptime.c (day_of_the_week): Use code from current glibc sources. | |
5932 | |
6202 | 5933 2006-12-05 John W. Eaton <jwe@octave.org> |
5934 | |
5935 * lo-utils.cc (octave_read_double): If we see '+' or '-' but not | |
5936 followed by 'I' or 'i', try reading number after putting | |
5937 characters back on input stream. | |
5938 | |
6198 | 5939 2006-12-05 Paul Kienzle <pkienzle@users.sf.net> |
5940 | |
5941 * randpoisson.c (oct_fill_randp): For lambda > 1e8, upper limit of | |
5942 loop is n, not L. | |
5943 | |
6194 | 5944 2006-11-30 John W. Eaton <jwe@octave.org> |
5945 | |
5946 * lo-utils.cc (octave_read_double, read_inf_nan_na): | |
5947 Also recognize [+-][Ii]nf. | |
5948 | |
6187 | 5949 2006-11-28 David Bateman <dbateman@free.fr> |
6186 | 5950 |
5951 * oct-sparse.h: Allow sparse headers to also be in a sparsesuite | |
5952 sub-directory. | |
5953 | |
9967 | 5954 * dSparse.cc (SparseMatrix::inverse): Transpose the matrix type as |
6204 | 5955 well when calling tinverse for lower triangular matrices. |
9967 | 5956 * CSparse.cc (SparseComplexMatrix::inverse): |
5957 Ditto. | |
5958 | |
6183 | 5959 2006-11-21 John W. Eaton <jwe@octave.org> |
5960 | |
5961 * oct-env.cc (do_absolute_pathname): Undo previous change. | |
5962 | |
6182 | 5963 2006-11-20 John W. Eaton <jwe@octave.org> |
5964 | |
5965 * oct-env.cc (octave_env::do_absolute_pathname): Also return true | |
5966 for ".", and names beginning with "./" or "../". | |
5967 | |
6162 | 5968 2006-11-14 Luis F. Ortiz <lortiz@interactivesupercomputing.com> |
5969 | |
5970 * CMatrix.cc, dMatrix.cc: New tests. | |
5971 | |
6153 | 5972 2006-11-13 Michael Goffioul <michael.goffioul@swing.be> |
5973 | |
5974 * Array-d.cc, dDiagMatrix.h: Sprinkle with OCTAVE_API as needed. | |
5975 | |
6152 | 5976 2006-11-11 John W. Eaton <jwe@octave.org> |
5977 | |
5978 * Makefile.in ($(OPTS_INC), mx-ops.h): | |
5979 Use $(simple-move-if-change-rule) here. | |
5980 | |
6148 | 5981 2006-11-09 David Bateman <dbateman@free.fr> |
5982 | |
5983 * sparse-base-chol.cc (sparse_base_chol_rep::Q): Cast perms(i) to | |
5984 octave_idx_type, not int. | |
5985 | |
6145 | 5986 2006-11-08 John W. Eaton <jwe@octave.org> |
5987 | |
5988 * dir-ops.cc (dir_entry::read): Avoid rewinddir. | |
5989 | |
6141 | 5990 2006-11-06 John W. Eaton <jwe@octave.org> |
5991 | |
5992 * Array.cc (assignN): Exit early if invalid indices are found. | |
5993 | |
6140 | 5994 2006-11-03 Michael Goffioul <michael.goffioul@swing.be> |
5995 | |
5996 * strftime.c [HAVE_TZNAME]: Tag tzname with OCTAVE_IMPORT. | |
5997 | |
6137 | 5998 2006-11-03 John W. Eaton <jwe@octave.org> |
5999 | |
6000 * Makefile.in (DLL_CXXDEFS): Rename from XTRA_CXXDEFS. | |
6001 (DLL_CDEFS): Rename from XTRA_CDEFS. | |
6002 Substitute OCTAVE_DLL_DEFS, not XTRA_OCTAVE_DEFS. | |
6003 | |
6123 | 6004 2006-10-28 Michael Goffioul <michael.goffioul@swing.be> |
6005 | |
6006 * oct-shlib.cc: Undefine min and max after including windows.h. | |
6007 * oct-syscalls.cc (syscalls::pipe (int *)): Avoid infinite recursion. | |
6008 * lo-sysdep.h: Move opendir, readdir, etc. decls here from | |
6009 lo-sysdep.cc. | |
6010 | |
6113 | 6011 2006-10-27 John W. Eaton <jwe@octave.org> |
6012 | |
6119 | 6013 * oct-time.cc [! HAVE_STRFTIME]: Declare strftime. |
6014 | |
6015 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> | |
6016 | |
6017 * mx-op-defs.h (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, | |
6018 NDS_CMP_OPS2): New macros. | |
6113 | 6019 |
6111 | 6020 2006-10-26 John W. Eaton <jwe@octave.org> |
6021 | |
6119 | 6022 * mx-ops (core-type): New field for integer types. |
6023 * mk-ops.awk: Handle core-type for integer comparison ops. | |
6024 | |
6111 | 6025 * lo-cutils.c (octave_strcasecmp, octave-strncasecmp): |
6026 Move here from src/cutils.c. | |
6027 * lo-utils.h: Provide decls. | |
6028 * strcasecmp.c: Move here from src/strcasecmp.c. | |
6029 * strncase.c: Move here from src/strncase.c. | |
6030 * Makefile.in (LIBOCTAVE_C_SOURCES): Add them to the list. | |
6031 | |
6106 | 6032 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
6033 | |
6034 * kpse.cc [! MSVC]: Don't include win32lib.h. | |
6035 | |
6708 | 6036 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-util.h, |
6037 Array.h, CColVector.h, CMatrix.h, CNDArray.h, CRowVector.h, | |
6038 CSparse.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, | |
6039 CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, | |
6040 CollocWt.h, DAE.h, DASPK.h, DASRT.h, DASSL.h, EIG.h, LSODE.h, | |
6041 MArray-C.cc, MArray-defs.h, MSparse-C.cc, MSparse-d.cc, | |
6042 MSparse-defs.h, MatrixType.h, NLEqn.h, Quad.h, Range.h, | |
6043 Sparse-op-defs.h, Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, | |
6044 SparseCmplxQR.h, SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, | |
6045 boolMatrix.h, boolNDArray.h, boolSparse.h, chMatrix.h, | |
6046 chNDArray.h, cmd-edit.h, cmd-hist.h, dColVector.h, dDiagMatrix.h, | |
6047 dMatrix.h, dNDArray.h, dRowVector.h, dSparse.h, data-conv.h, | |
6048 dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, dbleLU.h, | |
6049 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, dir-ops.h, | |
6050 file-ops.h, file-stat.h, glob-match.h, idx-vector.h, | |
6051 int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, | |
6052 lo-cutils.c, lo-ieee.h, lo-mappers.h, lo-specfun.h, lo-utils.h, | |
6053 mach-info.h, mx-op-defs.h, oct-alloc.h, oct-env.h, oct-group.h, | |
6054 oct-inttypes.cc, oct-inttypes.h, oct-passwd.h, oct-rand.h, | |
6055 oct-shlib.h, oct-spparms.h, oct-syscalls.h, oct-time.h, | |
6056 oct-uname.h, pathsearch.h, prog-args.h, so-array.h, str-vec.h, | |
6057 uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc, | |
6058 uint8NDArray.cc: Sprinkle with OCTAVE_API as needed. | |
6108 | 6059 |
6105 | 6060 2006-10-26 John W. Eaton <jwe@octave.org> |
6061 | |
6062 * oct-inttypes.cc (INSTANTIATE_INTTYPE_BIN_OP): Provide explicit | |
6063 type qualification for OP. | |
6064 | |
6101 | 6065 2006-10-26 David Bateman <dbateman@free.fr> |
6066 | |
6067 * Sparse.cc (Sparse<T>::resize_no_fill (octave_idx_type, | |
6068 octave_idx_type)): Be more careful with the size of the input | |
6069 matrix, and therefore don't create or read non existent data. | |
6070 | |
6092 | 6071 2006-10-25 John W. Eaton <jwe@octave.org> |
6072 | |
6073 * Sparse.cc (assign): Clear lhs index after error. | |
6074 | |
6093 | 6075 2006-10-25 David Bateman <dbateman@free.fr> |
6092 | 6076 |
6077 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
6078 Fix previous patch so it works. | |
6079 | |
6087 | 6080 2006-10-25 Michael Goffioul <michael.goffioul@swing.be> |
6081 | |
6095 | 6082 * glob-match.h (glob_match::glob_match (const std::string&, |
6083 unsigned int)): Delete initializer for first arg. | |
6084 | |
6093 | 6085 * lo-sysdep.cc (opendir, readdir, rewinddir, closedir): |
6086 New functions. | |
6087 | |
6087 | 6088 * Makefile.in (XTRA_CDEFS, XTRA_CXXDEFS): Substitute here. |
6089 | |
6096 | 6090 * oct-env.cc (octave_env::do_get_home_directory) [_MSC_VER]: Use |
6091 same code as __MINGW32__. | |
6092 * syswait.h [_MSC_VER]: Define HAVE_WAITPID, WAITPID, and WNOHANG | |
6093 the same as for __MINGW32__. | |
6094 | |
6095 * randpoisson.c: Undefine INFINITE before redefining. | |
6096 | |
6079 | 6097 2006-10-24 David Bateman <dbateman@free.fr> |
6098 | |
6099 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Resize the | |
6100 lhs at the point we know the assignment can succeed if the lhs is | |
6101 empty. | |
6102 | |
6072 | 6103 2006-10-23 John W. Eaton <jwe@octave.org> |
6104 | |
6105 * Array.cc (assign2): Don't require vector assignments to be oriented. | |
6106 | |
6061 | 6107 2006-10-17 John W. Eaton <jwe@octave.org> |
6108 | |
6109 * lo-cieee.c: If isnan is not available but _isnan is, then define | |
6110 isnan to be _isnan, and define HAVE_ISNAN. Likewise for _finite | |
6111 and _copysign. | |
6112 | |
6059 | 6113 2006-10-17 Michael Goffioul <michael.goffioul@swing.be> |
6051 | 6114 |
6061 | 6115 * oct-syscalls.cc (syscalls::waitpid): Always declare and define retval. |
6116 | |
9967 | 6117 * CMatrix.cc (ComplexMatrix::solve): Avoid infinite recursion. |
6708 | 6118 * CSparse.cc (SparseComplexMatrix::insert): Likewise. |
6061 | 6119 |
6058 | 6120 * oct-types.h.in: Include limits.h, for CHAR_BIT. |
6121 | |
6059 | 6122 2006-10-13 Michael Goffioul <michael.goffioul@swing.be> |
6123 | |
6051 | 6124 * Makefile.in: Adapt rules to use $(LIBPRE). |
6125 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
6126 2006-10-03 David Bateman <dbateman@free.fr> |
6027 | 6127 |
6128 * MatrixType.cc (MatrixType::MatrixType): Avoid crash if np == 0 | |
6129 or p == 0. | |
6130 | |
6018 | 6131 2006-10-02 John W. Eaton <jwe@octave.org> |
6132 | |
6133 * dbleDET.cc (DET::initialize2): Ensure arg to log10 is double. | |
6134 * CmplxDET.cc (ComplexDET::initialize2): Likewise. | |
6135 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
6136 2006-09-22 David Bateman <dbateman@free.fr> |
5996 | 6137 |
9967 | 6138 * MatrixType.h (MatrixType::MatrixType(const SparseComplexMatrix&)): |
6139 Remove spurious warning. | |
5996 | 6140 |
5992 | 6141 2006-09-15 John W. Eaton <jwe@octave.org> |
6142 | |
9967 | 6143 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&) const): |
5992 | 6144 Handle resizing. |
6145 | |
6146 * intNDArray.h (intNDArray<T>:elt_type): New typedef. | |
6147 | |
5983 | 6148 2006-09-11 John W. Eaton <jwe@octave.org> |
6149 | |
6150 * dMatrix.cc (operator * (const Matrix&, const Matrix&))): | |
9967 | 6151 Handle M*v and rv*cv special cases. |
5983 | 6152 * CMatrix.cc (operator * (const ComplexMatrix&, const |
6153 ComplexMatrix&))): Likewise. | |
6154 From Luis F. Ortiz <lortiz@interactivesupercomputing.com>. | |
6155 | |
6156 * dRowVector.cc (operator * (const RowVector&, const | |
6157 ColumnVector&)): Call xddot here instead of using a Fortran | |
6158 function directly. | |
6159 * CRowVector.cc (operator * (const ComplexRowVector&, const | |
6160 ComplexColumnVector&)): Call xzdotu here. | |
6161 | |
6162 2006-09-05 John W. Eaton <jwe@octave.org> | |
6163 | |
6164 * chNDArray.cc (charNDArray::any, charNDArray::all): Compare | |
6165 elements to '\0', not ' '. | |
6166 | |
5972 | 6167 2006-08-25 John W. Eaton <jwe@octave.org> |
6168 | |
6169 * mx-inlines.cc (MX_ND_REDUCTION): Special case for 0x0 arrays. | |
6170 | |
5958 | 6171 2006-08-23 John W. Eaton <jwe@octave.org> |
6172 | |
6173 * dMatrix.cc, dMatrix.h (Matrix::save_ascii): Delete function and decl. | |
6174 * CMatrix.cc, CMatrix.h (ComplexMatrix::save_ascii): Likewise. | |
6175 | |
5955 | 6176 2006-08-22 John W. Eaton <jwe@octave.org> |
6177 | |
5956 | 6178 * CMatrix.cc (ComplexMatrix::save_ascii): New function. |
6179 * dMatrix.cc (Matrix::save_ascii): New function. | |
6180 | |
5955 | 6181 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Correctly detect empty arrays. |
6182 If array is empty, return value is same size as array. | |
6183 (MX_ND_REDUCTION): Correctly detect empty arrays. | |
6184 If array is empty, produce correctly sized return value. | |
6185 | |
5940 | 6186 2006-08-18 John W. Eaton <jwe@octave.org> |
6187 | |
5943 | 6188 * dMatrix.cc (Matrix::any_element_not_one_or_zero): New function. |
6189 * dMatrix.h: Provide decl. | |
6190 * dNDArray.cc (NDArray::any_element_not_one_or_zero): New function. | |
6191 * dNDArray.h: Provide decl. | |
6192 * intNDArray.cc (intNDArray<T>::any_element_not_one_or_zero): | |
6193 New function. | |
6194 * intNDArray.h: Provide decl. | |
6195 | |
5940 | 6196 * Array.cc (Array<T>::permute): Only rearrange values if array is |
6197 not empty. | |
6198 | |
5904 | 6199 2006-07-26 John W. Eaton <jwe@octave.org> |
6200 | |
6201 * dbleDET.cc (DET::initialize10, DET::value_will_underflow, | |
6202 DET::value_will_overflow): Use xlog2 instead of log2. | |
6203 (DET::initialize2, DET::initialize10): Use xround instead of round. | |
6204 (DET::initialize2, DET::value): Use xexp2 instead of exp2. | |
6205 * CmplxDET.cc (ComplexDET::initialize10, | |
6206 ComplexDET::value_will_underflow, | |
6207 ComplexDET::value_will_overflow): Use xlog2 instead of log2. | |
6208 (ComplexDET::initialize2, ComplexDET::initialize10): | |
6209 Use xround instead of round. | |
6210 (ComplexDET::initialize2, ComplexDET::value): | |
6211 Use xexp2 instead of exp2. | |
6212 | |
6213 * lo-mappers.cc (M_LOG10E): Delete unused macro. | |
6214 (xlog2, xexp2): New functions. | |
6215 * lo-mappers.h: Provide decls. | |
6216 | |
5900 | 6217 2006-07-22 John W. Eaton <jwe@octave.org> |
6218 | |
6219 * Sparse.h (Sparse<T>::mex_get_data, Sparse<T>::mex_get_ir, | |
6220 Sparse<T>::mex_get_jc): New functions. | |
6221 | |
6222 2006-07-21 John W. Eaton <jwe@octave.org> | |
6223 | |
6224 * oct-inttypes.h (octave_int<T>::mex_get_data): New function. | |
6225 * Array.h (Array<T>::mex_get_data): New function. | |
6226 | |
5898 | 6227 2006-07-19 John W. Eaton <jwe@octave.org> |
6228 | |
6229 * oct-inttypes.h (octave_int::operator bool (void)): New function. | |
6230 | |
5893 | 6231 2006-07-16 John W. Eaton <jwe@octave.org> |
6232 | |
6233 * oct-spparms.h, oct-spparms.cc (class octave_sparse_params): | |
6234 Rename from SparseParams. Use same implementation method as other | |
6235 singleton classes in Octave. Change all uses of | |
6236 Voctave_sparse_controls to use static functions from | |
6237 octave_sparse_params class instead. | |
6238 | |
6239 * oct-spparms.h, oct-spparms.cc (SparseParams::set_key, | |
6240 SparseParams::get_key): Pass std::string arg by const reference, | |
6241 not const value. | |
6242 | |
5892 | 6243 2006-07-15 John W. Eaton <jwe@octave.org> |
6244 | |
6245 * data-conv.cc: Instantiante swap_bytes templates here. | |
6246 | |
6247 * MatrixType.cc (MatrixType::MatrixType): | |
6248 Use complete initializer lists in constructors. | |
6249 | |
5880 | 6250 2006-07-06 John W. Eaton <jwe@octave.org> |
6251 | |
6252 * str-vec.cc (string_vector::string_vector (std::list<std::string>&)): | |
6253 New constructor. | |
6254 * str-vec.h: Provide decl. | |
6255 | |
5876 | 6256 2006-07-01 David Bateman <dbateman@free.fr> |
6257 | |
6258 * dSparse.cc (tinverse): Check for rows with no elements and zero | |
6259 elements on the diagonal. Allow both Upper and Lower triangular | |
6260 matrices to be treated. | |
6261 * CSparse.cc (tinverse): ditto. | |
6262 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Take into account 64-bit | |
6263 constant assignment. | |
9967 | 6264 |
5870 | 6265 2006-06-30 John W. Eaton <jwe@octave.org> |
6266 | |
5872 | 6267 * lo-sysdep.cc (octave_chdir): Perform tilde expansion here. |
6268 * cmd-edit.cc (editor::read_init_file): Ditto. | |
6269 * dir-ops.cc (dir_entry::open): Ditto. | |
5871 | 6270 * file-stat.cc (stat::update_internal): Ditto. |
5872 | 6271 * cmd-hist.cc (command_history::set_file): Ditto. |
5871 | 6272 |
5870 | 6273 * data-conv.cc (data_conv::string_to_data_type): |
6274 Correctly handle leading "*". | |
6275 | |
5869 | 6276 2006-06-29 Atsushi Kajita <a-kajita@mizar.freemail.ne.jp> |
6277 | |
6278 * Sparse.cc (Sparse<T>::SparseRep::elem): Avoid out of bounds | |
6279 array access. | |
9967 | 6280 |
5866 | 6281 2006-06-27 John W. Eaton <jwe@octave.org> |
6282 | |
6283 * Makefile.in: Finish renaming of OBJECTS -> LIBOCTAVE_OBJECTS. | |
6284 | |
5864 | 6285 2006-06-21 John W. Eaton <jwe@octave.org> |
6286 | |
6287 * oct-shlib.cc (octave_dlopen_shlib::close, | |
6288 octave_shl_load_shlib::close, octave_w32_shlib::close): | |
6289 Skip do_close_hook if cl_hook is 0. | |
6290 | |
5863 | 6291 2006-06-16 John W. Eaton <jwe@octave.org> |
6292 | |
6293 * oct-sort.h: Don't include config.h, lo-mappers.h, or quit.h. | |
6294 * randmtzig.h: Don't inlcude config.h. | |
6295 | |
5837 | 6296 2006-05-31 David Bateman <dbateman@free.fr> |
6297 | |
6298 * Array.cc (assignN): Maybe reshape LHS before doing assignment. | |
6299 | |
5828 | 6300 2006-05-23 John W. Eaton <jwe@octave.org> |
6301 | |
6302 * oct-types.h.in: Include stdint.h or inttypes.h for integer | |
6303 typedefs, or define them if those files are not available. | |
6304 * oct-inttypes.h (octave_int8_t, octave_int16_t, octave_int32_t, | |
6305 octave_int64_t, octave_uint8_t, octave_uint16_t, octave_uint32_t, | |
6306 octave_uint64_t): Delete typedefs. Replace all uses of these | |
6307 types with int8_t, int16_t, etc. | |
6308 * data-conv.h (TWO_BYTE_INT, FOUR_BYTE_INT, EIGHT_BYTE_INT): | |
6309 Delete definitions. Replace all uses of these macros with int8_t, | |
6310 int16_t, etc. | |
6311 * randmtzig.h: Delete integer typedefs. | |
6312 | |
5822 | 6313 2006-05-18 John W. Eaton <jwe@octave.org> |
6314 | |
6315 * EIG.cc (EIG::init): Trap Inf and NaN values here. | |
6316 From Keith Goodman <kwgoodman@gmail.com>. | |
6317 | |
5813 | 6318 2006-05-08 David Bateman <dbateman@free.fr> |
6319 | |
6320 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): fix bug in previous | |
6321 modification. | |
6322 | |
5797 | 6323 2006-05-09 David Bateman <dbateman@free.fr> |
6324 | |
6325 * sparse-dmsolve.cc: Remove reference to ov-re-sparse.h, | |
6326 ov-cx-sparse. and error_state. | |
6327 * SparseQR.cc, SparseCmplxQR.cc (qrsolve): Return info = -1 on error. | |
9967 | 6328 |
5795 | 6329 2006-05-08 David Bateman <dbateman@free.fr> |
6330 | |
6331 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Set column pointers in | |
6332 first pass and use to determine which algorithm to use on a | |
6333 column-by-column basis. | |
6334 | |
5792 | 6335 2006-05-04 David Bateman <dbateman@free.fr> |
6336 | |
6337 * SparseQR.cc, SparseQR.h, SparseCmplxQR.cc, SparseCmplxQR.h, | |
6338 sparse-dmsolve.cc : Allow compilation with versions v2.0.0 of | |
6339 CXSparse or later | |
6340 | |
5785 | 6341 2006-05-03 David Bateman <dbateman@free.fr> |
6342 | |
6343 * CMatrix.cc (zpotrf, zpocon, zpotrs, ztrcon, ztrtrs): | |
6344 External declaration of lapack triangular and Cholesky codes. | |
9967 | 6345 (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, |
5785 | 6346 ComplexMatrix::fsolve): New private solver codes for |
9967 | 6347 upper, lower and LU/Cholesky solvers. |
5785 | 6348 (ComplexMatrix::solve): New versions for cached matrix |
6349 type. Adapt old versions to call new versions | |
6350 * CMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
6351 new solvers. | |
6352 (solve): New versions for cached matrix type. | |
6353 * dMatrix.cc (dpotrf, dpocon, dpotrs, dtrcon, dtrtrs): | |
6354 External declaration of lapack triangular and Cholesky codes. | |
9967 | 6355 (Matrix::utsolve, Matrix::ltsolve, |
5785 | 6356 Matrix::fsolve): New private solver codes for |
9967 | 6357 upper, lower and LU/Cholesky solvers. |
5785 | 6358 (Matrix::solve): New versions for cached matrix |
6359 type. Adapt old versions to call new versions | |
6360 * dMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
6361 new solvers. | |
6362 (solve): New versions for cached matrix type. | |
6363 * CSparse.cc: Replace all uses of SparseType with MatrixType. | |
6364 * CSparse.h: ditto. | |
6365 * dSparse.cc: ditto. | |
6366 * dSparse.h: ditto. | |
6367 * SparseCmplxCHOL.cc: ditto. | |
6368 * SparsedbleCHOL.cc: ditto. | |
6369 * sparse-dmsolve.cc: ditto. | |
6370 * SparseType.cc, SparseType.h: delete. | |
6371 * MatrixType.cc: New file for class to cache matrix type, based on | |
6372 old SparseType class but caching matrix and sparse types. | |
6373 * MatrixType.h: ditto. | |
6374 * Makefile.in (MATRIX_INC, MATRIX_SRC): Add MatrixType.h and | |
6375 MatrixType.cc respectively. Delete SparseType.h and SparseType.cc | |
6376 respectively. | |
6377 * mx-base.h: Include MatrixTye.h as header file. | |
9967 | 6378 |
5781 | 6379 2006-05-01 John W. Eaton <jwe@octave.org> |
6380 | |
6381 * oct-shlib.h (octave_shlib::octave_shlib, octave_shlib::open): | |
6382 Delete WARN_FUTURE arg. Change all uses. | |
6383 * oct-shlib.cc (octave_base_shlib::stamp_time): Delete arg. | |
6384 Change all uses. Use current_liboctave_warning_with_id_handler. | |
6385 (octave_base_shlib::open): Delete arg. Change all derived classes | |
6386 and uses. | |
6387 | |
6388 2006-04-29 John W. Eaton <jwe@octave.org> | |
6389 | |
6390 * Array-flags.cc, Array-flags.h: Delete. | |
6391 * Makefile.in (MATRIX_SRC): Remove Array-flags.cc from the list. | |
6392 (MATRIX_INC): Remove Array-flags.h from the list. | |
6393 | |
6394 * idx-vector.cc (IDX_VEC_REP::freeze): Delete warn_resize arg. | |
6395 Use current_liboctave_warning_with_id_handler | |
6396 with warning ID Octave:resize-on-range-error. | |
6397 * idx-vector.h: Fix decl. | |
6398 * Array.cc, Sparse.cc: Change all callers. | |
6399 | |
6400 * Array.cc (Array<T>::maybe_delete_elements, Array<T>::index2, | |
6401 assign2, assignN): Use current_liboctave_warning_with_id_handler | |
6402 with warning ID Octave:fortran-indexing instead of | |
6403 liboctave_wfi_flag. | |
6404 * Sparse.cc (assign, Sparse<T>::index): Likewise. | |
6405 | |
5777 | 6406 2006-04-26 John W. Eaton <jwe@octave.org> |
6407 | |
6408 * pathsearch.cc (dir_path::path_sep_char, dir_path::path_sep_str): | |
6409 New static data. | |
6410 * pathsearch.h: Provide decls. | |
6411 (dir_path::is_path_sep): New function. | |
6412 | |
5766 | 6413 2006-04-18 John W. Eaton <jwe@octave.org> |
6414 | |
6415 * randmtzig.c (randmt, randi53, randi54, randi64, randu32, randu53): | |
6416 Omit inline from decl. | |
6417 | |
6418 * Sparse.cc (Sparse<T>::index): Use std::vector<bool> to avoid | |
6419 local array with variable dimension. | |
6420 | |
5764 | 6421 2006-04-16 John W. Eaton <jwe@octave.org> |
6422 | |
5765 | 6423 * lo-sstream.h: Delete. |
6424 * Makefile.in (INCLUDES): Remove it from the list. | |
6425 | |
6426 * dim-vector.h (dim_vector::str): Use std::ostringstream directly. | |
6427 * Sparse.cc (Sparse::range_error): Likewise. | |
6428 * DASSL.cc (DASSL::error_message): Likewise. | |
6429 * LSODE.cc (LSODE::error_message): Likewise. | |
6430 * DASRT.cc (DASRT::error_message): Likewise. | |
6431 * DASPK.cc (DASPK::error_message): Likewise. | |
6432 * Array.cc (Array::range_error): Likewise. | |
6433 | |
5764 | 6434 * kpse.cc (kpse_hash): Rename from hash. |
6435 (hash_lookup): Call kpse_hash instead of hash. | |
6436 | |
6437 * SparseType.cc (SparseType::SparseType): Use std::vector<bool> | |
6438 to avoid local array with variable dimension. | |
6439 | |
5760 | 6440 2006-04-13 David Bateman <dbateman@free.fr> |
6441 | |
9967 | 6442 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): |
5760 | 6443 Optimize assignment. |
6444 | |
6445 2006-04-13 John W. Eaton <jwe@octave.org> | |
6446 | |
9967 | 6447 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): |
5760 | 6448 Eliminate unnecessary casts. |
6449 * SparsedbleLU.cc (SparseLU::SparseLU): Likewise. | |
6450 | |
6451 * kpse.cc (fopen): Use reinterpret_cast instead of C-style cast. | |
6452 (log_search, dir_links): Use static_cast instead of C-style cast. | |
6453 | |
6454 * prog-args.cc (args::getopt): Use reinterpret_cast instead of X_CAST. | |
6455 * oct-alloc.cc (allocator::grow): Likewise. | |
6456 * CSparse.cc (SparseComplexMatrix::determinant, | |
6457 SparseComplexMatrix::factorize, SparseComplexMatrix::fsolve): | |
6458 Likewise. | |
6459 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU): Likewise. | |
6460 | |
6461 * oct-sort.cc (roundupsize, octave_sort<T>::merge_getmem): | |
6462 Use static_cast instead of C-style cast. | |
6463 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
6464 * dSparse.cc (SparseMatrix::fsolve): Likewise. | |
6465 | |
6466 * data-conv.cc (LS_DO_WRITE): Use static_cast for value conversion. | |
6467 Use OCTAVE_LOCAL_BUFFER instead of new/delete. | |
6468 (LS_DO_READ): Allocate local buffer to avoid pointer tricks. | |
6469 (write_doubles, read_doubles, LS_DO_WRITE, LS_DO_READ): | |
6470 Use reinterpret_cast instead of X_CAST. | |
6471 | |
6472 * DiagArray2.h (DiagArray2::Proxy::operator&): No need to cast | |
6473 return value here. | |
6474 | |
5752 | 6475 2006-04-12 Rafael Laboissiere <rafael@debian.org> |
6476 | |
6477 * ArrayN.h (ArrayN::ArrayN): Qualify fill with Array<T> base class. | |
6478 * DiagArray2.h (DiagArray2::DiagArray2): Likewise. | |
6479 | |
5730 | 6480 2006-04-03 David Bateman <dbateman@free.fr> |
6481 | |
5731 | 6482 * Sparse.cc (Sparse<T>::resize): Use xcidx rather than cdix, etc |
6483 to avoid copy of original matrix. | |
6484 | |
5730 | 6485 * Makefile.in (INCLUDES): Add randgamma.h, randpoisson.h and |
9967 | 6486 randmtzig.h to the list. |
5730 | 6487 (LIBOCTAVE_C_SOURCES): Add randgamma.c, randpoisson.c and |
9967 | 6488 randmtzig.c to the list. |
5730 | 6489 * oct-rand.cc (do_old_initialization): Rename from do_initialization. |
6490 (use_old_generators): New variable. | |
6491 (old_initialized): Rename from initialized. | |
6492 (new_initialized): New variable. | |
6493 (oct_init_by_entropy): New function. | |
6494 (maybe_initialize): Initialize new or old generator depending on | |
6495 value of use_old_generators. | |
6496 (octave_rand::state): New functions. | |
6497 (octave_rand::distribution): Add gamma, exponential and poisson | |
6498 distributions. | |
6499 (octave_rand::exponential_distribution, | |
6500 octave_rand::poisson_distribution, | |
6501 octave_rand::gamma_distribution): New methods to select | |
9967 | 6502 exponential, poisson or gamma distribution. |
5730 | 6503 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, |
6504 octave_rand::vector): Add new distributions. | |
6505 * oct-rand.h: Provide decls for new functions. | |
6506 (octave_rand::matrix, octave_rand::scalar, octave_rand:: | |
6507 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
6508 octave_rand::vector): New arg A, for gamma and poisson distributions. | |
6509 * randpoisson.c, randpoisson.h, randgamma.c, randmtzig.c, | |
9967 | 6510 randmtzig.h: New files. |
5730 | 6511 |
5717 | 6512 2006-03-24 John W. Eaton <jwe@octave.org> |
6513 | |
6514 * dSparse.cc (SparseMatrix::bsolve): Integer work vector is | |
6515 Array<octave_idx_type>, so fortran_vec returns pointer to | |
6516 octave_idx_type, not pointer to int. | |
6517 | |
6518 * CMatrix.cc, CMatrix.h (ComplexMatrix::row (char*), | |
6519 ComplexMatrix::column (char*)): Delete. | |
6520 * dMatrix.cc, dMatrix.h (Matrix::row (char*), | |
6521 Matrix::column (char*)): Delete. | |
6522 | |
5713 | 6523 2006-03-21 David Bateman <dbateman@free.fr> |
6524 | |
6525 * SparseQR.h: Publish externally used friends. | |
6526 * SparseCmplxQR.h: ditto. | |
6527 | |
5700 | 6528 2006-03-21 John W. Eaton <jwe@octave.org> |
6529 | |
6530 * lo-specfun.cc (betainc): Use F77_XFCN instead of F77_FUNC for | |
6531 call to xdbetai. | |
6532 | |
5697 | 6533 2006-03-21 David Bateman <dbateman@free.fr> |
6534 | |
5701 | 6535 * lo-specfun.cc (xlgamma, xgamma): Trap special values. |
6536 (xlgamma): Use F77_XFCN instead of F77_FUNC for call to dlgams. | |
5700 | 6537 |
6538 * dSparse.cc (solve): Add argument singular_fallback, to allow | |
6539 fallback to QR solvers to be optional. | |
6540 * CSparse.cc (solve): Ditto. | |
6541 * dSparse.h (solve): update declaration for new argument. | |
6542 * CSparse.h (solve): Ditto. | |
6543 * sparse-dmsolve.cc (dmsolve): Use singular_fallback argument | |
6544 to bypass QR solvers when solving the well determined part of | |
6545 the problem. | |
5697 | 6546 |
5690 | 6547 2006-03-17 John W. Eaton <jwe@octave.org> |
6548 | |
6549 * str-vec.cc (vector::list_in_columns): New optional arg, width. | |
6550 | |
5681 | 6551 2006-03-16 David Bateman <dbateman@free.fr> |
6552 | |
6553 * CSparse.cc: Change use of nzmax to nnz to allow automatic | |
6554 reduction of matrix size, except for a couple of cases where nzmax | |
6555 is needed. | |
6556 (zpbcon): Correct declaration of lapack zpbcon function. | |
6557 (dsolve, utsolve, ltsolve, trisolve, bsolve, factorize, fsolve): Add | |
6558 an argument to allow the calculation of condition number to be | |
6559 optional. | |
6560 (bsolve): Add code for the calculation of the condition number | |
6561 using zpbcon and zgbcon. | |
6562 (dsolve): Bug fix for rectangular matrices with sparse RHS. | |
6563 (utsolve, ltsolve, trisolve, bsolve, fsolve): Mark matrix type as | |
6564 singular if singularity is detected. | |
6565 (solve): Use optional argument to disable calculation of | |
9967 | 6566 condition number for all but fsolve, for speed. Add code to |
5681 | 6567 allow rectnagular matrices or matrices identified as singular |
6568 to be treated. | |
6569 (lssolve): delete. | |
6570 (operator *): Don't recast real matrices as complex, but | |
6571 rather use the macro directly on the real data. | |
6572 * dSparse.cc: ditto. | |
6573 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, | |
6574 fsolve, factorize): Update declaration for new argument to | |
6575 calculate the condition number. | |
6576 (lssolve): delete. | |
6577 * dSparse.h: ditto. | |
6578 * Msparse.h: Change use of nxmax to nnz to allow automatic | |
6579 reduction of matrix size, except for a couple of cases where | |
6580 nzmax is needed. | |
6581 * Sparse.cc: Change use of nxmax to nnz to allow automatic | |
6582 reduction of matrix size, except for a couple of cases where | |
6583 nzmax is needed. | |
6584 (Sparse<T>::index (idx_vector&, idx_vector&, int) const): | |
6585 Special case strict permutations for speed. | |
6586 * Sparse-op-defs.h: Change use of nxmax to nnz to allow automatic | |
6587 reduction of matrix size, except for a couple of cases where | |
6588 nzmax is needed. | |
6589 (SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, FULL_SPARSE_MUL): Update | |
6590 macros to allow mixed complex/real arguments. | |
6591 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): New macro for C99 zero | |
9967 | 6592 value. |
5681 | 6593 (qrsolve): Use it to zero temporary buffers used bt CXSPARSE. |
6594 * SparseType.cc (SparseType::SparseType ()): Correct detection | |
6595 of permutated triangular matrices to avoid seg-faults. Disable | |
6596 detection of underdetermined lower and over-determined upper | |
6597 matrix due to problems with non minimum norm solutions. | |
6598 * sparse-dmsolve.cc: New file for Dulmage-Mendelsohn solver. | |
6599 * Makefile.in: add sparse-dmsolve.cc to targets. | |
6600 | |
5675 | 6601 2006-03-15 William Poetra Yoga Hadisoeseno <williampoetra@gmail.com> |
6602 | |
6603 * oct-time.cc (octave_strptime::init): Return useful character count. | |
6604 | |
5648 | 6605 2006-03-08 David Bateman <dbateman@free.fr> |
6606 | |
6607 * SparseCmplxQR.cc: Updates for new upstream CXSPARSE release. Fix for | |
6608 g++ 4.x stl_vector.h issue with C99 double _Complex type. | |
6609 * SparseCmplxQR.h: Updates for new upstream CXSPARSE release. | |
6610 * SparseQR.cc: ditto. | |
6611 * SparseQR.h: ditto. | |
6612 * oct-sparse.h: ditto. | |
6613 * sparse-base-chol.cc (sparse_base_chol<>::sparse_base_chol_rep::init): | |
6614 Declare info variable as volatile. | |
6615 | |
6616 * Sparse.cc (Sparse<T>::transpose (void) const): Accelerate algorithm. | |
6617 * CSparse.cc (SparseComplexMatrix::transpose (void) const): ditto. | |
9967 | 6618 |
5634 | 6619 2006-03-01 John W. Eaton <jwe@octave.org> |
6620 | |
6621 * CMatrix.cc (ComplexMatrix::determinant): | |
6622 Scale result by factors of 2, not 10. | |
6623 * dMatrix.cc (Matrix::determinant): Likewise. | |
6624 | |
6625 * dbleDET.h (DET::DET): Use initializer list. | |
6626 (DET::coefficient2, DET::coefficient10, DET::exponent2, | |
6627 DET::exponent10): New functions. | |
6628 (DET::det): Delete. | |
6629 (DET::c2, DET::c10, DET::e2, DET::e10, DET::base2): New data members. | |
6630 Store value internally with double and int instead of 2-element | |
6631 double vector. | |
6632 (DET::initialize2, DET::initialize10): Provide decls. | |
9967 | 6633 * dbleDET.cc (DET::value_will_overflow, DET::value_will_underflow): |
5634 | 6634 Return bool value, not int. |
6635 (DET::initialize2, DET::initialize10): New functions. | |
6636 | |
6637 * CmplxDET.h (ComplexDET::ComplexDET): Use initializer list. | |
6638 (ComplexDET::coefficient2, ComplexDET::coefficient10, | |
6639 ComplexDET::exponent2, ComplexDET::exponent10): New functions. | |
6640 (ComplexDET::det): Delete. | |
6641 (ComplexDET::c2, ComplexDET::c10, ComplexDET::e2, ComplexDET::e10, | |
6642 ComplexDET::base2): New data members. | |
6643 Store value internally with Complex and int instead of 2-element | |
6644 Complex vector. | |
6645 (ComplexDET::initialize2, ComplexDET::initialize10): Provide decls. | |
6646 * dbleComplexDET.cc (ComplexDET::value_will_overflow, | |
6647 ComplexDET::value_will_underflow): Return bool value, not int. | |
6648 (ComplexDET::initialize2, ComplexDET::initialize10): New functions. | |
6649 | |
5632 | 6650 2006-02-24 John W. Eaton <jwe@octave.org> |
6651 | |
6652 * Array.cc (assignN): Clear index before reshaping. | |
6653 | |
6654 * Array.h (Array<T>::operator =): Don't set idx to 0 if copying self. | |
6655 | |
5630 | 6656 2006-02-20 David Bateman <dbateman@free.fr> |
6657 | |
9967 | 6658 * dSparse.cc (dsolve, utsolve, ltsolve): Remove restriction that |
5630 | 6659 matrix must be square in diagonal, permuted diagonal, triangular |
6660 and permuted triangular back/forward substitution code. Change | |
6661 ambiguous use of no. rows and columns. | |
6662 * CSParse.cc (dsolve, utsolve, ltsolve): ditto. | |
6663 * SparseType.cc (SparseType::SparseType(const SparseMatrix&), | |
6664 SparseType::SparseType(const SparseComplexMatrix&)): Recognize | |
6665 rectangular diagonal, permuted diagonal, triangular and permuted | |
6666 triangular matrices. | |
6667 * Sparse.cc (Sparse<T>::Sparse (octave_idx_type, octave_idx_type, T)): | |
6668 Treat case where third argument is zero. | |
6669 | |
5621 | 6670 2006-02-15 John W. Eaton <jwe@octave.org> |
6671 | |
5622 | 6672 * kpse.cc: Do define ST_NLINK_TRICK for Cygwin systems. |
9967 | 6673 (do_subdir) [ST_NLINK_TRICK]: Check links != 2 instead of links > 2. |
5622 | 6674 |
5621 | 6675 * getopt.c: Use __CYGWIN__ instead of __CYGWIN32__. |
6676 | |
5619 | 6677 2006-02-13 David Bateman <dbateman@free.fr> |
6678 | |
6679 * Makefile.in (LINK_DEPS): Add missing dependencies on colamd, | |
9967 | 6680 ccolamd and cxsparse |
5619 | 6681 |
5617 | 6682 2006-02-13 John W. Eaton <jwe@octave.org> |
6683 | |
5618 | 6684 * kpse.cc (kpse_path_iterator::next): Reverse order of tests in |
6685 while loop condition. | |
6686 (kpse_path_iterator::operator =): Declare as private function but | |
6687 don't define to prevent attempts to use assignment operator. | |
6688 Don't define ST_NLINK_TRICK for Cygwin systems. | |
5617 | 6689 |
5615 | 6690 2006-02-10 John W. Eaton <jwe@octave.org> |
6691 | |
6692 * mx-inlines.cc (MX_ND_REDUCTION): Store in cummulative | |
6693 product of all dimensions in CP_SZ. | |
6694 | |
5611 | 6695 2006-02-09 John W. Eaton <jwe@octave.org> |
6696 | |
6697 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Store in cummulative | |
5615 | 6698 product of all dimensions in CP_SZ. |
5611 | 6699 |
5610 | 6700 2006-02-09 David Bateman <dbateman@free.fr> |
6701 | |
9967 | 6702 * SparseQR.cc: new file for real sparse QR class. |
6703 * SparseQR.h: declaration. | |
6704 * SparseCmplxQR.cc: new file for complex sparse QR class. | |
6705 * SparseCmplxQR.h: declaration. | |
6706 * dSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
6707 (factorize, fsolve): Enable code code lssolve. | |
6708 (lssolve): disable unused args, write based in above sparse QR class. | |
6709 * CSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
6710 (factorize, fsolve): Enable code code lssolve. | |
6711 (lssolve): disable unused args, write based in above sparse QR class. | |
6712 * oct-sparse.h: fix location of colamd, ccolamd and metis headers. | |
6713 Include CXSparse headers. | |
6714 * Makefile.in (MATRIX_INC): Include SparseQR.h and SparseCmplxQR.h. | |
6715 (MATRIX_SRC): Include SparseQR.cc and SparseCmplxQR.cc. | |
5610 | 6716 |
5607 | 6717 2006-02-08 John W. Eaton <jwe@octave.org> |
6718 | |
6719 * Array-util.h (calc_permutated_idx): Delete. | |
6720 * Array.cc (permute_vector): New data structure. | |
6721 (permute_vector_compare): New function. | |
6722 (Array<T>::permute): Rewrite to avoid calc_permutated_index for | |
6723 improved performance. | |
6724 | |
5606 | 6725 2006-02-04 David Bateman <dbateman@free.fr> |
6726 | |
6727 * COLAMD: Remove all files, as now unused. | |
6728 | |
5604 | 6729 2006-01-31 John W. Eaton <jwe@octave.org> |
6730 | |
6731 * Sparse.h (Sparse<T>::nzmax): New function. | |
6732 (Sparse<T>::nnz): Rename from nonzero. | |
6733 Change all uses of old nnz function to be nzmax. Change all uses | |
6734 of nonzero to be nnz. | |
6735 (Sparse<T>::nzmx): Rename from nnz (data member). Change all uses. | |
6736 | |
5603 | 6737 2006-01-21 David Bateman <dbateman@free.fr> |
6738 | |
9967 | 6739 * sparse-sort.cc (bool octave_sparse_sidxl_comp): 64-bit fix. |
6740 (bool octave_idx_vector_comp): New function. | |
6741 (template class octave_sort<octave_idx_vector_sort *>): Instantiate | |
6742 indexed idx_vector sorting function. | |
6743 * sparse-sort.h (class octave_sparse_sort_idxl): 64-bit fix. | |
6744 (class octave_idx_vector_sort): New class for indexed idx_vector | |
6745 sorting. | |
6746 (bool octave_idx_vector_comp): Declaration. | |
6747 * Sparse.cc (int assign1(Sparse<LT>&, Sparse<RT>&)): Treat cases of | |
6748 unordered LHS indexes in assignment using new octave_idx_vector_sort | |
6749 class. | |
6750 (int assign(Sparse<LT>&, Sparse<RT>&)): ditto. | |
5603 | 6751 |
5602 | 6752 2006-01-30 John W. Eaton <jwe@octave.org> |
6753 | |
6754 * so-array.h (streamoff_array::nnz): New funtion. | |
6755 * boolNDArray.h (boolNDArray::nnz): New function. | |
6756 * MArrayN.h (MArrayN<T>::nnz): New function. | |
6757 * MArray.h (MArray<T>::nnz): New function. | |
6758 | |
5587 | 6759 2006-01-04 David Bateman <dbateman@free.fr> |
6760 | |
6761 * Spars-op-defs.h (SPARSE_SPARSE_MUL): Previous change resulted in | |
6762 elements not being sorted in return matrix. Sort them, and make | |
9967 | 6763 solver select between two algorithms to further improve the |
5587 | 6764 performance. |
6765 * dSparse.cc: include oct-sort.h. | |
6766 * CSparse.cc: ditto. | |
6767 * sparse-sort.cc: Instantiate octave_sort<octave_idx_type>. | |
9967 | 6768 |
5586 | 6769 2005-12-28 David Bateman <dbateman@free.fr> |
6770 | |
5587 | 6771 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Improved algorithm that is |
9967 | 6772 faster in all cases, and significantly so for low density or small |
5587 | 6773 order problems. |
5586 | 6774 |
5552 | 6775 2005-11-30 John W. Eaton <jwe@octave.org> |
6776 | |
6777 * LSODE.cc (LSODE::do_integrate (double)): Resize iwork and rwork | |
6778 before setting any values in either array. | |
6779 | |
5547 | 6780 2005-11-29 John W. Eaton <jwe@octave.org> |
6781 | |
6782 * oct-uname.h, oct-uname.cc: New files. | |
6783 * Makefile.in: Add them to the appropriate lists. | |
6784 | |
5535 | 6785 2005-11-11 John W. Eaton <jwe@octave.org> |
6786 | |
6787 * Array.cc (Array<T>::indexN): Simplify. | |
6788 | |
5533 | 6789 2005-11-09 John W. Eaton <jwe@octave.org> |
6790 | |
6791 * oct-inttypes.h (octave_int::operator char (void) const): | |
6792 New conversion op. | |
6793 | |
5527 | 6794 2005-11-01 John W. Eaton <jwe@octave.org> |
6795 | |
6796 * Makefile.in (distclean): Also remove oct-types.h. | |
6797 From Quentin Spencer <qspencer@ieee.org>. | |
6798 | |
5526 | 6799 2005-10-31 David Bateman <dbateman@free.fr> |
6800 | |
6801 * dSparse.cc, CSparse.cc: Use C++ true/false instead of | |
6802 preprocessor defined TRUE/FALSE. | |
6803 | |
5523 | 6804 2005-10-30 John W. Eaton <jwe@octave.org> |
6805 | |
6806 * mx-inlines.cc (MX_ND_REDUCTION): Iterate in direction of DIM. | |
6807 (MX_ND_CUMULATIVE_OP): Likewise. | |
6808 | |
5519 | 6809 2005-10-29 John W. Eaton <jwe@octave.org> |
6810 | |
5520 | 6811 * mx-inlines.cc (MX_ND_REDUCTION): Avoid increment_index to speed |
6812 things up. Simplify. | |
6813 | |
5519 | 6814 * Array.cc (Array<T>::indexN): Simplify. Delete separate special |
6815 case for "vector_equivalent". | |
6816 | |
6817 * Array-util.cc (vector_equivalent): Arg is now dim_vector. | |
6818 | |
5518 | 6819 2005-10-28 John W. Eaton <jwe@octave.org> |
6820 | |
6821 * oct-sparse.h: Fix typo in HAVE_UFSPARSE_UMFPACK_H. | |
6822 From Quentin Spencer <qspencer@ieee.org>. | |
6823 | |
6824 * sparse-base-chol.cc: Use C++ true/false instead of | |
6825 preprocessor defined TRUE/FALSE. Use 0 instead of NULL. | |
6826 | |
5516 | 6827 2005-10-27 John W. Eaton <jwe@octave.org> |
6828 | |
6829 * Array.cc (assignN): Reshape to final size instead of resizing. | |
6830 | |
5512 | 6831 2005-10-26 John W. Eaton <jwe@octave.org> |
6832 | |
6833 * oct-sparse.h: New file. | |
6834 * oct-sparse.h.in: Delete. | |
6835 | |
5511 | 6836 2005-10-26 David Bateman <dbateman@free.fr> |
6837 | |
6838 * sparse-base-chol.h: Include cholmod specific code in HAVE_CHOLMOD | |
6839 * sparse-base-chol.cc: ditto. | |
6840 | |
5508 | 6841 2005-10-26 John W. Eaton <jwe@octave.org> |
6842 | |
6843 Changes for GCC 4.1, tip from Arno J. Klaassen | |
6844 <arno@heho.snv.jussieu.fr>: | |
6845 | |
9967 | 6846 * dSparse.h (real (const SparseComplexMatrix&)): |
5509 | 6847 Publish externally used friend function. |
6848 (imag (const SparseComplexMatrix&)): Likewise. | |
6849 | |
5508 | 6850 * dColVector.h (real (const ComplexColumnVector&)): |
6851 Publish externally used friend function. | |
6852 (imag (const ComplexColumnVector&)): Likewise. | |
6853 | |
6854 * dNDArray.h (real (const ComplexNDArray&)): | |
6855 Publish externally used friend function. | |
6856 (imag (const ComplexNDArray&)): Likewise. | |
6857 | |
9967 | 6858 * dMatrix.h (operator * (const ComplexMatrix&)): |
5508 | 6859 Move decl outside class. No need to be friend. |
6860 (real (const ComplexMatrix&)): Publish externally used friend function. | |
6861 (imag (const ComplexMatrix&)): Likewise. | |
6862 | |
6863 * CMatrix.h: (operator * (const ColumnVector&, const | |
6864 ComplexRowVector&)): Move decl outside class. No need to be friend. | |
6865 (operator * (const ComplexColumnVector&, const RowVector&)): Likewise. | |
6866 (operator * (const ComplexColumnVector&, const ComplexRowVector& b)): | |
6867 Likewise. | |
6868 | |
5506 | 6869 2005-10-23 David Bateman <dbateman@free.fr> |
9967 | 6870 |
5506 | 6871 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Check whether trailing zero |
6872 elements need to be removed. | |
9967 | 6873 |
5506 | 6874 * oct-sparse.h.in: Include metis headers and some macros for long/int |
6875 versions of cholmod. | |
9967 | 6876 |
5506 | 6877 * CSparse.cc (tinverse): New private function for the inversion of |
6878 an upper triangular matrix. | |
6879 (dinverse): ditto for diagonal matrices. | |
6880 (inverse): Add SparseType as an argument. Implement matrix inverse | |
6881 using tinverse and dinverse. | |
6882 (fsolve): Use cholmod to implement Cholesky solver. | |
6883 * CSparse.h (tinverse, dinverse): Declarations | |
6884 (inverse): Alter declaration to include SparseType. | |
6885 | |
6886 * dSparse.cc (tinverse, dinverse, inverse, fsolve): ditto. | |
6887 * dSparse.h (tinverse, dinverse, inverse): ditto. | |
6888 | |
6889 * SparseType.cc: Fix complex constructor for hermitian matrices. | |
9967 | 6890 |
5506 | 6891 * sparse-util.cc: New file for sparse utility functions. |
9967 | 6892 * sparse-util.h: New file with declarations of sparse utility |
5506 | 6893 functions. |
6894 | |
6895 * sparse-base-chol.cc: New file with sparse cholesky class based | |
6896 on cholmod. | |
6897 * sparse-base-chol.h: New file with declaration of sparse cholesky | |
6898 class based on cholmod. | |
6899 | |
6900 * SparseCmplxCHOL.cc: Instantiate sparse cholesky class for Complex. | |
6901 * SparseCmplxCHOL.h: Declaration of sparse cholesky class. | |
6902 | |
6903 * SparsedbleCHOL.cc: ditto. | |
6904 * SparsedbleCHOL.h: ditto. | |
6905 | |
6906 * Makefile.in (MATRIX_INC): Include sparse-base-chol.h. | |
6907 (INCLUDES): Include sparse-util.h | |
6908 (TEMPLATE_SRC): Include sparse-base-chol.cc | |
6909 (MATRIX_SRC): Include SparseCmplxCHOL.cc and SparsedbleCHOL.cc | |
9967 | 6910 |
5489 | 6911 2005-10-12 John W. Eaton <jwe@octave.org> |
6912 | |
6913 * oct-env.cc (octave_env::have_x11_display): New function. | |
6914 * oct-env.h: Provide decl. | |
6915 | |
5476 | 6916 2005-09-29 John W. Eaton <jwe@octave.org> |
6917 | |
6918 * file-stat.h (file_stat::mode): New function. | |
6919 | |
6920 * file-stat.cc (file_stat::is_blk, file_stat::is_chr, | |
6921 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
6922 file_stat::is_reg, file_stat::is_sock): New static functions. | |
6923 * file-stat.h: Provide decls. | |
6924 | |
6925 2005-09-28 John W. Eaton <jwe@octave.org> | |
6926 | |
6927 * file-ops.cc (file_ops::recursive_rmdir): New function. | |
6928 * file-ops.h: Provide decl. | |
6929 | |
5454 | 6930 2005-09-19 David Bateman <dbateman@free.fr> |
6931 | |
6932 * oct-env.cc (octave_env::do_get_home_directory): | |
6933 Also check HOMEDRIVE under mingw. | |
6934 | |
5455 | 6935 * Makefile.in (LINK_DEPS): Include UFsparse libraries. |
6936 | |
5453 | 6937 2005-09-16 John W. Eaton <jwe@octave.org> |
6938 | |
6939 * oct-syscalls.cc: Include lo-utils.h here. | |
6940 (octave_syscalls::waitpid): Call octave_waitpid here. | |
6941 | |
6942 * lo-cutils.c (octave_waitpid): New function. | |
6943 * lo-utils.h: Provide decl. Include syswait.h here, not in | |
6944 oct-syscalls.cc | |
9967 | 6945 |
5453 | 6946 |
6947 * syswait.h [__MINGW32__]: Define WAITPID here instead of defining | |
6948 waitpid in src/sysdep.h. Make this header C-compatible. | |
6949 | |
6950 * oct-syscalls.cc (octave_syscalls::waitpid): New arg, status. | |
6951 Change all uses. | |
6952 | |
5451 | 6953 2005-09-15 John W. Eaton <jwe@octave.org> |
6954 | |
6955 * Makefile.in (MAKEDEPS_2): Omit unnecessary variable. | |
6956 | |
6957 * oct-sparse.h.in: New file. | |
6958 * Makefile.in (DISTFILES): Include it in the list. | |
6959 (INCLUDES): Add oct-sparse.h to the list. | |
6960 | |
6961 2005-09-15 David Bateman <dbateman@free.fr> | |
6962 | |
9967 | 6963 * dSparse.cc : Include oct-sparse.h for probed umfpack, colamd etc |
5451 | 6964 headers. Remove include of umfpack.h. |
6965 * CSparse.cc : ditto. | |
6966 * SparsedbleLU.cc : ditto. | |
6967 * SparseCmplxLU.cc : ditto. | |
6968 | |
6969 * COLAMD : Remove colamd files from octave. | |
6970 * COLAMD.files : delete. | |
6971 * COLAMD.README : delete. | |
6972 * Makefile.in: Remove COLAMD. Add LIBGLOB. | |
9967 | 6973 (LN_S): Change to DESTDIR before LN_S to avoid lack of symlinks |
5451 | 6974 under mingw. |
6975 | |
6976 * kpse.cc (ENV_SEP, ENV_SEP_STRING): Use SEPCHAR and SEPCHAR_STR | |
6977 in definition. | |
6978 * lo-cutils.c (octave_w32_library_search): Call GetProcAddress with | |
6979 change of cast not allowed under g++ 3.x. | |
6980 * lo-utils.h (octave_w32_library_search): Declaration. | |
6981 * oct-env.cc (do_get_home_directory): Also check HOMEPATH under mingw. | |
6982 * oct-shlib.cc (octave_w32_shlib::search): Use octave_w32_library_search. | |
6983 | |
5442 | 6984 2005-09-07 John W. Eaton <jwe@octave.org> |
6985 | |
6986 * cmd-edit.cc (command_editor::do_decode_prompt_string): Update | |
6987 based on current code in Bash. Handle a few more escape | |
6988 sequences. Do a better job of decoding \W. | |
6989 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
6990 2005-09-04 David Bateman <dbateman@free.fr> |
5438 | 6991 |
6992 * COLAMD: Update version of colamd to v2.4. | |
9967 | 6993 * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of |
5438 | 6994 colamd.c for long version. |
6995 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
6996 2005-08-25 David Bateman <dbateman@free.fr> |
5429 | 6997 |
6998 * Sparse-op-defs.h (FULL_SPARSE_MUL, SPARSE_FULL_MUL): Macro for | |
6999 mixed sparse/full multiply. | |
7000 * dSparse.cc (operator *), CSparse.cc (operator *): New operators for | |
7001 mixed sparse/full multiply. | |
7002 * dSparse.h (operator *), CSparse.h (operator *): Declaration of | |
7003 mixed sparse/full multiply operators. | |
7004 | |
5420 | 7005 2005-07-25 Erik de Castro Lopo <erikd@zip.com.au> |
7006 | |
7007 * oct-inttypes.h (OCTAVE_S_US_FTR): Compare <= 0 instead of < 0 to | |
7008 avoid warnings for unsigned types. | |
7009 | |
5404 | 7010 2005-07-07 John W. Eaton <jwe@octave.org> |
7011 | |
7012 * dSparse.cc (SparseMatrix::factorize): Initialize Numeric to 0. | |
7013 * CSparse.cc (SparseComplexMatrix::factorize:) Likewise. | |
7014 | |
5392 | 7015 2005-06-15 John W. Eaton <jwe@octave.org> |
7016 | |
5394 | 7017 * oct-rl-edit.c (flush_stdout): Rename from no_redisplay. |
7018 Flush stdout here. | |
7019 (octave_rl_clear_screen): Set rl_redisplay_function to flush_stdout. | |
7020 | |
5392 | 7021 * Array.h (Array::resize): Change int args to octave_idx_type. |
7022 | |
5386 | 7023 2005-06-14 John W. Eaton <jwe@octave.org> |
7024 | |
5389 | 7025 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
7026 dSparse.cc, lo-cieee.c, lo-mappers.cc: Change all uses of | |
7027 octave_is_NaN_or_NA to xisnan. | |
7028 | |
7029 * lo-mappers.h (octave_is_NaN_or_NA): Mark with GCC_ATTR_DEPRECATED. | |
7030 * lo-ieee.h (lo_ieee_is_NaN_or_NA): Likewise. | |
7031 | |
7032 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Now just a wrapper for | |
7033 lo_ieee_isnan. | |
7034 | |
5387 | 7035 * dMatrix.cc (Matrix::too_large_for_float): Only check if abs |
7036 value is greater than FLT_MAX. | |
7037 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
7038 * dNDArray.cc (NDArray::too_large_for_float): Ditto. | |
7039 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
7040 | |
7041 * dMatrix.cc (Matrix::too_large_for_float): Special case Inf | |
7042 values too. | |
7043 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
7044 | |
7045 * dNDArray.cc (NDArray::too_large_for_float): Likewise for NaN, | |
7046 NA, Inf values. | |
7047 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
5386 | 7048 |
5385 | 7049 2005-06-14 David Bateman <dbateman@free.fr> |
7050 | |
5387 | 7051 * dMatrix.cc (Matrix::too_large_for_float): Special case NaN and |
7052 NA values. | |
7053 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
5385 | 7054 |
5379 | 7055 2005-06-02 John W. Eaton <jwe@octave.org> |
7056 | |
7057 * Array.cc (assignN): Try harder to correctly resize previously | |
7058 empty LHS. | |
7059 | |
5351 | 7060 2005-05-16 David Bateman <dbateman@free.fr> |
7061 | |
7062 * dSparse.h: Change UMFPACK_LONG_IDX to IDX_TYPE_LONG. | |
7063 * CSparse.h: ditto. | |
7064 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
7065 2005-05-10 David Bateman <dbateman@free.fr> |
5346 | 7066 |
7067 * dSparse.cc (determinant): Free numeric factorization after | |
7068 sucessful calculation. | |
7069 * CSparse.cc (determinant): ditto. | |
7070 | |
5340 | 7071 2005-05-06 John W. Eaton <jwe@octave.org> |
7072 | |
7073 * dbleCHOL.cc (CHOL::init): Use xelem instead of elem for indexing | |
7074 chol_mat. | |
7075 (chol2mat_internal, chol2mat, CHOL::inverse): New functions. | |
7076 * dbleCHOL.h (chol2mat_internal, chol2mat, CHOL::inverse): | |
7077 Provide decls. | |
7078 | |
7079 * CmplxChol.cc (ComplexCHOL::init): Use xelem instead of elem for | |
7080 indexing chol_mat. | |
7081 (chol2mat_internal, chol2mat, ComplexCHOL::inverse): New functions. | |
7082 * CmplxCHOL.h (chol2mat_internal, chol2mat, CmplxCHOL::inverse): | |
7083 Provide decls. | |
7084 | |
5338 | 7085 2005-05-05 John W. Eaton <jwe@octave.org> |
7086 | |
7087 * Array.cc (Array<T>::permute): Call chop_trailing_singletons on | |
7088 retval before return. | |
7089 | |
5336 | 7090 2005-05-04 John W. Eaton <jwe@octave.org> |
7091 | |
7092 * cmd-edit.cc (gnu_readline::do_readline): Extract const char* | |
7093 from prompt outside of INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE block. | |
7094 | |
5330 | 7095 2005-05-02 John W. Eaton <jwe@octave.org> |
7096 | |
7097 * Makefile.in (LINK_DEPS): List $(UMFPACK_LIBS) ahead of $(BLAS_LIBS). | |
7098 From Dmitri A. Sergatskov <dasergatskov@gmail.com>. | |
7099 | |
5322 | 7100 2005-04-29 David Bateman <dbateman@free.fr> |
7101 | |
5330 | 7102 * dSparse.cc (trisolve): Diagonal passed to lapack zptsv is type |
7103 double. Correct indexing for upper diagonal elements for sparse | |
7104 tridiagonal. | |
5322 | 7105 * CSparse.cc (trisolve): ditto. |
7106 | |
5330 | 7107 * CSparse.h (UMFPACK_ZNAME): Define macro to pick version of |
7108 UMFPACK for 64-bit. | |
9967 | 7109 * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with |
5322 | 7110 UMFPACK_ZNAME(*). |
7111 * SparseCmplxLU.cc (UMFPACK_ZNAME): ditto | |
7112 | |
5330 | 7113 * dSparse.h (UMFPACK_DNAME): Define macro to pick version of |
7114 UMFPACK for 64-bit. | |
9967 | 7115 * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with |
5322 | 7116 UMFPACK_DNAME(*). |
7117 * SparsedbleLU.cc (UMFPACK_DNAME): ditto | |
7118 | |
5330 | 7119 * dSparse.cc (ltsolve, utsolve): Correct permuted upper/lower |
7120 triangular back/forward substitution code. | |
5322 | 7121 * CSparse.cc (ltsolve, utsolve): ditto. |
7122 | |
5330 | 7123 * dSparse.cc (solve): Use mattype.type (false) to force messaging |
7124 from spparms("spumoni",1). | |
5322 | 7125 * CSparse.cc (solve): ditto |
7126 | |
5330 | 7127 * SparseType.cc (SparseType(void)): Print info for |
7128 spparms("spumoni",1). | |
5322 | 7129 (SparseType(const matrix_type), SparseType(const matrix_type, const |
7130 octave_idx_type, const octave_idx_type*), SparseType(const matrix_type, | |
7131 const octave_idx_type, const octave_idx_type)): New constructors. | |
7132 (SparseType (const SparseMatrix&), SparseType (SparseComplexMatrix&)): | |
5330 | 7133 Detect row permuted lower triangular and column permuted upper |
7134 triangular matrices. Remove one of the permutation vectors.. | |
5322 | 7135 |
7136 * SparseType.h: Simplify the permutation code. | |
7137 (SparseType(const matrix_type), SparseType | |
9967 | 7138 (const matrix_type, const octave_idx_type, const octave_idx_type*), |
7139 SparseType(const matrix_type, const octave_idx_type, | |
5322 | 7140 const octave_idx_type)): Declarations. |
9967 | 7141 |
5304 | 7142 2005-04-25 John W. Eaton <jwe@octave.org> |
7143 | |
7144 * str-vec.cc (string_vector::delete_c_str_vec): Correctly free | |
7145 array and its contents. | |
7146 | |
5303 | 7147 2005-04-22 John W. Eaton <jwe@octave.org> |
7148 | |
7149 * oct-rl-edit.c (octave_rl_set_terminal_name): Don't cast away | |
7150 const here now that rl_terminal_name is declared const char*. | |
7151 | |
5294 | 7152 2005-04-21 John W. Eaton <jwe@octave.org> |
7153 | |
7154 * Makefile.in (DISTFILES): Include oct-types.h.in in the list. | |
7155 | |
5285 | 7156 2005-04-19 John W. Eaton <jwe@octave.org> |
7157 | |
7158 * Array.cc (assignN): Don't crash if the index list is empty. | |
7159 | |
5282 | 7160 2005-04-14 David Bateman <dbateman@free.fr> |
7161 | |
7162 * SparseCmplxLU.cc: Add flags for incomplete factorization. | |
7163 * SparsedbleLU.cc: Ditto. | |
7164 * SparseCmplxLU.h: Definition. | |
7165 * SparsedbleLU.h: ditto. | |
7166 | |
7167 * SparseType.cc (transpose): New function. | |
7168 * SparseType.h (transpose): Definition. | |
9967 | 7169 |
5278 | 7170 2005-04-11 John W. Eaton <jwe@octave.org> |
7171 | |
7172 * lo-specfun.cc: Use F77_XFCN instead of F77_FUNC for calls to | |
7173 fortran code that could end up calling XSTOPX. | |
7174 | |
5277 | 7175 2005-04-10 David Bateman <dbateman@free.fr> |
7176 | |
9967 | 7177 * Makefile.in: include oct-types in INCLUDES so that it is |
5277 | 7178 installed |
9967 | 7179 |
5275 | 7180 2005-04-08 John W. Eaton <jwe@octave.org> |
7181 | |
5276 | 7182 * Makefile.in (clean): Use exact filenames instead of *.xxx. |
7183 | |
5275 | 7184 * Initial merge of 64-bit changes from Clinton Chee: |
7185 | |
7186 2005-04-07 John W. Eaton <jwe@octave.org> | |
7187 | |
7188 * MArray-i.cc, Array-i.cc: Instantiate Array<long> and MArray<long>. | |
7189 | |
7190 * CSparse.cc, CSparse.h, MSparse.cc, MSparse.h, Sparse-op-defs.h, | |
7191 Sparse.cc, Sparse.h, SparseCmplxLU.cc, SparseType.cc, | |
7192 SparseType.h, SparsedbleLU.cc, boolSparse.cc, boolSparse.h, | |
7193 dSparse.cc, dSparse.h, sparse-base-lu.cc: | |
7194 Use octave_idx_type instead of int where needed. | |
7195 | |
7196 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
7197 | |
7198 * Array-util.cc, Array-util.h, Array.cc,Array.h, Array2.h, | |
7199 Array3.h, ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
7200 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
7201 CMatrix.h, CNDArray.cc, CNDArray.h, CRowVector.cc, CRowVector.h, | |
7202 CmplxAEPBAL.cc, CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, | |
7203 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
7204 CmplxSCHUR.cc, CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, | |
7205 CollocWt.h, DAEFunc.h, DASPK-opts.in,DASPK.cc,DASPK.h, | |
7206 DASRT-opts.in, DASRT.cc, DASRT.h, DASSL-opts.in, DASSL.cc, | |
7207 DASSL.h, DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, | |
7208 FEGrid.h, LPsolve.cc, LPsolve.h, LSODE-opts.in, LSODE.cc, LSODE.h, | |
7209 MArray-defs.h, MArray.cc, MArray.h, MArray2.cc, MArray2.h, | |
7210 MArrayN.cc, MDiagArray2.cc, MDiagArray2.h, NLConst.h, NLEqn.cc, | |
7211 NLEqn.h, Quad.cc, Quad.h, Range.cc,Range.cc, Range.h, base-de.h, | |
7212 base-lu.cc, base-lu.h, base-min.h, boolMatrix.cc, boolMatrix.h, | |
7213 boolNDArray.cc, boolNDArray.h, chMatrix.cc, chMatrix.h, | |
7214 chNDArray.cc, chNDArray.h, dColVector.cc, dColVector.h, | |
7215 dDiagMatrix.cc, dDiagMatrix.h, dMatrix.cc, dMatrix.h, | |
7216 dNDArray.cc,dNDArray.cc, dNDArray.h, dRowVector.cc, dRowVector.h, | |
7217 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleHESS.cc, | |
7218 dbleHESS.h, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
7219 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, dim-vector.h, idx-vector.cc, | |
7220 idx-vector.h, intNDArray.cc, intNDArray.h, lo-specfun.cc, | |
7221 lo-specfun.h, mach-info.cc, mx-inlines.cc, oct-fftw.cc, | |
7222 oct-fftw.h, oct-rand.cc, oct-rand.h, so-array.cc, so-array.h, | |
7223 str-vec.cc, str-vec.h: | |
7224 Use octave_idx_type instead of int where needed. | |
7225 | |
7226 2005-04-01 John W. Eaton <jwe@octave.org> | |
7227 | |
7228 * dim-vector.h, lo-utils.h: Include oct-types.h. | |
7229 | |
7230 * oct-types.h.in: New file. | |
7231 | |
7232 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
7233 | |
7234 * lo-utils.cc (NINTbig): New function. | |
7235 * lo-utils.h: Provide decl. | |
7236 | |
5269 | 7237 2005-04-06 David Bateman <dbateman@free.fr> |
7238 | |
7239 * Makefile.in: Link to UMFPACK_LIBS. | |
7240 | |
5265 | 7241 2005-04-05 John W. Eaton <jwe@octave.org> |
7242 | |
7243 * Array.cc (assignN): Avoid shadowed declaration in previous change. | |
7244 | |
5264 | 7245 2005-04-01 John W. Eaton <jwe@octave.org> |
7246 | |
7247 * Array.cc (assignN): For A(IDX-LIST) = RHS with A previously | |
7248 undefined, correctly match colons in IDX-LIST with RHS dimensions | |
7249 when resizing A. When performing the assignment, just check that | |
7250 the number of elements in RHS matches the number of elements | |
7251 indexed by IDX-LIST. | |
7252 | |
5260 | 7253 2005-03-30 John W. Eaton <jwe@octave.org> |
7254 | |
5261 | 7255 * lo-mappers.cc (log10, tan, tanh): Delete functions. |
7256 * lo-mappers.h (log10, tan, tanh): Delete decls. | |
7257 | |
7258 * CColVector.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, | |
7259 dSparse.cc: Use std:: for Complex functions instead of relying on | |
7260 wrappers from oct-cmplx.h. | |
5260 | 7261 |
7262 * oct-cmplx.h: Provide typedef only. | |
7263 | |
7264 * DiagArray2.cc (xelem): Don't use initializer for static data. | |
7265 * DiagArray2.h (DiagArray<T>::Proxy::operator T ()): | |
7266 Likewise. | |
7267 | |
5247 | 7268 2005-03-26 John W. Eaton <jwe@octave.org> |
7269 | |
7270 * cmd-edit.cc (do_readline): Wrap call to ::octave_rl_readline | |
7271 with {BEGIN,END}_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE. | |
7272 | |
5209 | 7273 2005-03-15 John W. Eaton <jwe@octave.org> |
7274 | |
7275 * Makefile.in (MATRIX_INC): Remove oct-spparms.h from the list. | |
7276 | |
5203 | 7277 2005-03-14 John W. Eaton <jwe@octave.org> |
7278 | |
7279 * Makefile.in (DISTFILES): Don't include $(UMFPACK_EXTRAS). | |
7280 (DISTDIRS): Don't include UMFPACK. | |
7281 (LIBOCTAVE_OBJECTS): Don't include $(UMFPACK_OBJ). | |
7282 (UMFPACK_SPECIAL_1, UMFPACK_SPECIAL): No need for special include | |
7283 flags for these files. | |
7284 Don't include include $(srcdir)/UMFPACK.files. | |
7285 Don't include include $(srcdir)/UMFPACK.rules. | |
7286 | |
7287 * UMFPACK.README, UMFPACK.files, UMFPACK.patch, UMFPACK.rules: | |
7288 Delete files. | |
7289 * UMFPACK: Delete directory tree. | |
7290 | |
7291 * dSparse.cc: Include <umfpack/umfpack.h> instead of just "umfpack.h". | |
7292 * CSparse.cc: Likewise. | |
7293 * SparsedbleLU.cc: Likewise. | |
7294 * SparseCmplxLU.cc: Likewise. | |
7295 | |
7296 2005-03-14 David Bateman <dbateman@free.org> | |
7297 | |
7298 * CSParse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc: | |
7299 Allow compilation to succeed if UMFPACK is not available. | |
7300 | |
5196 | 7301 2005-03-09 John W. Eaton <jwe@octave.org> |
7302 | |
7303 * Makefile.in (bin-dist): Delete target. | |
7304 (BINDISTLIBS, BINDISTFILES): Delete variables. | |
7305 | |
5173 | 7306 2005-03-01 John W. Eaton <jwe@octave.org> |
7307 | |
7308 * ODESSA.h, ODESSA.cc, ODESSA-opts.in: Delete. | |
7309 * Makefile.in: Remove them from the lists. | |
7310 | |
5169 | 7311 2005-02-28 John W. Eaton <jwe@octave.org> |
7312 | |
7313 * Makefile.in (LINK_DEPS): Remove -lglob from the list. | |
7314 | |
5167 | 7315 2005-02-27 David Bateman <dbateman@free.org> |
7316 | |
5169 | 7317 * Sparse.cc (Sparse<T>::reshape): Set cidx for the N last elements |
7318 in the sparse matrix. | |
9967 | 7319 |
5164 | 7320 2005-02-25 John W. Eaton <jwe@octave.org> |
7321 | |
7322 Sparse merge. | |
7323 | |
7324 2005-02-13 David Bateman <dbateman@free.fr> | |
7325 | |
7326 * CSparse.cc (SparseComplexMatrix:dsolve, SparseComplexMatrix:utsolve, | |
7327 SparseComplexMatrix::ltsolve, SparseComplexMatrix::trisolve, | |
7328 SparseComplexMatrix::bsolve, SparseComplexMatrix:fsolve): Split sparse | |
9967 | 7329 solver into separate functions for the diagonal, upper, lower |
5164 | 7330 triangular, tridiagonal, banded and full cases. |
7331 (SparseComplexMatrix::solve): rewrite to call the above function. One | |
7332 version that probes the matrix type and another that assumes the type | |
7333 is passed. | |
7334 | |
7335 * dSparse.cc (SparseMatrix:dsolve, SparseMatrix:utsolve, | |
7336 SparseMatrix::ltsolve, SparseMatrix::trisolve, | |
7337 SparseMatrix::bsolve, SparseMatrix:fsolve): Likewise | |
7338 (SparseMatrix::solve): Likewise | |
7339 | |
7340 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
7341 Declaration of new functions | |
7342 * dSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
7343 Likewise | |
7344 | |
7345 * CSparse.cc (operator !): Reverse the sense of the test. | |
7346 * dSpase.cc (operator !): Likewise | |
7347 | |
7348 * dSparse.h (type, band_size, is_dense, triangular_row_perm, | |
7349 triangular_col_perm, sparse_info): Remove matrix type code | |
7350 * CSparse.h (type, band_size, is_dense, triangular_row_perm, | |
7351 triangular_col_perm, sparse_info): Likewise | |
7352 * boolSparse.h (type, band_size, is_dense, triangular_row_perm, | |
7353 triangular_col_perm, sparse_info): Likewise | |
7354 * MSparse.h (type, band_size, is_dense, triangular_row_perm, | |
7355 triangular_col_perm, sparse_info): Likewise | |
7356 * Sparse.h (type, band_size, is_dense, triangular_row_perm, | |
7357 triangular_col_perm, sparse_info, matrix_type): Likewise | |
7358 | |
7359 * Sparse.cc (type, sparse_info, band_size): Remove type code | |
9967 | 7360 |
5164 | 7361 * SparseType.h: New class for the matrix type used in solvers |
7362 * SparseType.cc: methods of sparse matrix type class | |
9967 | 7363 |
5164 | 7364 * Makefile.in: Add SparseType.cc |
7365 | |
7366 2005-02-01 David Bateman <dbateman@free.fr> | |
7367 | |
7368 * UMFPACK: Update to version 4.4 | |
7369 * UMFPACK.patch: Version 4.4 contains most of the previous patch. Only | |
7370 keep octave specific test files | |
7371 | |
7372 2005-01-23 David Bateman <dbateman@free.fr> | |
7373 | |
7374 * dSparse.cc (SparseMatrix::solve): Include tridiagonal, cholesky | |
7375 tridiagonal and banded cholesky solvers. Remove calculation of | |
7376 condition number for banded solvers. | |
7377 * CSparse.cc (SparseComplexMatrix::solve): ditto. | |
7378 | |
7379 * Sparse.h (int type (int) const, bool is_dense (void) const): | |
7380 new functions. | |
7381 * MSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
7382 * dSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
7383 * CSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
9967 | 7384 * boolSparse.h (int type (int) const, bool is_dense (void) const): |
5164 | 7385 ditto |
7386 | |
9967 | 7387 * Sparse.cc (int Sparse<T>::type (int) const, |
5164 | 7388 bool Sparse<T>::is_dense (void) const): New functions definition |
9967 | 7389 |
5164 | 7390 * Sparse.h (matrix_type typ): Move caching of matrix type to SparseRep, |
7391 so it actually is cached, but disable | |
7392 | |
7393 * oct-spparms.cc (SparseParams::init_keys): Change spmoni to spumoni | |
7394 for compatiability | |
9967 | 7395 |
5164 | 7396 2005-01-18 David Bateman <dbateman@free.fr> |
7397 | |
7398 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
7399 Modify calculation of number elements to skip between copied blocks. | |
7400 | |
7401 2005-01-07 David Bateman <dbateman@free.fr> | |
7402 | |
7403 * Sparse.h : Reverse definitions of numel and nelem. | |
7404 * Sparse.cc (assign1): Use numel and not nelem | |
7405 * Sparse-op-def.h: Replace all uses of nelem with numel | |
9967 | 7406 |
5164 | 7407 2005-01-07 David Bateman <dbateman@free.fr> |
7408 | |
7409 * dbleDET.h: Make SparseMatrix a friend of the class DET | |
9967 | 7410 * CmplexDET.h: Make SparseComplexMatrix a friend of the class |
5164 | 7411 ComplexDET |
9967 | 7412 * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET |
5164 | 7413 by DET |
7414 * dSparse.h (determinant): ditto | |
9967 | 7415 * CSparse.cc (SparseComplexMatrix::determinant): Replace use of |
5164 | 7416 SparseComplexDET by ComplexDET |
7417 * CSparse.h (determinant): ditto | |
9967 | 7418 * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, |
5164 | 7419 SparseCmplxDET.cc: delete files |
7420 * Makefile.in: Delete reference to SparsedbleDET.h, SparsedbleDET.cc, | |
7421 SparseCmplxDET.h andSparseCmplxDET.cc. | |
7422 | |
9967 | 7423 * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in |
5164 | 7424 local variable to avoid variable shadowing. |
7425 * dSparse.cc (SparseMatrix::solve): ditto. | |
9967 | 7426 |
7427 * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc | |
5164 | 7428 dSparse.h MSparse.cc MSparse-C.cc MSparse-d.cc MSparse-defs.h |
9967 | 7429 MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc |
7430 Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc | |
7431 SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc | |
5164 | 7432 sparse-sort.h: Remove additional licensing clause with authors |
7433 permission. | |
9967 | 7434 |
5164 | 7435 2004-12-30 John W. Eaton <jwe@octave.org> |
7436 | |
7437 * MSparse.cc (SPARSE_A2S_OP_2, SPARSE_SA2_OP_2): | |
7438 Loop counter is int, not size_t. | |
7439 | |
7440 * oct-spparms.cc (SparseParams::operator =): Return *this. | |
7441 | |
7442 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Delete unused variable tmpval. | |
7443 | |
7444 * dSparse.cc (operator << (ostream&, const SparseMatrix&), atan2): | |
7445 Delete unused variables. | |
7446 (SparseMatrix::solve): Avoid warnings about uninitialized | |
7447 variables and variables that might be clobbered by longjmp. | |
7448 | |
7449 * CSparse.cc (operator << (ostream&, const SparseComplexMatrix&), | |
7450 min, max): Delete unused variables. | |
7451 (SparseComplexMatrix::solve): Avoid warnings about uninitialized | |
7452 variables and variables that might be clobbered by longjmp. | |
7453 | |
7454 * Makefile.in (UMFPACK_SPECIAL): Include .d files in the list. | |
7455 | |
7456 * Sparse-op-defs.h (SPARSE_SMS_BIN_OP_2, SPARSE_SSM_BIN_OP_2): | |
7457 Loop counter is int, not size_t. | |
7458 | |
7459 * CSparse.cc (SparseComplexMatrix::hermitian): Avoid shadow warnings. | |
7460 * Sparse.cc (Sparse<T>::Sparse, Sparse<T>::type, assign): Likewise. | |
9967 | 7461 |
5164 | 7462 * Sparse.h (Sparse::SparseRep): Order data members and initializer |
7463 lists consistently. | |
7464 | |
7465 * mx-base.h: Include boolSparse.h, dSparse.h, and CSparse.h. | |
7466 | |
7467 2004-12-29 John W. Eaton <jwe@octave.org> | |
7468 | |
7469 * COLAMD.files (COLAMD_EXTRAS): New variable. | |
7470 * UMFPACK.files (UMFPACK_EXTRAS): New variable. | |
7471 * Makefile.in (DISTFILES): Add $(COLAMD_EXTRAS) and | |
7472 $(UMFPACK_EXTRAS) to the list. | |
7473 (DISTDIRS): New variable. | |
7474 (dist): Handle $(DISTDIRS). | |
7475 | |
9967 | 7476 Merge of sparse code from David Bateman <dbateman@free.fr> and |
5164 | 7477 Andy Adler <adler@site.uottawa.ca>. |
7478 | |
7479 * Makefile.in (VPATH): ADD @srcdir@/COLAMD to the list. | |
7480 | |
7481 * Makefile.in (MAKEDEPS): Include $(COLAMD_SRC) and $(UMFPACK_SRC) | |
7482 without directory prefix. | |
7483 | |
7484 * Makefile.in (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJ) and | |
7485 $(UMFPACK_OBJ) to the list. | |
7486 | |
7487 * COLAMD: New directory. | |
7488 * COLAMD.files: New file. | |
7489 * Makefile.in: Include COLAMD.files. | |
7490 (SOURCES): Add $(COLAMD_SOURCES) to the list. | |
7491 (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJECTS) to the list. | |
7492 (INCLUDES): Add $(COLAMD_INCLUDES) to the list. | |
7493 | |
7494 * UMFPACK: New directory. | |
7495 * UMFPACK.patch, UMFPACK.README, UMFPACK.files, UMFPACK.rules: | |
7496 New files. | |
7497 * Makefile.in: Include UMFPACK.files and UMFPACK.rules. | |
7498 (SOURCES): Add $(UMFPACK_SOURCES) to the list. | |
7499 (LIBOCTAVE_OBJECTS): Add $(UMFPACK_OBJECTS) to the list. | |
7500 (INCLUDES): Add $(UMFPACK_INCLUDES) to the list. | |
7501 | |
7502 * Makefile.in (SPARSE_MX_OP_INC): New variable. | |
7503 (INCLUDES): Add it to the list. | |
7504 (SPARSE_MX_OP_SRC): New variable. | |
7505 (LIBOCTAVE_CXX_SOURCES): Add it to the list. | |
7506 (distclean): Remove $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
7507 (stamp-prereq): Depend on $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
7508 | |
7509 * sparse-mk-ops.awk, sparse-mx-ops: New files. | |
7510 * Makefile.in (DISTFILES): Add them to the lists. | |
7511 | |
7512 * oct-spparms.h, sparse-sort.h: New files. | |
7513 * Makefile.in (INCLUDES): Add them to the list. | |
7514 | |
7515 * oct-spparms.cc, sparse-sort.cc: New files. | |
7516 * Makefile.in (LIBOCTAVE_CXX_SOURCES): Add them to the list. | |
7517 | |
7518 * sparse-base-lu.cc: New file. | |
7519 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
7520 | |
7521 * boolSparse.cc, CSparse.cc, dSparse.cc, MSparse.cc, Sparse.cc, | |
7522 SparseCmplxDET.cc, SparseCmplxLU.cc, SparsedbleDET.cc, | |
7523 SparsedbleLU.cc: New files. | |
7524 * Makefile.in (MATRIX_SRC): Add them to the list. | |
9967 | 7525 |
5164 | 7526 * boolSparse.h, CSparse.h, dSparse.h, MSparse-defs.h, MSparse.h, |
7527 Sparse.h, oct-spparms.h, sparse-base-lu.h, SparseCmplxDET.h, | |
7528 SparseCmplxLU.h, SparsedbleDET.h, SparsedbleLU.h, | |
7529 Sparse-op-defs.h: New files. | |
7530 * Makefile.in (MATRIX_INC): Add them to the appropriate lists. | |
7531 | |
7532 * MSparse-d.cc, MSparse-C.cc, Sparse-b.cc, Sparse-d.cc, | |
7533 Sparse-C.cc: New files. | |
7534 * Makefile.in (TI_SRC): Add them to the list. | |
7535 | |
5149 | 7536 2005-02-18 John W. Eaton <jwe@octave.org> |
7537 | |
7538 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_RESOLVEPATH]: | |
7539 Pass current directory to octave_env::make_absolute. | |
7540 Save value returned from octave_env::make_absolute in local var. | |
7541 Pass const char*, not std::string as first arg of resolvepath. | |
7542 Provide decl for resolved_len. | |
7543 | |
5148 | 7544 2005-02-18 John W. Eaton <jwe@octave.org> |
7545 | |
7546 * Array.cc (Array<T>::permute): Allow permutation vector longer | |
7547 than number of dimenensions of permuted matrix. | |
7548 | |
7549 * Array.cc (Array<T>::permute): Use zero-based indexing for perm_vec. | |
7550 * Array-util.cc (calc_permutated_idx): Likewise. | |
7551 | |
5139 | 7552 2005-02-10 David Bateman <dbateman@free.fr> |
7553 | |
7554 * CNDArray.cc (ComplexNDarray::operator !): Change sense of test. | |
7555 * CMatrix.cc (ComplexMatrix::operator !): Likewise. | |
7556 | |
5137 | 7557 2005-02-09 John W. Eaton <jwe@octave.org> |
7558 | |
5138 | 7559 * file-ops.cc (file_ops::canonicalize_file_name): New functions. |
7560 * file-ops.h: Provide decls. | |
7561 | |
5137 | 7562 * kpse.cc (kpse_tilde_expand): Simply return NAME if it is empty. |
7563 | |
5136 | 7564 2005-02-08 John W. Eaton <jwe@octave.org> |
7565 | |
7566 * Array-util.cc (freeze): Improve error message. | |
7567 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
7568 2005-01-26 David Bateman <dbateman@free.fr> |
5120 | 7569 |
5121 | 7570 * Array.cc (Array<T>::insert): Handle generic case, not just |
7571 special case for fast concatenation. | |
5120 | 7572 |
5110 | 7573 2005-01-18 John W. Eaton <jwe@octave.org> |
7574 | |
7575 * mx-inlines.cc (MX_ND_REDUCTION): Delete RET_ELT_TYPE arg. | |
7576 Change all uses. Use VAL instead of RET_ELT_TYPE when resizing. | |
7577 | |
7578 * dNDArray.cc (NDArray::any): NaN does not count as a nonzero value. | |
7579 * CNDArray.cc (ComplexNDArray::any): Likewise. | |
7580 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
7581 2005-01-18 David Bateman <dbateman@free.fr> |
5108 | 7582 |
7583 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
7584 Modify calculation of number elements to skip between copied blocks. | |
7585 | |
7586 2005-01-18 John W. Eaton <jwe@octave.org> | |
7587 | |
7588 * idx-vector.cc (IDX_VEC_REP::freeze): Call warning handler, not | |
7589 error handler, to warn about resizing. | |
7590 | |
5105 | 7591 2004-12-27 Martin Dalecki <martin@dalecki.de> |
7592 | |
7593 * Array.cc, ArrayN.cc, base-lu.cc, boolMatrix.cc, boolNDArray.cc, | |
7594 Bounds.cc, CColVector.cc, CDiagMatrix.cc, chMatrix.cc, | |
7595 chNDArray.cc, CMatrix.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, | |
7596 CmplxDET.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
7597 CmplxSCHUR.cc, CmplxSVD.cc, CNDArray.cc, CollocWt.cc, | |
7598 CRowVector.cc, DASPK.cc, DASRT.cc, DASSL.cc, dbleAEPBAL.cc, | |
7599 dbleCHOL.cc, dbleDET.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, | |
7600 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, dColVector.cc, | |
7601 dDiagMatrix.cc, DiagArray2.cc, dMatrix.cc, dNDArray.cc, | |
7602 dRowVector.cc, EIG.cc, FEGrid.cc, idx-vector.cc, int16NDArray.cc, | |
7603 int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, intNDArray.cc, | |
7604 LinConst.cc, LPsolve.cc, LSODE.cc, MArray2.cc, MArray.cc, | |
7605 MArrayN.cc, MDiagArray2.cc, NLEqn.cc, oct-alloc.cc, ODES.cc, | |
7606 ODESSA.cc, Quad.cc, Range.cc, so-array.cc, uint16NDArray.cc, | |
7607 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: | |
7608 Delete #pragma implementation. | |
7609 | |
7610 * Array2.h, Array3.h, Array.h, ArrayN.h, base-lu.h, boolMatrix.h, | |
7611 boolNDArray.h, Bounds.h, CColVector.h, CDiagMatrix.h, chMatrix.h, | |
7612 chNDArray.h, CMatrix.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, | |
7613 CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, | |
7614 CmplxSVD.h, CNDArray.h, CollocWt.h, CRowVector.h, DASPK.h, | |
7615 DASRT.h, DASSL.h, dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, | |
7616 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, | |
7617 dColVector.h, dDiagMatrix.h, DiagArray2.h, dim-vector.h, | |
7618 dMatrix.h, dNDArray.h, dRowVector.h, EIG.h, FEGrid.h, | |
7619 idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
7620 int8NDArray.h, intNDArray.h, LinConst.h, LPsolve.h, LSODE.h, | |
7621 MArray2.h, MArray.h, MArrayN.h, MDiagArray2.h, NLConst.h, NLEqn.h, | |
7622 ODES.h, ODESSA.h, Quad.h, Range.h, so-array.h, uint16NDArray.h, | |
7623 uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: | |
7624 Delete #pragma interface. | |
7625 | |
5098 | 7626 2004-12-17 John W. Eaton <jwe@octave.org> |
7627 | |
7628 * lo-cieee.c (lo_ieee_signbit): New function. | |
7629 * lo-ieee.h: Provide decl. | |
7630 Don't define lo_ieee_signbit as a macro here. | |
7631 From Orion Poplawski <orion@cora.nwra.com>. | |
7632 | |
5085 | 7633 2004-11-18 John W. Eaton <jwe@octave.org> |
7634 | |
7635 * int32NDArray.cc (pow): Delete instantiation. | |
7636 * int16NDArray.cc (pow): Likewise. | |
7637 * int8NDArray.cc (pow): Likewise. | |
7638 * uint32NDArray.cc (pow): Likewise. | |
7639 * uint16NDArray.cc (pow): Likewise. | |
7640 * uint8NDArray.cc (pow): Likewise. | |
7641 | |
5081 | 7642 2004-11-17 John W. Eaton <jwe@octave.org> |
7643 | |
5085 | 7644 * kpse.cc (str_llist_float, str_llist_add, kpse_var_expand): |
7645 Now static. | |
7646 (DB_ENVS, DB_HASH_SIZE, DB_NAME, ALIAS_NAME, ALIAS_HASH_SIZE, | |
7647 DEFAULT_TEXMFDBS): Delete unused macros. | |
7648 | |
5081 | 7649 * Array.cc (Array<T>::index): Call generic N-d indexing function |
7650 if idx_arg is N-d. | |
7651 | |
5073 | 7652 2004-11-09 David Bateman <dbateman@free.fr> |
7653 | |
7654 * dNDArray.cc (concat): Delete. | |
7655 (NDArray::concat): New methods. | |
7656 * dNDArray.h: Provide decls. | |
7657 | |
7658 * CNDArray.cc (concat): Delete. | |
7659 (ComplexNDArray::concat): New methods. | |
7660 * CNDArray.h: Provide decls. | |
7661 | |
7662 * boolNDArray.cc (concat): Delete. | |
7663 (boolNDArray::concat): New methods. | |
7664 * boolNDArray.h: Provide decls. | |
7665 | |
7666 * chNDArray.cc (concat): Delete. | |
7667 (charNDArray::concat): New methods. | |
7668 * chNDArray.h: Provide decls. | |
7669 | |
7670 * oct-inttypes.h (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): | |
7671 Delete macros. | |
7672 | |
7673 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
7674 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
7675 (OCTAVE_INT_CONCAT_DECL): Delete use of macro. | |
7676 | |
7677 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
7678 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
7679 (OCTAVE_INT_CONCAT_FN): Delete use of macro. | |
7680 | |
7681 * intNDArray.cc (intNDArray<T>::concat): New method. | |
7682 * intNDArray.h: Provide decl. | |
7683 | |
5072 | 7684 2004-11-08 John W. Eaton <jwe@octave.org> |
7685 | |
7686 * oct-inttypes.cc: New file. | |
7687 * Makefile.in (TI_SRC): Add it to the list. | |
7688 * oct-inttypes.h (OCTAVE_US_TYPE1_CMP_OP, OCTAVE_US_TYPE1_CMP_OPS, | |
7689 OCTAVE_SU_TYPE1_CMP_OP, OCTAVE_SU_TYPE1_CMP_OPS, | |
7690 OCTAVE_TYPE1_CMP_OPS, OCTAVE_US_TYPE2_CMP_OP, | |
7691 OCTAVE_US_TYPE2_CMP_OPS, OCTAVE_SU_TYPE2_CMP_OP, | |
7692 OCTAVE_SU_TYPE2_CMP_OPS, OCTAVE_TYPE2_CMP_OPS): | |
7693 New macros for comparison operations. Avoid potential | |
7694 problems with default conversions when comparing signed and | |
7695 unsigned values. | |
7696 | |
5061 | 7697 2004-11-03 John W. Eaton <jwe@octave.org> |
7698 | |
7699 * dMatrix.cc (Matrix::inverse): Return info == -1 for any failure. | |
7700 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
7701 | |
5052 | 7702 2004-10-19 John W. Eaton <jwe@octave.org> |
7703 | |
7704 * Array.cc (assignN): Avoid resizing if assignment will fail. | |
7705 | |
5047 | 7706 2004-10-18 John W. Eaton <jwe@octave.org> |
7707 | |
7708 * Array.cc (assign2): Save result of squeeze operation. | |
7709 Squeeze if ndims is > 2, not if length of RHS vector is > 2. | |
7710 | |
5095 | 7711 2004-10-11 David Bateman <dbateman@free.fr> |
5044 | 7712 |
7713 * oct-fftw.cc (class octave_fftw_planner): Add inplace[2] to | |
7714 flag whether transform in- or out-of-place. | |
7715 (octave_fftw_planner::octave_fftw_planner): Initialize it. | |
7716 (octave_fftw_planner::create_plan): Use it. | |
7717 | |
5039 | 7718 2004-09-24 John W. Eaton <jwe@octave.org> |
7719 | |
7720 * Array.cc (assign2, assignN): If index is empty, allow RHS to be | |
7721 any empty matrix, not just []. | |
7722 | |
5030 | 7723 2004-09-23 John W. Eaton <jwe@octave.org> |
7724 | |
7725 * mx-ops: Include scalar zero value in type definitions. | |
7726 Delete zero information from ops section. | |
7727 * mk-ops.awk: Use type-specific zero info. | |
7728 | |
7729 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, | |
7730 SND_BOOL_OP, NDND_BOOL_OP): Args now include zero values for both | |
7731 LHS and RHS. | |
7732 (MS_BOOL_OPS2, SM_BOOL_OPS2, MM_BOOL_OPS2, NDS_BOOL_OPS2, | |
7733 SND_BOOL_OPS2, NDND_BOOL_OPS2): New macros. | |
7734 (MS_BOOL_OPS, SM_BOOL_OPS, MM_BOOL_OPS, NDS_BOOL_OPS, | |
7735 SND_BOOL_OPS, NDND_BOOL_OPS): Define in terms of 2-zero versions. | |
7736 | |
7737 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const | |
7738 intNDArray<U>&)): Use explicit as_double () conversion in call to | |
7739 tree_to_mat_idx. | |
7740 | |
7741 * oct-inttypes.h (octave_int<T>::operator float): New conversion. | |
7742 (pow): Instead of "if (b_val)", use "if (b_val != zero)". | |
7743 Likewise for the "if (b_val & one)" test. | |
7744 (operator <<, operator >>): Type of retval is octave_int<T1>, not T1. | |
7745 | |
5029 | 7746 2004-09-23 David Bateman <dbateman@free.fr> |
7747 | |
7748 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): | |
7749 New macros. Use them to define mixed intX-double and double-intX ops. | |
7750 | |
5021 | 7751 2004-09-22 Federico Zenith <zenith@chemeng.ntnu.no> |
7752 | |
7753 * DASPK-opts.in, DASRT-opts.in, ODESSA-opts.in: | |
7754 Fix doc string layout to avoid overfull hbox in printed output. | |
7755 | |
5015 | 7756 2004-09-21 John W. Eaton <jwe@octave.org> |
7757 | |
7758 * mach-info.h (octave_mach_info::flt_fmt_native): Delete. | |
7759 * mach-info.cc (octave_mach_info::string_to_float_format): | |
7760 For "native", set actual native format. | |
7761 (octave_mach_info::float_format_as_string): Delete flt_fmt_native case. | |
7762 | |
5008 | 7763 2004-09-17 David Bateman <dbateman@free.fr> |
7764 | |
7765 * CmplxSCHUR.cc (CmplxSCHUR::init): New arg, calc_unitary to make the | |
7766 calculation of the unitary matrix optional. | |
7767 * dbleSCHUR.cc (SCHUR::init): Ditto. | |
7768 * CmplxSCHUR.h, dbleSCHUR.h: Update decls. | |
7769 | |
4998 | 7770 2004-09-15 David Bateman <dbateman@free.fr> |
7771 | |
7772 * oct-sort.h (octave_sort<T>::set_compare (bool (*comp) (T, T))): | |
7773 New function to set the comparison function for the sort. | |
7774 | |
4985 | 7775 2004-09-10 John W. Eaton <jwe@octave.org> |
7776 | |
7777 * lo-mappers.cc (xround): Fix typo. | |
7778 | |
4979 | 7779 2004-09-08 John W. Eaton <jwe@octave.org> |
7780 | |
7781 * Array.h (Array::~Array): Declare virtual. | |
7782 | |
7783 * idx-vector.h (idx_vector::idx_vector): Initialize rep in member | |
7784 initializaion list. Don't set rep->count since the rep | |
7785 constructor does that. | |
7786 | |
4968 | 7787 2004-09-07 John W. Eaton <jwe@octave.org> |
7788 | |
4970 | 7789 * data-conv.cc (oct_data_conv::string_to_data_type): Handle dt_logical. |
7790 (oct_data_conv::data_type_as_string): Likewise. | |
7791 | |
7792 * data-conv.h (oct_data_conv::data_type): Add dt_logical to list. | |
7793 | |
4968 | 7794 * Range.cc (round): Delete unused function. |
7795 | |
7796 * lo-mappers.cc (xround): Rename from round. Change all uses. | |
7797 If HAVE_ROUND, call round, otherwise fake with floor and ceil. | |
7798 | |
7799 * oct-inttypes.h: Include <cmath> here. | |
7800 | |
4964 | 7801 2004-09-03 David Bateman <dbateman@free.fr> |
7802 | |
7803 * boolNDArray.cc (boolNDArray::concat, boolNDArray::insert): | |
7804 New functions for boolean matrix concatenation. | |
7805 * boolNDArray.h: Provide decls. | |
7806 | |
4963 | 7807 2004-09-03 John W. Eaton <jwe@octave.org> |
7808 | |
4964 | 7809 * oct-inttpes.h (OCTAVE_INT_CMP_OP): Convert operarands to double |
7810 to avoid signed/unsigned int comparison problems. | |
7811 | |
7812 * mx-ops: Generate CMP and BOOL ops for mixed integer types and | |
7813 for mixed integer and double types. | |
7814 | |
7815 * mk-ops.awk: Output BIN_OP_DECLS, CMP_OP_DECLS, and BOOL_OP_DECLS | |
7816 separately, and only if needed. | |
7817 | |
4963 | 7818 * oct-inttypes.h (octave_fit_to_range): Use constructor instead of |
7819 static_cast for type conversion. | |
7820 | |
4953 | 7821 2004-09-01 John W. Eaton <jwe@octave.org> |
7822 | |
7823 * oct-inttypes.h (pow, operator +, operator -, operator *, | |
7824 operator /): Handle mixed integer/double ops. If op generates a | |
7825 NaN, set result to 0. | |
7826 (octave_int::operator - (void)): Convert to double, then negate, | |
7827 then fit to range. | |
7828 | |
7829 * mx-ops: Define integer types. Include declarations for mixed | |
7830 integer/double ops. | |
7831 | |
4952 | 7832 2004-08-31 John W. Eaton <jwe@octave.org> |
7833 | |
7834 * oct-inttypes.h (pow): Args now const reference. | |
7835 (octave_int<T>::operator *=, octave_int<T>::operator /=, | |
7836 octave_int<T>::operator <<=, octave_int<T>::operator >>=): | |
7837 New member functions. | |
7838 (OCTAVE_INT_BITSHIFT_OP): Delete macro. | |
7839 (operator >> (const octave_int<T1>& x, const T2& y)): | |
7840 Define in terms of >>=. | |
7841 (operator << (const octave_int<T1>& x, const T2& y)): | |
7842 Define in terms of <<=. | |
7843 (bitshift): Operate on octave_int<T> objects, not the values, so | |
7844 we get proper saturation properties. | |
7845 | |
7846 2004-08-31 David Bateman <dbateman@free.fr> | |
7847 | |
7848 * oct-inttypes.h (pow (constT, T)): New template. | |
7849 | |
9967 | 7850 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, |
4952 | 7851 uint16NDArray.cc, uint32NDArray.cc: Instantiate power function. |
7852 | |
4949 | 7853 2004-08-31 John W. Eaton <jwe@octave.org> |
7854 | |
7855 * oct-inttypes.h (octave_int::byte_size): New function. | |
7856 | |
4944 | 7857 2004-08-31 John W. Eaton <jwe@octave.org> |
7858 | |
4946 | 7859 * Makefile.in (EXTRAS): Add intNDArray.cc to the list. |
7860 | |
4944 | 7861 * data-conv.h (oct_data_conv::data_type): Include sized types. |
7862 Explicitly number enum elements. | |
7863 | |
7864 * data-conv.cc (oct_data_conv::string_to_data_type (const | |
7865 std::string&, int&, oct_data_conv::data_type&, | |
7866 oct_data_conv::data_type&)): New function. | |
7867 (oct_data_conv::string_to_data_type (const std::string&, int&, | |
7868 oct_data_conv::data_type&)): New function. | |
7869 (oct_data_conv::data_type_as_string): New function. | |
7870 | |
7871 * dMatrix.cc (read_int, do_read, Matrix::read): Delete. | |
7872 (write_int, do_write, Matrix::write): Delete. | |
7873 * dMatrix.h (Matrix::read, Matrix::write): Delete decls. | |
7874 | |
7875 * byte-swap.h: Use template functions and specialization. | |
7876 Change all uses. | |
7877 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
7878 | |
4943 | 7879 2004-08-30 John W. Eaton <jwe@octave.org> |
7880 | |
7881 * oct-inttypes.h (octave_int_fit_to_range): Use template | |
7882 specializations to avoid warnings about signed/unsigned comparisons. | |
7883 | |
7884 2004-08-28 John W. Eaton <jwe@octave.org> | |
7885 | |
7886 * data-conv.cc (do_float_format_conversion (unsigned char *, | |
7887 size_t, int, oct_mach_info::float_format)): New function. | |
7888 (GET_SIZED_INT_TYPE): New macro. | |
7889 (string_to_data_type): Use it to return sized types corresponding | |
7890 to Octave array data types. | |
7891 (strip_spaces): New function. | |
7892 (do_double_format_conversion, do_float_format_conversion): Pass | |
7893 from_fmt and to_fmt. Don't always assume the to_fmt is the native | |
7894 float format. | |
7895 (do_double_format_conversion, | |
7896 IEEE_big_double_to_IEEE_little_double, | |
7897 VAX_D_double_to_IEEE_little_double, | |
7898 VAX_G_double_to_IEEE_little_double, Cray_to_IEEE_little_double, | |
7899 IEEE_little_double_to_IEEE_big_double, | |
7900 VAX_D_double_to_IEEE_big_double, VAX_G_double_to_IEEE_big_double, | |
7901 Cray_to_IEEE_big_double, IEEE_little_double_to_VAX_D_double, | |
7902 IEEE_big_double_to_VAX_D_double, VAX_G_double_to_VAX_D_double, | |
7903 Cray_to_VAX_D_double, IEEE_little_double_to_VAX_G_double, | |
7904 IEEE_big_double_to_VAX_G_double, VAX_D_double_to_VAX_G_double, | |
7905 Cray_to_VAX_G_double): | |
7906 Pass data as void*, not double*. | |
7907 (do_float_format_conversion, IEEE_big_float_to_IEEE_little_float, | |
7908 VAX_D_float_to_IEEE_little_float, | |
7909 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, | |
7910 IEEE_little_float_to_IEEE_big_float, | |
7911 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, | |
7912 Cray_to_IEEE_big_float, IEEE_little_float_to_VAX_D_float, | |
7913 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, | |
7914 Cray_to_VAX_D_float, IEEE_little_float_to_VAX_G_float, | |
7915 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, | |
7916 Cray_to_VAX_G_float): | |
7917 Pass data as void*, not float*. | |
7918 | |
7919 2004-08-27 John W. Eaton <jwe@octave.org> | |
7920 | |
7921 * byte-swap.h (swap_bytes): New template versions, with | |
7922 specializations. | |
7923 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
7924 Change all uses. | |
7925 | |
4940 | 7926 2004-08-24 David Bateman <dbateman@free.fr> |
7927 | |
7928 * chNDArray.cc (concat): Check whether matrix to be inserted is | |
7929 empty instead of checking final matrix. | |
7930 * dNDArray.cc (concat): Likewise. | |
7931 * CNDArray.cc (concat): Likewise. | |
7932 | |
7933 2004-08-23 David Bateman <dbateman@free.fr> | |
7934 | |
9967 | 7935 * dim-vector.h (dim_vector::concat): Correct incrementation for |
4940 | 7936 non-existent dimensions. |
7937 | |
4938 | 7938 2004-08-09 John W. Eaton <jwe@octave.org> |
7939 | |
7940 * idx-vector.h (idx_vector::idx_vector_rep::tree_to_mat_idx | |
9967 | 7941 (const octave_int<U>&)): New member function. |
4938 | 7942 (idx_vector::idx_vector_rep::tree_to_mat_idx (double, bool&), |
7943 idx_vector::idx_vector_rep::tree_to_mat_idx (int)): | |
7944 Now member functions instead of static in idx-vector.cc. | |
7945 (idx_vector::idx_vector_rep::idx_vector_rep (const octave_int<U>&), | |
7946 idx_vector::idx_vector_rep::idx_vector_rep (const intNDArray<U>&)): | |
7947 New template constructors. | |
7948 | |
4932 | 7949 2004-08-05 John W. Eaton <jwe@octave.org> |
7950 | |
4933 | 7951 * EIG.cc (EIG::init): Add volatile qualifier to nvr decl. |
7952 | |
4932 | 7953 * intNDArray.cc (intNDArray<T>::operator !, intNDArray<T>::all, |
7954 intNDArray<T>::any): Sprinkle with this-> as needed. | |
7955 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): Likewise. | |
7956 | |
4929 | 7957 2004-08-03 John W. Eaton <jwe@octave.org> |
7958 | |
7959 * Array.cc (Array<T>::squeeze): Do nothing for 2-d arrays. For | |
7960 arrays with more than two dimensions and only one non-singleton | |
7961 dimension, return a column vector. | |
7962 | |
4921 | 7963 2004-07-28 John W. Eaton <jwe@octave.org> |
7964 | |
7965 * oct-cmplx.h (pow (const Complex&, const double&): | |
7966 Convert second arg to complex to avoid libstdc++ bug. | |
7967 | |
4920 | 7968 2004-07-27 John W. Eaton <jwe@octave.org> |
7969 | |
7970 * oct-inttypes.h (bitshift): New arg, MASK. | |
7971 (OCTAVE_INT_BITSHIFT_OP): Bitshift does not saturate. | |
7972 | |
4916 | 7973 2004-07-23 John W. Eaton <jwe@octave.org> |
7974 | |
7975 * Array.cc (Array<T>::reshape): Return *this if no change in size. | |
7976 | |
4915 | 7977 2004-07-23 David Bateman <dbateman@free.fr> |
7978 | |
7979 * Array.cc, Array.h (cat_ra): Delete. | |
9967 | 7980 * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc |
4915 | 7981 (INSTANTIATE_ARRAY_CAT): Delete. |
7982 | |
9967 | 7983 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, |
4915 | 7984 chNDArray.h, intNDArray.cc, intNDArray.h (cat): Delete. |
9967 | 7985 |
4915 | 7986 * Array.cc (Array<T>::insert): Copy data in NDArray version. |
7987 | |
9967 | 7988 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, |
4915 | 7989 chNDArray.h (concat): New function used for concatenation that does |
7990 an indexed copy of one array into another. | |
7991 | |
7992 * dim-vector.h (concat): New function to concatenate dim_vectors. | |
7993 | |
7994 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
9967 | 7995 chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for |
4915 | 7996 insertion of one NDArray into another. |
7997 | |
7998 * oct-inttype.cc (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): New | |
7999 macros to define the int/uint concatenation functions. | |
8000 | |
8001 * uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
8002 int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc | |
8003 (OCTAVE_INT_CONCAT_FN): Instantiate the concatenation function . | |
8004 | |
8005 * uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
8006 int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h | |
8007 (OCTAVE_INT_CONCAT_DECL): Declare the int/uint concatentaion | |
8008 functions. | |
8009 | |
4911 | 8010 2004-07-22 David Bateman <dbateman@free.fr> |
8011 | |
8012 * oct-sort.h: Don't include oct-obj.h. | |
8013 | |
8014 * lo-specfun.cc (is_integer_value): New function. | |
8015 (zbesj, zbesi, zbesy): Special case negative integer or half | |
8016 integer orders that cause overflow for small arguments. | |
8017 | |
4909 | 8018 2004-07-12 John W. Eaton <jwe@octave.org> |
8019 | |
8020 * oct-inttypes.h (octave_int<T>::nbits): New function. | |
8021 (bitshift (const octave_int<T>&, int)): New function. | |
8022 | |
4902 | 8023 2004-06-14 John W. Eaton <jwe@octave.org> |
8024 | |
8025 * mx-base.h: Include headers for new int types. | |
8026 | |
8027 * dNDArray.h, dNDArray.cc (NDArray::NDArray (const boolNDArray&), | |
8028 NDArray::NDArray (const charNDArray&)): Delete. | |
8029 (template <class U> explicit NDArray (const intNDArray<U>&)): New | |
8030 constructor. | |
8031 (NDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
8032 | |
8033 * chMatrix.h (CharMatrix::transpose): New forwarding functions for | |
8034 return type conversion. | |
8035 | |
8036 * ComplexNDArray.h, ComplexNDArray.cc | |
8037 (ComplexNDArray::ComplexNDArray (const ArrayN<Complex>&), | |
8038 (ComplexNDArray::ComplexNDArray (const NDArray&), | |
8039 (ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
8040 (ComplexNDArray::ComplexNDArray (const charNDArray&)): Delete. | |
9967 | 8041 |
4902 | 8042 (ComplexNDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. |
8043 | |
8044 * MArrayN.h: | |
8045 (template <class U> explicit MArrayN<T>::MArrayN (const Array2<U>&), | |
8046 (template <class U> MArrayN<T>::MArrayN (const ArrayN<U>&), | |
8047 (template <class U> explicit MArrayN<T>::MArrayN (const MArray<U>&)): | |
8048 New constructors. | |
8049 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
8050 ArrayN<T>::squeeze): | |
8051 New forwarding functions for return type conversion. | |
8052 | |
8053 * ArrayN.h: | |
8054 (template <class U> explicit ArrayN<T>::ArrayN (const Array2<U>&), | |
8055 (template <class U> explicit ArrayN<T>::ArrayN (const ArrayN<U>&), | |
8056 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&), | |
8057 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&, | |
8058 const dim_vector&)): New constructors. | |
8059 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
8060 ArrayN<T>::transpose): | |
8061 New forwarding functions for return type conversion. | |
8062 | |
8063 * Array.h (template <class U> Array<T>::Array (const Array<U>&)): | |
8064 New constructor. | |
8065 (Array<T>::coerce, Array<T>::byte_size): New functions. | |
8066 | |
8067 * Array-i.cc, MArray-i.cc: Instantiate new integer types. | |
8068 | |
8069 * oct-inttypes.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
8070 int8NDArray.h , intNDArray.h, uint16NDArray.h, uint32NDArray.h, | |
8071 uint64NDArray.h, uint8NDArray.h, int16NDArray.cc, int32NDArray.cc, | |
8072 int64NDArray.cc, int8NDArray.cc, intNDArray.cc, uint16NDArray.cc, | |
8073 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: New files. | |
8074 * Makefile.in: Add them to the appropriate lists. | |
8075 | |
4899 | 8076 2004-06-04 John W. Eaton <jwe@octave.org> |
8077 | |
8078 * mx-inlines.cc (MX_ND_REDUCTION): New arg, RET_ELT_TYPE. Use | |
8079 "RET_ELT_TYPE ()" rather than "false" as fill value for retval | |
8080 resize op. Change all uses. | |
8081 | |
4898 | 8082 2004-06-03 David Bateman <dbateman@free.fr> |
8083 | |
8084 * Array.cc (assignN): Allow magic colon for dimensions lvalue | |
8085 greater than the existing number of dimensions in lvalue. | |
8086 | |
4887 | 8087 2004-04-30 David Bateman <dbateman@free.fr> |
8088 | |
9967 | 8089 * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): |
4887 | 8090 New arg, fill_value. |
8091 (dim_vector::resize): Allow optional fill_value argument. | |
8092 | |
9967 | 8093 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): |
4887 | 8094 Don't chop trailing dimensions of Array<idx_vector> if there is |
8095 more than one element in idx_vector. Resize the return value to | |
8096 the size of Array<idx_vector>. | |
8097 | |
8098 * Array-util.cc (short_freeze): Better freeze of last dimension of | |
8099 idx_vector that is shorter than a dim_vector. | |
8100 | |
4882 | 8101 2004-04-23 John W. Eaton <jwe@octave.org> |
8102 | |
8103 * oct-sort.cc: Don't include oct-obj.h. | |
8104 | |
4876 | 8105 2004-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
8106 | |
8107 * Array.cc (Array<T>::index2, Array<T>::indexN): | |
8108 Don't set invalid dimensions on return value. | |
8109 | |
4871 | 8110 2004-04-21 John W. Eaton <jwe@octave.org> |
8111 | |
8112 * mx-inlines.cc (MX_ND_REDUCTION): Chop trailing singletons. | |
8113 | |
4850 | 8114 2004-04-06 David Bateman <dbateman@free.fr> |
8115 | |
4870 | 8116 * Array.cc (Array<T>::resize_no_fill (const dim_vector& dv), |
8117 Array<T>::resize_and_fill (const dim_vector& dv, const T& val)): | |
8118 Make their behavior equivalent except for filling vs. not filling. | |
8119 | |
4850 | 8120 * oct-sort.cc: New template class for arbitrary sorting. |
8121 * oct-sort.h: Declaration of sort class. | |
8122 * Makefile: Add them to the appropriate lists. | |
8123 | |
4845 | 8124 2004-04-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
8125 | |
8126 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Fix off-by-one error. | |
8127 | |
4844 | 8128 2004-04-02 David Bateman <dbateman@free.fr> |
8129 | |
9967 | 8130 * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, |
4844 | 8131 besselh2, airy, biry, betainc, gammainc, do_bessel): |
4852 | 8132 New N-d array versions. |
4844 | 8133 (SN_BESSEL, NS_BESSEL, NN_BESSEL): New macros. |
9967 | 8134 * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, |
4844 | 8135 besselh2, airy, biry, betainc, gammainc): Provide decls. |
9967 | 8136 |
4844 | 8137 * dNDArray.cc (NDArray::min, NDArray::max, min, max): |
8138 New functions. | |
8139 * dNDArray.h (NDArray::min, NDArray::max, min, max): Provide decls. | |
8140 | |
8141 * CNDArray.cc (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
8142 New functions. | |
9967 | 8143 * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): |
4844 | 8144 Provide decls. |
8145 | |
4842 | 8146 2004-03-17 David Hoover <jazzdaq@yahoo.com> |
8147 | |
8148 * DASPK.cc (DASPK::do_integrate): Always add n*n elements to the | |
8149 work vector, not just when using a numerical Jacobian. | |
8150 | |
4834 | 8151 2004-03-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
8152 | |
4835 | 8153 * so-array.cc (SND_CMP_OP, NDS_CMP_OP, NDND_CMP_OP): |
8154 Omit empty result args. | |
8155 | |
4834 | 8156 * Array.cc (Array<T>::Array (const Array<T>&, const dim_vector&)): |
8157 Move here from Array.h, check that size of array arg is not | |
8158 smaller than the size defined by the new dimensions. | |
8159 | |
4832 | 8160 2004-03-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
8161 | |
8162 * Array.cc (Array<T>::index2): Allow result to be N-d if indexing | |
8163 a scalar or vector with an N-d array. | |
8164 | |
4826 | 8165 2004-03-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
8166 | |
4828 | 8167 * Array.cc (Array<T>::index2): If scalar or vector is indexed by |
8168 matrix, return object that is the same size as the index. | |
8169 | |
4826 | 8170 * mx-op-defs.h (NDND_CMP_OP, MM_CMP_OP): Require dimensions to agree. |
8171 Eliminate MT_RESULT args. Return value is always size of args. | |
8172 (MS_CMP_OP, SM_CMP_OP, NDS_CMP_OP, SND_CMP_OP): | |
8173 Eliminate EMPTY_RESULT arg. | |
8174 Return value is always size of matrix or N-d array arg. | |
8175 (TBM, FBM, NBM): Delete unused macros. | |
8176 | |
4821 | 8177 2004-03-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
8178 | |
8179 * Array.cc (Array<T>::maybe_delete_elements): Return immediately | |
8180 if all LHS dimensions are zero. For one index case, freeze and | |
8181 sort idx_vec before checking length, and do nothing if | |
8182 num_to_delete is zero. | |
4822 | 8183 (Array<T>::maybe_delete_elements_2): Omit Fortran-indexing warning. |
4821 | 8184 |
4816 | 8185 2004-03-04 David Bateman <dbateman@free.fr> |
8186 | |
8187 * dNDArray.cc (NDArray::ifourier): Arg is int, not const int. | |
8188 * CNDArray.cc (ComplexNDArray::ifourier): Likewise. | |
8189 | |
4811 | 8190 2004-03-03 Hans Ekkehard Plesser <hans.ekkehard.plesser@nlh.no> |
8191 | |
8192 * base-lu.cc (base_lu<>::L): Check bounds before setting diagonal | |
8193 element. | |
8194 | |
8195 2004-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8196 | |
8197 * Range.h (Range::Range): Add cache to member initialization list. | |
8198 (Range::clear_cache): New private function. | |
8199 | |
8200 * Range.h (Range::set_base, Range::set_limit, Range::set_inc): | |
8201 Use clear cache. Don't do anything if range does not change. | |
8202 * Range.cc (Range::sort): Likewise. | |
8203 | |
4810 | 8204 2004-03-02 Paul Kienzle <pkienzle@users.sf.net> |
8205 | |
8206 * Range.cc (Range::matrix_value): Cache result. | |
8207 (Range::sort): Clear cache. | |
8208 * Range.h (Range::cache): New data member. | |
8209 (Range::set_base, Range::set_limit, Range::set_inc): Clear cache. | |
8210 (Range::print_range): Delete. | |
4808 | 8211 |
8212 2004-03-02 David Bateman <dbateman@free.fr> | |
9967 | 8213 |
4808 | 8214 * oct-fftw.cc: Only two versions of plan, and avoid endless |
8215 changes between them. Faster for small fft's. | |
8216 (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): | |
9967 | 8217 New member variables. |
4808 | 8218 (octave_fftw_planner::ialign, octave_fftw_planner::oalign, |
8219 octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. | |
8220 Change all uses. | |
8221 (CHECK_SIMD_ALIGNMENT): New macro. | |
8222 (octave_fftw_planner::create_plan): Use it. | |
8223 | |
4806 | 8224 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> |
8225 | |
8226 * Array.cc (Array<T>::insertN): Eliminate N-d indexing. | |
8227 | |
9967 | 8228 * mx-inlines.cc (MX_ND_CAT): Delete macro. |
8229 | |
8230 * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. | |
8231 * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. | |
8232 * chNDArray.cc (charNDArray<T>::cat): Ditto. | |
8233 * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. | |
8234 | |
8235 * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. | |
8236 * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. | |
4806 | 8237 |
4800 | 8238 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
8239 | |
4802 | 8240 * oct-rl-edit.c (octave_rl_set_startup_hook, |
8241 octave_rl_get_startup_hook, octave_rl_set_event_hook, | |
8242 octave_rl_get_event_hook): Omit casts. | |
8243 * oct-rl-edit.h (rl_startup_hook_fcn_ptr, rl_event_hook_fcn_ptr): | |
8244 Return value for function pointer typedef is now int. | |
8245 * cmd-edit.h (command_editor::startup_hook_fcn, | |
8246 command_editor::event_hook_fcn): Likewise. | |
8247 * cmd-hist.cc, cmd-hist.h (command_history::goto_mark, | |
8248 command_history::do_goto_mark, gnu_history::do_goto_mark): | |
8249 Return type is now int. Return 0. | |
8250 | |
4800 | 8251 * EIG.cc (EIG::init, EIG::symmetric_init): |
8252 Query Lapack for workspace size. | |
8253 | |
4796 | 8254 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
8255 | |
9967 | 8256 * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): |
4796 | 8257 Fix thinko in extending dimensions. |
8258 | |
4791 | 8259 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
8260 | |
8261 * Range.cc (Range::matrix_value, Range::min, Range::max): | |
8262 Don't compute values beyond the limits of the range. | |
8263 (operator << (std::ostream&, const Range&)): Likewise. | |
8264 | |
4786 | 8265 2004-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
8266 | |
4788 | 8267 * oct-fftw.cc (octave_fftw_planner::create_plan): |
8268 Cast IN and OUT args to ptrdiff_t instead of long before masking. | |
8269 From Paul Kienzle <pkienzle@users.sf.net>. | |
8270 | |
4786 | 8271 * Array.cc (Array<T>::insertN (const Array<T>&, int, int)): |
8272 Rename from Array<T>::insert. | |
8273 (Array<T>::insert2 (const Array<T>&, int, int)): | |
8274 Reinstate old Array<T>::insert function under this name. | |
8275 (Array<T>::insert (const Array<T>&, int, int)): | |
8276 New function. Dispatch to insert2 or insertN as appropriate. | |
8277 | |
4785 | 8278 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
8279 | |
9967 | 8280 * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): |
4785 | 8281 Sprinkle with OCTAVE_QUIT. |
8282 | |
5095 | 8283 2004-02-16 David Bateman <dbateman@free.fr> |
4773 | 8284 |
8285 * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): | |
8286 Add support for FFTW 3.x. Include the ability to | |
8287 use the real to complex transform for fft's of real matrices | |
8288 (octave_fftw_planner::create_plan2d): Delete. | |
8289 (octave_fftw::fft2d): Delete. | |
8290 (convert_packcomplex_1d, convert_packcomplex_Nd): | |
8291 New static functions. | |
8292 * oct-fftw.h: Update decls. | |
8293 | |
8294 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
8295 Matrix::fourier2d, Matrix::ifourier2d): FFT's use real to complex | |
8296 transforms. 1D FFT of a matrix done as single call rather than | |
8297 loop. Update for FFTW 3.x | |
8298 * CMatrix.cc (ComplexMatrix::fourier, ComplexMatrix::ifourier, | |
8299 ComplexMatrix::fourier2d, ComplexMatrix::ifourier2d): 1D fft of a | |
8300 matrix done as single call rather than loop. Update for FFTW 3.x. | |
8301 | |
8302 * dNDArray.cc (NDArray::fourier, NDArray::ifourier, | |
8303 NDArray::fourierNd, NDArray::ifouriourNd): New fourier transform | |
8304 functions for Nd arrays. | |
8305 * dNArray.h Provide decls. | |
8306 * CNDArray.cc (ComplexNDArray::fourier, ComplexNDArray::ifourier, | |
8307 ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New | |
8308 fourier transform functions for complex Nd arrays. | |
8309 * CNArray.h: Provide decls. | |
9967 | 8310 |
4765 | 8311 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> |
8312 | |
8313 * Array.cc (Array<T>::insert (const Array<T>&, int, int)): | |
8314 Make it work for N-d arrays. | |
8315 | |
8316 * ArrayN.h (ArrayN<T>::insert (const ArrayN<T>& a, int, int)): | |
8317 New function. | |
8318 | |
8319 * CNDArray.cc (ComplexNDArray::insert (const NDArray&, int, int), | |
8320 ComplexNDArray::insert (const ComplexNDArray&, int, int)): | |
8321 New functions. | |
8322 * CNDArray.h: Provide decls. | |
8323 | |
4759 | 8324 2004-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
8325 | |
4760 | 8326 * Makefile.in (LINK_DEPS): Always define. |
8327 | |
4759 | 8328 * Array.cc (Array<T>::squeeze): Always return an array with at |
8329 least two dimensions. | |
8330 | |
4758 | 8331 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
8332 | |
8333 * mx-inlines.cc (MX_ND_CAT): New macro. | |
8334 * dNDArray.cc (NDArray::cat): New function. | |
8335 * dNDArray.h: Provide decls. | |
8336 * CNDArray.cc (complexNDArray::cat): New function. | |
8337 * CNDArray.h: Provide decls. | |
8338 * chNDArray.cc (charNDArray::cat): New function. | |
8339 * chNDArray.h: Provide decls. | |
8340 | |
4756 | 8341 2004-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
8342 | |
8343 * Array.cc (maybe_delete_elements_2): Allow X(n) = [] for 2-d X. | |
8344 (Array<T>assign2): Also call maybe_delete_elements for single | |
8345 index when rows and columns or LHS are both greater than 1. | |
8346 | |
4755 | 8347 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
8348 | |
8349 * Array.cc (Array<T>::maybe_delete_elements): | |
8350 Check for index out of bounds. Handle one index. | |
8351 | |
8352 * Array.cc (Array<T>::indexN): Use dim_vector (0, 0) instead of | |
8353 dim_vector (0) to create empty return vector. | |
8354 | |
4749 | 8355 2004-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
8356 | |
8357 * Array.cc (Array<T>::assignN): Don't crash if trying to resize a | |
8358 non-empty LHS when the number of lhs dimensions is less than the | |
8359 number of indices. Detect error if attempting to resize non-empty | |
8360 LHS with colon indices. | |
8361 | |
4745 | 8362 2004-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
8363 | |
4747 | 8364 * Array.cc (Array<T>::resize_and_fill): Don't bother to assign any |
8365 values unless the length of the new array is greater than 0. | |
8366 (Array<T>::resize_no_fill): Likewise. | |
8367 | |
8368 * Array-util.cc (index_in_bounds): Also return false if ra_idx(i) | |
8369 is equal to dimensions(i). | |
8370 | |
8371 * Array-util.h, Array-util.cc (equal_arrays, any_zero_len, | |
8372 get_zero_len_size, number_of_elements): | |
8373 Delete unused functions. | |
8374 | |
8375 * Array-util.cc (get_ra_idx): Use dim_vector::numel instead of | |
8376 number_of_elements function. | |
8377 * Array.cc (Array<T>::indexN): Likewise. | |
8378 | |
8379 * Array.cc (Array<T>::indexN): Use dim_vector::operator == instead | |
8380 of equal_arrays function. | |
8381 (Array<T>::index, Array<T>::indexN, Array<T>::assignN) Use | |
8382 dim_vector::any_zero instead of any_zero_len function. | |
8383 | |
8384 * Array.cc (Array<T>::assignN): Eliminate special case for empty index. | |
8385 Don't skip reshaping and resizing if RHS is empty. | |
8386 | |
4746 | 8387 * Array.cc (Array<T>::assignN): Simplify loop for array assignment. |
9967 | 8388 Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. |
4747 | 8389 Delete unused variables is_colon and is_colon_equiv. |
4746 | 8390 Correctly resize for expressions like x(:,:,2) = ones(3,3) when |
8391 LHS is not yet defined. | |
4745 | 8392 Error for resizing if number of indices is less than number of LHS |
8393 dimensions. | |
8394 | |
4746 | 8395 * Array.cc (Array<T>::maybe_delete_elements): Maybe warn about |
8396 Fortran-style indexing. | |
8397 | |
4743 | 8398 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
8399 | |
8400 * Array.cc (Array<T>::assignN): Simplify. | |
8401 Allow assignments to succeed if number if indices is less than the | |
8402 number of RHS dimensions. | |
8403 | |
4738 | 8404 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
8405 | |
4741 | 8406 * Array.cc (Array<T>::maybe_delete_elements): Reshape LHS |
8407 when number of indices is less than number of dimensions. | |
8408 | |
8409 * Array.cc (Array<T>::assignN, Array<T>::maybe_delete_elements): | |
8410 Remove unsued variable lhs_inc. | |
8411 | |
4740 | 8412 * Array.cc (Array<T>::maybe_delete_elements): Declare idx_is_colon |
8413 and idx_is_colon_equiv Array<int> instead of dim_vector. | |
8414 | |
8415 * Array.cc (Array<T>::assignN): Compute new dims in a cleaner way. | |
8416 | |
4738 | 8417 * Array.cc (Array<T>::index): Check for frozen_lengths.length () |
8418 == n_dims before checking to see if all indices are colon_equiv. | |
8419 | |
4736 | 8420 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
8421 | |
8422 * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for | |
8423 deleting elements. | |
4737 | 8424 (Array<T>::index): Remove trailing singletons in ra_idx, but leave |
8425 at least ndims elements. | |
4736 | 8426 |
4735 | 8427 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
8428 | |
8429 * Array.cc (Array<T>::assignN): Accept assignment of a vector | |
8430 oriented differently from the index. | |
8431 | |
8432 * dim-vector.h (dim_vector::squeeze): Return value always has at | |
8433 least two dimensions. | |
8434 | |
4733 | 8435 2004-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
8436 | |
4735 | 8437 * dim-vector.h (dim_vector::squeeze): New function. |
8438 (Array<T>::assignN): Use it instead of chop_trailing_singltons for | |
8439 deciding whether the assignment conforms. | |
8440 | |
4733 | 8441 * Array.cc (Array<T>::assignN): Simplify dimension check by |
8442 comparing rhs_dims and frozen_len sans trailing singletons. | |
8443 | |
4732 | 8444 2004-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
8445 | |
8446 * idx-vector.cc (tree_to_mat_idx): New arg, conversion_error. | |
8447 Call error handler and return conversion_error == true if arg is | |
8448 not integer. | |
8449 (IDX_VEC_REP::idx_vector_rep): Exit early if conversion_error. | |
8450 | |
4730 | 8451 2004-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
8452 | |
8453 * boolNDArray.h (boolNDArray::boolNDArray): Declare dim_vector | |
8454 reference arg const. | |
8455 | |
8456 2004-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8457 | |
8458 * Array-flags.cc: Include Array-flags.h, not Array.h. Doh. | |
8459 | |
4729 | 8460 2004-01-30 Jakub Bogusz <qboosh@pld-linux.org> |
8461 | |
8462 * Array-flags.h (liboctave_wfi_flag, liboctave_wrore_flag): | |
8463 Now bool, to match definition in Array-flags.cc. | |
8464 | |
4725 | 8465 2004-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
8466 | |
4726 | 8467 * file-ops.cc: Include <vector> instead of <memory> for new |
8468 definition of OCTAVE_LOCAL_BUFFER. | |
8469 | |
4725 | 8470 * EIG.cc, EIG.h (EIG::init, EIG::symmetric_init, EIG::hermitian_init): |
8471 New arg, calc_eigenvectors. | |
8472 * EIG.h (EIG:EIG): New optional arg, calc_eigenvectors. | |
8473 Based on patch from David Bateman <dbateman@free.fr>. | |
8474 | |
4716 | 8475 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
8476 | |
8477 * Array.cc (Array<T>::assign2, Array<T>::assignN): | |
8478 For X(I) = RHS, don't restrict I to fewer elements than X. | |
8479 | |
8480 * Array.cc (Array<T>::assign2): Simplify indexing for X(I) = RHS case. | |
8481 | |
4711 | 8482 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
8483 | |
4714 | 8484 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): |
8485 Simplify calculation of number of elements in retval. | |
8486 | |
4711 | 8487 * Array.cc (Array<T>::assignN): Eliminate unnecessray code for |
8488 filling when RHS is scalar and dimension lengths agree. | |
8489 | |
4710 | 8490 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
8491 | |
4713 | 8492 * Makefile.in (distclean): Remove mx-ops.h, $(MX_OP_INC), |
8493 $(VX_OP_INC), $(MX_OP_SRC), $(VX_OP_SRC), and $(OPTS_INC). | |
4710 | 8494 |
4707 | 8495 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
8496 | |
4709 | 8497 * Array.cc (Array<T>::resize_and_fill): Correctly copy old elements. |
8498 (Array<T>::assign2): Check for RHS dimensions larger than 2. | |
4707 | 8499 |
4702 | 8500 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> |
8501 | |
4703 | 8502 * Array.h (Array<T>::chop_trailing_singletons): New function. |
8503 * Array.cc (Array<T>::assignN): Use it on LHS. | |
8504 | |
8505 * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. | |
4702 | 8506 Retrieve scalar element by passin 0 instead of an index array. |
4703 | 8507 Check for singleton dimensions where RHS is matrix or higher dimension. |
8508 Make sure index is in bounds. | |
4702 | 8509 |
4698 | 8510 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
8511 | |
8512 * lo-ieee.cc (octave_ieee_init): Ensure that octave_Inf, | |
8513 octave_NaN, and octav_NA values are always initialized. Check | |
8514 floating point format, not HAVE_ISINF, HAVE_FINITE, or HAVE_ISNAN | |
8515 to decide whether to do IEEE initialization. | |
8516 | |
4687 | 8517 2004-01-06 David Bateman <dbateman@free.fr> |
8518 | |
9967 | 8519 * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, |
4687 | 8520 ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, |
8521 ComplexNDArray::too_large_for_float): New functions | |
9967 | 8522 |
4687 | 8523 * CNDArray.cc (operator <<, operator >>): New IO operators. |
8524 * CNDArray.h: Provide decls. | |
8525 * dNDArray.cc (operator <<, operator >>): New IO operators. | |
8526 * dNDArray.h: Provide decls. | |
8527 | |
4673 | 8528 2003-12-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
8529 | |
4674 | 8530 * mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since |
8531 they are already defined in boolNDArray.cc. | |
8532 | |
4673 | 8533 * Array-util.cc (get_zero_len_size): Delete. |
8534 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
8535 Handle zero-length result dimensions the same as empty original | |
8536 indices. | |
8537 | |
8538 2003-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8539 | |
8540 * dim-vector.h (dim_vector::chop_trailing_singleton_dims, | |
8541 dim_vector::dim_vector_rep::chop_trailing_singleton_dims): | |
8542 New functions. | |
8543 * Array.cc (ArrayN<T>::indexN): Use it. | |
8544 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): Likewise. | |
8545 | |
4669 | 8546 2003-11-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
8547 | |
8548 * boolNDArray.cc: Define BOOL ops. Define mixed CMP ops. | |
8549 * boolNDArray.h: Declare BOOL ops. Declare mixed CMP ops. | |
8550 | |
8551 2003-11-25 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8552 | |
8553 * mk-ops.awk: Also emit #include "Array-util.h". | |
8554 | |
8555 * mx-ops: Add bool, boolMatrix, and boolNDarray types. | |
8556 Add bnda x bnda, b x bnda, and bnda x b ops. | |
8557 | |
8558 * MArray-misc.cc: Delete. | |
8559 * Makefile.in (MATRIX_SRC): Remove it from the list. | |
8560 | |
8561 * Array-util.h, Array-util.cc (gripe_nonconformant): Move here from | |
8562 MArray.h, MArray2.h, MArrayN.h, and MArray-misc.cc. | |
8563 | |
4655 | 8564 2003-11-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
8565 | |
4663 | 8566 * dbleQR.cc (QR::init): Use separate pwork pointers. |
8567 * CmplxQR.cc (ComplexQR::init): Likewise. | |
8568 | |
8569 * oct-group.cc (octave_group::getgrnam): Pass correct args to | |
8570 two-arg getgrnam version. | |
8571 | |
4657 | 8572 * Array.cc (assignN): Allow single indexing to work. |
4661 | 8573 (Array<T>::range_error (const char*, const Array<int>&)): |
8574 Report index values. | |
8575 | |
8576 * Array.cc (Array<T>::index): Delete unused arg names. | |
4662 | 8577 * ODESSA.cc (odessa_j): Likewise. |
8578 * DASRT.cc (ddasrt_f, ddasrt_g): Likewise. | |
8579 * DASPK.cc (ddaspk_psol): Likewise. | |
8580 * lo-mappers.cc (imag): Likewise. | |
4663 | 8581 * Array-util.cc (get_zero_len_size): Likewise. |
8582 * kpse.cc (path_search, path_find_first_of): Likewise. | |
8583 * cmd-edit.cc (do_generate_filename_completions): Likewise. | |
4656 | 8584 |
4655 | 8585 * dim-vector.h (dim_vector::all_ones): New function. |
8586 | |
4646 | 8587 2003-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
8588 | |
4653 | 8589 * idx-vector.h (idx_vector::orig_empty): Check orig_dims for |
8590 zeros, not orig_rows or orig_columns. | |
8591 (idx_vector::idx_vector_rep::orig_rows): Define using orig_dims. | |
8592 (idx_vector::idx_vector_rep::orig_columns): Likewise. | |
8593 | |
8594 * idx-vector.cc (idx_vector::idx_vector_rep::orig_nr, | |
8595 (idx_vector::idx_vector_rep::orig_nc): Delete. | |
8596 | |
8597 * idx-vector.cc (idx_vector::idx_vector_rep): | |
8598 Use initialization lists for constructors. | |
8599 | |
4651 | 8600 * Array.cc (Array<T>::indexN): Correctly handle single colon index. |
8601 Omit special case for ra_idx.capacity () == 1. | |
8602 Always allow single index for matrix args with optional warning. | |
8603 | |
4650 | 8604 * idx-vector.h, idx-vector.cc: Convert boolMatrix functions to use |
8605 boolNDArray. Likewise, convert Matrix functions to use NDArray. | |
8606 | |
4648 | 8607 * Array-so.cc: New file. Move instantiations here from so-array.h. |
8608 * Makefile.in (TI_SRC): Add it to the list. | |
8609 | |
4646 | 8610 * MArray-defs.h (DO_VS_OP2, DO_VV_OP2): Accept args for element |
8611 type and the names of the left and right operands. Change all uses. | |
8612 | |
8613 * so-array.cc, so-array.h: New files. Move streamoff_array here | |
8614 from src/ov-streamoff.h and src/ov-streamoff.cc. | |
8615 | |
4645 | 8616 2003-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
8617 | |
8618 * MArrayN.cc (operator -=, operator +=): Check dimensions, not | |
8619 just length. | |
8620 | |
8621 * Array2.h, Array3.h, DiagArray2.h, DiagArray2.cc, MDiagArray2.h, | |
8622 ArrayN.h: Add this-> or Base:: qualifiers for references to | |
8623 non-dependent member functions and data as needed. | |
8624 | |
8625 * DiagArray2.h, DiagArray2.cc: Delete unused code. | |
8626 | |
8627 * Array2.h (Array2<T>::operator =): Don't copy dimensions here. | |
8628 * Array3.h (Array3<T>::operator =): Likewise. | |
8629 * DiagArray2.h (DiagArray2<T>::operator =): Likewise. | |
8630 Include Array.h, not Array2.h. | |
8631 | |
4634 | 8632 2003-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
8633 | |
4636 | 8634 * str-vec.cc (list_in_columns): Fix previous change. |
8635 | |
4635 | 8636 * dim-vector.h (dim_vector::num_ones): New function. |
8637 * Array.cc (maybe_delete_elements): Use it instead of | |
8638 num_ones (const Array<int>&). | |
8639 | |
8640 * Array.cc (assignN): Omit dubious check of singleton dimensions. | |
8641 | |
4634 | 8642 * dNDArray.cc (NDArray::all_elements_are_int_or_inf_or_nan, |
8643 NDArray::any_element_is_inf_or_nan, NDArray::too_large_for_float): | |
8644 New functions. | |
8645 * dNDArray.h: Provide decls. | |
8646 | |
8647 * dMatrix.h (Matrix::any_element_is_negative, | |
8648 Matrix::any_element_is_inf_or_nan, Matrix::too_large_for_float, | |
8649 Matrix::all_elements_are_int_or_inf_or_nan, Matrix::all_integers): | |
8650 Simplify. | |
8651 | |
8652 * dNDArray.cc (NDArray::abs): Make it work for N-d arrays. | |
8653 * CNDArray.cc (ComplexNDArray::abs): Likewise. | |
8654 | |
8655 * dNDArray.cc (real, imag): New functions. | |
8656 * dNDArray.h: Provide decls. | |
8657 | |
4630 | 8658 2003-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
8659 | |
8660 * Makefile.in (TEMPLATE_SRC): Move MArrayN.cc here from MATRIX_SRC. | |
8661 | |
4625 | 8662 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
8663 | |
8664 * Array.h (Array<T>::resize (int, const T&)): Reinstate. | |
8665 * MArray.h (resize): Delete. | |
8666 * MArray2.h (resize): Delete. | |
8667 * DASRT.cc (DASRT::integrate): Use resize, not resize_and_fill. | |
8668 * ODESSA (ODESSA::integrate): Likewise. | |
8669 | |
4616 | 8670 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
8671 | |
8672 * Makefile.in (dist): Depend on stamp-prereq. | |
8673 | |
4605 | 8674 2003-11-12 John Eaton <jwe@bevo.che.wisc.edu> |
8675 | |
8676 * mach-info.c (oct_mach_info::init_float_format) [CRAY]: | |
8677 Kluge to make it work. | |
4604 | 8678 |
8679 * lo-ieee.cc (octave_ieee_init): Set octave_Inf, octave_NaN, and | |
8680 octave_NA to DBL_MAX if native float format is vaxd, vaxg, or cray. | |
8681 | |
8682 * cmd-edit.cc (gnu_readline::do_generate_filename_completions, | |
8683 default_command_editor::do_generate_filename_completions, | |
8684 command_editor::generate_filename_completions): New functions. | |
8685 * cmd-edit.h: Provide decls. | |
8686 * oct-rl-edit.c (octave_rl_filename_completion_function): New | |
8687 function. | |
8688 * oct-rl-edit.h: Provide decl. | |
8689 | |
4593 | 8690 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
8691 | |
4594 | 8692 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY_AND_ASSIGN, |
8693 INSTANTIATE_ARRAY): New macros. | |
8694 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
8695 Array-idx-vec.cc, Array-s.cc, Array-str.cc, ODESSA.cc: Use them. | |
8696 | |
4593 | 8697 * Array.h (Array<T>::ipermute): New function. |
8698 | |
8699 2003-11-11 Petter Risholm <risholm@stud.ntnu.no> | |
8700 | |
8701 * Array.cc (Array<T>::permute): New function. | |
8702 * Array.h: Provide decl. | |
8703 | |
8704 * Array-util.cc (calc_permutated_idx): New function. | |
8705 * Array-util.h: Provide decl. | |
8706 | |
4587 | 8707 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
8708 | |
4592 | 8709 * Array.cc (Array<T>::index2): Return value has orientation of |
8710 indexed value if indexing a vector with a bool matrix. | |
8711 | |
4589 | 8712 * ArrayN.h (ArrayN<T>::get_size): Delete. |
8713 | |
4588 | 8714 * Array.cc, ArrayN.cc, dNDArray.cc, CNDArray.cc, boolNDArray.cc, |
8715 chNDArray.cc: Include Array-util.h instead of ArrayN-inline.h. | |
8716 | |
8717 * ArrayN-inline.h: Delete. | |
8718 * Array-util.h, Array-util.cc: New files, from ArrayN-inline.h. | |
8719 * Makefile.in: Fix the appropriate lists. | |
8720 | |
4587 | 8721 * Array.cc, Array.h, ArrayN.h, CMatrix.cc, CNDArray.h, |
8722 CRowVector.cc, CmplxQR.cc, CollocWt.h, DASPK.h, DASRT.h, DASSL.h, | |
8723 FEGrid.cc, LP.h, LSODE.h, MArrayN.h, ODE.h, ODES.h, ODESSA.cc, | |
8724 boolNDArray.h, chNDArray.h, dMatrix.cc, dNDArray.h, dRowVector.cc, | |
8725 dbleQR.cc, kpse.cc, oct-rl-hist.c, str-vec.cc, str-vec.h: | |
8726 Avoid -Wshadow warnings. | |
8727 | |
8728 2003-11-08 John Eaton <jwe@bevo.che.wisc.edu> | |
4585 | 8729 |
8730 * Array.h (Array<T>::nil_rep): Qualify return type with typename. | |
8731 | |
8732 * mk-ops.awk: Delete elements of bool_headers array individually. | |
8733 | |
8734 2003-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8735 | |
8736 * Array.cc (maybe_delete_elements): Rename arg idx to ra_idx. | |
8737 | |
4584 | 8738 2003-10-31 Petter Risholm <risholm@stud.ntnu.no> |
8739 | |
8740 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): New macro. | |
8741 | |
8742 * CNDArray.cc, CNDArray.h (ComplexNDArray::cumsum, | |
8743 ComplexNDArray::cumprod): Return ComplexNDArray. Handle N-d arrays. | |
8744 * dNDArray.cc, dNDArray.h (NDArray::cumsum, NDArray::cumprod): | |
8745 Return NDArray. Handle N-d arrays. | |
8746 | |
4575 | 8747 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
8748 | |
4583 | 8749 * LSODE.cc (LSODE::do_integrate): Avoid name conflict on systems |
8750 that upcase Fortran names by calling dlsode instead of lsode. | |
8751 | |
8752 * ODESSA.cc (ODESSA::do_integrate): Avoid name conflict on systems | |
8753 that upcase Fortran names by calling dodessa instead of odessa. | |
8754 | |
4577 | 8755 * file-ops.cc (file_ops::symlink): Cope with systems that expect |
8756 non-const args for symlink system call. | |
8757 (file_ops::readlink): Likewise, for readlink. | |
8758 | |
4575 | 8759 * DASRT.cc (DASRT::integrate): Fix typo in Fortran function name. |
8760 | |
4574 | 8761 2003-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
8762 | |
8763 * mach-info.h (oct_mach_info): Prefix enum elements with flt_fmt_. | |
8764 Change all uses. | |
8765 | |
4569 | 8766 2003-10-29 Petter Risholm <risholm@stud.ntnu.no> |
8767 | |
8768 * dNDArray.cc (NDArray::cumprod, NDArray::cumsum, NDArray::prod, | |
8769 NDArray::sum, NDArray::sumsq, NDArray::abs): New functions. | |
8770 * dNDArray.h: Provide decls. | |
8771 * CNDArray.cc (ComplexNDArray::cumprod, ComplexNDArray::cumsum, | |
8772 ComplexNDArray::prod, ComplexNDArray::sum, ComplexNDArray::sumsq, | |
8773 ComplexNDArray::abs): New functions. | |
8774 * CNDArray.h: Provide decls. | |
8775 | |
8776 * mx-inlines.cc (MX_ND_REDUCTION): Rename from MX_ND_ANY_ALL. | |
8777 Generalize to handle other reduction operations. | |
8778 (MX_ND_REAL_OP_REDUCTION, MX_ND_COMPLEX_OP_REDUCTION, | |
8779 MX_ND_ALL_ANY_REDUCTION): New macros. | |
8780 | |
4565 | 8781 2003-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
8782 | |
4567 | 8783 * Array.cc (Array<T>::reshape): New function. |
8784 * Array.h: Provide decl. | |
8785 | |
8786 * dim-vector.h (dim_vector::numel): New function. | |
8787 | |
4565 | 8788 * dim-vector.h (dim_vector_rep::dim_vector_rep (int, const |
8789 dim_vector&)): Correctly handle case of n < dv->ndims. | |
8790 | |
4559 | 8791 2003-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
8792 | |
8793 * dim-vector.h (dim_vector::any_zero): New function. | |
8794 (dim_vector::str): New default arg, sep. | |
8795 | |
8796 * Array.h (Array<T>::numel): New function. | |
8797 | |
4556 | 8798 2003-10-27 Petter Risholm <risholm@stud.ntnu.no> |
8799 | |
8800 * mx-inlines.cc (MX_ND_ALL_EXPR, MX_ND_ANY_EXPR, | |
8801 MX_ND_ALL_EVAL, MX_ND_ANY_EVAL, MX_ND_ALL_ANY): New macros. | |
8802 * dNDArray.h (NDArray::all, NDArray::any): Return type now boolNDArray. | |
8803 * CNDArray.h (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
8804 * boolNDArray.h (boolNDArray::all, boolNDArray::any): Likewise. | |
8805 * chNDArray.h (charNDArray::all, charNDArray::any): Likewise. | |
8806 * dNDArray.cc (NDArray::all, NDArray::any): Make them work. | |
8807 * CNDArray.cc (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
8808 * boolNDArray.cc (boolNDArray::all, boolNDArray::any): Likewise. | |
8809 * chNDArray.cc (charNDArray::all, charNDArray::any): Likewise. | |
8810 | |
4552 | 8811 2003-10-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
8812 | |
4553 | 8813 * Array.cc (Array<T>::resize_and_fill): Allow number of dimensions |
8814 to change. From Petter Risholm <risholm@stud.ntnu.no>. | |
8815 | |
4552 | 8816 * oct-rand.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, |
8817 CmplxAEPBAL.cc CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
8818 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, | |
8819 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, ODESSA.cc, | |
8820 Quad.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
8821 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
8822 dbleSCHUR.cc, dbleSVD.cc, lo-specfun.cc: | |
8823 Use new F77 arg macros in declarations of external Fortran | |
8824 subroutines and for calling them. | |
8825 | |
4548 | 8826 2003-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
8827 | |
8828 * Array.cc (Array<T>::resize_no_fill (const dim_vector&)): | |
8829 Allow number of dimensions to change. | |
8830 (Array<T>::resize_no_fill (int, int)): Require ndims to be 0 or 2. | |
8831 (Array<T>::resize_and_fill (int, int, const T&)): Likewise. | |
8832 (Array<T>::resize_no_fill (int, int, int)): Require ndims to be 0 or 3. | |
8833 (Array<T>::resize_and_fill (int, int, int, const T&)): Likewise. | |
8834 (Array<T>::transpose): Require ndims to be 2. | |
8835 (Array<T>::index2): Likewise. | |
8836 (Array<T>::index (idx_vector&, idx_vector&, int, const T&)): Likewise. | |
8837 (Array<T>::maybe_delete_elements_2): Likewise. | |
8838 (Array<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Likewise. | |
8839 (Array<T>::index1): Use resize_and_fill. | |
8840 (MAYBE_RESIZE_ND_DIMS): Likewise. | |
8841 | |
8842 * ODESSA.cc (ODESSA::integrate): Use resize_and_fill for x_s_out. | |
8843 | |
8844 * MArray2.h (MArray2<T>::resize (int, int)): New function. | |
8845 (MArray2<T>::resize (int, int, const T&)): New function. | |
8846 | |
8847 * MArray.h (MArray<T>::resize (int)): New function. | |
8848 (MArray<T>::resize (int, const T&)): New function. | |
8849 | |
8850 * DASRT.cc (DASRT::integrate): Use resize_and_fill for jroot. | |
8851 | |
8852 * DASPK-opts.in: Use single-arg resize for initial condition | |
8853 heuristics. | |
8854 | |
8855 * dim-vector.h (class dim_vector): Now reference counted. | |
8856 (dim_vector_rep::elem): Use assert to check that index is in bounds. | |
8857 | |
4544 | 8858 2003-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
8859 | |
4545 | 8860 * Array.cc (Array<T>::squeeze): Delete redundant retval decl. |
8861 | |
4544 | 8862 * mx-cdm-cm.cc, mx-cdm-cm.h, mx-cdm-cs.cc, mx-cdm-cs.h, |
8863 mx-cdm-dm.cc, mx-cdm-dm.h, mx-cdm-m.cc, mx-cdm-m.h, mx-cdm-s.cc, | |
8864 mx-cdm-s.h, mx-cm-cdm.cc, mx-cm-cdm.h, mx-cm-dm.cc, mx-cm-dm.h, | |
8865 mx-cm-m.cc, mx-cm-m.h, mx-cm-s.cc, mx-cm-s.h, mx-cs-cdm.cc, | |
8866 mx-cs-cdm.h, mx-cs-dm.cc, mx-cs-dm.h, mx-cs-m.cc, mx-cs-m.h, | |
8867 mx-dm-cdm.cc, mx-dm-cdm.h, mx-dm-cm.cc, mx-dm-cm.h, mx-dm-cs.cc, | |
8868 mx-dm-cs.h, mx-dm-m.cc, mx-dm-m.h, mx-dm-s.cc, mx-dm-s.h, | |
8869 mx-m-cdm.cc, mx-m-cdm.h, mx-m-cm.cc, mx-m-cm.h, mx-m-cs.cc, | |
8870 mx-m-cs.h, mx-m-dm.cc, mx-m-dm.h, mx-ops.h, mx-s-cdm.cc, | |
8871 mx-s-cdm.h, mx-s-cm.cc, mx-s-cm.h, mx-s-dm.cc, mx-s-dm.h, | |
8872 vx-ccv-cv.cc, vx-ccv-cv.h, vx-ccv-s.cc, vx-ccv-s.h, vx-crv-rv.cc, | |
8873 vx-crv-rv.h, vx-crv-s.cc, vx-crv-s.h, vx-cs-cv.cc, vx-cs-cv.h, | |
8874 vx-cs-rv.cc, vx-cs-rv.h, vx-cv-ccv.cc, vx-cv-ccv.h, vx-cv-cs.cc, | |
8875 vx-cv-cs.h, vx-rv-crv.cc, vx-rv-crv.h, vx-rv-cs.cc, vx-rv-cs.h, | |
8876 vx-s-ccv.cc, vx-s-ccv.h, vx-s-crv.cc, vx-s-crv.h: Delete. These | |
8877 files are now automatically generated. | |
8878 | |
8879 * Makefile.in ($(VX_OP_INC), $(VX_OP_SRC), $(MX_OP_INC), | |
8880 $(MX_OP_SRC)): Generate lists with new mk-ops.awk script. | |
8881 Add rules to generate these files and mx-ops.h. | |
8882 (stamp-prereq): Depend on these files. | |
8883 | |
8884 * mx-ops, vx-ops, mk-ops.awk: New files. | |
8885 * Makefile.in (DISTFILES): Add them to the list. | |
8886 | |
4543 | 8887 2003-10-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
8888 | |
8889 * NDArray.cc (NDArray::NDArray (const boolNDArray), | |
8890 NDArray::NDArray (const charNDArray)): New constructors. | |
8891 (NDArray::operator !): New function. | |
8892 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
8893 NDND_CMP_OPS, NDND_BOOL_OPS. | |
8894 | |
8895 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const NDArray&), | |
8896 ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
8897 ComplexNDArray::ComplexNDArray (const charNDArray&)): | |
8898 New constructors. | |
8899 (ComplexNDArray::operator !): New function. | |
8900 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
8901 NDND_CMP_OPS, NDND_BOOL_OPS. | |
8902 | |
8903 * ArrayN.h (resize (const dim_vector&)): Fix typo. | |
8904 | |
8905 * boolNDArray.cc (boolNDArray::operator !): New function. | |
8906 Provide NDND_CMP_OPS. | |
8907 | |
8908 * MArrayN.cc (operator +=, operator -=): New functions. | |
8909 Provide product and quotient functions. | |
8910 | |
8911 * MArray-misc.cc (gripe_nonconformant (const char *, dim_vector&, | |
8912 dim_vector&)): New function. | |
8913 | |
8914 * dim-vector.h (dim_vector::str, dim_vector::all_zero, | |
8915 operator ==, operator !=): New functions. | |
8916 * ArrayN.cc (operator <<): Use dim_vector::str here. | |
8917 | |
8918 * Array.cc (Array<T>::resize_no_fill, Array<T>::resize_and_fill): | |
8919 No need to save old dimensions. | |
8920 | |
8921 * oct-rand.cc (MAKE_RAND_ND_ARRAY): New macro. | |
8922 (octave_rand::nd_array): New function. | |
8923 * oct-rand.h (octave_rand::nd_array): Provide decl. | |
8924 | |
8925 * mx-op-defs.h (NDCMP_OP_DECL, NDBOOL_OP_DECL, NDS_BIN_OP_DECLS, | |
8926 NDS_BIN_OP, NDS_BIN_OPS, NDS_CMP_OP_DECLS, NDS_CMP_OP, | |
8927 NDS_CMP_OPS, NDS_BOOL_OP_DECLS, NDS_BOOL_OP, NDS_BOOL_OPS, | |
8928 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_BIN_OP, SND_BIN_OPS, | |
8929 SND_CMP_OP_DECLS, SND_CMP_OP, SND_CMP_OPS, SND_BOOL_OP_DECLS, | |
8930 SND_BOOL_OP, SND_BOOL_OPS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
8931 NDND_BIN_OP, NDND_BIN_OPS, NDND_CMP_OP_DECLS, NDND_CMP_OP, | |
8932 NDND_CMP_OPS, NDND_BOOL_OP_DECLS, NDND_BOOL_OP, NDND_BOOL_OPS, | |
8933 NDND_OP_DECLS): New macros. | |
8934 * mx-cm-m.h, mx-cm-s.h, mx-cs-m.h, mx-m-cm.h, mx-m-cs.h, | |
8935 mx-s-cm.h, mx-cm-m.cc, mx-cm-s.cc, mx-cs-m.cc, mx-m-cm.cc, | |
8936 mx-m-cs.cc, mx-s-cm.cc: Use them. | |
8937 | |
8938 * mx-defs.h (class NDArray, class ComplexNDArray, class | |
8939 boolNDArray, class charNDArray): New forward decls. | |
8940 | |
4534 | 8941 2003-10-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
8942 | |
8943 * Array.cc (assign2): No error (but don't do anything either) for | |
8944 expressions like x([],j) = scalar. | |
8945 | |
4532 | 8946 2003-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
8947 | |
4533 | 8948 * Array.cc (assignN): Allow lhs(:) = scalar. |
8949 | |
4532 | 8950 * CNDArray.cc (ComplexNDArray::increment_index): New function. |
8951 * dNDArray.cc (NDArray::increment_index): Likewise. | |
8952 * boolNDArray.cc (boolNDArray::increment_index): Likewise. | |
8953 * chNDArray.cc (charNDArray::increment_index): Likewise. | |
8954 | |
8955 * dim-vector.h (rows, cols): Delete unused data members. | |
8956 | |
8957 * Array.cc (Array<T>::get_size): Fix thinko. | |
8958 | |
8959 2003-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8960 | |
8961 * Array.cc (Array<T>::squeeze): New function. | |
8962 * CNDArray.h (ComplexNDArray::squeeze): Likewise. | |
8963 * dNDArray.h (NDArray::squeeze): Likewise. | |
8964 * boolNDArray.h (boolNDArray::squeeze): Likewise. | |
8965 * chNDArray.h (charNDArray::squeeze): Likewise. | |
8966 | |
4530 | 8967 2003-10-06 Petter Risholm <risholm@stud.ntnu.no> |
8968 | |
8969 * Array.cc (ArrayN<T>::indexN): New definition. | |
8970 * Array.h (Array<T>::indexN): Provide decl. | |
8971 * Array.cc (ArrayN<T>::index (idx_vector&, int, const T&): | |
8972 Call indexN if more than 2 indices. | |
8973 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): | |
8974 Make it (mostly) work. | |
8975 * ArrayN-inline.h (number_of_elements, get_ra_idx, short_freeze): | |
8976 New functions. | |
8977 | |
4527 | 8978 2003-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
8979 | |
8980 * cmd-edit.cc (do_readline): Pass eof to octave_fgetl. | |
8981 * lo-utils.cc (octave_fgets, octave_fgetl): New overloaded | |
8982 versions with eof arg. | |
8983 | |
4518 | 8984 2003-09-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
8985 | |
8986 * Array.h (dimensions): Now public. | |
8987 template <class LT, class RT> | |
8988 (assign (Array<LT>&, const Array<RT>&, const LT&), | |
8989 assign1 (Array<LT>&, const Array<RT>&, const LT&), | |
8990 assign2 (Array<LT>&, const Array<RT>&, const LT&), | |
8991 assignN (Array<LT>&, const Array<RT>&, const LT&), | |
8992 resize_no_fill (int), | |
8993 resize_no_fill (int, int), | |
8994 resize_no_fill (int, int, int), | |
8995 resize_no_fill (const dim_vector&), | |
8996 resize_and_fill (int, const T&), | |
8997 resize_and_fill (int, int, const T&), | |
8998 resize_and_fill (int, int, int, const T&), | |
8999 resize_and_fill (const dim_vector&, const T&)): Now public. | |
9000 | |
9001 * Array.cc: Include <climits>. | |
9002 | |
4513 | 9003 2003-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
9004 | |
4517 | 9005 * Array.cc: Merge Array-idx.h. |
9006 * Array-idx.h: Delete. | |
9007 | |
4514 | 9008 * chNDArray.h, chNDArray.cc, boolNDArray.h, boolNDArray.cc: New files. |
9009 | |
4513 | 9010 * Array.h, Array-idx.h, Array.cc: Fold all N-d functionality here. |
9011 Turn inheritance hierarchy upside down (2-d and 3-d arrays are now | |
9012 just special cases of the general purpose N-d Array object). | |
9013 | |
9014 * dim-vector.h: New file. Use dim_vector objects instead of | |
9015 ints or Array<int> objects to represent the size of Array | |
9016 objects. | |
9017 | |
9018 * MArray-defs.h (INSTANTIATE_MARRAYN_FRIENDS): New macro. | |
9019 | |
9020 * Array2-idx.h, Array3-idx.h, Array2.cc, Array3.cc: Delete. | |
9021 | |
9022 * mx-base.h: Include NDArray header files. | |
9023 | |
9024 * MArray-C.cc, MArray-d.cc: Also instantiate ArrayN objects. | |
9025 | |
9026 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
9027 Array-s.cc: Also instantiate ArrayN objects. | |
9028 Don't instantiate assign funcitons for Array2 objects. | |
9029 | |
9030 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Signal error with | |
9031 liboctave_error_handler, not cerr. | |
9032 * CMatrix.cc (ComplexMatrix::diag): Likewise. | |
9033 * dDiagMatrix.cc (DiagMatrix::diag): Likewise. | |
9034 * dMatrix.cc (Matrix::diag): Likewise. | |
9035 | |
9036 * Array-flags.cc, Array.cc, Array.h, Array2.h, Array3.h, ArrayN.h: | |
9037 Omit checks for HEAVYWEIGHT_INDEXING. | |
9038 | |
9039 2003-09-12 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9040 | |
9041 * mx-base.h: Include CNDarray.h. Include dNDArray.h, not NDArray.h. | |
9042 | |
9043 * CNDARray.h, CNDArray.cc: New files. | |
9044 * Makefile.in: Add them to the appropriate lists. | |
9045 | |
9046 * dNDArray.h: Rename from NDArray.h. | |
9047 * dNDArray.cc: Rename from NDArray.cc. | |
9048 * Makefile.in: Rename them here too. | |
9049 | |
4507 | 9050 2003-09-10 Petter Risholm <risholm@stud.ntnu.no> |
9051 | |
9052 * mx-base.h: Include NDArray.h, not ArrayN.h. | |
9053 | |
9054 * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. | |
9055 * Makefile.in: Add them to the appropriate lists. | |
9056 | |
5095 | 9057 2003-09-09 David Bateman <dbateman@free.fr> |
4506 | 9058 |
9059 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, | |
9060 biry): Always request scaled results from AMOS functions and | |
9061 perform reverse scaling on results if scaled result not requested | |
9062 by user. | |
9063 | |
9064 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9967 | 9065 |
4506 | 9066 * lo-specfun.cc (xlgamma): Require nonnegative argument. |
9067 | |
4505 | 9068 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
9069 | |
9070 * Array-d.cc: Instantiate assign functions. | |
9071 | |
4504 | 9072 2003-09-09 Petter Risholm <risholm@stud.ntnu.no> |
9073 | |
9074 * ArrayN-idx.h (vector_equivalent, equal_arrays): New functions. | |
9075 (get_elt_idx): Index ra_idx correctly. | |
9076 | |
9077 * ArrayN-inline.h (index_in_bounds): Index is also condidered in | |
9078 bounds if it is exactly on the bound. | |
9079 | |
9080 * ArrayN.cc (ArrayN<T>::maybe_delete_dims): New function. | |
9081 * ArrayN.h: Provide decl. | |
9082 | |
9083 * ArrayN.h (ArrayN<T>::ArrayN<T> (const Matrix&)): New constructor. | |
9084 | |
9085 * idx-vector.h (idx_vector::orig_dims): New member variable. | |
9086 (idx_vector::idx_vector_rep::orig_dimensions): New function. | |
9087 (idx_vector::orig_dimensions): New function. | |
9088 | |
4497 | 9089 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
9090 | |
9091 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
9092 | |
4496 | 9093 2003-09-04 Petter Risholm <risholm@stud.ntnu.no> |
9094 | |
9095 * ArrayN-idx.h (maybe_delete_elements): Implement function. | |
9096 (is_in, how_many_lgt, all_ones): New functions. | |
9097 | |
4493 | 9098 2003-09-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
9099 | |
9100 * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. | |
9101 | |
9102 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> | |
9967 | 9103 |
4493 | 9104 * ArrayN-inline.h: New file. |
9105 (index_in_bounds, increment_index): Move here. | |
9106 * ArrayN.cc: From here. | |
9107 | |
9108 * ArrayN.h (maybe_delete_elements): New arg, resize_fill_value. | |
9109 * ArrayN-idx.h (assign): New function. | |
9110 | |
4490 | 9111 2003-08-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
9112 | |
9113 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, airy, biry): | |
9114 Also zero imaginary part of result if real part of input value is | |
9115 zero. | |
9116 | |
4478 | 9117 2003-07-30 Heine Kolltveit <kolltvei@idi.ntnu.no> |
9118 | |
9119 * mx-base.h: Include ArrayN.h. | |
9120 | |
4476 | 9121 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> |
9122 | |
9967 | 9123 * ArrayN.cc (operator <<): Corrected output. |
4476 | 9124 |
4474 | 9125 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
9126 | |
9127 * ArrayN.cc (increment_index): New arg, start_dimension. | |
9128 | |
5095 | 9129 2003-07-29 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4473 | 9130 |
9131 * ArrayN.cc (operator <<): Improve output readability. | |
9132 | |
4493 | 9133 2003-07-29 Petter Risholm <risholm@stud.ntnu.no> |
4473 | 9134 |
9135 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&, const T&)): | |
9136 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&)): | |
9137 Initialize old_len before changing size. | |
9138 | |
4472 | 9139 2003-07-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
9140 | |
9141 * Makefile.in (install-lib): Use $(INSTALL), not | |
4473 | 9142 $(INSTALL_PROGRAM) for $(SHLLIB) files. |
4472 | 9143 |
4469 | 9144 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
9145 | |
9146 * lo-mappers.cc (xmin, xmax): Handle NaN in a Matlab-compatible | |
9147 way. Handle NA in an R-compatible way. | |
9148 | |
9149 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Also check for lo_ieee_is_NA. | |
9150 (lo_ieee_is_NA): Don't call isnan unless HAVE_ISNAN is defined. | |
9151 | |
9152 * lo-mappers.h (octave_is_NA (const Complex&)): Provide decl. | |
9153 (octave_is_NaN_or_NA (const Complex&)): Likewise. | |
9154 | |
9155 * dMatrix.cc (Matrix::row_min, Matrix::row_max, | |
9156 Matrix::column_min, Matrix::column_max): Ignore NaNs. | |
9157 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_max, | |
9158 ComplexMatrix::column_min, ComplexMatrix::column_max): Likewise. | |
9159 | |
4461 | 9160 2003-07-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
9161 | |
9162 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
9163 Pass true for resize_ok arg to freeze. | |
9967 | 9164 * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): |
4461 | 9165 Likewise. |
9166 | |
9167 * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; | |
9168 resize_ok arg is now bool. | |
9169 * idx-vector.h (idx_vector::freeze): Likewise. | |
9170 | |
9171 * Array-flags.cc, Array-flags.h (liboctave_wrore_flag): | |
9172 Rename from liboctave_rre_flag. Now bool. | |
9173 (liboctave_wfi_flag): Now bool. | |
9174 | |
9175 * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. | |
9176 | |
5095 | 9177 2003-07-11 Russell Standish <R.Standish@unsw.edu.au> |
4459 | 9178 |
9179 * Array.h (resize_fill_value): Now a top-level template function. | |
9180 Accept object as argument. Change all uses. | |
9181 | |
4455 | 9182 2003-07-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
9183 | |
9184 * Array-flags.cc, Array-flags.h (liboctave_pcv_flag): Delete. | |
9185 | |
9186 * Array2-idx.h (Array2<T>::index): Use liboctave_wfi_flag, not | |
9187 liboctave_dfi_flag. | |
9188 (assign): Likewise. For indexed assignments like X(I) = RHS with | |
9189 X undefined or empty, always create a row vector. | |
9190 | |
9191 * Array-flags.cc (liboctave_wfi_flag): Rename from liboctave_dfi_flag. | |
9192 * Array-flags.h (liboctave_wfi_flag): Ditto. | |
9193 | |
4437 | 9194 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
9195 | |
9196 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
9197 Magic colon indexing always produces an object with one column. | |
9198 | |
5095 | 9199 2003-06-21 Paul Kienzle <pkienzle@users.sf.net> |
4433 | 9200 |
9201 * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. | |
9202 | |
9203 * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. | |
9204 | |
4431 | 9205 2003-06-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
9206 | |
9207 * dMatrix.cc (any_element_is_negative): If new optional arg | |
9208 neg_zero is true, also return true for negative zero. | |
9209 | |
4429 | 9210 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
9211 | |
9212 * DASSL.cc (DASSL::do_integrate): Set liw to 21 + n, not 20 + n. | |
9213 Handle step limit. | |
9214 * DASSL-opts.in: New option for step limit. | |
9215 | |
5095 | 9216 2003-06-16 Per Persson <persquare@mac.com> |
4429 | 9217 |
9218 * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. | |
9219 | |
4428 | 9220 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
9221 | |
9222 * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. | |
9223 Store step limit in iwork(20), not iwork(18). | |
9224 | |
5095 | 9225 2003-05-16 Paul Kienzle <pkienzle@users.sf.net> |
4415 | 9226 |
9227 * oct-rand.cc: Use liboctave's clock layer instead of the system clock. | |
9228 | |
4412 | 9229 2003-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
9230 | |
4413 | 9231 * Makefile.in: Handle DESTDIR. |
9232 | |
4412 | 9233 * kpse.cc (kpse_path_iterator::next): Skip consecutive colons here. |
9234 (kpse_path_iterator::set_end): Don't miss last element when not | |
9235 followed by a colon. | |
9236 | |
4409 | 9237 2003-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
9238 | |
9239 * Array-idx.h (Array<T>::index): Fix off-by-one error. | |
9240 | |
9241 2003-05-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9242 | |
9243 * kpse.cc (kpse_absolute_p): Fix typo in translation. | |
9244 (find_first_of): Also do an absolute search on each | |
9245 name before looking in the path. | |
9246 | |
4407 | 9247 2003-05-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
9248 | |
9249 * kpse.cc (dir_list_add): Ensure that directory ends with a | |
9250 directory separator. | |
9251 | |
4399 | 9252 2003-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
9253 | |
9254 * pathsearch.cc: Include kpse.cc here. | |
9255 | |
9256 * kpse.cc: All functions are now static. Massive surgery to | |
9257 condense kpathsearch library to a single file of just the | |
9258 essentials for Octave and convert to using C++ strings (no more | |
9259 calls to malloc, very few calls to new, so there should be much | |
9260 less potential for introducing memory leaks now). | |
9261 | |
9262 * Makefile.in (EXTRAS): Move kpse.cc here from | |
9263 LIBOCT_PATHSEARCH_CXX_SOURCES. | |
9264 | |
9265 * kpse.h, kpse-config.h: Delete. | |
9266 * Makefile.in (INCLUDES): Delete them from the list. | |
9267 | |
4392 | 9268 2003-04-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
9269 | |
9270 * str-vec.cc (string_vector::append (const std::string&), | |
9271 string_vector::append (const string_vector&)): New methods. | |
9272 | |
4386 | 9273 2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
9274 | |
4389 | 9275 * kpse.cc, kpse.h: Replace fn_type with std::string. |
9276 | |
4387 | 9277 * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. |
9278 | |
4386 | 9279 * kpse.cc (xclosedir): Don't define or declare for Windows. |
9280 (READABLE): Now a static function to avoid warnings from MinGW | |
9967 | 9281 compiler. |
4386 | 9282 |
4384 | 9283 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
9284 | |
4385 | 9285 * kpse.cc: Move most functions from kpse-xfns.c here and make |
9286 static. Include most of kpse-xfns.h directly, removing | |
9287 unnecessary bits. | |
9288 | |
4384 | 9289 * dMatrix.cc (Matrix::pseudo_inverse): Now const. |
9290 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
9291 | |
4378 | 9292 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
9293 | |
9294 * getopt.c, getopt1.c, getopt.h: Move here from kpathsea. | |
9295 * Makefile.in: Add them to the appropriates lists. | |
9296 | |
9297 * oct-getopt.c: Include "getopt.h", not <kpathsea/getopt.h>. | |
9298 | |
9299 * Makefile.in (liboctave.$(LIBEXT), liboctave.$(SHLEXT)): Adjust | |
9300 for new locations of kpathsea objects. | |
9301 Delete kpathsea targets. | |
9302 | |
9303 * pathsearch.cc (dir_path::set_program_name): Delete. | |
9304 | |
9305 * kpse.cc: New file. | |
9306 * Makefile.in (LIBOCT_PATHSEARCH_CXX_SOURCES): Add it to the list. | |
9307 | |
9308 * kpse.c: New file. | |
9309 * Makefile.in (LIBOCT_PATHSEARCH_C_SOURCES): Add it to the list. | |
9310 | |
9311 * kpse.h, kpse-config.h, kpse-xfns.h: New files. | |
9312 * Makefile.in (INCLUDES): Add them to the list. | |
9313 | |
9314 * oct-kpse.h: Delete. | |
9315 * Makefile.in (INCLUDES): Delete it from the list. | |
9316 | |
4374 | 9317 2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
9318 | |
9319 * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. | |
9320 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): | |
9321 Likewise. | |
9322 From Quentin H. Spencer <qspencer@ieee.org>. | |
9323 | |
4365 | 9324 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
9325 | |
9326 * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h". | |
9327 | |
4349 | 9328 2003-02-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
9329 | |
4352 | 9330 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Handle systems with or |
9331 without placement delete. | |
9332 | |
4349 | 9333 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Don't lose -0 |
9334 imaginary parts. | |
9335 | |
9336 * lo-ieee.h (lo_ieee_signbit): New macro. | |
9337 | |
5095 | 9338 2003-02-18 David Bateman <dbateman@free.fr> |
4329 | 9339 |
9340 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
9341 Use Lapack instead of Linpack. | |
5315 | 9342 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
4329 | 9343 ComplexMatrix::solve): Likewise. |
9344 | |
9345 * dMatrix.cc (Matrix::determinant, Matrix::inverse): New arg, | |
9346 calc_cond. If 0, skip condition number calculation. | |
9347 * CMatrix.cc (ComplexMatrix::determinant, ComplexMatrix::inverse): | |
9348 Likewise. | |
9349 | |
9350 * CmplxLU.cc (ComplexLU::ComplexLU): Allow non-square matrices. | |
9351 * dbleLU.cc (LU::LU): Likewise. | |
9352 * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. | |
9353 | |
9354 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9967 | 9355 |
4329 | 9356 * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: |
9357 | |
4323 | 9358 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
9359 | |
9360 * Array2-idx.h (Array2<T>::index): Fix thinko. | |
9361 Additional compatibility fix. | |
9362 | |
9363 2003-02-13 Arno Klaassen <arno@scito.com> | |
9967 | 9364 |
9365 * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
4323 | 9366 ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: |
9367 Sprinkle with Array<T>:: as necessary for gcc 3.4. | |
9967 | 9368 |
4322 | 9369 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
9370 | |
9371 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
9372 Compatibility fix. | |
9373 | |
4316 | 9374 2003-02-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
9375 | |
9376 * CColVector.cc (ComplexColumnVector::extract_n): New function. | |
9377 * CRowVector.cc (ComplexRowVector::extract_n): Likewise. | |
9378 * CMatrix.cc (ComplexMatrix::extract_n): Likewise. | |
9379 * dColVector.cc (ColumnVector::extract_n): Likewise. | |
9380 * dRowVector.cc (RowVector::extract_n): Likewise. | |
9381 * dMatrix.cc (Matrix::extract_n): Likewise. | |
9382 | |
9383 * CColVector.cc (ComplexColumnVector::insert): Improve efficiency | |
9384 with make_unique and xelem. | |
9385 * CRowVector.cc (ComplexRowVector::insert): Likewise. | |
9386 * CMatrix.cc (ComplexMatrix::insert, ComplexMatrix::fill, | |
9387 ComplexMatrix::extract, ComplexMatrix::row, | |
9388 ComplexMatrix::column): Likewise. | |
9389 * dColVector.cc (ColumnVector::insert): Likewise. | |
9390 * dRowVector.cc (RowVector::insert): Likewise. | |
9391 * dMatrix.cc (Matrix::insert, Matrix::fill, Matrix::extract, | |
9392 Matrix::row, Matrix::column): Likewise. | |
9393 | |
4313 | 9394 2003-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
9395 | |
9396 * lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN. | |
9397 | |
4309 | 9398 2003-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
9399 | |
9400 * CMatrix.cc, dMatrix.cc: Move min and max functions here, from | |
9401 src/DLD-FUNCTIONS/minmax.cc, and make them extern. | |
9402 * CMatrix.h, dMatrix.h: Provide decls. | |
9403 | |
4307 | 9404 2003-01-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
9405 | |
9406 * oct-rand.h, oct-rand.cc: New files. | |
9407 * Makefile.in: Add them to the appropriate lists. | |
9408 | |
4306 | 9409 2003-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
9410 | |
9411 * Array2-idx.h (Array2<T>::index): Fix off-by-one error. | |
9412 | |
4299 | 9413 2003-01-16 Mumit Khan <khan@nanotech.wisc.edu> |
9414 | |
9415 * oct-syscalls.cc: Include signal.h. | |
9416 | |
4294 | 9417 2003-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
9418 | |
9419 * oct-syscalls.cc (octave_syscalls::kill): New function. | |
9420 * oct-syscalls.h: Provide decl. | |
9967 | 9421 |
4294 | 9422 |
4293 | 9423 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
9424 | |
9425 * dMatrix.cc (Matrix::read): Set size and return immediately if | |
9426 there is nothing to read. | |
9427 | |
4290 | 9428 2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
9429 | |
9430 * lo-cutils.c: Define _XOPEN_SOURCE. | |
9431 | |
4286 | 9432 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
9433 | |
4288 | 9434 * getopt.h: Update to version from kpathsearch, so we will install |
9435 the version that we are using. | |
9436 | |
9437 * getopt.c, getopt1.c: Delete. | |
9438 (INCLUDES): Delete them from the list. We'll get these files from | |
9439 kpathsearch. | |
9440 | |
4286 | 9441 * Makefile.in (liboctave.$(LIBEXT)): Link directly to |
9442 ../kpathsea/STATIC/*.o. | |
9443 (liboctave.$(SHLEXT)): Link directly to ../kpathsea/SHARED/*.o. | |
9444 | |
4270 | 9445 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
9446 | |
4282 | 9447 * dMatrix.cc (read_int, write_int): Avoid warnings about |
9448 unreachable code. | |
9449 | |
4279 | 9450 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete |
9451 to correspond to placement new operator. | |
9452 | |
4278 | 9453 * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. |
9454 (DET::value_will_underflow): Likewise. | |
9455 * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. | |
9456 (ComplexDET::value_will_underflow): Likewise. | |
9457 | |
4276 | 9458 * Makefile.in (distclean): Also remove stamp-prereq. |
9459 | |
4306 | 9460 * Array2-idx.h (Array2<T>::assign): If assignment conforms but the |
9461 RHS and index are empty matrices, don't do anything. | |
4270 | 9462 |
4242 | 9463 2002-12-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
9464 | |
9465 * pathsearch.cc (make_retval, free_c_array, make_c_names, | |
9466 delete_c_names): New helper functions. | |
9467 (dir_path::find_first_of): New function. | |
9468 (dir_path::find_all_first_of): Likewise. | |
9469 * pathsearch.h: Provide decls. | |
9470 | |
9471 * oct-kpse.c (octave_kpse_path_find_first_of): New function. | |
9472 (octave_kpse_all_path_find_first_of): Likewise. | |
9473 * oct-kpse.h: Provide decls. | |
9474 | |
4231 | 9475 2002-12-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
9476 | |
9477 * ODESSA.cc (ODESSA::integrate): Handle maxord. | |
9478 * ODESSA-opts.in: Likewise. | |
9479 | |
9480 * LSODE.cc (ODESSA::integrate): Handle maxord. | |
9481 * LSODE-opts.in: Likewise. | |
9482 | |
4229 | 9483 2002-12-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
9484 | |
4230 | 9485 * ODESSA.cc (ODESSA::ODESSA): Initialize "initialized" data member |
9486 in all constructors. | |
9487 | |
4229 | 9488 * Makefile.in (liboctave.$(SHLEXT)): Include $(LIBKPATHSEA) here. |
9489 (LINK_DEPS): Not here. | |
9490 | |
4219 | 9491 2002-12-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
9492 | |
4220 | 9493 * str-vec.cc (string_vector::compare): New static member function. |
9494 * str-vec.h: Provide decl. | |
9495 (string_vector::sort): Use it. | |
9496 (str_vec_compare): Delete static function. | |
9497 | |
4219 | 9498 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Also declare and define |
9499 a placement operator new. | |
9500 | |
4209 | 9501 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
9502 | |
4210 | 9503 * Matrix.h: Include mx-ops.h too. |
4209 | 9504 * mx-ops.h: New file. |
9505 | |
4192 | 9506 2002-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
9507 | |
9508 * DASRT.cc, DASRT.h, Array.cc, ArrayN.h, Array.h, Array2.cc, | |
9509 Array2.h, Array3.cc, Array3.h, Bounds.cc, Bounds.h, CRowVector.h, | |
9510 CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, CMatrix.h, | |
9511 CRowVector.cc, CColVector.h, ChangeLog, CmplxAEPBAL.cc, | |
9512 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
9513 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
9514 CmplxQR.h, CmplxQRP.cc, ArrayN.cc, CmplxQRP.h, CmplxSCHUR.cc, | |
9515 CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, dMatrix.cc, | |
9516 CollocWt.h, EIG.h, DASSL.cc, FEGrid.h, DASSL.h, DiagArray2.cc, | |
9517 DiagArray2.h, EIG.cc, FEGrid.cc, LSODE.cc, LPsolve.cc, LPsolve.h, | |
9518 LSODE.h, LinConst.cc, LinConst.h, MArray.h, MArray.cc, MArray2.cc, | |
9519 MArray2.h, MDiagArray2.cc, MDiagArray2.h, Range.cc, NLConst.h, | |
9520 NLEqn.cc, Range.h, NLEqn.h, Quad.cc, dbleQR.h, Quad.h, base-lu.cc, | |
9521 base-lu.h, boolMatrix.cc, boolMatrix.h, dColVector.cc, | |
9522 dColVector.h, dDiagMatrix.cc, dDiagMatrix.h, dMatrix.h, | |
9523 dRowVector.cc, dRowVector.h, dbleAEPBAL.cc, dbleAEPBAL.h, | |
9524 dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, dbleDET.h, dbleHESS.cc, | |
9525 dbleHESS.h, dbleLU.cc, dbleLU.h, dbleQR.cc, dbleQRP.cc, dbleQRP.h, | |
9526 dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, | |
9527 idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, | |
9528 ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: | |
9967 | 9529 Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of |
4192 | 9530 "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". |
9531 | |
4184 | 9532 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
9533 | |
9534 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_GLOBAL too. | |
9535 From Remy Bruno <remy.bruno@libertysurf.fr> | |
9536 | |
4180 | 9537 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
9538 | |
9539 * lo-specfun.cc: Use F77_FUNC instead of F77_XFCN for calls to | |
9540 fortran code that should run fast enough that it is not worth all | |
9541 the setup costs of F77_XFCN. | |
9542 | |
9543 * Quad.cc (user_function): Surround body of function with | |
9544 BEGIN_INTERRUPT_WITH_EXCEPTIONS, END_INTERRUPT_WITH_EXCEPTIONS. | |
9545 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Likewise. | |
9546 * NLEqn.cc (hybrd1_fcn, hybrj1_fcn): Likewise. | |
9547 * LSODE.cc (lsode_f, lsode_j): Likewise. | |
9548 * DASSL.cc (ddassl_f, ddassl_j): Likewise. | |
9549 * DASRT.cc (ddasrt_f, ddasrt_j, ddasrt_g): Likewise. | |
9550 * DASPK.cc (ddaspk_f, ddaspk_psol, ddaspk_j): Likewise. | |
9551 | |
4164 | 9552 2002-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
9553 | |
9554 * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead | |
9555 of ! defined (linux). | |
9556 | |
5095 | 9557 2002-11-09 Per Persson <persquare@mac.com> |
4162 | 9558 |
9559 * oct-shlib.cc (octave_dyld_shlib): New class. | |
9560 (make_shlib): Instantiate octave_dyld_shlib. | |
9561 | |
4152 | 9562 2002-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
9563 | |
4153 | 9564 * CMatrix.cc, dMatrix.cc: Sprinkle with OCTAVE_QUIT. |
9565 | |
4152 | 9566 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Abort on error. |
9567 | |
9568 * Array.h: Include <cstddef> here. | |
9569 | |
4142 | 9570 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
9571 | |
4144 | 9572 * DASPK.cc (DASPK::do_integrate): Resize rwork and iwork before |
9573 using them. Accept inequality contraint option of 0. Assign | |
9574 pabs_tol and prel_tol before calling DASPK. Don't redeclare | |
9575 abs_tol and rel_tol. | |
9576 | |
4143 | 9577 * cmd-edit.h (command_editor::filename_completion_desired): New |
9578 static function. | |
9579 (command_editor::do_filename_completion_desired): New virtual function. | |
9580 * oct-rl-edit.c (octave_rl_filename_completion_desired): New function. | |
9581 * oct-rl-edit.h: Provide decl. | |
9582 | |
4142 | 9583 * Array2.cc (Array2<T>::get_size): #define MALLOC_OVERHEAD to |
9584 avoid OS X linker bug. | |
9585 * ArrayN.cc (ArrayN<T>::get_size): Likewise. | |
9586 | |
4139 | 9587 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
9588 | |
4141 | 9589 * ODESFunc.h (ODESFunc::ODES_fsub, ODESFunc::ODES_bsub, |
9590 ODESFunc::ODES_jsub): Reorder args for consistency with other | |
9591 solvers. | |
9592 * ODESSA.cc: Fix all callers. | |
9593 | |
4139 | 9594 * mx-inlines.cc (MX_BASE_REDUCTION_OP): Also return scalar |
9595 MT_RESULT if nr == 1 && nc == 0 && dim == -1 (i.e., | |
9596 sum(zeros(1,0)) returns 0, not [](1x0)). | |
9597 | |
4136 | 9598 2002-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
9599 | |
9600 * Makefile.in (LINK_DEPS): Include $(FLIBS) here too. | |
9601 | |
4132 | 9602 2002-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
9603 | |
4133 | 9604 * DASRT.cc (DASRT::integrate): Fix computation of lrw |
9605 (ddasrt_f): Combine loops. | |
9606 | |
4132 | 9607 * NLEqn.cc (NLEqn::solve): Return current estimate of solution |
9608 instead of empty vector if user termninates iteration. | |
9609 | |
4130 | 9610 2002-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
9611 | |
9612 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
9613 octave_read_complex, octave_write_double, octave_write_complex): | |
9614 New functions. | |
9615 * CMatrix.cc (operator << (std::ostream&, const ComplexMatrix&)): | |
9616 Use octave_write_complex. | |
9617 (operator >> (std::istream&, const ComplexMatrix&)): | |
9618 Use octave_read_complex. | |
9619 * dMatrix.cc (operator << (std::ostream&, double)): | |
9620 Use octave_write_double. | |
9621 (operator >> (std::istream&, double)): Use octave_read_double. | |
9622 | |
4126 | 9623 2002-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
9624 | |
9625 * oct-kpse.c (octave_kpse_clear_dir_cache): Delete. | |
9626 * oct-kpse.h: Delete decl. | |
9627 * pathsearch.cc (dir_path::init): Delete unnecessary call to | |
9628 ::octave_kpse_clear_dir_cache. | |
9629 | |
4123 | 9630 2002-10-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
9631 | |
4124 | 9632 * lo-sstream.h: Undef HAVE_SSTREAM if using a version of g++ |
9633 earlier than 3.0. | |
9634 | |
4123 | 9635 * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. |
9636 (liboctave.$(SHLEXT)): Not here. | |
9637 | |
5095 | 9638 2002-10-17 Paul Kienzle <pkienzle@users.sf.net> |
4110 | 9639 |
9640 * oct-shlib.cc (octave_w32_shlib): New class to support Windows. | |
9641 | |
4108 | 9642 2002-10-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
9643 | |
9644 * Makefile.in (install-lib): Don't bother with versions for | |
9645 $(SHLBIN) files. | |
9646 | |
5095 | 9647 2002-10-16 Paul Kienzle <pkienzle@users.sf.net> |
4105 | 9648 |
9649 * Makefile.in (LIB_DEPS): Include $(LIBS). | |
9650 | |
4102 | 9651 2002-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
9652 | |
9653 * lo-cieee.c: Move everything but lo_ieee_init here. | |
9654 (lo_ieee_Inf_value, lo_ieee_NA_value, lo_ieee_NaN_value): | |
9655 New functions. | |
9656 | |
9657 * Makefile.in (install): No need to use cd to create links. | |
9658 (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. | |
9659 | |
5095 | 9660 2002-10-14 Paul Kienzle <pkienzle@users.sf.net> |
4102 | 9661 |
9662 * Makefile.in: Merge liboctave with liboct-readline and | |
9663 liboct-pathsearch. | |
9664 Use link dependencies for shared libs if INCLUDE_LINK_DEPS. | |
9665 (libraries): Depend on versioned library. | |
9666 (liboctave.$(SHLEXT), liboctave.$(SHLEXT_VER)): Reverse actions -- | |
9667 build unversioned library, symbolic link adds version info. | |
9668 (install, uninstall): Handle link and load forms of the library | |
9669 separately. | |
9670 | |
4101 | 9671 2002-10-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
9672 | |
9673 * oct-time.cc: Use OCTAVE_USE_WINDOWS_API instead of __WIN32__ and | |
9674 __CYGWIN__. | |
9675 | |
9676 * file-ops.cc (file_ops::dir_sep_char, file_ops::dir_sep_str, | |
9677 file_ops::dir_sep_chars): New static functions to replace | |
9678 OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS. | |
9679 | |
9680 * oct-env.cc (octave_env::do_set_program_name): | |
9681 Use file_ops::dir_sep_chars instead of OCTAVE_DIR_SEP_CHARS. | |
9682 (octave_env::do_base_pathname): Likewise. | |
9683 (octave_env::do_make_absolute): Likewise. | |
9684 | |
9685 * oct-env.cc (octave_env::do_make_absolute): | |
9686 Use file_ops::dir_sep_str instead of OCTAVE_DIR_SEP_STR. | |
9687 (octave_env::do_get_home_directory): Likewise. | |
9688 | |
9689 * file-ops.cc (is_dir_sep): Use dir_sep_chars instead of embedding | |
9690 that information here too. | |
9691 (tilde_find_suffix, isolate_tilde_prefix, tilde_expand_word): | |
9692 Use file_ops::dir_sep_char instead of OCTAVE_DIR_SEP_CHAR. | |
9693 | |
9694 * file-ops.h: Use OCTAVE_HAVE_WINDOWS_FILESYSTEM and | |
9695 OCTAVE_HAVE_POSIX_FILESYSTEM instead of __WIN32__ and __CYGWIN__. | |
9696 | |
4097 | 9697 2002-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
9698 | |
9699 * oct-env.h (octave_env::current_directory): Now mutable. | |
9700 (octave_env:do_getcwd): Now const. | |
9701 | |
9702 * file-ops.h, file-ops.cc (file_ops::is_dir_sep): New function. | |
9703 (OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS, | |
9704 OCTAVE_CURRENT_DIR_STR): New macros. | |
9705 * oct-env.cc (is_dir_sep): Delete. | |
9706 (octave_env::do_base_pathname): Look for OCTAVE_DIR_SEP_CHARS, not '/'. | |
9707 (octave_env::do_set_program_name): Likewise. | |
9708 (octave_env::do_polite_directory_format): Use file_ops::is_dir_sep | |
9709 instead of checking for '/'. | |
9710 (octave_env::pathname_backup): Likewise. | |
9711 (octave_env::do_absolute_pathname): Likewise. | |
9712 (octave_env::do_make_absolute): Likewise. | |
9713 If dot_path is empty, use getcwd to set current_dir. | |
9714 (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR | |
9715 instead of "/". | |
9716 | |
5095 | 9717 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 9718 |
9719 * lo-cutils.c: On non-Posix Windows systems, include winsock.h. | |
9720 | |
5095 | 9721 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 9722 |
9723 * oct-env.cc (octave_env::do_absolute_pathname): Recognize | |
9724 absolute path names under MinGW as well. | |
9725 | |
9726 2002-10-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9727 | |
9728 * oct-env.cc: Include <cctype> too. | |
9729 | |
4087 | 9730 2002-10-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
9731 | |
9732 * oct-env.cc (octave_env::do_absolute_pathname): Handle Windows | |
9733 filenames. | |
9734 (octave_env::do_make_absolute): Check for absolute name with | |
9735 do_absolute_path. | |
4088 | 9736 (octave_env::do_chdir): Likewise. |
9737 (is_dir_sep): New function. | |
4087 | 9738 |
5095 | 9739 2002-10-03 Paul Kienzle <pkienzle@users.sf.net> |
4085 | 9740 |
4086 | 9741 * oct-time.cc (octave_time::stamp): Better resolution for Windows |
9742 systems. | |
4085 | 9743 |
4083 | 9744 2002-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
9745 | |
9746 * dMatrix.cc (Matrix::read): Clean up error handling logic. | |
9747 | |
4080 | 9748 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
9749 | |
4081 | 9750 * file-ops.cc (file_ops::mkdir): Handle one-arg mkdir here. |
9751 | |
4080 | 9752 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
9753 | |
5095 | 9754 2002-09-27 Per Persson <persquare@mac.com> |
4076 | 9755 |
9756 * oct-group.cc (octave_group::octave_group): Dont' forget to set | |
9757 gr_gid too. | |
9758 | |
4072 | 9759 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
9760 | |
4074 | 9761 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
9762 lo_ieee_* functions. | |
4072 | 9763 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074 | 9764 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
9765 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. | |
4072 | 9766 * lo-cieee.c: New file. |
4074 | 9767 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072 | 9768 * lo-ieee.h: Now all extern "C". |
4074 | 9769 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
9770 lo-mappers.cc and rename from xisnan, xfinite, xisinf. | |
9771 | |
4072 | 9772 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
9773 Now extern. | |
9774 | |
4066 | 9775 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
9776 | |
9777 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
9778 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
9779 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
9780 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
9781 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
9782 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
9783 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
9784 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
9785 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
9786 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
9787 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
9788 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
9789 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
9790 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
9791 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
9792 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
9793 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
9794 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
9795 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
9796 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
9797 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
9798 oct-alloc.cc: | |
9799 If __GNUG__, use pragma interface/implementation. Allow this to | |
9800 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. | |
9801 | |
5095 | 9802 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
4064 | 9803 |
4066 | 9804 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
9805 system readlink function is not available. | |
9806 | |
4065 | 9807 * lo-mappers.cc (xerf, xerfc): Delete. |
9808 * lo-mappers.h (xerf, xerfc): Delete decls. | |
9809 | |
4064 | 9810 * lo-mappers.cc: Remove unused #define M_PI. |
9811 * lo-specfun.cc: Add #define M_PI if needed. | |
9812 | |
4062 | 9813 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
9814 | |
9815 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility | |
9816 that geteuid doesn't exist. | |
9817 | |
9818 * LP.h: Rename LP class to octave_LP. | |
9819 LPsolve.h: Change all uses. | |
9820 | |
9821 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove | |
9822 incorrect token-pasting op. | |
9823 | |
9824 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to | |
9825 define lstat. | |
9826 | |
4061 | 9827 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
9828 | |
9829 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
9830 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
9831 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
9832 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
9833 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
9834 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
9835 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
9836 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
9837 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
9838 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
9839 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
9840 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
9841 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
9842 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
9843 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
9844 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
9845 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
9846 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
9847 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
9848 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
9849 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
9850 oct-alloc.cc: | |
9851 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ | |
9852 to decide whether to use the interface/implementation pragmas. | |
9853 | |
4058 | 9854 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
9855 | |
9856 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. | |
9857 | |
4055 | 9858 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
9859 | |
9860 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use | |
9861 qualified names. | |
9862 | |
4051 | 9863 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
9864 | |
4054 | 9865 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
9866 ArrayN.cc: Add typename where needed. | |
4053 | 9867 |
4051 | 9868 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
9869 strstream classes directly. | |
9870 * DASRT.cc: Likewise. | |
9871 * DASSL.cc: Likewise. | |
9872 * LSODE.cc: Likewise. | |
9873 * ODESSA.cc: Likewise. | |
9874 | |
9875 * cmd-hist.cc: Don't include <strstream>. | |
9876 * oct-shlib.cc: Likewise. | |
9877 | |
9878 * lo-sstream.h: New file. | |
9879 | |
4049 | 9880 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
9881 | |
9882 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): | |
9883 New data members. | |
9884 (LSODE::sanity_checked): Delete unused data member. | |
9885 | |
9886 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, | |
9887 prel_tol, pinfo, piwork, prwork): New data members. | |
9888 * DASSL.h (DASSL): Likewise. | |
9889 | |
9890 * DASRT.h (DASRT::sanity_checked): Delete unused data member. | |
9891 | |
9892 * DASRT.cc (DASRT::integrate (double)): Better handling of | |
9893 initialization, changes in options, etc. | |
9894 * DASPK.cc (DASPK::do_integrate): Likewise. | |
9895 * DASSL.cc (DASSL::do_integrate): Likewise. | |
9896 * LSODE.cc (LSODE::do_integrate): Likewise. | |
9897 | |
4047 | 9898 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
9899 | |
4049 | 9900 * DAEFunc.h (DAEFunc::reset): New data member. |
9901 * DAERTFunc.h (DAERTFunc::reset): Likewise. | |
9902 | |
9903 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. | |
9904 (base_diff_eqn::clear_stop_time): Likewise. | |
9905 | |
4047 | 9906 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
9907 * DASPK.cc (DASPK::do_integrate (double)): Likewise. | |
9908 | |
5095 | 9909 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
4044 | 9910 |
9911 * DASPK-opts.in, DASPK.h: Move include to .in file. | |
9912 * DASRT-opts.in, DASRT.h: Likewise. | |
9967 | 9913 * DASSL-opts.in, DASSL.h: Likewise. |
4044 | 9914 * LSODE-opts.in, LSODE.h: Likewise. |
9915 * NLEqn-opts.in, NLEqn.h: Likewise. | |
9916 * ODESSA-opts.in, ODESSA.h: Likewise. | |
9917 | |
4038 | 9918 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
9919 | |
4042 | 9920 * LSODE.cc (LSODE::error_message): Also return current T on |
9921 failures when that makes sense. | |
4043 | 9922 * DASSL.cc (DASSL::error_message): Likewise. |
9923 * DASRT.cc (DASRT::error_message): Likewise. | |
9924 * DASPK.cc (DASPK::error_message): Likewise. | |
9925 * ODESSA.cc (ODESSA:error_message): Likewise. | |
4042 | 9926 |
4038 | 9927 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
9928 $(LIBKPATHSEA) here. | |
9929 | |
4025 | 9930 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
9931 | |
9932 * lo-ieee.cc (lo_ieee_is_NA): New function. | |
9933 (lo_ieee_is_NaN_or_NA): New function. | |
9934 (octave_NA): New global value. | |
9935 (octave_ieee_init): Initialize it. | |
9936 * lo-mappers.cc (octave_is_NA): New function. | |
9937 (octave_is_NaN_or_NA): New function. | |
9938 (xisnan): Return false if NaN looks like a missing value. | |
9939 (xisnan (const Complex&)): Use xisnan here. | |
9940 | |
4015 | 9941 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
9942 | |
4017 | 9943 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
9944 ComplexMatrix::cumprod, ComplexMatrix::cumsum, | |
9945 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): | |
9946 Default value for dim is -1, not 0. | |
9947 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, | |
9948 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. | |
9949 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. | |
9950 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. | |
9951 | |
4015 | 9952 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
9953 New macros. | |
9954 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and | |
9955 MX_BASE_REDUCTION_OP. | |
9956 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. | |
9957 | |
4014 | 9958 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
9959 | |
4015 | 9960 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
9961 Return boolMatrix, not Matrix. | |
9962 | |
9963 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. | |
9964 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. | |
9965 (Matrix::all): Replace guts with MX_ALL_OP. | |
9966 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. | |
9967 (ComplexMatrix::all): Replace guts with MX_ALL_OP. | |
9968 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. | |
9969 (boolMatrix::all): Replace guts with MX_ALL_OP. | |
9970 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. | |
9971 (charMatrix::all): Replace guts with MX_ALL_OP. | |
9972 | |
9973 * dMatrix.h (Matrix::any): New arg, dim. | |
9974 (Matrix::all): Likewise. | |
9975 * CMatrix.h (ComplexMatrix::any): Likewise. | |
9976 (ComplexMatrix::all): Likewise. | |
9977 * boolMatrix.h (boolMatrix::any): Likewise. | |
9978 (boolMatrix::all): Likewise. | |
9979 * chMatrix.h (charMatrix::any): Likewise. | |
9980 (charMatrix::all): Likewise. | |
9981 | |
4014 | 9982 * Makefile.in: Use $@-t instead of $@.t. |
9983 | |
4004 | 9984 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
9985 | |
9986 * lo-specfun.cc (gammainc): New arg, err, for scalar version. | |
9987 Use it in matrix versions to avoid spewing multiple errors. | |
9988 Call xgammainc instead of dgamit. | |
9989 | |
3998 | 9990 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
9991 | |
9967 | 9992 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): |
3998 | 9993 Get rows and columns right in loop. |
9994 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. | |
9995 | |
9996 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9997 | |
9998 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. | |
9999 * DASRT.cc (DASRT::integrate): Likewise. | |
10000 * DASSL.cc (DASSL::do_integrate): Likewise. | |
10001 | |
10002 * Quad.cc: Don't pass tolerances in constructors. | |
10003 | |
10004 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, | |
10005 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. | |
10006 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, | |
10007 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically | |
10008 from corresponding .in files. | |
10009 * LSODE.h, Quad.h: Replace options class definitions with included | |
10010 file. | |
10011 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to | |
9967 | 10012 create OPTS_INC files from OPTS_INC_SRC files. |
3998 | 10013 (stamp-prereq): New target. |
10014 (libraries): Depend on stamp-prereq. | |
10015 Include stamp-prereq along with $(MAKEDEPS). | |
10016 | |
3997 | 10017 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
10018 | |
10019 * base-de.h (base_diff_eqn::istate): New data member. | |
10020 (base_diff_eqn::integration_state): New member function. | |
10021 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding | |
10022 data members and functions. | |
10023 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. | |
10024 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. | |
10025 | |
3990 | 10026 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
10027 | |
3995 | 10028 * base-de.h (base_diff_eqn::stop_time, |
10029 base_diff_eqn::stop_time_set, base_diff_eqn::restart, | |
10030 base_diff_eqn::integration_error): New data members. | |
10031 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, | |
10032 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, | |
10033 base_diff_eqn::error_message): New member functions. | |
10034 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, | |
10035 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data | |
10036 members and functions. | |
10037 | |
3992 | 10038 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
10039 * DASRT.cc (DASRT::DASRT): Set ng here. | |
3993 | 10040 (DASRT::integrate): Don't forget to set nn. |
3992 | 10041 |
3991 | 10042 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
10043 * DASSL.cc (ddassl_j): Make it work. | |
10044 * DASPK.cc (ddaspk_j): Likewise. | |
10045 | |
3990 | 10046 * DAE.cc: Delete. |
10047 | |
10048 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE | |
10049 solving with root finding. | |
10050 * Makefile.in: Add them to the appropriate lists. | |
10051 | |
10052 * base-dae.h: New file. | |
10053 * Makefile.in (INCLUDES): Add it to the list. | |
10054 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. | |
10055 | |
3984 | 10056 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
10057 | |
10058 * ODE.h: Move integrate and do_integrate method declarations and | |
10059 definitions here. | |
10060 * base-de.h: From here. | |
10061 | |
10062 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. | |
10063 * Makefile.in: Add them to the appropriate lists. | |
9967 | 10064 (LIBOCTAVE_CXX_SOURCES): |
3984 | 10065 |
3971 | 10066 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
10067 | |
10068 * NLEqn.cc (NLEqn::error_message): New function. | |
10069 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. | |
10070 | |
3970 | 10071 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
10072 | |
10073 * lo-utils.cc (octave_fgetl): New function. | |
10074 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. | |
10075 | |
3959 | 10076 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
10077 | |
10078 * LSODE.cc (LSODE::error_message): New function. | |
10079 * LSODE.h: Provide decl. | |
10080 (LSODE::integration_state): New function. | |
10081 (LSODE::integration_ok): New function. | |
10082 | |
3952 | 10083 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
10084 | |
3955 | 10085 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
10086 (LSODE_options::set_integration_method, | |
10087 LSODE_options::integration_method): New functions. | |
3954 | 10088 |
3952 | 10089 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
10090 Change all uses. | |
10091 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. | |
10092 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): | |
10093 New function. | |
10094 | |
10095 * Array.h (Array::fortran_vec): New const version. | |
10096 | |
3951 | 10097 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
10098 | |
10099 * cmd-edit.cc (gnu_readline::history_search_backward): New function. | |
10100 (gnu_readline::history_search_forward): Likewise. | |
10101 (gnu_readline::gnu_readline): Use them instead of passing pointers | |
10102 to extern "C" functions to octave_rl_ad_defun. | |
10103 | |
5095 | 10104 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
3946 | 10105 |
10106 * DASPK.cc (ddaspk_psol): Return value. | |
10107 * oct-rl-edit.c: Use /* ... */ to comment. | |
10108 | |
3945 | 10109 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
10110 | |
10111 * DASSL.h (DASSL_options::init): Undo previous change. | |
10112 (DASSL_options::set_absolute_tolerance): Likewise. | |
10113 * LSODE.h (LSODE_options::init): Likewise. | |
10114 (LSODE_options::set_absolute_tolerance): Likewise. | |
10115 | |
10116 * DASPK.h (DASPK_options::init): Use default absolute tolerance of | |
10117 sqrt(eps), not eps^2. | |
10118 DASPK_options::set_absolute_tolerance): Likewise. | |
10119 | |
5095 | 10120 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
3944 | 10121 |
10122 * Array.h (Array<T>::resize_fill_value): Return default initialized | |
10123 object. | |
10124 | |
3933 | 10125 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
10126 | |
10127 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. | |
10128 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. | |
10129 (octave_rl_set_basic_word_break_characters, | |
10130 octave_rl_set_completer_word_break_characters): New functions. | |
10131 * oct-rl-edit.h: Provide decls. | |
10132 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, | |
10133 gnu_readline::do_set_completer_word_break_characters): New functions. | |
10134 (command_editor::set_basic_quote_characters, | |
10135 command_editor::set_completion_append_character): New static functions. | |
10136 * cmd-edit.h: Provide decls. | |
10137 (command_editor::do_set_basic_word_break_characters, | |
10138 command_editor::do_set_completer_word_break_characters): | |
10139 New virtual functions. | |
10140 | |
10141 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h | |
10142 (resize_fill_value): New static function. | |
10143 | |
10144 * Array-idx.h (Array<T>::index): New args, resize_ok and | |
10145 resize_fill_value. | |
10146 * Array2-idx.h (Array2<T>::index): Likewise. | |
10147 * ArrayN-idx.h (ArrayN<T>::index): Likewise. | |
10148 | |
10149 * Array2.cc (Array<T>::print_info): New function. | |
10150 * Array2.h: Provide decl. | |
10151 | |
10152 * Array.cc (Array<T>::print_info): New function. | |
10153 * Array.h: Provide decl. | |
10154 | |
3928 | 10155 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
10156 | |
10157 * idx-vector.h (idx_vector::idx_vector (int)): New function. | |
10158 (idx_vector_rep::idx_vector_rep (int)): New decl. | |
10159 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. | |
10160 | |
10161 * Array.h (Array<T>::resize_fill_value (void)): New static function. | |
10162 (assign (Array<LT>&, const Array<RT>&)): Use it. | |
10163 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. | |
10164 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. | |
10165 | |
9967 | 10166 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
3928 | 10167 |
10168 * Array3.h (Array3<T>::checkelem): Improve error message. | |
10169 * ArrayN.h (ArrayN<T>::range_error): Likewise. | |
10170 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. | |
10171 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. | |
10172 | |
3919 | 10173 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
10174 | |
10175 * DASSL.h (DASSL_options::init): Undo previous change. | |
10176 (DASSL_options::set_absolute_tolerance): Likewise. | |
10177 | |
3912 | 10178 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
10179 | |
10180 * DASPK.h, DASPK.cc: New files. | |
10181 * Makefile.in: Add them to the appropriate lists. | |
10182 | |
3904 | 10183 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
10184 | |
10185 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): | |
10186 Simplify indexing when one or both of the indices are empty. | |
10187 | |
3896 | 10188 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
10189 | |
10190 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. | |
10191 (DASSL_options::set_absolute_tolerance): Likewise. | |
10192 * LSODE.h (LSODE_options::init): Likewise. | |
10193 (LSODE_options::set_absolute_tolerance): Likewise. | |
10194 | |
5095 | 10195 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
3887 | 10196 |
10197 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. | |
10198 * file-stat.cc (file_stat::update_internal, file_stat::copy): | |
10199 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. | |
10200 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. | |
10201 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. | |
10202 * file-stat.h: Likewise. | |
10203 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, | |
10204 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE | |
10205 instead of HAVE_STRUCT_TM_TM_ZONE. | |
10206 * strftime.c: Likewise. | |
10207 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, | |
10208 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, | |
10209 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, | |
10210 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, | |
10211 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
10212 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
10213 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. | |
10214 | |
5095 | 10215 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
3883 | 10216 |
9967 | 10217 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition |
3883 | 10218 internally when the user requests it. |
10219 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
10220 * dbleQR.cc (QR::init): Ditto. | |
10221 * dbleQRP.cc (QRP::init): Ditto. | |
10222 | |
3874 | 10223 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
10224 | |
10225 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a | |
10226 definition for NULL by passing 0 as the last arg to fftwnd_one. | |
10227 (octave_fftw::ifft2d): Likewise. | |
10228 | |
5095 | 10229 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
3873 | 10230 |
10231 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). | |
10232 | |
3867 | 10233 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
10234 | |
10235 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. | |
10236 (LS_DO_WRITE): Likewise. | |
9967 | 10237 |
3864 | 10238 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
10239 | |
10240 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. | |
10241 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. | |
10242 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. | |
10243 | |
10244 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, | |
10245 MX_REDUCTION_OP_ROW_EXPR): New macros. | |
10246 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. | |
10247 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. | |
10248 | |
10249 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. | |
10250 DIM == -1 now means no orientation for vector sums. | |
10251 * dMatrix.cc (ComplexMatrix::sumsq): Use it. | |
10252 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. | |
10253 | |
3858 | 10254 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
10255 | |
10256 * Range.cc (Range::nelem_internal): Special case ranges that must | |
10257 have zero elements. | |
10258 | |
3854 | 10259 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
10260 | |
3857 | 10261 * Makefile.in: Split out readline and pathsearch functionality |
10262 into separate liboct-readline and liboct-pathsearch libraries. | |
10263 | |
3854 | 10264 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857 | 10265 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
10266 to do nothing for this call to rl_clear_screen. | |
3854 | 10267 |
3849 | 10268 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
10269 | |
10270 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied | |
10271 function. | |
10272 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. | |
10273 | |
3838 | 10274 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
10275 | |
10276 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, | |
10277 Matrix::inverse): Handle the case of rcond being a NaN the same as | |
10278 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. | |
10279 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, | |
10280 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. | |
10281 | |
3836 | 10282 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
10283 | |
10284 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. | |
10285 | |
10286 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, | |
10287 Array-b.cc: Instantiate three arg assign functions. | |
10288 | |
10289 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): | |
10290 New arg, resize_fill_value. | |
10291 * ArrayN.h: Provide declaration. | |
10292 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling | |
10293 three arg version. | |
10294 | |
10295 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): | |
10296 New arg, resize_fill_value. | |
10297 * Array3.h: Provide declaration. | |
10298 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling | |
10299 three arg version. | |
10300 | |
10301 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
10302 New arg, resize_fill_value. | |
10303 * Array2.h: Provide declaration. | |
10304 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling | |
10305 three arg version. | |
10306 | |
10307 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
10308 New arg, resize_fill_value. | |
10309 * Array.h: Provide declaration. | |
10310 (assign (Array<LT>&, const Array<RT>&): Define here by calling | |
10311 three arg version. | |
10312 | |
3833 | 10313 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
10314 | |
10315 * pathsearch.cc (dir_path::set_program_name): Set the environment | |
10316 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS | |
10317 to the empty string. | |
10318 | |
3832 | 10319 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
10320 | |
10321 * Array2.h (Array2<T>::operator = (const Array2<T>&)): | |
10322 Don't check for rep != a.rep. | |
10323 | |
3827 | 10324 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
10325 | |
10326 * oct-fftw.h, oct-fftw.cc: New files. | |
10327 * Makefile.in (INCLUDES, SOURCES): Add new files. | |
9967 | 10328 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, |
3827 | 10329 ifourier2d}): Use fftw if available. |
9967 | 10330 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): |
3827 | 10331 Likewise. |
10332 | |
3821 | 10333 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
10334 | |
10335 * Makefile.in (install-lib): Don't use mk-libdir-link. | |
10336 (install-inc): Don't use mk-includedir-link. | |
10337 | |
3803 | 10338 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
10339 | |
10340 * lo-cutils.c (octave_gethostname): New function. | |
10341 * lo-utils.h: Provide declaration. | |
10342 * oct-env.cc (octave_env::do_get_host_name): | |
10343 Call octave_gethostname, instead of gethostname. | |
10344 | |
10345 * lo-cutils.c (gethostname): Define here. | |
10346 * lo-sysdep.cc: Not here. | |
10347 | |
3786 | 10348 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
10349 | |
10350 * lo-cutils.c: Don't declare strptime. | |
10351 (oct_strptime): Cast return type of strptime to char*. | |
10352 | |
3777 | 10353 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
10354 | |
3779 | 10355 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
10356 (octave_rl_set_name): call rl_re_read_init_file with two args. | |
10357 (octave_rl_read_init_file): Ditto. | |
10358 (octave_rl_clear_undo_list): Call rl_free_undo_list, not | |
10359 free_undo_list. | |
10360 (octave_rl_completion_matches): Call rl_completion_matches, not | |
10361 completion_matches. | |
10362 (octave_rl_enable_paren_matching): New function. | |
10363 (octave_rl_set_blink_matching_paren_flag): Delete. | |
10364 (octave_rl_get_blink_matching_paren_flag): Delete. | |
10365 | |
3777 | 10366 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
9967 | 10367 tanh (const Complex&)): Declare and define if not |
3777 | 10368 CXX_ISO_COMPLIANT_LIBRARY. |
10369 | |
3776 | 10370 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
10371 | |
10372 * lo-mappers.h (tanh (const Complex&)): Only declare if not | |
10373 CXX_ISO_COMPLIANT_LIBRARY. | |
10374 | |
3775 | 10375 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
10376 | |
3776 | 10377 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
10378 CXX_ISO_COMPLIANT_LIBRARY. | |
10379 | |
3775 | 10380 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
10381 archive libraries containing templates. | |
10382 | |
10383 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, | |
9967 | 10384 get_zero_len_size, all_colon_equiv): Inline. |
3775 | 10385 (ArrayN<T>::index): Rename idx to arr_idx. |
9967 | 10386 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, |
3775 | 10387 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, |
10388 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. | |
10389 | |
10390 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10391 | |
10392 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), | |
10393 log10 (const Complex&)): Delete. | |
10394 | |
10395 * oct-cmplx.h: Define forwarding functions for real, imag, abs, | |
10396 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, | |
10397 sinh, sqrt, tan, and tanh. | |
10398 | |
3769 | 10399 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
10400 | |
10401 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: | |
10402 Add std:: namespace qualifier as needed. | |
10403 | |
10404 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. | |
10405 Change all uses to match. | |
10406 | |
3767 | 10407 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
10408 | |
10409 * lo-cutils.c: Don't delcare strptime. | |
10410 | |
3760 | 10411 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
10412 | |
10413 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): | |
10414 Return correct size result for empty matrix case. | |
10415 | |
3757 | 10416 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
10417 | |
10418 * lo-mappers.cc (xmin (const Complex&, const Complex& y): | |
10419 If args are equal in magnitude, return first arg instead of | |
10420 second. | |
10421 | |
3752 | 10422 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
10423 | |
3755 | 10424 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
10425 then try harder to compute correct number of elements. | |
3753 | 10426 |
3752 | 10427 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
10428 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. | |
10429 | |
3750 | 10430 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
10431 | |
3751 | 10432 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
10433 Rename n_intervals to be n_elt. | |
10434 | |
3750 | 10435 * strptime.c: Surround everything after including config.h in |
10436 #ifndef HAVE_STRPTIME ... #endif. | |
10437 | |
3742 | 10438 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
10439 | |
10440 * Array-idx.h (assign): When resizing, cast fill value to LT. | |
10441 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. | |
10442 | |
3741 | 10443 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
10444 | |
10445 * MArray-defs.h: Protect against multiple inclusion. | |
10446 | |
3739 | 10447 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
10448 | |
10449 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the | |
10450 end of the list, to be compatible with previous versions of Octave. | |
10451 | |
3736 | 10452 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
10453 | |
10454 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, | |
10455 since mktime is supposed to `normalize' the results for us. | |
10456 | |
3731 | 10457 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
10458 | |
10459 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices | |
3732 | 10460 and vectors. Use xelem for faster access to elements when copying. |
3731 | 10461 |
3726 | 10462 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
10463 | |
10464 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): | |
10465 Correct indexing for operation across rows. | |
10466 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. | |
10467 | |
3725 | 10468 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
10469 | |
10470 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying | |
10471 elements if arg is a colon. | |
10472 | |
5095 | 10473 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
3723 | 10474 |
3795 | 10475 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723 | 10476 (Matrix::cumsum (int) const): Likewise. |
10477 (Matrix::prod (int) const): Likewise. | |
10478 (Matrix::sum (int) const): Likewise. | |
10479 (Matrix::sumsq (int) const): Likewise. | |
10480 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. | |
10481 (ComplexMatrix::cumsum (int) const): Likewise. | |
10482 (ComplexMatrix::prod (int) const): Likewise. | |
10483 (ComplexMatrix::sum (int) const): Likewise. | |
10484 (ComplexMatrix::sumsq (int) const): Likewise. | |
10485 | |
3722 | 10486 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
10487 | |
10488 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set | |
10489 size if Array<T>::index returns an empty array. | |
10490 | |
3710 | 10491 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
10492 | |
10493 * file-ops.cc (file_ops::link, file_ops::symlink, | |
10494 file_ops::readlink): New functions. | |
10495 | |
3709 | 10496 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
10497 | |
10498 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is | |
10499 indexed, always return an object the same size as the index arg. | |
10500 | |
10501 * oct-time.cc (octave_base_tm::strftime): Return empty string for | |
10502 empty format. | |
10503 | |
3706 | 10504 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
10505 | |
10506 * lo-cutils.c (oct_strptime): New function. | |
10507 * oct-time.cc (octave_strptime::init): Call it instead of strptime. | |
10508 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. | |
10509 | |
3702 | 10510 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
10511 | |
3703 | 10512 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
10513 | |
3702 | 10514 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
10515 | |
3689 | 10516 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
10517 | |
10518 * dMatrix.h (read_int): Provide declaration. | |
10519 | |
3688 | 10520 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
10521 | |
10522 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. | |
10523 (write_doubles): Ditto. | |
10524 * data-conv.h: Ditto. | |
10525 (enum save_type): New values, LS_U_LONG and LS_LONG. | |
10526 | |
3685 | 10527 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
10528 | |
10529 * boolMatrix.h: Declare MM_CMP_OPS here. | |
10530 * boolMatrix.cc: Define them here. | |
10531 | |
3680 | 10532 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
10533 | |
10534 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is | |
10535 previously undefined and set size of x to size of bool index. | |
10536 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): | |
10537 Allow z_len to be zero. | |
10538 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. | |
10539 If frozen, don't assert that frozen_at_z_len == z_len. | |
10540 | |
3670 | 10541 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
10542 | |
10543 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen | |
10544 instead of rl_clear_screen. | |
10545 | |
3665 | 10546 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
10547 | |
10548 * Array-d.cc: Instantiate ArrayN<double> here too. | |
10549 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. | |
10550 * Makefile.in: Add them to the appropriate lists. | |
10551 | |
3657 | 10552 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
10553 | |
10554 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. | |
10555 | |
3635 | 10556 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
10557 | |
10558 * lo-sysdep.h: octave_chdir returns int, not bool. | |
10559 | |
3615 | 10560 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
10561 | |
10562 * Makefile.in (liboctave.$(SHLEXT)): Delete target | |
10563 before rebuilding. | |
10564 | |
5095 | 10565 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
3615 | 10566 |
5261 | 10567 * Makefile.in (liboctave.$(LIBEXT)): New target. |
3615 | 10568 (libraries): Depend only on library targets, not archive members. |
10569 | |
3613 | 10570 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
10571 | |
10572 * Makefile.in: (objects): New target. | |
10573 | |
10574 * lo-cutils.c: New file. | |
10575 * Makefile.in (SOURCES): Add it to the list. | |
10576 * lo-utils.h: Declare octave_qsort here. | |
10577 * Array.h (Array::qsort): Use it here. | |
10578 | |
3607 | 10579 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
10580 | |
10581 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. | |
10582 | |
3598 | 10583 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
10584 | |
10585 * oct-rl-hist.c (octave_history_list): Do something when not | |
10586 printing line numbers. Fix reallocation of retval. | |
10587 | |
3597 | 10588 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
10589 | |
10590 * Makefile.in (install-inc): Install files in | |
10591 $(octincludedir)/octave. | |
10592 (uninstall): Remove them from the correct directory too. | |
10593 | |
10594 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if | |
10595 they are not already defined. | |
10596 | |
3588 | 10597 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
10598 | |
10599 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: | |
10600 Delete declarations and definitions of mixed-type vector-vector ops. | |
10601 | |
3585 | 10602 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
10603 | |
10604 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS | |
10605 matrix and vector objects. | |
10606 | |
10607 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to | |
10608 return type from second arg type. | |
10609 (MDM_BIN_OP): Likewise, for first arg type. | |
10610 | |
10611 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
10612 Matrix::fourier2d, Matrix::ifourier2d): Likewise. | |
10613 | |
10614 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly | |
10615 request ColumnVector to ComplexColumnVector, and Matrix to | |
10616 ComplexMatrix conversions. | |
10617 | |
10618 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its | |
10619 initial value using ComplexMatrix constructor. | |
10620 | |
10621 * CColVector.cc (product, quotient, | |
10622 operator * (const DiagMatrix&, const ComplexColumnVetor&)): | |
10623 Fix type of returned value. | |
10624 * CDiagMatrix.cc (ComplexDiagMatrix::row, | |
10625 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. | |
10626 | |
10627 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, | |
10628 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, | |
10629 dRowVector.h: Declare some constructors explicit, to disallow | |
10630 potentially problematic automatic type conversions. | |
10631 | |
3580 | 10632 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
10633 | |
3582 | 10634 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
10635 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: | |
10636 More new files. | |
10637 * Makefile.in: Add them to the appropriate lists. | |
10638 | |
10639 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, | |
10640 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, | |
10641 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, | |
10642 vx-s-crv.cc:, New files. | |
10643 * Makefile.in: Add them to the appropriate lists. | |
10644 | |
10645 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: | |
10646 Delete scalar by vector and vector by scalar binary ops. | |
10647 | |
3580 | 10648 * MArray-defs.h: More new macros to handle MDiagArray operators. |
10649 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. | |
10650 | |
3573 | 10651 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
10652 | |
3578 | 10653 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
10654 rl_event_hook before casting to void **. | |
10655 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. | |
10656 | |
3574 | 10657 * MArray-defs.h: Many new macros to make declaration and |
10658 definition of operators more consistent. | |
9967 | 10659 |
3574 | 10660 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, |
10661 CRowVector.h, dMatrix.h, CMatrix.h: Use them. | |
3573 | 10662 |
3569 | 10663 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
10664 | |
3572 | 10665 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
10666 (Matrix::ifourier2d): Likewise. | |
10667 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. | |
10668 (ComplexMatrix::ifourier2d): Likewise. | |
10669 | |
3569 | 10670 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
10671 | |
3504 | 10672 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
10673 | |
3519 | 10674 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
10675 readline library. | |
10676 * Makefile.in: Add them to the appropriate lists. | |
10677 | |
10678 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU | |
10679 readline history library. | |
10680 * Makefile.in: Add them to the appropriate lists. | |
10681 | |
3517 | 10682 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
10683 (LS_DO_READ): Likewise, for istream::read. | |
3518 | 10684 (write_doubles): Likewise. |
10685 (read_doubles): Likewise. | |
3517 | 10686 |
3516 | 10687 * oct-env.cc (octave_env::do_polite_directory_format): |
10688 Use operator== and substr method to do limited-length string | |
10689 comparison. | |
10690 | |
3513 | 10691 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512 | 10692 |
3511 | 10693 * Quad.h: Use do_integrate as name of pure virtual function. |
10694 | |
3508 | 10695 * base-de.h: Use tt instead of t as arg names. |
3511 | 10696 Add method with tcrit arg. |
10697 | |
3509 | 10698 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508 | 10699 |
3507 | 10700 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
10701 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. | |
10702 * Quad.cc (quad_fcn_ptr): Ditto. | |
10703 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. | |
10704 | |
3505 | 10705 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519 | 10706 * Makefile.in: Add them to the appropriate lists. |
3505 | 10707 |
10708 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. | |
3519 | 10709 * Makefile.in: Add them to the appropriate lists. |
3505 | 10710 |
3504 | 10711 * dMatrix.cc (write_int, read_int): No longer declared static. |
10712 | |
10713 * CDiagMatrix.h: Delete decls for friend operators that are | |
10714 handled by MDiagArray2 class. Move others outside class decl and | |
10715 strip friend status. | |
10716 * dDiagMatrix.h: Likewise. | |
10717 | |
10718 * MArray.h: Delete decls for friend operators inside class decl. | |
10719 * MArray2.h: Ditto. | |
10720 * MDiagArray2.h: Ditto. | |
10721 | |
10722 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all | |
10723 necessary parameters. Don't allocate memory in the macro. Change | |
10724 all uses. | |
10725 | |
10726 * dMatrix.h (class Matrix): Delete `friend class' decls. | |
10727 * CMatrix.h (class ComplexMatrix): Ditto. | |
10728 | |
10729 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, | |
10730 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, | |
10731 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to | |
10732 avoid type conflicts. Change all uses. | |
10733 | |
10734 * strptime.c (__mon_yday): Fix size of array decl. | |
10735 | |
10736 * mx-inlines.cc: Use `xnot' instead of `not' for function name. | |
10737 | |
10738 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous | |
10739 default value for second arg. | |
10740 | |
10741 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to | |
10742 references to ArrayRep. | |
10743 | |
3503 | 10744 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
10745 | |
3504 | 10746 * Array.h (Array::ArrayRep): Now protected, not private. |
3503 | 10747 |
10748 * All source files: Include iostream, fstream, strstream, | |
10749 etc. as needed instead of using forward declarations for these | |
3504 | 10750 classes. Add std:: qualifier as needed. |
3503 | 10751 |
3498 | 10752 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
10753 | |
10754 * oct-time.cc: Declare strptime extern "C". | |
10755 | |
3496 | 10756 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
10757 | |
10758 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. | |
10759 | |
3488 | 10760 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
10761 | |
3492 | 10762 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
10763 * Array3.h, Array3.cc: Use it in constructors and resize methods | |
10764 to get total size to be allocated. | |
10765 | |
3488 | 10766 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
10767 as bool, not int. | |
10768 | |
3482 | 10769 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
10770 | |
9967 | 10771 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): |
3482 | 10772 Allow A(idx) = RHS if idx is a boolean index with the same shape |
10773 as A, even when do_fortran_indexing is not enabled. | |
10774 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). | |
10775 | |
3473 | 10776 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
10777 | |
3480 | 10778 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
10779 function pointer as final arg. Passed function (if any) will be | |
10780 called for singularity errors. | |
10781 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. | |
10782 | |
10783 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. | |
10784 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
10785 | |
3475 | 10786 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
10787 No longer bother with infinity or quiet_nan. | |
10788 | |
3473 | 10789 * Array2.cc (Array2<T>::get_size): New function. |
10790 (Array2<T>::Array2, Array2<T>::resize): Use it. | |
10791 | |
3472 | 10792 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
10793 | |
10794 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): | |
10795 New function. | |
10796 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
10797 Use it when indexing with one arg instead of faking a second one. | |
10798 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): | |
10799 Return empty matrices with the correct dimensions for A(:,:) = [] | |
10800 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all | |
10801 rows or columns. | |
10802 | |
10803 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool | |
10804 vector that is all true values with a length equal to n as colon | |
10805 equivalent. | |
10806 | |
3470 | 10807 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
10808 | |
10809 * strptime.c: Only include langinfo.h if _LIBC is defined. | |
10810 | |
5095 | 10811 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468 | 10812 |
10813 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling | |
10814 operations directly in step 2 and reverse step 2. | |
10815 * dMatrix.cc (Matrix::expm): Apply permutation and scaling | |
10816 operations directly in step 2 and reverse step 2. | |
10817 | |
3465 | 10818 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
10819 | |
10820 * oct-time.h, oct-time.cc (octave_strptime): New class. | |
10821 | |
10822 * strptime.c: New file, from glibc 2.1.2. | |
10823 * Makefile.in (SOURCES): Add strptime.c to the list. | |
10824 | |
3419 | 10825 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
10826 | |
10827 * MArray.h (MArray <const Array<T>&)): New constructor. | |
10828 | |
3415 | 10829 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
10830 | |
10831 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing | |
10832 NULL directory list returned from kpse_element_dirs | |
10833 | |
3375 | 10834 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
10835 | |
10836 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. | |
10837 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF | |
10838 directly, instead of calling ZGESV. | |
10839 | |
3358 | 10840 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
10841 | |
10842 * data-conv.cc (init_sized_type_lookup_table): New function. | |
10843 (string_to_data_type): Use it to improve lookup of data types. | |
10844 | |
3354 | 10845 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
10846 | |
10847 * dMatrix.cc (is_symmetric): Move here from Array2.cc. | |
10848 * Array2.h (is_symmetric): Delete declaration. | |
10849 | |
3347 | 10850 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
10851 | |
10852 * oct-env.cc (do_get_user_name): Reverse sense of test. | |
10853 | |
3344 | 10854 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
10855 | |
10856 * oct-time.cc (Fstrftime): Undo previous change. | |
10857 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
10858 | |
3334 | 10859 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
10860 | |
3336 | 10861 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
10862 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. | |
10863 | |
3334 | 10864 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
10865 Don't forget to pass length of third string argument to dgeesx. | |
10866 | |
10867 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length | |
10868 of third string argument to zgeesx. | |
10869 | |
3333 | 10870 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
10871 | |
10872 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): | |
10873 On errors, simply return `T ()'. | |
10874 (DiagArray2<T>::checkelem (int, int)): Likewise. | |
10875 | |
5095 | 10876 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3331 | 10877 |
10878 * dMatrix.cc (Matrix::expm): Do balancing here instead of using | |
10879 AEPBALANCE class. | |
10880 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
10881 | |
3325 | 10882 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
10883 | |
10884 * oct-shlib.cc, oct-shlib.h: New files. | |
10885 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
10886 | |
3322 | 10887 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
10888 | |
10889 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. | |
10890 * dRowVector.cc (linspace): Ditto. | |
10891 | |
10892 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. | |
10893 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
10894 | |
3312 | 10895 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
10896 | |
10897 * DASSL.cc (DASSL::do_integrate (double)): If we have a function | |
10898 to evaluate the Jacobian, set info(4), not iwork(4). | |
10899 Set rwork(1) to the maximum step size, not rwork(2). | |
10900 | |
3290 | 10901 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
10902 | |
10903 * oct-time.cc: Include <climits>. | |
10904 | |
3281 | 10905 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
10906 | |
10907 * cmd-edit.h (command_editor::do_resize_terminal): New function. | |
10908 * cmd-edit.cc (command_editor::resize_terminal): New function. | |
10909 (gnu_readline::do_resize_terminal): New function. | |
10910 | |
3268 | 10911 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
10912 | |
10913 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. | |
10914 * lo-ieee.c: Likewise. | |
10915 Delete extern "C" declarations for infinity and quiet_nan. | |
10916 | |
3262 | 10917 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
10918 | |
3263 | 10919 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
10920 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions | |
10921 `inline', not `static inline'. | |
10922 | |
3262 | 10923 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
10924 then cast to const int * to compare. | |
10925 | |
3257 | 10926 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
10927 | |
10928 * DAEFunc.h: Remove useless preprocessor conditional. | |
10929 | |
3255 | 10930 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
10931 | |
3257 | 10932 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
10933 Use octave_time object instead of time_t. | |
10934 | |
10935 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, | |
10936 file_stat::fs_ctime): Now octave_time objects. | |
10937 (file_stat::atime, file_stat::mtime, file_stat::ctime): | |
10938 Return octave_time objects. | |
10939 (file_stat::is_newer): Args are now octave_time objects instead of | |
10940 time_t. | |
10941 | |
3255 | 10942 * oct-time.h (octave_time::as_double): Delete. |
10943 (octave_time::operator double ()): New function. | |
10944 (octave_time::operator time_t ()): New function. | |
10945 (octave_time::ctime): New function. | |
10946 (octave_base_tm::strftime): Renamed from format_as_string. | |
10947 (octave_base_tm::asctime): New function. | |
10948 (operator == (const octave_time&, const octave_time&), | |
10949 operator != (const octave_time&, const octave_time&), | |
10950 operator < (const octave_time&, const octave_time&), | |
10951 operator <= (const octave_time&, const octave_time&), | |
10952 operator > (const octave_time&, const octave_time&), | |
10953 operator >= (const octave_time&, const octave_time&)): | |
10954 New comparison functions. | |
10955 | |
10956 * strftime.c: Move here from src directory. | |
10957 * Makefile.in (SOURCES): Add it to the list. | |
10958 | |
10959 * oct-time.h (octave_time::octave_time (time_t)): New constructor. | |
10960 | |
3253 | 10961 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
10962 | |
10963 * oct-time.h, oct-time.cc: New files. | |
10964 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
10965 | |
10966 * systime.h: Move here from src directory. | |
10967 * Makefile.in (INCLUDES): Add it to the list. | |
10968 | |
3248 | 10969 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
10970 | |
10971 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. | |
10972 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. | |
10973 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. | |
10974 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. | |
10975 | |
10976 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. | |
10977 | |
3243 | 10978 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
10979 | |
10980 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. | |
10981 | |
10982 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10983 | |
10984 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a | |
10985 column vector for A(:), for compatibility with Matlab. | |
10986 | |
10987 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10988 | |
10989 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set | |
10990 iopt when there are optional inputs in rwork or iwork. | |
10991 | |
3238 | 10992 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
10993 | |
10994 * Makefile.in (libraries): Use the libfoo.a(objects) method of | |
10995 creating static libs. | |
10996 | |
5095 | 10997 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
3238 | 10998 |
10999 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 | |
11000 and uint32 data types. | |
11001 | |
11002 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11003 | |
11004 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code | |
11005 for Linux. Remove old Linux-specific code. | |
11006 | |
3233 | 11007 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
11008 | |
11009 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): | |
11010 Don't require lengths to be equal. | |
11011 * CMatrix.cc (operator * (const ComplexColumnVector& v, const | |
11012 ComplexRowVector& a)): Likewise | |
11013 | |
5095 | 11014 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
3225 | 11015 |
11016 * statdefs.h: Only define mode_t if not already defined. | |
11017 | |
5095 | 11018 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
3225 | 11019 |
11020 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero | |
11021 when appropriate. | |
11022 | |
11023 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11024 | |
11025 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name | |
11026 before calling rl_initialize. | |
11027 | |
3220 | 11028 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
11029 | |
11030 * lo-specfun.cc (besselh, airy, biry): New functions. | |
11031 Update Bessel function support to use library by D. E. Amos. | |
11032 | |
3219 | 11033 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
11034 | |
11035 * cmd-edit.h (command_editor::readline): Add new variation that | |
11036 allows EOF information to be passed back to caller. | |
11037 | |
11038 * dMatrix.cc (Matrix::read): Do the right thing for EOF when | |
11039 amount of data to read is unspecified. | |
11040 | |
3215 | 11041 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
11042 | |
3219 | 11043 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
11044 (DEFINE_OCTAVE_ALLOCATOR): Ditto. | |
11045 | |
9967 | 11046 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
3215 | 11047 Add volatile qualifier to void* arg. |
11048 Cast volatile void* arg to volatile char*. | |
11049 | |
11050 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11051 | |
11052 * cmd-edit.h (command_editor::do_set_event_hook): New function. | |
11053 (command_editor::do_restore_event_hook): Ditto. | |
11054 * cmd-edit.cc (command_editor::set_event_hook): Ditto. | |
11055 (command_editor::restore_event_hook): Ditto. | |
11056 (gnu_readline::do_set_event_hook): Ditto. | |
11057 (gnu_readline::do_restore_event_hook): Ditto. | |
11058 (gnu_readline::previous_event_hook): New data member. | |
11059 (gnu_readline::gnu_readline): Initialize previous_event_hook. | |
11060 | |
3206 | 11061 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
11062 | |
11063 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. | |
11064 | |
11065 * Makefile.in (stmp-pic): New target. | |
11066 ($(PICOBJ)): Depend on stmp-pic, not pic. | |
11067 (clean): Remove stmp-pic | |
11068 | |
11069 * Makefile.in: Undo previous change to avoid optmization when | |
11070 compiling lo-ieee.cc. | |
11071 | |
11072 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11073 | |
11074 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and | |
11075 imaginary parts. | |
11076 (xisinf): Define in terms of xisinf for real and imaginary parts. | |
11077 | |
3203 | 11078 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
11079 | |
11080 * boolMatrix.cc (boolMatrix::operator !): New function. | |
11081 | |
3196 | 11082 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
11083 | |
11084 * pathsearch.h (dir_path::default_path): New data member. | |
11085 * pathsearch.cc (dir_path::init): Use it. | |
11086 | |
11087 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. | |
11088 | |
3189 | 11089 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
11090 | |
11091 * chMatrix.cc (charMatrix::extract): New function. | |
11092 (charMatrix::charMatrix (char c)): New constructor. | |
11093 | |
11094 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11095 | |
11096 * cmd-edit.h: (command_editor::do_read_init_file): New function. | |
11097 * cmd-edit.cc (command_editor::read_init_file): New function. | |
11098 (gnu_readline::do_read_init_file): Likewise. | |
11099 | |
3185 | 11100 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
11101 | |
9967 | 11102 * oct-env.cc (octave_env::do_get_home_directory): |
3185 | 11103 If HOME can't be found, set it to "/". |
11104 (octave_env::do_get_user_name) | |
11105 If user name can't be found, set it to "unknown". | |
11106 (octave_env::do_get_host_name) | |
11107 If host name can't be found, set it to "unknown". | |
11108 | |
11109 * pathsearch.h (dir_path::rehash): New function. | |
11110 * pathsearch.cc (dir_path::init): Clear kpathsea's internal | |
11111 diretcory cache before doing initialization. | |
11112 | |
3180 | 11113 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
11114 | |
3185 | 11115 * dMatrix.cc (Qzval): Delete. |
11116 (qzhes, qzit, qzval): Delete F77_FCN declarations. | |
11117 * dMatrix.h (Qzval): Delete declaration. | |
11118 | |
11119 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. | |
11120 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. | |
11121 * mx-ext.h: Don't include dbleGEPBAL. | |
11122 | |
3180 | 11123 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
11124 static_cast. | |
11125 | |
11126 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11127 | |
11128 * dMatrix.cc (Matrix::read): Skip after reading, not before. | |
11129 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. | |
11130 | |
11131 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11132 | |
11133 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on | |
11134 HUGE_VAL and NAN. | |
11135 | |
11136 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11137 | |
11138 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
11139 Handle x(i) = scalar for do_fortran_indexing == 1. | |
11140 | |
11141 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11142 | |
11143 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): | |
11144 Alloctate space before attempting to use it. | |
11145 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. | |
11146 | |
5095 | 11147 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
3178 | 11148 |
11149 * EIG.cc (EIG::init): Move invariant code outside loop. | |
11150 | |
11151 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11152 | |
11153 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result | |
11154 have the same size as the operands. | |
9967 | 11155 |
3178 | 11156 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
11157 | |
11158 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the | |
11159 call to ddassl, set integration_error to 1 before calling the | |
11160 error handler and returning. | |
11161 * LSODE.cc (LSODE::do_integrate): Likewise. | |
11162 | |
3177 | 11163 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
11164 | |
11165 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if | |
11166 do_fortran_indexing is set, A([]) = scalar. | |
11167 * Array-idx.h (assign): Allow A([]) = scalar. | |
11168 | |
3176 | 11169 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
11170 | |
11171 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not | |
11172 if dm_nc == 0. | |
11173 | |
3174 | 11174 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
11175 | |
11176 * pathsearch.h (dir_path::p_orig): New field. | |
11177 * pathsearch.cc (dir_path::init): Perform variable and tilde | |
11178 expansion on the original path here. | |
11179 (dir_path::find_all): Don't do anything if not initialized. | |
11180 | |
3164 | 11181 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
11182 | |
11183 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing | |
11184 is not set. | |
11185 (index): Allow x = zeros (2, 0); x(1,:) to work. | |
11186 | |
11187 * lo-specfun.cc (gammainc): Use dgamit to compute | |
11188 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just | |
11189 \int_0^x exp(-t) t^(a-1) dt. | |
11190 | |
11191 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11192 | |
11193 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, | |
11194 Array-s.cc: Change return types of all `assign' explicit | |
11195 instantiations to be int, not void, to match the template decl in | |
11196 Array.h. | |
11197 | |
3162 | 11198 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
11199 | |
11200 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. | |
11201 | |
3156 | 11202 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
11203 | |
11204 * lo-specfun.cc (xgamma, xlgamma): Define here. | |
11205 * lo-mappers.cc: Not here. | |
11206 | |
11207 * lo-specfun.h: Declare xgamma and xlgamma here. | |
11208 * lo-mappers.h: Not here. | |
11209 | |
11210 * lo-specfun.h: Never declare gamma or lgamma. | |
11211 | |
3154 | 11212 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
11213 | |
11214 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an | |
11215 empty matrix of any dimension. | |
11216 | |
3145 | 11217 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
11218 | |
3147 | 11219 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
11220 | |
3146 | 11221 * lo-specfun.cc: Don't include dbleBessel.h. |
11222 | |
11223 * Makefile.in (INCLUDES): Delete oct-math.h from the list. | |
11224 | |
3145 | 11225 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
11226 * file-stat.h (file_stat::operator bool ()): Likewise. | |
11227 * idx-vector.h (idx_vector::operator bool ()): Likewise. | |
11228 * oct-group.h (octave_group::operator bool ()): Likewise. | |
11229 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. | |
11230 | |
11231 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): | |
11232 Don't cast arg in call to swap_8_bytes. | |
11233 (IEEE_big_double_to_IEEE_little_double): Ditto | |
11234 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to | |
11235 swap_4_bytes. | |
11236 (IEEE_little_float_to_IEEE_big_float): Ditto | |
11237 | |
11238 * oct-alloc.cc (grow): Use X_CAST, not static_cast. | |
11239 * prog-args.cc (prog_args::getopt): Likewise. | |
11240 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. | |
11241 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. | |
11242 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): | |
11243 Likewise. | |
11244 | |
11245 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, | |
11246 swap_8_bytes): Declare ptr arg as void*, then use cast. | |
11247 | |
3141 | 11248 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
11249 | |
11250 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). | |
11251 Use $(mk-libdir-link). | |
11252 | |
11253 * file-stat.cc (file_stat::update_internal): Use stat and lstat, | |
11254 not SAFE_STAT and SAFE_LSTAT. | |
11255 (lstat): New function, defined if HAVE_LSTAT is not defined. | |
11256 * safe-xstat.hin, safe-xstat.cin: Delete. | |
11257 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, | |
11258 safe-lstat.h, and safe-lstat.cc. | |
11259 | |
3136 | 11260 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
11261 | |
11262 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. | |
11263 | |
3130 | 11264 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
11265 | |
11266 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the | |
9967 | 11267 trace is negative. |
3130 | 11268 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if |
11269 the real part of the trace is negative. | |
11270 | |
11271 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11272 | |
11273 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. | |
11274 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. | |
11275 | |
11276 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] | |
11277 to succeed. | |
11278 | |
3125 | 11279 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11280 | |
11281 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. | |
11282 (make_uniq): Likewise. | |
11283 | |
11284 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11285 | |
11286 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. | |
11287 | |
3119 | 11288 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11289 | |
3121 | 11290 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
11291 | |
11292 * lo-specfun.h, lo-specfun.cc: New files. | |
3119 | 11293 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
11294 | |
3121 | 11295 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
11296 oct-math.h: Delete. | |
11297 * Makefile.in (SOURCES): Delete them from the list. | |
11298 | |
3112 | 11299 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11300 | |
11301 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. | |
11302 | |
5095 | 11303 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
3107 | 11304 |
11305 Changes to make support egcs snapshots that implement explicit | |
11306 specification of template functions according to CD2. | |
11307 | |
11308 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit | |
11309 template function specs for template friends. | |
11310 * MArray2.h: Likewise. | |
11311 * MDiagArray2.h: Likewise. | |
11312 | |
3095 | 11313 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11314 | |
11315 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) | |
11316 | |
3092 | 11317 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
11318 | |
9967 | 11319 * CRowVector.cc (linspace): Removed attempt for implicit conversion |
3092 | 11320 to complex<double>(int) instead of complex<double>(double). |
11321 | |
11322 * lo-mappers.cc (atanh): Ditto. | |
11323 | |
3079 | 11324 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11325 | |
11326 * idx-vector.cc (IDX_VEC_REP::sort): New function. | |
11327 * idx-vector.h (idx_vector::sort): Ditto. | |
11328 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before | |
11329 trying to delete elements specified by the index vectors. | |
11330 | |
3075 | 11331 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11332 | |
11333 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. | |
11334 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. | |
11335 | |
3074 | 11336 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11337 | |
11338 * file-ops.cc (tilde_expand_word): Fix off-by-one error. | |
11339 | |
3069 | 11340 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11341 | |
11342 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. | |
11343 Call error handler if we can't find the current directory. | |
11344 | |
3068 | 11345 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11346 | |
3069 | 11347 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
11348 (xfinite (double)): Ditto. | |
11349 | |
3068 | 11350 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
11351 * CmplxQR.cc (ComplexQR::init): Ditto. | |
11352 | |
3056 | 11353 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11354 | |
11355 * lo-mappers.cc (acos (const Complex&)): Select branch that is | |
11356 compatible with Matlab. | |
11357 | |
3050 | 11358 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11359 | |
11360 * Array2-idx.h: Correctly handle empty matrices indexed by a | |
11361 single colon. | |
11362 | |
3040 | 11363 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11364 | |
3049 | 11365 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
11366 (xgamma): Likewise, for calling xdgamma. | |
11367 | |
3042 | 11368 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
11369 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. | |
11370 | |
3040 | 11371 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
11372 to do better job expanding tildes. | |
11373 | |
11374 * str-vec.cc (string_vector::string_vector (const char * const *): | |
11375 Use temporary variable to compute length. | |
11376 | |
3029 | 11377 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11378 | |
3034 | 11379 * Makefile.in: Make building of static library optional. |
3036 | 11380 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034 | 11381 |
3029 | 11382 * Makefile.in (stamp-picdir): Delete. |
11383 (pic): New target. Don't worry so much about creating pic | |
11384 directory only when it is really needed. | |
11385 (stamp-interp): Delete. | |
11386 (libraries): New target. Depend on shared library directly. | |
11387 | |
3024 | 11388 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11389 | |
11390 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): | |
11391 New static function. | |
11392 | |
3012 | 11393 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11394 | |
11395 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. | |
11396 | |
3004 | 11397 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11398 | |
11399 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to | |
11400 set_basic_quote_characters, to match new version of readline. | |
11401 | |
11402 * cmd-edit.cc (do_restore_terminal_state): Call readline function | |
11403 for restoring terminal state through rl_deprep_term_function, now | |
11404 declared in readline.h | |
11405 (rl_deprep_terminal): Delete declaration. | |
11406 | |
2993 | 11407 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11408 | |
11409 * Makefile.in (install-in): Use new mk-includedir-link macro. | |
11410 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. | |
11411 | |
2968 | 11412 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11413 | |
11414 * cmd-edit.cc (command_editor::increment_current_command_number): | |
11415 New static function. | |
11416 | |
2964 | 11417 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11418 | |
2966 | 11419 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
11420 the vector is not sorted. | |
11421 | |
2964 | 11422 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
11423 * dMatrix.cc (Matrix::operator !): Likewise | |
11424 | |
2941 | 11425 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11426 | |
11427 * oct-syscalls.h, oct-syscalls.cc: New files. | |
11428 | |
11429 * cmd-edit.h, cmd-edit.cc: Handle completion function. | |
11430 | |
11431 * str-vec.h, str-vec.cc (string_vector::uniq): New function. | |
11432 | |
2938 | 11433 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11434 | |
2941 | 11435 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
11436 (install-inc): Use it. | |
11437 | |
2938 | 11438 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
11439 Handle errors and missing functions consistently. | |
11440 | |
11441 * oct-group.h, oct-group.cc: New files. | |
11442 | |
11443 * oct-passwd.cc: Handle errors and missing functions consistently. | |
11444 | |
11445 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. | |
11446 | |
2934 | 11447 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11448 | |
11449 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. | |
11450 * oct-env.cc (octave_env::do_get_user_name): Likewise. | |
11451 | |
11452 * oct-passwd.h, oct-passwd.cc: New files. | |
11453 | |
2926 | 11454 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11455 | |
11456 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. | |
11457 | |
11458 * mach-info.h, mach-info.cc: Add missing const qualifiers. | |
11459 (instance_ok ()): New function. | |
11460 | |
11461 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. | |
11462 | |
11463 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. | |
11464 | |
11465 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from | |
11466 src/utils.h and src/utils.cc. | |
11467 (octave_fgets): New function, extracted from src/input.cc. | |
11468 | |
11469 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for | |
11470 GNU readline, and allow Octave to work without GNU readline. | |
11471 | |
11472 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous | |
11473 system-dependent functions. | |
11474 | |
11475 * oct-env.h, oct-env.cc: New files for process environment stuff. | |
11476 | |
11477 * file-stat.h, file-stat.cc: New files. Extract file_stat class | |
11478 from file-ops.h and file-ops.cc and move here. | |
11479 | |
11480 * file-ops.h, file-ops.cc: Wrap functions in struct. Move | |
11481 tilde_expand functions here from src/dirfns.cc. | |
11482 | |
11483 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11484 | |
11485 * pathlen.h: New file, from ../src. | |
11486 | |
2917 | 11487 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11488 | |
11489 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent | |
11490 out-of-bounds indexing of the index array. | |
11491 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. | |
11492 | |
2850 | 11493 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11494 | |
11495 * LSODE.h (x_step_limit): New field. | |
11496 (LSODE_options::init): Initialize it. | |
11497 (LSODE_options::copy): Copy it. | |
11498 (LSODE_options::set_step_limit, LSODE_options::step_limit): | |
11499 New functions. | |
11500 (LSODE::working_too_hard): Delete. | |
11501 * LSODE.cc (LSODE::do_integrate): Handle step limit. | |
11502 | |
2844 | 11503 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11504 | |
11505 * MArray-b.cc: Delete. | |
11506 * Makefile.in: Delete it from the lists. | |
11507 | |
11508 * boolMatrix.h (class bboolMatrix): Derive from Array2, not | |
11509 MArray2, since most of the numeric ops don't really make sense. | |
11510 | |
2829 | 11511 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11512 | |
2832 | 11513 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
11514 | |
11515 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. | |
11516 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. | |
11517 | |
2830 | 11518 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
11519 idx_vector::freeze): Delete prefer_zero_one arg. | |
11520 * Array-idx.h, Array2-idx.h: Change all callers. | |
11521 | |
11522 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. | |
11523 | |
2829 | 11524 * mx-op-defs.h: New file for operator definitions. |
11525 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, | |
11526 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, | |
11527 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, | |
11528 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, | |
11529 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, | |
11530 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, | |
11531 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, | |
11532 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, | |
11533 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, | |
11534 mx-s-cm.cc, mx-s-dm.cc: | |
11535 New files for mixed-type operations. | |
11536 * Makefiles.in: Add them to the appropriate lists. | |
11537 | |
11538 * mx-inlines.cc: Add bool by bool EQ ops. | |
11539 | |
11540 * idx-vector.h, idx-vector.cc: Add constructors for bool and | |
11541 boolMatrix types. | |
11542 (idx_vector::maybe_convert_one_zero_to_idx, | |
11543 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): | |
11544 Delete second arg, prefer_zero_one. Change all callers. | |
11545 | |
11546 * boolMatrix.h, boolMatrix.cc: New files. | |
11547 * mx-base.h: Include boolMatrix.h here. | |
11548 * mx-defs.h: Provide forward declaration for boolMatrix here. | |
11549 | |
11550 * chMatrix.h, chMatrix.cc: Delete unused junk. | |
11551 | |
11552 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, | |
11553 operator-, operator*, product, and quotient functions. | |
11554 Add constructor for boolMatrix type. | |
11555 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, | |
11556 product, and quotient functions. | |
11557 | |
11558 * CDiagMatrix.h: Delete friend declarations for operator+, | |
11559 operator-, and product functions. | |
11560 * CDiagMatrix.h: Delete operator+, operator-, and product functions. | |
11561 | |
11562 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. | |
11563 | |
2815 | 11564 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11565 | |
11566 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. | |
11567 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. | |
11568 (EIG::symmetric_init (const Matrix&)): New function. | |
11569 (EIG::init (const Matrix&)): Call it if arg is symmetric. | |
11570 | |
11571 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. | |
11572 | |
11573 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11574 | |
11575 * Array2.cc (is_symmetric): New function. | |
11576 * Array2.h (is_square): New function. | |
11577 | |
2811 | 11578 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11579 | |
11580 * Makefile.in (install-strip): New target. | |
11581 | |
2804 | 11582 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11583 | |
11584 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
11585 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, | |
11586 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
11587 dbleSVD.cc: Don't include mx-inlines.cc. | |
11588 | |
11589 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of | |
11590 duplicate code. | |
11591 | |
2800 | 11592 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11593 | |
2804 | 11594 * dbleQR.h (QR): Delete extra comma at end of list. |
11595 | |
11596 * prog-args.cc (prog_args::getopt): Add missing const in cast. | |
11597 | |
11598 * dbleSVD.h (SVD::type): Delete extra comma at end of list. | |
11599 | |
11600 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and | |
11601 idx_vecotr_rep:: qualifiers. | |
11602 | |
11603 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. | |
11604 | |
11605 * data-conv.h (save_type): Delete extra comma at end of list. | |
11606 | |
2800 | 11607 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
11608 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, | |
11609 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of | |
11610 old C-style `(T) val' casts. | |
11611 | |
2795 | 11612 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11613 | |
11614 * dMatrix.cc (operator >>): Return if an error occurs instead of | |
11615 just breaking out of the innermost loop. | |
11616 * CMatrix.cc (operator >>): Likewise. | |
11617 | |
2779 | 11618 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775 | 11619 |
11620 * Version 2.0.5 released. | |
11621 | |
2767 | 11622 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11623 | |
11624 * CmplxQR.cc (ComplexQR::init): New function. | |
11625 (ComplexQR::ComplexQR): Use it. Use initializer list too. | |
11626 * CmplxQRP.cc (ComplexQRP::init): New function. | |
11627 Get sizes right in all cases. | |
11628 (ComplexQR::ComplexQRP): Use it. Use initializer list too. | |
11629 | |
11630 * dbleQR.cc (QR::init): New function. | |
11631 (QR::QR): Use it. Use initializer list too. | |
11632 * dbleQRP.cc (QRP::init): New function. | |
11633 Get sizes right in all cases. | |
11634 (QR::QRP): Use it. Use initializer list too. | |
11635 | |
2759 | 11636 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11637 | |
11638 * mach-info.cc (oct_mach_info::string_to_float_format): | |
11639 Recognize "vaxg", not "vax_g". | |
11640 | |
2713 | 11641 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11642 | |
2714 | 11643 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
11644 dimension in check for colon equivalent index. | |
11645 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element | |
11646 index whose value is 0 is also colon eqivalent for n == 1. | |
11647 | |
2713 | 11648 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
11649 system-specific tests first. | |
11650 | |
2709 | 11651 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702 | 11652 |
11653 * Version 2.0.4 released. | |
11654 | |
11655 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11656 | |
11657 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. | |
11658 | |
2693 | 11659 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690 | 11660 |
11661 * Version 2.0.3 released. | |
11662 | |
2686 | 11663 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11664 | |
11665 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. | |
11666 | |
2673 | 11667 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11668 | |
2676 | 11669 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
11670 (all): Don't depend on stamp-prereq or stamp-picdir. | |
11671 (liboctave.a, stamp-shared): Do depend on stamp-prereq. | |
11672 (stamp-picdir): Silence noise about making pic. | |
11673 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. | |
11674 | |
2673 | 11675 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
9967 | 11676 Fix typo in last change. |
2673 | 11677 |
11678 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): | |
11679 Convert from friend (moved from dColVector.cc). | |
11680 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): | |
11681 Likewise (moved from dMatrix.cc). | |
11682 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): | |
11683 Likewise (moved from dRowVector.cc). | |
11684 | |
11685 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. | |
11686 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. | |
11687 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. | |
11688 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. | |
11689 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. | |
11690 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. | |
11691 | |
11692 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. | |
11693 * dMatrix.cc (Matrix::apply): Likewise. | |
11694 * dRowVector.cc (RowVector::apply): Likewise. | |
11695 * CColVector.cc (ComplexColumnVector::apply): Likewise. | |
11696 * CMatrix.cc (ComplexMatrix::apply): Likewise. | |
11697 * CRowVector.cc (ComplexRowVector::apply): Likewise. | |
11698 | |
2668 | 11699 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11700 | |
11701 * lo-ieee.cc: Declare quiet_nan() and infinity(). | |
11702 | |
11703 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11704 | |
11705 * file-ops.cc (oct_unlink (const string&, string&)): | |
11706 New two-arg version. | |
11707 (oct_rmdir (const string&, string&)): New two-arg version. | |
11708 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. | |
11709 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. | |
11710 (oct_rename (const string&, const string&, string&)): | |
11711 New three-arg version. | |
11712 | |
2663 | 11713 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11714 | |
11715 * idx-vector.h (idx_vector::orig_empty): New function. | |
11716 | |
11717 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): | |
11718 Don't always resize to [](0x0) if one of the indices is empty or | |
11719 zero. | |
11720 | |
2658 | 11721 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11722 | |
11723 * cmd-hist.cc (command_history::read): New arg, must_exist. | |
11724 Set line_in_file here too. | |
11725 (command_history::read_range): New arg, must_exist. | |
11726 | |
2651 | 11727 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11728 | |
11729 * f2c-main.c: Change C++-style comments to C-style comments. | |
11730 | |
2638 | 11731 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11732 | |
11733 * Makefile.in (install-inc): Create a relative symbolic link. | |
11734 | |
2634 | 11735 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11736 | |
11737 * Version 2.0.2 released. | |
11738 | |
2624 | 11739 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11740 | |
11741 * Makefile.in (bin-dist): New target. | |
11742 | |
2621 | 11743 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11744 | |
11745 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. | |
11746 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. | |
11747 | |
2613 | 11748 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11749 | |
11750 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
11751 If the number of columns is zero, also set the number of rows to zero. | |
11752 (charMatrix::charMatrix (const char *)): Likewise. | |
11753 | |
2602 | 11754 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11755 | |
11756 * Version 2.0.1 released. | |
11757 | |
2601 | 11758 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
11759 | |
11760 * dMatrix.cc (Matrix::read): Correctly compute the number of | |
11761 columns for resizing when the number of rows is specified but the | |
11762 number of columns is not. | |
11763 | |
2598 | 11764 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11765 | |
2599 | 11766 * Range.cc (operator -): New function. |
11767 | |
2598 | 11768 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
11769 | |
2589 | 11770 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11771 | |
11772 * Array2-idx.h (assign): Delay resizing left hand side until we | |
11773 know if the assignment conforms. | |
11774 | |
2583 | 11775 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11776 | |
11777 * Version 2.0 released. | |
11778 | |
2570 | 11779 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11780 | |
2575 | 11781 * Array2-idx.h (assign): If index is a colon, set number of |
11782 elements to the lhs dimension if the lhs dimension is greater than | |
11783 zero. Otherwise, set it to the rhs dimension. | |
11784 | |
11785 * Version 1.94. | |
11786 | |
2570 | 11787 * Array2-idx.h (assign): Test for rhs scalar case first. |
11788 If index is colon, set number of elements to lhs dimension, not | |
11789 rhs dimension. | |
11790 | |
2563 | 11791 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11792 | |
2566 | 11793 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
11794 * sun-utils.cc: Delete. | |
11795 * f2c-main.c: New file | |
11796 | |
11797 * Makefile.in: Fix file name lists. | |
11798 | |
2563 | 11799 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
11800 | |
2561 | 11801 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11802 | |
11803 * dMatrix.cc (Qzval): Don't try to use same memory three times. | |
11804 Create result using Complex constructor, not multiplication. | |
11805 Order elements as they are returned from Eispack. | |
11806 | |
2559 | 11807 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11808 | |
2560 | 11809 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
11810 Only include nan.h if SCO is defined. Define _IEEE before | |
11811 including it and undefine it afterward. | |
11812 [SCO] (isnan): Don't mistake Inf as NaN. | |
11813 | |
2559 | 11814 * Array-idx.h (assign): Only resize if assignment conforms. |
11815 | |
2551 | 11816 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11817 | |
11818 * Makefile.in (INCLUDES): Delete lo-error.h. | |
11819 * lo-error.h: Delete (moved to libcruft/misc). | |
11820 | |
11821 * Version 1.93. | |
11822 | |
2546 | 11823 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11824 | |
2549 | 11825 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
11826 be the same as they are in fnmatch.h. | |
11827 | |
2546 | 11828 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
11829 | |
11830 * Makefile.in (INCLUDES): Delete f77-fcn.h. | |
11831 (SOURCES): Delete f77-fcn.c. | |
11832 | |
2522 | 11833 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11834 | |
11835 * lo-ieee.h: [SCO]: Declare isinf and isnan. | |
11836 | |
2512 | 11837 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11838 | |
11839 * Version 1.92. | |
11840 | |
2508 | 11841 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11842 | |
2512 | 11843 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
11844 lines that have only carriage return or newline. | |
11845 | |
2508 | 11846 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
11847 | |
2500 | 11848 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11849 | |
11850 * idx-vector.cc (idx_is_inf_or_nan): New function. | |
11851 (IDX_VEC_REP::idx_vector_rep): Use it. | |
11852 | |
2493 | 11853 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11854 | |
11855 * str-vec.h, str-vec.cc: Add constructors to make string vectors | |
11856 from vectors of C strings. | |
11857 | |
11858 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string | |
11859 vector. | |
11860 (glob_match::match): Allow match string to be a string vector. | |
11861 (glob_match::glob): New function. | |
11862 | |
11863 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. | |
11864 | |
11865 * Array-b.cc: New file. | |
11866 * Makefile.in (TI_SRC): Add it to the list. | |
11867 | |
2492 | 11868 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11869 | |
11870 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h | |
11871 and safe-stat.h, to avoid getting them from $srcdir when we really | |
11872 want the version from the build directory. (Maybe this should be | |
11873 done for all the include files, not just those that are | |
11874 auto-generated? Hmm.) | |
11875 | |
2481 | 11876 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11877 | |
2482 | 11878 * Version 1.91. |
11879 | |
2481 | 11880 * Array3.cc (Array3<T>::resize): Make it work. |
11881 | |
11882 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11883 | |
11884 * oct-alloc.h, oct-alloc.cc: New files. | |
11885 * Makefile.in: Add them to the lists. | |
11886 | |
11887 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11888 | |
11889 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. | |
11890 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. | |
11891 | |
2466 | 11892 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11893 | |
11894 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, | |
11895 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
11896 file_stat::is_reg, file_stat::is_sock): Just return false if the | |
9967 | 11897 underlying macro is not defined. |
2466 | 11898 |
11899 * oct-math.h (lgamma, gamma): Delete declarations. | |
11900 (asinh, acosh, atanh, erf, erfc): Declare arg types too. | |
11901 Protect declarations with #ifdef HAVE_*. | |
11902 | |
2440 | 11903 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11904 | |
2452 | 11905 * Version 1.90. |
11906 | |
11907 * Makefile.in (DISTFILES): Add ChangeLog. | |
11908 | |
2444 | 11909 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
11910 | |
11911 * Matrix-ext.cc: Include <cfloat>, not <float.h>. | |
11912 | |
2443 | 11913 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444 | 11914 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
11915 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. | |
2443 | 11916 |
2440 | 11917 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
11918 since that is now accepatble syntax, even for built-in types. | |
11919 * Array2.h (T Array2<T>::checkelem): Likewise | |
11920 | |
2433 | 11921 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11922 | |
11923 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error | |
11924 message and return -1. | |
11925 | |
2428 | 11926 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11927 | |
2431 | 11928 * str-vec.h (str_vec_compare): Declare args as const void *, then |
11929 cast them to const string * in the body of the function. | |
11930 | |
11931 * file-ops.cc (file_stat::mode_as_string): Explicitly construct | |
11932 string from buf. | |
11933 | |
2428 | 11934 * Array3.h (Array3::checkelem): Tag bogus return value with |
11935 GCC_ATTRIBUTE_UNUSED. | |
11936 * Array2.h (Array2::checkelem): Likewise. | |
9967 | 11937 |
2424 | 11938 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11939 | |
11940 * Quad.h (Quad): Define virtual destructor. | |
11941 | |
2408 | 11942 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11943 | |
11944 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. | |
11945 | |
2401 | 11946 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11947 | |
11948 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ | |
11949 and MAIN__ extern "C". | |
11950 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. | |
11951 | |
2391 | 11952 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11953 | |
11954 * MArray-misc.cc: New file. | |
11955 * Makefile.in (MATRIX_SRC): Add it to the list. | |
11956 | |
11957 * mx-inlines.cc (equal): Return bool, not int. | |
11958 | |
11959 * idx-vector.h (idx_vector (double)): New constructor. | |
11960 | |
11961 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, | |
11962 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, | |
11963 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, | |
11964 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, | |
11965 CRowVector.cc: Logical operators return bool, not int. | |
11966 | |
11967 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): | |
11968 New function. | |
11969 | |
11970 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, | |
11971 Matrix::any_element_is_inf_or_nan, Matrix::abs, | |
11972 Matrix::all_elements_are_inf_or_nan): New functions. | |
11973 | |
11974 * Range.h, Range.cc (Range::all_elements_are_ints): New function. | |
11975 | |
11976 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant | |
11977 for errors. Simplify macros by converting FCN to string for error | |
11978 messages. | |
11979 | |
11980 * Array-idx.h (Array<T>::index): New function. Don't call | |
11981 clear_index() here. | |
11982 (Array<T>::value): Call it, do call clear_index() here. | |
11983 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for | |
11984 one and two arg index functions. | |
11985 | |
11986 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11987 | |
11988 * DAEFunc.h: Delete #pragma interface since there is no longer a | |
11989 separate implementation file. | |
11990 | |
2354 | 11991 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
11992 | |
2358 | 11993 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
11994 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. | |
11995 | |
2356 | 11996 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
11997 sort_uniq. If sort_uniq is nonzero, sort the elements and make | |
11998 them uniq. | |
11999 | |
2354 | 12000 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
12001 ComplexMatrix::column_max, ComplexMatrix::column_min): | |
12002 Rewrite. Also return index as a reference arg. | |
12003 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, | |
12004 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): | |
12005 Delete. | |
12006 | |
12007 * dMatrix.cc (Matrix::row_max, Matrix::row_min, | |
12008 Matrix::column_max, Matrix::column_min): | |
12009 Rewrite. Also return index as a reference arg. | |
12010 (Matrix::row_max_loc, Matrix::row_min_loc, | |
12011 Matrix::column_max_loc, Matrix::column_min_loc): Delete. | |
12012 | |
12013 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12014 | |
12015 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, | |
12016 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, | |
12017 Matrix::column_min_loc, Matrix::column_max, | |
12018 Matrix::column_max_loc): Ignore leading NaNs. | |
12019 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, | |
12020 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, | |
12021 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, | |
12022 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore | |
12023 leading NaNs. | |
12024 | |
2352 | 12025 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
12026 | |
12027 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds | |
12028 starting at n, not 0. | |
12029 | |
2349 | 12030 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
12031 | |
12032 * dMatrix.cc (Matrix::Matrix (const RowVector&), | |
12033 Matrix::Matrix (const ColumnVector&)): New constructors. | |
12034 | |
12035 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), | |
12036 ComplexMatrix::ComplexMatrix (const ColumnVector&), | |
12037 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), | |
12038 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): | |
12039 New constructors. | |
12040 | |
12041 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): | |
12042 New constructor. | |
12043 | |
2343 | 12044 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
12045 | |
12046 * LSODE.cc (do_integrate): Check to make sure that the state and | |
12047 derivative vectors are the same size. | |
2344 | 12048 * DASSL.cc (do_integrate): Likewise. |
2343 | 12049 |
2330 | 12050 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
12051 | |
12052 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use | |
12053 iostreams and handler data format conversions. Delete old methods | |
12054 that used stdio. | |
12055 | |
12056 * data-conv.h, data-conv.cc (oct_data_conv): New class. | |
12057 | |
12058 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12059 | |
12060 * mach-info.h: Rename from float-fmt.h. | |
12061 * mach-info.cc: Rename from float-fmt.cc. | |
12062 Handle machine information using a singlton class. | |
12063 * Makefile.in: Update appropriate lists. | |
12064 | |
12065 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12066 | |
12067 * Array-flags.cc: Provide definitions for the flags even if | |
12068 OCTAVE_SOURCE is not defined. | |
12069 | |
12070 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects | |
12071 operator(), not elem(). | |
12072 * Array3.h: Move indexing methods here from Array3.cc. | |
12073 | |
12074 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12075 | |
12076 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). | |
12077 | |
12078 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of | |
12079 INSTALL_DATA for shared libs. | |
12080 | |
12081 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12082 | |
12083 * Quad.cc: Include lo-error.h here too. | |
12084 | |
12085 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12086 | |
12087 * file-ops.h: Include sys/types.h here. | |
12088 | |
12089 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12090 | |
12091 * chMatrix.cc (charMatrix::transpose): Provide definition. | |
12092 | |
12093 * Array-idx.h (maybe_delete_elements): Correctly compute number of | |
12094 elements in result. | |
12095 * Array2-idx.h (maybe_delete_elements): Likewise for number of | |
12096 rows and columns in result. | |
12097 | |
12098 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12099 | |
12100 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. | |
12101 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. | |
12102 | |
12103 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12104 | |
12105 * Makefile.in (install-inc): Install in octincludedir, not includedir. | |
12106 | |
12107 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12108 | |
12109 * Makefile.in (uninstall): Also delete shared library. | |
12110 Split install into install-libs and install-includes. | |
12111 (install-inc): If linkdir is a directory, leave it alone. | |
12112 | |
12113 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. | |
12114 | |
12115 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12116 | |
12117 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. | |
12118 * Array2-idx.h (assign): Likewise. | |
12119 | |
12120 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12121 | |
12122 * Array2.cc (Array2<T>::range_error): New functions. | |
12123 | |
12124 * Array.h (class Array<T>): elem() and operator() are now | |
12125 equivalent, and do bounds checking by default. | |
12126 * Array2.cc (class Array2<T>): Likewise. | |
12127 | |
12128 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12129 | |
12130 * Makefile.in (maintainer-clean, distclean): Also delete | |
12131 stamp-picdir, stamp-shared, and pic directory. | |
12132 (stamp-prereq): New target. | |
12133 | |
12134 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12135 | |
12136 * NPSOL.h (NPSOL_options::set_option (const char *, int)): | |
12137 New function. | |
12138 | |
12139 * Array.h, Array.cc (Array<T>::range_error ()): New functions. | |
12140 * Array.h (Array<T>::checkelem): Use them. | |
12141 | |
12142 * base-lu.h, base-lu.cc: Parameterize based on types of matrix | |
12143 elements too. | |
12144 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. | |
12145 | |
12146 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. | |
12147 | |
12148 * Makefile.in (distclean): Delete so_locations, which is created | |
12149 on DEC Alpha systems. | |
12150 | |
12151 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12152 | |
12153 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not | |
12154 already defined. | |
12155 | |
12156 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12157 | |
12158 * pathsearch.cc: Include config.h. | |
12159 | |
12160 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12161 | |
12162 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't | |
12163 allow M(I, J) = scalar if I or J is empty. | |
12164 | |
12165 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h | |
12166 and Array3-idx.h). | |
12167 | |
12168 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12169 | |
12170 * lo-error.h: Make comments C friendly. | |
12171 | |
12172 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12173 | |
12174 * Array2.h (make_unique): Move all indexing functions here. | |
12175 * Array2.cc: From here. | |
12176 | |
12177 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control | |
12178 whether operator() calls elem or checkelem. | |
12179 | |
12180 * Array.h (make_unique): New private function. | |
12181 Move all indexing functions here. | |
12182 * Array.cc: From here. | |
12183 | |
12184 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference | |
12185 it too. | |
12186 | |
12187 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, | |
12188 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, | |
12189 MArray-C.cc: Include config.h. | |
12190 | |
12191 * Array.h, Array2.h, DiagArray2.h, Array3.h: | |
12192 Don't define HEAVYWEIGHT_INDEXING here. | |
12193 | |
12194 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12195 | |
12196 * base-lu.h, base-lu.cc: New files. | |
12197 * Makefile.in: Add them to the appropriate lists. | |
12198 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. | |
12199 | |
12200 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12201 | |
12202 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h | |
12203 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h | |
12204 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. | |
12205 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. | |
12206 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. | |
9967 | 12207 |
2330 | 12208 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. |
12209 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. | |
12210 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. | |
12211 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: | |
12212 Simplify using new macros. | |
12213 | |
12214 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12215 | |
12216 * Makefile.in (install): If $(includedir) ends in version string, | |
12217 make link to name that does not include version info. | |
12218 | |
12219 * lo-ieee.cc: Include <cmath> here. | |
12220 | |
12221 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12222 | |
12223 * lo-ieee.cc, lo-ieee.h: New files. | |
12224 * lo-mappers.cc, lo-mappers.h: New files. | |
12225 * lo-utils.cc, lo-utils.h: New files. | |
12226 * Makefile.in: Add them to the appropriate lists. | |
12227 | |
12228 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12229 | |
12230 * dMatrix.cc (all_integers, too_large_for_float): New functions. | |
12231 * CMatrix.cc (all_integers, too_large_for_float): New functions. | |
12232 | |
12233 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, | |
12234 float-fmt.cc: New files. | |
12235 * Makefile.in: Include them in the appropriate lists. | |
12236 | |
12237 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12238 | |
12239 * dMatrix.cc (Qzval): New function. | |
12240 | |
12241 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12242 | |
12243 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not | |
12244 char*. | |
12245 | |
12246 * DASSL.h, DASSL.cc: Do better management of temporary workspace. | |
12247 Use F77_XFCN to call Fortran subroutine. | |
12248 * dColVector.cc, CColVector.cc: Likewise. | |
12249 * dRowVector.cc, CRowVector.cc: Likewise. | |
12250 * NPSOL.h, NPSOL.cc: Likewise. | |
12251 * CmplxCHOL.cc: Likewise. | |
12252 * dbleCHOL.cc: Likewise. | |
12253 * CMatrix.cc: Likewise. | |
12254 * dMatrix.cc: Likewise. | |
12255 * QPSOL.cc: Likewise. | |
12256 * LSODE.cc: Likewise. | |
12257 | |
12258 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12259 | |
12260 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. | |
12261 | |
12262 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary | |
12263 workspace. Use F77_XFCN to call Fortran subroutine. | |
12264 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. | |
12265 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. | |
12266 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. | |
12267 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. | |
12268 * CmplxHESS.h, CmplxHESS.cc: Likewise. | |
12269 * CmplxSVD.h, CmplxSVD.cc: Likewise. | |
12270 * dbleHESS.h, dbleHESS.cc: Likewise. | |
12271 * dbleSVD.h, dbleSVD.cc: Likewise. | |
12272 * EIG.h, EIG.cc; Likewise. | |
12273 * CollocWt.cc: Likewise. | |
12274 * NLEqn.cc: Likewise. | |
12275 * Quad.cc: Likewise. | |
12276 | |
12277 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12278 | |
12279 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. | |
12280 Use F77_XFCN to call Fortran subroutine. | |
12281 * CmplxLU.h, CmplxLU.cc: Ditto. | |
12282 * dbleQR.h, dbleQR.cc: Ditto. | |
12283 * CmplxQR.h, CmplxQR.cc: Ditto. | |
12284 * dbleQRP.h, dbleQRP.cc: Ditto. | |
12285 * CmplxQRP.h, CmplxQRP.cc: Ditto. | |
12286 | |
12287 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. | |
12288 (struct DIR): delete forward declaration. | |
12289 (dir_entry::operator = (const dir_entry$)): Protect against | |
12290 copying same object. | |
12291 * dir-ops.cc: Cast dir appropriately. | |
12292 | |
12293 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12294 | |
12295 * lo-error.cc: Moved to libcruft/misc. | |
12296 * Makefile.in: Delete it from the list. | |
12297 | |
12298 * f77-fcn.c (f77_context, f77_exception_encountered): Delete | |
12299 definitions (they have been moved to libcruft/misc/f77-extern.cc). | |
12300 | |
12301 * Array-flags.h: New file. | |
12302 * Array-idx.h: Include it here. | |
12303 * Makefile.in (MATRIX_INC): Add it to the list. | |
12304 | |
12305 * Array-flags.cc: Renamed from Array-ext.cc. | |
12306 (liboctave_dfi_flag): Renamed from dfi_flag. | |
12307 (liboctave_pcv_flag): Renamed from pcv_flag. | |
12308 (liboctave_pzo_flag): Renamed from pzo_flag. | |
12309 (liboctave_rre_flag): Renamed from rre_flag. | |
12310 * Array-idx.h: Change all uses of dfi_flag, etc. | |
12311 * Makefile.in (MATRIX_SRC): Change file name here too. | |
12312 | |
12313 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. | |
12314 (stamp-shared): Use them here. | |
12315 | |
12316 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12317 | |
12318 * cmd-hist.cc (command_history::ignore_entries): Delete default | |
12319 argument value. | |
12320 | |
12321 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12322 | |
12323 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, | |
12324 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, | |
12325 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, | |
12326 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: | |
12327 Clean up constructors, assigment operator. | |
12328 | |
12329 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12330 | |
12331 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. | |
12332 Check f77_exception_encountered on return. | |
12333 | |
12334 * f77-fcn.c (f77_exception_encountered): New variable. | |
12335 (F77_XFCN): Set it. | |
12336 * f77-fcn.h: Provide declaration. | |
12337 | |
12338 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). | |
12339 | |
12340 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). | |
12341 | |
12342 * NLEqn.h (NLEqn_options::set_options): New function. | |
12343 * Quad.h (Quad_options::set_options): Likewise. | |
12344 | |
12345 * LP.h (class LP): Add accessors for LP data. | |
12346 | |
12347 * NLEqn.h (NLEqn::n): Delete. | |
12348 | |
12349 * NLEqn.h (class NLEqn::n): Likewise. | |
12350 | |
12351 * NLP.h (class NLP): Add accessors for NLP data. | |
12352 | |
12353 * NPSOL.h (class NPSOL_options): Move constructors, set, and | |
12354 access functions here. | |
12355 * NPSOL.cc.cc: From here. | |
12356 | |
12357 * QLD.h (class QLD): Add destructor definition. | |
12358 * Objective.h (class Objective): Likewise. | |
12359 * ODEFunc.h (class ODEFunc): Likewise. | |
12360 * NLFunc.h (class NLFunc): Likewise. | |
12361 * NLEqn.h (class NLEqn): Likewise. | |
12362 * NLConst.h (class NLConst): Likewise. | |
12363 * LinConst.h (class LinConst): Likewise. | |
12364 * LSODE.h (class LSODE_options): Likewise. | |
12365 * CollocWt.h (class CollocWt): Likewise. | |
12366 * Bounds.h (class Bounds): Likewise. | |
12367 | |
12368 * QLD.cc (QLD::set_default_options): Delete. | |
12369 | |
12370 * QP.h (QP): Add accessors for QP data. | |
12371 Add copy constructor, operator =, and destructor definitions. | |
12372 | |
12373 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, | |
12374 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, | |
12375 DAEFunc.h, CollocWt.h, Bounds.h: | |
12376 Clean up constructors, assigment operator. | |
9967 | 12377 |
2330 | 12378 * dRowVector.cc (RowVector::transpose): Use magic of reference |
12379 counting to avoid duplicating the data immediately. | |
12380 * dColVector.cc (ColumnVector::transpose): Likewise. | |
12381 * CRowVector.cc (ComplexrowVector::transpose): Likewise. | |
12382 * CColVector.cc (ComplexColumnVector::transpose): Likewise. | |
12383 | |
12384 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12385 | |
12386 * prog-args.h (prog_args::option_argument): New enum. | |
12387 | |
12388 * f77-fcn.h: Rename from f77-uscore.h. | |
12389 (F77_XFCN_ERROR, F77_XFCN): New macros. | |
12390 * f77-fcn.c: New file. | |
12391 * Makefile.in (SOURCES): Add it to the list. | |
12392 | |
12393 * ODEFunc.h: Clean up. | |
12394 | |
12395 * DASSL.cc, DASSL.h: New files. | |
12396 * Makefile.in: Add them to the appropriate lists. | |
12397 | |
12398 * LSODE.cc, LSODE.h: New files. | |
12399 * Makefile.in: Add them to the appropriate lists. | |
12400 | |
12401 * ODE.cc: Delete. | |
12402 * Makefile.in (SOURCES): Remove from list. | |
12403 | |
12404 * base-de.h, DAE.cc: New files. | |
12405 * Makefile.in: Add them to the appropriate lists. | |
12406 * ODE.h: Only define interface for ODE classes. | |
12407 * DAE.h: Only define interface for ODE classes. | |
12408 | |
12409 * LPsolve.cc (do_minimize): Print sorry not implemented message. | |
12410 (LPsolve::set_default_options)): Delete | |
12411 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and | |
12412 destructor. | |
12413 | |
12414 * LP.h (class LP): Add operator =, copy constructor, and destructor. | |
12415 | |
12416 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. | |
12417 (QPSOL::operator =): Call base class operator = instead of assuming | |
12418 we know what to copy. | |
12419 | |
12420 * base-min.h (size): New function. | |
12421 | |
12422 * NLP.h (NLP::size): Delete. | |
12423 (NLP::NLP (const NLP&)): New constructor. | |
12424 (NLP::operator =): Call base class operator = instead of assuming | |
12425 we know what to copy. | |
12426 | |
12427 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. | |
12428 (class NPSOL): Add operator = and destructor. | |
12429 | |
12430 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. | |
12431 | |
12432 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12433 | |
12434 * Makefile.in (liboctave.a): Depend on $(PICOBJ). | |
12435 | |
12436 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12437 | |
12438 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. | |
12439 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. | |
12440 | |
12441 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12442 | |
12443 * prog-args.h, prog-args.cc: New files. | |
12444 * Makefile.in: Add them to lists. | |
12445 | |
12446 * getopt.h, getopt.c, getopt1.c: New files. | |
12447 * Makefile.in: Add them to the lists. | |
12448 | |
12449 * oct-term.h, oct-term.cc: New files. | |
12450 * Makefile.in: Add them to the lists. | |
12451 | |
12452 * str-vec.cc: New file. | |
12453 * Makefile.in (SOURCES): Add it to the list. | |
12454 | |
12455 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. | |
12456 | |
12457 * tempname.c, tempnam.c: Move here from src directory. | |
12458 * Makefile.in: Add to lists. | |
12459 | |
12460 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12461 | |
12462 * cmd-hist.h, cmd-hist.cc: New files. | |
12463 * Makefile.in: Add them to lists. | |
12464 | |
12465 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12466 | |
12467 * oct-glob.h, oct-glob.cc: New files. | |
12468 * Makefile.in: Add them to lists. | |
12469 | |
12470 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12471 | |
12472 * pathsearch.h, pathsearch.cc: New files. | |
12473 * Makefile.in: Add them to lists. | |
12474 | |
12475 * dir-ops.h, dir-ops.cc: New files. | |
12476 * sysdir.h: Move here from src directory. | |
12477 * Makefile.in: Add them to lists. | |
12478 | |
12479 * Array.h (Array::qsort): Return *this, not void. | |
12480 * str-vec.h (string_vector::qsort): Likewise. | |
12481 | |
12482 * chMatrix.cc (row_as_string): Resize result to eliminate | |
12483 unnecessary NULs. | |
12484 | |
12485 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12486 | |
12487 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, | |
12488 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: | |
12489 Files moved here from src directory. | |
12490 * Makefile.in: Add them to lists. Include appropriate rules. | |
12491 | |
12492 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
12493 Use pointers, not references (this is C code!). | |
12494 | |
12495 * oct-math.h: New file. | |
12496 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
12497 Files moved here from src directory. | |
12498 * Makefile.in: Add them to lists. | |
12499 | |
12500 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12501 | |
12502 * idx-vector.cc (make_uniq): Fix major brain-o. | |
12503 | |
12504 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: | |
12505 Convert to use string class instead of char*. | |
12506 | |
12507 * str-vec.h, Array-str.cc: New files. | |
12508 | |
12509 * Array.h (Array::qsort): New function. | |
12510 | |
12511 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12512 | |
12513 * Array.h: Nest ArrayRep class inside Array class. | |
12514 Refer to ArrayRep, not ArrayRep<T>. | |
12515 Move all ArrayRep functions inline. | |
12516 Don't declare other Array classes as friends of ArrayRep. | |
12517 * Array.cc: Delete ArrayRep functions. | |
12518 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. | |
12519 | |
12520 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: | |
12521 Don't instantiate ArrayRep objects. | |
12522 | |
12523 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12524 | |
12525 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
12526 New constructor. | |
12527 | |
12528 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12529 | |
12530 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* | |
12531 for balance_job arg. | |
12532 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. | |
12533 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. | |
12534 | |
12535 * chMatrix.cc (row_as_string): Return string, not const char*. | |
12536 | |
12537 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12538 | |
12539 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. | |
12540 | |
12541 * chMatrix.cc (row_as_string): Undo previous change. | |
12542 | |
12543 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12544 | |
12545 * chMatrix.cc (row_as_string): Do memory management here. Caller | |
12546 is expected to save string if necessary. | |
12547 | |
12548 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12549 | |
12550 * Array.h (class DiagArray): Enable nested Proxy class for all | |
12551 platforms. | |
12552 | |
12553 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == | |
12554 a.rep, don't mess with count. | |
12555 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, | |
12556 don't do anything if reps are the same. | |
12557 (Array3<T>& operator = (const Array3<T>&) | |
12558 | |
12559 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): | |
12560 Declare private with no definition to prevent misuse. | |
12561 | |
12562 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): | |
12563 Get range check right. | |
12564 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. | |
12565 (Matrix::insert (const ColumnVector&, int, int)): Ditto. | |
12566 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. | |
12567 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. | |
12568 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. | |
12569 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. | |
12570 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. | |
12571 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. | |
12572 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. | |
12573 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. | |
12574 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. | |
12575 * dColVector.cc | |
12576 (ColumnVector::insert (const ColumnVector&, int)): Ditto. | |
12577 * CRowVector.cc | |
12578 (ComplexRowVector::insert (const RowVector&, int)): Ditto. | |
12579 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. | |
12580 * CColVector.cc | |
12581 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. | |
12582 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. | |
12583 | |
12584 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): | |
12585 Also fill in zeros, not just the diagonal. | |
12586 | |
12587 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): | |
12588 Use END parameter properly. | |
12589 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. | |
12590 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. | |
12591 | |
12592 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. | |
12593 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. | |
12594 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): | |
12595 Don't copy count. Set it to 1. | |
12596 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. | |
12597 | |
12598 * Array.h (Array<T>::Array (T *, int)): After constructing rep, | |
12599 don't set rep->count to 1 here (now handled by ArrayRep | |
12600 constructors). | |
12601 (Array<T>::Array (void)): Ditto. | |
12602 (Array<T>::Array (int)): Ditto. | |
12603 (Array<T>::T& elem (int)): Ditto. | |
12604 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. | |
12605 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. | |
12606 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. | |
12607 (Array<T>::resize (int)): Ditto. | |
12608 (Array<T>::resize (int, const T&)) :Ditto. | |
12609 (Array<T>::fortran_vec (void)): Ditto. | |
12610 (Array2<T>::resize (int, int)): Ditto. | |
12611 (Array2<T>::resize (int, int, const T&)): Ditto. | |
12612 (DiagArray<T>::resize (int, int)): Ditto. | |
12613 (DiagArray<T>::resize (int, int, const T&)): Ditto. | |
12614 | |
12615 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12616 | |
12617 * Array-ch.cc: Rename from Array-c.cc. | |
12618 * MArray-ch.cc: Rename from MArray-c.cc. | |
12619 * chMatrix.cc: Rename from cMatrix.cc. | |
12620 * chMatrix.h: Rename from cMatrix.h. | |
12621 * Makefile.in (TI_SRC): Use new names here. | |
12622 * mx-base.h: Likewise. | |
12623 | |
12624 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12625 | |
12626 * Makefile.in: Handle shared libraries. | |
12627 | |
12628 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12629 | |
12630 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): | |
12631 Correctly compute length of return value. Correct rows and | |
12632 columns in zgemv call. | |
12633 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. | |
12634 | |
12635 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12636 | |
12637 * Makefile.in (stamp-picdir): New target. | |
12638 (all): Depend on it. | |
12639 | |
12640 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12641 | |
12642 * Makefile.in (INCLUDES): Remove QLD.h. | |
12643 (SOURCES): Remove QLD.cc. | |
12644 | |
12645 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12646 | |
12647 * dMatrix.cc (Matrix::inverse): New arg, force. | |
12648 If force is nonzero, invert even if matrix is singular. | |
12649 (ComplexMatrix::inverse): Likewise. | |
12650 | |
12651 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, | |
12652 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, | |
12653 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: | |
12654 Include "oct-cmplx.h" instead of <Complex.h>. | |
12655 | |
12656 * mx-defs.h: Include oct-cmplx.h in place of forward declaration | |
12657 for class Complex. | |
12658 | |
12659 * oct-cmplx.h: New file. | |
12660 * Makefile.in (INCLUDES): Add it to the list. | |
12661 | |
12662 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. | |
12663 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. | |
12664 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. | |
12665 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): | |
12666 Avoid g++ bugs. | |
12667 | |
12668 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12669 | |
12670 * Array-idx.h (maybe_delete_elements): Give useful error message. | |
12671 | |
12672 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. | |
12673 | |
12674 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12675 | |
12676 * CDiagMatrix.cc (inverse): Return retval, not *this. | |
12677 * dDiagMatrix.cc (inverse): Use same method as for Complex case. | |
12678 | |
12679 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12680 | |
12681 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep | |
12682 index vector object with Array, not ArrayRep. | |
12683 | |
12684 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12685 | |
12686 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail | |
12687 if index is a colon and resizing is maybe needed. | |
12688 | |
12689 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12690 | |
12691 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true | |
12692 if we have a vector of 1's. | |
12693 | |
12694 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no | |
12695 current orientation, require index and rhs to conform unless | |
12696 do_fortran_indexing flag is set. | |
12697 | |
12698 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12699 | |
12700 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, | |
12701 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, | |
12702 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, | |
12703 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, | |
12704 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: | |
12705 Massive changes to support additional data types. Only charMatrix | |
12706 is currently used in Octave. | |
12707 | |
12708 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12709 | |
12710 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. | |
12711 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): | |
12712 Simply call Array2<Complex> version. | |
12713 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just | |
12714 call Array2<double> version. | |
12715 | |
12716 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. | |
12717 | |
12718 * Array.h, Array.cc: Massive overhaul to support new way of | |
12719 handling indexing. | |
12720 * idx-vector.h, idx-vector.cc: Likewise. | |
12721 * Array-ext.cc, Array-idx.h: New files. | |
12722 * Makefile.in: Add them to the appropriate lists. | |
12723 | |
12724 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12725 | |
12726 * Range.cc (nelem_internal): Use tfloor here, not round. | |
12727 | |
12728 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12729 | |
12730 * idx-vector.h, idx-vector.cc: New files, moved from ../src. | |
12731 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. | |
12732 | |
12733 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12734 | |
12735 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. | |
12736 | |
12737 * Array.h: Move simple member functions here. | |
12738 * Array.cc: From here. | |
12739 | |
12740 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12741 | |
12742 * Range.cc (tfloor, tceil, round): New static functions. | |
12743 (Range::nelem_internal): Rewrite to use better method. | |
12744 | |
12745 * dbleSVD.h (SVD::type): New item, sigma_only. | |
12746 (type_computed): New var. | |
12747 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): | |
12748 Handle possible error condition. | |
12749 (init): Allow for SVD::sigma_only, save type computed. | |
12750 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): | |
12751 Handle possible error condition. | |
12752 (init): Allow for SVD::sigma_only, save type computed. | |
12753 | |
12754 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12755 | |
12756 * Nearly all non-matrix .h and .cc files: | |
12757 Move short function bodies into class declarations for inlining. | |
12758 Generally clean up. | |
12759 | |
12760 * base-min.h: New file. | |
12761 * LP.h (class LP): Derive from base_minimizer. | |
12762 * QLP.h (class QLP): Derive from base_minimizer. | |
12763 * NLP.h (class NLP): Derive from base_minimizer. | |
12764 * Makefile.in (INCLUDES): Add base-min.h to the list. | |
12765 | |
12766 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, | |
12767 NLFunc.cc, Objective.cc and QP.cc from list. | |
12768 | |
12769 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12770 | |
12771 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. | |
12772 (SCHUR::SCHUR): Delete unused parameter ord. | |
12773 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. | |
12774 | |
12775 * CRowVector.cc | |
12776 (ComplexRowVector::operator+ (const Complex&, const RowVector&), | |
12777 (ComplexRowVector::operator- (const Complex&, const RowVector&), | |
12778 (ComplexRowVector::operator* (const Complex&, const RowVector&), | |
12779 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): | |
12780 Actually do something. | |
9967 | 12781 |
2330 | 12782 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. |
12783 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. | |
12784 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. | |
12785 | |
12786 * Quad.cc (Quad_options::Quad_options (double, double)): New function. | |
12787 * (Quad::Quad (integrand_fcn, double, double): Properly initialize | |
12788 tolerances. | |
9967 | 12789 |
2330 | 12790 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. |
12791 * LPsolve.cc (LPsolve::minimize): Likewise. | |
12792 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. | |
12793 * ODE.cc (lsode_f, lsode_j): Likewise. | |
12794 * QPSOL.cc (qphess): Likewise. | |
12795 | |
12796 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12797 | |
12798 * dMatrix.cc: Include <cstring>. | |
12799 | |
12800 * Array.cc: Try harder to avoid warnings from gcc in functions | |
12801 that return bogus values after calling the error handler. | |
12802 | |
12803 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12804 | |
12805 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. | |
12806 | |
12807 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. | |
12808 | |
12809 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12810 | |
12811 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. | |
12812 (dassl_j): Likewise. | |
9967 | 12813 |
2330 | 12814 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, |
12815 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, | |
12816 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: | |
12817 Update for change in for loop variable scope for gcc 2.7.0. | |
12818 | |
12819 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
12820 | |
12821 * Makefile.in: Only include dependency files if $(omit_deps) is | |
12822 not set. | |
12823 | |
12824 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) | |
12825 | |
12826 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h | |
12827 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h | |
12828 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h | |
12829 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h | |
12830 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h | |
12831 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h | |
12832 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h | |
12833 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h | |
12834 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc | |
12835 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc | |
12836 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc | |
12837 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc | |
12838 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc | |
12839 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc | |
12840 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc | |
12841 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc | |
12842 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc | |
12843 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h | |
12844 NLP.h: Use pragma interface/implementation. Don't surround | |
12845 contents in extern "C++". | |
12846 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". | |
12847 | |
12848 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
12849 | |
12850 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase | |
12851 identifiers. | |
12852 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
12853 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
12854 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
12855 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
12856 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
12857 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
12858 Quad.cc: Change usage of F77_FCN to match new definition | |
12859 | |
12860 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
12861 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
12862 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
12863 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
12864 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
12865 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
12866 Quad.cc: Where appropriate, declare Fortran subroutines to take | |
12867 args by reference instead of pointer. Change all callers. | |
12868 | |
12869 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
12870 | |
12871 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New | |
12872 functions. Make += and -= operators friend functions. | |
12873 | |
12874 * Array.h (Array2::~Array2, Array3::~Array3, | |
12875 DiagArray::~DiagArray): New functions. | |
12876 | |
12877 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
12878 | |
12879 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. | |
12880 (MATRIX_INC): Don't distribute mx-kludge.h. | |
12881 | |
12882 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
12883 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
12884 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
12885 dRowVector.h dRowVector.cc: | |
12886 Derive classes from MArray, MArray2, and MDiagArray, not Array, | |
12887 Array2, and DiagArray2. | |
12888 Don't use functions defined in mx-kludge.cc for arithmetic | |
12889 like-type operations on arrays. | |
12890 | |
12891 * MArray.cc: Use the classes defined here like-type mathematical | |
12892 operations on Array objects. Abuse CPP more. | |
12893 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
12894 (EXTRAS): Delete it from this list. | |
12895 | |
12896 * MArray-C.cc, MArray-d.cc: New files. | |
12897 * Makefile.in (TI_SRC): Add them to the list. | |
12898 | |
12899 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
12900 | |
12901 * mx-kludge.cc: Abuse CPP even more. | |
12902 | |
12903 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
12904 | |
12905 * Objective.h (objective_function): Add missing const. | |
12906 (gradient_function): Likewise. | |
12907 | |
12908 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
12909 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
12910 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
12911 dRowVector.h dRowVector.cc: | |
12912 Reorganize to declare and define friends where they should be, | |
12913 based on the use of private constructors. | |
12914 | |
12915 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
12916 | |
12917 * CRowVector.h (linspace): Add declaration. | |
12918 * dRowVector.h (linspace): Likewise. | |
12919 | |
12920 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
12921 Force result of rcond + 1.0 to be stored. | |
12922 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, | |
12923 ComplexMatrix::solve): Likewise. | |
12924 | |
12925 See ChangeLog.1 in the top level directory for earlier changes. |