Mercurial > hg > octave-nkf
annotate liboctave/ChangeLog @ 8301:f7d44b6a74df
fix out-of-bounds checks in null assignments
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Sun, 02 Nov 2008 06:15:11 +0100 |
parents | 7e87d3d76a56 |
children | f2e050b62199 |
rev | line source |
---|---|
8301
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
1 2008-11-02 Jaroslav Hajek <highegg@gmail.com> |
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
2 |
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
3 * 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
|
4 correctly. |
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
5 |
8298
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
6 2008-10-31 Jaroslav Hajek <highegg@gmail.com> |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
7 |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
8 * 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
|
9 extent when len is zero. |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
10 * 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
|
11 Create empty range by default. |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
12 |
8293
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
13 2008-10-30 Jaroslav Hajek <highegg@gmail.com> |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
14 |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
15 * 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
|
16 (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
|
17 std::abs. |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
18 * oct-inttypes.cc (octave_int_arith_base<int64_t, true>): Dtto. |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
19 |
8290
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
20 2008-10-28 Jaroslav Hajek <highegg@gmail.com> |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
21 |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
22 * 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
|
23 Don't use semicolon after INSTANTIATE_ARRAY_ASSIGN. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
24 * Array-util.h (zero_dims_inquire): New declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
25 (is_in, how_many_lgt, short_freeze): Remove declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
26 * Array-util.cc (zero_dims_inquire): New functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
27 (is_in, how_many_lgt, short_freeze): Remove functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
28 * 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
|
29 Array<T>::assign, Array<T>::delete_elements): |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
30 Rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
31 * 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
|
32 Array<T>::assign, Array<T>::delete_elements): |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
33 Rewrite interfaces. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
34 * Array2.h (Array2<T>::resize): Call Array<T>::resize_fill. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
35 * Array3.h (Array3<T>::resize): Call Array<T>::resize_fill. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
36 * ArrayN.h (ArrayN<T>::resize): Remove declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
37 (ArrayN<T>::index): Fix call to resize_fill_value. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
38 * Sparse.cc (assign, assign1): Use zero-based indices. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
39 * chMatrix.h: Include mx-op-defs.h |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
40 * 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
|
41 dim_vector::redim): New member functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
42 * idx-vector.cc: Mostly rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
43 * idx-vector.h: Mostly rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
44 |
8288
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
45 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
|
46 |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
47 * 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
|
48 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
|
49 not supported under MSVC. |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
50 |
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
|
51 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
|
52 |
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
|
53 * 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
|
54 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
|
55 (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
|
56 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
|
57 |
8278
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
58 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
|
59 |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
60 * 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
|
61 (cbesi): Likewise. |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
62 |
8272
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
63 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
|
64 |
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
65 * 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
|
66 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
|
67 |
8271
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
68 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
|
69 |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
70 * 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
|
71 of RTLD_LAZY. |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
72 |
8211
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
73 2008-10-12 Jaroslav Hajek <highegg@gmail.com> |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
74 |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
75 * CSparse.cc (ComplexMatrix::expm): Improve inverse preconditioning |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
76 according to Marco Caliari. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
77 * dSparse.cc (Matrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
78 * fCSparse.cc (FloatComplexMatrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
79 * fSparse.cc (FloatMatrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
80 |
8207
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
81 2008-10-10 Jaroslav Hajek <highegg@gmail.com> |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
82 |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
83 * sparse-util.h (SparseCholPrint): Change char * argument to const |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
84 char *. |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
85 * sparse-util.cc (SparseCholPrint): Likewise. |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
86 |
8206
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
87 2008-10-09 Jaroslav Hajek <highegg@gmail.com> |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
88 |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
89 * oct-sort.cc (octave_sort<T>::merge_getmem, |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
90 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
|
91 delete []. |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
92 (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
|
93 std::memcpy and std::memmove with std::copy. |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
94 |
8198 | 95 2008-10-08 John W. Eaton <jwe@octave.org> |
96 | |
97 * Sparse-op-defs.h (SPARSE_SMSM_BOOL_OPS): Duplicate code for scalar | |
98 sparse arguments rather than rely on extern function. | |
99 | |
8193
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
100 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
|
101 |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
102 * 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
|
103 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
|
104 optimizations. |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
105 (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
|
106 |
8191
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
107 2008-10-07 Jaroslav Hajek <highegg@gmail.com> |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
108 |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
109 * oct-inttypes.h (OCTAVE_INT_DOUBLE_BIN_OP): Change octave_int64 to |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
110 octave_uint64 where appropriate. |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
111 |
8187 | 112 2008-10-06 David Bateman <dbateman@free.fr> |
113 | |
114 * Sparse-op-defs.h (SPARSE_SMSM_CMP_OPS): Duplicate code for scalar | |
115 sparse arguments rather than rely on extern function. | |
116 | |
8186
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
117 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
|
118 |
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
119 * 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
|
120 |
8185
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
121 2008-10-01 Jaroslav Hajek <highegg@gmail.com> |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
122 |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
123 * oct-inttypes.h (octave_int<T>::one, octave_int<T>::zero): Declare |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
124 constants. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
125 * oct-inttypes.cc: Define them. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
126 * 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
|
127 * oct-inttypes.cc: Define alternative implementations for 64-bit |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
128 multiplication and mixed operations. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
129 * mx-ops: Instantiate all 64-bit integer operations. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
130 |
8180
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
131 2008-10-06 Jaroslav Hajek <highegg@gmail.com> |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
132 |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
133 * 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
|
134 |
8181
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
135 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
|
136 |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
137 * 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
|
138 * 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
|
139 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
|
140 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
|
141 |
8179
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
142 2008-10-03 Jaroslav Hajek <highegg@gmail.com> |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
143 |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
144 * 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
|
145 declaration. |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
146 * 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
|
147 rfv. |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
148 |
8178
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
149 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
|
150 |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
151 * 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
|
152 for empty matrix. |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
153 |
8182 | 154 2008-09-30 Jaroslav Hajek <highegg@gmail.com> |
8169
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
155 |
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
156 * oct-inttypes.h: Mostly rewrite. |
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
157 * oct-inttypes.cc: Modstly rewrite. |
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
158 |
8157
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
159 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
|
160 |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
161 * 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
|
162 empty index vector. |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
163 |
8150
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
164 2008-09-26 Jaroslav Hajek <highegg@gmail.com> |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
165 |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
166 * Array.cc (assign1, assign2, assignN): Do not call |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
167 maybe_delete_elements. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
168 (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
|
169 special handlers if possible. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
170 * Sparse.cc (assign1, assign2, assignN): Do not call |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
171 maybe_delete_elements. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
172 |
8124
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
173 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
|
174 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
175 * 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
|
176 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
|
177 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
178 2008-09-12 Jaroslav Hajek <highegg@gmail.com> |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
179 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
180 * oct-inttypes.h (pow (const octave_int<T>&, const octave_int<T>&)): |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
181 |
8121
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
182 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
|
183 |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
184 * 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
|
185 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
|
186 (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
|
187 |
8119
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
188 2008-09-18 Jaroslav Hajek <highegg@gmail.com> |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
189 |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
190 * 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
|
191 better Matlab compatibility. |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
192 (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
|
193 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
|
194 |
8118
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
195 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
|
196 |
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
197 * 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
|
198 |
8104
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
199 2008-09-12 Jaroslav Hajek <highegg@gmail.com> |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
200 |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
201 * oct-inttypes.h (pow (const octave_int<T>&, const octave_int<T>&)): |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
202 Handle negative exponent correctly. |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
203 |
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
|
204 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
|
205 |
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
|
206 * 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
|
207 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
|
208 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
|
209 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
|
210 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
|
211 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
|
212 (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
|
213 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
|
214 (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
|
215 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
|
216 (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
|
217 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
|
218 (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
|
219 (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
|
220 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
|
221 (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
|
222 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
|
223 (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
|
224 (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
|
225 (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
|
226 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
|
227 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
|
228 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
|
229 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
|
230 (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
|
231 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
|
232 (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
|
233 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
|
234 octave_int<T>&, float)): New functions. |
8040 | 235 |
236 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
|
237 |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
238 * 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
|
239 classified as positive by lo_ieee_signbit. |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
240 |
8040 | 241 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
|
242 |
f0fbf47c914c
avoid null pointer call in Array<T>::hermitian
Jaroslav Hajek <highegg@gmail.com>
parents:
8022
diff
changeset
|
243 * 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
|
244 (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
|
245 |
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
|
246 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
|
247 |
8022
9708674ab85d
don't include config.h in other header files
John W. Eaton <jwe@octave.org>
parents:
8019
diff
changeset
|
248 * 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
|
249 |
8019
0ef13e15319b
replace NPOS with std::string::npos
John W. Eaton <jwe@octave.org>
parents:
8018
diff
changeset
|
250 * 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
|
251 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
|
252 |
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
|
253 * 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
|
254 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
|
255 |
8008
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
256 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
|
257 |
8009
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
258 * 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
|
259 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
|
260 |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
261 * 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
|
262 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
|
263 |
8008
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
264 * 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
|
265 here from file scope. |
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
266 |
8006
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
267 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
|
268 |
8007
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
269 * 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
|
270 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
|
271 file_ops::dir_sep_chars. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
272 (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
|
273 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
|
274 (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
|
275 file_ops::dir_sep_str. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
276 |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
277 * 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
|
278 (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
|
279 * 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
|
280 (file_ops::file_ops): New constructor. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
281 (file_ops::instance_ok): New function. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
282 (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
|
283 from dir_sep_char. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
284 (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
|
285 (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
|
286 (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
|
287 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
|
288 (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
|
289 (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
|
290 |
8006
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
291 * 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
|
292 |
7999 | 293 2008-07-30 John W. Eaton <jwe@octave.org> |
294 | |
295 * oct-inttypes.h: Style fixes. | |
296 | |
8040 | 297 2008-07-30 Jaroslav Hajek <highegg@gmail.com> |
7997
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
298 |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
299 * 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
|
300 (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
|
301 member functions. |
7999 | 302 (octave_int<T>::octave_int (const octave_int<U>&)): set trunc_flag |
303 on truncation. | |
7997
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
304 (SPECIALIZE_WIDENING_CONVERSION): New macro. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
305 (DECLARE_OCTAVE_INT_TYPENAME): New macro. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
306 |
7991
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
307 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
|
308 |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
309 * 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
|
310 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
|
311 maintains NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
312 (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
|
313 (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
|
314 detect old NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
315 (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
|
316 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
|
317 * 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
|
318 detect old NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
319 (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
|
320 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
|
321 * data-conv.cc (void read_doubles(std::istream&, double *, |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
322 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
|
323 loaded NA values is the old representation and replace it. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
324 |
8040 | 325 2008-07-28 Jaroslav Hajek <highegg@gmail.com> |
7979 | 326 |
327 * lo-math.h: Ensure log2 is undefined from cmath in C++ mode. | |
328 | |
7957
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
329 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
|
330 |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
331 * 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
|
332 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
|
333 |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
334 * 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
|
335 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
|
336 |
7955
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
337 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
|
338 |
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
339 * 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
|
340 |
7952
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
341 2008-07-19 John W. Eaton <jwe@octave.org> |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
342 |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
343 * oct-mutex.h (class octave_base_mutex): New class. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
344 (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
|
345 (octave_mutex::rep): Declare as octave_base_mutex. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
346 (octave_mutex::count): Delete. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
347 (octave_mutex::lock, octave_mutex::unlock): No longer virtual. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
348 (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
|
349 valid or set rep to zero after deleting. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
350 (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
|
351 * 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
|
352 from octave_base_mutex, not octave_mutex. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
353 |
7943
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
354 2008-07-18 John W. Eaton <jwe@octave.org> |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
355 |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
356 * 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
|
357 to 0, not count. |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
358 * 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
|
359 to 1 instead of incrementing it. |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
360 |
7941
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
361 2008-07-17 Michael Goffioul <michael.goffioul@gmail.com> |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
362 |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
363 * 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
|
364 bool, bool) into conditional HAVE_FFTW3 preprocessor statement. |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
365 |
7936
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
366 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
|
367 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
368 * 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
|
369 octave_autolock (const octave_autolock&), |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
370 octave_autolock::operator = (const octave_autolock&)): |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
371 Delete definitions. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
372 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
373 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
|
374 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
375 * 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
|
376 (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
|
377 executing handlers. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
378 (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
|
379 Autolock event_hook_lock. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
380 |
7934 | 381 2008-07-15 Michael Goffioul <michael.goffioul@gmail.com> |
382 | |
383 * oct-mutex.h, oct-mutex.cc: New files. | |
384 * Makefile.in: Add them to appropriate lists. | |
385 | |
7929 | 386 2008-07-15 John W. Eaton <jwe@octave.org> |
387 | |
388 * oct-sort.cc, oct-sort.h (octave_sort<T>::count_run): Declare | |
389 descending arg as bool&. | |
390 (octave_sort<T>::sort): Pass bool to count_run for descending arg. | |
391 | |
7922
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
392 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
|
393 |
7924 | 394 * dDiagMatrix.cc (DiagMatrix::diag): Return empty ColumnVector if |
395 number of rows or columns is 0. | |
396 * fDiagMatrix.cc (FloatDiagMatrix::diag): Likewise. | |
397 | |
398 * Array-util.cc (is_vector): Avoid GCC warning. | |
399 * Array-f.cc (Array<float>::sort): Likewise. | |
400 * Array-d.cc (Array<double>::sort): Likewise. | |
401 * dbleQR.cc (QR::QR (const Matrix&, const Matrix&)): Likewise. | |
402 * CmplxQR.cc (ComplexQR::ComplexQR (const ComplexMatrix&, const | |
403 ComplexMatrix&)): Likewise. | |
404 * floatQR.cc (FloatQR::FloatQR (const FloatMatrix&, const | |
405 FloatMatrix&)): Likewise. | |
406 * fCmplxQR.cc (FloatComplexQR::FloatComplexQR (const | |
407 FloatComplexMatrix&, const FloatComplexMatrix&)): Likewise. | |
408 * Quad.cc (IndefQuad::do_integrate (octave_idx_type&, | |
409 octave_idx_type&, float&), FloatIndefQuad::do_integrate, | |
410 DefQuad::do_integrate octave_idx_type&, octave_idx_type&, float&, | |
411 FloatIndefQuad::do_integrate): Likewise. | |
412 | |
7922
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
413 * 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
|
414 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
|
415 * 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
|
416 * Array-util.h: Provide decl. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
417 * 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
|
418 * 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
|
419 |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
420 * 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
|
421 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
|
422 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
|
423 * 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
|
424 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
|
425 Provide decl. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
426 |
7919
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
427 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
|
428 |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
429 * 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
|
430 bool, bool)): New constructor. |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
431 * dNDArray.h: Provide decl. |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
432 |
7914
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
433 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
|
434 |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
435 * 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
|
436 * lo-specfun.cc: Ditto. Add atanhf implementation. |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
437 |
8040 | 438 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
|
439 |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
440 * MatrixType.h: Add missing include statement. |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
441 |
7889
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
442 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
|
443 |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
444 * 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
|
445 * fCmplxDET.cc (FloatComplexDET::initialize10): Likewise, for pow. |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
446 |
7885 | 447 2008-06-11 John W. Eaton <jwe@octave.org> |
448 | |
449 * so-array.h, so-array.cc, Array-so.cc: Delete. | |
450 * Makefile.in: Remove them from the lists. | |
451 | |
7872 | 452 2008-06-05 John W. Eaton <jwe@octave.org> |
453 | |
454 * oct-shlib.cc (octave_base_shlib::remove): Only dereference | |
455 counter if iterator is valid. | |
456 | |
7814
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
457 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
|
458 |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
459 * 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
|
460 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
|
461 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
|
462 * 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
|
463 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
|
464 * 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
|
465 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
|
466 (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
|
467 (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
|
468 (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
|
469 * 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
|
470 * 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
|
471 (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
|
472 (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
|
473 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
474 2008-06-02 David Bateman <dbateman@free.fr> |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
475 |
7810
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
476 * fCmplxLU.cc (class FloatComplexLU): Correct error in instantiation. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
477 * floatLU.cc (class FloatLU): ditto. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
478 * floatLU.h (class FloatLU): ditto. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
479 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
480 * floatAEPBAL.cc (octave_idx_type FloatAEPBALANCE::init (const |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
481 FloatMatrix&, const std::string&)): Use FloatMatrix to initialize |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
482 balancing_mat. |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
483 |
7809
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
484 * 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
|
485 (MATRIX_SRC): Add fCmplxAEPBAL.cc and floatAEPBAL.cc. |
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
486 |
7805
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
487 2008-05-21 David Bateman <dbateman@free.fr> |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
488 |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
489 * Quad-opts.in: Handle single precision tolerances. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
490 * Quad.cc (float_user_fcn): New static variable. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
491 (quad_float_fcn_ptr): New typedef. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
492 (qagp, quagi): New QUADPACK decls. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
493 (float_user_function): New function. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
494 (DefQuad::do_integrate, IndefQuad::do_integrate): Float versions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
495 (FloatDefQuad::do_integrate, FloatIndefQuad::do_integrate): |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
496 New functions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
497 * Quad.h (class Quad): Handle float type. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
498 (class FloatDefQuad, class FloatIndefQuad): New classes. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
499 |
8040 | 500 2008-05-21 Jaroslav Hajek <highegg@gmail.com> |
7799 | 501 |
7804
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
502 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
503 (xcdotc, csyrk, cherk): New F77 decls. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
504 * fMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
505 (operator * (const FloatMatrix&, const FloatMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
506 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
507 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
508 (ssyrk): New F77 decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
509 * fCMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
510 (operator * (const FloatComplexMatrix&, const |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
511 FloatComplexMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
512 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
513 |
7803 | 514 * dMatrix.cc, CMatrix.cc, Sparse-op-defs.h: Add missing copyright. |
515 | |
7802
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
516 * Sparse-op-defs.h (SPARSE_FULL_MUL): Simplify scalar*matrix case. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
517 Correct indenting. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
518 (SPARSE_FULL_TRANS_MUL): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
519 (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
|
520 Move OCTAVE_QUIT one level up. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
521 (FULL_SPARSE_MUL_TRANS): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
522 * dSparse.h (mul_trans, trans_mul): Provide decl. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
523 * dSparse.cc (mul_trans, trans_mul): New functions. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
524 * 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
|
525 * 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
|
526 |
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
|
527 * 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
|
528 * 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
|
529 (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
|
530 (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
|
531 * 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
|
532 * 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
|
533 (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
|
534 (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
|
535 |
7799 | 536 * MatrixType.cc (matrix_real_probe, matrix_complex_probe): |
537 New template functions. | |
538 (MatrixType::MatrixType (const Matrix&), | |
539 MatrixType::MatrixType (const FloatMatrix&)): | |
540 just call matrix_real_probe. | |
541 (MatrixType::MatrixType (const ComplexMatrix&), | |
542 MatrixType::MatrixType (const FloatComplexMatrix&)): | |
543 just call matrix_complex_probe. | |
544 | |
545 * MatrixType.cc (MatrixType::MatrixType (matrix_type, bool)): | |
546 add missing test for Unknown. | |
547 | |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
548 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
|
549 |
7797
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
550 * 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
|
551 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
552 (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
|
553 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
554 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
555 * 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
|
556 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
557 (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
|
558 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
559 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
560 * 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
|
561 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
562 (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
|
563 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
564 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
565 * 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
|
566 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
567 (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
|
568 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
569 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
570 |
7796
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
571 * Array.cc: Fix transpose tests. |
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
572 |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
573 * 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
|
574 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
|
575 (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
|
576 * 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
|
577 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
|
578 (FloatGEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
579 * 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
|
580 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
581 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
582 * floatAEPBAL.cc (FloatAEPBALANCE), fCmplxAEPBAL.cc |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
583 (FloatComplexAEPBALANCE): New classes for single precision |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
584 Algebraic eignvalue balancing. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
585 * 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
|
586 (FloatComplexAEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
587 * 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
|
588 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
589 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
590 * 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
|
591 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
|
592 * 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
|
593 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
594 * 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
|
595 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
596 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
597 * 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
|
598 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
|
599 * 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
|
600 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
601 * 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
|
602 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
603 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
604 * 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
|
605 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
|
606 * 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
|
607 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
608 * 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
|
609 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
610 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
611 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
612 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
613 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
|
614 ComplexQRP, FloatQRP, FloatComplexQRP): Declare classes. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
615 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
616 2008-05-20 David Bateman <dbateman@free.fr> |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
617 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
618 * 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
|
619 transpose to limit the number of cache misses. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
620 (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
|
621 for matrix conjugate transpose. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
622 * 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
|
623 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
624 * DiagArray2.cc (DiagArray2<T> DiagArray2<T>::transpose () const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
625 Specialization for diagonal arrays. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
626 (DiagArray2<T> DiagArray2<T>::transpose (T (*) (const&)) const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
627 Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
628 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
629 * 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
|
630 (MArray<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
631 * 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
|
632 * 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
|
633 * 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
|
634 * MDiagArray2.h (MDiagArray2<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
635 (MDiagArray<T> hermitian <T (*) (const&)) const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
636 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
637 * 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
|
638 * CRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
639 * dColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
640 * dRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
641 * CDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
642 * dDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
643 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
644 * 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
|
645 * fCRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
646 * fColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
647 * fRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
648 * fCDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
649 * fDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
650 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
651 * CDiagMatrix.cc (ComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
652 ComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
653 * dDiagMatrix.cc (DiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
654 * CMatrix.cc (ComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
655 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
656 * fCDiagMatrix.cc (FloatComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
657 FloatComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
658 * fDiagMatrix.cc (FloatDiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
659 * fCMatrix.cc (FloatComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
660 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
661 * lo-mappers.cc (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
662 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
663 New mapper functions for single precion values. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
664 * lo-mappers.h (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
665 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
666 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
667 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
668 * CmplxGEBAL.cc (ComplexGEPBALANCE), dbleGEPBAL.cc (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
669 fCmplxGEPBAL.cc (FloatComplexGEPBALANCE), floatGEPBAL.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
670 (FloatGEPBALANCE): New class for generalized eigenvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
671 * CmplxGEBAL.h (ComplexGEPBALANCE), dbleGEPBAL.h (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
672 fCmplxGEPBAL.h (FloatComplexGEPBALANCE), floatGEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
673 (FloatGEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
674 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
675 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
676 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
677 * floatAEPBAL.cc (FloatAEPBALANCE), fCmplxAEPBAL.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
678 (FloatComplexAEPBALANCE): New classes for single precision |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
679 Algebraic eignvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
680 * floatAEPBAL.h (FloatAEPBALANCE), fCmplxAEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
681 (FloatComplexAEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
682 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
683 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
684 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
685 * floatHESS.cc (FloatHESS), fCmplxHESS.cc (FloatComplexHESS): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
686 classes for single precision Hessenberg decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
687 * floatHESS.h (FloatHESS), fCmplxHESS.h (FloatComplexHESS): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
688 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
689 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
690 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
691 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
692 * floatQR.cc (FloatQR), fCmplxQR.cc (FloatComplexQR): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
693 classes for single precision QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
694 * floatQR.h (FloatQR), fCmplxQR.h (FloatComplexQR): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
695 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
696 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
697 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
698 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
699 * floatQRP.cc (FloatQRP), fCmplxQRP.cc (FloatComplexQRP): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
700 classes for single precision permuted QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
701 * floatQRP.h (FloatQRP), fCmplxQRP.h (FloatComplexQRP): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
702 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
703 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
704 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
705 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
706 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
707 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
708 FloatHESS, FloatComplexHESS, FloatQR, FloatComplexQR, QRP, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
709 ComplexQRP, FloatQRP, FloatComplexQRP): Declare classes. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
710 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
711 * 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
|
712 fCColVector.cc, fCColVector.h, fCDiagMatrix.cc, fCDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
713 fCMatrix.cc, fCMatrix.h, fCNDArray.cc, fCNDArray.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
714 fCRowVector.cc, fCRowVector.h, fCmplxCHOL.cc, fCmplxCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
715 fCmplxDET.cc, fCmplxDET.h, fCmplxLU.cc, fCmplxLU.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
716 fCmplxSCHUR.cc, fCmplxSCHUR.h, fCmplxSVD.cc, fCmplxSVD.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
717 fColVector.cc, fColVector.h, fDiagMatrix.cc, fDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
718 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
|
719 fRowVector.cc, fRowVector.h, floatCHOL.cc, floatCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
720 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
|
721 floatSCHUR.h, floatSVD.cc, floatSVD.h: New files. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
722 * 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
|
723 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
724 * 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
|
725 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
|
726 MatrixType.cc, MatrixType.h, SparseCmplxQR.cc, SparseCmplxQR.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
727 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
|
728 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
|
729 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
|
730 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
|
731 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
|
732 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
|
733 Allow single precision types. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
734 |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
735 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
|
736 |
7788 | 737 * CMatrix.cc (double rcond): Replace with double rcon everywhere |
738 to avoid shadowed variable warning | |
739 (double ComplexMatrix::rcond (void) const): New method for | |
740 reciprocal condition number calculation. | |
741 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
742 * CMatrix.h (double rcond): Replace with double rcon everywhere | |
743 to avoid shadowed variable warning | |
744 (double ComplexMatrix::rcond (void) const): New method for | |
745 reciprocal condition number calculation. | |
746 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
747 * dMatrix.cc (double rcond): Replace with double rcon everywhere | |
748 to avoid shadowed variable warning | |
749 (double Matrix::rcond (void) const): New method for | |
750 reciprocal condition number calculation. | |
751 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
752 * dMatrix.h (double rcond): Replace with double rcon everywhere | |
753 to avoid shadowed variable warning | |
754 (double Matrix::rcond (void) const): New method for | |
755 reciprocal condition number calculation. | |
756 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
757 | |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
758 * 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
|
759 expression matching |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
760 * 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
|
761 (LIBOCTAVE_CXX_SOURCES): regex-match.cc here. |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
762 |
7776 | 763 2008-05-19 David Bateman <dbateman@free.fr> |
764 | |
765 * dSparse.cc: Replace some DGBCON with GPBCON where they are | |
766 incorrectly used. | |
767 | |
7774
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
768 2008-05-13 David Bateman <dbateman@free.fr> |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
769 |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
770 * 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
|
771 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
|
772 is not zero. |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
773 |
7758
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
774 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
|
775 |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
776 * 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
|
777 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
|
778 * 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
|
779 (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
|
780 * 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
|
781 * 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
|
782 |
7757
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
783 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
|
784 |
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
785 * 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
|
786 |
7749
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
787 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
|
788 |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
789 * 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
|
790 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
|
791 * 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
|
792 Likewise. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
793 (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
|
794 Adjust all uses. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
795 (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
|
796 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
|
797 (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
|
798 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
|
799 |
8040 | 800 2008-04-30 Jaroslav Hajek <highegg@gmail.com> |
7740 | 801 |
802 * lo-mappers.cc (xlog2 (double)): Compute log (2), not log2 (2). | |
803 (xlog2 (Complex), xlog2 (double, int&), xlog2 (Complex, int&)): | |
804 New functions. | |
805 * lo-mappers.h: Provide decls. | |
806 | |
7735
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
807 2008-04-25 Michael Goffioul <michael.goffioul@gmail.com> |
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
808 |
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
809 * 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
|
810 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
|
811 |
7732
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
812 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
|
813 |
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
814 * 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
|
815 |
7727
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
816 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
|
817 |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
818 * 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
|
819 Fix for-loop condition. |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
820 |
8040 | 821 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
|
822 |
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
823 * 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
|
824 |
7717
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
825 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
|
826 |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
827 * 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
|
828 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
829 * 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
|
830 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
831 * 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
|
832 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
833 * 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
|
834 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
835 |
7707
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
836 2008-04-09 Michael Goffioul <michael.goffioul@gmail.com> |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
837 |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
838 * lo-mappers.cc (xround): Avoid floating-point overflow when input |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
839 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
|
840 |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
841 * 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
|
842 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
|
843 __WIN32__ platforms. |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
844 |
8040 | 845 2008-04-07 Jaroslav Hajek <highegg@gmail.com> |
7700
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
846 |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
847 * dbleQR.h, dbleQR.cc (QR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
848 * CmplxQR.h, CmplxQR.cc (ComplexQR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
849 * 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
|
850 CHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
851 * CmplxCHOL.h, CmplxCHOL.cc (ComplexCHOL::insert_sym, |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
852 ComplexCHOL::delete_sym, ComplexCHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
853 |
7695
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
854 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
|
855 |
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
856 * 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
|
857 |
7671
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
858 2008-03-27 Jaroslav Hajek <highegg@gmail.com> |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
859 |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
860 * oct-lookup.h: New file. |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
861 |
7646
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
862 2008-03-26 David Bateman <dbateman@feee.fr> |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
863 |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
864 * Array.cc (assignN): Additional fix for vector assignments. |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
865 |
7642
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
866 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
|
867 |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
868 * 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
|
869 original matrix is empty. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
870 * 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
|
871 function. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
872 * 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
|
873 |
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
|
874 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
|
875 |
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
|
876 * 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
|
877 (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
|
878 * 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
|
879 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
|
880 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
|
881 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
882 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
|
883 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
884 * lo-mappers.cc (xtrunc): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
885 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
886 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
887 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
|
888 |
7638
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
889 * lo-specfun.cc (expm1, log1p): New functions. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
890 * lo-specfun.h: Provide decls. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
891 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
892 * lo-mappers.cc (xroundb): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
893 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
894 |
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
|
895 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
|
896 |
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
|
897 * 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
|
898 array case, except for 64bit cases. |
43e3efb2cbc2
Add integer el_div and el_ldiv operators to the binops that were missing them
David Bateman <dbateman@free.fr>
parents:
7620
diff
changeset
|
899 |
7619 | 900 2008-03-21 David Bateman <dbateman@free.fr> |
901 | |
902 * oct-sparse.h: Add headers for amd.h. | |
903 | |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
904 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
|
905 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
906 * 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
|
907 method for diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
908 * 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
|
909 * 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
|
910 * 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
|
911 * 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
|
912 * 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
|
913 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
914 * 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
|
915 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
916 * 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
|
917 * 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
|
918 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
919 * 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
|
920 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
921 * Range.h (Matrix diag (octave_idx_type) const): Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
922 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
923 * CDiagMatrix.cc (ComplexColumnVector ComplexDiagMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
924 (void) const): delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
925 * 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
|
926 * 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
|
927 * 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
|
928 delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
929 * 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
|
930 * 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
|
931 * 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
|
932 * 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
|
933 * 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
|
934 * 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
|
935 * 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
|
936 * 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
|
937 * intNDArray.h (intNDArray<T> diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
938 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
939 * 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
|
940 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
|
941 * 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
|
942 return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
943 * 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
|
944 terms of template classes function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
945 * 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
|
946 * 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
|
947 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
|
948 * boolMatrix.h (boolMatrix diag (octave_idx_type) const): Change |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
949 return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
950 * 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
|
951 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
|
952 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
953 * 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
|
954 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
|
955 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
956 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
957 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
958 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
959 * 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
|
960 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
961 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
962 * CNDArray.cc (ComplexNDArray ComplexNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
963 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
964 * 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
|
965 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
966 * 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
|
967 method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
968 * 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
|
969 * chNDArray.cc (charNDArray charNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
970 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
971 * 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
|
972 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
973 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
974 |
7609
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
975 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
|
976 |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
977 * 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
|
978 relative filenames. |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
979 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
980 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
|
981 |
7605
48488cca0006
Fix for array indexing if original matrix is empty
David Bateman <dbateman@free.fr>
parents:
7602
diff
changeset
|
982 * 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
|
983 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
|
984 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
985 * 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
|
986 const): New template function. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
987 * 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
|
988 const): ditto. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
989 * 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
|
990 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
|
991 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
|
992 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
|
993 * 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
|
994 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
|
995 SparseBoolMatrix SparseComplexMatrix::map (bmapper) const): ditto. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
996 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
997 2008-03-18 David Bateman <dbateman@free.fr> |
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
998 |
7601
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
999 * 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
|
1000 * 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
|
1001 * randpoison.c (xlgamma): Use lgamma if HAVE_LGAMMA is defined. |
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
1002 |
7600
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
1003 * 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
|
1004 * CNDarray.cc (ComplexNDArray::min, CompelxNDArray::max): ditto. |
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
1005 * intNDarray.cc (intNDArray<T>::min, intNDArray<T>::max): ditto. |
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
1006 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
1007 * 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
|
1008 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
|
1009 |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
1010 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
|
1011 |
7598
a89b3fa632ee
partial specialization for octave_int_fit_to_range
John W. Eaton <jwe@octave.org>
parents:
7597
diff
changeset
|
1012 * 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
|
1013 Use partial specialization for double values. |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
1014 |
7573
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
1015 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
|
1016 |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
1017 * 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
|
1018 * 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
|
1019 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
|
1020 * idx-vector.cc, idx-vector.h |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
1021 (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
|
1022 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
|
1023 (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
|
1024 (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
|
1025 (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
|
1026 |
7572
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
1027 2008-03-07 John W. Eaton <jwe@octave.org> |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
1028 |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
1029 * 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
|
1030 IDX_VEC_REP::idx_vector_rep (const boolNDArray&)): |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
1031 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
|
1032 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
|
1033 (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
|
1034 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
1035 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
|
1036 |
7560
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
1037 * dbleQR.cc (QR::insert_col, QR::insert_row, |
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
1038 QR::delete_col, QR::delete_row): Use 0-based indexing. |
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
1039 * CmplxQR.cc (ComplexQR::insert_col, ComplexQR::insert_row, |
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
1040 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
|
1041 |
7559
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
1042 * dbleCHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
1043 * CmplxHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
1044 * 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
|
1045 * 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
|
1046 * 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
|
1047 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1048 2008-03-04 Jaroslav Hajek <highegg@gmail.com> |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1049 |
7554
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
1050 * dbleCHOL.cc (CHOL::set, CHOL::update, CHOL::downdate): |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
1051 New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
1052 * dbleCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
1053 * CmplxCHOL.cc (ComplexCHOL::set, ComplexCHOL::update, |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
1054 ComplexCHOL::downdate): New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
1055 * CmplxCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
1056 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1057 * 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
|
1058 QR::insert_row, QR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1059 (QR::QR (const Matrix&, const MAtrix&)): New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1060 * dbleQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1061 * CmplxQR.cc (ComplexQR::update, ComplexQR::insert_col, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1062 ComplexQR::delete_col, ComplexQR::insert_row, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1063 ComplexQR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1064 (ComplexQR::ComplexQR (const ComplexMatrix&, const ComplexMAtrix&)): |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1065 New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1066 * CmplxQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1067 |
7549
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
1068 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
|
1069 |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
1070 * 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
|
1071 of < and > operators. |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
1072 |
7546
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
1073 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
|
1074 |
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
1075 * 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
|
1076 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
|
1077 |
7545 | 1078 2008-03-03 Jaroslav Hajek <highegg@gmail.com> |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
1079 |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
1080 * dMatrix.cc (Matrix::lssolve): Also avoid dgelsd lwork query bug |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
1081 in lssolve method that accepts column vector argument. Correct |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
1082 calculation of nlvl. |
7545 | 1083 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd. |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
1084 |
7537
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
1085 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
|
1086 |
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
1087 * 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
|
1088 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
1089 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
|
1090 |
7536 | 1091 * oct-rand.cc (get_dist_id): Fix typo. |
1092 (get_dist_id, octave_rand::distribution, octave_rand::scalar, | |
1093 fill_rand): Improve error messages. | |
1094 | |
7535
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
1095 * 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
|
1096 (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
|
1097 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
|
1098 (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
|
1099 |
7533
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
1100 * 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
|
1101 (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
|
1102 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
|
1103 (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
|
1104 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
|
1105 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
|
1106 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
|
1107 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
|
1108 (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
|
1109 (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
|
1110 (octave_rand::uniform_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
1111 octave_rand::normal_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
1112 octave_rand::exponential_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
1113 octave_rand::poisson_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
1114 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
|
1115 (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
|
1116 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
|
1117 (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
|
1118 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
1119 * 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
|
1120 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd |
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
1121 |
7521
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
1122 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
|
1123 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
1124 * 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
|
1125 specializations for signed and unsigned types. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
1126 (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
|
1127 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
|
1128 octave_int_helper class. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
1129 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
1130 * 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
|
1131 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
|
1132 with "template <>". |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
1133 |
7520 | 1134 2008-02-22 John W. Eaton <jwe@octave.org> |
1135 | |
1136 * CSparse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc, | |
1137 file-ops.cc, oct-group.cc, oct-shlib.cc, sparse-base-chol.h, | |
1138 sparse-dmsolve.cc: Use 0 instead of NULL. | |
1139 | |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1140 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
|
1141 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1142 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1143 (octave_idx_type) const): New method. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1144 * boolSparse.h (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1145 (octave_idx_type) const): Declare it. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1146 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1147 * 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
|
1148 factorization of xGETRF directly. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1149 * sparse-base-lu.cc (template <class lu_type, class lu_elt_type, |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1150 class p_type, class p_elt_type> lu_type sparse_base_lu <lu_type, |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1151 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
|
1152 to simulate the retirn of xGETRF. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1153 * sparse-base-lu.h (template <class lu_type, class lu_elt_type, |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1154 class p_type, class p_elt_type> lu_type sparse_base_lu <lu_type, |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1155 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
|
1156 (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
|
1157 * 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
|
1158 scaling. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1159 * SparseCmplxLU.cc: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1160 * 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
|
1161 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
|
1162 * SparseCmplxLU.h: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1163 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1164 * 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
|
1165 return permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1166 * 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
|
1167 * 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
|
1168 return row permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1169 (ColumnVector Pc_vec (void) const): New method return column |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1170 permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1171 * 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
|
1172 (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
|
1173 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1174 * oct-spparms.cc: Add sym_tol field. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1175 |
7505
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
1176 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
|
1177 |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
1178 * SparseComplexQR.cc (ComplexMatrix |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
1179 SparseComplexQR::SparseComplexQR_rep::Q |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
1180 (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
|
1181 * SparseComplexQR.h (ComplexMatrix |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
1182 SparseComplexQR::SparseComplexQR_rep::Q |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
1183 (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
|
1184 * 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
|
1185 * 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
|
1186 |
7503
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1187 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
|
1188 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1189 * boolNDArray.h (boolNDArray (const Array2<bool>&)): Delete. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1190 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1191 * Marray2.h (MArray2 (const Array2<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1192 MArray2 (const MArray2<U>&)): New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1193 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1194 * Array2.h (Array2 (const Array<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1195 Array2 (const Array<U>&, const dim_vector&)): |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1196 New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1197 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1198 * CColVector.cc (ComplexColumnVector::map): Forward to MArray::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1199 * dColVector.cc (ColumnVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1200 * CRowVector.cc (ComplexRowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1201 * dRowVector.cc (RowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1202 * CMatrix.cc (ComplexMatrix::map): Forward to MArray2::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1203 * dMatrix.cc (Matrix::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1204 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1205 * dNDArray.cc (NDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1206 * dNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1207 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1208 * CNDArray.cc (ComplexNDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1209 * CNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1210 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1211 * MArray2.h (MArray2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1212 * Array2.h (Array2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1213 * MArrayN.h (MArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1214 * ArrayN.h (ArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1215 * Array.h (Array<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1216 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1217 * functor.h: New file. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1218 * Makefile.in (INCLUDES): Add it to the list. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1219 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1220 2008-02-20 David Bateman <dbateman@free.fr> |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1221 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1222 * CColVector.h, CColVector.cc (ComplexColumnVector::apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1223 * dColVector.h, dColVector.cc (ColumnVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1224 * CRowVector.h, CRowVector.cc (ComplexRowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1225 * dRowVector.h, dRowVector.cc (RowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1226 * CMatrix.h, CMatrix.cc (ComplexMatrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1227 * dMatrix.h, dMatrix.cc (Matrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1228 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1229 * CSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1230 (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
|
1231 * CSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1232 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1233 * dSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1234 (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
|
1235 * dSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1236 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1237 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1238 * intNDArray.cc (abs, signum): Two new mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1239 * intNDArray.h (abs, signum): Declare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1240 * 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
|
1241 base type. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1242 |
7486
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
1243 2008-02-15 John W. Eaton <jwe@octave.org> |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
1244 |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
1245 * 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
|
1246 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
|
1247 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
1248 |
7482
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
1249 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
|
1250 |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
1251 * 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
|
1252 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
|
1253 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
|
1254 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
|
1255 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
|
1256 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
|
1257 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc: |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
1258 Don't check f77_exception_encountered. |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
1259 |
7477 | 1260 2008-02-12 John W. Eaton <jwe@octave.org> |
1261 | |
1262 * CMatrix.cc: Declare xilaenv instead of ilaenv. | |
1263 (ComplexMatrix::lssolve): Call xilaenv instead of ilaenv. | |
1264 | |
7476 | 1265 2008-02-12 Jason Riedy <ejr@cs.berkeley.edu> |
1266 | |
7480 | 1267 * Array.cc (ascending_compare, descending_compare): Remove |
1268 non-standard extern in the instantiations. | |
1269 | |
1270 * oct-sort.cc: Include <cstring> and sprinkle with std:: as needed. | |
1271 | |
7476 | 1272 * dMatrix.cc (ILAENV): Declare LAPACK Fortran function. |
1273 (Matrix::lssolve): Use ILAENV to query smlsiz. And add an ugly | |
1274 workaround for DGELSD's broken lwork query. The formula is from | |
1275 LAPACK's dgelsd.f source and allocates enough workspace to use an | |
1276 efficient algorithm in the short-and-fat case (n > m). | |
1277 * CMatrix.cc (ILAENV): Declare LAPACK Fortran function. | |
1278 (ComplexMatrix::lssolve): Use ILAENV to query smlsiz. And add an | |
1279 ugly workaround for DGELSD's broken lwork query, as with double. | |
1280 | |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
1281 2008-02-12 John W. Eaton <jwe@octave.org> |
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
1282 |
7470
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
1283 * sparse-sort.cc: Don't explicitly instantiate |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
1284 class octave_sort<octave_idx_vector_sort *>, |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
1285 class octave_sort<octave_idx_type>, or |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
1286 class octave_sort<octave_sparse_sort_idxl *>. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
1287 |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
1288 * Sparse.h (INSTANTIATE_SPARSE_SORT): Delete macro. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
1289 * 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
|
1290 |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
1291 * 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
|
1292 |
7466
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
1293 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
|
1294 |
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
1295 * 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
|
1296 |
7463
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
1297 2008-02-08 John W. Eaton <jwe@octave.org> |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
1298 |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
1299 * oct-sort.h (enum sortmode): Eliminate UNDEFINED. Change all |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
1300 uses of UNDEFINED to ASCENDING. |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
1301 |
7457 | 1302 2008-02-07 John W. Eaton <jwe@octave.org> |
1303 | |
7458 | 1304 * Range.cc (Range::sort_internal): Rename from sort. New arg, |
1305 ASCENDING, with default value of true. | |
1306 (Range::sort_internal (Array<octave_idx_type>&, bool)): New function. | |
1307 (Range::sort (octave_idx_type, sortmode) const): New function. | |
1308 (Range::sort (Array<octave_idx_type>&, octave_idx_type, sortmode) | |
1309 const): New function. | |
1310 * Range.h: Fix/provide decls. | |
1311 | |
7457 | 1312 * intNDArray.cc (intNDArray<T>::any (int)): Use != for comparison. |
1313 | |
7449 | 1314 2008-02-06 John W. Eaton <jwe@octave.org> |
1315 | |
1316 * Makefile.in ($(OPTS_INC)): Use mv instead of move-if-change. | |
1317 (stamp-prereq): Eliminate. | |
1318 (clean): Don't remove stamp-prereq. | |
1319 (libraries): Don't depend on stamp-prereq. | |
1320 (PREREQ): New macro. | |
1321 ($(MAKEDEPS)): Depend on $(PREREQ), not stamp-prereq. | |
1322 (distclean): Simplify with $(PREREQ). | |
1323 (OPT_BASE): New macro. | |
1324 (OPT_IN): Rename from OPTS_INC_DATA. Define in terms of OPT_BASE. | |
1325 (OPT_INC): Rename from OPTS_INC. Define in terms of OPT_BASE. | |
1326 | |
7448 | 1327 2008-02-05 John W. Eaton <jwe@octave.org> |
1328 | |
1329 * Makefile.in: Unconditionally include $(MAKEDEPS). | |
1330 Mark $(MAKEDEPS) as .PHONY targets if omit_deps is true. | |
1331 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
1332 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> |
7443 | 1333 |
1334 * Array.cc (ascending_compare, descending_compare, | |
1335 Array<T>::sort): Declare explicit specialization for T=double to | |
1336 avoid symbol duplication error at link time. | |
1337 * Array-d.cc (ascending_compare, descending_compare): Declare and | |
1338 define as nonmember functions, not member functions of Array<T>. | |
1339 | |
7442 | 1340 2008-02-03 John W. Eaton <jwe@octave.org> |
1341 | |
1342 * Array-i.cc: Also instantiate Arrays for long long type if it exists. | |
1343 | |
1344 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> | |
1345 | |
1346 * Array.cc: Don't include Range.h. | |
1347 | |
7433 | 1348 2008-01-31 David Bateman <dbateman@free.fr> |
1349 | |
1350 * oct-sort.cc: conversion of int to octave_idx_type where needed | |
1351 for 64-bit builds. | |
1352 (IFLT): Allow IFLT macro to be overridden. | |
1353 * oct-sort.h: conversion of int to octave_idx_type where needed | |
1354 for 64-bit builds. | |
1355 (enum sortmode): Type of sort to perform. | |
1356 (vec_index): Simple class to aid in indexed sorts. | |
1357 | |
1358 * Array.h ( Array<T> sort (octave_idx_type, sortmode) const, | |
1359 Array<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
1360 sortmode) const): Array sorting methods. | |
1361 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT): Macros to | |
1362 instantiate the array sorting methods. | |
1363 * Array.cc (ascending_compare, descending_compare): New template | |
1364 functions for generic sort comparison. | |
1365 ( Array<T> Array<T>::sort (octave_idx_type, sortmode) const, | |
1366 Array<T> Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, | |
1367 sortmode) const): Array sorting functions based of octave_sort | |
1368 class. | |
1369 * Array-C.cc: Instantiate the complex array sort methods. | |
1370 (IFLT): New macro to override the one in the | |
1371 octave_sort class to avoid need for Complex < and > operators. | |
1372 (static double xabs (const Complex&)): Complex abs function | |
1373 avoiding std::abs(Inf) returning NaN with some compilers. | |
1374 (ascending_compare, descending compare): override template | |
1375 functions for complex comparison. | |
1376 * Array-d.cc: Instantiate the double array sort methods. | |
1377 (Array<double> Array<double>::sort (octave_idx_type, | |
1378 sortmode) const, Array<double> Array<double>::sort | |
1379 (Array<octave_idx_type> &, octave_idx_type, sortmode) const): | |
1380 Array sorting functions based of octave_sort using uint64 sorting | |
1381 on IEE754 doubles, for speed and correct sorting of Inf and NaN. | |
1382 (ascending_compare, descending compare): override template | |
1383 functions for double and uint64 comparison. | |
1384 * Array-b.cc, Array-ch.cc, Array-i.cc, Array-s.cc, Array-str.cc: | |
1385 Instantiate the array sort methods. | |
1386 * Array-idx-vec.cc: Null instantiation of array sort methods. | |
1387 * Array2.h, Array3.h, ArrayN.h (sort): 2, 3 and N-dimensional | |
1388 versions of the sort methods based on Array<T>::sort. | |
1389 | |
1390 * CSparse.cc, dSparse.cc: Remove inclusion of octa-sort.h. | |
1391 * Sparse.h ( Sparse<T> sort (octave_idx_type, sortmode) const, | |
1392 Sparse<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
1393 sortmode) const): Sparse sorting methods. | |
1394 (INSTANTIATE_ARRAY_SORT): Macro to instantiate the sparse sorting | |
1395 methods. | |
1396 * Sparse.cc: replace sort with lsort throughout to avoid shadowing | |
1397 of new sort method. | |
1398 (sparse_ascending_compare, sparse_descending_compare): New template | |
1399 functions for generic sort comparison. | |
1400 ( Sparse<T> Sparse<T>::sort (octave_idx_type, sortmode) const, | |
1401 Sparse<T> Sparse<T>::sort (Sparse<octave_idx_type> &, octave_idx_type, | |
1402 sortmode) const): Sparse sorting functions based of octave_sort | |
1403 class. | |
1404 * Sparse-C.cc: Instantiate the complex sparse sort methods. | |
1405 (IFLT): New macro to override the one in the | |
1406 octave_sort class to avoid need for Complex < and > operators. | |
1407 (static double xabs (const Complex&)): Complex abs function | |
1408 avoiding std::abs(Inf) returning NaN with some compilers. | |
1409 (sparse_ascending_compare, sparse_descending compare): override | |
1410 template functions for complex comparison. | |
1411 * Sparse-d.cc: Instantiate the cdouble sparse sort methods. | |
1412 (sparse_ascending_compare, sparse_descending compare): override | |
1413 template functions for double comparison. | |
1414 * Array-b.cc: Instantiate the sparse sort methods. | |
1415 | |
7422 | 1416 2008-01-25 Jaroslav Hajek <highegg@gmail.com> |
1417 | |
1418 * idx-vector.h (idx_vector::idx_vector_rep::range_base, | |
1419 idx_vector::idx_vector_rep::range_step, | |
1420 idx_vector::idx_vector_rep::range_step): New data members. | |
1421 (idx_vector::idx_vector_rep::idx_vector_rep): Initialize them. | |
1422 * idx-vector.cc (IDX_VEC_REP::sort, IDX_VEC_REP::is_colon_equiv, | |
1423 IDX_VEC_REP::init_state, IDX_VEC_REP::operator =, | |
1424 IDX_VECTOR_REP::idx_vector_rep): Handle range. | |
1425 | |
7416 | 1426 2008-01-18 Marco Caliari <marco.caliari@univr.it> |
1427 | |
1428 * dMatrix.cc (Matrix::expm): Correctly perform reverse permutation. | |
1429 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
1430 | |
7408 | 1431 2008-01-22 Michael Goffioul <michael.goffioul@gmail.com> |
7407 | 1432 |
1433 * oct-time.cc (octave_base_tim::init): Validate pointer argument; | |
1434 this fixes the "localtime(-1)" crash under Windows. | |
1435 | |
7400 | 1436 2008-01-18 John W. Eaton <jwe@octave.org> |
1437 | |
1438 * dMatrix.cc (solve_singularity_warning): New function. | |
1439 (Matrix::expm): Pass pointer to solve_singularity_warning to | |
1440 Matrix::solve method. Exit early if Matrix::solve fails. | |
1441 Limit sqpow value to avoid overflowing scale factor. | |
1442 * CMatrix.cc (solve_singularity_warning): New function. | |
1443 (ComplexMatrix::expm): Pass pointer to solve_singularity_warning to | |
1444 ComplexMatrix::solve method. Exit early if ComplexMatrix::solve fails. | |
1445 Limit sqpow value to avoid overflowing scale factor. | |
7402 | 1446 From Marco Caliari <marco.caliari@univr.it>. |
7400 | 1447 |
7356 | 1448 2008-01-10 Kim Hansen <kimhanse@gmail.com> |
1449 | |
1450 * Sparse.cc: New tests for slicing of sparse matrices. | |
1451 | |
7350 | 1452 2008-01-07 David Bateman <dbateman@free.fr> |
1453 | |
1454 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Don't break from | |
1455 loop if this test succeeds. | |
1456 | |
7342 | 1457 2008-01-03 David Bateman <dbateman@free.fr> |
1458 | |
1459 * MSparse.cc (SPARSE_A2A2_OP): If first arg is scalar zero, then | |
1460 need unary operator on remaining argument | |
1461 * Sparse-op-defs.h (SPARSE_SMSM_BIN_OP_1): ditto. | |
1462 | |
7334 | 1463 2007-12-21 John W. Eaton <jwe@octave.org> |
1464 | |
1465 Version 3.0.0 released. | |
1466 | |
7322 | 1467 2007-12-18 David Bateman <dbateman@free.fr> |
1468 | |
1469 * Sparse.cc (template <class T> Sparse<T> Sparse<T>::index | |
1470 (idx_vector&, int) const): Fix case indexing of non zero scalar | |
1471 stored as a sparse matrix. | |
1472 (template <class T> Sparse<T> Sparse<T>::index (idx_vector&, | |
1473 idx_vector&, int) const): For the non permutated indexing case, | |
1474 fix link list calculation and use. | |
1475 | |
7321 | 1476 2007-12-17 John W. Eaton <jwe@octave.org> |
1477 | |
1478 * Array.cc (Array<T>::indexN): Correctly handle scalar indexed by | |
1479 N-d array. | |
1480 | |
7318 | 1481 2007-12-17 David Bateman <dbateman@free.fr> |
1482 | |
1483 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Use ridx for row | |
1484 index. | |
1485 | |
7299 | 1486 2007-12-11 John W. Eaton <jwe@octave.org> |
1487 | |
1488 * Sparse.cc (Sparse<T>::index (idx_vector&, int) const): | |
1489 If indexing scalar with empty matrix, return empty array with same | |
1490 size as index. | |
1491 | |
7272 | 1492 2007-12-10 John W. Eaton <jwe@octave.org> |
1493 | |
7279 | 1494 * NLEqn.h (NLEqn::fval): New data member. Adjust constructors |
1495 and assignment operator. | |
1496 (NLEqn::function_value): New function. | |
1497 * NLEqn.cc (NLEqn::solve): If solution is successful, compute | |
1498 function value. | |
1499 | |
7272 | 1500 * file-ops.cc (file_ops::concat): New function. |
1501 * file-ops.h: Provide decl. | |
1502 | |
7270 | 1503 2007-12-07 John W. Eaton <jwe@octave.org> |
1504 | |
1505 * oct-time.cc (octave_base_tm::init): Only assign t->tm_zone if it | |
1506 is not 0. | |
1507 | |
7269 | 1508 2007-12-07 David Bateman <dbateman@free.fr> |
1509 | |
1510 * Sparse-op-defs.h (SPARSE_SMS_CMP_OP, SPARSE_SMS_BOOL_OP, | |
1511 SPARSE_SSM_CMP_OP, SPARSE_SSM_BOOL_OP, SPARSE_SMSM_CMP_OP, | |
1512 SPARSE_SMSM_BOOL_OP, SPARSE_BASE_REDUCTION_OP): Use sparse | |
1513 indexing where possible rather than the elem method. | |
1514 (SPARSE_REDUCTION_OP_ROW_EXPR, SPARSE_REDUCTION_OP_COL_EXPR, | |
1515 SPARSE_ANY_ALL_OP_ROW_CODE, SPARSE_ANY_ALL_OP_COL_CODE): | |
1516 Replace for new version of SPARSE_BASE_REDUCTION_OP. | |
1517 (SPARSE_ALL_OP): Specialize the initial value, and only treat dim | |
1518 = 0 directly. | |
1519 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::sumsq (int) | |
1520 const): Replace ROW_EXPR and COL_EXPR functions for new version of | |
1521 SPARSE_BASE_REDUCTION_OP. | |
1522 (SparseComplexMatrix SparseComplexMatrix::prod (int) const): | |
1523 Specialize the initial value, and only treat dim = 0 directly. | |
1524 * dSparse.cc (SparseMatrix SparseMatrix::sumsq (int) const): | |
1525 ditto. | |
1526 (SparseMatrix SparseMatrix::prod (int) const): ditto. | |
1527 | |
7265 | 1528 2007-12-06 John W. Eaton <jwe@octave.org> |
1529 | |
1530 * CMatrix.cc (ComplexMatrix::expm): Update pointers to internal | |
1531 data for npp and dpp after assignments. | |
1532 * dMatrix.cc (Matrix::expm): Use same method as ComplexMatrix::expm. | |
1533 | |
7253 | 1534 2007-12-04 John W. Eaton <jwe@octave.org> |
1535 | |
1536 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1537 Do nothing if one index is empty. | |
1538 | |
7246 | 1539 2007-12-04 David Bateman <dbateman@free.fr> |
1540 | |
1541 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1542 Resize matrix as well if one dimension of lhs is zero and the rhs | |
1543 index exceeds the lhs index. | |
1544 * Sparse.cc (assign1 (Sparse<LT>&, const Sparse<RT>&)): | |
1545 Don't resize to a smaller matrix for empty matrices with a max rhs | |
1546 index smaller than the non zero lhs index. | |
1547 | |
1548 2007-12-04 Michael Goffioul <michael.goffioul@gmail.com> | |
1549 | |
1550 * Array-util.h: Tag permute_vector_compare with OCTAVE_API. | |
1551 | |
7241 | 1552 2007-12-03 Moritz Borgmann <octave@moriborg.de> |
1553 | |
1554 * Array-util.cc (permute_vector_compare): Move here from Array.cc. | |
1555 * Array-util.h (permute_vector, permute_vector_compare): Provide decls. | |
1556 * Array.cc (permute_vector, permute_vector_compare): Delete. | |
1557 | |
7238 | 1558 2007-12-03 David Bateman <dbateman@free.fr> |
1559 | |
1560 * Sparse.cc (template <class LT, class RT> int assign | |
1561 (Sparse<LT>&, const Sparse<RT>&)): Only set return matrix size to | |
1562 rhs values if both no. rows and columns are zero. | |
1563 | |
7231 | 1564 2007-11-30 John W. Eaton <jwe@octave.org> |
1565 | |
7234 | 1566 * oct-sort.cc, oct-sort.h: Style fixes. |
1567 | |
7231 | 1568 * lo-math.h: New file. |
1569 * Makefile.in (INCLUDES): Add it to the list. | |
1570 * liboctave/Array2.h, liboctave/ArrayN.h, liboctave/CmplxDET.cc, | |
1571 liboctave/DASPK.cc, liboctave/DASPK.h, liboctave/DASRT.cc, | |
1572 liboctave/DASRT.h, liboctave/DASSL.cc, liboctave/DASSL.h, | |
1573 liboctave/LSODE.cc, liboctave/LSODE.h, liboctave/NLEqn.h, | |
1574 liboctave/Quad.h, liboctave/Range.cc, liboctave/dbleDET.cc, | |
1575 liboctave/lo-cieee.c, liboctave/lo-ieee.cc, | |
1576 liboctave/lo-mappers.cc, liboctave/oct-time.cc, | |
1577 liboctave/oct-time.h, liboctave/randgamma.c, | |
1578 liboctave/randmtzig.c, liboctave/randpoisson.c: Include lo-math.h | |
1579 instead of cmath or math.h. | |
1580 * lo-mappers.h: Don't include sunmath.h here. | |
1581 | |
7198 | 1582 2007-11-26 John W. Eaton <jwe@octave.org> |
1583 | |
1584 * idx-vector.h (idx_vector::idx_vector_rep (const intNDArray<U>&)): | |
1585 Eliminate unnecessary second arg from call to tree_to_mat_idx. | |
1586 | |
1587 * oct-inttypes.h (operator bool, operator char): Delete. | |
1588 (bool_value, char_value, double_value, float_value): New functions. | |
1589 | |
7189 | 1590 2007-11-26 David Bateman <dbateman@free.fr> |
1591 | |
1592 * intNDArray.cc (template <class T> intNDArray<T> | |
1593 intNDArray<T>::max (int) const, template <class T> intNDArray<T> | |
1594 intNDArray<T>::max (ArrayN<octave_idx_type>&, int) const, | |
1595 template <class T> intNDArray<T> intNDArray<T>::min (int) const, | |
1596 template <class T> intNDArray<T> intNDArray<T>::min | |
1597 (ArrayN<octave_idx_type>&, int) const): New methods for integer | |
1598 classes. | |
1599 * intNDArray.h (class intNDArray): Add min/max methods | |
1600 * mx-op-defs.h (MIXMAX_DECLS, MINMAX_FCNS, SND_MINMAX_FCN, | |
1601 NDS_MINMAX_FCN, NDND_MINMAX_FCN): New macro for instantiation of | |
1602 min/max functions. | |
1603 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
1604 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
1605 (MINMAX_DECLS(T)): Declare the min/max functions for integer | |
1606 types. | |
1607 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
1608 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
1609 (MINMAX_FCNS(T)): Instantiate the min/max functions for integer | |
1610 types. | |
1611 | |
1612 * Arrayc.cc (Array<T>::index (idx_vector&, idx_vector&, int, | |
1613 const T& rfv) const): If ndims != 2 call ND version of index. | |
1614 | |
7176 | 1615 2007-11-14 John W. Eaton <jwe@octave.org> |
1616 | |
7178 | 1617 * oct-inttypes.h (opeator T (void) const): New conversion operator. |
1618 | |
7176 | 1619 * lo-specfun.cc (zbesi): When alpha is negative, don't limit |
1620 correction to half-integer values. From Eric Chassande-Mottin | |
1621 <echassandemottin@gmail.com>. | |
1622 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
1623 2007-11-07 Michael Goffioul <michael.goffioul@gmail.com> |
7124 | 1624 |
1625 * dMatrix.cc, CMatrix.cc: Help MSVC compiler to resolve | |
1626 ambiguities related to math functions (in C++ mode). | |
1627 | |
7102 | 1628 2007-11-06 David Bateman <dbateman@free.fr> |
1629 | |
7113 | 1630 * intNDArray.cc (intNDArray<T> intNDArray<T>::sum (int) const): |
1631 New method. | |
1632 * intNDarray.h (intNDArray sum (int) const): Declare it. | |
1633 * boolNDArray.cc (boolNDArray boolNDArray::sum (int) const): | |
1634 New method. | |
1635 * boolNDarray.cc (boolNDArray sum (int) const): Declare it. | |
7102 | 1636 * MArray-def.h (MARRAY_NORM_BODY): Scale frobenius norm by infinity |
1637 norm to avoid issues of over- and underflow. From Rolf Fabian | |
1638 <Rolf.Fabian@gmx.de>. | |
1639 | |
7081 | 1640 2007-10-30 David Bateman <dbateman@free.fr> |
1641 | |
1642 * DASRT-opts.in, LSODE-opts.in: Doc fixes for small book format. | |
1643 | |
7079 | 1644 2007-10-30 John W. Eaton <jwe@octave.org> |
1645 | |
1646 * CMatrix.cc (lssolve): Compute size of rwork and iwork arrays. | |
1647 * dMatrix.cc (lssolve): Compute size of iwork array. | |
1648 | |
7076 | 1649 2007-10-29 David Bateman <dbateman@free.fr> |
1650 | |
1651 * CMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
1652 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1653 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
1654 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
1655 double& rcond) const, lssolve (const ComplexColumnVector&, | |
1656 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
1657 declarations. | |
1658 * CMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
1659 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1660 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
1661 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
1662 double& rcond) const, lssolve (const ComplexColumnVector&, | |
1663 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
1664 methods. | |
1665 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
1666 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
1667 octave_idx_type&, double&) const): Also return rcond from the | |
1668 singular values returned by XGELSD. | |
1669 * dMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
1670 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1671 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
1672 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
1673 double& rcond) const, lssolve (const ComplexColumnVector&, | |
1674 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
1675 declarations. | |
1676 * dMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
1677 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1678 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
1679 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
1680 double& rcond) const, lssolve (const ComplexColumnVector&, | |
1681 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
1682 methods. | |
1683 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
1684 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
1685 octave_idx_type&, double&) const): Also return rcond from the | |
1686 singular values returned by XGELSD. | |
1687 | |
7072 | 1688 2007-10-26 David Bateman <dbateman@free.fr> |
1689 | |
1690 * dMatrix.cc (Matrix::lssolve): Use xGELSD for rank deficient | |
1691 matrices to avoid reliability issues with xGELSY. | |
1692 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. | |
7071 | 1693 |
7065 | 1694 2007-10-25 John W. Eaton <jwe@octave.org> |
1695 | |
1696 * oct-time.cc (octave_gmtime::init, octave_localtime::init): | |
1697 Call unix_time on arg instead of relying on conversion operator. | |
1698 | |
1699 * oct-time.h (octave_time::double_value): New function. | |
1700 (octave_time::operator double () const): Delete. | |
1701 (octave_time::operator time_t () const): Delete. | |
1702 | |
7058 | 1703 2007-10-24 John W. Eaton <jwe@octave.org> |
1704 | |
1705 * strptime.c: Also compile if OCTAVE_HAVE_BROKEN_STRPTIME is defined. | |
1706 | |
7052 | 1707 2007-10-23 John W. Eaton <jwe@octave.org> |
1708 | |
1709 * CRowVector.cc (operator * const ComplexRowVector&, const | |
1710 ComplexColumnVector&)): Delete spurious code left from patch. | |
1711 | |
7048 | 1712 2007-10-22 Kim Hansen <kimhanse@gmail.com> |
1713 | |
1714 * chMatrix.cc, lo-utils.cc, oct-env.cc, oct-uname.cc, | |
1715 sparse-sort.cc: Include <cstring>. | |
1716 | |
7036 | 1717 2007-10-17 John W. Eaton <jwe@octave.org> |
1718 | |
1719 * oct-sparse.h: Don't include metis.h. | |
1720 | |
1721 * dSparse.cc (SparseMatrix::fsolve): Delete special code for METIS. | |
1722 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
1723 * sparse-base-chol.cc (sparse_base_chol<chol_type, chol_elt, | |
1724 p_type>::sparse_base_chol_rep::init): Likewise. | |
1725 | |
7033 | 1726 2007-10-16 John W. Eaton <jwe@octave.org> |
1727 | |
1728 * dMatrix.cc (Matrix::inverse): Only check rcond == 0 if the | |
1729 matrix is hermitian or calc_cond is true. | |
1730 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
1731 | |
7016 | 1732 2007-10-12 John W. Eaton <jwe@octave.org> |
1733 | |
1734 * Change copyright notices in all files that are part of Octave to | |
1735 GPLv3 or any later version. | |
1736 | |
7007 | 1737 2007-10-11 Brian Gough <bjg@network-theory.co.uk> |
1738 | |
1739 * DASSL-opts.in, LSODE-opts.in: Spelling fixes. | |
1740 | |
7001 | 1741 2007-10-10 Olli Saarela <Olli.Saarela@kcl.fi> |
1742 | |
1743 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in: Spelling fixes. | |
1744 | |
7000 | 1745 2007-10-10 John W. Eaton <jwe@octave.org> |
1746 | |
1747 * LPsolve.h, LPsolve.cc: Delete. | |
1748 * Makefile.in: Remove them from the INCLUDES and | |
1749 LIBOCTAVE_CXX_SOURCES lists. | |
1750 | |
6989 | 1751 2007-10-09 John W. Eaton <jwe@octave.org> |
1752 | |
6996 | 1753 * oct-time.cc (octave_strptime::init): Initialize t.tm_mon to -1 |
1754 and t.tm_year to INT_MIN before call to oct_strptime. Adjust | |
1755 values to zero after call if they remain unchanged. | |
1756 | |
6989 | 1757 * dSparse.cc (SparseMatrix::all_elements_are_zero): New function. |
1758 * dNDArray.cc (NDArray::all_elements_are_zero): New function. | |
1759 | |
6988 | 1760 2007-10-09 David Bateman <dbateman@free.fr> |
1761 | |
6995 | 1762 * oct-time.cc (octave_strptime::init): Only call mktime if mday is |
1763 valud and mon and year are also filled in. | |
1764 | |
6990 | 1765 * Array2.h (Array2<T>::Array2(const dim_vector&), |
1766 Array2<T>::Array(const dim_vector&, const T&)): Check that | |
1767 dim_vector is 2 dimensional. | |
1768 | |
6988 | 1769 * Sparse.cc (Sparse<T> Sparse<T>::index (idx_vector&, idx_vector&, |
1770 int)): Remove a for loop in the random indexing case at the | |
1771 expense of maintaining a set of linked lists of indices that point | |
1772 to the same column in the original matrix. | |
1773 (int assign (Sparse<LT>&, Sparse<RT>)): Take a const copy of lhs | |
1774 and use it on the RHS of expressions to avoid unnecessary calls to | |
1775 make_unique. | |
1776 | |
6979 | 1777 2007-10-08 David Bateman <dbateman@free.fr> |
1778 | |
1779 * oct-rl-edit. (typedef rl_quoting_fcn_ptr, rl_dequoting_fcn_ptr, | |
1780 rl_char_is_quoted_fcn_ptr, rl_command_fcn_ptr): New typedefs | |
1781 for readline compatible functions. | |
1782 (octave_rl_redisplay): Redisplay the current line of text. | |
1783 (octave_rl_newline): Change interface to the same | |
1784 as used by the equivalent readline function itself. | |
1785 (octave_rl_filename_quoting_desired, | |
1786 octave_rl_set_filename_quote_characters, | |
1787 octave_rl_set_completer_quote_characters, | |
1788 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
1789 octave_rl_set_char_is_quoted_function): New functions to control | |
1790 readline filename quoting and line acceptace. | |
1791 * oct-rl-edit.c (octave_rl_newline): Change interface to the same | |
1792 as used by the equivalent readline function itself. | |
1793 (octave_rl_redisplay): Redisplay the current line of text. | |
1794 (octave_rl_filename_quoting_desired, | |
1795 octave_rl_set_filename_quote_characters, | |
1796 octave_rl_set_completer_quote_characters, | |
1797 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
1798 octave_rl_set_char_is_quoted_function): New functions to control | |
1799 readline filename quoting and line acceptace. | |
1800 * cmd-edit.h (typedef quoting_fcn, typedef dequoting_fcn, | |
1801 typedef char_is_quoted_fcn, user_accept_line_fcn): New typedefs | |
1802 to map C++ function to readline compatible functions. | |
1803 (set_filename_quote_characters): New function to set the | |
1804 characters to if they appear in a filename that force the filename | |
1805 to be quoted. | |
1806 (set_completer_quote_characters): The characters that the readline | |
1807 completion function considers as quotation characters. | |
1808 (set_quoting_function, set_dequoting_function, | |
1809 set_char_is_quoted_function, set_user_accept_line_function): | |
1810 Functions to set the Octave functions to perform quoting and the | |
1811 acceptance of a line of text by readline. | |
1812 (get_quoting_function, get_dequoting_function, | |
1813 get_char_is_quoted_function, get_user_accept_line_function): | |
1814 Functions to get the above functions. | |
1815 (accept_line): New method for the command_editor to accept a line | |
1816 of text. | |
1817 (file_quoting_desired): Function to set whether readline should | |
1818 attempt to quote filenames. | |
1819 (do_set_filename_quoting_characters, | |
1820 do_set_completer_quote_characters, do_set_quoting_function, | |
1821 do_set_dequoting_function, do_set_char_is_quoted_function, | |
1822 do_set_user_accept_line_function, do_get_quoting_function, | |
1823 do_get_dequoting_function, do_get_char_is_quoted_function, | |
1824 do_get_user_accept_line_function, do_filename_quoting_desired): | |
1825 Virtual functions to control the behavior of readline quoting and | |
1826 acceptance of lines. | |
1827 (do_accept_line): Virtual function for the accept line function. | |
1828 * cmd-edit.cc (class gnu_readline do_set_filename_quote_characters, | |
1829 do_completer_quote_characters, do_set_quoting_function, | |
1830 do_set_dequoting_function, do_set_char_is_quoted_function, | |
1831 do_set_user_accept_line_function, do_get_quoting_function, | |
1832 do_get_dequoting_function, do_get_user_accept_line_function, | |
1833 do_accept_line, do_filename_quoting_desired, command_quoter, | |
1834 command_dequoter, command_char_is_quoted, command_accept_line): | |
1835 New functions in gnu_readline class to control filename quoting | |
1836 and line acceptance. | |
1837 (quoting_function, dequoting_function, char_is_quoted_function, | |
1838 user_accept_line_function): private variable to store functions | |
1839 supplied for readline quoting and line acceptance. | |
1840 (gnu_readline::gnu_readline): Also set the new function pointers | |
1841 to zero. | |
1842 (gnu_readline::do_newline): Adapt to new octave_rl_newline | |
1843 interface. | |
1844 (gnu_readeline::operate_and_get_next): Use new accept_line | |
1845 function rather than newline. | |
1846 (default_ommand_editor::do_accept_line): New method. | |
1847 (class command_editor set_filename_quote_characters, | |
1848 set_completer_quote_characters, set_quoting_function, | |
1849 set_dequoting_function, set_char_is_quoted_function, | |
1850 set_user_accept_line_function, get_quoting_function, | |
1851 get_dequoting_function, get_user_accept_line_function, | |
1852 accept_line, filename_quoting_desired): New functions checking | |
1853 instance before calling virtual function. | |
1854 | |
1855 * CMatrix.h, dMatrix.h, boolMatrix.h, chMatrix.h, MArray2.h, | |
1856 Array2.h: Add dim_vector constructors. | |
1857 * charNDArray.h (charNDArray (const dim_vector&)): Add missing | |
1858 const to dim_vector constructors. | |
1859 * boolMatrix.cc, chMatrix.cc, intNDArray.cc (diag (void), diag | |
1860 (octave_idx_type)): New methods to constructor diagonal matrices. | |
1861 * boolMatrix.h, chMatrix.h, intNDArray.h (diag (void), diag | |
1862 (octave_idx_type)): Declare them. | |
1863 | |
1864 | |
6969 | 1865 2007-10-06 John W. Eaton <jwe@octave.org> |
1866 | |
1867 * lo-specfun.cc: (zlgamma): Delete. | |
1868 (xgamma): Use C library gamma function if available. | |
1869 (xlgamma): Use C library lgamma function if available. | |
1870 (xlgamma) [! HAVE_LGAMMA]: Allow calculation for any value of X | |
1871 other than NaN or Inf. | |
1872 | |
6961 | 1873 2007-10-05 John W. Eaton <jwe@octave.org> |
1874 | |
1875 * lo-specfun.cc (zlgamma): New function. | |
1876 | |
6959 | 1877 2007-10-04 John W. Eaton <jwe@octave.org> |
1878 | |
1879 * oct-sort.cc (octave_sort<T>::binarysort): Remove register | |
1880 qualifiers on local variables. | |
1881 | |
6958 | 1882 2007-10-04 Marco Caliari <mcaliari@math.unipd.it> |
1883 | |
1884 * CMatrix.cc (ComplexMatrix::expm): Limit shift to values less | |
1885 than log(realmax) to avoid issues with NaN. | |
1886 | |
6940 | 1887 2007-10-01 John W. Eaton <jwe@octave.org> |
1888 | |
6941 | 1889 * oct-time.cc (octave_strptime::init): Call mktime to propertly |
1890 initialize wday and yday. | |
1891 From Matthias Drochner <m.drochner@fz-juelich.de>. | |
1892 | |
6940 | 1893 * cmd-edit.cc (command_editor::do_decode_prompt_string): Don't |
1894 insert extra '\001' when decoding \[ and \]. | |
1895 | |
6926 | 1896 2007-09-26 David Bateman <dbateman@free.fr> |
1897 | |
1898 * dMatrix.cc (lssolve): Replace the use of xGELSS with xGELSY with | |
1899 is much faster and no less accurate. | |
1900 * CMatrix.cc (lssolve): ditto. | |
1901 | |
6924 | 1902 2007-09-25 David Bateman <dbateman@free.fr> |
1903 | |
1904 * dMatrix.cc (utsolve, ltsolve, fsolve, lssolve): Allow | |
1905 zero dimensioned matrices. | |
1906 * CMatrix.cc (utsolve, ltsolve, fsolve, lssolve): ditto. | |
1907 * dSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
1908 ditto. | |
1909 * CSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
1910 ditto. | |
1911 * SparseQR.cc (SparseQR::SparseQR_rep::C, qrsolve): ditto. | |
1912 * SparseCmplxQR.cc (SparseComplexQR::SparseComplexQR_rep::C, | |
1913 qrsolve): ditto. | |
1914 * sparse-dmsolve.cc (dmsolve): ditto. | |
1915 | |
6922 | 1916 2007-09-21 John W. Eaton <jwe@octave.org> |
1917 | |
1918 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): | |
1919 Also allow resizing empty LHS if it is 1x0 or 0xN. | |
1920 | |
6916 | 1921 2007-09-19 John W. Eaton <jwe@octave.org> |
1922 | |
1923 * cmd-edit.cc (command_editor::remove_startup_hook): | |
1924 Fix cut-and-paste error. | |
6917 | 1925 (gnu_readline::set_startup_hook): Only set hook function if new |
1926 function is different from the current one. | |
6916 | 1927 |
6913 | 1928 2007-09-18 John W. Eaton <jwe@octave.org> |
1929 | |
1930 * cmd-edit.h, cmd-edit.cc (command_editor::startup_hook_set, | |
1931 command_editor::event_hook_set): New static data. | |
1932 (default_command_editor::set_startup_hook, | |
1933 gnu_readline::set_startup_hook, | |
1934 default_command_editor::restore_startup_hook, | |
1935 gnu_readline_restore_event_hook): | |
1936 Rename from do_set_startup_hook and do_set_event_hook. | |
1937 (gnu_readline::operate_and_get_next): Call | |
1938 command_editor::add_startup_hook, not | |
1939 command_editor::set_startup_hook. | |
1940 (command_editor::startup_handler, command_editor::event_handler): | |
1941 New functions. | |
1942 (command_editor::add_startup_hook, command_editor::add_event_hook, | |
1943 command_editor::remove_startup_hook, | |
1944 command_editor::remove_event_hook): Rename from set_startup_hook | |
1945 and restore_startup_hook. Handle hook sets here. | |
1946 * cmd-edit.cc (gnu_history::do_goto_mark): | |
1947 Call remove_startup_hook instead of restore_startup_hook. | |
1948 | |
6907 | 1949 2007-09-17 John W. Eaton <jwe@octave.org> |
1950 | |
1951 * lo-utils.cc (octave_read_complex, octave_read_double): Skip | |
1952 leading whitespace. | |
1953 | |
6897 | 1954 2007-09-13 John W. Eaton <jwe@octave.org> |
1955 | |
1956 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
1957 octave_read_complex): Use istream::get instead of >> to read | |
1958 individual characters. | |
1959 | |
6884 | 1960 2007-09-10 John W. Eaton <jwe@octave.org> |
1961 | |
1962 * Array.cc (assign1): Don't call make_unique for invalid assignment. | |
1963 | |
1964 2007-09-10 David Bateman <dbateman@free.fr> | |
1965 | |
1966 * Array.h (Array<T>::make_unique): Make public so that the | |
1967 ::assign functions can access it directly. | |
1968 * Array.cc (Array<T>::maybe_delete_elements_1(idx_vector&), | |
1969 Array<T>::maybe_delete_elements_1(idx_vector&), | |
1970 Array<T>::maybe_delete_elements(idx_vector&, idx_vector&), | |
1971 Array<T>::maybe_delete_elements(Array<idx_vector>&, const T&)): | |
1972 Use xelem for non const RHS to avoid call to make_unique. | |
1973 (int assign1 (Array<LT>&, const Array<RT>&, const LT&)): Use | |
1974 xelem for LHS and call lhs.make_unique() only once. Special case | |
1975 the is_colon index case and use Array<T>::xelem(octave_idx_type) | |
1976 rather than Array<T>::xelem(octave_idx_type,octave_idx_type) and | |
1977 bring the additional multiplication out of the inner loop. | |
1978 (int assign2 (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
1979 (int assignN (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
1980 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep | |
1981 (const Range& r)): Don't use init_state() method but special case | |
1982 as with a Range can avoid exhaustive search. | |
1983 | |
6881 | 1984 2007-09-07 John W. Eaton <jwe@octave.org> |
1985 | |
1986 * Array.cc (Array<T>::fortran_vec): Call make_unique instead of | |
1987 manipulating rep directly. | |
1988 | |
1989 * Array.h (idx, idx_count): Declare mutable. | |
1990 (Array<T>::set_index, Array<T>::clear_index, Array<T>::value): | |
1991 Now const. | |
1992 | |
6867 | 1993 2007-09-06 David Bateman <dbateman@free.fr> |
1994 | |
6868 | 1995 * Array-util.cc (increment_index): dimensions can have singleton |
1996 trailing dimensions. | |
6867 | 1997 * Array.h (range_error, xelem, checkelem, elem, operator ()): |
1998 Modify use of Array<int> to Array<octave_idx_type> and adjust | |
1999 where necessary. | |
2000 * Array.cc (range_error): ditto. | |
2001 * MArrayN.h (permute, ipermute): ditto. | |
2002 * ArrayN.h (permute, ipermute): ditto. | |
2003 * so-array.cc (streamoff_array::compute_index): ditto. | |
2004 * so-array.h (compute_index): ditto. | |
2005 * CMattrix.cc (ComplexMatrix::exmpm): ditto. | |
2006 | |
6840 | 2007 2007-08-29 David Bateman <dbateman@free.fr> |
2008 | |
2009 * dSparse.cc (SparseMatrix SparseMatrix::inverse (MatrixType &, | |
2010 octave_idx_type&, double&, int, int)): Calculate with LU even for | |
2011 matrices marked as singular. | |
2012 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::inverse ( | |
2013 MatrixType &, octave_idx_type&, double&, int, int)): ditto. | |
2014 * dMatrix.cc (Matrix Matrix::inverse (MatrixType &, octave_idx_type&, | |
2015 double&, int, int)): ditto. If rcond==0 force matrix of infinities. | |
2016 * dMatrix.cc (ComplexMatrix ComplexMatrix::inverse (MatrixType &, | |
2017 octave_idx_type&, double&, int, int)): ditto. | |
2018 | |
6838 | 2019 2007-08-27 John W. Eaton <jwe@octave.org> |
2020 | |
2021 * oct-env.cc (octave_env::rooted_relative_pathname, | |
2022 octave_env::do_rooted_relative_pathname): New functions. | |
2023 * oct-env.h: Provide decls. | |
2024 | |
6823 | 2025 2007-08-24 David Bateman <dbateman@free.fr> |
2026 | |
2027 * MSparse.h (MSparse<T>& insert (const Sparse<T>&, | |
2028 const Array<octave_idx_type>&)): New method. | |
2029 (MSparse (const dim_vector&, octave_idx_type)): Ditto. | |
2030 * dSparse.h (SparseMatrix& SparseMatrix::insert (const | |
2031 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
2032 (SparseMatrix (const dim_vector&, octave_idx_type)): ditto. | |
2033 * dSparse.cc (SparseMatrix& SparseMatrix::insert (const | |
2034 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
2035 * boolSparse.h (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
2036 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
2037 * boolSparse.cc (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
2038 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
2039 * CSparse.h (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
2040 SparseMatrix&, const Array<octave_idx_type>&), | |
2041 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
2042 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
2043 (SparseComplexMatrix (const dim_vector&, octave_idx_type)): ditto. | |
2044 * CSparse.cc (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
2045 SparseMatrix&, const Array<octave_idx_type>&), | |
2046 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
2047 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
2048 | |
6817 | 2049 2007-08-19 David Bateman <dbateman@free.fr> |
2050 | |
2051 * Sparse.cc (Sparse<T>::permute): Avoid shadowing warning. | |
2052 | |
6813 | 2053 2007-08-14 John W. Eaton <jwe@octave.org> |
2054 | |
2055 * Sparse.cc (Sparse<T>::permute): permutation vector is zero based. | |
2056 Simplify. | |
6814 | 2057 (Sparse<T>::reshape): Warn about reshaping to N-d array. |
6813 | 2058 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2059 2007-08-10 Michael Goffioul <michael.goffioul@gmail.com> |
6810 | 2060 |
2061 * file-stat.cc (file_stat::update_internal) [__WIN32__]: | |
2062 Remove trailing dir separator when stat'ing directory except for | |
2063 root directory. | |
2064 | |
6796 | 2065 2007-07-25 David Bateman <dbateman@free.fr> |
2066 | |
2067 * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" | |
2068 to work. | |
2069 | |
6764 | 2070 2007-06-04 David Bateman <dbateman@free.fr> |
2071 | |
2072 * oct-inttypes.h (octave_int<T>& operator <<= (const T2&), | |
2073 octave_int<T>& operator >>= (const T2&)): Make shift operators | |
2074 perform a twos complement arithmetic shift for both signed and | |
2075 unsigned integers regardless of compiler implementations. | |
2076 | |
6708 | 2077 2007-06-13 Michael Goffioul <michael.goffioul@swing.be> |
2078 | |
6719 | 2079 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): For CXSparse 2.2 and greater |
2080 use cs_complex_t(0,0) for the complex zero. | |
2081 | |
6708 | 2082 * MArray-ch.cc, MArray-d.cc, MArray-i.cc, MArray-s.cc: |
2083 Sprinkle class instantiations with OCTAVE_API as needed. | |
2084 | |
2085 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY, | |
2086 INSTANTIATE_ARRAY_AND_ASSIGN): New arg, API. Change all uses. | |
2087 * MArray-defs.h (MARRAY_OP_ASSIGN_DECL, MARRAY_OP_ASSIGN_DECLS, | |
2088 MARRAY_OP_ASSIGN_FWD_DECLS, MARRAY_OP_ASSIGN_FRIENDS, | |
2089 MARRAY_OP_ASSIGN_DEFS, MARRAY_UNOP, MARRAY_UNOP_DECLS, | |
2090 MARRAY_UNOP_FWD_DECLS, MARRAY_UNOP_FRIENDS, MARRAY_UNOP_DEFS, | |
2091 MARRAY_BINOP_DECL, MARRAY_BINOP_DECLS, MARRAY_AA_BINOP_DECLS, | |
2092 MDIAGARRAY2_DAS_BINOP_DECLS, MDIAGARRAY2_SDA_BINOP_DECLS, | |
2093 MDIAGARRAY2_DADA_BINOP_DECLS, MARRAY_BINOP_FWD_DECLS, | |
2094 MDIAGARRAY2_BINOP_FWD_DECLS, MARRAY_BINOP_FRIENDS, | |
2095 MDIAGARRAY2_BINOP_FRIENDS, MARRAY_BINOP_DEFS, | |
2096 MDIAGARRAY2_BINOP_DEFS, MARRAY_OPS_FORWARD_DECLS, | |
2097 MDIAGARRAY2_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS, | |
2098 MDIAGARRAY2_OPS_FRIEND_DECLS, INSTANTIATE_MARRAY_FRIENDS, | |
2099 INSTANTIATE_MARRAY2_FRIENDS, INSTANTIATE_MARRAYN_FRIENDS, | |
2100 INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. | |
2101 * MSparse-defs.h (SPARSE_OP_ASSIGN_DECL, SPARSE_OP_ASSIGN_DECLS, | |
2102 SPARSE_OP_ASSIGN_FWD_DECLS, SPARSE_OP_ASSIGN_FRIENDS, | |
2103 SPARSE_OP_ASSIGN_DEFS, SPARSE_UNOP, SPARSE_UNOP_DECLS, | |
2104 SPARSE_UNOP_FWD_DECLS, SPARSE_UNOP_FRIENDS, SPARSE_UNOP_DEFS, | |
2105 SPARSE_BINOP_DECL, SPARSE_BINOP_DECLS, SPARSE_AA_BINOP_DECLS, | |
2106 SPARSE_BINOP_FWD_DECLS, SPARSE_BINOP_FRIENDS, SPARSE_BINOP_DEFS, | |
2107 SPARSE_OPS_FORWARD_DECLS, SPARSE_OPS_FRIEND_DECLS, | |
2108 INSTANTIATE_SPARSE_FRIENDS): Ditto. | |
2109 * Sparse-op-defs.h (SPARSE_BIN_OP_DECL, SPARSE_CMP_OP_DECL, | |
2110 SPARSE_BOOL_OP_DECL, SPARSE_SMS_BIN_OP_DECLS, | |
2111 SPARSE_SMS_CMP_OP_DECLS, SPARSE_SMS_EQNE_OP_DECLS, | |
2112 SPARSE_SMS_BOOL_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
2113 SPARSE_SMS_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
2114 SPARSE_SSM_CMP_OP_DECLS, SPARSE_SSM_EQNE_OP_DECLS, | |
2115 SPARSE_SSM_BOOL_OP_DECLS, SPARSE_SSM_OP_DECLS, | |
2116 SPARSE_SMSM_BIN_OP_DECLS, SPARSE_SMSM_CMP_OP_DECLS, | |
2117 SPARSE_SMSM_EQNE_OP_DECLS, SPARSE_SMSM_BOOL_OP_DECLS, | |
2118 SPARSE_SMSM_OP_DECLS, SPARSE_MSM_BIN_OP_DECLS, | |
2119 SPARSE_MSM_CMP_OP_DECLS, SPARSE_MSM_EQNE_OP_DECLS, | |
2120 SPARSE_MSM_BOOL_OP_DECLS, SPARSE_MSM_OP_DECLS, | |
2121 SPARSE_SMM_BIN_OP_DECLS, SPARSE_SMM_CMP_OP_DECLS, | |
2122 SPARSE_SMM_EQNE_OP_DECLS, SPARSE_SMM_BOOL_OP_DECLS, | |
2123 SPARSE_SMM_OP_DECLS): Ditto. | |
2124 * Sparse.h (INSTANTIATE_SPARSE_ASSIGN, INSTANTIATE_SPARSE, | |
2125 INSTANTIATE_SPARSE_AND_ASSIGN): Ditto. | |
2126 * mx-op-defs.h (BIN_OP_DECL, CMP_OP_DECL, NDCMP_OP_DECL, | |
2127 BOOL_OP_DECL, NDBOOL_OP_DECL, VS_BIN_OP_DECLS, VS_OP_DECLS, | |
2128 SV_BIN_OP_DECLS, SV_OP_DECLS, VV_BIN_OP_DECLS, VV_OP_DECLS, | |
2129 MS_BIN_OP_DECLS, MS_CMP_OP_DECLS, MS_BOOL_OP_DECLS, MS_OP_DECLS, | |
2130 SM_BIN_OP_DECLS, SM_CMP_OP_DECLS, SM_BOOL_OP_DECLS, SM_OP_DECLS, | |
2131 MM_BIN_OP_DECLS, MM_CMP_OP_DECLS, MM_BOOL_OP_DECLS, MM_OP_DECLS, | |
2132 NDS_BIN_OP_DECLS, NDS_CMP_OP_DECLS, NDS_BOOL_OP_DECLS, | |
2133 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_CMP_OP_DECLS, | |
2134 SND_BOOL_OP_DECLS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
2135 NDND_CMP_OP_DECLS, NDND_BOOL_OP_DECLS, NDND_OP_DECLS, | |
2136 SDM_BIN_OP_DECLS, SDM_OP_DECLS, DMS_BIN_OP_DECLS, DMS_OP_DECLS, | |
2137 MDM_BIN_OP_DECLS, MDM_OP_DECLS, DMM_BIN_OP_DECLS, DMM_OP_DECLS, | |
2138 DMDM_BIN_OP_DECLS, DMDM_OP_DECLS): Ditto. | |
2139 | |
6699 | 2140 2007-06-12 John W. Eaton <jwe@octave.org> |
2141 | |
2142 * dMatrix.cc (Matrix::expm): Special case for scalar arg. | |
2143 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6697 | 2144 |
6693 | 2145 2007-06-06 Michael Goffioul <michael.goffioul@swing.be> |
2146 | |
6709 | 2147 * file-ops.cc (tilde_find_suffix, isolate_tilde_prefix, |
2148 tilde_expand_word): Use file_ops::is_dir_sep instead of comparing | |
2149 with file_ops::dir_sep_char. | |
6694 | 2150 |
6693 | 2151 * MArray-C.cc: Sprinkle with OCTINTERP_API as needed. |
2152 | |
6689 | 2153 2007-06-04 David Bateman <dbateman@free.fr> |
2154 | |
6699 | 2155 * file-ops.cc: Typo. |
2156 | |
6689 | 2157 * Sparse.cc (Sparse<T> Sparse<T>::reshape): If length of new |
2158 dimensions is greater than 2, collapse to 2-D. | |
2159 | |
6685 | 2160 2007-06-02 David Bateman <dbateman@free.fr> |
2161 | |
2162 * SparseCmplxQR.cc: Changes to support CXSparse 2.2.0. | |
2163 | |
6680 | 2164 2007-05-31 John W. Eaton <jwe@octave.org> |
2165 | |
2166 * Array.cc (Array::get_size): Throw std::bad_alloc exception if | |
2167 the computed size is too large for the size of Octave's index type. | |
2168 | |
6662 | 2169 2007-05-23 John W. Eaton <jwe@octave.org> |
2170 | |
2171 * oct-sparse.h: Don't surround included files with extern "C" { ... }. | |
2172 | |
6629 | 2173 2007-05-16 David Bateman <dbateman@free.fr> |
2174 | |
2175 * dRowVector.cc (linspace): Return second argument if fewer than | |
2176 two values are requested. | |
2177 * CRowVector.cc (linspace): Likewise. | |
2178 | |
6596 | 2179 2007-04-27 John W. Eaton <jwe@octave.org> |
2180 | |
2181 * lo-mappers.cc (signum (const Complex&)): Special case for (0, 0). | |
2182 | |
6583 | 2183 2007-04-25 John W. Eaton <jwe@octave.org> |
2184 | |
2185 * oct-fftw.h (octave_fftw): Tag with OCTAVE_API. | |
2186 | |
6553 | 2187 2007-04-20 John W. Eaton <jwe@octave.org> |
2188 | |
2189 * Array.cc (assign1): For x(:) = RHS, require rhs_len == lhs_len, | |
2190 not rhs_len == 1. | |
2191 | |
6536 | 2192 2007-04-18 Michael Goffioul <michael.goffioul@swing.be> |
2193 | |
2194 * oct-md5.h (oct_md5, oct_md5_file): Tag decls with OCTAVE_API. | |
2195 | |
6525 | 2196 2007-04-13 John W. Eaton <jwe@octave.org> |
2197 | |
2198 * Array.cc (Array<T>::maybe_delete_elements_2): Don't return early | |
2199 for empty matrix. Only check for colon index equivalence if not empty. | |
2200 | |
6513 | 2201 2007-04-10 John W. Eaton <jwe@octave.org> |
2202 | |
2203 * SparseCmplxQR.cc | |
2204 (SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep): | |
2205 Move GCC_ATTR_UNUSED before the parameter decl. | |
2206 From Luis Ortiz <lortiz@interactivesupercomputing.com>. | |
2207 | |
6508 | 2208 2007-04-06 John W. Eaton <jwe@octave.org> |
2209 | |
2210 * MArray-defs.h (MARRAY_NORM_BODY): New macro. | |
2211 * MArray.h (MArray<T>::norm): New function. | |
2212 * MArray.cc: Provide decl. | |
2213 * MArray-d.cc (MArray<double>::norm): Define double specialization. | |
2214 * MArray-C.cc (MArray<Complex>::norm): Define Complex specialization. | |
2215 | |
6490 | 2216 2007-04-04 John W. Eaton <jwe@octave.org> |
2217 | |
2218 * Range.cc (Range::nelem_internal): Likewise. | |
2219 * lo-utils.cc (NINT): Use numeric_limits<int> instead of INT_MAX. | |
2220 (NINTbig): Use numeric_limits<octave_idx_type> instead of INT_MAX. | |
2221 From Scott Pakin <pakin@lanl.gov>. | |
2222 | |
6486 | 2223 2007-04-04 David Bateman <dbateman@free.fr> |
2224 | |
2225 * dMatrix.cc (Matrix::inverse): If calc_cond is true, calculate | |
2226 the condition number for positive definite matrices. | |
2227 * CMatrix.cc (ComplexMatrix::inverse): Ditto. | |
2228 * dbleChol.h (CHOL(const Matrix&, bool)): New arg, calc_cond. | |
2229 (CHOL(const Matrix&, octave_idx_type&, bool): Ditto. | |
2230 (octave_idx_type init (const Matrix&, bool)): Ditto. | |
2231 (CHOL(const CHOL&)): Copy xrcond. | |
2232 (CHOL& operator = (const CHOL&)): Copy xrcond. | |
2233 (xrcond): New private data member. | |
2234 * CmplxCHOL.h (ComplexCHOL(const ComplexMatrix&, bool)): New arg, | |
2235 calc_cond. | |
2236 (ComplexCHOL(const ComplexMatrix&, octave_idx_type&, bool): Ditto | |
2237 (octave_idx_type init (const ComplexMatrix&, bool)): Ditto. | |
2238 (ComplexCHOL(const ComplexCHOL&)): Copy xrcond. | |
2239 (ComplexCHOL& operator = (const ComplexCHOL&)): Copy xrcond. | |
2240 (xrcond): New private data member. | |
2241 * dbleCHOL.cc (CHOL::init(const Matrix&, bool)): If calc_cond is | |
2242 true, calculate the condition number with dpocon. | |
2243 * CmplxCHOL.cc (ComplexCHOL::init(const ComplexMatrix&, bool)): If | |
2244 calc_cond is true, calculate the condition number with zpocon. | |
2245 | |
6481 | 2246 2007-04-03 John W. Eaton <jwe@octave.org> |
2247 | |
6482 | 2248 * intNDArray.cc (intNDArray): Delete spurious semicolon. |
2249 | |
2250 * CMatrix.cc (ComplexMatrix::tinverse): Use Array<T> and | |
2251 fortran_vec method instead of OCTAVE_LOCAL_BUFFER to avoid | |
2252 "maybe clobbered by vfork" warning. | |
2253 | |
6483 | 2254 * Sparse-op-defs.h (SPARSE_CUMSUM): Add braces to avoid ambiguous |
6482 | 2255 if/else. |
2256 | |
2257 * oct-spparms.h (octave_sparse_params): Define copy constructor | |
2258 and destructor. | |
2259 | |
6481 | 2260 * Array.cc (assignN): Don't resize dimension if corresponding |
2261 index is empty. | |
2262 | |
6479 | 2263 2007-04-02 John W. Eaton <jwe@octave.org> |
2264 | |
2265 * dMatrix.h (Matrix::inverse): Reinstate versions without | |
2266 MatrixType argument. | |
2267 * CMatrix.h (ComplexMatrix::inverse): Likewise. | |
2268 | |
6467 | 2269 2007-03-27 John W. Eaton <jwe@octave.org> |
2270 | |
2271 * Makefile.in (DISTDIRS): Delete variable. | |
2272 (dist): Delete action for DISTDIRS. Use ln instead of $(LN_S). | |
2273 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2274 2007-03-26 David Bateman <dbateman@free.fr> |
6460 | 2275 |
2276 * MatrixType.cc: Replace all uses of the method | |
2277 octave_sparse_params::get_key ("bandden") with | |
2278 octave_sparse_params::get_bandden (void). | |
2279 (MatrixType::MatrixType (void)): Undo previous change but use | |
2280 octave_sparse_params::get_bandden (void). | |
2281 * oct-spparms.cc (get_bandden(void), do_get_bandden(void)): New | |
2282 methods. | |
2283 * oct-spparms.h (get_bandden(void), do_get_bandden(void)): | |
2284 Declare them. | |
2285 | |
6458 | 2286 2007-03-26 Luis Ortiz <lortiz@interactivesupercomputing.com> |
2287 David Bateman <dbateman@free.fr> | |
2288 | |
2289 * idx-vector.h.cc (IDX_VEC_REP::idx_vector_rep (const Range&)): | |
2290 Check that all elements are ints before doing anything. Simplify | |
2291 calculation of index values. | |
2292 | |
6457 | 2293 2007-03-26 David Bateman <dbateman@free.fr> |
2294 | |
2295 * Range.cc (Range::all_elements_are_ints): Improve check. | |
2296 | |
6456 | 2297 2007-03-26 John W. Eaton <jwe@octave.org> |
2298 | |
2299 * chNDArray.cc, chMatrix.cc: Also generate comparison and bool ops. | |
2300 * chNDArray.h, chMatrix.h: Provide decls. | |
2301 | |
2302 2007-03-24 Luis Ortiz <lortiz@interactivesupercomputing.com> | |
2303 | |
2304 * MatrixType.cc (MatrixType::MatrixType (void)): Initialize | |
2305 sp_bandden to zero for performance reasons as it's not used. | |
6452 | 2306 |
6435 | 2307 2007-03-23 David Bateman <dbateman@free.fr> |
2308 | |
2309 * oct-rand.cc (octave_rand::seed): Seed differently for big and | |
2310 little endian. | |
2311 | |
6414 | 2312 2007-03-15 John W. Eaton <jwe@octave.org> |
2313 | |
2314 * lo-mappers.cc (acos): Use formula similar to what we use for asin. | |
2315 From Alexander Barth <abarth@marine.usf.edu>. | |
2316 | |
6402 | 2317 2007-03-12 John W. Eaton <jwe@octave.org> |
2318 | |
2319 * oct-inttypes.h (octave_int::octave_int (double)): | |
2320 New Specialization. Round arg. | |
2321 (operator / (const octave_int<T1>&, const octave_int<T2>&)): | |
2322 Round result before converting type. | |
2323 | |
6388 | 2324 2007-03-07 John W. Eaton <jwe@octave.org> |
2325 | |
6392 | 2326 * Array.cc (assign1): Avoid resizing if there is an error. |
2327 | |
6390 | 2328 * dMatrix.cc, CMatrix.cc (operator *): Only check |
2329 f77_exception_encountered immediately after calls that use F77_XFCN. | |
2330 | |
6389 | 2331 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
2332 Only allow resizing empty LHS if it is 0x0. | |
2333 | |
6388 | 2334 * Array.cc (Array<T>::maybe_delete_elements (Array<idx_vector>&, |
2335 const T&)): Handle case of more indices than dimensions. | |
2336 (assign (Array<LT>&, const Array<RT>&, const LT&)): Allow more | |
2337 cases to be handled by assignN. | |
2338 (assignN (Array<LT>&, const Array<RT>&, const LT&)): | |
2339 Special cases for 2-d array assignments for speed. | |
2340 Improve handling of scalar RHS and empty indices. | |
6384 | 2341 |
6383 | 2342 2007-03-05 David Bateman <dbateman@free.fr> |
2343 | |
2344 * oct-md5.c (oct_md5_file (const std::string&)): New function. | |
2345 * oct-md5.h (oct_md5_file (const std::string&)): Declare it. | |
2346 | |
6379 | 2347 2007-03-02 John W. Eaton <jwe@octave.org> |
2348 | |
2349 * str-vec.h (string_vector::empty): Return bool, not int. | |
2350 | |
6375 | 2351 2007-03-01 David Bateman <dbateman@free.fr> |
2352 | |
2353 * md5.h, md5.c: New files from libmd5-rfc sourceforge project for | |
2354 an independent implementation of RFC1321. | |
2355 * oct-md5.h, oct-md5: New files for treating std::string class | |
2356 with MD5. | |
2357 * Makefile.in (INCLUDES): Add md5.h and oct-md5.h | |
2358 (LIBOCTAVE_CXX_SOURCES): Add oct-md5.cc | |
2359 (LIBOCTAVE_C_SOURCES): Add md5.c | |
2360 | |
6366 | 2361 2007-02-27 John W. Eaton <jwe@octave.org> |
2362 | |
2363 * Makefile.in (uninstall): Delete files listed in | |
2364 $(INCLUDES_FOR_INSTALL), instead of $(INCLUDES). | |
2365 From Thomas Treichl <Thomas.Treichl@gmx.net>. | |
2366 | |
6536 | 2367 2007-02-27 Michael Goffioul <michael.goffioul@swing.be> |
6363 | 2368 |
2369 * file-ops.cc (file_ops::recursive_rmdir): | |
2370 Close dir_entry object before calling rmdir. | |
2371 | |
6536 | 2372 2007-02-26 Michael Goffioul <michael.goffioul@swing.be> |
6358 | 2373 |
2374 * Makefile.in: Use $(LN_S) instead of ln or ln -s. | |
2375 | |
6359 | 2376 * sparse-util.h (SparseCholPrint, SparseCholError): |
2377 Tag with OCTAVE_API. | |
2378 | |
6326 | 2379 2007-02-18 David Bateman <dbateman@free.fr> |
2380 | |
2381 * oct-rand.cc (do_old_initialization()): call setcgn(1) prior to | |
2382 calling setall and reset to the current generator after. | |
2383 | |
6323 | 2384 2007-02-16 John W. Eaton <jwe@octave.org> |
2385 | |
2386 * oct-shlib.h (octave_shlib::relative): New data member. | |
2387 (octave_shlib::mark_relative, octave_shlib::is_relative): | |
2388 New functions. | |
2389 | |
6321 | 2390 2007-02-16 Michael Goffioul <michael.goffioul@swing.be> |
2391 | |
2392 * lo-sysdep.cc (octave_popen2): New function to simulate popen2 on | |
2393 windows platform. | |
2394 * lo-sysdep.h (octave_popen2): Declare it. | |
2395 * oct-syscalls.cc (octave_syscalls::popen2): New function. | |
2396 * oct-syscalls.h (octave_syscalls::popen2): Declare it. | |
2397 | |
6306 | 2398 2007-02-14 John W. Eaton <jwe@octave.org> |
2399 | |
2400 * kpse.cc (expand_elt): Omit special treatment for //. | |
2401 | |
6273 | 2402 2007-02-06 John W. Eaton <jwe@octave.org> |
2403 | |
2404 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_REALPATH]: | |
2405 Don't delete value returned from realpath. | |
2406 | |
6271 | 2407 2007-02-05 Thomas Treichl <Thomas.Treichl@gmx.net> |
2408 | |
2409 * file-ops.cc (file_ops::canonicalize_file_name): | |
2410 Provide implementation if realpath function is available. | |
2411 | |
6256 | 2412 2007-01-29 Michael Goffioul <michael.goffioul@swing.be> |
2413 | |
2414 * oct-fftw.h: Sprinkle with OCTAVE_API as needed. | |
2415 | |
6244 | 2416 2007-01-17 Michael Goffioul <michael.goffioul@swing.be> |
2417 | |
2418 * lo-sysdep.cc (octave_chdir): Handle directory names like "C:" on | |
2419 Windows systems. | |
2420 | |
6242 | 2421 2007-01-16 John W. Eaton <jwe@octave.org> |
2422 | |
2423 * dSparse.cc: Fix dgbtrf decl for --enable-64. | |
2424 (SparseMatrix::bsolve): Fix call to dgbtrf for --enable-64 | |
2425 | |
2426 * oct-fftw.h (fftw_planner): Provide decl. | |
2427 | |
6241 | 2428 2007-01-11 Michael Goffioul <michael.goffioul@swing.be> |
2429 | |
2430 * Makefile.in (LINK_DEPS): Include $(CAMD_LIBS) in the list. | |
2431 | |
6236 | 2432 2007-01-10 John W. Eaton <jwe@octave.org> |
2433 | |
2434 * oct-sparse.h: Use HAVE_CHOLMOD_CHOLMOD_H, not | |
2435 HAVE_UMFPACK_CHOLMOD_H for case of "cholmod/cholmod.h". | |
2436 | |
6231 | 2437 2007-01-08 David Bateman <dbateman@free.fr> |
2438 | |
2439 * oct-sparse.h: Replace sparsesuite with suitesparse and | |
2440 SPARSESUITE with SUITESPARSE to match upstream name. | |
2441 | |
6228 | 2442 2007-01-05 David Bateman <dbateman@free.fr> |
2443 | |
2444 * oct-fftw.cc: (octave_fftw_planner::method (void), | |
2445 octave_fftw_planner (FftwMethod)): New methods to interrogate and | |
2446 set the FFTW wisdom method used. | |
2447 (octave_fftw_planner::create_plan) Modify to allow different | |
2448 methods to be used. | |
2449 (octave_fftw_planner): Move class definition from here. | |
2450 * oct-fftw.h (octave_fftw_planner): To here. Add method methods | |
2451 and FftwMethod enum. | |
2452 | |
6221 | 2453 2007-01-03 David Bateman <dbateman@free.fr> |
2454 | |
2455 * MSparse.cc (SPARSE_A2A2_OP, SPARSE_A2A2_FCN_1, | |
2456 SPARSE_A2A2_FCN_1): Modify macros so that scalars stored as | |
2457 sparse matrices are special cased. | |
2458 | |
2459 * Sparse-op-defs.h: Include mx-ops.h to have access to mixed | |
2460 matrix, sparse matrix operations. | |
2461 (SPARSE_SMSM_BIN_OP_1, SPARSE_SMSM_BIN_OP_2, SPARSE_SMSM_BIN_OP_3, | |
2462 SPARSE_SMSM_CMP_OP, SPARSE_SMSM_BOOL_OP, SPARSE_MSM_BIN_OP_1, | |
2463 SPARSE_MSM_BIN_OP_2, SPARSE_MSM_CMP_OP, SPARSE_MSM_BOOL_OP, | |
2464 SPARSE_SMM_BIN_OP_1, SPARSE_SMM_BIN_OP_2, SPARSE_SMM_CMP_OP, | |
2465 SPARSE_SMM_BOOL_OP, SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, | |
2466 FULL_SPARSE_MUL): Modify macros so that scalars stored as | |
2467 sparse matrices are special cased. | |
2468 | |
6217 | 2469 2006-12-22 David Bateman <dbateman@free.fr> |
2470 | |
2471 * boolSparse.cc (SparseBoolMatrix::operator !): Fix off-by-one error. | |
2472 | |
6216 | 2473 2006-12-22 John W. Eaton <jwe@octave.org> |
2474 | |
2475 * dim-vector.h (dim_vector::dim_vector): Always start with at | |
2476 least 2 dimensions. | |
2477 (dim_vector::resize): Don't allow resizing to fewer than 2 dimensions. | |
2478 | |
6208 | 2479 2006-12-06 Michael Goffioul <michael.goffioul@swing.be> |
2480 | |
2481 * lo-sysdep.cc (opendir): Avoid passing \\* to FindFirstFile. | |
2482 | |
2483 * file-ops.cc (ops::canonicalize_file_name): Provide partial | |
6217 | 2484 implementation for Windows. |
6208 | 2485 |
6207 | 2486 2006-12-06 David Bateman <dbateman@free.fr> |
2487 | |
6208 | 2488 * dSparse.cc (SparseMatrix::is_symmetric): Faster implementation. |
2489 * CSparse.cc (SparseComplexMatrix::is_symmetric): Ditto. | |
6207 | 2490 |
2491 * dMatrrix.cc (finverse): Old inverse method renamed inverse. | |
2492 (tinverse): New method for triangular matrices. | |
2493 (inverse): New function with matrix type probing. | |
2494 * dMatrix.h (finverse, tinverse, inverse): New and modified | |
2495 declarations. | |
6208 | 2496 * CMatrix.cc: Ditto. |
2497 * CMatrix.h: Ditto. | |
6207 | 2498 |
6205 | 2499 2006-12-06 John W. Eaton <jwe@octave.org> |
2500 | |
2501 * strptime.c (day_of_the_week): Use code from current glibc sources. | |
2502 | |
6202 | 2503 2006-12-05 John W. Eaton <jwe@octave.org> |
2504 | |
2505 * lo-utils.cc (octave_read_double): If we see '+' or '-' but not | |
2506 followed by 'I' or 'i', try reading number after putting | |
2507 characters back on input stream. | |
2508 | |
6198 | 2509 2006-12-05 Paul Kienzle <pkienzle@users.sf.net> |
2510 | |
2511 * randpoisson.c (oct_fill_randp): For lambda > 1e8, upper limit of | |
2512 loop is n, not L. | |
2513 | |
6194 | 2514 2006-11-30 John W. Eaton <jwe@octave.org> |
2515 | |
2516 * lo-utils.cc (octave_read_double, read_inf_nan_na): | |
2517 Also recognize [+-][Ii]nf. | |
2518 | |
6187 | 2519 2006-11-28 David Bateman <dbateman@free.fr> |
6186 | 2520 |
2521 * oct-sparse.h: Allow sparse headers to also be in a sparsesuite | |
2522 sub-directory. | |
2523 | |
6204 | 2524 * dSparse.cc (SparseMatrix::inverse): Transpose the matrix type as |
2525 well when calling tinverse for lower triangular matrices. | |
2526 * CSparse.cc (SparseComplexMatrix::inverse): | |
2527 Ditto. | |
6185 | 2528 |
6183 | 2529 2006-11-21 John W. Eaton <jwe@octave.org> |
2530 | |
2531 * oct-env.cc (do_absolute_pathname): Undo previous change. | |
2532 | |
6182 | 2533 2006-11-20 John W. Eaton <jwe@octave.org> |
2534 | |
2535 * oct-env.cc (octave_env::do_absolute_pathname): Also return true | |
2536 for ".", and names beginning with "./" or "../". | |
2537 | |
6162 | 2538 2006-11-14 Luis F. Ortiz <lortiz@interactivesupercomputing.com> |
2539 | |
2540 * CMatrix.cc, dMatrix.cc: New tests. | |
2541 | |
6153 | 2542 2006-11-13 Michael Goffioul <michael.goffioul@swing.be> |
2543 | |
2544 * Array-d.cc, dDiagMatrix.h: Sprinkle with OCTAVE_API as needed. | |
2545 | |
6152 | 2546 2006-11-11 John W. Eaton <jwe@octave.org> |
2547 | |
2548 * Makefile.in ($(OPTS_INC), mx-ops.h): | |
2549 Use $(simple-move-if-change-rule) here. | |
2550 | |
6148 | 2551 2006-11-09 David Bateman <dbateman@free.fr> |
2552 | |
2553 * sparse-base-chol.cc (sparse_base_chol_rep::Q): Cast perms(i) to | |
2554 octave_idx_type, not int. | |
2555 | |
6145 | 2556 2006-11-08 John W. Eaton <jwe@octave.org> |
2557 | |
2558 * dir-ops.cc (dir_entry::read): Avoid rewinddir. | |
2559 | |
6141 | 2560 2006-11-06 John W. Eaton <jwe@octave.org> |
2561 | |
2562 * Array.cc (assignN): Exit early if invalid indices are found. | |
2563 | |
6140 | 2564 2006-11-03 Michael Goffioul <michael.goffioul@swing.be> |
2565 | |
2566 * strftime.c [HAVE_TZNAME]: Tag tzname with OCTAVE_IMPORT. | |
2567 | |
6137 | 2568 2006-11-03 John W. Eaton <jwe@octave.org> |
2569 | |
2570 * Makefile.in (DLL_CXXDEFS): Rename from XTRA_CXXDEFS. | |
2571 (DLL_CDEFS): Rename from XTRA_CDEFS. | |
2572 Substitute OCTAVE_DLL_DEFS, not XTRA_OCTAVE_DEFS. | |
2573 | |
6123 | 2574 2006-10-28 Michael Goffioul <michael.goffioul@swing.be> |
2575 | |
2576 * oct-shlib.cc: Undefine min and max after including windows.h. | |
2577 * oct-syscalls.cc (syscalls::pipe (int *)): Avoid infinite recursion. | |
2578 * lo-sysdep.h: Move opendir, readdir, etc. decls here from | |
2579 lo-sysdep.cc. | |
2580 | |
6113 | 2581 2006-10-27 John W. Eaton <jwe@octave.org> |
2582 | |
6119 | 2583 * oct-time.cc [! HAVE_STRFTIME]: Declare strftime. |
2584 | |
2585 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> | |
2586 | |
2587 * mx-op-defs.h (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, | |
2588 NDS_CMP_OPS2): New macros. | |
6113 | 2589 |
6111 | 2590 2006-10-26 John W. Eaton <jwe@octave.org> |
2591 | |
6119 | 2592 * mx-ops (core-type): New field for integer types. |
2593 * mk-ops.awk: Handle core-type for integer comparison ops. | |
2594 | |
6111 | 2595 * lo-cutils.c (octave_strcasecmp, octave-strncasecmp): |
2596 Move here from src/cutils.c. | |
2597 * lo-utils.h: Provide decls. | |
2598 * strcasecmp.c: Move here from src/strcasecmp.c. | |
2599 * strncase.c: Move here from src/strncase.c. | |
2600 * Makefile.in (LIBOCTAVE_C_SOURCES): Add them to the list. | |
2601 | |
6106 | 2602 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
2603 | |
2604 * kpse.cc [! MSVC]: Don't include win32lib.h. | |
2605 | |
6708 | 2606 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-util.h, |
2607 Array.h, CColVector.h, CMatrix.h, CNDArray.h, CRowVector.h, | |
2608 CSparse.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, | |
2609 CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, | |
2610 CollocWt.h, DAE.h, DASPK.h, DASRT.h, DASSL.h, EIG.h, LSODE.h, | |
2611 MArray-C.cc, MArray-defs.h, MSparse-C.cc, MSparse-d.cc, | |
2612 MSparse-defs.h, MatrixType.h, NLEqn.h, Quad.h, Range.h, | |
2613 Sparse-op-defs.h, Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, | |
2614 SparseCmplxQR.h, SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, | |
2615 boolMatrix.h, boolNDArray.h, boolSparse.h, chMatrix.h, | |
2616 chNDArray.h, cmd-edit.h, cmd-hist.h, dColVector.h, dDiagMatrix.h, | |
2617 dMatrix.h, dNDArray.h, dRowVector.h, dSparse.h, data-conv.h, | |
2618 dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, dbleLU.h, | |
2619 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, dir-ops.h, | |
2620 file-ops.h, file-stat.h, glob-match.h, idx-vector.h, | |
2621 int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, | |
2622 lo-cutils.c, lo-ieee.h, lo-mappers.h, lo-specfun.h, lo-utils.h, | |
2623 mach-info.h, mx-op-defs.h, oct-alloc.h, oct-env.h, oct-group.h, | |
2624 oct-inttypes.cc, oct-inttypes.h, oct-passwd.h, oct-rand.h, | |
2625 oct-shlib.h, oct-spparms.h, oct-syscalls.h, oct-time.h, | |
2626 oct-uname.h, pathsearch.h, prog-args.h, so-array.h, str-vec.h, | |
2627 uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc, | |
2628 uint8NDArray.cc: Sprinkle with OCTAVE_API as needed. | |
6108 | 2629 |
6105 | 2630 2006-10-26 John W. Eaton <jwe@octave.org> |
2631 | |
2632 * oct-inttypes.cc (INSTANTIATE_INTTYPE_BIN_OP): Provide explicit | |
2633 type qualification for OP. | |
2634 | |
6101 | 2635 2006-10-26 David Bateman <dbateman@free.fr> |
2636 | |
2637 * Sparse.cc (Sparse<T>::resize_no_fill (octave_idx_type, | |
2638 octave_idx_type)): Be more careful with the size of the input | |
2639 matrix, and therefore don't create or read non existent data. | |
2640 | |
6092 | 2641 2006-10-25 John W. Eaton <jwe@octave.org> |
2642 | |
2643 * Sparse.cc (assign): Clear lhs index after error. | |
2644 | |
6093 | 2645 2006-10-25 David Bateman <dbateman@free.fr> |
6092 | 2646 |
2647 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
2648 Fix previous patch so it works. | |
2649 | |
6087 | 2650 2006-10-25 Michael Goffioul <michael.goffioul@swing.be> |
2651 | |
6095 | 2652 * glob-match.h (glob_match::glob_match (const std::string&, |
2653 unsigned int)): Delete initializer for first arg. | |
2654 | |
6093 | 2655 * lo-sysdep.cc (opendir, readdir, rewinddir, closedir): |
2656 New functions. | |
2657 | |
6087 | 2658 * Makefile.in (XTRA_CDEFS, XTRA_CXXDEFS): Substitute here. |
2659 | |
6096 | 2660 * oct-env.cc (octave_env::do_get_home_directory) [_MSC_VER]: Use |
2661 same code as __MINGW32__. | |
2662 * syswait.h [_MSC_VER]: Define HAVE_WAITPID, WAITPID, and WNOHANG | |
2663 the same as for __MINGW32__. | |
2664 | |
2665 * randpoisson.c: Undefine INFINITE before redefining. | |
2666 | |
6079 | 2667 2006-10-24 David Bateman <dbateman@free.fr> |
2668 | |
2669 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Resize the | |
2670 lhs at the point we know the assignment can succeed if the lhs is | |
2671 empty. | |
2672 | |
6072 | 2673 2006-10-23 John W. Eaton <jwe@octave.org> |
2674 | |
2675 * Array.cc (assign2): Don't require vector assignments to be oriented. | |
2676 | |
6061 | 2677 2006-10-17 John W. Eaton <jwe@octave.org> |
2678 | |
2679 * lo-cieee.c: If isnan is not available but _isnan is, then define | |
2680 isnan to be _isnan, and define HAVE_ISNAN. Likewise for _finite | |
2681 and _copysign. | |
2682 | |
6059 | 2683 2006-10-17 Michael Goffioul <michael.goffioul@swing.be> |
6051 | 2684 |
6061 | 2685 * oct-syscalls.cc (syscalls::waitpid): Always declare and define retval. |
2686 | |
6708 | 2687 * CMatrix.cc (ComplexMatrix::solve): Avoid infinite recursion. |
2688 * CSparse.cc (SparseComplexMatrix::insert): Likewise. | |
6061 | 2689 |
6058 | 2690 * oct-types.h.in: Include limits.h, for CHAR_BIT. |
2691 | |
6059 | 2692 2006-10-13 Michael Goffioul <michael.goffioul@swing.be> |
2693 | |
6051 | 2694 * Makefile.in: Adapt rules to use $(LIBPRE). |
2695 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2696 2006-10-03 David Bateman <dbateman@free.fr> |
6027 | 2697 |
2698 * MatrixType.cc (MatrixType::MatrixType): Avoid crash if np == 0 | |
2699 or p == 0. | |
2700 | |
6018 | 2701 2006-10-02 John W. Eaton <jwe@octave.org> |
2702 | |
2703 * dbleDET.cc (DET::initialize2): Ensure arg to log10 is double. | |
2704 * CmplxDET.cc (ComplexDET::initialize2): Likewise. | |
2705 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2706 2006-09-22 David Bateman <dbateman@free.fr> |
5996 | 2707 |
2708 * MatrixType.h (MatrixType::MatrixType(const SparseComplexMatrix&)): | |
5997 | 2709 Remove spurious warning. |
5996 | 2710 |
5992 | 2711 2006-09-15 John W. Eaton <jwe@octave.org> |
2712 | |
2713 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&) const): | |
2714 Handle resizing. | |
2715 | |
2716 * intNDArray.h (intNDArray<T>:elt_type): New typedef. | |
2717 | |
5983 | 2718 2006-09-11 John W. Eaton <jwe@octave.org> |
2719 | |
2720 * dMatrix.cc (operator * (const Matrix&, const Matrix&))): | |
2721 Handle M*v and rv*cv special cases. | |
2722 * CMatrix.cc (operator * (const ComplexMatrix&, const | |
2723 ComplexMatrix&))): Likewise. | |
2724 From Luis F. Ortiz <lortiz@interactivesupercomputing.com>. | |
2725 | |
2726 * dRowVector.cc (operator * (const RowVector&, const | |
2727 ColumnVector&)): Call xddot here instead of using a Fortran | |
2728 function directly. | |
2729 * CRowVector.cc (operator * (const ComplexRowVector&, const | |
2730 ComplexColumnVector&)): Call xzdotu here. | |
2731 | |
2732 2006-09-05 John W. Eaton <jwe@octave.org> | |
2733 | |
2734 * chNDArray.cc (charNDArray::any, charNDArray::all): Compare | |
2735 elements to '\0', not ' '. | |
2736 | |
5972 | 2737 2006-08-25 John W. Eaton <jwe@octave.org> |
2738 | |
2739 * mx-inlines.cc (MX_ND_REDUCTION): Special case for 0x0 arrays. | |
2740 | |
5958 | 2741 2006-08-23 John W. Eaton <jwe@octave.org> |
2742 | |
2743 * dMatrix.cc, dMatrix.h (Matrix::save_ascii): Delete function and decl. | |
2744 * CMatrix.cc, CMatrix.h (ComplexMatrix::save_ascii): Likewise. | |
2745 | |
5955 | 2746 2006-08-22 John W. Eaton <jwe@octave.org> |
2747 | |
5956 | 2748 * CMatrix.cc (ComplexMatrix::save_ascii): New function. |
2749 * dMatrix.cc (Matrix::save_ascii): New function. | |
2750 | |
5955 | 2751 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Correctly detect empty arrays. |
2752 If array is empty, return value is same size as array. | |
2753 (MX_ND_REDUCTION): Correctly detect empty arrays. | |
2754 If array is empty, produce correctly sized return value. | |
2755 | |
5940 | 2756 2006-08-18 John W. Eaton <jwe@octave.org> |
2757 | |
5943 | 2758 * dMatrix.cc (Matrix::any_element_not_one_or_zero): New function. |
2759 * dMatrix.h: Provide decl. | |
2760 * dNDArray.cc (NDArray::any_element_not_one_or_zero): New function. | |
2761 * dNDArray.h: Provide decl. | |
2762 * intNDArray.cc (intNDArray<T>::any_element_not_one_or_zero): | |
2763 New function. | |
2764 * intNDArray.h: Provide decl. | |
2765 | |
5940 | 2766 * Array.cc (Array<T>::permute): Only rearrange values if array is |
2767 not empty. | |
2768 | |
5904 | 2769 2006-07-26 John W. Eaton <jwe@octave.org> |
2770 | |
2771 * dbleDET.cc (DET::initialize10, DET::value_will_underflow, | |
2772 DET::value_will_overflow): Use xlog2 instead of log2. | |
2773 (DET::initialize2, DET::initialize10): Use xround instead of round. | |
2774 (DET::initialize2, DET::value): Use xexp2 instead of exp2. | |
2775 * CmplxDET.cc (ComplexDET::initialize10, | |
2776 ComplexDET::value_will_underflow, | |
2777 ComplexDET::value_will_overflow): Use xlog2 instead of log2. | |
2778 (ComplexDET::initialize2, ComplexDET::initialize10): | |
2779 Use xround instead of round. | |
2780 (ComplexDET::initialize2, ComplexDET::value): | |
2781 Use xexp2 instead of exp2. | |
2782 | |
2783 * lo-mappers.cc (M_LOG10E): Delete unused macro. | |
2784 (xlog2, xexp2): New functions. | |
2785 * lo-mappers.h: Provide decls. | |
2786 | |
5900 | 2787 2006-07-22 John W. Eaton <jwe@octave.org> |
2788 | |
2789 * Sparse.h (Sparse<T>::mex_get_data, Sparse<T>::mex_get_ir, | |
2790 Sparse<T>::mex_get_jc): New functions. | |
2791 | |
2792 2006-07-21 John W. Eaton <jwe@octave.org> | |
2793 | |
2794 * oct-inttypes.h (octave_int<T>::mex_get_data): New function. | |
2795 * Array.h (Array<T>::mex_get_data): New function. | |
2796 | |
5898 | 2797 2006-07-19 John W. Eaton <jwe@octave.org> |
2798 | |
2799 * oct-inttypes.h (octave_int::operator bool (void)): New function. | |
2800 | |
5893 | 2801 2006-07-16 John W. Eaton <jwe@octave.org> |
2802 | |
2803 * oct-spparms.h, oct-spparms.cc (class octave_sparse_params): | |
2804 Rename from SparseParams. Use same implementation method as other | |
2805 singleton classes in Octave. Change all uses of | |
2806 Voctave_sparse_controls to use static functions from | |
2807 octave_sparse_params class instead. | |
2808 | |
2809 * oct-spparms.h, oct-spparms.cc (SparseParams::set_key, | |
2810 SparseParams::get_key): Pass std::string arg by const reference, | |
2811 not const value. | |
2812 | |
5892 | 2813 2006-07-15 John W. Eaton <jwe@octave.org> |
2814 | |
2815 * data-conv.cc: Instantiante swap_bytes templates here. | |
2816 | |
2817 * MatrixType.cc (MatrixType::MatrixType): | |
2818 Use complete initializer lists in constructors. | |
2819 | |
5880 | 2820 2006-07-06 John W. Eaton <jwe@octave.org> |
2821 | |
2822 * str-vec.cc (string_vector::string_vector (std::list<std::string>&)): | |
2823 New constructor. | |
2824 * str-vec.h: Provide decl. | |
2825 | |
5876 | 2826 2006-07-01 David Bateman <dbateman@free.fr> |
2827 | |
2828 * dSparse.cc (tinverse): Check for rows with no elements and zero | |
2829 elements on the diagonal. Allow both Upper and Lower triangular | |
2830 matrices to be treated. | |
2831 * CSparse.cc (tinverse): ditto. | |
2832 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Take into account 64-bit | |
2833 constant assignment. | |
2834 | |
5870 | 2835 2006-06-30 John W. Eaton <jwe@octave.org> |
2836 | |
5872 | 2837 * lo-sysdep.cc (octave_chdir): Perform tilde expansion here. |
2838 * cmd-edit.cc (editor::read_init_file): Ditto. | |
2839 * dir-ops.cc (dir_entry::open): Ditto. | |
5871 | 2840 * file-stat.cc (stat::update_internal): Ditto. |
5872 | 2841 * cmd-hist.cc (command_history::set_file): Ditto. |
5871 | 2842 |
5870 | 2843 * data-conv.cc (data_conv::string_to_data_type): |
2844 Correctly handle leading "*". | |
2845 | |
5869 | 2846 2006-06-29 Atsushi Kajita <a-kajita@mizar.freemail.ne.jp> |
2847 | |
2848 * Sparse.cc (Sparse<T>::SparseRep::elem): Avoid out of bounds | |
2849 array access. | |
2850 | |
5866 | 2851 2006-06-27 John W. Eaton <jwe@octave.org> |
2852 | |
2853 * Makefile.in: Finish renaming of OBJECTS -> LIBOCTAVE_OBJECTS. | |
2854 | |
5864 | 2855 2006-06-21 John W. Eaton <jwe@octave.org> |
2856 | |
2857 * oct-shlib.cc (octave_dlopen_shlib::close, | |
2858 octave_shl_load_shlib::close, octave_w32_shlib::close): | |
2859 Skip do_close_hook if cl_hook is 0. | |
2860 | |
5863 | 2861 2006-06-16 John W. Eaton <jwe@octave.org> |
2862 | |
2863 * oct-sort.h: Don't include config.h, lo-mappers.h, or quit.h. | |
2864 * randmtzig.h: Don't inlcude config.h. | |
2865 | |
5837 | 2866 2006-05-31 David Bateman <dbateman@free.fr> |
2867 | |
2868 * Array.cc (assignN): Maybe reshape LHS before doing assignment. | |
2869 | |
5828 | 2870 2006-05-23 John W. Eaton <jwe@octave.org> |
2871 | |
2872 * oct-types.h.in: Include stdint.h or inttypes.h for integer | |
2873 typedefs, or define them if those files are not available. | |
2874 * oct-inttypes.h (octave_int8_t, octave_int16_t, octave_int32_t, | |
2875 octave_int64_t, octave_uint8_t, octave_uint16_t, octave_uint32_t, | |
2876 octave_uint64_t): Delete typedefs. Replace all uses of these | |
2877 types with int8_t, int16_t, etc. | |
2878 * data-conv.h (TWO_BYTE_INT, FOUR_BYTE_INT, EIGHT_BYTE_INT): | |
2879 Delete definitions. Replace all uses of these macros with int8_t, | |
2880 int16_t, etc. | |
2881 * randmtzig.h: Delete integer typedefs. | |
2882 | |
5822 | 2883 2006-05-18 John W. Eaton <jwe@octave.org> |
2884 | |
2885 * EIG.cc (EIG::init): Trap Inf and NaN values here. | |
2886 From Keith Goodman <kwgoodman@gmail.com>. | |
2887 | |
5813 | 2888 2006-05-08 David Bateman <dbateman@free.fr> |
2889 | |
2890 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): fix bug in previous | |
2891 modification. | |
2892 | |
5797 | 2893 2006-05-09 David Bateman <dbateman@free.fr> |
2894 | |
2895 * sparse-dmsolve.cc: Remove reference to ov-re-sparse.h, | |
2896 ov-cx-sparse. and error_state. | |
2897 * SparseQR.cc, SparseCmplxQR.cc (qrsolve): Return info = -1 on error. | |
2898 | |
5795 | 2899 2006-05-08 David Bateman <dbateman@free.fr> |
2900 | |
2901 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Set column pointers in | |
2902 first pass and use to determine which algorithm to use on a | |
2903 column-by-column basis. | |
2904 | |
5792 | 2905 2006-05-04 David Bateman <dbateman@free.fr> |
2906 | |
2907 * SparseQR.cc, SparseQR.h, SparseCmplxQR.cc, SparseCmplxQR.h, | |
2908 sparse-dmsolve.cc : Allow compilation with versions v2.0.0 of | |
2909 CXSparse or later | |
2910 | |
5785 | 2911 2006-05-03 David Bateman <dbateman@free.fr> |
2912 | |
2913 * CMatrix.cc (zpotrf, zpocon, zpotrs, ztrcon, ztrtrs): | |
2914 External declaration of lapack triangular and Cholesky codes. | |
2915 (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, | |
2916 ComplexMatrix::fsolve): New private solver codes for | |
2917 upper, lower and LU/Cholesky solvers. | |
2918 (ComplexMatrix::solve): New versions for cached matrix | |
2919 type. Adapt old versions to call new versions | |
2920 * CMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
2921 new solvers. | |
2922 (solve): New versions for cached matrix type. | |
2923 * dMatrix.cc (dpotrf, dpocon, dpotrs, dtrcon, dtrtrs): | |
2924 External declaration of lapack triangular and Cholesky codes. | |
2925 (Matrix::utsolve, Matrix::ltsolve, | |
2926 Matrix::fsolve): New private solver codes for | |
2927 upper, lower and LU/Cholesky solvers. | |
2928 (Matrix::solve): New versions for cached matrix | |
2929 type. Adapt old versions to call new versions | |
2930 * dMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
2931 new solvers. | |
2932 (solve): New versions for cached matrix type. | |
2933 * CSparse.cc: Replace all uses of SparseType with MatrixType. | |
2934 * CSparse.h: ditto. | |
2935 * dSparse.cc: ditto. | |
2936 * dSparse.h: ditto. | |
2937 * SparseCmplxCHOL.cc: ditto. | |
2938 * SparsedbleCHOL.cc: ditto. | |
2939 * sparse-dmsolve.cc: ditto. | |
2940 * SparseType.cc, SparseType.h: delete. | |
2941 * MatrixType.cc: New file for class to cache matrix type, based on | |
2942 old SparseType class but caching matrix and sparse types. | |
2943 * MatrixType.h: ditto. | |
2944 * Makefile.in (MATRIX_INC, MATRIX_SRC): Add MatrixType.h and | |
2945 MatrixType.cc respectively. Delete SparseType.h and SparseType.cc | |
2946 respectively. | |
2947 * mx-base.h: Include MatrixTye.h as header file. | |
2948 | |
5781 | 2949 2006-05-01 John W. Eaton <jwe@octave.org> |
2950 | |
2951 * oct-shlib.h (octave_shlib::octave_shlib, octave_shlib::open): | |
2952 Delete WARN_FUTURE arg. Change all uses. | |
2953 * oct-shlib.cc (octave_base_shlib::stamp_time): Delete arg. | |
2954 Change all uses. Use current_liboctave_warning_with_id_handler. | |
2955 (octave_base_shlib::open): Delete arg. Change all derived classes | |
2956 and uses. | |
2957 | |
2958 2006-04-29 John W. Eaton <jwe@octave.org> | |
2959 | |
2960 * Array-flags.cc, Array-flags.h: Delete. | |
2961 * Makefile.in (MATRIX_SRC): Remove Array-flags.cc from the list. | |
2962 (MATRIX_INC): Remove Array-flags.h from the list. | |
2963 | |
2964 * idx-vector.cc (IDX_VEC_REP::freeze): Delete warn_resize arg. | |
2965 Use current_liboctave_warning_with_id_handler | |
2966 with warning ID Octave:resize-on-range-error. | |
2967 * idx-vector.h: Fix decl. | |
2968 * Array.cc, Sparse.cc: Change all callers. | |
2969 | |
2970 * Array.cc (Array<T>::maybe_delete_elements, Array<T>::index2, | |
2971 assign2, assignN): Use current_liboctave_warning_with_id_handler | |
2972 with warning ID Octave:fortran-indexing instead of | |
2973 liboctave_wfi_flag. | |
2974 * Sparse.cc (assign, Sparse<T>::index): Likewise. | |
2975 | |
5777 | 2976 2006-04-26 John W. Eaton <jwe@octave.org> |
2977 | |
2978 * pathsearch.cc (dir_path::path_sep_char, dir_path::path_sep_str): | |
2979 New static data. | |
2980 * pathsearch.h: Provide decls. | |
2981 (dir_path::is_path_sep): New function. | |
2982 | |
5766 | 2983 2006-04-18 John W. Eaton <jwe@octave.org> |
2984 | |
2985 * randmtzig.c (randmt, randi53, randi54, randi64, randu32, randu53): | |
2986 Omit inline from decl. | |
2987 | |
2988 * Sparse.cc (Sparse<T>::index): Use std::vector<bool> to avoid | |
2989 local array with variable dimension. | |
2990 | |
5764 | 2991 2006-04-16 John W. Eaton <jwe@octave.org> |
2992 | |
5765 | 2993 * lo-sstream.h: Delete. |
2994 * Makefile.in (INCLUDES): Remove it from the list. | |
2995 | |
2996 * dim-vector.h (dim_vector::str): Use std::ostringstream directly. | |
2997 * Sparse.cc (Sparse::range_error): Likewise. | |
2998 * DASSL.cc (DASSL::error_message): Likewise. | |
2999 * LSODE.cc (LSODE::error_message): Likewise. | |
3000 * DASRT.cc (DASRT::error_message): Likewise. | |
3001 * DASPK.cc (DASPK::error_message): Likewise. | |
3002 * Array.cc (Array::range_error): Likewise. | |
3003 | |
5764 | 3004 * kpse.cc (kpse_hash): Rename from hash. |
3005 (hash_lookup): Call kpse_hash instead of hash. | |
3006 | |
3007 * SparseType.cc (SparseType::SparseType): Use std::vector<bool> | |
3008 to avoid local array with variable dimension. | |
3009 | |
5760 | 3010 2006-04-13 David Bateman <dbateman@free.fr> |
3011 | |
3012 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
3013 Optimize assignment. | |
3014 | |
3015 2006-04-13 John W. Eaton <jwe@octave.org> | |
3016 | |
3017 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
3018 Eliminate unnecessary casts. | |
3019 * SparsedbleLU.cc (SparseLU::SparseLU): Likewise. | |
3020 | |
3021 * kpse.cc (fopen): Use reinterpret_cast instead of C-style cast. | |
3022 (log_search, dir_links): Use static_cast instead of C-style cast. | |
3023 | |
3024 * prog-args.cc (args::getopt): Use reinterpret_cast instead of X_CAST. | |
3025 * oct-alloc.cc (allocator::grow): Likewise. | |
3026 * CSparse.cc (SparseComplexMatrix::determinant, | |
3027 SparseComplexMatrix::factorize, SparseComplexMatrix::fsolve): | |
3028 Likewise. | |
3029 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU): Likewise. | |
3030 | |
3031 * oct-sort.cc (roundupsize, octave_sort<T>::merge_getmem): | |
3032 Use static_cast instead of C-style cast. | |
3033 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
3034 * dSparse.cc (SparseMatrix::fsolve): Likewise. | |
3035 | |
3036 * data-conv.cc (LS_DO_WRITE): Use static_cast for value conversion. | |
3037 Use OCTAVE_LOCAL_BUFFER instead of new/delete. | |
3038 (LS_DO_READ): Allocate local buffer to avoid pointer tricks. | |
3039 (write_doubles, read_doubles, LS_DO_WRITE, LS_DO_READ): | |
3040 Use reinterpret_cast instead of X_CAST. | |
3041 | |
3042 * DiagArray2.h (DiagArray2::Proxy::operator&): No need to cast | |
3043 return value here. | |
3044 | |
5752 | 3045 2006-04-12 Rafael Laboissiere <rafael@debian.org> |
3046 | |
3047 * ArrayN.h (ArrayN::ArrayN): Qualify fill with Array<T> base class. | |
3048 * DiagArray2.h (DiagArray2::DiagArray2): Likewise. | |
3049 | |
5730 | 3050 2006-04-03 David Bateman <dbateman@free.fr> |
3051 | |
5731 | 3052 * Sparse.cc (Sparse<T>::resize): Use xcidx rather than cdix, etc |
3053 to avoid copy of original matrix. | |
3054 | |
5730 | 3055 * Makefile.in (INCLUDES): Add randgamma.h, randpoisson.h and |
3056 randmtzig.h to the list. | |
3057 (LIBOCTAVE_C_SOURCES): Add randgamma.c, randpoisson.c and | |
3058 randmtzig.c to the list. | |
3059 * oct-rand.cc (do_old_initialization): Rename from do_initialization. | |
3060 (use_old_generators): New variable. | |
3061 (old_initialized): Rename from initialized. | |
3062 (new_initialized): New variable. | |
3063 (oct_init_by_entropy): New function. | |
3064 (maybe_initialize): Initialize new or old generator depending on | |
3065 value of use_old_generators. | |
3066 (octave_rand::state): New functions. | |
3067 (octave_rand::distribution): Add gamma, exponential and poisson | |
3068 distributions. | |
3069 (octave_rand::exponential_distribution, | |
3070 octave_rand::poisson_distribution, | |
3071 octave_rand::gamma_distribution): New methods to select | |
3072 exponential, poisson or gamma distribution. | |
3073 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
3074 octave_rand::vector): Add new distributions. | |
3075 * oct-rand.h: Provide decls for new functions. | |
3076 (octave_rand::matrix, octave_rand::scalar, octave_rand:: | |
3077 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
3078 octave_rand::vector): New arg A, for gamma and poisson distributions. | |
3079 * randpoisson.c, randpoisson.h, randgamma.c, randmtzig.c, | |
3080 randmtzig.h: New files. | |
3081 | |
5717 | 3082 2006-03-24 John W. Eaton <jwe@octave.org> |
3083 | |
3084 * dSparse.cc (SparseMatrix::bsolve): Integer work vector is | |
3085 Array<octave_idx_type>, so fortran_vec returns pointer to | |
3086 octave_idx_type, not pointer to int. | |
3087 | |
3088 * CMatrix.cc, CMatrix.h (ComplexMatrix::row (char*), | |
3089 ComplexMatrix::column (char*)): Delete. | |
3090 * dMatrix.cc, dMatrix.h (Matrix::row (char*), | |
3091 Matrix::column (char*)): Delete. | |
3092 | |
5713 | 3093 2006-03-21 David Bateman <dbateman@free.fr> |
3094 | |
3095 * SparseQR.h: Publish externally used friends. | |
3096 * SparseCmplxQR.h: ditto. | |
3097 | |
5700 | 3098 2006-03-21 John W. Eaton <jwe@octave.org> |
3099 | |
3100 * lo-specfun.cc (betainc): Use F77_XFCN instead of F77_FUNC for | |
3101 call to xdbetai. | |
3102 | |
5697 | 3103 2006-03-21 David Bateman <dbateman@free.fr> |
3104 | |
5701 | 3105 * lo-specfun.cc (xlgamma, xgamma): Trap special values. |
3106 (xlgamma): Use F77_XFCN instead of F77_FUNC for call to dlgams. | |
5700 | 3107 |
3108 * dSparse.cc (solve): Add argument singular_fallback, to allow | |
3109 fallback to QR solvers to be optional. | |
3110 * CSparse.cc (solve): Ditto. | |
3111 * dSparse.h (solve): update declaration for new argument. | |
3112 * CSparse.h (solve): Ditto. | |
3113 * sparse-dmsolve.cc (dmsolve): Use singular_fallback argument | |
3114 to bypass QR solvers when solving the well determined part of | |
3115 the problem. | |
5697 | 3116 |
5690 | 3117 2006-03-17 John W. Eaton <jwe@octave.org> |
3118 | |
3119 * str-vec.cc (vector::list_in_columns): New optional arg, width. | |
3120 | |
5681 | 3121 2006-03-16 David Bateman <dbateman@free.fr> |
3122 | |
3123 * CSparse.cc: Change use of nzmax to nnz to allow automatic | |
3124 reduction of matrix size, except for a couple of cases where nzmax | |
3125 is needed. | |
3126 (zpbcon): Correct declaration of lapack zpbcon function. | |
3127 (dsolve, utsolve, ltsolve, trisolve, bsolve, factorize, fsolve): Add | |
3128 an argument to allow the calculation of condition number to be | |
3129 optional. | |
3130 (bsolve): Add code for the calculation of the condition number | |
3131 using zpbcon and zgbcon. | |
3132 (dsolve): Bug fix for rectangular matrices with sparse RHS. | |
3133 (utsolve, ltsolve, trisolve, bsolve, fsolve): Mark matrix type as | |
3134 singular if singularity is detected. | |
3135 (solve): Use optional argument to disable calculation of | |
3136 condition number for all but fsolve, for speed. Add code to | |
3137 allow rectnagular matrices or matrices identified as singular | |
3138 to be treated. | |
3139 (lssolve): delete. | |
3140 (operator *): Don't recast real matrices as complex, but | |
3141 rather use the macro directly on the real data. | |
3142 * dSparse.cc: ditto. | |
3143 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, | |
3144 fsolve, factorize): Update declaration for new argument to | |
3145 calculate the condition number. | |
3146 (lssolve): delete. | |
3147 * dSparse.h: ditto. | |
3148 * Msparse.h: Change use of nxmax to nnz to allow automatic | |
3149 reduction of matrix size, except for a couple of cases where | |
3150 nzmax is needed. | |
3151 * Sparse.cc: Change use of nxmax to nnz to allow automatic | |
3152 reduction of matrix size, except for a couple of cases where | |
3153 nzmax is needed. | |
3154 (Sparse<T>::index (idx_vector&, idx_vector&, int) const): | |
3155 Special case strict permutations for speed. | |
3156 * Sparse-op-defs.h: Change use of nxmax to nnz to allow automatic | |
3157 reduction of matrix size, except for a couple of cases where | |
3158 nzmax is needed. | |
3159 (SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, FULL_SPARSE_MUL): Update | |
3160 macros to allow mixed complex/real arguments. | |
3161 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): New macro for C99 zero | |
3162 value. | |
3163 (qrsolve): Use it to zero temporary buffers used bt CXSPARSE. | |
3164 * SparseType.cc (SparseType::SparseType ()): Correct detection | |
3165 of permutated triangular matrices to avoid seg-faults. Disable | |
3166 detection of underdetermined lower and over-determined upper | |
3167 matrix due to problems with non minimum norm solutions. | |
3168 * sparse-dmsolve.cc: New file for Dulmage-Mendelsohn solver. | |
3169 * Makefile.in: add sparse-dmsolve.cc to targets. | |
3170 | |
5675 | 3171 2006-03-15 William Poetra Yoga Hadisoeseno <williampoetra@gmail.com> |
3172 | |
3173 * oct-time.cc (octave_strptime::init): Return useful character count. | |
3174 | |
5648 | 3175 2006-03-08 David Bateman <dbateman@free.fr> |
3176 | |
3177 * SparseCmplxQR.cc: Updates for new upstream CXSPARSE release. Fix for | |
3178 g++ 4.x stl_vector.h issue with C99 double _Complex type. | |
3179 * SparseCmplxQR.h: Updates for new upstream CXSPARSE release. | |
3180 * SparseQR.cc: ditto. | |
3181 * SparseQR.h: ditto. | |
3182 * oct-sparse.h: ditto. | |
3183 * sparse-base-chol.cc (sparse_base_chol<>::sparse_base_chol_rep::init): | |
3184 Declare info variable as volatile. | |
3185 | |
3186 * Sparse.cc (Sparse<T>::transpose (void) const): Accelerate algorithm. | |
3187 * CSparse.cc (SparseComplexMatrix::transpose (void) const): ditto. | |
3188 | |
5634 | 3189 2006-03-01 John W. Eaton <jwe@octave.org> |
3190 | |
3191 * CMatrix.cc (ComplexMatrix::determinant): | |
3192 Scale result by factors of 2, not 10. | |
3193 * dMatrix.cc (Matrix::determinant): Likewise. | |
3194 | |
3195 * dbleDET.h (DET::DET): Use initializer list. | |
3196 (DET::coefficient2, DET::coefficient10, DET::exponent2, | |
3197 DET::exponent10): New functions. | |
3198 (DET::det): Delete. | |
3199 (DET::c2, DET::c10, DET::e2, DET::e10, DET::base2): New data members. | |
3200 Store value internally with double and int instead of 2-element | |
3201 double vector. | |
3202 (DET::initialize2, DET::initialize10): Provide decls. | |
3203 * dbleDET.cc (DET::value_will_overflow, DET::value_will_underflow): | |
3204 Return bool value, not int. | |
3205 (DET::initialize2, DET::initialize10): New functions. | |
3206 | |
3207 * CmplxDET.h (ComplexDET::ComplexDET): Use initializer list. | |
3208 (ComplexDET::coefficient2, ComplexDET::coefficient10, | |
3209 ComplexDET::exponent2, ComplexDET::exponent10): New functions. | |
3210 (ComplexDET::det): Delete. | |
3211 (ComplexDET::c2, ComplexDET::c10, ComplexDET::e2, ComplexDET::e10, | |
3212 ComplexDET::base2): New data members. | |
3213 Store value internally with Complex and int instead of 2-element | |
3214 Complex vector. | |
3215 (ComplexDET::initialize2, ComplexDET::initialize10): Provide decls. | |
3216 * dbleComplexDET.cc (ComplexDET::value_will_overflow, | |
3217 ComplexDET::value_will_underflow): Return bool value, not int. | |
3218 (ComplexDET::initialize2, ComplexDET::initialize10): New functions. | |
3219 | |
5632 | 3220 2006-02-24 John W. Eaton <jwe@octave.org> |
3221 | |
3222 * Array.cc (assignN): Clear index before reshaping. | |
3223 | |
3224 * Array.h (Array<T>::operator =): Don't set idx to 0 if copying self. | |
3225 | |
5630 | 3226 2006-02-20 David Bateman <dbateman@free.fr> |
3227 | |
3228 * dSparse.cc (dsolve, utsolve, ltsolve): Remove restriction that | |
3229 matrix must be square in diagonal, permuted diagonal, triangular | |
3230 and permuted triangular back/forward substitution code. Change | |
3231 ambiguous use of no. rows and columns. | |
3232 * CSParse.cc (dsolve, utsolve, ltsolve): ditto. | |
3233 * SparseType.cc (SparseType::SparseType(const SparseMatrix&), | |
3234 SparseType::SparseType(const SparseComplexMatrix&)): Recognize | |
3235 rectangular diagonal, permuted diagonal, triangular and permuted | |
3236 triangular matrices. | |
3237 * Sparse.cc (Sparse<T>::Sparse (octave_idx_type, octave_idx_type, T)): | |
3238 Treat case where third argument is zero. | |
3239 | |
5621 | 3240 2006-02-15 John W. Eaton <jwe@octave.org> |
3241 | |
5622 | 3242 * kpse.cc: Do define ST_NLINK_TRICK for Cygwin systems. |
3243 (do_subdir) [ST_NLINK_TRICK]: Check links != 2 instead of links > 2. | |
3244 | |
5621 | 3245 * getopt.c: Use __CYGWIN__ instead of __CYGWIN32__. |
3246 | |
5619 | 3247 2006-02-13 David Bateman <dbateman@free.fr> |
3248 | |
3249 * Makefile.in (LINK_DEPS): Add missing dependencies on colamd, | |
3250 ccolamd and cxsparse | |
3251 | |
5617 | 3252 2006-02-13 John W. Eaton <jwe@octave.org> |
3253 | |
5618 | 3254 * kpse.cc (kpse_path_iterator::next): Reverse order of tests in |
3255 while loop condition. | |
3256 (kpse_path_iterator::operator =): Declare as private function but | |
3257 don't define to prevent attempts to use assignment operator. | |
3258 Don't define ST_NLINK_TRICK for Cygwin systems. | |
5617 | 3259 |
5615 | 3260 2006-02-10 John W. Eaton <jwe@octave.org> |
3261 | |
3262 * mx-inlines.cc (MX_ND_REDUCTION): Store in cummulative | |
3263 product of all dimensions in CP_SZ. | |
3264 | |
5611 | 3265 2006-02-09 John W. Eaton <jwe@octave.org> |
3266 | |
3267 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Store in cummulative | |
5615 | 3268 product of all dimensions in CP_SZ. |
5611 | 3269 |
5610 | 3270 2006-02-09 David Bateman <dbateman@free.fr> |
3271 | |
3272 * SparseQR.cc: new file for real sparse QR class. | |
3273 * SparseQR.h: declaration. | |
3274 * SparseCmplxQR.cc: new file for complex sparse QR class. | |
3275 * SparseCmplxQR.h: declaration. | |
3276 * dSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
3277 (factorize, fsolve): Enable code code lssolve. | |
3278 (lssolve): disable unused args, write based in above sparse QR class. | |
3279 * CSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
3280 (factorize, fsolve): Enable code code lssolve. | |
3281 (lssolve): disable unused args, write based in above sparse QR class. | |
3282 * oct-sparse.h: fix location of colamd, ccolamd and metis headers. | |
3283 Include CXSparse headers. | |
3284 * Makefile.in (MATRIX_INC): Include SparseQR.h and SparseCmplxQR.h. | |
3285 (MATRIX_SRC): Include SparseQR.cc and SparseCmplxQR.cc. | |
3286 | |
5607 | 3287 2006-02-08 John W. Eaton <jwe@octave.org> |
3288 | |
3289 * Array-util.h (calc_permutated_idx): Delete. | |
3290 * Array.cc (permute_vector): New data structure. | |
3291 (permute_vector_compare): New function. | |
3292 (Array<T>::permute): Rewrite to avoid calc_permutated_index for | |
3293 improved performance. | |
3294 | |
5606 | 3295 2006-02-04 David Bateman <dbateman@free.fr> |
3296 | |
3297 * COLAMD: Remove all files, as now unused. | |
3298 | |
5604 | 3299 2006-01-31 John W. Eaton <jwe@octave.org> |
3300 | |
3301 * Sparse.h (Sparse<T>::nzmax): New function. | |
3302 (Sparse<T>::nnz): Rename from nonzero. | |
3303 Change all uses of old nnz function to be nzmax. Change all uses | |
3304 of nonzero to be nnz. | |
3305 (Sparse<T>::nzmx): Rename from nnz (data member). Change all uses. | |
3306 | |
5603 | 3307 2006-01-21 David Bateman <dbateman@free.fr> |
3308 | |
3309 * sparse-sort.cc (bool octave_sparse_sidxl_comp): 64-bit fix. | |
3310 (bool octave_idx_vector_comp): New function. | |
3311 (template class octave_sort<octave_idx_vector_sort *>): Instantiate | |
3312 indexed idx_vector sorting function. | |
3313 * sparse-sort.h (class octave_sparse_sort_idxl): 64-bit fix. | |
3314 (class octave_idx_vector_sort): New class for indexed idx_vector | |
3315 sorting. | |
3316 (bool octave_idx_vector_comp): Declaration. | |
3317 * Sparse.cc (int assign1(Sparse<LT>&, Sparse<RT>&)): Treat cases of | |
3318 unordered LHS indexes in assignment using new octave_idx_vector_sort | |
3319 class. | |
3320 (int assign(Sparse<LT>&, Sparse<RT>&)): ditto. | |
3321 | |
5602 | 3322 2006-01-30 John W. Eaton <jwe@octave.org> |
3323 | |
3324 * so-array.h (streamoff_array::nnz): New funtion. | |
3325 * boolNDArray.h (boolNDArray::nnz): New function. | |
3326 * MArrayN.h (MArrayN<T>::nnz): New function. | |
3327 * MArray.h (MArray<T>::nnz): New function. | |
3328 | |
5587 | 3329 2006-01-04 David Bateman <dbateman@free.fr> |
3330 | |
3331 * Spars-op-defs.h (SPARSE_SPARSE_MUL): Previous change resulted in | |
3332 elements not being sorted in return matrix. Sort them, and make | |
3333 solver select between two algorithms to further improve the | |
3334 performance. | |
3335 * dSparse.cc: include oct-sort.h. | |
3336 * CSparse.cc: ditto. | |
3337 * sparse-sort.cc: Instantiate octave_sort<octave_idx_type>. | |
3338 | |
5586 | 3339 2005-12-28 David Bateman <dbateman@free.fr> |
3340 | |
5587 | 3341 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Improved algorithm that is |
3342 faster in all cases, and significantly so for low density or small | |
3343 order problems. | |
5586 | 3344 |
5552 | 3345 2005-11-30 John W. Eaton <jwe@octave.org> |
3346 | |
3347 * LSODE.cc (LSODE::do_integrate (double)): Resize iwork and rwork | |
3348 before setting any values in either array. | |
3349 | |
5547 | 3350 2005-11-29 John W. Eaton <jwe@octave.org> |
3351 | |
3352 * oct-uname.h, oct-uname.cc: New files. | |
3353 * Makefile.in: Add them to the appropriate lists. | |
3354 | |
5535 | 3355 2005-11-11 John W. Eaton <jwe@octave.org> |
3356 | |
3357 * Array.cc (Array<T>::indexN): Simplify. | |
3358 | |
5533 | 3359 2005-11-09 John W. Eaton <jwe@octave.org> |
3360 | |
3361 * oct-inttypes.h (octave_int::operator char (void) const): | |
3362 New conversion op. | |
3363 | |
5527 | 3364 2005-11-01 John W. Eaton <jwe@octave.org> |
3365 | |
3366 * Makefile.in (distclean): Also remove oct-types.h. | |
3367 From Quentin Spencer <qspencer@ieee.org>. | |
3368 | |
5526 | 3369 2005-10-31 David Bateman <dbateman@free.fr> |
3370 | |
3371 * dSparse.cc, CSparse.cc: Use C++ true/false instead of | |
3372 preprocessor defined TRUE/FALSE. | |
3373 | |
5523 | 3374 2005-10-30 John W. Eaton <jwe@octave.org> |
3375 | |
3376 * mx-inlines.cc (MX_ND_REDUCTION): Iterate in direction of DIM. | |
3377 (MX_ND_CUMULATIVE_OP): Likewise. | |
3378 | |
5519 | 3379 2005-10-29 John W. Eaton <jwe@octave.org> |
3380 | |
5520 | 3381 * mx-inlines.cc (MX_ND_REDUCTION): Avoid increment_index to speed |
3382 things up. Simplify. | |
3383 | |
5519 | 3384 * Array.cc (Array<T>::indexN): Simplify. Delete separate special |
3385 case for "vector_equivalent". | |
3386 | |
3387 * Array-util.cc (vector_equivalent): Arg is now dim_vector. | |
3388 | |
5518 | 3389 2005-10-28 John W. Eaton <jwe@octave.org> |
3390 | |
3391 * oct-sparse.h: Fix typo in HAVE_UFSPARSE_UMFPACK_H. | |
3392 From Quentin Spencer <qspencer@ieee.org>. | |
3393 | |
3394 * sparse-base-chol.cc: Use C++ true/false instead of | |
3395 preprocessor defined TRUE/FALSE. Use 0 instead of NULL. | |
3396 | |
5516 | 3397 2005-10-27 John W. Eaton <jwe@octave.org> |
3398 | |
3399 * Array.cc (assignN): Reshape to final size instead of resizing. | |
3400 | |
5512 | 3401 2005-10-26 John W. Eaton <jwe@octave.org> |
3402 | |
3403 * oct-sparse.h: New file. | |
3404 * oct-sparse.h.in: Delete. | |
3405 | |
5511 | 3406 2005-10-26 David Bateman <dbateman@free.fr> |
3407 | |
3408 * sparse-base-chol.h: Include cholmod specific code in HAVE_CHOLMOD | |
3409 * sparse-base-chol.cc: ditto. | |
3410 | |
5508 | 3411 2005-10-26 John W. Eaton <jwe@octave.org> |
3412 | |
3413 Changes for GCC 4.1, tip from Arno J. Klaassen | |
3414 <arno@heho.snv.jussieu.fr>: | |
3415 | |
5509 | 3416 * dSparse.h (real (const SparseComplexMatrix&)): |
3417 Publish externally used friend function. | |
3418 (imag (const SparseComplexMatrix&)): Likewise. | |
3419 | |
5508 | 3420 * dColVector.h (real (const ComplexColumnVector&)): |
3421 Publish externally used friend function. | |
3422 (imag (const ComplexColumnVector&)): Likewise. | |
3423 | |
3424 * dNDArray.h (real (const ComplexNDArray&)): | |
3425 Publish externally used friend function. | |
3426 (imag (const ComplexNDArray&)): Likewise. | |
3427 | |
3428 * dMatrix.h (operator * (const ComplexMatrix&)): | |
3429 Move decl outside class. No need to be friend. | |
3430 (real (const ComplexMatrix&)): Publish externally used friend function. | |
3431 (imag (const ComplexMatrix&)): Likewise. | |
3432 | |
3433 * CMatrix.h: (operator * (const ColumnVector&, const | |
3434 ComplexRowVector&)): Move decl outside class. No need to be friend. | |
3435 (operator * (const ComplexColumnVector&, const RowVector&)): Likewise. | |
3436 (operator * (const ComplexColumnVector&, const ComplexRowVector& b)): | |
3437 Likewise. | |
3438 | |
5506 | 3439 2005-10-23 David Bateman <dbateman@free.fr> |
3440 | |
3441 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Check whether trailing zero | |
3442 elements need to be removed. | |
3443 | |
3444 * oct-sparse.h.in: Include metis headers and some macros for long/int | |
3445 versions of cholmod. | |
3446 | |
3447 * CSparse.cc (tinverse): New private function for the inversion of | |
3448 an upper triangular matrix. | |
3449 (dinverse): ditto for diagonal matrices. | |
3450 (inverse): Add SparseType as an argument. Implement matrix inverse | |
3451 using tinverse and dinverse. | |
3452 (fsolve): Use cholmod to implement Cholesky solver. | |
3453 * CSparse.h (tinverse, dinverse): Declarations | |
3454 (inverse): Alter declaration to include SparseType. | |
3455 | |
3456 * dSparse.cc (tinverse, dinverse, inverse, fsolve): ditto. | |
3457 * dSparse.h (tinverse, dinverse, inverse): ditto. | |
3458 | |
3459 * SparseType.cc: Fix complex constructor for hermitian matrices. | |
3460 | |
3461 * sparse-util.cc: New file for sparse utility functions. | |
3462 * sparse-util.h: New file with declarations of sparse utility | |
3463 functions. | |
3464 | |
3465 * sparse-base-chol.cc: New file with sparse cholesky class based | |
3466 on cholmod. | |
3467 * sparse-base-chol.h: New file with declaration of sparse cholesky | |
3468 class based on cholmod. | |
3469 | |
3470 * SparseCmplxCHOL.cc: Instantiate sparse cholesky class for Complex. | |
3471 * SparseCmplxCHOL.h: Declaration of sparse cholesky class. | |
3472 | |
3473 * SparsedbleCHOL.cc: ditto. | |
3474 * SparsedbleCHOL.h: ditto. | |
3475 | |
3476 * Makefile.in (MATRIX_INC): Include sparse-base-chol.h. | |
3477 (INCLUDES): Include sparse-util.h | |
3478 (TEMPLATE_SRC): Include sparse-base-chol.cc | |
3479 (MATRIX_SRC): Include SparseCmplxCHOL.cc and SparsedbleCHOL.cc | |
3480 | |
5489 | 3481 2005-10-12 John W. Eaton <jwe@octave.org> |
3482 | |
3483 * oct-env.cc (octave_env::have_x11_display): New function. | |
3484 * oct-env.h: Provide decl. | |
3485 | |
5476 | 3486 2005-09-29 John W. Eaton <jwe@octave.org> |
3487 | |
3488 * file-stat.h (file_stat::mode): New function. | |
3489 | |
3490 * file-stat.cc (file_stat::is_blk, file_stat::is_chr, | |
3491 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
3492 file_stat::is_reg, file_stat::is_sock): New static functions. | |
3493 * file-stat.h: Provide decls. | |
3494 | |
3495 2005-09-28 John W. Eaton <jwe@octave.org> | |
3496 | |
3497 * file-ops.cc (file_ops::recursive_rmdir): New function. | |
3498 * file-ops.h: Provide decl. | |
3499 | |
5454 | 3500 2005-09-19 David Bateman <dbateman@free.fr> |
3501 | |
3502 * oct-env.cc (octave_env::do_get_home_directory): | |
3503 Also check HOMEDRIVE under mingw. | |
3504 | |
5455 | 3505 * Makefile.in (LINK_DEPS): Include UFsparse libraries. |
3506 | |
5453 | 3507 2005-09-16 John W. Eaton <jwe@octave.org> |
3508 | |
3509 * oct-syscalls.cc: Include lo-utils.h here. | |
3510 (octave_syscalls::waitpid): Call octave_waitpid here. | |
3511 | |
3512 * lo-cutils.c (octave_waitpid): New function. | |
3513 * lo-utils.h: Provide decl. Include syswait.h here, not in | |
3514 oct-syscalls.cc | |
3515 | |
3516 | |
3517 * syswait.h [__MINGW32__]: Define WAITPID here instead of defining | |
3518 waitpid in src/sysdep.h. Make this header C-compatible. | |
3519 | |
3520 * oct-syscalls.cc (octave_syscalls::waitpid): New arg, status. | |
3521 Change all uses. | |
3522 | |
5451 | 3523 2005-09-15 John W. Eaton <jwe@octave.org> |
3524 | |
3525 * Makefile.in (MAKEDEPS_2): Omit unnecessary variable. | |
3526 | |
3527 * oct-sparse.h.in: New file. | |
3528 * Makefile.in (DISTFILES): Include it in the list. | |
3529 (INCLUDES): Add oct-sparse.h to the list. | |
3530 | |
3531 2005-09-15 David Bateman <dbateman@free.fr> | |
3532 | |
3533 * dSparse.cc : Include oct-sparse.h for probed umfpack, colamd etc | |
3534 headers. Remove include of umfpack.h. | |
3535 * CSparse.cc : ditto. | |
3536 * SparsedbleLU.cc : ditto. | |
3537 * SparseCmplxLU.cc : ditto. | |
3538 | |
3539 * COLAMD : Remove colamd files from octave. | |
3540 * COLAMD.files : delete. | |
3541 * COLAMD.README : delete. | |
3542 * Makefile.in: Remove COLAMD. Add LIBGLOB. | |
3543 (LN_S): Change to DESTDIR before LN_S to avoid lack of symlinks | |
3544 under mingw. | |
3545 | |
3546 * kpse.cc (ENV_SEP, ENV_SEP_STRING): Use SEPCHAR and SEPCHAR_STR | |
3547 in definition. | |
3548 * lo-cutils.c (octave_w32_library_search): Call GetProcAddress with | |
3549 change of cast not allowed under g++ 3.x. | |
3550 * lo-utils.h (octave_w32_library_search): Declaration. | |
3551 * oct-env.cc (do_get_home_directory): Also check HOMEPATH under mingw. | |
3552 * oct-shlib.cc (octave_w32_shlib::search): Use octave_w32_library_search. | |
3553 | |
5442 | 3554 2005-09-07 John W. Eaton <jwe@octave.org> |
3555 | |
3556 * cmd-edit.cc (command_editor::do_decode_prompt_string): Update | |
3557 based on current code in Bash. Handle a few more escape | |
3558 sequences. Do a better job of decoding \W. | |
3559 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3560 2005-09-04 David Bateman <dbateman@free.fr> |
5438 | 3561 |
3562 * COLAMD: Update version of colamd to v2.4. | |
3563 * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of | |
3564 colamd.c for long version. | |
3565 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3566 2005-08-25 David Bateman <dbateman@free.fr> |
5429 | 3567 |
3568 * Sparse-op-defs.h (FULL_SPARSE_MUL, SPARSE_FULL_MUL): Macro for | |
3569 mixed sparse/full multiply. | |
3570 * dSparse.cc (operator *), CSparse.cc (operator *): New operators for | |
3571 mixed sparse/full multiply. | |
3572 * dSparse.h (operator *), CSparse.h (operator *): Declaration of | |
3573 mixed sparse/full multiply operators. | |
3574 | |
5420 | 3575 2005-07-25 Erik de Castro Lopo <erikd@zip.com.au> |
3576 | |
3577 * oct-inttypes.h (OCTAVE_S_US_FTR): Compare <= 0 instead of < 0 to | |
3578 avoid warnings for unsigned types. | |
3579 | |
5404 | 3580 2005-07-07 John W. Eaton <jwe@octave.org> |
3581 | |
3582 * dSparse.cc (SparseMatrix::factorize): Initialize Numeric to 0. | |
3583 * CSparse.cc (SparseComplexMatrix::factorize:) Likewise. | |
3584 | |
5392 | 3585 2005-06-15 John W. Eaton <jwe@octave.org> |
3586 | |
5394 | 3587 * oct-rl-edit.c (flush_stdout): Rename from no_redisplay. |
3588 Flush stdout here. | |
3589 (octave_rl_clear_screen): Set rl_redisplay_function to flush_stdout. | |
3590 | |
5392 | 3591 * Array.h (Array::resize): Change int args to octave_idx_type. |
3592 | |
5386 | 3593 2005-06-14 John W. Eaton <jwe@octave.org> |
3594 | |
5389 | 3595 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
3596 dSparse.cc, lo-cieee.c, lo-mappers.cc: Change all uses of | |
3597 octave_is_NaN_or_NA to xisnan. | |
3598 | |
3599 * lo-mappers.h (octave_is_NaN_or_NA): Mark with GCC_ATTR_DEPRECATED. | |
3600 * lo-ieee.h (lo_ieee_is_NaN_or_NA): Likewise. | |
3601 | |
3602 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Now just a wrapper for | |
3603 lo_ieee_isnan. | |
3604 | |
5387 | 3605 * dMatrix.cc (Matrix::too_large_for_float): Only check if abs |
3606 value is greater than FLT_MAX. | |
3607 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
3608 * dNDArray.cc (NDArray::too_large_for_float): Ditto. | |
3609 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
3610 | |
3611 * dMatrix.cc (Matrix::too_large_for_float): Special case Inf | |
3612 values too. | |
3613 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
3614 | |
3615 * dNDArray.cc (NDArray::too_large_for_float): Likewise for NaN, | |
3616 NA, Inf values. | |
3617 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
5386 | 3618 |
5385 | 3619 2005-06-14 David Bateman <dbateman@free.fr> |
3620 | |
5387 | 3621 * dMatrix.cc (Matrix::too_large_for_float): Special case NaN and |
3622 NA values. | |
3623 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
5385 | 3624 |
5379 | 3625 2005-06-02 John W. Eaton <jwe@octave.org> |
3626 | |
3627 * Array.cc (assignN): Try harder to correctly resize previously | |
3628 empty LHS. | |
3629 | |
5351 | 3630 2005-05-16 David Bateman <dbateman@free.fr> |
3631 | |
3632 * dSparse.h: Change UMFPACK_LONG_IDX to IDX_TYPE_LONG. | |
3633 * CSparse.h: ditto. | |
3634 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3635 2005-05-10 David Bateman <dbateman@free.fr> |
5346 | 3636 |
3637 * dSparse.cc (determinant): Free numeric factorization after | |
3638 sucessful calculation. | |
3639 * CSparse.cc (determinant): ditto. | |
3640 | |
5340 | 3641 2005-05-06 John W. Eaton <jwe@octave.org> |
3642 | |
3643 * dbleCHOL.cc (CHOL::init): Use xelem instead of elem for indexing | |
3644 chol_mat. | |
3645 (chol2mat_internal, chol2mat, CHOL::inverse): New functions. | |
3646 * dbleCHOL.h (chol2mat_internal, chol2mat, CHOL::inverse): | |
3647 Provide decls. | |
3648 | |
3649 * CmplxChol.cc (ComplexCHOL::init): Use xelem instead of elem for | |
3650 indexing chol_mat. | |
3651 (chol2mat_internal, chol2mat, ComplexCHOL::inverse): New functions. | |
3652 * CmplxCHOL.h (chol2mat_internal, chol2mat, CmplxCHOL::inverse): | |
3653 Provide decls. | |
3654 | |
5338 | 3655 2005-05-05 John W. Eaton <jwe@octave.org> |
3656 | |
3657 * Array.cc (Array<T>::permute): Call chop_trailing_singletons on | |
3658 retval before return. | |
3659 | |
5336 | 3660 2005-05-04 John W. Eaton <jwe@octave.org> |
3661 | |
3662 * cmd-edit.cc (gnu_readline::do_readline): Extract const char* | |
3663 from prompt outside of INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE block. | |
3664 | |
5330 | 3665 2005-05-02 John W. Eaton <jwe@octave.org> |
3666 | |
3667 * Makefile.in (LINK_DEPS): List $(UMFPACK_LIBS) ahead of $(BLAS_LIBS). | |
3668 From Dmitri A. Sergatskov <dasergatskov@gmail.com>. | |
3669 | |
5322 | 3670 2005-04-29 David Bateman <dbateman@free.fr> |
3671 | |
5330 | 3672 * dSparse.cc (trisolve): Diagonal passed to lapack zptsv is type |
3673 double. Correct indexing for upper diagonal elements for sparse | |
3674 tridiagonal. | |
5322 | 3675 * CSparse.cc (trisolve): ditto. |
3676 | |
5330 | 3677 * CSparse.h (UMFPACK_ZNAME): Define macro to pick version of |
3678 UMFPACK for 64-bit. | |
5322 | 3679 * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with |
3680 UMFPACK_ZNAME(*). | |
3681 * SparseCmplxLU.cc (UMFPACK_ZNAME): ditto | |
3682 | |
5330 | 3683 * dSparse.h (UMFPACK_DNAME): Define macro to pick version of |
3684 UMFPACK for 64-bit. | |
5322 | 3685 * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with |
3686 UMFPACK_DNAME(*). | |
3687 * SparsedbleLU.cc (UMFPACK_DNAME): ditto | |
3688 | |
5330 | 3689 * dSparse.cc (ltsolve, utsolve): Correct permuted upper/lower |
3690 triangular back/forward substitution code. | |
5322 | 3691 * CSparse.cc (ltsolve, utsolve): ditto. |
3692 | |
5330 | 3693 * dSparse.cc (solve): Use mattype.type (false) to force messaging |
3694 from spparms("spumoni",1). | |
5322 | 3695 * CSparse.cc (solve): ditto |
3696 | |
5330 | 3697 * SparseType.cc (SparseType(void)): Print info for |
3698 spparms("spumoni",1). | |
5322 | 3699 (SparseType(const matrix_type), SparseType(const matrix_type, const |
3700 octave_idx_type, const octave_idx_type*), SparseType(const matrix_type, | |
3701 const octave_idx_type, const octave_idx_type)): New constructors. | |
3702 (SparseType (const SparseMatrix&), SparseType (SparseComplexMatrix&)): | |
5330 | 3703 Detect row permuted lower triangular and column permuted upper |
3704 triangular matrices. Remove one of the permutation vectors.. | |
5322 | 3705 |
3706 * SparseType.h: Simplify the permutation code. | |
3707 (SparseType(const matrix_type), SparseType | |
3708 (const matrix_type, const octave_idx_type, const octave_idx_type*), | |
3709 SparseType(const matrix_type, const octave_idx_type, | |
3710 const octave_idx_type)): Declarations. | |
3711 | |
5304 | 3712 2005-04-25 John W. Eaton <jwe@octave.org> |
3713 | |
3714 * str-vec.cc (string_vector::delete_c_str_vec): Correctly free | |
3715 array and its contents. | |
3716 | |
5303 | 3717 2005-04-22 John W. Eaton <jwe@octave.org> |
3718 | |
3719 * oct-rl-edit.c (octave_rl_set_terminal_name): Don't cast away | |
3720 const here now that rl_terminal_name is declared const char*. | |
3721 | |
5294 | 3722 2005-04-21 John W. Eaton <jwe@octave.org> |
3723 | |
3724 * Makefile.in (DISTFILES): Include oct-types.h.in in the list. | |
3725 | |
5285 | 3726 2005-04-19 John W. Eaton <jwe@octave.org> |
3727 | |
3728 * Array.cc (assignN): Don't crash if the index list is empty. | |
3729 | |
5282 | 3730 2005-04-14 David Bateman <dbateman@free.fr> |
3731 | |
3732 * SparseCmplxLU.cc: Add flags for incomplete factorization. | |
3733 * SparsedbleLU.cc: Ditto. | |
3734 * SparseCmplxLU.h: Definition. | |
3735 * SparsedbleLU.h: ditto. | |
3736 | |
3737 * SparseType.cc (transpose): New function. | |
3738 * SparseType.h (transpose): Definition. | |
3739 | |
5278 | 3740 2005-04-11 John W. Eaton <jwe@octave.org> |
3741 | |
3742 * lo-specfun.cc: Use F77_XFCN instead of F77_FUNC for calls to | |
3743 fortran code that could end up calling XSTOPX. | |
3744 | |
5277 | 3745 2005-04-10 David Bateman <dbateman@free.fr> |
3746 | |
3747 * Makefile.in: include oct-types in INCLUDES so that it is | |
3748 installed | |
3749 | |
5275 | 3750 2005-04-08 John W. Eaton <jwe@octave.org> |
3751 | |
5276 | 3752 * Makefile.in (clean): Use exact filenames instead of *.xxx. |
3753 | |
5275 | 3754 * Initial merge of 64-bit changes from Clinton Chee: |
3755 | |
3756 2005-04-07 John W. Eaton <jwe@octave.org> | |
3757 | |
3758 * MArray-i.cc, Array-i.cc: Instantiate Array<long> and MArray<long>. | |
3759 | |
3760 * CSparse.cc, CSparse.h, MSparse.cc, MSparse.h, Sparse-op-defs.h, | |
3761 Sparse.cc, Sparse.h, SparseCmplxLU.cc, SparseType.cc, | |
3762 SparseType.h, SparsedbleLU.cc, boolSparse.cc, boolSparse.h, | |
3763 dSparse.cc, dSparse.h, sparse-base-lu.cc: | |
3764 Use octave_idx_type instead of int where needed. | |
3765 | |
3766 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
3767 | |
3768 * Array-util.cc, Array-util.h, Array.cc,Array.h, Array2.h, | |
3769 Array3.h, ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
3770 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
3771 CMatrix.h, CNDArray.cc, CNDArray.h, CRowVector.cc, CRowVector.h, | |
3772 CmplxAEPBAL.cc, CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, | |
3773 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
3774 CmplxSCHUR.cc, CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, | |
3775 CollocWt.h, DAEFunc.h, DASPK-opts.in,DASPK.cc,DASPK.h, | |
3776 DASRT-opts.in, DASRT.cc, DASRT.h, DASSL-opts.in, DASSL.cc, | |
3777 DASSL.h, DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, | |
3778 FEGrid.h, LPsolve.cc, LPsolve.h, LSODE-opts.in, LSODE.cc, LSODE.h, | |
3779 MArray-defs.h, MArray.cc, MArray.h, MArray2.cc, MArray2.h, | |
3780 MArrayN.cc, MDiagArray2.cc, MDiagArray2.h, NLConst.h, NLEqn.cc, | |
3781 NLEqn.h, Quad.cc, Quad.h, Range.cc,Range.cc, Range.h, base-de.h, | |
3782 base-lu.cc, base-lu.h, base-min.h, boolMatrix.cc, boolMatrix.h, | |
3783 boolNDArray.cc, boolNDArray.h, chMatrix.cc, chMatrix.h, | |
3784 chNDArray.cc, chNDArray.h, dColVector.cc, dColVector.h, | |
3785 dDiagMatrix.cc, dDiagMatrix.h, dMatrix.cc, dMatrix.h, | |
3786 dNDArray.cc,dNDArray.cc, dNDArray.h, dRowVector.cc, dRowVector.h, | |
3787 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleHESS.cc, | |
3788 dbleHESS.h, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
3789 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, dim-vector.h, idx-vector.cc, | |
3790 idx-vector.h, intNDArray.cc, intNDArray.h, lo-specfun.cc, | |
3791 lo-specfun.h, mach-info.cc, mx-inlines.cc, oct-fftw.cc, | |
3792 oct-fftw.h, oct-rand.cc, oct-rand.h, so-array.cc, so-array.h, | |
3793 str-vec.cc, str-vec.h: | |
3794 Use octave_idx_type instead of int where needed. | |
3795 | |
3796 2005-04-01 John W. Eaton <jwe@octave.org> | |
3797 | |
3798 * dim-vector.h, lo-utils.h: Include oct-types.h. | |
3799 | |
3800 * oct-types.h.in: New file. | |
3801 | |
3802 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
3803 | |
3804 * lo-utils.cc (NINTbig): New function. | |
3805 * lo-utils.h: Provide decl. | |
3806 | |
5269 | 3807 2005-04-06 David Bateman <dbateman@free.fr> |
3808 | |
3809 * Makefile.in: Link to UMFPACK_LIBS. | |
3810 | |
5265 | 3811 2005-04-05 John W. Eaton <jwe@octave.org> |
3812 | |
3813 * Array.cc (assignN): Avoid shadowed declaration in previous change. | |
3814 | |
5264 | 3815 2005-04-01 John W. Eaton <jwe@octave.org> |
3816 | |
3817 * Array.cc (assignN): For A(IDX-LIST) = RHS with A previously | |
3818 undefined, correctly match colons in IDX-LIST with RHS dimensions | |
3819 when resizing A. When performing the assignment, just check that | |
3820 the number of elements in RHS matches the number of elements | |
3821 indexed by IDX-LIST. | |
3822 | |
5260 | 3823 2005-03-30 John W. Eaton <jwe@octave.org> |
3824 | |
5261 | 3825 * lo-mappers.cc (log10, tan, tanh): Delete functions. |
3826 * lo-mappers.h (log10, tan, tanh): Delete decls. | |
3827 | |
3828 * CColVector.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, | |
3829 dSparse.cc: Use std:: for Complex functions instead of relying on | |
3830 wrappers from oct-cmplx.h. | |
5260 | 3831 |
3832 * oct-cmplx.h: Provide typedef only. | |
3833 | |
3834 * DiagArray2.cc (xelem): Don't use initializer for static data. | |
3835 * DiagArray2.h (DiagArray<T>::Proxy::operator T ()): | |
3836 Likewise. | |
3837 | |
5247 | 3838 2005-03-26 John W. Eaton <jwe@octave.org> |
3839 | |
3840 * cmd-edit.cc (do_readline): Wrap call to ::octave_rl_readline | |
3841 with {BEGIN,END}_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE. | |
3842 | |
5209 | 3843 2005-03-15 John W. Eaton <jwe@octave.org> |
3844 | |
3845 * Makefile.in (MATRIX_INC): Remove oct-spparms.h from the list. | |
3846 | |
5203 | 3847 2005-03-14 John W. Eaton <jwe@octave.org> |
3848 | |
3849 * Makefile.in (DISTFILES): Don't include $(UMFPACK_EXTRAS). | |
3850 (DISTDIRS): Don't include UMFPACK. | |
3851 (LIBOCTAVE_OBJECTS): Don't include $(UMFPACK_OBJ). | |
3852 (UMFPACK_SPECIAL_1, UMFPACK_SPECIAL): No need for special include | |
3853 flags for these files. | |
3854 Don't include include $(srcdir)/UMFPACK.files. | |
3855 Don't include include $(srcdir)/UMFPACK.rules. | |
3856 | |
3857 * UMFPACK.README, UMFPACK.files, UMFPACK.patch, UMFPACK.rules: | |
3858 Delete files. | |
3859 * UMFPACK: Delete directory tree. | |
3860 | |
3861 * dSparse.cc: Include <umfpack/umfpack.h> instead of just "umfpack.h". | |
3862 * CSparse.cc: Likewise. | |
3863 * SparsedbleLU.cc: Likewise. | |
3864 * SparseCmplxLU.cc: Likewise. | |
3865 | |
3866 2005-03-14 David Bateman <dbateman@free.org> | |
3867 | |
3868 * CSParse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc: | |
3869 Allow compilation to succeed if UMFPACK is not available. | |
3870 | |
5196 | 3871 2005-03-09 John W. Eaton <jwe@octave.org> |
3872 | |
3873 * Makefile.in (bin-dist): Delete target. | |
3874 (BINDISTLIBS, BINDISTFILES): Delete variables. | |
3875 | |
5173 | 3876 2005-03-01 John W. Eaton <jwe@octave.org> |
3877 | |
3878 * ODESSA.h, ODESSA.cc, ODESSA-opts.in: Delete. | |
3879 * Makefile.in: Remove them from the lists. | |
3880 | |
5169 | 3881 2005-02-28 John W. Eaton <jwe@octave.org> |
3882 | |
3883 * Makefile.in (LINK_DEPS): Remove -lglob from the list. | |
3884 | |
5167 | 3885 2005-02-27 David Bateman <dbateman@free.org> |
3886 | |
5169 | 3887 * Sparse.cc (Sparse<T>::reshape): Set cidx for the N last elements |
3888 in the sparse matrix. | |
5167 | 3889 |
5164 | 3890 2005-02-25 John W. Eaton <jwe@octave.org> |
3891 | |
3892 Sparse merge. | |
3893 | |
3894 2005-02-13 David Bateman <dbateman@free.fr> | |
3895 | |
3896 * CSparse.cc (SparseComplexMatrix:dsolve, SparseComplexMatrix:utsolve, | |
3897 SparseComplexMatrix::ltsolve, SparseComplexMatrix::trisolve, | |
3898 SparseComplexMatrix::bsolve, SparseComplexMatrix:fsolve): Split sparse | |
3899 solver into separate functions for the diagonal, upper, lower | |
3900 triangular, tridiagonal, banded and full cases. | |
3901 (SparseComplexMatrix::solve): rewrite to call the above function. One | |
3902 version that probes the matrix type and another that assumes the type | |
3903 is passed. | |
3904 | |
3905 * dSparse.cc (SparseMatrix:dsolve, SparseMatrix:utsolve, | |
3906 SparseMatrix::ltsolve, SparseMatrix::trisolve, | |
3907 SparseMatrix::bsolve, SparseMatrix:fsolve): Likewise | |
3908 (SparseMatrix::solve): Likewise | |
3909 | |
3910 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
3911 Declaration of new functions | |
3912 * dSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
3913 Likewise | |
3914 | |
3915 * CSparse.cc (operator !): Reverse the sense of the test. | |
3916 * dSpase.cc (operator !): Likewise | |
3917 | |
3918 * dSparse.h (type, band_size, is_dense, triangular_row_perm, | |
3919 triangular_col_perm, sparse_info): Remove matrix type code | |
3920 * CSparse.h (type, band_size, is_dense, triangular_row_perm, | |
3921 triangular_col_perm, sparse_info): Likewise | |
3922 * boolSparse.h (type, band_size, is_dense, triangular_row_perm, | |
3923 triangular_col_perm, sparse_info): Likewise | |
3924 * MSparse.h (type, band_size, is_dense, triangular_row_perm, | |
3925 triangular_col_perm, sparse_info): Likewise | |
3926 * Sparse.h (type, band_size, is_dense, triangular_row_perm, | |
3927 triangular_col_perm, sparse_info, matrix_type): Likewise | |
3928 | |
3929 * Sparse.cc (type, sparse_info, band_size): Remove type code | |
3930 | |
3931 * SparseType.h: New class for the matrix type used in solvers | |
3932 * SparseType.cc: methods of sparse matrix type class | |
3933 | |
3934 * Makefile.in: Add SparseType.cc | |
3935 | |
3936 2005-02-01 David Bateman <dbateman@free.fr> | |
3937 | |
3938 * UMFPACK: Update to version 4.4 | |
3939 * UMFPACK.patch: Version 4.4 contains most of the previous patch. Only | |
3940 keep octave specific test files | |
3941 | |
3942 2005-01-23 David Bateman <dbateman@free.fr> | |
3943 | |
3944 * dSparse.cc (SparseMatrix::solve): Include tridiagonal, cholesky | |
3945 tridiagonal and banded cholesky solvers. Remove calculation of | |
3946 condition number for banded solvers. | |
3947 * CSparse.cc (SparseComplexMatrix::solve): ditto. | |
3948 | |
3949 * Sparse.h (int type (int) const, bool is_dense (void) const): | |
3950 new functions. | |
3951 * MSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
3952 * dSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
3953 * CSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
3954 * boolSparse.h (int type (int) const, bool is_dense (void) const): | |
3955 ditto | |
3956 | |
3957 * Sparse.cc (int Sparse<T>::type (int) const, | |
3958 bool Sparse<T>::is_dense (void) const): New functions definition | |
3959 | |
3960 * Sparse.h (matrix_type typ): Move caching of matrix type to SparseRep, | |
3961 so it actually is cached, but disable | |
3962 | |
3963 * oct-spparms.cc (SparseParams::init_keys): Change spmoni to spumoni | |
3964 for compatiability | |
3965 | |
3966 2005-01-18 David Bateman <dbateman@free.fr> | |
3967 | |
3968 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
3969 Modify calculation of number elements to skip between copied blocks. | |
3970 | |
3971 2005-01-07 David Bateman <dbateman@free.fr> | |
3972 | |
3973 * Sparse.h : Reverse definitions of numel and nelem. | |
3974 * Sparse.cc (assign1): Use numel and not nelem | |
3975 * Sparse-op-def.h: Replace all uses of nelem with numel | |
3976 | |
3977 2005-01-07 David Bateman <dbateman@free.fr> | |
3978 | |
3979 * dbleDET.h: Make SparseMatrix a friend of the class DET | |
3980 * CmplexDET.h: Make SparseComplexMatrix a friend of the class | |
3981 ComplexDET | |
3982 * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET | |
3983 by DET | |
3984 * dSparse.h (determinant): ditto | |
3985 * CSparse.cc (SparseComplexMatrix::determinant): Replace use of | |
3986 SparseComplexDET by ComplexDET | |
3987 * CSparse.h (determinant): ditto | |
3988 * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, | |
3989 SparseCmplxDET.cc: delete files | |
3990 * Makefile.in: Delete reference to SparsedbleDET.h, SparsedbleDET.cc, | |
3991 SparseCmplxDET.h andSparseCmplxDET.cc. | |
3992 | |
3993 * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in | |
3994 local variable to avoid variable shadowing. | |
3995 * dSparse.cc (SparseMatrix::solve): ditto. | |
3996 | |
3997 * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc | |
3998 dSparse.h MSparse.cc MSparse-C.cc MSparse-d.cc MSparse-defs.h | |
3999 MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc | |
4000 Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc | |
4001 SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc | |
4002 sparse-sort.h: Remove additional licensing clause with authors | |
4003 permission. | |
4004 | |
4005 2004-12-30 John W. Eaton <jwe@octave.org> | |
4006 | |
4007 * MSparse.cc (SPARSE_A2S_OP_2, SPARSE_SA2_OP_2): | |
4008 Loop counter is int, not size_t. | |
4009 | |
4010 * oct-spparms.cc (SparseParams::operator =): Return *this. | |
4011 | |
4012 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Delete unused variable tmpval. | |
4013 | |
4014 * dSparse.cc (operator << (ostream&, const SparseMatrix&), atan2): | |
4015 Delete unused variables. | |
4016 (SparseMatrix::solve): Avoid warnings about uninitialized | |
4017 variables and variables that might be clobbered by longjmp. | |
4018 | |
4019 * CSparse.cc (operator << (ostream&, const SparseComplexMatrix&), | |
4020 min, max): Delete unused variables. | |
4021 (SparseComplexMatrix::solve): Avoid warnings about uninitialized | |
4022 variables and variables that might be clobbered by longjmp. | |
4023 | |
4024 * Makefile.in (UMFPACK_SPECIAL): Include .d files in the list. | |
4025 | |
4026 * Sparse-op-defs.h (SPARSE_SMS_BIN_OP_2, SPARSE_SSM_BIN_OP_2): | |
4027 Loop counter is int, not size_t. | |
4028 | |
4029 * CSparse.cc (SparseComplexMatrix::hermitian): Avoid shadow warnings. | |
4030 * Sparse.cc (Sparse<T>::Sparse, Sparse<T>::type, assign): Likewise. | |
4031 | |
4032 * Sparse.h (Sparse::SparseRep): Order data members and initializer | |
4033 lists consistently. | |
4034 | |
4035 * mx-base.h: Include boolSparse.h, dSparse.h, and CSparse.h. | |
4036 | |
4037 2004-12-29 John W. Eaton <jwe@octave.org> | |
4038 | |
4039 * COLAMD.files (COLAMD_EXTRAS): New variable. | |
4040 * UMFPACK.files (UMFPACK_EXTRAS): New variable. | |
4041 * Makefile.in (DISTFILES): Add $(COLAMD_EXTRAS) and | |
4042 $(UMFPACK_EXTRAS) to the list. | |
4043 (DISTDIRS): New variable. | |
4044 (dist): Handle $(DISTDIRS). | |
4045 | |
4046 Merge of sparse code from David Bateman <dbateman@free.fr> and | |
4047 Andy Adler <adler@site.uottawa.ca>. | |
4048 | |
4049 * Makefile.in (VPATH): ADD @srcdir@/COLAMD to the list. | |
4050 | |
4051 * Makefile.in (MAKEDEPS): Include $(COLAMD_SRC) and $(UMFPACK_SRC) | |
4052 without directory prefix. | |
4053 | |
4054 * Makefile.in (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJ) and | |
4055 $(UMFPACK_OBJ) to the list. | |
4056 | |
4057 * COLAMD: New directory. | |
4058 * COLAMD.files: New file. | |
4059 * Makefile.in: Include COLAMD.files. | |
4060 (SOURCES): Add $(COLAMD_SOURCES) to the list. | |
4061 (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJECTS) to the list. | |
4062 (INCLUDES): Add $(COLAMD_INCLUDES) to the list. | |
4063 | |
4064 * UMFPACK: New directory. | |
4065 * UMFPACK.patch, UMFPACK.README, UMFPACK.files, UMFPACK.rules: | |
4066 New files. | |
4067 * Makefile.in: Include UMFPACK.files and UMFPACK.rules. | |
4068 (SOURCES): Add $(UMFPACK_SOURCES) to the list. | |
4069 (LIBOCTAVE_OBJECTS): Add $(UMFPACK_OBJECTS) to the list. | |
4070 (INCLUDES): Add $(UMFPACK_INCLUDES) to the list. | |
4071 | |
4072 * Makefile.in (SPARSE_MX_OP_INC): New variable. | |
4073 (INCLUDES): Add it to the list. | |
4074 (SPARSE_MX_OP_SRC): New variable. | |
4075 (LIBOCTAVE_CXX_SOURCES): Add it to the list. | |
4076 (distclean): Remove $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
4077 (stamp-prereq): Depend on $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
4078 | |
4079 * sparse-mk-ops.awk, sparse-mx-ops: New files. | |
4080 * Makefile.in (DISTFILES): Add them to the lists. | |
4081 | |
4082 * oct-spparms.h, sparse-sort.h: New files. | |
4083 * Makefile.in (INCLUDES): Add them to the list. | |
4084 | |
4085 * oct-spparms.cc, sparse-sort.cc: New files. | |
4086 * Makefile.in (LIBOCTAVE_CXX_SOURCES): Add them to the list. | |
4087 | |
4088 * sparse-base-lu.cc: New file. | |
4089 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
4090 | |
4091 * boolSparse.cc, CSparse.cc, dSparse.cc, MSparse.cc, Sparse.cc, | |
4092 SparseCmplxDET.cc, SparseCmplxLU.cc, SparsedbleDET.cc, | |
4093 SparsedbleLU.cc: New files. | |
4094 * Makefile.in (MATRIX_SRC): Add them to the list. | |
4095 | |
4096 * boolSparse.h, CSparse.h, dSparse.h, MSparse-defs.h, MSparse.h, | |
4097 Sparse.h, oct-spparms.h, sparse-base-lu.h, SparseCmplxDET.h, | |
4098 SparseCmplxLU.h, SparsedbleDET.h, SparsedbleLU.h, | |
4099 Sparse-op-defs.h: New files. | |
4100 * Makefile.in (MATRIX_INC): Add them to the appropriate lists. | |
4101 | |
4102 * MSparse-d.cc, MSparse-C.cc, Sparse-b.cc, Sparse-d.cc, | |
4103 Sparse-C.cc: New files. | |
4104 * Makefile.in (TI_SRC): Add them to the list. | |
4105 | |
5149 | 4106 2005-02-18 John W. Eaton <jwe@octave.org> |
4107 | |
4108 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_RESOLVEPATH]: | |
4109 Pass current directory to octave_env::make_absolute. | |
4110 Save value returned from octave_env::make_absolute in local var. | |
4111 Pass const char*, not std::string as first arg of resolvepath. | |
4112 Provide decl for resolved_len. | |
4113 | |
5148 | 4114 2005-02-18 John W. Eaton <jwe@octave.org> |
4115 | |
4116 * Array.cc (Array<T>::permute): Allow permutation vector longer | |
4117 than number of dimenensions of permuted matrix. | |
4118 | |
4119 * Array.cc (Array<T>::permute): Use zero-based indexing for perm_vec. | |
4120 * Array-util.cc (calc_permutated_idx): Likewise. | |
4121 | |
5139 | 4122 2005-02-10 David Bateman <dbateman@free.fr> |
4123 | |
4124 * CNDArray.cc (ComplexNDarray::operator !): Change sense of test. | |
4125 * CMatrix.cc (ComplexMatrix::operator !): Likewise. | |
4126 | |
5137 | 4127 2005-02-09 John W. Eaton <jwe@octave.org> |
4128 | |
5138 | 4129 * file-ops.cc (file_ops::canonicalize_file_name): New functions. |
4130 * file-ops.h: Provide decls. | |
4131 | |
5137 | 4132 * kpse.cc (kpse_tilde_expand): Simply return NAME if it is empty. |
4133 | |
5136 | 4134 2005-02-08 John W. Eaton <jwe@octave.org> |
4135 | |
4136 * Array-util.cc (freeze): Improve error message. | |
4137 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4138 2005-01-26 David Bateman <dbateman@free.fr> |
5120 | 4139 |
5121 | 4140 * Array.cc (Array<T>::insert): Handle generic case, not just |
4141 special case for fast concatenation. | |
5120 | 4142 |
5110 | 4143 2005-01-18 John W. Eaton <jwe@octave.org> |
4144 | |
4145 * mx-inlines.cc (MX_ND_REDUCTION): Delete RET_ELT_TYPE arg. | |
4146 Change all uses. Use VAL instead of RET_ELT_TYPE when resizing. | |
4147 | |
4148 * dNDArray.cc (NDArray::any): NaN does not count as a nonzero value. | |
4149 * CNDArray.cc (ComplexNDArray::any): Likewise. | |
4150 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4151 2005-01-18 David Bateman <dbateman@free.fr> |
5108 | 4152 |
4153 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
4154 Modify calculation of number elements to skip between copied blocks. | |
4155 | |
4156 2005-01-18 John W. Eaton <jwe@octave.org> | |
4157 | |
4158 * idx-vector.cc (IDX_VEC_REP::freeze): Call warning handler, not | |
4159 error handler, to warn about resizing. | |
4160 | |
5105 | 4161 2004-12-27 Martin Dalecki <martin@dalecki.de> |
4162 | |
4163 * Array.cc, ArrayN.cc, base-lu.cc, boolMatrix.cc, boolNDArray.cc, | |
4164 Bounds.cc, CColVector.cc, CDiagMatrix.cc, chMatrix.cc, | |
4165 chNDArray.cc, CMatrix.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, | |
4166 CmplxDET.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
4167 CmplxSCHUR.cc, CmplxSVD.cc, CNDArray.cc, CollocWt.cc, | |
4168 CRowVector.cc, DASPK.cc, DASRT.cc, DASSL.cc, dbleAEPBAL.cc, | |
4169 dbleCHOL.cc, dbleDET.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, | |
4170 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, dColVector.cc, | |
4171 dDiagMatrix.cc, DiagArray2.cc, dMatrix.cc, dNDArray.cc, | |
4172 dRowVector.cc, EIG.cc, FEGrid.cc, idx-vector.cc, int16NDArray.cc, | |
4173 int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, intNDArray.cc, | |
4174 LinConst.cc, LPsolve.cc, LSODE.cc, MArray2.cc, MArray.cc, | |
4175 MArrayN.cc, MDiagArray2.cc, NLEqn.cc, oct-alloc.cc, ODES.cc, | |
4176 ODESSA.cc, Quad.cc, Range.cc, so-array.cc, uint16NDArray.cc, | |
4177 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: | |
4178 Delete #pragma implementation. | |
4179 | |
4180 * Array2.h, Array3.h, Array.h, ArrayN.h, base-lu.h, boolMatrix.h, | |
4181 boolNDArray.h, Bounds.h, CColVector.h, CDiagMatrix.h, chMatrix.h, | |
4182 chNDArray.h, CMatrix.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, | |
4183 CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, | |
4184 CmplxSVD.h, CNDArray.h, CollocWt.h, CRowVector.h, DASPK.h, | |
4185 DASRT.h, DASSL.h, dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, | |
4186 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, | |
4187 dColVector.h, dDiagMatrix.h, DiagArray2.h, dim-vector.h, | |
4188 dMatrix.h, dNDArray.h, dRowVector.h, EIG.h, FEGrid.h, | |
4189 idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
4190 int8NDArray.h, intNDArray.h, LinConst.h, LPsolve.h, LSODE.h, | |
4191 MArray2.h, MArray.h, MArrayN.h, MDiagArray2.h, NLConst.h, NLEqn.h, | |
4192 ODES.h, ODESSA.h, Quad.h, Range.h, so-array.h, uint16NDArray.h, | |
4193 uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: | |
4194 Delete #pragma interface. | |
4195 | |
5098 | 4196 2004-12-17 John W. Eaton <jwe@octave.org> |
4197 | |
4198 * lo-cieee.c (lo_ieee_signbit): New function. | |
4199 * lo-ieee.h: Provide decl. | |
4200 Don't define lo_ieee_signbit as a macro here. | |
4201 From Orion Poplawski <orion@cora.nwra.com>. | |
4202 | |
5085 | 4203 2004-11-18 John W. Eaton <jwe@octave.org> |
4204 | |
4205 * int32NDArray.cc (pow): Delete instantiation. | |
4206 * int16NDArray.cc (pow): Likewise. | |
4207 * int8NDArray.cc (pow): Likewise. | |
4208 * uint32NDArray.cc (pow): Likewise. | |
4209 * uint16NDArray.cc (pow): Likewise. | |
4210 * uint8NDArray.cc (pow): Likewise. | |
4211 | |
5081 | 4212 2004-11-17 John W. Eaton <jwe@octave.org> |
4213 | |
5085 | 4214 * kpse.cc (str_llist_float, str_llist_add, kpse_var_expand): |
4215 Now static. | |
4216 (DB_ENVS, DB_HASH_SIZE, DB_NAME, ALIAS_NAME, ALIAS_HASH_SIZE, | |
4217 DEFAULT_TEXMFDBS): Delete unused macros. | |
4218 | |
5081 | 4219 * Array.cc (Array<T>::index): Call generic N-d indexing function |
4220 if idx_arg is N-d. | |
4221 | |
5073 | 4222 2004-11-09 David Bateman <dbateman@free.fr> |
4223 | |
4224 * dNDArray.cc (concat): Delete. | |
4225 (NDArray::concat): New methods. | |
4226 * dNDArray.h: Provide decls. | |
4227 | |
4228 * CNDArray.cc (concat): Delete. | |
4229 (ComplexNDArray::concat): New methods. | |
4230 * CNDArray.h: Provide decls. | |
4231 | |
4232 * boolNDArray.cc (concat): Delete. | |
4233 (boolNDArray::concat): New methods. | |
4234 * boolNDArray.h: Provide decls. | |
4235 | |
4236 * chNDArray.cc (concat): Delete. | |
4237 (charNDArray::concat): New methods. | |
4238 * chNDArray.h: Provide decls. | |
4239 | |
4240 * oct-inttypes.h (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): | |
4241 Delete macros. | |
4242 | |
4243 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
4244 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
4245 (OCTAVE_INT_CONCAT_DECL): Delete use of macro. | |
4246 | |
4247 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
4248 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
4249 (OCTAVE_INT_CONCAT_FN): Delete use of macro. | |
4250 | |
4251 * intNDArray.cc (intNDArray<T>::concat): New method. | |
4252 * intNDArray.h: Provide decl. | |
4253 | |
5072 | 4254 2004-11-08 John W. Eaton <jwe@octave.org> |
4255 | |
4256 * oct-inttypes.cc: New file. | |
4257 * Makefile.in (TI_SRC): Add it to the list. | |
4258 * oct-inttypes.h (OCTAVE_US_TYPE1_CMP_OP, OCTAVE_US_TYPE1_CMP_OPS, | |
4259 OCTAVE_SU_TYPE1_CMP_OP, OCTAVE_SU_TYPE1_CMP_OPS, | |
4260 OCTAVE_TYPE1_CMP_OPS, OCTAVE_US_TYPE2_CMP_OP, | |
4261 OCTAVE_US_TYPE2_CMP_OPS, OCTAVE_SU_TYPE2_CMP_OP, | |
4262 OCTAVE_SU_TYPE2_CMP_OPS, OCTAVE_TYPE2_CMP_OPS): | |
4263 New macros for comparison operations. Avoid potential | |
4264 problems with default conversions when comparing signed and | |
4265 unsigned values. | |
4266 | |
5061 | 4267 2004-11-03 John W. Eaton <jwe@octave.org> |
4268 | |
4269 * dMatrix.cc (Matrix::inverse): Return info == -1 for any failure. | |
4270 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
4271 | |
5052 | 4272 2004-10-19 John W. Eaton <jwe@octave.org> |
4273 | |
4274 * Array.cc (assignN): Avoid resizing if assignment will fail. | |
4275 | |
5047 | 4276 2004-10-18 John W. Eaton <jwe@octave.org> |
4277 | |
4278 * Array.cc (assign2): Save result of squeeze operation. | |
4279 Squeeze if ndims is > 2, not if length of RHS vector is > 2. | |
4280 | |
5095 | 4281 2004-10-11 David Bateman <dbateman@free.fr> |
5044 | 4282 |
4283 * oct-fftw.cc (class octave_fftw_planner): Add inplace[2] to | |
4284 flag whether transform in- or out-of-place. | |
4285 (octave_fftw_planner::octave_fftw_planner): Initialize it. | |
4286 (octave_fftw_planner::create_plan): Use it. | |
4287 | |
5039 | 4288 2004-09-24 John W. Eaton <jwe@octave.org> |
4289 | |
4290 * Array.cc (assign2, assignN): If index is empty, allow RHS to be | |
4291 any empty matrix, not just []. | |
4292 | |
5030 | 4293 2004-09-23 John W. Eaton <jwe@octave.org> |
4294 | |
4295 * mx-ops: Include scalar zero value in type definitions. | |
4296 Delete zero information from ops section. | |
4297 * mk-ops.awk: Use type-specific zero info. | |
4298 | |
4299 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, | |
4300 SND_BOOL_OP, NDND_BOOL_OP): Args now include zero values for both | |
4301 LHS and RHS. | |
4302 (MS_BOOL_OPS2, SM_BOOL_OPS2, MM_BOOL_OPS2, NDS_BOOL_OPS2, | |
4303 SND_BOOL_OPS2, NDND_BOOL_OPS2): New macros. | |
4304 (MS_BOOL_OPS, SM_BOOL_OPS, MM_BOOL_OPS, NDS_BOOL_OPS, | |
4305 SND_BOOL_OPS, NDND_BOOL_OPS): Define in terms of 2-zero versions. | |
4306 | |
4307 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const | |
4308 intNDArray<U>&)): Use explicit as_double () conversion in call to | |
4309 tree_to_mat_idx. | |
4310 | |
4311 * oct-inttypes.h (octave_int<T>::operator float): New conversion. | |
4312 (pow): Instead of "if (b_val)", use "if (b_val != zero)". | |
4313 Likewise for the "if (b_val & one)" test. | |
4314 (operator <<, operator >>): Type of retval is octave_int<T1>, not T1. | |
4315 | |
5029 | 4316 2004-09-23 David Bateman <dbateman@free.fr> |
4317 | |
4318 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): | |
4319 New macros. Use them to define mixed intX-double and double-intX ops. | |
4320 | |
5021 | 4321 2004-09-22 Federico Zenith <zenith@chemeng.ntnu.no> |
4322 | |
4323 * DASPK-opts.in, DASRT-opts.in, ODESSA-opts.in: | |
4324 Fix doc string layout to avoid overfull hbox in printed output. | |
4325 | |
5015 | 4326 2004-09-21 John W. Eaton <jwe@octave.org> |
4327 | |
4328 * mach-info.h (octave_mach_info::flt_fmt_native): Delete. | |
4329 * mach-info.cc (octave_mach_info::string_to_float_format): | |
4330 For "native", set actual native format. | |
4331 (octave_mach_info::float_format_as_string): Delete flt_fmt_native case. | |
4332 | |
5008 | 4333 2004-09-17 David Bateman <dbateman@free.fr> |
4334 | |
4335 * CmplxSCHUR.cc (CmplxSCHUR::init): New arg, calc_unitary to make the | |
4336 calculation of the unitary matrix optional. | |
4337 * dbleSCHUR.cc (SCHUR::init): Ditto. | |
4338 * CmplxSCHUR.h, dbleSCHUR.h: Update decls. | |
4339 | |
4998 | 4340 2004-09-15 David Bateman <dbateman@free.fr> |
4341 | |
4342 * oct-sort.h (octave_sort<T>::set_compare (bool (*comp) (T, T))): | |
4343 New function to set the comparison function for the sort. | |
4344 | |
4985 | 4345 2004-09-10 John W. Eaton <jwe@octave.org> |
4346 | |
4347 * lo-mappers.cc (xround): Fix typo. | |
4348 | |
4979 | 4349 2004-09-08 John W. Eaton <jwe@octave.org> |
4350 | |
4351 * Array.h (Array::~Array): Declare virtual. | |
4352 | |
4353 * idx-vector.h (idx_vector::idx_vector): Initialize rep in member | |
4354 initializaion list. Don't set rep->count since the rep | |
4355 constructor does that. | |
4356 | |
4968 | 4357 2004-09-07 John W. Eaton <jwe@octave.org> |
4358 | |
4970 | 4359 * data-conv.cc (oct_data_conv::string_to_data_type): Handle dt_logical. |
4360 (oct_data_conv::data_type_as_string): Likewise. | |
4361 | |
4362 * data-conv.h (oct_data_conv::data_type): Add dt_logical to list. | |
4363 | |
4968 | 4364 * Range.cc (round): Delete unused function. |
4365 | |
4366 * lo-mappers.cc (xround): Rename from round. Change all uses. | |
4367 If HAVE_ROUND, call round, otherwise fake with floor and ceil. | |
4368 | |
4369 * oct-inttypes.h: Include <cmath> here. | |
4370 | |
4964 | 4371 2004-09-03 David Bateman <dbateman@free.fr> |
4372 | |
4373 * boolNDArray.cc (boolNDArray::concat, boolNDArray::insert): | |
4374 New functions for boolean matrix concatenation. | |
4375 * boolNDArray.h: Provide decls. | |
4376 | |
4963 | 4377 2004-09-03 John W. Eaton <jwe@octave.org> |
4378 | |
4964 | 4379 * oct-inttpes.h (OCTAVE_INT_CMP_OP): Convert operarands to double |
4380 to avoid signed/unsigned int comparison problems. | |
4381 | |
4382 * mx-ops: Generate CMP and BOOL ops for mixed integer types and | |
4383 for mixed integer and double types. | |
4384 | |
4385 * mk-ops.awk: Output BIN_OP_DECLS, CMP_OP_DECLS, and BOOL_OP_DECLS | |
4386 separately, and only if needed. | |
4387 | |
4963 | 4388 * oct-inttypes.h (octave_fit_to_range): Use constructor instead of |
4389 static_cast for type conversion. | |
4390 | |
4953 | 4391 2004-09-01 John W. Eaton <jwe@octave.org> |
4392 | |
4393 * oct-inttypes.h (pow, operator +, operator -, operator *, | |
4394 operator /): Handle mixed integer/double ops. If op generates a | |
4395 NaN, set result to 0. | |
4396 (octave_int::operator - (void)): Convert to double, then negate, | |
4397 then fit to range. | |
4398 | |
4399 * mx-ops: Define integer types. Include declarations for mixed | |
4400 integer/double ops. | |
4401 | |
4952 | 4402 2004-08-31 John W. Eaton <jwe@octave.org> |
4403 | |
4404 * oct-inttypes.h (pow): Args now const reference. | |
4405 (octave_int<T>::operator *=, octave_int<T>::operator /=, | |
4406 octave_int<T>::operator <<=, octave_int<T>::operator >>=): | |
4407 New member functions. | |
4408 (OCTAVE_INT_BITSHIFT_OP): Delete macro. | |
4409 (operator >> (const octave_int<T1>& x, const T2& y)): | |
4410 Define in terms of >>=. | |
4411 (operator << (const octave_int<T1>& x, const T2& y)): | |
4412 Define in terms of <<=. | |
4413 (bitshift): Operate on octave_int<T> objects, not the values, so | |
4414 we get proper saturation properties. | |
4415 | |
4416 2004-08-31 David Bateman <dbateman@free.fr> | |
4417 | |
4418 * oct-inttypes.h (pow (constT, T)): New template. | |
4419 | |
4420 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, | |
4421 uint16NDArray.cc, uint32NDArray.cc: Instantiate power function. | |
4422 | |
4949 | 4423 2004-08-31 John W. Eaton <jwe@octave.org> |
4424 | |
4425 * oct-inttypes.h (octave_int::byte_size): New function. | |
4426 | |
4944 | 4427 2004-08-31 John W. Eaton <jwe@octave.org> |
4428 | |
4946 | 4429 * Makefile.in (EXTRAS): Add intNDArray.cc to the list. |
4430 | |
4944 | 4431 * data-conv.h (oct_data_conv::data_type): Include sized types. |
4432 Explicitly number enum elements. | |
4433 | |
4434 * data-conv.cc (oct_data_conv::string_to_data_type (const | |
4435 std::string&, int&, oct_data_conv::data_type&, | |
4436 oct_data_conv::data_type&)): New function. | |
4437 (oct_data_conv::string_to_data_type (const std::string&, int&, | |
4438 oct_data_conv::data_type&)): New function. | |
4439 (oct_data_conv::data_type_as_string): New function. | |
4440 | |
4441 * dMatrix.cc (read_int, do_read, Matrix::read): Delete. | |
4442 (write_int, do_write, Matrix::write): Delete. | |
4443 * dMatrix.h (Matrix::read, Matrix::write): Delete decls. | |
4444 | |
4445 * byte-swap.h: Use template functions and specialization. | |
4446 Change all uses. | |
4447 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
4448 | |
4943 | 4449 2004-08-30 John W. Eaton <jwe@octave.org> |
4450 | |
4451 * oct-inttypes.h (octave_int_fit_to_range): Use template | |
4452 specializations to avoid warnings about signed/unsigned comparisons. | |
4453 | |
4454 2004-08-28 John W. Eaton <jwe@octave.org> | |
4455 | |
4456 * data-conv.cc (do_float_format_conversion (unsigned char *, | |
4457 size_t, int, oct_mach_info::float_format)): New function. | |
4458 (GET_SIZED_INT_TYPE): New macro. | |
4459 (string_to_data_type): Use it to return sized types corresponding | |
4460 to Octave array data types. | |
4461 (strip_spaces): New function. | |
4462 (do_double_format_conversion, do_float_format_conversion): Pass | |
4463 from_fmt and to_fmt. Don't always assume the to_fmt is the native | |
4464 float format. | |
4465 (do_double_format_conversion, | |
4466 IEEE_big_double_to_IEEE_little_double, | |
4467 VAX_D_double_to_IEEE_little_double, | |
4468 VAX_G_double_to_IEEE_little_double, Cray_to_IEEE_little_double, | |
4469 IEEE_little_double_to_IEEE_big_double, | |
4470 VAX_D_double_to_IEEE_big_double, VAX_G_double_to_IEEE_big_double, | |
4471 Cray_to_IEEE_big_double, IEEE_little_double_to_VAX_D_double, | |
4472 IEEE_big_double_to_VAX_D_double, VAX_G_double_to_VAX_D_double, | |
4473 Cray_to_VAX_D_double, IEEE_little_double_to_VAX_G_double, | |
4474 IEEE_big_double_to_VAX_G_double, VAX_D_double_to_VAX_G_double, | |
4475 Cray_to_VAX_G_double): | |
4476 Pass data as void*, not double*. | |
4477 (do_float_format_conversion, IEEE_big_float_to_IEEE_little_float, | |
4478 VAX_D_float_to_IEEE_little_float, | |
4479 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, | |
4480 IEEE_little_float_to_IEEE_big_float, | |
4481 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, | |
4482 Cray_to_IEEE_big_float, IEEE_little_float_to_VAX_D_float, | |
4483 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, | |
4484 Cray_to_VAX_D_float, IEEE_little_float_to_VAX_G_float, | |
4485 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, | |
4486 Cray_to_VAX_G_float): | |
4487 Pass data as void*, not float*. | |
4488 | |
4489 2004-08-27 John W. Eaton <jwe@octave.org> | |
4490 | |
4491 * byte-swap.h (swap_bytes): New template versions, with | |
4492 specializations. | |
4493 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
4494 Change all uses. | |
4495 | |
4940 | 4496 2004-08-24 David Bateman <dbateman@free.fr> |
4497 | |
4498 * chNDArray.cc (concat): Check whether matrix to be inserted is | |
4499 empty instead of checking final matrix. | |
4500 * dNDArray.cc (concat): Likewise. | |
4501 * CNDArray.cc (concat): Likewise. | |
4502 | |
4503 2004-08-23 David Bateman <dbateman@free.fr> | |
4504 | |
4505 * dim-vector.h (dim_vector::concat): Correct incrementation for | |
4506 non-existent dimensions. | |
4507 | |
4938 | 4508 2004-08-09 John W. Eaton <jwe@octave.org> |
4509 | |
4510 * idx-vector.h (idx_vector::idx_vector_rep::tree_to_mat_idx | |
4511 (const octave_int<U>&)): New member function. | |
4512 (idx_vector::idx_vector_rep::tree_to_mat_idx (double, bool&), | |
4513 idx_vector::idx_vector_rep::tree_to_mat_idx (int)): | |
4514 Now member functions instead of static in idx-vector.cc. | |
4515 (idx_vector::idx_vector_rep::idx_vector_rep (const octave_int<U>&), | |
4516 idx_vector::idx_vector_rep::idx_vector_rep (const intNDArray<U>&)): | |
4517 New template constructors. | |
4518 | |
4932 | 4519 2004-08-05 John W. Eaton <jwe@octave.org> |
4520 | |
4933 | 4521 * EIG.cc (EIG::init): Add volatile qualifier to nvr decl. |
4522 | |
4932 | 4523 * intNDArray.cc (intNDArray<T>::operator !, intNDArray<T>::all, |
4524 intNDArray<T>::any): Sprinkle with this-> as needed. | |
4525 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): Likewise. | |
4526 | |
4929 | 4527 2004-08-03 John W. Eaton <jwe@octave.org> |
4528 | |
4529 * Array.cc (Array<T>::squeeze): Do nothing for 2-d arrays. For | |
4530 arrays with more than two dimensions and only one non-singleton | |
4531 dimension, return a column vector. | |
4532 | |
4921 | 4533 2004-07-28 John W. Eaton <jwe@octave.org> |
4534 | |
4535 * oct-cmplx.h (pow (const Complex&, const double&): | |
4536 Convert second arg to complex to avoid libstdc++ bug. | |
4537 | |
4920 | 4538 2004-07-27 John W. Eaton <jwe@octave.org> |
4539 | |
4540 * oct-inttypes.h (bitshift): New arg, MASK. | |
4541 (OCTAVE_INT_BITSHIFT_OP): Bitshift does not saturate. | |
4542 | |
4916 | 4543 2004-07-23 John W. Eaton <jwe@octave.org> |
4544 | |
4545 * Array.cc (Array<T>::reshape): Return *this if no change in size. | |
4546 | |
4915 | 4547 2004-07-23 David Bateman <dbateman@free.fr> |
4548 | |
4549 * Array.cc, Array.h (cat_ra): Delete. | |
4550 * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc | |
4551 (INSTANTIATE_ARRAY_CAT): Delete. | |
4552 | |
4553 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
4554 chNDArray.h, intNDArray.cc, intNDArray.h (cat): Delete. | |
4555 | |
4556 * Array.cc (Array<T>::insert): Copy data in NDArray version. | |
4557 | |
4558 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
4559 chNDArray.h (concat): New function used for concatenation that does | |
4560 an indexed copy of one array into another. | |
4561 | |
4562 * dim-vector.h (concat): New function to concatenate dim_vectors. | |
4563 | |
4564 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
4565 chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for | |
4566 insertion of one NDArray into another. | |
4567 | |
4568 * oct-inttype.cc (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): New | |
4569 macros to define the int/uint concatenation functions. | |
4570 | |
4571 * uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
4572 int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc | |
4573 (OCTAVE_INT_CONCAT_FN): Instantiate the concatenation function . | |
4574 | |
4575 * uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
4576 int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h | |
4577 (OCTAVE_INT_CONCAT_DECL): Declare the int/uint concatentaion | |
4578 functions. | |
4579 | |
4911 | 4580 2004-07-22 David Bateman <dbateman@free.fr> |
4581 | |
4582 * oct-sort.h: Don't include oct-obj.h. | |
4583 | |
4584 * lo-specfun.cc (is_integer_value): New function. | |
4585 (zbesj, zbesi, zbesy): Special case negative integer or half | |
4586 integer orders that cause overflow for small arguments. | |
4587 | |
4909 | 4588 2004-07-12 John W. Eaton <jwe@octave.org> |
4589 | |
4590 * oct-inttypes.h (octave_int<T>::nbits): New function. | |
4591 (bitshift (const octave_int<T>&, int)): New function. | |
4592 | |
4902 | 4593 2004-06-14 John W. Eaton <jwe@octave.org> |
4594 | |
4595 * mx-base.h: Include headers for new int types. | |
4596 | |
4597 * dNDArray.h, dNDArray.cc (NDArray::NDArray (const boolNDArray&), | |
4598 NDArray::NDArray (const charNDArray&)): Delete. | |
4599 (template <class U> explicit NDArray (const intNDArray<U>&)): New | |
4600 constructor. | |
4601 (NDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
4602 | |
4603 * chMatrix.h (CharMatrix::transpose): New forwarding functions for | |
4604 return type conversion. | |
4605 | |
4606 * ComplexNDArray.h, ComplexNDArray.cc | |
4607 (ComplexNDArray::ComplexNDArray (const ArrayN<Complex>&), | |
4608 (ComplexNDArray::ComplexNDArray (const NDArray&), | |
4609 (ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
4610 (ComplexNDArray::ComplexNDArray (const charNDArray&)): Delete. | |
4611 | |
4612 (ComplexNDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
4613 | |
4614 * MArrayN.h: | |
4615 (template <class U> explicit MArrayN<T>::MArrayN (const Array2<U>&), | |
4616 (template <class U> MArrayN<T>::MArrayN (const ArrayN<U>&), | |
4617 (template <class U> explicit MArrayN<T>::MArrayN (const MArray<U>&)): | |
4618 New constructors. | |
4619 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
4620 ArrayN<T>::squeeze): | |
4621 New forwarding functions for return type conversion. | |
4622 | |
4623 * ArrayN.h: | |
4624 (template <class U> explicit ArrayN<T>::ArrayN (const Array2<U>&), | |
4625 (template <class U> explicit ArrayN<T>::ArrayN (const ArrayN<U>&), | |
4626 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&), | |
4627 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&, | |
4628 const dim_vector&)): New constructors. | |
4629 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
4630 ArrayN<T>::transpose): | |
4631 New forwarding functions for return type conversion. | |
4632 | |
4633 * Array.h (template <class U> Array<T>::Array (const Array<U>&)): | |
4634 New constructor. | |
4635 (Array<T>::coerce, Array<T>::byte_size): New functions. | |
4636 | |
4637 * Array-i.cc, MArray-i.cc: Instantiate new integer types. | |
4638 | |
4639 * oct-inttypes.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
4640 int8NDArray.h , intNDArray.h, uint16NDArray.h, uint32NDArray.h, | |
4641 uint64NDArray.h, uint8NDArray.h, int16NDArray.cc, int32NDArray.cc, | |
4642 int64NDArray.cc, int8NDArray.cc, intNDArray.cc, uint16NDArray.cc, | |
4643 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: New files. | |
4644 * Makefile.in: Add them to the appropriate lists. | |
4645 | |
4899 | 4646 2004-06-04 John W. Eaton <jwe@octave.org> |
4647 | |
4648 * mx-inlines.cc (MX_ND_REDUCTION): New arg, RET_ELT_TYPE. Use | |
4649 "RET_ELT_TYPE ()" rather than "false" as fill value for retval | |
4650 resize op. Change all uses. | |
4651 | |
4898 | 4652 2004-06-03 David Bateman <dbateman@free.fr> |
4653 | |
4654 * Array.cc (assignN): Allow magic colon for dimensions lvalue | |
4655 greater than the existing number of dimensions in lvalue. | |
4656 | |
4887 | 4657 2004-04-30 David Bateman <dbateman@free.fr> |
4658 | |
4659 * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): | |
4660 New arg, fill_value. | |
4661 (dim_vector::resize): Allow optional fill_value argument. | |
4662 | |
4663 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
4664 Don't chop trailing dimensions of Array<idx_vector> if there is | |
4665 more than one element in idx_vector. Resize the return value to | |
4666 the size of Array<idx_vector>. | |
4667 | |
4668 * Array-util.cc (short_freeze): Better freeze of last dimension of | |
4669 idx_vector that is shorter than a dim_vector. | |
4670 | |
4882 | 4671 2004-04-23 John W. Eaton <jwe@octave.org> |
4672 | |
4673 * oct-sort.cc: Don't include oct-obj.h. | |
4674 | |
4876 | 4675 2004-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
4676 | |
4677 * Array.cc (Array<T>::index2, Array<T>::indexN): | |
4678 Don't set invalid dimensions on return value. | |
4679 | |
4871 | 4680 2004-04-21 John W. Eaton <jwe@octave.org> |
4681 | |
4682 * mx-inlines.cc (MX_ND_REDUCTION): Chop trailing singletons. | |
4683 | |
4850 | 4684 2004-04-06 David Bateman <dbateman@free.fr> |
4685 | |
4870 | 4686 * Array.cc (Array<T>::resize_no_fill (const dim_vector& dv), |
4687 Array<T>::resize_and_fill (const dim_vector& dv, const T& val)): | |
4688 Make their behavior equivalent except for filling vs. not filling. | |
4689 | |
4850 | 4690 * oct-sort.cc: New template class for arbitrary sorting. |
4691 * oct-sort.h: Declaration of sort class. | |
4692 * Makefile: Add them to the appropriate lists. | |
4693 | |
4845 | 4694 2004-04-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
4695 | |
4696 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Fix off-by-one error. | |
4697 | |
4844 | 4698 2004-04-02 David Bateman <dbateman@free.fr> |
4699 | |
4700 * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, | |
4701 besselh2, airy, biry, betainc, gammainc, do_bessel): | |
4852 | 4702 New N-d array versions. |
4844 | 4703 (SN_BESSEL, NS_BESSEL, NN_BESSEL): New macros. |
4704 * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, | |
4705 besselh2, airy, biry, betainc, gammainc): Provide decls. | |
4706 | |
4707 * dNDArray.cc (NDArray::min, NDArray::max, min, max): | |
4708 New functions. | |
4709 * dNDArray.h (NDArray::min, NDArray::max, min, max): Provide decls. | |
4710 | |
4711 * CNDArray.cc (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
4712 New functions. | |
4713 * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
4714 Provide decls. | |
4715 | |
4842 | 4716 2004-03-17 David Hoover <jazzdaq@yahoo.com> |
4717 | |
4718 * DASPK.cc (DASPK::do_integrate): Always add n*n elements to the | |
4719 work vector, not just when using a numerical Jacobian. | |
4720 | |
4834 | 4721 2004-03-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4722 | |
4835 | 4723 * so-array.cc (SND_CMP_OP, NDS_CMP_OP, NDND_CMP_OP): |
4724 Omit empty result args. | |
4725 | |
4834 | 4726 * Array.cc (Array<T>::Array (const Array<T>&, const dim_vector&)): |
4727 Move here from Array.h, check that size of array arg is not | |
4728 smaller than the size defined by the new dimensions. | |
4729 | |
4832 | 4730 2004-03-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4731 | |
4732 * Array.cc (Array<T>::index2): Allow result to be N-d if indexing | |
4733 a scalar or vector with an N-d array. | |
4734 | |
4826 | 4735 2004-03-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
4736 | |
4828 | 4737 * Array.cc (Array<T>::index2): If scalar or vector is indexed by |
4738 matrix, return object that is the same size as the index. | |
4739 | |
4826 | 4740 * mx-op-defs.h (NDND_CMP_OP, MM_CMP_OP): Require dimensions to agree. |
4741 Eliminate MT_RESULT args. Return value is always size of args. | |
4742 (MS_CMP_OP, SM_CMP_OP, NDS_CMP_OP, SND_CMP_OP): | |
4743 Eliminate EMPTY_RESULT arg. | |
4744 Return value is always size of matrix or N-d array arg. | |
4745 (TBM, FBM, NBM): Delete unused macros. | |
4746 | |
4821 | 4747 2004-03-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
4748 | |
4749 * Array.cc (Array<T>::maybe_delete_elements): Return immediately | |
4750 if all LHS dimensions are zero. For one index case, freeze and | |
4751 sort idx_vec before checking length, and do nothing if | |
4752 num_to_delete is zero. | |
4822 | 4753 (Array<T>::maybe_delete_elements_2): Omit Fortran-indexing warning. |
4821 | 4754 |
4816 | 4755 2004-03-04 David Bateman <dbateman@free.fr> |
4756 | |
4757 * dNDArray.cc (NDArray::ifourier): Arg is int, not const int. | |
4758 * CNDArray.cc (ComplexNDArray::ifourier): Likewise. | |
4759 | |
4811 | 4760 2004-03-03 Hans Ekkehard Plesser <hans.ekkehard.plesser@nlh.no> |
4761 | |
4762 * base-lu.cc (base_lu<>::L): Check bounds before setting diagonal | |
4763 element. | |
4764 | |
4765 2004-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4766 | |
4767 * Range.h (Range::Range): Add cache to member initialization list. | |
4768 (Range::clear_cache): New private function. | |
4769 | |
4770 * Range.h (Range::set_base, Range::set_limit, Range::set_inc): | |
4771 Use clear cache. Don't do anything if range does not change. | |
4772 * Range.cc (Range::sort): Likewise. | |
4773 | |
4810 | 4774 2004-03-02 Paul Kienzle <pkienzle@users.sf.net> |
4775 | |
4776 * Range.cc (Range::matrix_value): Cache result. | |
4777 (Range::sort): Clear cache. | |
4778 * Range.h (Range::cache): New data member. | |
4779 (Range::set_base, Range::set_limit, Range::set_inc): Clear cache. | |
4780 (Range::print_range): Delete. | |
4808 | 4781 |
4782 2004-03-02 David Bateman <dbateman@free.fr> | |
4783 | |
4784 * oct-fftw.cc: Only two versions of plan, and avoid endless | |
4785 changes between them. Faster for small fft's. | |
4786 (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): | |
4787 New member variables. | |
4788 (octave_fftw_planner::ialign, octave_fftw_planner::oalign, | |
4789 octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. | |
4790 Change all uses. | |
4791 (CHECK_SIMD_ALIGNMENT): New macro. | |
4792 (octave_fftw_planner::create_plan): Use it. | |
4793 | |
4806 | 4794 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> |
4795 | |
4796 * Array.cc (Array<T>::insertN): Eliminate N-d indexing. | |
4797 | |
4798 * mx-inlines.cc (MX_ND_CAT): Delete macro. | |
4799 | |
4800 * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. | |
4801 * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. | |
4802 * chNDArray.cc (charNDArray<T>::cat): Ditto. | |
4803 * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. | |
4804 | |
4805 * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. | |
4806 * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. | |
4807 | |
4800 | 4808 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4809 | |
4802 | 4810 * oct-rl-edit.c (octave_rl_set_startup_hook, |
4811 octave_rl_get_startup_hook, octave_rl_set_event_hook, | |
4812 octave_rl_get_event_hook): Omit casts. | |
4813 * oct-rl-edit.h (rl_startup_hook_fcn_ptr, rl_event_hook_fcn_ptr): | |
4814 Return value for function pointer typedef is now int. | |
4815 * cmd-edit.h (command_editor::startup_hook_fcn, | |
4816 command_editor::event_hook_fcn): Likewise. | |
4817 * cmd-hist.cc, cmd-hist.h (command_history::goto_mark, | |
4818 command_history::do_goto_mark, gnu_history::do_goto_mark): | |
4819 Return type is now int. Return 0. | |
4820 | |
4800 | 4821 * EIG.cc (EIG::init, EIG::symmetric_init): |
4822 Query Lapack for workspace size. | |
4823 | |
4796 | 4824 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4825 | |
4826 * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): | |
4827 Fix thinko in extending dimensions. | |
4828 | |
4791 | 4829 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
4830 | |
4831 * Range.cc (Range::matrix_value, Range::min, Range::max): | |
4832 Don't compute values beyond the limits of the range. | |
4833 (operator << (std::ostream&, const Range&)): Likewise. | |
4834 | |
4786 | 4835 2004-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4836 | |
4788 | 4837 * oct-fftw.cc (octave_fftw_planner::create_plan): |
4838 Cast IN and OUT args to ptrdiff_t instead of long before masking. | |
4839 From Paul Kienzle <pkienzle@users.sf.net>. | |
4840 | |
4786 | 4841 * Array.cc (Array<T>::insertN (const Array<T>&, int, int)): |
4842 Rename from Array<T>::insert. | |
4843 (Array<T>::insert2 (const Array<T>&, int, int)): | |
4844 Reinstate old Array<T>::insert function under this name. | |
4845 (Array<T>::insert (const Array<T>&, int, int)): | |
4846 New function. Dispatch to insert2 or insertN as appropriate. | |
4847 | |
4785 | 4848 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
4849 | |
4850 * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): | |
4851 Sprinkle with OCTAVE_QUIT. | |
4852 | |
5095 | 4853 2004-02-16 David Bateman <dbateman@free.fr> |
4773 | 4854 |
4855 * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): | |
4856 Add support for FFTW 3.x. Include the ability to | |
4857 use the real to complex transform for fft's of real matrices | |
4858 (octave_fftw_planner::create_plan2d): Delete. | |
4859 (octave_fftw::fft2d): Delete. | |
4860 (convert_packcomplex_1d, convert_packcomplex_Nd): | |
4861 New static functions. | |
4862 * oct-fftw.h: Update decls. | |
4863 | |
4864 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
4865 Matrix::fourier2d, Matrix::ifourier2d): FFT's use real to complex | |
4866 transforms. 1D FFT of a matrix done as single call rather than | |
4867 loop. Update for FFTW 3.x | |
4868 * CMatrix.cc (ComplexMatrix::fourier, ComplexMatrix::ifourier, | |
4869 ComplexMatrix::fourier2d, ComplexMatrix::ifourier2d): 1D fft of a | |
4870 matrix done as single call rather than loop. Update for FFTW 3.x. | |
4871 | |
4872 * dNDArray.cc (NDArray::fourier, NDArray::ifourier, | |
4873 NDArray::fourierNd, NDArray::ifouriourNd): New fourier transform | |
4874 functions for Nd arrays. | |
4875 * dNArray.h Provide decls. | |
4876 * CNDArray.cc (ComplexNDArray::fourier, ComplexNDArray::ifourier, | |
4877 ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New | |
4878 fourier transform functions for complex Nd arrays. | |
4879 * CNArray.h: Provide decls. | |
4880 | |
4765 | 4881 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> |
4882 | |
4883 * Array.cc (Array<T>::insert (const Array<T>&, int, int)): | |
4884 Make it work for N-d arrays. | |
4885 | |
4886 * ArrayN.h (ArrayN<T>::insert (const ArrayN<T>& a, int, int)): | |
4887 New function. | |
4888 | |
4889 * CNDArray.cc (ComplexNDArray::insert (const NDArray&, int, int), | |
4890 ComplexNDArray::insert (const ComplexNDArray&, int, int)): | |
4891 New functions. | |
4892 * CNDArray.h: Provide decls. | |
4893 | |
4759 | 4894 2004-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4895 | |
4760 | 4896 * Makefile.in (LINK_DEPS): Always define. |
4897 | |
4759 | 4898 * Array.cc (Array<T>::squeeze): Always return an array with at |
4899 least two dimensions. | |
4900 | |
4758 | 4901 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
4902 | |
4903 * mx-inlines.cc (MX_ND_CAT): New macro. | |
4904 * dNDArray.cc (NDArray::cat): New function. | |
4905 * dNDArray.h: Provide decls. | |
4906 * CNDArray.cc (complexNDArray::cat): New function. | |
4907 * CNDArray.h: Provide decls. | |
4908 * chNDArray.cc (charNDArray::cat): New function. | |
4909 * chNDArray.h: Provide decls. | |
4910 | |
4756 | 4911 2004-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
4912 | |
4913 * Array.cc (maybe_delete_elements_2): Allow X(n) = [] for 2-d X. | |
4914 (Array<T>assign2): Also call maybe_delete_elements for single | |
4915 index when rows and columns or LHS are both greater than 1. | |
4916 | |
4755 | 4917 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
4918 | |
4919 * Array.cc (Array<T>::maybe_delete_elements): | |
4920 Check for index out of bounds. Handle one index. | |
4921 | |
4922 * Array.cc (Array<T>::indexN): Use dim_vector (0, 0) instead of | |
4923 dim_vector (0) to create empty return vector. | |
4924 | |
4749 | 4925 2004-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
4926 | |
4927 * Array.cc (Array<T>::assignN): Don't crash if trying to resize a | |
4928 non-empty LHS when the number of lhs dimensions is less than the | |
4929 number of indices. Detect error if attempting to resize non-empty | |
4930 LHS with colon indices. | |
4931 | |
4745 | 4932 2004-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
4933 | |
4747 | 4934 * Array.cc (Array<T>::resize_and_fill): Don't bother to assign any |
4935 values unless the length of the new array is greater than 0. | |
4936 (Array<T>::resize_no_fill): Likewise. | |
4937 | |
4938 * Array-util.cc (index_in_bounds): Also return false if ra_idx(i) | |
4939 is equal to dimensions(i). | |
4940 | |
4941 * Array-util.h, Array-util.cc (equal_arrays, any_zero_len, | |
4942 get_zero_len_size, number_of_elements): | |
4943 Delete unused functions. | |
4944 | |
4945 * Array-util.cc (get_ra_idx): Use dim_vector::numel instead of | |
4946 number_of_elements function. | |
4947 * Array.cc (Array<T>::indexN): Likewise. | |
4948 | |
4949 * Array.cc (Array<T>::indexN): Use dim_vector::operator == instead | |
4950 of equal_arrays function. | |
4951 (Array<T>::index, Array<T>::indexN, Array<T>::assignN) Use | |
4952 dim_vector::any_zero instead of any_zero_len function. | |
4953 | |
4954 * Array.cc (Array<T>::assignN): Eliminate special case for empty index. | |
4955 Don't skip reshaping and resizing if RHS is empty. | |
4956 | |
4746 | 4957 * Array.cc (Array<T>::assignN): Simplify loop for array assignment. |
4958 Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. | |
4747 | 4959 Delete unused variables is_colon and is_colon_equiv. |
4746 | 4960 Correctly resize for expressions like x(:,:,2) = ones(3,3) when |
4961 LHS is not yet defined. | |
4745 | 4962 Error for resizing if number of indices is less than number of LHS |
4963 dimensions. | |
4964 | |
4746 | 4965 * Array.cc (Array<T>::maybe_delete_elements): Maybe warn about |
4966 Fortran-style indexing. | |
4967 | |
4743 | 4968 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
4969 | |
4970 * Array.cc (Array<T>::assignN): Simplify. | |
4971 Allow assignments to succeed if number if indices is less than the | |
4972 number of RHS dimensions. | |
4973 | |
4738 | 4974 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
4975 | |
4741 | 4976 * Array.cc (Array<T>::maybe_delete_elements): Reshape LHS |
4977 when number of indices is less than number of dimensions. | |
4978 | |
4979 * Array.cc (Array<T>::assignN, Array<T>::maybe_delete_elements): | |
4980 Remove unsued variable lhs_inc. | |
4981 | |
4740 | 4982 * Array.cc (Array<T>::maybe_delete_elements): Declare idx_is_colon |
4983 and idx_is_colon_equiv Array<int> instead of dim_vector. | |
4984 | |
4985 * Array.cc (Array<T>::assignN): Compute new dims in a cleaner way. | |
4986 | |
4738 | 4987 * Array.cc (Array<T>::index): Check for frozen_lengths.length () |
4988 == n_dims before checking to see if all indices are colon_equiv. | |
4989 | |
4736 | 4990 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
4991 | |
4992 * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for | |
4993 deleting elements. | |
4737 | 4994 (Array<T>::index): Remove trailing singletons in ra_idx, but leave |
4995 at least ndims elements. | |
4736 | 4996 |
4735 | 4997 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
4998 | |
4999 * Array.cc (Array<T>::assignN): Accept assignment of a vector | |
5000 oriented differently from the index. | |
5001 | |
5002 * dim-vector.h (dim_vector::squeeze): Return value always has at | |
5003 least two dimensions. | |
5004 | |
4733 | 5005 2004-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5006 | |
4735 | 5007 * dim-vector.h (dim_vector::squeeze): New function. |
5008 (Array<T>::assignN): Use it instead of chop_trailing_singltons for | |
5009 deciding whether the assignment conforms. | |
5010 | |
4733 | 5011 * Array.cc (Array<T>::assignN): Simplify dimension check by |
5012 comparing rhs_dims and frozen_len sans trailing singletons. | |
5013 | |
4732 | 5014 2004-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5015 | |
5016 * idx-vector.cc (tree_to_mat_idx): New arg, conversion_error. | |
5017 Call error handler and return conversion_error == true if arg is | |
5018 not integer. | |
5019 (IDX_VEC_REP::idx_vector_rep): Exit early if conversion_error. | |
5020 | |
4730 | 5021 2004-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5022 | |
5023 * boolNDArray.h (boolNDArray::boolNDArray): Declare dim_vector | |
5024 reference arg const. | |
5025 | |
5026 2004-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5027 | |
5028 * Array-flags.cc: Include Array-flags.h, not Array.h. Doh. | |
5029 | |
4729 | 5030 2004-01-30 Jakub Bogusz <qboosh@pld-linux.org> |
5031 | |
5032 * Array-flags.h (liboctave_wfi_flag, liboctave_wrore_flag): | |
5033 Now bool, to match definition in Array-flags.cc. | |
5034 | |
4725 | 5035 2004-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5036 | |
4726 | 5037 * file-ops.cc: Include <vector> instead of <memory> for new |
5038 definition of OCTAVE_LOCAL_BUFFER. | |
5039 | |
4725 | 5040 * EIG.cc, EIG.h (EIG::init, EIG::symmetric_init, EIG::hermitian_init): |
5041 New arg, calc_eigenvectors. | |
5042 * EIG.h (EIG:EIG): New optional arg, calc_eigenvectors. | |
5043 Based on patch from David Bateman <dbateman@free.fr>. | |
5044 | |
4716 | 5045 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5046 | |
5047 * Array.cc (Array<T>::assign2, Array<T>::assignN): | |
5048 For X(I) = RHS, don't restrict I to fewer elements than X. | |
5049 | |
5050 * Array.cc (Array<T>::assign2): Simplify indexing for X(I) = RHS case. | |
5051 | |
4711 | 5052 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
5053 | |
4714 | 5054 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): |
5055 Simplify calculation of number of elements in retval. | |
5056 | |
4711 | 5057 * Array.cc (Array<T>::assignN): Eliminate unnecessray code for |
5058 filling when RHS is scalar and dimension lengths agree. | |
5059 | |
4710 | 5060 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5061 | |
4713 | 5062 * Makefile.in (distclean): Remove mx-ops.h, $(MX_OP_INC), |
5063 $(VX_OP_INC), $(MX_OP_SRC), $(VX_OP_SRC), and $(OPTS_INC). | |
4710 | 5064 |
4707 | 5065 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
5066 | |
4709 | 5067 * Array.cc (Array<T>::resize_and_fill): Correctly copy old elements. |
5068 (Array<T>::assign2): Check for RHS dimensions larger than 2. | |
4707 | 5069 |
4702 | 5070 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> |
5071 | |
4703 | 5072 * Array.h (Array<T>::chop_trailing_singletons): New function. |
5073 * Array.cc (Array<T>::assignN): Use it on LHS. | |
5074 | |
5075 * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. | |
4702 | 5076 Retrieve scalar element by passin 0 instead of an index array. |
4703 | 5077 Check for singleton dimensions where RHS is matrix or higher dimension. |
5078 Make sure index is in bounds. | |
4702 | 5079 |
4698 | 5080 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5081 | |
5082 * lo-ieee.cc (octave_ieee_init): Ensure that octave_Inf, | |
5083 octave_NaN, and octav_NA values are always initialized. Check | |
5084 floating point format, not HAVE_ISINF, HAVE_FINITE, or HAVE_ISNAN | |
5085 to decide whether to do IEEE initialization. | |
5086 | |
4687 | 5087 2004-01-06 David Bateman <dbateman@free.fr> |
5088 | |
5089 * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, | |
5090 ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, | |
5091 ComplexNDArray::too_large_for_float): New functions | |
5092 | |
5093 * CNDArray.cc (operator <<, operator >>): New IO operators. | |
5094 * CNDArray.h: Provide decls. | |
5095 * dNDArray.cc (operator <<, operator >>): New IO operators. | |
5096 * dNDArray.h: Provide decls. | |
5097 | |
4673 | 5098 2003-12-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5099 | |
4674 | 5100 * mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since |
5101 they are already defined in boolNDArray.cc. | |
5102 | |
4673 | 5103 * Array-util.cc (get_zero_len_size): Delete. |
5104 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
5105 Handle zero-length result dimensions the same as empty original | |
5106 indices. | |
5107 | |
5108 2003-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5109 | |
5110 * dim-vector.h (dim_vector::chop_trailing_singleton_dims, | |
5111 dim_vector::dim_vector_rep::chop_trailing_singleton_dims): | |
5112 New functions. | |
5113 * Array.cc (ArrayN<T>::indexN): Use it. | |
5114 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): Likewise. | |
5115 | |
4669 | 5116 2003-11-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
5117 | |
5118 * boolNDArray.cc: Define BOOL ops. Define mixed CMP ops. | |
5119 * boolNDArray.h: Declare BOOL ops. Declare mixed CMP ops. | |
5120 | |
5121 2003-11-25 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5122 | |
5123 * mk-ops.awk: Also emit #include "Array-util.h". | |
5124 | |
5125 * mx-ops: Add bool, boolMatrix, and boolNDarray types. | |
5126 Add bnda x bnda, b x bnda, and bnda x b ops. | |
5127 | |
5128 * MArray-misc.cc: Delete. | |
5129 * Makefile.in (MATRIX_SRC): Remove it from the list. | |
5130 | |
5131 * Array-util.h, Array-util.cc (gripe_nonconformant): Move here from | |
5132 MArray.h, MArray2.h, MArrayN.h, and MArray-misc.cc. | |
5133 | |
4655 | 5134 2003-11-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5135 | |
4663 | 5136 * dbleQR.cc (QR::init): Use separate pwork pointers. |
5137 * CmplxQR.cc (ComplexQR::init): Likewise. | |
5138 | |
5139 * oct-group.cc (octave_group::getgrnam): Pass correct args to | |
5140 two-arg getgrnam version. | |
5141 | |
4657 | 5142 * Array.cc (assignN): Allow single indexing to work. |
4661 | 5143 (Array<T>::range_error (const char*, const Array<int>&)): |
5144 Report index values. | |
5145 | |
5146 * Array.cc (Array<T>::index): Delete unused arg names. | |
4662 | 5147 * ODESSA.cc (odessa_j): Likewise. |
5148 * DASRT.cc (ddasrt_f, ddasrt_g): Likewise. | |
5149 * DASPK.cc (ddaspk_psol): Likewise. | |
5150 * lo-mappers.cc (imag): Likewise. | |
4663 | 5151 * Array-util.cc (get_zero_len_size): Likewise. |
5152 * kpse.cc (path_search, path_find_first_of): Likewise. | |
5153 * cmd-edit.cc (do_generate_filename_completions): Likewise. | |
4656 | 5154 |
4655 | 5155 * dim-vector.h (dim_vector::all_ones): New function. |
5156 | |
4646 | 5157 2003-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5158 | |
4653 | 5159 * idx-vector.h (idx_vector::orig_empty): Check orig_dims for |
5160 zeros, not orig_rows or orig_columns. | |
5161 (idx_vector::idx_vector_rep::orig_rows): Define using orig_dims. | |
5162 (idx_vector::idx_vector_rep::orig_columns): Likewise. | |
5163 | |
5164 * idx-vector.cc (idx_vector::idx_vector_rep::orig_nr, | |
5165 (idx_vector::idx_vector_rep::orig_nc): Delete. | |
5166 | |
5167 * idx-vector.cc (idx_vector::idx_vector_rep): | |
5168 Use initialization lists for constructors. | |
5169 | |
4651 | 5170 * Array.cc (Array<T>::indexN): Correctly handle single colon index. |
5171 Omit special case for ra_idx.capacity () == 1. | |
5172 Always allow single index for matrix args with optional warning. | |
5173 | |
4650 | 5174 * idx-vector.h, idx-vector.cc: Convert boolMatrix functions to use |
5175 boolNDArray. Likewise, convert Matrix functions to use NDArray. | |
5176 | |
4648 | 5177 * Array-so.cc: New file. Move instantiations here from so-array.h. |
5178 * Makefile.in (TI_SRC): Add it to the list. | |
5179 | |
4646 | 5180 * MArray-defs.h (DO_VS_OP2, DO_VV_OP2): Accept args for element |
5181 type and the names of the left and right operands. Change all uses. | |
5182 | |
5183 * so-array.cc, so-array.h: New files. Move streamoff_array here | |
5184 from src/ov-streamoff.h and src/ov-streamoff.cc. | |
5185 | |
4645 | 5186 2003-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5187 | |
5188 * MArrayN.cc (operator -=, operator +=): Check dimensions, not | |
5189 just length. | |
5190 | |
5191 * Array2.h, Array3.h, DiagArray2.h, DiagArray2.cc, MDiagArray2.h, | |
5192 ArrayN.h: Add this-> or Base:: qualifiers for references to | |
5193 non-dependent member functions and data as needed. | |
5194 | |
5195 * DiagArray2.h, DiagArray2.cc: Delete unused code. | |
5196 | |
5197 * Array2.h (Array2<T>::operator =): Don't copy dimensions here. | |
5198 * Array3.h (Array3<T>::operator =): Likewise. | |
5199 * DiagArray2.h (DiagArray2<T>::operator =): Likewise. | |
5200 Include Array.h, not Array2.h. | |
5201 | |
4634 | 5202 2003-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5203 | |
4636 | 5204 * str-vec.cc (list_in_columns): Fix previous change. |
5205 | |
4635 | 5206 * dim-vector.h (dim_vector::num_ones): New function. |
5207 * Array.cc (maybe_delete_elements): Use it instead of | |
5208 num_ones (const Array<int>&). | |
5209 | |
5210 * Array.cc (assignN): Omit dubious check of singleton dimensions. | |
5211 | |
4634 | 5212 * dNDArray.cc (NDArray::all_elements_are_int_or_inf_or_nan, |
5213 NDArray::any_element_is_inf_or_nan, NDArray::too_large_for_float): | |
5214 New functions. | |
5215 * dNDArray.h: Provide decls. | |
5216 | |
5217 * dMatrix.h (Matrix::any_element_is_negative, | |
5218 Matrix::any_element_is_inf_or_nan, Matrix::too_large_for_float, | |
5219 Matrix::all_elements_are_int_or_inf_or_nan, Matrix::all_integers): | |
5220 Simplify. | |
5221 | |
5222 * dNDArray.cc (NDArray::abs): Make it work for N-d arrays. | |
5223 * CNDArray.cc (ComplexNDArray::abs): Likewise. | |
5224 | |
5225 * dNDArray.cc (real, imag): New functions. | |
5226 * dNDArray.h: Provide decls. | |
5227 | |
4630 | 5228 2003-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5229 | |
5230 * Makefile.in (TEMPLATE_SRC): Move MArrayN.cc here from MATRIX_SRC. | |
5231 | |
4625 | 5232 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5233 | |
5234 * Array.h (Array<T>::resize (int, const T&)): Reinstate. | |
5235 * MArray.h (resize): Delete. | |
5236 * MArray2.h (resize): Delete. | |
5237 * DASRT.cc (DASRT::integrate): Use resize, not resize_and_fill. | |
5238 * ODESSA (ODESSA::integrate): Likewise. | |
5239 | |
4616 | 5240 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5241 | |
5242 * Makefile.in (dist): Depend on stamp-prereq. | |
5243 | |
4605 | 5244 2003-11-12 John Eaton <jwe@bevo.che.wisc.edu> |
5245 | |
5246 * mach-info.c (oct_mach_info::init_float_format) [CRAY]: | |
5247 Kluge to make it work. | |
4604 | 5248 |
5249 * lo-ieee.cc (octave_ieee_init): Set octave_Inf, octave_NaN, and | |
5250 octave_NA to DBL_MAX if native float format is vaxd, vaxg, or cray. | |
5251 | |
5252 * cmd-edit.cc (gnu_readline::do_generate_filename_completions, | |
5253 default_command_editor::do_generate_filename_completions, | |
5254 command_editor::generate_filename_completions): New functions. | |
5255 * cmd-edit.h: Provide decls. | |
5256 * oct-rl-edit.c (octave_rl_filename_completion_function): New | |
5257 function. | |
5258 * oct-rl-edit.h: Provide decl. | |
5259 | |
4593 | 5260 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5261 | |
4594 | 5262 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY_AND_ASSIGN, |
5263 INSTANTIATE_ARRAY): New macros. | |
5264 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
5265 Array-idx-vec.cc, Array-s.cc, Array-str.cc, ODESSA.cc: Use them. | |
5266 | |
4593 | 5267 * Array.h (Array<T>::ipermute): New function. |
5268 | |
5269 2003-11-11 Petter Risholm <risholm@stud.ntnu.no> | |
5270 | |
5271 * Array.cc (Array<T>::permute): New function. | |
5272 * Array.h: Provide decl. | |
5273 | |
5274 * Array-util.cc (calc_permutated_idx): New function. | |
5275 * Array-util.h: Provide decl. | |
5276 | |
4587 | 5277 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5278 | |
4592 | 5279 * Array.cc (Array<T>::index2): Return value has orientation of |
5280 indexed value if indexing a vector with a bool matrix. | |
5281 | |
4589 | 5282 * ArrayN.h (ArrayN<T>::get_size): Delete. |
5283 | |
4588 | 5284 * Array.cc, ArrayN.cc, dNDArray.cc, CNDArray.cc, boolNDArray.cc, |
5285 chNDArray.cc: Include Array-util.h instead of ArrayN-inline.h. | |
5286 | |
5287 * ArrayN-inline.h: Delete. | |
5288 * Array-util.h, Array-util.cc: New files, from ArrayN-inline.h. | |
5289 * Makefile.in: Fix the appropriate lists. | |
5290 | |
4587 | 5291 * Array.cc, Array.h, ArrayN.h, CMatrix.cc, CNDArray.h, |
5292 CRowVector.cc, CmplxQR.cc, CollocWt.h, DASPK.h, DASRT.h, DASSL.h, | |
5293 FEGrid.cc, LP.h, LSODE.h, MArrayN.h, ODE.h, ODES.h, ODESSA.cc, | |
5294 boolNDArray.h, chNDArray.h, dMatrix.cc, dNDArray.h, dRowVector.cc, | |
5295 dbleQR.cc, kpse.cc, oct-rl-hist.c, str-vec.cc, str-vec.h: | |
5296 Avoid -Wshadow warnings. | |
5297 | |
5298 2003-11-08 John Eaton <jwe@bevo.che.wisc.edu> | |
4585 | 5299 |
5300 * Array.h (Array<T>::nil_rep): Qualify return type with typename. | |
5301 | |
5302 * mk-ops.awk: Delete elements of bool_headers array individually. | |
5303 | |
5304 2003-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5305 | |
5306 * Array.cc (maybe_delete_elements): Rename arg idx to ra_idx. | |
5307 | |
4584 | 5308 2003-10-31 Petter Risholm <risholm@stud.ntnu.no> |
5309 | |
5310 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): New macro. | |
5311 | |
5312 * CNDArray.cc, CNDArray.h (ComplexNDArray::cumsum, | |
5313 ComplexNDArray::cumprod): Return ComplexNDArray. Handle N-d arrays. | |
5314 * dNDArray.cc, dNDArray.h (NDArray::cumsum, NDArray::cumprod): | |
5315 Return NDArray. Handle N-d arrays. | |
5316 | |
4575 | 5317 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
5318 | |
4583 | 5319 * LSODE.cc (LSODE::do_integrate): Avoid name conflict on systems |
5320 that upcase Fortran names by calling dlsode instead of lsode. | |
5321 | |
5322 * ODESSA.cc (ODESSA::do_integrate): Avoid name conflict on systems | |
5323 that upcase Fortran names by calling dodessa instead of odessa. | |
5324 | |
4577 | 5325 * file-ops.cc (file_ops::symlink): Cope with systems that expect |
5326 non-const args for symlink system call. | |
5327 (file_ops::readlink): Likewise, for readlink. | |
5328 | |
4575 | 5329 * DASRT.cc (DASRT::integrate): Fix typo in Fortran function name. |
5330 | |
4574 | 5331 2003-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5332 | |
5333 * mach-info.h (oct_mach_info): Prefix enum elements with flt_fmt_. | |
5334 Change all uses. | |
5335 | |
4569 | 5336 2003-10-29 Petter Risholm <risholm@stud.ntnu.no> |
5337 | |
5338 * dNDArray.cc (NDArray::cumprod, NDArray::cumsum, NDArray::prod, | |
5339 NDArray::sum, NDArray::sumsq, NDArray::abs): New functions. | |
5340 * dNDArray.h: Provide decls. | |
5341 * CNDArray.cc (ComplexNDArray::cumprod, ComplexNDArray::cumsum, | |
5342 ComplexNDArray::prod, ComplexNDArray::sum, ComplexNDArray::sumsq, | |
5343 ComplexNDArray::abs): New functions. | |
5344 * CNDArray.h: Provide decls. | |
5345 | |
5346 * mx-inlines.cc (MX_ND_REDUCTION): Rename from MX_ND_ANY_ALL. | |
5347 Generalize to handle other reduction operations. | |
5348 (MX_ND_REAL_OP_REDUCTION, MX_ND_COMPLEX_OP_REDUCTION, | |
5349 MX_ND_ALL_ANY_REDUCTION): New macros. | |
5350 | |
4565 | 5351 2003-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5352 | |
4567 | 5353 * Array.cc (Array<T>::reshape): New function. |
5354 * Array.h: Provide decl. | |
5355 | |
5356 * dim-vector.h (dim_vector::numel): New function. | |
5357 | |
4565 | 5358 * dim-vector.h (dim_vector_rep::dim_vector_rep (int, const |
5359 dim_vector&)): Correctly handle case of n < dv->ndims. | |
5360 | |
4559 | 5361 2003-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5362 | |
5363 * dim-vector.h (dim_vector::any_zero): New function. | |
5364 (dim_vector::str): New default arg, sep. | |
5365 | |
5366 * Array.h (Array<T>::numel): New function. | |
5367 | |
4556 | 5368 2003-10-27 Petter Risholm <risholm@stud.ntnu.no> |
5369 | |
5370 * mx-inlines.cc (MX_ND_ALL_EXPR, MX_ND_ANY_EXPR, | |
5371 MX_ND_ALL_EVAL, MX_ND_ANY_EVAL, MX_ND_ALL_ANY): New macros. | |
5372 * dNDArray.h (NDArray::all, NDArray::any): Return type now boolNDArray. | |
5373 * CNDArray.h (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
5374 * boolNDArray.h (boolNDArray::all, boolNDArray::any): Likewise. | |
5375 * chNDArray.h (charNDArray::all, charNDArray::any): Likewise. | |
5376 * dNDArray.cc (NDArray::all, NDArray::any): Make them work. | |
5377 * CNDArray.cc (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
5378 * boolNDArray.cc (boolNDArray::all, boolNDArray::any): Likewise. | |
5379 * chNDArray.cc (charNDArray::all, charNDArray::any): Likewise. | |
5380 | |
4552 | 5381 2003-10-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
5382 | |
4553 | 5383 * Array.cc (Array<T>::resize_and_fill): Allow number of dimensions |
5384 to change. From Petter Risholm <risholm@stud.ntnu.no>. | |
5385 | |
4552 | 5386 * oct-rand.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, |
5387 CmplxAEPBAL.cc CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
5388 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, | |
5389 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, ODESSA.cc, | |
5390 Quad.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
5391 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
5392 dbleSCHUR.cc, dbleSVD.cc, lo-specfun.cc: | |
5393 Use new F77 arg macros in declarations of external Fortran | |
5394 subroutines and for calling them. | |
5395 | |
4548 | 5396 2003-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5397 | |
5398 * Array.cc (Array<T>::resize_no_fill (const dim_vector&)): | |
5399 Allow number of dimensions to change. | |
5400 (Array<T>::resize_no_fill (int, int)): Require ndims to be 0 or 2. | |
5401 (Array<T>::resize_and_fill (int, int, const T&)): Likewise. | |
5402 (Array<T>::resize_no_fill (int, int, int)): Require ndims to be 0 or 3. | |
5403 (Array<T>::resize_and_fill (int, int, int, const T&)): Likewise. | |
5404 (Array<T>::transpose): Require ndims to be 2. | |
5405 (Array<T>::index2): Likewise. | |
5406 (Array<T>::index (idx_vector&, idx_vector&, int, const T&)): Likewise. | |
5407 (Array<T>::maybe_delete_elements_2): Likewise. | |
5408 (Array<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Likewise. | |
5409 (Array<T>::index1): Use resize_and_fill. | |
5410 (MAYBE_RESIZE_ND_DIMS): Likewise. | |
5411 | |
5412 * ODESSA.cc (ODESSA::integrate): Use resize_and_fill for x_s_out. | |
5413 | |
5414 * MArray2.h (MArray2<T>::resize (int, int)): New function. | |
5415 (MArray2<T>::resize (int, int, const T&)): New function. | |
5416 | |
5417 * MArray.h (MArray<T>::resize (int)): New function. | |
5418 (MArray<T>::resize (int, const T&)): New function. | |
5419 | |
5420 * DASRT.cc (DASRT::integrate): Use resize_and_fill for jroot. | |
5421 | |
5422 * DASPK-opts.in: Use single-arg resize for initial condition | |
5423 heuristics. | |
5424 | |
5425 * dim-vector.h (class dim_vector): Now reference counted. | |
5426 (dim_vector_rep::elem): Use assert to check that index is in bounds. | |
5427 | |
4544 | 5428 2003-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5429 | |
4545 | 5430 * Array.cc (Array<T>::squeeze): Delete redundant retval decl. |
5431 | |
4544 | 5432 * mx-cdm-cm.cc, mx-cdm-cm.h, mx-cdm-cs.cc, mx-cdm-cs.h, |
5433 mx-cdm-dm.cc, mx-cdm-dm.h, mx-cdm-m.cc, mx-cdm-m.h, mx-cdm-s.cc, | |
5434 mx-cdm-s.h, mx-cm-cdm.cc, mx-cm-cdm.h, mx-cm-dm.cc, mx-cm-dm.h, | |
5435 mx-cm-m.cc, mx-cm-m.h, mx-cm-s.cc, mx-cm-s.h, mx-cs-cdm.cc, | |
5436 mx-cs-cdm.h, mx-cs-dm.cc, mx-cs-dm.h, mx-cs-m.cc, mx-cs-m.h, | |
5437 mx-dm-cdm.cc, mx-dm-cdm.h, mx-dm-cm.cc, mx-dm-cm.h, mx-dm-cs.cc, | |
5438 mx-dm-cs.h, mx-dm-m.cc, mx-dm-m.h, mx-dm-s.cc, mx-dm-s.h, | |
5439 mx-m-cdm.cc, mx-m-cdm.h, mx-m-cm.cc, mx-m-cm.h, mx-m-cs.cc, | |
5440 mx-m-cs.h, mx-m-dm.cc, mx-m-dm.h, mx-ops.h, mx-s-cdm.cc, | |
5441 mx-s-cdm.h, mx-s-cm.cc, mx-s-cm.h, mx-s-dm.cc, mx-s-dm.h, | |
5442 vx-ccv-cv.cc, vx-ccv-cv.h, vx-ccv-s.cc, vx-ccv-s.h, vx-crv-rv.cc, | |
5443 vx-crv-rv.h, vx-crv-s.cc, vx-crv-s.h, vx-cs-cv.cc, vx-cs-cv.h, | |
5444 vx-cs-rv.cc, vx-cs-rv.h, vx-cv-ccv.cc, vx-cv-ccv.h, vx-cv-cs.cc, | |
5445 vx-cv-cs.h, vx-rv-crv.cc, vx-rv-crv.h, vx-rv-cs.cc, vx-rv-cs.h, | |
5446 vx-s-ccv.cc, vx-s-ccv.h, vx-s-crv.cc, vx-s-crv.h: Delete. These | |
5447 files are now automatically generated. | |
5448 | |
5449 * Makefile.in ($(VX_OP_INC), $(VX_OP_SRC), $(MX_OP_INC), | |
5450 $(MX_OP_SRC)): Generate lists with new mk-ops.awk script. | |
5451 Add rules to generate these files and mx-ops.h. | |
5452 (stamp-prereq): Depend on these files. | |
5453 | |
5454 * mx-ops, vx-ops, mk-ops.awk: New files. | |
5455 * Makefile.in (DISTFILES): Add them to the list. | |
5456 | |
4543 | 5457 2003-10-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5458 | |
5459 * NDArray.cc (NDArray::NDArray (const boolNDArray), | |
5460 NDArray::NDArray (const charNDArray)): New constructors. | |
5461 (NDArray::operator !): New function. | |
5462 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
5463 NDND_CMP_OPS, NDND_BOOL_OPS. | |
5464 | |
5465 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const NDArray&), | |
5466 ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
5467 ComplexNDArray::ComplexNDArray (const charNDArray&)): | |
5468 New constructors. | |
5469 (ComplexNDArray::operator !): New function. | |
5470 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
5471 NDND_CMP_OPS, NDND_BOOL_OPS. | |
5472 | |
5473 * ArrayN.h (resize (const dim_vector&)): Fix typo. | |
5474 | |
5475 * boolNDArray.cc (boolNDArray::operator !): New function. | |
5476 Provide NDND_CMP_OPS. | |
5477 | |
5478 * MArrayN.cc (operator +=, operator -=): New functions. | |
5479 Provide product and quotient functions. | |
5480 | |
5481 * MArray-misc.cc (gripe_nonconformant (const char *, dim_vector&, | |
5482 dim_vector&)): New function. | |
5483 | |
5484 * dim-vector.h (dim_vector::str, dim_vector::all_zero, | |
5485 operator ==, operator !=): New functions. | |
5486 * ArrayN.cc (operator <<): Use dim_vector::str here. | |
5487 | |
5488 * Array.cc (Array<T>::resize_no_fill, Array<T>::resize_and_fill): | |
5489 No need to save old dimensions. | |
5490 | |
5491 * oct-rand.cc (MAKE_RAND_ND_ARRAY): New macro. | |
5492 (octave_rand::nd_array): New function. | |
5493 * oct-rand.h (octave_rand::nd_array): Provide decl. | |
5494 | |
5495 * mx-op-defs.h (NDCMP_OP_DECL, NDBOOL_OP_DECL, NDS_BIN_OP_DECLS, | |
5496 NDS_BIN_OP, NDS_BIN_OPS, NDS_CMP_OP_DECLS, NDS_CMP_OP, | |
5497 NDS_CMP_OPS, NDS_BOOL_OP_DECLS, NDS_BOOL_OP, NDS_BOOL_OPS, | |
5498 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_BIN_OP, SND_BIN_OPS, | |
5499 SND_CMP_OP_DECLS, SND_CMP_OP, SND_CMP_OPS, SND_BOOL_OP_DECLS, | |
5500 SND_BOOL_OP, SND_BOOL_OPS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
5501 NDND_BIN_OP, NDND_BIN_OPS, NDND_CMP_OP_DECLS, NDND_CMP_OP, | |
5502 NDND_CMP_OPS, NDND_BOOL_OP_DECLS, NDND_BOOL_OP, NDND_BOOL_OPS, | |
5503 NDND_OP_DECLS): New macros. | |
5504 * mx-cm-m.h, mx-cm-s.h, mx-cs-m.h, mx-m-cm.h, mx-m-cs.h, | |
5505 mx-s-cm.h, mx-cm-m.cc, mx-cm-s.cc, mx-cs-m.cc, mx-m-cm.cc, | |
5506 mx-m-cs.cc, mx-s-cm.cc: Use them. | |
5507 | |
5508 * mx-defs.h (class NDArray, class ComplexNDArray, class | |
5509 boolNDArray, class charNDArray): New forward decls. | |
5510 | |
4534 | 5511 2003-10-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5512 | |
5513 * Array.cc (assign2): No error (but don't do anything either) for | |
5514 expressions like x([],j) = scalar. | |
5515 | |
4532 | 5516 2003-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5517 | |
4533 | 5518 * Array.cc (assignN): Allow lhs(:) = scalar. |
5519 | |
4532 | 5520 * CNDArray.cc (ComplexNDArray::increment_index): New function. |
5521 * dNDArray.cc (NDArray::increment_index): Likewise. | |
5522 * boolNDArray.cc (boolNDArray::increment_index): Likewise. | |
5523 * chNDArray.cc (charNDArray::increment_index): Likewise. | |
5524 | |
5525 * dim-vector.h (rows, cols): Delete unused data members. | |
5526 | |
5527 * Array.cc (Array<T>::get_size): Fix thinko. | |
5528 | |
5529 2003-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5530 | |
5531 * Array.cc (Array<T>::squeeze): New function. | |
5532 * CNDArray.h (ComplexNDArray::squeeze): Likewise. | |
5533 * dNDArray.h (NDArray::squeeze): Likewise. | |
5534 * boolNDArray.h (boolNDArray::squeeze): Likewise. | |
5535 * chNDArray.h (charNDArray::squeeze): Likewise. | |
5536 | |
4530 | 5537 2003-10-06 Petter Risholm <risholm@stud.ntnu.no> |
5538 | |
5539 * Array.cc (ArrayN<T>::indexN): New definition. | |
5540 * Array.h (Array<T>::indexN): Provide decl. | |
5541 * Array.cc (ArrayN<T>::index (idx_vector&, int, const T&): | |
5542 Call indexN if more than 2 indices. | |
5543 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): | |
5544 Make it (mostly) work. | |
5545 * ArrayN-inline.h (number_of_elements, get_ra_idx, short_freeze): | |
5546 New functions. | |
5547 | |
4527 | 5548 2003-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5549 | |
5550 * cmd-edit.cc (do_readline): Pass eof to octave_fgetl. | |
5551 * lo-utils.cc (octave_fgets, octave_fgetl): New overloaded | |
5552 versions with eof arg. | |
5553 | |
4518 | 5554 2003-09-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5555 | |
5556 * Array.h (dimensions): Now public. | |
5557 template <class LT, class RT> | |
5558 (assign (Array<LT>&, const Array<RT>&, const LT&), | |
5559 assign1 (Array<LT>&, const Array<RT>&, const LT&), | |
5560 assign2 (Array<LT>&, const Array<RT>&, const LT&), | |
5561 assignN (Array<LT>&, const Array<RT>&, const LT&), | |
5562 resize_no_fill (int), | |
5563 resize_no_fill (int, int), | |
5564 resize_no_fill (int, int, int), | |
5565 resize_no_fill (const dim_vector&), | |
5566 resize_and_fill (int, const T&), | |
5567 resize_and_fill (int, int, const T&), | |
5568 resize_and_fill (int, int, int, const T&), | |
5569 resize_and_fill (const dim_vector&, const T&)): Now public. | |
5570 | |
5571 * Array.cc: Include <climits>. | |
5572 | |
4513 | 5573 2003-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5574 | |
4517 | 5575 * Array.cc: Merge Array-idx.h. |
5576 * Array-idx.h: Delete. | |
5577 | |
4514 | 5578 * chNDArray.h, chNDArray.cc, boolNDArray.h, boolNDArray.cc: New files. |
5579 | |
4513 | 5580 * Array.h, Array-idx.h, Array.cc: Fold all N-d functionality here. |
5581 Turn inheritance hierarchy upside down (2-d and 3-d arrays are now | |
5582 just special cases of the general purpose N-d Array object). | |
5583 | |
5584 * dim-vector.h: New file. Use dim_vector objects instead of | |
5585 ints or Array<int> objects to represent the size of Array | |
5586 objects. | |
5587 | |
5588 * MArray-defs.h (INSTANTIATE_MARRAYN_FRIENDS): New macro. | |
5589 | |
5590 * Array2-idx.h, Array3-idx.h, Array2.cc, Array3.cc: Delete. | |
5591 | |
5592 * mx-base.h: Include NDArray header files. | |
5593 | |
5594 * MArray-C.cc, MArray-d.cc: Also instantiate ArrayN objects. | |
5595 | |
5596 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
5597 Array-s.cc: Also instantiate ArrayN objects. | |
5598 Don't instantiate assign funcitons for Array2 objects. | |
5599 | |
5600 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Signal error with | |
5601 liboctave_error_handler, not cerr. | |
5602 * CMatrix.cc (ComplexMatrix::diag): Likewise. | |
5603 * dDiagMatrix.cc (DiagMatrix::diag): Likewise. | |
5604 * dMatrix.cc (Matrix::diag): Likewise. | |
5605 | |
5606 * Array-flags.cc, Array.cc, Array.h, Array2.h, Array3.h, ArrayN.h: | |
5607 Omit checks for HEAVYWEIGHT_INDEXING. | |
5608 | |
5609 2003-09-12 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5610 | |
5611 * mx-base.h: Include CNDarray.h. Include dNDArray.h, not NDArray.h. | |
5612 | |
5613 * CNDARray.h, CNDArray.cc: New files. | |
5614 * Makefile.in: Add them to the appropriate lists. | |
5615 | |
5616 * dNDArray.h: Rename from NDArray.h. | |
5617 * dNDArray.cc: Rename from NDArray.cc. | |
5618 * Makefile.in: Rename them here too. | |
5619 | |
4507 | 5620 2003-09-10 Petter Risholm <risholm@stud.ntnu.no> |
5621 | |
5622 * mx-base.h: Include NDArray.h, not ArrayN.h. | |
5623 | |
5624 * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. | |
5625 * Makefile.in: Add them to the appropriate lists. | |
5626 | |
5095 | 5627 2003-09-09 David Bateman <dbateman@free.fr> |
4506 | 5628 |
5629 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, | |
5630 biry): Always request scaled results from AMOS functions and | |
5631 perform reverse scaling on results if scaled result not requested | |
5632 by user. | |
5633 | |
5634 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5635 | |
5636 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
5637 | |
4505 | 5638 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5639 | |
5640 * Array-d.cc: Instantiate assign functions. | |
5641 | |
4504 | 5642 2003-09-09 Petter Risholm <risholm@stud.ntnu.no> |
5643 | |
5644 * ArrayN-idx.h (vector_equivalent, equal_arrays): New functions. | |
5645 (get_elt_idx): Index ra_idx correctly. | |
5646 | |
5647 * ArrayN-inline.h (index_in_bounds): Index is also condidered in | |
5648 bounds if it is exactly on the bound. | |
5649 | |
5650 * ArrayN.cc (ArrayN<T>::maybe_delete_dims): New function. | |
5651 * ArrayN.h: Provide decl. | |
5652 | |
5653 * ArrayN.h (ArrayN<T>::ArrayN<T> (const Matrix&)): New constructor. | |
5654 | |
5655 * idx-vector.h (idx_vector::orig_dims): New member variable. | |
5656 (idx_vector::idx_vector_rep::orig_dimensions): New function. | |
5657 (idx_vector::orig_dimensions): New function. | |
5658 | |
4497 | 5659 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5660 | |
5661 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
5662 | |
4496 | 5663 2003-09-04 Petter Risholm <risholm@stud.ntnu.no> |
5664 | |
5665 * ArrayN-idx.h (maybe_delete_elements): Implement function. | |
5666 (is_in, how_many_lgt, all_ones): New functions. | |
5667 | |
4493 | 5668 2003-09-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5669 | |
5670 * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. | |
5671 | |
5672 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> | |
5673 | |
5674 * ArrayN-inline.h: New file. | |
5675 (index_in_bounds, increment_index): Move here. | |
5676 * ArrayN.cc: From here. | |
5677 | |
5678 * ArrayN.h (maybe_delete_elements): New arg, resize_fill_value. | |
5679 * ArrayN-idx.h (assign): New function. | |
5680 | |
4490 | 5681 2003-08-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5682 | |
5683 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, airy, biry): | |
5684 Also zero imaginary part of result if real part of input value is | |
5685 zero. | |
5686 | |
4478 | 5687 2003-07-30 Heine Kolltveit <kolltvei@idi.ntnu.no> |
5688 | |
5689 * mx-base.h: Include ArrayN.h. | |
5690 | |
4476 | 5691 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> |
5692 | |
5693 * ArrayN.cc (operator <<): Corrected output. | |
5694 | |
4474 | 5695 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5696 | |
5697 * ArrayN.cc (increment_index): New arg, start_dimension. | |
5698 | |
5095 | 5699 2003-07-29 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4473 | 5700 |
5701 * ArrayN.cc (operator <<): Improve output readability. | |
5702 | |
4493 | 5703 2003-07-29 Petter Risholm <risholm@stud.ntnu.no> |
4473 | 5704 |
5705 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&, const T&)): | |
5706 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&)): | |
5707 Initialize old_len before changing size. | |
5708 | |
4472 | 5709 2003-07-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5710 | |
5711 * Makefile.in (install-lib): Use $(INSTALL), not | |
4473 | 5712 $(INSTALL_PROGRAM) for $(SHLLIB) files. |
4472 | 5713 |
4469 | 5714 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5715 | |
5716 * lo-mappers.cc (xmin, xmax): Handle NaN in a Matlab-compatible | |
5717 way. Handle NA in an R-compatible way. | |
5718 | |
5719 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Also check for lo_ieee_is_NA. | |
5720 (lo_ieee_is_NA): Don't call isnan unless HAVE_ISNAN is defined. | |
5721 | |
5722 * lo-mappers.h (octave_is_NA (const Complex&)): Provide decl. | |
5723 (octave_is_NaN_or_NA (const Complex&)): Likewise. | |
5724 | |
5725 * dMatrix.cc (Matrix::row_min, Matrix::row_max, | |
5726 Matrix::column_min, Matrix::column_max): Ignore NaNs. | |
5727 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_max, | |
5728 ComplexMatrix::column_min, ComplexMatrix::column_max): Likewise. | |
5729 | |
4461 | 5730 2003-07-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5731 | |
5732 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
5733 Pass true for resize_ok arg to freeze. | |
5734 * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
5735 Likewise. | |
5736 | |
5737 * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; | |
5738 resize_ok arg is now bool. | |
5739 * idx-vector.h (idx_vector::freeze): Likewise. | |
5740 | |
5741 * Array-flags.cc, Array-flags.h (liboctave_wrore_flag): | |
5742 Rename from liboctave_rre_flag. Now bool. | |
5743 (liboctave_wfi_flag): Now bool. | |
5744 | |
5745 * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. | |
5746 | |
5095 | 5747 2003-07-11 Russell Standish <R.Standish@unsw.edu.au> |
4459 | 5748 |
5749 * Array.h (resize_fill_value): Now a top-level template function. | |
5750 Accept object as argument. Change all uses. | |
5751 | |
4455 | 5752 2003-07-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5753 | |
5754 * Array-flags.cc, Array-flags.h (liboctave_pcv_flag): Delete. | |
5755 | |
5756 * Array2-idx.h (Array2<T>::index): Use liboctave_wfi_flag, not | |
5757 liboctave_dfi_flag. | |
5758 (assign): Likewise. For indexed assignments like X(I) = RHS with | |
5759 X undefined or empty, always create a row vector. | |
5760 | |
5761 * Array-flags.cc (liboctave_wfi_flag): Rename from liboctave_dfi_flag. | |
5762 * Array-flags.h (liboctave_wfi_flag): Ditto. | |
5763 | |
4437 | 5764 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5765 | |
5766 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
5767 Magic colon indexing always produces an object with one column. | |
5768 | |
5095 | 5769 2003-06-21 Paul Kienzle <pkienzle@users.sf.net> |
4433 | 5770 |
5771 * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. | |
5772 | |
5773 * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. | |
5774 | |
4431 | 5775 2003-06-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5776 | |
5777 * dMatrix.cc (any_element_is_negative): If new optional arg | |
5778 neg_zero is true, also return true for negative zero. | |
5779 | |
4429 | 5780 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5781 | |
5782 * DASSL.cc (DASSL::do_integrate): Set liw to 21 + n, not 20 + n. | |
5783 Handle step limit. | |
5784 * DASSL-opts.in: New option for step limit. | |
5785 | |
5095 | 5786 2003-06-16 Per Persson <persquare@mac.com> |
4429 | 5787 |
5788 * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. | |
5789 | |
4428 | 5790 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5791 | |
5792 * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. | |
5793 Store step limit in iwork(20), not iwork(18). | |
5794 | |
5095 | 5795 2003-05-16 Paul Kienzle <pkienzle@users.sf.net> |
4415 | 5796 |
5797 * oct-rand.cc: Use liboctave's clock layer instead of the system clock. | |
5798 | |
4412 | 5799 2003-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5800 | |
4413 | 5801 * Makefile.in: Handle DESTDIR. |
5802 | |
4412 | 5803 * kpse.cc (kpse_path_iterator::next): Skip consecutive colons here. |
5804 (kpse_path_iterator::set_end): Don't miss last element when not | |
5805 followed by a colon. | |
5806 | |
4409 | 5807 2003-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5808 | |
5809 * Array-idx.h (Array<T>::index): Fix off-by-one error. | |
5810 | |
5811 2003-05-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5812 | |
5813 * kpse.cc (kpse_absolute_p): Fix typo in translation. | |
5814 (find_first_of): Also do an absolute search on each | |
5815 name before looking in the path. | |
5816 | |
4407 | 5817 2003-05-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5818 | |
5819 * kpse.cc (dir_list_add): Ensure that directory ends with a | |
5820 directory separator. | |
5821 | |
4399 | 5822 2003-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5823 | |
5824 * pathsearch.cc: Include kpse.cc here. | |
5825 | |
5826 * kpse.cc: All functions are now static. Massive surgery to | |
5827 condense kpathsearch library to a single file of just the | |
5828 essentials for Octave and convert to using C++ strings (no more | |
5829 calls to malloc, very few calls to new, so there should be much | |
5830 less potential for introducing memory leaks now). | |
5831 | |
5832 * Makefile.in (EXTRAS): Move kpse.cc here from | |
5833 LIBOCT_PATHSEARCH_CXX_SOURCES. | |
5834 | |
5835 * kpse.h, kpse-config.h: Delete. | |
5836 * Makefile.in (INCLUDES): Delete them from the list. | |
5837 | |
4392 | 5838 2003-04-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
5839 | |
5840 * str-vec.cc (string_vector::append (const std::string&), | |
5841 string_vector::append (const string_vector&)): New methods. | |
5842 | |
4386 | 5843 2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5844 | |
4389 | 5845 * kpse.cc, kpse.h: Replace fn_type with std::string. |
5846 | |
4387 | 5847 * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. |
5848 | |
4386 | 5849 * kpse.cc (xclosedir): Don't define or declare for Windows. |
5850 (READABLE): Now a static function to avoid warnings from MinGW | |
5851 compiler. | |
5852 | |
4384 | 5853 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5854 | |
4385 | 5855 * kpse.cc: Move most functions from kpse-xfns.c here and make |
5856 static. Include most of kpse-xfns.h directly, removing | |
5857 unnecessary bits. | |
5858 | |
4384 | 5859 * dMatrix.cc (Matrix::pseudo_inverse): Now const. |
5860 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
5861 | |
4378 | 5862 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5863 | |
5864 * getopt.c, getopt1.c, getopt.h: Move here from kpathsea. | |
5865 * Makefile.in: Add them to the appropriates lists. | |
5866 | |
5867 * oct-getopt.c: Include "getopt.h", not <kpathsea/getopt.h>. | |
5868 | |
5869 * Makefile.in (liboctave.$(LIBEXT), liboctave.$(SHLEXT)): Adjust | |
5870 for new locations of kpathsea objects. | |
5871 Delete kpathsea targets. | |
5872 | |
5873 * pathsearch.cc (dir_path::set_program_name): Delete. | |
5874 | |
5875 * kpse.cc: New file. | |
5876 * Makefile.in (LIBOCT_PATHSEARCH_CXX_SOURCES): Add it to the list. | |
5877 | |
5878 * kpse.c: New file. | |
5879 * Makefile.in (LIBOCT_PATHSEARCH_C_SOURCES): Add it to the list. | |
5880 | |
5881 * kpse.h, kpse-config.h, kpse-xfns.h: New files. | |
5882 * Makefile.in (INCLUDES): Add them to the list. | |
5883 | |
5884 * oct-kpse.h: Delete. | |
5885 * Makefile.in (INCLUDES): Delete it from the list. | |
5886 | |
4374 | 5887 2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
5888 | |
5889 * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. | |
5890 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): | |
5891 Likewise. | |
5892 From Quentin H. Spencer <qspencer@ieee.org>. | |
5893 | |
4365 | 5894 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5895 | |
5896 * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h". | |
5897 | |
4349 | 5898 2003-02-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
5899 | |
4352 | 5900 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Handle systems with or |
5901 without placement delete. | |
5902 | |
4349 | 5903 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Don't lose -0 |
5904 imaginary parts. | |
5905 | |
5906 * lo-ieee.h (lo_ieee_signbit): New macro. | |
5907 | |
5095 | 5908 2003-02-18 David Bateman <dbateman@free.fr> |
4329 | 5909 |
5910 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
5911 Use Lapack instead of Linpack. | |
5315 | 5912 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
4329 | 5913 ComplexMatrix::solve): Likewise. |
5914 | |
5915 * dMatrix.cc (Matrix::determinant, Matrix::inverse): New arg, | |
5916 calc_cond. If 0, skip condition number calculation. | |
5917 * CMatrix.cc (ComplexMatrix::determinant, ComplexMatrix::inverse): | |
5918 Likewise. | |
5919 | |
5920 * CmplxLU.cc (ComplexLU::ComplexLU): Allow non-square matrices. | |
5921 * dbleLU.cc (LU::LU): Likewise. | |
5922 * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. | |
5923 | |
5924 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5925 | |
5926 * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: | |
5927 | |
4323 | 5928 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5929 | |
5930 * Array2-idx.h (Array2<T>::index): Fix thinko. | |
5931 Additional compatibility fix. | |
5932 | |
5933 2003-02-13 Arno Klaassen <arno@scito.com> | |
5934 | |
5935 * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
5936 ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: | |
5937 Sprinkle with Array<T>:: as necessary for gcc 3.4. | |
5938 | |
4322 | 5939 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
5940 | |
5941 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
5942 Compatibility fix. | |
5943 | |
4316 | 5944 2003-02-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5945 | |
5946 * CColVector.cc (ComplexColumnVector::extract_n): New function. | |
5947 * CRowVector.cc (ComplexRowVector::extract_n): Likewise. | |
5948 * CMatrix.cc (ComplexMatrix::extract_n): Likewise. | |
5949 * dColVector.cc (ColumnVector::extract_n): Likewise. | |
5950 * dRowVector.cc (RowVector::extract_n): Likewise. | |
5951 * dMatrix.cc (Matrix::extract_n): Likewise. | |
5952 | |
5953 * CColVector.cc (ComplexColumnVector::insert): Improve efficiency | |
5954 with make_unique and xelem. | |
5955 * CRowVector.cc (ComplexRowVector::insert): Likewise. | |
5956 * CMatrix.cc (ComplexMatrix::insert, ComplexMatrix::fill, | |
5957 ComplexMatrix::extract, ComplexMatrix::row, | |
5958 ComplexMatrix::column): Likewise. | |
5959 * dColVector.cc (ColumnVector::insert): Likewise. | |
5960 * dRowVector.cc (RowVector::insert): Likewise. | |
5961 * dMatrix.cc (Matrix::insert, Matrix::fill, Matrix::extract, | |
5962 Matrix::row, Matrix::column): Likewise. | |
5963 | |
4313 | 5964 2003-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5965 | |
5966 * lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN. | |
5967 | |
4309 | 5968 2003-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5969 | |
5970 * CMatrix.cc, dMatrix.cc: Move min and max functions here, from | |
5971 src/DLD-FUNCTIONS/minmax.cc, and make them extern. | |
5972 * CMatrix.h, dMatrix.h: Provide decls. | |
5973 | |
4307 | 5974 2003-01-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5975 | |
5976 * oct-rand.h, oct-rand.cc: New files. | |
5977 * Makefile.in: Add them to the appropriate lists. | |
5978 | |
4306 | 5979 2003-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5980 | |
5981 * Array2-idx.h (Array2<T>::index): Fix off-by-one error. | |
5982 | |
4299 | 5983 2003-01-16 Mumit Khan <khan@nanotech.wisc.edu> |
5984 | |
5985 * oct-syscalls.cc: Include signal.h. | |
5986 | |
4294 | 5987 2003-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5988 | |
5989 * oct-syscalls.cc (octave_syscalls::kill): New function. | |
5990 * oct-syscalls.h: Provide decl. | |
5991 | |
5992 | |
4293 | 5993 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5994 | |
5995 * dMatrix.cc (Matrix::read): Set size and return immediately if | |
5996 there is nothing to read. | |
5997 | |
4290 | 5998 2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
5999 | |
6000 * lo-cutils.c: Define _XOPEN_SOURCE. | |
6001 | |
4286 | 6002 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
6003 | |
4288 | 6004 * getopt.h: Update to version from kpathsearch, so we will install |
6005 the version that we are using. | |
6006 | |
6007 * getopt.c, getopt1.c: Delete. | |
6008 (INCLUDES): Delete them from the list. We'll get these files from | |
6009 kpathsearch. | |
6010 | |
4286 | 6011 * Makefile.in (liboctave.$(LIBEXT)): Link directly to |
6012 ../kpathsea/STATIC/*.o. | |
6013 (liboctave.$(SHLEXT)): Link directly to ../kpathsea/SHARED/*.o. | |
6014 | |
4270 | 6015 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6016 | |
4282 | 6017 * dMatrix.cc (read_int, write_int): Avoid warnings about |
6018 unreachable code. | |
6019 | |
4279 | 6020 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete |
6021 to correspond to placement new operator. | |
6022 | |
4278 | 6023 * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. |
6024 (DET::value_will_underflow): Likewise. | |
6025 * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. | |
6026 (ComplexDET::value_will_underflow): Likewise. | |
6027 | |
4276 | 6028 * Makefile.in (distclean): Also remove stamp-prereq. |
6029 | |
4306 | 6030 * Array2-idx.h (Array2<T>::assign): If assignment conforms but the |
6031 RHS and index are empty matrices, don't do anything. | |
4270 | 6032 |
4242 | 6033 2002-12-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6034 | |
6035 * pathsearch.cc (make_retval, free_c_array, make_c_names, | |
6036 delete_c_names): New helper functions. | |
6037 (dir_path::find_first_of): New function. | |
6038 (dir_path::find_all_first_of): Likewise. | |
6039 * pathsearch.h: Provide decls. | |
6040 | |
6041 * oct-kpse.c (octave_kpse_path_find_first_of): New function. | |
6042 (octave_kpse_all_path_find_first_of): Likewise. | |
6043 * oct-kpse.h: Provide decls. | |
6044 | |
4231 | 6045 2002-12-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
6046 | |
6047 * ODESSA.cc (ODESSA::integrate): Handle maxord. | |
6048 * ODESSA-opts.in: Likewise. | |
6049 | |
6050 * LSODE.cc (ODESSA::integrate): Handle maxord. | |
6051 * LSODE-opts.in: Likewise. | |
6052 | |
4229 | 6053 2002-12-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6054 | |
4230 | 6055 * ODESSA.cc (ODESSA::ODESSA): Initialize "initialized" data member |
6056 in all constructors. | |
6057 | |
4229 | 6058 * Makefile.in (liboctave.$(SHLEXT)): Include $(LIBKPATHSEA) here. |
6059 (LINK_DEPS): Not here. | |
6060 | |
4219 | 6061 2002-12-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6062 | |
4220 | 6063 * str-vec.cc (string_vector::compare): New static member function. |
6064 * str-vec.h: Provide decl. | |
6065 (string_vector::sort): Use it. | |
6066 (str_vec_compare): Delete static function. | |
6067 | |
4219 | 6068 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Also declare and define |
6069 a placement operator new. | |
6070 | |
4209 | 6071 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6072 | |
4210 | 6073 * Matrix.h: Include mx-ops.h too. |
4209 | 6074 * mx-ops.h: New file. |
6075 | |
4192 | 6076 2002-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6077 | |
6078 * DASRT.cc, DASRT.h, Array.cc, ArrayN.h, Array.h, Array2.cc, | |
6079 Array2.h, Array3.cc, Array3.h, Bounds.cc, Bounds.h, CRowVector.h, | |
6080 CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, CMatrix.h, | |
6081 CRowVector.cc, CColVector.h, ChangeLog, CmplxAEPBAL.cc, | |
6082 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
6083 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
6084 CmplxQR.h, CmplxQRP.cc, ArrayN.cc, CmplxQRP.h, CmplxSCHUR.cc, | |
6085 CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, dMatrix.cc, | |
6086 CollocWt.h, EIG.h, DASSL.cc, FEGrid.h, DASSL.h, DiagArray2.cc, | |
6087 DiagArray2.h, EIG.cc, FEGrid.cc, LSODE.cc, LPsolve.cc, LPsolve.h, | |
6088 LSODE.h, LinConst.cc, LinConst.h, MArray.h, MArray.cc, MArray2.cc, | |
6089 MArray2.h, MDiagArray2.cc, MDiagArray2.h, Range.cc, NLConst.h, | |
6090 NLEqn.cc, Range.h, NLEqn.h, Quad.cc, dbleQR.h, Quad.h, base-lu.cc, | |
6091 base-lu.h, boolMatrix.cc, boolMatrix.h, dColVector.cc, | |
6092 dColVector.h, dDiagMatrix.cc, dDiagMatrix.h, dMatrix.h, | |
6093 dRowVector.cc, dRowVector.h, dbleAEPBAL.cc, dbleAEPBAL.h, | |
6094 dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, dbleDET.h, dbleHESS.cc, | |
6095 dbleHESS.h, dbleLU.cc, dbleLU.h, dbleQR.cc, dbleQRP.cc, dbleQRP.h, | |
6096 dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, | |
6097 idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, | |
6098 ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: | |
6099 Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of | |
6100 "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". | |
6101 | |
4184 | 6102 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
6103 | |
6104 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_GLOBAL too. | |
6105 From Remy Bruno <remy.bruno@libertysurf.fr> | |
6106 | |
4180 | 6107 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6108 | |
6109 * lo-specfun.cc: Use F77_FUNC instead of F77_XFCN for calls to | |
6110 fortran code that should run fast enough that it is not worth all | |
6111 the setup costs of F77_XFCN. | |
6112 | |
6113 * Quad.cc (user_function): Surround body of function with | |
6114 BEGIN_INTERRUPT_WITH_EXCEPTIONS, END_INTERRUPT_WITH_EXCEPTIONS. | |
6115 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Likewise. | |
6116 * NLEqn.cc (hybrd1_fcn, hybrj1_fcn): Likewise. | |
6117 * LSODE.cc (lsode_f, lsode_j): Likewise. | |
6118 * DASSL.cc (ddassl_f, ddassl_j): Likewise. | |
6119 * DASRT.cc (ddasrt_f, ddasrt_j, ddasrt_g): Likewise. | |
6120 * DASPK.cc (ddaspk_f, ddaspk_psol, ddaspk_j): Likewise. | |
6121 | |
4164 | 6122 2002-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6123 | |
6124 * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead | |
6125 of ! defined (linux). | |
6126 | |
5095 | 6127 2002-11-09 Per Persson <persquare@mac.com> |
4162 | 6128 |
6129 * oct-shlib.cc (octave_dyld_shlib): New class. | |
6130 (make_shlib): Instantiate octave_dyld_shlib. | |
6131 | |
4152 | 6132 2002-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6133 | |
4153 | 6134 * CMatrix.cc, dMatrix.cc: Sprinkle with OCTAVE_QUIT. |
6135 | |
4152 | 6136 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Abort on error. |
6137 | |
6138 * Array.h: Include <cstddef> here. | |
6139 | |
4142 | 6140 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6141 | |
4144 | 6142 * DASPK.cc (DASPK::do_integrate): Resize rwork and iwork before |
6143 using them. Accept inequality contraint option of 0. Assign | |
6144 pabs_tol and prel_tol before calling DASPK. Don't redeclare | |
6145 abs_tol and rel_tol. | |
6146 | |
4143 | 6147 * cmd-edit.h (command_editor::filename_completion_desired): New |
6148 static function. | |
6149 (command_editor::do_filename_completion_desired): New virtual function. | |
6150 * oct-rl-edit.c (octave_rl_filename_completion_desired): New function. | |
6151 * oct-rl-edit.h: Provide decl. | |
6152 | |
4142 | 6153 * Array2.cc (Array2<T>::get_size): #define MALLOC_OVERHEAD to |
6154 avoid OS X linker bug. | |
6155 * ArrayN.cc (ArrayN<T>::get_size): Likewise. | |
6156 | |
4139 | 6157 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
6158 | |
4141 | 6159 * ODESFunc.h (ODESFunc::ODES_fsub, ODESFunc::ODES_bsub, |
6160 ODESFunc::ODES_jsub): Reorder args for consistency with other | |
6161 solvers. | |
6162 * ODESSA.cc: Fix all callers. | |
6163 | |
4139 | 6164 * mx-inlines.cc (MX_BASE_REDUCTION_OP): Also return scalar |
6165 MT_RESULT if nr == 1 && nc == 0 && dim == -1 (i.e., | |
6166 sum(zeros(1,0)) returns 0, not [](1x0)). | |
6167 | |
4136 | 6168 2002-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6169 | |
6170 * Makefile.in (LINK_DEPS): Include $(FLIBS) here too. | |
6171 | |
4132 | 6172 2002-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6173 | |
4133 | 6174 * DASRT.cc (DASRT::integrate): Fix computation of lrw |
6175 (ddasrt_f): Combine loops. | |
6176 | |
4132 | 6177 * NLEqn.cc (NLEqn::solve): Return current estimate of solution |
6178 instead of empty vector if user termninates iteration. | |
6179 | |
4130 | 6180 2002-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6181 | |
6182 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
6183 octave_read_complex, octave_write_double, octave_write_complex): | |
6184 New functions. | |
6185 * CMatrix.cc (operator << (std::ostream&, const ComplexMatrix&)): | |
6186 Use octave_write_complex. | |
6187 (operator >> (std::istream&, const ComplexMatrix&)): | |
6188 Use octave_read_complex. | |
6189 * dMatrix.cc (operator << (std::ostream&, double)): | |
6190 Use octave_write_double. | |
6191 (operator >> (std::istream&, double)): Use octave_read_double. | |
6192 | |
4126 | 6193 2002-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6194 | |
6195 * oct-kpse.c (octave_kpse_clear_dir_cache): Delete. | |
6196 * oct-kpse.h: Delete decl. | |
6197 * pathsearch.cc (dir_path::init): Delete unnecessary call to | |
6198 ::octave_kpse_clear_dir_cache. | |
6199 | |
4123 | 6200 2002-10-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
6201 | |
4124 | 6202 * lo-sstream.h: Undef HAVE_SSTREAM if using a version of g++ |
6203 earlier than 3.0. | |
6204 | |
4123 | 6205 * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. |
6206 (liboctave.$(SHLEXT)): Not here. | |
6207 | |
5095 | 6208 2002-10-17 Paul Kienzle <pkienzle@users.sf.net> |
4110 | 6209 |
6210 * oct-shlib.cc (octave_w32_shlib): New class to support Windows. | |
6211 | |
4108 | 6212 2002-10-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6213 | |
6214 * Makefile.in (install-lib): Don't bother with versions for | |
6215 $(SHLBIN) files. | |
6216 | |
5095 | 6217 2002-10-16 Paul Kienzle <pkienzle@users.sf.net> |
4105 | 6218 |
6219 * Makefile.in (LIB_DEPS): Include $(LIBS). | |
6220 | |
4102 | 6221 2002-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6222 | |
6223 * lo-cieee.c: Move everything but lo_ieee_init here. | |
6224 (lo_ieee_Inf_value, lo_ieee_NA_value, lo_ieee_NaN_value): | |
6225 New functions. | |
6226 | |
6227 * Makefile.in (install): No need to use cd to create links. | |
6228 (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. | |
6229 | |
5095 | 6230 2002-10-14 Paul Kienzle <pkienzle@users.sf.net> |
4102 | 6231 |
6232 * Makefile.in: Merge liboctave with liboct-readline and | |
6233 liboct-pathsearch. | |
6234 Use link dependencies for shared libs if INCLUDE_LINK_DEPS. | |
6235 (libraries): Depend on versioned library. | |
6236 (liboctave.$(SHLEXT), liboctave.$(SHLEXT_VER)): Reverse actions -- | |
6237 build unversioned library, symbolic link adds version info. | |
6238 (install, uninstall): Handle link and load forms of the library | |
6239 separately. | |
6240 | |
4101 | 6241 2002-10-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6242 | |
6243 * oct-time.cc: Use OCTAVE_USE_WINDOWS_API instead of __WIN32__ and | |
6244 __CYGWIN__. | |
6245 | |
6246 * file-ops.cc (file_ops::dir_sep_char, file_ops::dir_sep_str, | |
6247 file_ops::dir_sep_chars): New static functions to replace | |
6248 OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS. | |
6249 | |
6250 * oct-env.cc (octave_env::do_set_program_name): | |
6251 Use file_ops::dir_sep_chars instead of OCTAVE_DIR_SEP_CHARS. | |
6252 (octave_env::do_base_pathname): Likewise. | |
6253 (octave_env::do_make_absolute): Likewise. | |
6254 | |
6255 * oct-env.cc (octave_env::do_make_absolute): | |
6256 Use file_ops::dir_sep_str instead of OCTAVE_DIR_SEP_STR. | |
6257 (octave_env::do_get_home_directory): Likewise. | |
6258 | |
6259 * file-ops.cc (is_dir_sep): Use dir_sep_chars instead of embedding | |
6260 that information here too. | |
6261 (tilde_find_suffix, isolate_tilde_prefix, tilde_expand_word): | |
6262 Use file_ops::dir_sep_char instead of OCTAVE_DIR_SEP_CHAR. | |
6263 | |
6264 * file-ops.h: Use OCTAVE_HAVE_WINDOWS_FILESYSTEM and | |
6265 OCTAVE_HAVE_POSIX_FILESYSTEM instead of __WIN32__ and __CYGWIN__. | |
6266 | |
4097 | 6267 2002-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
6268 | |
6269 * oct-env.h (octave_env::current_directory): Now mutable. | |
6270 (octave_env:do_getcwd): Now const. | |
6271 | |
6272 * file-ops.h, file-ops.cc (file_ops::is_dir_sep): New function. | |
6273 (OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS, | |
6274 OCTAVE_CURRENT_DIR_STR): New macros. | |
6275 * oct-env.cc (is_dir_sep): Delete. | |
6276 (octave_env::do_base_pathname): Look for OCTAVE_DIR_SEP_CHARS, not '/'. | |
6277 (octave_env::do_set_program_name): Likewise. | |
6278 (octave_env::do_polite_directory_format): Use file_ops::is_dir_sep | |
6279 instead of checking for '/'. | |
6280 (octave_env::pathname_backup): Likewise. | |
6281 (octave_env::do_absolute_pathname): Likewise. | |
6282 (octave_env::do_make_absolute): Likewise. | |
6283 If dot_path is empty, use getcwd to set current_dir. | |
6284 (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR | |
6285 instead of "/". | |
6286 | |
5095 | 6287 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 6288 |
6289 * lo-cutils.c: On non-Posix Windows systems, include winsock.h. | |
6290 | |
5095 | 6291 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 6292 |
6293 * oct-env.cc (octave_env::do_absolute_pathname): Recognize | |
6294 absolute path names under MinGW as well. | |
6295 | |
6296 2002-10-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6297 | |
6298 * oct-env.cc: Include <cctype> too. | |
6299 | |
4087 | 6300 2002-10-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
6301 | |
6302 * oct-env.cc (octave_env::do_absolute_pathname): Handle Windows | |
6303 filenames. | |
6304 (octave_env::do_make_absolute): Check for absolute name with | |
6305 do_absolute_path. | |
4088 | 6306 (octave_env::do_chdir): Likewise. |
6307 (is_dir_sep): New function. | |
4087 | 6308 |
5095 | 6309 2002-10-03 Paul Kienzle <pkienzle@users.sf.net> |
4085 | 6310 |
4086 | 6311 * oct-time.cc (octave_time::stamp): Better resolution for Windows |
6312 systems. | |
4085 | 6313 |
4083 | 6314 2002-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6315 | |
6316 * dMatrix.cc (Matrix::read): Clean up error handling logic. | |
6317 | |
4080 | 6318 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6319 | |
4081 | 6320 * file-ops.cc (file_ops::mkdir): Handle one-arg mkdir here. |
6321 | |
4080 | 6322 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
6323 | |
5095 | 6324 2002-09-27 Per Persson <persquare@mac.com> |
4076 | 6325 |
6326 * oct-group.cc (octave_group::octave_group): Dont' forget to set | |
6327 gr_gid too. | |
6328 | |
4072 | 6329 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
6330 | |
4074 | 6331 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
6332 lo_ieee_* functions. | |
4072 | 6333 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074 | 6334 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
6335 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. | |
4072 | 6336 * lo-cieee.c: New file. |
4074 | 6337 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072 | 6338 * lo-ieee.h: Now all extern "C". |
4074 | 6339 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
6340 lo-mappers.cc and rename from xisnan, xfinite, xisinf. | |
6341 | |
4072 | 6342 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
6343 Now extern. | |
6344 | |
4066 | 6345 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6346 | |
6347 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
6348 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
6349 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
6350 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
6351 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
6352 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
6353 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
6354 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
6355 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
6356 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
6357 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
6358 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
6359 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
6360 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
6361 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
6362 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
6363 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
6364 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
6365 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
6366 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
6367 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
6368 oct-alloc.cc: | |
6369 If __GNUG__, use pragma interface/implementation. Allow this to | |
6370 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. | |
6371 | |
5095 | 6372 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
4064 | 6373 |
4066 | 6374 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
6375 system readlink function is not available. | |
6376 | |
4065 | 6377 * lo-mappers.cc (xerf, xerfc): Delete. |
6378 * lo-mappers.h (xerf, xerfc): Delete decls. | |
6379 | |
4064 | 6380 * lo-mappers.cc: Remove unused #define M_PI. |
6381 * lo-specfun.cc: Add #define M_PI if needed. | |
6382 | |
4062 | 6383 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6384 | |
6385 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility | |
6386 that geteuid doesn't exist. | |
6387 | |
6388 * LP.h: Rename LP class to octave_LP. | |
6389 LPsolve.h: Change all uses. | |
6390 | |
6391 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove | |
6392 incorrect token-pasting op. | |
6393 | |
6394 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to | |
6395 define lstat. | |
6396 | |
4061 | 6397 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
6398 | |
6399 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
6400 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
6401 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
6402 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
6403 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
6404 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
6405 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
6406 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
6407 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
6408 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
6409 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
6410 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
6411 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
6412 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
6413 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
6414 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
6415 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
6416 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
6417 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
6418 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
6419 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
6420 oct-alloc.cc: | |
6421 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ | |
6422 to decide whether to use the interface/implementation pragmas. | |
6423 | |
4058 | 6424 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6425 | |
6426 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. | |
6427 | |
4055 | 6428 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
6429 | |
6430 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use | |
6431 qualified names. | |
6432 | |
4051 | 6433 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6434 | |
4054 | 6435 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
6436 ArrayN.cc: Add typename where needed. | |
4053 | 6437 |
4051 | 6438 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
6439 strstream classes directly. | |
6440 * DASRT.cc: Likewise. | |
6441 * DASSL.cc: Likewise. | |
6442 * LSODE.cc: Likewise. | |
6443 * ODESSA.cc: Likewise. | |
6444 | |
6445 * cmd-hist.cc: Don't include <strstream>. | |
6446 * oct-shlib.cc: Likewise. | |
6447 | |
6448 * lo-sstream.h: New file. | |
6449 | |
4049 | 6450 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6451 | |
6452 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): | |
6453 New data members. | |
6454 (LSODE::sanity_checked): Delete unused data member. | |
6455 | |
6456 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, | |
6457 prel_tol, pinfo, piwork, prwork): New data members. | |
6458 * DASSL.h (DASSL): Likewise. | |
6459 | |
6460 * DASRT.h (DASRT::sanity_checked): Delete unused data member. | |
6461 | |
6462 * DASRT.cc (DASRT::integrate (double)): Better handling of | |
6463 initialization, changes in options, etc. | |
6464 * DASPK.cc (DASPK::do_integrate): Likewise. | |
6465 * DASSL.cc (DASSL::do_integrate): Likewise. | |
6466 * LSODE.cc (LSODE::do_integrate): Likewise. | |
6467 | |
4047 | 6468 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
6469 | |
4049 | 6470 * DAEFunc.h (DAEFunc::reset): New data member. |
6471 * DAERTFunc.h (DAERTFunc::reset): Likewise. | |
6472 | |
6473 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. | |
6474 (base_diff_eqn::clear_stop_time): Likewise. | |
6475 | |
4047 | 6476 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
6477 * DASPK.cc (DASPK::do_integrate (double)): Likewise. | |
6478 | |
5095 | 6479 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
4044 | 6480 |
6481 * DASPK-opts.in, DASPK.h: Move include to .in file. | |
6482 * DASRT-opts.in, DASRT.h: Likewise. | |
6483 * DASSL-opts.in, DASSL.h: Likewise. | |
6484 * LSODE-opts.in, LSODE.h: Likewise. | |
6485 * NLEqn-opts.in, NLEqn.h: Likewise. | |
6486 * ODESSA-opts.in, ODESSA.h: Likewise. | |
6487 | |
4038 | 6488 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6489 | |
4042 | 6490 * LSODE.cc (LSODE::error_message): Also return current T on |
6491 failures when that makes sense. | |
4043 | 6492 * DASSL.cc (DASSL::error_message): Likewise. |
6493 * DASRT.cc (DASRT::error_message): Likewise. | |
6494 * DASPK.cc (DASPK::error_message): Likewise. | |
6495 * ODESSA.cc (ODESSA:error_message): Likewise. | |
4042 | 6496 |
4038 | 6497 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
6498 $(LIBKPATHSEA) here. | |
6499 | |
4025 | 6500 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6501 | |
6502 * lo-ieee.cc (lo_ieee_is_NA): New function. | |
6503 (lo_ieee_is_NaN_or_NA): New function. | |
6504 (octave_NA): New global value. | |
6505 (octave_ieee_init): Initialize it. | |
6506 * lo-mappers.cc (octave_is_NA): New function. | |
6507 (octave_is_NaN_or_NA): New function. | |
6508 (xisnan): Return false if NaN looks like a missing value. | |
6509 (xisnan (const Complex&)): Use xisnan here. | |
6510 | |
4015 | 6511 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6512 | |
4017 | 6513 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
6514 ComplexMatrix::cumprod, ComplexMatrix::cumsum, | |
6515 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): | |
6516 Default value for dim is -1, not 0. | |
6517 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, | |
6518 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. | |
6519 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. | |
6520 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. | |
6521 | |
4015 | 6522 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
6523 New macros. | |
6524 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and | |
6525 MX_BASE_REDUCTION_OP. | |
6526 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. | |
6527 | |
4014 | 6528 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6529 | |
4015 | 6530 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
6531 Return boolMatrix, not Matrix. | |
6532 | |
6533 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. | |
6534 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. | |
6535 (Matrix::all): Replace guts with MX_ALL_OP. | |
6536 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. | |
6537 (ComplexMatrix::all): Replace guts with MX_ALL_OP. | |
6538 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. | |
6539 (boolMatrix::all): Replace guts with MX_ALL_OP. | |
6540 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. | |
6541 (charMatrix::all): Replace guts with MX_ALL_OP. | |
6542 | |
6543 * dMatrix.h (Matrix::any): New arg, dim. | |
6544 (Matrix::all): Likewise. | |
6545 * CMatrix.h (ComplexMatrix::any): Likewise. | |
6546 (ComplexMatrix::all): Likewise. | |
6547 * boolMatrix.h (boolMatrix::any): Likewise. | |
6548 (boolMatrix::all): Likewise. | |
6549 * chMatrix.h (charMatrix::any): Likewise. | |
6550 (charMatrix::all): Likewise. | |
6551 | |
4014 | 6552 * Makefile.in: Use $@-t instead of $@.t. |
6553 | |
4004 | 6554 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6555 | |
6556 * lo-specfun.cc (gammainc): New arg, err, for scalar version. | |
6557 Use it in matrix versions to avoid spewing multiple errors. | |
6558 Call xgammainc instead of dgamit. | |
6559 | |
3998 | 6560 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6561 | |
6562 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): | |
6563 Get rows and columns right in loop. | |
6564 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. | |
6565 | |
6566 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6567 | |
6568 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. | |
6569 * DASRT.cc (DASRT::integrate): Likewise. | |
6570 * DASSL.cc (DASSL::do_integrate): Likewise. | |
6571 | |
6572 * Quad.cc: Don't pass tolerances in constructors. | |
6573 | |
6574 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, | |
6575 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. | |
6576 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, | |
6577 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically | |
6578 from corresponding .in files. | |
6579 * LSODE.h, Quad.h: Replace options class definitions with included | |
6580 file. | |
6581 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to | |
6582 create OPTS_INC files from OPTS_INC_SRC files. | |
6583 (stamp-prereq): New target. | |
6584 (libraries): Depend on stamp-prereq. | |
6585 Include stamp-prereq along with $(MAKEDEPS). | |
6586 | |
3997 | 6587 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6588 | |
6589 * base-de.h (base_diff_eqn::istate): New data member. | |
6590 (base_diff_eqn::integration_state): New member function. | |
6591 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding | |
6592 data members and functions. | |
6593 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. | |
6594 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. | |
6595 | |
3990 | 6596 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6597 | |
3995 | 6598 * base-de.h (base_diff_eqn::stop_time, |
6599 base_diff_eqn::stop_time_set, base_diff_eqn::restart, | |
6600 base_diff_eqn::integration_error): New data members. | |
6601 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, | |
6602 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, | |
6603 base_diff_eqn::error_message): New member functions. | |
6604 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, | |
6605 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data | |
6606 members and functions. | |
6607 | |
3992 | 6608 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
6609 * DASRT.cc (DASRT::DASRT): Set ng here. | |
3993 | 6610 (DASRT::integrate): Don't forget to set nn. |
3992 | 6611 |
3991 | 6612 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
6613 * DASSL.cc (ddassl_j): Make it work. | |
6614 * DASPK.cc (ddaspk_j): Likewise. | |
6615 | |
3990 | 6616 * DAE.cc: Delete. |
6617 | |
6618 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE | |
6619 solving with root finding. | |
6620 * Makefile.in: Add them to the appropriate lists. | |
6621 | |
6622 * base-dae.h: New file. | |
6623 * Makefile.in (INCLUDES): Add it to the list. | |
6624 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. | |
6625 | |
3984 | 6626 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6627 | |
6628 * ODE.h: Move integrate and do_integrate method declarations and | |
6629 definitions here. | |
6630 * base-de.h: From here. | |
6631 | |
6632 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. | |
6633 * Makefile.in: Add them to the appropriate lists. | |
6634 (LIBOCTAVE_CXX_SOURCES): | |
6635 | |
3971 | 6636 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6637 | |
6638 * NLEqn.cc (NLEqn::error_message): New function. | |
6639 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. | |
6640 | |
3970 | 6641 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6642 | |
6643 * lo-utils.cc (octave_fgetl): New function. | |
6644 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. | |
6645 | |
3959 | 6646 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
6647 | |
6648 * LSODE.cc (LSODE::error_message): New function. | |
6649 * LSODE.h: Provide decl. | |
6650 (LSODE::integration_state): New function. | |
6651 (LSODE::integration_ok): New function. | |
6652 | |
3952 | 6653 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6654 | |
3955 | 6655 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
6656 (LSODE_options::set_integration_method, | |
6657 LSODE_options::integration_method): New functions. | |
3954 | 6658 |
3952 | 6659 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
6660 Change all uses. | |
6661 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. | |
6662 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): | |
6663 New function. | |
6664 | |
6665 * Array.h (Array::fortran_vec): New const version. | |
6666 | |
3951 | 6667 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6668 | |
6669 * cmd-edit.cc (gnu_readline::history_search_backward): New function. | |
6670 (gnu_readline::history_search_forward): Likewise. | |
6671 (gnu_readline::gnu_readline): Use them instead of passing pointers | |
6672 to extern "C" functions to octave_rl_ad_defun. | |
6673 | |
5095 | 6674 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
3946 | 6675 |
6676 * DASPK.cc (ddaspk_psol): Return value. | |
6677 * oct-rl-edit.c: Use /* ... */ to comment. | |
6678 | |
3945 | 6679 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6680 | |
6681 * DASSL.h (DASSL_options::init): Undo previous change. | |
6682 (DASSL_options::set_absolute_tolerance): Likewise. | |
6683 * LSODE.h (LSODE_options::init): Likewise. | |
6684 (LSODE_options::set_absolute_tolerance): Likewise. | |
6685 | |
6686 * DASPK.h (DASPK_options::init): Use default absolute tolerance of | |
6687 sqrt(eps), not eps^2. | |
6688 DASPK_options::set_absolute_tolerance): Likewise. | |
6689 | |
5095 | 6690 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
3944 | 6691 |
6692 * Array.h (Array<T>::resize_fill_value): Return default initialized | |
6693 object. | |
6694 | |
3933 | 6695 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6696 | |
6697 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. | |
6698 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. | |
6699 (octave_rl_set_basic_word_break_characters, | |
6700 octave_rl_set_completer_word_break_characters): New functions. | |
6701 * oct-rl-edit.h: Provide decls. | |
6702 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, | |
6703 gnu_readline::do_set_completer_word_break_characters): New functions. | |
6704 (command_editor::set_basic_quote_characters, | |
6705 command_editor::set_completion_append_character): New static functions. | |
6706 * cmd-edit.h: Provide decls. | |
6707 (command_editor::do_set_basic_word_break_characters, | |
6708 command_editor::do_set_completer_word_break_characters): | |
6709 New virtual functions. | |
6710 | |
6711 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h | |
6712 (resize_fill_value): New static function. | |
6713 | |
6714 * Array-idx.h (Array<T>::index): New args, resize_ok and | |
6715 resize_fill_value. | |
6716 * Array2-idx.h (Array2<T>::index): Likewise. | |
6717 * ArrayN-idx.h (ArrayN<T>::index): Likewise. | |
6718 | |
6719 * Array2.cc (Array<T>::print_info): New function. | |
6720 * Array2.h: Provide decl. | |
6721 | |
6722 * Array.cc (Array<T>::print_info): New function. | |
6723 * Array.h: Provide decl. | |
6724 | |
3928 | 6725 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6726 | |
6727 * idx-vector.h (idx_vector::idx_vector (int)): New function. | |
6728 (idx_vector_rep::idx_vector_rep (int)): New decl. | |
6729 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. | |
6730 | |
6731 * Array.h (Array<T>::resize_fill_value (void)): New static function. | |
6732 (assign (Array<LT>&, const Array<RT>&)): Use it. | |
6733 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. | |
6734 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. | |
6735 | |
5095 | 6736 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
3928 | 6737 |
6738 * Array3.h (Array3<T>::checkelem): Improve error message. | |
6739 * ArrayN.h (ArrayN<T>::range_error): Likewise. | |
6740 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. | |
6741 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. | |
6742 | |
3919 | 6743 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6744 | |
6745 * DASSL.h (DASSL_options::init): Undo previous change. | |
6746 (DASSL_options::set_absolute_tolerance): Likewise. | |
6747 | |
3912 | 6748 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
6749 | |
6750 * DASPK.h, DASPK.cc: New files. | |
6751 * Makefile.in: Add them to the appropriate lists. | |
6752 | |
3904 | 6753 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6754 | |
6755 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): | |
6756 Simplify indexing when one or both of the indices are empty. | |
6757 | |
3896 | 6758 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6759 | |
6760 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. | |
6761 (DASSL_options::set_absolute_tolerance): Likewise. | |
6762 * LSODE.h (LSODE_options::init): Likewise. | |
6763 (LSODE_options::set_absolute_tolerance): Likewise. | |
6764 | |
5095 | 6765 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
3887 | 6766 |
6767 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. | |
6768 * file-stat.cc (file_stat::update_internal, file_stat::copy): | |
6769 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. | |
6770 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. | |
6771 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. | |
6772 * file-stat.h: Likewise. | |
6773 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, | |
6774 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE | |
6775 instead of HAVE_STRUCT_TM_TM_ZONE. | |
6776 * strftime.c: Likewise. | |
6777 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, | |
6778 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, | |
6779 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, | |
6780 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, | |
6781 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
6782 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
6783 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. | |
6784 | |
5095 | 6785 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
3883 | 6786 |
6787 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition | |
6788 internally when the user requests it. | |
6789 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
6790 * dbleQR.cc (QR::init): Ditto. | |
6791 * dbleQRP.cc (QRP::init): Ditto. | |
6792 | |
3874 | 6793 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6794 | |
6795 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a | |
6796 definition for NULL by passing 0 as the last arg to fftwnd_one. | |
6797 (octave_fftw::ifft2d): Likewise. | |
6798 | |
5095 | 6799 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
3873 | 6800 |
6801 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). | |
6802 | |
3867 | 6803 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6804 | |
6805 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. | |
6806 (LS_DO_WRITE): Likewise. | |
6807 | |
3864 | 6808 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6809 | |
6810 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. | |
6811 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. | |
6812 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. | |
6813 | |
6814 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, | |
6815 MX_REDUCTION_OP_ROW_EXPR): New macros. | |
6816 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. | |
6817 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. | |
6818 | |
6819 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. | |
6820 DIM == -1 now means no orientation for vector sums. | |
6821 * dMatrix.cc (ComplexMatrix::sumsq): Use it. | |
6822 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. | |
6823 | |
3858 | 6824 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6825 | |
6826 * Range.cc (Range::nelem_internal): Special case ranges that must | |
6827 have zero elements. | |
6828 | |
3854 | 6829 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6830 | |
3857 | 6831 * Makefile.in: Split out readline and pathsearch functionality |
6832 into separate liboct-readline and liboct-pathsearch libraries. | |
6833 | |
3854 | 6834 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857 | 6835 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
6836 to do nothing for this call to rl_clear_screen. | |
3854 | 6837 |
3849 | 6838 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6839 | |
6840 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied | |
6841 function. | |
6842 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. | |
6843 | |
3838 | 6844 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6845 | |
6846 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, | |
6847 Matrix::inverse): Handle the case of rcond being a NaN the same as | |
6848 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. | |
6849 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, | |
6850 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. | |
6851 | |
3836 | 6852 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
6853 | |
6854 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. | |
6855 | |
6856 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, | |
6857 Array-b.cc: Instantiate three arg assign functions. | |
6858 | |
6859 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): | |
6860 New arg, resize_fill_value. | |
6861 * ArrayN.h: Provide declaration. | |
6862 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling | |
6863 three arg version. | |
6864 | |
6865 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): | |
6866 New arg, resize_fill_value. | |
6867 * Array3.h: Provide declaration. | |
6868 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling | |
6869 three arg version. | |
6870 | |
6871 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
6872 New arg, resize_fill_value. | |
6873 * Array2.h: Provide declaration. | |
6874 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling | |
6875 three arg version. | |
6876 | |
6877 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
6878 New arg, resize_fill_value. | |
6879 * Array.h: Provide declaration. | |
6880 (assign (Array<LT>&, const Array<RT>&): Define here by calling | |
6881 three arg version. | |
6882 | |
3833 | 6883 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6884 | |
6885 * pathsearch.cc (dir_path::set_program_name): Set the environment | |
6886 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS | |
6887 to the empty string. | |
6888 | |
3832 | 6889 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
6890 | |
6891 * Array2.h (Array2<T>::operator = (const Array2<T>&)): | |
6892 Don't check for rep != a.rep. | |
6893 | |
3827 | 6894 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
6895 | |
6896 * oct-fftw.h, oct-fftw.cc: New files. | |
6897 * Makefile.in (INCLUDES, SOURCES): Add new files. | |
6898 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, | |
6899 ifourier2d}): Use fftw if available. | |
6900 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): | |
6901 Likewise. | |
6902 | |
3821 | 6903 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6904 | |
6905 * Makefile.in (install-lib): Don't use mk-libdir-link. | |
6906 (install-inc): Don't use mk-includedir-link. | |
6907 | |
3803 | 6908 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6909 | |
6910 * lo-cutils.c (octave_gethostname): New function. | |
6911 * lo-utils.h: Provide declaration. | |
6912 * oct-env.cc (octave_env::do_get_host_name): | |
6913 Call octave_gethostname, instead of gethostname. | |
6914 | |
6915 * lo-cutils.c (gethostname): Define here. | |
6916 * lo-sysdep.cc: Not here. | |
6917 | |
3786 | 6918 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6919 | |
6920 * lo-cutils.c: Don't declare strptime. | |
6921 (oct_strptime): Cast return type of strptime to char*. | |
6922 | |
3777 | 6923 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6924 | |
3779 | 6925 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
6926 (octave_rl_set_name): call rl_re_read_init_file with two args. | |
6927 (octave_rl_read_init_file): Ditto. | |
6928 (octave_rl_clear_undo_list): Call rl_free_undo_list, not | |
6929 free_undo_list. | |
6930 (octave_rl_completion_matches): Call rl_completion_matches, not | |
6931 completion_matches. | |
6932 (octave_rl_enable_paren_matching): New function. | |
6933 (octave_rl_set_blink_matching_paren_flag): Delete. | |
6934 (octave_rl_get_blink_matching_paren_flag): Delete. | |
6935 | |
3777 | 6936 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
6937 tanh (const Complex&)): Declare and define if not | |
6938 CXX_ISO_COMPLIANT_LIBRARY. | |
6939 | |
3776 | 6940 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
6941 | |
6942 * lo-mappers.h (tanh (const Complex&)): Only declare if not | |
6943 CXX_ISO_COMPLIANT_LIBRARY. | |
6944 | |
3775 | 6945 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
6946 | |
3776 | 6947 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
6948 CXX_ISO_COMPLIANT_LIBRARY. | |
6949 | |
3775 | 6950 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
6951 archive libraries containing templates. | |
6952 | |
6953 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, | |
6954 get_zero_len_size, all_colon_equiv): Inline. | |
6955 (ArrayN<T>::index): Rename idx to arr_idx. | |
6956 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, | |
6957 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, | |
6958 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. | |
6959 | |
6960 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6961 | |
6962 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), | |
6963 log10 (const Complex&)): Delete. | |
6964 | |
6965 * oct-cmplx.h: Define forwarding functions for real, imag, abs, | |
6966 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, | |
6967 sinh, sqrt, tan, and tanh. | |
6968 | |
3769 | 6969 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
6970 | |
6971 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: | |
6972 Add std:: namespace qualifier as needed. | |
6973 | |
6974 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. | |
6975 Change all uses to match. | |
6976 | |
3767 | 6977 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6978 | |
6979 * lo-cutils.c: Don't delcare strptime. | |
6980 | |
3760 | 6981 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6982 | |
6983 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): | |
6984 Return correct size result for empty matrix case. | |
6985 | |
3757 | 6986 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
6987 | |
6988 * lo-mappers.cc (xmin (const Complex&, const Complex& y): | |
6989 If args are equal in magnitude, return first arg instead of | |
6990 second. | |
6991 | |
3752 | 6992 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
6993 | |
3755 | 6994 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
6995 then try harder to compute correct number of elements. | |
3753 | 6996 |
3752 | 6997 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
6998 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. | |
6999 | |
3750 | 7000 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
7001 | |
3751 | 7002 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
7003 Rename n_intervals to be n_elt. | |
7004 | |
3750 | 7005 * strptime.c: Surround everything after including config.h in |
7006 #ifndef HAVE_STRPTIME ... #endif. | |
7007 | |
3742 | 7008 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7009 | |
7010 * Array-idx.h (assign): When resizing, cast fill value to LT. | |
7011 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. | |
7012 | |
3741 | 7013 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
7014 | |
7015 * MArray-defs.h: Protect against multiple inclusion. | |
7016 | |
3739 | 7017 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
7018 | |
7019 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the | |
7020 end of the list, to be compatible with previous versions of Octave. | |
7021 | |
3736 | 7022 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
7023 | |
7024 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, | |
7025 since mktime is supposed to `normalize' the results for us. | |
7026 | |
3731 | 7027 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
7028 | |
7029 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices | |
3732 | 7030 and vectors. Use xelem for faster access to elements when copying. |
3731 | 7031 |
3726 | 7032 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7033 | |
7034 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): | |
7035 Correct indexing for operation across rows. | |
7036 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. | |
7037 | |
3725 | 7038 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
7039 | |
7040 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying | |
7041 elements if arg is a colon. | |
7042 | |
5095 | 7043 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
3723 | 7044 |
3795 | 7045 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723 | 7046 (Matrix::cumsum (int) const): Likewise. |
7047 (Matrix::prod (int) const): Likewise. | |
7048 (Matrix::sum (int) const): Likewise. | |
7049 (Matrix::sumsq (int) const): Likewise. | |
7050 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. | |
7051 (ComplexMatrix::cumsum (int) const): Likewise. | |
7052 (ComplexMatrix::prod (int) const): Likewise. | |
7053 (ComplexMatrix::sum (int) const): Likewise. | |
7054 (ComplexMatrix::sumsq (int) const): Likewise. | |
7055 | |
3722 | 7056 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
7057 | |
7058 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set | |
7059 size if Array<T>::index returns an empty array. | |
7060 | |
3710 | 7061 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
7062 | |
7063 * file-ops.cc (file_ops::link, file_ops::symlink, | |
7064 file_ops::readlink): New functions. | |
7065 | |
3709 | 7066 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
7067 | |
7068 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is | |
7069 indexed, always return an object the same size as the index arg. | |
7070 | |
7071 * oct-time.cc (octave_base_tm::strftime): Return empty string for | |
7072 empty format. | |
7073 | |
3706 | 7074 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
7075 | |
7076 * lo-cutils.c (oct_strptime): New function. | |
7077 * oct-time.cc (octave_strptime::init): Call it instead of strptime. | |
7078 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. | |
7079 | |
3702 | 7080 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7081 | |
3703 | 7082 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
7083 | |
3702 | 7084 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
7085 | |
3689 | 7086 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7087 | |
7088 * dMatrix.h (read_int): Provide declaration. | |
7089 | |
3688 | 7090 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
7091 | |
7092 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. | |
7093 (write_doubles): Ditto. | |
7094 * data-conv.h: Ditto. | |
7095 (enum save_type): New values, LS_U_LONG and LS_LONG. | |
7096 | |
3685 | 7097 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
7098 | |
7099 * boolMatrix.h: Declare MM_CMP_OPS here. | |
7100 * boolMatrix.cc: Define them here. | |
7101 | |
3680 | 7102 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
7103 | |
7104 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is | |
7105 previously undefined and set size of x to size of bool index. | |
7106 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): | |
7107 Allow z_len to be zero. | |
7108 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. | |
7109 If frozen, don't assert that frozen_at_z_len == z_len. | |
7110 | |
3670 | 7111 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
7112 | |
7113 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen | |
7114 instead of rl_clear_screen. | |
7115 | |
3665 | 7116 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7117 | |
7118 * Array-d.cc: Instantiate ArrayN<double> here too. | |
7119 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. | |
7120 * Makefile.in: Add them to the appropriate lists. | |
7121 | |
3657 | 7122 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
7123 | |
7124 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. | |
7125 | |
3635 | 7126 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7127 | |
7128 * lo-sysdep.h: octave_chdir returns int, not bool. | |
7129 | |
3615 | 7130 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
7131 | |
7132 * Makefile.in (liboctave.$(SHLEXT)): Delete target | |
7133 before rebuilding. | |
7134 | |
5095 | 7135 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
3615 | 7136 |
5261 | 7137 * Makefile.in (liboctave.$(LIBEXT)): New target. |
3615 | 7138 (libraries): Depend only on library targets, not archive members. |
7139 | |
3613 | 7140 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
7141 | |
7142 * Makefile.in: (objects): New target. | |
7143 | |
7144 * lo-cutils.c: New file. | |
7145 * Makefile.in (SOURCES): Add it to the list. | |
7146 * lo-utils.h: Declare octave_qsort here. | |
7147 * Array.h (Array::qsort): Use it here. | |
7148 | |
3607 | 7149 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
7150 | |
7151 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. | |
7152 | |
3598 | 7153 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7154 | |
7155 * oct-rl-hist.c (octave_history_list): Do something when not | |
7156 printing line numbers. Fix reallocation of retval. | |
7157 | |
3597 | 7158 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7159 | |
7160 * Makefile.in (install-inc): Install files in | |
7161 $(octincludedir)/octave. | |
7162 (uninstall): Remove them from the correct directory too. | |
7163 | |
7164 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if | |
7165 they are not already defined. | |
7166 | |
3588 | 7167 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
7168 | |
7169 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: | |
7170 Delete declarations and definitions of mixed-type vector-vector ops. | |
7171 | |
3585 | 7172 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
7173 | |
7174 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS | |
7175 matrix and vector objects. | |
7176 | |
7177 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to | |
7178 return type from second arg type. | |
7179 (MDM_BIN_OP): Likewise, for first arg type. | |
7180 | |
7181 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
7182 Matrix::fourier2d, Matrix::ifourier2d): Likewise. | |
7183 | |
7184 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly | |
7185 request ColumnVector to ComplexColumnVector, and Matrix to | |
7186 ComplexMatrix conversions. | |
7187 | |
7188 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its | |
7189 initial value using ComplexMatrix constructor. | |
7190 | |
7191 * CColVector.cc (product, quotient, | |
7192 operator * (const DiagMatrix&, const ComplexColumnVetor&)): | |
7193 Fix type of returned value. | |
7194 * CDiagMatrix.cc (ComplexDiagMatrix::row, | |
7195 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. | |
7196 | |
7197 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, | |
7198 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, | |
7199 dRowVector.h: Declare some constructors explicit, to disallow | |
7200 potentially problematic automatic type conversions. | |
7201 | |
3580 | 7202 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
7203 | |
3582 | 7204 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
7205 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: | |
7206 More new files. | |
7207 * Makefile.in: Add them to the appropriate lists. | |
7208 | |
7209 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, | |
7210 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, | |
7211 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, | |
7212 vx-s-crv.cc:, New files. | |
7213 * Makefile.in: Add them to the appropriate lists. | |
7214 | |
7215 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: | |
7216 Delete scalar by vector and vector by scalar binary ops. | |
7217 | |
3580 | 7218 * MArray-defs.h: More new macros to handle MDiagArray operators. |
7219 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. | |
7220 | |
3573 | 7221 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
7222 | |
3578 | 7223 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
7224 rl_event_hook before casting to void **. | |
7225 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. | |
7226 | |
3574 | 7227 * MArray-defs.h: Many new macros to make declaration and |
7228 definition of operators more consistent. | |
7229 | |
7230 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, | |
7231 CRowVector.h, dMatrix.h, CMatrix.h: Use them. | |
3573 | 7232 |
3569 | 7233 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
7234 | |
3572 | 7235 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
7236 (Matrix::ifourier2d): Likewise. | |
7237 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. | |
7238 (ComplexMatrix::ifourier2d): Likewise. | |
7239 | |
3569 | 7240 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
7241 | |
3504 | 7242 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
7243 | |
3519 | 7244 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
7245 readline library. | |
7246 * Makefile.in: Add them to the appropriate lists. | |
7247 | |
7248 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU | |
7249 readline history library. | |
7250 * Makefile.in: Add them to the appropriate lists. | |
7251 | |
3517 | 7252 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
7253 (LS_DO_READ): Likewise, for istream::read. | |
3518 | 7254 (write_doubles): Likewise. |
7255 (read_doubles): Likewise. | |
3517 | 7256 |
3516 | 7257 * oct-env.cc (octave_env::do_polite_directory_format): |
7258 Use operator== and substr method to do limited-length string | |
7259 comparison. | |
7260 | |
3513 | 7261 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512 | 7262 |
3511 | 7263 * Quad.h: Use do_integrate as name of pure virtual function. |
7264 | |
3508 | 7265 * base-de.h: Use tt instead of t as arg names. |
3511 | 7266 Add method with tcrit arg. |
7267 | |
3509 | 7268 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508 | 7269 |
3507 | 7270 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
7271 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. | |
7272 * Quad.cc (quad_fcn_ptr): Ditto. | |
7273 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. | |
7274 | |
3505 | 7275 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519 | 7276 * Makefile.in: Add them to the appropriate lists. |
3505 | 7277 |
7278 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. | |
3519 | 7279 * Makefile.in: Add them to the appropriate lists. |
3505 | 7280 |
3504 | 7281 * dMatrix.cc (write_int, read_int): No longer declared static. |
7282 | |
7283 * CDiagMatrix.h: Delete decls for friend operators that are | |
7284 handled by MDiagArray2 class. Move others outside class decl and | |
7285 strip friend status. | |
7286 * dDiagMatrix.h: Likewise. | |
7287 | |
7288 * MArray.h: Delete decls for friend operators inside class decl. | |
7289 * MArray2.h: Ditto. | |
7290 * MDiagArray2.h: Ditto. | |
7291 | |
7292 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all | |
7293 necessary parameters. Don't allocate memory in the macro. Change | |
7294 all uses. | |
7295 | |
7296 * dMatrix.h (class Matrix): Delete `friend class' decls. | |
7297 * CMatrix.h (class ComplexMatrix): Ditto. | |
7298 | |
7299 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, | |
7300 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, | |
7301 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to | |
7302 avoid type conflicts. Change all uses. | |
7303 | |
7304 * strptime.c (__mon_yday): Fix size of array decl. | |
7305 | |
7306 * mx-inlines.cc: Use `xnot' instead of `not' for function name. | |
7307 | |
7308 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous | |
7309 default value for second arg. | |
7310 | |
7311 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to | |
7312 references to ArrayRep. | |
7313 | |
3503 | 7314 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
7315 | |
3504 | 7316 * Array.h (Array::ArrayRep): Now protected, not private. |
3503 | 7317 |
7318 * All source files: Include iostream, fstream, strstream, | |
7319 etc. as needed instead of using forward declarations for these | |
3504 | 7320 classes. Add std:: qualifier as needed. |
3503 | 7321 |
3498 | 7322 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
7323 | |
7324 * oct-time.cc: Declare strptime extern "C". | |
7325 | |
3496 | 7326 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7327 | |
7328 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. | |
7329 | |
3488 | 7330 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
7331 | |
3492 | 7332 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
7333 * Array3.h, Array3.cc: Use it in constructors and resize methods | |
7334 to get total size to be allocated. | |
7335 | |
3488 | 7336 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
7337 as bool, not int. | |
7338 | |
3482 | 7339 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
7340 | |
7341 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
7342 Allow A(idx) = RHS if idx is a boolean index with the same shape | |
7343 as A, even when do_fortran_indexing is not enabled. | |
7344 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). | |
7345 | |
3473 | 7346 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
7347 | |
3480 | 7348 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
7349 function pointer as final arg. Passed function (if any) will be | |
7350 called for singularity errors. | |
7351 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. | |
7352 | |
7353 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. | |
7354 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
7355 | |
3475 | 7356 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
7357 No longer bother with infinity or quiet_nan. | |
7358 | |
3473 | 7359 * Array2.cc (Array2<T>::get_size): New function. |
7360 (Array2<T>::Array2, Array2<T>::resize): Use it. | |
7361 | |
3472 | 7362 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7363 | |
7364 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): | |
7365 New function. | |
7366 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
7367 Use it when indexing with one arg instead of faking a second one. | |
7368 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): | |
7369 Return empty matrices with the correct dimensions for A(:,:) = [] | |
7370 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all | |
7371 rows or columns. | |
7372 | |
7373 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool | |
7374 vector that is all true values with a length equal to n as colon | |
7375 equivalent. | |
7376 | |
3470 | 7377 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
7378 | |
7379 * strptime.c: Only include langinfo.h if _LIBC is defined. | |
7380 | |
5095 | 7381 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468 | 7382 |
7383 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling | |
7384 operations directly in step 2 and reverse step 2. | |
7385 * dMatrix.cc (Matrix::expm): Apply permutation and scaling | |
7386 operations directly in step 2 and reverse step 2. | |
7387 | |
3465 | 7388 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
7389 | |
7390 * oct-time.h, oct-time.cc (octave_strptime): New class. | |
7391 | |
7392 * strptime.c: New file, from glibc 2.1.2. | |
7393 * Makefile.in (SOURCES): Add strptime.c to the list. | |
7394 | |
3419 | 7395 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7396 | |
7397 * MArray.h (MArray <const Array<T>&)): New constructor. | |
7398 | |
3415 | 7399 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
7400 | |
7401 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing | |
7402 NULL directory list returned from kpse_element_dirs | |
7403 | |
3375 | 7404 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
7405 | |
7406 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. | |
7407 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF | |
7408 directly, instead of calling ZGESV. | |
7409 | |
3358 | 7410 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7411 | |
7412 * data-conv.cc (init_sized_type_lookup_table): New function. | |
7413 (string_to_data_type): Use it to improve lookup of data types. | |
7414 | |
3354 | 7415 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
7416 | |
7417 * dMatrix.cc (is_symmetric): Move here from Array2.cc. | |
7418 * Array2.h (is_symmetric): Delete declaration. | |
7419 | |
3347 | 7420 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
7421 | |
7422 * oct-env.cc (do_get_user_name): Reverse sense of test. | |
7423 | |
3344 | 7424 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
7425 | |
7426 * oct-time.cc (Fstrftime): Undo previous change. | |
7427 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
7428 | |
3334 | 7429 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
7430 | |
3336 | 7431 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
7432 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. | |
7433 | |
3334 | 7434 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
7435 Don't forget to pass length of third string argument to dgeesx. | |
7436 | |
7437 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length | |
7438 of third string argument to zgeesx. | |
7439 | |
3333 | 7440 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
7441 | |
7442 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): | |
7443 On errors, simply return `T ()'. | |
7444 (DiagArray2<T>::checkelem (int, int)): Likewise. | |
7445 | |
5095 | 7446 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3331 | 7447 |
7448 * dMatrix.cc (Matrix::expm): Do balancing here instead of using | |
7449 AEPBALANCE class. | |
7450 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
7451 | |
3325 | 7452 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7453 | |
7454 * oct-shlib.cc, oct-shlib.h: New files. | |
7455 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
7456 | |
3322 | 7457 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
7458 | |
7459 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. | |
7460 * dRowVector.cc (linspace): Ditto. | |
7461 | |
7462 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. | |
7463 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
7464 | |
3312 | 7465 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
7466 | |
7467 * DASSL.cc (DASSL::do_integrate (double)): If we have a function | |
7468 to evaluate the Jacobian, set info(4), not iwork(4). | |
7469 Set rwork(1) to the maximum step size, not rwork(2). | |
7470 | |
3290 | 7471 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7472 | |
7473 * oct-time.cc: Include <climits>. | |
7474 | |
3281 | 7475 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
7476 | |
7477 * cmd-edit.h (command_editor::do_resize_terminal): New function. | |
7478 * cmd-edit.cc (command_editor::resize_terminal): New function. | |
7479 (gnu_readline::do_resize_terminal): New function. | |
7480 | |
3268 | 7481 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7482 | |
7483 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. | |
7484 * lo-ieee.c: Likewise. | |
7485 Delete extern "C" declarations for infinity and quiet_nan. | |
7486 | |
3262 | 7487 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7488 | |
3263 | 7489 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
7490 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions | |
7491 `inline', not `static inline'. | |
7492 | |
3262 | 7493 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
7494 then cast to const int * to compare. | |
7495 | |
3257 | 7496 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7497 | |
7498 * DAEFunc.h: Remove useless preprocessor conditional. | |
7499 | |
3255 | 7500 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7501 | |
3257 | 7502 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
7503 Use octave_time object instead of time_t. | |
7504 | |
7505 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, | |
7506 file_stat::fs_ctime): Now octave_time objects. | |
7507 (file_stat::atime, file_stat::mtime, file_stat::ctime): | |
7508 Return octave_time objects. | |
7509 (file_stat::is_newer): Args are now octave_time objects instead of | |
7510 time_t. | |
7511 | |
3255 | 7512 * oct-time.h (octave_time::as_double): Delete. |
7513 (octave_time::operator double ()): New function. | |
7514 (octave_time::operator time_t ()): New function. | |
7515 (octave_time::ctime): New function. | |
7516 (octave_base_tm::strftime): Renamed from format_as_string. | |
7517 (octave_base_tm::asctime): New function. | |
7518 (operator == (const octave_time&, const octave_time&), | |
7519 operator != (const octave_time&, const octave_time&), | |
7520 operator < (const octave_time&, const octave_time&), | |
7521 operator <= (const octave_time&, const octave_time&), | |
7522 operator > (const octave_time&, const octave_time&), | |
7523 operator >= (const octave_time&, const octave_time&)): | |
7524 New comparison functions. | |
7525 | |
7526 * strftime.c: Move here from src directory. | |
7527 * Makefile.in (SOURCES): Add it to the list. | |
7528 | |
7529 * oct-time.h (octave_time::octave_time (time_t)): New constructor. | |
7530 | |
3253 | 7531 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7532 | |
7533 * oct-time.h, oct-time.cc: New files. | |
7534 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
7535 | |
7536 * systime.h: Move here from src directory. | |
7537 * Makefile.in (INCLUDES): Add it to the list. | |
7538 | |
3248 | 7539 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7540 | |
7541 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. | |
7542 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. | |
7543 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. | |
7544 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. | |
7545 | |
7546 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. | |
7547 | |
3243 | 7548 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7549 | |
7550 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. | |
7551 | |
7552 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7553 | |
7554 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a | |
7555 column vector for A(:), for compatibility with Matlab. | |
7556 | |
7557 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7558 | |
7559 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set | |
7560 iopt when there are optional inputs in rwork or iwork. | |
7561 | |
3238 | 7562 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7563 | |
7564 * Makefile.in (libraries): Use the libfoo.a(objects) method of | |
7565 creating static libs. | |
7566 | |
5095 | 7567 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
3238 | 7568 |
7569 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 | |
7570 and uint32 data types. | |
7571 | |
7572 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7573 | |
7574 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code | |
7575 for Linux. Remove old Linux-specific code. | |
7576 | |
3233 | 7577 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7578 | |
7579 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): | |
7580 Don't require lengths to be equal. | |
7581 * CMatrix.cc (operator * (const ComplexColumnVector& v, const | |
7582 ComplexRowVector& a)): Likewise | |
7583 | |
5095 | 7584 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
3225 | 7585 |
7586 * statdefs.h: Only define mode_t if not already defined. | |
7587 | |
5095 | 7588 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
3225 | 7589 |
7590 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero | |
7591 when appropriate. | |
7592 | |
7593 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7594 | |
7595 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name | |
7596 before calling rl_initialize. | |
7597 | |
3220 | 7598 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7599 | |
7600 * lo-specfun.cc (besselh, airy, biry): New functions. | |
7601 Update Bessel function support to use library by D. E. Amos. | |
7602 | |
3219 | 7603 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7604 | |
7605 * cmd-edit.h (command_editor::readline): Add new variation that | |
7606 allows EOF information to be passed back to caller. | |
7607 | |
7608 * dMatrix.cc (Matrix::read): Do the right thing for EOF when | |
7609 amount of data to read is unspecified. | |
7610 | |
3215 | 7611 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7612 | |
3219 | 7613 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
7614 (DEFINE_OCTAVE_ALLOCATOR): Ditto. | |
7615 | |
3215 | 7616 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
7617 Add volatile qualifier to void* arg. | |
7618 Cast volatile void* arg to volatile char*. | |
7619 | |
7620 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7621 | |
7622 * cmd-edit.h (command_editor::do_set_event_hook): New function. | |
7623 (command_editor::do_restore_event_hook): Ditto. | |
7624 * cmd-edit.cc (command_editor::set_event_hook): Ditto. | |
7625 (command_editor::restore_event_hook): Ditto. | |
7626 (gnu_readline::do_set_event_hook): Ditto. | |
7627 (gnu_readline::do_restore_event_hook): Ditto. | |
7628 (gnu_readline::previous_event_hook): New data member. | |
7629 (gnu_readline::gnu_readline): Initialize previous_event_hook. | |
7630 | |
3206 | 7631 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7632 | |
7633 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. | |
7634 | |
7635 * Makefile.in (stmp-pic): New target. | |
7636 ($(PICOBJ)): Depend on stmp-pic, not pic. | |
7637 (clean): Remove stmp-pic | |
7638 | |
7639 * Makefile.in: Undo previous change to avoid optmization when | |
7640 compiling lo-ieee.cc. | |
7641 | |
7642 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7643 | |
7644 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and | |
7645 imaginary parts. | |
7646 (xisinf): Define in terms of xisinf for real and imaginary parts. | |
7647 | |
3203 | 7648 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7649 | |
7650 * boolMatrix.cc (boolMatrix::operator !): New function. | |
7651 | |
3196 | 7652 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7653 | |
7654 * pathsearch.h (dir_path::default_path): New data member. | |
7655 * pathsearch.cc (dir_path::init): Use it. | |
7656 | |
7657 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. | |
7658 | |
3189 | 7659 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7660 | |
7661 * chMatrix.cc (charMatrix::extract): New function. | |
7662 (charMatrix::charMatrix (char c)): New constructor. | |
7663 | |
7664 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7665 | |
7666 * cmd-edit.h: (command_editor::do_read_init_file): New function. | |
7667 * cmd-edit.cc (command_editor::read_init_file): New function. | |
7668 (gnu_readline::do_read_init_file): Likewise. | |
7669 | |
3185 | 7670 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7671 | |
7672 * oct-env.cc (octave_env::do_get_home_directory): | |
7673 If HOME can't be found, set it to "/". | |
7674 (octave_env::do_get_user_name) | |
7675 If user name can't be found, set it to "unknown". | |
7676 (octave_env::do_get_host_name) | |
7677 If host name can't be found, set it to "unknown". | |
7678 | |
7679 * pathsearch.h (dir_path::rehash): New function. | |
7680 * pathsearch.cc (dir_path::init): Clear kpathsea's internal | |
7681 diretcory cache before doing initialization. | |
7682 | |
3180 | 7683 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7684 | |
3185 | 7685 * dMatrix.cc (Qzval): Delete. |
7686 (qzhes, qzit, qzval): Delete F77_FCN declarations. | |
7687 * dMatrix.h (Qzval): Delete declaration. | |
7688 | |
7689 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. | |
7690 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. | |
7691 * mx-ext.h: Don't include dbleGEPBAL. | |
7692 | |
3180 | 7693 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
7694 static_cast. | |
7695 | |
7696 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7697 | |
7698 * dMatrix.cc (Matrix::read): Skip after reading, not before. | |
7699 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. | |
7700 | |
7701 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7702 | |
7703 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on | |
7704 HUGE_VAL and NAN. | |
7705 | |
7706 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7707 | |
7708 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
7709 Handle x(i) = scalar for do_fortran_indexing == 1. | |
7710 | |
7711 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7712 | |
7713 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): | |
7714 Alloctate space before attempting to use it. | |
7715 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. | |
7716 | |
5095 | 7717 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
3178 | 7718 |
7719 * EIG.cc (EIG::init): Move invariant code outside loop. | |
7720 | |
7721 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7722 | |
7723 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result | |
7724 have the same size as the operands. | |
7725 | |
7726 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7727 | |
7728 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the | |
7729 call to ddassl, set integration_error to 1 before calling the | |
7730 error handler and returning. | |
7731 * LSODE.cc (LSODE::do_integrate): Likewise. | |
7732 | |
3177 | 7733 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7734 | |
7735 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if | |
7736 do_fortran_indexing is set, A([]) = scalar. | |
7737 * Array-idx.h (assign): Allow A([]) = scalar. | |
7738 | |
3176 | 7739 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7740 | |
7741 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not | |
7742 if dm_nc == 0. | |
7743 | |
3174 | 7744 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7745 | |
7746 * pathsearch.h (dir_path::p_orig): New field. | |
7747 * pathsearch.cc (dir_path::init): Perform variable and tilde | |
7748 expansion on the original path here. | |
7749 (dir_path::find_all): Don't do anything if not initialized. | |
7750 | |
3164 | 7751 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7752 | |
7753 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing | |
7754 is not set. | |
7755 (index): Allow x = zeros (2, 0); x(1,:) to work. | |
7756 | |
7757 * lo-specfun.cc (gammainc): Use dgamit to compute | |
7758 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just | |
7759 \int_0^x exp(-t) t^(a-1) dt. | |
7760 | |
7761 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7762 | |
7763 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, | |
7764 Array-s.cc: Change return types of all `assign' explicit | |
7765 instantiations to be int, not void, to match the template decl in | |
7766 Array.h. | |
7767 | |
3162 | 7768 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7769 | |
7770 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. | |
7771 | |
3156 | 7772 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7773 | |
7774 * lo-specfun.cc (xgamma, xlgamma): Define here. | |
7775 * lo-mappers.cc: Not here. | |
7776 | |
7777 * lo-specfun.h: Declare xgamma and xlgamma here. | |
7778 * lo-mappers.h: Not here. | |
7779 | |
7780 * lo-specfun.h: Never declare gamma or lgamma. | |
7781 | |
3154 | 7782 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7783 | |
7784 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an | |
7785 empty matrix of any dimension. | |
7786 | |
3145 | 7787 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7788 | |
3147 | 7789 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
7790 | |
3146 | 7791 * lo-specfun.cc: Don't include dbleBessel.h. |
7792 | |
7793 * Makefile.in (INCLUDES): Delete oct-math.h from the list. | |
7794 | |
3145 | 7795 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
7796 * file-stat.h (file_stat::operator bool ()): Likewise. | |
7797 * idx-vector.h (idx_vector::operator bool ()): Likewise. | |
7798 * oct-group.h (octave_group::operator bool ()): Likewise. | |
7799 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. | |
7800 | |
7801 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): | |
7802 Don't cast arg in call to swap_8_bytes. | |
7803 (IEEE_big_double_to_IEEE_little_double): Ditto | |
7804 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to | |
7805 swap_4_bytes. | |
7806 (IEEE_little_float_to_IEEE_big_float): Ditto | |
7807 | |
7808 * oct-alloc.cc (grow): Use X_CAST, not static_cast. | |
7809 * prog-args.cc (prog_args::getopt): Likewise. | |
7810 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. | |
7811 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. | |
7812 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): | |
7813 Likewise. | |
7814 | |
7815 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, | |
7816 swap_8_bytes): Declare ptr arg as void*, then use cast. | |
7817 | |
3141 | 7818 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7819 | |
7820 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). | |
7821 Use $(mk-libdir-link). | |
7822 | |
7823 * file-stat.cc (file_stat::update_internal): Use stat and lstat, | |
7824 not SAFE_STAT and SAFE_LSTAT. | |
7825 (lstat): New function, defined if HAVE_LSTAT is not defined. | |
7826 * safe-xstat.hin, safe-xstat.cin: Delete. | |
7827 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, | |
7828 safe-lstat.h, and safe-lstat.cc. | |
7829 | |
3136 | 7830 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7831 | |
7832 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. | |
7833 | |
3130 | 7834 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7835 | |
7836 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the | |
7837 trace is negative. | |
7838 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if | |
7839 the real part of the trace is negative. | |
7840 | |
7841 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7842 | |
7843 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. | |
7844 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. | |
7845 | |
7846 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] | |
7847 to succeed. | |
7848 | |
3125 | 7849 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7850 | |
7851 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. | |
7852 (make_uniq): Likewise. | |
7853 | |
7854 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7855 | |
7856 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. | |
7857 | |
3119 | 7858 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7859 | |
3121 | 7860 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
7861 | |
7862 * lo-specfun.h, lo-specfun.cc: New files. | |
3119 | 7863 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
7864 | |
3121 | 7865 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
7866 oct-math.h: Delete. | |
7867 * Makefile.in (SOURCES): Delete them from the list. | |
7868 | |
3112 | 7869 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7870 | |
7871 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. | |
7872 | |
5095 | 7873 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
3107 | 7874 |
7875 Changes to make support egcs snapshots that implement explicit | |
7876 specification of template functions according to CD2. | |
7877 | |
7878 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit | |
7879 template function specs for template friends. | |
7880 * MArray2.h: Likewise. | |
7881 * MDiagArray2.h: Likewise. | |
7882 | |
3095 | 7883 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7884 | |
7885 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) | |
7886 | |
3092 | 7887 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
7888 | |
7889 * CRowVector.cc (linspace): Removed attempt for implicit conversion | |
7890 to complex<double>(int) instead of complex<double>(double). | |
7891 | |
7892 * lo-mappers.cc (atanh): Ditto. | |
7893 | |
3079 | 7894 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7895 | |
7896 * idx-vector.cc (IDX_VEC_REP::sort): New function. | |
7897 * idx-vector.h (idx_vector::sort): Ditto. | |
7898 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before | |
7899 trying to delete elements specified by the index vectors. | |
7900 | |
3075 | 7901 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7902 | |
7903 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. | |
7904 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. | |
7905 | |
3074 | 7906 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7907 | |
7908 * file-ops.cc (tilde_expand_word): Fix off-by-one error. | |
7909 | |
3069 | 7910 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7911 | |
7912 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. | |
7913 Call error handler if we can't find the current directory. | |
7914 | |
3068 | 7915 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7916 | |
3069 | 7917 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
7918 (xfinite (double)): Ditto. | |
7919 | |
3068 | 7920 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
7921 * CmplxQR.cc (ComplexQR::init): Ditto. | |
7922 | |
3056 | 7923 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7924 | |
7925 * lo-mappers.cc (acos (const Complex&)): Select branch that is | |
7926 compatible with Matlab. | |
7927 | |
3050 | 7928 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7929 | |
7930 * Array2-idx.h: Correctly handle empty matrices indexed by a | |
7931 single colon. | |
7932 | |
3040 | 7933 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7934 | |
3049 | 7935 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
7936 (xgamma): Likewise, for calling xdgamma. | |
7937 | |
3042 | 7938 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
7939 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. | |
7940 | |
3040 | 7941 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
7942 to do better job expanding tildes. | |
7943 | |
7944 * str-vec.cc (string_vector::string_vector (const char * const *): | |
7945 Use temporary variable to compute length. | |
7946 | |
3029 | 7947 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7948 | |
3034 | 7949 * Makefile.in: Make building of static library optional. |
3036 | 7950 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034 | 7951 |
3029 | 7952 * Makefile.in (stamp-picdir): Delete. |
7953 (pic): New target. Don't worry so much about creating pic | |
7954 directory only when it is really needed. | |
7955 (stamp-interp): Delete. | |
7956 (libraries): New target. Depend on shared library directly. | |
7957 | |
3024 | 7958 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7959 | |
7960 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): | |
7961 New static function. | |
7962 | |
3012 | 7963 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7964 | |
7965 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. | |
7966 | |
3004 | 7967 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7968 | |
7969 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to | |
7970 set_basic_quote_characters, to match new version of readline. | |
7971 | |
7972 * cmd-edit.cc (do_restore_terminal_state): Call readline function | |
7973 for restoring terminal state through rl_deprep_term_function, now | |
7974 declared in readline.h | |
7975 (rl_deprep_terminal): Delete declaration. | |
7976 | |
2993 | 7977 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7978 | |
7979 * Makefile.in (install-in): Use new mk-includedir-link macro. | |
7980 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. | |
7981 | |
2968 | 7982 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7983 | |
7984 * cmd-edit.cc (command_editor::increment_current_command_number): | |
7985 New static function. | |
7986 | |
2964 | 7987 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7988 | |
2966 | 7989 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
7990 the vector is not sorted. | |
7991 | |
2964 | 7992 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
7993 * dMatrix.cc (Matrix::operator !): Likewise | |
7994 | |
2941 | 7995 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7996 | |
7997 * oct-syscalls.h, oct-syscalls.cc: New files. | |
7998 | |
7999 * cmd-edit.h, cmd-edit.cc: Handle completion function. | |
8000 | |
8001 * str-vec.h, str-vec.cc (string_vector::uniq): New function. | |
8002 | |
2938 | 8003 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8004 | |
2941 | 8005 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
8006 (install-inc): Use it. | |
8007 | |
2938 | 8008 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
8009 Handle errors and missing functions consistently. | |
8010 | |
8011 * oct-group.h, oct-group.cc: New files. | |
8012 | |
8013 * oct-passwd.cc: Handle errors and missing functions consistently. | |
8014 | |
8015 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. | |
8016 | |
2934 | 8017 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8018 | |
8019 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. | |
8020 * oct-env.cc (octave_env::do_get_user_name): Likewise. | |
8021 | |
8022 * oct-passwd.h, oct-passwd.cc: New files. | |
8023 | |
2926 | 8024 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8025 | |
8026 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. | |
8027 | |
8028 * mach-info.h, mach-info.cc: Add missing const qualifiers. | |
8029 (instance_ok ()): New function. | |
8030 | |
8031 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. | |
8032 | |
8033 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. | |
8034 | |
8035 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from | |
8036 src/utils.h and src/utils.cc. | |
8037 (octave_fgets): New function, extracted from src/input.cc. | |
8038 | |
8039 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for | |
8040 GNU readline, and allow Octave to work without GNU readline. | |
8041 | |
8042 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous | |
8043 system-dependent functions. | |
8044 | |
8045 * oct-env.h, oct-env.cc: New files for process environment stuff. | |
8046 | |
8047 * file-stat.h, file-stat.cc: New files. Extract file_stat class | |
8048 from file-ops.h and file-ops.cc and move here. | |
8049 | |
8050 * file-ops.h, file-ops.cc: Wrap functions in struct. Move | |
8051 tilde_expand functions here from src/dirfns.cc. | |
8052 | |
8053 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8054 | |
8055 * pathlen.h: New file, from ../src. | |
8056 | |
2917 | 8057 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8058 | |
8059 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent | |
8060 out-of-bounds indexing of the index array. | |
8061 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. | |
8062 | |
2850 | 8063 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8064 | |
8065 * LSODE.h (x_step_limit): New field. | |
8066 (LSODE_options::init): Initialize it. | |
8067 (LSODE_options::copy): Copy it. | |
8068 (LSODE_options::set_step_limit, LSODE_options::step_limit): | |
8069 New functions. | |
8070 (LSODE::working_too_hard): Delete. | |
8071 * LSODE.cc (LSODE::do_integrate): Handle step limit. | |
8072 | |
2844 | 8073 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8074 | |
8075 * MArray-b.cc: Delete. | |
8076 * Makefile.in: Delete it from the lists. | |
8077 | |
8078 * boolMatrix.h (class bboolMatrix): Derive from Array2, not | |
8079 MArray2, since most of the numeric ops don't really make sense. | |
8080 | |
2829 | 8081 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8082 | |
2832 | 8083 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
8084 | |
8085 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. | |
8086 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. | |
8087 | |
2830 | 8088 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
8089 idx_vector::freeze): Delete prefer_zero_one arg. | |
8090 * Array-idx.h, Array2-idx.h: Change all callers. | |
8091 | |
8092 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. | |
8093 | |
2829 | 8094 * mx-op-defs.h: New file for operator definitions. |
8095 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, | |
8096 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, | |
8097 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, | |
8098 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, | |
8099 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, | |
8100 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, | |
8101 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, | |
8102 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, | |
8103 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, | |
8104 mx-s-cm.cc, mx-s-dm.cc: | |
8105 New files for mixed-type operations. | |
8106 * Makefiles.in: Add them to the appropriate lists. | |
8107 | |
8108 * mx-inlines.cc: Add bool by bool EQ ops. | |
8109 | |
8110 * idx-vector.h, idx-vector.cc: Add constructors for bool and | |
8111 boolMatrix types. | |
8112 (idx_vector::maybe_convert_one_zero_to_idx, | |
8113 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): | |
8114 Delete second arg, prefer_zero_one. Change all callers. | |
8115 | |
8116 * boolMatrix.h, boolMatrix.cc: New files. | |
8117 * mx-base.h: Include boolMatrix.h here. | |
8118 * mx-defs.h: Provide forward declaration for boolMatrix here. | |
8119 | |
8120 * chMatrix.h, chMatrix.cc: Delete unused junk. | |
8121 | |
8122 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, | |
8123 operator-, operator*, product, and quotient functions. | |
8124 Add constructor for boolMatrix type. | |
8125 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, | |
8126 product, and quotient functions. | |
8127 | |
8128 * CDiagMatrix.h: Delete friend declarations for operator+, | |
8129 operator-, and product functions. | |
8130 * CDiagMatrix.h: Delete operator+, operator-, and product functions. | |
8131 | |
8132 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. | |
8133 | |
2815 | 8134 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8135 | |
8136 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. | |
8137 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. | |
8138 (EIG::symmetric_init (const Matrix&)): New function. | |
8139 (EIG::init (const Matrix&)): Call it if arg is symmetric. | |
8140 | |
8141 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. | |
8142 | |
8143 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8144 | |
8145 * Array2.cc (is_symmetric): New function. | |
8146 * Array2.h (is_square): New function. | |
8147 | |
2811 | 8148 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8149 | |
8150 * Makefile.in (install-strip): New target. | |
8151 | |
2804 | 8152 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8153 | |
8154 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
8155 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, | |
8156 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
8157 dbleSVD.cc: Don't include mx-inlines.cc. | |
8158 | |
8159 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of | |
8160 duplicate code. | |
8161 | |
2800 | 8162 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8163 | |
2804 | 8164 * dbleQR.h (QR): Delete extra comma at end of list. |
8165 | |
8166 * prog-args.cc (prog_args::getopt): Add missing const in cast. | |
8167 | |
8168 * dbleSVD.h (SVD::type): Delete extra comma at end of list. | |
8169 | |
8170 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and | |
8171 idx_vecotr_rep:: qualifiers. | |
8172 | |
8173 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. | |
8174 | |
8175 * data-conv.h (save_type): Delete extra comma at end of list. | |
8176 | |
2800 | 8177 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
8178 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, | |
8179 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of | |
8180 old C-style `(T) val' casts. | |
8181 | |
2795 | 8182 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8183 | |
8184 * dMatrix.cc (operator >>): Return if an error occurs instead of | |
8185 just breaking out of the innermost loop. | |
8186 * CMatrix.cc (operator >>): Likewise. | |
8187 | |
2779 | 8188 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775 | 8189 |
8190 * Version 2.0.5 released. | |
8191 | |
2767 | 8192 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8193 | |
8194 * CmplxQR.cc (ComplexQR::init): New function. | |
8195 (ComplexQR::ComplexQR): Use it. Use initializer list too. | |
8196 * CmplxQRP.cc (ComplexQRP::init): New function. | |
8197 Get sizes right in all cases. | |
8198 (ComplexQR::ComplexQRP): Use it. Use initializer list too. | |
8199 | |
8200 * dbleQR.cc (QR::init): New function. | |
8201 (QR::QR): Use it. Use initializer list too. | |
8202 * dbleQRP.cc (QRP::init): New function. | |
8203 Get sizes right in all cases. | |
8204 (QR::QRP): Use it. Use initializer list too. | |
8205 | |
2759 | 8206 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8207 | |
8208 * mach-info.cc (oct_mach_info::string_to_float_format): | |
8209 Recognize "vaxg", not "vax_g". | |
8210 | |
2713 | 8211 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8212 | |
2714 | 8213 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
8214 dimension in check for colon equivalent index. | |
8215 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element | |
8216 index whose value is 0 is also colon eqivalent for n == 1. | |
8217 | |
2713 | 8218 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
8219 system-specific tests first. | |
8220 | |
2709 | 8221 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702 | 8222 |
8223 * Version 2.0.4 released. | |
8224 | |
8225 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8226 | |
8227 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. | |
8228 | |
2693 | 8229 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690 | 8230 |
8231 * Version 2.0.3 released. | |
8232 | |
2686 | 8233 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8234 | |
8235 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. | |
8236 | |
2673 | 8237 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8238 | |
2676 | 8239 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
8240 (all): Don't depend on stamp-prereq or stamp-picdir. | |
8241 (liboctave.a, stamp-shared): Do depend on stamp-prereq. | |
8242 (stamp-picdir): Silence noise about making pic. | |
8243 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. | |
8244 | |
2673 | 8245 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
8246 Fix typo in last change. | |
8247 | |
8248 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): | |
8249 Convert from friend (moved from dColVector.cc). | |
8250 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): | |
8251 Likewise (moved from dMatrix.cc). | |
8252 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): | |
8253 Likewise (moved from dRowVector.cc). | |
8254 | |
8255 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. | |
8256 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. | |
8257 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. | |
8258 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. | |
8259 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. | |
8260 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. | |
8261 | |
8262 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. | |
8263 * dMatrix.cc (Matrix::apply): Likewise. | |
8264 * dRowVector.cc (RowVector::apply): Likewise. | |
8265 * CColVector.cc (ComplexColumnVector::apply): Likewise. | |
8266 * CMatrix.cc (ComplexMatrix::apply): Likewise. | |
8267 * CRowVector.cc (ComplexRowVector::apply): Likewise. | |
8268 | |
2668 | 8269 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8270 | |
8271 * lo-ieee.cc: Declare quiet_nan() and infinity(). | |
8272 | |
8273 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8274 | |
8275 * file-ops.cc (oct_unlink (const string&, string&)): | |
8276 New two-arg version. | |
8277 (oct_rmdir (const string&, string&)): New two-arg version. | |
8278 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. | |
8279 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. | |
8280 (oct_rename (const string&, const string&, string&)): | |
8281 New three-arg version. | |
8282 | |
2663 | 8283 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8284 | |
8285 * idx-vector.h (idx_vector::orig_empty): New function. | |
8286 | |
8287 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): | |
8288 Don't always resize to [](0x0) if one of the indices is empty or | |
8289 zero. | |
8290 | |
2658 | 8291 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8292 | |
8293 * cmd-hist.cc (command_history::read): New arg, must_exist. | |
8294 Set line_in_file here too. | |
8295 (command_history::read_range): New arg, must_exist. | |
8296 | |
2651 | 8297 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8298 | |
8299 * f2c-main.c: Change C++-style comments to C-style comments. | |
8300 | |
2638 | 8301 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8302 | |
8303 * Makefile.in (install-inc): Create a relative symbolic link. | |
8304 | |
2634 | 8305 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8306 | |
8307 * Version 2.0.2 released. | |
8308 | |
2624 | 8309 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8310 | |
8311 * Makefile.in (bin-dist): New target. | |
8312 | |
2621 | 8313 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8314 | |
8315 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. | |
8316 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. | |
8317 | |
2613 | 8318 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8319 | |
8320 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
8321 If the number of columns is zero, also set the number of rows to zero. | |
8322 (charMatrix::charMatrix (const char *)): Likewise. | |
8323 | |
2602 | 8324 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8325 | |
8326 * Version 2.0.1 released. | |
8327 | |
2601 | 8328 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8329 | |
8330 * dMatrix.cc (Matrix::read): Correctly compute the number of | |
8331 columns for resizing when the number of rows is specified but the | |
8332 number of columns is not. | |
8333 | |
2598 | 8334 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8335 | |
2599 | 8336 * Range.cc (operator -): New function. |
8337 | |
2598 | 8338 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
8339 | |
2589 | 8340 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8341 | |
8342 * Array2-idx.h (assign): Delay resizing left hand side until we | |
8343 know if the assignment conforms. | |
8344 | |
2583 | 8345 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8346 | |
8347 * Version 2.0 released. | |
8348 | |
2570 | 8349 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8350 | |
2575 | 8351 * Array2-idx.h (assign): If index is a colon, set number of |
8352 elements to the lhs dimension if the lhs dimension is greater than | |
8353 zero. Otherwise, set it to the rhs dimension. | |
8354 | |
8355 * Version 1.94. | |
8356 | |
2570 | 8357 * Array2-idx.h (assign): Test for rhs scalar case first. |
8358 If index is colon, set number of elements to lhs dimension, not | |
8359 rhs dimension. | |
8360 | |
2563 | 8361 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8362 | |
2566 | 8363 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
8364 * sun-utils.cc: Delete. | |
8365 * f2c-main.c: New file | |
8366 | |
8367 * Makefile.in: Fix file name lists. | |
8368 | |
2563 | 8369 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
8370 | |
2561 | 8371 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8372 | |
8373 * dMatrix.cc (Qzval): Don't try to use same memory three times. | |
8374 Create result using Complex constructor, not multiplication. | |
8375 Order elements as they are returned from Eispack. | |
8376 | |
2559 | 8377 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8378 | |
2560 | 8379 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
8380 Only include nan.h if SCO is defined. Define _IEEE before | |
8381 including it and undefine it afterward. | |
8382 [SCO] (isnan): Don't mistake Inf as NaN. | |
8383 | |
2559 | 8384 * Array-idx.h (assign): Only resize if assignment conforms. |
8385 | |
2551 | 8386 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8387 | |
8388 * Makefile.in (INCLUDES): Delete lo-error.h. | |
8389 * lo-error.h: Delete (moved to libcruft/misc). | |
8390 | |
8391 * Version 1.93. | |
8392 | |
2546 | 8393 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8394 | |
2549 | 8395 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
8396 be the same as they are in fnmatch.h. | |
8397 | |
2546 | 8398 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
8399 | |
8400 * Makefile.in (INCLUDES): Delete f77-fcn.h. | |
8401 (SOURCES): Delete f77-fcn.c. | |
8402 | |
2522 | 8403 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8404 | |
8405 * lo-ieee.h: [SCO]: Declare isinf and isnan. | |
8406 | |
2512 | 8407 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8408 | |
8409 * Version 1.92. | |
8410 | |
2508 | 8411 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8412 | |
2512 | 8413 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
8414 lines that have only carriage return or newline. | |
8415 | |
2508 | 8416 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
8417 | |
2500 | 8418 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8419 | |
8420 * idx-vector.cc (idx_is_inf_or_nan): New function. | |
8421 (IDX_VEC_REP::idx_vector_rep): Use it. | |
8422 | |
2493 | 8423 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8424 | |
8425 * str-vec.h, str-vec.cc: Add constructors to make string vectors | |
8426 from vectors of C strings. | |
8427 | |
8428 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string | |
8429 vector. | |
8430 (glob_match::match): Allow match string to be a string vector. | |
8431 (glob_match::glob): New function. | |
8432 | |
8433 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. | |
8434 | |
8435 * Array-b.cc: New file. | |
8436 * Makefile.in (TI_SRC): Add it to the list. | |
8437 | |
2492 | 8438 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8439 | |
8440 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h | |
8441 and safe-stat.h, to avoid getting them from $srcdir when we really | |
8442 want the version from the build directory. (Maybe this should be | |
8443 done for all the include files, not just those that are | |
8444 auto-generated? Hmm.) | |
8445 | |
2481 | 8446 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8447 | |
2482 | 8448 * Version 1.91. |
8449 | |
2481 | 8450 * Array3.cc (Array3<T>::resize): Make it work. |
8451 | |
8452 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8453 | |
8454 * oct-alloc.h, oct-alloc.cc: New files. | |
8455 * Makefile.in: Add them to the lists. | |
8456 | |
8457 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8458 | |
8459 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. | |
8460 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. | |
8461 | |
2466 | 8462 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8463 | |
8464 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, | |
8465 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
8466 file_stat::is_reg, file_stat::is_sock): Just return false if the | |
8467 underlying macro is not defined. | |
8468 | |
8469 * oct-math.h (lgamma, gamma): Delete declarations. | |
8470 (asinh, acosh, atanh, erf, erfc): Declare arg types too. | |
8471 Protect declarations with #ifdef HAVE_*. | |
8472 | |
2440 | 8473 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8474 | |
2452 | 8475 * Version 1.90. |
8476 | |
8477 * Makefile.in (DISTFILES): Add ChangeLog. | |
8478 | |
2444 | 8479 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
8480 | |
8481 * Matrix-ext.cc: Include <cfloat>, not <float.h>. | |
8482 | |
2443 | 8483 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444 | 8484 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
8485 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. | |
2443 | 8486 |
2440 | 8487 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
8488 since that is now accepatble syntax, even for built-in types. | |
8489 * Array2.h (T Array2<T>::checkelem): Likewise | |
8490 | |
2433 | 8491 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8492 | |
8493 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error | |
8494 message and return -1. | |
8495 | |
2428 | 8496 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8497 | |
2431 | 8498 * str-vec.h (str_vec_compare): Declare args as const void *, then |
8499 cast them to const string * in the body of the function. | |
8500 | |
8501 * file-ops.cc (file_stat::mode_as_string): Explicitly construct | |
8502 string from buf. | |
8503 | |
2428 | 8504 * Array3.h (Array3::checkelem): Tag bogus return value with |
8505 GCC_ATTRIBUTE_UNUSED. | |
8506 * Array2.h (Array2::checkelem): Likewise. | |
8507 | |
2424 | 8508 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8509 | |
8510 * Quad.h (Quad): Define virtual destructor. | |
8511 | |
2408 | 8512 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8513 | |
8514 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. | |
8515 | |
2401 | 8516 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8517 | |
8518 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ | |
8519 and MAIN__ extern "C". | |
8520 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. | |
8521 | |
2391 | 8522 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8523 | |
8524 * MArray-misc.cc: New file. | |
8525 * Makefile.in (MATRIX_SRC): Add it to the list. | |
8526 | |
8527 * mx-inlines.cc (equal): Return bool, not int. | |
8528 | |
8529 * idx-vector.h (idx_vector (double)): New constructor. | |
8530 | |
8531 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, | |
8532 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, | |
8533 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, | |
8534 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, | |
8535 CRowVector.cc: Logical operators return bool, not int. | |
8536 | |
8537 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): | |
8538 New function. | |
8539 | |
8540 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, | |
8541 Matrix::any_element_is_inf_or_nan, Matrix::abs, | |
8542 Matrix::all_elements_are_inf_or_nan): New functions. | |
8543 | |
8544 * Range.h, Range.cc (Range::all_elements_are_ints): New function. | |
8545 | |
8546 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant | |
8547 for errors. Simplify macros by converting FCN to string for error | |
8548 messages. | |
8549 | |
8550 * Array-idx.h (Array<T>::index): New function. Don't call | |
8551 clear_index() here. | |
8552 (Array<T>::value): Call it, do call clear_index() here. | |
8553 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for | |
8554 one and two arg index functions. | |
8555 | |
8556 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8557 | |
8558 * DAEFunc.h: Delete #pragma interface since there is no longer a | |
8559 separate implementation file. | |
8560 | |
2354 | 8561 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8562 | |
2358 | 8563 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
8564 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. | |
8565 | |
2356 | 8566 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
8567 sort_uniq. If sort_uniq is nonzero, sort the elements and make | |
8568 them uniq. | |
8569 | |
2354 | 8570 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
8571 ComplexMatrix::column_max, ComplexMatrix::column_min): | |
8572 Rewrite. Also return index as a reference arg. | |
8573 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, | |
8574 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): | |
8575 Delete. | |
8576 | |
8577 * dMatrix.cc (Matrix::row_max, Matrix::row_min, | |
8578 Matrix::column_max, Matrix::column_min): | |
8579 Rewrite. Also return index as a reference arg. | |
8580 (Matrix::row_max_loc, Matrix::row_min_loc, | |
8581 Matrix::column_max_loc, Matrix::column_min_loc): Delete. | |
8582 | |
8583 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8584 | |
8585 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, | |
8586 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, | |
8587 Matrix::column_min_loc, Matrix::column_max, | |
8588 Matrix::column_max_loc): Ignore leading NaNs. | |
8589 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, | |
8590 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, | |
8591 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, | |
8592 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore | |
8593 leading NaNs. | |
8594 | |
2352 | 8595 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8596 | |
8597 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds | |
8598 starting at n, not 0. | |
8599 | |
2349 | 8600 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8601 | |
8602 * dMatrix.cc (Matrix::Matrix (const RowVector&), | |
8603 Matrix::Matrix (const ColumnVector&)): New constructors. | |
8604 | |
8605 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), | |
8606 ComplexMatrix::ComplexMatrix (const ColumnVector&), | |
8607 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), | |
8608 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): | |
8609 New constructors. | |
8610 | |
8611 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): | |
8612 New constructor. | |
8613 | |
2343 | 8614 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8615 | |
8616 * LSODE.cc (do_integrate): Check to make sure that the state and | |
8617 derivative vectors are the same size. | |
2344 | 8618 * DASSL.cc (do_integrate): Likewise. |
2343 | 8619 |
2330 | 8620 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8621 | |
8622 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use | |
8623 iostreams and handler data format conversions. Delete old methods | |
8624 that used stdio. | |
8625 | |
8626 * data-conv.h, data-conv.cc (oct_data_conv): New class. | |
8627 | |
8628 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8629 | |
8630 * mach-info.h: Rename from float-fmt.h. | |
8631 * mach-info.cc: Rename from float-fmt.cc. | |
8632 Handle machine information using a singlton class. | |
8633 * Makefile.in: Update appropriate lists. | |
8634 | |
8635 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8636 | |
8637 * Array-flags.cc: Provide definitions for the flags even if | |
8638 OCTAVE_SOURCE is not defined. | |
8639 | |
8640 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects | |
8641 operator(), not elem(). | |
8642 * Array3.h: Move indexing methods here from Array3.cc. | |
8643 | |
8644 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8645 | |
8646 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). | |
8647 | |
8648 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of | |
8649 INSTALL_DATA for shared libs. | |
8650 | |
8651 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8652 | |
8653 * Quad.cc: Include lo-error.h here too. | |
8654 | |
8655 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8656 | |
8657 * file-ops.h: Include sys/types.h here. | |
8658 | |
8659 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8660 | |
8661 * chMatrix.cc (charMatrix::transpose): Provide definition. | |
8662 | |
8663 * Array-idx.h (maybe_delete_elements): Correctly compute number of | |
8664 elements in result. | |
8665 * Array2-idx.h (maybe_delete_elements): Likewise for number of | |
8666 rows and columns in result. | |
8667 | |
8668 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8669 | |
8670 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. | |
8671 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. | |
8672 | |
8673 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8674 | |
8675 * Makefile.in (install-inc): Install in octincludedir, not includedir. | |
8676 | |
8677 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8678 | |
8679 * Makefile.in (uninstall): Also delete shared library. | |
8680 Split install into install-libs and install-includes. | |
8681 (install-inc): If linkdir is a directory, leave it alone. | |
8682 | |
8683 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. | |
8684 | |
8685 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8686 | |
8687 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. | |
8688 * Array2-idx.h (assign): Likewise. | |
8689 | |
8690 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8691 | |
8692 * Array2.cc (Array2<T>::range_error): New functions. | |
8693 | |
8694 * Array.h (class Array<T>): elem() and operator() are now | |
8695 equivalent, and do bounds checking by default. | |
8696 * Array2.cc (class Array2<T>): Likewise. | |
8697 | |
8698 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8699 | |
8700 * Makefile.in (maintainer-clean, distclean): Also delete | |
8701 stamp-picdir, stamp-shared, and pic directory. | |
8702 (stamp-prereq): New target. | |
8703 | |
8704 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8705 | |
8706 * NPSOL.h (NPSOL_options::set_option (const char *, int)): | |
8707 New function. | |
8708 | |
8709 * Array.h, Array.cc (Array<T>::range_error ()): New functions. | |
8710 * Array.h (Array<T>::checkelem): Use them. | |
8711 | |
8712 * base-lu.h, base-lu.cc: Parameterize based on types of matrix | |
8713 elements too. | |
8714 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. | |
8715 | |
8716 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. | |
8717 | |
8718 * Makefile.in (distclean): Delete so_locations, which is created | |
8719 on DEC Alpha systems. | |
8720 | |
8721 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8722 | |
8723 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not | |
8724 already defined. | |
8725 | |
8726 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8727 | |
8728 * pathsearch.cc: Include config.h. | |
8729 | |
8730 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8731 | |
8732 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't | |
8733 allow M(I, J) = scalar if I or J is empty. | |
8734 | |
8735 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h | |
8736 and Array3-idx.h). | |
8737 | |
8738 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8739 | |
8740 * lo-error.h: Make comments C friendly. | |
8741 | |
8742 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8743 | |
8744 * Array2.h (make_unique): Move all indexing functions here. | |
8745 * Array2.cc: From here. | |
8746 | |
8747 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control | |
8748 whether operator() calls elem or checkelem. | |
8749 | |
8750 * Array.h (make_unique): New private function. | |
8751 Move all indexing functions here. | |
8752 * Array.cc: From here. | |
8753 | |
8754 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference | |
8755 it too. | |
8756 | |
8757 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, | |
8758 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, | |
8759 MArray-C.cc: Include config.h. | |
8760 | |
8761 * Array.h, Array2.h, DiagArray2.h, Array3.h: | |
8762 Don't define HEAVYWEIGHT_INDEXING here. | |
8763 | |
8764 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8765 | |
8766 * base-lu.h, base-lu.cc: New files. | |
8767 * Makefile.in: Add them to the appropriate lists. | |
8768 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. | |
8769 | |
8770 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8771 | |
8772 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h | |
8773 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h | |
8774 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. | |
8775 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. | |
8776 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. | |
8777 | |
8778 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. | |
8779 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. | |
8780 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. | |
8781 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: | |
8782 Simplify using new macros. | |
8783 | |
8784 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8785 | |
8786 * Makefile.in (install): If $(includedir) ends in version string, | |
8787 make link to name that does not include version info. | |
8788 | |
8789 * lo-ieee.cc: Include <cmath> here. | |
8790 | |
8791 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8792 | |
8793 * lo-ieee.cc, lo-ieee.h: New files. | |
8794 * lo-mappers.cc, lo-mappers.h: New files. | |
8795 * lo-utils.cc, lo-utils.h: New files. | |
8796 * Makefile.in: Add them to the appropriate lists. | |
8797 | |
8798 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8799 | |
8800 * dMatrix.cc (all_integers, too_large_for_float): New functions. | |
8801 * CMatrix.cc (all_integers, too_large_for_float): New functions. | |
8802 | |
8803 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, | |
8804 float-fmt.cc: New files. | |
8805 * Makefile.in: Include them in the appropriate lists. | |
8806 | |
8807 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8808 | |
8809 * dMatrix.cc (Qzval): New function. | |
8810 | |
8811 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8812 | |
8813 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not | |
8814 char*. | |
8815 | |
8816 * DASSL.h, DASSL.cc: Do better management of temporary workspace. | |
8817 Use F77_XFCN to call Fortran subroutine. | |
8818 * dColVector.cc, CColVector.cc: Likewise. | |
8819 * dRowVector.cc, CRowVector.cc: Likewise. | |
8820 * NPSOL.h, NPSOL.cc: Likewise. | |
8821 * CmplxCHOL.cc: Likewise. | |
8822 * dbleCHOL.cc: Likewise. | |
8823 * CMatrix.cc: Likewise. | |
8824 * dMatrix.cc: Likewise. | |
8825 * QPSOL.cc: Likewise. | |
8826 * LSODE.cc: Likewise. | |
8827 | |
8828 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8829 | |
8830 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. | |
8831 | |
8832 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary | |
8833 workspace. Use F77_XFCN to call Fortran subroutine. | |
8834 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. | |
8835 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. | |
8836 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. | |
8837 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. | |
8838 * CmplxHESS.h, CmplxHESS.cc: Likewise. | |
8839 * CmplxSVD.h, CmplxSVD.cc: Likewise. | |
8840 * dbleHESS.h, dbleHESS.cc: Likewise. | |
8841 * dbleSVD.h, dbleSVD.cc: Likewise. | |
8842 * EIG.h, EIG.cc; Likewise. | |
8843 * CollocWt.cc: Likewise. | |
8844 * NLEqn.cc: Likewise. | |
8845 * Quad.cc: Likewise. | |
8846 | |
8847 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8848 | |
8849 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. | |
8850 Use F77_XFCN to call Fortran subroutine. | |
8851 * CmplxLU.h, CmplxLU.cc: Ditto. | |
8852 * dbleQR.h, dbleQR.cc: Ditto. | |
8853 * CmplxQR.h, CmplxQR.cc: Ditto. | |
8854 * dbleQRP.h, dbleQRP.cc: Ditto. | |
8855 * CmplxQRP.h, CmplxQRP.cc: Ditto. | |
8856 | |
8857 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. | |
8858 (struct DIR): delete forward declaration. | |
8859 (dir_entry::operator = (const dir_entry$)): Protect against | |
8860 copying same object. | |
8861 * dir-ops.cc: Cast dir appropriately. | |
8862 | |
8863 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8864 | |
8865 * lo-error.cc: Moved to libcruft/misc. | |
8866 * Makefile.in: Delete it from the list. | |
8867 | |
8868 * f77-fcn.c (f77_context, f77_exception_encountered): Delete | |
8869 definitions (they have been moved to libcruft/misc/f77-extern.cc). | |
8870 | |
8871 * Array-flags.h: New file. | |
8872 * Array-idx.h: Include it here. | |
8873 * Makefile.in (MATRIX_INC): Add it to the list. | |
8874 | |
8875 * Array-flags.cc: Renamed from Array-ext.cc. | |
8876 (liboctave_dfi_flag): Renamed from dfi_flag. | |
8877 (liboctave_pcv_flag): Renamed from pcv_flag. | |
8878 (liboctave_pzo_flag): Renamed from pzo_flag. | |
8879 (liboctave_rre_flag): Renamed from rre_flag. | |
8880 * Array-idx.h: Change all uses of dfi_flag, etc. | |
8881 * Makefile.in (MATRIX_SRC): Change file name here too. | |
8882 | |
8883 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. | |
8884 (stamp-shared): Use them here. | |
8885 | |
8886 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8887 | |
8888 * cmd-hist.cc (command_history::ignore_entries): Delete default | |
8889 argument value. | |
8890 | |
8891 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8892 | |
8893 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, | |
8894 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, | |
8895 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, | |
8896 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: | |
8897 Clean up constructors, assigment operator. | |
8898 | |
8899 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8900 | |
8901 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. | |
8902 Check f77_exception_encountered on return. | |
8903 | |
8904 * f77-fcn.c (f77_exception_encountered): New variable. | |
8905 (F77_XFCN): Set it. | |
8906 * f77-fcn.h: Provide declaration. | |
8907 | |
8908 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). | |
8909 | |
8910 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). | |
8911 | |
8912 * NLEqn.h (NLEqn_options::set_options): New function. | |
8913 * Quad.h (Quad_options::set_options): Likewise. | |
8914 | |
8915 * LP.h (class LP): Add accessors for LP data. | |
8916 | |
8917 * NLEqn.h (NLEqn::n): Delete. | |
8918 | |
8919 * NLEqn.h (class NLEqn::n): Likewise. | |
8920 | |
8921 * NLP.h (class NLP): Add accessors for NLP data. | |
8922 | |
8923 * NPSOL.h (class NPSOL_options): Move constructors, set, and | |
8924 access functions here. | |
8925 * NPSOL.cc.cc: From here. | |
8926 | |
8927 * QLD.h (class QLD): Add destructor definition. | |
8928 * Objective.h (class Objective): Likewise. | |
8929 * ODEFunc.h (class ODEFunc): Likewise. | |
8930 * NLFunc.h (class NLFunc): Likewise. | |
8931 * NLEqn.h (class NLEqn): Likewise. | |
8932 * NLConst.h (class NLConst): Likewise. | |
8933 * LinConst.h (class LinConst): Likewise. | |
8934 * LSODE.h (class LSODE_options): Likewise. | |
8935 * CollocWt.h (class CollocWt): Likewise. | |
8936 * Bounds.h (class Bounds): Likewise. | |
8937 | |
8938 * QLD.cc (QLD::set_default_options): Delete. | |
8939 | |
8940 * QP.h (QP): Add accessors for QP data. | |
8941 Add copy constructor, operator =, and destructor definitions. | |
8942 | |
8943 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, | |
8944 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, | |
8945 DAEFunc.h, CollocWt.h, Bounds.h: | |
8946 Clean up constructors, assigment operator. | |
8947 | |
8948 * dRowVector.cc (RowVector::transpose): Use magic of reference | |
8949 counting to avoid duplicating the data immediately. | |
8950 * dColVector.cc (ColumnVector::transpose): Likewise. | |
8951 * CRowVector.cc (ComplexrowVector::transpose): Likewise. | |
8952 * CColVector.cc (ComplexColumnVector::transpose): Likewise. | |
8953 | |
8954 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8955 | |
8956 * prog-args.h (prog_args::option_argument): New enum. | |
8957 | |
8958 * f77-fcn.h: Rename from f77-uscore.h. | |
8959 (F77_XFCN_ERROR, F77_XFCN): New macros. | |
8960 * f77-fcn.c: New file. | |
8961 * Makefile.in (SOURCES): Add it to the list. | |
8962 | |
8963 * ODEFunc.h: Clean up. | |
8964 | |
8965 * DASSL.cc, DASSL.h: New files. | |
8966 * Makefile.in: Add them to the appropriate lists. | |
8967 | |
8968 * LSODE.cc, LSODE.h: New files. | |
8969 * Makefile.in: Add them to the appropriate lists. | |
8970 | |
8971 * ODE.cc: Delete. | |
8972 * Makefile.in (SOURCES): Remove from list. | |
8973 | |
8974 * base-de.h, DAE.cc: New files. | |
8975 * Makefile.in: Add them to the appropriate lists. | |
8976 * ODE.h: Only define interface for ODE classes. | |
8977 * DAE.h: Only define interface for ODE classes. | |
8978 | |
8979 * LPsolve.cc (do_minimize): Print sorry not implemented message. | |
8980 (LPsolve::set_default_options)): Delete | |
8981 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and | |
8982 destructor. | |
8983 | |
8984 * LP.h (class LP): Add operator =, copy constructor, and destructor. | |
8985 | |
8986 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. | |
8987 (QPSOL::operator =): Call base class operator = instead of assuming | |
8988 we know what to copy. | |
8989 | |
8990 * base-min.h (size): New function. | |
8991 | |
8992 * NLP.h (NLP::size): Delete. | |
8993 (NLP::NLP (const NLP&)): New constructor. | |
8994 (NLP::operator =): Call base class operator = instead of assuming | |
8995 we know what to copy. | |
8996 | |
8997 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. | |
8998 (class NPSOL): Add operator = and destructor. | |
8999 | |
9000 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. | |
9001 | |
9002 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9003 | |
9004 * Makefile.in (liboctave.a): Depend on $(PICOBJ). | |
9005 | |
9006 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9007 | |
9008 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. | |
9009 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. | |
9010 | |
9011 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9012 | |
9013 * prog-args.h, prog-args.cc: New files. | |
9014 * Makefile.in: Add them to lists. | |
9015 | |
9016 * getopt.h, getopt.c, getopt1.c: New files. | |
9017 * Makefile.in: Add them to the lists. | |
9018 | |
9019 * oct-term.h, oct-term.cc: New files. | |
9020 * Makefile.in: Add them to the lists. | |
9021 | |
9022 * str-vec.cc: New file. | |
9023 * Makefile.in (SOURCES): Add it to the list. | |
9024 | |
9025 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. | |
9026 | |
9027 * tempname.c, tempnam.c: Move here from src directory. | |
9028 * Makefile.in: Add to lists. | |
9029 | |
9030 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9031 | |
9032 * cmd-hist.h, cmd-hist.cc: New files. | |
9033 * Makefile.in: Add them to lists. | |
9034 | |
9035 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9036 | |
9037 * oct-glob.h, oct-glob.cc: New files. | |
9038 * Makefile.in: Add them to lists. | |
9039 | |
9040 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9041 | |
9042 * pathsearch.h, pathsearch.cc: New files. | |
9043 * Makefile.in: Add them to lists. | |
9044 | |
9045 * dir-ops.h, dir-ops.cc: New files. | |
9046 * sysdir.h: Move here from src directory. | |
9047 * Makefile.in: Add them to lists. | |
9048 | |
9049 * Array.h (Array::qsort): Return *this, not void. | |
9050 * str-vec.h (string_vector::qsort): Likewise. | |
9051 | |
9052 * chMatrix.cc (row_as_string): Resize result to eliminate | |
9053 unnecessary NULs. | |
9054 | |
9055 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9056 | |
9057 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, | |
9058 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: | |
9059 Files moved here from src directory. | |
9060 * Makefile.in: Add them to lists. Include appropriate rules. | |
9061 | |
9062 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
9063 Use pointers, not references (this is C code!). | |
9064 | |
9065 * oct-math.h: New file. | |
9066 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
9067 Files moved here from src directory. | |
9068 * Makefile.in: Add them to lists. | |
9069 | |
9070 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9071 | |
9072 * idx-vector.cc (make_uniq): Fix major brain-o. | |
9073 | |
9074 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: | |
9075 Convert to use string class instead of char*. | |
9076 | |
9077 * str-vec.h, Array-str.cc: New files. | |
9078 | |
9079 * Array.h (Array::qsort): New function. | |
9080 | |
9081 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9082 | |
9083 * Array.h: Nest ArrayRep class inside Array class. | |
9084 Refer to ArrayRep, not ArrayRep<T>. | |
9085 Move all ArrayRep functions inline. | |
9086 Don't declare other Array classes as friends of ArrayRep. | |
9087 * Array.cc: Delete ArrayRep functions. | |
9088 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. | |
9089 | |
9090 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: | |
9091 Don't instantiate ArrayRep objects. | |
9092 | |
9093 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9094 | |
9095 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
9096 New constructor. | |
9097 | |
9098 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9099 | |
9100 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* | |
9101 for balance_job arg. | |
9102 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. | |
9103 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. | |
9104 | |
9105 * chMatrix.cc (row_as_string): Return string, not const char*. | |
9106 | |
9107 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9108 | |
9109 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. | |
9110 | |
9111 * chMatrix.cc (row_as_string): Undo previous change. | |
9112 | |
9113 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9114 | |
9115 * chMatrix.cc (row_as_string): Do memory management here. Caller | |
9116 is expected to save string if necessary. | |
9117 | |
9118 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9119 | |
9120 * Array.h (class DiagArray): Enable nested Proxy class for all | |
9121 platforms. | |
9122 | |
9123 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == | |
9124 a.rep, don't mess with count. | |
9125 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, | |
9126 don't do anything if reps are the same. | |
9127 (Array3<T>& operator = (const Array3<T>&) | |
9128 | |
9129 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): | |
9130 Declare private with no definition to prevent misuse. | |
9131 | |
9132 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): | |
9133 Get range check right. | |
9134 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. | |
9135 (Matrix::insert (const ColumnVector&, int, int)): Ditto. | |
9136 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. | |
9137 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. | |
9138 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. | |
9139 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. | |
9140 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. | |
9141 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. | |
9142 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. | |
9143 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. | |
9144 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. | |
9145 * dColVector.cc | |
9146 (ColumnVector::insert (const ColumnVector&, int)): Ditto. | |
9147 * CRowVector.cc | |
9148 (ComplexRowVector::insert (const RowVector&, int)): Ditto. | |
9149 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. | |
9150 * CColVector.cc | |
9151 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. | |
9152 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. | |
9153 | |
9154 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): | |
9155 Also fill in zeros, not just the diagonal. | |
9156 | |
9157 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): | |
9158 Use END parameter properly. | |
9159 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. | |
9160 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. | |
9161 | |
9162 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. | |
9163 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. | |
9164 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): | |
9165 Don't copy count. Set it to 1. | |
9166 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. | |
9167 | |
9168 * Array.h (Array<T>::Array (T *, int)): After constructing rep, | |
9169 don't set rep->count to 1 here (now handled by ArrayRep | |
9170 constructors). | |
9171 (Array<T>::Array (void)): Ditto. | |
9172 (Array<T>::Array (int)): Ditto. | |
9173 (Array<T>::T& elem (int)): Ditto. | |
9174 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. | |
9175 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. | |
9176 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. | |
9177 (Array<T>::resize (int)): Ditto. | |
9178 (Array<T>::resize (int, const T&)) :Ditto. | |
9179 (Array<T>::fortran_vec (void)): Ditto. | |
9180 (Array2<T>::resize (int, int)): Ditto. | |
9181 (Array2<T>::resize (int, int, const T&)): Ditto. | |
9182 (DiagArray<T>::resize (int, int)): Ditto. | |
9183 (DiagArray<T>::resize (int, int, const T&)): Ditto. | |
9184 | |
9185 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9186 | |
9187 * Array-ch.cc: Rename from Array-c.cc. | |
9188 * MArray-ch.cc: Rename from MArray-c.cc. | |
9189 * chMatrix.cc: Rename from cMatrix.cc. | |
9190 * chMatrix.h: Rename from cMatrix.h. | |
9191 * Makefile.in (TI_SRC): Use new names here. | |
9192 * mx-base.h: Likewise. | |
9193 | |
9194 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9195 | |
9196 * Makefile.in: Handle shared libraries. | |
9197 | |
9198 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9199 | |
9200 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): | |
9201 Correctly compute length of return value. Correct rows and | |
9202 columns in zgemv call. | |
9203 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. | |
9204 | |
9205 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9206 | |
9207 * Makefile.in (stamp-picdir): New target. | |
9208 (all): Depend on it. | |
9209 | |
9210 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9211 | |
9212 * Makefile.in (INCLUDES): Remove QLD.h. | |
9213 (SOURCES): Remove QLD.cc. | |
9214 | |
9215 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9216 | |
9217 * dMatrix.cc (Matrix::inverse): New arg, force. | |
9218 If force is nonzero, invert even if matrix is singular. | |
9219 (ComplexMatrix::inverse): Likewise. | |
9220 | |
9221 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, | |
9222 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, | |
9223 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: | |
9224 Include "oct-cmplx.h" instead of <Complex.h>. | |
9225 | |
9226 * mx-defs.h: Include oct-cmplx.h in place of forward declaration | |
9227 for class Complex. | |
9228 | |
9229 * oct-cmplx.h: New file. | |
9230 * Makefile.in (INCLUDES): Add it to the list. | |
9231 | |
9232 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. | |
9233 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. | |
9234 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. | |
9235 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): | |
9236 Avoid g++ bugs. | |
9237 | |
9238 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9239 | |
9240 * Array-idx.h (maybe_delete_elements): Give useful error message. | |
9241 | |
9242 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. | |
9243 | |
9244 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9245 | |
9246 * CDiagMatrix.cc (inverse): Return retval, not *this. | |
9247 * dDiagMatrix.cc (inverse): Use same method as for Complex case. | |
9248 | |
9249 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9250 | |
9251 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep | |
9252 index vector object with Array, not ArrayRep. | |
9253 | |
9254 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9255 | |
9256 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail | |
9257 if index is a colon and resizing is maybe needed. | |
9258 | |
9259 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9260 | |
9261 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true | |
9262 if we have a vector of 1's. | |
9263 | |
9264 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no | |
9265 current orientation, require index and rhs to conform unless | |
9266 do_fortran_indexing flag is set. | |
9267 | |
9268 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9269 | |
9270 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, | |
9271 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, | |
9272 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, | |
9273 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, | |
9274 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: | |
9275 Massive changes to support additional data types. Only charMatrix | |
9276 is currently used in Octave. | |
9277 | |
9278 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9279 | |
9280 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. | |
9281 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): | |
9282 Simply call Array2<Complex> version. | |
9283 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just | |
9284 call Array2<double> version. | |
9285 | |
9286 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. | |
9287 | |
9288 * Array.h, Array.cc: Massive overhaul to support new way of | |
9289 handling indexing. | |
9290 * idx-vector.h, idx-vector.cc: Likewise. | |
9291 * Array-ext.cc, Array-idx.h: New files. | |
9292 * Makefile.in: Add them to the appropriate lists. | |
9293 | |
9294 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9295 | |
9296 * Range.cc (nelem_internal): Use tfloor here, not round. | |
9297 | |
9298 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9299 | |
9300 * idx-vector.h, idx-vector.cc: New files, moved from ../src. | |
9301 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. | |
9302 | |
9303 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9304 | |
9305 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. | |
9306 | |
9307 * Array.h: Move simple member functions here. | |
9308 * Array.cc: From here. | |
9309 | |
9310 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9311 | |
9312 * Range.cc (tfloor, tceil, round): New static functions. | |
9313 (Range::nelem_internal): Rewrite to use better method. | |
9314 | |
9315 * dbleSVD.h (SVD::type): New item, sigma_only. | |
9316 (type_computed): New var. | |
9317 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): | |
9318 Handle possible error condition. | |
9319 (init): Allow for SVD::sigma_only, save type computed. | |
9320 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): | |
9321 Handle possible error condition. | |
9322 (init): Allow for SVD::sigma_only, save type computed. | |
9323 | |
9324 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9325 | |
9326 * Nearly all non-matrix .h and .cc files: | |
9327 Move short function bodies into class declarations for inlining. | |
9328 Generally clean up. | |
9329 | |
9330 * base-min.h: New file. | |
9331 * LP.h (class LP): Derive from base_minimizer. | |
9332 * QLP.h (class QLP): Derive from base_minimizer. | |
9333 * NLP.h (class NLP): Derive from base_minimizer. | |
9334 * Makefile.in (INCLUDES): Add base-min.h to the list. | |
9335 | |
9336 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, | |
9337 NLFunc.cc, Objective.cc and QP.cc from list. | |
9338 | |
9339 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9340 | |
9341 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. | |
9342 (SCHUR::SCHUR): Delete unused parameter ord. | |
9343 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. | |
9344 | |
9345 * CRowVector.cc | |
9346 (ComplexRowVector::operator+ (const Complex&, const RowVector&), | |
9347 (ComplexRowVector::operator- (const Complex&, const RowVector&), | |
9348 (ComplexRowVector::operator* (const Complex&, const RowVector&), | |
9349 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): | |
9350 Actually do something. | |
9351 | |
9352 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. | |
9353 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. | |
9354 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. | |
9355 | |
9356 * Quad.cc (Quad_options::Quad_options (double, double)): New function. | |
9357 * (Quad::Quad (integrand_fcn, double, double): Properly initialize | |
9358 tolerances. | |
9359 | |
9360 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. | |
9361 * LPsolve.cc (LPsolve::minimize): Likewise. | |
9362 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. | |
9363 * ODE.cc (lsode_f, lsode_j): Likewise. | |
9364 * QPSOL.cc (qphess): Likewise. | |
9365 | |
9366 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9367 | |
9368 * dMatrix.cc: Include <cstring>. | |
9369 | |
9370 * Array.cc: Try harder to avoid warnings from gcc in functions | |
9371 that return bogus values after calling the error handler. | |
9372 | |
9373 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9374 | |
9375 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. | |
9376 | |
9377 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. | |
9378 | |
9379 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9380 | |
9381 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. | |
9382 (dassl_j): Likewise. | |
9383 | |
9384 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, | |
9385 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, | |
9386 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: | |
9387 Update for change in for loop variable scope for gcc 2.7.0. | |
9388 | |
9389 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9390 | |
9391 * Makefile.in: Only include dependency files if $(omit_deps) is | |
9392 not set. | |
9393 | |
9394 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) | |
9395 | |
9396 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h | |
9397 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h | |
9398 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h | |
9399 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h | |
9400 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h | |
9401 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h | |
9402 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h | |
9403 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h | |
9404 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc | |
9405 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc | |
9406 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc | |
9407 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc | |
9408 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc | |
9409 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc | |
9410 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc | |
9411 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc | |
9412 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc | |
9413 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h | |
9414 NLP.h: Use pragma interface/implementation. Don't surround | |
9415 contents in extern "C++". | |
9416 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". | |
9417 | |
9418 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9419 | |
9420 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase | |
9421 identifiers. | |
9422 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
9423 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
9424 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
9425 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
9426 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
9427 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
9428 Quad.cc: Change usage of F77_FCN to match new definition | |
9429 | |
9430 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
9431 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
9432 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
9433 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
9434 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
9435 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
9436 Quad.cc: Where appropriate, declare Fortran subroutines to take | |
9437 args by reference instead of pointer. Change all callers. | |
9438 | |
9439 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9440 | |
9441 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New | |
9442 functions. Make += and -= operators friend functions. | |
9443 | |
9444 * Array.h (Array2::~Array2, Array3::~Array3, | |
9445 DiagArray::~DiagArray): New functions. | |
9446 | |
9447 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9448 | |
9449 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. | |
9450 (MATRIX_INC): Don't distribute mx-kludge.h. | |
9451 | |
9452 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
9453 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
9454 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
9455 dRowVector.h dRowVector.cc: | |
9456 Derive classes from MArray, MArray2, and MDiagArray, not Array, | |
9457 Array2, and DiagArray2. | |
9458 Don't use functions defined in mx-kludge.cc for arithmetic | |
9459 like-type operations on arrays. | |
9460 | |
9461 * MArray.cc: Use the classes defined here like-type mathematical | |
9462 operations on Array objects. Abuse CPP more. | |
9463 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
9464 (EXTRAS): Delete it from this list. | |
9465 | |
9466 * MArray-C.cc, MArray-d.cc: New files. | |
9467 * Makefile.in (TI_SRC): Add them to the list. | |
9468 | |
9469 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9470 | |
9471 * mx-kludge.cc: Abuse CPP even more. | |
9472 | |
9473 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9474 | |
9475 * Objective.h (objective_function): Add missing const. | |
9476 (gradient_function): Likewise. | |
9477 | |
9478 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
9479 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
9480 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
9481 dRowVector.h dRowVector.cc: | |
9482 Reorganize to declare and define friends where they should be, | |
9483 based on the use of private constructors. | |
9484 | |
9485 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9486 | |
9487 * CRowVector.h (linspace): Add declaration. | |
9488 * dRowVector.h (linspace): Likewise. | |
9489 | |
9490 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
9491 Force result of rcond + 1.0 to be stored. | |
9492 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, | |
9493 ComplexMatrix::solve): Likewise. | |
9494 | |
9495 See ChangeLog.1 in the top level directory for earlier changes. |