Mercurial > hg > octave-nkf
annotate liboctave/ChangeLog @ 10499:fabed15083a4
optimize sparse resize
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Thu, 08 Apr 2010 14:37:36 +0200 |
parents | 8615b55b5caf |
children | bdf5d85cfc5e |
rev | line source |
---|---|
10499
fabed15083a4
optimize sparse resize
Jaroslav Hajek <highegg@gmail.com>
parents:
10498
diff
changeset
|
1 2010-04-08 Jaroslav Hajek <highegg@gmail.com> |
fabed15083a4
optimize sparse resize
Jaroslav Hajek <highegg@gmail.com>
parents:
10498
diff
changeset
|
2 |
fabed15083a4
optimize sparse resize
Jaroslav Hajek <highegg@gmail.com>
parents:
10498
diff
changeset
|
3 * Sparse.cc (Sparse<T>::resize (octave_idx_type, octave_idx_type)): |
fabed15083a4
optimize sparse resize
Jaroslav Hajek <highegg@gmail.com>
parents:
10498
diff
changeset
|
4 Rewrite. Be smarter esp. when resizing to more columns. |
fabed15083a4
optimize sparse resize
Jaroslav Hajek <highegg@gmail.com>
parents:
10498
diff
changeset
|
5 |
10498
8615b55b5caf
fix & improve cat (bug #29465)
Jaroslav Hajek <highegg@gmail.com>
parents:
10494
diff
changeset
|
6 2010-04-08 Jaroslav Hajek <highegg@gmail.com> |
8615b55b5caf
fix & improve cat (bug #29465)
Jaroslav Hajek <highegg@gmail.com>
parents:
10494
diff
changeset
|
7 |
8615b55b5caf
fix & improve cat (bug #29465)
Jaroslav Hajek <highegg@gmail.com>
parents:
10494
diff
changeset
|
8 * dim-vector.h (dim_vector::concat): Ignore zero_by_zero, but not |
8615b55b5caf
fix & improve cat (bug #29465)
Jaroslav Hajek <highegg@gmail.com>
parents:
10494
diff
changeset
|
9 all_zero arrays in concatenation (like Matlab). |
8615b55b5caf
fix & improve cat (bug #29465)
Jaroslav Hajek <highegg@gmail.com>
parents:
10494
diff
changeset
|
10 |
10494
e52f41fd82c7
optimize (:) indexing of sparse column vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10493
diff
changeset
|
11 2010-04-07 Jaroslav Hajek <highegg@gmail.com> |
e52f41fd82c7
optimize (:) indexing of sparse column vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10493
diff
changeset
|
12 |
e52f41fd82c7
optimize (:) indexing of sparse column vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10493
diff
changeset
|
13 * Sparse.cc (Sparse<T>::index (const idx_vector&, bool)): Use shallow |
e52f41fd82c7
optimize (:) indexing of sparse column vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10493
diff
changeset
|
14 copy when column is indexed by colon. |
e52f41fd82c7
optimize (:) indexing of sparse column vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10493
diff
changeset
|
15 |
10493
2f8bacc2a57d
fix order of func defs in Sparse.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10492
diff
changeset
|
16 2010-04-07 Jaroslav Hajek <highegg@gmail.com> |
2f8bacc2a57d
fix order of func defs in Sparse.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10492
diff
changeset
|
17 |
2f8bacc2a57d
fix order of func defs in Sparse.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10492
diff
changeset
|
18 * Sparse.cc (lblookup): Move in front of Sparse<T>::delete_elements. |
2f8bacc2a57d
fix order of func defs in Sparse.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10492
diff
changeset
|
19 |
10492
a6b64a7a3769
make feval work with overloaded handles
Jaroslav Hajek <highegg@gmail.com>
parents:
10491
diff
changeset
|
20 2010-04-07 Jaroslav Hajek <highegg@gmail.com> |
a6b64a7a3769
make feval work with overloaded handles
Jaroslav Hajek <highegg@gmail.com>
parents:
10491
diff
changeset
|
21 |
a6b64a7a3769
make feval work with overloaded handles
Jaroslav Hajek <highegg@gmail.com>
parents:
10491
diff
changeset
|
22 * str-vec.h (string_vector::string_vector (const Array<std::string>)): |
a6b64a7a3769
make feval work with overloaded handles
Jaroslav Hajek <highegg@gmail.com>
parents:
10491
diff
changeset
|
23 New constructor. |
a6b64a7a3769
make feval work with overloaded handles
Jaroslav Hajek <highegg@gmail.com>
parents:
10491
diff
changeset
|
24 |
10491
077fef5da460
optimize null assignment with bool masks
Jaroslav Hajek <highegg@gmail.com>
parents:
10490
diff
changeset
|
25 2010-04-06 Jaroslav Hajek <highegg@gmail.com> |
077fef5da460
optimize null assignment with bool masks
Jaroslav Hajek <highegg@gmail.com>
parents:
10490
diff
changeset
|
26 |
077fef5da460
optimize null assignment with bool masks
Jaroslav Hajek <highegg@gmail.com>
parents:
10490
diff
changeset
|
27 * idx-vector.cc (idx_vector::complement): Rewrite. |
077fef5da460
optimize null assignment with bool masks
Jaroslav Hajek <highegg@gmail.com>
parents:
10490
diff
changeset
|
28 |
10490
fdccd69d26bd
rewrite sparse null assignment (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10489
diff
changeset
|
29 2010-04-06 Jaroslav Hajek <highegg@gmail.com> |
fdccd69d26bd
rewrite sparse null assignment (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10489
diff
changeset
|
30 |
fdccd69d26bd
rewrite sparse null assignment (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10489
diff
changeset
|
31 * Sparse.cc (Sparse<T>::maybe_delete_elements): Rename to |
fdccd69d26bd
rewrite sparse null assignment (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10489
diff
changeset
|
32 delete_elements. Use const reference arguments. |
fdccd69d26bd
rewrite sparse null assignment (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10489
diff
changeset
|
33 (Sparse<T>::delete_elements (const idx_vector&, const idx_vector&)): |
fdccd69d26bd
rewrite sparse null assignment (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10489
diff
changeset
|
34 Rewrite. |
fdccd69d26bd
rewrite sparse null assignment (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10489
diff
changeset
|
35 (Sparse<T>::maybe_delete_elements (int dim, const idx_vector&)): New |
fdccd69d26bd
rewrite sparse null assignment (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10489
diff
changeset
|
36 overload. |
fdccd69d26bd
rewrite sparse null assignment (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10489
diff
changeset
|
37 (Sparse<T>::maybe_delete_elements (Array<idx_vector>&)): Remove |
fdccd69d26bd
rewrite sparse null assignment (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10489
diff
changeset
|
38 overload. |
fdccd69d26bd
rewrite sparse null assignment (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10489
diff
changeset
|
39 |
10489
d47802f0e557
Back out changeset 4e64fbbd5c58
Jaroslav Hajek <highegg@gmail.com>
parents:
10487
diff
changeset
|
40 2010-04-06 Jaroslav Hajek <highegg@gmail.com> |
d47802f0e557
Back out changeset 4e64fbbd5c58
Jaroslav Hajek <highegg@gmail.com>
parents:
10487
diff
changeset
|
41 |
d47802f0e557
Back out changeset 4e64fbbd5c58
Jaroslav Hajek <highegg@gmail.com>
parents:
10487
diff
changeset
|
42 * idx-vector.cc, Array-util.h, Array-util.cc: Reverse effects of |
d47802f0e557
Back out changeset 4e64fbbd5c58
Jaroslav Hajek <highegg@gmail.com>
parents:
10487
diff
changeset
|
43 4e64fbbd5c58. |
d47802f0e557
Back out changeset 4e64fbbd5c58
Jaroslav Hajek <highegg@gmail.com>
parents:
10487
diff
changeset
|
44 |
10487 | 45 2010-04-02 John W. Eaton <jwe@octave.org> |
46 | |
47 * Array-util.cc, idx-vector.cc, idx-vector.h: Style fixes. | |
48 | |
10486
4e64fbbd5c58
allow non-integer values in ranges used for array indexing
John W. Eaton <jwe@octave.org>
parents:
10484
diff
changeset
|
49 2010-04-02 John W. Eaton <jwe@octave.org> |
4e64fbbd5c58
allow non-integer values in ranges used for array indexing
John W. Eaton <jwe@octave.org>
parents:
10484
diff
changeset
|
50 |
4e64fbbd5c58
allow non-integer values in ranges used for array indexing
John W. Eaton <jwe@octave.org>
parents:
10484
diff
changeset
|
51 * idx-vector.cc (idx_vector::idx_vector (const Range&)): |
4e64fbbd5c58
allow non-integer values in ranges used for array indexing
John W. Eaton <jwe@octave.org>
parents:
10484
diff
changeset
|
52 Move here from idx-vector.h. Allow non-integer values in ranges, |
4e64fbbd5c58
allow non-integer values in ranges used for array indexing
John W. Eaton <jwe@octave.org>
parents:
10484
diff
changeset
|
53 but warn by default (for Matlab compatibility). |
4e64fbbd5c58
allow non-integer values in ranges used for array indexing
John W. Eaton <jwe@octave.org>
parents:
10484
diff
changeset
|
54 * Array-util.h, Array-util.cc (gripe_invalid_index): New arg, ERR. |
4e64fbbd5c58
allow non-integer values in ranges used for array indexing
John W. Eaton <jwe@octave.org>
parents:
10484
diff
changeset
|
55 If ERR is false, generate warning instead of error. |
4e64fbbd5c58
allow non-integer values in ranges used for array indexing
John W. Eaton <jwe@octave.org>
parents:
10484
diff
changeset
|
56 |
10484
6a9571b57745
rewrite sparse null assignment (part 1)
Jaroslav Hajek <highegg@gmail.com>
parents:
10481
diff
changeset
|
57 2010-04-02 Jaroslav Hajek <highegg@gmail.com> |
6a9571b57745
rewrite sparse null assignment (part 1)
Jaroslav Hajek <highegg@gmail.com>
parents:
10481
diff
changeset
|
58 |
6a9571b57745
rewrite sparse null assignment (part 1)
Jaroslav Hajek <highegg@gmail.com>
parents:
10481
diff
changeset
|
59 * Sparse.cc (Sparse<T>::maybe_delete_elements): Rewrite. Optimize for |
6a9571b57745
rewrite sparse null assignment (part 1)
Jaroslav Hajek <highegg@gmail.com>
parents:
10481
diff
changeset
|
60 sparse column vectors. |
6a9571b57745
rewrite sparse null assignment (part 1)
Jaroslav Hajek <highegg@gmail.com>
parents:
10481
diff
changeset
|
61 |
10481
e8811e5dd699
avoid exception throwing in mx-inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
10480
diff
changeset
|
62 2010-04-01 Jaroslav Hajek <highegg@gmail.com> |
e8811e5dd699
avoid exception throwing in mx-inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
10480
diff
changeset
|
63 |
e8811e5dd699
avoid exception throwing in mx-inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
10480
diff
changeset
|
64 * mx-inlines.cc: Declare all loops as throw (). Ditto for |
e8811e5dd699
avoid exception throwing in mx-inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
10480
diff
changeset
|
65 corresponding applier arguments. |
e8811e5dd699
avoid exception throwing in mx-inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
10480
diff
changeset
|
66 (do_mx_check): New applier. |
e8811e5dd699
avoid exception throwing in mx-inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
10480
diff
changeset
|
67 (logical_value): Do not throw exceptions. |
e8811e5dd699
avoid exception throwing in mx-inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
10480
diff
changeset
|
68 * mx-op-defs.h (SNANCHK, MNANCHK): New helper macros. |
e8811e5dd699
avoid exception throwing in mx-inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
10480
diff
changeset
|
69 (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, SND_BOOL_OP, |
e8811e5dd699
avoid exception throwing in mx-inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
10480
diff
changeset
|
70 NDND_BOOL_OP): Use them here. |
e8811e5dd699
avoid exception throwing in mx-inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
10480
diff
changeset
|
71 |
10480
19e1e4470e01
remove old sparse assembly ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10479
diff
changeset
|
72 2010-03-31 Jaroslav Hajek <highegg@gmail.com> |
19e1e4470e01
remove old sparse assembly ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10479
diff
changeset
|
73 |
19e1e4470e01
remove old sparse assembly ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10479
diff
changeset
|
74 * Sparse.cc (Sparse<T>::Sparse (const Array<T>&, |
19e1e4470e01
remove old sparse assembly ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10479
diff
changeset
|
75 const Array<octave_idx_type>&, ...), Sparse<T>::Sparse (const Array<T>&, |
19e1e4470e01
remove old sparse assembly ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10479
diff
changeset
|
76 const Array<double>&, ...)): |
19e1e4470e01
remove old sparse assembly ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10479
diff
changeset
|
77 Remove old constructors. |
19e1e4470e01
remove old sparse assembly ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10479
diff
changeset
|
78 * Sparse.h: Ditto. |
19e1e4470e01
remove old sparse assembly ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10479
diff
changeset
|
79 * MSparse.h: Ditto. |
19e1e4470e01
remove old sparse assembly ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10479
diff
changeset
|
80 * dSparse.h: Ditto. |
19e1e4470e01
remove old sparse assembly ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10479
diff
changeset
|
81 * CSparse.h: Ditto. |
19e1e4470e01
remove old sparse assembly ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10479
diff
changeset
|
82 * boolSparse.h: Ditto. |
19e1e4470e01
remove old sparse assembly ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10479
diff
changeset
|
83 |
10479
ded9beac7582
optimize sparse matrix assembly
Jaroslav Hajek <highegg@gmail.com>
parents:
10478
diff
changeset
|
84 2010-03-31 Jaroslav Hajek <highegg@gmail.com> |
ded9beac7582
optimize sparse matrix assembly
Jaroslav Hajek <highegg@gmail.com>
parents:
10478
diff
changeset
|
85 |
ded9beac7582
optimize sparse matrix assembly
Jaroslav Hajek <highegg@gmail.com>
parents:
10478
diff
changeset
|
86 * idx-vector.cc (idx_vector::idx_range_rep::as_array): Fix typo. |
ded9beac7582
optimize sparse matrix assembly
Jaroslav Hajek <highegg@gmail.com>
parents:
10478
diff
changeset
|
87 (idx_vector::raw): Use unchecked constructor. |
ded9beac7582
optimize sparse matrix assembly
Jaroslav Hajek <highegg@gmail.com>
parents:
10478
diff
changeset
|
88 * Sparse.cc (Sparse<T>::Sparse (const Array<T>&, const idx_vector&, |
ded9beac7582
optimize sparse matrix assembly
Jaroslav Hajek <highegg@gmail.com>
parents:
10478
diff
changeset
|
89 const idx_vector&, ...)): New ctor. |
ded9beac7582
optimize sparse matrix assembly
Jaroslav Hajek <highegg@gmail.com>
parents:
10478
diff
changeset
|
90 * Sparse.h: Declare it. |
ded9beac7582
optimize sparse matrix assembly
Jaroslav Hajek <highegg@gmail.com>
parents:
10478
diff
changeset
|
91 |
10477
a9649f994b07
avoid segfault in string_vector constructor
John W. Eaton <jwe@octave.org>
parents:
10475
diff
changeset
|
92 2010-03-30 John W. Eaton <jwe@octave.org> |
a9649f994b07
avoid segfault in string_vector constructor
John W. Eaton <jwe@octave.org>
parents:
10475
diff
changeset
|
93 |
a9649f994b07
avoid segfault in string_vector constructor
John W. Eaton <jwe@octave.org>
parents:
10475
diff
changeset
|
94 * str-vec.cc (string_vector::string_vector (const char * const *)): |
a9649f994b07
avoid segfault in string_vector constructor
John W. Eaton <jwe@octave.org>
parents:
10475
diff
changeset
|
95 Create empty string_vector object if arg is NULL. |
10478 | 96 Fixes bug #29386. |
10477
a9649f994b07
avoid segfault in string_vector constructor
John W. Eaton <jwe@octave.org>
parents:
10475
diff
changeset
|
97 |
10475
739109ef88ee
helper idx_vector methods
Jaroslav Hajek <highegg@gmail.com>
parents:
10471
diff
changeset
|
98 2010-03-29 Jaroslav Hajek <highegg@gmail.com> |
739109ef88ee
helper idx_vector methods
Jaroslav Hajek <highegg@gmail.com>
parents:
10471
diff
changeset
|
99 |
739109ef88ee
helper idx_vector methods
Jaroslav Hajek <highegg@gmail.com>
parents:
10471
diff
changeset
|
100 * idx-vector.cc (idx_vector::raw): New method. |
739109ef88ee
helper idx_vector methods
Jaroslav Hajek <highegg@gmail.com>
parents:
10471
diff
changeset
|
101 * idx-vector.h: Declare it. |
739109ef88ee
helper idx_vector methods
Jaroslav Hajek <highegg@gmail.com>
parents:
10471
diff
changeset
|
102 |
10471
bcabc1c4f20c
Add detection of OpenMP support to configure. Disabled by default
David Bateman <dbateman@free.fr>
parents:
10468
diff
changeset
|
103 2010-03-27 David Bateman <dbateman@free.fr> |
bcabc1c4f20c
Add detection of OpenMP support to configure. Disabled by default
David Bateman <dbateman@free.fr>
parents:
10468
diff
changeset
|
104 |
bcabc1c4f20c
Add detection of OpenMP support to configure. Disabled by default
David Bateman <dbateman@free.fr>
parents:
10468
diff
changeset
|
105 * oct-openmp.h: New file. |
bcabc1c4f20c
Add detection of OpenMP support to configure. Disabled by default
David Bateman <dbateman@free.fr>
parents:
10468
diff
changeset
|
106 * Makefile.am (INCS): Add it here. |
bcabc1c4f20c
Add detection of OpenMP support to configure. Disabled by default
David Bateman <dbateman@free.fr>
parents:
10468
diff
changeset
|
107 |
10468
197b096001b7
improve sparse 2d indexing (part 3)
Jaroslav Hajek <highegg@gmail.com>
parents:
10466
diff
changeset
|
108 2010-03-26 Jaroslav Hajek <highegg@gmail.com> |
197b096001b7
improve sparse 2d indexing (part 3)
Jaroslav Hajek <highegg@gmail.com>
parents:
10466
diff
changeset
|
109 |
197b096001b7
improve sparse 2d indexing (part 3)
Jaroslav Hajek <highegg@gmail.com>
parents:
10466
diff
changeset
|
110 * Sparse.cc (Sparse<T>::index (const idx_vector&, const idx_vector&, bool)): |
197b096001b7
improve sparse 2d indexing (part 3)
Jaroslav Hajek <highegg@gmail.com>
parents:
10466
diff
changeset
|
111 Specialize for contiguous row range, row permutation, and implement |
197b096001b7
improve sparse 2d indexing (part 3)
Jaroslav Hajek <highegg@gmail.com>
parents:
10466
diff
changeset
|
112 general case through double index-transpose. |
197b096001b7
improve sparse 2d indexing (part 3)
Jaroslav Hajek <highegg@gmail.com>
parents:
10466
diff
changeset
|
113 |
10466
c0c24219fccf
eigs-base.cc: avoid warning about deprecated Array constructor
John W. Eaton <jwe@octave.org>
parents:
10463
diff
changeset
|
114 2010-03-25 John W. Eaton <jwe@octave.org> |
c0c24219fccf
eigs-base.cc: avoid warning about deprecated Array constructor
John W. Eaton <jwe@octave.org>
parents:
10463
diff
changeset
|
115 |
c0c24219fccf
eigs-base.cc: avoid warning about deprecated Array constructor
John W. Eaton <jwe@octave.org>
parents:
10463
diff
changeset
|
116 * eigs-base.cc (EigsComplexNonSymmetricFunc): Avoid warning |
c0c24219fccf
eigs-base.cc: avoid warning about deprecated Array constructor
John W. Eaton <jwe@octave.org>
parents:
10463
diff
changeset
|
117 about deprecated Array constructor. |
c0c24219fccf
eigs-base.cc: avoid warning about deprecated Array constructor
John W. Eaton <jwe@octave.org>
parents:
10463
diff
changeset
|
118 |
10463
bbe99b2a5ba7
undo recent gnulib-related changes
John W. Eaton <jwe@octave.org>
parents:
10459
diff
changeset
|
119 2010-03-25 John W. Eaton <jwe@octave.org> |
bbe99b2a5ba7
undo recent gnulib-related changes
John W. Eaton <jwe@octave.org>
parents:
10459
diff
changeset
|
120 |
bbe99b2a5ba7
undo recent gnulib-related changes
John W. Eaton <jwe@octave.org>
parents:
10459
diff
changeset
|
121 * cmd-edit.cc, file-ops.cc, lo-math.h, lo-utils.cc, oct-env.cc, |
bbe99b2a5ba7
undo recent gnulib-related changes
John W. Eaton <jwe@octave.org>
parents:
10459
diff
changeset
|
122 dir-ops.cc, file-stat.cc, cmd-hist.cc, oct-time.cc, oct-time.h, |
bbe99b2a5ba7
undo recent gnulib-related changes
John W. Eaton <jwe@octave.org>
parents:
10459
diff
changeset
|
123 oct-uname.cc: Revert changes from 2010-03-24 and 2010-03-25. |
bbe99b2a5ba7
undo recent gnulib-related changes
John W. Eaton <jwe@octave.org>
parents:
10459
diff
changeset
|
124 |
10459
20ce1bea653d
use round and trunc from gnulib where possible
Jaroslav Hajek <highegg@gmail.com>
parents:
10458
diff
changeset
|
125 2010-03-25 Jaroslav Hajek <highegg@gmail.com> |
20ce1bea653d
use round and trunc from gnulib where possible
Jaroslav Hajek <highegg@gmail.com>
parents:
10458
diff
changeset
|
126 |
20ce1bea653d
use round and trunc from gnulib where possible
Jaroslav Hajek <highegg@gmail.com>
parents:
10458
diff
changeset
|
127 * lo-mappers.cc |
20ce1bea653d
use round and trunc from gnulib where possible
Jaroslav Hajek <highegg@gmail.com>
parents:
10458
diff
changeset
|
128 (fix (double)): Forward to gnulib::trunc. |
20ce1bea653d
use round and trunc from gnulib where possible
Jaroslav Hajek <highegg@gmail.com>
parents:
10458
diff
changeset
|
129 (fix (float)): Forward to gnulib::truncf. |
20ce1bea653d
use round and trunc from gnulib where possible
Jaroslav Hajek <highegg@gmail.com>
parents:
10458
diff
changeset
|
130 (xround (double)): Forward to gnulib::round. |
20ce1bea653d
use round and trunc from gnulib where possible
Jaroslav Hajek <highegg@gmail.com>
parents:
10458
diff
changeset
|
131 (xround (float)): Forward to gnulib::roundf. |
20ce1bea653d
use round and trunc from gnulib where possible
Jaroslav Hajek <highegg@gmail.com>
parents:
10458
diff
changeset
|
132 (xtrunc (double)): Forward to gnulib::trunc. |
20ce1bea653d
use round and trunc from gnulib where possible
Jaroslav Hajek <highegg@gmail.com>
parents:
10458
diff
changeset
|
133 (xtrunc (float)): Forward to gnulib::truncf. |
20ce1bea653d
use round and trunc from gnulib where possible
Jaroslav Hajek <highegg@gmail.com>
parents:
10458
diff
changeset
|
134 |
10458
9684b3c3b417
Revert modf usage now that cmath is back.
David Grundberg <davidg@cs.umu.se>
parents:
10457
diff
changeset
|
135 2010-03-25 David Grundberg <davidg@cs.umu.se> |
9684b3c3b417
Revert modf usage now that cmath is back.
David Grundberg <davidg@cs.umu.se>
parents:
10457
diff
changeset
|
136 |
9684b3c3b417
Revert modf usage now that cmath is back.
David Grundberg <davidg@cs.umu.se>
parents:
10457
diff
changeset
|
137 * oct-time.h (octave_time): Revert ::modf to std::modf again now |
9684b3c3b417
Revert modf usage now that cmath is back.
David Grundberg <davidg@cs.umu.se>
parents:
10457
diff
changeset
|
138 that cmath is included again. |
9684b3c3b417
Revert modf usage now that cmath is back.
David Grundberg <davidg@cs.umu.se>
parents:
10457
diff
changeset
|
139 |
10457
56e3a4c765a6
include both math.h and cmath in lo-math.h
Jaroslav Hajek <highegg@gmail.com>
parents:
10447
diff
changeset
|
140 2010-03-25 Jaroslav Hajek <highegg@gmail.com> |
56e3a4c765a6
include both math.h and cmath in lo-math.h
Jaroslav Hajek <highegg@gmail.com>
parents:
10447
diff
changeset
|
141 |
56e3a4c765a6
include both math.h and cmath in lo-math.h
Jaroslav Hajek <highegg@gmail.com>
parents:
10447
diff
changeset
|
142 * lo-math.h: Include both "math.h" and "cmath". |
56e3a4c765a6
include both math.h and cmath in lo-math.h
Jaroslav Hajek <highegg@gmail.com>
parents:
10447
diff
changeset
|
143 |
10447
12d25a1d84bf
Use gnulib headers instead of C++ std headers where needed.
David Grundberg <davidg@cs.umu.se>
parents:
10442
diff
changeset
|
144 2010-03-24 David Grundberg <davidg@cs.umu.se> |
12d25a1d84bf
Use gnulib headers instead of C++ std headers where needed.
David Grundberg <davidg@cs.umu.se>
parents:
10442
diff
changeset
|
145 |
12d25a1d84bf
Use gnulib headers instead of C++ std headers where needed.
David Grundberg <davidg@cs.umu.se>
parents:
10442
diff
changeset
|
146 * cmd-edit.cc: Include gnulib stdlib.h/string.h instead of C++ |
12d25a1d84bf
Use gnulib headers instead of C++ std headers where needed.
David Grundberg <davidg@cs.umu.se>
parents:
10442
diff
changeset
|
147 headers. |
12d25a1d84bf
Use gnulib headers instead of C++ std headers where needed.
David Grundberg <davidg@cs.umu.se>
parents:
10442
diff
changeset
|
148 * file-ops.cc: Include gnulib stdlib.h/stdio.h/string.h instead of |
12d25a1d84bf
Use gnulib headers instead of C++ std headers where needed.
David Grundberg <davidg@cs.umu.se>
parents:
10442
diff
changeset
|
149 C++ headers. |
12d25a1d84bf
Use gnulib headers instead of C++ std headers where needed.
David Grundberg <davidg@cs.umu.se>
parents:
10442
diff
changeset
|
150 * lo-math.h: Include gnulib math.h instead of C++ headers. |
12d25a1d84bf
Use gnulib headers instead of C++ std headers where needed.
David Grundberg <davidg@cs.umu.se>
parents:
10442
diff
changeset
|
151 * lo-utils.cc: Include gnulib stdlib.h instead of C++ headers. |
12d25a1d84bf
Use gnulib headers instead of C++ std headers where needed.
David Grundberg <davidg@cs.umu.se>
parents:
10442
diff
changeset
|
152 * oct-env.cc, dir-ops.cc, file-stat.cc, cmd-hist.cc: Include |
12d25a1d84bf
Use gnulib headers instead of C++ std headers where needed.
David Grundberg <davidg@cs.umu.se>
parents:
10442
diff
changeset
|
153 gnulib string.h instead of C++ headers. |
12d25a1d84bf
Use gnulib headers instead of C++ std headers where needed.
David Grundberg <davidg@cs.umu.se>
parents:
10442
diff
changeset
|
154 * oct-time.cc: Include gnulib time.h instead of C++ headers. |
12d25a1d84bf
Use gnulib headers instead of C++ std headers where needed.
David Grundberg <davidg@cs.umu.se>
parents:
10442
diff
changeset
|
155 * oct-time.h (octave_time): Use default namespace ::modf instead |
12d25a1d84bf
Use gnulib headers instead of C++ std headers where needed.
David Grundberg <davidg@cs.umu.se>
parents:
10442
diff
changeset
|
156 of std::modf. |
12d25a1d84bf
Use gnulib headers instead of C++ std headers where needed.
David Grundberg <davidg@cs.umu.se>
parents:
10442
diff
changeset
|
157 * oct-uname.cc: Include gnulib string.h instead of C++ headers. |
12d25a1d84bf
Use gnulib headers instead of C++ std headers where needed.
David Grundberg <davidg@cs.umu.se>
parents:
10442
diff
changeset
|
158 |
10442
3011d1765a6e
improve sparse 2d indexing (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10438
diff
changeset
|
159 2010-03-24 Jaroslav Hajek <highegg@gmail.com> |
3011d1765a6e
improve sparse 2d indexing (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10438
diff
changeset
|
160 |
3011d1765a6e
improve sparse 2d indexing (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10438
diff
changeset
|
161 * Sparse.cc (lblookup): New helper func. |
3011d1765a6e
improve sparse 2d indexing (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10438
diff
changeset
|
162 (Sparse<T>::index (const idx_vector&, bool)): Use it here for lookups. |
3011d1765a6e
improve sparse 2d indexing (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10438
diff
changeset
|
163 (Sparse<T>::index (const idx_vector&, const idx_vector&, bool)): |
3011d1765a6e
improve sparse 2d indexing (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10438
diff
changeset
|
164 Specialize for scalar row index. |
3011d1765a6e
improve sparse 2d indexing (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10438
diff
changeset
|
165 |
10438
44538c4ff9d1
liboctave/config-ops.sh: handle 'all' case correctly
John W. Eaton <jwe@octave.org>
parents:
10436
diff
changeset
|
166 2010-03-23 John W. Eaton <jwe@octave.org> |
44538c4ff9d1
liboctave/config-ops.sh: handle 'all' case correctly
John W. Eaton <jwe@octave.org>
parents:
10436
diff
changeset
|
167 |
44538c4ff9d1
liboctave/config-ops.sh: handle 'all' case correctly
John W. Eaton <jwe@octave.org>
parents:
10436
diff
changeset
|
168 * config-ops.sh: Work properly for "all" cases. |
44538c4ff9d1
liboctave/config-ops.sh: handle 'all' case correctly
John W. Eaton <jwe@octave.org>
parents:
10436
diff
changeset
|
169 |
10436
00219bdd2d17
implement built-in rem and mod
Jaroslav Hajek <highegg@gmail.com>
parents:
10435
diff
changeset
|
170 2010-03-23 Jaroslav Hajek <highegg@gmail.com> |
00219bdd2d17
implement built-in rem and mod
Jaroslav Hajek <highegg@gmail.com>
parents:
10435
diff
changeset
|
171 |
00219bdd2d17
implement built-in rem and mod
Jaroslav Hajek <highegg@gmail.com>
parents:
10435
diff
changeset
|
172 * oct-inttypes.h (octave_int_arith_base::rem, octave_int_base::mod): |
00219bdd2d17
implement built-in rem and mod
Jaroslav Hajek <highegg@gmail.com>
parents:
10435
diff
changeset
|
173 New methods. |
00219bdd2d17
implement built-in rem and mod
Jaroslav Hajek <highegg@gmail.com>
parents:
10435
diff
changeset
|
174 (rem, mod): New template functions. |
00219bdd2d17
implement built-in rem and mod
Jaroslav Hajek <highegg@gmail.com>
parents:
10435
diff
changeset
|
175 * lo-mappers.cc (rem, mod): New overloaded functions. |
00219bdd2d17
implement built-in rem and mod
Jaroslav Hajek <highegg@gmail.com>
parents:
10435
diff
changeset
|
176 * lo-mappers.h: Declare them. |
00219bdd2d17
implement built-in rem and mod
Jaroslav Hajek <highegg@gmail.com>
parents:
10435
diff
changeset
|
177 |
10435
6a271334750c
implement general binary mapping facility
Jaroslav Hajek <highegg@gmail.com>
parents:
10434
diff
changeset
|
178 2010-03-23 Jaroslav Hajek <highegg@gmail.com> |
6a271334750c
implement general binary mapping facility
Jaroslav Hajek <highegg@gmail.com>
parents:
10434
diff
changeset
|
179 |
6a271334750c
implement general binary mapping facility
Jaroslav Hajek <highegg@gmail.com>
parents:
10434
diff
changeset
|
180 * oct-binmap.h: New source. |
6a271334750c
implement general binary mapping facility
Jaroslav Hajek <highegg@gmail.com>
parents:
10434
diff
changeset
|
181 * Makefile.am: Include it here. |
6a271334750c
implement general binary mapping facility
Jaroslav Hajek <highegg@gmail.com>
parents:
10434
diff
changeset
|
182 |
10434
f387c5b3a369
avoid problems if liboctave/config-ops.sh is run in parallel
John W. Eaton <jwe@octave.org>
parents:
10432
diff
changeset
|
183 2010-03-22 John W. Eaton <jwe@octave.org> |
f387c5b3a369
avoid problems if liboctave/config-ops.sh is run in parallel
John W. Eaton <jwe@octave.org>
parents:
10432
diff
changeset
|
184 |
f387c5b3a369
avoid problems if liboctave/config-ops.sh is run in parallel
John W. Eaton <jwe@octave.org>
parents:
10432
diff
changeset
|
185 * config-ops.sh: Accept additional arguments. |
f387c5b3a369
avoid problems if liboctave/config-ops.sh is run in parallel
John W. Eaton <jwe@octave.org>
parents:
10432
diff
changeset
|
186 * Makefile.am ($(srcdir)/vx-op-inc.mk, $(srcdir)/mx-op-inc.mk |
f387c5b3a369
avoid problems if liboctave/config-ops.sh is run in parallel
John W. Eaton <jwe@octave.org>
parents:
10432
diff
changeset
|
187 $(srcdir)/smx-op-inc.mk, $(srcdir)/vx-op-src.mk, $(srcdir)/mx-op-src.mk |
f387c5b3a369
avoid problems if liboctave/config-ops.sh is run in parallel
John W. Eaton <jwe@octave.org>
parents:
10432
diff
changeset
|
188 $(srcdir)/smx-op-src.mk): Pass additional arguments to config-ops.sh. |
f387c5b3a369
avoid problems if liboctave/config-ops.sh is run in parallel
John W. Eaton <jwe@octave.org>
parents:
10432
diff
changeset
|
189 |
10432
10207338603a
improve sparse 2D indexing (part 1)
Jaroslav Hajek <highegg@gmail.com>
parents:
10431
diff
changeset
|
190 2010-03-22 Jaroslav Hajek <highegg@gmail.com> |
10207338603a
improve sparse 2D indexing (part 1)
Jaroslav Hajek <highegg@gmail.com>
parents:
10431
diff
changeset
|
191 |
10207338603a
improve sparse 2D indexing (part 1)
Jaroslav Hajek <highegg@gmail.com>
parents:
10431
diff
changeset
|
192 * Sparse.cc (Sparse<T>::index (const idx_vector&, const idx_vector&, |
10207338603a
improve sparse 2D indexing (part 1)
Jaroslav Hajek <highegg@gmail.com>
parents:
10431
diff
changeset
|
193 bool)): Handle resize_ok in advance. Optimize colon as the first index. |
10207338603a
improve sparse 2D indexing (part 1)
Jaroslav Hajek <highegg@gmail.com>
parents:
10431
diff
changeset
|
194 (Sparse<T>::index (const idx_vector&, bool)): Small fixes. |
10207338603a
improve sparse 2D indexing (part 1)
Jaroslav Hajek <highegg@gmail.com>
parents:
10431
diff
changeset
|
195 |
10431
5dd7a7bf4950
simplify sparse->full conversions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10425
diff
changeset
|
196 2010-03-22 Jaroslav Hajek <highegg@gmail.com> |
5dd7a7bf4950
simplify sparse->full conversions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10425
diff
changeset
|
197 |
5dd7a7bf4950
simplify sparse->full conversions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10425
diff
changeset
|
198 * dSparse.cc (SparseMatrix::matrix_value): Simplify. |
5dd7a7bf4950
simplify sparse->full conversions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10425
diff
changeset
|
199 * CSparse.cc (SparseComplexMatrix::matrix_value): Simplify. |
5dd7a7bf4950
simplify sparse->full conversions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10425
diff
changeset
|
200 |
10425
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
201 2010-03-19 Jaroslav Hajek <highegg@gmail.com> |
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
202 |
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
203 * Array-util.cc (gripe_invalid_resize): Move here from Array.cc. |
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
204 * Array-util.h: Declare it. |
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
205 * Array.cc: Use it. |
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
206 |
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
207 * idx-vector.cc (idx_vector::idx_mask_rep::unconvert): Fix non-owned |
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
208 case. |
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
209 (idx_vector::idx_mask_rep::as_array): New method. |
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
210 * idx-vector.h: Declare it. |
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
211 |
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
212 * Sparse.cc (Sparse<T>::index (const idx_vector&, bool)): Rewrite. |
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
213 (Sparse<T>::array_value): New method. |
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
214 (Sparse<T>::resize1): New method. |
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
215 (Sparse<T>::resize): Move resize_no_fill bodies in here. |
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
216 (Sparse<T>::resize_no_fill): Remove. |
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
217 * Sparse.h: Update decls. |
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
218 |
10421
99e9bae2d81e
improve sparse indexing interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10420
diff
changeset
|
219 2010-03-18 Jaroslav Hajek <highegg@gmail.com> |
99e9bae2d81e
improve sparse indexing interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10420
diff
changeset
|
220 |
99e9bae2d81e
improve sparse indexing interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10420
diff
changeset
|
221 * Sparse.h (Sparse<T>::index): Use const references. Use bool for |
99e9bae2d81e
improve sparse indexing interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10420
diff
changeset
|
222 resize_ok. Remove Array<idx_vector> overload. |
99e9bae2d81e
improve sparse indexing interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10420
diff
changeset
|
223 * MSparse.h (MSparse<T>::index): Ditto. |
99e9bae2d81e
improve sparse indexing interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10420
diff
changeset
|
224 * dSparse.h, dSparse.cc (SparseMatrix::index): Ditto. |
99e9bae2d81e
improve sparse indexing interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10420
diff
changeset
|
225 * CSparse.h, CSparse.cc (SparseComplexMatrix::index): Ditto. |
99e9bae2d81e
improve sparse indexing interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10420
diff
changeset
|
226 * boolSparse.h, boolSparse.cc (SparseBoolMatrix::index): Ditto. |
99e9bae2d81e
improve sparse indexing interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10420
diff
changeset
|
227 * Sparse.cc (Sparse<T>::index): Ditto. Redim index to 2 dimensions. |
99e9bae2d81e
improve sparse indexing interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10420
diff
changeset
|
228 Don't use non-const methods. Use gripe_index_out_of_range. |
99e9bae2d81e
improve sparse indexing interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10420
diff
changeset
|
229 |
10420
3373fdc0b14a
use macro for 2 and 3 arg dim_vector constructors
John W. Eaton <jwe@octave.org>
parents:
10419
diff
changeset
|
230 2010-03-17 John W. Eaton <jwe@octave.org> |
3373fdc0b14a
use macro for 2 and 3 arg dim_vector constructors
John W. Eaton <jwe@octave.org>
parents:
10419
diff
changeset
|
231 |
3373fdc0b14a
use macro for 2 and 3 arg dim_vector constructors
John W. Eaton <jwe@octave.org>
parents:
10419
diff
changeset
|
232 * dim-vector.h (dim_vector): Also use DIM_VECTOR macro for 2 and |
3373fdc0b14a
use macro for 2 and 3 arg dim_vector constructors
John W. Eaton <jwe@octave.org>
parents:
10419
diff
changeset
|
233 3 dimensions. |
3373fdc0b14a
use macro for 2 and 3 arg dim_vector constructors
John W. Eaton <jwe@octave.org>
parents:
10419
diff
changeset
|
234 |
10419
afe44ee90cbd
implement generic macro magic for repeated decls
Jaroslav Hajek <highegg@gmail.com>
parents:
10418
diff
changeset
|
235 2010-03-17 Jaroslav Hajek <highegg@gmail.com> |
afe44ee90cbd
implement generic macro magic for repeated decls
Jaroslav Hajek <highegg@gmail.com>
parents:
10418
diff
changeset
|
236 |
afe44ee90cbd
implement generic macro magic for repeated decls
Jaroslav Hajek <highegg@gmail.com>
parents:
10418
diff
changeset
|
237 * lo-macros.h: New source. |
afe44ee90cbd
implement generic macro magic for repeated decls
Jaroslav Hajek <highegg@gmail.com>
parents:
10418
diff
changeset
|
238 * dim-vector.h: Use the macro magic to define constructors |
afe44ee90cbd
implement generic macro magic for repeated decls
Jaroslav Hajek <highegg@gmail.com>
parents:
10418
diff
changeset
|
239 generically. |
afe44ee90cbd
implement generic macro magic for repeated decls
Jaroslav Hajek <highegg@gmail.com>
parents:
10418
diff
changeset
|
240 |
10418
6c19d6fcd7e5
up to 7th-order dim_vector constructors
Jaroslav Hajek <highegg@gmail.com>
parents:
10414
diff
changeset
|
241 2010-03-17 Jaroslav Hajek <highegg@gmail.com> |
6c19d6fcd7e5
up to 7th-order dim_vector constructors
Jaroslav Hajek <highegg@gmail.com>
parents:
10414
diff
changeset
|
242 |
6c19d6fcd7e5
up to 7th-order dim_vector constructors
Jaroslav Hajek <highegg@gmail.com>
parents:
10414
diff
changeset
|
243 * dim-vector.h: Provide constructors up to order 7. |
6c19d6fcd7e5
up to 7th-order dim_vector constructors
Jaroslav Hajek <highegg@gmail.com>
parents:
10414
diff
changeset
|
244 |
10414
2a8b1db1e2ca
implement built-in cbrt
Jaroslav Hajek <highegg@gmail.com>
parents:
10411
diff
changeset
|
245 2010-03-16 Jaroslav Hajek <highegg@gmail.com> |
2a8b1db1e2ca
implement built-in cbrt
Jaroslav Hajek <highegg@gmail.com>
parents:
10411
diff
changeset
|
246 |
2a8b1db1e2ca
implement built-in cbrt
Jaroslav Hajek <highegg@gmail.com>
parents:
10411
diff
changeset
|
247 * lo-specfun.cc: Substitute cbrt and cbrtf if needed. |
2a8b1db1e2ca
implement built-in cbrt
Jaroslav Hajek <highegg@gmail.com>
parents:
10411
diff
changeset
|
248 * lo-specfun.h: Declare cbrt and cbrtf if needed. |
2a8b1db1e2ca
implement built-in cbrt
Jaroslav Hajek <highegg@gmail.com>
parents:
10411
diff
changeset
|
249 * configure.ac: Check for cbrt and cbrtf. |
2a8b1db1e2ca
implement built-in cbrt
Jaroslav Hajek <highegg@gmail.com>
parents:
10411
diff
changeset
|
250 |
10411 | 251 2010-03-15 John W. Eaton <jwe@octave.org> |
252 | |
253 * oct-glob.cc (octave_glob): Tag calls to glob and globfree with | |
254 gnulib::. | |
255 | |
256 * kpse.cc (DEBUG_START, DEBUGF, FATAL_PERROR, FATAL, KPSE_DEBUG, | |
257 log_search, find_first_of): Tag calls to | |
258 fputs with gnulib::. | |
259 (DEBUGF1, DEBUGF2, DEBUGF3, DEBUGF4, log_search, find_first_of, | |
260 kpse_element_dirs): Tag calls to fprintf with gnulib::. | |
261 (hash_lookup, search, find_first_of, kpse_element_dirs): | |
262 Tag calls to putc with gnulib::. | |
263 (do_subdir): Tag call to opendir with gnulib::. | |
264 (xclosedir): Tag call to closedir with gnulib::. Assume closedir | |
265 returns int value. | |
266 | |
267 * cmd-hist.cc (gnu_history::do_append): Tag calls to open and | |
268 close with gnulib::. | |
269 (command_history::error): Tag call to strerror with gnulib::. | |
270 | |
271 * cmd-edit.cc (gnu_readline::command_generator, | |
272 gnu_readline::command_quoter, gnu_readline::command_dequoter): | |
273 Tag call to malloc with gnulib::. | |
274 (default_command_editor::do_readline): Tag call to fputs with gnulib::. | |
275 (command_editor::error): Tag call to strerror with gnulib::. | |
276 | |
277 * sparse-util.cc (SparseCholPrint): Tag call to vfprintf with gnulib::. | |
278 | |
279 * oct-uname.cc (octave_uname::init): Tag call to strerror with gnulib::. | |
280 | |
281 * oct-time.cc (octave_time::stamp): Tag call to gettimeofday | |
282 with gnulib::. | |
283 (octave_strptime::init): Tag call to strptime with gnulib::. | |
284 | |
285 * oct-syscalls.cc (octave_syscalls::dup2, | |
286 octave_syscalls::execvp, octave_syscalls::fork, | |
287 octave_syscalls::vfork, octave_syscalls::getpgrp, | |
288 octave_syscalls::pipe, octave_syscalls::waitpid, | |
289 octave_syscalls::kill, octave_fcntl): | |
290 Tag call to strerror with gnulib::. | |
291 (octave_syscalls::dup2): Tag call to dup2 with gnulib::. | |
292 (octave_syscalls::popen2): Tag calls to close with gnulib::. | |
293 (octave_fcntl): Tag call to fcntl with gnulib::. | |
294 | |
295 * oct-env.cc (octave_env::error): Tag call to strerror with gnulib::. | |
296 | |
297 * lo-utils.cc (octave_putenv): Tag call to malloc with gnulib::. | |
298 (octave_fgets): Tag calls to malloc and realloc with gnulib::. | |
299 | |
300 * lo-sysdep.cc (octave_getcwd): Tag call to getcwd with gnulib::. | |
301 | |
302 * lo-mappers.cc (xround): Tag call to round with gnulib::. | |
303 | |
304 * file-stat.cc (file_stat::update_internal): Tag calls to lstat | |
305 and strerror with gnulib::. | |
306 (file_fstat::update_internal): Tag calls to fstat and strerror | |
307 with gnulib::. | |
308 | |
309 * file-ops.cc (octave_mkdir): Tag call to mkdir with gnulib::. | |
310 (octave_mkfifo): Tag call to mkfifo with gnulib::. | |
311 (octave_link): Tag call to link with gnulib::. | |
312 (octave_symlink): Tag call to symlink with gnulib::. | |
313 (octave_readlink): Tag call to readlink with gnulib::. | |
314 (octave_rename): Tag call to rename with gnulib::. | |
315 (octave_rmdir): Tag call to rmdir with gnulib::. | |
316 (octave_unlink): Tag call to unlink with gnulib::. | |
317 (octave_canonicalize_file_name): Tag call to | |
318 canonicalize_file_name with gnulib::. | |
319 (octave_mkdir, octave_mkfifo, octave_link, octave_symlink, | |
320 octave_readlink, octave_rename, octave_rmdir, octave_unlink, | |
321 octave_tempnam, octave_canonicalize_file_name): Tag calls to | |
322 strerror with gnulib::. | |
323 | |
324 * dir-ops.cc (dir_entry::close): Tag closedir call with gnulib::. | |
325 (dir_entry::open): Tag opendir and strerror calls with gnulib::. | |
326 | |
10405
cc69a17ec801
remove integer math warnings
Jaroslav Hajek <highegg@gmail.com>
parents:
10403
diff
changeset
|
327 2010-03-09 Jaroslav Hajek <highegg@gmail.com> |
cc69a17ec801
remove integer math warnings
Jaroslav Hajek <highegg@gmail.com>
parents:
10403
diff
changeset
|
328 |
cc69a17ec801
remove integer math warnings
Jaroslav Hajek <highegg@gmail.com>
parents:
10403
diff
changeset
|
329 * oct-inttypes.h (octave_int_base::ftrunc, octave_int_base::fnon_int, |
cc69a17ec801
remove integer math warnings
Jaroslav Hajek <highegg@gmail.com>
parents:
10403
diff
changeset
|
330 octave_int_base::fnan, octave_int_base::get_trunc_flag, |
cc69a17ec801
remove integer math warnings
Jaroslav Hajek <highegg@gmail.com>
parents:
10403
diff
changeset
|
331 octave_int_base::get_nan_flag, |
cc69a17ec801
remove integer math warnings
Jaroslav Hajek <highegg@gmail.com>
parents:
10403
diff
changeset
|
332 octave_int_base::get_non_int_flag, |
cc69a17ec801
remove integer math warnings
Jaroslav Hajek <highegg@gmail.com>
parents:
10403
diff
changeset
|
333 octave_int_base::get_math_trunc_flag, |
cc69a17ec801
remove integer math warnings
Jaroslav Hajek <highegg@gmail.com>
parents:
10403
diff
changeset
|
334 octave_int_base::clear_conv_flags): Remove. |
cc69a17ec801
remove integer math warnings
Jaroslav Hajek <highegg@gmail.com>
parents:
10403
diff
changeset
|
335 Remove occurences of ftrunc, fnon_int and fnan eveywhere. |
cc69a17ec801
remove integer math warnings
Jaroslav Hajek <highegg@gmail.com>
parents:
10403
diff
changeset
|
336 * oct-inttypes.cc: Ditto last sentence. Remove warning tests. |
cc69a17ec801
remove integer math warnings
Jaroslav Hajek <highegg@gmail.com>
parents:
10403
diff
changeset
|
337 |
10403
69ecfbffcf4f
liboctave/dim-vector.h: New constructor accepting a C array of dimensions.
Soren Hauberg <hauberg@gmail.com>
parents:
10396
diff
changeset
|
338 2010-03-07 Soren Hauberg <hauberg@gmail.com> |
69ecfbffcf4f
liboctave/dim-vector.h: New constructor accepting a C array of dimensions.
Soren Hauberg <hauberg@gmail.com>
parents:
10396
diff
changeset
|
339 |
69ecfbffcf4f
liboctave/dim-vector.h: New constructor accepting a C array of dimensions.
Soren Hauberg <hauberg@gmail.com>
parents:
10396
diff
changeset
|
340 * dim-vector.h: New constructor accepting a C array of dimensions. |
69ecfbffcf4f
liboctave/dim-vector.h: New constructor accepting a C array of dimensions.
Soren Hauberg <hauberg@gmail.com>
parents:
10396
diff
changeset
|
341 |
10396
a0b51ac0f88a
optimize accumdim with summation
Jaroslav Hajek <highegg@gmail.com>
parents:
10391
diff
changeset
|
342 2010-03-05 Jaroslav Hajek <highegg@gmail.com> |
a0b51ac0f88a
optimize accumdim with summation
Jaroslav Hajek <highegg@gmail.com>
parents:
10391
diff
changeset
|
343 |
a0b51ac0f88a
optimize accumdim with summation
Jaroslav Hajek <highegg@gmail.com>
parents:
10391
diff
changeset
|
344 * MArray.cc (MArray<T>::idx_add_nd): New method. |
a0b51ac0f88a
optimize accumdim with summation
Jaroslav Hajek <highegg@gmail.com>
parents:
10391
diff
changeset
|
345 * MArray.h: Declare it. |
a0b51ac0f88a
optimize accumdim with summation
Jaroslav Hajek <highegg@gmail.com>
parents:
10391
diff
changeset
|
346 |
10391
59e34bcdff13
implement built-in erfcx
Jaroslav Hajek <highegg@gmail.com>
parents:
10389
diff
changeset
|
347 2010-03-04 Jaroslav Hajek <highegg@gmail.com> |
59e34bcdff13
implement built-in erfcx
Jaroslav Hajek <highegg@gmail.com>
parents:
10389
diff
changeset
|
348 |
59e34bcdff13
implement built-in erfcx
Jaroslav Hajek <highegg@gmail.com>
parents:
10389
diff
changeset
|
349 * lo-specfun.cc (erfcx, erfcx_impl): New functions. |
59e34bcdff13
implement built-in erfcx
Jaroslav Hajek <highegg@gmail.com>
parents:
10389
diff
changeset
|
350 * lo-specfun.h: Declare erfcx. |
59e34bcdff13
implement built-in erfcx
Jaroslav Hajek <highegg@gmail.com>
parents:
10389
diff
changeset
|
351 |
10389
8a551f02f10d
oct-convn.cc (convolve): cast int constant to octave_idx_type in call to std::max
John W. Eaton <jwe@octave.org>
parents:
10388
diff
changeset
|
352 2010-03-03 John W. Eaton <jwe@octave.org> |
8a551f02f10d
oct-convn.cc (convolve): cast int constant to octave_idx_type in call to std::max
John W. Eaton <jwe@octave.org>
parents:
10388
diff
changeset
|
353 |
8a551f02f10d
oct-convn.cc (convolve): cast int constant to octave_idx_type in call to std::max
John W. Eaton <jwe@octave.org>
parents:
10388
diff
changeset
|
354 * oct-convn.cc (convolve): Cast int constant to octave_idx_type in |
8a551f02f10d
oct-convn.cc (convolve): cast int constant to octave_idx_type in call to std::max
John W. Eaton <jwe@octave.org>
parents:
10388
diff
changeset
|
355 call to std::max. |
8a551f02f10d
oct-convn.cc (convolve): cast int constant to octave_idx_type in call to std::max
John W. Eaton <jwe@octave.org>
parents:
10388
diff
changeset
|
356 |
10388
5af0b4bb384d
rewrite convn optimizations based on xAXPY
Jaroslav Hajek <highegg@gmail.com>
parents:
10384
diff
changeset
|
357 2010-03-03 Jaroslav Hajek <highegg@gmail.com> |
5af0b4bb384d
rewrite convn optimizations based on xAXPY
Jaroslav Hajek <highegg@gmail.com>
parents:
10384
diff
changeset
|
358 |
5af0b4bb384d
rewrite convn optimizations based on xAXPY
Jaroslav Hajek <highegg@gmail.com>
parents:
10384
diff
changeset
|
359 * oct-convn.cc (convolve_2d_axpy_kernel, convolve_2d_axpy): Remove. |
5af0b4bb384d
rewrite convn optimizations based on xAXPY
Jaroslav Hajek <highegg@gmail.com>
parents:
10384
diff
changeset
|
360 (convolve_2d): Forward to Fortran implementations, add inner flag. |
5af0b4bb384d
rewrite convn optimizations based on xAXPY
Jaroslav Hajek <highegg@gmail.com>
parents:
10384
diff
changeset
|
361 (convolve_nd): Handle inner-convolution case. |
5af0b4bb384d
rewrite convn optimizations based on xAXPY
Jaroslav Hajek <highegg@gmail.com>
parents:
10384
diff
changeset
|
362 (convolve): Ditto. |
5af0b4bb384d
rewrite convn optimizations based on xAXPY
Jaroslav Hajek <highegg@gmail.com>
parents:
10384
diff
changeset
|
363 |
10384
978f5c94b11f
initial implementation of conv2/convn in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10383
diff
changeset
|
364 2010-03-02 Jaroslav Hajek <highegg@gmail.com> |
978f5c94b11f
initial implementation of conv2/convn in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10383
diff
changeset
|
365 |
978f5c94b11f
initial implementation of conv2/convn in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10383
diff
changeset
|
366 * oct-convn.h, oct-convn.cc: New sources. |
978f5c94b11f
initial implementation of conv2/convn in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10383
diff
changeset
|
367 * Makefile.am: Include them. |
978f5c94b11f
initial implementation of conv2/convn in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10383
diff
changeset
|
368 |
10383
796258b94b22
Changelog for previous change
David Bateman <dbateman@free.fr>
parents:
10376
diff
changeset
|
369 2010-03-01 David Bateman <dbateman@free.fr> |
796258b94b22
Changelog for previous change
David Bateman <dbateman@free.fr>
parents:
10376
diff
changeset
|
370 |
796258b94b22
Changelog for previous change
David Bateman <dbateman@free.fr>
parents:
10376
diff
changeset
|
371 * Sparse.cc (Sparse<T>::maybe_delete_elements (idxx_vector&)): |
796258b94b22
Changelog for previous change
David Bateman <dbateman@free.fr>
parents:
10376
diff
changeset
|
372 Special case the deletion of elements in sparse vectors. |
796258b94b22
Changelog for previous change
David Bateman <dbateman@free.fr>
parents:
10376
diff
changeset
|
373 (Sparse<T>::index (idx_vector&, int) const): Special case indexing |
796258b94b22
Changelog for previous change
David Bateman <dbateman@free.fr>
parents:
10376
diff
changeset
|
374 of sparse matrices with ranges with a step of 1. |
796258b94b22
Changelog for previous change
David Bateman <dbateman@free.fr>
parents:
10376
diff
changeset
|
375 * Sparse.h: Include oct-mem.h for the copy_or_memcpy declaration. |
796258b94b22
Changelog for previous change
David Bateman <dbateman@free.fr>
parents:
10376
diff
changeset
|
376 |
10376
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
10374
diff
changeset
|
377 2010-02-28 John W. Eaton <jwe@octave.org> |
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
10374
diff
changeset
|
378 |
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
10374
diff
changeset
|
379 * Makefile.am ($(srcdir)/vx-op-inc.mk, $(srcdir)/mx-op-inc.mk, |
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
10374
diff
changeset
|
380 $(srcdir)/smx-op-inc.mk, $(srcdir)/vx-op-src.mk, |
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
10374
diff
changeset
|
381 $(srcdir)/mx-op-src.mk, $(srcdir)/smx-op-src.mk): New targets. |
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
10374
diff
changeset
|
382 |
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
10374
diff
changeset
|
383 * config-ops.sh: Accept top_srcdir argument. Work from build |
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
10374
diff
changeset
|
384 directory too, not just source tree. |
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
10374
diff
changeset
|
385 |
10374
950c23c26f87
Remove obsolete DiagArray2::Proxy explicit instantiations.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10370
diff
changeset
|
386 2010-02-28 Michael Goffioul <michael.goffioul@gmail.com> |
950c23c26f87
Remove obsolete DiagArray2::Proxy explicit instantiations.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10370
diff
changeset
|
387 |
950c23c26f87
Remove obsolete DiagArray2::Proxy explicit instantiations.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10370
diff
changeset
|
388 * Array-C.cc (DiagArray2<Complex>::Proxy): Remove explicit |
950c23c26f87
Remove obsolete DiagArray2::Proxy explicit instantiations.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10370
diff
changeset
|
389 instantiation under MSVC. |
950c23c26f87
Remove obsolete DiagArray2::Proxy explicit instantiations.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10370
diff
changeset
|
390 Array-d.cc (DiagArray2<double>::Proxy): Ditto. |
950c23c26f87
Remove obsolete DiagArray2::Proxy explicit instantiations.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10370
diff
changeset
|
391 Array-f.cc (DiagArray2<float>::Proxy): Ditto. |
950c23c26f87
Remove obsolete DiagArray2::Proxy explicit instantiations.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10370
diff
changeset
|
392 Array-fC.cc (DiagArray2<FloatComplex::Proxy): Ditto. |
950c23c26f87
Remove obsolete DiagArray2::Proxy explicit instantiations.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10370
diff
changeset
|
393 |
10370
9c4daf174387
implement IDs for common liboctave exceptions
Jaroslav Hajek <highegg@gmail.com>
parents:
10367
diff
changeset
|
394 2010-02-28 Jaroslav Hajek <highegg@gmail.com> |
9c4daf174387
implement IDs for common liboctave exceptions
Jaroslav Hajek <highegg@gmail.com>
parents:
10367
diff
changeset
|
395 |
9c4daf174387
implement IDs for common liboctave exceptions
Jaroslav Hajek <highegg@gmail.com>
parents:
10367
diff
changeset
|
396 * Array-util.cc (gripe_index_out_of_range): Throw errors with id. |
9c4daf174387
implement IDs for common liboctave exceptions
Jaroslav Hajek <highegg@gmail.com>
parents:
10367
diff
changeset
|
397 (gripe_nonconformant): Likewise. |
9c4daf174387
implement IDs for common liboctave exceptions
Jaroslav Hajek <highegg@gmail.com>
parents:
10367
diff
changeset
|
398 (error_id_index_out_of_bounds, error_id_invalid_index, |
9c4daf174387
implement IDs for common liboctave exceptions
Jaroslav Hajek <highegg@gmail.com>
parents:
10367
diff
changeset
|
399 error_id_nonconformant_args): New variables. |
9c4daf174387
implement IDs for common liboctave exceptions
Jaroslav Hajek <highegg@gmail.com>
parents:
10367
diff
changeset
|
400 (gripe_invalid_index): New function. |
9c4daf174387
implement IDs for common liboctave exceptions
Jaroslav Hajek <highegg@gmail.com>
parents:
10367
diff
changeset
|
401 * Array-util.h: Declare them. |
9c4daf174387
implement IDs for common liboctave exceptions
Jaroslav Hajek <highegg@gmail.com>
parents:
10367
diff
changeset
|
402 * Array.cc (Array<T>::checkelem): Throw invalid-index when negative |
9c4daf174387
implement IDs for common liboctave exceptions
Jaroslav Hajek <highegg@gmail.com>
parents:
10367
diff
changeset
|
403 indices are encountered. |
9c4daf174387
implement IDs for common liboctave exceptions
Jaroslav Hajek <highegg@gmail.com>
parents:
10367
diff
changeset
|
404 |
10367
173e10268080
avoid indexing nonexistent elements in sparse diag
John W. Eaton <jwe@octave.org>
parents:
10366
diff
changeset
|
405 2010-02-27 John W. Eaton <jwe@octave.org> |
173e10268080
avoid indexing nonexistent elements in sparse diag
John W. Eaton <jwe@octave.org>
parents:
10366
diff
changeset
|
406 |
173e10268080
avoid indexing nonexistent elements in sparse diag
John W. Eaton <jwe@octave.org>
parents:
10366
diff
changeset
|
407 * Sparse.cc (Sparse<T>::diag): Handle case of diag (szv) when szv |
173e10268080
avoid indexing nonexistent elements in sparse diag
John W. Eaton <jwe@octave.org>
parents:
10366
diff
changeset
|
408 is a sparse vector with nnz = 0. |
173e10268080
avoid indexing nonexistent elements in sparse diag
John W. Eaton <jwe@octave.org>
parents:
10366
diff
changeset
|
409 |
10366
e5ae13b8b2c2
improve Array indexing error messages
Jaroslav Hajek <highegg@gmail.com>
parents:
10365
diff
changeset
|
410 2010-02-27 Jaroslav Hajek <highegg@gmail.com> |
e5ae13b8b2c2
improve Array indexing error messages
Jaroslav Hajek <highegg@gmail.com>
parents:
10365
diff
changeset
|
411 |
e5ae13b8b2c2
improve Array indexing error messages
Jaroslav Hajek <highegg@gmail.com>
parents:
10365
diff
changeset
|
412 * Array-util.cc (gripe_index_out_of_range): New function. |
e5ae13b8b2c2
improve Array indexing error messages
Jaroslav Hajek <highegg@gmail.com>
parents:
10365
diff
changeset
|
413 * Array.cc (Array<T>::range_error): Remove. |
e5ae13b8b2c2
improve Array indexing error messages
Jaroslav Hajek <highegg@gmail.com>
parents:
10365
diff
changeset
|
414 (Array<T>::checkelem): Rewrite. |
e5ae13b8b2c2
improve Array indexing error messages
Jaroslav Hajek <highegg@gmail.com>
parents:
10365
diff
changeset
|
415 (Array<T>::index, Array<T>::delete_elements): Simplify. |
e5ae13b8b2c2
improve Array indexing error messages
Jaroslav Hajek <highegg@gmail.com>
parents:
10365
diff
changeset
|
416 * DiagArray2.cc (DiagArray2::checkelem): Use gripe_index_out_of_range. |
e5ae13b8b2c2
improve Array indexing error messages
Jaroslav Hajek <highegg@gmail.com>
parents:
10365
diff
changeset
|
417 * Range.cc (Range::checkelem, Range::index): Ditto. |
e5ae13b8b2c2
improve Array indexing error messages
Jaroslav Hajek <highegg@gmail.com>
parents:
10365
diff
changeset
|
418 |
10365
532802559f39
remove mx_*_dup relics from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10364
diff
changeset
|
419 2010-02-26 Jaroslav Hajek <highegg@gmail.com> |
532802559f39
remove mx_*_dup relics from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10364
diff
changeset
|
420 |
532802559f39
remove mx_*_dup relics from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10364
diff
changeset
|
421 * mx-inlines.cc (OP_DUP_FCN): Remove. |
532802559f39
remove mx_*_dup relics from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10364
diff
changeset
|
422 (mx_inline_dup): Remove. |
532802559f39
remove mx_*_dup relics from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10364
diff
changeset
|
423 (mx_inline_not): Remove. |
532802559f39
remove mx_*_dup relics from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10364
diff
changeset
|
424 (mx_inline_make_complex): Remove. |
532802559f39
remove mx_*_dup relics from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10364
diff
changeset
|
425 (mx_inline_change_sign): Remove. |
532802559f39
remove mx_*_dup relics from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10364
diff
changeset
|
426 (mx_inline_fabs_dup): Remove. |
532802559f39
remove mx_*_dup relics from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10364
diff
changeset
|
427 (mx_inline_cabs_dup): Remove. |
532802559f39
remove mx_*_dup relics from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10364
diff
changeset
|
428 (mx_inline_imag_dup): Remove. |
532802559f39
remove mx_*_dup relics from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10364
diff
changeset
|
429 (mx_inline_real_dup): Remove. |
532802559f39
remove mx_*_dup relics from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10364
diff
changeset
|
430 (mx_inline_conj_dup): Remove. |
532802559f39
remove mx_*_dup relics from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10364
diff
changeset
|
431 (mx_inline_change_sign): Remove. |
532802559f39
remove mx_*_dup relics from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10364
diff
changeset
|
432 |
10364
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
433 2010-02-26 Jaroslav Hajek <highegg@gmail.com> |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
434 |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
435 * Array.h (Array<T>::ArrayRep): Simplify copy constructor. Add |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
436 conversion constructor. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
437 (Array<T>): Remove pointer acquiring ctors. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
438 (Array<T>::maybe_economize): Update. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
439 (Array<T>::make_unique): Update. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
440 * Array.cc (Array<T>::fill): Update. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
441 |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
442 * MArray.h (MArray<T>::MArray<T> (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
443 * DiagArray2.h (DiagArray2<T>::DiagArray2<T> (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
444 * MDiagArray2.h (MDiagArray2<T>::MDiagArray2<T> (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
445 * Array3.h (Array3<T>::Array3<T> (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
446 |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
447 * dColVector.h (ColumnVector::ColumnVector (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
448 * fColVector.h (FloatColumnVector::FloatColumnVector (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
449 * CColVector.h (ComplexColumnVector::ComplexColumnVector (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
450 * fCColVector.h (FloatComplexColumnVector::FloatComplexColumnVector (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
451 |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
452 * dRowVector.h (RowVector::RowVector (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
453 * fRowVector.h (FloatRowVector::FloatRowVector (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
454 * CRowVector.h (ComplexRowVector::ComplexRowVector (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
455 * fCRowVector.h (FloatComplexRowVector::FloatComplexRowVector (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
456 |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
457 * dMatrix.h (Matrix::Matrix (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
458 * fMatrix.h (FloatMatrix::FloatMatrix (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
459 * CMatrix.h (ComplexMatrix::ComplexMatrix (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
460 * fCMatrix.h (FloatComplexMatrix::FloatComplexMatrix (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
461 * boolMatrix.h (boolMatrix::boolMatrix (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
462 * chMatrix.h (charMatrix::charMatrix (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
463 |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
464 * dNDArray.h (NDArray::NDArray (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
465 * fNDArray.h (FloatNDArray::FloatNDArray (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
466 * CNDArray.h (ComplexNDArray::ComplexNDArray (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
467 * fCNDArray.h (FloatComplexNDArray::FloatComplexNDArray (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
468 * boolNDArray.h (boolNDArray::boolNDArray (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
469 * chNDArray.h (charNDArray::charNDArray (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
470 |
10363
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
471 2010-02-26 Jaroslav Hajek <highegg@gmail.com> |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
472 |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
473 * DiagArray2.h (DiagArray2): Clean up ctors. Remove Proxy class. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
474 Remove non-const two-index elem methods. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
475 * DiagArray2.cc: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
476 * MDiagArray2.h: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
477 |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
478 * dDiagArray2.h: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
479 * dDiagArray2.cc: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
480 * fDiagArray2.h: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
481 * fDiagArray2.cc: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
482 * CDiagArray2.h: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
483 * CDiagArray2.cc: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
484 * fCDiagArray2.h: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
485 * fCDiagArray2.cc: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
486 |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
487 * dMatrix.cc: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
488 * fMatrix.cc: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
489 * CMatrix.cc: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
490 * fCMatrix.cc: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
491 |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
492 * dRowVector.cc: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
493 * fRowVector.cc: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
494 * CRowVector.cc: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
495 * fCRowVector.cc: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
496 |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
497 * dColVector.cc: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
498 * fColVector.cc: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
499 * CColVector.cc: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
500 * fCColVector.cc: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
501 |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
502 * dColVector.cc (ColumnVector::abs): New method. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
503 * dColVector.h: Declare it. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
504 * fColVector.cc (FloatColumnVector::abs): New method. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
505 * fColVector.h: Declare it. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
506 * CColVector.cc (ComplexColumnVector::abs): New method. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
507 * CColVector.h: Declare it. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
508 * fCColVector.cc (FloatComplexColumnVector::abs): New method. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
509 * fCColVector.h: Declare it. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
510 |
10362
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
511 2010-02-26 Jaroslav Hajek <highegg@gmail.com> |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
512 |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
513 * mx-inlines.cc: Parameterize all appliers by value types rather than |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
514 Array types. Return & accept Array instances. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
515 * mx-op-defs.h: Update references. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
516 * CMatrix.cc: Ditto. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
517 * CNDArray.cc: Ditto. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
518 * DiagArray2.h: Ditto. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
519 * MArray.cc: Ditto. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
520 * boolMatrix.cc: Ditto. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
521 * boolNDArray.cc: Ditto. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
522 * bsxfun-defs.cc: Ditto. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
523 * chMatrix.cc: Ditto. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
524 * chNDArray.cc: Ditto. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
525 * dMatrix.cc: Ditto. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
526 * dNDArray.cc: Ditto. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
527 * fCMatrix.cc: Ditto. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
528 * fCNDArray.cc: Ditto. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
529 * fMatrix.cc: Ditto. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
530 * fNDArray.cc: Ditto. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
531 * intNDArray.cc: Ditto. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
532 * MDiagArray2.cc: Remove computed assignment operators, adapt |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
533 operators to new mechanism. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
534 * MDiagArray2.h: Declare operators as friends. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
535 * MArray-decl.h (MDIAGARRAY2_OPS_FRIEND_DECLS): Don't expand |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
536 MARRAY_OP_ASSIGN_FRIENDS here. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
537 |
10361
b4f67ca318d8
eigs-base.cc: fix prototypes for arpack functions
John W. Eaton <jwe@octave.org>
parents:
10359
diff
changeset
|
538 2010-02-25 John W. Eaton <jwe@octave.org> |
b4f67ca318d8
eigs-base.cc: fix prototypes for arpack functions
John W. Eaton <jwe@octave.org>
parents:
10359
diff
changeset
|
539 |
b4f67ca318d8
eigs-base.cc: fix prototypes for arpack functions
John W. Eaton <jwe@octave.org>
parents:
10359
diff
changeset
|
540 * eigs-base.cc: Use octave_idx_type for Fortran LOGICAL values |
b4f67ca318d8
eigs-base.cc: fix prototypes for arpack functions
John W. Eaton <jwe@octave.org>
parents:
10359
diff
changeset
|
541 in function prototypes. |
b4f67ca318d8
eigs-base.cc: fix prototypes for arpack functions
John W. Eaton <jwe@octave.org>
parents:
10359
diff
changeset
|
542 (EigsRealSymmetricMatrix, EigsRealSymmetricMatrixShift, |
b4f67ca318d8
eigs-base.cc: fix prototypes for arpack functions
John W. Eaton <jwe@octave.org>
parents:
10359
diff
changeset
|
543 EigsRealSymmetricFunc, EigsRealNonSymmetricMatrix, |
b4f67ca318d8
eigs-base.cc: fix prototypes for arpack functions
John W. Eaton <jwe@octave.org>
parents:
10359
diff
changeset
|
544 EigsRealNonSymmetricMatrixShift, EigsRealNonSymmetricFunc, |
b4f67ca318d8
eigs-base.cc: fix prototypes for arpack functions
John W. Eaton <jwe@octave.org>
parents:
10359
diff
changeset
|
545 EigsComplexNonSymmetricMatrix, EigsComplexNonSymmetricMatrixShift, |
b4f67ca318d8
eigs-base.cc: fix prototypes for arpack functions
John W. Eaton <jwe@octave.org>
parents:
10359
diff
changeset
|
546 EigsComplexNonSymmetricFunc): Declare rvec argument as bool, not int. |
b4f67ca318d8
eigs-base.cc: fix prototypes for arpack functions
John W. Eaton <jwe@octave.org>
parents:
10359
diff
changeset
|
547 Fix explicit instantiations to match. |
b4f67ca318d8
eigs-base.cc: fix prototypes for arpack functions
John W. Eaton <jwe@octave.org>
parents:
10359
diff
changeset
|
548 |
10359
ec05728ce7f0
guard against >2GB allocations with 32-bit ptrs on weird platforms
Jaroslav Hajek <highegg@gmail.com>
parents:
10358
diff
changeset
|
549 2010-02-25 Jaroslav Hajek <highegg@gmail.com> |
ec05728ce7f0
guard against >2GB allocations with 32-bit ptrs on weird platforms
Jaroslav Hajek <highegg@gmail.com>
parents:
10358
diff
changeset
|
550 |
ec05728ce7f0
guard against >2GB allocations with 32-bit ptrs on weird platforms
Jaroslav Hajek <highegg@gmail.com>
parents:
10358
diff
changeset
|
551 * oct-mem.h (safe_size_comp): New helper func. |
ec05728ce7f0
guard against >2GB allocations with 32-bit ptrs on weird platforms
Jaroslav Hajek <highegg@gmail.com>
parents:
10358
diff
changeset
|
552 (no_ctor_new): Call it here. |
ec05728ce7f0
guard against >2GB allocations with 32-bit ptrs on weird platforms
Jaroslav Hajek <highegg@gmail.com>
parents:
10358
diff
changeset
|
553 |
10358
72fab01e5d68
improve some size_t queries
Jaroslav Hajek <highegg@gmail.com>
parents:
10355
diff
changeset
|
554 2010-02-25 Jaroslav Hajek <highegg@gmail.com> |
72fab01e5d68
improve some size_t queries
Jaroslav Hajek <highegg@gmail.com>
parents:
10355
diff
changeset
|
555 |
72fab01e5d68
improve some size_t queries
Jaroslav Hajek <highegg@gmail.com>
parents:
10355
diff
changeset
|
556 * oct-mem.h (copy_or_memcpy, fill_or_memset, no_ctor_new): Accept |
72fab01e5d68
improve some size_t queries
Jaroslav Hajek <highegg@gmail.com>
parents:
10355
diff
changeset
|
557 size_t rather than octave_idx_type. |
72fab01e5d68
improve some size_t queries
Jaroslav Hajek <highegg@gmail.com>
parents:
10355
diff
changeset
|
558 * Array.h (Array<T>::byte_size): Correct calculation. |
72fab01e5d68
improve some size_t queries
Jaroslav Hajek <highegg@gmail.com>
parents:
10355
diff
changeset
|
559 * DiagArray2.h (DiagArray2<T>::byte_size): Call inherited byte_size. |
72fab01e5d68
improve some size_t queries
Jaroslav Hajek <highegg@gmail.com>
parents:
10355
diff
changeset
|
560 * PermMatrix.h (PermMatrix::byte_size): Ditto. |
72fab01e5d68
improve some size_t queries
Jaroslav Hajek <highegg@gmail.com>
parents:
10355
diff
changeset
|
561 |
10355
f9347eac65dc
make string_vector be a column vector as it used to be
Jaroslav Hajek <highegg@gmail.com>
parents:
10352
diff
changeset
|
562 2010-02-25 Jaroslav Hajek <highegg@gmail.com> |
f9347eac65dc
make string_vector be a column vector as it used to be
Jaroslav Hajek <highegg@gmail.com>
parents:
10352
diff
changeset
|
563 |
f9347eac65dc
make string_vector be a column vector as it used to be
Jaroslav Hajek <highegg@gmail.com>
parents:
10352
diff
changeset
|
564 * str-vec.h (string_vector::string_vector): Use (n, 1). |
f9347eac65dc
make string_vector be a column vector as it used to be
Jaroslav Hajek <highegg@gmail.com>
parents:
10352
diff
changeset
|
565 (string_vector::resize): Ditto. |
f9347eac65dc
make string_vector be a column vector as it used to be
Jaroslav Hajek <highegg@gmail.com>
parents:
10352
diff
changeset
|
566 * str-vec.cc (string_vector::string_vector): Ditto. |
f9347eac65dc
make string_vector be a column vector as it used to be
Jaroslav Hajek <highegg@gmail.com>
parents:
10352
diff
changeset
|
567 |
10352 | 568 2010-02-24 Jaroslav Hajek <highegg@gmail.com> |
569 | |
570 * Array.cc (Array::Array (const Array&, octave_idx_type, | |
571 octave_idx_type): New ctor. | |
572 (Array::reshape (octave_idx_type, octave_idx_type): New method. | |
573 * Array.h: Declare them. | |
574 * Array2.h: Deprecate Array2, make it a #define for Array. | |
575 | |
576 * Array-C.cc: Remove Array2 instantiation. | |
577 * Array-b.cc: Ditto. | |
578 * Array-ch.cc: Ditto. | |
579 * Array-d.cc: Ditto. | |
580 * Array-f.cc: Ditto. | |
581 * Array-fC.cc: Ditto. | |
582 * Array-i.cc: Ditto. | |
583 * Array-s.cc: Ditto. | |
584 * Array-voidp.cc: Ditto. | |
585 | |
586 * CMatrix.cc: Use Array instead of Array2 everywhere. | |
587 * CMatrix.h: Ditto. | |
588 * CNDArray.cc: Ditto. | |
589 * DiagArray2.cc: Ditto. | |
590 * DiagArray2.h: Ditto. | |
591 * MDiagArray2.h: Ditto. | |
592 * Sparse.cc: Ditto. | |
593 * Sparse.h: Ditto. | |
594 * boolMatrix.h: Ditto. | |
595 * boolNDArray.cc: Ditto. | |
596 * chMatrix.h: Ditto. | |
597 * chNDArray.cc: Ditto. | |
598 * dMatrix.cc: Ditto. | |
599 * dMatrix.h: Ditto. | |
600 * dNDArray.cc: Ditto. | |
601 * fCMatrix.cc: Ditto. | |
602 * fCMatrix.h: Ditto. | |
603 * fCNDArray.cc: Ditto. | |
604 * fMatrix.cc: Ditto. | |
605 * fMatrix.h: Ditto. | |
606 * fNDArray.cc: Ditto. | |
607 * lo-specfun.cc: Ditto. | |
608 * lo-specfun.h: Ditto. | |
609 | |
10351
5150ceb4dbb4
base charMatrix and boolMatrix on Array<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10350
diff
changeset
|
610 2010-02-23 Jaroslav Hajek <highegg@gmail.com> |
5150ceb4dbb4
base charMatrix and boolMatrix on Array<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10350
diff
changeset
|
611 |
5150ceb4dbb4
base charMatrix and boolMatrix on Array<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10350
diff
changeset
|
612 * chMatrix.h (charMatrix): Base on Array<char>. |
5150ceb4dbb4
base charMatrix and boolMatrix on Array<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10350
diff
changeset
|
613 * chMatrix.cc (charMatrix): Update. |
5150ceb4dbb4
base charMatrix and boolMatrix on Array<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10350
diff
changeset
|
614 * boolMatrix.h (boolMatrix): Ditto. |
5150ceb4dbb4
base charMatrix and boolMatrix on Array<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10350
diff
changeset
|
615 * boolMatrix.h (boolMatrix): Update. |
5150ceb4dbb4
base charMatrix and boolMatrix on Array<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10350
diff
changeset
|
616 |
10350
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
617 2010-02-23 Jaroslav Hajek <highegg@gmail.com> |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
618 |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
619 * Array.h (Array): Define 2D constructors. Remove conflicting 1D |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
620 initialized constructor. Deprecate 1D constructor. Deprecate 1D resize. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
621 Add 2D resize, resize1. Remove resize_fill. Make resize_fill_value |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
622 return a reference. Remove 1D clear. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
623 |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
624 * MArray.h (MArray): Merge with MArrayN. Define 2D constructors, sync |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
625 with Array changes. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
626 |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
627 * MArrayN.h, MArray2.h: Deprecate headers, use compatibility #defines. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
628 * MArrayN.cc, MArray2.cc: Remove sources. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
629 * Makefile.am: Update. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
630 |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
631 * fCMatrix.h (FloatComplexMatrix): Rebase on MArray. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
632 * fMatrix.h (FloatMatrix): Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
633 * dMatrix.h (Matrix): Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
634 * CMatrix.h (ComplexMatrix): Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
635 * fCNDArray.h (FloatComplexNDArray): Rebase on MArray. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
636 * fNDArray.h (FloatNDArray): Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
637 * dNDArray.h (NDArray): Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
638 * CNDArray.h (ComplexNDArray): Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
639 |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
640 * Array-util.cc: Update. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
641 * Array.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
642 * Array2.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
643 * Array3.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
644 * CColVector.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
645 * CColVector.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
646 * CMatrix.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
647 * CNDArray.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
648 * CRowVector.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
649 * CSparse.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
650 * ChangeLog: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
651 * CmplxCHOL.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
652 * CmplxHESS.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
653 * CmplxLU.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
654 * CmplxQRP.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
655 * CmplxSCHUR.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
656 * CmplxSVD.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
657 * CollocWt.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
658 * DASPK-opts.in: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
659 * DASPK.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
660 * DASRT-opts.in: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
661 * DASRT.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
662 * DASSL-opts.in: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
663 * DASSL.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
664 * DiagArray2.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
665 * DiagArray2.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
666 * EIG.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
667 * LSODE-opts.in: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
668 * LSODE.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
669 * MArray-C.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
670 * MArray-d.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
671 * MArray-defs.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
672 * MArray-f.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
673 * MArray-fC.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
674 * MArray-i.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
675 * MArray-s.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
676 * MArray.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
677 * MDiagArray2.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
678 * MSparse-defs.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
679 * MSparse.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
680 * MSparse.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
681 * Makefile.am: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
682 * MatrixType.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
683 * PermMatrix.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
684 * Quad.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
685 * SparseCmplxLU.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
686 * SparseCmplxQR.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
687 * SparseCmplxQR.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
688 * SparseQR.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
689 * SparseQR.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
690 * SparsedbleLU.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
691 * base-lu.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
692 * dColVector.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
693 * dMatrix.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
694 * dNDArray.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
695 * dRowVector.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
696 * dSparse.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
697 * dbleCHOL.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
698 * dbleHESS.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
699 * dbleLU.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
700 * dbleQRP.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
701 * dbleSCHUR.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
702 * dbleSVD.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
703 * dim-vector.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
704 * eigs-base.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
705 * fCColVector.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
706 * fCColVector.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
707 * fCMatrix.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
708 * fCNDArray.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
709 * fCRowVector.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
710 * fCRowVector.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
711 * fCmplxCHOL.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
712 * fCmplxHESS.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
713 * fCmplxLU.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
714 * fCmplxQRP.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
715 * fCmplxSCHUR.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
716 * fCmplxSVD.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
717 * fColVector.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
718 * fEIG.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
719 * fMatrix.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
720 * fNDArray.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
721 * fRowVector.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
722 * floatCHOL.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
723 * floatHESS.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
724 * floatLU.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
725 * floatQRP.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
726 * floatSCHUR.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
727 * floatSVD.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
728 * glob-match.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
729 * int16NDArray.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
730 * int32NDArray.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
731 * int64NDArray.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
732 * int8NDArray.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
733 * intNDArray.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
734 * intNDArray.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
735 * oct-fftw.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
736 * oct-norm.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
737 * oct-rand.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
738 * regex-match.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
739 * sparse-dmsolve.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
740 * str-vec.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
741 * str-vec.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
742 * uint16NDArray.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
743 * uint32NDArray.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
744 * uint64NDArray.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
745 * uint8NDArray.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
746 |
10349
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
747 2010-02-22 John W. Eaton <jwe@octave.org> |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
748 |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
749 * data-conv.cc, data-conv.h (read_floats, read_doubles, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
750 do_float_format_conversion, do_double_format_conversion): |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
751 Declare len arg and loop counter as octave_idx_type, not int. |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
752 (strip_spaces): Use size_t for string dimension and index, not int. |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
753 (LS_DO_READ, LS_DO_WRITE): Declare loop counter as |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
754 octave_idx_type, not int. |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
755 (write_floats, write_doubles): |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
756 Declare len arg as octave_idx_type, not int. |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
757 (IEEE_big_double_to_IEEE_little_double, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
758 VAX_D_double_to_IEEE_little_double, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
759 VAX_G_double_to_IEEE_little_double, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
760 Cray_to_IEEE_little_double, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
761 IEEE_big_float_to_IEEE_little_float, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
762 VAX_D_float_to_IEEE_little_float, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
763 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
764 IEEE_little_double_to_IEEE_big_double, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
765 VAX_D_double_to_IEEE_big_double, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
766 VAX_G_double_to_IEEE_big_double, Cray_to_IEEE_big_double, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
767 IEEE_little_float_to_IEEE_big_float, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
768 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
769 Cray_to_IEEE_big_float, IEEE_little_double_to_VAX_D_double, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
770 IEEE_big_double_to_VAX_D_double, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
771 VAX_G_double_to_VAX_D_double, Cray_to_VAX_D_double, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
772 IEEE_little_float_to_VAX_D_float, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
773 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
774 Cray_to_VAX_D_float, IEEE_little_double_to_VAX_G_double, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
775 IEEE_big_double_to_VAX_G_double, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
776 VAX_D_double_to_VAX_G_double, Cray_to_VAX_G_double, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
777 IEEE_little_float_to_VAX_G_float, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
778 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
779 Cray_to_VAX_G_float, read_doubles): |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
780 Declare len arg as octave_idx_type, not int. |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
781 |
10342
7f6b4c6838ea
Add -bindir flags to _LDFLAGS variables.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10339
diff
changeset
|
782 2010-02-21 Michael Goffioul <michael.goffioul@gmail.com> |
7f6b4c6838ea
Add -bindir flags to _LDFLAGS variables.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10339
diff
changeset
|
783 |
10346
65d5776379c3
Reduce the amount of stuff included by windows.h and avoid min/max being #define-d
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10345
diff
changeset
|
784 * lo-sysdep.cc, lo-utils.h, oct-shlib.h: Define WIN32_LEAN_AND_MEAN |
65d5776379c3
Reduce the amount of stuff included by windows.h and avoid min/max being #define-d
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10345
diff
changeset
|
785 and don't #undef min/max. |
65d5776379c3
Reduce the amount of stuff included by windows.h and avoid min/max being #define-d
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10345
diff
changeset
|
786 * oct-inttypes.h: Don't #undef min/max. |
65d5776379c3
Reduce the amount of stuff included by windows.h and avoid min/max being #define-d
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10345
diff
changeset
|
787 |
10345
33b012d39dce
Convert between back and forward slashes before and after calling glob.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10342
diff
changeset
|
788 * oct-glob.cc (octave_glob): Convert backslashes to forward slashes |
33b012d39dce
Convert between back and forward slashes before and after calling glob.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10342
diff
changeset
|
789 automatically before calling glob, and convert back after the call |
33b012d39dce
Convert between back and forward slashes before and after calling glob.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10342
diff
changeset
|
790 (implementation from jwe). |
33b012d39dce
Convert between back and forward slashes before and after calling glob.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10342
diff
changeset
|
791 |
10342
7f6b4c6838ea
Add -bindir flags to _LDFLAGS variables.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10339
diff
changeset
|
792 * Makefile.am: Add -bindir flag to liboctave_la_LDFLAGS. |
7f6b4c6838ea
Add -bindir flags to _LDFLAGS variables.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10339
diff
changeset
|
793 |
10339
de2d43bcb083
optimize some lazy index operations
Jaroslav Hajek <highegg@gmail.com>
parents:
10331
diff
changeset
|
794 2010-02-19 Jaroslav Hajek <highegg@gmail.com> |
de2d43bcb083
optimize some lazy index operations
Jaroslav Hajek <highegg@gmail.com>
parents:
10331
diff
changeset
|
795 |
de2d43bcb083
optimize some lazy index operations
Jaroslav Hajek <highegg@gmail.com>
parents:
10331
diff
changeset
|
796 * idx-vector.cc (idx_vector::as_array, |
de2d43bcb083
optimize some lazy index operations
Jaroslav Hajek <highegg@gmail.com>
parents:
10331
diff
changeset
|
797 idx_vector::idx_range_rep::as_array, |
de2d43bcb083
optimize some lazy index operations
Jaroslav Hajek <highegg@gmail.com>
parents:
10331
diff
changeset
|
798 idx_vector::idx_scalar_rep::as_array, |
de2d43bcb083
optimize some lazy index operations
Jaroslav Hajek <highegg@gmail.com>
parents:
10331
diff
changeset
|
799 idx_vector::idx_vector_rep::as_array): New methods. |
de2d43bcb083
optimize some lazy index operations
Jaroslav Hajek <highegg@gmail.com>
parents:
10331
diff
changeset
|
800 * idx-vector.h: Declare them. |
de2d43bcb083
optimize some lazy index operations
Jaroslav Hajek <highegg@gmail.com>
parents:
10331
diff
changeset
|
801 |
10331
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10329
diff
changeset
|
802 2010-02-17 John W. Eaton <jwe@octave.org> |
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10329
diff
changeset
|
803 |
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10329
diff
changeset
|
804 * oct-rand.cc: Include <sdint.h>. Change declarations of ranlib |
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10329
diff
changeset
|
805 functions to take int32_t instead of octave_idx_type values. |
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10329
diff
changeset
|
806 Change all uses. |
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10329
diff
changeset
|
807 (octave_rand::do_seed): Use int32_t in union, not octave_idx_type. |
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10329
diff
changeset
|
808 (force_to_fit_range): Args are now int32_t, not octave_idx_type. |
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10329
diff
changeset
|
809 (octave_rand::initialize_ranlib_generators): Use int32_t in seed |
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10329
diff
changeset
|
810 calculation. |
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10329
diff
changeset
|
811 |
10329
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
812 2010-02-17 Jaroslav Hajek <highegg@gmail.com> |
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
813 |
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
814 * mx-op-defs.h (MINMAX_FCNS): Generalize. |
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
815 * mx-op-decl.h (MINMAX_DECLS): Likewise. |
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
816 |
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
817 * int16NDArray.h, int32NDArray.h, int64NDArray.h, int8NDArray.h, |
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
818 uint16NDArray.h, uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: |
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
819 Update. |
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
820 * int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, |
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
821 uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: |
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
822 Update. |
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
823 |
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
824 * CNDArray.h, dNDArray.h, fCNDArray.h, fNDArray.h: Replace explicit |
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
825 decls. |
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
826 |
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
827 * CNDArray.cc, dNDArray.cc, fCNDArray.cc, fNDArray.cc: Replace explicit |
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
828 definitions. |
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
829 |
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
830 |
10317
42d098307c30
untabify additional source files
John W. Eaton <jwe@octave.org>
parents:
10314
diff
changeset
|
831 2010-02-11 John W. Eaton <jwe@octave.org> |
42d098307c30
untabify additional source files
John W. Eaton <jwe@octave.org>
parents:
10314
diff
changeset
|
832 |
42d098307c30
untabify additional source files
John W. Eaton <jwe@octave.org>
parents:
10314
diff
changeset
|
833 * sparse-mk-ops.awk, mk-ops.awk, filemode.c, lo-cieee.c, |
42d098307c30
untabify additional source files
John W. Eaton <jwe@octave.org>
parents:
10314
diff
changeset
|
834 oct-rl-hist.c, randgamma.c, randmtzig.c, randpoisson.c, |
42d098307c30
untabify additional source files
John W. Eaton <jwe@octave.org>
parents:
10314
diff
changeset
|
835 tempnam.c, tempname.c: Untabify. |
42d098307c30
untabify additional source files
John W. Eaton <jwe@octave.org>
parents:
10314
diff
changeset
|
836 |
10314
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
837 2010-02-11 John W. Eaton <jwe@octave.org> |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
838 |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
839 * Array-C.cc, Array-fC.cc, Array-util.cc, Array.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
840 CColVector.cc, CDiagMatrix.cc, CMatrix.cc, CNDArray.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
841 CRowVector.cc, CSparse.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
842 CmplxGEPBAL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
843 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
844 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, MSparse.cc, MatrixType.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
845 ODES.cc, Quad.cc, Range.cc, Sparse-C.cc, Sparse.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
846 SparseCmplxCHOL.cc, SparseCmplxLU.cc, SparseCmplxQR.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
847 SparseQR.cc, SparsedbleCHOL.cc, SparsedbleLU.cc, boolNDArray.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
848 boolSparse.cc, chMatrix.cc, chNDArray.cc, cmd-edit.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
849 cmd-hist.cc, dColVector.cc, dDiagMatrix.cc, dMatrix.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
850 dNDArray.cc, dRowVector.cc, dSparse.cc, data-conv.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
851 dbleAEPBAL.cc, dbleCHOL.cc, dbleGEPBAL.cc, dbleHESS.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
852 dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
853 dir-ops.cc, eigs-base.cc, fCColVector.cc, fCDiagMatrix.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
854 fCMatrix.cc, fCNDArray.cc, fCRowVector.cc, fCmplxAEPBAL.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
855 fCmplxCHOL.cc, fCmplxGEPBAL.cc, fCmplxHESS.cc, fCmplxLU.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
856 fCmplxQR.cc, fCmplxQRP.cc, fCmplxSCHUR.cc, fCmplxSVD.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
857 fColVector.cc, fDiagMatrix.cc, fEIG.cc, fMatrix.cc, fNDArray.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
858 fRowVector.cc, file-stat.cc, floatAEPBAL.cc, floatCHOL.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
859 floatGEPBAL.cc, floatHESS.cc, floatLU.cc, floatQR.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
860 floatQRP.cc, floatSCHUR.cc, floatSVD.cc, idx-vector.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
861 intNDArray.cc, kpse.cc, lo-ieee.cc, lo-mappers.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
862 lo-specfun.cc, lo-sysdep.cc, lo-utils.cc, mach-info.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
863 mx-inlines.cc, oct-alloc.cc, oct-env.cc, oct-fftw.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
864 oct-glob.cc, oct-group.cc, oct-inttypes.cc, oct-md5.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
865 oct-rand.cc, oct-shlib.cc, oct-sort.cc, oct-spparms.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
866 oct-syscalls.cc, oct-time.cc, pathsearch.cc, regex-match.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
867 sparse-base-chol.cc, sparse-base-lu.cc, sparse-dmsolve.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
868 sparse-sort.cc, sparse-util.cc, str-vec.cc: Untabify. |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
869 |
10312
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
870 2010-02-11 John W. Eaton <jwe@octave.org> |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
871 |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
872 * Array-util.h, Array.h, Array2.h, Array3.h, CColVector.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
873 CMatrix.h, CNDArray.h, CRowVector.h, CSparse.h, CmplxCHOL.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
874 CmplxGEPBAL.h, CmplxHESS.h, CmplxLU.h, CmplxQRP.h, CmplxSCHUR.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
875 CmplxSVD.h, CollocWt.h, DAE.h, DAEFunc.h, DAERT.h, DAERTFunc.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
876 DASPK.h, DASRT.h, DASSL.h, DiagArray2.h, EIG.h, MArrayN.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
877 MDiagArray2.h, MSparse-defs.h, MSparse.h, MatrixType.h, ODE.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
878 ODEFunc.h, ODES.h, ODESFunc.h, Quad.h, Range.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
879 Sparse-diag-op-defs.h, Sparse-op-defs.h, Sparse-perm-op-defs.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
880 Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, SparseCmplxQR.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
881 SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, base-dae.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
882 base-de.h, base-lu.h, base-min.h, base-qr.h, boolNDArray.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
883 boolSparse.h, chNDArray.h, cmd-hist.h, dMatrix.h, dNDArray.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
884 dSparse.h, data-conv.h, dbleCHOL.h, dbleGEPBAL.h, dbleHESS.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
885 dbleLU.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, dir-ops.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
886 fCColVector.h, fCMatrix.h, fCNDArray.h, fCRowVector.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
887 fCmplxCHOL.h, fCmplxGEPBAL.h, fCmplxHESS.h, fCmplxLU.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
888 fCmplxQRP.h, fCmplxSCHUR.h, fCmplxSVD.h, fEIG.h, fMatrix.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
889 fNDArray.h, file-stat.h, floatCHOL.h, floatGEPBAL.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
890 floatHESS.h, floatLU.h, floatQRP.h, floatSCHUR.h, floatSVD.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
891 glob-match.h, idx-vector.h, intNDArray.h, lo-ieee.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
892 lo-specfun.h, mx-op-decl.h, mx-op-defs.h, oct-env.h, oct-fftw.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
893 oct-group.h, oct-inttypes.h, oct-mutex.h, oct-passwd.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
894 oct-rand.h, oct-shlib.h, oct-sort.h, oct-spparms.h, oct-time.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
895 oct-uname.h, pathsearch.h, sparse-base-chol.h, sparse-base-lu.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
896 sparse-sort.h, sparse-util.h, statdefs.h, str-vec.h: Untabify. |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
897 |
10301
9e0ec19df4bc
commit accidentally omitted parts of previous change
John W. Eaton <jwe@octave.org>
parents:
10285
diff
changeset
|
898 2010-02-10 John W. Eaton <jwe@octave.org> |
9e0ec19df4bc
commit accidentally omitted parts of previous change
John W. Eaton <jwe@octave.org>
parents:
10285
diff
changeset
|
899 |
9e0ec19df4bc
commit accidentally omitted parts of previous change
John W. Eaton <jwe@octave.org>
parents:
10285
diff
changeset
|
900 * dMatrix.h (template <class U> Matrix (const Array<U>&)): |
9e0ec19df4bc
commit accidentally omitted parts of previous change
John W. Eaton <jwe@octave.org>
parents:
10285
diff
changeset
|
901 New constructor. |
9e0ec19df4bc
commit accidentally omitted parts of previous change
John W. Eaton <jwe@octave.org>
parents:
10285
diff
changeset
|
902 * CMatrix.h (template <class U> ComplexMatrix (const Array<U>&)): |
9e0ec19df4bc
commit accidentally omitted parts of previous change
John W. Eaton <jwe@octave.org>
parents:
10285
diff
changeset
|
903 New constructor. |
9e0ec19df4bc
commit accidentally omitted parts of previous change
John W. Eaton <jwe@octave.org>
parents:
10285
diff
changeset
|
904 * fMatrix.h (template <class U> FloatMatrix (const Array<U>&)): |
9e0ec19df4bc
commit accidentally omitted parts of previous change
John W. Eaton <jwe@octave.org>
parents:
10285
diff
changeset
|
905 New constructor. |
9e0ec19df4bc
commit accidentally omitted parts of previous change
John W. Eaton <jwe@octave.org>
parents:
10285
diff
changeset
|
906 * fCMatrix.h (template <class U> FloatComplexMatrix (const Array<U>&)): |
9e0ec19df4bc
commit accidentally omitted parts of previous change
John W. Eaton <jwe@octave.org>
parents:
10285
diff
changeset
|
907 New constructor. |
9e0ec19df4bc
commit accidentally omitted parts of previous change
John W. Eaton <jwe@octave.org>
parents:
10285
diff
changeset
|
908 |
10285
22a7913bbeb5
optimize return values of find and sort
Jaroslav Hajek <highegg@gmail.com>
parents:
10279
diff
changeset
|
909 2010-02-09 Jaroslav Hajek <highegg@gmail.com> |
22a7913bbeb5
optimize return values of find and sort
Jaroslav Hajek <highegg@gmail.com>
parents:
10279
diff
changeset
|
910 |
22a7913bbeb5
optimize return values of find and sort
Jaroslav Hajek <highegg@gmail.com>
parents:
10279
diff
changeset
|
911 * idx-vector.cc (idx_vector::idx_vector_rep::idx_vector_rep (const |
22a7913bbeb5
optimize return values of find and sort
Jaroslav Hajek <highegg@gmail.com>
parents:
10279
diff
changeset
|
912 Array<octave_idx_type>&, octave_idx_type, direct)): New constructor. |
22a7913bbeb5
optimize return values of find and sort
Jaroslav Hajek <highegg@gmail.com>
parents:
10279
diff
changeset
|
913 * idx-vector.h: Declare it. |
22a7913bbeb5
optimize return values of find and sort
Jaroslav Hajek <highegg@gmail.com>
parents:
10279
diff
changeset
|
914 (idx_vector::idx_vector (const Array<octave_idx_type>&, |
22a7913bbeb5
optimize return values of find and sort
Jaroslav Hajek <highegg@gmail.com>
parents:
10279
diff
changeset
|
915 octave_idx_type)): New constructor. |
22a7913bbeb5
optimize return values of find and sort
Jaroslav Hajek <highegg@gmail.com>
parents:
10279
diff
changeset
|
916 |
10279 | 917 2010-02-08 John W. Eaton <jwe@octave.org> |
918 | |
919 * oct-time.cc: Include "strftime.h", not <strftime.h>. | |
920 * file-ops.cc: Include "pathmax.h", not <pathmax.h>. | |
921 | |
10278
4a278982c0fe
use gnulib progname module
John W. Eaton <jwe@octave.org>
parents:
10273
diff
changeset
|
922 2010-02-08 John W. Eaton <jwe@octave.org> |
4a278982c0fe
use gnulib progname module
John W. Eaton <jwe@octave.org>
parents:
10273
diff
changeset
|
923 |
4a278982c0fe
use gnulib progname module
John W. Eaton <jwe@octave.org>
parents:
10273
diff
changeset
|
924 * 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
|
925 program_invocation_name. Change all uses. |
4a278982c0fe
use gnulib progname module
John W. Eaton <jwe@octave.org>
parents:
10273
diff
changeset
|
926 (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
|
927 (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
|
928 function from gnulib. |
4a278982c0fe
use gnulib progname module
John W. Eaton <jwe@octave.org>
parents:
10273
diff
changeset
|
929 |
10273
3a8c13b71612
implement special-case optimization for sort of index vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10270
diff
changeset
|
930 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
|
931 |
3a8c13b71612
implement special-case optimization for sort of index vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10270
diff
changeset
|
932 * 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
|
933 function. |
3a8c13b71612
implement special-case optimization for sort of index vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10270
diff
changeset
|
934 (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
|
935 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
|
936 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
|
937 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
|
938 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
|
939 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
|
940 * 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
|
941 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
|
942 (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
|
943 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
|
944 |
10270 | 945 2010-02-08 Jaroslav Hajek <highegg@gmail.com> |
946 | |
947 * Array.cc (Array<T>::permute): Fix result dimensions when inv=true. | |
948 | |
10268
9a16a61ed43d
new optimizations for accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
10267
diff
changeset
|
949 2010-02-05 Jaroslav Hajek <highegg@gmail.com> |
9a16a61ed43d
new optimizations for accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
10267
diff
changeset
|
950 |
9a16a61ed43d
new optimizations for accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
10267
diff
changeset
|
951 * MArrayN.cc (MArrayN::idx_min, MArrayN::idx_max): New methods. |
9a16a61ed43d
new optimizations for accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
10267
diff
changeset
|
952 * MArrayN.h: Declare them. |
9a16a61ed43d
new optimizations for accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
10267
diff
changeset
|
953 * lo-mappers.h (xmin, xmax): Define for general arguments. |
9a16a61ed43d
new optimizations for accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
10267
diff
changeset
|
954 |
10267
479c7df0cc96
don't instantiate MArray<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10266
diff
changeset
|
955 2010-02-04 Jaroslav Hajek <highegg@gmail.com> |
479c7df0cc96
don't instantiate MArray<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10266
diff
changeset
|
956 |
479c7df0cc96
don't instantiate MArray<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10266
diff
changeset
|
957 * chMatrix.h (charMatrix): Rebase directly on Array<char>. |
479c7df0cc96
don't instantiate MArray<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10266
diff
changeset
|
958 * chNDArray.h (charNDArray): Ditto. |
479c7df0cc96
don't instantiate MArray<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10266
diff
changeset
|
959 * chMatrix.cc: Update. |
479c7df0cc96
don't instantiate MArray<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10266
diff
changeset
|
960 * chNDArray.cc: Update. |
479c7df0cc96
don't instantiate MArray<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10266
diff
changeset
|
961 * MArray-ch.cc: Remove. |
479c7df0cc96
don't instantiate MArray<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10266
diff
changeset
|
962 * Makefile.am: Update. |
479c7df0cc96
don't instantiate MArray<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10266
diff
changeset
|
963 |
10266
82db36545def
use gnulib gethostname module
John W. Eaton <jwe@octave.org>
parents:
10259
diff
changeset
|
964 2010-02-04 John W. Eaton <jwe@octave.org> |
82db36545def
use gnulib gethostname module
John W. Eaton <jwe@octave.org>
parents:
10259
diff
changeset
|
965 |
82db36545def
use gnulib gethostname module
John W. Eaton <jwe@octave.org>
parents:
10259
diff
changeset
|
966 * lo-cutils.c (gethostname): Delete function. |
82db36545def
use gnulib gethostname module
John W. Eaton <jwe@octave.org>
parents:
10259
diff
changeset
|
967 * lo-sysdep.h (gethostname): Delete declaration. |
82db36545def
use gnulib gethostname module
John W. Eaton <jwe@octave.org>
parents:
10259
diff
changeset
|
968 |
10259 | 969 2010-02-03 John W. Eaton <jwe@octave.org> |
970 | |
971 * oct-syscalls.h, oct-syscalls.cc (octave_fcntl): Assume fcntl exists. | |
972 Rename from octave_syscalls::fcntl. | |
973 (octave_syscalls::popen2): Call octave_fcntl, not fcntl. | |
974 * cmd-hist.cc, lo-sysdep.cc, oct-syscalls.cc: | |
975 Include <fcntl.h> unconditionally. | |
976 | |
10258 | 977 2010-02-03 John W. Eaton <jwe@octave.org> |
978 | |
979 * dbleSVD.cc (SVD::init): Ensure args to std::max are the same type. | |
980 * CmplxSVD.cc (ComplexSVD::init): Likewise. | |
981 * floatSVD.cc (FloatSVD::init): Likewise. | |
982 * fCmplxSVD.cc (FloatComplexSVD::init): Likewise. | |
983 * idx-vector.cc (idx_range_rep): Likewise. | |
984 * Array.cc (Array<T>::nth_element): Likewise. | |
985 | |
986 * lo-specfun.cc (null_dims): Delete unused static variable. | |
987 (betainc): Call dim_vector (0, 0), not dim_vector (0). | |
988 | |
10252
2fcc927a8757
liboctave/file-ops.h: avoid gnulib #define for canonicalize_file_name
John W. Eaton <jwe@octave.org>
parents:
10250
diff
changeset
|
989 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
|
990 |
2fcc927a8757
liboctave/file-ops.h: avoid gnulib #define for canonicalize_file_name
John W. Eaton <jwe@octave.org>
parents:
10250
diff
changeset
|
991 * 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
|
992 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
|
993 |
10250 | 994 2010-02-03 John W. Eaton <jwe@octave.org> |
995 | |
996 * file-ops.cc (canonicalize_file_name): | |
997 Don't pass current directory to octave_env::make_absolute. | |
998 * cmd-edit.cc (do_decode_prompt_string): Likewise. | |
999 | |
1000 * oct-env.h (octave_env::get_current_directory): | |
1001 Rename from octave_env::getcwd. | |
1002 (octave_env::make_absolute): Provide default value for second arg. | |
1003 | |
1004 * lo-sysdep.cc (octave_getcwd): Assume we are using gnulib | |
1005 getcwd module. | |
1006 | |
10240
fa7b5751730c
use gnulib time, sys_time, and sys_times modules
John W. Eaton <jwe@octave.org>
parents:
10239
diff
changeset
|
1007 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
|
1008 |
fa7b5751730c
use gnulib time, sys_time, and sys_times modules
John W. Eaton <jwe@octave.org>
parents:
10239
diff
changeset
|
1009 * 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
|
1010 * 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
|
1011 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
|
1012 |
fa7b5751730c
use gnulib time, sys_time, and sys_times modules
John W. Eaton <jwe@octave.org>
parents:
10239
diff
changeset
|
1013 * systime.h: Delete. |
fa7b5751730c
use gnulib time, sys_time, and sys_times modules
John W. Eaton <jwe@octave.org>
parents:
10239
diff
changeset
|
1014 * 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
|
1015 |
10239
e45ccac6017f
addtional fixes for using strptime module
John W. Eaton <jwe@octave.org>
parents:
10213
diff
changeset
|
1016 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
|
1017 |
e45ccac6017f
addtional fixes for using strptime module
John W. Eaton <jwe@octave.org>
parents:
10213
diff
changeset
|
1018 * 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
|
1019 * 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
|
1020 |
10213
f7ba6cfe7fb7
fix det() after singular matrix is flagged
Jaroslav Hajek <highegg@gmail.com>
parents:
10198
diff
changeset
|
1021 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
|
1022 |
f7ba6cfe7fb7
fix det() after singular matrix is flagged
Jaroslav Hajek <highegg@gmail.com>
parents:
10198
diff
changeset
|
1023 * 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
|
1024 normally. |
f7ba6cfe7fb7
fix det() after singular matrix is flagged
Jaroslav Hajek <highegg@gmail.com>
parents:
10198
diff
changeset
|
1025 * fMatrix.cc (FloatMatrix::determinant): Ditto. |
f7ba6cfe7fb7
fix det() after singular matrix is flagged
Jaroslav Hajek <highegg@gmail.com>
parents:
10198
diff
changeset
|
1026 * CMatrix.cc (ComplexMatrix::determinant): Ditto. |
f7ba6cfe7fb7
fix det() after singular matrix is flagged
Jaroslav Hajek <highegg@gmail.com>
parents:
10198
diff
changeset
|
1027 * fCMatrix.cc (FloatComplexMatrix::determinant): Ditto. |
f7ba6cfe7fb7
fix det() after singular matrix is flagged
Jaroslav Hajek <highegg@gmail.com>
parents:
10198
diff
changeset
|
1028 |
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
|
1029 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
|
1030 |
025564630c8d
file-ops.cc: don't tag functions with OCTAVE_API i source file
John W. Eaton <jwe@octave.org>
parents:
10197
diff
changeset
|
1031 * 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
|
1032 |
10197
4d433bd2d4dc
attempt to avoid trouble with gnulib #defines in a consistent way
John W. Eaton <jwe@octave.org>
parents:
10195
diff
changeset
|
1033 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
|
1034 |
4d433bd2d4dc
attempt to avoid trouble with gnulib #defines in a consistent way
John W. Eaton <jwe@octave.org>
parents:
10195
diff
changeset
|
1035 * 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
|
1036 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
|
1037 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
|
1038 Delete. |
4d433bd2d4dc
attempt to avoid trouble with gnulib #defines in a consistent way
John W. Eaton <jwe@octave.org>
parents:
10195
diff
changeset
|
1039 * 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
|
1040 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
|
1041 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
|
1042 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
|
1043 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
|
1044 (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
|
1045 |
10195
b49d47b637b7
use getopt directly instead of the (mostly useless) prog_args wrapper class
John W. Eaton <jwe@octave.org>
parents:
10192
diff
changeset
|
1046 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
|
1047 |
b49d47b637b7
use getopt directly instead of the (mostly useless) prog_args wrapper class
John W. Eaton <jwe@octave.org>
parents:
10192
diff
changeset
|
1048 * 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
|
1049 (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
|
1050 (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
|
1051 * 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
|
1052 |
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
|
1053 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
|
1054 |
10192
fc95c80058d8
don't make prog_args member functions const
John W. Eaton <jwe@octave.org>
parents:
10191
diff
changeset
|
1055 * 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
|
1056 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
|
1057 Don't declare const. |
fc95c80058d8
don't make prog_args member functions const
John W. Eaton <jwe@octave.org>
parents:
10191
diff
changeset
|
1058 |
fc95c80058d8
don't make prog_args member functions const
John W. Eaton <jwe@octave.org>
parents:
10191
diff
changeset
|
1059 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
|
1060 |
fc95c80058d8
don't make prog_args member functions const
John W. Eaton <jwe@octave.org>
parents:
10191
diff
changeset
|
1061 * 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
|
1062 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
|
1063 (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
|
1064 (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
|
1065 |
10189
8fa6ce1b21f2
file-ops.cc: don't include statdefs.h
John W. Eaton <jwe@octave.org>
parents:
10185
diff
changeset
|
1066 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
|
1067 |
8fa6ce1b21f2
file-ops.cc: don't include statdefs.h
John W. Eaton <jwe@octave.org>
parents:
10185
diff
changeset
|
1068 * 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
|
1069 |
10185
455759a5fcbe
fix norm and svd on empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
10182
diff
changeset
|
1070 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
|
1071 |
455759a5fcbe
fix norm and svd on empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
10182
diff
changeset
|
1072 * 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
|
1073 * floatSVD.cc (FloatSVD::init): Likewise. |
455759a5fcbe
fix norm and svd on empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
10182
diff
changeset
|
1074 * CmplxSVD.cc (ComplexSVD::init): Likewise. |
455759a5fcbe
fix norm and svd on empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
10182
diff
changeset
|
1075 * fCmplxSVD.cc (FloatComplexSVD::init): Likewise. |
455759a5fcbe
fix norm and svd on empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
10182
diff
changeset
|
1076 |
10182
0522a65bcd56
assume unistd.h and sys/types.h exist
John W. Eaton <jwe@octave.org>
parents:
10180
diff
changeset
|
1077 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
|
1078 |
0522a65bcd56
assume unistd.h and sys/types.h exist
John W. Eaton <jwe@octave.org>
parents:
10180
diff
changeset
|
1079 * 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
|
1080 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
|
1081 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
|
1082 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
|
1083 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
|
1084 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
|
1085 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
|
1086 |
10179 | 1087 2010-01-21 John W. Eaton <jwe@octave.org> |
1088 | |
10180 | 1089 * file-ops.h, file-ops.cc, lo-utils.h, lo-cutils.c: Untabify. |
1090 | |
10179 | 1091 * file-ops.cc: Don't include unistd.h. |
1092 (NOT_SUPPORTED): Delete unused macro. | |
1093 | |
10178
6bd86b6287b1
provide wrapper for tempnam
John W. Eaton <jwe@octave.org>
parents:
10177
diff
changeset
|
1094 2010-01-21 John W. Eaton <jwe@octave.org> |
6bd86b6287b1
provide wrapper for tempnam
John W. Eaton <jwe@octave.org>
parents:
10177
diff
changeset
|
1095 |
6bd86b6287b1
provide wrapper for tempnam
John W. Eaton <jwe@octave.org>
parents:
10177
diff
changeset
|
1096 * lo-cutils.c (octave_tempnam): New funtion. |
6bd86b6287b1
provide wrapper for tempnam
John W. Eaton <jwe@octave.org>
parents:
10177
diff
changeset
|
1097 * lo-utils.h: Provide decl. |
6bd86b6287b1
provide wrapper for tempnam
John W. Eaton <jwe@octave.org>
parents:
10177
diff
changeset
|
1098 * file-ops.cc (file_ops::tempnam): Call octave_tempnam. |
6bd86b6287b1
provide wrapper for tempnam
John W. Eaton <jwe@octave.org>
parents:
10177
diff
changeset
|
1099 |
10177
cb3d926b4d9e
use readlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10176
diff
changeset
|
1100 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
|
1101 |
cb3d926b4d9e
use readlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10176
diff
changeset
|
1102 * lo-cutils.c (octave_readlink): New funtion. |
cb3d926b4d9e
use readlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10176
diff
changeset
|
1103 * lo-utils.h: Provide decl. |
cb3d926b4d9e
use readlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10176
diff
changeset
|
1104 * 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
|
1105 |
10176
a0665fa8798c
use symlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10175
diff
changeset
|
1106 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
|
1107 |
a0665fa8798c
use symlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10175
diff
changeset
|
1108 * lo-cutils.c (octave_symlink): New funtion. |
a0665fa8798c
use symlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10175
diff
changeset
|
1109 * lo-utils.h: Provide decl. |
a0665fa8798c
use symlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10175
diff
changeset
|
1110 * 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
|
1111 |
10175
d354be89b2c3
use link module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10174
diff
changeset
|
1112 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
|
1113 |
d354be89b2c3
use link module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10174
diff
changeset
|
1114 * lo-cutils.c (octave_link): New funtion. |
d354be89b2c3
use link module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10174
diff
changeset
|
1115 * lo-utils.h: Provide decl. |
d354be89b2c3
use link module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10174
diff
changeset
|
1116 * 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
|
1117 |
10174
eb64bf1c6107
use unlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10173
diff
changeset
|
1118 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
|
1119 |
eb64bf1c6107
use unlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10173
diff
changeset
|
1120 * lo-cutils.c (octave_unlink): New funtion. |
eb64bf1c6107
use unlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10173
diff
changeset
|
1121 * lo-utils.h: Provide decl. |
eb64bf1c6107
use unlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10173
diff
changeset
|
1122 * 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
|
1123 |
10173 | 1124 2010-01-21 John W. Eaton <jwe@octave.org> |
1125 | |
1126 * lo-cutils.c (octave_umask): New funtion. | |
1127 * lo-utils.h: Provide decl. | |
1128 * file-ops.cc (file_ops::umask): Call octave_umask. | |
1129 | |
10172
96ed9db3345c
provide wrappers for mkdir and mkfifo
John W. Eaton <jwe@octave.org>
parents:
10171
diff
changeset
|
1130 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
|
1131 |
96ed9db3345c
provide wrappers for mkdir and mkfifo
John W. Eaton <jwe@octave.org>
parents:
10171
diff
changeset
|
1132 * 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
|
1133 (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
|
1134 (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
|
1135 * 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
|
1136 (file_ops::mkfifo): Call octave_mkfifo. |
96ed9db3345c
provide wrappers for mkdir and mkfifo
John W. Eaton <jwe@octave.org>
parents:
10171
diff
changeset
|
1137 * 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
|
1138 * lo-utils.h: Provide decls. |
96ed9db3345c
provide wrappers for mkdir and mkfifo
John W. Eaton <jwe@octave.org>
parents:
10171
diff
changeset
|
1139 |
10171
22400682d3aa
use strptime module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10170
diff
changeset
|
1140 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
|
1141 |
22400682d3aa
use strptime module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10170
diff
changeset
|
1142 * 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
|
1143 * strptime.c: Delete. |
22400682d3aa
use strptime module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10170
diff
changeset
|
1144 |
10170
1dffc8b2fca7
use rename module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10169
diff
changeset
|
1145 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
|
1146 |
1dffc8b2fca7
use rename module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10169
diff
changeset
|
1147 * lo-cutils.c (octave_rename): New funtion. |
1dffc8b2fca7
use rename module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10169
diff
changeset
|
1148 * lo-utils.h: Provide decl. |
1dffc8b2fca7
use rename module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10169
diff
changeset
|
1149 * 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
|
1150 * 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
|
1151 * rename.c: Delete. |
1dffc8b2fca7
use rename module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10169
diff
changeset
|
1152 |
10169
06bd6e57f889
use rmdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10168
diff
changeset
|
1153 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
|
1154 |
06bd6e57f889
use rmdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10168
diff
changeset
|
1155 * lo-cutils.c (octave_rmdir): New function. |
06bd6e57f889
use rmdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10168
diff
changeset
|
1156 * lo-utils.h: Provide decl. |
06bd6e57f889
use rmdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10168
diff
changeset
|
1157 * 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
|
1158 * 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
|
1159 * rmdir.c: Delete. |
06bd6e57f889
use rmdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10168
diff
changeset
|
1160 |
10168
37150167a72a
use c-strcase module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10167
diff
changeset
|
1161 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
|
1162 |
37150167a72a
use c-strcase module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10167
diff
changeset
|
1163 * 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
|
1164 strncase.c from the list. |
37150167a72a
use c-strcase module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10167
diff
changeset
|
1165 * strcasecmp.c, strncase.c: Delete. |
37150167a72a
use c-strcase module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10167
diff
changeset
|
1166 |
10167
1929ba7bbfb2
use getopt-gnu module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10158
diff
changeset
|
1167 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
|
1168 |
1929ba7bbfb2
use getopt-gnu module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10158
diff
changeset
|
1169 * 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
|
1170 (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
|
1171 * getopt.c, getopt1.c, getopt.h: Delete. |
1929ba7bbfb2
use getopt-gnu module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10158
diff
changeset
|
1172 |
10158
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
1173 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
|
1174 |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
1175 * 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
|
1176 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
|
1177 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
|
1178 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
|
1179 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
|
1180 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
|
1181 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
|
1182 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
|
1183 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
|
1184 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
|
1185 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
|
1186 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
|
1187 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
|
1188 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
|
1189 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
|
1190 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
|
1191 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
|
1192 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
|
1193 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
|
1194 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
|
1195 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
|
1196 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
|
1197 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
|
1198 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
|
1199 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
|
1200 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
|
1201 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
|
1202 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
|
1203 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
|
1204 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
|
1205 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
|
1206 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
|
1207 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
|
1208 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
|
1209 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
|
1210 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
|
1211 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
|
1212 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
|
1213 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
|
1214 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
|
1215 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
|
1216 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
|
1217 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
|
1218 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
|
1219 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
|
1220 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
|
1221 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
|
1222 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
|
1223 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
|
1224 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
|
1225 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
|
1226 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
|
1227 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
|
1228 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
|
1229 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
|
1230 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
|
1231 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
|
1232 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
|
1233 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
|
1234 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
|
1235 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
|
1236 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
|
1237 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
|
1238 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
|
1239 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
|
1240 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
|
1241 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
|
1242 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
|
1243 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
|
1244 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
|
1245 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
|
1246 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
|
1247 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
|
1248 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
|
1249 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
|
1250 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
|
1251 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
|
1252 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
|
1253 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
|
1254 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
|
1255 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
|
1256 |
10152
b6b65e71049b
optimize cumsum with logicals
Jaroslav Hajek <highegg@gmail.com>
parents:
10150
diff
changeset
|
1257 2010-01-20 Jaroslav Hajek <highegg@gmail.com> |
b6b65e71049b
optimize cumsum with logicals
Jaroslav Hajek <highegg@gmail.com>
parents:
10150
diff
changeset
|
1258 |
b6b65e71049b
optimize cumsum with logicals
Jaroslav Hajek <highegg@gmail.com>
parents:
10150
diff
changeset
|
1259 * boolNDArray.cc (boolNDArray::cumsum): Sum directly in double to |
b6b65e71049b
optimize cumsum with logicals
Jaroslav Hajek <highegg@gmail.com>
parents:
10150
diff
changeset
|
1260 avoid a copy. |
b6b65e71049b
optimize cumsum with logicals
Jaroslav Hajek <highegg@gmail.com>
parents:
10150
diff
changeset
|
1261 |
10150 | 1262 2010-01-20 John W. Eaton <jwe@octave.org> |
1263 | |
1264 * dim-vector.h: Style fixes. Remove Emacs local variables block. | |
1265 Untabify. | |
1266 | |
10148 | 1267 2010-01-20 John W. Eaton <jwe@octave.org> |
1268 | |
1269 * Makefile.am (PRIVATE_INCS): New variable. List oct-glob.h | |
1270 here instead of in INCS. | |
1271 (liboctave_la_SOURCES): Include $(PRIVATE_INCS) in the list. | |
1272 | |
1273 * glob-match.cc (glob_match::match, glob_match::glob): Now const. | |
1274 Move definitions here from glob-match.h. | |
1275 | |
10147
adc0143e9419
optimize any/all (x, 2) with small number of rows
Jaroslav Hajek <highegg@gmail.com>
parents:
10146
diff
changeset
|
1276 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
|
1277 |
adc0143e9419
optimize any/all (x, 2) with small number of rows
Jaroslav Hajek <highegg@gmail.com>
parents:
10146
diff
changeset
|
1278 * 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
|
1279 reductors. |
adc0143e9419
optimize any/all (x, 2) with small number of rows
Jaroslav Hajek <highegg@gmail.com>
parents:
10146
diff
changeset
|
1280 (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
|
1281 with few enough columns. |
adc0143e9419
optimize any/all (x, 2) with small number of rows
Jaroslav Hajek <highegg@gmail.com>
parents:
10146
diff
changeset
|
1282 |
10146
9597eea7fa36
inline xmin/xmax & optimize special cases
Jaroslav Hajek <highegg@gmail.com>
parents:
10145
diff
changeset
|
1283 2010-01-20 Jaroslav Hajek <highegg@gmail.com> |
9597eea7fa36
inline xmin/xmax & optimize special cases
Jaroslav Hajek <highegg@gmail.com>
parents:
10145
diff
changeset
|
1284 |
9597eea7fa36
inline xmin/xmax & optimize special cases
Jaroslav Hajek <highegg@gmail.com>
parents:
10145
diff
changeset
|
1285 * 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
|
1286 xmin (float, float), xmax (float, float)): Inline definitions. |
9597eea7fa36
inline xmin/xmax & optimize special cases
Jaroslav Hajek <highegg@gmail.com>
parents:
10145
diff
changeset
|
1287 * 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
|
1288 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
|
1289 * 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
|
1290 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
|
1291 |
10145
fa01c1670b3e
make p-norms breakable
Jaroslav Hajek <highegg@gmail.com>
parents:
10143
diff
changeset
|
1292 2010-01-20 Jaroslav Hajek <highegg@gmail.com> |
fa01c1670b3e
make p-norms breakable
Jaroslav Hajek <highegg@gmail.com>
parents:
10143
diff
changeset
|
1293 |
fa01c1670b3e
make p-norms breakable
Jaroslav Hajek <highegg@gmail.com>
parents:
10143
diff
changeset
|
1294 * 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
|
1295 Call octave_quit here. |
fa01c1670b3e
make p-norms breakable
Jaroslav Hajek <highegg@gmail.com>
parents:
10143
diff
changeset
|
1296 (higham_subp): Also here. |
fa01c1670b3e
make p-norms breakable
Jaroslav Hajek <highegg@gmail.com>
parents:
10143
diff
changeset
|
1297 |
10143
f3c34b518422
simplify pairwise min/max implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
10142
diff
changeset
|
1298 2010-01-20 Jaroslav Hajek <highegg@gmail.com> |
f3c34b518422
simplify pairwise min/max implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
10142
diff
changeset
|
1299 |
f3c34b518422
simplify pairwise min/max implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
10142
diff
changeset
|
1300 * 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
|
1301 Simplify using mx_inlines machinery. |
f3c34b518422
simplify pairwise min/max implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
10142
diff
changeset
|
1302 * dNDArray (min, max): Simplify. |
f3c34b518422
simplify pairwise min/max implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
10142
diff
changeset
|
1303 * fNDArray (min, max): Simplify. |
f3c34b518422
simplify pairwise min/max implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
10142
diff
changeset
|
1304 * CNDArray (min, max): Simplify. |
f3c34b518422
simplify pairwise min/max implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
10142
diff
changeset
|
1305 * fCNDArray (min, max): Simplify. |
f3c34b518422
simplify pairwise min/max implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
10142
diff
changeset
|
1306 |
10142
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1307 2010-01-20 Jaroslav Hajek <highegg@gmail.com> |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1308 |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1309 * Array.h: Substitute OCTAVE_QUIT -> octave_quit (). |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1310 * CMatrix.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1311 * CNDArray.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1312 * CSparse.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1313 * CmplxGEPBAL.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1314 * MArrayN.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1315 * MSparse.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1316 * Sparse-diag-op-defs.h: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1317 * Sparse-op-defs.h: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1318 * Sparse-perm-op-defs.h: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1319 * Sparse.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1320 * Sparse.h: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1321 * SparseCmplxQR.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1322 * SparseQR.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1323 * boolSparse.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1324 * bsxfun-defs.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1325 * dMatrix.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1326 * dNDArray.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1327 * dSparse.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1328 * dbleGEPBAL.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1329 * fCMatrix.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1330 * fCNDArray.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1331 * fCmplxGEPBAL.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1332 * fMatrix.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1333 * fNDArray.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1334 * file-ops.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1335 * floatGEPBAL.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1336 * lo-utils.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1337 * mx-op-defs.h: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1338 * oct-fftw.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1339 * oct-norm.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1340 * oct-rand.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1341 * sparse-dmsolve.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
1342 |
10140
36ea14c8992d
fix reversed min/max in bsxfun
Jaroslav Hajek <highegg@gmail.com>
parents:
10139
diff
changeset
|
1343 2010-01-20 Jaroslav Hajek <highegg@gmail.com> |
36ea14c8992d
fix reversed min/max in bsxfun
Jaroslav Hajek <highegg@gmail.com>
parents:
10139
diff
changeset
|
1344 |
36ea14c8992d
fix reversed min/max in bsxfun
Jaroslav Hajek <highegg@gmail.com>
parents:
10139
diff
changeset
|
1345 * 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
|
1346 defs. |
36ea14c8992d
fix reversed min/max in bsxfun
Jaroslav Hajek <highegg@gmail.com>
parents:
10139
diff
changeset
|
1347 |
10139
93c74edcc3e3
glob-match.h: update copyright
John W. Eaton <jwe@octave.org>
parents:
10138
diff
changeset
|
1348 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
|
1349 |
93c74edcc3e3
glob-match.h: update copyright
John W. Eaton <jwe@octave.org>
parents:
10138
diff
changeset
|
1350 * glob-match.h: Update copyright. |
93c74edcc3e3
glob-match.h: update copyright
John W. Eaton <jwe@octave.org>
parents:
10138
diff
changeset
|
1351 |
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
|
1352 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
|
1353 |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
1354 * 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
|
1355 (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
|
1356 * 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
|
1357 * 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
|
1358 (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
|
1359 (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
|
1360 (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
|
1361 * 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
|
1362 (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
|
1363 (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
|
1364 (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
|
1365 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
|
1366 (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
|
1367 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
|
1368 (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
|
1369 (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
|
1370 (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
|
1371 |
10124
e5c6600e3400
use octave_idx_type where needed
Jaroslav Hajek <highegg@gmail.com>
parents:
10123
diff
changeset
|
1372 2010-01-17 Jaroslav Hajek <highegg@gmail.com> |
e5c6600e3400
use octave_idx_type where needed
Jaroslav Hajek <highegg@gmail.com>
parents:
10123
diff
changeset
|
1373 |
e5c6600e3400
use octave_idx_type where needed
Jaroslav Hajek <highegg@gmail.com>
parents:
10123
diff
changeset
|
1374 * 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
|
1375 * fCMatrix.cc (xgemm): Ditto. |
e5c6600e3400
use octave_idx_type where needed
Jaroslav Hajek <highegg@gmail.com>
parents:
10123
diff
changeset
|
1376 |
10123
8590f3c51868
Fix a few MSVC-related problems and partially re-enable MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10115
diff
changeset
|
1377 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
|
1378 |
8590f3c51868
Fix a few MSVC-related problems and partially re-enable MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10115
diff
changeset
|
1379 * 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
|
1380 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
|
1381 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
|
1382 |
10115
ed49cef7e005
simplify Array::insert methods
Jaroslav Hajek <highegg@gmail.com>
parents:
10114
diff
changeset
|
1383 2010-01-15 Jaroslav Hajek <highegg@gmail.com> |
ed49cef7e005
simplify Array::insert methods
Jaroslav Hajek <highegg@gmail.com>
parents:
10114
diff
changeset
|
1384 |
ed49cef7e005
simplify Array::insert methods
Jaroslav Hajek <highegg@gmail.com>
parents:
10114
diff
changeset
|
1385 * Array.cc (Array<T>::insert): Rewrite using assign. |
ed49cef7e005
simplify Array::insert methods
Jaroslav Hajek <highegg@gmail.com>
parents:
10114
diff
changeset
|
1386 (Array<T>::insert2, Array<T>::insertN): Remove. |
ed49cef7e005
simplify Array::insert methods
Jaroslav Hajek <highegg@gmail.com>
parents:
10114
diff
changeset
|
1387 * Array.h: Update declarations. Add brief documentation. |
ed49cef7e005
simplify Array::insert methods
Jaroslav Hajek <highegg@gmail.com>
parents:
10114
diff
changeset
|
1388 |
10114
e4936c129cbd
optimize sorting of bools
Jaroslav Hajek <highegg@gmail.com>
parents:
10113
diff
changeset
|
1389 2010-01-15 Jaroslav Hajek <highegg@gmail.com> |
e4936c129cbd
optimize sorting of bools
Jaroslav Hajek <highegg@gmail.com>
parents:
10113
diff
changeset
|
1390 |
e4936c129cbd
optimize sorting of bools
Jaroslav Hajek <highegg@gmail.com>
parents:
10113
diff
changeset
|
1391 * Array-b.cc: Inline ascending and descending sort. |
e4936c129cbd
optimize sorting of bools
Jaroslav Hajek <highegg@gmail.com>
parents:
10113
diff
changeset
|
1392 (do_bool_partition): New helper template function. |
e4936c129cbd
optimize sorting of bools
Jaroslav Hajek <highegg@gmail.com>
parents:
10113
diff
changeset
|
1393 (octave_sort<bool>::sort): Provide specializations. |
e4936c129cbd
optimize sorting of bools
Jaroslav Hajek <highegg@gmail.com>
parents:
10113
diff
changeset
|
1394 |
10113 | 1395 2010-01-14 Jaroslav Hajek <highegg@gmail.com> |
1396 | |
1397 * Array.cc (Array<T>::insert (const Array<T>&, const | |
1398 Array<octave_idx_type>&): Allow less dimensions than indices. | |
1399 | |
10107
fd262afea1d1
optimize bsxfun for chars
Jaroslav Hajek <highegg@gmail.com>
parents:
10105
diff
changeset
|
1400 2010-01-14 Jaroslav Hajek <highegg@gmail.com> |
fd262afea1d1
optimize bsxfun for chars
Jaroslav Hajek <highegg@gmail.com>
parents:
10105
diff
changeset
|
1401 |
fd262afea1d1
optimize bsxfun for chars
Jaroslav Hajek <highegg@gmail.com>
parents:
10105
diff
changeset
|
1402 * chNDArray.h: Declare relational bsxfun ops. |
fd262afea1d1
optimize bsxfun for chars
Jaroslav Hajek <highegg@gmail.com>
parents:
10105
diff
changeset
|
1403 * chNDArray.cc: Define them. |
fd262afea1d1
optimize bsxfun for chars
Jaroslav Hajek <highegg@gmail.com>
parents:
10105
diff
changeset
|
1404 |
10105
018d92ad0730
fix prototypes for zherk and cherk
John W. Eaton <jwe@octave.org>
parents:
10102
diff
changeset
|
1405 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
|
1406 |
018d92ad0730
fix prototypes for zherk and cherk
John W. Eaton <jwe@octave.org>
parents:
10102
diff
changeset
|
1407 * CMatrix.cc: Fix prototype for zherk. |
018d92ad0730
fix prototypes for zherk and cherk
John W. Eaton <jwe@octave.org>
parents:
10102
diff
changeset
|
1408 * fCMatrix.cc: Fix prototype for cherk. |
018d92ad0730
fix prototypes for zherk and cherk
John W. Eaton <jwe@octave.org>
parents:
10102
diff
changeset
|
1409 |
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
|
1410 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
|
1411 |
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
|
1412 * 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
|
1413 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
|
1414 |
10101
b51848e95e4b
cleanups to avoid valgrind warnings
John W. Eaton <jwe@octave.org>
parents:
10098
diff
changeset
|
1415 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
|
1416 |
b51848e95e4b
cleanups to avoid valgrind warnings
John W. Eaton <jwe@octave.org>
parents:
10098
diff
changeset
|
1417 * 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
|
1418 Initialize dummy variable. |
b51848e95e4b
cleanups to avoid valgrind warnings
John W. Eaton <jwe@octave.org>
parents:
10098
diff
changeset
|
1419 |
10098
d3451c1496f8
allow the general case in Array<T>::compute_index
Jaroslav Hajek <highegg@gmail.com>
parents:
10095
diff
changeset
|
1420 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
|
1421 |
d3451c1496f8
allow the general case in Array<T>::compute_index
Jaroslav Hajek <highegg@gmail.com>
parents:
10095
diff
changeset
|
1422 * 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
|
1423 unequal lengths. |
d3451c1496f8
allow the general case in Array<T>::compute_index
Jaroslav Hajek <highegg@gmail.com>
parents:
10095
diff
changeset
|
1424 |
10095
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
1425 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
|
1426 |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
1427 * 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
|
1428 if really needed. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
1429 * 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
|
1430 chop_trailing_singletons. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
1431 (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
|
1432 octave_idx_type...)): Ditto. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
1433 (Array<T>::Array (const dim_vector&)): Ditto. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
1434 (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
|
1435 (Array<T>::chop_trailing_singletons): Deprecate. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
1436 * 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
|
1437 (Array::index (const Array<idx_vector>&, ...)): Ditto. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
1438 (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
|
1439 (Array<T>::assign): Neither here. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
1440 |
10085
82d47b706424
Remove unnecessary uses of simple_move_if_change_rule
Rik <rdrider0-list@yahoo.com>
parents:
10075
diff
changeset
|
1441 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
|
1442 |
82d47b706424
Remove unnecessary uses of simple_move_if_change_rule
Rik <rdrider0-list@yahoo.com>
parents:
10075
diff
changeset
|
1443 * 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
|
1444 Make to update timestamps |
82d47b706424
Remove unnecessary uses of simple_move_if_change_rule
Rik <rdrider0-list@yahoo.com>
parents:
10075
diff
changeset
|
1445 |
10075
84b0725f4b09
return class types by reference in const Array element access functions
Jaroslav Hajek <highegg@gmail.com>
parents:
10072
diff
changeset
|
1446 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
|
1447 |
84b0725f4b09
return class types by reference in const Array element access functions
Jaroslav Hajek <highegg@gmail.com>
parents:
10072
diff
changeset
|
1448 * 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
|
1449 (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
|
1450 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
|
1451 (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
|
1452 * 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
|
1453 |
10072
0b0bf1fd1ed7
use gettimeofday module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10068
diff
changeset
|
1454 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
|
1455 |
0b0bf1fd1ed7
use gettimeofday module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10068
diff
changeset
|
1456 * 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
|
1457 available and that it takes two arguments. |
0b0bf1fd1ed7
use gettimeofday module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10068
diff
changeset
|
1458 |
10068
ca93f583573d
handle interrupts octave_fgets
Jaroslav Hajek <highegg@gmail.com>
parents:
10061
diff
changeset
|
1459 2010-01-07 Jaroslav Hajek <highegg@gmail.com> |
ca93f583573d
handle interrupts octave_fgets
Jaroslav Hajek <highegg@gmail.com>
parents:
10061
diff
changeset
|
1460 |
ca93f583573d
handle interrupts octave_fgets
Jaroslav Hajek <highegg@gmail.com>
parents:
10061
diff
changeset
|
1461 * 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
|
1462 end. |
ca93f583573d
handle interrupts octave_fgets
Jaroslav Hajek <highegg@gmail.com>
parents:
10061
diff
changeset
|
1463 |
10061
ec0c445d0d6f
include -I../libgnu in AM_CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
10042
diff
changeset
|
1464 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
|
1465 |
ec0c445d0d6f
include -I../libgnu in AM_CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
10042
diff
changeset
|
1466 * 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
|
1467 in the list. |
ec0c445d0d6f
include -I../libgnu in AM_CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
10042
diff
changeset
|
1468 |
10042
b7915ebe8acf
implement index reduction rule for multiple constant ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
10038
diff
changeset
|
1469 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
|
1470 |
b7915ebe8acf
implement index reduction rule for multiple constant ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
10038
diff
changeset
|
1471 * 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
|
1472 for subsequent ones () indices. |
b7915ebe8acf
implement index reduction rule for multiple constant ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
10038
diff
changeset
|
1473 |
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
|
1474 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
|
1475 |
62eb444704ba
file-ops.cc: avoid problems if sys/stat.h #defines mkdir or mkfifo
John W. Eaton <jwe@octave.org>
parents:
10029
diff
changeset
|
1476 * 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
|
1477 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
|
1478 * 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
|
1479 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
|
1480 |
10029
3b2f81d5a6dc
use gnulib modules for fstat, lstat, and stat
John W. Eaton <jwe@octave.org>
parents:
10027
diff
changeset
|
1481 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
|
1482 |
3b2f81d5a6dc
use gnulib modules for fstat, lstat, and stat
John W. Eaton <jwe@octave.org>
parents:
10027
diff
changeset
|
1483 * 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
|
1484 (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
|
1485 |
10027
0f312e11957e
use mkdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10025
diff
changeset
|
1486 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
|
1487 |
0f312e11957e
use mkdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10025
diff
changeset
|
1488 * 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
|
1489 function that takes two arguments. |
0f312e11957e
use mkdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10025
diff
changeset
|
1490 * mkdir.c: Delete. |
0f312e11957e
use mkdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10025
diff
changeset
|
1491 * 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
|
1492 |
10025
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
1493 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
|
1494 |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
1495 * 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
|
1496 (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
|
1497 oct_md5_result_to_str. |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
1498 |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
1499 * 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
|
1500 (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
|
1501 * md5.c, md5.h: Delete. |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
1502 |
10004
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9994
diff
changeset
|
1503 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
|
1504 |
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9994
diff
changeset
|
1505 * 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
|
1506 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
|
1507 |
9994
fdc3a43c0be8
avoid conflict with gnulib defining glob to be rpl_glob
John W. Eaton <jwe@octave.org>
parents:
9987
diff
changeset
|
1508 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
|
1509 |
fdc3a43c0be8
avoid conflict with gnulib defining glob to be rpl_glob
John W. Eaton <jwe@octave.org>
parents:
9987
diff
changeset
|
1510 * 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
|
1511 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
|
1512 * 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
|
1513 |
9987
bb30843c4929
fix subscripting of vectors by N-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9986
diff
changeset
|
1514 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
|
1515 |
bb30843c4929
fix subscripting of vectors by N-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9986
diff
changeset
|
1516 * 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
|
1517 result dimensions. |
bb30843c4929
fix subscripting of vectors by N-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9986
diff
changeset
|
1518 |
9986
672e1b49e01e
optimize indexing of ranges by single subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9985
diff
changeset
|
1519 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
|
1520 |
672e1b49e01e
optimize indexing of ranges by single subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9985
diff
changeset
|
1521 * 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
|
1522 New methods. |
672e1b49e01e
optimize indexing of ranges by single subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9985
diff
changeset
|
1523 * Range.h: Declare them. |
672e1b49e01e
optimize indexing of ranges by single subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9985
diff
changeset
|
1524 |
9985
43a29eeda994
fix idx_vector::loop for masks
Jaroslav Hajek <highegg@gmail.com>
parents:
9979
diff
changeset
|
1525 2009-12-15 Jaroslav Hajek <highegg@gmail.com> |
43a29eeda994
fix idx_vector::loop for masks
Jaroslav Hajek <highegg@gmail.com>
parents:
9979
diff
changeset
|
1526 |
43a29eeda994
fix idx_vector::loop for masks
Jaroslav Hajek <highegg@gmail.com>
parents:
9979
diff
changeset
|
1527 * 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
|
1528 masks. |
43a29eeda994
fix idx_vector::loop for masks
Jaroslav Hajek <highegg@gmail.com>
parents:
9979
diff
changeset
|
1529 |
9979
3878bae57c12
Clean liboctave/Makefile.am to use more standard automake syntax
Rik <rdrider0-list@yahoo.com>
parents:
9975
diff
changeset
|
1530 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
|
1531 |
3878bae57c12
Clean liboctave/Makefile.am to use more standard automake syntax
Rik <rdrider0-list@yahoo.com>
parents:
9975
diff
changeset
|
1532 * 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
|
1533 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
|
1534 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
|
1535 changed. |
3878bae57c12
Clean liboctave/Makefile.am to use more standard automake syntax
Rik <rdrider0-list@yahoo.com>
parents:
9975
diff
changeset
|
1536 |
9975
14ed68363284
remove stray decls from oct-shlib.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9971
diff
changeset
|
1537 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
|
1538 |
14ed68363284
remove stray decls from oct-shlib.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9971
diff
changeset
|
1539 * oct-shlib.h: Remove stray declarations. |
14ed68363284
remove stray decls from oct-shlib.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9971
diff
changeset
|
1540 |
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
|
1541 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
|
1542 |
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
|
1543 * 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
|
1544 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
|
1545 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
|
1546 |
9958
80432f0ee895
improve octave_shlib for safer shared libs treatment
Jaroslav Hajek <highegg@gmail.com>
parents:
9947
diff
changeset
|
1547 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
|
1548 |
80432f0ee895
improve octave_shlib for safer shared libs treatment
Jaroslav Hajek <highegg@gmail.com>
parents:
9947
diff
changeset
|
1549 * oct-shlib.h (octave_shlib): Rewrite. |
80432f0ee895
improve octave_shlib for safer shared libs treatment
Jaroslav Hajek <highegg@gmail.com>
parents:
9947
diff
changeset
|
1550 * oct-shlib.cc (octave_shlib): Rewrite. |
80432f0ee895
improve octave_shlib for safer shared libs treatment
Jaroslav Hajek <highegg@gmail.com>
parents:
9947
diff
changeset
|
1551 |
9947
31436dcf7d0f
call nstrftime, not my_strftime
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
1552 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
|
1553 |
31436dcf7d0f
call nstrftime, not my_strftime
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
1554 * 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
|
1555 of my_strftime. |
31436dcf7d0f
call nstrftime, not my_strftime
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
1556 |
9946 | 1557 2009-12-09 John W. Eaton <jwe@octave.org> |
1558 | |
1559 * oct-time.cc: Include strftime.h. Don't provide decl for strftime. | |
1560 (octave_base_tm::strftime): Call my_strftime instead of ::strftime. | |
1561 * Makefile.am (AM_CPPFLAGS): Add -I$(top_srcdir)/libgnu to the list. | |
1562 (LINK_DEPS): Add ../libgnu/libgnu.la to the list. | |
1563 (LIBOCTAVE_C_SOURCES): Remove strftime.c from the list. | |
1564 * strftime.c: Delete. | |
1565 | |
9941
1369f13ae6b2
several fixes by M. Goffioul
Jaroslav Hajek <highegg@gmail.com>
parents:
9922
diff
changeset
|
1566 2009-12-08 Michael Goffioul <michael.goffioul@gmail.com> |
1369f13ae6b2
several fixes by M. Goffioul
Jaroslav Hajek <highegg@gmail.com>
parents:
9922
diff
changeset
|
1567 |
1369f13ae6b2
several fixes by M. Goffioul
Jaroslav Hajek <highegg@gmail.com>
parents:
9922
diff
changeset
|
1568 * 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
|
1569 * Array-f.cc (Array<float>::is_sorted): Ditto. |
1369f13ae6b2
several fixes by M. Goffioul
Jaroslav Hajek <highegg@gmail.com>
parents:
9922
diff
changeset
|
1570 * 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
|
1571 |
9922
3a8327d51ed4
optimize issorted for doubles & floats
Jaroslav Hajek <highegg@gmail.com>
parents:
9921
diff
changeset
|
1572 2009-12-05 Jaroslav Hajek <highegg@gmail.com> |
3a8327d51ed4
optimize issorted for doubles & floats
Jaroslav Hajek <highegg@gmail.com>
parents:
9921
diff
changeset
|
1573 |
3a8327d51ed4
optimize issorted for doubles & floats
Jaroslav Hajek <highegg@gmail.com>
parents:
9921
diff
changeset
|
1574 * Array-d.cc (Array<double>::is_sorted): Optimized specialization. |
3a8327d51ed4
optimize issorted for doubles & floats
Jaroslav Hajek <highegg@gmail.com>
parents:
9921
diff
changeset
|
1575 * Array-f.cc (Array<float>::is_sorted): Ditto. |
3a8327d51ed4
optimize issorted for doubles & floats
Jaroslav Hajek <highegg@gmail.com>
parents:
9921
diff
changeset
|
1576 |
9921
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
1577 2009-12-05 Jaroslav Hajek <highegg@gmail.com> |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
1578 |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
1579 * oct-sort.cc (lookup_binary): Remove. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
1580 (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
|
1581 code here. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
1582 (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
|
1583 octave_idx_type, octave_idx_type *, comp)): Remove offset parameter. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
1584 Use a simple sequence of lookups. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
1585 (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
|
1586 octave_idx_type, octave_idx_type *)): Update. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
1587 (octave_sort<T>::lookupm, octave_sort<T>::lookupb): Remove. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
1588 (octave_sort<T>::lookup_sorted): New overloaded method. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
1589 |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
1590 * Array.cc (Array<T>::lookup (const Array<T>&, sortmode)): Remove |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
1591 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
|
1592 call octave_sort::lookup_sorted to do the sorted merge. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
1593 (Array<T>::lookupm, Array<T>::lookupb): Remove. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
1594 (NO_INSTANTIATE_ARRAY_SORT): Update. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
1595 |
9920
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
1596 2009-12-05 Jaroslav Hajek <highegg@gmail.com> |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
1597 |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
1598 * Array.cc (sortrows_comparator): Rename to safe_comparator. |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
1599 (Array<T>::is_sorted): Use it here. |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
1600 * Array-d.cc: Update. |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
1601 * Array-f.cc: Update. |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
1602 * Array-C.cc: Update. |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
1603 * Array-fC.cc: Update. |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
1604 |
9906 | 1605 2009-12-03 John W. Eaton <jwe@octave.org> |
1606 | |
1607 * Makefile.am (BUILT_NODISTFILES): New variable. | |
1608 | |
9894
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
1609 2009-12-01 Jaroslav Hajek <highegg@gmail.com> |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
1610 |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
1611 * 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
|
1612 idx_vector::idx_scalar_rep::unconvert, |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
1613 idx_vector::idx_vector_rep::unconvert, |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
1614 idx_vector::idx_mask_rep::unconvert): New methods. |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
1615 (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
|
1616 * idx-vector.h: Update decls. |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
1617 |
9886
cddd5c3d5f04
fix & extend special-case optimizations for indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
9879
diff
changeset
|
1618 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
|
1619 |
cddd5c3d5f04
fix & extend special-case optimizations for indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
9879
diff
changeset
|
1620 * 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
|
1621 * idx-vector.h (idx_vector::idx_mask_rep::is_colon_equiv): Fix. |
9967 | 1622 * 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
|
1623 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
|
1624 for all colon-equivalent indices. |
cddd5c3d5f04
fix & extend special-case optimizations for indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
9879
diff
changeset
|
1625 |
9879
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
1626 2009-11-27 Jaroslav Hajek <highegg@gmail.com> |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
1627 |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
1628 * 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
|
1629 (idx_vector::idx_mask_rep): New class. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
1630 (idx_vector::idx_vector (bool)): Construct idx_mask_rep. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
1631 (idx_vector::unmask): New method decl. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
1632 * idx-vector.cc (idx_vector::idx_vector (const boolNDArray&)): |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
1633 Construct idx_mask_rep conditionally. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
1634 (idx_vector::unmask): New method. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
1635 (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
|
1636 vector. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
1637 (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
|
1638 |
9878
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
1639 2009-11-27 Jaroslav Hajek <highegg@gmail.com> |
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
1640 |
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
1641 * Array.cc (Array<T>::nnz): New method. |
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
1642 * Array.h: Declare it. |
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
1643 * MArray.h (MArray<T>::nnz): Remove. |
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
1644 * MArrayN.h (MArrayN<T>::nnz): Remove. |
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
1645 * boolNDArray.h (boolNDArray::nnz): Remove. |
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
1646 |
9862
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
1647 2009-11-25 Jaroslav Hajek <highegg@gmail.com> |
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
1648 |
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
1649 * 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
|
1650 nonzero. Use smarter copying. |
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
1651 * floatCHOL.cc (FloatCHOL::init): Ditto. |
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
1652 * CmplxCHOL.cc (ComplexCHOL::init): Ditto. |
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
1653 * fCmplxCHOL.cc (FloatComplexCHOL::init): Ditto. |
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
1654 |
9858
47c5af1868df
move idx_add methods to MArrayN
Jaroslav Hajek <highegg@gmail.com>
parents:
9840
diff
changeset
|
1655 2009-11-24 Jaroslav Hajek <highegg@gmail.com> |
47c5af1868df
move idx_add methods to MArrayN
Jaroslav Hajek <highegg@gmail.com>
parents:
9840
diff
changeset
|
1656 |
47c5af1868df
move idx_add methods to MArrayN
Jaroslav Hajek <highegg@gmail.com>
parents:
9840
diff
changeset
|
1657 * MArrayN.cc (MArrayN::idx_add): New methods. |
47c5af1868df
move idx_add methods to MArrayN
Jaroslav Hajek <highegg@gmail.com>
parents:
9840
diff
changeset
|
1658 * MArrayN.h: Declare them. |
47c5af1868df
move idx_add methods to MArrayN
Jaroslav Hajek <highegg@gmail.com>
parents:
9840
diff
changeset
|
1659 * MArray.cc, MArray.h: Remove from here. |
47c5af1868df
move idx_add methods to MArrayN
Jaroslav Hajek <highegg@gmail.com>
parents:
9840
diff
changeset
|
1660 |
9840
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
1661 2009-11-19 Jaroslav Hajek <highegg@gmail.com> |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
1662 |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
1663 * 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
|
1664 * Array.h (Array<T>::Array (const dim_vector&), |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
1665 Array<T>::Array (const dim_vector&, const T&), |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
1666 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
|
1667 * 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
|
1668 (Array<T>::get_size): Remove. |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
1669 * Array2.h (Array2::get_size): Remove. |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
1670 * Array3.h (Array3::get_size): Remove. |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
1671 |
9839
3e8b4c80ae63
use Array::get_size in Array::clear
Jaroslav Hajek <highegg@gmail.com>
parents:
9835
diff
changeset
|
1672 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
|
1673 |
3e8b4c80ae63
use Array::get_size in Array::clear
Jaroslav Hajek <highegg@gmail.com>
parents:
9835
diff
changeset
|
1674 * 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
|
1675 |
9835
1bb1ed717d2f
implement built-in erfinv
Jaroslav Hajek <highegg@gmail.com>
parents:
9831
diff
changeset
|
1676 2009-11-19 Jaroslav Hajek <highegg@gmail.com> |
1bb1ed717d2f
implement built-in erfinv
Jaroslav Hajek <highegg@gmail.com>
parents:
9831
diff
changeset
|
1677 |
1bb1ed717d2f
implement built-in erfinv
Jaroslav Hajek <highegg@gmail.com>
parents:
9831
diff
changeset
|
1678 * lo-mappers.cc (do_erfinv): New static function. |
1bb1ed717d2f
implement built-in erfinv
Jaroslav Hajek <highegg@gmail.com>
parents:
9831
diff
changeset
|
1679 (erfinv (double), erfinv (float)): New mappers. |
1bb1ed717d2f
implement built-in erfinv
Jaroslav Hajek <highegg@gmail.com>
parents:
9831
diff
changeset
|
1680 * lo-mappers.h: Declare them. |
1bb1ed717d2f
implement built-in erfinv
Jaroslav Hajek <highegg@gmail.com>
parents:
9831
diff
changeset
|
1681 |
9831
737624cb7560
list_in_columns: Don't SIGFPE when given empty first argument
David Grundberg <davidg@cs.umu.se>
parents:
9829
diff
changeset
|
1682 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
|
1683 |
737624cb7560
list_in_columns: Don't SIGFPE when given empty first argument
David Grundberg <davidg@cs.umu.se>
parents:
9829
diff
changeset
|
1684 * 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
|
1685 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
|
1686 |
9829
8fd88cc36fa4
fix loading sparse matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9827
diff
changeset
|
1687 2009-11-18 Jaroslav Hajek <highegg@gmail.com> |
8fd88cc36fa4
fix loading sparse matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9827
diff
changeset
|
1688 |
9967 | 1689 * 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
|
1690 |
9827
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
1691 2009-11-18 Jaroslav Hajek <highegg@gmail.com> |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
1692 |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
1693 * 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
|
1694 (DEFMXMAPPER2X): New macro. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
1695 * bsxfun-decl.h (BSXFUN_OP2_DECL): New macro. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
1696 * 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
|
1697 (do_bsxfun_op): Use OCTAVE_QUIT. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
1698 * dNDArray.cc (NDArray::all_integers (void)): New method. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
1699 (NDArray::any_element_is_negative): Use mx_inline_any_negative. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
1700 (bsxfun_pow (const NDArray&, const NDArray&), |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
1701 bsxfun_pow (const ComplexNDArray&, const NDArray&)): New functions. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
1702 * dNDArray.h: Update. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
1703 * fNDArray.cc (FloatNDArray::all_integers (void)): New method. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
1704 (FloatNDArray::any_element_is_negative): Use mx_inline_any_negative. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
1705 (bsxfun_pow (const FloatNDArray&, const FloatNDArray&), |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
1706 bsxfun_pow (const FloatComplexNDArray&, const FloatNDArray&)): New functions. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
1707 * fNDArray.h: Update. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
1708 * CNDArray.cc (bsxfun_pow (const ComplexNDArray&, const |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
1709 ComplexNDArray&)): New function. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
1710 * CNDArray.h: Update. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
1711 * fCNDArray.cc (bsxfun_pow (const FloatComplexNDArray&, const |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
1712 FloatComplexNDArray&)): New function. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
1713 * fCNDArray.h: Update. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
1714 |
9825
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
1715 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
|
1716 |
9967 | 1717 * 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
|
1718 Use mx_inline_all_real. |
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
1719 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Ditto. |
9967 | 1720 * 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
|
1721 Use mx_inline_all_real. |
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
1722 * 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
|
1723 * 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
|
1724 * 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
|
1725 * 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
|
1726 |
9821 | 1727 2009-11-17 Jaroslav Hajek <highegg@gmail.com> |
1728 | |
1729 * base-aepbal.h (permuting_vector): Fix lower part swapping. | |
1730 | |
9816
b1462c588dd5
add -DX_DLL_DEFS to CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
9814
diff
changeset
|
1731 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
|
1732 |
b1462c588dd5
add -DX_DLL_DEFS to CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
9814
diff
changeset
|
1733 * 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
|
1734 the list of flags. |
b1462c588dd5
add -DX_DLL_DEFS to CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
9814
diff
changeset
|
1735 |
9814
2b29f3472e20
add a couple of useful loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9812
diff
changeset
|
1736 2009-11-13 Jaroslav Hajek <highegg@gmail.com> |
2b29f3472e20
add a couple of useful loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9812
diff
changeset
|
1737 |
2b29f3472e20
add a couple of useful loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9812
diff
changeset
|
1738 * mx-inlines.cc (mx_inline_any_nan): Rewrite. |
2b29f3472e20
add a couple of useful loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9812
diff
changeset
|
1739 (mx_inline_all_real): New reduction loop. |
2b29f3472e20
add a couple of useful loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9812
diff
changeset
|
1740 |
9812
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1741 2009-11-12 Jaroslav Hajek <highegg@gmail.com> |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1742 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1743 * 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
|
1744 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
|
1745 rc_log10, rc_log10, rc_sqrt, rc_sqrt): New mappers. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1746 * lo-mappers.h: Declare them. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1747 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1748 * 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
|
1749 mappers. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1750 * lo-specfun.h: Declare them. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1751 * 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
|
1752 Provide function-reference overloads. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1753 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1754 * MArray.h (MArray<T>::map): Provide function-reference overloads. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1755 * Array2.h (Array2<T>::map): Ditto. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1756 * MArray2.h (MArray2<T>::map): Ditto. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1757 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1758 * Sparse.h (Sparse<T>::map): Ditto. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1759 * MSparse.h (MSparse<T>::map): Ditto. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1760 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1761 * dNDArray.h (NDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1762 * dNDArray.cc (NDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1763 * fNDArray.h (FloatNDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1764 * fNDArray.cc (FloatNDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1765 * CNDArray.h (ComplexNDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1766 * CNDArray.cc (ComplexNDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1767 * fCNDArray.h (FloatComplexNDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1768 * fCNDArray.cc (FloatComplexNDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1769 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1770 * dMatrix.h (Matrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1771 * dMatrix.cc (Matrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1772 * fMatrix.h (FloatMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1773 * fMatrix.cc (FloatMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1774 * CMatrix.h (ComplexMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1775 * CMatrix.cc (ComplexMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1776 * fCMatrix.h (FloatComplexMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1777 * fCMatrix.cc (FloatComplexMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1778 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1779 * dRowVector.h (RowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1780 * dRowVector.cc (RowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1781 * fRowVector.h (FloatRowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1782 * fRowVector.cc (FloatRowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1783 * CRowVector.h (ComplexRowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1784 * CRowVector.cc (ComplexRowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1785 * fCRowVector.h (FloatComplexRowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1786 * fCRowVector.cc (FloatComplexRowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1787 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1788 * dColVector.h (ColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1789 * dColVector.cc (ColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1790 * fColVector.h (FloatColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1791 * fColVector.cc (FloatColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1792 * CColVector.h (ComplexColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1793 * CColVector.cc (ComplexColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1794 * fCColVector.h (FloatComplexColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1795 * fCColVector.cc (FloatComplexColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1796 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1797 * dSparse.h (SparseMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1798 * dSparse.cc (SparseMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1799 * CSparse.h (SparseComplexMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1800 * CSparse.cc (SparseComplexMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
1801 |
9805
bb70d16cca3b
fail at configure time if IEEE floating point format is not detected
John W. Eaton <jwe@octave.org>
parents:
9800
diff
changeset
|
1802 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
|
1803 |
bb70d16cca3b
fail at configure time if IEEE floating point format is not detected
John W. Eaton <jwe@octave.org>
parents:
9800
diff
changeset
|
1804 * 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
|
1805 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
|
1806 |
9800
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
1807 2009-11-11 Jaroslav Hajek <highegg@gmail.com> |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
1808 |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
1809 * mx-inlines.cc (mx_inline_map): New template loop. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
1810 (DEFMXMAPPER): New macro. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
1811 (DEFMXMAPPER2): Rename from DEFMXMAPPER. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
1812 (do_mx_unary_map): New applier. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
1813 (mx_inline_real, mx_inline_complex): New loops. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
1814 * dNDArray.cc (NDArray::abs, NDArray::isnan, NDArray::isinf, |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
1815 NDArray::isfinite, real, imag): Use new constructs. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
1816 * fNDArray.cc (FloatNDArray::abs, FloatNDArray::isnan, |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
1817 FloatNDArray::isinf, FloatNDArray::isfinite, real, imag): Ditto. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
1818 * CNDArray.cc (ComplexNDArray::abs, ComplexNDArray::isnan, |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
1819 ComplexNDArray::isinf, ComplexNDArray::isfinite, conj): Use new |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
1820 constructs. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
1821 * fCNDArray.cc (FloatComplexNDArray::abs, FloatComplexNDArray::isnan, |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
1822 FloatComplexNDArray::isinf, FloatComplexNDArray::isfinite, conj): Use |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
1823 new constructs. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
1824 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9790
diff
changeset
|
1825 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
|
1826 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9790
diff
changeset
|
1827 * 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
|
1828 Add comment about updating. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9790
diff
changeset
|
1829 * 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
|
1830 * Makefile.in: Delete. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9790
diff
changeset
|
1831 |
9789
97f5de91427b
support sparse templated extractors
Jaroslav Hajek <highegg@gmail.com>
parents:
9780
diff
changeset
|
1832 2009-11-09 Jaroslav Hajek <highegg@gmail.com> |
97f5de91427b
support sparse templated extractors
Jaroslav Hajek <highegg@gmail.com>
parents:
9780
diff
changeset
|
1833 |
97f5de91427b
support sparse templated extractors
Jaroslav Hajek <highegg@gmail.com>
parents:
9780
diff
changeset
|
1834 * dSparse.h (Sparse::max): Use Array<octave_idx_type>. |
97f5de91427b
support sparse templated extractors
Jaroslav Hajek <highegg@gmail.com>
parents:
9780
diff
changeset
|
1835 * dSparse.cc: Update. |
97f5de91427b
support sparse templated extractors
Jaroslav Hajek <highegg@gmail.com>
parents:
9780
diff
changeset
|
1836 * CSparse.h (Sparse::max): Use Array<octave_idx_type>. |
97f5de91427b
support sparse templated extractors
Jaroslav Hajek <highegg@gmail.com>
parents:
9780
diff
changeset
|
1837 * CSparse.cc: Update. |
9790
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
1838 * 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
|
1839 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
|
1840 * 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
|
1841 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
|
1842 * 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
|
1843 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
|
1844 Use dim = -1 as default. |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
1845 * 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
|
1846 FloatComplexNDArray::cummax, FloatComplexNDArray::cummin, |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
1847 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
|
1848 * 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
|
1849 intNDArray::cummin, intNDArray::diff): Use dim = -1 as default. |
9789
97f5de91427b
support sparse templated extractors
Jaroslav Hajek <highegg@gmail.com>
parents:
9780
diff
changeset
|
1850 |
9780
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
1851 2009-11-03 Jaroslav Hajek <highegg@gmail.com> |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
1852 |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
1853 * oct-mem.h: Rename octave_ucopy -> copy_or_memcpy, |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
1854 octave_fill -> fill_or_memset, octave_new -> no_ctor_new, |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
1855 octave_delete -> no_ctor_delete. |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
1856 * Array.h: Update. |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
1857 * Array.cc: Update. |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
1858 * idx-vector.h: Update. |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
1859 * idx-vector.cc: Update. |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
1860 |
9773
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
1861 2009-11-03 Jaroslav Hajek <highegg@gmail.com> |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
1862 |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
1863 * oct-mem.h: New source. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
1864 * Makefile.in: Include it. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
1865 * 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
|
1866 octave_ucopy and octave_fill. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
1867 (Array<T>::ArrayRep::~ArrayRep): Use octave_delete. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
1868 (Array<T>::coerce): Use octave_new. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
1869 * 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
|
1870 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
|
1871 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
|
1872 * 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
|
1873 octave_ucopy. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
1874 * idx-vector.cc (index_vector::copy_data): Ditto. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
1875 |
9772
3ac8ea48279b
improve index reduction rules
Jaroslav Hajek <highegg@gmail.com>
parents:
9766
diff
changeset
|
1876 2009-11-03 Jaroslav Hajek <highegg@gmail.com> |
3ac8ea48279b
improve index reduction rules
Jaroslav Hajek <highegg@gmail.com>
parents:
9766
diff
changeset
|
1877 |
3ac8ea48279b
improve index reduction rules
Jaroslav Hajek <highegg@gmail.com>
parents:
9766
diff
changeset
|
1878 * 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
|
1879 and (i:k:end, p:q) reductions. |
3ac8ea48279b
improve index reduction rules
Jaroslav Hajek <highegg@gmail.com>
parents:
9766
diff
changeset
|
1880 |
9766
82fe4db20dec
fix bad FLOAT_TRUNCATE in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9760
diff
changeset
|
1881 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
|
1882 |
82fe4db20dec
fix bad FLOAT_TRUNCATE in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9760
diff
changeset
|
1883 * 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
|
1884 |
9760
c6b97d218345
PermMatrix.cc: don't include error.h
John W. Eaton <jwe@octave.org>
parents:
9759
diff
changeset
|
1885 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
|
1886 |
c6b97d218345
PermMatrix.cc: don't include error.h
John W. Eaton <jwe@octave.org>
parents:
9759
diff
changeset
|
1887 * 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
|
1888 |
9759
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
1889 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
|
1890 |
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
1891 * 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
|
1892 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
|
1893 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
|
1894 bool)): Fix test for valid pivot tolerance. |
9967 | 1895 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU |
1896 (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
|
1897 SparseComplexLU::SparseComplexLU (const SparseComplexMatrix&, |
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
1898 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
|
1899 bool)): Ditto. |
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
1900 |
9757
95ad9c2a27e2
fix idx_vector construction checks
Jaroslav Hajek <highegg@gmail.com>
parents:
9748
diff
changeset
|
1901 2009-10-23 Jaroslav Hajek <highegg@gmail.com> |
95ad9c2a27e2
fix idx_vector construction checks
Jaroslav Hajek <highegg@gmail.com>
parents:
9748
diff
changeset
|
1902 |
95ad9c2a27e2
fix idx_vector construction checks
Jaroslav Hajek <highegg@gmail.com>
parents:
9748
diff
changeset
|
1903 * 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
|
1904 (octave_idx_type, octave_idx_type, octave_idx_type)): |
95ad9c2a27e2
fix idx_vector construction checks
Jaroslav Hajek <highegg@gmail.com>
parents:
9748
diff
changeset
|
1905 Improve checking. |
95ad9c2a27e2
fix idx_vector construction checks
Jaroslav Hajek <highegg@gmail.com>
parents:
9748
diff
changeset
|
1906 |
9748
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
1907 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
|
1908 |
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
1909 * 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
|
1910 New constructor. |
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
1911 (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
|
1912 |
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
1913 * 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
|
1914 |
9743
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1915 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
|
1916 |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1917 * 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
|
1918 * Makefile.in: Add them. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1919 * dim-vector.h (dim_vector::compute_index, |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1920 dim_vector::increment_index): Fix. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1921 * mx-inlines.cc (DEFMXMAPPER, DEFMXLOCALMAPPER): New macros. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1922 (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
|
1923 (mx_inline_fun): Remove. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1924 * 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
|
1925 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
|
1926 New inline functions. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1927 |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1928 * CNDArray.cc: Define bsxfun operations. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1929 * boolNDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1930 * dNDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1931 * fCNDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1932 * fNDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1933 * int16NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1934 * int32NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1935 * int64NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1936 * int8NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1937 * uint16NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1938 * uint32NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1939 * uint64NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1940 * uint8NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1941 |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1942 * CNDArray.h: Declare bsxfun operations. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1943 * boolNDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1944 * dNDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1945 * fCNDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1946 * fNDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1947 * int16NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1948 * int32NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1949 * int64NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1950 * int8NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1951 * uint16NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1952 * uint32NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1953 * uint64NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1954 * uint8NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
1955 |
9739
13b57eec9440
a few handy methods for dim_vector
Jaroslav Hajek <highegg@gmail.com>
parents:
9738
diff
changeset
|
1956 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
|
1957 |
13b57eec9440
a few handy methods for dim_vector
Jaroslav Hajek <highegg@gmail.com>
parents:
9738
diff
changeset
|
1958 * dim-vector.h (dim_vector::compute_index, |
13b57eec9440
a few handy methods for dim_vector
Jaroslav Hajek <highegg@gmail.com>
parents:
9738
diff
changeset
|
1959 dim_vector::increment_index, dim_vector::cumulative, |
13b57eec9440
a few handy methods for dim_vector
Jaroslav Hajek <highegg@gmail.com>
parents:
9738
diff
changeset
|
1960 dim_vector::cum_compute_index): New methods. |
13b57eec9440
a few handy methods for dim_vector
Jaroslav Hajek <highegg@gmail.com>
parents:
9738
diff
changeset
|
1961 |
9738
a141154ee825
Remove ArrayN.cc from Makefile.in
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9737
diff
changeset
|
1962 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
|
1963 |
a141154ee825
Remove ArrayN.cc from Makefile.in
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9737
diff
changeset
|
1964 * Makefile.in: Remove ArrayN.cc. |
a141154ee825
Remove ArrayN.cc from Makefile.in
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9737
diff
changeset
|
1965 |
9737
9bc642ea9006
include base-qr sources in install
Jaroslav Hajek <highegg@gmail.com>
parents:
9734
diff
changeset
|
1966 2009-10-18 Jaroslav Hajek <highegg@gmail.com> |
9bc642ea9006
include base-qr sources in install
Jaroslav Hajek <highegg@gmail.com>
parents:
9734
diff
changeset
|
1967 |
9bc642ea9006
include base-qr sources in install
Jaroslav Hajek <highegg@gmail.com>
parents:
9734
diff
changeset
|
1968 * 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
|
1969 |
9734
1a9508872af0
initialize QR:: constants
Jaroslav Hajek <highegg@gmail.com>
parents:
9732
diff
changeset
|
1970 2009-10-17 Jaroslav Hajek <highegg@gmail.com> |
1a9508872af0
initialize QR:: constants
Jaroslav Hajek <highegg@gmail.com>
parents:
9732
diff
changeset
|
1971 |
1a9508872af0
initialize QR:: constants
Jaroslav Hajek <highegg@gmail.com>
parents:
9732
diff
changeset
|
1972 * dbleQR.cc: Initialize QR::raw, QR::economy and QR::std. |
1a9508872af0
initialize QR:: constants
Jaroslav Hajek <highegg@gmail.com>
parents:
9732
diff
changeset
|
1973 |
9732
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1974 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
|
1975 |
9967 | 1976 * 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
|
1977 Warn if under gcc. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1978 * ArrayN.cc: Remove. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1979 * Array.cc (operator >>): New operator. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1980 * Array.h: Declare it. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1981 |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1982 * 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
|
1983 * Array-b.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1984 * Array-ch.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1985 * Array-d.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1986 * Array-f.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1987 * Array-fC.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1988 * CNDArray.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1989 * CNDArray.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1990 * MArrayN.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1991 * boolNDArray.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1992 * boolNDArray.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1993 * chNDArray.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1994 * dNDArray.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1995 * dNDArray.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1996 * fCNDArray.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1997 * fCNDArray.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1998 * fNDArray.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
1999 * fNDArray.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2000 * intNDArray.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2001 * intNDArray.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2002 * lo-specfun.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2003 * lo-specfun.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2004 |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2005 * 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
|
2006 (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
|
2007 dm-s which are rather useless. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2008 * mx-ops: Update. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2009 |
9731 | 2010 2009-10-16 Jaroslav Hajek <highegg@gmail.com> |
2011 | |
2012 * Array.cc (Array<T>::column, Array<T>::page, Array<T>::linearize, | |
2013 Array<T>::linear_slice): New methods. | |
2014 * Array.h: Declare them | |
2015 * ArrayN.h: Forward them. | |
2016 | |
9725 | 2017 2009-10-14 Jaroslav Hajek <highegg@gmail.com> |
2018 | |
2019 * oct-sort.cc (octave_sort<T>::nth_element): New overloaded method. | |
2020 * oct-sort.h: Declare it. | |
2021 * Array.cc (Array<T>::nth_element): New method. | |
2022 * Array.h: Declare it. | |
2023 (Array<T>::sort): Use int for dim argument. | |
2024 * ArrayN.h (ArrayN<T>::nth_element): Wrap. | |
2025 (ArrayN<T>::sort): Use int for dim argument. | |
2026 | |
9721
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
2027 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
|
2028 |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
2029 * 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
|
2030 traits classes. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
2031 * 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
|
2032 (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
|
2033 * 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
|
2034 * fNDArray.h: Declare it. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
2035 * 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
|
2036 * fCNDArray.h: Declare it. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
2037 * 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
|
2038 * dNDArray.h: Declare it. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
2039 * 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
|
2040 * CNDArray.h: Declare it. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
2041 * 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
|
2042 * intNDArray.h: Declare it. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
2043 |
9715
9f27172fbd1e
auto-set MatrixType from certain functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9713
diff
changeset
|
2044 2009-10-12 Jaroslav Hajek <highegg@gmail.com> |
9f27172fbd1e
auto-set MatrixType from certain functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9713
diff
changeset
|
2045 |
9f27172fbd1e
auto-set MatrixType from certain functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9713
diff
changeset
|
2046 * base-qr.cc (base_qr::regular): New method. |
9f27172fbd1e
auto-set MatrixType from certain functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9713
diff
changeset
|
2047 * base-qr.h: Declare it. |
9f27172fbd1e
auto-set MatrixType from certain functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9713
diff
changeset
|
2048 * base-lu.cc (base_lu::regular): New method. |
9f27172fbd1e
auto-set MatrixType from certain functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9713
diff
changeset
|
2049 * base-lu.h: Declare it. |
9f27172fbd1e
auto-set MatrixType from certain functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9713
diff
changeset
|
2050 |
9713
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
2051 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
|
2052 |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
2053 * base-qr.h: New source. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
2054 * base-qr.cc: New source. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
2055 * 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
|
2056 * dbleQR.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
2057 * 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
|
2058 * floatQR.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
2059 * 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
|
2060 * CmplxQR.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
2061 * 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
|
2062 * fCmplxQR.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
2063 * dbleQRP.h (QR): Update. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
2064 * dbleQRP.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
2065 * floatQRP.h (QR): Update. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
2066 * floatQRP.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
2067 * CmplxQRP.h (QR): Update. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
2068 * CmplxQRP.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
2069 * fCmplxQRP.h (QR): Update. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
2070 * fCmplxQRP.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
2071 |
9708 | 2072 2009-10-08 Jaroslav Hajek <highegg@gmail.com> |
2073 | |
2074 * PermMatrix.cc (PermMatrix::eye): New method. | |
2075 * PermMatrix.h: Declare it. | |
2076 * dbleLU.cc (LU::update, LU::update_piv): New overloaded methods. | |
2077 * dbleLU.h: Declare them. | |
2078 * floatLU.cc (FloatLU::update, FloatLU::update_piv): New overloaded | |
2079 methods. | |
2080 * floatLU.h: Declare them. | |
2081 * CmplxLU.cc (ComplexLU::update, ComplexLU::update_piv): New | |
2082 overloaded methods. | |
2083 * CmplxLU.h: Declare them. | |
2084 * fCmplxLU.cc (FloatComplexLU::update, FloatComplexLU::update_piv): | |
2085 New overloaded methods. | |
2086 * fCmplxLU.h: Declare them. | |
2087 | |
9702
9ecd35a606e3
avoid some warnings from g++
John W. Eaton <jwe@octave.org>
parents:
9698
diff
changeset
|
2088 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
|
2089 |
9ecd35a606e3
avoid some warnings from g++
John W. Eaton <jwe@octave.org>
parents:
9698
diff
changeset
|
2090 * 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
|
2091 |
9698
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
2092 2009-10-06 Jaroslav Hajek <highegg@gmail.com> |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
2093 |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
2094 * dDiagMatrix.cc (operator *(const DiagMatrix&, const DiagMatrix&)): |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
2095 Rewrite. |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
2096 * fDiagMatrix.cc (operator *(const FloatDiagMatrix&, const FloatDiagMatrix&)): |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
2097 Rewrite. |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
2098 * CDiagMatrix.cc (operator *(const ComplexDiagMatrix&, const ComplexDiagMatrix&)): |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
2099 Rewrite. |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
2100 * fCDiagMatrix.cc (operator *(const FloatComplexDiagMatrix&, const |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
2101 FloatComplexDiagMatrix&)): |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
2102 Rewrite. |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
2103 * DiagArray2.h (DiagArray2::diag_length): New method. |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
2104 * PermMatrix.h (PermMatrix::length): Make consistent with |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
2105 DiagArray2::length. |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
2106 |
9697
51c17bd18563
omission in base-lu::unpack
Jaroslav Hajek <highegg@gmail.com>
parents:
9695
diff
changeset
|
2107 2009-10-05 Jaroslav Hajek <highegg@gmail.com> |
51c17bd18563
omission in base-lu::unpack
Jaroslav Hajek <highegg@gmail.com>
parents:
9695
diff
changeset
|
2108 |
51c17bd18563
omission in base-lu::unpack
Jaroslav Hajek <highegg@gmail.com>
parents:
9695
diff
changeset
|
2109 * 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
|
2110 |
9695
9fba7e1da785
correct algorithm for perm matrix det (sign)
Jaroslav Hajek <highegg@gmail.com>
parents:
9694
diff
changeset
|
2111 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
|
2112 |
9fba7e1da785
correct algorithm for perm matrix det (sign)
Jaroslav Hajek <highegg@gmail.com>
parents:
9694
diff
changeset
|
2113 * PermMatrix.cc (PermMatrix::determinant): Implement a (hopefully) |
9fba7e1da785
correct algorithm for perm matrix det (sign)
Jaroslav Hajek <highegg@gmail.com>
parents:
9694
diff
changeset
|
2114 working algorithm. |
9fba7e1da785
correct algorithm for perm matrix det (sign)
Jaroslav Hajek <highegg@gmail.com>
parents:
9694
diff
changeset
|
2115 |
9694
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
2116 2009-10-05 Jaroslav Hajek <highegg@gmail.com> |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
2117 |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
2118 * dim-vector.h (operator ==): Include fast case. |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
2119 * 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
|
2120 (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
|
2121 packed vs. unpacked case. |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
2122 * base-lu.h: Update decls. |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
2123 (base_lu::l_fact): New member field. |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
2124 |
9685 | 2125 2009-10-02 Jaroslav Hajek <highegg@gmail.com> |
2126 | |
2127 * lo-traits.h (strip_template_param): New trait class. | |
2128 | |
9678
c929f09457b7
rewrite num2cell for speed-up + a few associated fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
9667
diff
changeset
|
2129 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
|
2130 |
c929f09457b7
rewrite num2cell for speed-up + a few associated fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
9667
diff
changeset
|
2131 * 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
|
2132 |
9667
641a788c82a4
fix complex-real comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9666
diff
changeset
|
2133 2009-09-27 Jaroslav Hajek <highegg@gmail.com> |
641a788c82a4
fix complex-real comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9666
diff
changeset
|
2134 |
641a788c82a4
fix complex-real comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9666
diff
changeset
|
2135 * oct-cmplx.h: Fix complex-real orderings. |
641a788c82a4
fix complex-real comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9666
diff
changeset
|
2136 |
9666
a531dec450c4
allow 1D case for sub2ind and ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9665
diff
changeset
|
2137 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
|
2138 |
a531dec450c4
allow 1D case for sub2ind and ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9665
diff
changeset
|
2139 * dim-vector.h (dim_vector::redim): Rewrite. |
a531dec450c4
allow 1D case for sub2ind and ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9665
diff
changeset
|
2140 * 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
|
2141 |
9665
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
2142 2009-09-26 Jaroslav Hajek <highegg@gmail.com> |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
2143 |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
2144 * 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
|
2145 (operator *(const Matrix&, const Matrix&)): Update. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
2146 * 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
|
2147 (operator *(const FloatMatrix&, const FloatMatrix&)): Update. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
2148 * 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
|
2149 (operator *(const ComplexMatrix&, const ComplexMatrix&)): Update. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
2150 * 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
|
2151 (operator *(const FloatComplexMatrix&, const FloatComplexMatrix&)): Update. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
2152 * dMatrix.h: Update decl. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
2153 * fMatrix.h: Update decl. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
2154 * CMatrix.h: Update decl. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
2155 * fCMatrix.h: Update decl. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
2156 |
9663
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
2157 2009-09-23 Jaroslav Hajek <highegg@gmail.com> |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
2158 |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
2159 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const Matrix&, const |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
2160 Matrix&)): New constructor. |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
2161 (operator * (Matrix, ComplexMatrix), operator * (ComplexMatrix, |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
2162 Matrix)): Optimize. |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
2163 * fCMatrix.cc (FloatComplexMatrix::FloatComplexMatrix (const FloatMatrix&, const |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
2164 FloatMatrix&)): New constructor. |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
2165 (operator * (FloatMatrix, FloatComplexMatrix), operator * (FloatComplexMatrix, |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
2166 FloatMatrix)): Optimize. |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
2167 |
9662
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
2168 2009-09-23 Jaroslav Hajek <highegg@gmail.com> |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
2169 |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
2170 * 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
|
2171 static funcs. |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
2172 (Matrix::solve (..., const ComplexMatrix&, ...)): Use the above funcs. |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
2173 Improve forwarding. |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
2174 * 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
|
2175 static funcs. |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
2176 (FloatMatrix::solve (..., const FloatComplexMatrix&, ...)): Use the |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
2177 above funcs. Improve forwarding. |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
2178 |
9661
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
2179 2009-09-23 Jaroslav Hajek <highegg@gmail.com> |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
2180 |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
2181 * mx-defs.h (blas_trans_type): New enum. |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
2182 (get_blas_char): New inline func. |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
2183 * dMatrix.cc (Matrix::utsolve, Matrix::ltsolve, Matrix::solve): |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
2184 Support transt parameter. |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
2185 * fMatrix.cc (FloatMatrix::utsolve, FloatMatrix::ltsolve, |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
2186 FloatMatrix::solve): Ditto. |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
2187 * CMatrix.cc (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
2188 ComplexMatrix::solve): Ditto. |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
2189 * fCMatrix.cc (FloatComplexMatrix::utsolve, |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
2190 FloatComplexMatrix::ltsolve, FloatComplexMatrix::solve): Ditto. |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
2191 * dMatrix.h, fMatrix.h, CMatrix.h, fCMatrix.h: Update. |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
2192 |
9660
0256e187d13b
get rid of VS|SV|VV_BIN_OP macros in mx-op-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
9656
diff
changeset
|
2193 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
|
2194 |
0256e187d13b
get rid of VS|SV|VV_BIN_OP macros in mx-op-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
9656
diff
changeset
|
2195 * 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
|
2196 |
9656
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
2197 2009-09-19 Jaroslav Hajek <highegg@gmail.com> |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
2198 |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
2199 * dNDArray.h (NDArray::matrix_type): New typedef. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
2200 * fNDArray.h (FloatNDArray::matrix_type): New typedef. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
2201 * CNDArray.h (ComplexNDArray::matrix_type): New typedef. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
2202 * fCNDArray.h (FloatComplexNDArray::matrix_type): New typedef. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
2203 * boolNDArray.h (boolNDArray::matrix_type): New typedef. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
2204 * charNDArray.h (charNDArray::matrix_type): New typedef. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
2205 |
9967 | 2206 * dMatrix.h (Matrix::column_vector_type, |
9656
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
2207 Matrix::row_vector_type): New typedefs. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
2208 * fMatrix.h (FloatMatrix::column_vector_type, |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
2209 FloatMatrix::row_vector_type): New typedefs. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
2210 * CMatrix.h (ComplexMatrix::column_vector_type, |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
2211 ComplexMatrix::row_vector_type): New typedefs. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
2212 * fCMatrix.h (FloatComplexMatrix::column_vector_type, |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
2213 FloatComplexMatrix::row_vector_type): New typedefs. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
2214 |
9655
17971b0f18b1
mach-info.cc: don't include oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9653
diff
changeset
|
2215 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
|
2216 |
17971b0f18b1
mach-info.cc: don't include oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9653
diff
changeset
|
2217 * 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
|
2218 |
9653
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
2219 2009-09-18 Jaroslav Hajek <highegg@gmail.com> |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
2220 |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
2221 * Array.h (NoAlias): New template class. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
2222 * dRowVector.cc (linspace): Rewrite. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
2223 * fRowVector.cc (linspace): Rewrite. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
2224 * CRowVector.cc (linspace): Rewrite. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
2225 * fCRowVector.cc (linspace): Rewrite. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
2226 * dMatrix.cc (linspace): New method. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
2227 * dMatrix.h (linspace): Declare it. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
2228 * fMatrix.cc (linspace): New method. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
2229 * fMatrix.h (linspace): Declare it. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
2230 * CMatrix.cc (linspace): New method. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
2231 * CMatrix.h (linspace): Declare it. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
2232 * fCMatrix.cc (linspace): New method. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
2233 * fCMatrix.h (linspace): Declare it. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
2234 |
9648
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
2235 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
|
2236 |
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
2237 * oct-types.h.in: Delete. |
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
2238 * 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
|
2239 from the list. |
9649
d0e2aa1974e9
changelog fix for previous change
John W. Eaton <jwe@octave.org>
parents:
9648
diff
changeset
|
2240 (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
|
2241 * 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
|
2242 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
|
2243 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
|
2244 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
|
2245 |
9647
54f45f883a53
optimize & extend randperm
Jaroslav Hajek <highegg@gmail.com>
parents:
9625
diff
changeset
|
2246 2009-09-16 Jaroslav Hajek <highegg@gmail.com> |
54f45f883a53
optimize & extend randperm
Jaroslav Hajek <highegg@gmail.com>
parents:
9625
diff
changeset
|
2247 |
54f45f883a53
optimize & extend randperm
Jaroslav Hajek <highegg@gmail.com>
parents:
9625
diff
changeset
|
2248 * 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
|
2249 Use Array::clear rather than Array::resize. |
54f45f883a53
optimize & extend randperm
Jaroslav Hajek <highegg@gmail.com>
parents:
9625
diff
changeset
|
2250 |
9625
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
2251 2009-09-06 Jaroslav Hajek <highegg@gmail.com> |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
2252 |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
2253 * dColVector.h (operator *(const Matrix&, const ColumnVector)): |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
2254 Optimize. |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
2255 * fColVector.h (operator *(const FloatMatrix&, const |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
2256 FloatColumnVector)): Optimize. |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
2257 * CColVector.h (operator *(const ComplexMatrix&, const |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
2258 ComplexColumnVector)): Optimize. |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
2259 * fCColVector.h (operator *(const FloatComplexMatrix&, const |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
2260 FloatComplexColumnVector)): Optimize. |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
2261 |
9624
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
2262 2009-09-04 Jaroslav Hajek <highegg@gmail.com> |
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
2263 |
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
2264 * 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
|
2265 * Array.h: Declare it. |
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
2266 (Array<T>::clear (octave_idx_type)): New method. |
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
2267 (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
|
2268 |
9612
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2269 2009-09-04 Jaroslav Hajek <highegg@gmail.com> |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2270 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2271 * mx-inlines.cc (DEFMXBOOLOPEQ): New macro. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2272 (mx_inline_and2, mx_inline_or2): New loops. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2273 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2274 * MArray.h (MArray<T>::MArray (const dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2275 (MArray<T>::MArray (const Array<T>&)): Ensure column vector. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2276 (MArray<T>::resize): New method. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2277 * DiagArray2.h (DiagArray2<T>::DiagArray2 (const dim_vector&)): New |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2278 constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2279 * MDiagArray2.h (MDiagArray2<T>::MDiagArray2 (const dim_vector&)): New |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2280 constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2281 * dColVector.h (ColumnVector::ColumnVector (const dim_vector&)): New |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2282 constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2283 * fColVector.h (FloatColumnVector::FloatColumnVector (const |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2284 dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2285 * CColVector.h (ComplexColumnVector::ComplexColumnVector (const |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2286 dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2287 * fCColVector.h (FloatComplexColumnVector::FloatComplexColumnVector |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2288 (const dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2289 * dRowVector.h (RowVector::RowVector (const dim_vector&)): New |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2290 constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2291 * fRowVector.h (FloatRowVector::FloatRowVector (const dim_vector&)): |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2292 New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2293 * CRowVector.h (ComplexRowVector::ComplexRowVector (const |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2294 dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2295 * fCRowVector.h (FloatComplexRowVector::FloatComplexRowVector (const |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2296 dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2297 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2298 * CNDArray.cc (operator *= (const ComplexNDArray, double)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2299 * fCNDArray.cc (operator *= (const FloatComplexNDArray, float)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2300 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2301 * MArray.cc |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2302 (operator += (MArray<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2303 (operator -= (MArray<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2304 (operator *= (MArray<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2305 (operator /= (MArray<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2306 (operator += (MArray<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2307 (operator -= (MArray<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2308 (product (MArray<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2309 (quotient (MArray<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2310 (MARRAY_AS_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2311 (MARRAY_SA_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2312 (MARRAY_AA_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2313 (operator - (const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2314 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2315 * MArray2.cc |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2316 (operator += (MArray2<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2317 (operator -= (MArray2<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2318 (operator *= (MArray2<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2319 (operator /= (MArray2<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2320 (operator += (MArray2<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2321 (operator -= (MArray2<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2322 (product (MArray2<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2323 (quotient (MArray2<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2324 (MARRAY_A2S_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2325 (MARRAY_SA2_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2326 (MARRAY_A2A2_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2327 (operator - (const MArray2<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2328 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2329 * MArrayN.cc |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2330 (operator += (MArrayN<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2331 (operator -= (MArrayN<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2332 (operator *= (MArrayN<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2333 (operator /= (MArrayN<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2334 (operator += (MArrayN<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2335 (operator -= (MArrayN<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2336 (product (MArrayN<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2337 (quotient (MArrayN<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2338 (MARRAY_NDS_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2339 (MARRAY_SND_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2340 (MARRAY_NDND_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2341 (operator - (const MArrayN<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2342 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2343 * MDiagArray2.cc |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2344 (operator += (MDiagArray2<T>&, const MDiagArray2<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2345 (operator -= (MDiagArray2<T>&, const MDiagArray2<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2346 (operator *= (MDiagArray2<T>&, T)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2347 (operator /= (MDiagArray2<T>&, T)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2348 (MARRAY_DAS_OP, MARRAY_SDA_OP, MARRAY_DADA_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2349 * 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
|
2350 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2351 * 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
|
2352 DO_VS_OP2, DO_VV_OP2, NEGV): Remove. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
2353 |
9607
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
2354 2009-09-03 Jaroslav Hajek <highegg@gmail.com> |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
2355 |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
2356 * mx-inlines.cc (DEFMXUNOPEQ): New macro. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
2357 (mx_inline_not2, mx_inline_uminus2): New loops. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
2358 * boolNDArray.cc (boolNDArray::invert): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
2359 * boolNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
2360 * MArrayN.cc (MArrayN<T>::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
2361 * MArrayN.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
2362 * dNDArray.cc (NDArray::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
2363 * dNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
2364 * fNDArray.cc (FloatNDArray::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
2365 * fNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
2366 * CNDArray.cc (ComplexNDArray::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
2367 * CNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
2368 * fCNDArray.cc (FloatComplexNDArray::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
2369 * fCNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
2370 * intNDArray.cc (intNDArray::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
2371 * intNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
2372 |
9603
8bea4e89326f
implement FLOAT_STORE to allow safer complex comparisons on x87
Jaroslav Hajek <highegg@gmail.com>
parents:
9594
diff
changeset
|
2373 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
|
2374 |
9604
4dd8fc7c106c
ChangeLog fix for last change: FLOAT_STORE->FLOAT_TRUNCATE
Jaroslav Hajek <highegg@gmail.com>
parents:
9603
diff
changeset
|
2375 * 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
|
2376 |
9594
01004c3cde2c
fix non-strict complex comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9591
diff
changeset
|
2377 2009-09-01 Jaroslav Hajek <highegg@gmail.com> |
01004c3cde2c
fix non-strict complex comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9591
diff
changeset
|
2378 |
01004c3cde2c
fix non-strict complex comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9591
diff
changeset
|
2379 * oct-cmplx.h: Correct strict operators in macros. |
01004c3cde2c
fix non-strict complex comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9591
diff
changeset
|
2380 |
9591
264fb5520973
abort if floating point format is not recognized as IEEE
John W. Eaton <jwe@octave.org>
parents:
9582
diff
changeset
|
2381 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
|
2382 |
264fb5520973
abort if floating point format is not recognized as IEEE
John W. Eaton <jwe@octave.org>
parents:
9582
diff
changeset
|
2383 * 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
|
2384 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
|
2385 |
9582
bdcfb756d721
improve error messages for ambiguous graphics property names
John W. Eaton <jwe@octave.org>
parents:
9578
diff
changeset
|
2386 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
|
2387 |
bdcfb756d721
improve error messages for ambiguous graphics property names
John W. Eaton <jwe@octave.org>
parents:
9578
diff
changeset
|
2388 * 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
|
2389 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
|
2390 |
9578
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
2391 2009-08-27 Jaroslav Hajek <highegg@gmail.com> |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
2392 |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
2393 * mx-inlines.cc (DEFCMPLXCMOP): Remove. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
2394 * oct-cmplx.h (operator <, operator >): Remove definitions. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
2395 (DEF_COMPLEXR_COMP): New macro. Instantiate for <, >, <=, >=. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
2396 * 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
|
2397 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
|
2398 unused parameters. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
2399 (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
|
2400 SND_CMP_OPS): Update. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
2401 (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
|
2402 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
|
2403 * mk-ops.awk: Simplify CMP_OPS branch. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
2404 * 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
|
2405 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
|
2406 Update. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
2407 |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
2408 * CNDArray.cc: Update syntax. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
2409 * boolNDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
2410 * chNDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
2411 * dNDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
2412 * fCNDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
2413 * fNDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
2414 |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
2415 * int16NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
2416 * int32NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
2417 * int64NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
2418 * int8NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
2419 * uint16NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
2420 * uint32NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
2421 * uint64NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
2422 * uint8NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
2423 |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
2424 * CMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
2425 * boolMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
2426 * chMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
2427 * dMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
2428 * fCMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
2429 * fMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
2430 |
9557
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
2431 2009-08-24 Jaroslav Hajek <highegg@gmail.com> |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
2432 |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
2433 * MArray.cc (MArray<T>::product_eq, MArray<T>::quotient_eq): New |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
2434 methods. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
2435 * MArray2.cc (MArray2<T>::product_eq, MArray2<T>::quotient_eq): Ditto. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
2436 * MArrayN.cc (MArrayN<T>::product_eq, MArrayN<T>::quotient_eq): Ditto. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
2437 * MArray-decl.h (MARRAY_OP_ASSIGN_DECLX): New macro. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
2438 (MARRAY_OP_ASSIGN_DECLS, MARRAY_OP_ASSIGN_FWD_DEFS): Include |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
2439 product_eq and quotient_eq. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
2440 (MARRAY_FORWARD_DEFS): Use MARRAY_OP_ASSIGN_FWD_DEFS1. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
2441 (MDIAGARRAY2_OPS_FORWARD_DECLS): Don't instantiate |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
2442 OP= operators for diag matrices. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
2443 (MDIAGARRAY2_FORWARD_DEFS): Ditto. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
2444 * MArray-defs.h (INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
2445 |
9556
948795dc1974
make a few Array methods inline
Jaroslav Hajek <highegg@gmail.com>
parents:
9553
diff
changeset
|
2446 2009-08-23 Jaroslav Hajek <highegg@gmail.com> |
948795dc1974
make a few Array methods inline
Jaroslav Hajek <highegg@gmail.com>
parents:
9553
diff
changeset
|
2447 |
948795dc1974
make a few Array methods inline
Jaroslav Hajek <highegg@gmail.com>
parents:
9553
diff
changeset
|
2448 * 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
|
2449 Move here to allow inlining. |
948795dc1974
make a few Array methods inline
Jaroslav Hajek <highegg@gmail.com>
parents:
9553
diff
changeset
|
2450 * Array.cc: Remove from here. |
948795dc1974
make a few Array methods inline
Jaroslav Hajek <highegg@gmail.com>
parents:
9553
diff
changeset
|
2451 |
9553
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
2452 2009-08-20 Jaroslav Hajek <highegg@gmail.com> |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
2453 |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
2454 * mx-inlines.cc (logical_value): New overloaded template. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
2455 (DEFMXBOOL_OP): Use it in definitions. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
2456 (mx_inline_not): Also use logical_value. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
2457 * 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
|
2458 (also from all macros). |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
2459 |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
2460 * CMatrix.cc (operator !): Simply call mx_inline_not. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
2461 * CNDArray.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
2462 * dMatrix.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
2463 * dNDArray.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
2464 * fCMatrix.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
2465 * fCNDArray.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
2466 * fMatrix.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
2467 * fNDArray.cc: Ditto. |
9967 | 2468 |
9551
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
2469 2009-08-20 Jaroslav Hajek <highegg@gmail.com> |
9967 | 2470 |
9551
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
2471 * 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
|
2472 * fMatrix.cc (FloatMatrix::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
2473 * CMatrix.cc (ComplexMatrix::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
2474 * fCMatrix.cc (FloatComplexMatrix::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
2475 * dNDArray.cc (NDArray::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
2476 * fNDArray.cc (FloatNDArray::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
2477 * CNDArray.cc (ComplexNDArray::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
2478 * fCNDArray.cc (FloatComplexNDArray::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
2479 |
9550
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2480 2009-08-20 Jaroslav Hajek <highegg@gmail.com> |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2481 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2482 * 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
|
2483 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
|
2484 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
|
2485 mx_inline_notzero, mx_inline_and, mx_inline_or, mx_inline_not_and, |
9967 | 2486 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
|
2487 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
|
2488 mx_inline_eq, mx_inline_ne): New templates. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2489 (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
|
2490 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
|
2491 New templates. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2492 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2493 * 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
|
2494 New macros. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2495 (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
|
2496 (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
|
2497 (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
|
2498 (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
|
2499 (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
|
2500 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
|
2501 * 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
|
2502 SND_BOOL_OPX_DECLS): New macros. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2503 * 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
|
2504 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2505 * boolMatrix.cc: Add missing bool op defs. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2506 * boolMatrix.h: Add missing bool op decls. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2507 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2508 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2509 * boolNDArray.cc: Remove unused arg to BOOL_OPS. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2510 * CMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2511 * CNDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2512 * ChangeLog: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2513 * chMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2514 * chNDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2515 * dMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2516 * dNDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2517 * fCMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2518 * fCNDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2519 * fMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2520 * fNDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2521 * int16NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2522 * int32NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2523 * int64NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2524 * int8NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2525 * uint16NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2526 * uint32NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2527 * uint64NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2528 * uint8NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2529 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2530 * CColVector.cc: Update syntax where needed. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2531 * CDiagMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2532 * CMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2533 * CRowVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2534 * chMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2535 * dColVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2536 * dDiagMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2537 * dMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2538 * dRowVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2539 * fCColVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2540 * fCDiagMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2541 * fCMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2542 * fCRowVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2543 * fColVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2544 * fDiagMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2545 * fMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2546 * fRowVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
2547 |
9549
ed34b1da0e26
zero matrix assignment fix
Jaroslav Hajek <highegg@gmail.com>
parents:
9548
diff
changeset
|
2548 2009-08-19 Jaroslav Hajek <highegg@gmail.com> |
ed34b1da0e26
zero matrix assignment fix
Jaroslav Hajek <highegg@gmail.com>
parents:
9548
diff
changeset
|
2549 |
ed34b1da0e26
zero matrix assignment fix
Jaroslav Hajek <highegg@gmail.com>
parents:
9548
diff
changeset
|
2550 * Array-util.cc (zero_dims_inquire): Add matching ndims case. |
ed34b1da0e26
zero matrix assignment fix
Jaroslav Hajek <highegg@gmail.com>
parents:
9548
diff
changeset
|
2551 |
9548
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
2552 2009-08-19 Jaroslav Hajek <highegg@gmail.com> |
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
2553 |
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
2554 * MArrayN.cc (operator+=, operator-=): Test matching dimensions first. |
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
2555 * boolNDArray.cc (mx_el_and_assign, mx_el_or_assign): New functions. |
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
2556 * boolNDArray.h: Declare them. |
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
2557 |
9546
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
2558 2009-08-19 Jaroslav Hajek <highegg@gmail.com> |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
2559 |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
2560 * Array.cc (Array<T>::clear): New method. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
2561 * Array.h: Declare it. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
2562 * 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
|
2563 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
|
2564 (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
|
2565 * MArray-defs.h (MARRAY_OP_ASSIGN_DEFS1): New macro. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
2566 (INSTANTIATE_MARRAY_FRIENDS): Use it. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
2567 (INSTANTIATE_MARRAY2_FRIENDS): Use it. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
2568 (INSTANTIATE_MARRAYN_FRIENDS): Use it. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
2569 * MArray.cc (operator+=, operator-=): |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
2570 Operate out-of-place when this is shared copy. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
2571 (operator*=, operator/=): New operator overloads. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
2572 * MArray2.cc: Ditto. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
2573 * MArrayN.cc: Ditto. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
2574 * CNDArray.cc (operator *= (ComplexNDArray&, double), |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
2575 operator /= (ComplexNDArray&, double)): New operators. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
2576 * CNDArray.h: Declare them. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
2577 * fCNDArray.cc (operator *= (FloatComplexNDArray&, double), |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
2578 operator /= (FloatComplexNDArray&, double)): New operators. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
2579 * fCNDArray.h: Declare them. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
2580 |
9534
baeecd69fd44
liboctave/Makefile.in (LINK_DEPS): list LIBS last
John W. Eaton <jwe@octave.org>
parents:
9528
diff
changeset
|
2581 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
|
2582 |
baeecd69fd44
liboctave/Makefile.in (LINK_DEPS): list LIBS last
John W. Eaton <jwe@octave.org>
parents:
9528
diff
changeset
|
2583 * 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
|
2584 |
9528
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
2585 2009-08-16 Jaroslav Hajek <highegg@gmail.com> |
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
2586 |
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
2587 * 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
|
2588 * CMatrix.cc (xgemm): Fix vector * matrix case. |
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
2589 * fCMatrix.cc (xgemm): Ditto. |
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
2590 |
9527
6a9fd5f653c9
make single prec. matrix mutliply tests really single
Jaroslav Hajek <highegg@gmail.com>
parents:
9526
diff
changeset
|
2591 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
|
2592 |
6a9fd5f653c9
make single prec. matrix mutliply tests really single
Jaroslav Hajek <highegg@gmail.com>
parents:
9526
diff
changeset
|
2593 * 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
|
2594 |
9526
f3ebc728ffd7
fix typos in complex xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9524
diff
changeset
|
2595 2009-08-16 Jaroslav Hajek <highegg@gmail.com> |
f3ebc728ffd7
fix typos in complex xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9524
diff
changeset
|
2596 |
f3ebc728ffd7
fix typos in complex xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9524
diff
changeset
|
2597 * CMatrix.cc (xgemm): Fix typo. Add test. |
f3ebc728ffd7
fix typos in complex xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9524
diff
changeset
|
2598 * fCMatrix.cc (xgemm): Ditto. |
f3ebc728ffd7
fix typos in complex xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9524
diff
changeset
|
2599 |
9524
ace0febd263e
link liboctave with blas libs
John W. Eaton <jwe@octave.org>
parents:
9523
diff
changeset
|
2600 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
|
2601 |
ace0febd263e
link liboctave with blas libs
John W. Eaton <jwe@octave.org>
parents:
9523
diff
changeset
|
2602 * 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
|
2603 |
9523
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
2604 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
|
2605 |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
2606 * 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
|
2607 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
|
2608 Update for new FFTW defines. |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
2609 |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
2610 * 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
|
2611 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
|
2612 |
9518
113dba092d8c
include LDFLAGS for shared liboctave and liboctinterp
Jaroslav Hajek <highegg@gmail.com>
parents:
9516
diff
changeset
|
2613 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
|
2614 |
113dba092d8c
include LDFLAGS for shared liboctave and liboctinterp
Jaroslav Hajek <highegg@gmail.com>
parents:
9516
diff
changeset
|
2615 * 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
|
2616 |
9516
fb933db0c517
convert fftw planner classes to singleton objects
John W. Eaton <jwe@octave.org>
parents:
9515
diff
changeset
|
2617 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
|
2618 |
fb933db0c517
convert fftw planner classes to singleton objects
John W. Eaton <jwe@octave.org>
parents:
9515
diff
changeset
|
2619 * 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
|
2620 (octave_float_fft_planner): Likewise. |
fb933db0c517
convert fftw planner classes to singleton objects
John W. Eaton <jwe@octave.org>
parents:
9515
diff
changeset
|
2621 |
9515 | 2622 2009-08-11 John W. Eaton <jwe@octave.org> |
2623 | |
2624 * Makefile.in (LINK_DEPS): Use READLINE_LIBS instead of | |
2625 LIBREADLINE. Also link with TERM_LIBS and DL_LIBS. | |
2626 | |
9513
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
2627 2009-08-11 Jaroslav Hajek <highegg@gmail.com> |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
2628 |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
2629 * mx-inlines.cc (mx_inline_diff<T>): New overloaded template |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
2630 function. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
2631 (get_extent_triplet): Use dim_vector::first_non_singleton. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
2632 (do_mx_diff_op): New template function. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
2633 * dNDArray.cc (NDArray::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
2634 * dNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
2635 * fNDArray.cc (FloatNDArray::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
2636 * fNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
2637 * CNDArray.cc (ComplexNDArray::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
2638 * CNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
2639 * fCNDArray.cc (FloatComplexNDArray::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
2640 * fCNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
2641 * intNDArray.cc (intNDArray<T>::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
2642 * intNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
2643 |
9511
cc1fd3084cb2
implement dim_vector::first_non_singleton
Jaroslav Hajek <highegg@gmail.com>
parents:
9507
diff
changeset
|
2644 2009-08-10 Jaroslav Hajek <highegg@gmail.com> |
cc1fd3084cb2
implement dim_vector::first_non_singleton
Jaroslav Hajek <highegg@gmail.com>
parents:
9507
diff
changeset
|
2645 |
cc1fd3084cb2
implement dim_vector::first_non_singleton
Jaroslav Hajek <highegg@gmail.com>
parents:
9507
diff
changeset
|
2646 * 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
|
2647 |
9507
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
2648 2009-08-06 Jaroslav Hajek <highegg@gmail.com> |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
2649 |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
2650 * dim-vector.h (dim_vector): Rewrite. Use single-alloc implementation |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
2651 aka GCC's basic_string class. |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
2652 * Array.cc: Use dim_vector::alloc where fitting. |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
2653 * Array-util.cc: Ditto. |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
2654 |
9493 | 2655 2009-08-05 John W. Eaton <jwe@octave.org> |
2656 | |
2657 * oct-shlib.cc (octave_shl_load_shlib::open): Pass BIND_IMMEDIATE, | |
2658 not BIND_DEFERRED to shl_load. | |
2659 (octave_dlopen_shlib::open): Don't pass RTLD_GLOBAL to dlopen. | |
2660 | |
9490 | 2661 2009-08-05 John W. Eaton <jwe@octave.org> |
2662 | |
2663 * Makefile.in (LINK_DEPS): Omit $(BLAS_LIBS) from the list. | |
2664 Include $(RLD_FLAG) in the list. | |
2665 | |
9488
ee572cdd4b97
add configure checks for pthread library and compiler flags
John W. Eaton <jwe@octave.org>
parents:
9485
diff
changeset
|
2666 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
|
2667 |
ee572cdd4b97
add configure checks for pthread library and compiler flags
John W. Eaton <jwe@octave.org>
parents:
9485
diff
changeset
|
2668 * 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
|
2669 |
9485
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
2670 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
|
2671 |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
2672 * 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
|
2673 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
|
2674 (command_editor::get_line_buffer): New function. |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
2675 * 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
|
2676 (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
|
2677 |
9479
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
2678 2009-07-31 Jaroslav Hajek <highegg@gmail.com> |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
2679 |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
2680 * idx-vector.h (idx_vector::is_range): New method. |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
2681 (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
|
2682 * 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
|
2683 methods. |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
2684 * Array-utils.cc (sub2ind, ind2sub): New functions. |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
2685 |
9469
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
2686 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
|
2687 |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
2688 * 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
|
2689 * fNDArray.cc (operator >>): Likeise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
2690 * 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
|
2691 * fCNDArray.cc (operator >>): Likeise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
2692 * 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
|
2693 * dNDArray.cc (operator >>): Likeise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
2694 * 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
|
2695 * CNDArray.cc (operator >>): Likeise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
2696 |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
2697 * 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
|
2698 (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
|
2699 Provide specializations. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
2700 (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
|
2701 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
|
2702 * 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
|
2703 * dSparse.cc (operator >>): Call read_sparse_matrix. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
2704 * CSparse.cc (operator >>): Likewise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
2705 * boolSparse.cc (operator >>): Likewise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
2706 * 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
|
2707 * 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
|
2708 New member functions. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
2709 |
9441
160c564d5d25
initialize floating point values properly for NetBSD systems
Aleksej Saushev <asau@inbox.ru>
parents:
9431
diff
changeset
|
2710 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
|
2711 |
160c564d5d25
initialize floating point values properly for NetBSD systems
Aleksej Saushev <asau@inbox.ru>
parents:
9431
diff
changeset
|
2712 * 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
|
2713 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
|
2714 |
9431 | 2715 2009-07-11 John W. Eaton <jwe@octave.org> |
2716 | |
2717 * file-ops.cc (file_ops::symlink, file_ops::readlink): | |
2718 Don't use incorrectly sized OCTAVE_LOCAL_BUFFER. | |
2719 | |
9420
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
2720 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
|
2721 |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
2722 * 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
|
2723 (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
|
2724 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
|
2725 (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
|
2726 (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
|
2727 |
9417
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
2728 2009-07-03 Jaroslav Hajek <highegg@gmail.com> |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
2729 |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
2730 * Sparse-op-defs.h (SPARSE_ALL_OP): Fix typo. |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
2731 * dSparse.cc (SparseMatrix::prod): Ditto. |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
2732 * CSparse.cc (ComplexSparseMatrix::prod): Ditto. |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
2733 |
9414
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
2734 2009-07-02 Jaroslav Hajek <highegg@gmail.com> |
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
2735 |
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
2736 * 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
|
2737 ordering of row indices. |
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
2738 |
9410
2ad67ccd09fd
fix typo in octave_sort::lookupb
Jaroslav Hajek <highegg@gmail.com>
parents:
9407
diff
changeset
|
2739 2009-06-30 Jaroslav Hajek <highegg@gmail.com> |
2ad67ccd09fd
fix typo in octave_sort::lookupb
Jaroslav Hajek <highegg@gmail.com>
parents:
9407
diff
changeset
|
2740 |
2ad67ccd09fd
fix typo in octave_sort::lookupb
Jaroslav Hajek <highegg@gmail.com>
parents:
9407
diff
changeset
|
2741 * 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
|
2742 |
9407
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
2743 2009-06-29 Jaroslav Hajek <highegg@gmail.com> |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
2744 |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
2745 * 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
|
2746 (octave_sort<T>::lookup<Comp>, |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
2747 octave_sort<T>::lookupm<Comp>, |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
2748 octave_sort<T>::lookupb<Comp>): Rewrite. |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
2749 |
9402
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
2750 2009-06-26 Michael Goffioul <michael.goffioul@gmail.com> |
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
2751 |
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
2752 * pathsearch.h (class dir_path::static_members): Decorate with |
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
2753 OCTAVE_API. |
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
2754 |
9400
df1ea906c1c4
a slight speed-up in oct-sort.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9399
diff
changeset
|
2755 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
|
2756 |
df1ea906c1c4
a slight speed-up in oct-sort.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9399
diff
changeset
|
2757 * 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
|
2758 the merge case. |
df1ea906c1c4
a slight speed-up in oct-sort.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9399
diff
changeset
|
2759 |
9399
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
2760 2009-06-26 Jaroslav Hajek <highegg@gmail.com> |
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
2761 |
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
2762 * 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
|
2763 recursion. |
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
2764 |
9391
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
2765 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
|
2766 |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
2767 * 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
|
2768 EigsRealSymmetricMatrixShift, EigsRealSymmetricFunc, |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
2769 EigsRealNonSymmetricMatrix, EigsRealNonSymmetricMatrixShift, |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
2770 EigsRealNonSymmetricFunc, EigsComplexNonSymmetricMatrix, |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
2771 EigsComplexNonSymmetricMatrixShift, EigsComplexNonSymmetricFunc): |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
2772 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
|
2773 |
9370
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
2774 2009-06-22 Jaroslav Hajek <highegg@gmail.com> |
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
2775 |
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
2776 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): |
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
2777 Optimize w.r.t. COW of std::string. |
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
2778 |
9362
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
2779 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
|
2780 |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
2781 * 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
|
2782 (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
|
2783 (octave_sort<T>::lookup<Comp>): Rewrite. |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
2784 (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
|
2785 (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
|
2786 (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
|
2787 |
9359
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
2788 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
|
2789 |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
2790 * 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
|
2791 where appropriate. |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
2792 * fMatrix.cc (xgemm): Ditto. |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
2793 * CMatrix.cc (xgemm): Ditto. |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
2794 * fCMatrix.cc (xgemm): Ditto. |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
2795 |
9341
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
2796 2009-06-12 Jaroslav Hajek <highegg@gmail.com> |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
2797 |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
2798 * oct-sort.cc (octave_sort::lookupm, octave_sort::lookupb): New |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
2799 overloaded methods. |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
2800 * oct-sort.h: Declare them. |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
2801 * Array.cc (Array<T>::lookupm, Array<T>::lookupb): New methods. |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
2802 * Array.h: Declare them. |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
2803 |
9321
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
2804 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
|
2805 |
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
2806 * 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
|
2807 method. |
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
2808 * 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
|
2809 |
9319
0d9178575dd7
fix log2 with 2 outargs, loosen tests to meet IEEE
Jaroslav Hajek <highegg@gmail.com>
parents:
9310
diff
changeset
|
2810 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
|
2811 |
0d9178575dd7
fix log2 with 2 outargs, loosen tests to meet IEEE
Jaroslav Hajek <highegg@gmail.com>
parents:
9310
diff
changeset
|
2812 * 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
|
2813 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
|
2814 |
9310 | 2815 2009-06-07 Jaroslav Hajek <highegg@gmail.com> |
2816 | |
2817 * Array.cc (Array<T>::find): Avoid allocating excessive memory. Fix | |
2818 order for backward searches. | |
2819 | |
9287
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
2820 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
|
2821 |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
2822 * 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
|
2823 instantiate DiagArray2<T>::Proxy on MSVC. |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
2824 * 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
|
2825 * 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
|
2826 * 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
|
2827 |
9267 | 2828 2009-05-26 John W. Eaton <jwe@octave.org> |
2829 | |
2830 * pathsearch.h (dir_path::path_sep_char (char), | |
2831 dir_path::static_members::path_sep_char (char)): New functions. | |
2832 | |
9232
7319e4de9e44
Add missing return statement in base-aepbal.h
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9228
diff
changeset
|
2833 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
|
2834 |
9237
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
2835 * 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
|
2836 * 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
|
2837 * 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
|
2838 * 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
|
2839 * 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
|
2840 * 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
|
2841 * 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
|
2842 * CMatrix.h (conj): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
2843 * CNDArray.h (conj): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
2844 * 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
|
2845 * 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
|
2846 * 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
|
2847 * 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
|
2848 Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
2849 * fCMatrix.h (conj): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
2850 * fCNDArray.h (conj): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
2851 * fDiagMatrix.h (operator*): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
2852 * 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
|
2853 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
|
2854 * 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
|
2855 * 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
|
2856 templates). |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
2857 * 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
|
2858 |
9235
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
2859 * 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
|
2860 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
|
2861 volatile variable as const& argument). |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
2862 * 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
|
2863 * fCmplxQR.cc (FloatComplexQR::insert_col, |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
2864 FloatComplexQR::delete_col): Ditto. |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
2865 * 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
|
2866 |
9233
b935bbfab7c4
Exclude pthread.h inclusion under Win32
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9232
diff
changeset
|
2867 * 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
|
2868 |
9232
7319e4de9e44
Add missing return statement in base-aepbal.h
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9228
diff
changeset
|
2869 * 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
|
2870 statement. |
7319e4de9e44
Add missing return statement in base-aepbal.h
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9228
diff
changeset
|
2871 |
9228
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
2872 2009-05-20 Jaroslav Hajek <highegg@gmail.com> |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
2873 |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
2874 * eigs-base.cc ( |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
2875 EigsRealSymmetricMatrix, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
2876 EigsRealSymmetricMatrixShift, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
2877 EigsRealSymmetricFunc, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
2878 EigsRealNonSymmetricMatrix, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
2879 EigsRealNonSymmetricMatrixShift, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
2880 EigsRealNonSymmetricFunc, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
2881 EigsComplexNonSymmetricMatrix, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
2882 EigsComplexNonSymmetricMatrixShift, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
2883 EigsComplexNonSymmetricFunc): Update tests. |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
2884 |
9227
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
2885 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
|
2886 |
9967 | 2887 * CMatrix.cc |
9227
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
2888 (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
|
2889 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
|
2890 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
|
2891 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
|
2892 * CNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
2893 (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
|
2894 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
|
2895 ComplexNDArray::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
2896 * boolMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
2897 (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
|
2898 * boolNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
2899 (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
|
2900 * chMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
2901 (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
|
2902 * chNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
2903 (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
|
2904 * dMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
2905 (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
|
2906 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
|
2907 Matrix::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
2908 * dNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
2909 (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
|
2910 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
|
2911 NDArray::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
2912 * fCMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
2913 (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
|
2914 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
|
2915 FloatComplexMatrix::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
2916 * fCNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
2917 (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
|
2918 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
|
2919 FloatComplexNDArray::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
2920 * fMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
2921 (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
|
2922 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
|
2923 FloatMatrix::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
2924 * fNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
2925 (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
|
2926 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
|
2927 FloatNDArray::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
2928 * intNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
2929 (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
|
2930 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
|
2931 |
9225
3161ccb261ec
delete ArrayN-idx from Makefile.in
Jaroslav Hajek <highegg@gmail.com>
parents:
9222
diff
changeset
|
2932 2009-05-20 Jaroslav Hajek <highegg@gmail.com> |
3161ccb261ec
delete ArrayN-idx from Makefile.in
Jaroslav Hajek <highegg@gmail.com>
parents:
9222
diff
changeset
|
2933 |
3161ccb261ec
delete ArrayN-idx from Makefile.in
Jaroslav Hajek <highegg@gmail.com>
parents:
9222
diff
changeset
|
2934 * Makefile.in: Remove reference to ArrayN-idx.h. |
3161ccb261ec
delete ArrayN-idx from Makefile.in
Jaroslav Hajek <highegg@gmail.com>
parents:
9222
diff
changeset
|
2935 |
9222
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
2936 2009-05-20 Jaroslav Hajek <highegg@gmail.com> |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
2937 |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
2938 * Array-voidp.cc: New source. |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
2939 * 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
|
2940 * Makefile.in: Include it. |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
2941 |
9201
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
2942 2009-05-15 Jaroslav Hajek <highegg@gmail.com> |
9967 | 2943 |
9201
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
2944 * Array.cc (Array<T>::instantiation_guard): New function |
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
2945 (INSTANTIATE_ARRAY): Always override it here. |
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
2946 * Array.h: Declare it. |
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
2947 |
9200
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
2948 2009-05-15 Jaroslav Hajek <highegg@gmail.com> |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
2949 |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
2950 * ArrayN-idx.h: Remove file. |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
2951 * ArrayN.cc: Don't include it. |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
2952 * MArrayN.cc: Dtto. |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
2953 |
9192
864805896876
fix zero-dims assignment bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9186
diff
changeset
|
2954 2009-05-09 Jaroslav Hajek <highegg@gmail.com> |
864805896876
fix zero-dims assignment bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9186
diff
changeset
|
2955 |
864805896876
fix zero-dims assignment bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9186
diff
changeset
|
2956 * 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
|
2957 |
9186
49a0c58a7dcf
Added SHLPRE for SHLEXT instead of SHLLIBPRE
marco_atzeri@yahoo.it
parents:
9182
diff
changeset
|
2958 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
|
2959 |
9967 | 2960 * Makefile.in: (SHLPRE): Rename from SHLLIBPRE. |
9186
49a0c58a7dcf
Added SHLPRE for SHLEXT instead of SHLLIBPRE
marco_atzeri@yahoo.it
parents:
9182
diff
changeset
|
2961 |
9182
23af5910e5f5
make load work for derived classses
Robert T. Short <octave@phaselockedsystems.com>
parents:
9179
diff
changeset
|
2962 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
|
2963 |
23af5910e5f5
make load work for derived classses
Robert T. Short <octave@phaselockedsystems.com>
parents:
9179
diff
changeset
|
2964 * 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
|
2965 |
9179
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
2966 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
|
2967 |
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
2968 * 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
|
2969 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
|
2970 * 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
|
2971 |
9177
39be2c4531c8
fix sparse indexing bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9169
diff
changeset
|
2972 2009-05-05 Jaroslav Hajek <highegg@gmail.com> |
39be2c4531c8
fix sparse indexing bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9169
diff
changeset
|
2973 |
39be2c4531c8
fix sparse indexing bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9169
diff
changeset
|
2974 * Sparse.cc (assign1): Fix an old indexing bug. |
39be2c4531c8
fix sparse indexing bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9169
diff
changeset
|
2975 |
9169
b1e82cc8a9f3
eliminate broken special case for copying floats on Sun systems
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9124
diff
changeset
|
2976 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
|
2977 |
b1e82cc8a9f3
eliminate broken special case for copying floats on Sun systems
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9124
diff
changeset
|
2978 * 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
|
2979 |
9124
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
2980 2009-04-16 Jaroslav Hajek <highegg@gmail.com> |
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
2981 |
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
2982 * 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
|
2983 Range&)): Check for positive integer indices. Unify gripes. |
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
2984 |
9121
bb62bc406ea7
reuse fast blocked transpose implementation from rec_permute_helper in Array<T>::transpose
Jaroslav Hajek <highegg@gmail.com>
parents:
9100
diff
changeset
|
2985 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
|
2986 |
bb62bc406ea7
reuse fast blocked transpose implementation from rec_permute_helper in Array<T>::transpose
Jaroslav Hajek <highegg@gmail.com>
parents:
9100
diff
changeset
|
2987 * 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
|
2988 (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
|
2989 |
9100
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
2990 2009-04-04 Jaroslav Hajek <highegg@gmail.com> |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
2991 |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
2992 * 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
|
2993 (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
|
2994 pop operations. |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
2995 (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
|
2996 using resize. |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
2997 |
9058
2da105bf2507
remove redundant checks from Array<T>::index
Jaroslav Hajek <highegg@gmail.com>
parents:
9046
diff
changeset
|
2998 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
|
2999 |
2da105bf2507
remove redundant checks from Array<T>::index
Jaroslav Hajek <highegg@gmail.com>
parents:
9046
diff
changeset
|
3000 * 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
|
3001 resize. |
2da105bf2507
remove redundant checks from Array<T>::index
Jaroslav Hajek <highegg@gmail.com>
parents:
9046
diff
changeset
|
3002 |
9046
88bf56bbccca
make Array::find already return Matlab-compatible dimensions
Jaroslav Hajek <highegg@gmail.com>
parents:
9045
diff
changeset
|
3003 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
|
3004 |
88bf56bbccca
make Array::find already return Matlab-compatible dimensions
Jaroslav Hajek <highegg@gmail.com>
parents:
9045
diff
changeset
|
3005 * 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
|
3006 * 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
|
3007 |
9045
ac0a23e9f5c5
more compatible indexing by logical empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9027
diff
changeset
|
3008 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
|
3009 |
ac0a23e9f5c5
more compatible indexing by logical empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9027
diff
changeset
|
3010 * 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
|
3011 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
|
3012 |
9027
9a46ba093db4
generalize dim_vector::numel
Jaroslav Hajek <highegg@gmail.com>
parents:
9026
diff
changeset
|
3013 2009-03-26 Jaroslav Hajek <highegg@gmail.com> |
9a46ba093db4
generalize dim_vector::numel
Jaroslav Hajek <highegg@gmail.com>
parents:
9026
diff
changeset
|
3014 |
9a46ba093db4
generalize dim_vector::numel
Jaroslav Hajek <highegg@gmail.com>
parents:
9026
diff
changeset
|
3015 * dim-vector.h (dim_vector::numel): Add optional argument, simplify. |
9a46ba093db4
generalize dim_vector::numel
Jaroslav Hajek <highegg@gmail.com>
parents:
9026
diff
changeset
|
3016 |
9026
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
3017 2009-03-26 Jaroslav Hajek <highegg@gmail.com> |
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
3018 |
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
3019 * 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
|
3020 (Array<T>::is_vector): New method. |
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
3021 |
9025 | 3022 2009-03-26 Jaroslav Hajek <highegg@gmail.com> |
3023 | |
3024 * Array.cc (Array<T>::find): New method. | |
3025 * Array.h: Declare it. | |
3026 | |
9018
9057df9bb8a1
liboctave/Makefile.in (MATRIX_INC): add missing files to the list
John W. Eaton <jwe@octave.org>
parents:
9013
diff
changeset
|
3027 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
|
3028 |
9020
728e7943752d
EIG.cc: avoid volatile decl for tmp variable
John W. Eaton <jwe@octave.org>
parents:
9018
diff
changeset
|
3029 * 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
|
3030 EIG::init (const Matrix&, const Matrix&, bool)): |
9021 | 3031 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
|
3032 |
9018
9057df9bb8a1
liboctave/Makefile.in (MATRIX_INC): add missing files to the list
John W. Eaton <jwe@octave.org>
parents:
9013
diff
changeset
|
3033 * 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
|
3034 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
|
3035 |
9013
3b1908b58662
fixes in mixed int64-double multiply emulation
Jaroslav Hajek <highegg@gmail.com>
parents:
9012
diff
changeset
|
3036 2009-03-25 Jaroslav Hajek <highegg@gmail.com> |
9967 | 3037 |
9013
3b1908b58662
fixes in mixed int64-double multiply emulation
Jaroslav Hajek <highegg@gmail.com>
parents:
9012
diff
changeset
|
3038 * 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
|
3039 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
|
3040 |
9012
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
3041 2009-03-25 Jaroslav Hajek <highegg@gmail.com> |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
3042 |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
3043 * Array.cc (rec_permute_helper::use_blk): New field. |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
3044 (rec_permute_helper::blk_trans): New method. |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
3045 (rec_permute_helper::rec_permute_helper): Use smart reductions, |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
3046 detect possibility of using blocked transpose. |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
3047 (rec_permute_helper::do_permute): Use blocked transpose if possible. |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
3048 |
9007
7e31df9a0334
simplify double->int conversion in indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9003
diff
changeset
|
3049 2009-03-23 Jaroslav Hajek <highegg@gmail.com> |
7e31df9a0334
simplify double->int conversion in indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9003
diff
changeset
|
3050 |
7e31df9a0334
simplify double->int conversion in indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9003
diff
changeset
|
3051 * idx-vector.cc (convert_index(double,...)): Simplify. |
7e31df9a0334
simplify double->int conversion in indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9003
diff
changeset
|
3052 |
9003
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
3053 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
|
3054 |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
3055 * 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
|
3056 * Array-f.cc: Ditto. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
3057 * oct-inttypes.cc: Ditto. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
3058 * oct-inttypes.h: Ditto. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
3059 * CDiagMatrix.cc: Add missing include. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
3060 * fCDiagMatrix.cc: Ditto. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
3061 |
8999
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
3062 2009-03-20 Jaroslav Hajek <highegg@gmail.com> |
9967 | 3063 |
8999
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
3064 * 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
|
3065 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
|
3066 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
|
3067 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
|
3068 Allow empty arrays in stream input operators. |
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
3069 |
8998
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
3070 2009-03-20 Jaroslav Hajek <highegg@gmail.com> |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
3071 |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
3072 * Array.h (Array<T>::fastmap): New method. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
3073 * dNDArray.cc (NDArray::isnan, NDArray::isinf, NDArray::isfinite): |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
3074 New methods. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
3075 * dNDArray.h: Declare them. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
3076 * fNDArray.cc (FloatNDArray::isnan, FloatNDArray::isinf, |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
3077 FloatNDArray::isfinite): New methods. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
3078 * fNDArray.h: Declare them. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
3079 * CNDArray.cc (ComplexNDArray::isnan, ComplexNDArray::isinf, |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
3080 ComplexNDArray::isfinite): New methods. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
3081 * CNDArray.h: Declare them. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
3082 * fCNDArray.cc (FloatComplexNDArray::isnan, FloatComplexNDArray::isinf, |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
3083 FloatComplexNDArray::isfinite): New methods. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
3084 * fCNDArray.h: Declare them. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
3085 * 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
|
3086 from <cmath>. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
3087 |
9501 | 3088 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
|
3089 |
1b097d86a61a
remove a TODO in oct-norm.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8987
diff
changeset
|
3090 * 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
|
3091 (higham): Use std::numeric_limits instead. |
1b097d86a61a
remove a TODO in oct-norm.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8987
diff
changeset
|
3092 Include OCTAVE_QUIT. |
1b097d86a61a
remove a TODO in oct-norm.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8987
diff
changeset
|
3093 |
8987
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
3094 2009-03-16 Jason Riedy <jason@acm.org> |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
3095 |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
3096 * 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
|
3097 retval.xcidx. |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
3098 * 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
|
3099 retval.xcidx. |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
3100 |
8982
dc6bda6f9994
implement compound logical ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8981
diff
changeset
|
3101 2009-03-14 Jaroslav Hajek <highegg@gmail.com> |
dc6bda6f9994
implement compound logical ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8981
diff
changeset
|
3102 |
8983
e781ab1aee39
optimize comparison ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8982
diff
changeset
|
3103 * 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
|
3104 * 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
|
3105 * 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
|
3106 |
8981
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
3107 2009-03-14 Jaroslav Hajek <highegg@gmail.com> |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
3108 |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
3109 * fNDArray.h (FloatMatrix::matrix_value): Fix return type. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
3110 * dNDArray.cc (Matrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
3111 * fNDArray.cc (FloatMatrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
3112 * CNDArray.cc (ComplexMatrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
3113 * fCNDArray.cc (FloatComplexMatrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
3114 |
8971 | 3115 2009-03-13 Jaroslav Hajek <highegg@gmail.com> |
3116 | |
3117 * Range.h (Range::Range (double, double, octave_idx_type)): Remove | |
3118 constructor body. | |
3119 * Range.cc: Move it here. Check for invalid range op results. | |
3120 (all operators): Validate cache for invalid range op results. | |
8972
5fa53d1b6247
more indexing optimizations
Jaroslav Hajek <highegg@gmail.com>
parents:
8971
diff
changeset
|
3121 * idx-vector.h (idx_vector::index): Optimize zero-step range case. |
5fa53d1b6247
more indexing optimizations
Jaroslav Hajek <highegg@gmail.com>
parents:
8971
diff
changeset
|
3122 * idx-vector.cc (idx_vector::maybe_reduce): Always reduce colon in |
5fa53d1b6247
more indexing optimizations
Jaroslav Hajek <highegg@gmail.com>
parents:
8971
diff
changeset
|
3123 singleton dimension. |
8971 | 3124 |
8969
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
3125 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
|
3126 |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
3127 * 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
|
3128 permutation as a PermMatrix. |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
3129 (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
|
3130 PermMatrix. |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
3131 |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
3132 * 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
|
3133 member functions. |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
3134 |
8966
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
3135 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
|
3136 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
3137 * 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
|
3138 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
|
3139 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
|
3140 generate both subtraction variants. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
3141 (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
|
3142 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
|
3143 (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
|
3144 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
|
3145 (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
|
3146 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
|
3147 (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
|
3148 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
|
3149 (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
|
3150 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
|
3151 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
3152 * 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
|
3153 sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
3154 (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
|
3155 diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
3156 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
3157 * 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
|
3158 sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
3159 (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
|
3160 diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
3161 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
3162 * 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
|
3163 combinations of diag + sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
3164 (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
|
3165 of diag - sparse, sparse - diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
3166 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
3167 * 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
|
3168 combinations of diag + sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
3169 (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
|
3170 of diag - sparse, sparse - diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
3171 |
8964
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
3172 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
|
3173 |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
3174 * 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
|
3175 (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
|
3176 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
|
3177 |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
3178 * 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
|
3179 DiagMatrix and ComplexDiagMatrix. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
3180 * 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
|
3181 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
|
3182 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
|
3183 * 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
|
3184 * 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
|
3185 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
|
3186 |
8963
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
3187 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
|
3188 |
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
3189 * 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
|
3190 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
|
3191 |
8958
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
3192 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
|
3193 |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
3194 * PermMatrix.cc (PermMatrix::power): New method. |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
3195 * PermMatrix.h: Declare it. |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
3196 |
8956
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
3197 2009-03-11 Jaroslav Hajek <highegg@gmail.com> |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
3198 |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
3199 * dNDArray.cc (NDArray::NDArray (const charNDArray&)): New |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
3200 constructor. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
3201 * fNDArray.cc (FloatNDArray::FloatNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
3202 Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
3203 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
3204 Ditto. |
9967 | 3205 * fCNDArray.cc (FloatComplexNDArray::FloatComplexNDArray |
8956
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
3206 (const charNDArray&)): Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
3207 |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
3208 * dNDArray.h (NDArray::NDArray (const charNDArray&)): Declare. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
3209 * fNDArray.h (FloatNDArray::FloatNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
3210 Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
3211 * CNDArray.h (ComplexNDArray::ComplexNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
3212 Ditto. |
9967 | 3213 * fCNDArray.h (FloatComplexNDArray::FloatComplexNDArray |
8956
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
3214 (const charNDArray&)): Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
3215 |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
3216 * dMatrix.cc (Matrix::Matrix (const charMatrix&)): Cast to unsigned |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
3217 chars. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
3218 * fMatrix.cc (FloatMatrix::FloatMatrix (const charMatrix&)): Likewise. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
3219 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
3220 Likewise. |
9967 | 3221 * fCMatrix.cc (FloatComplexMatrix::FloatComplexMatrix |
8956
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
3222 (const charMatrix&)): Likewise. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
3223 |
8954
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
3224 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
|
3225 |
8968
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
3226 * 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
|
3227 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
|
3228 matrix operator. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
3229 (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
|
3230 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
|
3231 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
|
3232 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
|
3233 (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
|
3234 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
|
3235 (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
|
3236 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
|
3237 (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
|
3238 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
|
3239 |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
3240 * 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
|
3241 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
3242 * 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
|
3243 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
3244 |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
3245 * 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
|
3246 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
3247 * 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
|
3248 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
3249 |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
3250 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
|
3251 |
8954
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
3252 * 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
|
3253 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
|
3254 |
8951
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
3255 2009-03-10 Jason Riedy <jason@acm.org> |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
3256 |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
3257 * dSparse.cc (SparseMatrix::SparseMatrix (const PermMatrix&)): |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
3258 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
|
3259 structure correct. |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
3260 |
8950
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
3261 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
|
3262 |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
3263 * 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
|
3264 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
|
3265 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
|
3266 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
|
3267 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
|
3268 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
|
3269 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
|
3270 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
|
3271 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
|
3272 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
|
3273 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
|
3274 |
8949
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
3275 2009-03-10 Jaroslav Hajek <highegg@gmail.com> |
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
3276 |
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
3277 * 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
|
3278 |
8934
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
3279 2009-03-08 Jaroslav Hajek <highegg@gmail.com> |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
3280 |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
3281 * idx-vector.h (idx_vector::bloop): loop --> bloop. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
3282 (idx_vector::loop): New method. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
3283 * MArray.cc (MArray<T>::idx_add (cons idx_vector&, T)) |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
3284 (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
|
3285 * MArray.h: Declare them. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
3286 |
8918
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
3287 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
|
3288 |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
3289 * 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
|
3290 * 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
|
3291 with Array.h |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
3292 * 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
|
3293 * 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
|
3294 Array<T>::element_type. |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
3295 * 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
|
3296 from MArrayN<T>. |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
3297 |
8910
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
3298 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
|
3299 |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
3300 * dSparse.h (SparseMatrix::SparseMatrix(const PermMatrix&)): New |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
3301 constructor. |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
3302 (SparseMatrix::SparseMatrix(const DiagMatrix&)): Fix implementation. |
9967 | 3303 * CSparse.h (SparseComplexMatrix::SparseComplexMatrix(const ComplexDiagMatrix&)): |
8910
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
3304 Fix implementation. |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
3305 |
8908
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
3306 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
|
3307 |
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
3308 * PermMatrix.h (PermMatrix::elem): Fix comparisons. |
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
3309 |
8904
4de5544a1d1d
simplify also float version of xmin/xmax
Jaroslav Hajek <highegg@gmail.com>
parents:
8897
diff
changeset
|
3310 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
|
3311 |
4de5544a1d1d
simplify also float version of xmin/xmax
Jaroslav Hajek <highegg@gmail.com>
parents:
8897
diff
changeset
|
3312 * 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
|
3313 |
8897 | 3314 2009-03-02 Jaroslav Hajek <highegg@gmail.com> |
3315 | |
3316 * mx-inlines.cc: Add missing #include. | |
3317 | |
8873
e258715b2e78
fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents:
8864
diff
changeset
|
3318 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
|
3319 |
e258715b2e78
fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents:
8864
diff
changeset
|
3320 * 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
|
3321 |
8864 | 3322 2009-02-25 Jaroslav Hajek <highegg@gmail.com> |
3323 | |
3324 * oct-inttypes.cc (pow (const octave_int<T>&, const octave_int<T>&)): | |
3325 Simplify. | |
3326 | |
8856
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
3327 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
|
3328 |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
3329 * 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
|
3330 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
|
3331 (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
|
3332 member function. |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
3333 * oct-inttypes.cc: Turn the octave_int_cmp_op::mop definitions into |
9967 | 3334 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
|
3335 (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
|
3336 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
|
3337 |
8840
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
3338 2009-02-23 Jaroslav Hajek <highegg@gmail.com> |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
3339 |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
3340 * dDiagMatrix.cc (DiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
3341 * dDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
3342 * fDiagMatrix.cc (FloatDiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
3343 * fDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
3344 * CDiagMatrix.cc (ComplexDiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
3345 * CDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
3346 * fCDiagMatrix.cc (FloatComplexDiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
3347 * fCDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
3348 |
8820
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
3349 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
|
3350 |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
3351 * 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
|
3352 constructor. |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
3353 (octave_sort<T>::MergeState::~MergeState): New destructor. |
9967 | 3354 (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
|
3355 octave_sort<T>::MergeState::getmem, |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
3356 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
|
3357 (octave_sort<T>::sort, |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
3358 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
|
3359 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
|
3360 |
8814
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
3361 2009-02-19 Jaroslav Hajek <highegg@gmail.com> |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
3362 |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
3363 * oct-types.h (sortmode): Move enum here. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
3364 * 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
|
3365 (octave_sort<T>::lookup): New overloaded method. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
3366 * oct-sort.cc: Reflect change to ms. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
3367 (octave_sort<T>::lookup): New overloaded method. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
3368 (out_of_range_pred): New helper class. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
3369 (out_of_range): New helper function. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
3370 * oct-lookup.h: Remove file. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
3371 * Array.cc (Array<T>::lookup): New overloaded method. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
3372 * Array.h: Declare it. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
3373 |
8801
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
3374 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
|
3375 |
8811 | 3376 * dbleQR.cc (QR::init, QR::form): Cast int to octave_idx_type in |
3377 call to std::max. | |
3378 * floatQR.cc (FloatQR::init, FloatQR::form): Ditto. | |
3379 * CmplxQR.cc (ComplexQR::init, ComplexQR::form): Ditto. | |
3380 * fCmplxQR.cc (FloatComplexQR::init, FloatComplexQR::form): Ditto. | |
3381 | |
3382 * dbleQRP.cc (QRP::init): Cast int to octave_idx_type in call to | |
3383 std::max and as operand to -= operator. | |
3384 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
3385 * floatQRP.cc (FloatQRP::init): Ditto. | |
3386 * fCmplxQRP.cc (FloatComplexQRP::init): Ditto. | |
3387 | |
3388 * CDiagMatrix.cc, CDiagMatrix.h (ComplexDiagMatrix::inverse): | |
3389 Declare info as octave_idx_type, not int. | |
3390 * dDiagMatrix.cc, dDiagMatrix.h (DiagMatrix::inverse): Ditto. | |
3391 * fDiagMatrix.cc, fCDiagMatrix.h (FloatDiagMatrix::inverse): Ditto. | |
3392 * fCDiagMatrix.cc, fCDiagMatrix.h (FloatComplexDiagMatrix::inverse): | |
3393 Ditto. | |
3394 | |
8806 | 3395 * dMatrix.cc (Matrix::determinant): |
3396 Declare local variables volatile as needed to avoid "maybe | |
3397 clobbered by vfork" warning from GCC. | |
3398 * fMatrix.cc (FloatMatrix::determinant): Likewise. | |
3399 * CMatrix.cc (ComplexMatrix::determinant): Likewise. | |
3400 * fCMatrix.cc (FloatComplexMatrix::determinant): Likewise. | |
3401 * dbleQR.cc (QR::update, QR::insert_col, QR::delete_col): Likewise. | |
3402 * floatQR.cc (FloatQR::update, FloatQR::insert_col, | |
3403 FloatQR::delete_col): Likewise. | |
3404 * CmplxQR.cc (ComplexQR::update, ComplexQR::insert_col, | |
3405 ComplexQR::delete_col): Likewise. | |
3406 * fCmplxQR.cc (FloatComplexQR::update, FloatComplexQR::insert_col, | |
3407 FloatComplexQR::delete_col): Likewise. | |
3408 | |
8801
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
3409 * 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
|
3410 static variable and function. |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
3411 * 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
|
3412 * 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
|
3413 * 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
|
3414 |
8799
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
3415 2009-02-18 Jaroslav Hajek <highegg@gmail.com> |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
3416 |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
3417 * 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
|
3418 dimensions. |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
3419 |
8797
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
3420 2009-02-18 Jaroslav Hajek <highegg@gmail.com> |
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
3421 |
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
3422 * 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
|
3423 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
|
3424 |
8784
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
3425 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
3426 |
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
3427 * 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
|
3428 |
8780
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
3429 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
|
3430 |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
3431 * 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
|
3432 Add TSRC/TRES parameters. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
3433 (mx_inline_cumcount): New function. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
3434 * 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
|
3435 * intNDArray.h: Declare it. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
3436 * 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
|
3437 * boolNDArray.h: Declare it. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
3438 |
8777
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
3439 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
3440 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
3441 * mx-inlines.cc (OP_CUMMINMAX_FCN, OP_CUMMINMAX_FCN2, |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
3442 OP_CUMMINMAX_FCNN): New macros. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
3443 (mx_inline_cummax, mx_inline_cummin, do_mx_cumminmax_op): |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
3444 New overloaded template functions. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
3445 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
3446 * dNDArray.cc (NDArray::cummin, NDArray::cummax): New methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
3447 * dNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
3448 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
3449 * fNDArray.cc (FloatNDArray::cummin, FloatNDArray::cummax): New |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
3450 methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
3451 * fNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
3452 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
3453 * CNDArray.cc (ComplexNDArray::cummin, ComplexNDArray::cummax): New |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
3454 methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
3455 * CNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
3456 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
3457 * fCNDArray.cc (FloatComplexNDArray::cummin, |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
3458 FloatComplexNDArray::cummax): New methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
3459 * fCNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
3460 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
3461 * intNDArray.cc (intNDArray::cummin, intNDArray::cummax): New methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
3462 * intNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
3463 |
8776
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
3464 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
3465 |
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
3466 * 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
|
3467 |
8774
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
3468 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
|
3469 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
3470 * 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
|
3471 * 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
|
3472 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
3473 * 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
|
3474 * 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
|
3475 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
3476 * 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
|
3477 * 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
|
3478 files. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
3479 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
3480 * 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
|
3481 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
|
3482 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
|
3483 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
|
3484 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
|
3485 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
|
3486 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
|
3487 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
|
3488 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
|
3489 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
|
3490 |
8760
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
3491 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
|
3492 |
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
3493 * 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
|
3494 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
|
3495 |
8758
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
3496 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
9967 | 3497 |
8758
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
3498 * 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
|
3499 (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
|
3500 (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
|
3501 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
|
3502 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
|
3503 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
|
3504 Remove unused macros. |
8758
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
3505 |
8756
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
3506 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
9967 | 3507 |
8756
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
3508 * 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
|
3509 (mx_inline_count): New overloaded template function. |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
3510 * boolNDArray.h (boolNDArray::sum): Return NDArray. |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
3511 * 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
|
3512 |
8752
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
3513 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
3514 |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
3515 * 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
|
3516 * 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
|
3517 * 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
|
3518 octave_sort, reflect changes. |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
3519 * 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
|
3520 pointer types. |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
3521 |
8751
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
3522 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
3523 |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
3524 * oct-cmplx.h (operator <, operator >): New operators. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
3525 * 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
|
3526 New macros. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
3527 (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
|
3528 template functions. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
3529 * dNDArray (NDArray::min, NDArray::max): Use do_mx_minmax_op. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
3530 * fNDArray (FloatNDArray::min, FloatNDArray::max): Ditto. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
3531 * CNDArray (ComplexNDArray::min, ComplexNDArray::max): Ditto. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
3532 * fCNDArray (FloatComplexNDArray::min, FloatComplexNDArray::max): |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
3533 Ditto. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
3534 |
8750
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
3535 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
|
3536 |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
3537 * 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
|
3538 * chNDArray.cc (charNDArray::all, charNDArray::any): Ditto. |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
3539 |
8749
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
3540 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
|
3541 |
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
3542 * 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
|
3543 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
|
3544 |
8743
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
3545 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
|
3546 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
3547 * 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
|
3548 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
|
3549 (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
|
3550 (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
|
3551 (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
|
3552 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
3553 * 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
|
3554 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
3555 * 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
|
3556 and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
3557 * 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
|
3558 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
|
3559 * 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
|
3560 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
|
3561 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
3562 * 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
|
3563 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
3564 * 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
|
3565 and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
3566 * 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
|
3567 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
|
3568 * fCNDArray.cc (FloatComplexNDArray::any, FloatComplexNDArray::all): |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
3569 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
|
3570 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
3571 * 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
|
3572 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
3573 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
3574 * 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
|
3575 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
3576 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
3577 * 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
|
3578 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
3579 |
8741
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
3580 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
|
3581 |
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
3582 * intNDArray.cc: include mx-inlines.cc. |
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
3583 (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
|
3584 * 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
|
3585 |
8736
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
3586 2009-02-13 Jaroslav Hajek <highegg@gmail.com> |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
3587 |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
3588 * 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
|
3589 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
|
3590 OP_CUM_FCNN): New macros. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
3591 (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
|
3592 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
|
3593 New template functions. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
3594 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum, Matrix::prod, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
3595 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
|
3596 * fMatrix.cc (FloatMatrix::cumprod, FloatMatrix::cumsum, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
3597 FloatMatrix::prod, FloatMatrix::sum, FloatMatrix::sumsq): Use |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
3598 do_mx_red_op and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
3599 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
3600 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): Use |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
3601 do_mx_red_op and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
3602 * fCMatrix.cc (FloatComplexMatrix::cumprod, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
3603 FloatComplexMatrix::cumsum, FloatComplexMatrix::prod, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
3604 FloatComplexMatrix::sum, FloatComplexMatrix::sumsq): Use do_mx_red_op |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
3605 and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
3606 |
8731
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
3607 2009-02-12 Jaroslav Hajek <highegg@gmail.com> |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
3608 |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
3609 * oct-inttypes.h (if_else_type): Remove |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
3610 (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
|
3611 |
8725 | 3612 2009-02-12 John W. Eaton <jwe@octave.org> |
3613 | |
3614 * lo-traits.h: New file. | |
3615 * Makefile.in (INCLUDES): Add it to the list. | |
3616 | |
3617 * Array.h (compare_fcn_type): New typedef. | |
3618 * oct-sort.h (compare_fcn_type): Ditto. | |
3619 | |
3620 * oct-sort.h, oct-sort.cc (octave_sort<T>::octave_sort, | |
9967 | 3621 octave_sort<T>::set_compare, octave_sort<T>::compare): |
8725 | 3622 Use typedef to simplify decl. |
3623 (octave_sort<T>::ascending_compare, | |
3624 octave_sort<T>::descending_compare): | |
3625 Use ref_param<T>::type for parameter decl. | |
3626 | |
3627 * Array.cc (sort_isnan): Use ref_param<T>::type for parameter decl. | |
3628 (Array<T>::sort): Use explicit template parameter for sort_isnan calls. | |
3629 | |
3630 * Array.cc, Array-C.cc, Array-fC.cc, Array-d.cc, Array-f.cc | |
3631 (sortrows_comparator): Rename from _sortrows_comparator. Change | |
3632 all uses. Use typedef for return value to simplify decl. | |
3633 (sort_isnan): Rename from _sort_isnan. Change all uses. | |
3634 (NO_INSTANTIATE_ARRAY_SORT): Use typedef to simplify instantiation | |
3635 of sortrows_comparator. | |
3636 | |
3637 * Array-C.cc, Array-fC.cc (sort_isnan, ascending_compare, | |
3638 descending_compare, nan_ascending_compare, | |
3639 nan_descending_compare): | |
3640 | |
8721
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
3641 2009-02-11 Jaroslav Hajek <highegg@gmail.com> |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
3642 |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
3643 * 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
|
3644 octave_sort<T>::is_sorted_rows): New methods. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
3645 * oct-sort.h: Declare them. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
3646 |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
3647 * Array.cc (Array<T>::is_sorted): New method. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
3648 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT, |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
3649 INSTANTIATE_ARRAY_AND_ASSIGN, INSTANTIATE_ARRAY): Move macros here. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
3650 * Array.h: Reflect changes. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
3651 |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
3652 * dim-vector.h (dim_vector::is_vector): New method. |
9967 | 3653 * 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
|
3654 NaN in default comparators. Provide NaN-safe comparators, override |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
3655 _sortrows_comparator. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
3656 * Array-d.cc, Array-f.cc: Provide NaN-safe comparators, override |
9967 | 3657 _sortrows_comparator. |
8721
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
3658 * Range.cc (Range::is_sorted): New method. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
3659 * Range.h: Declare it. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
3660 |
8700 | 3661 2009-02-09 Jaroslav Hajek <highegg@gmail.com> |
3662 | |
3663 * oct-sort.cc (octave_sort<T>): Rewrite for optimizations. Allow | |
3664 inlined comparison functor and by-the-way indexed sorting. | |
3665 * oct-sort.h (octave_sort<T>): Update interface. | |
3666 * Array.cc (Array<T>::sort): Reflect changes. Use copy & partition | |
3667 mechanism. | |
3668 * Array-d.cc, Array-f.cc, Array-C.cc, Array-fC.cc, Array-s.cc, | |
3669 Array-i.cc: Reflect changes. | |
3670 | |
8689
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
3671 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
|
3672 |
8690
6e9887f9cf9f
file-stat.cc: use EXISTS instead of OK in previuos change
John W. Eaton <jwe@octave.org>
parents:
8689
diff
changeset
|
3673 * 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
|
3674 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
|
3675 |
8689
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
3676 * 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
|
3677 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
|
3678 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
|
3679 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
|
3680 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
|
3681 |
8681
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
3682 2009-02-05 Jaroslav Hajek <highegg@gmail.com> |
9967 | 3683 |
8681
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
3684 * idx-vector.h (idx_vector::idx_colon_rep, |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
3685 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
|
3686 idx_vector::idx_vector_rep): Declare allocators. |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
3687 * idx-vector.cc: Define them. |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
3688 |
8678
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
3689 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
|
3690 |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
3691 * 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
|
3692 * 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
|
3693 * 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
|
3694 * 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
|
3695 std::copy_backward where appropriate. |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
3696 |
8677
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
3697 2009-02-05 John W. Eaton <jwe@octave.org> |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
3698 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
3699 * 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
|
3700 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
3701 * 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
|
3702 Eliminate unused variable N. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
3703 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
3704 * MArray-f.cc (MArray<float>::norm (float p) const, |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
3705 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
|
3706 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
3707 * eigs-base.cc (EigsRealNonSymmetricFunc, EigsRealSymmetricFunc) |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
3708 (EigsComplexNonSymmetricFunc): Avoid unused parameter warning. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
3709 * idx-vector.cc (idx_vector::freeze): Likewise. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
3710 |
8660
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
3711 2009-02-04 Jaroslav Hajek <highegg@gmail.com> |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
3712 |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
3713 * 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
|
3714 allocation for pointers and const pointers. |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
3715 |
8655
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
3716 2009-02-03 Benjamin Lindner <lindnerben@gmx.net> |
9967 | 3717 |
8655
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
3718 * Makefile.in: Add missing library reference. |
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
3719 |
8651
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
3720 2009-02-03 Jaroslav Hajek <highegg@gmail.com> |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
3721 |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
3722 * Array.cc (Array<T>::sort (octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
3723 Copy array on-the-fly. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
3724 (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
|
3725 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
|
3726 |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
3727 * 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
|
3728 Copy array on-the-fly. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
3729 (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
|
3730 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
|
3731 |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
3732 * 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
|
3733 Copy array on-the-fly. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
3734 (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
|
3735 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
|
3736 |
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
|
3737 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
|
3738 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
3739 * 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
|
3740 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
3741 * 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
|
3742 * 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
|
3743 * 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
|
3744 * 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
|
3745 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
3746 * 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
|
3747 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
3748 * 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
|
3749 * 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
|
3750 * 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
|
3751 * 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
|
3752 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
3753 * 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
|
3754 |
8626
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
3755 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
|
3756 |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
3757 * 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
|
3758 * 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
|
3759 * 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
|
3760 |
8618
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
3761 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
|
3762 |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
3763 * 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
|
3764 and SHLBINPRE library prefixes. |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
3765 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
|
3766 |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
3767 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
|
3768 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
3769 * dMatrix.cc (Matrix::Matrix (const RowVector&)): Use shallow copy. |
8628 | 3770 (Matrix::Matrix (const ColumnVector&)): Ditto. |
3771 (Matrix::row): Ditto. | |
3772 (Matrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
3773 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
3774 * 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
|
3775 shallow copy. |
8628 | 3776 (FloatMatrix::FloatMatrix (const FloatColumnVector&)): Ditto. |
3777 (FloatMatrix::row): Ditto. | |
3778 (FloatMatrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
3779 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
3780 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const ComplexRowVector&)): |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
3781 Use shallow copy. |
8628 | 3782 (ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): Ditto. |
3783 (ComplexMatrix::row): Ditto. | |
3784 (ComplexMatrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
3785 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
3786 * fCMatrix.cc (FloatComplexMatrix::FloatComplexMatrix (const FloatComplexRowVector&)): |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
3787 Use shallow copy. |
8628 | 3788 (FloatComplexMatrix::FloatComplexMatrix (const FloatComplexColumnVector&)): Ditto. |
3789 (FloatComplexMatrix::row): Ditto. | |
3790 (FloatComplexMatrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
3791 |
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
|
3792 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
|
3793 |
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
|
3794 * 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
|
3795 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
|
3796 |
8597
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
3797 2009-01-27 Jaroslav Hajek <highegg@gmail.com> |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
3798 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
3799 * dbleQR.cc (QR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
3800 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
3801 (QR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
3802 * dbleQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
3803 * dbleQRP.cc (QRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
3804 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
3805 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
3806 * floatQR.cc (FloatQR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
3807 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
3808 (FloatQR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
3809 * floatQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
3810 * floatQRP.cc (FloatQRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
3811 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
3812 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
3813 * CmplxQR.cc (ComplexQR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
3814 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
3815 (ComplexQR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
3816 * CmplxQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
3817 * CmplxQRP.cc (ComplexQRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
3818 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
3819 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
3820 * fCmplxQR.cc (FloatComplexQR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
3821 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
3822 (FloatComplexQR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
3823 * fCmplxQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
3824 * fCmplxQRP.cc (FloatComplexQRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
3825 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
3826 |
8580
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
3827 2009-01-23 Jaroslav Hajek <highegg@gmail.com> |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
3828 |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
3829 * 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
|
3830 Optimize assignment to an empty array. |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
3831 (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
|
3832 Optimize assignment to an empty array. |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
3833 |
8579
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
3834 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
3835 |
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
3836 * Array2.h (Array2<T>::index): Declare resize_ok as bool. |
8628 | 3837 * 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
|
3838 refs. |
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
3839 |
8565 | 3840 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
3841 | |
3842 * Range.cc (sort_internal): Add missing test. | |
3843 | |
8563
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
3844 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
3845 |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
3846 * Array.cc (Array<T>::index (..., bool resize_ok)): |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
3847 Optimize the all-scalar-indices cases. |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
3848 |
8562
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
3849 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
|
3850 |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
3851 * 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
|
3852 * dbleQR.cc: Define it. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
3853 * (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
|
3854 methods unconditionally. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
3855 * (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
|
3856 updating replacement methods. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
3857 * (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
|
3858 replacement methods unconditionally. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
3859 * (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
|
3860 updating replacement methods. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
3861 |
8553
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
3862 2009-01-21 Jaroslav Hajek <highegg@gmail.com> |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
3863 |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
3864 * Range.cc ( operator + (double x, const Range& r), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
3865 operator + (const Range& r, double x), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
3866 operator - (double x, const Range& r), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
3867 operator - (const Range& r, double x), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
3868 operator * (double x, const Range& r), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
3869 operator * (const Range& r, double x)): New operators. |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
3870 * Range.h: Declare them. |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
3871 |
8549 | 3872 2009-01-20 John W. Eaton <jwe@octave.org> |
3873 | |
3874 * file-stat.h, file-stat.cc (class base_file_stat): New base class. | |
3875 (class file_stat): Derive from base_file_stat. | |
3876 (class file_fstat): New class, derived from base_file_stat. | |
3877 | |
8547
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3878 2009-01-17 Jaroslav Hajek <highegg@gmail.com> |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3879 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3880 * floatQR.h (FloatQR::update, FloatQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3881 FloatQR::insert_row, FloatQR::delete_col, FloatQR::delete_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3882 FloatQR::shift_col): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3883 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3884 * floatQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3885 (FloatQR::update, FloatQR::insert_col, FloatQR::insert_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3886 FloatQR::delete_col, FloatQR::delete_row, FloatQR::shift_col): Reflect |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3887 changes in qrupdate interfaces, implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3888 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3889 * dbleQR.h (QR::update, QR::insert_col, QR::insert_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3890 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
|
3891 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3892 * dbleQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3893 (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
|
3894 QR::delete_row, QR::shift_col): Reflect changes in qrupdate |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3895 interfaces, implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3896 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3897 * fCmplxQR.h (FloatComplexQR::update, FloatComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3898 FloatComplexQR::insert_row, FloatComplexQR::delete_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3899 FloatComplexQR::delete_row, FloatComplexQR::shift_col): Update |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3900 interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3901 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3902 * fCmplxQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3903 (FloatComplexQR::update, FloatComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3904 FloatComplexQR::insert_row, FloatComplexQR::delete_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3905 FloatComplexQR::delete_row, FloatComplexQR::shift_col): Reflect |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3906 changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3907 implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3908 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3909 * CmplxQR.h (ComplexQR::update, ComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3910 ComplexQR::insert_row, ComplexQR::delete_col, ComplexQR::delete_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3911 ComplexQR::shift_col): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3912 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3913 * CmplxQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3914 (ComplexQR::update, ComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3915 ComplexQR::insert_row, ComplexQR::delete_col, ComplexQR::delete_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3916 ComplexQR::shift_col): Reflect changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3917 implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3918 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3919 * floatCHOL.h (FloatCHOL::update, FloatCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3920 FloatCHOL::insert_sym): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3921 * floatCHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3922 (FloatCHOL::update, FloatCHOL::downdate, FloatCHOL::insert_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3923 FloatCHOL::delete_sym, FloatCHOL::shift_sym): Reflect changes in |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3924 qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3925 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3926 * CHOL.h (CHOL::update, CHOL::downdate, CHOL::insert_sym): Update |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3927 interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3928 * CHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3929 (CHOL::update, CHOL::downdate, CHOL::insert_sym, CHOL::delete_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3930 CHOL::shift_sym): Reflect changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3931 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3932 * fCmplxCHOL.h (FloatComplexCHOL::update, FloatComplexCHOL::downdate, |
9967 | 3933 FloatComplexCHOL::insert_sym): Update interfaces. |
8547
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3934 * fCmplxCHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3935 (FloatComplexCHOL::update, FloatComplexCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3936 FloatComplexCHOL::insert_sym, FloatComplexCHOL::delete_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3937 FloatComplexCHOL::shift_sym): Reflect changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3938 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3939 * CmplxCHOL.h (ComplexCHOL::update, ComplexCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3940 ComplexCHOL::insert_sym): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3941 * CmplxCHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3942 (ComplexCHOL::update, ComplexCHOL::downdate, ComplexCHOL::insert_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3943 ComplexCHOL::delete_sym, ComplexCHOL::shift_sym): Reflect changes in |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3944 qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
3945 |
8531
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
3946 2009-01-17 Jaroslav Hajek <highegg@gmail.com> |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
3947 |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
3948 * 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
|
3949 slice_len. |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
3950 |
8526
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
3951 2009-01-15 John W. Eaton <jwe@octave.org> |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
3952 |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
3953 * Sparse.cc (Sparse<T>::reshape): Include mismatched dimensions in |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
3954 error message. |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
3955 * Array.cc (Array<T>::reshape): Likewise. |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
3956 From Robert Millan <rmh@aybabtu.com>. |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
3957 |
8524
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
3958 2009-01-14 Jaroslav Hajek <highegg@gmail.com> |
9967 | 3959 |
8524
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
3960 * 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
|
3961 * Array.cc (Array<T>::make_unique): Move implementation here. |
8628 | 3962 (Array<T>::fill): Ditto. |
8524
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
3963 * DiagArray2.h (DiagArray2<T>): Reimplement without abusing |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
3964 Array<T> internals. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
3965 (DiagArray2<T>::operator Array2<T>): New method. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
3966 * DiagArray2.cc (DiagArray2<T>): Update methods. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
3967 * MDiagArray2.h (MDiagArray2<T>::operator Array2<T>): Simplify. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
3968 * PermMatrix.h (PermMatrix): Reimplement without abusing |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
3969 Array<T> internals. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
3970 * PermMatrix.cc (PermMatrix): Update methods. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
3971 |
8523
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
3972 2009-01-14 Jaroslav Hajek <highegg@gmail.com> |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
3973 |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
3974 * 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
|
3975 slice_len. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
3976 (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
|
3977 octave_idx_type, octave_idx_type)): New constructor. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
3978 (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
|
3979 range. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
3980 (Array<T>::make_unique): Rewrite. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
3981 (Array<T>::ArrayRep): Delete redundant methods. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
3982 (rec_index_helper::is_cont_range): New method. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
3983 (Array<T>::maybe_economize): New method. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
3984 * DiagArray2.cc (DiagArray2<T>::resize): Fix the mess. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
3985 |
8521 | 3986 2008-01-15 Rafael Laboissiere <rafael@debian.org> |
3987 | |
3988 * oct-md5.cc: Include <cstdio>. | |
3989 | |
8503
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
3990 2009-01-13 Jaroslav Hajek <highegg@gmail.com> |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
3991 |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
3992 * Array.h (Array::ArrayRep::qsort): Remove. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
3993 (Array::qsort): Remove. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
3994 * glob-match.cc (glob_match::glob): qsort -> sort. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
3995 * str-vec.cc (string_vector::compare): Remove. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
3996 * str-vec.h (string_vector::compare): Remove decl. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
3997 (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
|
3998 |
8417
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
3999 2008-12-23 David Bateman <dbateman@free.fr> |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
4000 |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
4001 * 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
|
4002 * Makefile.in (TEMPLATE_SRC): Add it here. |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
4003 |
8410 | 4004 2008-12-16 Jaroslav Hajek <highegg@gmail.com> |
4005 | |
4006 * Array.cc (rec_permute_helper): New class. | |
4007 (Array<T>::permute): Rewrite using the recursive algorithm. | |
4008 | |
8403 | 4009 2008-12-12 David Bateman <dbateman@free.fr> |
4010 | |
9967 | 4011 * sparse-base-chol.cc (inverse): Fix inversion based on cholesky |
8403 | 4012 factorization. |
9967 | 4013 |
8400
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
4014 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
|
4015 |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
4016 * oct-locbuf.cc: New source. |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
4017 * 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
|
4018 (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
|
4019 POD types. |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
4020 |
8397 | 4021 2008-12-11 Jaroslav Hajek <highegg@gmail.com> |
4022 | |
4023 * mx-op-defs.h (DMDM_BIN_OP): Fix invalid buffer length. | |
4024 | |
8392
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
4025 2008-12-10 Jaroslav Hajek <highegg@gmail.com> |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
4026 |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
4027 * dMatrix.h, dMatrix.cc (Matrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
4028 * fMatrix.h, fMatrix.cc (FloatMatrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
4029 * CMatrix.h, CMatrix.cc (ComplexMatrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
4030 * fCMatrix.h, fCMatrix.cc (FloatComplexMatrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
4031 |
8386
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
4032 2008-12-09 Jaroslav Hajek <highegg@gmail.com> |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
4033 |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
4034 * base-aepbal.h: New source. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
4035 * dbleAEPBAL.h, dbleAEPBAL.cc: Rebase AEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
4036 * floatAEPBAL.h, floatAEPBAL.cc: Rebase FloatAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
4037 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Rebase ComplexAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
4038 * fCmplxAEPBAL.h, fCmplxAEPBAL.cc: Rebase FloatComplexAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
4039 |
8384
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
4040 2008-12-08 Jaroslav Hajek <highegg@gmail.com> |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
4041 |
9967 | 4042 * 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
|
4043 Sparse<bool>&)): New constructor. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
4044 * idx_vector.h: Declare it. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
4045 (idx_vector::idx_vector (const Sparse<bool>&)): New constructor. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
4046 * 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
|
4047 Array<bool>&)): Fix extent calculation. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
4048 |
8385
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
4049 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
|
4050 |
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
4051 * Makefile.in (INCLUDES): Add oct-locbuf.h |
9967 | 4052 |
8380
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
4053 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
|
4054 |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
4055 * 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
|
4056 * 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
|
4057 (MDM_MULTIPLY_OP): Use mx_inline_mul_vs and mx_inline_fill_vs. |
8628 | 4058 (DMM_MULTIPLY_OP): Ditto. |
8380
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
4059 * fDiagMatrix.cc (operator *): Remove redundant ifs. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
4060 * fCDiagMatrix.cc (operator *): Remove redundant ifs. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
4061 |
8379
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
4062 2008-12-06 Jaroslav Hajek <highegg@gmail.com> |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
4063 |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
4064 * oct-locbuf.h (OCTAVE_LOCAL_BUFFER_INIT): New macro. |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
4065 |
8377
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
4066 2008-10-29 Jaroslav Hajek <highegg@gmail.com> |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
4067 |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
4068 * oct-locbuf.h: New header file. |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
4069 * 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
|
4070 CSparse.cc, CmplxCHOL.cc, CmplxGEPBAL.cc, MatrixType.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
4071 Sparse-op-defs.h, Sparse.cc, SparseCmplxLU.cc, SparseCmplxQR.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
4072 SparseQR.cc, SparsedbleLU.cc, dMatrix.cc, dNDArray.cc, dSparse.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
4073 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
|
4074 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
|
4075 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
|
4076 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
|
4077 |
8375
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
4078 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
|
4079 |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
4080 * 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
|
4081 (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
|
4082 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
|
4083 (DiagArray2<T>::diag): New method decl. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
4084 * 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
|
4085 * 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
|
4086 * dDiagMatrix.cc (DiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
4087 * fDiagMatrix.cc (FloatDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
4088 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
4089 * fCDiagMatrix.cc (FloatComplexDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
4090 |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
4091 * 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
|
4092 (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
|
4093 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
|
4094 |
9967 | 4095 |
8371
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
4096 2008-12-04 Jaroslav Hajek <highegg@gmail.com> |
9967 | 4097 |
8371
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
4098 * 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
|
4099 method. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
4100 * dDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
4101 * fDiagMatrix.cc (FloatDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
4102 FloatDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
4103 * fDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
4104 * CDiagMatrix.cc (ComplexDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
4105 ComplexDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
4106 * CDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
4107 * fCDiagMatrix.cc (FloatComplexDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
4108 FloatComplexDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
4109 * fCDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
4110 |
8369 | 4111 2008-12-04 Jaroslav Hajek <highegg@gmail.com> |
4112 | |
4113 * idx-vector.cc (idx-vector::complement): Add missing delete. | |
4114 | |
8368
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
4115 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
|
4116 |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
4117 * 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
|
4118 * 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
|
4119 * 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
|
4120 * 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
|
4121 |
8367
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
4122 2008-12-03 Jaroslav Hajek <highegg@gmail.com> |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
4123 |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
4124 * PermMatrix.h, PermMatrix.cc: New sources. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
4125 * MDiagArray2.cc (MDiagArray2<T>::is_multiple_of_identity): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
4126 * MDiagArray2.h (MDiagArray2<T>::is_multiple_of_identity): Declare it. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
4127 * idx-vector.cc (idx_vector::is_permutation): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
4128 * idx-vector.h (idx_vector::is_permutation): Declare it. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
4129 * base-lu.cc (base_lu::getp): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
4130 (base_lu::P): Call getp. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
4131 (base_lu::Pvec): Call getp. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
4132 * 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
|
4133 params. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
4134 * dbleQRP.cc (dbleQRP::dbleQRP): Construct a permutation matrix. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
4135 (dbleQRP::Pvec): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
4136 * dbleQRP.h: Declare new method. Declare P as PermMatrix. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
4137 * CmplxQRP.cc (ComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
4138 * CmplxQRP.h (ComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
4139 * floatQRP.cc (FloatQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
4140 * floatQRP.h (FloatQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
4141 * fCmplxQRP.cc (FloatComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
4142 * fCmplxQRP.h (FloatComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
4143 |
8366
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4144 2008-12-01 Jaroslav Hajek <highegg@gmail.com> |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4145 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4146 * 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
|
4147 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4148 (DiagArray2<T>::elem, xelem, operator ()): Move to header file to |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4149 enable inlining. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4150 * DiagArray2.cc (DiagArray2<T>::elem, xelem, operator ()): Remove |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4151 implementations. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4152 * 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
|
4153 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4154 (MDiagArray2<T>::nnz): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4155 * MDiagArray2.cc (MDiagArray2<T>::nnz): Implement it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4156 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4157 * dDiagMatrix.h (DiagMatrix::DiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4158 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4159 (DiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4160 (real (const ComplexDiagMatrix&), imag (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4161 New decls. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4162 * dDiagMatrix.cc (DiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4163 (operator *(const DiagMatrix&, const DiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4164 (real (const ComplexDiagMatrix&), imag (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4165 New functions. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4166 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4167 * fDiagMatrix.h (FloatDiagMatrix::FloatDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4168 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4169 (FloatDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4170 (real (const FloatComplexDiagMatrix&), imag (const FloatComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4171 New decls. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4172 * fDiagMatrix.cc (FloatDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4173 (operator *(const FloatDiagMatrix&, const FloatDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4174 (real (const FloatComplexDiagMatrix&), imag (const FloatComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4175 New functions. |
9967 | 4176 |
8366
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4177 * CDiagMatrix.h (ComplexDiagMatrix::ComplexDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4178 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4179 (ComplexDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4180 (conj (const ComplexDiagMatrix&)): Add missing decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4181 (ComplexDiagMatrix::all_elements_are_real): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4182 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4183 * CDiagMatrix.cc (CDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4184 (operator *(const DiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4185 (operator *(const ComplexDiagMatrix&, const DiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4186 (operator *(const ComplexDiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4187 (ComplexDiagMatrix::all_elements_are_real): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4188 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4189 * fCDiagMatrix.h (FloatComplexDiagMatrix::FloatComplexDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4190 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4191 (FloatComplexDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4192 (conj (const FloatComplexDiagMatrix&)): Add missing decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4193 (FloatComplexDiagMatrix::all_elements_are_real): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4194 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4195 * fCDiagMatrix.cc (CDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4196 (operator *(const FloatDiagMatrix&, const FloatComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4197 (operator *(const FloatComplexDiagMatrix&, const FloatDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4198 (operator *(const ComplexDiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4199 (FloatComplexDiagMatrix::all_elements_are_real): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4200 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4201 * dSparse.cc (SparseMatrix::SparseMatrix (const DiagMatrix&)): New |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4202 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4203 * dSparse.h (SparseMatrix::SparseMatrix (const DiagMatrix&)): Declare |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4204 it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4205 |
9967 | 4206 * CSparse.cc (SparseComplexMatrix::SparseComplexMatrix (const ComplexDiagMatrix&)): |
8366
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4207 New constructor. |
9967 | 4208 * CSparse.h (SparseComplexMatrix::SparseComplexMatrix (const ComplexDiagMatrix&)): |
8366
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4209 Declare it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
4210 * 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
|
4211 |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
4212 2008-11-21 Jarkko Kaleva <d3roga@gmail.com> |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
4213 |
9967 | 4214 * 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
|
4215 bool calc_eigenvectors = true)): New constructor. |
9967 | 4216 (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
|
4217 bool calc_eigenvectors = true)): New constructor. |
9967 | 4218 (EIG::EIG (const ComplexMatrix& a, const ComplexMatrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
4219 bool calc_eigenvectors = true)): New constructor. |
9967 | 4220 (EIG::EIG (const ComplexMatrix& a, const ComplexMatrix& b, |
4221 octave_idx_type& info, bool calc_eigenvectors = true)): New | |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
4222 constructor. |
9967 | 4223 * 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
|
4224 bool calc_eigenvectors)): New function. |
9967 | 4225 (EIG::init (const ComplexMatrix& a, const ComplexMatrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
4226 bool calc_eigenvectors)): New function. |
9967 | 4227 (EIG::symmetric_init (const Matrix& a, const Matrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
4228 bool calc_eigenvectors)): New function. |
9967 | 4229 (EIG::hermitian_init (const ComplexMatrix& a, const ComplexMatrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
4230 bool calc_eigenvectors)): New function. |
9967 | 4231 * 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
|
4232 bool calc_eigenvectors = true)): New constructor. |
9967 | 4233 (fEIG::fEIG (const FloatMatrix& a, const FloatMatrix& b, |
4234 octave_idx_type& info, bool calc_eigenvectors = true)): New | |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
4235 constructor. |
9967 | 4236 (fEIG::fEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
4237 bool calc_eigenvectors = true)): New constructor. | |
4238 (fEIG::fEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, | |
4239 octave_idx_type& info, bool calc_eigenvectors = true)): New | |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
4240 constructor. |
9967 | 4241 (fEIG::init (const FloatMatrix& a, const FloatMatrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
4242 bool calc_eigenvectors)): New function. |
9967 | 4243 (fEIG::init (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
4244 bool calc_eigenvectors)): New function. |
9967 | 4245 (fEIG::symmetric_init (const FloatMatrix& a, const FloatMatrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
4246 bool calc_eigenvectors)): New function. |
9967 | 4247 (fEIG::hermitian_init (const FloatComplexMatrix& a, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
4248 const FloatComplexMatrix& b, bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
4249 |
8337
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
4250 2008-11-19 Jaroslav Hajek <highegg@gmail.com> |
9967 | 4251 |
8337
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
4252 * dMatrix.cc (Matrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
4253 fMatrix.cc (FloatMatrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
4254 CMatrix.cc (ComplexMatrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
4255 fCMatrix.cc (FloatComplexMatrix::determinant): |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
4256 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
|
4257 |
8336
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
4258 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
|
4259 |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
4260 * 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
|
4261 * dMatrix.cc (Matrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
4262 fMatrix.cc (FloatMatrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
4263 CMatrix.cc (ComplexMatrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
4264 fCMatrix.cc (FloatComplexMatrix::determinant): |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
4265 Allow taking MatrixType argument. |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
4266 * 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
|
4267 |
8335 | 4268 2008-11-19 Jaroslav Hajek <highegg@gmail.com> |
4269 | |
4270 * DET.h: New source. | |
4271 * CmplxDET.cc, CmplxDET.h, dbleDET.cc, dbleDET.h, fCmplxDET.cc, | |
4272 fCmplxDET.h, floatDET.cc, floatDET.h: Remove. | |
4273 * Makefile.in: Reflect changes. | |
4274 * mx-defs.h: Remove DET decls. | |
4275 * mx-ext.h, dMatrix.h, fMatrix.h, CMatrix.h, fCMatrix.h, | |
4276 dSparse.h, CSparse.h: Include only DET.h. | |
4277 * dMatrix.cc (Matrix::determinant), | |
4278 fMatrix.cc (FloatMatrix::determinant), | |
4279 CMatrix.cc (ComplexMatrix::determinant), | |
4280 fCMatrix.cc (FloatComplexMatrix::determinant), | |
4281 dSparse.cc (SparseMatrix::determinant), | |
4282 CSparse.cc (SparseComplexMatrix::determinant): Use new class. | |
4283 | |
8328
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
4284 2008-11-18 David Bateman <dbateman@free.fr> |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
4285 |
9967 | 4286 * file-ops.cc (std::string file_ops::tilde_expand (const |
4287 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
|
4288 return if not. |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
4289 |
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
|
4290 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
|
4291 |
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
|
4292 * 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
|
4293 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
|
4294 |
8324 | 4295 2008-11-14 David Bateman <dbateman@free.fr> |
4296 | |
4297 * Array2.h (Array2<T> Array2<T>::index): Correct use of | |
4298 resize_fill_value. | |
4299 | |
8319
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
4300 2008-11-12 Michael Goffioul <michael.goffioul@gmail.com> |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
4301 |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
4302 * 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
|
4303 MArray<T>::norm specialization before implicit MArray<T> implicit |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
4304 instantiation. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
4305 * 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
|
4306 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
|
4307 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
|
4308 OCTAVE_API tag. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
4309 * 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
|
4310 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
|
4311 * oct-inttypes.cc (octave_int<T>::type_name): Ditto. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
4312 * 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
|
4313 to double. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
4314 * oct-inttypes.h: Undefine min/max. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
4315 * 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
|
4316 tag. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
4317 * oct-norm.cc (xnorm, xfrobnorm, xcolnorms, xrownorms): Ditto. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
4318 |
9501 | 4319 2008-11-12 Jaroslav Hajek <highegg@gmail.com> |
8314
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
4320 |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
4321 * DiagArray2.h (DiagArray2<T>::maybe_delete_elements): Remove |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
4322 declaration. |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
4323 |
9501 | 4324 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
|
4325 |
9967 | 4326 * 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
|
4327 (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
|
4328 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
|
4329 Array<T>::resize. |
8628 | 4330 (row_norms (const MArray2<T>&, ...)): Ditto. |
4331 (column_norms (const MSparse2<T>&, ...)): Ditto. | |
4332 (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
|
4333 |
8303
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
4334 2008-10-31 Jaroslav Hajek <highegg@gmail.com> |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
4335 |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
4336 * oct-norm.h: New header file. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
4337 * oct-norm.cc: New source. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
4338 * CSparse.cc (SparseComplexMatrix::row, SparseComplexMatrix::column): |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
4339 New member functions. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
4340 * CSparse.h (SparseComplexMatrix): Declare them. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
4341 * dSparse.cc (SparseMatrix::row, SparseMatrix::column): |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
4342 New member functions. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
4343 * dSparse.h (SparseMatrix): Declare them. |
9967 | 4344 * MArray-C.cc (MArray<Complex>::norm), |
4345 MArray-d.cc (MArray<double>::norm), | |
4346 MArray-fC.cc (MArray<FloatComplex>::norm), | |
4347 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
|
4348 |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
4349 * MArray-defs.h (MARRAY_NORM_BODY): Remove. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
4350 |
9501 | 4351 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
|
4352 |
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
4353 * 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
|
4354 correctly. |
8302
f2e050b62199
fix dim check in Array<T>::delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8301
diff
changeset
|
4355 * 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
|
4356 Fix check for invalid dim. |
8301
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
4357 |
8298
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
4358 2008-10-31 Jaroslav Hajek <highegg@gmail.com> |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
4359 |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
4360 * 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
|
4361 extent when len is zero. |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
4362 * 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
|
4363 Create empty range by default. |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
4364 |
9501 | 4365 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
|
4366 |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
4367 * 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
|
4368 (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
|
4369 std::abs. |
8628 | 4370 * 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
|
4371 |
9501 | 4372 2008-10-28 Jaroslav Hajek <highegg@gmail.com> |
8290
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
4373 |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
4374 * 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
|
4375 Don't use semicolon after INSTANTIATE_ARRAY_ASSIGN. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
4376 * Array-util.h (zero_dims_inquire): New declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
4377 (is_in, how_many_lgt, short_freeze): Remove declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
4378 * Array-util.cc (zero_dims_inquire): New functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
4379 (is_in, how_many_lgt, short_freeze): Remove functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
4380 * 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
|
4381 Array<T>::assign, Array<T>::delete_elements): |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
4382 Rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
4383 * 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
|
4384 Array<T>::assign, Array<T>::delete_elements): |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
4385 Rewrite interfaces. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
4386 * Array2.h (Array2<T>::resize): Call Array<T>::resize_fill. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
4387 * Array3.h (Array3<T>::resize): Call Array<T>::resize_fill. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
4388 * ArrayN.h (ArrayN<T>::resize): Remove declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
4389 (ArrayN<T>::index): Fix call to resize_fill_value. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
4390 * Sparse.cc (assign, assign1): Use zero-based indices. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
4391 * chMatrix.h: Include mx-op-defs.h |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
4392 * 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
|
4393 dim_vector::redim): New member functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
4394 * idx-vector.cc: Mostly rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
4395 * idx-vector.h: Mostly rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
4396 |
8288
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
4397 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
|
4398 |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
4399 * 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
|
4400 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
|
4401 not supported under MSVC. |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
4402 |
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
|
4403 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
|
4404 |
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
|
4405 * 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
|
4406 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
|
4407 (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
|
4408 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
|
4409 |
8278
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
4410 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
|
4411 |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
4412 * 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
|
4413 (cbesi): Likewise. |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
4414 |
8272
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
4415 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
|
4416 |
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
4417 * 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
|
4418 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
|
4419 |
8271
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
4420 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
|
4421 |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
4422 * 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
|
4423 of RTLD_LAZY. |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
4424 |
9501 | 4425 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
|
4426 |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
4427 * CSparse.cc (ComplexMatrix::expm): Improve inverse preconditioning |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
4428 according to Marco Caliari. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
4429 * dSparse.cc (Matrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
4430 * fCSparse.cc (FloatComplexMatrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
4431 * fSparse.cc (FloatMatrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
4432 |
8207
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
4433 2008-10-10 Jaroslav Hajek <highegg@gmail.com> |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
4434 |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
4435 * sparse-util.h (SparseCholPrint): Change char * argument to const |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
4436 char *. |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
4437 * sparse-util.cc (SparseCholPrint): Likewise. |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
4438 |
9501 | 4439 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
|
4440 |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
4441 * oct-sort.cc (octave_sort<T>::merge_getmem, |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
4442 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
|
4443 delete []. |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
4444 (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
|
4445 std::memcpy and std::memmove with std::copy. |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
4446 |
8198 | 4447 2008-10-08 John W. Eaton <jwe@octave.org> |
4448 | |
4449 * Sparse-op-defs.h (SPARSE_SMSM_BOOL_OPS): Duplicate code for scalar | |
4450 sparse arguments rather than rely on extern function. | |
4451 | |
8193
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
4452 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
|
4453 |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
4454 * 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
|
4455 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
|
4456 optimizations. |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
4457 (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
|
4458 |
9501 | 4459 2008-10-07 Jaroslav Hajek <highegg@gmail.com> |
8191
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
4460 |
9967 | 4461 * 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
|
4462 octave_uint64 where appropriate. |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
4463 |
8187 | 4464 2008-10-06 David Bateman <dbateman@free.fr> |
9967 | 4465 |
8187 | 4466 * Sparse-op-defs.h (SPARSE_SMSM_CMP_OPS): Duplicate code for scalar |
4467 sparse arguments rather than rely on extern function. | |
4468 | |
8186
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
4469 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
|
4470 |
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
4471 * 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
|
4472 |
9501 | 4473 2008-10-01 Jaroslav Hajek <highegg@gmail.com> |
8185
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
4474 |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
4475 * oct-inttypes.h (octave_int<T>::one, octave_int<T>::zero): Declare |
9967 | 4476 constants. |
8185
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
4477 * oct-inttypes.cc: Define them. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
4478 * 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
|
4479 * oct-inttypes.cc: Define alternative implementations for 64-bit |
9967 | 4480 multiplication and mixed operations. |
8185
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
4481 * mx-ops: Instantiate all 64-bit integer operations. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
4482 |
8180
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
4483 2008-10-06 Jaroslav Hajek <highegg@gmail.com> |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
4484 |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
4485 * 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
|
4486 |
8181
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
4487 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
|
4488 |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
4489 * 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
|
4490 * 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
|
4491 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
|
4492 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
|
4493 |
8179
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
4494 2008-10-03 Jaroslav Hajek <highegg@gmail.com> |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
4495 |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
4496 * 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
|
4497 declaration. |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
4498 * 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
|
4499 rfv. |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
4500 |
8178
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
4501 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
|
4502 |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
4503 * 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
|
4504 for empty matrix. |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
4505 |
8182 | 4506 2008-09-30 Jaroslav Hajek <highegg@gmail.com> |
8169
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
4507 |
9967 | 4508 * oct-inttypes.h: Mostly rewrite. |
8169
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
4509 * oct-inttypes.cc: Modstly rewrite. |
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
4510 |
8157
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
4511 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
|
4512 |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
4513 * 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
|
4514 empty index vector. |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
4515 |
8150
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
4516 2008-09-26 Jaroslav Hajek <highegg@gmail.com> |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
4517 |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
4518 * Array.cc (assign1, assign2, assignN): Do not call |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
4519 maybe_delete_elements. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
4520 (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
|
4521 special handlers if possible. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
4522 * Sparse.cc (assign1, assign2, assignN): Do not call |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
4523 maybe_delete_elements. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
4524 |
8124
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
4525 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
|
4526 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
4527 * 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
|
4528 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
|
4529 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
4530 2008-09-12 Jaroslav Hajek <highegg@gmail.com> |
9967 | 4531 |
4532 * 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
|
4533 |
8121
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
4534 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
|
4535 |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
4536 * 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
|
4537 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
|
4538 (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
|
4539 |
8119
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
4540 2008-09-18 Jaroslav Hajek <highegg@gmail.com> |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
4541 |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
4542 * 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
|
4543 better Matlab compatibility. |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
4544 (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
|
4545 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
|
4546 |
8118
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
4547 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
|
4548 |
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
4549 * 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
|
4550 |
8104
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
4551 2008-09-12 Jaroslav Hajek <highegg@gmail.com> |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
4552 |
9967 | 4553 * 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
|
4554 Handle negative exponent correctly. |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
4555 |
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
|
4556 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
|
4557 |
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
|
4558 * 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
|
4559 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
|
4560 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
|
4561 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
|
4562 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
|
4563 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
|
4564 (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
|
4565 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
|
4566 (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
|
4567 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
|
4568 (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
|
4569 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
|
4570 (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
|
4571 (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
|
4572 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
|
4573 (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
|
4574 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
|
4575 (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
|
4576 (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
|
4577 (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
|
4578 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
|
4579 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
|
4580 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
|
4581 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
|
4582 (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
|
4583 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
|
4584 (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
|
4585 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
|
4586 octave_int<T>&, float)): New functions. |
8040 | 4587 |
4588 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
|
4589 |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
4590 * 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
|
4591 classified as positive by lo_ieee_signbit. |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
4592 |
8040 | 4593 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
|
4594 |
f0fbf47c914c
avoid null pointer call in Array<T>::hermitian
Jaroslav Hajek <highegg@gmail.com>
parents:
8022
diff
changeset
|
4595 * 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
|
4596 (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
|
4597 |
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
|
4598 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
|
4599 |
8022
9708674ab85d
don't include config.h in other header files
John W. Eaton <jwe@octave.org>
parents:
8019
diff
changeset
|
4600 * 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
|
4601 |
8019
0ef13e15319b
replace NPOS with std::string::npos
John W. Eaton <jwe@octave.org>
parents:
8018
diff
changeset
|
4602 * 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
|
4603 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
|
4604 |
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
|
4605 * 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
|
4606 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
|
4607 |
8008
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
4608 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
|
4609 |
8009
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
4610 * 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
|
4611 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
|
4612 |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
4613 * 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
|
4614 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
|
4615 |
8008
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
4616 * 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
|
4617 here from file scope. |
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
4618 |
8006
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
4619 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
|
4620 |
8007
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
4621 * 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
|
4622 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
|
4623 file_ops::dir_sep_chars. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
4624 (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
|
4625 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
|
4626 (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
|
4627 file_ops::dir_sep_str. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
4628 |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
4629 * 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
|
4630 (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
|
4631 * 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
|
4632 (file_ops::file_ops): New constructor. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
4633 (file_ops::instance_ok): New function. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
4634 (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
|
4635 from dir_sep_char. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
4636 (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
|
4637 (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
|
4638 (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
|
4639 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
|
4640 (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
|
4641 (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
|
4642 |
8006
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
4643 * 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
|
4644 |
7999 | 4645 2008-07-30 John W. Eaton <jwe@octave.org> |
4646 | |
4647 * oct-inttypes.h: Style fixes. | |
4648 | |
8040 | 4649 2008-07-30 Jaroslav Hajek <highegg@gmail.com> |
7997
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
4650 |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
4651 * 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
|
4652 (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
|
4653 member functions. |
7999 | 4654 (octave_int<T>::octave_int (const octave_int<U>&)): set trunc_flag |
4655 on truncation. | |
7997
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
4656 (SPECIALIZE_WIDENING_CONVERSION): New macro. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
4657 (DECLARE_OCTAVE_INT_TYPENAME): New macro. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
4658 |
7991
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
4659 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
|
4660 |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
4661 * 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
|
4662 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
|
4663 maintains NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
4664 (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
|
4665 (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
|
4666 detect old NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
4667 (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
|
4668 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
|
4669 * 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
|
4670 detect old NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
4671 (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
|
4672 old NA value with new new. |
9967 | 4673 * 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
|
4674 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
|
4675 loaded NA values is the old representation and replace it. |
9967 | 4676 |
8040 | 4677 2008-07-28 Jaroslav Hajek <highegg@gmail.com> |
7979 | 4678 |
4679 * lo-math.h: Ensure log2 is undefined from cmath in C++ mode. | |
4680 | |
7957
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
4681 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
|
4682 |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
4683 * 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
|
4684 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
|
4685 |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
4686 * 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
|
4687 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
|
4688 |
7955
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
4689 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
|
4690 |
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
4691 * 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
|
4692 |
7952
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
4693 2008-07-19 John W. Eaton <jwe@octave.org> |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
4694 |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
4695 * oct-mutex.h (class octave_base_mutex): New class. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
4696 (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
|
4697 (octave_mutex::rep): Declare as octave_base_mutex. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
4698 (octave_mutex::count): Delete. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
4699 (octave_mutex::lock, octave_mutex::unlock): No longer virtual. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
4700 (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
|
4701 valid or set rep to zero after deleting. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
4702 (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
|
4703 * 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
|
4704 from octave_base_mutex, not octave_mutex. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
4705 |
7943
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
4706 2008-07-18 John W. Eaton <jwe@octave.org> |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
4707 |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
4708 * 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
|
4709 to 0, not count. |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
4710 * 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
|
4711 to 1 instead of incrementing it. |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
4712 |
7941
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
4713 2008-07-17 Michael Goffioul <michael.goffioul@gmail.com> |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
4714 |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
4715 * 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
|
4716 bool, bool) into conditional HAVE_FFTW3 preprocessor statement. |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
4717 |
7936
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
4718 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
|
4719 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
4720 * 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
|
4721 octave_autolock (const octave_autolock&), |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
4722 octave_autolock::operator = (const octave_autolock&)): |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
4723 Delete definitions. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
4724 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
4725 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
|
4726 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
4727 * 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
|
4728 (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
|
4729 executing handlers. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
4730 (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
|
4731 Autolock event_hook_lock. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
4732 |
7934 | 4733 2008-07-15 Michael Goffioul <michael.goffioul@gmail.com> |
4734 | |
4735 * oct-mutex.h, oct-mutex.cc: New files. | |
4736 * Makefile.in: Add them to appropriate lists. | |
4737 | |
7929 | 4738 2008-07-15 John W. Eaton <jwe@octave.org> |
4739 | |
4740 * oct-sort.cc, oct-sort.h (octave_sort<T>::count_run): Declare | |
4741 descending arg as bool&. | |
4742 (octave_sort<T>::sort): Pass bool to count_run for descending arg. | |
4743 | |
7922
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
4744 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
|
4745 |
7924 | 4746 * dDiagMatrix.cc (DiagMatrix::diag): Return empty ColumnVector if |
4747 number of rows or columns is 0. | |
4748 * fDiagMatrix.cc (FloatDiagMatrix::diag): Likewise. | |
4749 | |
4750 * Array-util.cc (is_vector): Avoid GCC warning. | |
4751 * Array-f.cc (Array<float>::sort): Likewise. | |
4752 * Array-d.cc (Array<double>::sort): Likewise. | |
4753 * dbleQR.cc (QR::QR (const Matrix&, const Matrix&)): Likewise. | |
4754 * CmplxQR.cc (ComplexQR::ComplexQR (const ComplexMatrix&, const | |
4755 ComplexMatrix&)): Likewise. | |
4756 * floatQR.cc (FloatQR::FloatQR (const FloatMatrix&, const | |
4757 FloatMatrix&)): Likewise. | |
4758 * fCmplxQR.cc (FloatComplexQR::FloatComplexQR (const | |
4759 FloatComplexMatrix&, const FloatComplexMatrix&)): Likewise. | |
4760 * Quad.cc (IndefQuad::do_integrate (octave_idx_type&, | |
4761 octave_idx_type&, float&), FloatIndefQuad::do_integrate, | |
4762 DefQuad::do_integrate octave_idx_type&, octave_idx_type&, float&, | |
4763 FloatIndefQuad::do_integrate): Likewise. | |
4764 | |
7922
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
4765 * 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
|
4766 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
|
4767 * 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
|
4768 * Array-util.h: Provide decl. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
4769 * 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
|
4770 * 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
|
4771 |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
4772 * 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
|
4773 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
|
4774 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
|
4775 * 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
|
4776 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
|
4777 Provide decl. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
4778 |
7919
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
4779 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
|
4780 |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
4781 * 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
|
4782 bool, bool)): New constructor. |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
4783 * dNDArray.h: Provide decl. |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
4784 |
7914
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
4785 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
|
4786 |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
4787 * 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
|
4788 * lo-specfun.cc: Ditto. Add atanhf implementation. |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
4789 |
8040 | 4790 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
|
4791 |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
4792 * MatrixType.h: Add missing include statement. |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
4793 |
7889
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
4794 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
|
4795 |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
4796 * 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
|
4797 * fCmplxDET.cc (FloatComplexDET::initialize10): Likewise, for pow. |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
4798 |
7885 | 4799 2008-06-11 John W. Eaton <jwe@octave.org> |
4800 | |
4801 * so-array.h, so-array.cc, Array-so.cc: Delete. | |
4802 * Makefile.in: Remove them from the lists. | |
4803 | |
7872 | 4804 2008-06-05 John W. Eaton <jwe@octave.org> |
4805 | |
4806 * oct-shlib.cc (octave_base_shlib::remove): Only dereference | |
4807 counter if iterator is valid. | |
4808 | |
7814
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
4809 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
|
4810 |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
4811 * 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
|
4812 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
|
4813 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
|
4814 * 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
|
4815 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
|
4816 * 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
|
4817 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
|
4818 (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
|
4819 (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
|
4820 (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
|
4821 * 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
|
4822 * 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
|
4823 (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
|
4824 (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
|
4825 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
4826 2008-06-02 David Bateman <dbateman@free.fr> |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
4827 |
7810
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
4828 * fCmplxLU.cc (class FloatComplexLU): Correct error in instantiation. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
4829 * floatLU.cc (class FloatLU): ditto. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
4830 * floatLU.h (class FloatLU): ditto. |
9967 | 4831 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
4832 * floatAEPBAL.cc (octave_idx_type FloatAEPBALANCE::init (const |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
4833 FloatMatrix&, const std::string&)): Use FloatMatrix to initialize |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
4834 balancing_mat. |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
4835 |
7809
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
4836 * 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
|
4837 (MATRIX_SRC): Add fCmplxAEPBAL.cc and floatAEPBAL.cc. |
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
4838 |
7805
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
4839 2008-05-21 David Bateman <dbateman@free.fr> |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
4840 |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
4841 * Quad-opts.in: Handle single precision tolerances. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
4842 * Quad.cc (float_user_fcn): New static variable. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
4843 (quad_float_fcn_ptr): New typedef. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
4844 (qagp, quagi): New QUADPACK decls. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
4845 (float_user_function): New function. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
4846 (DefQuad::do_integrate, IndefQuad::do_integrate): Float versions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
4847 (FloatDefQuad::do_integrate, FloatIndefQuad::do_integrate): |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
4848 New functions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
4849 * Quad.h (class Quad): Handle float type. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
4850 (class FloatDefQuad, class FloatIndefQuad): New classes. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
4851 |
8040 | 4852 2008-05-21 Jaroslav Hajek <highegg@gmail.com> |
7799 | 4853 |
7804
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
4854 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
4855 (xcdotc, csyrk, cherk): New F77 decls. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
4856 * fMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
4857 (operator * (const FloatMatrix&, const FloatMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
4858 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
4859 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
4860 (ssyrk): New F77 decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
4861 * fCMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
4862 (operator * (const FloatComplexMatrix&, const |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
4863 FloatComplexMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
4864 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
4865 |
7803 | 4866 * dMatrix.cc, CMatrix.cc, Sparse-op-defs.h: Add missing copyright. |
4867 | |
7802
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
4868 * Sparse-op-defs.h (SPARSE_FULL_MUL): Simplify scalar*matrix case. |
9967 | 4869 Correct indenting. |
7802
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
4870 (SPARSE_FULL_TRANS_MUL): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
4871 (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
|
4872 Move OCTAVE_QUIT one level up. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
4873 (FULL_SPARSE_MUL_TRANS): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
4874 * dSparse.h (mul_trans, trans_mul): Provide decl. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
4875 * dSparse.cc (mul_trans, trans_mul): New functions. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
4876 * 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
|
4877 * 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
|
4878 |
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
|
4879 * 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
|
4880 * 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
|
4881 (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
|
4882 (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
|
4883 * 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
|
4884 * 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
|
4885 (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
|
4886 (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
|
4887 |
7799 | 4888 * MatrixType.cc (matrix_real_probe, matrix_complex_probe): |
4889 New template functions. | |
4890 (MatrixType::MatrixType (const Matrix&), | |
4891 MatrixType::MatrixType (const FloatMatrix&)): | |
4892 just call matrix_real_probe. | |
4893 (MatrixType::MatrixType (const ComplexMatrix&), | |
4894 MatrixType::MatrixType (const FloatComplexMatrix&)): | |
4895 just call matrix_complex_probe. | |
4896 | |
4897 * MatrixType.cc (MatrixType::MatrixType (matrix_type, bool)): | |
4898 add missing test for Unknown. | |
4899 | |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4900 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
|
4901 |
7797
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
4902 * 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
|
4903 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
4904 (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
|
4905 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
4906 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
4907 * 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
|
4908 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
4909 (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
|
4910 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
4911 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
4912 * 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
|
4913 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
4914 (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
|
4915 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
4916 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
4917 * 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
|
4918 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
4919 (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
|
4920 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
4921 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
4922 |
7796
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
4923 * Array.cc: Fix transpose tests. |
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
4924 |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4925 * 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
|
4926 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
|
4927 (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
|
4928 * 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
|
4929 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
|
4930 (FloatGEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4931 * 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
|
4932 (MATRIX_SRC): and here. |
9967 | 4933 |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4934 * floatAEPBAL.cc (FloatAEPBALANCE), fCmplxAEPBAL.cc |
9967 | 4935 (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
|
4936 Algebraic eignvalue balancing. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4937 * 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
|
4938 (FloatComplexAEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4939 * 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
|
4940 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4941 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4942 * 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
|
4943 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
|
4944 * 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
|
4945 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4946 * 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
|
4947 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4948 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4949 * 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
|
4950 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
|
4951 * 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
|
4952 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4953 * 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
|
4954 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4955 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4956 * 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
|
4957 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
|
4958 * 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
|
4959 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4960 * 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
|
4961 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4962 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4963 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4964 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
4965 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
|
4966 ComplexQRP, FloatQRP, FloatComplexQRP): Declare classes. |
9967 | 4967 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4968 2008-05-20 David Bateman <dbateman@free.fr> |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4969 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4970 * 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
|
4971 transpose to limit the number of cache misses. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4972 (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
|
4973 for matrix conjugate transpose. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4974 * 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
|
4975 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4976 * DiagArray2.cc (DiagArray2<T> DiagArray2<T>::transpose () const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4977 Specialization for diagonal arrays. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4978 (DiagArray2<T> DiagArray2<T>::transpose (T (*) (const&)) const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4979 Ditto. |
9967 | 4980 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4981 * 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
|
4982 (MArray<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4983 * 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
|
4984 * 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
|
4985 * 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
|
4986 * MDiagArray2.h (MDiagArray2<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4987 (MDiagArray<T> hermitian <T (*) (const&)) const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4988 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4989 * 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
|
4990 * CRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4991 * dColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4992 * dRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4993 * CDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4994 * dDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4995 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4996 * 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
|
4997 * fCRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4998 * fColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4999 * fRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5000 * fCDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5001 * fDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5002 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5003 * CDiagMatrix.cc (ComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5004 ComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5005 * dDiagMatrix.cc (DiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5006 * CMatrix.cc (ComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5007 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5008 * fCDiagMatrix.cc (FloatComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5009 FloatComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5010 * fDiagMatrix.cc (FloatDiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5011 * fCMatrix.cc (FloatComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5012 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5013 * lo-mappers.cc (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5014 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5015 New mapper functions for single precion values. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5016 * lo-mappers.h (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5017 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5018 Declare them. |
9967 | 5019 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5020 * CmplxGEBAL.cc (ComplexGEPBALANCE), dbleGEPBAL.cc (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5021 fCmplxGEPBAL.cc (FloatComplexGEPBALANCE), floatGEPBAL.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5022 (FloatGEPBALANCE): New class for generalized eigenvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5023 * CmplxGEBAL.h (ComplexGEPBALANCE), dbleGEPBAL.h (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5024 fCmplxGEPBAL.h (FloatComplexGEPBALANCE), floatGEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5025 (FloatGEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5026 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5027 (MATRIX_SRC): and here. |
9967 | 5028 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5029 * floatAEPBAL.cc (FloatAEPBALANCE), fCmplxAEPBAL.cc |
9967 | 5030 (FloatComplexAEPBALANCE): New classes for single precision |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5031 Algebraic eignvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5032 * floatAEPBAL.h (FloatAEPBALANCE), fCmplxAEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5033 (FloatComplexAEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5034 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5035 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5036 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5037 * floatHESS.cc (FloatHESS), fCmplxHESS.cc (FloatComplexHESS): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5038 classes for single precision Hessenberg decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5039 * floatHESS.h (FloatHESS), fCmplxHESS.h (FloatComplexHESS): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5040 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5041 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5042 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5043 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5044 * floatQR.cc (FloatQR), fCmplxQR.cc (FloatComplexQR): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5045 classes for single precision QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5046 * floatQR.h (FloatQR), fCmplxQR.h (FloatComplexQR): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5047 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5048 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5049 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5050 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5051 * floatQRP.cc (FloatQRP), fCmplxQRP.cc (FloatComplexQRP): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5052 classes for single precision permuted QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5053 * floatQRP.h (FloatQRP), fCmplxQRP.h (FloatComplexQRP): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5054 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5055 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5056 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5057 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5058 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5059 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5060 FloatHESS, FloatComplexHESS, FloatQR, FloatComplexQR, QRP, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5061 ComplexQRP, FloatQRP, FloatComplexQRP): Declare classes. |
9967 | 5062 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5063 * 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
|
5064 fCColVector.cc, fCColVector.h, fCDiagMatrix.cc, fCDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5065 fCMatrix.cc, fCMatrix.h, fCNDArray.cc, fCNDArray.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5066 fCRowVector.cc, fCRowVector.h, fCmplxCHOL.cc, fCmplxCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5067 fCmplxDET.cc, fCmplxDET.h, fCmplxLU.cc, fCmplxLU.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5068 fCmplxSCHUR.cc, fCmplxSCHUR.h, fCmplxSVD.cc, fCmplxSVD.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5069 fColVector.cc, fColVector.h, fDiagMatrix.cc, fDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5070 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
|
5071 fRowVector.cc, fRowVector.h, floatCHOL.cc, floatCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5072 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
|
5073 floatSCHUR.h, floatSVD.cc, floatSVD.h: New files. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5074 * 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
|
5075 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5076 * 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
|
5077 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
|
5078 MatrixType.cc, MatrixType.h, SparseCmplxQR.cc, SparseCmplxQR.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5079 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
|
5080 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
|
5081 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
|
5082 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
|
5083 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
|
5084 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
|
5085 Allow single precision types. |
9967 | 5086 |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
5087 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
|
5088 |
7788 | 5089 * CMatrix.cc (double rcond): Replace with double rcon everywhere |
5090 to avoid shadowed variable warning | |
5091 (double ComplexMatrix::rcond (void) const): New method for | |
5092 reciprocal condition number calculation. | |
5093 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
5094 * CMatrix.h (double rcond): Replace with double rcon everywhere | |
5095 to avoid shadowed variable warning | |
5096 (double ComplexMatrix::rcond (void) const): New method for | |
5097 reciprocal condition number calculation. | |
5098 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
5099 * dMatrix.cc (double rcond): Replace with double rcon everywhere | |
5100 to avoid shadowed variable warning | |
5101 (double Matrix::rcond (void) const): New method for | |
5102 reciprocal condition number calculation. | |
5103 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
5104 * dMatrix.h (double rcond): Replace with double rcon everywhere | |
5105 to avoid shadowed variable warning | |
5106 (double Matrix::rcond (void) const): New method for | |
5107 reciprocal condition number calculation. | |
5108 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
5109 | |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
5110 * 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
|
5111 expression matching |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
5112 * 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
|
5113 (LIBOCTAVE_CXX_SOURCES): regex-match.cc here. |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
5114 |
7776 | 5115 2008-05-19 David Bateman <dbateman@free.fr> |
5116 | |
5117 * dSparse.cc: Replace some DGBCON with GPBCON where they are | |
5118 incorrectly used. | |
5119 | |
7774
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
5120 2008-05-13 David Bateman <dbateman@free.fr> |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
5121 |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
5122 * 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
|
5123 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
|
5124 is not zero. |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
5125 |
7758
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
5126 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
|
5127 |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
5128 * 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
|
5129 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
|
5130 * 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
|
5131 (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
|
5132 * 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
|
5133 * 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
|
5134 |
7757
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
5135 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
|
5136 |
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
5137 * 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
|
5138 |
7749
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
5139 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
|
5140 |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
5141 * 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
|
5142 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
|
5143 * 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
|
5144 Likewise. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
5145 (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
|
5146 Adjust all uses. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
5147 (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
|
5148 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
|
5149 (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
|
5150 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
|
5151 |
8040 | 5152 2008-04-30 Jaroslav Hajek <highegg@gmail.com> |
7740 | 5153 |
5154 * lo-mappers.cc (xlog2 (double)): Compute log (2), not log2 (2). | |
5155 (xlog2 (Complex), xlog2 (double, int&), xlog2 (Complex, int&)): | |
5156 New functions. | |
5157 * lo-mappers.h: Provide decls. | |
5158 | |
9501 | 5159 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
|
5160 |
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
5161 * 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
|
5162 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
|
5163 |
7732
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
5164 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
|
5165 |
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
5166 * 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
|
5167 |
7727
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
5168 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
|
5169 |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
5170 * 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
|
5171 Fix for-loop condition. |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
5172 |
8040 | 5173 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
|
5174 |
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
5175 * 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
|
5176 |
7717
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
5177 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
|
5178 |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
5179 * 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
|
5180 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
5181 * 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
|
5182 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
5183 * 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
|
5184 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
5185 * 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
|
5186 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
5187 |
7707
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
5188 2008-04-09 Michael Goffioul <michael.goffioul@gmail.com> |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
5189 |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
5190 * lo-mappers.cc (xround): Avoid floating-point overflow when input |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
5191 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
|
5192 |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
5193 * 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
|
5194 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
|
5195 __WIN32__ platforms. |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
5196 |
8040 | 5197 2008-04-07 Jaroslav Hajek <highegg@gmail.com> |
7700
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
5198 |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
5199 * dbleQR.h, dbleQR.cc (QR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
5200 * CmplxQR.h, CmplxQR.cc (ComplexQR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
5201 * 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
|
5202 CHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
5203 * CmplxCHOL.h, CmplxCHOL.cc (ComplexCHOL::insert_sym, |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
5204 ComplexCHOL::delete_sym, ComplexCHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
5205 |
7695
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
5206 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
|
5207 |
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
5208 * 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
|
5209 |
7671
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
5210 2008-03-27 Jaroslav Hajek <highegg@gmail.com> |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
5211 |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
5212 * oct-lookup.h: New file. |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
5213 |
7646
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
5214 2008-03-26 David Bateman <dbateman@feee.fr> |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
5215 |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
5216 * Array.cc (assignN): Additional fix for vector assignments. |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
5217 |
7642
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
5218 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
|
5219 |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
5220 * 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
|
5221 original matrix is empty. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
5222 * 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
|
5223 function. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
5224 * 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
|
5225 |
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
|
5226 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
|
5227 |
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
|
5228 * 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
|
5229 (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
|
5230 * 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
|
5231 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
|
5232 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
|
5233 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
5234 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
|
5235 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
5236 * lo-mappers.cc (xtrunc): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
5237 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
5238 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
5239 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
|
5240 |
7638
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
5241 * lo-specfun.cc (expm1, log1p): New functions. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
5242 * lo-specfun.h: Provide decls. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
5243 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
5244 * lo-mappers.cc (xroundb): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
5245 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
5246 |
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
|
5247 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
|
5248 |
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
|
5249 * 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
|
5250 array case, except for 64bit cases. |
9967 | 5251 |
7619 | 5252 2008-03-21 David Bateman <dbateman@free.fr> |
5253 | |
5254 * oct-sparse.h: Add headers for amd.h. | |
5255 | |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
5256 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
|
5257 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
5258 * 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
|
5259 method for diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
5260 * 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
|
5261 * 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
|
5262 * 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
|
5263 * 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
|
5264 * 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
|
5265 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
5266 * 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
|
5267 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
5268 * 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
|
5269 * 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
|
5270 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
5271 * 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
|
5272 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
5273 * Range.h (Matrix diag (octave_idx_type) const): Declare it. |
9967 | 5274 |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
5275 * CDiagMatrix.cc (ComplexColumnVector ComplexDiagMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
5276 (void) const): delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
5277 * 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
|
5278 * 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
|
5279 * 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
|
5280 delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
5281 * 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
|
5282 * 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
|
5283 * 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
|
5284 * 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
|
5285 * 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
|
5286 * 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
|
5287 * 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
|
5288 * 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
|
5289 * intNDArray.h (intNDArray<T> diag (void) const): ditto. |
9967 | 5290 |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
5291 * 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
|
5292 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
|
5293 * 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
|
5294 return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
5295 * 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
|
5296 terms of template classes function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
5297 * 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
|
5298 * 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
|
5299 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
|
5300 * boolMatrix.h (boolMatrix diag (octave_idx_type) const): Change |
9967 | 5301 return type. |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
5302 * 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
|
5303 const): Rewrite in terms of template classes function. |
9967 | 5304 |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
5305 * 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
|
5306 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
|
5307 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
5308 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
5309 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
5310 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
5311 * 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
|
5312 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
5313 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
5314 * CNDArray.cc (ComplexNDArray ComplexNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
5315 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
5316 * 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
|
5317 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
5318 * 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
|
5319 method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
5320 * 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
|
5321 * chNDArray.cc (charNDArray charNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
5322 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
5323 * 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
|
5324 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
5325 |
9967 | 5326 |
7609
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
5327 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
|
5328 |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
5329 * 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
|
5330 relative filenames. |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
5331 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
5332 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
|
5333 |
7605
48488cca0006
Fix for array indexing if original matrix is empty
David Bateman <dbateman@free.fr>
parents:
7602
diff
changeset
|
5334 * 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
|
5335 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
|
5336 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
5337 * 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
|
5338 const): New template function. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
5339 * 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
|
5340 const): ditto. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
5341 * 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
|
5342 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
|
5343 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
|
5344 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
|
5345 * 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
|
5346 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
|
5347 SparseBoolMatrix SparseComplexMatrix::map (bmapper) const): ditto. |
9967 | 5348 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
5349 2008-03-18 David Bateman <dbateman@free.fr> |
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
5350 |
7601
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
5351 * 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
|
5352 * 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
|
5353 * randpoison.c (xlgamma): Use lgamma if HAVE_LGAMMA is defined. |
9967 | 5354 |
7600
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
5355 * 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
|
5356 * CNDarray.cc (ComplexNDArray::min, CompelxNDArray::max): ditto. |
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
5357 * intNDarray.cc (intNDArray<T>::min, intNDArray<T>::max): ditto. |
9967 | 5358 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
5359 * 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
|
5360 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
|
5361 |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
5362 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
|
5363 |
7598
a89b3fa632ee
partial specialization for octave_int_fit_to_range
John W. Eaton <jwe@octave.org>
parents:
7597
diff
changeset
|
5364 * 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
|
5365 Use partial specialization for double values. |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
5366 |
7573
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
5367 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
|
5368 |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
5369 * 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
|
5370 * 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
|
5371 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
|
5372 * idx-vector.cc, idx-vector.h |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
5373 (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
|
5374 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
|
5375 (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
|
5376 (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
|
5377 (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
|
5378 |
7572
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
5379 2008-03-07 John W. Eaton <jwe@octave.org> |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
5380 |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
5381 * 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
|
5382 IDX_VEC_REP::idx_vector_rep (const boolNDArray&)): |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
5383 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
|
5384 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
|
5385 (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
|
5386 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
5387 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
|
5388 |
9967 | 5389 * 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
|
5390 QR::delete_col, QR::delete_row): Use 0-based indexing. |
9967 | 5391 * 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
|
5392 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
|
5393 |
7559
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
5394 * dbleCHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
5395 * CmplxHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
5396 * 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
|
5397 * 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
|
5398 * 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
|
5399 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
5400 2008-03-04 Jaroslav Hajek <highegg@gmail.com> |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
5401 |
7554
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
5402 * dbleCHOL.cc (CHOL::set, CHOL::update, CHOL::downdate): |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
5403 New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
5404 * dbleCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
5405 * CmplxCHOL.cc (ComplexCHOL::set, ComplexCHOL::update, |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
5406 ComplexCHOL::downdate): New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
5407 * CmplxCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
5408 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
5409 * 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
|
5410 QR::insert_row, QR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
5411 (QR::QR (const Matrix&, const MAtrix&)): New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
5412 * dbleQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
5413 * CmplxQR.cc (ComplexQR::update, ComplexQR::insert_col, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
5414 ComplexQR::delete_col, ComplexQR::insert_row, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
5415 ComplexQR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
5416 (ComplexQR::ComplexQR (const ComplexMatrix&, const ComplexMAtrix&)): |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
5417 New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
5418 * CmplxQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
5419 |
7549
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
5420 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
|
5421 |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
5422 * 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
|
5423 of < and > operators. |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
5424 |
7546
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
5425 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
|
5426 |
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
5427 * 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
|
5428 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
|
5429 |
7545 | 5430 2008-03-03 Jaroslav Hajek <highegg@gmail.com> |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
5431 |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
5432 * dMatrix.cc (Matrix::lssolve): Also avoid dgelsd lwork query bug |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
5433 in lssolve method that accepts column vector argument. Correct |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
5434 calculation of nlvl. |
7545 | 5435 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd. |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
5436 |
7537
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
5437 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
|
5438 |
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
5439 * 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
|
5440 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
5441 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
|
5442 |
7536 | 5443 * oct-rand.cc (get_dist_id): Fix typo. |
5444 (get_dist_id, octave_rand::distribution, octave_rand::scalar, | |
5445 fill_rand): Improve error messages. | |
5446 | |
7535
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
5447 * 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
|
5448 (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
|
5449 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
|
5450 (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
|
5451 |
7533
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
5452 * 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
|
5453 (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
|
5454 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
|
5455 (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
|
5456 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
|
5457 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
|
5458 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
|
5459 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
|
5460 (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
|
5461 (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
|
5462 (octave_rand::uniform_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
5463 octave_rand::normal_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
5464 octave_rand::exponential_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
5465 octave_rand::poisson_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
5466 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
|
5467 (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
|
5468 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
|
5469 (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
|
5470 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
5471 * 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
|
5472 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd |
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
5473 |
7521
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
5474 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
|
5475 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
5476 * 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
|
5477 specializations for signed and unsigned types. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
5478 (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
|
5479 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
|
5480 octave_int_helper class. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
5481 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
5482 * 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
|
5483 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
|
5484 with "template <>". |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
5485 |
7520 | 5486 2008-02-22 John W. Eaton <jwe@octave.org> |
5487 | |
5488 * CSparse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc, | |
5489 file-ops.cc, oct-group.cc, oct-shlib.cc, sparse-base-chol.h, | |
5490 sparse-dmsolve.cc: Use 0 instead of NULL. | |
5491 | |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
5492 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
|
5493 |
9967 | 5494 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
5495 (octave_idx_type) const): New method. |
9967 | 5496 * boolSparse.h (SparseBoolMatrix SparseBoolMatrix::diag |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
5497 (octave_idx_type) const): Declare it. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
5498 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
5499 * 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
|
5500 factorization of xGETRF directly. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
5501 * sparse-base-lu.cc (template <class lu_type, class lu_elt_type, |
9967 | 5502 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
|
5503 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
|
5504 to simulate the retirn of xGETRF. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
5505 * sparse-base-lu.h (template <class lu_type, class lu_elt_type, |
9967 | 5506 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
|
5507 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
|
5508 (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
|
5509 * 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
|
5510 scaling. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
5511 * SparseCmplxLU.cc: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
5512 * 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
|
5513 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
|
5514 * SparseCmplxLU.h: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
5515 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
5516 * 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
|
5517 return permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
5518 * 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
|
5519 * 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
|
5520 return row permutations as a vector. |
9967 | 5521 (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
|
5522 permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
5523 * 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
|
5524 (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
|
5525 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
5526 * oct-spparms.cc: Add sym_tol field. |
9967 | 5527 |
7505
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
5528 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
|
5529 |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
5530 * SparseComplexQR.cc (ComplexMatrix |
9967 | 5531 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
|
5532 (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
|
5533 * SparseComplexQR.h (ComplexMatrix |
9967 | 5534 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
|
5535 (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
|
5536 * 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
|
5537 * 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
|
5538 |
7503
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5539 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
|
5540 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5541 * boolNDArray.h (boolNDArray (const Array2<bool>&)): Delete. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5542 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5543 * Marray2.h (MArray2 (const Array2<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5544 MArray2 (const MArray2<U>&)): New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5545 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5546 * Array2.h (Array2 (const Array<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5547 Array2 (const Array<U>&, const dim_vector&)): |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5548 New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5549 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5550 * CColVector.cc (ComplexColumnVector::map): Forward to MArray::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5551 * dColVector.cc (ColumnVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5552 * CRowVector.cc (ComplexRowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5553 * dRowVector.cc (RowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5554 * CMatrix.cc (ComplexMatrix::map): Forward to MArray2::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5555 * dMatrix.cc (Matrix::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5556 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5557 * dNDArray.cc (NDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5558 * dNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5559 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5560 * CNDArray.cc (ComplexNDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5561 * CNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5562 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5563 * MArray2.h (MArray2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5564 * Array2.h (Array2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5565 * MArrayN.h (MArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5566 * ArrayN.h (ArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5567 * Array.h (Array<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5568 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5569 * functor.h: New file. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5570 * Makefile.in (INCLUDES): Add it to the list. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5571 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5572 2008-02-20 David Bateman <dbateman@free.fr> |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5573 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5574 * CColVector.h, CColVector.cc (ComplexColumnVector::apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5575 * dColVector.h, dColVector.cc (ColumnVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5576 * CRowVector.h, CRowVector.cc (ComplexRowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5577 * dRowVector.h, dRowVector.cc (RowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5578 * CMatrix.h, CMatrix.cc (ComplexMatrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5579 * dMatrix.h, dMatrix.cc (Matrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5580 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5581 * CSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5582 (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
|
5583 * CSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5584 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5585 * dSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5586 (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
|
5587 * dSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5588 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5589 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5590 * intNDArray.cc (abs, signum): Two new mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5591 * intNDArray.h (abs, signum): Declare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5592 * 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
|
5593 base type. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5594 |
7486
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
5595 2008-02-15 John W. Eaton <jwe@octave.org> |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
5596 |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
5597 * 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
|
5598 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
|
5599 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
5600 |
7482
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
5601 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
|
5602 |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
5603 * 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
|
5604 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
|
5605 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
|
5606 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
|
5607 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
|
5608 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
|
5609 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc: |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
5610 Don't check f77_exception_encountered. |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
5611 |
7477 | 5612 2008-02-12 John W. Eaton <jwe@octave.org> |
5613 | |
5614 * CMatrix.cc: Declare xilaenv instead of ilaenv. | |
5615 (ComplexMatrix::lssolve): Call xilaenv instead of ilaenv. | |
5616 | |
7476 | 5617 2008-02-12 Jason Riedy <ejr@cs.berkeley.edu> |
9967 | 5618 |
7480 | 5619 * Array.cc (ascending_compare, descending_compare): Remove |
5620 non-standard extern in the instantiations. | |
5621 | |
5622 * oct-sort.cc: Include <cstring> and sprinkle with std:: as needed. | |
5623 | |
7476 | 5624 * dMatrix.cc (ILAENV): Declare LAPACK Fortran function. |
5625 (Matrix::lssolve): Use ILAENV to query smlsiz. And add an ugly | |
5626 workaround for DGELSD's broken lwork query. The formula is from | |
5627 LAPACK's dgelsd.f source and allocates enough workspace to use an | |
5628 efficient algorithm in the short-and-fat case (n > m). | |
5629 * CMatrix.cc (ILAENV): Declare LAPACK Fortran function. | |
5630 (ComplexMatrix::lssolve): Use ILAENV to query smlsiz. And add an | |
5631 ugly workaround for DGELSD's broken lwork query, as with double. | |
5632 | |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
5633 2008-02-12 John W. Eaton <jwe@octave.org> |
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
5634 |
7470
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
5635 * sparse-sort.cc: Don't explicitly instantiate |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
5636 class octave_sort<octave_idx_vector_sort *>, |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
5637 class octave_sort<octave_idx_type>, or |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
5638 class octave_sort<octave_sparse_sort_idxl *>. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
5639 |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
5640 * Sparse.h (INSTANTIATE_SPARSE_SORT): Delete macro. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
5641 * 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
|
5642 |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
5643 * 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
|
5644 |
7466
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
5645 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
|
5646 |
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
5647 * 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
|
5648 |
7463
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
5649 2008-02-08 John W. Eaton <jwe@octave.org> |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
5650 |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
5651 * oct-sort.h (enum sortmode): Eliminate UNDEFINED. Change all |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
5652 uses of UNDEFINED to ASCENDING. |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
5653 |
7457 | 5654 2008-02-07 John W. Eaton <jwe@octave.org> |
5655 | |
7458 | 5656 * Range.cc (Range::sort_internal): Rename from sort. New arg, |
5657 ASCENDING, with default value of true. | |
5658 (Range::sort_internal (Array<octave_idx_type>&, bool)): New function. | |
5659 (Range::sort (octave_idx_type, sortmode) const): New function. | |
5660 (Range::sort (Array<octave_idx_type>&, octave_idx_type, sortmode) | |
5661 const): New function. | |
5662 * Range.h: Fix/provide decls. | |
5663 | |
7457 | 5664 * intNDArray.cc (intNDArray<T>::any (int)): Use != for comparison. |
5665 | |
7449 | 5666 2008-02-06 John W. Eaton <jwe@octave.org> |
5667 | |
5668 * Makefile.in ($(OPTS_INC)): Use mv instead of move-if-change. | |
5669 (stamp-prereq): Eliminate. | |
5670 (clean): Don't remove stamp-prereq. | |
5671 (libraries): Don't depend on stamp-prereq. | |
5672 (PREREQ): New macro. | |
5673 ($(MAKEDEPS)): Depend on $(PREREQ), not stamp-prereq. | |
5674 (distclean): Simplify with $(PREREQ). | |
5675 (OPT_BASE): New macro. | |
5676 (OPT_IN): Rename from OPTS_INC_DATA. Define in terms of OPT_BASE. | |
5677 (OPT_INC): Rename from OPTS_INC. Define in terms of OPT_BASE. | |
5678 | |
7448 | 5679 2008-02-05 John W. Eaton <jwe@octave.org> |
5680 | |
5681 * Makefile.in: Unconditionally include $(MAKEDEPS). | |
5682 Mark $(MAKEDEPS) as .PHONY targets if omit_deps is true. | |
5683 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
5684 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> |
7443 | 5685 |
5686 * Array.cc (ascending_compare, descending_compare, | |
5687 Array<T>::sort): Declare explicit specialization for T=double to | |
5688 avoid symbol duplication error at link time. | |
5689 * Array-d.cc (ascending_compare, descending_compare): Declare and | |
5690 define as nonmember functions, not member functions of Array<T>. | |
5691 | |
7442 | 5692 2008-02-03 John W. Eaton <jwe@octave.org> |
5693 | |
5694 * Array-i.cc: Also instantiate Arrays for long long type if it exists. | |
5695 | |
5696 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> | |
5697 | |
5698 * Array.cc: Don't include Range.h. | |
5699 | |
7433 | 5700 2008-01-31 David Bateman <dbateman@free.fr> |
5701 | |
5702 * oct-sort.cc: conversion of int to octave_idx_type where needed | |
5703 for 64-bit builds. | |
5704 (IFLT): Allow IFLT macro to be overridden. | |
5705 * oct-sort.h: conversion of int to octave_idx_type where needed | |
5706 for 64-bit builds. | |
5707 (enum sortmode): Type of sort to perform. | |
5708 (vec_index): Simple class to aid in indexed sorts. | |
9967 | 5709 |
7433 | 5710 * Array.h ( Array<T> sort (octave_idx_type, sortmode) const, |
5711 Array<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
5712 sortmode) const): Array sorting methods. | |
5713 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT): Macros to | |
5714 instantiate the array sorting methods. | |
5715 * Array.cc (ascending_compare, descending_compare): New template | |
5716 functions for generic sort comparison. | |
5717 ( Array<T> Array<T>::sort (octave_idx_type, sortmode) const, | |
5718 Array<T> Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, | |
5719 sortmode) const): Array sorting functions based of octave_sort | |
5720 class. | |
9967 | 5721 * Array-C.cc: Instantiate the complex array sort methods. |
7433 | 5722 (IFLT): New macro to override the one in the |
5723 octave_sort class to avoid need for Complex < and > operators. | |
5724 (static double xabs (const Complex&)): Complex abs function | |
5725 avoiding std::abs(Inf) returning NaN with some compilers. | |
5726 (ascending_compare, descending compare): override template | |
5727 functions for complex comparison. | |
9967 | 5728 * Array-d.cc: Instantiate the double array sort methods. |
5729 (Array<double> Array<double>::sort (octave_idx_type, | |
5730 sortmode) const, Array<double> Array<double>::sort | |
5731 (Array<octave_idx_type> &, octave_idx_type, sortmode) const): | |
7433 | 5732 Array sorting functions based of octave_sort using uint64 sorting |
5733 on IEE754 doubles, for speed and correct sorting of Inf and NaN. | |
5734 (ascending_compare, descending compare): override template | |
5735 functions for double and uint64 comparison. | |
9967 | 5736 * Array-b.cc, Array-ch.cc, Array-i.cc, Array-s.cc, Array-str.cc: |
7433 | 5737 Instantiate the array sort methods. |
5738 * Array-idx-vec.cc: Null instantiation of array sort methods. | |
5739 * Array2.h, Array3.h, ArrayN.h (sort): 2, 3 and N-dimensional | |
5740 versions of the sort methods based on Array<T>::sort. | |
5741 | |
5742 * CSparse.cc, dSparse.cc: Remove inclusion of octa-sort.h. | |
5743 * Sparse.h ( Sparse<T> sort (octave_idx_type, sortmode) const, | |
5744 Sparse<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
5745 sortmode) const): Sparse sorting methods. | |
9967 | 5746 (INSTANTIATE_ARRAY_SORT): Macro to instantiate the sparse sorting |
7433 | 5747 methods. |
5748 * Sparse.cc: replace sort with lsort throughout to avoid shadowing | |
5749 of new sort method. | |
5750 (sparse_ascending_compare, sparse_descending_compare): New template | |
5751 functions for generic sort comparison. | |
5752 ( Sparse<T> Sparse<T>::sort (octave_idx_type, sortmode) const, | |
5753 Sparse<T> Sparse<T>::sort (Sparse<octave_idx_type> &, octave_idx_type, | |
5754 sortmode) const): Sparse sorting functions based of octave_sort | |
5755 class. | |
9967 | 5756 * Sparse-C.cc: Instantiate the complex sparse sort methods. |
7433 | 5757 (IFLT): New macro to override the one in the |
5758 octave_sort class to avoid need for Complex < and > operators. | |
5759 (static double xabs (const Complex&)): Complex abs function | |
5760 avoiding std::abs(Inf) returning NaN with some compilers. | |
5761 (sparse_ascending_compare, sparse_descending compare): override | |
5762 template functions for complex comparison. | |
9967 | 5763 * Sparse-d.cc: Instantiate the cdouble sparse sort methods. |
7433 | 5764 (sparse_ascending_compare, sparse_descending compare): override |
5765 template functions for double comparison. | |
5766 * Array-b.cc: Instantiate the sparse sort methods. | |
5767 | |
7422 | 5768 2008-01-25 Jaroslav Hajek <highegg@gmail.com> |
5769 | |
5770 * idx-vector.h (idx_vector::idx_vector_rep::range_base, | |
5771 idx_vector::idx_vector_rep::range_step, | |
5772 idx_vector::idx_vector_rep::range_step): New data members. | |
5773 (idx_vector::idx_vector_rep::idx_vector_rep): Initialize them. | |
5774 * idx-vector.cc (IDX_VEC_REP::sort, IDX_VEC_REP::is_colon_equiv, | |
5775 IDX_VEC_REP::init_state, IDX_VEC_REP::operator =, | |
5776 IDX_VECTOR_REP::idx_vector_rep): Handle range. | |
5777 | |
7416 | 5778 2008-01-18 Marco Caliari <marco.caliari@univr.it> |
5779 | |
5780 * dMatrix.cc (Matrix::expm): Correctly perform reverse permutation. | |
5781 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
5782 | |
7408 | 5783 2008-01-22 Michael Goffioul <michael.goffioul@gmail.com> |
7407 | 5784 |
5785 * oct-time.cc (octave_base_tim::init): Validate pointer argument; | |
5786 this fixes the "localtime(-1)" crash under Windows. | |
5787 | |
7400 | 5788 2008-01-18 John W. Eaton <jwe@octave.org> |
5789 | |
5790 * dMatrix.cc (solve_singularity_warning): New function. | |
5791 (Matrix::expm): Pass pointer to solve_singularity_warning to | |
5792 Matrix::solve method. Exit early if Matrix::solve fails. | |
5793 Limit sqpow value to avoid overflowing scale factor. | |
5794 * CMatrix.cc (solve_singularity_warning): New function. | |
5795 (ComplexMatrix::expm): Pass pointer to solve_singularity_warning to | |
5796 ComplexMatrix::solve method. Exit early if ComplexMatrix::solve fails. | |
5797 Limit sqpow value to avoid overflowing scale factor. | |
7402 | 5798 From Marco Caliari <marco.caliari@univr.it>. |
7400 | 5799 |
7356 | 5800 2008-01-10 Kim Hansen <kimhanse@gmail.com> |
5801 | |
5802 * Sparse.cc: New tests for slicing of sparse matrices. | |
5803 | |
7350 | 5804 2008-01-07 David Bateman <dbateman@free.fr> |
5805 | |
5806 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Don't break from | |
5807 loop if this test succeeds. | |
5808 | |
7342 | 5809 2008-01-03 David Bateman <dbateman@free.fr> |
5810 | |
5811 * MSparse.cc (SPARSE_A2A2_OP): If first arg is scalar zero, then | |
5812 need unary operator on remaining argument | |
5813 * Sparse-op-defs.h (SPARSE_SMSM_BIN_OP_1): ditto. | |
5814 | |
7334 | 5815 2007-12-21 John W. Eaton <jwe@octave.org> |
5816 | |
5817 Version 3.0.0 released. | |
5818 | |
7322 | 5819 2007-12-18 David Bateman <dbateman@free.fr> |
5820 | |
9967 | 5821 * Sparse.cc (template <class T> Sparse<T> Sparse<T>::index |
5822 (idx_vector&, int) const): Fix case indexing of non zero scalar | |
7322 | 5823 stored as a sparse matrix. |
9967 | 5824 (template <class T> Sparse<T> Sparse<T>::index (idx_vector&, |
7322 | 5825 idx_vector&, int) const): For the non permutated indexing case, |
5826 fix link list calculation and use. | |
5827 | |
7321 | 5828 2007-12-17 John W. Eaton <jwe@octave.org> |
5829 | |
5830 * Array.cc (Array<T>::indexN): Correctly handle scalar indexed by | |
5831 N-d array. | |
5832 | |
7318 | 5833 2007-12-17 David Bateman <dbateman@free.fr> |
5834 | |
5835 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Use ridx for row | |
5836 index. | |
5837 | |
7299 | 5838 2007-12-11 John W. Eaton <jwe@octave.org> |
5839 | |
5840 * Sparse.cc (Sparse<T>::index (idx_vector&, int) const): | |
5841 If indexing scalar with empty matrix, return empty array with same | |
5842 size as index. | |
5843 | |
7272 | 5844 2007-12-10 John W. Eaton <jwe@octave.org> |
5845 | |
7279 | 5846 * NLEqn.h (NLEqn::fval): New data member. Adjust constructors |
5847 and assignment operator. | |
5848 (NLEqn::function_value): New function. | |
5849 * NLEqn.cc (NLEqn::solve): If solution is successful, compute | |
5850 function value. | |
5851 | |
7272 | 5852 * file-ops.cc (file_ops::concat): New function. |
5853 * file-ops.h: Provide decl. | |
5854 | |
7270 | 5855 2007-12-07 John W. Eaton <jwe@octave.org> |
5856 | |
5857 * oct-time.cc (octave_base_tm::init): Only assign t->tm_zone if it | |
5858 is not 0. | |
5859 | |
7269 | 5860 2007-12-07 David Bateman <dbateman@free.fr> |
5861 | |
5862 * Sparse-op-defs.h (SPARSE_SMS_CMP_OP, SPARSE_SMS_BOOL_OP, | |
9967 | 5863 SPARSE_SSM_CMP_OP, SPARSE_SSM_BOOL_OP, SPARSE_SMSM_CMP_OP, |
7269 | 5864 SPARSE_SMSM_BOOL_OP, SPARSE_BASE_REDUCTION_OP): Use sparse |
5865 indexing where possible rather than the elem method. | |
5866 (SPARSE_REDUCTION_OP_ROW_EXPR, SPARSE_REDUCTION_OP_COL_EXPR, | |
5867 SPARSE_ANY_ALL_OP_ROW_CODE, SPARSE_ANY_ALL_OP_COL_CODE): | |
5868 Replace for new version of SPARSE_BASE_REDUCTION_OP. | |
5869 (SPARSE_ALL_OP): Specialize the initial value, and only treat dim | |
5870 = 0 directly. | |
5871 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::sumsq (int) | |
5872 const): Replace ROW_EXPR and COL_EXPR functions for new version of | |
5873 SPARSE_BASE_REDUCTION_OP. | |
5874 (SparseComplexMatrix SparseComplexMatrix::prod (int) const): | |
5875 Specialize the initial value, and only treat dim = 0 directly. | |
5876 * dSparse.cc (SparseMatrix SparseMatrix::sumsq (int) const): | |
5877 ditto. | |
5878 (SparseMatrix SparseMatrix::prod (int) const): ditto. | |
5879 | |
7265 | 5880 2007-12-06 John W. Eaton <jwe@octave.org> |
5881 | |
5882 * CMatrix.cc (ComplexMatrix::expm): Update pointers to internal | |
5883 data for npp and dpp after assignments. | |
5884 * dMatrix.cc (Matrix::expm): Use same method as ComplexMatrix::expm. | |
5885 | |
7253 | 5886 2007-12-04 John W. Eaton <jwe@octave.org> |
5887 | |
5888 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
5889 Do nothing if one index is empty. | |
5890 | |
7246 | 5891 2007-12-04 David Bateman <dbateman@free.fr> |
5892 | |
5893 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
5894 Resize matrix as well if one dimension of lhs is zero and the rhs | |
5895 index exceeds the lhs index. | |
5896 * Sparse.cc (assign1 (Sparse<LT>&, const Sparse<RT>&)): | |
5897 Don't resize to a smaller matrix for empty matrices with a max rhs | |
5898 index smaller than the non zero lhs index. | |
5899 | |
5900 2007-12-04 Michael Goffioul <michael.goffioul@gmail.com> | |
5901 | |
5902 * Array-util.h: Tag permute_vector_compare with OCTAVE_API. | |
5903 | |
7241 | 5904 2007-12-03 Moritz Borgmann <octave@moriborg.de> |
5905 | |
5906 * Array-util.cc (permute_vector_compare): Move here from Array.cc. | |
5907 * Array-util.h (permute_vector, permute_vector_compare): Provide decls. | |
5908 * Array.cc (permute_vector, permute_vector_compare): Delete. | |
5909 | |
7238 | 5910 2007-12-03 David Bateman <dbateman@free.fr> |
5911 | |
5912 * Sparse.cc (template <class LT, class RT> int assign | |
5913 (Sparse<LT>&, const Sparse<RT>&)): Only set return matrix size to | |
5914 rhs values if both no. rows and columns are zero. | |
5915 | |
7231 | 5916 2007-11-30 John W. Eaton <jwe@octave.org> |
5917 | |
7234 | 5918 * oct-sort.cc, oct-sort.h: Style fixes. |
5919 | |
7231 | 5920 * lo-math.h: New file. |
5921 * Makefile.in (INCLUDES): Add it to the list. | |
5922 * liboctave/Array2.h, liboctave/ArrayN.h, liboctave/CmplxDET.cc, | |
5923 liboctave/DASPK.cc, liboctave/DASPK.h, liboctave/DASRT.cc, | |
5924 liboctave/DASRT.h, liboctave/DASSL.cc, liboctave/DASSL.h, | |
5925 liboctave/LSODE.cc, liboctave/LSODE.h, liboctave/NLEqn.h, | |
5926 liboctave/Quad.h, liboctave/Range.cc, liboctave/dbleDET.cc, | |
5927 liboctave/lo-cieee.c, liboctave/lo-ieee.cc, | |
5928 liboctave/lo-mappers.cc, liboctave/oct-time.cc, | |
5929 liboctave/oct-time.h, liboctave/randgamma.c, | |
5930 liboctave/randmtzig.c, liboctave/randpoisson.c: Include lo-math.h | |
5931 instead of cmath or math.h. | |
5932 * lo-mappers.h: Don't include sunmath.h here. | |
5933 | |
7198 | 5934 2007-11-26 John W. Eaton <jwe@octave.org> |
5935 | |
5936 * idx-vector.h (idx_vector::idx_vector_rep (const intNDArray<U>&)): | |
5937 Eliminate unnecessary second arg from call to tree_to_mat_idx. | |
5938 | |
5939 * oct-inttypes.h (operator bool, operator char): Delete. | |
5940 (bool_value, char_value, double_value, float_value): New functions. | |
5941 | |
7189 | 5942 2007-11-26 David Bateman <dbateman@free.fr> |
5943 | |
5944 * intNDArray.cc (template <class T> intNDArray<T> | |
5945 intNDArray<T>::max (int) const, template <class T> intNDArray<T> | |
5946 intNDArray<T>::max (ArrayN<octave_idx_type>&, int) const, | |
9967 | 5947 template <class T> intNDArray<T> intNDArray<T>::min (int) const, |
5948 template <class T> intNDArray<T> intNDArray<T>::min | |
7189 | 5949 (ArrayN<octave_idx_type>&, int) const): New methods for integer |
5950 classes. | |
5951 * intNDArray.h (class intNDArray): Add min/max methods | |
5952 * mx-op-defs.h (MIXMAX_DECLS, MINMAX_FCNS, SND_MINMAX_FCN, | |
5953 NDS_MINMAX_FCN, NDND_MINMAX_FCN): New macro for instantiation of | |
5954 min/max functions. | |
9967 | 5955 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, |
7189 | 5956 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h |
5957 (MINMAX_DECLS(T)): Declare the min/max functions for integer | |
5958 types. | |
9967 | 5959 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, |
7189 | 5960 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc |
5961 (MINMAX_FCNS(T)): Instantiate the min/max functions for integer | |
5962 types. | |
5963 | |
5964 * Arrayc.cc (Array<T>::index (idx_vector&, idx_vector&, int, | |
5965 const T& rfv) const): If ndims != 2 call ND version of index. | |
5966 | |
7176 | 5967 2007-11-14 John W. Eaton <jwe@octave.org> |
5968 | |
7178 | 5969 * oct-inttypes.h (opeator T (void) const): New conversion operator. |
5970 | |
7176 | 5971 * lo-specfun.cc (zbesi): When alpha is negative, don't limit |
5972 correction to half-integer values. From Eric Chassande-Mottin | |
5973 <echassandemottin@gmail.com>. | |
5974 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
5975 2007-11-07 Michael Goffioul <michael.goffioul@gmail.com> |
7124 | 5976 |
5977 * dMatrix.cc, CMatrix.cc: Help MSVC compiler to resolve | |
5978 ambiguities related to math functions (in C++ mode). | |
5979 | |
7102 | 5980 2007-11-06 David Bateman <dbateman@free.fr> |
5981 | |
7113 | 5982 * intNDArray.cc (intNDArray<T> intNDArray<T>::sum (int) const): |
5983 New method. | |
5984 * intNDarray.h (intNDArray sum (int) const): Declare it. | |
5985 * boolNDArray.cc (boolNDArray boolNDArray::sum (int) const): | |
5986 New method. | |
5987 * boolNDarray.cc (boolNDArray sum (int) const): Declare it. | |
7102 | 5988 * MArray-def.h (MARRAY_NORM_BODY): Scale frobenius norm by infinity |
5989 norm to avoid issues of over- and underflow. From Rolf Fabian | |
5990 <Rolf.Fabian@gmx.de>. | |
5991 | |
7081 | 5992 2007-10-30 David Bateman <dbateman@free.fr> |
5993 | |
5994 * DASRT-opts.in, LSODE-opts.in: Doc fixes for small book format. | |
5995 | |
7079 | 5996 2007-10-30 John W. Eaton <jwe@octave.org> |
5997 | |
5998 * CMatrix.cc (lssolve): Compute size of rwork and iwork arrays. | |
5999 * dMatrix.cc (lssolve): Compute size of iwork array. | |
6000 | |
7076 | 6001 2007-10-29 David Bateman <dbateman@free.fr> |
6002 | |
9967 | 6003 * CMatrix.h (lssolve (const Matrix&, octave_idx_type&, |
6004 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
6005 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
6006 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
6007 double& rcond) const, lssolve (const ComplexColumnVector&, | |
7076 | 6008 octave_idx_type&, octave_idx_type&, double& rcond) const): New |
6009 declarations. | |
9967 | 6010 * CMatrix.cc (lssolve (const Matrix&, octave_idx_type&, |
6011 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
6012 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
6013 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
6014 double& rcond) const, lssolve (const ComplexColumnVector&, | |
7076 | 6015 octave_idx_type&, octave_idx_type&, double& rcond) const): New |
6016 methods. | |
6017 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
9967 | 6018 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, |
7076 | 6019 octave_idx_type&, double&) const): Also return rcond from the |
6020 singular values returned by XGELSD. | |
9967 | 6021 * dMatrix.h (lssolve (const Matrix&, octave_idx_type&, |
6022 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
6023 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
6024 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
6025 double& rcond) const, lssolve (const ComplexColumnVector&, | |
7076 | 6026 octave_idx_type&, octave_idx_type&, double& rcond) const): New |
6027 declarations. | |
9967 | 6028 * dMatrix.cc (lssolve (const Matrix&, octave_idx_type&, |
6029 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
6030 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
6031 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
6032 double& rcond) const, lssolve (const ComplexColumnVector&, | |
7076 | 6033 octave_idx_type&, octave_idx_type&, double& rcond) const): New |
6034 methods. | |
6035 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
9967 | 6036 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, |
7076 | 6037 octave_idx_type&, double&) const): Also return rcond from the |
6038 singular values returned by XGELSD. | |
9967 | 6039 |
7072 | 6040 2007-10-26 David Bateman <dbateman@free.fr> |
6041 | |
6042 * dMatrix.cc (Matrix::lssolve): Use xGELSD for rank deficient | |
6043 matrices to avoid reliability issues with xGELSY. | |
6044 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. | |
7071 | 6045 |
7065 | 6046 2007-10-25 John W. Eaton <jwe@octave.org> |
6047 | |
6048 * oct-time.cc (octave_gmtime::init, octave_localtime::init): | |
6049 Call unix_time on arg instead of relying on conversion operator. | |
6050 | |
6051 * oct-time.h (octave_time::double_value): New function. | |
6052 (octave_time::operator double () const): Delete. | |
6053 (octave_time::operator time_t () const): Delete. | |
6054 | |
7058 | 6055 2007-10-24 John W. Eaton <jwe@octave.org> |
6056 | |
6057 * strptime.c: Also compile if OCTAVE_HAVE_BROKEN_STRPTIME is defined. | |
6058 | |
7052 | 6059 2007-10-23 John W. Eaton <jwe@octave.org> |
6060 | |
6061 * CRowVector.cc (operator * const ComplexRowVector&, const | |
6062 ComplexColumnVector&)): Delete spurious code left from patch. | |
6063 | |
7048 | 6064 2007-10-22 Kim Hansen <kimhanse@gmail.com> |
6065 | |
6066 * chMatrix.cc, lo-utils.cc, oct-env.cc, oct-uname.cc, | |
6067 sparse-sort.cc: Include <cstring>. | |
6068 | |
7036 | 6069 2007-10-17 John W. Eaton <jwe@octave.org> |
6070 | |
6071 * oct-sparse.h: Don't include metis.h. | |
6072 | |
6073 * dSparse.cc (SparseMatrix::fsolve): Delete special code for METIS. | |
6074 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
6075 * sparse-base-chol.cc (sparse_base_chol<chol_type, chol_elt, | |
6076 p_type>::sparse_base_chol_rep::init): Likewise. | |
6077 | |
7033 | 6078 2007-10-16 John W. Eaton <jwe@octave.org> |
6079 | |
6080 * dMatrix.cc (Matrix::inverse): Only check rcond == 0 if the | |
6081 matrix is hermitian or calc_cond is true. | |
6082 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
6083 | |
7016 | 6084 2007-10-12 John W. Eaton <jwe@octave.org> |
6085 | |
6086 * Change copyright notices in all files that are part of Octave to | |
6087 GPLv3 or any later version. | |
6088 | |
7007 | 6089 2007-10-11 Brian Gough <bjg@network-theory.co.uk> |
6090 | |
6091 * DASSL-opts.in, LSODE-opts.in: Spelling fixes. | |
6092 | |
7001 | 6093 2007-10-10 Olli Saarela <Olli.Saarela@kcl.fi> |
6094 | |
6095 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in: Spelling fixes. | |
6096 | |
7000 | 6097 2007-10-10 John W. Eaton <jwe@octave.org> |
6098 | |
6099 * LPsolve.h, LPsolve.cc: Delete. | |
6100 * Makefile.in: Remove them from the INCLUDES and | |
6101 LIBOCTAVE_CXX_SOURCES lists. | |
6102 | |
6989 | 6103 2007-10-09 John W. Eaton <jwe@octave.org> |
6104 | |
6996 | 6105 * oct-time.cc (octave_strptime::init): Initialize t.tm_mon to -1 |
6106 and t.tm_year to INT_MIN before call to oct_strptime. Adjust | |
6107 values to zero after call if they remain unchanged. | |
6108 | |
6989 | 6109 * dSparse.cc (SparseMatrix::all_elements_are_zero): New function. |
6110 * dNDArray.cc (NDArray::all_elements_are_zero): New function. | |
6111 | |
6988 | 6112 2007-10-09 David Bateman <dbateman@free.fr> |
6113 | |
6995 | 6114 * oct-time.cc (octave_strptime::init): Only call mktime if mday is |
6115 valud and mon and year are also filled in. | |
6116 | |
6990 | 6117 * Array2.h (Array2<T>::Array2(const dim_vector&), |
6118 Array2<T>::Array(const dim_vector&, const T&)): Check that | |
6119 dim_vector is 2 dimensional. | |
6120 | |
6988 | 6121 * Sparse.cc (Sparse<T> Sparse<T>::index (idx_vector&, idx_vector&, |
6122 int)): Remove a for loop in the random indexing case at the | |
9967 | 6123 expense of maintaining a set of linked lists of indices that point |
6988 | 6124 to the same column in the original matrix. |
6125 (int assign (Sparse<LT>&, Sparse<RT>)): Take a const copy of lhs | |
6126 and use it on the RHS of expressions to avoid unnecessary calls to | |
6127 make_unique. | |
6128 | |
6979 | 6129 2007-10-08 David Bateman <dbateman@free.fr> |
6130 | |
6131 * oct-rl-edit. (typedef rl_quoting_fcn_ptr, rl_dequoting_fcn_ptr, | |
6132 rl_char_is_quoted_fcn_ptr, rl_command_fcn_ptr): New typedefs | |
6133 for readline compatible functions. | |
6134 (octave_rl_redisplay): Redisplay the current line of text. | |
6135 (octave_rl_newline): Change interface to the same | |
6136 as used by the equivalent readline function itself. | |
6137 (octave_rl_filename_quoting_desired, | |
6138 octave_rl_set_filename_quote_characters, | |
6139 octave_rl_set_completer_quote_characters, | |
6140 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
6141 octave_rl_set_char_is_quoted_function): New functions to control | |
6142 readline filename quoting and line acceptace. | |
6143 * oct-rl-edit.c (octave_rl_newline): Change interface to the same | |
6144 as used by the equivalent readline function itself. | |
6145 (octave_rl_redisplay): Redisplay the current line of text. | |
6146 (octave_rl_filename_quoting_desired, | |
6147 octave_rl_set_filename_quote_characters, | |
6148 octave_rl_set_completer_quote_characters, | |
6149 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
6150 octave_rl_set_char_is_quoted_function): New functions to control | |
6151 readline filename quoting and line acceptace. | |
6152 * cmd-edit.h (typedef quoting_fcn, typedef dequoting_fcn, | |
6153 typedef char_is_quoted_fcn, user_accept_line_fcn): New typedefs | |
6154 to map C++ function to readline compatible functions. | |
6155 (set_filename_quote_characters): New function to set the | |
6156 characters to if they appear in a filename that force the filename | |
6157 to be quoted. | |
6158 (set_completer_quote_characters): The characters that the readline | |
6159 completion function considers as quotation characters. | |
6160 (set_quoting_function, set_dequoting_function, | |
6161 set_char_is_quoted_function, set_user_accept_line_function): | |
6162 Functions to set the Octave functions to perform quoting and the | |
6163 acceptance of a line of text by readline. | |
6164 (get_quoting_function, get_dequoting_function, | |
6165 get_char_is_quoted_function, get_user_accept_line_function): | |
6166 Functions to get the above functions. | |
6167 (accept_line): New method for the command_editor to accept a line | |
6168 of text. | |
6169 (file_quoting_desired): Function to set whether readline should | |
6170 attempt to quote filenames. | |
9967 | 6171 (do_set_filename_quoting_characters, |
6979 | 6172 do_set_completer_quote_characters, do_set_quoting_function, |
6173 do_set_dequoting_function, do_set_char_is_quoted_function, | |
6174 do_set_user_accept_line_function, do_get_quoting_function, | |
6175 do_get_dequoting_function, do_get_char_is_quoted_function, | |
6176 do_get_user_accept_line_function, do_filename_quoting_desired): | |
6177 Virtual functions to control the behavior of readline quoting and | |
6178 acceptance of lines. | |
6179 (do_accept_line): Virtual function for the accept line function. | |
9967 | 6180 * cmd-edit.cc (class gnu_readline do_set_filename_quote_characters, |
6979 | 6181 do_completer_quote_characters, do_set_quoting_function, |
6182 do_set_dequoting_function, do_set_char_is_quoted_function, | |
6183 do_set_user_accept_line_function, do_get_quoting_function, | |
9967 | 6184 do_get_dequoting_function, do_get_user_accept_line_function, |
6979 | 6185 do_accept_line, do_filename_quoting_desired, command_quoter, |
6186 command_dequoter, command_char_is_quoted, command_accept_line): | |
9967 | 6187 New functions in gnu_readline class to control filename quoting |
6979 | 6188 and line acceptance. |
6189 (quoting_function, dequoting_function, char_is_quoted_function, | |
6190 user_accept_line_function): private variable to store functions | |
6191 supplied for readline quoting and line acceptance. | |
6192 (gnu_readline::gnu_readline): Also set the new function pointers | |
6193 to zero. | |
6194 (gnu_readline::do_newline): Adapt to new octave_rl_newline | |
6195 interface. | |
6196 (gnu_readeline::operate_and_get_next): Use new accept_line | |
6197 function rather than newline. | |
6198 (default_ommand_editor::do_accept_line): New method. | |
9967 | 6199 (class command_editor set_filename_quote_characters, |
6979 | 6200 set_completer_quote_characters, set_quoting_function, |
6201 set_dequoting_function, set_char_is_quoted_function, | |
6202 set_user_accept_line_function, get_quoting_function, | |
9967 | 6203 get_dequoting_function, get_user_accept_line_function, |
6979 | 6204 accept_line, filename_quoting_desired): New functions checking |
6205 instance before calling virtual function. | |
6206 | |
6207 * CMatrix.h, dMatrix.h, boolMatrix.h, chMatrix.h, MArray2.h, | |
6208 Array2.h: Add dim_vector constructors. | |
6209 * charNDArray.h (charNDArray (const dim_vector&)): Add missing | |
9967 | 6210 const to dim_vector constructors. |
6979 | 6211 * boolMatrix.cc, chMatrix.cc, intNDArray.cc (diag (void), diag |
6212 (octave_idx_type)): New methods to constructor diagonal matrices. | |
6213 * boolMatrix.h, chMatrix.h, intNDArray.h (diag (void), diag | |
6214 (octave_idx_type)): Declare them. | |
6215 | |
6969 | 6216 2007-10-06 John W. Eaton <jwe@octave.org> |
6217 | |
6218 * lo-specfun.cc: (zlgamma): Delete. | |
6219 (xgamma): Use C library gamma function if available. | |
6220 (xlgamma): Use C library lgamma function if available. | |
6221 (xlgamma) [! HAVE_LGAMMA]: Allow calculation for any value of X | |
6222 other than NaN or Inf. | |
6223 | |
6961 | 6224 2007-10-05 John W. Eaton <jwe@octave.org> |
6225 | |
6226 * lo-specfun.cc (zlgamma): New function. | |
6227 | |
6959 | 6228 2007-10-04 John W. Eaton <jwe@octave.org> |
6229 | |
6230 * oct-sort.cc (octave_sort<T>::binarysort): Remove register | |
6231 qualifiers on local variables. | |
6232 | |
6958 | 6233 2007-10-04 Marco Caliari <mcaliari@math.unipd.it> |
6234 | |
6235 * CMatrix.cc (ComplexMatrix::expm): Limit shift to values less | |
6236 than log(realmax) to avoid issues with NaN. | |
6237 | |
6940 | 6238 2007-10-01 John W. Eaton <jwe@octave.org> |
6239 | |
6941 | 6240 * oct-time.cc (octave_strptime::init): Call mktime to propertly |
6241 initialize wday and yday. | |
6242 From Matthias Drochner <m.drochner@fz-juelich.de>. | |
6243 | |
6940 | 6244 * cmd-edit.cc (command_editor::do_decode_prompt_string): Don't |
6245 insert extra '\001' when decoding \[ and \]. | |
6246 | |
6926 | 6247 2007-09-26 David Bateman <dbateman@free.fr> |
6248 | |
6249 * dMatrix.cc (lssolve): Replace the use of xGELSS with xGELSY with | |
6250 is much faster and no less accurate. | |
6251 * CMatrix.cc (lssolve): ditto. | |
6252 | |
6924 | 6253 2007-09-25 David Bateman <dbateman@free.fr> |
6254 | |
6255 * dMatrix.cc (utsolve, ltsolve, fsolve, lssolve): Allow | |
6256 zero dimensioned matrices. | |
9967 | 6257 * CMatrix.cc (utsolve, ltsolve, fsolve, lssolve): ditto. |
6924 | 6258 * dSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): |
6259 ditto. | |
6260 * CSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
6261 ditto. | |
6262 * SparseQR.cc (SparseQR::SparseQR_rep::C, qrsolve): ditto. | |
6263 * SparseCmplxQR.cc (SparseComplexQR::SparseComplexQR_rep::C, | |
6264 qrsolve): ditto. | |
6265 * sparse-dmsolve.cc (dmsolve): ditto. | |
6266 | |
6922 | 6267 2007-09-21 John W. Eaton <jwe@octave.org> |
6268 | |
6269 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): | |
6270 Also allow resizing empty LHS if it is 1x0 or 0xN. | |
6271 | |
6916 | 6272 2007-09-19 John W. Eaton <jwe@octave.org> |
6273 | |
6274 * cmd-edit.cc (command_editor::remove_startup_hook): | |
6275 Fix cut-and-paste error. | |
6917 | 6276 (gnu_readline::set_startup_hook): Only set hook function if new |
6277 function is different from the current one. | |
6916 | 6278 |
6913 | 6279 2007-09-18 John W. Eaton <jwe@octave.org> |
6280 | |
6281 * cmd-edit.h, cmd-edit.cc (command_editor::startup_hook_set, | |
6282 command_editor::event_hook_set): New static data. | |
6283 (default_command_editor::set_startup_hook, | |
6284 gnu_readline::set_startup_hook, | |
6285 default_command_editor::restore_startup_hook, | |
6286 gnu_readline_restore_event_hook): | |
6287 Rename from do_set_startup_hook and do_set_event_hook. | |
6288 (gnu_readline::operate_and_get_next): Call | |
6289 command_editor::add_startup_hook, not | |
6290 command_editor::set_startup_hook. | |
6291 (command_editor::startup_handler, command_editor::event_handler): | |
6292 New functions. | |
6293 (command_editor::add_startup_hook, command_editor::add_event_hook, | |
6294 command_editor::remove_startup_hook, | |
6295 command_editor::remove_event_hook): Rename from set_startup_hook | |
6296 and restore_startup_hook. Handle hook sets here. | |
6297 * cmd-edit.cc (gnu_history::do_goto_mark): | |
6298 Call remove_startup_hook instead of restore_startup_hook. | |
6299 | |
6907 | 6300 2007-09-17 John W. Eaton <jwe@octave.org> |
6301 | |
6302 * lo-utils.cc (octave_read_complex, octave_read_double): Skip | |
6303 leading whitespace. | |
6304 | |
6897 | 6305 2007-09-13 John W. Eaton <jwe@octave.org> |
6306 | |
6307 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
6308 octave_read_complex): Use istream::get instead of >> to read | |
6309 individual characters. | |
6310 | |
6884 | 6311 2007-09-10 John W. Eaton <jwe@octave.org> |
6312 | |
6313 * Array.cc (assign1): Don't call make_unique for invalid assignment. | |
6314 | |
6315 2007-09-10 David Bateman <dbateman@free.fr> | |
6316 | |
6317 * Array.h (Array<T>::make_unique): Make public so that the | |
6318 ::assign functions can access it directly. | |
6319 * Array.cc (Array<T>::maybe_delete_elements_1(idx_vector&), | |
6320 Array<T>::maybe_delete_elements_1(idx_vector&), | |
6321 Array<T>::maybe_delete_elements(idx_vector&, idx_vector&), | |
6322 Array<T>::maybe_delete_elements(Array<idx_vector>&, const T&)): | |
6323 Use xelem for non const RHS to avoid call to make_unique. | |
6324 (int assign1 (Array<LT>&, const Array<RT>&, const LT&)): Use | |
6325 xelem for LHS and call lhs.make_unique() only once. Special case | |
6326 the is_colon index case and use Array<T>::xelem(octave_idx_type) | |
6327 rather than Array<T>::xelem(octave_idx_type,octave_idx_type) and | |
6328 bring the additional multiplication out of the inner loop. | |
6329 (int assign2 (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
6330 (int assignN (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
9967 | 6331 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep |
6884 | 6332 (const Range& r)): Don't use init_state() method but special case |
6333 as with a Range can avoid exhaustive search. | |
6334 | |
6881 | 6335 2007-09-07 John W. Eaton <jwe@octave.org> |
6336 | |
6337 * Array.cc (Array<T>::fortran_vec): Call make_unique instead of | |
6338 manipulating rep directly. | |
6339 | |
6340 * Array.h (idx, idx_count): Declare mutable. | |
6341 (Array<T>::set_index, Array<T>::clear_index, Array<T>::value): | |
6342 Now const. | |
6343 | |
6867 | 6344 2007-09-06 David Bateman <dbateman@free.fr> |
6345 | |
9967 | 6346 * Array-util.cc (increment_index): dimensions can have singleton |
6347 trailing dimensions. | |
6348 * Array.h (range_error, xelem, checkelem, elem, operator ()): | |
6349 Modify use of Array<int> to Array<octave_idx_type> and adjust | |
6350 where necessary. | |
6351 * Array.cc (range_error): ditto. | |
6352 * MArrayN.h (permute, ipermute): ditto. | |
6353 * ArrayN.h (permute, ipermute): ditto. | |
6354 * so-array.cc (streamoff_array::compute_index): ditto. | |
6355 * so-array.h (compute_index): ditto. | |
6356 * CMattrix.cc (ComplexMatrix::exmpm): ditto. | |
6867 | 6357 |
6840 | 6358 2007-08-29 David Bateman <dbateman@free.fr> |
6359 | |
9967 | 6360 * dSparse.cc (SparseMatrix SparseMatrix::inverse (MatrixType &, |
6361 octave_idx_type&, double&, int, int)): Calculate with LU even for | |
6362 matrices marked as singular. | |
6363 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::inverse ( | |
6364 MatrixType &, octave_idx_type&, double&, int, int)): ditto. | |
6365 * dMatrix.cc (Matrix Matrix::inverse (MatrixType &, octave_idx_type&, | |
6366 double&, int, int)): ditto. If rcond==0 force matrix of infinities. | |
6367 * dMatrix.cc (ComplexMatrix ComplexMatrix::inverse (MatrixType &, | |
6368 octave_idx_type&, double&, int, int)): ditto. | |
6840 | 6369 |
6838 | 6370 2007-08-27 John W. Eaton <jwe@octave.org> |
6371 | |
6372 * oct-env.cc (octave_env::rooted_relative_pathname, | |
6373 octave_env::do_rooted_relative_pathname): New functions. | |
6374 * oct-env.h: Provide decls. | |
6375 | |
6823 | 6376 2007-08-24 David Bateman <dbateman@free.fr> |
6377 | |
9967 | 6378 * MSparse.h (MSparse<T>& insert (const Sparse<T>&, |
6379 const Array<octave_idx_type>&)): New method. | |
6380 (MSparse (const dim_vector&, octave_idx_type)): Ditto. | |
6381 * dSparse.h (SparseMatrix& SparseMatrix::insert (const | |
6382 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
6383 (SparseMatrix (const dim_vector&, octave_idx_type)): ditto. | |
6384 * dSparse.cc (SparseMatrix& SparseMatrix::insert (const | |
6385 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
6386 * boolSparse.h (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
6387 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
6388 * boolSparse.cc (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
6389 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
6390 * CSparse.h (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
6391 SparseMatrix&, const Array<octave_idx_type>&), | |
6392 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
6393 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
6394 (SparseComplexMatrix (const dim_vector&, octave_idx_type)): ditto. | |
6395 * CSparse.cc (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
6396 SparseMatrix&, const Array<octave_idx_type>&), | |
6397 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
6398 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
6823 | 6399 |
6817 | 6400 2007-08-19 David Bateman <dbateman@free.fr> |
6401 | |
6402 * Sparse.cc (Sparse<T>::permute): Avoid shadowing warning. | |
6403 | |
6813 | 6404 2007-08-14 John W. Eaton <jwe@octave.org> |
6405 | |
6406 * Sparse.cc (Sparse<T>::permute): permutation vector is zero based. | |
6407 Simplify. | |
6814 | 6408 (Sparse<T>::reshape): Warn about reshaping to N-d array. |
6813 | 6409 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
6410 2007-08-10 Michael Goffioul <michael.goffioul@gmail.com> |
6810 | 6411 |
6412 * file-stat.cc (file_stat::update_internal) [__WIN32__]: | |
6413 Remove trailing dir separator when stat'ing directory except for | |
6414 root directory. | |
6415 | |
6796 | 6416 2007-07-25 David Bateman <dbateman@free.fr> |
9967 | 6417 |
6418 * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" | |
6796 | 6419 to work. |
6420 | |
6764 | 6421 2007-06-04 David Bateman <dbateman@free.fr> |
6422 | |
6423 * oct-inttypes.h (octave_int<T>& operator <<= (const T2&), | |
6424 octave_int<T>& operator >>= (const T2&)): Make shift operators | |
6425 perform a twos complement arithmetic shift for both signed and | |
6426 unsigned integers regardless of compiler implementations. | |
6427 | |
6708 | 6428 2007-06-13 Michael Goffioul <michael.goffioul@swing.be> |
6429 | |
6719 | 6430 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): For CXSparse 2.2 and greater |
6431 use cs_complex_t(0,0) for the complex zero. | |
6432 | |
6708 | 6433 * MArray-ch.cc, MArray-d.cc, MArray-i.cc, MArray-s.cc: |
6434 Sprinkle class instantiations with OCTAVE_API as needed. | |
6435 | |
6436 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY, | |
6437 INSTANTIATE_ARRAY_AND_ASSIGN): New arg, API. Change all uses. | |
6438 * MArray-defs.h (MARRAY_OP_ASSIGN_DECL, MARRAY_OP_ASSIGN_DECLS, | |
6439 MARRAY_OP_ASSIGN_FWD_DECLS, MARRAY_OP_ASSIGN_FRIENDS, | |
6440 MARRAY_OP_ASSIGN_DEFS, MARRAY_UNOP, MARRAY_UNOP_DECLS, | |
6441 MARRAY_UNOP_FWD_DECLS, MARRAY_UNOP_FRIENDS, MARRAY_UNOP_DEFS, | |
6442 MARRAY_BINOP_DECL, MARRAY_BINOP_DECLS, MARRAY_AA_BINOP_DECLS, | |
6443 MDIAGARRAY2_DAS_BINOP_DECLS, MDIAGARRAY2_SDA_BINOP_DECLS, | |
6444 MDIAGARRAY2_DADA_BINOP_DECLS, MARRAY_BINOP_FWD_DECLS, | |
6445 MDIAGARRAY2_BINOP_FWD_DECLS, MARRAY_BINOP_FRIENDS, | |
6446 MDIAGARRAY2_BINOP_FRIENDS, MARRAY_BINOP_DEFS, | |
6447 MDIAGARRAY2_BINOP_DEFS, MARRAY_OPS_FORWARD_DECLS, | |
6448 MDIAGARRAY2_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS, | |
6449 MDIAGARRAY2_OPS_FRIEND_DECLS, INSTANTIATE_MARRAY_FRIENDS, | |
6450 INSTANTIATE_MARRAY2_FRIENDS, INSTANTIATE_MARRAYN_FRIENDS, | |
6451 INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. | |
6452 * MSparse-defs.h (SPARSE_OP_ASSIGN_DECL, SPARSE_OP_ASSIGN_DECLS, | |
6453 SPARSE_OP_ASSIGN_FWD_DECLS, SPARSE_OP_ASSIGN_FRIENDS, | |
6454 SPARSE_OP_ASSIGN_DEFS, SPARSE_UNOP, SPARSE_UNOP_DECLS, | |
6455 SPARSE_UNOP_FWD_DECLS, SPARSE_UNOP_FRIENDS, SPARSE_UNOP_DEFS, | |
6456 SPARSE_BINOP_DECL, SPARSE_BINOP_DECLS, SPARSE_AA_BINOP_DECLS, | |
6457 SPARSE_BINOP_FWD_DECLS, SPARSE_BINOP_FRIENDS, SPARSE_BINOP_DEFS, | |
6458 SPARSE_OPS_FORWARD_DECLS, SPARSE_OPS_FRIEND_DECLS, | |
6459 INSTANTIATE_SPARSE_FRIENDS): Ditto. | |
6460 * Sparse-op-defs.h (SPARSE_BIN_OP_DECL, SPARSE_CMP_OP_DECL, | |
6461 SPARSE_BOOL_OP_DECL, SPARSE_SMS_BIN_OP_DECLS, | |
6462 SPARSE_SMS_CMP_OP_DECLS, SPARSE_SMS_EQNE_OP_DECLS, | |
6463 SPARSE_SMS_BOOL_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
6464 SPARSE_SMS_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
6465 SPARSE_SSM_CMP_OP_DECLS, SPARSE_SSM_EQNE_OP_DECLS, | |
6466 SPARSE_SSM_BOOL_OP_DECLS, SPARSE_SSM_OP_DECLS, | |
6467 SPARSE_SMSM_BIN_OP_DECLS, SPARSE_SMSM_CMP_OP_DECLS, | |
6468 SPARSE_SMSM_EQNE_OP_DECLS, SPARSE_SMSM_BOOL_OP_DECLS, | |
6469 SPARSE_SMSM_OP_DECLS, SPARSE_MSM_BIN_OP_DECLS, | |
6470 SPARSE_MSM_CMP_OP_DECLS, SPARSE_MSM_EQNE_OP_DECLS, | |
6471 SPARSE_MSM_BOOL_OP_DECLS, SPARSE_MSM_OP_DECLS, | |
6472 SPARSE_SMM_BIN_OP_DECLS, SPARSE_SMM_CMP_OP_DECLS, | |
6473 SPARSE_SMM_EQNE_OP_DECLS, SPARSE_SMM_BOOL_OP_DECLS, | |
6474 SPARSE_SMM_OP_DECLS): Ditto. | |
6475 * Sparse.h (INSTANTIATE_SPARSE_ASSIGN, INSTANTIATE_SPARSE, | |
6476 INSTANTIATE_SPARSE_AND_ASSIGN): Ditto. | |
6477 * mx-op-defs.h (BIN_OP_DECL, CMP_OP_DECL, NDCMP_OP_DECL, | |
6478 BOOL_OP_DECL, NDBOOL_OP_DECL, VS_BIN_OP_DECLS, VS_OP_DECLS, | |
6479 SV_BIN_OP_DECLS, SV_OP_DECLS, VV_BIN_OP_DECLS, VV_OP_DECLS, | |
6480 MS_BIN_OP_DECLS, MS_CMP_OP_DECLS, MS_BOOL_OP_DECLS, MS_OP_DECLS, | |
6481 SM_BIN_OP_DECLS, SM_CMP_OP_DECLS, SM_BOOL_OP_DECLS, SM_OP_DECLS, | |
6482 MM_BIN_OP_DECLS, MM_CMP_OP_DECLS, MM_BOOL_OP_DECLS, MM_OP_DECLS, | |
6483 NDS_BIN_OP_DECLS, NDS_CMP_OP_DECLS, NDS_BOOL_OP_DECLS, | |
6484 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_CMP_OP_DECLS, | |
6485 SND_BOOL_OP_DECLS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
6486 NDND_CMP_OP_DECLS, NDND_BOOL_OP_DECLS, NDND_OP_DECLS, | |
6487 SDM_BIN_OP_DECLS, SDM_OP_DECLS, DMS_BIN_OP_DECLS, DMS_OP_DECLS, | |
6488 MDM_BIN_OP_DECLS, MDM_OP_DECLS, DMM_BIN_OP_DECLS, DMM_OP_DECLS, | |
6489 DMDM_BIN_OP_DECLS, DMDM_OP_DECLS): Ditto. | |
6490 | |
6699 | 6491 2007-06-12 John W. Eaton <jwe@octave.org> |
6492 | |
6493 * dMatrix.cc (Matrix::expm): Special case for scalar arg. | |
6494 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6697 | 6495 |
6693 | 6496 2007-06-06 Michael Goffioul <michael.goffioul@swing.be> |
6497 | |
6709 | 6498 * file-ops.cc (tilde_find_suffix, isolate_tilde_prefix, |
6499 tilde_expand_word): Use file_ops::is_dir_sep instead of comparing | |
6500 with file_ops::dir_sep_char. | |
6694 | 6501 |
6693 | 6502 * MArray-C.cc: Sprinkle with OCTINTERP_API as needed. |
6503 | |
6689 | 6504 2007-06-04 David Bateman <dbateman@free.fr> |
6505 | |
6699 | 6506 * file-ops.cc: Typo. |
6507 | |
6689 | 6508 * Sparse.cc (Sparse<T> Sparse<T>::reshape): If length of new |
6509 dimensions is greater than 2, collapse to 2-D. | |
6510 | |
6685 | 6511 2007-06-02 David Bateman <dbateman@free.fr> |
6512 | |
6513 * SparseCmplxQR.cc: Changes to support CXSparse 2.2.0. | |
6514 | |
6680 | 6515 2007-05-31 John W. Eaton <jwe@octave.org> |
6516 | |
6517 * Array.cc (Array::get_size): Throw std::bad_alloc exception if | |
6518 the computed size is too large for the size of Octave's index type. | |
6519 | |
6662 | 6520 2007-05-23 John W. Eaton <jwe@octave.org> |
6521 | |
6522 * oct-sparse.h: Don't surround included files with extern "C" { ... }. | |
6523 | |
6629 | 6524 2007-05-16 David Bateman <dbateman@free.fr> |
6525 | |
6526 * dRowVector.cc (linspace): Return second argument if fewer than | |
6527 two values are requested. | |
6528 * CRowVector.cc (linspace): Likewise. | |
6529 | |
6596 | 6530 2007-04-27 John W. Eaton <jwe@octave.org> |
6531 | |
6532 * lo-mappers.cc (signum (const Complex&)): Special case for (0, 0). | |
6533 | |
6583 | 6534 2007-04-25 John W. Eaton <jwe@octave.org> |
6535 | |
6536 * oct-fftw.h (octave_fftw): Tag with OCTAVE_API. | |
6537 | |
6553 | 6538 2007-04-20 John W. Eaton <jwe@octave.org> |
6539 | |
6540 * Array.cc (assign1): For x(:) = RHS, require rhs_len == lhs_len, | |
6541 not rhs_len == 1. | |
6542 | |
6536 | 6543 2007-04-18 Michael Goffioul <michael.goffioul@swing.be> |
6544 | |
6545 * oct-md5.h (oct_md5, oct_md5_file): Tag decls with OCTAVE_API. | |
6546 | |
6525 | 6547 2007-04-13 John W. Eaton <jwe@octave.org> |
6548 | |
6549 * Array.cc (Array<T>::maybe_delete_elements_2): Don't return early | |
6550 for empty matrix. Only check for colon index equivalence if not empty. | |
6551 | |
6513 | 6552 2007-04-10 John W. Eaton <jwe@octave.org> |
6553 | |
6554 * SparseCmplxQR.cc | |
6555 (SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep): | |
6556 Move GCC_ATTR_UNUSED before the parameter decl. | |
6557 From Luis Ortiz <lortiz@interactivesupercomputing.com>. | |
6558 | |
6508 | 6559 2007-04-06 John W. Eaton <jwe@octave.org> |
6560 | |
6561 * MArray-defs.h (MARRAY_NORM_BODY): New macro. | |
6562 * MArray.h (MArray<T>::norm): New function. | |
6563 * MArray.cc: Provide decl. | |
6564 * MArray-d.cc (MArray<double>::norm): Define double specialization. | |
6565 * MArray-C.cc (MArray<Complex>::norm): Define Complex specialization. | |
6566 | |
6490 | 6567 2007-04-04 John W. Eaton <jwe@octave.org> |
6568 | |
6569 * Range.cc (Range::nelem_internal): Likewise. | |
6570 * lo-utils.cc (NINT): Use numeric_limits<int> instead of INT_MAX. | |
6571 (NINTbig): Use numeric_limits<octave_idx_type> instead of INT_MAX. | |
6572 From Scott Pakin <pakin@lanl.gov>. | |
6573 | |
6486 | 6574 2007-04-04 David Bateman <dbateman@free.fr> |
6575 | |
6576 * dMatrix.cc (Matrix::inverse): If calc_cond is true, calculate | |
6577 the condition number for positive definite matrices. | |
6578 * CMatrix.cc (ComplexMatrix::inverse): Ditto. | |
6579 * dbleChol.h (CHOL(const Matrix&, bool)): New arg, calc_cond. | |
6580 (CHOL(const Matrix&, octave_idx_type&, bool): Ditto. | |
6581 (octave_idx_type init (const Matrix&, bool)): Ditto. | |
6582 (CHOL(const CHOL&)): Copy xrcond. | |
6583 (CHOL& operator = (const CHOL&)): Copy xrcond. | |
6584 (xrcond): New private data member. | |
6585 * CmplxCHOL.h (ComplexCHOL(const ComplexMatrix&, bool)): New arg, | |
6586 calc_cond. | |
6587 (ComplexCHOL(const ComplexMatrix&, octave_idx_type&, bool): Ditto | |
6588 (octave_idx_type init (const ComplexMatrix&, bool)): Ditto. | |
6589 (ComplexCHOL(const ComplexCHOL&)): Copy xrcond. | |
6590 (ComplexCHOL& operator = (const ComplexCHOL&)): Copy xrcond. | |
6591 (xrcond): New private data member. | |
6592 * dbleCHOL.cc (CHOL::init(const Matrix&, bool)): If calc_cond is | |
6593 true, calculate the condition number with dpocon. | |
6594 * CmplxCHOL.cc (ComplexCHOL::init(const ComplexMatrix&, bool)): If | |
6595 calc_cond is true, calculate the condition number with zpocon. | |
6596 | |
6481 | 6597 2007-04-03 John W. Eaton <jwe@octave.org> |
6598 | |
6482 | 6599 * intNDArray.cc (intNDArray): Delete spurious semicolon. |
6600 | |
6601 * CMatrix.cc (ComplexMatrix::tinverse): Use Array<T> and | |
6602 fortran_vec method instead of OCTAVE_LOCAL_BUFFER to avoid | |
6603 "maybe clobbered by vfork" warning. | |
6604 | |
6483 | 6605 * Sparse-op-defs.h (SPARSE_CUMSUM): Add braces to avoid ambiguous |
6482 | 6606 if/else. |
6607 | |
6608 * oct-spparms.h (octave_sparse_params): Define copy constructor | |
6609 and destructor. | |
6610 | |
6481 | 6611 * Array.cc (assignN): Don't resize dimension if corresponding |
6612 index is empty. | |
6613 | |
6479 | 6614 2007-04-02 John W. Eaton <jwe@octave.org> |
6615 | |
6616 * dMatrix.h (Matrix::inverse): Reinstate versions without | |
6617 MatrixType argument. | |
6618 * CMatrix.h (ComplexMatrix::inverse): Likewise. | |
6619 | |
6467 | 6620 2007-03-27 John W. Eaton <jwe@octave.org> |
6621 | |
6622 * Makefile.in (DISTDIRS): Delete variable. | |
6623 (dist): Delete action for DISTDIRS. Use ln instead of $(LN_S). | |
6624 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
6625 2007-03-26 David Bateman <dbateman@free.fr> |
6460 | 6626 |
6627 * MatrixType.cc: Replace all uses of the method | |
9967 | 6628 octave_sparse_params::get_key ("bandden") with |
6460 | 6629 octave_sparse_params::get_bandden (void). |
6630 (MatrixType::MatrixType (void)): Undo previous change but use | |
6631 octave_sparse_params::get_bandden (void). | |
6632 * oct-spparms.cc (get_bandden(void), do_get_bandden(void)): New | |
6633 methods. | |
6634 * oct-spparms.h (get_bandden(void), do_get_bandden(void)): | |
9967 | 6635 Declare them. |
6636 | |
6458 | 6637 2007-03-26 Luis Ortiz <lortiz@interactivesupercomputing.com> |
6638 David Bateman <dbateman@free.fr> | |
6639 | |
6640 * idx-vector.h.cc (IDX_VEC_REP::idx_vector_rep (const Range&)): | |
6641 Check that all elements are ints before doing anything. Simplify | |
6642 calculation of index values. | |
6643 | |
6457 | 6644 2007-03-26 David Bateman <dbateman@free.fr> |
6645 | |
6646 * Range.cc (Range::all_elements_are_ints): Improve check. | |
6647 | |
6456 | 6648 2007-03-26 John W. Eaton <jwe@octave.org> |
6649 | |
6650 * chNDArray.cc, chMatrix.cc: Also generate comparison and bool ops. | |
6651 * chNDArray.h, chMatrix.h: Provide decls. | |
6652 | |
6653 2007-03-24 Luis Ortiz <lortiz@interactivesupercomputing.com> | |
6654 | |
6655 * MatrixType.cc (MatrixType::MatrixType (void)): Initialize | |
6656 sp_bandden to zero for performance reasons as it's not used. | |
6452 | 6657 |
6435 | 6658 2007-03-23 David Bateman <dbateman@free.fr> |
6659 | |
6660 * oct-rand.cc (octave_rand::seed): Seed differently for big and | |
6661 little endian. | |
6662 | |
6414 | 6663 2007-03-15 John W. Eaton <jwe@octave.org> |
6664 | |
6665 * lo-mappers.cc (acos): Use formula similar to what we use for asin. | |
6666 From Alexander Barth <abarth@marine.usf.edu>. | |
6667 | |
6402 | 6668 2007-03-12 John W. Eaton <jwe@octave.org> |
6669 | |
6670 * oct-inttypes.h (octave_int::octave_int (double)): | |
6671 New Specialization. Round arg. | |
6672 (operator / (const octave_int<T1>&, const octave_int<T2>&)): | |
6673 Round result before converting type. | |
6674 | |
6388 | 6675 2007-03-07 John W. Eaton <jwe@octave.org> |
6676 | |
6392 | 6677 * Array.cc (assign1): Avoid resizing if there is an error. |
6678 | |
6390 | 6679 * dMatrix.cc, CMatrix.cc (operator *): Only check |
6680 f77_exception_encountered immediately after calls that use F77_XFCN. | |
6681 | |
6389 | 6682 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
6683 Only allow resizing empty LHS if it is 0x0. | |
6684 | |
6388 | 6685 * Array.cc (Array<T>::maybe_delete_elements (Array<idx_vector>&, |
6686 const T&)): Handle case of more indices than dimensions. | |
6687 (assign (Array<LT>&, const Array<RT>&, const LT&)): Allow more | |
6688 cases to be handled by assignN. | |
6689 (assignN (Array<LT>&, const Array<RT>&, const LT&)): | |
6690 Special cases for 2-d array assignments for speed. | |
6691 Improve handling of scalar RHS and empty indices. | |
6384 | 6692 |
6383 | 6693 2007-03-05 David Bateman <dbateman@free.fr> |
6694 | |
6695 * oct-md5.c (oct_md5_file (const std::string&)): New function. | |
6696 * oct-md5.h (oct_md5_file (const std::string&)): Declare it. | |
6697 | |
6379 | 6698 2007-03-02 John W. Eaton <jwe@octave.org> |
6699 | |
6700 * str-vec.h (string_vector::empty): Return bool, not int. | |
6701 | |
6375 | 6702 2007-03-01 David Bateman <dbateman@free.fr> |
6703 | |
9967 | 6704 * md5.h, md5.c: New files from libmd5-rfc sourceforge project for |
6705 an independent implementation of RFC1321. | |
6706 * oct-md5.h, oct-md5: New files for treating std::string class | |
6707 with MD5. | |
6708 * Makefile.in (INCLUDES): Add md5.h and oct-md5.h | |
6709 (LIBOCTAVE_CXX_SOURCES): Add oct-md5.cc | |
6710 (LIBOCTAVE_C_SOURCES): Add md5.c | |
6375 | 6711 |
6366 | 6712 2007-02-27 John W. Eaton <jwe@octave.org> |
6713 | |
6714 * Makefile.in (uninstall): Delete files listed in | |
6715 $(INCLUDES_FOR_INSTALL), instead of $(INCLUDES). | |
6716 From Thomas Treichl <Thomas.Treichl@gmx.net>. | |
6717 | |
6536 | 6718 2007-02-27 Michael Goffioul <michael.goffioul@swing.be> |
6363 | 6719 |
6720 * file-ops.cc (file_ops::recursive_rmdir): | |
6721 Close dir_entry object before calling rmdir. | |
6722 | |
6536 | 6723 2007-02-26 Michael Goffioul <michael.goffioul@swing.be> |
6358 | 6724 |
6725 * Makefile.in: Use $(LN_S) instead of ln or ln -s. | |
6726 | |
6359 | 6727 * sparse-util.h (SparseCholPrint, SparseCholError): |
6728 Tag with OCTAVE_API. | |
6729 | |
6326 | 6730 2007-02-18 David Bateman <dbateman@free.fr> |
6731 | |
6732 * oct-rand.cc (do_old_initialization()): call setcgn(1) prior to | |
6733 calling setall and reset to the current generator after. | |
6734 | |
6323 | 6735 2007-02-16 John W. Eaton <jwe@octave.org> |
6736 | |
6737 * oct-shlib.h (octave_shlib::relative): New data member. | |
6738 (octave_shlib::mark_relative, octave_shlib::is_relative): | |
6739 New functions. | |
6740 | |
6321 | 6741 2007-02-16 Michael Goffioul <michael.goffioul@swing.be> |
6742 | |
6743 * lo-sysdep.cc (octave_popen2): New function to simulate popen2 on | |
6744 windows platform. | |
6745 * lo-sysdep.h (octave_popen2): Declare it. | |
6746 * oct-syscalls.cc (octave_syscalls::popen2): New function. | |
6747 * oct-syscalls.h (octave_syscalls::popen2): Declare it. | |
6748 | |
6306 | 6749 2007-02-14 John W. Eaton <jwe@octave.org> |
6750 | |
6751 * kpse.cc (expand_elt): Omit special treatment for //. | |
6752 | |
6273 | 6753 2007-02-06 John W. Eaton <jwe@octave.org> |
6754 | |
6755 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_REALPATH]: | |
6756 Don't delete value returned from realpath. | |
6757 | |
6271 | 6758 2007-02-05 Thomas Treichl <Thomas.Treichl@gmx.net> |
6759 | |
6760 * file-ops.cc (file_ops::canonicalize_file_name): | |
6761 Provide implementation if realpath function is available. | |
6762 | |
6256 | 6763 2007-01-29 Michael Goffioul <michael.goffioul@swing.be> |
6764 | |
6765 * oct-fftw.h: Sprinkle with OCTAVE_API as needed. | |
6766 | |
6244 | 6767 2007-01-17 Michael Goffioul <michael.goffioul@swing.be> |
6768 | |
6769 * lo-sysdep.cc (octave_chdir): Handle directory names like "C:" on | |
6770 Windows systems. | |
6771 | |
6242 | 6772 2007-01-16 John W. Eaton <jwe@octave.org> |
6773 | |
6774 * dSparse.cc: Fix dgbtrf decl for --enable-64. | |
6775 (SparseMatrix::bsolve): Fix call to dgbtrf for --enable-64 | |
6776 | |
6777 * oct-fftw.h (fftw_planner): Provide decl. | |
6778 | |
6241 | 6779 2007-01-11 Michael Goffioul <michael.goffioul@swing.be> |
6780 | |
6781 * Makefile.in (LINK_DEPS): Include $(CAMD_LIBS) in the list. | |
6782 | |
6236 | 6783 2007-01-10 John W. Eaton <jwe@octave.org> |
6784 | |
6785 * oct-sparse.h: Use HAVE_CHOLMOD_CHOLMOD_H, not | |
6786 HAVE_UMFPACK_CHOLMOD_H for case of "cholmod/cholmod.h". | |
6787 | |
6231 | 6788 2007-01-08 David Bateman <dbateman@free.fr> |
6789 | |
6790 * oct-sparse.h: Replace sparsesuite with suitesparse and | |
6791 SPARSESUITE with SUITESPARSE to match upstream name. | |
6792 | |
6228 | 6793 2007-01-05 David Bateman <dbateman@free.fr> |
6794 | |
9967 | 6795 * oct-fftw.cc: (octave_fftw_planner::method (void), |
6228 | 6796 octave_fftw_planner (FftwMethod)): New methods to interrogate and |
6797 set the FFTW wisdom method used. | |
9967 | 6798 (octave_fftw_planner::create_plan) Modify to allow different |
6228 | 6799 methods to be used. |
6800 (octave_fftw_planner): Move class definition from here. | |
6801 * oct-fftw.h (octave_fftw_planner): To here. Add method methods | |
6802 and FftwMethod enum. | |
6803 | |
6221 | 6804 2007-01-03 David Bateman <dbateman@free.fr> |
6805 | |
6806 * MSparse.cc (SPARSE_A2A2_OP, SPARSE_A2A2_FCN_1, | |
6807 SPARSE_A2A2_FCN_1): Modify macros so that scalars stored as | |
6808 sparse matrices are special cased. | |
6809 | |
6810 * Sparse-op-defs.h: Include mx-ops.h to have access to mixed | |
6811 matrix, sparse matrix operations. | |
6812 (SPARSE_SMSM_BIN_OP_1, SPARSE_SMSM_BIN_OP_2, SPARSE_SMSM_BIN_OP_3, | |
6813 SPARSE_SMSM_CMP_OP, SPARSE_SMSM_BOOL_OP, SPARSE_MSM_BIN_OP_1, | |
6814 SPARSE_MSM_BIN_OP_2, SPARSE_MSM_CMP_OP, SPARSE_MSM_BOOL_OP, | |
9967 | 6815 SPARSE_SMM_BIN_OP_1, SPARSE_SMM_BIN_OP_2, SPARSE_SMM_CMP_OP, |
6816 SPARSE_SMM_BOOL_OP, SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, | |
6221 | 6817 FULL_SPARSE_MUL): Modify macros so that scalars stored as |
6818 sparse matrices are special cased. | |
6819 | |
6217 | 6820 2006-12-22 David Bateman <dbateman@free.fr> |
6821 | |
6822 * boolSparse.cc (SparseBoolMatrix::operator !): Fix off-by-one error. | |
6823 | |
6216 | 6824 2006-12-22 John W. Eaton <jwe@octave.org> |
6825 | |
6826 * dim-vector.h (dim_vector::dim_vector): Always start with at | |
6827 least 2 dimensions. | |
6828 (dim_vector::resize): Don't allow resizing to fewer than 2 dimensions. | |
6829 | |
6208 | 6830 2006-12-06 Michael Goffioul <michael.goffioul@swing.be> |
6831 | |
6832 * lo-sysdep.cc (opendir): Avoid passing \\* to FindFirstFile. | |
6833 | |
6834 * file-ops.cc (ops::canonicalize_file_name): Provide partial | |
6217 | 6835 implementation for Windows. |
6208 | 6836 |
6207 | 6837 2006-12-06 David Bateman <dbateman@free.fr> |
6838 | |
6208 | 6839 * dSparse.cc (SparseMatrix::is_symmetric): Faster implementation. |
6840 * CSparse.cc (SparseComplexMatrix::is_symmetric): Ditto. | |
6207 | 6841 |
6842 * dMatrrix.cc (finverse): Old inverse method renamed inverse. | |
9967 | 6843 (tinverse): New method for triangular matrices. |
6844 (inverse): New function with matrix type probing. | |
6845 * dMatrix.h (finverse, tinverse, inverse): New and modified | |
6846 declarations. | |
6847 * CMatrix.cc: Ditto. | |
6848 * CMatrix.h: Ditto. | |
6207 | 6849 |
6205 | 6850 2006-12-06 John W. Eaton <jwe@octave.org> |
6851 | |
6852 * strptime.c (day_of_the_week): Use code from current glibc sources. | |
6853 | |
6202 | 6854 2006-12-05 John W. Eaton <jwe@octave.org> |
6855 | |
6856 * lo-utils.cc (octave_read_double): If we see '+' or '-' but not | |
6857 followed by 'I' or 'i', try reading number after putting | |
6858 characters back on input stream. | |
6859 | |
6198 | 6860 2006-12-05 Paul Kienzle <pkienzle@users.sf.net> |
6861 | |
6862 * randpoisson.c (oct_fill_randp): For lambda > 1e8, upper limit of | |
6863 loop is n, not L. | |
6864 | |
6194 | 6865 2006-11-30 John W. Eaton <jwe@octave.org> |
6866 | |
6867 * lo-utils.cc (octave_read_double, read_inf_nan_na): | |
6868 Also recognize [+-][Ii]nf. | |
6869 | |
6187 | 6870 2006-11-28 David Bateman <dbateman@free.fr> |
6186 | 6871 |
6872 * oct-sparse.h: Allow sparse headers to also be in a sparsesuite | |
6873 sub-directory. | |
6874 | |
9967 | 6875 * dSparse.cc (SparseMatrix::inverse): Transpose the matrix type as |
6204 | 6876 well when calling tinverse for lower triangular matrices. |
9967 | 6877 * CSparse.cc (SparseComplexMatrix::inverse): |
6878 Ditto. | |
6879 | |
6183 | 6880 2006-11-21 John W. Eaton <jwe@octave.org> |
6881 | |
6882 * oct-env.cc (do_absolute_pathname): Undo previous change. | |
6883 | |
6182 | 6884 2006-11-20 John W. Eaton <jwe@octave.org> |
6885 | |
6886 * oct-env.cc (octave_env::do_absolute_pathname): Also return true | |
6887 for ".", and names beginning with "./" or "../". | |
6888 | |
6162 | 6889 2006-11-14 Luis F. Ortiz <lortiz@interactivesupercomputing.com> |
6890 | |
6891 * CMatrix.cc, dMatrix.cc: New tests. | |
6892 | |
6153 | 6893 2006-11-13 Michael Goffioul <michael.goffioul@swing.be> |
6894 | |
6895 * Array-d.cc, dDiagMatrix.h: Sprinkle with OCTAVE_API as needed. | |
6896 | |
6152 | 6897 2006-11-11 John W. Eaton <jwe@octave.org> |
6898 | |
6899 * Makefile.in ($(OPTS_INC), mx-ops.h): | |
6900 Use $(simple-move-if-change-rule) here. | |
6901 | |
6148 | 6902 2006-11-09 David Bateman <dbateman@free.fr> |
6903 | |
6904 * sparse-base-chol.cc (sparse_base_chol_rep::Q): Cast perms(i) to | |
6905 octave_idx_type, not int. | |
6906 | |
6145 | 6907 2006-11-08 John W. Eaton <jwe@octave.org> |
6908 | |
6909 * dir-ops.cc (dir_entry::read): Avoid rewinddir. | |
6910 | |
6141 | 6911 2006-11-06 John W. Eaton <jwe@octave.org> |
6912 | |
6913 * Array.cc (assignN): Exit early if invalid indices are found. | |
6914 | |
6140 | 6915 2006-11-03 Michael Goffioul <michael.goffioul@swing.be> |
6916 | |
6917 * strftime.c [HAVE_TZNAME]: Tag tzname with OCTAVE_IMPORT. | |
6918 | |
6137 | 6919 2006-11-03 John W. Eaton <jwe@octave.org> |
6920 | |
6921 * Makefile.in (DLL_CXXDEFS): Rename from XTRA_CXXDEFS. | |
6922 (DLL_CDEFS): Rename from XTRA_CDEFS. | |
6923 Substitute OCTAVE_DLL_DEFS, not XTRA_OCTAVE_DEFS. | |
6924 | |
6123 | 6925 2006-10-28 Michael Goffioul <michael.goffioul@swing.be> |
6926 | |
6927 * oct-shlib.cc: Undefine min and max after including windows.h. | |
6928 * oct-syscalls.cc (syscalls::pipe (int *)): Avoid infinite recursion. | |
6929 * lo-sysdep.h: Move opendir, readdir, etc. decls here from | |
6930 lo-sysdep.cc. | |
6931 | |
6113 | 6932 2006-10-27 John W. Eaton <jwe@octave.org> |
6933 | |
6119 | 6934 * oct-time.cc [! HAVE_STRFTIME]: Declare strftime. |
6935 | |
6936 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> | |
6937 | |
6938 * mx-op-defs.h (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, | |
6939 NDS_CMP_OPS2): New macros. | |
6113 | 6940 |
6111 | 6941 2006-10-26 John W. Eaton <jwe@octave.org> |
6942 | |
6119 | 6943 * mx-ops (core-type): New field for integer types. |
6944 * mk-ops.awk: Handle core-type for integer comparison ops. | |
6945 | |
6111 | 6946 * lo-cutils.c (octave_strcasecmp, octave-strncasecmp): |
6947 Move here from src/cutils.c. | |
6948 * lo-utils.h: Provide decls. | |
6949 * strcasecmp.c: Move here from src/strcasecmp.c. | |
6950 * strncase.c: Move here from src/strncase.c. | |
6951 * Makefile.in (LIBOCTAVE_C_SOURCES): Add them to the list. | |
6952 | |
6106 | 6953 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
6954 | |
6955 * kpse.cc [! MSVC]: Don't include win32lib.h. | |
6956 | |
6708 | 6957 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-util.h, |
6958 Array.h, CColVector.h, CMatrix.h, CNDArray.h, CRowVector.h, | |
6959 CSparse.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, | |
6960 CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, | |
6961 CollocWt.h, DAE.h, DASPK.h, DASRT.h, DASSL.h, EIG.h, LSODE.h, | |
6962 MArray-C.cc, MArray-defs.h, MSparse-C.cc, MSparse-d.cc, | |
6963 MSparse-defs.h, MatrixType.h, NLEqn.h, Quad.h, Range.h, | |
6964 Sparse-op-defs.h, Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, | |
6965 SparseCmplxQR.h, SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, | |
6966 boolMatrix.h, boolNDArray.h, boolSparse.h, chMatrix.h, | |
6967 chNDArray.h, cmd-edit.h, cmd-hist.h, dColVector.h, dDiagMatrix.h, | |
6968 dMatrix.h, dNDArray.h, dRowVector.h, dSparse.h, data-conv.h, | |
6969 dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, dbleLU.h, | |
6970 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, dir-ops.h, | |
6971 file-ops.h, file-stat.h, glob-match.h, idx-vector.h, | |
6972 int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, | |
6973 lo-cutils.c, lo-ieee.h, lo-mappers.h, lo-specfun.h, lo-utils.h, | |
6974 mach-info.h, mx-op-defs.h, oct-alloc.h, oct-env.h, oct-group.h, | |
6975 oct-inttypes.cc, oct-inttypes.h, oct-passwd.h, oct-rand.h, | |
6976 oct-shlib.h, oct-spparms.h, oct-syscalls.h, oct-time.h, | |
6977 oct-uname.h, pathsearch.h, prog-args.h, so-array.h, str-vec.h, | |
6978 uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc, | |
6979 uint8NDArray.cc: Sprinkle with OCTAVE_API as needed. | |
6108 | 6980 |
6105 | 6981 2006-10-26 John W. Eaton <jwe@octave.org> |
6982 | |
6983 * oct-inttypes.cc (INSTANTIATE_INTTYPE_BIN_OP): Provide explicit | |
6984 type qualification for OP. | |
6985 | |
6101 | 6986 2006-10-26 David Bateman <dbateman@free.fr> |
6987 | |
6988 * Sparse.cc (Sparse<T>::resize_no_fill (octave_idx_type, | |
6989 octave_idx_type)): Be more careful with the size of the input | |
6990 matrix, and therefore don't create or read non existent data. | |
6991 | |
6092 | 6992 2006-10-25 John W. Eaton <jwe@octave.org> |
6993 | |
6994 * Sparse.cc (assign): Clear lhs index after error. | |
6995 | |
6093 | 6996 2006-10-25 David Bateman <dbateman@free.fr> |
6092 | 6997 |
6998 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
6999 Fix previous patch so it works. | |
7000 | |
6087 | 7001 2006-10-25 Michael Goffioul <michael.goffioul@swing.be> |
7002 | |
6095 | 7003 * glob-match.h (glob_match::glob_match (const std::string&, |
7004 unsigned int)): Delete initializer for first arg. | |
7005 | |
6093 | 7006 * lo-sysdep.cc (opendir, readdir, rewinddir, closedir): |
7007 New functions. | |
7008 | |
6087 | 7009 * Makefile.in (XTRA_CDEFS, XTRA_CXXDEFS): Substitute here. |
7010 | |
6096 | 7011 * oct-env.cc (octave_env::do_get_home_directory) [_MSC_VER]: Use |
7012 same code as __MINGW32__. | |
7013 * syswait.h [_MSC_VER]: Define HAVE_WAITPID, WAITPID, and WNOHANG | |
7014 the same as for __MINGW32__. | |
7015 | |
7016 * randpoisson.c: Undefine INFINITE before redefining. | |
7017 | |
6079 | 7018 2006-10-24 David Bateman <dbateman@free.fr> |
7019 | |
7020 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Resize the | |
7021 lhs at the point we know the assignment can succeed if the lhs is | |
7022 empty. | |
7023 | |
6072 | 7024 2006-10-23 John W. Eaton <jwe@octave.org> |
7025 | |
7026 * Array.cc (assign2): Don't require vector assignments to be oriented. | |
7027 | |
6061 | 7028 2006-10-17 John W. Eaton <jwe@octave.org> |
7029 | |
7030 * lo-cieee.c: If isnan is not available but _isnan is, then define | |
7031 isnan to be _isnan, and define HAVE_ISNAN. Likewise for _finite | |
7032 and _copysign. | |
7033 | |
6059 | 7034 2006-10-17 Michael Goffioul <michael.goffioul@swing.be> |
6051 | 7035 |
6061 | 7036 * oct-syscalls.cc (syscalls::waitpid): Always declare and define retval. |
7037 | |
9967 | 7038 * CMatrix.cc (ComplexMatrix::solve): Avoid infinite recursion. |
6708 | 7039 * CSparse.cc (SparseComplexMatrix::insert): Likewise. |
6061 | 7040 |
6058 | 7041 * oct-types.h.in: Include limits.h, for CHAR_BIT. |
7042 | |
6059 | 7043 2006-10-13 Michael Goffioul <michael.goffioul@swing.be> |
7044 | |
6051 | 7045 * Makefile.in: Adapt rules to use $(LIBPRE). |
7046 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
7047 2006-10-03 David Bateman <dbateman@free.fr> |
6027 | 7048 |
7049 * MatrixType.cc (MatrixType::MatrixType): Avoid crash if np == 0 | |
7050 or p == 0. | |
7051 | |
6018 | 7052 2006-10-02 John W. Eaton <jwe@octave.org> |
7053 | |
7054 * dbleDET.cc (DET::initialize2): Ensure arg to log10 is double. | |
7055 * CmplxDET.cc (ComplexDET::initialize2): Likewise. | |
7056 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
7057 2006-09-22 David Bateman <dbateman@free.fr> |
5996 | 7058 |
9967 | 7059 * MatrixType.h (MatrixType::MatrixType(const SparseComplexMatrix&)): |
7060 Remove spurious warning. | |
5996 | 7061 |
5992 | 7062 2006-09-15 John W. Eaton <jwe@octave.org> |
7063 | |
9967 | 7064 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&) const): |
5992 | 7065 Handle resizing. |
7066 | |
7067 * intNDArray.h (intNDArray<T>:elt_type): New typedef. | |
7068 | |
5983 | 7069 2006-09-11 John W. Eaton <jwe@octave.org> |
7070 | |
7071 * dMatrix.cc (operator * (const Matrix&, const Matrix&))): | |
9967 | 7072 Handle M*v and rv*cv special cases. |
5983 | 7073 * CMatrix.cc (operator * (const ComplexMatrix&, const |
7074 ComplexMatrix&))): Likewise. | |
7075 From Luis F. Ortiz <lortiz@interactivesupercomputing.com>. | |
7076 | |
7077 * dRowVector.cc (operator * (const RowVector&, const | |
7078 ColumnVector&)): Call xddot here instead of using a Fortran | |
7079 function directly. | |
7080 * CRowVector.cc (operator * (const ComplexRowVector&, const | |
7081 ComplexColumnVector&)): Call xzdotu here. | |
7082 | |
7083 2006-09-05 John W. Eaton <jwe@octave.org> | |
7084 | |
7085 * chNDArray.cc (charNDArray::any, charNDArray::all): Compare | |
7086 elements to '\0', not ' '. | |
7087 | |
5972 | 7088 2006-08-25 John W. Eaton <jwe@octave.org> |
7089 | |
7090 * mx-inlines.cc (MX_ND_REDUCTION): Special case for 0x0 arrays. | |
7091 | |
5958 | 7092 2006-08-23 John W. Eaton <jwe@octave.org> |
7093 | |
7094 * dMatrix.cc, dMatrix.h (Matrix::save_ascii): Delete function and decl. | |
7095 * CMatrix.cc, CMatrix.h (ComplexMatrix::save_ascii): Likewise. | |
7096 | |
5955 | 7097 2006-08-22 John W. Eaton <jwe@octave.org> |
7098 | |
5956 | 7099 * CMatrix.cc (ComplexMatrix::save_ascii): New function. |
7100 * dMatrix.cc (Matrix::save_ascii): New function. | |
7101 | |
5955 | 7102 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Correctly detect empty arrays. |
7103 If array is empty, return value is same size as array. | |
7104 (MX_ND_REDUCTION): Correctly detect empty arrays. | |
7105 If array is empty, produce correctly sized return value. | |
7106 | |
5940 | 7107 2006-08-18 John W. Eaton <jwe@octave.org> |
7108 | |
5943 | 7109 * dMatrix.cc (Matrix::any_element_not_one_or_zero): New function. |
7110 * dMatrix.h: Provide decl. | |
7111 * dNDArray.cc (NDArray::any_element_not_one_or_zero): New function. | |
7112 * dNDArray.h: Provide decl. | |
7113 * intNDArray.cc (intNDArray<T>::any_element_not_one_or_zero): | |
7114 New function. | |
7115 * intNDArray.h: Provide decl. | |
7116 | |
5940 | 7117 * Array.cc (Array<T>::permute): Only rearrange values if array is |
7118 not empty. | |
7119 | |
5904 | 7120 2006-07-26 John W. Eaton <jwe@octave.org> |
7121 | |
7122 * dbleDET.cc (DET::initialize10, DET::value_will_underflow, | |
7123 DET::value_will_overflow): Use xlog2 instead of log2. | |
7124 (DET::initialize2, DET::initialize10): Use xround instead of round. | |
7125 (DET::initialize2, DET::value): Use xexp2 instead of exp2. | |
7126 * CmplxDET.cc (ComplexDET::initialize10, | |
7127 ComplexDET::value_will_underflow, | |
7128 ComplexDET::value_will_overflow): Use xlog2 instead of log2. | |
7129 (ComplexDET::initialize2, ComplexDET::initialize10): | |
7130 Use xround instead of round. | |
7131 (ComplexDET::initialize2, ComplexDET::value): | |
7132 Use xexp2 instead of exp2. | |
7133 | |
7134 * lo-mappers.cc (M_LOG10E): Delete unused macro. | |
7135 (xlog2, xexp2): New functions. | |
7136 * lo-mappers.h: Provide decls. | |
7137 | |
5900 | 7138 2006-07-22 John W. Eaton <jwe@octave.org> |
7139 | |
7140 * Sparse.h (Sparse<T>::mex_get_data, Sparse<T>::mex_get_ir, | |
7141 Sparse<T>::mex_get_jc): New functions. | |
7142 | |
7143 2006-07-21 John W. Eaton <jwe@octave.org> | |
7144 | |
7145 * oct-inttypes.h (octave_int<T>::mex_get_data): New function. | |
7146 * Array.h (Array<T>::mex_get_data): New function. | |
7147 | |
5898 | 7148 2006-07-19 John W. Eaton <jwe@octave.org> |
7149 | |
7150 * oct-inttypes.h (octave_int::operator bool (void)): New function. | |
7151 | |
5893 | 7152 2006-07-16 John W. Eaton <jwe@octave.org> |
7153 | |
7154 * oct-spparms.h, oct-spparms.cc (class octave_sparse_params): | |
7155 Rename from SparseParams. Use same implementation method as other | |
7156 singleton classes in Octave. Change all uses of | |
7157 Voctave_sparse_controls to use static functions from | |
7158 octave_sparse_params class instead. | |
7159 | |
7160 * oct-spparms.h, oct-spparms.cc (SparseParams::set_key, | |
7161 SparseParams::get_key): Pass std::string arg by const reference, | |
7162 not const value. | |
7163 | |
5892 | 7164 2006-07-15 John W. Eaton <jwe@octave.org> |
7165 | |
7166 * data-conv.cc: Instantiante swap_bytes templates here. | |
7167 | |
7168 * MatrixType.cc (MatrixType::MatrixType): | |
7169 Use complete initializer lists in constructors. | |
7170 | |
5880 | 7171 2006-07-06 John W. Eaton <jwe@octave.org> |
7172 | |
7173 * str-vec.cc (string_vector::string_vector (std::list<std::string>&)): | |
7174 New constructor. | |
7175 * str-vec.h: Provide decl. | |
7176 | |
5876 | 7177 2006-07-01 David Bateman <dbateman@free.fr> |
7178 | |
7179 * dSparse.cc (tinverse): Check for rows with no elements and zero | |
7180 elements on the diagonal. Allow both Upper and Lower triangular | |
7181 matrices to be treated. | |
7182 * CSparse.cc (tinverse): ditto. | |
7183 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Take into account 64-bit | |
7184 constant assignment. | |
9967 | 7185 |
5870 | 7186 2006-06-30 John W. Eaton <jwe@octave.org> |
7187 | |
5872 | 7188 * lo-sysdep.cc (octave_chdir): Perform tilde expansion here. |
7189 * cmd-edit.cc (editor::read_init_file): Ditto. | |
7190 * dir-ops.cc (dir_entry::open): Ditto. | |
5871 | 7191 * file-stat.cc (stat::update_internal): Ditto. |
5872 | 7192 * cmd-hist.cc (command_history::set_file): Ditto. |
5871 | 7193 |
5870 | 7194 * data-conv.cc (data_conv::string_to_data_type): |
7195 Correctly handle leading "*". | |
7196 | |
5869 | 7197 2006-06-29 Atsushi Kajita <a-kajita@mizar.freemail.ne.jp> |
7198 | |
7199 * Sparse.cc (Sparse<T>::SparseRep::elem): Avoid out of bounds | |
7200 array access. | |
9967 | 7201 |
5866 | 7202 2006-06-27 John W. Eaton <jwe@octave.org> |
7203 | |
7204 * Makefile.in: Finish renaming of OBJECTS -> LIBOCTAVE_OBJECTS. | |
7205 | |
5864 | 7206 2006-06-21 John W. Eaton <jwe@octave.org> |
7207 | |
7208 * oct-shlib.cc (octave_dlopen_shlib::close, | |
7209 octave_shl_load_shlib::close, octave_w32_shlib::close): | |
7210 Skip do_close_hook if cl_hook is 0. | |
7211 | |
5863 | 7212 2006-06-16 John W. Eaton <jwe@octave.org> |
7213 | |
7214 * oct-sort.h: Don't include config.h, lo-mappers.h, or quit.h. | |
7215 * randmtzig.h: Don't inlcude config.h. | |
7216 | |
5837 | 7217 2006-05-31 David Bateman <dbateman@free.fr> |
7218 | |
7219 * Array.cc (assignN): Maybe reshape LHS before doing assignment. | |
7220 | |
5828 | 7221 2006-05-23 John W. Eaton <jwe@octave.org> |
7222 | |
7223 * oct-types.h.in: Include stdint.h or inttypes.h for integer | |
7224 typedefs, or define them if those files are not available. | |
7225 * oct-inttypes.h (octave_int8_t, octave_int16_t, octave_int32_t, | |
7226 octave_int64_t, octave_uint8_t, octave_uint16_t, octave_uint32_t, | |
7227 octave_uint64_t): Delete typedefs. Replace all uses of these | |
7228 types with int8_t, int16_t, etc. | |
7229 * data-conv.h (TWO_BYTE_INT, FOUR_BYTE_INT, EIGHT_BYTE_INT): | |
7230 Delete definitions. Replace all uses of these macros with int8_t, | |
7231 int16_t, etc. | |
7232 * randmtzig.h: Delete integer typedefs. | |
7233 | |
5822 | 7234 2006-05-18 John W. Eaton <jwe@octave.org> |
7235 | |
7236 * EIG.cc (EIG::init): Trap Inf and NaN values here. | |
7237 From Keith Goodman <kwgoodman@gmail.com>. | |
7238 | |
5813 | 7239 2006-05-08 David Bateman <dbateman@free.fr> |
7240 | |
7241 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): fix bug in previous | |
7242 modification. | |
7243 | |
5797 | 7244 2006-05-09 David Bateman <dbateman@free.fr> |
7245 | |
7246 * sparse-dmsolve.cc: Remove reference to ov-re-sparse.h, | |
7247 ov-cx-sparse. and error_state. | |
7248 * SparseQR.cc, SparseCmplxQR.cc (qrsolve): Return info = -1 on error. | |
9967 | 7249 |
5795 | 7250 2006-05-08 David Bateman <dbateman@free.fr> |
7251 | |
7252 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Set column pointers in | |
7253 first pass and use to determine which algorithm to use on a | |
7254 column-by-column basis. | |
7255 | |
5792 | 7256 2006-05-04 David Bateman <dbateman@free.fr> |
7257 | |
7258 * SparseQR.cc, SparseQR.h, SparseCmplxQR.cc, SparseCmplxQR.h, | |
7259 sparse-dmsolve.cc : Allow compilation with versions v2.0.0 of | |
7260 CXSparse or later | |
7261 | |
5785 | 7262 2006-05-03 David Bateman <dbateman@free.fr> |
7263 | |
7264 * CMatrix.cc (zpotrf, zpocon, zpotrs, ztrcon, ztrtrs): | |
7265 External declaration of lapack triangular and Cholesky codes. | |
9967 | 7266 (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, |
5785 | 7267 ComplexMatrix::fsolve): New private solver codes for |
9967 | 7268 upper, lower and LU/Cholesky solvers. |
5785 | 7269 (ComplexMatrix::solve): New versions for cached matrix |
7270 type. Adapt old versions to call new versions | |
7271 * CMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
7272 new solvers. | |
7273 (solve): New versions for cached matrix type. | |
7274 * dMatrix.cc (dpotrf, dpocon, dpotrs, dtrcon, dtrtrs): | |
7275 External declaration of lapack triangular and Cholesky codes. | |
9967 | 7276 (Matrix::utsolve, Matrix::ltsolve, |
5785 | 7277 Matrix::fsolve): New private solver codes for |
9967 | 7278 upper, lower and LU/Cholesky solvers. |
5785 | 7279 (Matrix::solve): New versions for cached matrix |
7280 type. Adapt old versions to call new versions | |
7281 * dMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
7282 new solvers. | |
7283 (solve): New versions for cached matrix type. | |
7284 * CSparse.cc: Replace all uses of SparseType with MatrixType. | |
7285 * CSparse.h: ditto. | |
7286 * dSparse.cc: ditto. | |
7287 * dSparse.h: ditto. | |
7288 * SparseCmplxCHOL.cc: ditto. | |
7289 * SparsedbleCHOL.cc: ditto. | |
7290 * sparse-dmsolve.cc: ditto. | |
7291 * SparseType.cc, SparseType.h: delete. | |
7292 * MatrixType.cc: New file for class to cache matrix type, based on | |
7293 old SparseType class but caching matrix and sparse types. | |
7294 * MatrixType.h: ditto. | |
7295 * Makefile.in (MATRIX_INC, MATRIX_SRC): Add MatrixType.h and | |
7296 MatrixType.cc respectively. Delete SparseType.h and SparseType.cc | |
7297 respectively. | |
7298 * mx-base.h: Include MatrixTye.h as header file. | |
9967 | 7299 |
5781 | 7300 2006-05-01 John W. Eaton <jwe@octave.org> |
7301 | |
7302 * oct-shlib.h (octave_shlib::octave_shlib, octave_shlib::open): | |
7303 Delete WARN_FUTURE arg. Change all uses. | |
7304 * oct-shlib.cc (octave_base_shlib::stamp_time): Delete arg. | |
7305 Change all uses. Use current_liboctave_warning_with_id_handler. | |
7306 (octave_base_shlib::open): Delete arg. Change all derived classes | |
7307 and uses. | |
7308 | |
7309 2006-04-29 John W. Eaton <jwe@octave.org> | |
7310 | |
7311 * Array-flags.cc, Array-flags.h: Delete. | |
7312 * Makefile.in (MATRIX_SRC): Remove Array-flags.cc from the list. | |
7313 (MATRIX_INC): Remove Array-flags.h from the list. | |
7314 | |
7315 * idx-vector.cc (IDX_VEC_REP::freeze): Delete warn_resize arg. | |
7316 Use current_liboctave_warning_with_id_handler | |
7317 with warning ID Octave:resize-on-range-error. | |
7318 * idx-vector.h: Fix decl. | |
7319 * Array.cc, Sparse.cc: Change all callers. | |
7320 | |
7321 * Array.cc (Array<T>::maybe_delete_elements, Array<T>::index2, | |
7322 assign2, assignN): Use current_liboctave_warning_with_id_handler | |
7323 with warning ID Octave:fortran-indexing instead of | |
7324 liboctave_wfi_flag. | |
7325 * Sparse.cc (assign, Sparse<T>::index): Likewise. | |
7326 | |
5777 | 7327 2006-04-26 John W. Eaton <jwe@octave.org> |
7328 | |
7329 * pathsearch.cc (dir_path::path_sep_char, dir_path::path_sep_str): | |
7330 New static data. | |
7331 * pathsearch.h: Provide decls. | |
7332 (dir_path::is_path_sep): New function. | |
7333 | |
5766 | 7334 2006-04-18 John W. Eaton <jwe@octave.org> |
7335 | |
7336 * randmtzig.c (randmt, randi53, randi54, randi64, randu32, randu53): | |
7337 Omit inline from decl. | |
7338 | |
7339 * Sparse.cc (Sparse<T>::index): Use std::vector<bool> to avoid | |
7340 local array with variable dimension. | |
7341 | |
5764 | 7342 2006-04-16 John W. Eaton <jwe@octave.org> |
7343 | |
5765 | 7344 * lo-sstream.h: Delete. |
7345 * Makefile.in (INCLUDES): Remove it from the list. | |
7346 | |
7347 * dim-vector.h (dim_vector::str): Use std::ostringstream directly. | |
7348 * Sparse.cc (Sparse::range_error): Likewise. | |
7349 * DASSL.cc (DASSL::error_message): Likewise. | |
7350 * LSODE.cc (LSODE::error_message): Likewise. | |
7351 * DASRT.cc (DASRT::error_message): Likewise. | |
7352 * DASPK.cc (DASPK::error_message): Likewise. | |
7353 * Array.cc (Array::range_error): Likewise. | |
7354 | |
5764 | 7355 * kpse.cc (kpse_hash): Rename from hash. |
7356 (hash_lookup): Call kpse_hash instead of hash. | |
7357 | |
7358 * SparseType.cc (SparseType::SparseType): Use std::vector<bool> | |
7359 to avoid local array with variable dimension. | |
7360 | |
5760 | 7361 2006-04-13 David Bateman <dbateman@free.fr> |
7362 | |
9967 | 7363 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): |
5760 | 7364 Optimize assignment. |
7365 | |
7366 2006-04-13 John W. Eaton <jwe@octave.org> | |
7367 | |
9967 | 7368 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): |
5760 | 7369 Eliminate unnecessary casts. |
7370 * SparsedbleLU.cc (SparseLU::SparseLU): Likewise. | |
7371 | |
7372 * kpse.cc (fopen): Use reinterpret_cast instead of C-style cast. | |
7373 (log_search, dir_links): Use static_cast instead of C-style cast. | |
7374 | |
7375 * prog-args.cc (args::getopt): Use reinterpret_cast instead of X_CAST. | |
7376 * oct-alloc.cc (allocator::grow): Likewise. | |
7377 * CSparse.cc (SparseComplexMatrix::determinant, | |
7378 SparseComplexMatrix::factorize, SparseComplexMatrix::fsolve): | |
7379 Likewise. | |
7380 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU): Likewise. | |
7381 | |
7382 * oct-sort.cc (roundupsize, octave_sort<T>::merge_getmem): | |
7383 Use static_cast instead of C-style cast. | |
7384 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
7385 * dSparse.cc (SparseMatrix::fsolve): Likewise. | |
7386 | |
7387 * data-conv.cc (LS_DO_WRITE): Use static_cast for value conversion. | |
7388 Use OCTAVE_LOCAL_BUFFER instead of new/delete. | |
7389 (LS_DO_READ): Allocate local buffer to avoid pointer tricks. | |
7390 (write_doubles, read_doubles, LS_DO_WRITE, LS_DO_READ): | |
7391 Use reinterpret_cast instead of X_CAST. | |
7392 | |
7393 * DiagArray2.h (DiagArray2::Proxy::operator&): No need to cast | |
7394 return value here. | |
7395 | |
5752 | 7396 2006-04-12 Rafael Laboissiere <rafael@debian.org> |
7397 | |
7398 * ArrayN.h (ArrayN::ArrayN): Qualify fill with Array<T> base class. | |
7399 * DiagArray2.h (DiagArray2::DiagArray2): Likewise. | |
7400 | |
5730 | 7401 2006-04-03 David Bateman <dbateman@free.fr> |
7402 | |
5731 | 7403 * Sparse.cc (Sparse<T>::resize): Use xcidx rather than cdix, etc |
7404 to avoid copy of original matrix. | |
7405 | |
5730 | 7406 * Makefile.in (INCLUDES): Add randgamma.h, randpoisson.h and |
9967 | 7407 randmtzig.h to the list. |
5730 | 7408 (LIBOCTAVE_C_SOURCES): Add randgamma.c, randpoisson.c and |
9967 | 7409 randmtzig.c to the list. |
5730 | 7410 * oct-rand.cc (do_old_initialization): Rename from do_initialization. |
7411 (use_old_generators): New variable. | |
7412 (old_initialized): Rename from initialized. | |
7413 (new_initialized): New variable. | |
7414 (oct_init_by_entropy): New function. | |
7415 (maybe_initialize): Initialize new or old generator depending on | |
7416 value of use_old_generators. | |
7417 (octave_rand::state): New functions. | |
7418 (octave_rand::distribution): Add gamma, exponential and poisson | |
7419 distributions. | |
7420 (octave_rand::exponential_distribution, | |
7421 octave_rand::poisson_distribution, | |
7422 octave_rand::gamma_distribution): New methods to select | |
9967 | 7423 exponential, poisson or gamma distribution. |
5730 | 7424 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, |
7425 octave_rand::vector): Add new distributions. | |
7426 * oct-rand.h: Provide decls for new functions. | |
7427 (octave_rand::matrix, octave_rand::scalar, octave_rand:: | |
7428 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
7429 octave_rand::vector): New arg A, for gamma and poisson distributions. | |
7430 * randpoisson.c, randpoisson.h, randgamma.c, randmtzig.c, | |
9967 | 7431 randmtzig.h: New files. |
5730 | 7432 |
5717 | 7433 2006-03-24 John W. Eaton <jwe@octave.org> |
7434 | |
7435 * dSparse.cc (SparseMatrix::bsolve): Integer work vector is | |
7436 Array<octave_idx_type>, so fortran_vec returns pointer to | |
7437 octave_idx_type, not pointer to int. | |
7438 | |
7439 * CMatrix.cc, CMatrix.h (ComplexMatrix::row (char*), | |
7440 ComplexMatrix::column (char*)): Delete. | |
7441 * dMatrix.cc, dMatrix.h (Matrix::row (char*), | |
7442 Matrix::column (char*)): Delete. | |
7443 | |
5713 | 7444 2006-03-21 David Bateman <dbateman@free.fr> |
7445 | |
7446 * SparseQR.h: Publish externally used friends. | |
7447 * SparseCmplxQR.h: ditto. | |
7448 | |
5700 | 7449 2006-03-21 John W. Eaton <jwe@octave.org> |
7450 | |
7451 * lo-specfun.cc (betainc): Use F77_XFCN instead of F77_FUNC for | |
7452 call to xdbetai. | |
7453 | |
5697 | 7454 2006-03-21 David Bateman <dbateman@free.fr> |
7455 | |
5701 | 7456 * lo-specfun.cc (xlgamma, xgamma): Trap special values. |
7457 (xlgamma): Use F77_XFCN instead of F77_FUNC for call to dlgams. | |
5700 | 7458 |
7459 * dSparse.cc (solve): Add argument singular_fallback, to allow | |
7460 fallback to QR solvers to be optional. | |
7461 * CSparse.cc (solve): Ditto. | |
7462 * dSparse.h (solve): update declaration for new argument. | |
7463 * CSparse.h (solve): Ditto. | |
7464 * sparse-dmsolve.cc (dmsolve): Use singular_fallback argument | |
7465 to bypass QR solvers when solving the well determined part of | |
7466 the problem. | |
5697 | 7467 |
5690 | 7468 2006-03-17 John W. Eaton <jwe@octave.org> |
7469 | |
7470 * str-vec.cc (vector::list_in_columns): New optional arg, width. | |
7471 | |
5681 | 7472 2006-03-16 David Bateman <dbateman@free.fr> |
7473 | |
7474 * CSparse.cc: Change use of nzmax to nnz to allow automatic | |
7475 reduction of matrix size, except for a couple of cases where nzmax | |
7476 is needed. | |
7477 (zpbcon): Correct declaration of lapack zpbcon function. | |
7478 (dsolve, utsolve, ltsolve, trisolve, bsolve, factorize, fsolve): Add | |
7479 an argument to allow the calculation of condition number to be | |
7480 optional. | |
7481 (bsolve): Add code for the calculation of the condition number | |
7482 using zpbcon and zgbcon. | |
7483 (dsolve): Bug fix for rectangular matrices with sparse RHS. | |
7484 (utsolve, ltsolve, trisolve, bsolve, fsolve): Mark matrix type as | |
7485 singular if singularity is detected. | |
7486 (solve): Use optional argument to disable calculation of | |
9967 | 7487 condition number for all but fsolve, for speed. Add code to |
5681 | 7488 allow rectnagular matrices or matrices identified as singular |
7489 to be treated. | |
7490 (lssolve): delete. | |
7491 (operator *): Don't recast real matrices as complex, but | |
7492 rather use the macro directly on the real data. | |
7493 * dSparse.cc: ditto. | |
7494 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, | |
7495 fsolve, factorize): Update declaration for new argument to | |
7496 calculate the condition number. | |
7497 (lssolve): delete. | |
7498 * dSparse.h: ditto. | |
7499 * Msparse.h: Change use of nxmax to nnz to allow automatic | |
7500 reduction of matrix size, except for a couple of cases where | |
7501 nzmax is needed. | |
7502 * Sparse.cc: Change use of nxmax to nnz to allow automatic | |
7503 reduction of matrix size, except for a couple of cases where | |
7504 nzmax is needed. | |
7505 (Sparse<T>::index (idx_vector&, idx_vector&, int) const): | |
7506 Special case strict permutations for speed. | |
7507 * Sparse-op-defs.h: Change use of nxmax to nnz to allow automatic | |
7508 reduction of matrix size, except for a couple of cases where | |
7509 nzmax is needed. | |
7510 (SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, FULL_SPARSE_MUL): Update | |
7511 macros to allow mixed complex/real arguments. | |
7512 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): New macro for C99 zero | |
9967 | 7513 value. |
5681 | 7514 (qrsolve): Use it to zero temporary buffers used bt CXSPARSE. |
7515 * SparseType.cc (SparseType::SparseType ()): Correct detection | |
7516 of permutated triangular matrices to avoid seg-faults. Disable | |
7517 detection of underdetermined lower and over-determined upper | |
7518 matrix due to problems with non minimum norm solutions. | |
7519 * sparse-dmsolve.cc: New file for Dulmage-Mendelsohn solver. | |
7520 * Makefile.in: add sparse-dmsolve.cc to targets. | |
7521 | |
5675 | 7522 2006-03-15 William Poetra Yoga Hadisoeseno <williampoetra@gmail.com> |
7523 | |
7524 * oct-time.cc (octave_strptime::init): Return useful character count. | |
7525 | |
5648 | 7526 2006-03-08 David Bateman <dbateman@free.fr> |
7527 | |
7528 * SparseCmplxQR.cc: Updates for new upstream CXSPARSE release. Fix for | |
7529 g++ 4.x stl_vector.h issue with C99 double _Complex type. | |
7530 * SparseCmplxQR.h: Updates for new upstream CXSPARSE release. | |
7531 * SparseQR.cc: ditto. | |
7532 * SparseQR.h: ditto. | |
7533 * oct-sparse.h: ditto. | |
7534 * sparse-base-chol.cc (sparse_base_chol<>::sparse_base_chol_rep::init): | |
7535 Declare info variable as volatile. | |
7536 | |
7537 * Sparse.cc (Sparse<T>::transpose (void) const): Accelerate algorithm. | |
7538 * CSparse.cc (SparseComplexMatrix::transpose (void) const): ditto. | |
9967 | 7539 |
5634 | 7540 2006-03-01 John W. Eaton <jwe@octave.org> |
7541 | |
7542 * CMatrix.cc (ComplexMatrix::determinant): | |
7543 Scale result by factors of 2, not 10. | |
7544 * dMatrix.cc (Matrix::determinant): Likewise. | |
7545 | |
7546 * dbleDET.h (DET::DET): Use initializer list. | |
7547 (DET::coefficient2, DET::coefficient10, DET::exponent2, | |
7548 DET::exponent10): New functions. | |
7549 (DET::det): Delete. | |
7550 (DET::c2, DET::c10, DET::e2, DET::e10, DET::base2): New data members. | |
7551 Store value internally with double and int instead of 2-element | |
7552 double vector. | |
7553 (DET::initialize2, DET::initialize10): Provide decls. | |
9967 | 7554 * dbleDET.cc (DET::value_will_overflow, DET::value_will_underflow): |
5634 | 7555 Return bool value, not int. |
7556 (DET::initialize2, DET::initialize10): New functions. | |
7557 | |
7558 * CmplxDET.h (ComplexDET::ComplexDET): Use initializer list. | |
7559 (ComplexDET::coefficient2, ComplexDET::coefficient10, | |
7560 ComplexDET::exponent2, ComplexDET::exponent10): New functions. | |
7561 (ComplexDET::det): Delete. | |
7562 (ComplexDET::c2, ComplexDET::c10, ComplexDET::e2, ComplexDET::e10, | |
7563 ComplexDET::base2): New data members. | |
7564 Store value internally with Complex and int instead of 2-element | |
7565 Complex vector. | |
7566 (ComplexDET::initialize2, ComplexDET::initialize10): Provide decls. | |
7567 * dbleComplexDET.cc (ComplexDET::value_will_overflow, | |
7568 ComplexDET::value_will_underflow): Return bool value, not int. | |
7569 (ComplexDET::initialize2, ComplexDET::initialize10): New functions. | |
7570 | |
5632 | 7571 2006-02-24 John W. Eaton <jwe@octave.org> |
7572 | |
7573 * Array.cc (assignN): Clear index before reshaping. | |
7574 | |
7575 * Array.h (Array<T>::operator =): Don't set idx to 0 if copying self. | |
7576 | |
5630 | 7577 2006-02-20 David Bateman <dbateman@free.fr> |
7578 | |
9967 | 7579 * dSparse.cc (dsolve, utsolve, ltsolve): Remove restriction that |
5630 | 7580 matrix must be square in diagonal, permuted diagonal, triangular |
7581 and permuted triangular back/forward substitution code. Change | |
7582 ambiguous use of no. rows and columns. | |
7583 * CSParse.cc (dsolve, utsolve, ltsolve): ditto. | |
7584 * SparseType.cc (SparseType::SparseType(const SparseMatrix&), | |
7585 SparseType::SparseType(const SparseComplexMatrix&)): Recognize | |
7586 rectangular diagonal, permuted diagonal, triangular and permuted | |
7587 triangular matrices. | |
7588 * Sparse.cc (Sparse<T>::Sparse (octave_idx_type, octave_idx_type, T)): | |
7589 Treat case where third argument is zero. | |
7590 | |
5621 | 7591 2006-02-15 John W. Eaton <jwe@octave.org> |
7592 | |
5622 | 7593 * kpse.cc: Do define ST_NLINK_TRICK for Cygwin systems. |
9967 | 7594 (do_subdir) [ST_NLINK_TRICK]: Check links != 2 instead of links > 2. |
5622 | 7595 |
5621 | 7596 * getopt.c: Use __CYGWIN__ instead of __CYGWIN32__. |
7597 | |
5619 | 7598 2006-02-13 David Bateman <dbateman@free.fr> |
7599 | |
7600 * Makefile.in (LINK_DEPS): Add missing dependencies on colamd, | |
9967 | 7601 ccolamd and cxsparse |
5619 | 7602 |
5617 | 7603 2006-02-13 John W. Eaton <jwe@octave.org> |
7604 | |
5618 | 7605 * kpse.cc (kpse_path_iterator::next): Reverse order of tests in |
7606 while loop condition. | |
7607 (kpse_path_iterator::operator =): Declare as private function but | |
7608 don't define to prevent attempts to use assignment operator. | |
7609 Don't define ST_NLINK_TRICK for Cygwin systems. | |
5617 | 7610 |
5615 | 7611 2006-02-10 John W. Eaton <jwe@octave.org> |
7612 | |
7613 * mx-inlines.cc (MX_ND_REDUCTION): Store in cummulative | |
7614 product of all dimensions in CP_SZ. | |
7615 | |
5611 | 7616 2006-02-09 John W. Eaton <jwe@octave.org> |
7617 | |
7618 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Store in cummulative | |
5615 | 7619 product of all dimensions in CP_SZ. |
5611 | 7620 |
5610 | 7621 2006-02-09 David Bateman <dbateman@free.fr> |
7622 | |
9967 | 7623 * SparseQR.cc: new file for real sparse QR class. |
7624 * SparseQR.h: declaration. | |
7625 * SparseCmplxQR.cc: new file for complex sparse QR class. | |
7626 * SparseCmplxQR.h: declaration. | |
7627 * dSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
7628 (factorize, fsolve): Enable code code lssolve. | |
7629 (lssolve): disable unused args, write based in above sparse QR class. | |
7630 * CSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
7631 (factorize, fsolve): Enable code code lssolve. | |
7632 (lssolve): disable unused args, write based in above sparse QR class. | |
7633 * oct-sparse.h: fix location of colamd, ccolamd and metis headers. | |
7634 Include CXSparse headers. | |
7635 * Makefile.in (MATRIX_INC): Include SparseQR.h and SparseCmplxQR.h. | |
7636 (MATRIX_SRC): Include SparseQR.cc and SparseCmplxQR.cc. | |
5610 | 7637 |
5607 | 7638 2006-02-08 John W. Eaton <jwe@octave.org> |
7639 | |
7640 * Array-util.h (calc_permutated_idx): Delete. | |
7641 * Array.cc (permute_vector): New data structure. | |
7642 (permute_vector_compare): New function. | |
7643 (Array<T>::permute): Rewrite to avoid calc_permutated_index for | |
7644 improved performance. | |
7645 | |
5606 | 7646 2006-02-04 David Bateman <dbateman@free.fr> |
7647 | |
7648 * COLAMD: Remove all files, as now unused. | |
7649 | |
5604 | 7650 2006-01-31 John W. Eaton <jwe@octave.org> |
7651 | |
7652 * Sparse.h (Sparse<T>::nzmax): New function. | |
7653 (Sparse<T>::nnz): Rename from nonzero. | |
7654 Change all uses of old nnz function to be nzmax. Change all uses | |
7655 of nonzero to be nnz. | |
7656 (Sparse<T>::nzmx): Rename from nnz (data member). Change all uses. | |
7657 | |
5603 | 7658 2006-01-21 David Bateman <dbateman@free.fr> |
7659 | |
9967 | 7660 * sparse-sort.cc (bool octave_sparse_sidxl_comp): 64-bit fix. |
7661 (bool octave_idx_vector_comp): New function. | |
7662 (template class octave_sort<octave_idx_vector_sort *>): Instantiate | |
7663 indexed idx_vector sorting function. | |
7664 * sparse-sort.h (class octave_sparse_sort_idxl): 64-bit fix. | |
7665 (class octave_idx_vector_sort): New class for indexed idx_vector | |
7666 sorting. | |
7667 (bool octave_idx_vector_comp): Declaration. | |
7668 * Sparse.cc (int assign1(Sparse<LT>&, Sparse<RT>&)): Treat cases of | |
7669 unordered LHS indexes in assignment using new octave_idx_vector_sort | |
7670 class. | |
7671 (int assign(Sparse<LT>&, Sparse<RT>&)): ditto. | |
5603 | 7672 |
5602 | 7673 2006-01-30 John W. Eaton <jwe@octave.org> |
7674 | |
7675 * so-array.h (streamoff_array::nnz): New funtion. | |
7676 * boolNDArray.h (boolNDArray::nnz): New function. | |
7677 * MArrayN.h (MArrayN<T>::nnz): New function. | |
7678 * MArray.h (MArray<T>::nnz): New function. | |
7679 | |
5587 | 7680 2006-01-04 David Bateman <dbateman@free.fr> |
7681 | |
7682 * Spars-op-defs.h (SPARSE_SPARSE_MUL): Previous change resulted in | |
7683 elements not being sorted in return matrix. Sort them, and make | |
9967 | 7684 solver select between two algorithms to further improve the |
5587 | 7685 performance. |
7686 * dSparse.cc: include oct-sort.h. | |
7687 * CSparse.cc: ditto. | |
7688 * sparse-sort.cc: Instantiate octave_sort<octave_idx_type>. | |
9967 | 7689 |
5586 | 7690 2005-12-28 David Bateman <dbateman@free.fr> |
7691 | |
5587 | 7692 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Improved algorithm that is |
9967 | 7693 faster in all cases, and significantly so for low density or small |
5587 | 7694 order problems. |
5586 | 7695 |
5552 | 7696 2005-11-30 John W. Eaton <jwe@octave.org> |
7697 | |
7698 * LSODE.cc (LSODE::do_integrate (double)): Resize iwork and rwork | |
7699 before setting any values in either array. | |
7700 | |
5547 | 7701 2005-11-29 John W. Eaton <jwe@octave.org> |
7702 | |
7703 * oct-uname.h, oct-uname.cc: New files. | |
7704 * Makefile.in: Add them to the appropriate lists. | |
7705 | |
5535 | 7706 2005-11-11 John W. Eaton <jwe@octave.org> |
7707 | |
7708 * Array.cc (Array<T>::indexN): Simplify. | |
7709 | |
5533 | 7710 2005-11-09 John W. Eaton <jwe@octave.org> |
7711 | |
7712 * oct-inttypes.h (octave_int::operator char (void) const): | |
7713 New conversion op. | |
7714 | |
5527 | 7715 2005-11-01 John W. Eaton <jwe@octave.org> |
7716 | |
7717 * Makefile.in (distclean): Also remove oct-types.h. | |
7718 From Quentin Spencer <qspencer@ieee.org>. | |
7719 | |
5526 | 7720 2005-10-31 David Bateman <dbateman@free.fr> |
7721 | |
7722 * dSparse.cc, CSparse.cc: Use C++ true/false instead of | |
7723 preprocessor defined TRUE/FALSE. | |
7724 | |
5523 | 7725 2005-10-30 John W. Eaton <jwe@octave.org> |
7726 | |
7727 * mx-inlines.cc (MX_ND_REDUCTION): Iterate in direction of DIM. | |
7728 (MX_ND_CUMULATIVE_OP): Likewise. | |
7729 | |
5519 | 7730 2005-10-29 John W. Eaton <jwe@octave.org> |
7731 | |
5520 | 7732 * mx-inlines.cc (MX_ND_REDUCTION): Avoid increment_index to speed |
7733 things up. Simplify. | |
7734 | |
5519 | 7735 * Array.cc (Array<T>::indexN): Simplify. Delete separate special |
7736 case for "vector_equivalent". | |
7737 | |
7738 * Array-util.cc (vector_equivalent): Arg is now dim_vector. | |
7739 | |
5518 | 7740 2005-10-28 John W. Eaton <jwe@octave.org> |
7741 | |
7742 * oct-sparse.h: Fix typo in HAVE_UFSPARSE_UMFPACK_H. | |
7743 From Quentin Spencer <qspencer@ieee.org>. | |
7744 | |
7745 * sparse-base-chol.cc: Use C++ true/false instead of | |
7746 preprocessor defined TRUE/FALSE. Use 0 instead of NULL. | |
7747 | |
5516 | 7748 2005-10-27 John W. Eaton <jwe@octave.org> |
7749 | |
7750 * Array.cc (assignN): Reshape to final size instead of resizing. | |
7751 | |
5512 | 7752 2005-10-26 John W. Eaton <jwe@octave.org> |
7753 | |
7754 * oct-sparse.h: New file. | |
7755 * oct-sparse.h.in: Delete. | |
7756 | |
5511 | 7757 2005-10-26 David Bateman <dbateman@free.fr> |
7758 | |
7759 * sparse-base-chol.h: Include cholmod specific code in HAVE_CHOLMOD | |
7760 * sparse-base-chol.cc: ditto. | |
7761 | |
5508 | 7762 2005-10-26 John W. Eaton <jwe@octave.org> |
7763 | |
7764 Changes for GCC 4.1, tip from Arno J. Klaassen | |
7765 <arno@heho.snv.jussieu.fr>: | |
7766 | |
9967 | 7767 * dSparse.h (real (const SparseComplexMatrix&)): |
5509 | 7768 Publish externally used friend function. |
7769 (imag (const SparseComplexMatrix&)): Likewise. | |
7770 | |
5508 | 7771 * dColVector.h (real (const ComplexColumnVector&)): |
7772 Publish externally used friend function. | |
7773 (imag (const ComplexColumnVector&)): Likewise. | |
7774 | |
7775 * dNDArray.h (real (const ComplexNDArray&)): | |
7776 Publish externally used friend function. | |
7777 (imag (const ComplexNDArray&)): Likewise. | |
7778 | |
9967 | 7779 * dMatrix.h (operator * (const ComplexMatrix&)): |
5508 | 7780 Move decl outside class. No need to be friend. |
7781 (real (const ComplexMatrix&)): Publish externally used friend function. | |
7782 (imag (const ComplexMatrix&)): Likewise. | |
7783 | |
7784 * CMatrix.h: (operator * (const ColumnVector&, const | |
7785 ComplexRowVector&)): Move decl outside class. No need to be friend. | |
7786 (operator * (const ComplexColumnVector&, const RowVector&)): Likewise. | |
7787 (operator * (const ComplexColumnVector&, const ComplexRowVector& b)): | |
7788 Likewise. | |
7789 | |
5506 | 7790 2005-10-23 David Bateman <dbateman@free.fr> |
9967 | 7791 |
5506 | 7792 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Check whether trailing zero |
7793 elements need to be removed. | |
9967 | 7794 |
5506 | 7795 * oct-sparse.h.in: Include metis headers and some macros for long/int |
7796 versions of cholmod. | |
9967 | 7797 |
5506 | 7798 * CSparse.cc (tinverse): New private function for the inversion of |
7799 an upper triangular matrix. | |
7800 (dinverse): ditto for diagonal matrices. | |
7801 (inverse): Add SparseType as an argument. Implement matrix inverse | |
7802 using tinverse and dinverse. | |
7803 (fsolve): Use cholmod to implement Cholesky solver. | |
7804 * CSparse.h (tinverse, dinverse): Declarations | |
7805 (inverse): Alter declaration to include SparseType. | |
7806 | |
7807 * dSparse.cc (tinverse, dinverse, inverse, fsolve): ditto. | |
7808 * dSparse.h (tinverse, dinverse, inverse): ditto. | |
7809 | |
7810 * SparseType.cc: Fix complex constructor for hermitian matrices. | |
9967 | 7811 |
5506 | 7812 * sparse-util.cc: New file for sparse utility functions. |
9967 | 7813 * sparse-util.h: New file with declarations of sparse utility |
5506 | 7814 functions. |
7815 | |
7816 * sparse-base-chol.cc: New file with sparse cholesky class based | |
7817 on cholmod. | |
7818 * sparse-base-chol.h: New file with declaration of sparse cholesky | |
7819 class based on cholmod. | |
7820 | |
7821 * SparseCmplxCHOL.cc: Instantiate sparse cholesky class for Complex. | |
7822 * SparseCmplxCHOL.h: Declaration of sparse cholesky class. | |
7823 | |
7824 * SparsedbleCHOL.cc: ditto. | |
7825 * SparsedbleCHOL.h: ditto. | |
7826 | |
7827 * Makefile.in (MATRIX_INC): Include sparse-base-chol.h. | |
7828 (INCLUDES): Include sparse-util.h | |
7829 (TEMPLATE_SRC): Include sparse-base-chol.cc | |
7830 (MATRIX_SRC): Include SparseCmplxCHOL.cc and SparsedbleCHOL.cc | |
9967 | 7831 |
5489 | 7832 2005-10-12 John W. Eaton <jwe@octave.org> |
7833 | |
7834 * oct-env.cc (octave_env::have_x11_display): New function. | |
7835 * oct-env.h: Provide decl. | |
7836 | |
5476 | 7837 2005-09-29 John W. Eaton <jwe@octave.org> |
7838 | |
7839 * file-stat.h (file_stat::mode): New function. | |
7840 | |
7841 * file-stat.cc (file_stat::is_blk, file_stat::is_chr, | |
7842 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
7843 file_stat::is_reg, file_stat::is_sock): New static functions. | |
7844 * file-stat.h: Provide decls. | |
7845 | |
7846 2005-09-28 John W. Eaton <jwe@octave.org> | |
7847 | |
7848 * file-ops.cc (file_ops::recursive_rmdir): New function. | |
7849 * file-ops.h: Provide decl. | |
7850 | |
5454 | 7851 2005-09-19 David Bateman <dbateman@free.fr> |
7852 | |
7853 * oct-env.cc (octave_env::do_get_home_directory): | |
7854 Also check HOMEDRIVE under mingw. | |
7855 | |
5455 | 7856 * Makefile.in (LINK_DEPS): Include UFsparse libraries. |
7857 | |
5453 | 7858 2005-09-16 John W. Eaton <jwe@octave.org> |
7859 | |
7860 * oct-syscalls.cc: Include lo-utils.h here. | |
7861 (octave_syscalls::waitpid): Call octave_waitpid here. | |
7862 | |
7863 * lo-cutils.c (octave_waitpid): New function. | |
7864 * lo-utils.h: Provide decl. Include syswait.h here, not in | |
7865 oct-syscalls.cc | |
9967 | 7866 |
5453 | 7867 |
7868 * syswait.h [__MINGW32__]: Define WAITPID here instead of defining | |
7869 waitpid in src/sysdep.h. Make this header C-compatible. | |
7870 | |
7871 * oct-syscalls.cc (octave_syscalls::waitpid): New arg, status. | |
7872 Change all uses. | |
7873 | |
5451 | 7874 2005-09-15 John W. Eaton <jwe@octave.org> |
7875 | |
7876 * Makefile.in (MAKEDEPS_2): Omit unnecessary variable. | |
7877 | |
7878 * oct-sparse.h.in: New file. | |
7879 * Makefile.in (DISTFILES): Include it in the list. | |
7880 (INCLUDES): Add oct-sparse.h to the list. | |
7881 | |
7882 2005-09-15 David Bateman <dbateman@free.fr> | |
7883 | |
9967 | 7884 * dSparse.cc : Include oct-sparse.h for probed umfpack, colamd etc |
5451 | 7885 headers. Remove include of umfpack.h. |
7886 * CSparse.cc : ditto. | |
7887 * SparsedbleLU.cc : ditto. | |
7888 * SparseCmplxLU.cc : ditto. | |
7889 | |
7890 * COLAMD : Remove colamd files from octave. | |
7891 * COLAMD.files : delete. | |
7892 * COLAMD.README : delete. | |
7893 * Makefile.in: Remove COLAMD. Add LIBGLOB. | |
9967 | 7894 (LN_S): Change to DESTDIR before LN_S to avoid lack of symlinks |
5451 | 7895 under mingw. |
7896 | |
7897 * kpse.cc (ENV_SEP, ENV_SEP_STRING): Use SEPCHAR and SEPCHAR_STR | |
7898 in definition. | |
7899 * lo-cutils.c (octave_w32_library_search): Call GetProcAddress with | |
7900 change of cast not allowed under g++ 3.x. | |
7901 * lo-utils.h (octave_w32_library_search): Declaration. | |
7902 * oct-env.cc (do_get_home_directory): Also check HOMEPATH under mingw. | |
7903 * oct-shlib.cc (octave_w32_shlib::search): Use octave_w32_library_search. | |
7904 | |
5442 | 7905 2005-09-07 John W. Eaton <jwe@octave.org> |
7906 | |
7907 * cmd-edit.cc (command_editor::do_decode_prompt_string): Update | |
7908 based on current code in Bash. Handle a few more escape | |
7909 sequences. Do a better job of decoding \W. | |
7910 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
7911 2005-09-04 David Bateman <dbateman@free.fr> |
5438 | 7912 |
7913 * COLAMD: Update version of colamd to v2.4. | |
9967 | 7914 * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of |
5438 | 7915 colamd.c for long version. |
7916 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
7917 2005-08-25 David Bateman <dbateman@free.fr> |
5429 | 7918 |
7919 * Sparse-op-defs.h (FULL_SPARSE_MUL, SPARSE_FULL_MUL): Macro for | |
7920 mixed sparse/full multiply. | |
7921 * dSparse.cc (operator *), CSparse.cc (operator *): New operators for | |
7922 mixed sparse/full multiply. | |
7923 * dSparse.h (operator *), CSparse.h (operator *): Declaration of | |
7924 mixed sparse/full multiply operators. | |
7925 | |
5420 | 7926 2005-07-25 Erik de Castro Lopo <erikd@zip.com.au> |
7927 | |
7928 * oct-inttypes.h (OCTAVE_S_US_FTR): Compare <= 0 instead of < 0 to | |
7929 avoid warnings for unsigned types. | |
7930 | |
5404 | 7931 2005-07-07 John W. Eaton <jwe@octave.org> |
7932 | |
7933 * dSparse.cc (SparseMatrix::factorize): Initialize Numeric to 0. | |
7934 * CSparse.cc (SparseComplexMatrix::factorize:) Likewise. | |
7935 | |
5392 | 7936 2005-06-15 John W. Eaton <jwe@octave.org> |
7937 | |
5394 | 7938 * oct-rl-edit.c (flush_stdout): Rename from no_redisplay. |
7939 Flush stdout here. | |
7940 (octave_rl_clear_screen): Set rl_redisplay_function to flush_stdout. | |
7941 | |
5392 | 7942 * Array.h (Array::resize): Change int args to octave_idx_type. |
7943 | |
5386 | 7944 2005-06-14 John W. Eaton <jwe@octave.org> |
7945 | |
5389 | 7946 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
7947 dSparse.cc, lo-cieee.c, lo-mappers.cc: Change all uses of | |
7948 octave_is_NaN_or_NA to xisnan. | |
7949 | |
7950 * lo-mappers.h (octave_is_NaN_or_NA): Mark with GCC_ATTR_DEPRECATED. | |
7951 * lo-ieee.h (lo_ieee_is_NaN_or_NA): Likewise. | |
7952 | |
7953 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Now just a wrapper for | |
7954 lo_ieee_isnan. | |
7955 | |
5387 | 7956 * dMatrix.cc (Matrix::too_large_for_float): Only check if abs |
7957 value is greater than FLT_MAX. | |
7958 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
7959 * dNDArray.cc (NDArray::too_large_for_float): Ditto. | |
7960 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
7961 | |
7962 * dMatrix.cc (Matrix::too_large_for_float): Special case Inf | |
7963 values too. | |
7964 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
7965 | |
7966 * dNDArray.cc (NDArray::too_large_for_float): Likewise for NaN, | |
7967 NA, Inf values. | |
7968 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
5386 | 7969 |
5385 | 7970 2005-06-14 David Bateman <dbateman@free.fr> |
7971 | |
5387 | 7972 * dMatrix.cc (Matrix::too_large_for_float): Special case NaN and |
7973 NA values. | |
7974 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
5385 | 7975 |
5379 | 7976 2005-06-02 John W. Eaton <jwe@octave.org> |
7977 | |
7978 * Array.cc (assignN): Try harder to correctly resize previously | |
7979 empty LHS. | |
7980 | |
5351 | 7981 2005-05-16 David Bateman <dbateman@free.fr> |
7982 | |
7983 * dSparse.h: Change UMFPACK_LONG_IDX to IDX_TYPE_LONG. | |
7984 * CSparse.h: ditto. | |
7985 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
7986 2005-05-10 David Bateman <dbateman@free.fr> |
5346 | 7987 |
7988 * dSparse.cc (determinant): Free numeric factorization after | |
7989 sucessful calculation. | |
7990 * CSparse.cc (determinant): ditto. | |
7991 | |
5340 | 7992 2005-05-06 John W. Eaton <jwe@octave.org> |
7993 | |
7994 * dbleCHOL.cc (CHOL::init): Use xelem instead of elem for indexing | |
7995 chol_mat. | |
7996 (chol2mat_internal, chol2mat, CHOL::inverse): New functions. | |
7997 * dbleCHOL.h (chol2mat_internal, chol2mat, CHOL::inverse): | |
7998 Provide decls. | |
7999 | |
8000 * CmplxChol.cc (ComplexCHOL::init): Use xelem instead of elem for | |
8001 indexing chol_mat. | |
8002 (chol2mat_internal, chol2mat, ComplexCHOL::inverse): New functions. | |
8003 * CmplxCHOL.h (chol2mat_internal, chol2mat, CmplxCHOL::inverse): | |
8004 Provide decls. | |
8005 | |
5338 | 8006 2005-05-05 John W. Eaton <jwe@octave.org> |
8007 | |
8008 * Array.cc (Array<T>::permute): Call chop_trailing_singletons on | |
8009 retval before return. | |
8010 | |
5336 | 8011 2005-05-04 John W. Eaton <jwe@octave.org> |
8012 | |
8013 * cmd-edit.cc (gnu_readline::do_readline): Extract const char* | |
8014 from prompt outside of INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE block. | |
8015 | |
5330 | 8016 2005-05-02 John W. Eaton <jwe@octave.org> |
8017 | |
8018 * Makefile.in (LINK_DEPS): List $(UMFPACK_LIBS) ahead of $(BLAS_LIBS). | |
8019 From Dmitri A. Sergatskov <dasergatskov@gmail.com>. | |
8020 | |
5322 | 8021 2005-04-29 David Bateman <dbateman@free.fr> |
8022 | |
5330 | 8023 * dSparse.cc (trisolve): Diagonal passed to lapack zptsv is type |
8024 double. Correct indexing for upper diagonal elements for sparse | |
8025 tridiagonal. | |
5322 | 8026 * CSparse.cc (trisolve): ditto. |
8027 | |
5330 | 8028 * CSparse.h (UMFPACK_ZNAME): Define macro to pick version of |
8029 UMFPACK for 64-bit. | |
9967 | 8030 * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with |
5322 | 8031 UMFPACK_ZNAME(*). |
8032 * SparseCmplxLU.cc (UMFPACK_ZNAME): ditto | |
8033 | |
5330 | 8034 * dSparse.h (UMFPACK_DNAME): Define macro to pick version of |
8035 UMFPACK for 64-bit. | |
9967 | 8036 * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with |
5322 | 8037 UMFPACK_DNAME(*). |
8038 * SparsedbleLU.cc (UMFPACK_DNAME): ditto | |
8039 | |
5330 | 8040 * dSparse.cc (ltsolve, utsolve): Correct permuted upper/lower |
8041 triangular back/forward substitution code. | |
5322 | 8042 * CSparse.cc (ltsolve, utsolve): ditto. |
8043 | |
5330 | 8044 * dSparse.cc (solve): Use mattype.type (false) to force messaging |
8045 from spparms("spumoni",1). | |
5322 | 8046 * CSparse.cc (solve): ditto |
8047 | |
5330 | 8048 * SparseType.cc (SparseType(void)): Print info for |
8049 spparms("spumoni",1). | |
5322 | 8050 (SparseType(const matrix_type), SparseType(const matrix_type, const |
8051 octave_idx_type, const octave_idx_type*), SparseType(const matrix_type, | |
8052 const octave_idx_type, const octave_idx_type)): New constructors. | |
8053 (SparseType (const SparseMatrix&), SparseType (SparseComplexMatrix&)): | |
5330 | 8054 Detect row permuted lower triangular and column permuted upper |
8055 triangular matrices. Remove one of the permutation vectors.. | |
5322 | 8056 |
8057 * SparseType.h: Simplify the permutation code. | |
8058 (SparseType(const matrix_type), SparseType | |
9967 | 8059 (const matrix_type, const octave_idx_type, const octave_idx_type*), |
8060 SparseType(const matrix_type, const octave_idx_type, | |
5322 | 8061 const octave_idx_type)): Declarations. |
9967 | 8062 |
5304 | 8063 2005-04-25 John W. Eaton <jwe@octave.org> |
8064 | |
8065 * str-vec.cc (string_vector::delete_c_str_vec): Correctly free | |
8066 array and its contents. | |
8067 | |
5303 | 8068 2005-04-22 John W. Eaton <jwe@octave.org> |
8069 | |
8070 * oct-rl-edit.c (octave_rl_set_terminal_name): Don't cast away | |
8071 const here now that rl_terminal_name is declared const char*. | |
8072 | |
5294 | 8073 2005-04-21 John W. Eaton <jwe@octave.org> |
8074 | |
8075 * Makefile.in (DISTFILES): Include oct-types.h.in in the list. | |
8076 | |
5285 | 8077 2005-04-19 John W. Eaton <jwe@octave.org> |
8078 | |
8079 * Array.cc (assignN): Don't crash if the index list is empty. | |
8080 | |
5282 | 8081 2005-04-14 David Bateman <dbateman@free.fr> |
8082 | |
8083 * SparseCmplxLU.cc: Add flags for incomplete factorization. | |
8084 * SparsedbleLU.cc: Ditto. | |
8085 * SparseCmplxLU.h: Definition. | |
8086 * SparsedbleLU.h: ditto. | |
8087 | |
8088 * SparseType.cc (transpose): New function. | |
8089 * SparseType.h (transpose): Definition. | |
9967 | 8090 |
5278 | 8091 2005-04-11 John W. Eaton <jwe@octave.org> |
8092 | |
8093 * lo-specfun.cc: Use F77_XFCN instead of F77_FUNC for calls to | |
8094 fortran code that could end up calling XSTOPX. | |
8095 | |
5277 | 8096 2005-04-10 David Bateman <dbateman@free.fr> |
8097 | |
9967 | 8098 * Makefile.in: include oct-types in INCLUDES so that it is |
5277 | 8099 installed |
9967 | 8100 |
5275 | 8101 2005-04-08 John W. Eaton <jwe@octave.org> |
8102 | |
5276 | 8103 * Makefile.in (clean): Use exact filenames instead of *.xxx. |
8104 | |
5275 | 8105 * Initial merge of 64-bit changes from Clinton Chee: |
8106 | |
8107 2005-04-07 John W. Eaton <jwe@octave.org> | |
8108 | |
8109 * MArray-i.cc, Array-i.cc: Instantiate Array<long> and MArray<long>. | |
8110 | |
8111 * CSparse.cc, CSparse.h, MSparse.cc, MSparse.h, Sparse-op-defs.h, | |
8112 Sparse.cc, Sparse.h, SparseCmplxLU.cc, SparseType.cc, | |
8113 SparseType.h, SparsedbleLU.cc, boolSparse.cc, boolSparse.h, | |
8114 dSparse.cc, dSparse.h, sparse-base-lu.cc: | |
8115 Use octave_idx_type instead of int where needed. | |
8116 | |
8117 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
8118 | |
8119 * Array-util.cc, Array-util.h, Array.cc,Array.h, Array2.h, | |
8120 Array3.h, ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
8121 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
8122 CMatrix.h, CNDArray.cc, CNDArray.h, CRowVector.cc, CRowVector.h, | |
8123 CmplxAEPBAL.cc, CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, | |
8124 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
8125 CmplxSCHUR.cc, CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, | |
8126 CollocWt.h, DAEFunc.h, DASPK-opts.in,DASPK.cc,DASPK.h, | |
8127 DASRT-opts.in, DASRT.cc, DASRT.h, DASSL-opts.in, DASSL.cc, | |
8128 DASSL.h, DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, | |
8129 FEGrid.h, LPsolve.cc, LPsolve.h, LSODE-opts.in, LSODE.cc, LSODE.h, | |
8130 MArray-defs.h, MArray.cc, MArray.h, MArray2.cc, MArray2.h, | |
8131 MArrayN.cc, MDiagArray2.cc, MDiagArray2.h, NLConst.h, NLEqn.cc, | |
8132 NLEqn.h, Quad.cc, Quad.h, Range.cc,Range.cc, Range.h, base-de.h, | |
8133 base-lu.cc, base-lu.h, base-min.h, boolMatrix.cc, boolMatrix.h, | |
8134 boolNDArray.cc, boolNDArray.h, chMatrix.cc, chMatrix.h, | |
8135 chNDArray.cc, chNDArray.h, dColVector.cc, dColVector.h, | |
8136 dDiagMatrix.cc, dDiagMatrix.h, dMatrix.cc, dMatrix.h, | |
8137 dNDArray.cc,dNDArray.cc, dNDArray.h, dRowVector.cc, dRowVector.h, | |
8138 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleHESS.cc, | |
8139 dbleHESS.h, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
8140 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, dim-vector.h, idx-vector.cc, | |
8141 idx-vector.h, intNDArray.cc, intNDArray.h, lo-specfun.cc, | |
8142 lo-specfun.h, mach-info.cc, mx-inlines.cc, oct-fftw.cc, | |
8143 oct-fftw.h, oct-rand.cc, oct-rand.h, so-array.cc, so-array.h, | |
8144 str-vec.cc, str-vec.h: | |
8145 Use octave_idx_type instead of int where needed. | |
8146 | |
8147 2005-04-01 John W. Eaton <jwe@octave.org> | |
8148 | |
8149 * dim-vector.h, lo-utils.h: Include oct-types.h. | |
8150 | |
8151 * oct-types.h.in: New file. | |
8152 | |
8153 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
8154 | |
8155 * lo-utils.cc (NINTbig): New function. | |
8156 * lo-utils.h: Provide decl. | |
8157 | |
5269 | 8158 2005-04-06 David Bateman <dbateman@free.fr> |
8159 | |
8160 * Makefile.in: Link to UMFPACK_LIBS. | |
8161 | |
5265 | 8162 2005-04-05 John W. Eaton <jwe@octave.org> |
8163 | |
8164 * Array.cc (assignN): Avoid shadowed declaration in previous change. | |
8165 | |
5264 | 8166 2005-04-01 John W. Eaton <jwe@octave.org> |
8167 | |
8168 * Array.cc (assignN): For A(IDX-LIST) = RHS with A previously | |
8169 undefined, correctly match colons in IDX-LIST with RHS dimensions | |
8170 when resizing A. When performing the assignment, just check that | |
8171 the number of elements in RHS matches the number of elements | |
8172 indexed by IDX-LIST. | |
8173 | |
5260 | 8174 2005-03-30 John W. Eaton <jwe@octave.org> |
8175 | |
5261 | 8176 * lo-mappers.cc (log10, tan, tanh): Delete functions. |
8177 * lo-mappers.h (log10, tan, tanh): Delete decls. | |
8178 | |
8179 * CColVector.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, | |
8180 dSparse.cc: Use std:: for Complex functions instead of relying on | |
8181 wrappers from oct-cmplx.h. | |
5260 | 8182 |
8183 * oct-cmplx.h: Provide typedef only. | |
8184 | |
8185 * DiagArray2.cc (xelem): Don't use initializer for static data. | |
8186 * DiagArray2.h (DiagArray<T>::Proxy::operator T ()): | |
8187 Likewise. | |
8188 | |
5247 | 8189 2005-03-26 John W. Eaton <jwe@octave.org> |
8190 | |
8191 * cmd-edit.cc (do_readline): Wrap call to ::octave_rl_readline | |
8192 with {BEGIN,END}_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE. | |
8193 | |
5209 | 8194 2005-03-15 John W. Eaton <jwe@octave.org> |
8195 | |
8196 * Makefile.in (MATRIX_INC): Remove oct-spparms.h from the list. | |
8197 | |
5203 | 8198 2005-03-14 John W. Eaton <jwe@octave.org> |
8199 | |
8200 * Makefile.in (DISTFILES): Don't include $(UMFPACK_EXTRAS). | |
8201 (DISTDIRS): Don't include UMFPACK. | |
8202 (LIBOCTAVE_OBJECTS): Don't include $(UMFPACK_OBJ). | |
8203 (UMFPACK_SPECIAL_1, UMFPACK_SPECIAL): No need for special include | |
8204 flags for these files. | |
8205 Don't include include $(srcdir)/UMFPACK.files. | |
8206 Don't include include $(srcdir)/UMFPACK.rules. | |
8207 | |
8208 * UMFPACK.README, UMFPACK.files, UMFPACK.patch, UMFPACK.rules: | |
8209 Delete files. | |
8210 * UMFPACK: Delete directory tree. | |
8211 | |
8212 * dSparse.cc: Include <umfpack/umfpack.h> instead of just "umfpack.h". | |
8213 * CSparse.cc: Likewise. | |
8214 * SparsedbleLU.cc: Likewise. | |
8215 * SparseCmplxLU.cc: Likewise. | |
8216 | |
8217 2005-03-14 David Bateman <dbateman@free.org> | |
8218 | |
8219 * CSParse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc: | |
8220 Allow compilation to succeed if UMFPACK is not available. | |
8221 | |
5196 | 8222 2005-03-09 John W. Eaton <jwe@octave.org> |
8223 | |
8224 * Makefile.in (bin-dist): Delete target. | |
8225 (BINDISTLIBS, BINDISTFILES): Delete variables. | |
8226 | |
5173 | 8227 2005-03-01 John W. Eaton <jwe@octave.org> |
8228 | |
8229 * ODESSA.h, ODESSA.cc, ODESSA-opts.in: Delete. | |
8230 * Makefile.in: Remove them from the lists. | |
8231 | |
5169 | 8232 2005-02-28 John W. Eaton <jwe@octave.org> |
8233 | |
8234 * Makefile.in (LINK_DEPS): Remove -lglob from the list. | |
8235 | |
5167 | 8236 2005-02-27 David Bateman <dbateman@free.org> |
8237 | |
5169 | 8238 * Sparse.cc (Sparse<T>::reshape): Set cidx for the N last elements |
8239 in the sparse matrix. | |
9967 | 8240 |
5164 | 8241 2005-02-25 John W. Eaton <jwe@octave.org> |
8242 | |
8243 Sparse merge. | |
8244 | |
8245 2005-02-13 David Bateman <dbateman@free.fr> | |
8246 | |
8247 * CSparse.cc (SparseComplexMatrix:dsolve, SparseComplexMatrix:utsolve, | |
8248 SparseComplexMatrix::ltsolve, SparseComplexMatrix::trisolve, | |
8249 SparseComplexMatrix::bsolve, SparseComplexMatrix:fsolve): Split sparse | |
9967 | 8250 solver into separate functions for the diagonal, upper, lower |
5164 | 8251 triangular, tridiagonal, banded and full cases. |
8252 (SparseComplexMatrix::solve): rewrite to call the above function. One | |
8253 version that probes the matrix type and another that assumes the type | |
8254 is passed. | |
8255 | |
8256 * dSparse.cc (SparseMatrix:dsolve, SparseMatrix:utsolve, | |
8257 SparseMatrix::ltsolve, SparseMatrix::trisolve, | |
8258 SparseMatrix::bsolve, SparseMatrix:fsolve): Likewise | |
8259 (SparseMatrix::solve): Likewise | |
8260 | |
8261 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
8262 Declaration of new functions | |
8263 * dSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
8264 Likewise | |
8265 | |
8266 * CSparse.cc (operator !): Reverse the sense of the test. | |
8267 * dSpase.cc (operator !): Likewise | |
8268 | |
8269 * dSparse.h (type, band_size, is_dense, triangular_row_perm, | |
8270 triangular_col_perm, sparse_info): Remove matrix type code | |
8271 * CSparse.h (type, band_size, is_dense, triangular_row_perm, | |
8272 triangular_col_perm, sparse_info): Likewise | |
8273 * boolSparse.h (type, band_size, is_dense, triangular_row_perm, | |
8274 triangular_col_perm, sparse_info): Likewise | |
8275 * MSparse.h (type, band_size, is_dense, triangular_row_perm, | |
8276 triangular_col_perm, sparse_info): Likewise | |
8277 * Sparse.h (type, band_size, is_dense, triangular_row_perm, | |
8278 triangular_col_perm, sparse_info, matrix_type): Likewise | |
8279 | |
8280 * Sparse.cc (type, sparse_info, band_size): Remove type code | |
9967 | 8281 |
5164 | 8282 * SparseType.h: New class for the matrix type used in solvers |
8283 * SparseType.cc: methods of sparse matrix type class | |
9967 | 8284 |
5164 | 8285 * Makefile.in: Add SparseType.cc |
8286 | |
8287 2005-02-01 David Bateman <dbateman@free.fr> | |
8288 | |
8289 * UMFPACK: Update to version 4.4 | |
8290 * UMFPACK.patch: Version 4.4 contains most of the previous patch. Only | |
8291 keep octave specific test files | |
8292 | |
8293 2005-01-23 David Bateman <dbateman@free.fr> | |
8294 | |
8295 * dSparse.cc (SparseMatrix::solve): Include tridiagonal, cholesky | |
8296 tridiagonal and banded cholesky solvers. Remove calculation of | |
8297 condition number for banded solvers. | |
8298 * CSparse.cc (SparseComplexMatrix::solve): ditto. | |
8299 | |
8300 * Sparse.h (int type (int) const, bool is_dense (void) const): | |
8301 new functions. | |
8302 * MSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
8303 * dSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
8304 * CSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
9967 | 8305 * boolSparse.h (int type (int) const, bool is_dense (void) const): |
5164 | 8306 ditto |
8307 | |
9967 | 8308 * Sparse.cc (int Sparse<T>::type (int) const, |
5164 | 8309 bool Sparse<T>::is_dense (void) const): New functions definition |
9967 | 8310 |
5164 | 8311 * Sparse.h (matrix_type typ): Move caching of matrix type to SparseRep, |
8312 so it actually is cached, but disable | |
8313 | |
8314 * oct-spparms.cc (SparseParams::init_keys): Change spmoni to spumoni | |
8315 for compatiability | |
9967 | 8316 |
5164 | 8317 2005-01-18 David Bateman <dbateman@free.fr> |
8318 | |
8319 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
8320 Modify calculation of number elements to skip between copied blocks. | |
8321 | |
8322 2005-01-07 David Bateman <dbateman@free.fr> | |
8323 | |
8324 * Sparse.h : Reverse definitions of numel and nelem. | |
8325 * Sparse.cc (assign1): Use numel and not nelem | |
8326 * Sparse-op-def.h: Replace all uses of nelem with numel | |
9967 | 8327 |
5164 | 8328 2005-01-07 David Bateman <dbateman@free.fr> |
8329 | |
8330 * dbleDET.h: Make SparseMatrix a friend of the class DET | |
9967 | 8331 * CmplexDET.h: Make SparseComplexMatrix a friend of the class |
5164 | 8332 ComplexDET |
9967 | 8333 * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET |
5164 | 8334 by DET |
8335 * dSparse.h (determinant): ditto | |
9967 | 8336 * CSparse.cc (SparseComplexMatrix::determinant): Replace use of |
5164 | 8337 SparseComplexDET by ComplexDET |
8338 * CSparse.h (determinant): ditto | |
9967 | 8339 * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, |
5164 | 8340 SparseCmplxDET.cc: delete files |
8341 * Makefile.in: Delete reference to SparsedbleDET.h, SparsedbleDET.cc, | |
8342 SparseCmplxDET.h andSparseCmplxDET.cc. | |
8343 | |
9967 | 8344 * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in |
5164 | 8345 local variable to avoid variable shadowing. |
8346 * dSparse.cc (SparseMatrix::solve): ditto. | |
9967 | 8347 |
8348 * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc | |
5164 | 8349 dSparse.h MSparse.cc MSparse-C.cc MSparse-d.cc MSparse-defs.h |
9967 | 8350 MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc |
8351 Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc | |
8352 SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc | |
5164 | 8353 sparse-sort.h: Remove additional licensing clause with authors |
8354 permission. | |
9967 | 8355 |
5164 | 8356 2004-12-30 John W. Eaton <jwe@octave.org> |
8357 | |
8358 * MSparse.cc (SPARSE_A2S_OP_2, SPARSE_SA2_OP_2): | |
8359 Loop counter is int, not size_t. | |
8360 | |
8361 * oct-spparms.cc (SparseParams::operator =): Return *this. | |
8362 | |
8363 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Delete unused variable tmpval. | |
8364 | |
8365 * dSparse.cc (operator << (ostream&, const SparseMatrix&), atan2): | |
8366 Delete unused variables. | |
8367 (SparseMatrix::solve): Avoid warnings about uninitialized | |
8368 variables and variables that might be clobbered by longjmp. | |
8369 | |
8370 * CSparse.cc (operator << (ostream&, const SparseComplexMatrix&), | |
8371 min, max): Delete unused variables. | |
8372 (SparseComplexMatrix::solve): Avoid warnings about uninitialized | |
8373 variables and variables that might be clobbered by longjmp. | |
8374 | |
8375 * Makefile.in (UMFPACK_SPECIAL): Include .d files in the list. | |
8376 | |
8377 * Sparse-op-defs.h (SPARSE_SMS_BIN_OP_2, SPARSE_SSM_BIN_OP_2): | |
8378 Loop counter is int, not size_t. | |
8379 | |
8380 * CSparse.cc (SparseComplexMatrix::hermitian): Avoid shadow warnings. | |
8381 * Sparse.cc (Sparse<T>::Sparse, Sparse<T>::type, assign): Likewise. | |
9967 | 8382 |
5164 | 8383 * Sparse.h (Sparse::SparseRep): Order data members and initializer |
8384 lists consistently. | |
8385 | |
8386 * mx-base.h: Include boolSparse.h, dSparse.h, and CSparse.h. | |
8387 | |
8388 2004-12-29 John W. Eaton <jwe@octave.org> | |
8389 | |
8390 * COLAMD.files (COLAMD_EXTRAS): New variable. | |
8391 * UMFPACK.files (UMFPACK_EXTRAS): New variable. | |
8392 * Makefile.in (DISTFILES): Add $(COLAMD_EXTRAS) and | |
8393 $(UMFPACK_EXTRAS) to the list. | |
8394 (DISTDIRS): New variable. | |
8395 (dist): Handle $(DISTDIRS). | |
8396 | |
9967 | 8397 Merge of sparse code from David Bateman <dbateman@free.fr> and |
5164 | 8398 Andy Adler <adler@site.uottawa.ca>. |
8399 | |
8400 * Makefile.in (VPATH): ADD @srcdir@/COLAMD to the list. | |
8401 | |
8402 * Makefile.in (MAKEDEPS): Include $(COLAMD_SRC) and $(UMFPACK_SRC) | |
8403 without directory prefix. | |
8404 | |
8405 * Makefile.in (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJ) and | |
8406 $(UMFPACK_OBJ) to the list. | |
8407 | |
8408 * COLAMD: New directory. | |
8409 * COLAMD.files: New file. | |
8410 * Makefile.in: Include COLAMD.files. | |
8411 (SOURCES): Add $(COLAMD_SOURCES) to the list. | |
8412 (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJECTS) to the list. | |
8413 (INCLUDES): Add $(COLAMD_INCLUDES) to the list. | |
8414 | |
8415 * UMFPACK: New directory. | |
8416 * UMFPACK.patch, UMFPACK.README, UMFPACK.files, UMFPACK.rules: | |
8417 New files. | |
8418 * Makefile.in: Include UMFPACK.files and UMFPACK.rules. | |
8419 (SOURCES): Add $(UMFPACK_SOURCES) to the list. | |
8420 (LIBOCTAVE_OBJECTS): Add $(UMFPACK_OBJECTS) to the list. | |
8421 (INCLUDES): Add $(UMFPACK_INCLUDES) to the list. | |
8422 | |
8423 * Makefile.in (SPARSE_MX_OP_INC): New variable. | |
8424 (INCLUDES): Add it to the list. | |
8425 (SPARSE_MX_OP_SRC): New variable. | |
8426 (LIBOCTAVE_CXX_SOURCES): Add it to the list. | |
8427 (distclean): Remove $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
8428 (stamp-prereq): Depend on $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
8429 | |
8430 * sparse-mk-ops.awk, sparse-mx-ops: New files. | |
8431 * Makefile.in (DISTFILES): Add them to the lists. | |
8432 | |
8433 * oct-spparms.h, sparse-sort.h: New files. | |
8434 * Makefile.in (INCLUDES): Add them to the list. | |
8435 | |
8436 * oct-spparms.cc, sparse-sort.cc: New files. | |
8437 * Makefile.in (LIBOCTAVE_CXX_SOURCES): Add them to the list. | |
8438 | |
8439 * sparse-base-lu.cc: New file. | |
8440 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
8441 | |
8442 * boolSparse.cc, CSparse.cc, dSparse.cc, MSparse.cc, Sparse.cc, | |
8443 SparseCmplxDET.cc, SparseCmplxLU.cc, SparsedbleDET.cc, | |
8444 SparsedbleLU.cc: New files. | |
8445 * Makefile.in (MATRIX_SRC): Add them to the list. | |
9967 | 8446 |
5164 | 8447 * boolSparse.h, CSparse.h, dSparse.h, MSparse-defs.h, MSparse.h, |
8448 Sparse.h, oct-spparms.h, sparse-base-lu.h, SparseCmplxDET.h, | |
8449 SparseCmplxLU.h, SparsedbleDET.h, SparsedbleLU.h, | |
8450 Sparse-op-defs.h: New files. | |
8451 * Makefile.in (MATRIX_INC): Add them to the appropriate lists. | |
8452 | |
8453 * MSparse-d.cc, MSparse-C.cc, Sparse-b.cc, Sparse-d.cc, | |
8454 Sparse-C.cc: New files. | |
8455 * Makefile.in (TI_SRC): Add them to the list. | |
8456 | |
5149 | 8457 2005-02-18 John W. Eaton <jwe@octave.org> |
8458 | |
8459 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_RESOLVEPATH]: | |
8460 Pass current directory to octave_env::make_absolute. | |
8461 Save value returned from octave_env::make_absolute in local var. | |
8462 Pass const char*, not std::string as first arg of resolvepath. | |
8463 Provide decl for resolved_len. | |
8464 | |
5148 | 8465 2005-02-18 John W. Eaton <jwe@octave.org> |
8466 | |
8467 * Array.cc (Array<T>::permute): Allow permutation vector longer | |
8468 than number of dimenensions of permuted matrix. | |
8469 | |
8470 * Array.cc (Array<T>::permute): Use zero-based indexing for perm_vec. | |
8471 * Array-util.cc (calc_permutated_idx): Likewise. | |
8472 | |
5139 | 8473 2005-02-10 David Bateman <dbateman@free.fr> |
8474 | |
8475 * CNDArray.cc (ComplexNDarray::operator !): Change sense of test. | |
8476 * CMatrix.cc (ComplexMatrix::operator !): Likewise. | |
8477 | |
5137 | 8478 2005-02-09 John W. Eaton <jwe@octave.org> |
8479 | |
5138 | 8480 * file-ops.cc (file_ops::canonicalize_file_name): New functions. |
8481 * file-ops.h: Provide decls. | |
8482 | |
5137 | 8483 * kpse.cc (kpse_tilde_expand): Simply return NAME if it is empty. |
8484 | |
5136 | 8485 2005-02-08 John W. Eaton <jwe@octave.org> |
8486 | |
8487 * Array-util.cc (freeze): Improve error message. | |
8488 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
8489 2005-01-26 David Bateman <dbateman@free.fr> |
5120 | 8490 |
5121 | 8491 * Array.cc (Array<T>::insert): Handle generic case, not just |
8492 special case for fast concatenation. | |
5120 | 8493 |
5110 | 8494 2005-01-18 John W. Eaton <jwe@octave.org> |
8495 | |
8496 * mx-inlines.cc (MX_ND_REDUCTION): Delete RET_ELT_TYPE arg. | |
8497 Change all uses. Use VAL instead of RET_ELT_TYPE when resizing. | |
8498 | |
8499 * dNDArray.cc (NDArray::any): NaN does not count as a nonzero value. | |
8500 * CNDArray.cc (ComplexNDArray::any): Likewise. | |
8501 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
8502 2005-01-18 David Bateman <dbateman@free.fr> |
5108 | 8503 |
8504 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
8505 Modify calculation of number elements to skip between copied blocks. | |
8506 | |
8507 2005-01-18 John W. Eaton <jwe@octave.org> | |
8508 | |
8509 * idx-vector.cc (IDX_VEC_REP::freeze): Call warning handler, not | |
8510 error handler, to warn about resizing. | |
8511 | |
5105 | 8512 2004-12-27 Martin Dalecki <martin@dalecki.de> |
8513 | |
8514 * Array.cc, ArrayN.cc, base-lu.cc, boolMatrix.cc, boolNDArray.cc, | |
8515 Bounds.cc, CColVector.cc, CDiagMatrix.cc, chMatrix.cc, | |
8516 chNDArray.cc, CMatrix.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, | |
8517 CmplxDET.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
8518 CmplxSCHUR.cc, CmplxSVD.cc, CNDArray.cc, CollocWt.cc, | |
8519 CRowVector.cc, DASPK.cc, DASRT.cc, DASSL.cc, dbleAEPBAL.cc, | |
8520 dbleCHOL.cc, dbleDET.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, | |
8521 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, dColVector.cc, | |
8522 dDiagMatrix.cc, DiagArray2.cc, dMatrix.cc, dNDArray.cc, | |
8523 dRowVector.cc, EIG.cc, FEGrid.cc, idx-vector.cc, int16NDArray.cc, | |
8524 int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, intNDArray.cc, | |
8525 LinConst.cc, LPsolve.cc, LSODE.cc, MArray2.cc, MArray.cc, | |
8526 MArrayN.cc, MDiagArray2.cc, NLEqn.cc, oct-alloc.cc, ODES.cc, | |
8527 ODESSA.cc, Quad.cc, Range.cc, so-array.cc, uint16NDArray.cc, | |
8528 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: | |
8529 Delete #pragma implementation. | |
8530 | |
8531 * Array2.h, Array3.h, Array.h, ArrayN.h, base-lu.h, boolMatrix.h, | |
8532 boolNDArray.h, Bounds.h, CColVector.h, CDiagMatrix.h, chMatrix.h, | |
8533 chNDArray.h, CMatrix.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, | |
8534 CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, | |
8535 CmplxSVD.h, CNDArray.h, CollocWt.h, CRowVector.h, DASPK.h, | |
8536 DASRT.h, DASSL.h, dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, | |
8537 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, | |
8538 dColVector.h, dDiagMatrix.h, DiagArray2.h, dim-vector.h, | |
8539 dMatrix.h, dNDArray.h, dRowVector.h, EIG.h, FEGrid.h, | |
8540 idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
8541 int8NDArray.h, intNDArray.h, LinConst.h, LPsolve.h, LSODE.h, | |
8542 MArray2.h, MArray.h, MArrayN.h, MDiagArray2.h, NLConst.h, NLEqn.h, | |
8543 ODES.h, ODESSA.h, Quad.h, Range.h, so-array.h, uint16NDArray.h, | |
8544 uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: | |
8545 Delete #pragma interface. | |
8546 | |
5098 | 8547 2004-12-17 John W. Eaton <jwe@octave.org> |
8548 | |
8549 * lo-cieee.c (lo_ieee_signbit): New function. | |
8550 * lo-ieee.h: Provide decl. | |
8551 Don't define lo_ieee_signbit as a macro here. | |
8552 From Orion Poplawski <orion@cora.nwra.com>. | |
8553 | |
5085 | 8554 2004-11-18 John W. Eaton <jwe@octave.org> |
8555 | |
8556 * int32NDArray.cc (pow): Delete instantiation. | |
8557 * int16NDArray.cc (pow): Likewise. | |
8558 * int8NDArray.cc (pow): Likewise. | |
8559 * uint32NDArray.cc (pow): Likewise. | |
8560 * uint16NDArray.cc (pow): Likewise. | |
8561 * uint8NDArray.cc (pow): Likewise. | |
8562 | |
5081 | 8563 2004-11-17 John W. Eaton <jwe@octave.org> |
8564 | |
5085 | 8565 * kpse.cc (str_llist_float, str_llist_add, kpse_var_expand): |
8566 Now static. | |
8567 (DB_ENVS, DB_HASH_SIZE, DB_NAME, ALIAS_NAME, ALIAS_HASH_SIZE, | |
8568 DEFAULT_TEXMFDBS): Delete unused macros. | |
8569 | |
5081 | 8570 * Array.cc (Array<T>::index): Call generic N-d indexing function |
8571 if idx_arg is N-d. | |
8572 | |
5073 | 8573 2004-11-09 David Bateman <dbateman@free.fr> |
8574 | |
8575 * dNDArray.cc (concat): Delete. | |
8576 (NDArray::concat): New methods. | |
8577 * dNDArray.h: Provide decls. | |
8578 | |
8579 * CNDArray.cc (concat): Delete. | |
8580 (ComplexNDArray::concat): New methods. | |
8581 * CNDArray.h: Provide decls. | |
8582 | |
8583 * boolNDArray.cc (concat): Delete. | |
8584 (boolNDArray::concat): New methods. | |
8585 * boolNDArray.h: Provide decls. | |
8586 | |
8587 * chNDArray.cc (concat): Delete. | |
8588 (charNDArray::concat): New methods. | |
8589 * chNDArray.h: Provide decls. | |
8590 | |
8591 * oct-inttypes.h (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): | |
8592 Delete macros. | |
8593 | |
8594 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
8595 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
8596 (OCTAVE_INT_CONCAT_DECL): Delete use of macro. | |
8597 | |
8598 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
8599 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
8600 (OCTAVE_INT_CONCAT_FN): Delete use of macro. | |
8601 | |
8602 * intNDArray.cc (intNDArray<T>::concat): New method. | |
8603 * intNDArray.h: Provide decl. | |
8604 | |
5072 | 8605 2004-11-08 John W. Eaton <jwe@octave.org> |
8606 | |
8607 * oct-inttypes.cc: New file. | |
8608 * Makefile.in (TI_SRC): Add it to the list. | |
8609 * oct-inttypes.h (OCTAVE_US_TYPE1_CMP_OP, OCTAVE_US_TYPE1_CMP_OPS, | |
8610 OCTAVE_SU_TYPE1_CMP_OP, OCTAVE_SU_TYPE1_CMP_OPS, | |
8611 OCTAVE_TYPE1_CMP_OPS, OCTAVE_US_TYPE2_CMP_OP, | |
8612 OCTAVE_US_TYPE2_CMP_OPS, OCTAVE_SU_TYPE2_CMP_OP, | |
8613 OCTAVE_SU_TYPE2_CMP_OPS, OCTAVE_TYPE2_CMP_OPS): | |
8614 New macros for comparison operations. Avoid potential | |
8615 problems with default conversions when comparing signed and | |
8616 unsigned values. | |
8617 | |
5061 | 8618 2004-11-03 John W. Eaton <jwe@octave.org> |
8619 | |
8620 * dMatrix.cc (Matrix::inverse): Return info == -1 for any failure. | |
8621 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
8622 | |
5052 | 8623 2004-10-19 John W. Eaton <jwe@octave.org> |
8624 | |
8625 * Array.cc (assignN): Avoid resizing if assignment will fail. | |
8626 | |
5047 | 8627 2004-10-18 John W. Eaton <jwe@octave.org> |
8628 | |
8629 * Array.cc (assign2): Save result of squeeze operation. | |
8630 Squeeze if ndims is > 2, not if length of RHS vector is > 2. | |
8631 | |
5095 | 8632 2004-10-11 David Bateman <dbateman@free.fr> |
5044 | 8633 |
8634 * oct-fftw.cc (class octave_fftw_planner): Add inplace[2] to | |
8635 flag whether transform in- or out-of-place. | |
8636 (octave_fftw_planner::octave_fftw_planner): Initialize it. | |
8637 (octave_fftw_planner::create_plan): Use it. | |
8638 | |
5039 | 8639 2004-09-24 John W. Eaton <jwe@octave.org> |
8640 | |
8641 * Array.cc (assign2, assignN): If index is empty, allow RHS to be | |
8642 any empty matrix, not just []. | |
8643 | |
5030 | 8644 2004-09-23 John W. Eaton <jwe@octave.org> |
8645 | |
8646 * mx-ops: Include scalar zero value in type definitions. | |
8647 Delete zero information from ops section. | |
8648 * mk-ops.awk: Use type-specific zero info. | |
8649 | |
8650 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, | |
8651 SND_BOOL_OP, NDND_BOOL_OP): Args now include zero values for both | |
8652 LHS and RHS. | |
8653 (MS_BOOL_OPS2, SM_BOOL_OPS2, MM_BOOL_OPS2, NDS_BOOL_OPS2, | |
8654 SND_BOOL_OPS2, NDND_BOOL_OPS2): New macros. | |
8655 (MS_BOOL_OPS, SM_BOOL_OPS, MM_BOOL_OPS, NDS_BOOL_OPS, | |
8656 SND_BOOL_OPS, NDND_BOOL_OPS): Define in terms of 2-zero versions. | |
8657 | |
8658 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const | |
8659 intNDArray<U>&)): Use explicit as_double () conversion in call to | |
8660 tree_to_mat_idx. | |
8661 | |
8662 * oct-inttypes.h (octave_int<T>::operator float): New conversion. | |
8663 (pow): Instead of "if (b_val)", use "if (b_val != zero)". | |
8664 Likewise for the "if (b_val & one)" test. | |
8665 (operator <<, operator >>): Type of retval is octave_int<T1>, not T1. | |
8666 | |
5029 | 8667 2004-09-23 David Bateman <dbateman@free.fr> |
8668 | |
8669 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): | |
8670 New macros. Use them to define mixed intX-double and double-intX ops. | |
8671 | |
5021 | 8672 2004-09-22 Federico Zenith <zenith@chemeng.ntnu.no> |
8673 | |
8674 * DASPK-opts.in, DASRT-opts.in, ODESSA-opts.in: | |
8675 Fix doc string layout to avoid overfull hbox in printed output. | |
8676 | |
5015 | 8677 2004-09-21 John W. Eaton <jwe@octave.org> |
8678 | |
8679 * mach-info.h (octave_mach_info::flt_fmt_native): Delete. | |
8680 * mach-info.cc (octave_mach_info::string_to_float_format): | |
8681 For "native", set actual native format. | |
8682 (octave_mach_info::float_format_as_string): Delete flt_fmt_native case. | |
8683 | |
5008 | 8684 2004-09-17 David Bateman <dbateman@free.fr> |
8685 | |
8686 * CmplxSCHUR.cc (CmplxSCHUR::init): New arg, calc_unitary to make the | |
8687 calculation of the unitary matrix optional. | |
8688 * dbleSCHUR.cc (SCHUR::init): Ditto. | |
8689 * CmplxSCHUR.h, dbleSCHUR.h: Update decls. | |
8690 | |
4998 | 8691 2004-09-15 David Bateman <dbateman@free.fr> |
8692 | |
8693 * oct-sort.h (octave_sort<T>::set_compare (bool (*comp) (T, T))): | |
8694 New function to set the comparison function for the sort. | |
8695 | |
4985 | 8696 2004-09-10 John W. Eaton <jwe@octave.org> |
8697 | |
8698 * lo-mappers.cc (xround): Fix typo. | |
8699 | |
4979 | 8700 2004-09-08 John W. Eaton <jwe@octave.org> |
8701 | |
8702 * Array.h (Array::~Array): Declare virtual. | |
8703 | |
8704 * idx-vector.h (idx_vector::idx_vector): Initialize rep in member | |
8705 initializaion list. Don't set rep->count since the rep | |
8706 constructor does that. | |
8707 | |
4968 | 8708 2004-09-07 John W. Eaton <jwe@octave.org> |
8709 | |
4970 | 8710 * data-conv.cc (oct_data_conv::string_to_data_type): Handle dt_logical. |
8711 (oct_data_conv::data_type_as_string): Likewise. | |
8712 | |
8713 * data-conv.h (oct_data_conv::data_type): Add dt_logical to list. | |
8714 | |
4968 | 8715 * Range.cc (round): Delete unused function. |
8716 | |
8717 * lo-mappers.cc (xround): Rename from round. Change all uses. | |
8718 If HAVE_ROUND, call round, otherwise fake with floor and ceil. | |
8719 | |
8720 * oct-inttypes.h: Include <cmath> here. | |
8721 | |
4964 | 8722 2004-09-03 David Bateman <dbateman@free.fr> |
8723 | |
8724 * boolNDArray.cc (boolNDArray::concat, boolNDArray::insert): | |
8725 New functions for boolean matrix concatenation. | |
8726 * boolNDArray.h: Provide decls. | |
8727 | |
4963 | 8728 2004-09-03 John W. Eaton <jwe@octave.org> |
8729 | |
4964 | 8730 * oct-inttpes.h (OCTAVE_INT_CMP_OP): Convert operarands to double |
8731 to avoid signed/unsigned int comparison problems. | |
8732 | |
8733 * mx-ops: Generate CMP and BOOL ops for mixed integer types and | |
8734 for mixed integer and double types. | |
8735 | |
8736 * mk-ops.awk: Output BIN_OP_DECLS, CMP_OP_DECLS, and BOOL_OP_DECLS | |
8737 separately, and only if needed. | |
8738 | |
4963 | 8739 * oct-inttypes.h (octave_fit_to_range): Use constructor instead of |
8740 static_cast for type conversion. | |
8741 | |
4953 | 8742 2004-09-01 John W. Eaton <jwe@octave.org> |
8743 | |
8744 * oct-inttypes.h (pow, operator +, operator -, operator *, | |
8745 operator /): Handle mixed integer/double ops. If op generates a | |
8746 NaN, set result to 0. | |
8747 (octave_int::operator - (void)): Convert to double, then negate, | |
8748 then fit to range. | |
8749 | |
8750 * mx-ops: Define integer types. Include declarations for mixed | |
8751 integer/double ops. | |
8752 | |
4952 | 8753 2004-08-31 John W. Eaton <jwe@octave.org> |
8754 | |
8755 * oct-inttypes.h (pow): Args now const reference. | |
8756 (octave_int<T>::operator *=, octave_int<T>::operator /=, | |
8757 octave_int<T>::operator <<=, octave_int<T>::operator >>=): | |
8758 New member functions. | |
8759 (OCTAVE_INT_BITSHIFT_OP): Delete macro. | |
8760 (operator >> (const octave_int<T1>& x, const T2& y)): | |
8761 Define in terms of >>=. | |
8762 (operator << (const octave_int<T1>& x, const T2& y)): | |
8763 Define in terms of <<=. | |
8764 (bitshift): Operate on octave_int<T> objects, not the values, so | |
8765 we get proper saturation properties. | |
8766 | |
8767 2004-08-31 David Bateman <dbateman@free.fr> | |
8768 | |
8769 * oct-inttypes.h (pow (constT, T)): New template. | |
8770 | |
9967 | 8771 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, |
4952 | 8772 uint16NDArray.cc, uint32NDArray.cc: Instantiate power function. |
8773 | |
4949 | 8774 2004-08-31 John W. Eaton <jwe@octave.org> |
8775 | |
8776 * oct-inttypes.h (octave_int::byte_size): New function. | |
8777 | |
4944 | 8778 2004-08-31 John W. Eaton <jwe@octave.org> |
8779 | |
4946 | 8780 * Makefile.in (EXTRAS): Add intNDArray.cc to the list. |
8781 | |
4944 | 8782 * data-conv.h (oct_data_conv::data_type): Include sized types. |
8783 Explicitly number enum elements. | |
8784 | |
8785 * data-conv.cc (oct_data_conv::string_to_data_type (const | |
8786 std::string&, int&, oct_data_conv::data_type&, | |
8787 oct_data_conv::data_type&)): New function. | |
8788 (oct_data_conv::string_to_data_type (const std::string&, int&, | |
8789 oct_data_conv::data_type&)): New function. | |
8790 (oct_data_conv::data_type_as_string): New function. | |
8791 | |
8792 * dMatrix.cc (read_int, do_read, Matrix::read): Delete. | |
8793 (write_int, do_write, Matrix::write): Delete. | |
8794 * dMatrix.h (Matrix::read, Matrix::write): Delete decls. | |
8795 | |
8796 * byte-swap.h: Use template functions and specialization. | |
8797 Change all uses. | |
8798 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
8799 | |
4943 | 8800 2004-08-30 John W. Eaton <jwe@octave.org> |
8801 | |
8802 * oct-inttypes.h (octave_int_fit_to_range): Use template | |
8803 specializations to avoid warnings about signed/unsigned comparisons. | |
8804 | |
8805 2004-08-28 John W. Eaton <jwe@octave.org> | |
8806 | |
8807 * data-conv.cc (do_float_format_conversion (unsigned char *, | |
8808 size_t, int, oct_mach_info::float_format)): New function. | |
8809 (GET_SIZED_INT_TYPE): New macro. | |
8810 (string_to_data_type): Use it to return sized types corresponding | |
8811 to Octave array data types. | |
8812 (strip_spaces): New function. | |
8813 (do_double_format_conversion, do_float_format_conversion): Pass | |
8814 from_fmt and to_fmt. Don't always assume the to_fmt is the native | |
8815 float format. | |
8816 (do_double_format_conversion, | |
8817 IEEE_big_double_to_IEEE_little_double, | |
8818 VAX_D_double_to_IEEE_little_double, | |
8819 VAX_G_double_to_IEEE_little_double, Cray_to_IEEE_little_double, | |
8820 IEEE_little_double_to_IEEE_big_double, | |
8821 VAX_D_double_to_IEEE_big_double, VAX_G_double_to_IEEE_big_double, | |
8822 Cray_to_IEEE_big_double, IEEE_little_double_to_VAX_D_double, | |
8823 IEEE_big_double_to_VAX_D_double, VAX_G_double_to_VAX_D_double, | |
8824 Cray_to_VAX_D_double, IEEE_little_double_to_VAX_G_double, | |
8825 IEEE_big_double_to_VAX_G_double, VAX_D_double_to_VAX_G_double, | |
8826 Cray_to_VAX_G_double): | |
8827 Pass data as void*, not double*. | |
8828 (do_float_format_conversion, IEEE_big_float_to_IEEE_little_float, | |
8829 VAX_D_float_to_IEEE_little_float, | |
8830 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, | |
8831 IEEE_little_float_to_IEEE_big_float, | |
8832 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, | |
8833 Cray_to_IEEE_big_float, IEEE_little_float_to_VAX_D_float, | |
8834 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, | |
8835 Cray_to_VAX_D_float, IEEE_little_float_to_VAX_G_float, | |
8836 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, | |
8837 Cray_to_VAX_G_float): | |
8838 Pass data as void*, not float*. | |
8839 | |
8840 2004-08-27 John W. Eaton <jwe@octave.org> | |
8841 | |
8842 * byte-swap.h (swap_bytes): New template versions, with | |
8843 specializations. | |
8844 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
8845 Change all uses. | |
8846 | |
4940 | 8847 2004-08-24 David Bateman <dbateman@free.fr> |
8848 | |
8849 * chNDArray.cc (concat): Check whether matrix to be inserted is | |
8850 empty instead of checking final matrix. | |
8851 * dNDArray.cc (concat): Likewise. | |
8852 * CNDArray.cc (concat): Likewise. | |
8853 | |
8854 2004-08-23 David Bateman <dbateman@free.fr> | |
8855 | |
9967 | 8856 * dim-vector.h (dim_vector::concat): Correct incrementation for |
4940 | 8857 non-existent dimensions. |
8858 | |
4938 | 8859 2004-08-09 John W. Eaton <jwe@octave.org> |
8860 | |
8861 * idx-vector.h (idx_vector::idx_vector_rep::tree_to_mat_idx | |
9967 | 8862 (const octave_int<U>&)): New member function. |
4938 | 8863 (idx_vector::idx_vector_rep::tree_to_mat_idx (double, bool&), |
8864 idx_vector::idx_vector_rep::tree_to_mat_idx (int)): | |
8865 Now member functions instead of static in idx-vector.cc. | |
8866 (idx_vector::idx_vector_rep::idx_vector_rep (const octave_int<U>&), | |
8867 idx_vector::idx_vector_rep::idx_vector_rep (const intNDArray<U>&)): | |
8868 New template constructors. | |
8869 | |
4932 | 8870 2004-08-05 John W. Eaton <jwe@octave.org> |
8871 | |
4933 | 8872 * EIG.cc (EIG::init): Add volatile qualifier to nvr decl. |
8873 | |
4932 | 8874 * intNDArray.cc (intNDArray<T>::operator !, intNDArray<T>::all, |
8875 intNDArray<T>::any): Sprinkle with this-> as needed. | |
8876 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): Likewise. | |
8877 | |
4929 | 8878 2004-08-03 John W. Eaton <jwe@octave.org> |
8879 | |
8880 * Array.cc (Array<T>::squeeze): Do nothing for 2-d arrays. For | |
8881 arrays with more than two dimensions and only one non-singleton | |
8882 dimension, return a column vector. | |
8883 | |
4921 | 8884 2004-07-28 John W. Eaton <jwe@octave.org> |
8885 | |
8886 * oct-cmplx.h (pow (const Complex&, const double&): | |
8887 Convert second arg to complex to avoid libstdc++ bug. | |
8888 | |
4920 | 8889 2004-07-27 John W. Eaton <jwe@octave.org> |
8890 | |
8891 * oct-inttypes.h (bitshift): New arg, MASK. | |
8892 (OCTAVE_INT_BITSHIFT_OP): Bitshift does not saturate. | |
8893 | |
4916 | 8894 2004-07-23 John W. Eaton <jwe@octave.org> |
8895 | |
8896 * Array.cc (Array<T>::reshape): Return *this if no change in size. | |
8897 | |
4915 | 8898 2004-07-23 David Bateman <dbateman@free.fr> |
8899 | |
8900 * Array.cc, Array.h (cat_ra): Delete. | |
9967 | 8901 * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc |
4915 | 8902 (INSTANTIATE_ARRAY_CAT): Delete. |
8903 | |
9967 | 8904 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, |
4915 | 8905 chNDArray.h, intNDArray.cc, intNDArray.h (cat): Delete. |
9967 | 8906 |
4915 | 8907 * Array.cc (Array<T>::insert): Copy data in NDArray version. |
8908 | |
9967 | 8909 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, |
4915 | 8910 chNDArray.h (concat): New function used for concatenation that does |
8911 an indexed copy of one array into another. | |
8912 | |
8913 * dim-vector.h (concat): New function to concatenate dim_vectors. | |
8914 | |
8915 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
9967 | 8916 chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for |
4915 | 8917 insertion of one NDArray into another. |
8918 | |
8919 * oct-inttype.cc (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): New | |
8920 macros to define the int/uint concatenation functions. | |
8921 | |
8922 * uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
8923 int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc | |
8924 (OCTAVE_INT_CONCAT_FN): Instantiate the concatenation function . | |
8925 | |
8926 * uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
8927 int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h | |
8928 (OCTAVE_INT_CONCAT_DECL): Declare the int/uint concatentaion | |
8929 functions. | |
8930 | |
4911 | 8931 2004-07-22 David Bateman <dbateman@free.fr> |
8932 | |
8933 * oct-sort.h: Don't include oct-obj.h. | |
8934 | |
8935 * lo-specfun.cc (is_integer_value): New function. | |
8936 (zbesj, zbesi, zbesy): Special case negative integer or half | |
8937 integer orders that cause overflow for small arguments. | |
8938 | |
4909 | 8939 2004-07-12 John W. Eaton <jwe@octave.org> |
8940 | |
8941 * oct-inttypes.h (octave_int<T>::nbits): New function. | |
8942 (bitshift (const octave_int<T>&, int)): New function. | |
8943 | |
4902 | 8944 2004-06-14 John W. Eaton <jwe@octave.org> |
8945 | |
8946 * mx-base.h: Include headers for new int types. | |
8947 | |
8948 * dNDArray.h, dNDArray.cc (NDArray::NDArray (const boolNDArray&), | |
8949 NDArray::NDArray (const charNDArray&)): Delete. | |
8950 (template <class U> explicit NDArray (const intNDArray<U>&)): New | |
8951 constructor. | |
8952 (NDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
8953 | |
8954 * chMatrix.h (CharMatrix::transpose): New forwarding functions for | |
8955 return type conversion. | |
8956 | |
8957 * ComplexNDArray.h, ComplexNDArray.cc | |
8958 (ComplexNDArray::ComplexNDArray (const ArrayN<Complex>&), | |
8959 (ComplexNDArray::ComplexNDArray (const NDArray&), | |
8960 (ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
8961 (ComplexNDArray::ComplexNDArray (const charNDArray&)): Delete. | |
9967 | 8962 |
4902 | 8963 (ComplexNDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. |
8964 | |
8965 * MArrayN.h: | |
8966 (template <class U> explicit MArrayN<T>::MArrayN (const Array2<U>&), | |
8967 (template <class U> MArrayN<T>::MArrayN (const ArrayN<U>&), | |
8968 (template <class U> explicit MArrayN<T>::MArrayN (const MArray<U>&)): | |
8969 New constructors. | |
8970 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
8971 ArrayN<T>::squeeze): | |
8972 New forwarding functions for return type conversion. | |
8973 | |
8974 * ArrayN.h: | |
8975 (template <class U> explicit ArrayN<T>::ArrayN (const Array2<U>&), | |
8976 (template <class U> explicit ArrayN<T>::ArrayN (const ArrayN<U>&), | |
8977 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&), | |
8978 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&, | |
8979 const dim_vector&)): New constructors. | |
8980 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
8981 ArrayN<T>::transpose): | |
8982 New forwarding functions for return type conversion. | |
8983 | |
8984 * Array.h (template <class U> Array<T>::Array (const Array<U>&)): | |
8985 New constructor. | |
8986 (Array<T>::coerce, Array<T>::byte_size): New functions. | |
8987 | |
8988 * Array-i.cc, MArray-i.cc: Instantiate new integer types. | |
8989 | |
8990 * oct-inttypes.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
8991 int8NDArray.h , intNDArray.h, uint16NDArray.h, uint32NDArray.h, | |
8992 uint64NDArray.h, uint8NDArray.h, int16NDArray.cc, int32NDArray.cc, | |
8993 int64NDArray.cc, int8NDArray.cc, intNDArray.cc, uint16NDArray.cc, | |
8994 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: New files. | |
8995 * Makefile.in: Add them to the appropriate lists. | |
8996 | |
4899 | 8997 2004-06-04 John W. Eaton <jwe@octave.org> |
8998 | |
8999 * mx-inlines.cc (MX_ND_REDUCTION): New arg, RET_ELT_TYPE. Use | |
9000 "RET_ELT_TYPE ()" rather than "false" as fill value for retval | |
9001 resize op. Change all uses. | |
9002 | |
4898 | 9003 2004-06-03 David Bateman <dbateman@free.fr> |
9004 | |
9005 * Array.cc (assignN): Allow magic colon for dimensions lvalue | |
9006 greater than the existing number of dimensions in lvalue. | |
9007 | |
4887 | 9008 2004-04-30 David Bateman <dbateman@free.fr> |
9009 | |
9967 | 9010 * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): |
4887 | 9011 New arg, fill_value. |
9012 (dim_vector::resize): Allow optional fill_value argument. | |
9013 | |
9967 | 9014 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): |
4887 | 9015 Don't chop trailing dimensions of Array<idx_vector> if there is |
9016 more than one element in idx_vector. Resize the return value to | |
9017 the size of Array<idx_vector>. | |
9018 | |
9019 * Array-util.cc (short_freeze): Better freeze of last dimension of | |
9020 idx_vector that is shorter than a dim_vector. | |
9021 | |
4882 | 9022 2004-04-23 John W. Eaton <jwe@octave.org> |
9023 | |
9024 * oct-sort.cc: Don't include oct-obj.h. | |
9025 | |
4876 | 9026 2004-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
9027 | |
9028 * Array.cc (Array<T>::index2, Array<T>::indexN): | |
9029 Don't set invalid dimensions on return value. | |
9030 | |
4871 | 9031 2004-04-21 John W. Eaton <jwe@octave.org> |
9032 | |
9033 * mx-inlines.cc (MX_ND_REDUCTION): Chop trailing singletons. | |
9034 | |
4850 | 9035 2004-04-06 David Bateman <dbateman@free.fr> |
9036 | |
4870 | 9037 * Array.cc (Array<T>::resize_no_fill (const dim_vector& dv), |
9038 Array<T>::resize_and_fill (const dim_vector& dv, const T& val)): | |
9039 Make their behavior equivalent except for filling vs. not filling. | |
9040 | |
4850 | 9041 * oct-sort.cc: New template class for arbitrary sorting. |
9042 * oct-sort.h: Declaration of sort class. | |
9043 * Makefile: Add them to the appropriate lists. | |
9044 | |
4845 | 9045 2004-04-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
9046 | |
9047 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Fix off-by-one error. | |
9048 | |
4844 | 9049 2004-04-02 David Bateman <dbateman@free.fr> |
9050 | |
9967 | 9051 * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, |
4844 | 9052 besselh2, airy, biry, betainc, gammainc, do_bessel): |
4852 | 9053 New N-d array versions. |
4844 | 9054 (SN_BESSEL, NS_BESSEL, NN_BESSEL): New macros. |
9967 | 9055 * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, |
4844 | 9056 besselh2, airy, biry, betainc, gammainc): Provide decls. |
9967 | 9057 |
4844 | 9058 * dNDArray.cc (NDArray::min, NDArray::max, min, max): |
9059 New functions. | |
9060 * dNDArray.h (NDArray::min, NDArray::max, min, max): Provide decls. | |
9061 | |
9062 * CNDArray.cc (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
9063 New functions. | |
9967 | 9064 * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): |
4844 | 9065 Provide decls. |
9066 | |
4842 | 9067 2004-03-17 David Hoover <jazzdaq@yahoo.com> |
9068 | |
9069 * DASPK.cc (DASPK::do_integrate): Always add n*n elements to the | |
9070 work vector, not just when using a numerical Jacobian. | |
9071 | |
4834 | 9072 2004-03-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
9073 | |
4835 | 9074 * so-array.cc (SND_CMP_OP, NDS_CMP_OP, NDND_CMP_OP): |
9075 Omit empty result args. | |
9076 | |
4834 | 9077 * Array.cc (Array<T>::Array (const Array<T>&, const dim_vector&)): |
9078 Move here from Array.h, check that size of array arg is not | |
9079 smaller than the size defined by the new dimensions. | |
9080 | |
4832 | 9081 2004-03-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
9082 | |
9083 * Array.cc (Array<T>::index2): Allow result to be N-d if indexing | |
9084 a scalar or vector with an N-d array. | |
9085 | |
4826 | 9086 2004-03-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
9087 | |
4828 | 9088 * Array.cc (Array<T>::index2): If scalar or vector is indexed by |
9089 matrix, return object that is the same size as the index. | |
9090 | |
4826 | 9091 * mx-op-defs.h (NDND_CMP_OP, MM_CMP_OP): Require dimensions to agree. |
9092 Eliminate MT_RESULT args. Return value is always size of args. | |
9093 (MS_CMP_OP, SM_CMP_OP, NDS_CMP_OP, SND_CMP_OP): | |
9094 Eliminate EMPTY_RESULT arg. | |
9095 Return value is always size of matrix or N-d array arg. | |
9096 (TBM, FBM, NBM): Delete unused macros. | |
9097 | |
4821 | 9098 2004-03-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
9099 | |
9100 * Array.cc (Array<T>::maybe_delete_elements): Return immediately | |
9101 if all LHS dimensions are zero. For one index case, freeze and | |
9102 sort idx_vec before checking length, and do nothing if | |
9103 num_to_delete is zero. | |
4822 | 9104 (Array<T>::maybe_delete_elements_2): Omit Fortran-indexing warning. |
4821 | 9105 |
4816 | 9106 2004-03-04 David Bateman <dbateman@free.fr> |
9107 | |
9108 * dNDArray.cc (NDArray::ifourier): Arg is int, not const int. | |
9109 * CNDArray.cc (ComplexNDArray::ifourier): Likewise. | |
9110 | |
4811 | 9111 2004-03-03 Hans Ekkehard Plesser <hans.ekkehard.plesser@nlh.no> |
9112 | |
9113 * base-lu.cc (base_lu<>::L): Check bounds before setting diagonal | |
9114 element. | |
9115 | |
9116 2004-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9117 | |
9118 * Range.h (Range::Range): Add cache to member initialization list. | |
9119 (Range::clear_cache): New private function. | |
9120 | |
9121 * Range.h (Range::set_base, Range::set_limit, Range::set_inc): | |
9122 Use clear cache. Don't do anything if range does not change. | |
9123 * Range.cc (Range::sort): Likewise. | |
9124 | |
4810 | 9125 2004-03-02 Paul Kienzle <pkienzle@users.sf.net> |
9126 | |
9127 * Range.cc (Range::matrix_value): Cache result. | |
9128 (Range::sort): Clear cache. | |
9129 * Range.h (Range::cache): New data member. | |
9130 (Range::set_base, Range::set_limit, Range::set_inc): Clear cache. | |
9131 (Range::print_range): Delete. | |
4808 | 9132 |
9133 2004-03-02 David Bateman <dbateman@free.fr> | |
9967 | 9134 |
4808 | 9135 * oct-fftw.cc: Only two versions of plan, and avoid endless |
9136 changes between them. Faster for small fft's. | |
9137 (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): | |
9967 | 9138 New member variables. |
4808 | 9139 (octave_fftw_planner::ialign, octave_fftw_planner::oalign, |
9140 octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. | |
9141 Change all uses. | |
9142 (CHECK_SIMD_ALIGNMENT): New macro. | |
9143 (octave_fftw_planner::create_plan): Use it. | |
9144 | |
4806 | 9145 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> |
9146 | |
9147 * Array.cc (Array<T>::insertN): Eliminate N-d indexing. | |
9148 | |
9967 | 9149 * mx-inlines.cc (MX_ND_CAT): Delete macro. |
9150 | |
9151 * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. | |
9152 * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. | |
9153 * chNDArray.cc (charNDArray<T>::cat): Ditto. | |
9154 * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. | |
9155 | |
9156 * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. | |
9157 * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. | |
4806 | 9158 |
4800 | 9159 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
9160 | |
4802 | 9161 * oct-rl-edit.c (octave_rl_set_startup_hook, |
9162 octave_rl_get_startup_hook, octave_rl_set_event_hook, | |
9163 octave_rl_get_event_hook): Omit casts. | |
9164 * oct-rl-edit.h (rl_startup_hook_fcn_ptr, rl_event_hook_fcn_ptr): | |
9165 Return value for function pointer typedef is now int. | |
9166 * cmd-edit.h (command_editor::startup_hook_fcn, | |
9167 command_editor::event_hook_fcn): Likewise. | |
9168 * cmd-hist.cc, cmd-hist.h (command_history::goto_mark, | |
9169 command_history::do_goto_mark, gnu_history::do_goto_mark): | |
9170 Return type is now int. Return 0. | |
9171 | |
4800 | 9172 * EIG.cc (EIG::init, EIG::symmetric_init): |
9173 Query Lapack for workspace size. | |
9174 | |
4796 | 9175 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
9176 | |
9967 | 9177 * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): |
4796 | 9178 Fix thinko in extending dimensions. |
9179 | |
4791 | 9180 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
9181 | |
9182 * Range.cc (Range::matrix_value, Range::min, Range::max): | |
9183 Don't compute values beyond the limits of the range. | |
9184 (operator << (std::ostream&, const Range&)): Likewise. | |
9185 | |
4786 | 9186 2004-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
9187 | |
4788 | 9188 * oct-fftw.cc (octave_fftw_planner::create_plan): |
9189 Cast IN and OUT args to ptrdiff_t instead of long before masking. | |
9190 From Paul Kienzle <pkienzle@users.sf.net>. | |
9191 | |
4786 | 9192 * Array.cc (Array<T>::insertN (const Array<T>&, int, int)): |
9193 Rename from Array<T>::insert. | |
9194 (Array<T>::insert2 (const Array<T>&, int, int)): | |
9195 Reinstate old Array<T>::insert function under this name. | |
9196 (Array<T>::insert (const Array<T>&, int, int)): | |
9197 New function. Dispatch to insert2 or insertN as appropriate. | |
9198 | |
4785 | 9199 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
9200 | |
9967 | 9201 * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): |
4785 | 9202 Sprinkle with OCTAVE_QUIT. |
9203 | |
5095 | 9204 2004-02-16 David Bateman <dbateman@free.fr> |
4773 | 9205 |
9206 * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): | |
9207 Add support for FFTW 3.x. Include the ability to | |
9208 use the real to complex transform for fft's of real matrices | |
9209 (octave_fftw_planner::create_plan2d): Delete. | |
9210 (octave_fftw::fft2d): Delete. | |
9211 (convert_packcomplex_1d, convert_packcomplex_Nd): | |
9212 New static functions. | |
9213 * oct-fftw.h: Update decls. | |
9214 | |
9215 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
9216 Matrix::fourier2d, Matrix::ifourier2d): FFT's use real to complex | |
9217 transforms. 1D FFT of a matrix done as single call rather than | |
9218 loop. Update for FFTW 3.x | |
9219 * CMatrix.cc (ComplexMatrix::fourier, ComplexMatrix::ifourier, | |
9220 ComplexMatrix::fourier2d, ComplexMatrix::ifourier2d): 1D fft of a | |
9221 matrix done as single call rather than loop. Update for FFTW 3.x. | |
9222 | |
9223 * dNDArray.cc (NDArray::fourier, NDArray::ifourier, | |
9224 NDArray::fourierNd, NDArray::ifouriourNd): New fourier transform | |
9225 functions for Nd arrays. | |
9226 * dNArray.h Provide decls. | |
9227 * CNDArray.cc (ComplexNDArray::fourier, ComplexNDArray::ifourier, | |
9228 ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New | |
9229 fourier transform functions for complex Nd arrays. | |
9230 * CNArray.h: Provide decls. | |
9967 | 9231 |
4765 | 9232 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> |
9233 | |
9234 * Array.cc (Array<T>::insert (const Array<T>&, int, int)): | |
9235 Make it work for N-d arrays. | |
9236 | |
9237 * ArrayN.h (ArrayN<T>::insert (const ArrayN<T>& a, int, int)): | |
9238 New function. | |
9239 | |
9240 * CNDArray.cc (ComplexNDArray::insert (const NDArray&, int, int), | |
9241 ComplexNDArray::insert (const ComplexNDArray&, int, int)): | |
9242 New functions. | |
9243 * CNDArray.h: Provide decls. | |
9244 | |
4759 | 9245 2004-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
9246 | |
4760 | 9247 * Makefile.in (LINK_DEPS): Always define. |
9248 | |
4759 | 9249 * Array.cc (Array<T>::squeeze): Always return an array with at |
9250 least two dimensions. | |
9251 | |
4758 | 9252 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
9253 | |
9254 * mx-inlines.cc (MX_ND_CAT): New macro. | |
9255 * dNDArray.cc (NDArray::cat): New function. | |
9256 * dNDArray.h: Provide decls. | |
9257 * CNDArray.cc (complexNDArray::cat): New function. | |
9258 * CNDArray.h: Provide decls. | |
9259 * chNDArray.cc (charNDArray::cat): New function. | |
9260 * chNDArray.h: Provide decls. | |
9261 | |
4756 | 9262 2004-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
9263 | |
9264 * Array.cc (maybe_delete_elements_2): Allow X(n) = [] for 2-d X. | |
9265 (Array<T>assign2): Also call maybe_delete_elements for single | |
9266 index when rows and columns or LHS are both greater than 1. | |
9267 | |
4755 | 9268 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
9269 | |
9270 * Array.cc (Array<T>::maybe_delete_elements): | |
9271 Check for index out of bounds. Handle one index. | |
9272 | |
9273 * Array.cc (Array<T>::indexN): Use dim_vector (0, 0) instead of | |
9274 dim_vector (0) to create empty return vector. | |
9275 | |
4749 | 9276 2004-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
9277 | |
9278 * Array.cc (Array<T>::assignN): Don't crash if trying to resize a | |
9279 non-empty LHS when the number of lhs dimensions is less than the | |
9280 number of indices. Detect error if attempting to resize non-empty | |
9281 LHS with colon indices. | |
9282 | |
4745 | 9283 2004-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
9284 | |
4747 | 9285 * Array.cc (Array<T>::resize_and_fill): Don't bother to assign any |
9286 values unless the length of the new array is greater than 0. | |
9287 (Array<T>::resize_no_fill): Likewise. | |
9288 | |
9289 * Array-util.cc (index_in_bounds): Also return false if ra_idx(i) | |
9290 is equal to dimensions(i). | |
9291 | |
9292 * Array-util.h, Array-util.cc (equal_arrays, any_zero_len, | |
9293 get_zero_len_size, number_of_elements): | |
9294 Delete unused functions. | |
9295 | |
9296 * Array-util.cc (get_ra_idx): Use dim_vector::numel instead of | |
9297 number_of_elements function. | |
9298 * Array.cc (Array<T>::indexN): Likewise. | |
9299 | |
9300 * Array.cc (Array<T>::indexN): Use dim_vector::operator == instead | |
9301 of equal_arrays function. | |
9302 (Array<T>::index, Array<T>::indexN, Array<T>::assignN) Use | |
9303 dim_vector::any_zero instead of any_zero_len function. | |
9304 | |
9305 * Array.cc (Array<T>::assignN): Eliminate special case for empty index. | |
9306 Don't skip reshaping and resizing if RHS is empty. | |
9307 | |
4746 | 9308 * Array.cc (Array<T>::assignN): Simplify loop for array assignment. |
9967 | 9309 Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. |
4747 | 9310 Delete unused variables is_colon and is_colon_equiv. |
4746 | 9311 Correctly resize for expressions like x(:,:,2) = ones(3,3) when |
9312 LHS is not yet defined. | |
4745 | 9313 Error for resizing if number of indices is less than number of LHS |
9314 dimensions. | |
9315 | |
4746 | 9316 * Array.cc (Array<T>::maybe_delete_elements): Maybe warn about |
9317 Fortran-style indexing. | |
9318 | |
4743 | 9319 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
9320 | |
9321 * Array.cc (Array<T>::assignN): Simplify. | |
9322 Allow assignments to succeed if number if indices is less than the | |
9323 number of RHS dimensions. | |
9324 | |
4738 | 9325 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
9326 | |
4741 | 9327 * Array.cc (Array<T>::maybe_delete_elements): Reshape LHS |
9328 when number of indices is less than number of dimensions. | |
9329 | |
9330 * Array.cc (Array<T>::assignN, Array<T>::maybe_delete_elements): | |
9331 Remove unsued variable lhs_inc. | |
9332 | |
4740 | 9333 * Array.cc (Array<T>::maybe_delete_elements): Declare idx_is_colon |
9334 and idx_is_colon_equiv Array<int> instead of dim_vector. | |
9335 | |
9336 * Array.cc (Array<T>::assignN): Compute new dims in a cleaner way. | |
9337 | |
4738 | 9338 * Array.cc (Array<T>::index): Check for frozen_lengths.length () |
9339 == n_dims before checking to see if all indices are colon_equiv. | |
9340 | |
4736 | 9341 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
9342 | |
9343 * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for | |
9344 deleting elements. | |
4737 | 9345 (Array<T>::index): Remove trailing singletons in ra_idx, but leave |
9346 at least ndims elements. | |
4736 | 9347 |
4735 | 9348 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
9349 | |
9350 * Array.cc (Array<T>::assignN): Accept assignment of a vector | |
9351 oriented differently from the index. | |
9352 | |
9353 * dim-vector.h (dim_vector::squeeze): Return value always has at | |
9354 least two dimensions. | |
9355 | |
4733 | 9356 2004-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
9357 | |
4735 | 9358 * dim-vector.h (dim_vector::squeeze): New function. |
9359 (Array<T>::assignN): Use it instead of chop_trailing_singltons for | |
9360 deciding whether the assignment conforms. | |
9361 | |
4733 | 9362 * Array.cc (Array<T>::assignN): Simplify dimension check by |
9363 comparing rhs_dims and frozen_len sans trailing singletons. | |
9364 | |
4732 | 9365 2004-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
9366 | |
9367 * idx-vector.cc (tree_to_mat_idx): New arg, conversion_error. | |
9368 Call error handler and return conversion_error == true if arg is | |
9369 not integer. | |
9370 (IDX_VEC_REP::idx_vector_rep): Exit early if conversion_error. | |
9371 | |
4730 | 9372 2004-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
9373 | |
9374 * boolNDArray.h (boolNDArray::boolNDArray): Declare dim_vector | |
9375 reference arg const. | |
9376 | |
9377 2004-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9378 | |
9379 * Array-flags.cc: Include Array-flags.h, not Array.h. Doh. | |
9380 | |
4729 | 9381 2004-01-30 Jakub Bogusz <qboosh@pld-linux.org> |
9382 | |
9383 * Array-flags.h (liboctave_wfi_flag, liboctave_wrore_flag): | |
9384 Now bool, to match definition in Array-flags.cc. | |
9385 | |
4725 | 9386 2004-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
9387 | |
4726 | 9388 * file-ops.cc: Include <vector> instead of <memory> for new |
9389 definition of OCTAVE_LOCAL_BUFFER. | |
9390 | |
4725 | 9391 * EIG.cc, EIG.h (EIG::init, EIG::symmetric_init, EIG::hermitian_init): |
9392 New arg, calc_eigenvectors. | |
9393 * EIG.h (EIG:EIG): New optional arg, calc_eigenvectors. | |
9394 Based on patch from David Bateman <dbateman@free.fr>. | |
9395 | |
4716 | 9396 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
9397 | |
9398 * Array.cc (Array<T>::assign2, Array<T>::assignN): | |
9399 For X(I) = RHS, don't restrict I to fewer elements than X. | |
9400 | |
9401 * Array.cc (Array<T>::assign2): Simplify indexing for X(I) = RHS case. | |
9402 | |
4711 | 9403 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
9404 | |
4714 | 9405 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): |
9406 Simplify calculation of number of elements in retval. | |
9407 | |
4711 | 9408 * Array.cc (Array<T>::assignN): Eliminate unnecessray code for |
9409 filling when RHS is scalar and dimension lengths agree. | |
9410 | |
4710 | 9411 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
9412 | |
4713 | 9413 * Makefile.in (distclean): Remove mx-ops.h, $(MX_OP_INC), |
9414 $(VX_OP_INC), $(MX_OP_SRC), $(VX_OP_SRC), and $(OPTS_INC). | |
4710 | 9415 |
4707 | 9416 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
9417 | |
4709 | 9418 * Array.cc (Array<T>::resize_and_fill): Correctly copy old elements. |
9419 (Array<T>::assign2): Check for RHS dimensions larger than 2. | |
4707 | 9420 |
4702 | 9421 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> |
9422 | |
4703 | 9423 * Array.h (Array<T>::chop_trailing_singletons): New function. |
9424 * Array.cc (Array<T>::assignN): Use it on LHS. | |
9425 | |
9426 * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. | |
4702 | 9427 Retrieve scalar element by passin 0 instead of an index array. |
4703 | 9428 Check for singleton dimensions where RHS is matrix or higher dimension. |
9429 Make sure index is in bounds. | |
4702 | 9430 |
4698 | 9431 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
9432 | |
9433 * lo-ieee.cc (octave_ieee_init): Ensure that octave_Inf, | |
9434 octave_NaN, and octav_NA values are always initialized. Check | |
9435 floating point format, not HAVE_ISINF, HAVE_FINITE, or HAVE_ISNAN | |
9436 to decide whether to do IEEE initialization. | |
9437 | |
4687 | 9438 2004-01-06 David Bateman <dbateman@free.fr> |
9439 | |
9967 | 9440 * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, |
4687 | 9441 ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, |
9442 ComplexNDArray::too_large_for_float): New functions | |
9967 | 9443 |
4687 | 9444 * CNDArray.cc (operator <<, operator >>): New IO operators. |
9445 * CNDArray.h: Provide decls. | |
9446 * dNDArray.cc (operator <<, operator >>): New IO operators. | |
9447 * dNDArray.h: Provide decls. | |
9448 | |
4673 | 9449 2003-12-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
9450 | |
4674 | 9451 * mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since |
9452 they are already defined in boolNDArray.cc. | |
9453 | |
4673 | 9454 * Array-util.cc (get_zero_len_size): Delete. |
9455 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
9456 Handle zero-length result dimensions the same as empty original | |
9457 indices. | |
9458 | |
9459 2003-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9460 | |
9461 * dim-vector.h (dim_vector::chop_trailing_singleton_dims, | |
9462 dim_vector::dim_vector_rep::chop_trailing_singleton_dims): | |
9463 New functions. | |
9464 * Array.cc (ArrayN<T>::indexN): Use it. | |
9465 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): Likewise. | |
9466 | |
4669 | 9467 2003-11-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
9468 | |
9469 * boolNDArray.cc: Define BOOL ops. Define mixed CMP ops. | |
9470 * boolNDArray.h: Declare BOOL ops. Declare mixed CMP ops. | |
9471 | |
9472 2003-11-25 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9473 | |
9474 * mk-ops.awk: Also emit #include "Array-util.h". | |
9475 | |
9476 * mx-ops: Add bool, boolMatrix, and boolNDarray types. | |
9477 Add bnda x bnda, b x bnda, and bnda x b ops. | |
9478 | |
9479 * MArray-misc.cc: Delete. | |
9480 * Makefile.in (MATRIX_SRC): Remove it from the list. | |
9481 | |
9482 * Array-util.h, Array-util.cc (gripe_nonconformant): Move here from | |
9483 MArray.h, MArray2.h, MArrayN.h, and MArray-misc.cc. | |
9484 | |
4655 | 9485 2003-11-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
9486 | |
4663 | 9487 * dbleQR.cc (QR::init): Use separate pwork pointers. |
9488 * CmplxQR.cc (ComplexQR::init): Likewise. | |
9489 | |
9490 * oct-group.cc (octave_group::getgrnam): Pass correct args to | |
9491 two-arg getgrnam version. | |
9492 | |
4657 | 9493 * Array.cc (assignN): Allow single indexing to work. |
4661 | 9494 (Array<T>::range_error (const char*, const Array<int>&)): |
9495 Report index values. | |
9496 | |
9497 * Array.cc (Array<T>::index): Delete unused arg names. | |
4662 | 9498 * ODESSA.cc (odessa_j): Likewise. |
9499 * DASRT.cc (ddasrt_f, ddasrt_g): Likewise. | |
9500 * DASPK.cc (ddaspk_psol): Likewise. | |
9501 * lo-mappers.cc (imag): Likewise. | |
4663 | 9502 * Array-util.cc (get_zero_len_size): Likewise. |
9503 * kpse.cc (path_search, path_find_first_of): Likewise. | |
9504 * cmd-edit.cc (do_generate_filename_completions): Likewise. | |
4656 | 9505 |
4655 | 9506 * dim-vector.h (dim_vector::all_ones): New function. |
9507 | |
4646 | 9508 2003-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
9509 | |
4653 | 9510 * idx-vector.h (idx_vector::orig_empty): Check orig_dims for |
9511 zeros, not orig_rows or orig_columns. | |
9512 (idx_vector::idx_vector_rep::orig_rows): Define using orig_dims. | |
9513 (idx_vector::idx_vector_rep::orig_columns): Likewise. | |
9514 | |
9515 * idx-vector.cc (idx_vector::idx_vector_rep::orig_nr, | |
9516 (idx_vector::idx_vector_rep::orig_nc): Delete. | |
9517 | |
9518 * idx-vector.cc (idx_vector::idx_vector_rep): | |
9519 Use initialization lists for constructors. | |
9520 | |
4651 | 9521 * Array.cc (Array<T>::indexN): Correctly handle single colon index. |
9522 Omit special case for ra_idx.capacity () == 1. | |
9523 Always allow single index for matrix args with optional warning. | |
9524 | |
4650 | 9525 * idx-vector.h, idx-vector.cc: Convert boolMatrix functions to use |
9526 boolNDArray. Likewise, convert Matrix functions to use NDArray. | |
9527 | |
4648 | 9528 * Array-so.cc: New file. Move instantiations here from so-array.h. |
9529 * Makefile.in (TI_SRC): Add it to the list. | |
9530 | |
4646 | 9531 * MArray-defs.h (DO_VS_OP2, DO_VV_OP2): Accept args for element |
9532 type and the names of the left and right operands. Change all uses. | |
9533 | |
9534 * so-array.cc, so-array.h: New files. Move streamoff_array here | |
9535 from src/ov-streamoff.h and src/ov-streamoff.cc. | |
9536 | |
4645 | 9537 2003-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
9538 | |
9539 * MArrayN.cc (operator -=, operator +=): Check dimensions, not | |
9540 just length. | |
9541 | |
9542 * Array2.h, Array3.h, DiagArray2.h, DiagArray2.cc, MDiagArray2.h, | |
9543 ArrayN.h: Add this-> or Base:: qualifiers for references to | |
9544 non-dependent member functions and data as needed. | |
9545 | |
9546 * DiagArray2.h, DiagArray2.cc: Delete unused code. | |
9547 | |
9548 * Array2.h (Array2<T>::operator =): Don't copy dimensions here. | |
9549 * Array3.h (Array3<T>::operator =): Likewise. | |
9550 * DiagArray2.h (DiagArray2<T>::operator =): Likewise. | |
9551 Include Array.h, not Array2.h. | |
9552 | |
4634 | 9553 2003-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
9554 | |
4636 | 9555 * str-vec.cc (list_in_columns): Fix previous change. |
9556 | |
4635 | 9557 * dim-vector.h (dim_vector::num_ones): New function. |
9558 * Array.cc (maybe_delete_elements): Use it instead of | |
9559 num_ones (const Array<int>&). | |
9560 | |
9561 * Array.cc (assignN): Omit dubious check of singleton dimensions. | |
9562 | |
4634 | 9563 * dNDArray.cc (NDArray::all_elements_are_int_or_inf_or_nan, |
9564 NDArray::any_element_is_inf_or_nan, NDArray::too_large_for_float): | |
9565 New functions. | |
9566 * dNDArray.h: Provide decls. | |
9567 | |
9568 * dMatrix.h (Matrix::any_element_is_negative, | |
9569 Matrix::any_element_is_inf_or_nan, Matrix::too_large_for_float, | |
9570 Matrix::all_elements_are_int_or_inf_or_nan, Matrix::all_integers): | |
9571 Simplify. | |
9572 | |
9573 * dNDArray.cc (NDArray::abs): Make it work for N-d arrays. | |
9574 * CNDArray.cc (ComplexNDArray::abs): Likewise. | |
9575 | |
9576 * dNDArray.cc (real, imag): New functions. | |
9577 * dNDArray.h: Provide decls. | |
9578 | |
4630 | 9579 2003-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
9580 | |
9581 * Makefile.in (TEMPLATE_SRC): Move MArrayN.cc here from MATRIX_SRC. | |
9582 | |
4625 | 9583 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
9584 | |
9585 * Array.h (Array<T>::resize (int, const T&)): Reinstate. | |
9586 * MArray.h (resize): Delete. | |
9587 * MArray2.h (resize): Delete. | |
9588 * DASRT.cc (DASRT::integrate): Use resize, not resize_and_fill. | |
9589 * ODESSA (ODESSA::integrate): Likewise. | |
9590 | |
4616 | 9591 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
9592 | |
9593 * Makefile.in (dist): Depend on stamp-prereq. | |
9594 | |
4605 | 9595 2003-11-12 John Eaton <jwe@bevo.che.wisc.edu> |
9596 | |
9597 * mach-info.c (oct_mach_info::init_float_format) [CRAY]: | |
9598 Kluge to make it work. | |
4604 | 9599 |
9600 * lo-ieee.cc (octave_ieee_init): Set octave_Inf, octave_NaN, and | |
9601 octave_NA to DBL_MAX if native float format is vaxd, vaxg, or cray. | |
9602 | |
9603 * cmd-edit.cc (gnu_readline::do_generate_filename_completions, | |
9604 default_command_editor::do_generate_filename_completions, | |
9605 command_editor::generate_filename_completions): New functions. | |
9606 * cmd-edit.h: Provide decls. | |
9607 * oct-rl-edit.c (octave_rl_filename_completion_function): New | |
9608 function. | |
9609 * oct-rl-edit.h: Provide decl. | |
9610 | |
4593 | 9611 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
9612 | |
4594 | 9613 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY_AND_ASSIGN, |
9614 INSTANTIATE_ARRAY): New macros. | |
9615 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
9616 Array-idx-vec.cc, Array-s.cc, Array-str.cc, ODESSA.cc: Use them. | |
9617 | |
4593 | 9618 * Array.h (Array<T>::ipermute): New function. |
9619 | |
9620 2003-11-11 Petter Risholm <risholm@stud.ntnu.no> | |
9621 | |
9622 * Array.cc (Array<T>::permute): New function. | |
9623 * Array.h: Provide decl. | |
9624 | |
9625 * Array-util.cc (calc_permutated_idx): New function. | |
9626 * Array-util.h: Provide decl. | |
9627 | |
4587 | 9628 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
9629 | |
4592 | 9630 * Array.cc (Array<T>::index2): Return value has orientation of |
9631 indexed value if indexing a vector with a bool matrix. | |
9632 | |
4589 | 9633 * ArrayN.h (ArrayN<T>::get_size): Delete. |
9634 | |
4588 | 9635 * Array.cc, ArrayN.cc, dNDArray.cc, CNDArray.cc, boolNDArray.cc, |
9636 chNDArray.cc: Include Array-util.h instead of ArrayN-inline.h. | |
9637 | |
9638 * ArrayN-inline.h: Delete. | |
9639 * Array-util.h, Array-util.cc: New files, from ArrayN-inline.h. | |
9640 * Makefile.in: Fix the appropriate lists. | |
9641 | |
4587 | 9642 * Array.cc, Array.h, ArrayN.h, CMatrix.cc, CNDArray.h, |
9643 CRowVector.cc, CmplxQR.cc, CollocWt.h, DASPK.h, DASRT.h, DASSL.h, | |
9644 FEGrid.cc, LP.h, LSODE.h, MArrayN.h, ODE.h, ODES.h, ODESSA.cc, | |
9645 boolNDArray.h, chNDArray.h, dMatrix.cc, dNDArray.h, dRowVector.cc, | |
9646 dbleQR.cc, kpse.cc, oct-rl-hist.c, str-vec.cc, str-vec.h: | |
9647 Avoid -Wshadow warnings. | |
9648 | |
9649 2003-11-08 John Eaton <jwe@bevo.che.wisc.edu> | |
4585 | 9650 |
9651 * Array.h (Array<T>::nil_rep): Qualify return type with typename. | |
9652 | |
9653 * mk-ops.awk: Delete elements of bool_headers array individually. | |
9654 | |
9655 2003-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9656 | |
9657 * Array.cc (maybe_delete_elements): Rename arg idx to ra_idx. | |
9658 | |
4584 | 9659 2003-10-31 Petter Risholm <risholm@stud.ntnu.no> |
9660 | |
9661 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): New macro. | |
9662 | |
9663 * CNDArray.cc, CNDArray.h (ComplexNDArray::cumsum, | |
9664 ComplexNDArray::cumprod): Return ComplexNDArray. Handle N-d arrays. | |
9665 * dNDArray.cc, dNDArray.h (NDArray::cumsum, NDArray::cumprod): | |
9666 Return NDArray. Handle N-d arrays. | |
9667 | |
4575 | 9668 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
9669 | |
4583 | 9670 * LSODE.cc (LSODE::do_integrate): Avoid name conflict on systems |
9671 that upcase Fortran names by calling dlsode instead of lsode. | |
9672 | |
9673 * ODESSA.cc (ODESSA::do_integrate): Avoid name conflict on systems | |
9674 that upcase Fortran names by calling dodessa instead of odessa. | |
9675 | |
4577 | 9676 * file-ops.cc (file_ops::symlink): Cope with systems that expect |
9677 non-const args for symlink system call. | |
9678 (file_ops::readlink): Likewise, for readlink. | |
9679 | |
4575 | 9680 * DASRT.cc (DASRT::integrate): Fix typo in Fortran function name. |
9681 | |
4574 | 9682 2003-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
9683 | |
9684 * mach-info.h (oct_mach_info): Prefix enum elements with flt_fmt_. | |
9685 Change all uses. | |
9686 | |
4569 | 9687 2003-10-29 Petter Risholm <risholm@stud.ntnu.no> |
9688 | |
9689 * dNDArray.cc (NDArray::cumprod, NDArray::cumsum, NDArray::prod, | |
9690 NDArray::sum, NDArray::sumsq, NDArray::abs): New functions. | |
9691 * dNDArray.h: Provide decls. | |
9692 * CNDArray.cc (ComplexNDArray::cumprod, ComplexNDArray::cumsum, | |
9693 ComplexNDArray::prod, ComplexNDArray::sum, ComplexNDArray::sumsq, | |
9694 ComplexNDArray::abs): New functions. | |
9695 * CNDArray.h: Provide decls. | |
9696 | |
9697 * mx-inlines.cc (MX_ND_REDUCTION): Rename from MX_ND_ANY_ALL. | |
9698 Generalize to handle other reduction operations. | |
9699 (MX_ND_REAL_OP_REDUCTION, MX_ND_COMPLEX_OP_REDUCTION, | |
9700 MX_ND_ALL_ANY_REDUCTION): New macros. | |
9701 | |
4565 | 9702 2003-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
9703 | |
4567 | 9704 * Array.cc (Array<T>::reshape): New function. |
9705 * Array.h: Provide decl. | |
9706 | |
9707 * dim-vector.h (dim_vector::numel): New function. | |
9708 | |
4565 | 9709 * dim-vector.h (dim_vector_rep::dim_vector_rep (int, const |
9710 dim_vector&)): Correctly handle case of n < dv->ndims. | |
9711 | |
4559 | 9712 2003-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
9713 | |
9714 * dim-vector.h (dim_vector::any_zero): New function. | |
9715 (dim_vector::str): New default arg, sep. | |
9716 | |
9717 * Array.h (Array<T>::numel): New function. | |
9718 | |
4556 | 9719 2003-10-27 Petter Risholm <risholm@stud.ntnu.no> |
9720 | |
9721 * mx-inlines.cc (MX_ND_ALL_EXPR, MX_ND_ANY_EXPR, | |
9722 MX_ND_ALL_EVAL, MX_ND_ANY_EVAL, MX_ND_ALL_ANY): New macros. | |
9723 * dNDArray.h (NDArray::all, NDArray::any): Return type now boolNDArray. | |
9724 * CNDArray.h (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
9725 * boolNDArray.h (boolNDArray::all, boolNDArray::any): Likewise. | |
9726 * chNDArray.h (charNDArray::all, charNDArray::any): Likewise. | |
9727 * dNDArray.cc (NDArray::all, NDArray::any): Make them work. | |
9728 * CNDArray.cc (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
9729 * boolNDArray.cc (boolNDArray::all, boolNDArray::any): Likewise. | |
9730 * chNDArray.cc (charNDArray::all, charNDArray::any): Likewise. | |
9731 | |
4552 | 9732 2003-10-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
9733 | |
4553 | 9734 * Array.cc (Array<T>::resize_and_fill): Allow number of dimensions |
9735 to change. From Petter Risholm <risholm@stud.ntnu.no>. | |
9736 | |
4552 | 9737 * oct-rand.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, |
9738 CmplxAEPBAL.cc CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
9739 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, | |
9740 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, ODESSA.cc, | |
9741 Quad.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
9742 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
9743 dbleSCHUR.cc, dbleSVD.cc, lo-specfun.cc: | |
9744 Use new F77 arg macros in declarations of external Fortran | |
9745 subroutines and for calling them. | |
9746 | |
4548 | 9747 2003-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
9748 | |
9749 * Array.cc (Array<T>::resize_no_fill (const dim_vector&)): | |
9750 Allow number of dimensions to change. | |
9751 (Array<T>::resize_no_fill (int, int)): Require ndims to be 0 or 2. | |
9752 (Array<T>::resize_and_fill (int, int, const T&)): Likewise. | |
9753 (Array<T>::resize_no_fill (int, int, int)): Require ndims to be 0 or 3. | |
9754 (Array<T>::resize_and_fill (int, int, int, const T&)): Likewise. | |
9755 (Array<T>::transpose): Require ndims to be 2. | |
9756 (Array<T>::index2): Likewise. | |
9757 (Array<T>::index (idx_vector&, idx_vector&, int, const T&)): Likewise. | |
9758 (Array<T>::maybe_delete_elements_2): Likewise. | |
9759 (Array<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Likewise. | |
9760 (Array<T>::index1): Use resize_and_fill. | |
9761 (MAYBE_RESIZE_ND_DIMS): Likewise. | |
9762 | |
9763 * ODESSA.cc (ODESSA::integrate): Use resize_and_fill for x_s_out. | |
9764 | |
9765 * MArray2.h (MArray2<T>::resize (int, int)): New function. | |
9766 (MArray2<T>::resize (int, int, const T&)): New function. | |
9767 | |
9768 * MArray.h (MArray<T>::resize (int)): New function. | |
9769 (MArray<T>::resize (int, const T&)): New function. | |
9770 | |
9771 * DASRT.cc (DASRT::integrate): Use resize_and_fill for jroot. | |
9772 | |
9773 * DASPK-opts.in: Use single-arg resize for initial condition | |
9774 heuristics. | |
9775 | |
9776 * dim-vector.h (class dim_vector): Now reference counted. | |
9777 (dim_vector_rep::elem): Use assert to check that index is in bounds. | |
9778 | |
4544 | 9779 2003-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
9780 | |
4545 | 9781 * Array.cc (Array<T>::squeeze): Delete redundant retval decl. |
9782 | |
4544 | 9783 * mx-cdm-cm.cc, mx-cdm-cm.h, mx-cdm-cs.cc, mx-cdm-cs.h, |
9784 mx-cdm-dm.cc, mx-cdm-dm.h, mx-cdm-m.cc, mx-cdm-m.h, mx-cdm-s.cc, | |
9785 mx-cdm-s.h, mx-cm-cdm.cc, mx-cm-cdm.h, mx-cm-dm.cc, mx-cm-dm.h, | |
9786 mx-cm-m.cc, mx-cm-m.h, mx-cm-s.cc, mx-cm-s.h, mx-cs-cdm.cc, | |
9787 mx-cs-cdm.h, mx-cs-dm.cc, mx-cs-dm.h, mx-cs-m.cc, mx-cs-m.h, | |
9788 mx-dm-cdm.cc, mx-dm-cdm.h, mx-dm-cm.cc, mx-dm-cm.h, mx-dm-cs.cc, | |
9789 mx-dm-cs.h, mx-dm-m.cc, mx-dm-m.h, mx-dm-s.cc, mx-dm-s.h, | |
9790 mx-m-cdm.cc, mx-m-cdm.h, mx-m-cm.cc, mx-m-cm.h, mx-m-cs.cc, | |
9791 mx-m-cs.h, mx-m-dm.cc, mx-m-dm.h, mx-ops.h, mx-s-cdm.cc, | |
9792 mx-s-cdm.h, mx-s-cm.cc, mx-s-cm.h, mx-s-dm.cc, mx-s-dm.h, | |
9793 vx-ccv-cv.cc, vx-ccv-cv.h, vx-ccv-s.cc, vx-ccv-s.h, vx-crv-rv.cc, | |
9794 vx-crv-rv.h, vx-crv-s.cc, vx-crv-s.h, vx-cs-cv.cc, vx-cs-cv.h, | |
9795 vx-cs-rv.cc, vx-cs-rv.h, vx-cv-ccv.cc, vx-cv-ccv.h, vx-cv-cs.cc, | |
9796 vx-cv-cs.h, vx-rv-crv.cc, vx-rv-crv.h, vx-rv-cs.cc, vx-rv-cs.h, | |
9797 vx-s-ccv.cc, vx-s-ccv.h, vx-s-crv.cc, vx-s-crv.h: Delete. These | |
9798 files are now automatically generated. | |
9799 | |
9800 * Makefile.in ($(VX_OP_INC), $(VX_OP_SRC), $(MX_OP_INC), | |
9801 $(MX_OP_SRC)): Generate lists with new mk-ops.awk script. | |
9802 Add rules to generate these files and mx-ops.h. | |
9803 (stamp-prereq): Depend on these files. | |
9804 | |
9805 * mx-ops, vx-ops, mk-ops.awk: New files. | |
9806 * Makefile.in (DISTFILES): Add them to the list. | |
9807 | |
4543 | 9808 2003-10-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
9809 | |
9810 * NDArray.cc (NDArray::NDArray (const boolNDArray), | |
9811 NDArray::NDArray (const charNDArray)): New constructors. | |
9812 (NDArray::operator !): New function. | |
9813 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
9814 NDND_CMP_OPS, NDND_BOOL_OPS. | |
9815 | |
9816 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const NDArray&), | |
9817 ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
9818 ComplexNDArray::ComplexNDArray (const charNDArray&)): | |
9819 New constructors. | |
9820 (ComplexNDArray::operator !): New function. | |
9821 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
9822 NDND_CMP_OPS, NDND_BOOL_OPS. | |
9823 | |
9824 * ArrayN.h (resize (const dim_vector&)): Fix typo. | |
9825 | |
9826 * boolNDArray.cc (boolNDArray::operator !): New function. | |
9827 Provide NDND_CMP_OPS. | |
9828 | |
9829 * MArrayN.cc (operator +=, operator -=): New functions. | |
9830 Provide product and quotient functions. | |
9831 | |
9832 * MArray-misc.cc (gripe_nonconformant (const char *, dim_vector&, | |
9833 dim_vector&)): New function. | |
9834 | |
9835 * dim-vector.h (dim_vector::str, dim_vector::all_zero, | |
9836 operator ==, operator !=): New functions. | |
9837 * ArrayN.cc (operator <<): Use dim_vector::str here. | |
9838 | |
9839 * Array.cc (Array<T>::resize_no_fill, Array<T>::resize_and_fill): | |
9840 No need to save old dimensions. | |
9841 | |
9842 * oct-rand.cc (MAKE_RAND_ND_ARRAY): New macro. | |
9843 (octave_rand::nd_array): New function. | |
9844 * oct-rand.h (octave_rand::nd_array): Provide decl. | |
9845 | |
9846 * mx-op-defs.h (NDCMP_OP_DECL, NDBOOL_OP_DECL, NDS_BIN_OP_DECLS, | |
9847 NDS_BIN_OP, NDS_BIN_OPS, NDS_CMP_OP_DECLS, NDS_CMP_OP, | |
9848 NDS_CMP_OPS, NDS_BOOL_OP_DECLS, NDS_BOOL_OP, NDS_BOOL_OPS, | |
9849 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_BIN_OP, SND_BIN_OPS, | |
9850 SND_CMP_OP_DECLS, SND_CMP_OP, SND_CMP_OPS, SND_BOOL_OP_DECLS, | |
9851 SND_BOOL_OP, SND_BOOL_OPS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
9852 NDND_BIN_OP, NDND_BIN_OPS, NDND_CMP_OP_DECLS, NDND_CMP_OP, | |
9853 NDND_CMP_OPS, NDND_BOOL_OP_DECLS, NDND_BOOL_OP, NDND_BOOL_OPS, | |
9854 NDND_OP_DECLS): New macros. | |
9855 * mx-cm-m.h, mx-cm-s.h, mx-cs-m.h, mx-m-cm.h, mx-m-cs.h, | |
9856 mx-s-cm.h, mx-cm-m.cc, mx-cm-s.cc, mx-cs-m.cc, mx-m-cm.cc, | |
9857 mx-m-cs.cc, mx-s-cm.cc: Use them. | |
9858 | |
9859 * mx-defs.h (class NDArray, class ComplexNDArray, class | |
9860 boolNDArray, class charNDArray): New forward decls. | |
9861 | |
4534 | 9862 2003-10-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
9863 | |
9864 * Array.cc (assign2): No error (but don't do anything either) for | |
9865 expressions like x([],j) = scalar. | |
9866 | |
4532 | 9867 2003-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
9868 | |
4533 | 9869 * Array.cc (assignN): Allow lhs(:) = scalar. |
9870 | |
4532 | 9871 * CNDArray.cc (ComplexNDArray::increment_index): New function. |
9872 * dNDArray.cc (NDArray::increment_index): Likewise. | |
9873 * boolNDArray.cc (boolNDArray::increment_index): Likewise. | |
9874 * chNDArray.cc (charNDArray::increment_index): Likewise. | |
9875 | |
9876 * dim-vector.h (rows, cols): Delete unused data members. | |
9877 | |
9878 * Array.cc (Array<T>::get_size): Fix thinko. | |
9879 | |
9880 2003-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9881 | |
9882 * Array.cc (Array<T>::squeeze): New function. | |
9883 * CNDArray.h (ComplexNDArray::squeeze): Likewise. | |
9884 * dNDArray.h (NDArray::squeeze): Likewise. | |
9885 * boolNDArray.h (boolNDArray::squeeze): Likewise. | |
9886 * chNDArray.h (charNDArray::squeeze): Likewise. | |
9887 | |
4530 | 9888 2003-10-06 Petter Risholm <risholm@stud.ntnu.no> |
9889 | |
9890 * Array.cc (ArrayN<T>::indexN): New definition. | |
9891 * Array.h (Array<T>::indexN): Provide decl. | |
9892 * Array.cc (ArrayN<T>::index (idx_vector&, int, const T&): | |
9893 Call indexN if more than 2 indices. | |
9894 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): | |
9895 Make it (mostly) work. | |
9896 * ArrayN-inline.h (number_of_elements, get_ra_idx, short_freeze): | |
9897 New functions. | |
9898 | |
4527 | 9899 2003-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
9900 | |
9901 * cmd-edit.cc (do_readline): Pass eof to octave_fgetl. | |
9902 * lo-utils.cc (octave_fgets, octave_fgetl): New overloaded | |
9903 versions with eof arg. | |
9904 | |
4518 | 9905 2003-09-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
9906 | |
9907 * Array.h (dimensions): Now public. | |
9908 template <class LT, class RT> | |
9909 (assign (Array<LT>&, const Array<RT>&, const LT&), | |
9910 assign1 (Array<LT>&, const Array<RT>&, const LT&), | |
9911 assign2 (Array<LT>&, const Array<RT>&, const LT&), | |
9912 assignN (Array<LT>&, const Array<RT>&, const LT&), | |
9913 resize_no_fill (int), | |
9914 resize_no_fill (int, int), | |
9915 resize_no_fill (int, int, int), | |
9916 resize_no_fill (const dim_vector&), | |
9917 resize_and_fill (int, const T&), | |
9918 resize_and_fill (int, int, const T&), | |
9919 resize_and_fill (int, int, int, const T&), | |
9920 resize_and_fill (const dim_vector&, const T&)): Now public. | |
9921 | |
9922 * Array.cc: Include <climits>. | |
9923 | |
4513 | 9924 2003-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
9925 | |
4517 | 9926 * Array.cc: Merge Array-idx.h. |
9927 * Array-idx.h: Delete. | |
9928 | |
4514 | 9929 * chNDArray.h, chNDArray.cc, boolNDArray.h, boolNDArray.cc: New files. |
9930 | |
4513 | 9931 * Array.h, Array-idx.h, Array.cc: Fold all N-d functionality here. |
9932 Turn inheritance hierarchy upside down (2-d and 3-d arrays are now | |
9933 just special cases of the general purpose N-d Array object). | |
9934 | |
9935 * dim-vector.h: New file. Use dim_vector objects instead of | |
9936 ints or Array<int> objects to represent the size of Array | |
9937 objects. | |
9938 | |
9939 * MArray-defs.h (INSTANTIATE_MARRAYN_FRIENDS): New macro. | |
9940 | |
9941 * Array2-idx.h, Array3-idx.h, Array2.cc, Array3.cc: Delete. | |
9942 | |
9943 * mx-base.h: Include NDArray header files. | |
9944 | |
9945 * MArray-C.cc, MArray-d.cc: Also instantiate ArrayN objects. | |
9946 | |
9947 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
9948 Array-s.cc: Also instantiate ArrayN objects. | |
9949 Don't instantiate assign funcitons for Array2 objects. | |
9950 | |
9951 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Signal error with | |
9952 liboctave_error_handler, not cerr. | |
9953 * CMatrix.cc (ComplexMatrix::diag): Likewise. | |
9954 * dDiagMatrix.cc (DiagMatrix::diag): Likewise. | |
9955 * dMatrix.cc (Matrix::diag): Likewise. | |
9956 | |
9957 * Array-flags.cc, Array.cc, Array.h, Array2.h, Array3.h, ArrayN.h: | |
9958 Omit checks for HEAVYWEIGHT_INDEXING. | |
9959 | |
9960 2003-09-12 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9961 | |
9962 * mx-base.h: Include CNDarray.h. Include dNDArray.h, not NDArray.h. | |
9963 | |
9964 * CNDARray.h, CNDArray.cc: New files. | |
9965 * Makefile.in: Add them to the appropriate lists. | |
9966 | |
9967 * dNDArray.h: Rename from NDArray.h. | |
9968 * dNDArray.cc: Rename from NDArray.cc. | |
9969 * Makefile.in: Rename them here too. | |
9970 | |
4507 | 9971 2003-09-10 Petter Risholm <risholm@stud.ntnu.no> |
9972 | |
9973 * mx-base.h: Include NDArray.h, not ArrayN.h. | |
9974 | |
9975 * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. | |
9976 * Makefile.in: Add them to the appropriate lists. | |
9977 | |
5095 | 9978 2003-09-09 David Bateman <dbateman@free.fr> |
4506 | 9979 |
9980 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, | |
9981 biry): Always request scaled results from AMOS functions and | |
9982 perform reverse scaling on results if scaled result not requested | |
9983 by user. | |
9984 | |
9985 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9967 | 9986 |
4506 | 9987 * lo-specfun.cc (xlgamma): Require nonnegative argument. |
9988 | |
4505 | 9989 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
9990 | |
9991 * Array-d.cc: Instantiate assign functions. | |
9992 | |
4504 | 9993 2003-09-09 Petter Risholm <risholm@stud.ntnu.no> |
9994 | |
9995 * ArrayN-idx.h (vector_equivalent, equal_arrays): New functions. | |
9996 (get_elt_idx): Index ra_idx correctly. | |
9997 | |
9998 * ArrayN-inline.h (index_in_bounds): Index is also condidered in | |
9999 bounds if it is exactly on the bound. | |
10000 | |
10001 * ArrayN.cc (ArrayN<T>::maybe_delete_dims): New function. | |
10002 * ArrayN.h: Provide decl. | |
10003 | |
10004 * ArrayN.h (ArrayN<T>::ArrayN<T> (const Matrix&)): New constructor. | |
10005 | |
10006 * idx-vector.h (idx_vector::orig_dims): New member variable. | |
10007 (idx_vector::idx_vector_rep::orig_dimensions): New function. | |
10008 (idx_vector::orig_dimensions): New function. | |
10009 | |
4497 | 10010 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
10011 | |
10012 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
10013 | |
4496 | 10014 2003-09-04 Petter Risholm <risholm@stud.ntnu.no> |
10015 | |
10016 * ArrayN-idx.h (maybe_delete_elements): Implement function. | |
10017 (is_in, how_many_lgt, all_ones): New functions. | |
10018 | |
4493 | 10019 2003-09-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
10020 | |
10021 * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. | |
10022 | |
10023 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> | |
9967 | 10024 |
4493 | 10025 * ArrayN-inline.h: New file. |
10026 (index_in_bounds, increment_index): Move here. | |
10027 * ArrayN.cc: From here. | |
10028 | |
10029 * ArrayN.h (maybe_delete_elements): New arg, resize_fill_value. | |
10030 * ArrayN-idx.h (assign): New function. | |
10031 | |
4490 | 10032 2003-08-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
10033 | |
10034 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, airy, biry): | |
10035 Also zero imaginary part of result if real part of input value is | |
10036 zero. | |
10037 | |
4478 | 10038 2003-07-30 Heine Kolltveit <kolltvei@idi.ntnu.no> |
10039 | |
10040 * mx-base.h: Include ArrayN.h. | |
10041 | |
4476 | 10042 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> |
10043 | |
9967 | 10044 * ArrayN.cc (operator <<): Corrected output. |
4476 | 10045 |
4474 | 10046 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
10047 | |
10048 * ArrayN.cc (increment_index): New arg, start_dimension. | |
10049 | |
5095 | 10050 2003-07-29 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4473 | 10051 |
10052 * ArrayN.cc (operator <<): Improve output readability. | |
10053 | |
4493 | 10054 2003-07-29 Petter Risholm <risholm@stud.ntnu.no> |
4473 | 10055 |
10056 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&, const T&)): | |
10057 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&)): | |
10058 Initialize old_len before changing size. | |
10059 | |
4472 | 10060 2003-07-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
10061 | |
10062 * Makefile.in (install-lib): Use $(INSTALL), not | |
4473 | 10063 $(INSTALL_PROGRAM) for $(SHLLIB) files. |
4472 | 10064 |
4469 | 10065 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
10066 | |
10067 * lo-mappers.cc (xmin, xmax): Handle NaN in a Matlab-compatible | |
10068 way. Handle NA in an R-compatible way. | |
10069 | |
10070 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Also check for lo_ieee_is_NA. | |
10071 (lo_ieee_is_NA): Don't call isnan unless HAVE_ISNAN is defined. | |
10072 | |
10073 * lo-mappers.h (octave_is_NA (const Complex&)): Provide decl. | |
10074 (octave_is_NaN_or_NA (const Complex&)): Likewise. | |
10075 | |
10076 * dMatrix.cc (Matrix::row_min, Matrix::row_max, | |
10077 Matrix::column_min, Matrix::column_max): Ignore NaNs. | |
10078 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_max, | |
10079 ComplexMatrix::column_min, ComplexMatrix::column_max): Likewise. | |
10080 | |
4461 | 10081 2003-07-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
10082 | |
10083 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
10084 Pass true for resize_ok arg to freeze. | |
9967 | 10085 * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): |
4461 | 10086 Likewise. |
10087 | |
10088 * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; | |
10089 resize_ok arg is now bool. | |
10090 * idx-vector.h (idx_vector::freeze): Likewise. | |
10091 | |
10092 * Array-flags.cc, Array-flags.h (liboctave_wrore_flag): | |
10093 Rename from liboctave_rre_flag. Now bool. | |
10094 (liboctave_wfi_flag): Now bool. | |
10095 | |
10096 * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. | |
10097 | |
5095 | 10098 2003-07-11 Russell Standish <R.Standish@unsw.edu.au> |
4459 | 10099 |
10100 * Array.h (resize_fill_value): Now a top-level template function. | |
10101 Accept object as argument. Change all uses. | |
10102 | |
4455 | 10103 2003-07-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
10104 | |
10105 * Array-flags.cc, Array-flags.h (liboctave_pcv_flag): Delete. | |
10106 | |
10107 * Array2-idx.h (Array2<T>::index): Use liboctave_wfi_flag, not | |
10108 liboctave_dfi_flag. | |
10109 (assign): Likewise. For indexed assignments like X(I) = RHS with | |
10110 X undefined or empty, always create a row vector. | |
10111 | |
10112 * Array-flags.cc (liboctave_wfi_flag): Rename from liboctave_dfi_flag. | |
10113 * Array-flags.h (liboctave_wfi_flag): Ditto. | |
10114 | |
4437 | 10115 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
10116 | |
10117 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
10118 Magic colon indexing always produces an object with one column. | |
10119 | |
5095 | 10120 2003-06-21 Paul Kienzle <pkienzle@users.sf.net> |
4433 | 10121 |
10122 * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. | |
10123 | |
10124 * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. | |
10125 | |
4431 | 10126 2003-06-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
10127 | |
10128 * dMatrix.cc (any_element_is_negative): If new optional arg | |
10129 neg_zero is true, also return true for negative zero. | |
10130 | |
4429 | 10131 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
10132 | |
10133 * DASSL.cc (DASSL::do_integrate): Set liw to 21 + n, not 20 + n. | |
10134 Handle step limit. | |
10135 * DASSL-opts.in: New option for step limit. | |
10136 | |
5095 | 10137 2003-06-16 Per Persson <persquare@mac.com> |
4429 | 10138 |
10139 * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. | |
10140 | |
4428 | 10141 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
10142 | |
10143 * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. | |
10144 Store step limit in iwork(20), not iwork(18). | |
10145 | |
5095 | 10146 2003-05-16 Paul Kienzle <pkienzle@users.sf.net> |
4415 | 10147 |
10148 * oct-rand.cc: Use liboctave's clock layer instead of the system clock. | |
10149 | |
4412 | 10150 2003-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
10151 | |
4413 | 10152 * Makefile.in: Handle DESTDIR. |
10153 | |
4412 | 10154 * kpse.cc (kpse_path_iterator::next): Skip consecutive colons here. |
10155 (kpse_path_iterator::set_end): Don't miss last element when not | |
10156 followed by a colon. | |
10157 | |
4409 | 10158 2003-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
10159 | |
10160 * Array-idx.h (Array<T>::index): Fix off-by-one error. | |
10161 | |
10162 2003-05-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10163 | |
10164 * kpse.cc (kpse_absolute_p): Fix typo in translation. | |
10165 (find_first_of): Also do an absolute search on each | |
10166 name before looking in the path. | |
10167 | |
4407 | 10168 2003-05-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
10169 | |
10170 * kpse.cc (dir_list_add): Ensure that directory ends with a | |
10171 directory separator. | |
10172 | |
4399 | 10173 2003-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
10174 | |
10175 * pathsearch.cc: Include kpse.cc here. | |
10176 | |
10177 * kpse.cc: All functions are now static. Massive surgery to | |
10178 condense kpathsearch library to a single file of just the | |
10179 essentials for Octave and convert to using C++ strings (no more | |
10180 calls to malloc, very few calls to new, so there should be much | |
10181 less potential for introducing memory leaks now). | |
10182 | |
10183 * Makefile.in (EXTRAS): Move kpse.cc here from | |
10184 LIBOCT_PATHSEARCH_CXX_SOURCES. | |
10185 | |
10186 * kpse.h, kpse-config.h: Delete. | |
10187 * Makefile.in (INCLUDES): Delete them from the list. | |
10188 | |
4392 | 10189 2003-04-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
10190 | |
10191 * str-vec.cc (string_vector::append (const std::string&), | |
10192 string_vector::append (const string_vector&)): New methods. | |
10193 | |
4386 | 10194 2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
10195 | |
4389 | 10196 * kpse.cc, kpse.h: Replace fn_type with std::string. |
10197 | |
4387 | 10198 * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. |
10199 | |
4386 | 10200 * kpse.cc (xclosedir): Don't define or declare for Windows. |
10201 (READABLE): Now a static function to avoid warnings from MinGW | |
9967 | 10202 compiler. |
4386 | 10203 |
4384 | 10204 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
10205 | |
4385 | 10206 * kpse.cc: Move most functions from kpse-xfns.c here and make |
10207 static. Include most of kpse-xfns.h directly, removing | |
10208 unnecessary bits. | |
10209 | |
4384 | 10210 * dMatrix.cc (Matrix::pseudo_inverse): Now const. |
10211 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
10212 | |
4378 | 10213 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
10214 | |
10215 * getopt.c, getopt1.c, getopt.h: Move here from kpathsea. | |
10216 * Makefile.in: Add them to the appropriates lists. | |
10217 | |
10218 * oct-getopt.c: Include "getopt.h", not <kpathsea/getopt.h>. | |
10219 | |
10220 * Makefile.in (liboctave.$(LIBEXT), liboctave.$(SHLEXT)): Adjust | |
10221 for new locations of kpathsea objects. | |
10222 Delete kpathsea targets. | |
10223 | |
10224 * pathsearch.cc (dir_path::set_program_name): Delete. | |
10225 | |
10226 * kpse.cc: New file. | |
10227 * Makefile.in (LIBOCT_PATHSEARCH_CXX_SOURCES): Add it to the list. | |
10228 | |
10229 * kpse.c: New file. | |
10230 * Makefile.in (LIBOCT_PATHSEARCH_C_SOURCES): Add it to the list. | |
10231 | |
10232 * kpse.h, kpse-config.h, kpse-xfns.h: New files. | |
10233 * Makefile.in (INCLUDES): Add them to the list. | |
10234 | |
10235 * oct-kpse.h: Delete. | |
10236 * Makefile.in (INCLUDES): Delete it from the list. | |
10237 | |
4374 | 10238 2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
10239 | |
10240 * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. | |
10241 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): | |
10242 Likewise. | |
10243 From Quentin H. Spencer <qspencer@ieee.org>. | |
10244 | |
4365 | 10245 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
10246 | |
10247 * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h". | |
10248 | |
4349 | 10249 2003-02-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
10250 | |
4352 | 10251 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Handle systems with or |
10252 without placement delete. | |
10253 | |
4349 | 10254 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Don't lose -0 |
10255 imaginary parts. | |
10256 | |
10257 * lo-ieee.h (lo_ieee_signbit): New macro. | |
10258 | |
5095 | 10259 2003-02-18 David Bateman <dbateman@free.fr> |
4329 | 10260 |
10261 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
10262 Use Lapack instead of Linpack. | |
5315 | 10263 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
4329 | 10264 ComplexMatrix::solve): Likewise. |
10265 | |
10266 * dMatrix.cc (Matrix::determinant, Matrix::inverse): New arg, | |
10267 calc_cond. If 0, skip condition number calculation. | |
10268 * CMatrix.cc (ComplexMatrix::determinant, ComplexMatrix::inverse): | |
10269 Likewise. | |
10270 | |
10271 * CmplxLU.cc (ComplexLU::ComplexLU): Allow non-square matrices. | |
10272 * dbleLU.cc (LU::LU): Likewise. | |
10273 * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. | |
10274 | |
10275 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9967 | 10276 |
4329 | 10277 * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: |
10278 | |
4323 | 10279 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
10280 | |
10281 * Array2-idx.h (Array2<T>::index): Fix thinko. | |
10282 Additional compatibility fix. | |
10283 | |
10284 2003-02-13 Arno Klaassen <arno@scito.com> | |
9967 | 10285 |
10286 * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
4323 | 10287 ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: |
10288 Sprinkle with Array<T>:: as necessary for gcc 3.4. | |
9967 | 10289 |
4322 | 10290 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
10291 | |
10292 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
10293 Compatibility fix. | |
10294 | |
4316 | 10295 2003-02-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
10296 | |
10297 * CColVector.cc (ComplexColumnVector::extract_n): New function. | |
10298 * CRowVector.cc (ComplexRowVector::extract_n): Likewise. | |
10299 * CMatrix.cc (ComplexMatrix::extract_n): Likewise. | |
10300 * dColVector.cc (ColumnVector::extract_n): Likewise. | |
10301 * dRowVector.cc (RowVector::extract_n): Likewise. | |
10302 * dMatrix.cc (Matrix::extract_n): Likewise. | |
10303 | |
10304 * CColVector.cc (ComplexColumnVector::insert): Improve efficiency | |
10305 with make_unique and xelem. | |
10306 * CRowVector.cc (ComplexRowVector::insert): Likewise. | |
10307 * CMatrix.cc (ComplexMatrix::insert, ComplexMatrix::fill, | |
10308 ComplexMatrix::extract, ComplexMatrix::row, | |
10309 ComplexMatrix::column): Likewise. | |
10310 * dColVector.cc (ColumnVector::insert): Likewise. | |
10311 * dRowVector.cc (RowVector::insert): Likewise. | |
10312 * dMatrix.cc (Matrix::insert, Matrix::fill, Matrix::extract, | |
10313 Matrix::row, Matrix::column): Likewise. | |
10314 | |
4313 | 10315 2003-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
10316 | |
10317 * lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN. | |
10318 | |
4309 | 10319 2003-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
10320 | |
10321 * CMatrix.cc, dMatrix.cc: Move min and max functions here, from | |
10322 src/DLD-FUNCTIONS/minmax.cc, and make them extern. | |
10323 * CMatrix.h, dMatrix.h: Provide decls. | |
10324 | |
4307 | 10325 2003-01-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
10326 | |
10327 * oct-rand.h, oct-rand.cc: New files. | |
10328 * Makefile.in: Add them to the appropriate lists. | |
10329 | |
4306 | 10330 2003-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
10331 | |
10332 * Array2-idx.h (Array2<T>::index): Fix off-by-one error. | |
10333 | |
4299 | 10334 2003-01-16 Mumit Khan <khan@nanotech.wisc.edu> |
10335 | |
10336 * oct-syscalls.cc: Include signal.h. | |
10337 | |
4294 | 10338 2003-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
10339 | |
10340 * oct-syscalls.cc (octave_syscalls::kill): New function. | |
10341 * oct-syscalls.h: Provide decl. | |
9967 | 10342 |
4294 | 10343 |
4293 | 10344 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
10345 | |
10346 * dMatrix.cc (Matrix::read): Set size and return immediately if | |
10347 there is nothing to read. | |
10348 | |
4290 | 10349 2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
10350 | |
10351 * lo-cutils.c: Define _XOPEN_SOURCE. | |
10352 | |
4286 | 10353 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
10354 | |
4288 | 10355 * getopt.h: Update to version from kpathsearch, so we will install |
10356 the version that we are using. | |
10357 | |
10358 * getopt.c, getopt1.c: Delete. | |
10359 (INCLUDES): Delete them from the list. We'll get these files from | |
10360 kpathsearch. | |
10361 | |
4286 | 10362 * Makefile.in (liboctave.$(LIBEXT)): Link directly to |
10363 ../kpathsea/STATIC/*.o. | |
10364 (liboctave.$(SHLEXT)): Link directly to ../kpathsea/SHARED/*.o. | |
10365 | |
4270 | 10366 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
10367 | |
4282 | 10368 * dMatrix.cc (read_int, write_int): Avoid warnings about |
10369 unreachable code. | |
10370 | |
4279 | 10371 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete |
10372 to correspond to placement new operator. | |
10373 | |
4278 | 10374 * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. |
10375 (DET::value_will_underflow): Likewise. | |
10376 * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. | |
10377 (ComplexDET::value_will_underflow): Likewise. | |
10378 | |
4276 | 10379 * Makefile.in (distclean): Also remove stamp-prereq. |
10380 | |
4306 | 10381 * Array2-idx.h (Array2<T>::assign): If assignment conforms but the |
10382 RHS and index are empty matrices, don't do anything. | |
4270 | 10383 |
4242 | 10384 2002-12-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
10385 | |
10386 * pathsearch.cc (make_retval, free_c_array, make_c_names, | |
10387 delete_c_names): New helper functions. | |
10388 (dir_path::find_first_of): New function. | |
10389 (dir_path::find_all_first_of): Likewise. | |
10390 * pathsearch.h: Provide decls. | |
10391 | |
10392 * oct-kpse.c (octave_kpse_path_find_first_of): New function. | |
10393 (octave_kpse_all_path_find_first_of): Likewise. | |
10394 * oct-kpse.h: Provide decls. | |
10395 | |
4231 | 10396 2002-12-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
10397 | |
10398 * ODESSA.cc (ODESSA::integrate): Handle maxord. | |
10399 * ODESSA-opts.in: Likewise. | |
10400 | |
10401 * LSODE.cc (ODESSA::integrate): Handle maxord. | |
10402 * LSODE-opts.in: Likewise. | |
10403 | |
4229 | 10404 2002-12-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
10405 | |
4230 | 10406 * ODESSA.cc (ODESSA::ODESSA): Initialize "initialized" data member |
10407 in all constructors. | |
10408 | |
4229 | 10409 * Makefile.in (liboctave.$(SHLEXT)): Include $(LIBKPATHSEA) here. |
10410 (LINK_DEPS): Not here. | |
10411 | |
4219 | 10412 2002-12-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
10413 | |
4220 | 10414 * str-vec.cc (string_vector::compare): New static member function. |
10415 * str-vec.h: Provide decl. | |
10416 (string_vector::sort): Use it. | |
10417 (str_vec_compare): Delete static function. | |
10418 | |
4219 | 10419 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Also declare and define |
10420 a placement operator new. | |
10421 | |
4209 | 10422 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
10423 | |
4210 | 10424 * Matrix.h: Include mx-ops.h too. |
4209 | 10425 * mx-ops.h: New file. |
10426 | |
4192 | 10427 2002-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
10428 | |
10429 * DASRT.cc, DASRT.h, Array.cc, ArrayN.h, Array.h, Array2.cc, | |
10430 Array2.h, Array3.cc, Array3.h, Bounds.cc, Bounds.h, CRowVector.h, | |
10431 CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, CMatrix.h, | |
10432 CRowVector.cc, CColVector.h, ChangeLog, CmplxAEPBAL.cc, | |
10433 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
10434 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
10435 CmplxQR.h, CmplxQRP.cc, ArrayN.cc, CmplxQRP.h, CmplxSCHUR.cc, | |
10436 CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, dMatrix.cc, | |
10437 CollocWt.h, EIG.h, DASSL.cc, FEGrid.h, DASSL.h, DiagArray2.cc, | |
10438 DiagArray2.h, EIG.cc, FEGrid.cc, LSODE.cc, LPsolve.cc, LPsolve.h, | |
10439 LSODE.h, LinConst.cc, LinConst.h, MArray.h, MArray.cc, MArray2.cc, | |
10440 MArray2.h, MDiagArray2.cc, MDiagArray2.h, Range.cc, NLConst.h, | |
10441 NLEqn.cc, Range.h, NLEqn.h, Quad.cc, dbleQR.h, Quad.h, base-lu.cc, | |
10442 base-lu.h, boolMatrix.cc, boolMatrix.h, dColVector.cc, | |
10443 dColVector.h, dDiagMatrix.cc, dDiagMatrix.h, dMatrix.h, | |
10444 dRowVector.cc, dRowVector.h, dbleAEPBAL.cc, dbleAEPBAL.h, | |
10445 dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, dbleDET.h, dbleHESS.cc, | |
10446 dbleHESS.h, dbleLU.cc, dbleLU.h, dbleQR.cc, dbleQRP.cc, dbleQRP.h, | |
10447 dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, | |
10448 idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, | |
10449 ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: | |
9967 | 10450 Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of |
4192 | 10451 "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". |
10452 | |
4184 | 10453 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
10454 | |
10455 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_GLOBAL too. | |
10456 From Remy Bruno <remy.bruno@libertysurf.fr> | |
10457 | |
4180 | 10458 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
10459 | |
10460 * lo-specfun.cc: Use F77_FUNC instead of F77_XFCN for calls to | |
10461 fortran code that should run fast enough that it is not worth all | |
10462 the setup costs of F77_XFCN. | |
10463 | |
10464 * Quad.cc (user_function): Surround body of function with | |
10465 BEGIN_INTERRUPT_WITH_EXCEPTIONS, END_INTERRUPT_WITH_EXCEPTIONS. | |
10466 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Likewise. | |
10467 * NLEqn.cc (hybrd1_fcn, hybrj1_fcn): Likewise. | |
10468 * LSODE.cc (lsode_f, lsode_j): Likewise. | |
10469 * DASSL.cc (ddassl_f, ddassl_j): Likewise. | |
10470 * DASRT.cc (ddasrt_f, ddasrt_j, ddasrt_g): Likewise. | |
10471 * DASPK.cc (ddaspk_f, ddaspk_psol, ddaspk_j): Likewise. | |
10472 | |
4164 | 10473 2002-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
10474 | |
10475 * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead | |
10476 of ! defined (linux). | |
10477 | |
5095 | 10478 2002-11-09 Per Persson <persquare@mac.com> |
4162 | 10479 |
10480 * oct-shlib.cc (octave_dyld_shlib): New class. | |
10481 (make_shlib): Instantiate octave_dyld_shlib. | |
10482 | |
4152 | 10483 2002-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
10484 | |
4153 | 10485 * CMatrix.cc, dMatrix.cc: Sprinkle with OCTAVE_QUIT. |
10486 | |
4152 | 10487 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Abort on error. |
10488 | |
10489 * Array.h: Include <cstddef> here. | |
10490 | |
4142 | 10491 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
10492 | |
4144 | 10493 * DASPK.cc (DASPK::do_integrate): Resize rwork and iwork before |
10494 using them. Accept inequality contraint option of 0. Assign | |
10495 pabs_tol and prel_tol before calling DASPK. Don't redeclare | |
10496 abs_tol and rel_tol. | |
10497 | |
4143 | 10498 * cmd-edit.h (command_editor::filename_completion_desired): New |
10499 static function. | |
10500 (command_editor::do_filename_completion_desired): New virtual function. | |
10501 * oct-rl-edit.c (octave_rl_filename_completion_desired): New function. | |
10502 * oct-rl-edit.h: Provide decl. | |
10503 | |
4142 | 10504 * Array2.cc (Array2<T>::get_size): #define MALLOC_OVERHEAD to |
10505 avoid OS X linker bug. | |
10506 * ArrayN.cc (ArrayN<T>::get_size): Likewise. | |
10507 | |
4139 | 10508 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
10509 | |
4141 | 10510 * ODESFunc.h (ODESFunc::ODES_fsub, ODESFunc::ODES_bsub, |
10511 ODESFunc::ODES_jsub): Reorder args for consistency with other | |
10512 solvers. | |
10513 * ODESSA.cc: Fix all callers. | |
10514 | |
4139 | 10515 * mx-inlines.cc (MX_BASE_REDUCTION_OP): Also return scalar |
10516 MT_RESULT if nr == 1 && nc == 0 && dim == -1 (i.e., | |
10517 sum(zeros(1,0)) returns 0, not [](1x0)). | |
10518 | |
4136 | 10519 2002-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
10520 | |
10521 * Makefile.in (LINK_DEPS): Include $(FLIBS) here too. | |
10522 | |
4132 | 10523 2002-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
10524 | |
4133 | 10525 * DASRT.cc (DASRT::integrate): Fix computation of lrw |
10526 (ddasrt_f): Combine loops. | |
10527 | |
4132 | 10528 * NLEqn.cc (NLEqn::solve): Return current estimate of solution |
10529 instead of empty vector if user termninates iteration. | |
10530 | |
4130 | 10531 2002-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
10532 | |
10533 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
10534 octave_read_complex, octave_write_double, octave_write_complex): | |
10535 New functions. | |
10536 * CMatrix.cc (operator << (std::ostream&, const ComplexMatrix&)): | |
10537 Use octave_write_complex. | |
10538 (operator >> (std::istream&, const ComplexMatrix&)): | |
10539 Use octave_read_complex. | |
10540 * dMatrix.cc (operator << (std::ostream&, double)): | |
10541 Use octave_write_double. | |
10542 (operator >> (std::istream&, double)): Use octave_read_double. | |
10543 | |
4126 | 10544 2002-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
10545 | |
10546 * oct-kpse.c (octave_kpse_clear_dir_cache): Delete. | |
10547 * oct-kpse.h: Delete decl. | |
10548 * pathsearch.cc (dir_path::init): Delete unnecessary call to | |
10549 ::octave_kpse_clear_dir_cache. | |
10550 | |
4123 | 10551 2002-10-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
10552 | |
4124 | 10553 * lo-sstream.h: Undef HAVE_SSTREAM if using a version of g++ |
10554 earlier than 3.0. | |
10555 | |
4123 | 10556 * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. |
10557 (liboctave.$(SHLEXT)): Not here. | |
10558 | |
5095 | 10559 2002-10-17 Paul Kienzle <pkienzle@users.sf.net> |
4110 | 10560 |
10561 * oct-shlib.cc (octave_w32_shlib): New class to support Windows. | |
10562 | |
4108 | 10563 2002-10-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
10564 | |
10565 * Makefile.in (install-lib): Don't bother with versions for | |
10566 $(SHLBIN) files. | |
10567 | |
5095 | 10568 2002-10-16 Paul Kienzle <pkienzle@users.sf.net> |
4105 | 10569 |
10570 * Makefile.in (LIB_DEPS): Include $(LIBS). | |
10571 | |
4102 | 10572 2002-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
10573 | |
10574 * lo-cieee.c: Move everything but lo_ieee_init here. | |
10575 (lo_ieee_Inf_value, lo_ieee_NA_value, lo_ieee_NaN_value): | |
10576 New functions. | |
10577 | |
10578 * Makefile.in (install): No need to use cd to create links. | |
10579 (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. | |
10580 | |
5095 | 10581 2002-10-14 Paul Kienzle <pkienzle@users.sf.net> |
4102 | 10582 |
10583 * Makefile.in: Merge liboctave with liboct-readline and | |
10584 liboct-pathsearch. | |
10585 Use link dependencies for shared libs if INCLUDE_LINK_DEPS. | |
10586 (libraries): Depend on versioned library. | |
10587 (liboctave.$(SHLEXT), liboctave.$(SHLEXT_VER)): Reverse actions -- | |
10588 build unversioned library, symbolic link adds version info. | |
10589 (install, uninstall): Handle link and load forms of the library | |
10590 separately. | |
10591 | |
4101 | 10592 2002-10-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
10593 | |
10594 * oct-time.cc: Use OCTAVE_USE_WINDOWS_API instead of __WIN32__ and | |
10595 __CYGWIN__. | |
10596 | |
10597 * file-ops.cc (file_ops::dir_sep_char, file_ops::dir_sep_str, | |
10598 file_ops::dir_sep_chars): New static functions to replace | |
10599 OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS. | |
10600 | |
10601 * oct-env.cc (octave_env::do_set_program_name): | |
10602 Use file_ops::dir_sep_chars instead of OCTAVE_DIR_SEP_CHARS. | |
10603 (octave_env::do_base_pathname): Likewise. | |
10604 (octave_env::do_make_absolute): Likewise. | |
10605 | |
10606 * oct-env.cc (octave_env::do_make_absolute): | |
10607 Use file_ops::dir_sep_str instead of OCTAVE_DIR_SEP_STR. | |
10608 (octave_env::do_get_home_directory): Likewise. | |
10609 | |
10610 * file-ops.cc (is_dir_sep): Use dir_sep_chars instead of embedding | |
10611 that information here too. | |
10612 (tilde_find_suffix, isolate_tilde_prefix, tilde_expand_word): | |
10613 Use file_ops::dir_sep_char instead of OCTAVE_DIR_SEP_CHAR. | |
10614 | |
10615 * file-ops.h: Use OCTAVE_HAVE_WINDOWS_FILESYSTEM and | |
10616 OCTAVE_HAVE_POSIX_FILESYSTEM instead of __WIN32__ and __CYGWIN__. | |
10617 | |
4097 | 10618 2002-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
10619 | |
10620 * oct-env.h (octave_env::current_directory): Now mutable. | |
10621 (octave_env:do_getcwd): Now const. | |
10622 | |
10623 * file-ops.h, file-ops.cc (file_ops::is_dir_sep): New function. | |
10624 (OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS, | |
10625 OCTAVE_CURRENT_DIR_STR): New macros. | |
10626 * oct-env.cc (is_dir_sep): Delete. | |
10627 (octave_env::do_base_pathname): Look for OCTAVE_DIR_SEP_CHARS, not '/'. | |
10628 (octave_env::do_set_program_name): Likewise. | |
10629 (octave_env::do_polite_directory_format): Use file_ops::is_dir_sep | |
10630 instead of checking for '/'. | |
10631 (octave_env::pathname_backup): Likewise. | |
10632 (octave_env::do_absolute_pathname): Likewise. | |
10633 (octave_env::do_make_absolute): Likewise. | |
10634 If dot_path is empty, use getcwd to set current_dir. | |
10635 (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR | |
10636 instead of "/". | |
10637 | |
5095 | 10638 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 10639 |
10640 * lo-cutils.c: On non-Posix Windows systems, include winsock.h. | |
10641 | |
5095 | 10642 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 10643 |
10644 * oct-env.cc (octave_env::do_absolute_pathname): Recognize | |
10645 absolute path names under MinGW as well. | |
10646 | |
10647 2002-10-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10648 | |
10649 * oct-env.cc: Include <cctype> too. | |
10650 | |
4087 | 10651 2002-10-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
10652 | |
10653 * oct-env.cc (octave_env::do_absolute_pathname): Handle Windows | |
10654 filenames. | |
10655 (octave_env::do_make_absolute): Check for absolute name with | |
10656 do_absolute_path. | |
4088 | 10657 (octave_env::do_chdir): Likewise. |
10658 (is_dir_sep): New function. | |
4087 | 10659 |
5095 | 10660 2002-10-03 Paul Kienzle <pkienzle@users.sf.net> |
4085 | 10661 |
4086 | 10662 * oct-time.cc (octave_time::stamp): Better resolution for Windows |
10663 systems. | |
4085 | 10664 |
4083 | 10665 2002-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
10666 | |
10667 * dMatrix.cc (Matrix::read): Clean up error handling logic. | |
10668 | |
4080 | 10669 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
10670 | |
4081 | 10671 * file-ops.cc (file_ops::mkdir): Handle one-arg mkdir here. |
10672 | |
4080 | 10673 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
10674 | |
5095 | 10675 2002-09-27 Per Persson <persquare@mac.com> |
4076 | 10676 |
10677 * oct-group.cc (octave_group::octave_group): Dont' forget to set | |
10678 gr_gid too. | |
10679 | |
4072 | 10680 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
10681 | |
4074 | 10682 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
10683 lo_ieee_* functions. | |
4072 | 10684 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074 | 10685 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
10686 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. | |
4072 | 10687 * lo-cieee.c: New file. |
4074 | 10688 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072 | 10689 * lo-ieee.h: Now all extern "C". |
4074 | 10690 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
10691 lo-mappers.cc and rename from xisnan, xfinite, xisinf. | |
10692 | |
4072 | 10693 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
10694 Now extern. | |
10695 | |
4066 | 10696 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
10697 | |
10698 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
10699 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
10700 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
10701 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
10702 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
10703 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
10704 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
10705 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
10706 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
10707 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
10708 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
10709 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
10710 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
10711 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
10712 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
10713 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
10714 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
10715 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
10716 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
10717 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
10718 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
10719 oct-alloc.cc: | |
10720 If __GNUG__, use pragma interface/implementation. Allow this to | |
10721 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. | |
10722 | |
5095 | 10723 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
4064 | 10724 |
4066 | 10725 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
10726 system readlink function is not available. | |
10727 | |
4065 | 10728 * lo-mappers.cc (xerf, xerfc): Delete. |
10729 * lo-mappers.h (xerf, xerfc): Delete decls. | |
10730 | |
4064 | 10731 * lo-mappers.cc: Remove unused #define M_PI. |
10732 * lo-specfun.cc: Add #define M_PI if needed. | |
10733 | |
4062 | 10734 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
10735 | |
10736 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility | |
10737 that geteuid doesn't exist. | |
10738 | |
10739 * LP.h: Rename LP class to octave_LP. | |
10740 LPsolve.h: Change all uses. | |
10741 | |
10742 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove | |
10743 incorrect token-pasting op. | |
10744 | |
10745 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to | |
10746 define lstat. | |
10747 | |
4061 | 10748 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
10749 | |
10750 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
10751 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
10752 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
10753 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
10754 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
10755 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
10756 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
10757 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
10758 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
10759 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
10760 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
10761 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
10762 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
10763 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
10764 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
10765 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
10766 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
10767 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
10768 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
10769 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
10770 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
10771 oct-alloc.cc: | |
10772 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ | |
10773 to decide whether to use the interface/implementation pragmas. | |
10774 | |
4058 | 10775 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
10776 | |
10777 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. | |
10778 | |
4055 | 10779 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
10780 | |
10781 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use | |
10782 qualified names. | |
10783 | |
4051 | 10784 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
10785 | |
4054 | 10786 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
10787 ArrayN.cc: Add typename where needed. | |
4053 | 10788 |
4051 | 10789 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
10790 strstream classes directly. | |
10791 * DASRT.cc: Likewise. | |
10792 * DASSL.cc: Likewise. | |
10793 * LSODE.cc: Likewise. | |
10794 * ODESSA.cc: Likewise. | |
10795 | |
10796 * cmd-hist.cc: Don't include <strstream>. | |
10797 * oct-shlib.cc: Likewise. | |
10798 | |
10799 * lo-sstream.h: New file. | |
10800 | |
4049 | 10801 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
10802 | |
10803 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): | |
10804 New data members. | |
10805 (LSODE::sanity_checked): Delete unused data member. | |
10806 | |
10807 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, | |
10808 prel_tol, pinfo, piwork, prwork): New data members. | |
10809 * DASSL.h (DASSL): Likewise. | |
10810 | |
10811 * DASRT.h (DASRT::sanity_checked): Delete unused data member. | |
10812 | |
10813 * DASRT.cc (DASRT::integrate (double)): Better handling of | |
10814 initialization, changes in options, etc. | |
10815 * DASPK.cc (DASPK::do_integrate): Likewise. | |
10816 * DASSL.cc (DASSL::do_integrate): Likewise. | |
10817 * LSODE.cc (LSODE::do_integrate): Likewise. | |
10818 | |
4047 | 10819 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
10820 | |
4049 | 10821 * DAEFunc.h (DAEFunc::reset): New data member. |
10822 * DAERTFunc.h (DAERTFunc::reset): Likewise. | |
10823 | |
10824 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. | |
10825 (base_diff_eqn::clear_stop_time): Likewise. | |
10826 | |
4047 | 10827 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
10828 * DASPK.cc (DASPK::do_integrate (double)): Likewise. | |
10829 | |
5095 | 10830 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
4044 | 10831 |
10832 * DASPK-opts.in, DASPK.h: Move include to .in file. | |
10833 * DASRT-opts.in, DASRT.h: Likewise. | |
9967 | 10834 * DASSL-opts.in, DASSL.h: Likewise. |
4044 | 10835 * LSODE-opts.in, LSODE.h: Likewise. |
10836 * NLEqn-opts.in, NLEqn.h: Likewise. | |
10837 * ODESSA-opts.in, ODESSA.h: Likewise. | |
10838 | |
4038 | 10839 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
10840 | |
4042 | 10841 * LSODE.cc (LSODE::error_message): Also return current T on |
10842 failures when that makes sense. | |
4043 | 10843 * DASSL.cc (DASSL::error_message): Likewise. |
10844 * DASRT.cc (DASRT::error_message): Likewise. | |
10845 * DASPK.cc (DASPK::error_message): Likewise. | |
10846 * ODESSA.cc (ODESSA:error_message): Likewise. | |
4042 | 10847 |
4038 | 10848 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
10849 $(LIBKPATHSEA) here. | |
10850 | |
4025 | 10851 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
10852 | |
10853 * lo-ieee.cc (lo_ieee_is_NA): New function. | |
10854 (lo_ieee_is_NaN_or_NA): New function. | |
10855 (octave_NA): New global value. | |
10856 (octave_ieee_init): Initialize it. | |
10857 * lo-mappers.cc (octave_is_NA): New function. | |
10858 (octave_is_NaN_or_NA): New function. | |
10859 (xisnan): Return false if NaN looks like a missing value. | |
10860 (xisnan (const Complex&)): Use xisnan here. | |
10861 | |
4015 | 10862 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
10863 | |
4017 | 10864 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
10865 ComplexMatrix::cumprod, ComplexMatrix::cumsum, | |
10866 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): | |
10867 Default value for dim is -1, not 0. | |
10868 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, | |
10869 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. | |
10870 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. | |
10871 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. | |
10872 | |
4015 | 10873 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
10874 New macros. | |
10875 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and | |
10876 MX_BASE_REDUCTION_OP. | |
10877 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. | |
10878 | |
4014 | 10879 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
10880 | |
4015 | 10881 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
10882 Return boolMatrix, not Matrix. | |
10883 | |
10884 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. | |
10885 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. | |
10886 (Matrix::all): Replace guts with MX_ALL_OP. | |
10887 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. | |
10888 (ComplexMatrix::all): Replace guts with MX_ALL_OP. | |
10889 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. | |
10890 (boolMatrix::all): Replace guts with MX_ALL_OP. | |
10891 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. | |
10892 (charMatrix::all): Replace guts with MX_ALL_OP. | |
10893 | |
10894 * dMatrix.h (Matrix::any): New arg, dim. | |
10895 (Matrix::all): Likewise. | |
10896 * CMatrix.h (ComplexMatrix::any): Likewise. | |
10897 (ComplexMatrix::all): Likewise. | |
10898 * boolMatrix.h (boolMatrix::any): Likewise. | |
10899 (boolMatrix::all): Likewise. | |
10900 * chMatrix.h (charMatrix::any): Likewise. | |
10901 (charMatrix::all): Likewise. | |
10902 | |
4014 | 10903 * Makefile.in: Use $@-t instead of $@.t. |
10904 | |
4004 | 10905 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
10906 | |
10907 * lo-specfun.cc (gammainc): New arg, err, for scalar version. | |
10908 Use it in matrix versions to avoid spewing multiple errors. | |
10909 Call xgammainc instead of dgamit. | |
10910 | |
3998 | 10911 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
10912 | |
9967 | 10913 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): |
3998 | 10914 Get rows and columns right in loop. |
10915 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. | |
10916 | |
10917 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10918 | |
10919 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. | |
10920 * DASRT.cc (DASRT::integrate): Likewise. | |
10921 * DASSL.cc (DASSL::do_integrate): Likewise. | |
10922 | |
10923 * Quad.cc: Don't pass tolerances in constructors. | |
10924 | |
10925 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, | |
10926 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. | |
10927 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, | |
10928 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically | |
10929 from corresponding .in files. | |
10930 * LSODE.h, Quad.h: Replace options class definitions with included | |
10931 file. | |
10932 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to | |
9967 | 10933 create OPTS_INC files from OPTS_INC_SRC files. |
3998 | 10934 (stamp-prereq): New target. |
10935 (libraries): Depend on stamp-prereq. | |
10936 Include stamp-prereq along with $(MAKEDEPS). | |
10937 | |
3997 | 10938 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
10939 | |
10940 * base-de.h (base_diff_eqn::istate): New data member. | |
10941 (base_diff_eqn::integration_state): New member function. | |
10942 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding | |
10943 data members and functions. | |
10944 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. | |
10945 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. | |
10946 | |
3990 | 10947 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
10948 | |
3995 | 10949 * base-de.h (base_diff_eqn::stop_time, |
10950 base_diff_eqn::stop_time_set, base_diff_eqn::restart, | |
10951 base_diff_eqn::integration_error): New data members. | |
10952 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, | |
10953 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, | |
10954 base_diff_eqn::error_message): New member functions. | |
10955 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, | |
10956 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data | |
10957 members and functions. | |
10958 | |
3992 | 10959 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
10960 * DASRT.cc (DASRT::DASRT): Set ng here. | |
3993 | 10961 (DASRT::integrate): Don't forget to set nn. |
3992 | 10962 |
3991 | 10963 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
10964 * DASSL.cc (ddassl_j): Make it work. | |
10965 * DASPK.cc (ddaspk_j): Likewise. | |
10966 | |
3990 | 10967 * DAE.cc: Delete. |
10968 | |
10969 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE | |
10970 solving with root finding. | |
10971 * Makefile.in: Add them to the appropriate lists. | |
10972 | |
10973 * base-dae.h: New file. | |
10974 * Makefile.in (INCLUDES): Add it to the list. | |
10975 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. | |
10976 | |
3984 | 10977 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
10978 | |
10979 * ODE.h: Move integrate and do_integrate method declarations and | |
10980 definitions here. | |
10981 * base-de.h: From here. | |
10982 | |
10983 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. | |
10984 * Makefile.in: Add them to the appropriate lists. | |
9967 | 10985 (LIBOCTAVE_CXX_SOURCES): |
3984 | 10986 |
3971 | 10987 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
10988 | |
10989 * NLEqn.cc (NLEqn::error_message): New function. | |
10990 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. | |
10991 | |
3970 | 10992 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
10993 | |
10994 * lo-utils.cc (octave_fgetl): New function. | |
10995 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. | |
10996 | |
3959 | 10997 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
10998 | |
10999 * LSODE.cc (LSODE::error_message): New function. | |
11000 * LSODE.h: Provide decl. | |
11001 (LSODE::integration_state): New function. | |
11002 (LSODE::integration_ok): New function. | |
11003 | |
3952 | 11004 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
11005 | |
3955 | 11006 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
11007 (LSODE_options::set_integration_method, | |
11008 LSODE_options::integration_method): New functions. | |
3954 | 11009 |
3952 | 11010 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
11011 Change all uses. | |
11012 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. | |
11013 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): | |
11014 New function. | |
11015 | |
11016 * Array.h (Array::fortran_vec): New const version. | |
11017 | |
3951 | 11018 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
11019 | |
11020 * cmd-edit.cc (gnu_readline::history_search_backward): New function. | |
11021 (gnu_readline::history_search_forward): Likewise. | |
11022 (gnu_readline::gnu_readline): Use them instead of passing pointers | |
11023 to extern "C" functions to octave_rl_ad_defun. | |
11024 | |
5095 | 11025 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
3946 | 11026 |
11027 * DASPK.cc (ddaspk_psol): Return value. | |
11028 * oct-rl-edit.c: Use /* ... */ to comment. | |
11029 | |
3945 | 11030 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
11031 | |
11032 * DASSL.h (DASSL_options::init): Undo previous change. | |
11033 (DASSL_options::set_absolute_tolerance): Likewise. | |
11034 * LSODE.h (LSODE_options::init): Likewise. | |
11035 (LSODE_options::set_absolute_tolerance): Likewise. | |
11036 | |
11037 * DASPK.h (DASPK_options::init): Use default absolute tolerance of | |
11038 sqrt(eps), not eps^2. | |
11039 DASPK_options::set_absolute_tolerance): Likewise. | |
11040 | |
5095 | 11041 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
3944 | 11042 |
11043 * Array.h (Array<T>::resize_fill_value): Return default initialized | |
11044 object. | |
11045 | |
3933 | 11046 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
11047 | |
11048 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. | |
11049 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. | |
11050 (octave_rl_set_basic_word_break_characters, | |
11051 octave_rl_set_completer_word_break_characters): New functions. | |
11052 * oct-rl-edit.h: Provide decls. | |
11053 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, | |
11054 gnu_readline::do_set_completer_word_break_characters): New functions. | |
11055 (command_editor::set_basic_quote_characters, | |
11056 command_editor::set_completion_append_character): New static functions. | |
11057 * cmd-edit.h: Provide decls. | |
11058 (command_editor::do_set_basic_word_break_characters, | |
11059 command_editor::do_set_completer_word_break_characters): | |
11060 New virtual functions. | |
11061 | |
11062 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h | |
11063 (resize_fill_value): New static function. | |
11064 | |
11065 * Array-idx.h (Array<T>::index): New args, resize_ok and | |
11066 resize_fill_value. | |
11067 * Array2-idx.h (Array2<T>::index): Likewise. | |
11068 * ArrayN-idx.h (ArrayN<T>::index): Likewise. | |
11069 | |
11070 * Array2.cc (Array<T>::print_info): New function. | |
11071 * Array2.h: Provide decl. | |
11072 | |
11073 * Array.cc (Array<T>::print_info): New function. | |
11074 * Array.h: Provide decl. | |
11075 | |
3928 | 11076 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
11077 | |
11078 * idx-vector.h (idx_vector::idx_vector (int)): New function. | |
11079 (idx_vector_rep::idx_vector_rep (int)): New decl. | |
11080 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. | |
11081 | |
11082 * Array.h (Array<T>::resize_fill_value (void)): New static function. | |
11083 (assign (Array<LT>&, const Array<RT>&)): Use it. | |
11084 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. | |
11085 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. | |
11086 | |
9967 | 11087 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
3928 | 11088 |
11089 * Array3.h (Array3<T>::checkelem): Improve error message. | |
11090 * ArrayN.h (ArrayN<T>::range_error): Likewise. | |
11091 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. | |
11092 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. | |
11093 | |
3919 | 11094 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
11095 | |
11096 * DASSL.h (DASSL_options::init): Undo previous change. | |
11097 (DASSL_options::set_absolute_tolerance): Likewise. | |
11098 | |
3912 | 11099 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
11100 | |
11101 * DASPK.h, DASPK.cc: New files. | |
11102 * Makefile.in: Add them to the appropriate lists. | |
11103 | |
3904 | 11104 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
11105 | |
11106 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): | |
11107 Simplify indexing when one or both of the indices are empty. | |
11108 | |
3896 | 11109 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
11110 | |
11111 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. | |
11112 (DASSL_options::set_absolute_tolerance): Likewise. | |
11113 * LSODE.h (LSODE_options::init): Likewise. | |
11114 (LSODE_options::set_absolute_tolerance): Likewise. | |
11115 | |
5095 | 11116 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
3887 | 11117 |
11118 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. | |
11119 * file-stat.cc (file_stat::update_internal, file_stat::copy): | |
11120 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. | |
11121 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. | |
11122 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. | |
11123 * file-stat.h: Likewise. | |
11124 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, | |
11125 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE | |
11126 instead of HAVE_STRUCT_TM_TM_ZONE. | |
11127 * strftime.c: Likewise. | |
11128 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, | |
11129 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, | |
11130 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, | |
11131 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, | |
11132 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
11133 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
11134 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. | |
11135 | |
5095 | 11136 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
3883 | 11137 |
9967 | 11138 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition |
3883 | 11139 internally when the user requests it. |
11140 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
11141 * dbleQR.cc (QR::init): Ditto. | |
11142 * dbleQRP.cc (QRP::init): Ditto. | |
11143 | |
3874 | 11144 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
11145 | |
11146 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a | |
11147 definition for NULL by passing 0 as the last arg to fftwnd_one. | |
11148 (octave_fftw::ifft2d): Likewise. | |
11149 | |
5095 | 11150 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
3873 | 11151 |
11152 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). | |
11153 | |
3867 | 11154 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
11155 | |
11156 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. | |
11157 (LS_DO_WRITE): Likewise. | |
9967 | 11158 |
3864 | 11159 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
11160 | |
11161 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. | |
11162 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. | |
11163 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. | |
11164 | |
11165 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, | |
11166 MX_REDUCTION_OP_ROW_EXPR): New macros. | |
11167 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. | |
11168 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. | |
11169 | |
11170 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. | |
11171 DIM == -1 now means no orientation for vector sums. | |
11172 * dMatrix.cc (ComplexMatrix::sumsq): Use it. | |
11173 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. | |
11174 | |
3858 | 11175 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
11176 | |
11177 * Range.cc (Range::nelem_internal): Special case ranges that must | |
11178 have zero elements. | |
11179 | |
3854 | 11180 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
11181 | |
3857 | 11182 * Makefile.in: Split out readline and pathsearch functionality |
11183 into separate liboct-readline and liboct-pathsearch libraries. | |
11184 | |
3854 | 11185 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857 | 11186 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
11187 to do nothing for this call to rl_clear_screen. | |
3854 | 11188 |
3849 | 11189 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
11190 | |
11191 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied | |
11192 function. | |
11193 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. | |
11194 | |
3838 | 11195 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
11196 | |
11197 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, | |
11198 Matrix::inverse): Handle the case of rcond being a NaN the same as | |
11199 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. | |
11200 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, | |
11201 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. | |
11202 | |
3836 | 11203 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
11204 | |
11205 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. | |
11206 | |
11207 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, | |
11208 Array-b.cc: Instantiate three arg assign functions. | |
11209 | |
11210 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): | |
11211 New arg, resize_fill_value. | |
11212 * ArrayN.h: Provide declaration. | |
11213 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling | |
11214 three arg version. | |
11215 | |
11216 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): | |
11217 New arg, resize_fill_value. | |
11218 * Array3.h: Provide declaration. | |
11219 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling | |
11220 three arg version. | |
11221 | |
11222 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
11223 New arg, resize_fill_value. | |
11224 * Array2.h: Provide declaration. | |
11225 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling | |
11226 three arg version. | |
11227 | |
11228 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
11229 New arg, resize_fill_value. | |
11230 * Array.h: Provide declaration. | |
11231 (assign (Array<LT>&, const Array<RT>&): Define here by calling | |
11232 three arg version. | |
11233 | |
3833 | 11234 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
11235 | |
11236 * pathsearch.cc (dir_path::set_program_name): Set the environment | |
11237 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS | |
11238 to the empty string. | |
11239 | |
3832 | 11240 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
11241 | |
11242 * Array2.h (Array2<T>::operator = (const Array2<T>&)): | |
11243 Don't check for rep != a.rep. | |
11244 | |
3827 | 11245 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
11246 | |
11247 * oct-fftw.h, oct-fftw.cc: New files. | |
11248 * Makefile.in (INCLUDES, SOURCES): Add new files. | |
9967 | 11249 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, |
3827 | 11250 ifourier2d}): Use fftw if available. |
9967 | 11251 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): |
3827 | 11252 Likewise. |
11253 | |
3821 | 11254 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
11255 | |
11256 * Makefile.in (install-lib): Don't use mk-libdir-link. | |
11257 (install-inc): Don't use mk-includedir-link. | |
11258 | |
3803 | 11259 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
11260 | |
11261 * lo-cutils.c (octave_gethostname): New function. | |
11262 * lo-utils.h: Provide declaration. | |
11263 * oct-env.cc (octave_env::do_get_host_name): | |
11264 Call octave_gethostname, instead of gethostname. | |
11265 | |
11266 * lo-cutils.c (gethostname): Define here. | |
11267 * lo-sysdep.cc: Not here. | |
11268 | |
3786 | 11269 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
11270 | |
11271 * lo-cutils.c: Don't declare strptime. | |
11272 (oct_strptime): Cast return type of strptime to char*. | |
11273 | |
3777 | 11274 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
11275 | |
3779 | 11276 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
11277 (octave_rl_set_name): call rl_re_read_init_file with two args. | |
11278 (octave_rl_read_init_file): Ditto. | |
11279 (octave_rl_clear_undo_list): Call rl_free_undo_list, not | |
11280 free_undo_list. | |
11281 (octave_rl_completion_matches): Call rl_completion_matches, not | |
11282 completion_matches. | |
11283 (octave_rl_enable_paren_matching): New function. | |
11284 (octave_rl_set_blink_matching_paren_flag): Delete. | |
11285 (octave_rl_get_blink_matching_paren_flag): Delete. | |
11286 | |
3777 | 11287 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
9967 | 11288 tanh (const Complex&)): Declare and define if not |
3777 | 11289 CXX_ISO_COMPLIANT_LIBRARY. |
11290 | |
3776 | 11291 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
11292 | |
11293 * lo-mappers.h (tanh (const Complex&)): Only declare if not | |
11294 CXX_ISO_COMPLIANT_LIBRARY. | |
11295 | |
3775 | 11296 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
11297 | |
3776 | 11298 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
11299 CXX_ISO_COMPLIANT_LIBRARY. | |
11300 | |
3775 | 11301 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
11302 archive libraries containing templates. | |
11303 | |
11304 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, | |
9967 | 11305 get_zero_len_size, all_colon_equiv): Inline. |
3775 | 11306 (ArrayN<T>::index): Rename idx to arr_idx. |
9967 | 11307 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, |
3775 | 11308 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, |
11309 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. | |
11310 | |
11311 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11312 | |
11313 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), | |
11314 log10 (const Complex&)): Delete. | |
11315 | |
11316 * oct-cmplx.h: Define forwarding functions for real, imag, abs, | |
11317 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, | |
11318 sinh, sqrt, tan, and tanh. | |
11319 | |
3769 | 11320 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
11321 | |
11322 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: | |
11323 Add std:: namespace qualifier as needed. | |
11324 | |
11325 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. | |
11326 Change all uses to match. | |
11327 | |
3767 | 11328 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
11329 | |
11330 * lo-cutils.c: Don't delcare strptime. | |
11331 | |
3760 | 11332 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
11333 | |
11334 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): | |
11335 Return correct size result for empty matrix case. | |
11336 | |
3757 | 11337 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
11338 | |
11339 * lo-mappers.cc (xmin (const Complex&, const Complex& y): | |
11340 If args are equal in magnitude, return first arg instead of | |
11341 second. | |
11342 | |
3752 | 11343 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
11344 | |
3755 | 11345 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
11346 then try harder to compute correct number of elements. | |
3753 | 11347 |
3752 | 11348 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
11349 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. | |
11350 | |
3750 | 11351 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
11352 | |
3751 | 11353 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
11354 Rename n_intervals to be n_elt. | |
11355 | |
3750 | 11356 * strptime.c: Surround everything after including config.h in |
11357 #ifndef HAVE_STRPTIME ... #endif. | |
11358 | |
3742 | 11359 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
11360 | |
11361 * Array-idx.h (assign): When resizing, cast fill value to LT. | |
11362 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. | |
11363 | |
3741 | 11364 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
11365 | |
11366 * MArray-defs.h: Protect against multiple inclusion. | |
11367 | |
3739 | 11368 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
11369 | |
11370 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the | |
11371 end of the list, to be compatible with previous versions of Octave. | |
11372 | |
3736 | 11373 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
11374 | |
11375 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, | |
11376 since mktime is supposed to `normalize' the results for us. | |
11377 | |
3731 | 11378 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
11379 | |
11380 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices | |
3732 | 11381 and vectors. Use xelem for faster access to elements when copying. |
3731 | 11382 |
3726 | 11383 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
11384 | |
11385 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): | |
11386 Correct indexing for operation across rows. | |
11387 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. | |
11388 | |
3725 | 11389 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
11390 | |
11391 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying | |
11392 elements if arg is a colon. | |
11393 | |
5095 | 11394 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
3723 | 11395 |
3795 | 11396 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723 | 11397 (Matrix::cumsum (int) const): Likewise. |
11398 (Matrix::prod (int) const): Likewise. | |
11399 (Matrix::sum (int) const): Likewise. | |
11400 (Matrix::sumsq (int) const): Likewise. | |
11401 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. | |
11402 (ComplexMatrix::cumsum (int) const): Likewise. | |
11403 (ComplexMatrix::prod (int) const): Likewise. | |
11404 (ComplexMatrix::sum (int) const): Likewise. | |
11405 (ComplexMatrix::sumsq (int) const): Likewise. | |
11406 | |
3722 | 11407 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
11408 | |
11409 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set | |
11410 size if Array<T>::index returns an empty array. | |
11411 | |
3710 | 11412 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
11413 | |
11414 * file-ops.cc (file_ops::link, file_ops::symlink, | |
11415 file_ops::readlink): New functions. | |
11416 | |
3709 | 11417 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
11418 | |
11419 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is | |
11420 indexed, always return an object the same size as the index arg. | |
11421 | |
11422 * oct-time.cc (octave_base_tm::strftime): Return empty string for | |
11423 empty format. | |
11424 | |
3706 | 11425 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
11426 | |
11427 * lo-cutils.c (oct_strptime): New function. | |
11428 * oct-time.cc (octave_strptime::init): Call it instead of strptime. | |
11429 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. | |
11430 | |
3702 | 11431 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
11432 | |
3703 | 11433 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
11434 | |
3702 | 11435 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
11436 | |
3689 | 11437 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
11438 | |
11439 * dMatrix.h (read_int): Provide declaration. | |
11440 | |
3688 | 11441 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
11442 | |
11443 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. | |
11444 (write_doubles): Ditto. | |
11445 * data-conv.h: Ditto. | |
11446 (enum save_type): New values, LS_U_LONG and LS_LONG. | |
11447 | |
3685 | 11448 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
11449 | |
11450 * boolMatrix.h: Declare MM_CMP_OPS here. | |
11451 * boolMatrix.cc: Define them here. | |
11452 | |
3680 | 11453 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
11454 | |
11455 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is | |
11456 previously undefined and set size of x to size of bool index. | |
11457 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): | |
11458 Allow z_len to be zero. | |
11459 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. | |
11460 If frozen, don't assert that frozen_at_z_len == z_len. | |
11461 | |
3670 | 11462 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
11463 | |
11464 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen | |
11465 instead of rl_clear_screen. | |
11466 | |
3665 | 11467 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
11468 | |
11469 * Array-d.cc: Instantiate ArrayN<double> here too. | |
11470 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. | |
11471 * Makefile.in: Add them to the appropriate lists. | |
11472 | |
3657 | 11473 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
11474 | |
11475 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. | |
11476 | |
3635 | 11477 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
11478 | |
11479 * lo-sysdep.h: octave_chdir returns int, not bool. | |
11480 | |
3615 | 11481 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
11482 | |
11483 * Makefile.in (liboctave.$(SHLEXT)): Delete target | |
11484 before rebuilding. | |
11485 | |
5095 | 11486 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
3615 | 11487 |
5261 | 11488 * Makefile.in (liboctave.$(LIBEXT)): New target. |
3615 | 11489 (libraries): Depend only on library targets, not archive members. |
11490 | |
3613 | 11491 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
11492 | |
11493 * Makefile.in: (objects): New target. | |
11494 | |
11495 * lo-cutils.c: New file. | |
11496 * Makefile.in (SOURCES): Add it to the list. | |
11497 * lo-utils.h: Declare octave_qsort here. | |
11498 * Array.h (Array::qsort): Use it here. | |
11499 | |
3607 | 11500 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
11501 | |
11502 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. | |
11503 | |
3598 | 11504 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
11505 | |
11506 * oct-rl-hist.c (octave_history_list): Do something when not | |
11507 printing line numbers. Fix reallocation of retval. | |
11508 | |
3597 | 11509 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
11510 | |
11511 * Makefile.in (install-inc): Install files in | |
11512 $(octincludedir)/octave. | |
11513 (uninstall): Remove them from the correct directory too. | |
11514 | |
11515 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if | |
11516 they are not already defined. | |
11517 | |
3588 | 11518 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
11519 | |
11520 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: | |
11521 Delete declarations and definitions of mixed-type vector-vector ops. | |
11522 | |
3585 | 11523 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
11524 | |
11525 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS | |
11526 matrix and vector objects. | |
11527 | |
11528 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to | |
11529 return type from second arg type. | |
11530 (MDM_BIN_OP): Likewise, for first arg type. | |
11531 | |
11532 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
11533 Matrix::fourier2d, Matrix::ifourier2d): Likewise. | |
11534 | |
11535 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly | |
11536 request ColumnVector to ComplexColumnVector, and Matrix to | |
11537 ComplexMatrix conversions. | |
11538 | |
11539 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its | |
11540 initial value using ComplexMatrix constructor. | |
11541 | |
11542 * CColVector.cc (product, quotient, | |
11543 operator * (const DiagMatrix&, const ComplexColumnVetor&)): | |
11544 Fix type of returned value. | |
11545 * CDiagMatrix.cc (ComplexDiagMatrix::row, | |
11546 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. | |
11547 | |
11548 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, | |
11549 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, | |
11550 dRowVector.h: Declare some constructors explicit, to disallow | |
11551 potentially problematic automatic type conversions. | |
11552 | |
3580 | 11553 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
11554 | |
3582 | 11555 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
11556 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: | |
11557 More new files. | |
11558 * Makefile.in: Add them to the appropriate lists. | |
11559 | |
11560 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, | |
11561 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, | |
11562 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, | |
11563 vx-s-crv.cc:, New files. | |
11564 * Makefile.in: Add them to the appropriate lists. | |
11565 | |
11566 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: | |
11567 Delete scalar by vector and vector by scalar binary ops. | |
11568 | |
3580 | 11569 * MArray-defs.h: More new macros to handle MDiagArray operators. |
11570 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. | |
11571 | |
3573 | 11572 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
11573 | |
3578 | 11574 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
11575 rl_event_hook before casting to void **. | |
11576 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. | |
11577 | |
3574 | 11578 * MArray-defs.h: Many new macros to make declaration and |
11579 definition of operators more consistent. | |
9967 | 11580 |
3574 | 11581 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, |
11582 CRowVector.h, dMatrix.h, CMatrix.h: Use them. | |
3573 | 11583 |
3569 | 11584 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
11585 | |
3572 | 11586 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
11587 (Matrix::ifourier2d): Likewise. | |
11588 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. | |
11589 (ComplexMatrix::ifourier2d): Likewise. | |
11590 | |
3569 | 11591 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
11592 | |
3504 | 11593 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
11594 | |
3519 | 11595 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
11596 readline library. | |
11597 * Makefile.in: Add them to the appropriate lists. | |
11598 | |
11599 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU | |
11600 readline history library. | |
11601 * Makefile.in: Add them to the appropriate lists. | |
11602 | |
3517 | 11603 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
11604 (LS_DO_READ): Likewise, for istream::read. | |
3518 | 11605 (write_doubles): Likewise. |
11606 (read_doubles): Likewise. | |
3517 | 11607 |
3516 | 11608 * oct-env.cc (octave_env::do_polite_directory_format): |
11609 Use operator== and substr method to do limited-length string | |
11610 comparison. | |
11611 | |
3513 | 11612 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512 | 11613 |
3511 | 11614 * Quad.h: Use do_integrate as name of pure virtual function. |
11615 | |
3508 | 11616 * base-de.h: Use tt instead of t as arg names. |
3511 | 11617 Add method with tcrit arg. |
11618 | |
3509 | 11619 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508 | 11620 |
3507 | 11621 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
11622 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. | |
11623 * Quad.cc (quad_fcn_ptr): Ditto. | |
11624 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. | |
11625 | |
3505 | 11626 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519 | 11627 * Makefile.in: Add them to the appropriate lists. |
3505 | 11628 |
11629 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. | |
3519 | 11630 * Makefile.in: Add them to the appropriate lists. |
3505 | 11631 |
3504 | 11632 * dMatrix.cc (write_int, read_int): No longer declared static. |
11633 | |
11634 * CDiagMatrix.h: Delete decls for friend operators that are | |
11635 handled by MDiagArray2 class. Move others outside class decl and | |
11636 strip friend status. | |
11637 * dDiagMatrix.h: Likewise. | |
11638 | |
11639 * MArray.h: Delete decls for friend operators inside class decl. | |
11640 * MArray2.h: Ditto. | |
11641 * MDiagArray2.h: Ditto. | |
11642 | |
11643 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all | |
11644 necessary parameters. Don't allocate memory in the macro. Change | |
11645 all uses. | |
11646 | |
11647 * dMatrix.h (class Matrix): Delete `friend class' decls. | |
11648 * CMatrix.h (class ComplexMatrix): Ditto. | |
11649 | |
11650 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, | |
11651 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, | |
11652 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to | |
11653 avoid type conflicts. Change all uses. | |
11654 | |
11655 * strptime.c (__mon_yday): Fix size of array decl. | |
11656 | |
11657 * mx-inlines.cc: Use `xnot' instead of `not' for function name. | |
11658 | |
11659 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous | |
11660 default value for second arg. | |
11661 | |
11662 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to | |
11663 references to ArrayRep. | |
11664 | |
3503 | 11665 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
11666 | |
3504 | 11667 * Array.h (Array::ArrayRep): Now protected, not private. |
3503 | 11668 |
11669 * All source files: Include iostream, fstream, strstream, | |
11670 etc. as needed instead of using forward declarations for these | |
3504 | 11671 classes. Add std:: qualifier as needed. |
3503 | 11672 |
3498 | 11673 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
11674 | |
11675 * oct-time.cc: Declare strptime extern "C". | |
11676 | |
3496 | 11677 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
11678 | |
11679 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. | |
11680 | |
3488 | 11681 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
11682 | |
3492 | 11683 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
11684 * Array3.h, Array3.cc: Use it in constructors and resize methods | |
11685 to get total size to be allocated. | |
11686 | |
3488 | 11687 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
11688 as bool, not int. | |
11689 | |
3482 | 11690 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
11691 | |
9967 | 11692 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): |
3482 | 11693 Allow A(idx) = RHS if idx is a boolean index with the same shape |
11694 as A, even when do_fortran_indexing is not enabled. | |
11695 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). | |
11696 | |
3473 | 11697 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
11698 | |
3480 | 11699 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
11700 function pointer as final arg. Passed function (if any) will be | |
11701 called for singularity errors. | |
11702 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. | |
11703 | |
11704 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. | |
11705 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
11706 | |
3475 | 11707 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
11708 No longer bother with infinity or quiet_nan. | |
11709 | |
3473 | 11710 * Array2.cc (Array2<T>::get_size): New function. |
11711 (Array2<T>::Array2, Array2<T>::resize): Use it. | |
11712 | |
3472 | 11713 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
11714 | |
11715 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): | |
11716 New function. | |
11717 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
11718 Use it when indexing with one arg instead of faking a second one. | |
11719 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): | |
11720 Return empty matrices with the correct dimensions for A(:,:) = [] | |
11721 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all | |
11722 rows or columns. | |
11723 | |
11724 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool | |
11725 vector that is all true values with a length equal to n as colon | |
11726 equivalent. | |
11727 | |
3470 | 11728 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
11729 | |
11730 * strptime.c: Only include langinfo.h if _LIBC is defined. | |
11731 | |
5095 | 11732 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468 | 11733 |
11734 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling | |
11735 operations directly in step 2 and reverse step 2. | |
11736 * dMatrix.cc (Matrix::expm): Apply permutation and scaling | |
11737 operations directly in step 2 and reverse step 2. | |
11738 | |
3465 | 11739 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
11740 | |
11741 * oct-time.h, oct-time.cc (octave_strptime): New class. | |
11742 | |
11743 * strptime.c: New file, from glibc 2.1.2. | |
11744 * Makefile.in (SOURCES): Add strptime.c to the list. | |
11745 | |
3419 | 11746 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
11747 | |
11748 * MArray.h (MArray <const Array<T>&)): New constructor. | |
11749 | |
3415 | 11750 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
11751 | |
11752 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing | |
11753 NULL directory list returned from kpse_element_dirs | |
11754 | |
3375 | 11755 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
11756 | |
11757 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. | |
11758 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF | |
11759 directly, instead of calling ZGESV. | |
11760 | |
3358 | 11761 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
11762 | |
11763 * data-conv.cc (init_sized_type_lookup_table): New function. | |
11764 (string_to_data_type): Use it to improve lookup of data types. | |
11765 | |
3354 | 11766 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
11767 | |
11768 * dMatrix.cc (is_symmetric): Move here from Array2.cc. | |
11769 * Array2.h (is_symmetric): Delete declaration. | |
11770 | |
3347 | 11771 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
11772 | |
11773 * oct-env.cc (do_get_user_name): Reverse sense of test. | |
11774 | |
3344 | 11775 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
11776 | |
11777 * oct-time.cc (Fstrftime): Undo previous change. | |
11778 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
11779 | |
3334 | 11780 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
11781 | |
3336 | 11782 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
11783 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. | |
11784 | |
3334 | 11785 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
11786 Don't forget to pass length of third string argument to dgeesx. | |
11787 | |
11788 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length | |
11789 of third string argument to zgeesx. | |
11790 | |
3333 | 11791 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
11792 | |
11793 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): | |
11794 On errors, simply return `T ()'. | |
11795 (DiagArray2<T>::checkelem (int, int)): Likewise. | |
11796 | |
5095 | 11797 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3331 | 11798 |
11799 * dMatrix.cc (Matrix::expm): Do balancing here instead of using | |
11800 AEPBALANCE class. | |
11801 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
11802 | |
3325 | 11803 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
11804 | |
11805 * oct-shlib.cc, oct-shlib.h: New files. | |
11806 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
11807 | |
3322 | 11808 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
11809 | |
11810 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. | |
11811 * dRowVector.cc (linspace): Ditto. | |
11812 | |
11813 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. | |
11814 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
11815 | |
3312 | 11816 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
11817 | |
11818 * DASSL.cc (DASSL::do_integrate (double)): If we have a function | |
11819 to evaluate the Jacobian, set info(4), not iwork(4). | |
11820 Set rwork(1) to the maximum step size, not rwork(2). | |
11821 | |
3290 | 11822 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
11823 | |
11824 * oct-time.cc: Include <climits>. | |
11825 | |
3281 | 11826 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
11827 | |
11828 * cmd-edit.h (command_editor::do_resize_terminal): New function. | |
11829 * cmd-edit.cc (command_editor::resize_terminal): New function. | |
11830 (gnu_readline::do_resize_terminal): New function. | |
11831 | |
3268 | 11832 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
11833 | |
11834 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. | |
11835 * lo-ieee.c: Likewise. | |
11836 Delete extern "C" declarations for infinity and quiet_nan. | |
11837 | |
3262 | 11838 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
11839 | |
3263 | 11840 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
11841 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions | |
11842 `inline', not `static inline'. | |
11843 | |
3262 | 11844 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
11845 then cast to const int * to compare. | |
11846 | |
3257 | 11847 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
11848 | |
11849 * DAEFunc.h: Remove useless preprocessor conditional. | |
11850 | |
3255 | 11851 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
11852 | |
3257 | 11853 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
11854 Use octave_time object instead of time_t. | |
11855 | |
11856 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, | |
11857 file_stat::fs_ctime): Now octave_time objects. | |
11858 (file_stat::atime, file_stat::mtime, file_stat::ctime): | |
11859 Return octave_time objects. | |
11860 (file_stat::is_newer): Args are now octave_time objects instead of | |
11861 time_t. | |
11862 | |
3255 | 11863 * oct-time.h (octave_time::as_double): Delete. |
11864 (octave_time::operator double ()): New function. | |
11865 (octave_time::operator time_t ()): New function. | |
11866 (octave_time::ctime): New function. | |
11867 (octave_base_tm::strftime): Renamed from format_as_string. | |
11868 (octave_base_tm::asctime): New function. | |
11869 (operator == (const octave_time&, const octave_time&), | |
11870 operator != (const octave_time&, const octave_time&), | |
11871 operator < (const octave_time&, const octave_time&), | |
11872 operator <= (const octave_time&, const octave_time&), | |
11873 operator > (const octave_time&, const octave_time&), | |
11874 operator >= (const octave_time&, const octave_time&)): | |
11875 New comparison functions. | |
11876 | |
11877 * strftime.c: Move here from src directory. | |
11878 * Makefile.in (SOURCES): Add it to the list. | |
11879 | |
11880 * oct-time.h (octave_time::octave_time (time_t)): New constructor. | |
11881 | |
3253 | 11882 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
11883 | |
11884 * oct-time.h, oct-time.cc: New files. | |
11885 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
11886 | |
11887 * systime.h: Move here from src directory. | |
11888 * Makefile.in (INCLUDES): Add it to the list. | |
11889 | |
3248 | 11890 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
11891 | |
11892 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. | |
11893 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. | |
11894 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. | |
11895 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. | |
11896 | |
11897 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. | |
11898 | |
3243 | 11899 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
11900 | |
11901 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. | |
11902 | |
11903 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11904 | |
11905 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a | |
11906 column vector for A(:), for compatibility with Matlab. | |
11907 | |
11908 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11909 | |
11910 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set | |
11911 iopt when there are optional inputs in rwork or iwork. | |
11912 | |
3238 | 11913 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
11914 | |
11915 * Makefile.in (libraries): Use the libfoo.a(objects) method of | |
11916 creating static libs. | |
11917 | |
5095 | 11918 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
3238 | 11919 |
11920 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 | |
11921 and uint32 data types. | |
11922 | |
11923 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11924 | |
11925 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code | |
11926 for Linux. Remove old Linux-specific code. | |
11927 | |
3233 | 11928 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
11929 | |
11930 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): | |
11931 Don't require lengths to be equal. | |
11932 * CMatrix.cc (operator * (const ComplexColumnVector& v, const | |
11933 ComplexRowVector& a)): Likewise | |
11934 | |
5095 | 11935 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
3225 | 11936 |
11937 * statdefs.h: Only define mode_t if not already defined. | |
11938 | |
5095 | 11939 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
3225 | 11940 |
11941 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero | |
11942 when appropriate. | |
11943 | |
11944 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11945 | |
11946 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name | |
11947 before calling rl_initialize. | |
11948 | |
3220 | 11949 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
11950 | |
11951 * lo-specfun.cc (besselh, airy, biry): New functions. | |
11952 Update Bessel function support to use library by D. E. Amos. | |
11953 | |
3219 | 11954 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
11955 | |
11956 * cmd-edit.h (command_editor::readline): Add new variation that | |
11957 allows EOF information to be passed back to caller. | |
11958 | |
11959 * dMatrix.cc (Matrix::read): Do the right thing for EOF when | |
11960 amount of data to read is unspecified. | |
11961 | |
3215 | 11962 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
11963 | |
3219 | 11964 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
11965 (DEFINE_OCTAVE_ALLOCATOR): Ditto. | |
11966 | |
9967 | 11967 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
3215 | 11968 Add volatile qualifier to void* arg. |
11969 Cast volatile void* arg to volatile char*. | |
11970 | |
11971 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11972 | |
11973 * cmd-edit.h (command_editor::do_set_event_hook): New function. | |
11974 (command_editor::do_restore_event_hook): Ditto. | |
11975 * cmd-edit.cc (command_editor::set_event_hook): Ditto. | |
11976 (command_editor::restore_event_hook): Ditto. | |
11977 (gnu_readline::do_set_event_hook): Ditto. | |
11978 (gnu_readline::do_restore_event_hook): Ditto. | |
11979 (gnu_readline::previous_event_hook): New data member. | |
11980 (gnu_readline::gnu_readline): Initialize previous_event_hook. | |
11981 | |
3206 | 11982 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
11983 | |
11984 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. | |
11985 | |
11986 * Makefile.in (stmp-pic): New target. | |
11987 ($(PICOBJ)): Depend on stmp-pic, not pic. | |
11988 (clean): Remove stmp-pic | |
11989 | |
11990 * Makefile.in: Undo previous change to avoid optmization when | |
11991 compiling lo-ieee.cc. | |
11992 | |
11993 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11994 | |
11995 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and | |
11996 imaginary parts. | |
11997 (xisinf): Define in terms of xisinf for real and imaginary parts. | |
11998 | |
3203 | 11999 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
12000 | |
12001 * boolMatrix.cc (boolMatrix::operator !): New function. | |
12002 | |
3196 | 12003 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
12004 | |
12005 * pathsearch.h (dir_path::default_path): New data member. | |
12006 * pathsearch.cc (dir_path::init): Use it. | |
12007 | |
12008 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. | |
12009 | |
3189 | 12010 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
12011 | |
12012 * chMatrix.cc (charMatrix::extract): New function. | |
12013 (charMatrix::charMatrix (char c)): New constructor. | |
12014 | |
12015 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12016 | |
12017 * cmd-edit.h: (command_editor::do_read_init_file): New function. | |
12018 * cmd-edit.cc (command_editor::read_init_file): New function. | |
12019 (gnu_readline::do_read_init_file): Likewise. | |
12020 | |
3185 | 12021 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
12022 | |
9967 | 12023 * oct-env.cc (octave_env::do_get_home_directory): |
3185 | 12024 If HOME can't be found, set it to "/". |
12025 (octave_env::do_get_user_name) | |
12026 If user name can't be found, set it to "unknown". | |
12027 (octave_env::do_get_host_name) | |
12028 If host name can't be found, set it to "unknown". | |
12029 | |
12030 * pathsearch.h (dir_path::rehash): New function. | |
12031 * pathsearch.cc (dir_path::init): Clear kpathsea's internal | |
12032 diretcory cache before doing initialization. | |
12033 | |
3180 | 12034 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
12035 | |
3185 | 12036 * dMatrix.cc (Qzval): Delete. |
12037 (qzhes, qzit, qzval): Delete F77_FCN declarations. | |
12038 * dMatrix.h (Qzval): Delete declaration. | |
12039 | |
12040 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. | |
12041 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. | |
12042 * mx-ext.h: Don't include dbleGEPBAL. | |
12043 | |
3180 | 12044 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
12045 static_cast. | |
12046 | |
12047 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12048 | |
12049 * dMatrix.cc (Matrix::read): Skip after reading, not before. | |
12050 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. | |
12051 | |
12052 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12053 | |
12054 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on | |
12055 HUGE_VAL and NAN. | |
12056 | |
12057 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12058 | |
12059 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
12060 Handle x(i) = scalar for do_fortran_indexing == 1. | |
12061 | |
12062 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12063 | |
12064 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): | |
12065 Alloctate space before attempting to use it. | |
12066 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. | |
12067 | |
5095 | 12068 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
3178 | 12069 |
12070 * EIG.cc (EIG::init): Move invariant code outside loop. | |
12071 | |
12072 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12073 | |
12074 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result | |
12075 have the same size as the operands. | |
9967 | 12076 |
3178 | 12077 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
12078 | |
12079 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the | |
12080 call to ddassl, set integration_error to 1 before calling the | |
12081 error handler and returning. | |
12082 * LSODE.cc (LSODE::do_integrate): Likewise. | |
12083 | |
3177 | 12084 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
12085 | |
12086 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if | |
12087 do_fortran_indexing is set, A([]) = scalar. | |
12088 * Array-idx.h (assign): Allow A([]) = scalar. | |
12089 | |
3176 | 12090 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
12091 | |
12092 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not | |
12093 if dm_nc == 0. | |
12094 | |
3174 | 12095 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
12096 | |
12097 * pathsearch.h (dir_path::p_orig): New field. | |
12098 * pathsearch.cc (dir_path::init): Perform variable and tilde | |
12099 expansion on the original path here. | |
12100 (dir_path::find_all): Don't do anything if not initialized. | |
12101 | |
3164 | 12102 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
12103 | |
12104 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing | |
12105 is not set. | |
12106 (index): Allow x = zeros (2, 0); x(1,:) to work. | |
12107 | |
12108 * lo-specfun.cc (gammainc): Use dgamit to compute | |
12109 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just | |
12110 \int_0^x exp(-t) t^(a-1) dt. | |
12111 | |
12112 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12113 | |
12114 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, | |
12115 Array-s.cc: Change return types of all `assign' explicit | |
12116 instantiations to be int, not void, to match the template decl in | |
12117 Array.h. | |
12118 | |
3162 | 12119 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
12120 | |
12121 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. | |
12122 | |
3156 | 12123 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
12124 | |
12125 * lo-specfun.cc (xgamma, xlgamma): Define here. | |
12126 * lo-mappers.cc: Not here. | |
12127 | |
12128 * lo-specfun.h: Declare xgamma and xlgamma here. | |
12129 * lo-mappers.h: Not here. | |
12130 | |
12131 * lo-specfun.h: Never declare gamma or lgamma. | |
12132 | |
3154 | 12133 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
12134 | |
12135 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an | |
12136 empty matrix of any dimension. | |
12137 | |
3145 | 12138 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
12139 | |
3147 | 12140 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
12141 | |
3146 | 12142 * lo-specfun.cc: Don't include dbleBessel.h. |
12143 | |
12144 * Makefile.in (INCLUDES): Delete oct-math.h from the list. | |
12145 | |
3145 | 12146 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
12147 * file-stat.h (file_stat::operator bool ()): Likewise. | |
12148 * idx-vector.h (idx_vector::operator bool ()): Likewise. | |
12149 * oct-group.h (octave_group::operator bool ()): Likewise. | |
12150 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. | |
12151 | |
12152 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): | |
12153 Don't cast arg in call to swap_8_bytes. | |
12154 (IEEE_big_double_to_IEEE_little_double): Ditto | |
12155 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to | |
12156 swap_4_bytes. | |
12157 (IEEE_little_float_to_IEEE_big_float): Ditto | |
12158 | |
12159 * oct-alloc.cc (grow): Use X_CAST, not static_cast. | |
12160 * prog-args.cc (prog_args::getopt): Likewise. | |
12161 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. | |
12162 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. | |
12163 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): | |
12164 Likewise. | |
12165 | |
12166 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, | |
12167 swap_8_bytes): Declare ptr arg as void*, then use cast. | |
12168 | |
3141 | 12169 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
12170 | |
12171 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). | |
12172 Use $(mk-libdir-link). | |
12173 | |
12174 * file-stat.cc (file_stat::update_internal): Use stat and lstat, | |
12175 not SAFE_STAT and SAFE_LSTAT. | |
12176 (lstat): New function, defined if HAVE_LSTAT is not defined. | |
12177 * safe-xstat.hin, safe-xstat.cin: Delete. | |
12178 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, | |
12179 safe-lstat.h, and safe-lstat.cc. | |
12180 | |
3136 | 12181 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
12182 | |
12183 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. | |
12184 | |
3130 | 12185 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
12186 | |
12187 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the | |
9967 | 12188 trace is negative. |
3130 | 12189 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if |
12190 the real part of the trace is negative. | |
12191 | |
12192 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12193 | |
12194 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. | |
12195 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. | |
12196 | |
12197 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] | |
12198 to succeed. | |
12199 | |
3125 | 12200 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12201 | |
12202 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. | |
12203 (make_uniq): Likewise. | |
12204 | |
12205 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12206 | |
12207 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. | |
12208 | |
3119 | 12209 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12210 | |
3121 | 12211 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
12212 | |
12213 * lo-specfun.h, lo-specfun.cc: New files. | |
3119 | 12214 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
12215 | |
3121 | 12216 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
12217 oct-math.h: Delete. | |
12218 * Makefile.in (SOURCES): Delete them from the list. | |
12219 | |
3112 | 12220 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12221 | |
12222 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. | |
12223 | |
5095 | 12224 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
3107 | 12225 |
12226 Changes to make support egcs snapshots that implement explicit | |
12227 specification of template functions according to CD2. | |
12228 | |
12229 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit | |
12230 template function specs for template friends. | |
12231 * MArray2.h: Likewise. | |
12232 * MDiagArray2.h: Likewise. | |
12233 | |
3095 | 12234 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12235 | |
12236 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) | |
12237 | |
3092 | 12238 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
12239 | |
9967 | 12240 * CRowVector.cc (linspace): Removed attempt for implicit conversion |
3092 | 12241 to complex<double>(int) instead of complex<double>(double). |
12242 | |
12243 * lo-mappers.cc (atanh): Ditto. | |
12244 | |
3079 | 12245 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12246 | |
12247 * idx-vector.cc (IDX_VEC_REP::sort): New function. | |
12248 * idx-vector.h (idx_vector::sort): Ditto. | |
12249 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before | |
12250 trying to delete elements specified by the index vectors. | |
12251 | |
3075 | 12252 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12253 | |
12254 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. | |
12255 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. | |
12256 | |
3074 | 12257 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12258 | |
12259 * file-ops.cc (tilde_expand_word): Fix off-by-one error. | |
12260 | |
3069 | 12261 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12262 | |
12263 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. | |
12264 Call error handler if we can't find the current directory. | |
12265 | |
3068 | 12266 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12267 | |
3069 | 12268 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
12269 (xfinite (double)): Ditto. | |
12270 | |
3068 | 12271 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
12272 * CmplxQR.cc (ComplexQR::init): Ditto. | |
12273 | |
3056 | 12274 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12275 | |
12276 * lo-mappers.cc (acos (const Complex&)): Select branch that is | |
12277 compatible with Matlab. | |
12278 | |
3050 | 12279 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12280 | |
12281 * Array2-idx.h: Correctly handle empty matrices indexed by a | |
12282 single colon. | |
12283 | |
3040 | 12284 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12285 | |
3049 | 12286 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
12287 (xgamma): Likewise, for calling xdgamma. | |
12288 | |
3042 | 12289 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
12290 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. | |
12291 | |
3040 | 12292 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
12293 to do better job expanding tildes. | |
12294 | |
12295 * str-vec.cc (string_vector::string_vector (const char * const *): | |
12296 Use temporary variable to compute length. | |
12297 | |
3029 | 12298 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12299 | |
3034 | 12300 * Makefile.in: Make building of static library optional. |
3036 | 12301 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034 | 12302 |
3029 | 12303 * Makefile.in (stamp-picdir): Delete. |
12304 (pic): New target. Don't worry so much about creating pic | |
12305 directory only when it is really needed. | |
12306 (stamp-interp): Delete. | |
12307 (libraries): New target. Depend on shared library directly. | |
12308 | |
3024 | 12309 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12310 | |
12311 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): | |
12312 New static function. | |
12313 | |
3012 | 12314 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12315 | |
12316 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. | |
12317 | |
3004 | 12318 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12319 | |
12320 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to | |
12321 set_basic_quote_characters, to match new version of readline. | |
12322 | |
12323 * cmd-edit.cc (do_restore_terminal_state): Call readline function | |
12324 for restoring terminal state through rl_deprep_term_function, now | |
12325 declared in readline.h | |
12326 (rl_deprep_terminal): Delete declaration. | |
12327 | |
2993 | 12328 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12329 | |
12330 * Makefile.in (install-in): Use new mk-includedir-link macro. | |
12331 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. | |
12332 | |
2968 | 12333 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12334 | |
12335 * cmd-edit.cc (command_editor::increment_current_command_number): | |
12336 New static function. | |
12337 | |
2964 | 12338 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12339 | |
2966 | 12340 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
12341 the vector is not sorted. | |
12342 | |
2964 | 12343 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
12344 * dMatrix.cc (Matrix::operator !): Likewise | |
12345 | |
2941 | 12346 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12347 | |
12348 * oct-syscalls.h, oct-syscalls.cc: New files. | |
12349 | |
12350 * cmd-edit.h, cmd-edit.cc: Handle completion function. | |
12351 | |
12352 * str-vec.h, str-vec.cc (string_vector::uniq): New function. | |
12353 | |
2938 | 12354 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12355 | |
2941 | 12356 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
12357 (install-inc): Use it. | |
12358 | |
2938 | 12359 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
12360 Handle errors and missing functions consistently. | |
12361 | |
12362 * oct-group.h, oct-group.cc: New files. | |
12363 | |
12364 * oct-passwd.cc: Handle errors and missing functions consistently. | |
12365 | |
12366 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. | |
12367 | |
2934 | 12368 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12369 | |
12370 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. | |
12371 * oct-env.cc (octave_env::do_get_user_name): Likewise. | |
12372 | |
12373 * oct-passwd.h, oct-passwd.cc: New files. | |
12374 | |
2926 | 12375 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12376 | |
12377 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. | |
12378 | |
12379 * mach-info.h, mach-info.cc: Add missing const qualifiers. | |
12380 (instance_ok ()): New function. | |
12381 | |
12382 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. | |
12383 | |
12384 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. | |
12385 | |
12386 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from | |
12387 src/utils.h and src/utils.cc. | |
12388 (octave_fgets): New function, extracted from src/input.cc. | |
12389 | |
12390 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for | |
12391 GNU readline, and allow Octave to work without GNU readline. | |
12392 | |
12393 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous | |
12394 system-dependent functions. | |
12395 | |
12396 * oct-env.h, oct-env.cc: New files for process environment stuff. | |
12397 | |
12398 * file-stat.h, file-stat.cc: New files. Extract file_stat class | |
12399 from file-ops.h and file-ops.cc and move here. | |
12400 | |
12401 * file-ops.h, file-ops.cc: Wrap functions in struct. Move | |
12402 tilde_expand functions here from src/dirfns.cc. | |
12403 | |
12404 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12405 | |
12406 * pathlen.h: New file, from ../src. | |
12407 | |
2917 | 12408 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12409 | |
12410 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent | |
12411 out-of-bounds indexing of the index array. | |
12412 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. | |
12413 | |
2850 | 12414 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12415 | |
12416 * LSODE.h (x_step_limit): New field. | |
12417 (LSODE_options::init): Initialize it. | |
12418 (LSODE_options::copy): Copy it. | |
12419 (LSODE_options::set_step_limit, LSODE_options::step_limit): | |
12420 New functions. | |
12421 (LSODE::working_too_hard): Delete. | |
12422 * LSODE.cc (LSODE::do_integrate): Handle step limit. | |
12423 | |
2844 | 12424 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12425 | |
12426 * MArray-b.cc: Delete. | |
12427 * Makefile.in: Delete it from the lists. | |
12428 | |
12429 * boolMatrix.h (class bboolMatrix): Derive from Array2, not | |
12430 MArray2, since most of the numeric ops don't really make sense. | |
12431 | |
2829 | 12432 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12433 | |
2832 | 12434 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
12435 | |
12436 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. | |
12437 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. | |
12438 | |
2830 | 12439 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
12440 idx_vector::freeze): Delete prefer_zero_one arg. | |
12441 * Array-idx.h, Array2-idx.h: Change all callers. | |
12442 | |
12443 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. | |
12444 | |
2829 | 12445 * mx-op-defs.h: New file for operator definitions. |
12446 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, | |
12447 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, | |
12448 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, | |
12449 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, | |
12450 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, | |
12451 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, | |
12452 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, | |
12453 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, | |
12454 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, | |
12455 mx-s-cm.cc, mx-s-dm.cc: | |
12456 New files for mixed-type operations. | |
12457 * Makefiles.in: Add them to the appropriate lists. | |
12458 | |
12459 * mx-inlines.cc: Add bool by bool EQ ops. | |
12460 | |
12461 * idx-vector.h, idx-vector.cc: Add constructors for bool and | |
12462 boolMatrix types. | |
12463 (idx_vector::maybe_convert_one_zero_to_idx, | |
12464 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): | |
12465 Delete second arg, prefer_zero_one. Change all callers. | |
12466 | |
12467 * boolMatrix.h, boolMatrix.cc: New files. | |
12468 * mx-base.h: Include boolMatrix.h here. | |
12469 * mx-defs.h: Provide forward declaration for boolMatrix here. | |
12470 | |
12471 * chMatrix.h, chMatrix.cc: Delete unused junk. | |
12472 | |
12473 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, | |
12474 operator-, operator*, product, and quotient functions. | |
12475 Add constructor for boolMatrix type. | |
12476 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, | |
12477 product, and quotient functions. | |
12478 | |
12479 * CDiagMatrix.h: Delete friend declarations for operator+, | |
12480 operator-, and product functions. | |
12481 * CDiagMatrix.h: Delete operator+, operator-, and product functions. | |
12482 | |
12483 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. | |
12484 | |
2815 | 12485 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12486 | |
12487 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. | |
12488 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. | |
12489 (EIG::symmetric_init (const Matrix&)): New function. | |
12490 (EIG::init (const Matrix&)): Call it if arg is symmetric. | |
12491 | |
12492 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. | |
12493 | |
12494 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12495 | |
12496 * Array2.cc (is_symmetric): New function. | |
12497 * Array2.h (is_square): New function. | |
12498 | |
2811 | 12499 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12500 | |
12501 * Makefile.in (install-strip): New target. | |
12502 | |
2804 | 12503 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12504 | |
12505 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
12506 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, | |
12507 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
12508 dbleSVD.cc: Don't include mx-inlines.cc. | |
12509 | |
12510 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of | |
12511 duplicate code. | |
12512 | |
2800 | 12513 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12514 | |
2804 | 12515 * dbleQR.h (QR): Delete extra comma at end of list. |
12516 | |
12517 * prog-args.cc (prog_args::getopt): Add missing const in cast. | |
12518 | |
12519 * dbleSVD.h (SVD::type): Delete extra comma at end of list. | |
12520 | |
12521 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and | |
12522 idx_vecotr_rep:: qualifiers. | |
12523 | |
12524 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. | |
12525 | |
12526 * data-conv.h (save_type): Delete extra comma at end of list. | |
12527 | |
2800 | 12528 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
12529 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, | |
12530 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of | |
12531 old C-style `(T) val' casts. | |
12532 | |
2795 | 12533 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12534 | |
12535 * dMatrix.cc (operator >>): Return if an error occurs instead of | |
12536 just breaking out of the innermost loop. | |
12537 * CMatrix.cc (operator >>): Likewise. | |
12538 | |
2779 | 12539 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775 | 12540 |
12541 * Version 2.0.5 released. | |
12542 | |
2767 | 12543 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12544 | |
12545 * CmplxQR.cc (ComplexQR::init): New function. | |
12546 (ComplexQR::ComplexQR): Use it. Use initializer list too. | |
12547 * CmplxQRP.cc (ComplexQRP::init): New function. | |
12548 Get sizes right in all cases. | |
12549 (ComplexQR::ComplexQRP): Use it. Use initializer list too. | |
12550 | |
12551 * dbleQR.cc (QR::init): New function. | |
12552 (QR::QR): Use it. Use initializer list too. | |
12553 * dbleQRP.cc (QRP::init): New function. | |
12554 Get sizes right in all cases. | |
12555 (QR::QRP): Use it. Use initializer list too. | |
12556 | |
2759 | 12557 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12558 | |
12559 * mach-info.cc (oct_mach_info::string_to_float_format): | |
12560 Recognize "vaxg", not "vax_g". | |
12561 | |
2713 | 12562 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12563 | |
2714 | 12564 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
12565 dimension in check for colon equivalent index. | |
12566 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element | |
12567 index whose value is 0 is also colon eqivalent for n == 1. | |
12568 | |
2713 | 12569 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
12570 system-specific tests first. | |
12571 | |
2709 | 12572 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702 | 12573 |
12574 * Version 2.0.4 released. | |
12575 | |
12576 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12577 | |
12578 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. | |
12579 | |
2693 | 12580 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690 | 12581 |
12582 * Version 2.0.3 released. | |
12583 | |
2686 | 12584 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12585 | |
12586 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. | |
12587 | |
2673 | 12588 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12589 | |
2676 | 12590 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
12591 (all): Don't depend on stamp-prereq or stamp-picdir. | |
12592 (liboctave.a, stamp-shared): Do depend on stamp-prereq. | |
12593 (stamp-picdir): Silence noise about making pic. | |
12594 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. | |
12595 | |
2673 | 12596 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
9967 | 12597 Fix typo in last change. |
2673 | 12598 |
12599 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): | |
12600 Convert from friend (moved from dColVector.cc). | |
12601 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): | |
12602 Likewise (moved from dMatrix.cc). | |
12603 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): | |
12604 Likewise (moved from dRowVector.cc). | |
12605 | |
12606 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. | |
12607 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. | |
12608 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. | |
12609 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. | |
12610 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. | |
12611 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. | |
12612 | |
12613 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. | |
12614 * dMatrix.cc (Matrix::apply): Likewise. | |
12615 * dRowVector.cc (RowVector::apply): Likewise. | |
12616 * CColVector.cc (ComplexColumnVector::apply): Likewise. | |
12617 * CMatrix.cc (ComplexMatrix::apply): Likewise. | |
12618 * CRowVector.cc (ComplexRowVector::apply): Likewise. | |
12619 | |
2668 | 12620 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12621 | |
12622 * lo-ieee.cc: Declare quiet_nan() and infinity(). | |
12623 | |
12624 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12625 | |
12626 * file-ops.cc (oct_unlink (const string&, string&)): | |
12627 New two-arg version. | |
12628 (oct_rmdir (const string&, string&)): New two-arg version. | |
12629 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. | |
12630 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. | |
12631 (oct_rename (const string&, const string&, string&)): | |
12632 New three-arg version. | |
12633 | |
2663 | 12634 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12635 | |
12636 * idx-vector.h (idx_vector::orig_empty): New function. | |
12637 | |
12638 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): | |
12639 Don't always resize to [](0x0) if one of the indices is empty or | |
12640 zero. | |
12641 | |
2658 | 12642 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12643 | |
12644 * cmd-hist.cc (command_history::read): New arg, must_exist. | |
12645 Set line_in_file here too. | |
12646 (command_history::read_range): New arg, must_exist. | |
12647 | |
2651 | 12648 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12649 | |
12650 * f2c-main.c: Change C++-style comments to C-style comments. | |
12651 | |
2638 | 12652 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12653 | |
12654 * Makefile.in (install-inc): Create a relative symbolic link. | |
12655 | |
2634 | 12656 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12657 | |
12658 * Version 2.0.2 released. | |
12659 | |
2624 | 12660 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12661 | |
12662 * Makefile.in (bin-dist): New target. | |
12663 | |
2621 | 12664 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12665 | |
12666 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. | |
12667 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. | |
12668 | |
2613 | 12669 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12670 | |
12671 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
12672 If the number of columns is zero, also set the number of rows to zero. | |
12673 (charMatrix::charMatrix (const char *)): Likewise. | |
12674 | |
2602 | 12675 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12676 | |
12677 * Version 2.0.1 released. | |
12678 | |
2601 | 12679 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
12680 | |
12681 * dMatrix.cc (Matrix::read): Correctly compute the number of | |
12682 columns for resizing when the number of rows is specified but the | |
12683 number of columns is not. | |
12684 | |
2598 | 12685 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
12686 | |
2599 | 12687 * Range.cc (operator -): New function. |
12688 | |
2598 | 12689 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
12690 | |
2589 | 12691 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
12692 | |
12693 * Array2-idx.h (assign): Delay resizing left hand side until we | |
12694 know if the assignment conforms. | |
12695 | |
2583 | 12696 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
12697 | |
12698 * Version 2.0 released. | |
12699 | |
2570 | 12700 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
12701 | |
2575 | 12702 * Array2-idx.h (assign): If index is a colon, set number of |
12703 elements to the lhs dimension if the lhs dimension is greater than | |
12704 zero. Otherwise, set it to the rhs dimension. | |
12705 | |
12706 * Version 1.94. | |
12707 | |
2570 | 12708 * Array2-idx.h (assign): Test for rhs scalar case first. |
12709 If index is colon, set number of elements to lhs dimension, not | |
12710 rhs dimension. | |
12711 | |
2563 | 12712 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
12713 | |
2566 | 12714 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
12715 * sun-utils.cc: Delete. | |
12716 * f2c-main.c: New file | |
12717 | |
12718 * Makefile.in: Fix file name lists. | |
12719 | |
2563 | 12720 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
12721 | |
2561 | 12722 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
12723 | |
12724 * dMatrix.cc (Qzval): Don't try to use same memory three times. | |
12725 Create result using Complex constructor, not multiplication. | |
12726 Order elements as they are returned from Eispack. | |
12727 | |
2559 | 12728 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
12729 | |
2560 | 12730 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
12731 Only include nan.h if SCO is defined. Define _IEEE before | |
12732 including it and undefine it afterward. | |
12733 [SCO] (isnan): Don't mistake Inf as NaN. | |
12734 | |
2559 | 12735 * Array-idx.h (assign): Only resize if assignment conforms. |
12736 | |
2551 | 12737 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
12738 | |
12739 * Makefile.in (INCLUDES): Delete lo-error.h. | |
12740 * lo-error.h: Delete (moved to libcruft/misc). | |
12741 | |
12742 * Version 1.93. | |
12743 | |
2546 | 12744 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
12745 | |
2549 | 12746 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
12747 be the same as they are in fnmatch.h. | |
12748 | |
2546 | 12749 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
12750 | |
12751 * Makefile.in (INCLUDES): Delete f77-fcn.h. | |
12752 (SOURCES): Delete f77-fcn.c. | |
12753 | |
2522 | 12754 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
12755 | |
12756 * lo-ieee.h: [SCO]: Declare isinf and isnan. | |
12757 | |
2512 | 12758 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
12759 | |
12760 * Version 1.92. | |
12761 | |
2508 | 12762 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
12763 | |
2512 | 12764 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
12765 lines that have only carriage return or newline. | |
12766 | |
2508 | 12767 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
12768 | |
2500 | 12769 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
12770 | |
12771 * idx-vector.cc (idx_is_inf_or_nan): New function. | |
12772 (IDX_VEC_REP::idx_vector_rep): Use it. | |
12773 | |
2493 | 12774 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
12775 | |
12776 * str-vec.h, str-vec.cc: Add constructors to make string vectors | |
12777 from vectors of C strings. | |
12778 | |
12779 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string | |
12780 vector. | |
12781 (glob_match::match): Allow match string to be a string vector. | |
12782 (glob_match::glob): New function. | |
12783 | |
12784 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. | |
12785 | |
12786 * Array-b.cc: New file. | |
12787 * Makefile.in (TI_SRC): Add it to the list. | |
12788 | |
2492 | 12789 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
12790 | |
12791 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h | |
12792 and safe-stat.h, to avoid getting them from $srcdir when we really | |
12793 want the version from the build directory. (Maybe this should be | |
12794 done for all the include files, not just those that are | |
12795 auto-generated? Hmm.) | |
12796 | |
2481 | 12797 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
12798 | |
2482 | 12799 * Version 1.91. |
12800 | |
2481 | 12801 * Array3.cc (Array3<T>::resize): Make it work. |
12802 | |
12803 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12804 | |
12805 * oct-alloc.h, oct-alloc.cc: New files. | |
12806 * Makefile.in: Add them to the lists. | |
12807 | |
12808 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12809 | |
12810 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. | |
12811 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. | |
12812 | |
2466 | 12813 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
12814 | |
12815 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, | |
12816 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
12817 file_stat::is_reg, file_stat::is_sock): Just return false if the | |
9967 | 12818 underlying macro is not defined. |
2466 | 12819 |
12820 * oct-math.h (lgamma, gamma): Delete declarations. | |
12821 (asinh, acosh, atanh, erf, erfc): Declare arg types too. | |
12822 Protect declarations with #ifdef HAVE_*. | |
12823 | |
2440 | 12824 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
12825 | |
2452 | 12826 * Version 1.90. |
12827 | |
12828 * Makefile.in (DISTFILES): Add ChangeLog. | |
12829 | |
2444 | 12830 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
12831 | |
12832 * Matrix-ext.cc: Include <cfloat>, not <float.h>. | |
12833 | |
2443 | 12834 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444 | 12835 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
12836 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. | |
2443 | 12837 |
2440 | 12838 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
12839 since that is now accepatble syntax, even for built-in types. | |
12840 * Array2.h (T Array2<T>::checkelem): Likewise | |
12841 | |
2433 | 12842 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
12843 | |
12844 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error | |
12845 message and return -1. | |
12846 | |
2428 | 12847 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
12848 | |
2431 | 12849 * str-vec.h (str_vec_compare): Declare args as const void *, then |
12850 cast them to const string * in the body of the function. | |
12851 | |
12852 * file-ops.cc (file_stat::mode_as_string): Explicitly construct | |
12853 string from buf. | |
12854 | |
2428 | 12855 * Array3.h (Array3::checkelem): Tag bogus return value with |
12856 GCC_ATTRIBUTE_UNUSED. | |
12857 * Array2.h (Array2::checkelem): Likewise. | |
9967 | 12858 |
2424 | 12859 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
12860 | |
12861 * Quad.h (Quad): Define virtual destructor. | |
12862 | |
2408 | 12863 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
12864 | |
12865 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. | |
12866 | |
2401 | 12867 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
12868 | |
12869 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ | |
12870 and MAIN__ extern "C". | |
12871 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. | |
12872 | |
2391 | 12873 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
12874 | |
12875 * MArray-misc.cc: New file. | |
12876 * Makefile.in (MATRIX_SRC): Add it to the list. | |
12877 | |
12878 * mx-inlines.cc (equal): Return bool, not int. | |
12879 | |
12880 * idx-vector.h (idx_vector (double)): New constructor. | |
12881 | |
12882 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, | |
12883 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, | |
12884 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, | |
12885 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, | |
12886 CRowVector.cc: Logical operators return bool, not int. | |
12887 | |
12888 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): | |
12889 New function. | |
12890 | |
12891 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, | |
12892 Matrix::any_element_is_inf_or_nan, Matrix::abs, | |
12893 Matrix::all_elements_are_inf_or_nan): New functions. | |
12894 | |
12895 * Range.h, Range.cc (Range::all_elements_are_ints): New function. | |
12896 | |
12897 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant | |
12898 for errors. Simplify macros by converting FCN to string for error | |
12899 messages. | |
12900 | |
12901 * Array-idx.h (Array<T>::index): New function. Don't call | |
12902 clear_index() here. | |
12903 (Array<T>::value): Call it, do call clear_index() here. | |
12904 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for | |
12905 one and two arg index functions. | |
12906 | |
12907 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12908 | |
12909 * DAEFunc.h: Delete #pragma interface since there is no longer a | |
12910 separate implementation file. | |
12911 | |
2354 | 12912 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
12913 | |
2358 | 12914 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
12915 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. | |
12916 | |
2356 | 12917 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
12918 sort_uniq. If sort_uniq is nonzero, sort the elements and make | |
12919 them uniq. | |
12920 | |
2354 | 12921 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
12922 ComplexMatrix::column_max, ComplexMatrix::column_min): | |
12923 Rewrite. Also return index as a reference arg. | |
12924 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, | |
12925 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): | |
12926 Delete. | |
12927 | |
12928 * dMatrix.cc (Matrix::row_max, Matrix::row_min, | |
12929 Matrix::column_max, Matrix::column_min): | |
12930 Rewrite. Also return index as a reference arg. | |
12931 (Matrix::row_max_loc, Matrix::row_min_loc, | |
12932 Matrix::column_max_loc, Matrix::column_min_loc): Delete. | |
12933 | |
12934 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12935 | |
12936 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, | |
12937 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, | |
12938 Matrix::column_min_loc, Matrix::column_max, | |
12939 Matrix::column_max_loc): Ignore leading NaNs. | |
12940 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, | |
12941 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, | |
12942 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, | |
12943 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore | |
12944 leading NaNs. | |
12945 | |
2352 | 12946 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
12947 | |
12948 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds | |
12949 starting at n, not 0. | |
12950 | |
2349 | 12951 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
12952 | |
12953 * dMatrix.cc (Matrix::Matrix (const RowVector&), | |
12954 Matrix::Matrix (const ColumnVector&)): New constructors. | |
12955 | |
12956 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), | |
12957 ComplexMatrix::ComplexMatrix (const ColumnVector&), | |
12958 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), | |
12959 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): | |
12960 New constructors. | |
12961 | |
12962 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): | |
12963 New constructor. | |
12964 | |
2343 | 12965 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
12966 | |
12967 * LSODE.cc (do_integrate): Check to make sure that the state and | |
12968 derivative vectors are the same size. | |
2344 | 12969 * DASSL.cc (do_integrate): Likewise. |
2343 | 12970 |
2330 | 12971 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
12972 | |
12973 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use | |
12974 iostreams and handler data format conversions. Delete old methods | |
12975 that used stdio. | |
12976 | |
12977 * data-conv.h, data-conv.cc (oct_data_conv): New class. | |
12978 | |
12979 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12980 | |
12981 * mach-info.h: Rename from float-fmt.h. | |
12982 * mach-info.cc: Rename from float-fmt.cc. | |
12983 Handle machine information using a singlton class. | |
12984 * Makefile.in: Update appropriate lists. | |
12985 | |
12986 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12987 | |
12988 * Array-flags.cc: Provide definitions for the flags even if | |
12989 OCTAVE_SOURCE is not defined. | |
12990 | |
12991 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects | |
12992 operator(), not elem(). | |
12993 * Array3.h: Move indexing methods here from Array3.cc. | |
12994 | |
12995 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12996 | |
12997 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). | |
12998 | |
12999 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of | |
13000 INSTALL_DATA for shared libs. | |
13001 | |
13002 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13003 | |
13004 * Quad.cc: Include lo-error.h here too. | |
13005 | |
13006 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13007 | |
13008 * file-ops.h: Include sys/types.h here. | |
13009 | |
13010 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13011 | |
13012 * chMatrix.cc (charMatrix::transpose): Provide definition. | |
13013 | |
13014 * Array-idx.h (maybe_delete_elements): Correctly compute number of | |
13015 elements in result. | |
13016 * Array2-idx.h (maybe_delete_elements): Likewise for number of | |
13017 rows and columns in result. | |
13018 | |
13019 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13020 | |
13021 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. | |
13022 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. | |
13023 | |
13024 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13025 | |
13026 * Makefile.in (install-inc): Install in octincludedir, not includedir. | |
13027 | |
13028 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13029 | |
13030 * Makefile.in (uninstall): Also delete shared library. | |
13031 Split install into install-libs and install-includes. | |
13032 (install-inc): If linkdir is a directory, leave it alone. | |
13033 | |
13034 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. | |
13035 | |
13036 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13037 | |
13038 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. | |
13039 * Array2-idx.h (assign): Likewise. | |
13040 | |
13041 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13042 | |
13043 * Array2.cc (Array2<T>::range_error): New functions. | |
13044 | |
13045 * Array.h (class Array<T>): elem() and operator() are now | |
13046 equivalent, and do bounds checking by default. | |
13047 * Array2.cc (class Array2<T>): Likewise. | |
13048 | |
13049 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13050 | |
13051 * Makefile.in (maintainer-clean, distclean): Also delete | |
13052 stamp-picdir, stamp-shared, and pic directory. | |
13053 (stamp-prereq): New target. | |
13054 | |
13055 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13056 | |
13057 * NPSOL.h (NPSOL_options::set_option (const char *, int)): | |
13058 New function. | |
13059 | |
13060 * Array.h, Array.cc (Array<T>::range_error ()): New functions. | |
13061 * Array.h (Array<T>::checkelem): Use them. | |
13062 | |
13063 * base-lu.h, base-lu.cc: Parameterize based on types of matrix | |
13064 elements too. | |
13065 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. | |
13066 | |
13067 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. | |
13068 | |
13069 * Makefile.in (distclean): Delete so_locations, which is created | |
13070 on DEC Alpha systems. | |
13071 | |
13072 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13073 | |
13074 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not | |
13075 already defined. | |
13076 | |
13077 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13078 | |
13079 * pathsearch.cc: Include config.h. | |
13080 | |
13081 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13082 | |
13083 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't | |
13084 allow M(I, J) = scalar if I or J is empty. | |
13085 | |
13086 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h | |
13087 and Array3-idx.h). | |
13088 | |
13089 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13090 | |
13091 * lo-error.h: Make comments C friendly. | |
13092 | |
13093 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13094 | |
13095 * Array2.h (make_unique): Move all indexing functions here. | |
13096 * Array2.cc: From here. | |
13097 | |
13098 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control | |
13099 whether operator() calls elem or checkelem. | |
13100 | |
13101 * Array.h (make_unique): New private function. | |
13102 Move all indexing functions here. | |
13103 * Array.cc: From here. | |
13104 | |
13105 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference | |
13106 it too. | |
13107 | |
13108 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, | |
13109 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, | |
13110 MArray-C.cc: Include config.h. | |
13111 | |
13112 * Array.h, Array2.h, DiagArray2.h, Array3.h: | |
13113 Don't define HEAVYWEIGHT_INDEXING here. | |
13114 | |
13115 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13116 | |
13117 * base-lu.h, base-lu.cc: New files. | |
13118 * Makefile.in: Add them to the appropriate lists. | |
13119 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. | |
13120 | |
13121 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13122 | |
13123 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h | |
13124 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h | |
13125 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. | |
13126 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. | |
13127 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. | |
9967 | 13128 |
2330 | 13129 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. |
13130 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. | |
13131 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. | |
13132 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: | |
13133 Simplify using new macros. | |
13134 | |
13135 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13136 | |
13137 * Makefile.in (install): If $(includedir) ends in version string, | |
13138 make link to name that does not include version info. | |
13139 | |
13140 * lo-ieee.cc: Include <cmath> here. | |
13141 | |
13142 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13143 | |
13144 * lo-ieee.cc, lo-ieee.h: New files. | |
13145 * lo-mappers.cc, lo-mappers.h: New files. | |
13146 * lo-utils.cc, lo-utils.h: New files. | |
13147 * Makefile.in: Add them to the appropriate lists. | |
13148 | |
13149 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13150 | |
13151 * dMatrix.cc (all_integers, too_large_for_float): New functions. | |
13152 * CMatrix.cc (all_integers, too_large_for_float): New functions. | |
13153 | |
13154 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, | |
13155 float-fmt.cc: New files. | |
13156 * Makefile.in: Include them in the appropriate lists. | |
13157 | |
13158 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13159 | |
13160 * dMatrix.cc (Qzval): New function. | |
13161 | |
13162 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13163 | |
13164 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not | |
13165 char*. | |
13166 | |
13167 * DASSL.h, DASSL.cc: Do better management of temporary workspace. | |
13168 Use F77_XFCN to call Fortran subroutine. | |
13169 * dColVector.cc, CColVector.cc: Likewise. | |
13170 * dRowVector.cc, CRowVector.cc: Likewise. | |
13171 * NPSOL.h, NPSOL.cc: Likewise. | |
13172 * CmplxCHOL.cc: Likewise. | |
13173 * dbleCHOL.cc: Likewise. | |
13174 * CMatrix.cc: Likewise. | |
13175 * dMatrix.cc: Likewise. | |
13176 * QPSOL.cc: Likewise. | |
13177 * LSODE.cc: Likewise. | |
13178 | |
13179 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13180 | |
13181 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. | |
13182 | |
13183 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary | |
13184 workspace. Use F77_XFCN to call Fortran subroutine. | |
13185 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. | |
13186 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. | |
13187 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. | |
13188 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. | |
13189 * CmplxHESS.h, CmplxHESS.cc: Likewise. | |
13190 * CmplxSVD.h, CmplxSVD.cc: Likewise. | |
13191 * dbleHESS.h, dbleHESS.cc: Likewise. | |
13192 * dbleSVD.h, dbleSVD.cc: Likewise. | |
13193 * EIG.h, EIG.cc; Likewise. | |
13194 * CollocWt.cc: Likewise. | |
13195 * NLEqn.cc: Likewise. | |
13196 * Quad.cc: Likewise. | |
13197 | |
13198 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13199 | |
13200 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. | |
13201 Use F77_XFCN to call Fortran subroutine. | |
13202 * CmplxLU.h, CmplxLU.cc: Ditto. | |
13203 * dbleQR.h, dbleQR.cc: Ditto. | |
13204 * CmplxQR.h, CmplxQR.cc: Ditto. | |
13205 * dbleQRP.h, dbleQRP.cc: Ditto. | |
13206 * CmplxQRP.h, CmplxQRP.cc: Ditto. | |
13207 | |
13208 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. | |
13209 (struct DIR): delete forward declaration. | |
13210 (dir_entry::operator = (const dir_entry$)): Protect against | |
13211 copying same object. | |
13212 * dir-ops.cc: Cast dir appropriately. | |
13213 | |
13214 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13215 | |
13216 * lo-error.cc: Moved to libcruft/misc. | |
13217 * Makefile.in: Delete it from the list. | |
13218 | |
13219 * f77-fcn.c (f77_context, f77_exception_encountered): Delete | |
13220 definitions (they have been moved to libcruft/misc/f77-extern.cc). | |
13221 | |
13222 * Array-flags.h: New file. | |
13223 * Array-idx.h: Include it here. | |
13224 * Makefile.in (MATRIX_INC): Add it to the list. | |
13225 | |
13226 * Array-flags.cc: Renamed from Array-ext.cc. | |
13227 (liboctave_dfi_flag): Renamed from dfi_flag. | |
13228 (liboctave_pcv_flag): Renamed from pcv_flag. | |
13229 (liboctave_pzo_flag): Renamed from pzo_flag. | |
13230 (liboctave_rre_flag): Renamed from rre_flag. | |
13231 * Array-idx.h: Change all uses of dfi_flag, etc. | |
13232 * Makefile.in (MATRIX_SRC): Change file name here too. | |
13233 | |
13234 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. | |
13235 (stamp-shared): Use them here. | |
13236 | |
13237 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13238 | |
13239 * cmd-hist.cc (command_history::ignore_entries): Delete default | |
13240 argument value. | |
13241 | |
13242 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13243 | |
13244 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, | |
13245 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, | |
13246 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, | |
13247 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: | |
13248 Clean up constructors, assigment operator. | |
13249 | |
13250 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13251 | |
13252 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. | |
13253 Check f77_exception_encountered on return. | |
13254 | |
13255 * f77-fcn.c (f77_exception_encountered): New variable. | |
13256 (F77_XFCN): Set it. | |
13257 * f77-fcn.h: Provide declaration. | |
13258 | |
13259 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). | |
13260 | |
13261 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). | |
13262 | |
13263 * NLEqn.h (NLEqn_options::set_options): New function. | |
13264 * Quad.h (Quad_options::set_options): Likewise. | |
13265 | |
13266 * LP.h (class LP): Add accessors for LP data. | |
13267 | |
13268 * NLEqn.h (NLEqn::n): Delete. | |
13269 | |
13270 * NLEqn.h (class NLEqn::n): Likewise. | |
13271 | |
13272 * NLP.h (class NLP): Add accessors for NLP data. | |
13273 | |
13274 * NPSOL.h (class NPSOL_options): Move constructors, set, and | |
13275 access functions here. | |
13276 * NPSOL.cc.cc: From here. | |
13277 | |
13278 * QLD.h (class QLD): Add destructor definition. | |
13279 * Objective.h (class Objective): Likewise. | |
13280 * ODEFunc.h (class ODEFunc): Likewise. | |
13281 * NLFunc.h (class NLFunc): Likewise. | |
13282 * NLEqn.h (class NLEqn): Likewise. | |
13283 * NLConst.h (class NLConst): Likewise. | |
13284 * LinConst.h (class LinConst): Likewise. | |
13285 * LSODE.h (class LSODE_options): Likewise. | |
13286 * CollocWt.h (class CollocWt): Likewise. | |
13287 * Bounds.h (class Bounds): Likewise. | |
13288 | |
13289 * QLD.cc (QLD::set_default_options): Delete. | |
13290 | |
13291 * QP.h (QP): Add accessors for QP data. | |
13292 Add copy constructor, operator =, and destructor definitions. | |
13293 | |
13294 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, | |
13295 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, | |
13296 DAEFunc.h, CollocWt.h, Bounds.h: | |
13297 Clean up constructors, assigment operator. | |
9967 | 13298 |
2330 | 13299 * dRowVector.cc (RowVector::transpose): Use magic of reference |
13300 counting to avoid duplicating the data immediately. | |
13301 * dColVector.cc (ColumnVector::transpose): Likewise. | |
13302 * CRowVector.cc (ComplexrowVector::transpose): Likewise. | |
13303 * CColVector.cc (ComplexColumnVector::transpose): Likewise. | |
13304 | |
13305 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13306 | |
13307 * prog-args.h (prog_args::option_argument): New enum. | |
13308 | |
13309 * f77-fcn.h: Rename from f77-uscore.h. | |
13310 (F77_XFCN_ERROR, F77_XFCN): New macros. | |
13311 * f77-fcn.c: New file. | |
13312 * Makefile.in (SOURCES): Add it to the list. | |
13313 | |
13314 * ODEFunc.h: Clean up. | |
13315 | |
13316 * DASSL.cc, DASSL.h: New files. | |
13317 * Makefile.in: Add them to the appropriate lists. | |
13318 | |
13319 * LSODE.cc, LSODE.h: New files. | |
13320 * Makefile.in: Add them to the appropriate lists. | |
13321 | |
13322 * ODE.cc: Delete. | |
13323 * Makefile.in (SOURCES): Remove from list. | |
13324 | |
13325 * base-de.h, DAE.cc: New files. | |
13326 * Makefile.in: Add them to the appropriate lists. | |
13327 * ODE.h: Only define interface for ODE classes. | |
13328 * DAE.h: Only define interface for ODE classes. | |
13329 | |
13330 * LPsolve.cc (do_minimize): Print sorry not implemented message. | |
13331 (LPsolve::set_default_options)): Delete | |
13332 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and | |
13333 destructor. | |
13334 | |
13335 * LP.h (class LP): Add operator =, copy constructor, and destructor. | |
13336 | |
13337 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. | |
13338 (QPSOL::operator =): Call base class operator = instead of assuming | |
13339 we know what to copy. | |
13340 | |
13341 * base-min.h (size): New function. | |
13342 | |
13343 * NLP.h (NLP::size): Delete. | |
13344 (NLP::NLP (const NLP&)): New constructor. | |
13345 (NLP::operator =): Call base class operator = instead of assuming | |
13346 we know what to copy. | |
13347 | |
13348 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. | |
13349 (class NPSOL): Add operator = and destructor. | |
13350 | |
13351 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. | |
13352 | |
13353 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13354 | |
13355 * Makefile.in (liboctave.a): Depend on $(PICOBJ). | |
13356 | |
13357 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13358 | |
13359 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. | |
13360 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. | |
13361 | |
13362 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13363 | |
13364 * prog-args.h, prog-args.cc: New files. | |
13365 * Makefile.in: Add them to lists. | |
13366 | |
13367 * getopt.h, getopt.c, getopt1.c: New files. | |
13368 * Makefile.in: Add them to the lists. | |
13369 | |
13370 * oct-term.h, oct-term.cc: New files. | |
13371 * Makefile.in: Add them to the lists. | |
13372 | |
13373 * str-vec.cc: New file. | |
13374 * Makefile.in (SOURCES): Add it to the list. | |
13375 | |
13376 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. | |
13377 | |
13378 * tempname.c, tempnam.c: Move here from src directory. | |
13379 * Makefile.in: Add to lists. | |
13380 | |
13381 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13382 | |
13383 * cmd-hist.h, cmd-hist.cc: New files. | |
13384 * Makefile.in: Add them to lists. | |
13385 | |
13386 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13387 | |
13388 * oct-glob.h, oct-glob.cc: New files. | |
13389 * Makefile.in: Add them to lists. | |
13390 | |
13391 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13392 | |
13393 * pathsearch.h, pathsearch.cc: New files. | |
13394 * Makefile.in: Add them to lists. | |
13395 | |
13396 * dir-ops.h, dir-ops.cc: New files. | |
13397 * sysdir.h: Move here from src directory. | |
13398 * Makefile.in: Add them to lists. | |
13399 | |
13400 * Array.h (Array::qsort): Return *this, not void. | |
13401 * str-vec.h (string_vector::qsort): Likewise. | |
13402 | |
13403 * chMatrix.cc (row_as_string): Resize result to eliminate | |
13404 unnecessary NULs. | |
13405 | |
13406 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13407 | |
13408 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, | |
13409 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: | |
13410 Files moved here from src directory. | |
13411 * Makefile.in: Add them to lists. Include appropriate rules. | |
13412 | |
13413 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
13414 Use pointers, not references (this is C code!). | |
13415 | |
13416 * oct-math.h: New file. | |
13417 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
13418 Files moved here from src directory. | |
13419 * Makefile.in: Add them to lists. | |
13420 | |
13421 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13422 | |
13423 * idx-vector.cc (make_uniq): Fix major brain-o. | |
13424 | |
13425 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: | |
13426 Convert to use string class instead of char*. | |
13427 | |
13428 * str-vec.h, Array-str.cc: New files. | |
13429 | |
13430 * Array.h (Array::qsort): New function. | |
13431 | |
13432 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13433 | |
13434 * Array.h: Nest ArrayRep class inside Array class. | |
13435 Refer to ArrayRep, not ArrayRep<T>. | |
13436 Move all ArrayRep functions inline. | |
13437 Don't declare other Array classes as friends of ArrayRep. | |
13438 * Array.cc: Delete ArrayRep functions. | |
13439 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. | |
13440 | |
13441 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: | |
13442 Don't instantiate ArrayRep objects. | |
13443 | |
13444 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13445 | |
13446 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
13447 New constructor. | |
13448 | |
13449 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13450 | |
13451 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* | |
13452 for balance_job arg. | |
13453 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. | |
13454 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. | |
13455 | |
13456 * chMatrix.cc (row_as_string): Return string, not const char*. | |
13457 | |
13458 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13459 | |
13460 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. | |
13461 | |
13462 * chMatrix.cc (row_as_string): Undo previous change. | |
13463 | |
13464 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13465 | |
13466 * chMatrix.cc (row_as_string): Do memory management here. Caller | |
13467 is expected to save string if necessary. | |
13468 | |
13469 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13470 | |
13471 * Array.h (class DiagArray): Enable nested Proxy class for all | |
13472 platforms. | |
13473 | |
13474 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == | |
13475 a.rep, don't mess with count. | |
13476 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, | |
13477 don't do anything if reps are the same. | |
13478 (Array3<T>& operator = (const Array3<T>&) | |
13479 | |
13480 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): | |
13481 Declare private with no definition to prevent misuse. | |
13482 | |
13483 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): | |
13484 Get range check right. | |
13485 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. | |
13486 (Matrix::insert (const ColumnVector&, int, int)): Ditto. | |
13487 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. | |
13488 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. | |
13489 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. | |
13490 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. | |
13491 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. | |
13492 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. | |
13493 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. | |
13494 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. | |
13495 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. | |
13496 * dColVector.cc | |
13497 (ColumnVector::insert (const ColumnVector&, int)): Ditto. | |
13498 * CRowVector.cc | |
13499 (ComplexRowVector::insert (const RowVector&, int)): Ditto. | |
13500 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. | |
13501 * CColVector.cc | |
13502 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. | |
13503 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. | |
13504 | |
13505 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): | |
13506 Also fill in zeros, not just the diagonal. | |
13507 | |
13508 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): | |
13509 Use END parameter properly. | |
13510 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. | |
13511 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. | |
13512 | |
13513 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. | |
13514 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. | |
13515 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): | |
13516 Don't copy count. Set it to 1. | |
13517 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. | |
13518 | |
13519 * Array.h (Array<T>::Array (T *, int)): After constructing rep, | |
13520 don't set rep->count to 1 here (now handled by ArrayRep | |
13521 constructors). | |
13522 (Array<T>::Array (void)): Ditto. | |
13523 (Array<T>::Array (int)): Ditto. | |
13524 (Array<T>::T& elem (int)): Ditto. | |
13525 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. | |
13526 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. | |
13527 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. | |
13528 (Array<T>::resize (int)): Ditto. | |
13529 (Array<T>::resize (int, const T&)) :Ditto. | |
13530 (Array<T>::fortran_vec (void)): Ditto. | |
13531 (Array2<T>::resize (int, int)): Ditto. | |
13532 (Array2<T>::resize (int, int, const T&)): Ditto. | |
13533 (DiagArray<T>::resize (int, int)): Ditto. | |
13534 (DiagArray<T>::resize (int, int, const T&)): Ditto. | |
13535 | |
13536 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13537 | |
13538 * Array-ch.cc: Rename from Array-c.cc. | |
13539 * MArray-ch.cc: Rename from MArray-c.cc. | |
13540 * chMatrix.cc: Rename from cMatrix.cc. | |
13541 * chMatrix.h: Rename from cMatrix.h. | |
13542 * Makefile.in (TI_SRC): Use new names here. | |
13543 * mx-base.h: Likewise. | |
13544 | |
13545 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13546 | |
13547 * Makefile.in: Handle shared libraries. | |
13548 | |
13549 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13550 | |
13551 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): | |
13552 Correctly compute length of return value. Correct rows and | |
13553 columns in zgemv call. | |
13554 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. | |
13555 | |
13556 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13557 | |
13558 * Makefile.in (stamp-picdir): New target. | |
13559 (all): Depend on it. | |
13560 | |
13561 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13562 | |
13563 * Makefile.in (INCLUDES): Remove QLD.h. | |
13564 (SOURCES): Remove QLD.cc. | |
13565 | |
13566 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13567 | |
13568 * dMatrix.cc (Matrix::inverse): New arg, force. | |
13569 If force is nonzero, invert even if matrix is singular. | |
13570 (ComplexMatrix::inverse): Likewise. | |
13571 | |
13572 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, | |
13573 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, | |
13574 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: | |
13575 Include "oct-cmplx.h" instead of <Complex.h>. | |
13576 | |
13577 * mx-defs.h: Include oct-cmplx.h in place of forward declaration | |
13578 for class Complex. | |
13579 | |
13580 * oct-cmplx.h: New file. | |
13581 * Makefile.in (INCLUDES): Add it to the list. | |
13582 | |
13583 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. | |
13584 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. | |
13585 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. | |
13586 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): | |
13587 Avoid g++ bugs. | |
13588 | |
13589 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
13590 | |
13591 * Array-idx.h (maybe_delete_elements): Give useful error message. | |
13592 | |
13593 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. | |
13594 | |
13595 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
13596 | |
13597 * CDiagMatrix.cc (inverse): Return retval, not *this. | |
13598 * dDiagMatrix.cc (inverse): Use same method as for Complex case. | |
13599 | |
13600 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
13601 | |
13602 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep | |
13603 index vector object with Array, not ArrayRep. | |
13604 | |
13605 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
13606 | |
13607 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail | |
13608 if index is a colon and resizing is maybe needed. | |
13609 | |
13610 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
13611 | |
13612 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true | |
13613 if we have a vector of 1's. | |
13614 | |
13615 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no | |
13616 current orientation, require index and rhs to conform unless | |
13617 do_fortran_indexing flag is set. | |
13618 | |
13619 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
13620 | |
13621 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, | |
13622 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, | |
13623 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, | |
13624 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, | |
13625 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: | |
13626 Massive changes to support additional data types. Only charMatrix | |
13627 is currently used in Octave. | |
13628 | |
13629 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
13630 | |
13631 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. | |
13632 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): | |
13633 Simply call Array2<Complex> version. | |
13634 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just | |
13635 call Array2<double> version. | |
13636 | |
13637 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. | |
13638 | |
13639 * Array.h, Array.cc: Massive overhaul to support new way of | |
13640 handling indexing. | |
13641 * idx-vector.h, idx-vector.cc: Likewise. | |
13642 * Array-ext.cc, Array-idx.h: New files. | |
13643 * Makefile.in: Add them to the appropriate lists. | |
13644 | |
13645 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
13646 | |
13647 * Range.cc (nelem_internal): Use tfloor here, not round. | |
13648 | |
13649 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
13650 | |
13651 * idx-vector.h, idx-vector.cc: New files, moved from ../src. | |
13652 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. | |
13653 | |
13654 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
13655 | |
13656 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. | |
13657 | |
13658 * Array.h: Move simple member functions here. | |
13659 * Array.cc: From here. | |
13660 | |
13661 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
13662 | |
13663 * Range.cc (tfloor, tceil, round): New static functions. | |
13664 (Range::nelem_internal): Rewrite to use better method. | |
13665 | |
13666 * dbleSVD.h (SVD::type): New item, sigma_only. | |
13667 (type_computed): New var. | |
13668 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): | |
13669 Handle possible error condition. | |
13670 (init): Allow for SVD::sigma_only, save type computed. | |
13671 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): | |
13672 Handle possible error condition. | |
13673 (init): Allow for SVD::sigma_only, save type computed. | |
13674 | |
13675 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
13676 | |
13677 * Nearly all non-matrix .h and .cc files: | |
13678 Move short function bodies into class declarations for inlining. | |
13679 Generally clean up. | |
13680 | |
13681 * base-min.h: New file. | |
13682 * LP.h (class LP): Derive from base_minimizer. | |
13683 * QLP.h (class QLP): Derive from base_minimizer. | |
13684 * NLP.h (class NLP): Derive from base_minimizer. | |
13685 * Makefile.in (INCLUDES): Add base-min.h to the list. | |
13686 | |
13687 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, | |
13688 NLFunc.cc, Objective.cc and QP.cc from list. | |
13689 | |
13690 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
13691 | |
13692 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. | |
13693 (SCHUR::SCHUR): Delete unused parameter ord. | |
13694 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. | |
13695 | |
13696 * CRowVector.cc | |
13697 (ComplexRowVector::operator+ (const Complex&, const RowVector&), | |
13698 (ComplexRowVector::operator- (const Complex&, const RowVector&), | |
13699 (ComplexRowVector::operator* (const Complex&, const RowVector&), | |
13700 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): | |
13701 Actually do something. | |
9967 | 13702 |
2330 | 13703 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. |
13704 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. | |
13705 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. | |
13706 | |
13707 * Quad.cc (Quad_options::Quad_options (double, double)): New function. | |
13708 * (Quad::Quad (integrand_fcn, double, double): Properly initialize | |
13709 tolerances. | |
9967 | 13710 |
2330 | 13711 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. |
13712 * LPsolve.cc (LPsolve::minimize): Likewise. | |
13713 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. | |
13714 * ODE.cc (lsode_f, lsode_j): Likewise. | |
13715 * QPSOL.cc (qphess): Likewise. | |
13716 | |
13717 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
13718 | |
13719 * dMatrix.cc: Include <cstring>. | |
13720 | |
13721 * Array.cc: Try harder to avoid warnings from gcc in functions | |
13722 that return bogus values after calling the error handler. | |
13723 | |
13724 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
13725 | |
13726 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. | |
13727 | |
13728 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. | |
13729 | |
13730 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
13731 | |
13732 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. | |
13733 (dassl_j): Likewise. | |
9967 | 13734 |
2330 | 13735 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, |
13736 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, | |
13737 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: | |
13738 Update for change in for loop variable scope for gcc 2.7.0. | |
13739 | |
13740 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
13741 | |
13742 * Makefile.in: Only include dependency files if $(omit_deps) is | |
13743 not set. | |
13744 | |
13745 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) | |
13746 | |
13747 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h | |
13748 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h | |
13749 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h | |
13750 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h | |
13751 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h | |
13752 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h | |
13753 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h | |
13754 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h | |
13755 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc | |
13756 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc | |
13757 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc | |
13758 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc | |
13759 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc | |
13760 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc | |
13761 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc | |
13762 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc | |
13763 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc | |
13764 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h | |
13765 NLP.h: Use pragma interface/implementation. Don't surround | |
13766 contents in extern "C++". | |
13767 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". | |
13768 | |
13769 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
13770 | |
13771 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase | |
13772 identifiers. | |
13773 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
13774 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
13775 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
13776 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
13777 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
13778 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
13779 Quad.cc: Change usage of F77_FCN to match new definition | |
13780 | |
13781 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
13782 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
13783 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
13784 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
13785 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
13786 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
13787 Quad.cc: Where appropriate, declare Fortran subroutines to take | |
13788 args by reference instead of pointer. Change all callers. | |
13789 | |
13790 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
13791 | |
13792 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New | |
13793 functions. Make += and -= operators friend functions. | |
13794 | |
13795 * Array.h (Array2::~Array2, Array3::~Array3, | |
13796 DiagArray::~DiagArray): New functions. | |
13797 | |
13798 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
13799 | |
13800 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. | |
13801 (MATRIX_INC): Don't distribute mx-kludge.h. | |
13802 | |
13803 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
13804 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
13805 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
13806 dRowVector.h dRowVector.cc: | |
13807 Derive classes from MArray, MArray2, and MDiagArray, not Array, | |
13808 Array2, and DiagArray2. | |
13809 Don't use functions defined in mx-kludge.cc for arithmetic | |
13810 like-type operations on arrays. | |
13811 | |
13812 * MArray.cc: Use the classes defined here like-type mathematical | |
13813 operations on Array objects. Abuse CPP more. | |
13814 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
13815 (EXTRAS): Delete it from this list. | |
13816 | |
13817 * MArray-C.cc, MArray-d.cc: New files. | |
13818 * Makefile.in (TI_SRC): Add them to the list. | |
13819 | |
13820 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
13821 | |
13822 * mx-kludge.cc: Abuse CPP even more. | |
13823 | |
13824 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
13825 | |
13826 * Objective.h (objective_function): Add missing const. | |
13827 (gradient_function): Likewise. | |
13828 | |
13829 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
13830 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
13831 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
13832 dRowVector.h dRowVector.cc: | |
13833 Reorganize to declare and define friends where they should be, | |
13834 based on the use of private constructors. | |
13835 | |
13836 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
13837 | |
13838 * CRowVector.h (linspace): Add declaration. | |
13839 * dRowVector.h (linspace): Likewise. | |
13840 | |
13841 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
13842 Force result of rcond + 1.0 to be stored. | |
13843 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, | |
13844 ComplexMatrix::solve): Likewise. | |
13845 | |
13846 See ChangeLog.1 in the top level directory for earlier changes. |