Mercurial > hg > octave-nkf
annotate liboctave/ChangeLog @ 7572:85da2ab0c6fd
logical indexing compatibility fixes
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 07 Mar 2008 20:17:54 -0500 |
parents | 0ef0f9802a37 |
children | 755bf7ecc29b |
rev | line source |
---|---|
7572
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
1 2008-03-07 John W. Eaton <jwe@octave.org> |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
2 |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
3 * 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
|
4 IDX_VEC_REP::idx_vector_rep (const boolNDArray&)): |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
5 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
|
6 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
|
7 (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
|
8 |
7559
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
9 2008-03-05 Jaroslav Hajek <highegg@gmail.com> |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
10 |
7560
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
11 * 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
|
12 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
|
13 * 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
|
14 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
|
15 |
7559
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
16 * dbleCHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
17 * CmplxHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
18 * 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
|
19 * 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
|
20 * 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
|
21 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
22 2008-03-04 Jaroslav Hajek <highegg@gmail.com> |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
23 |
7554
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
24 * dbleCHOL.cc (CHOL::set, CHOL::update, CHOL::downdate): |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
25 New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
26 * dbleCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
27 * CmplxCHOL.cc (ComplexCHOL::set, ComplexCHOL::update, |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
28 ComplexCHOL::downdate): New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
29 * CmplxCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
30 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
31 * 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
|
32 QR::insert_row, QR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
33 (QR::QR (const Matrix&, const MAtrix&)): New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
34 * dbleQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
35 * CmplxQR.cc (ComplexQR::update, ComplexQR::insert_col, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
36 ComplexQR::delete_col, ComplexQR::insert_row, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
37 ComplexQR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
38 (ComplexQR::ComplexQR (const ComplexMatrix&, const ComplexMAtrix&)): |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
39 New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
40 * CmplxQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
41 |
7549
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
42 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
|
43 |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
44 * 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
|
45 of < and > operators. |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
46 |
7546
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
47 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
|
48 |
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
49 * 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
|
50 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
|
51 |
7545 | 52 2008-03-03 Jaroslav Hajek <highegg@gmail.com> |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
53 |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
54 * dMatrix.cc (Matrix::lssolve): Also avoid dgelsd lwork query bug |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
55 in lssolve method that accepts column vector argument. Correct |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
56 calculation of nlvl. |
7545 | 57 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd. |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
58 |
7537
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
59 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
|
60 |
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
61 * 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
|
62 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
63 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
|
64 |
7536 | 65 * oct-rand.cc (get_dist_id): Fix typo. |
66 (get_dist_id, octave_rand::distribution, octave_rand::scalar, | |
67 fill_rand): Improve error messages. | |
68 | |
7535
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
69 * 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
|
70 (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
|
71 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
|
72 (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
|
73 |
7533
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
74 * 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
|
75 (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
|
76 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
|
77 (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
|
78 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
|
79 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
|
80 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
|
81 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
|
82 (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
|
83 (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
|
84 (octave_rand::uniform_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
85 octave_rand::normal_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
86 octave_rand::exponential_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
87 octave_rand::poisson_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
88 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
|
89 (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
|
90 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
|
91 (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
|
92 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
93 * 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
|
94 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd |
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
95 |
7521
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
96 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
|
97 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
98 * 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
|
99 specializations for signed and unsigned types. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
100 (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
|
101 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
|
102 octave_int_helper class. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
103 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
104 * 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
|
105 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
|
106 with "template <>". |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
107 |
7520 | 108 2008-02-22 John W. Eaton <jwe@octave.org> |
109 | |
110 * CSparse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc, | |
111 file-ops.cc, oct-group.cc, oct-shlib.cc, sparse-base-chol.h, | |
112 sparse-dmsolve.cc: Use 0 instead of NULL. | |
113 | |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
114 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
|
115 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
116 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
117 (octave_idx_type) const): New method. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
118 * boolSparse.h (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
119 (octave_idx_type) const): Declare it. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
120 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
121 * 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
|
122 factorization of xGETRF directly. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
123 * 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
|
124 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
|
125 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
|
126 to simulate the retirn of xGETRF. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
127 * 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
|
128 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
|
129 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
|
130 (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
|
131 * 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
|
132 scaling. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
133 * SparseCmplxLU.cc: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
134 * 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
|
135 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
|
136 * SparseCmplxLU.h: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
137 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
138 * 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
|
139 return permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
140 * 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
|
141 * 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
|
142 return row permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
143 (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
|
144 permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
145 * 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
|
146 (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
|
147 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
148 * 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
|
149 |
7505
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
150 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
|
151 |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
152 * 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
|
153 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
|
154 (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
|
155 * 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
|
156 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
|
157 (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
|
158 * 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
|
159 * 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
|
160 |
7503
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
161 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
|
162 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
163 * boolNDArray.h (boolNDArray (const Array2<bool>&)): Delete. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
164 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
165 * Marray2.h (MArray2 (const Array2<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
166 MArray2 (const MArray2<U>&)): New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
167 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
168 * Array2.h (Array2 (const Array<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
169 Array2 (const Array<U>&, const dim_vector&)): |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
170 New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
171 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
172 * CColVector.cc (ComplexColumnVector::map): Forward to MArray::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
173 * dColVector.cc (ColumnVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
174 * CRowVector.cc (ComplexRowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
175 * dRowVector.cc (RowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
176 * CMatrix.cc (ComplexMatrix::map): Forward to MArray2::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
177 * dMatrix.cc (Matrix::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
178 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
179 * dNDArray.cc (NDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
180 * dNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
181 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
182 * CNDArray.cc (ComplexNDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
183 * CNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
184 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
185 * MArray2.h (MArray2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
186 * Array2.h (Array2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
187 * MArrayN.h (MArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
188 * ArrayN.h (ArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
189 * Array.h (Array<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
190 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
191 * functor.h: New file. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
192 * Makefile.in (INCLUDES): Add it to the list. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
193 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
194 2008-02-20 David Bateman <dbateman@free.fr> |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
195 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
196 * CColVector.h, CColVector.cc (ComplexColumnVector::apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
197 * dColVector.h, dColVector.cc (ColumnVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
198 * CRowVector.h, CRowVector.cc (ComplexRowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
199 * dRowVector.h, dRowVector.cc (RowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
200 * CMatrix.h, CMatrix.cc (ComplexMatrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
201 * dMatrix.h, dMatrix.cc (Matrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
202 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
203 * CSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
204 (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
|
205 * CSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
206 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
207 * dSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
208 (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
|
209 * dSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
210 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
211 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
212 * intNDArray.cc (abs, signum): Two new mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
213 * intNDArray.h (abs, signum): Declare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
214 * 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
|
215 base type. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
216 |
7486
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
217 2008-02-15 John W. Eaton <jwe@octave.org> |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
218 |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
219 * 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
|
220 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
|
221 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
222 |
7482
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
223 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
|
224 |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
225 * 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
|
226 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
|
227 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
|
228 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
|
229 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
|
230 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
|
231 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc: |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
232 Don't check f77_exception_encountered. |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
233 |
7477 | 234 2008-02-12 John W. Eaton <jwe@octave.org> |
235 | |
236 * CMatrix.cc: Declare xilaenv instead of ilaenv. | |
237 (ComplexMatrix::lssolve): Call xilaenv instead of ilaenv. | |
238 | |
7476 | 239 2008-02-12 Jason Riedy <ejr@cs.berkeley.edu> |
240 | |
7480 | 241 * Array.cc (ascending_compare, descending_compare): Remove |
242 non-standard extern in the instantiations. | |
243 | |
244 * oct-sort.cc: Include <cstring> and sprinkle with std:: as needed. | |
245 | |
7476 | 246 * dMatrix.cc (ILAENV): Declare LAPACK Fortran function. |
247 (Matrix::lssolve): Use ILAENV to query smlsiz. And add an ugly | |
248 workaround for DGELSD's broken lwork query. The formula is from | |
249 LAPACK's dgelsd.f source and allocates enough workspace to use an | |
250 efficient algorithm in the short-and-fat case (n > m). | |
251 * CMatrix.cc (ILAENV): Declare LAPACK Fortran function. | |
252 (ComplexMatrix::lssolve): Use ILAENV to query smlsiz. And add an | |
253 ugly workaround for DGELSD's broken lwork query, as with double. | |
254 | |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
255 2008-02-12 John W. Eaton <jwe@octave.org> |
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
256 |
7470
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
257 * sparse-sort.cc: Don't explicitly instantiate |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
258 class octave_sort<octave_idx_vector_sort *>, |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
259 class octave_sort<octave_idx_type>, or |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
260 class octave_sort<octave_sparse_sort_idxl *>. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
261 |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
262 * Sparse.h (INSTANTIATE_SPARSE_SORT): Delete macro. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
263 * 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
|
264 |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
265 * 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
|
266 |
7466
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
267 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
|
268 |
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
269 * 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
|
270 |
7463
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
271 2008-02-08 John W. Eaton <jwe@octave.org> |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
272 |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
273 * oct-sort.h (enum sortmode): Eliminate UNDEFINED. Change all |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
274 uses of UNDEFINED to ASCENDING. |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
275 |
7457 | 276 2008-02-07 John W. Eaton <jwe@octave.org> |
277 | |
7458 | 278 * Range.cc (Range::sort_internal): Rename from sort. New arg, |
279 ASCENDING, with default value of true. | |
280 (Range::sort_internal (Array<octave_idx_type>&, bool)): New function. | |
281 (Range::sort (octave_idx_type, sortmode) const): New function. | |
282 (Range::sort (Array<octave_idx_type>&, octave_idx_type, sortmode) | |
283 const): New function. | |
284 * Range.h: Fix/provide decls. | |
285 | |
7457 | 286 * intNDArray.cc (intNDArray<T>::any (int)): Use != for comparison. |
287 | |
7449 | 288 2008-02-06 John W. Eaton <jwe@octave.org> |
289 | |
290 * Makefile.in ($(OPTS_INC)): Use mv instead of move-if-change. | |
291 (stamp-prereq): Eliminate. | |
292 (clean): Don't remove stamp-prereq. | |
293 (libraries): Don't depend on stamp-prereq. | |
294 (PREREQ): New macro. | |
295 ($(MAKEDEPS)): Depend on $(PREREQ), not stamp-prereq. | |
296 (distclean): Simplify with $(PREREQ). | |
297 (OPT_BASE): New macro. | |
298 (OPT_IN): Rename from OPTS_INC_DATA. Define in terms of OPT_BASE. | |
299 (OPT_INC): Rename from OPTS_INC. Define in terms of OPT_BASE. | |
300 | |
7448 | 301 2008-02-05 John W. Eaton <jwe@octave.org> |
302 | |
303 * Makefile.in: Unconditionally include $(MAKEDEPS). | |
304 Mark $(MAKEDEPS) as .PHONY targets if omit_deps is true. | |
305 | |
7443 | 306 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> |
307 | |
308 * Array.cc (ascending_compare, descending_compare, | |
309 Array<T>::sort): Declare explicit specialization for T=double to | |
310 avoid symbol duplication error at link time. | |
311 * Array-d.cc (ascending_compare, descending_compare): Declare and | |
312 define as nonmember functions, not member functions of Array<T>. | |
313 | |
7442 | 314 2008-02-03 John W. Eaton <jwe@octave.org> |
315 | |
316 * Array-i.cc: Also instantiate Arrays for long long type if it exists. | |
317 | |
318 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> | |
319 | |
320 * Array.cc: Don't include Range.h. | |
321 | |
7433 | 322 2008-01-31 David Bateman <dbateman@free.fr> |
323 | |
324 * oct-sort.cc: conversion of int to octave_idx_type where needed | |
325 for 64-bit builds. | |
326 (IFLT): Allow IFLT macro to be overridden. | |
327 * oct-sort.h: conversion of int to octave_idx_type where needed | |
328 for 64-bit builds. | |
329 (enum sortmode): Type of sort to perform. | |
330 (vec_index): Simple class to aid in indexed sorts. | |
331 | |
332 * Array.h ( Array<T> sort (octave_idx_type, sortmode) const, | |
333 Array<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
334 sortmode) const): Array sorting methods. | |
335 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT): Macros to | |
336 instantiate the array sorting methods. | |
337 * Array.cc (ascending_compare, descending_compare): New template | |
338 functions for generic sort comparison. | |
339 ( Array<T> Array<T>::sort (octave_idx_type, sortmode) const, | |
340 Array<T> Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, | |
341 sortmode) const): Array sorting functions based of octave_sort | |
342 class. | |
343 * Array-C.cc: Instantiate the complex array sort methods. | |
344 (IFLT): New macro to override the one in the | |
345 octave_sort class to avoid need for Complex < and > operators. | |
346 (static double xabs (const Complex&)): Complex abs function | |
347 avoiding std::abs(Inf) returning NaN with some compilers. | |
348 (ascending_compare, descending compare): override template | |
349 functions for complex comparison. | |
350 * Array-d.cc: Instantiate the double array sort methods. | |
351 (Array<double> Array<double>::sort (octave_idx_type, | |
352 sortmode) const, Array<double> Array<double>::sort | |
353 (Array<octave_idx_type> &, octave_idx_type, sortmode) const): | |
354 Array sorting functions based of octave_sort using uint64 sorting | |
355 on IEE754 doubles, for speed and correct sorting of Inf and NaN. | |
356 (ascending_compare, descending compare): override template | |
357 functions for double and uint64 comparison. | |
358 * Array-b.cc, Array-ch.cc, Array-i.cc, Array-s.cc, Array-str.cc: | |
359 Instantiate the array sort methods. | |
360 * Array-idx-vec.cc: Null instantiation of array sort methods. | |
361 * Array2.h, Array3.h, ArrayN.h (sort): 2, 3 and N-dimensional | |
362 versions of the sort methods based on Array<T>::sort. | |
363 | |
364 * CSparse.cc, dSparse.cc: Remove inclusion of octa-sort.h. | |
365 * Sparse.h ( Sparse<T> sort (octave_idx_type, sortmode) const, | |
366 Sparse<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
367 sortmode) const): Sparse sorting methods. | |
368 (INSTANTIATE_ARRAY_SORT): Macro to instantiate the sparse sorting | |
369 methods. | |
370 * Sparse.cc: replace sort with lsort throughout to avoid shadowing | |
371 of new sort method. | |
372 (sparse_ascending_compare, sparse_descending_compare): New template | |
373 functions for generic sort comparison. | |
374 ( Sparse<T> Sparse<T>::sort (octave_idx_type, sortmode) const, | |
375 Sparse<T> Sparse<T>::sort (Sparse<octave_idx_type> &, octave_idx_type, | |
376 sortmode) const): Sparse sorting functions based of octave_sort | |
377 class. | |
378 * Sparse-C.cc: Instantiate the complex sparse sort methods. | |
379 (IFLT): New macro to override the one in the | |
380 octave_sort class to avoid need for Complex < and > operators. | |
381 (static double xabs (const Complex&)): Complex abs function | |
382 avoiding std::abs(Inf) returning NaN with some compilers. | |
383 (sparse_ascending_compare, sparse_descending compare): override | |
384 template functions for complex comparison. | |
385 * Sparse-d.cc: Instantiate the cdouble sparse sort methods. | |
386 (sparse_ascending_compare, sparse_descending compare): override | |
387 template functions for double comparison. | |
388 * Array-b.cc: Instantiate the sparse sort methods. | |
389 | |
7422 | 390 2008-01-25 Jaroslav Hajek <highegg@gmail.com> |
391 | |
392 * idx-vector.h (idx_vector::idx_vector_rep::range_base, | |
393 idx_vector::idx_vector_rep::range_step, | |
394 idx_vector::idx_vector_rep::range_step): New data members. | |
395 (idx_vector::idx_vector_rep::idx_vector_rep): Initialize them. | |
396 * idx-vector.cc (IDX_VEC_REP::sort, IDX_VEC_REP::is_colon_equiv, | |
397 IDX_VEC_REP::init_state, IDX_VEC_REP::operator =, | |
398 IDX_VECTOR_REP::idx_vector_rep): Handle range. | |
399 | |
7416 | 400 2008-01-18 Marco Caliari <marco.caliari@univr.it> |
401 | |
402 * dMatrix.cc (Matrix::expm): Correctly perform reverse permutation. | |
403 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
404 | |
7408 | 405 2008-01-22 Michael Goffioul <michael.goffioul@gmail.com> |
7407 | 406 |
407 * oct-time.cc (octave_base_tim::init): Validate pointer argument; | |
408 this fixes the "localtime(-1)" crash under Windows. | |
409 | |
7400 | 410 2008-01-18 John W. Eaton <jwe@octave.org> |
411 | |
412 * dMatrix.cc (solve_singularity_warning): New function. | |
413 (Matrix::expm): Pass pointer to solve_singularity_warning to | |
414 Matrix::solve method. Exit early if Matrix::solve fails. | |
415 Limit sqpow value to avoid overflowing scale factor. | |
416 * CMatrix.cc (solve_singularity_warning): New function. | |
417 (ComplexMatrix::expm): Pass pointer to solve_singularity_warning to | |
418 ComplexMatrix::solve method. Exit early if ComplexMatrix::solve fails. | |
419 Limit sqpow value to avoid overflowing scale factor. | |
7402 | 420 From Marco Caliari <marco.caliari@univr.it>. |
7400 | 421 |
7356 | 422 2008-01-10 Kim Hansen <kimhanse@gmail.com> |
423 | |
424 * Sparse.cc: New tests for slicing of sparse matrices. | |
425 | |
7350 | 426 2008-01-07 David Bateman <dbateman@free.fr> |
427 | |
428 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Don't break from | |
429 loop if this test succeeds. | |
430 | |
7342 | 431 2008-01-03 David Bateman <dbateman@free.fr> |
432 | |
433 * MSparse.cc (SPARSE_A2A2_OP): If first arg is scalar zero, then | |
434 need unary operator on remaining argument | |
435 * Sparse-op-defs.h (SPARSE_SMSM_BIN_OP_1): ditto. | |
436 | |
7334 | 437 2007-12-21 John W. Eaton <jwe@octave.org> |
438 | |
439 Version 3.0.0 released. | |
440 | |
7322 | 441 2007-12-18 David Bateman <dbateman@free.fr> |
442 | |
443 * Sparse.cc (template <class T> Sparse<T> Sparse<T>::index | |
444 (idx_vector&, int) const): Fix case indexing of non zero scalar | |
445 stored as a sparse matrix. | |
446 (template <class T> Sparse<T> Sparse<T>::index (idx_vector&, | |
447 idx_vector&, int) const): For the non permutated indexing case, | |
448 fix link list calculation and use. | |
449 | |
7321 | 450 2007-12-17 John W. Eaton <jwe@octave.org> |
451 | |
452 * Array.cc (Array<T>::indexN): Correctly handle scalar indexed by | |
453 N-d array. | |
454 | |
7318 | 455 2007-12-17 David Bateman <dbateman@free.fr> |
456 | |
457 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Use ridx for row | |
458 index. | |
459 | |
7299 | 460 2007-12-11 John W. Eaton <jwe@octave.org> |
461 | |
462 * Sparse.cc (Sparse<T>::index (idx_vector&, int) const): | |
463 If indexing scalar with empty matrix, return empty array with same | |
464 size as index. | |
465 | |
7272 | 466 2007-12-10 John W. Eaton <jwe@octave.org> |
467 | |
7279 | 468 * NLEqn.h (NLEqn::fval): New data member. Adjust constructors |
469 and assignment operator. | |
470 (NLEqn::function_value): New function. | |
471 * NLEqn.cc (NLEqn::solve): If solution is successful, compute | |
472 function value. | |
473 | |
7272 | 474 * file-ops.cc (file_ops::concat): New function. |
475 * file-ops.h: Provide decl. | |
476 | |
7270 | 477 2007-12-07 John W. Eaton <jwe@octave.org> |
478 | |
479 * oct-time.cc (octave_base_tm::init): Only assign t->tm_zone if it | |
480 is not 0. | |
481 | |
7269 | 482 2007-12-07 David Bateman <dbateman@free.fr> |
483 | |
484 * Sparse-op-defs.h (SPARSE_SMS_CMP_OP, SPARSE_SMS_BOOL_OP, | |
485 SPARSE_SSM_CMP_OP, SPARSE_SSM_BOOL_OP, SPARSE_SMSM_CMP_OP, | |
486 SPARSE_SMSM_BOOL_OP, SPARSE_BASE_REDUCTION_OP): Use sparse | |
487 indexing where possible rather than the elem method. | |
488 (SPARSE_REDUCTION_OP_ROW_EXPR, SPARSE_REDUCTION_OP_COL_EXPR, | |
489 SPARSE_ANY_ALL_OP_ROW_CODE, SPARSE_ANY_ALL_OP_COL_CODE): | |
490 Replace for new version of SPARSE_BASE_REDUCTION_OP. | |
491 (SPARSE_ALL_OP): Specialize the initial value, and only treat dim | |
492 = 0 directly. | |
493 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::sumsq (int) | |
494 const): Replace ROW_EXPR and COL_EXPR functions for new version of | |
495 SPARSE_BASE_REDUCTION_OP. | |
496 (SparseComplexMatrix SparseComplexMatrix::prod (int) const): | |
497 Specialize the initial value, and only treat dim = 0 directly. | |
498 * dSparse.cc (SparseMatrix SparseMatrix::sumsq (int) const): | |
499 ditto. | |
500 (SparseMatrix SparseMatrix::prod (int) const): ditto. | |
501 | |
7265 | 502 2007-12-06 John W. Eaton <jwe@octave.org> |
503 | |
504 * CMatrix.cc (ComplexMatrix::expm): Update pointers to internal | |
505 data for npp and dpp after assignments. | |
506 * dMatrix.cc (Matrix::expm): Use same method as ComplexMatrix::expm. | |
507 | |
7253 | 508 2007-12-04 John W. Eaton <jwe@octave.org> |
509 | |
510 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
511 Do nothing if one index is empty. | |
512 | |
7246 | 513 2007-12-04 David Bateman <dbateman@free.fr> |
514 | |
515 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
516 Resize matrix as well if one dimension of lhs is zero and the rhs | |
517 index exceeds the lhs index. | |
518 * Sparse.cc (assign1 (Sparse<LT>&, const Sparse<RT>&)): | |
519 Don't resize to a smaller matrix for empty matrices with a max rhs | |
520 index smaller than the non zero lhs index. | |
521 | |
522 2007-12-04 Michael Goffioul <michael.goffioul@gmail.com> | |
523 | |
524 * Array-util.h: Tag permute_vector_compare with OCTAVE_API. | |
525 | |
7241 | 526 2007-12-03 Moritz Borgmann <octave@moriborg.de> |
527 | |
528 * Array-util.cc (permute_vector_compare): Move here from Array.cc. | |
529 * Array-util.h (permute_vector, permute_vector_compare): Provide decls. | |
530 * Array.cc (permute_vector, permute_vector_compare): Delete. | |
531 | |
7238 | 532 2007-12-03 David Bateman <dbateman@free.fr> |
533 | |
534 * Sparse.cc (template <class LT, class RT> int assign | |
535 (Sparse<LT>&, const Sparse<RT>&)): Only set return matrix size to | |
536 rhs values if both no. rows and columns are zero. | |
537 | |
7231 | 538 2007-11-30 John W. Eaton <jwe@octave.org> |
539 | |
7234 | 540 * oct-sort.cc, oct-sort.h: Style fixes. |
541 | |
7231 | 542 * lo-math.h: New file. |
543 * Makefile.in (INCLUDES): Add it to the list. | |
544 * liboctave/Array2.h, liboctave/ArrayN.h, liboctave/CmplxDET.cc, | |
545 liboctave/DASPK.cc, liboctave/DASPK.h, liboctave/DASRT.cc, | |
546 liboctave/DASRT.h, liboctave/DASSL.cc, liboctave/DASSL.h, | |
547 liboctave/LSODE.cc, liboctave/LSODE.h, liboctave/NLEqn.h, | |
548 liboctave/Quad.h, liboctave/Range.cc, liboctave/dbleDET.cc, | |
549 liboctave/lo-cieee.c, liboctave/lo-ieee.cc, | |
550 liboctave/lo-mappers.cc, liboctave/oct-time.cc, | |
551 liboctave/oct-time.h, liboctave/randgamma.c, | |
552 liboctave/randmtzig.c, liboctave/randpoisson.c: Include lo-math.h | |
553 instead of cmath or math.h. | |
554 * lo-mappers.h: Don't include sunmath.h here. | |
555 | |
7198 | 556 2007-11-26 John W. Eaton <jwe@octave.org> |
557 | |
558 * idx-vector.h (idx_vector::idx_vector_rep (const intNDArray<U>&)): | |
559 Eliminate unnecessary second arg from call to tree_to_mat_idx. | |
560 | |
561 * oct-inttypes.h (operator bool, operator char): Delete. | |
562 (bool_value, char_value, double_value, float_value): New functions. | |
563 | |
7189 | 564 2007-11-26 David Bateman <dbateman@free.fr> |
565 | |
566 * intNDArray.cc (template <class T> intNDArray<T> | |
567 intNDArray<T>::max (int) const, template <class T> intNDArray<T> | |
568 intNDArray<T>::max (ArrayN<octave_idx_type>&, int) const, | |
569 template <class T> intNDArray<T> intNDArray<T>::min (int) const, | |
570 template <class T> intNDArray<T> intNDArray<T>::min | |
571 (ArrayN<octave_idx_type>&, int) const): New methods for integer | |
572 classes. | |
573 * intNDArray.h (class intNDArray): Add min/max methods | |
574 * mx-op-defs.h (MIXMAX_DECLS, MINMAX_FCNS, SND_MINMAX_FCN, | |
575 NDS_MINMAX_FCN, NDND_MINMAX_FCN): New macro for instantiation of | |
576 min/max functions. | |
577 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
578 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
579 (MINMAX_DECLS(T)): Declare the min/max functions for integer | |
580 types. | |
581 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
582 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
583 (MINMAX_FCNS(T)): Instantiate the min/max functions for integer | |
584 types. | |
585 | |
586 * Arrayc.cc (Array<T>::index (idx_vector&, idx_vector&, int, | |
587 const T& rfv) const): If ndims != 2 call ND version of index. | |
588 | |
7176 | 589 2007-11-14 John W. Eaton <jwe@octave.org> |
590 | |
7178 | 591 * oct-inttypes.h (opeator T (void) const): New conversion operator. |
592 | |
7176 | 593 * lo-specfun.cc (zbesi): When alpha is negative, don't limit |
594 correction to half-integer values. From Eric Chassande-Mottin | |
595 <echassandemottin@gmail.com>. | |
596 | |
7124 | 597 2007-11-07 Michael Goffioul <michael.goffioul@gmail.com> |
598 | |
599 * dMatrix.cc, CMatrix.cc: Help MSVC compiler to resolve | |
600 ambiguities related to math functions (in C++ mode). | |
601 | |
7102 | 602 2007-11-06 David Bateman <dbateman@free.fr> |
603 | |
7113 | 604 * intNDArray.cc (intNDArray<T> intNDArray<T>::sum (int) const): |
605 New method. | |
606 * intNDarray.h (intNDArray sum (int) const): Declare it. | |
607 * boolNDArray.cc (boolNDArray boolNDArray::sum (int) const): | |
608 New method. | |
609 * boolNDarray.cc (boolNDArray sum (int) const): Declare it. | |
7102 | 610 * MArray-def.h (MARRAY_NORM_BODY): Scale frobenius norm by infinity |
611 norm to avoid issues of over- and underflow. From Rolf Fabian | |
612 <Rolf.Fabian@gmx.de>. | |
613 | |
7081 | 614 2007-10-30 David Bateman <dbateman@free.fr> |
615 | |
616 * DASRT-opts.in, LSODE-opts.in: Doc fixes for small book format. | |
617 | |
7079 | 618 2007-10-30 John W. Eaton <jwe@octave.org> |
619 | |
620 * CMatrix.cc (lssolve): Compute size of rwork and iwork arrays. | |
621 * dMatrix.cc (lssolve): Compute size of iwork array. | |
622 | |
7076 | 623 2007-10-29 David Bateman <dbateman@free.fr> |
624 | |
625 * CMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
626 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
627 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
628 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
629 double& rcond) const, lssolve (const ComplexColumnVector&, | |
630 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
631 declarations. | |
632 * CMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
633 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
634 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
635 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
636 double& rcond) const, lssolve (const ComplexColumnVector&, | |
637 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
638 methods. | |
639 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
640 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
641 octave_idx_type&, double&) const): Also return rcond from the | |
642 singular values returned by XGELSD. | |
643 * dMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
644 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
645 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
646 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
647 double& rcond) const, lssolve (const ComplexColumnVector&, | |
648 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
649 declarations. | |
650 * dMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
651 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
652 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
653 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
654 double& rcond) const, lssolve (const ComplexColumnVector&, | |
655 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
656 methods. | |
657 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
658 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
659 octave_idx_type&, double&) const): Also return rcond from the | |
660 singular values returned by XGELSD. | |
661 | |
7072 | 662 2007-10-26 David Bateman <dbateman@free.fr> |
663 | |
664 * dMatrix.cc (Matrix::lssolve): Use xGELSD for rank deficient | |
665 matrices to avoid reliability issues with xGELSY. | |
666 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. | |
7071 | 667 |
7065 | 668 2007-10-25 John W. Eaton <jwe@octave.org> |
669 | |
670 * oct-time.cc (octave_gmtime::init, octave_localtime::init): | |
671 Call unix_time on arg instead of relying on conversion operator. | |
672 | |
673 * oct-time.h (octave_time::double_value): New function. | |
674 (octave_time::operator double () const): Delete. | |
675 (octave_time::operator time_t () const): Delete. | |
676 | |
7058 | 677 2007-10-24 John W. Eaton <jwe@octave.org> |
678 | |
679 * strptime.c: Also compile if OCTAVE_HAVE_BROKEN_STRPTIME is defined. | |
680 | |
7052 | 681 2007-10-23 John W. Eaton <jwe@octave.org> |
682 | |
683 * CRowVector.cc (operator * const ComplexRowVector&, const | |
684 ComplexColumnVector&)): Delete spurious code left from patch. | |
685 | |
7048 | 686 2007-10-22 Kim Hansen <kimhanse@gmail.com> |
687 | |
688 * chMatrix.cc, lo-utils.cc, oct-env.cc, oct-uname.cc, | |
689 sparse-sort.cc: Include <cstring>. | |
690 | |
7036 | 691 2007-10-17 John W. Eaton <jwe@octave.org> |
692 | |
693 * oct-sparse.h: Don't include metis.h. | |
694 | |
695 * dSparse.cc (SparseMatrix::fsolve): Delete special code for METIS. | |
696 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
697 * sparse-base-chol.cc (sparse_base_chol<chol_type, chol_elt, | |
698 p_type>::sparse_base_chol_rep::init): Likewise. | |
699 | |
7033 | 700 2007-10-16 John W. Eaton <jwe@octave.org> |
701 | |
702 * dMatrix.cc (Matrix::inverse): Only check rcond == 0 if the | |
703 matrix is hermitian or calc_cond is true. | |
704 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
705 | |
7016 | 706 2007-10-12 John W. Eaton <jwe@octave.org> |
707 | |
708 * Change copyright notices in all files that are part of Octave to | |
709 GPLv3 or any later version. | |
710 | |
7007 | 711 2007-10-11 Brian Gough <bjg@network-theory.co.uk> |
712 | |
713 * DASSL-opts.in, LSODE-opts.in: Spelling fixes. | |
714 | |
7001 | 715 2007-10-10 Olli Saarela <Olli.Saarela@kcl.fi> |
716 | |
717 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in: Spelling fixes. | |
718 | |
7000 | 719 2007-10-10 John W. Eaton <jwe@octave.org> |
720 | |
721 * LPsolve.h, LPsolve.cc: Delete. | |
722 * Makefile.in: Remove them from the INCLUDES and | |
723 LIBOCTAVE_CXX_SOURCES lists. | |
724 | |
6989 | 725 2007-10-09 John W. Eaton <jwe@octave.org> |
726 | |
6996 | 727 * oct-time.cc (octave_strptime::init): Initialize t.tm_mon to -1 |
728 and t.tm_year to INT_MIN before call to oct_strptime. Adjust | |
729 values to zero after call if they remain unchanged. | |
730 | |
6989 | 731 * dSparse.cc (SparseMatrix::all_elements_are_zero): New function. |
732 * dNDArray.cc (NDArray::all_elements_are_zero): New function. | |
733 | |
6988 | 734 2007-10-09 David Bateman <dbateman@free.fr> |
735 | |
6995 | 736 * oct-time.cc (octave_strptime::init): Only call mktime if mday is |
737 valud and mon and year are also filled in. | |
738 | |
6990 | 739 * Array2.h (Array2<T>::Array2(const dim_vector&), |
740 Array2<T>::Array(const dim_vector&, const T&)): Check that | |
741 dim_vector is 2 dimensional. | |
742 | |
6988 | 743 * Sparse.cc (Sparse<T> Sparse<T>::index (idx_vector&, idx_vector&, |
744 int)): Remove a for loop in the random indexing case at the | |
745 expense of maintaining a set of linked lists of indices that point | |
746 to the same column in the original matrix. | |
747 (int assign (Sparse<LT>&, Sparse<RT>)): Take a const copy of lhs | |
748 and use it on the RHS of expressions to avoid unnecessary calls to | |
749 make_unique. | |
750 | |
6979 | 751 2007-10-08 David Bateman <dbateman@free.fr> |
752 | |
753 * oct-rl-edit. (typedef rl_quoting_fcn_ptr, rl_dequoting_fcn_ptr, | |
754 rl_char_is_quoted_fcn_ptr, rl_command_fcn_ptr): New typedefs | |
755 for readline compatible functions. | |
756 (octave_rl_redisplay): Redisplay the current line of text. | |
757 (octave_rl_newline): Change interface to the same | |
758 as used by the equivalent readline function itself. | |
759 (octave_rl_filename_quoting_desired, | |
760 octave_rl_set_filename_quote_characters, | |
761 octave_rl_set_completer_quote_characters, | |
762 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
763 octave_rl_set_char_is_quoted_function): New functions to control | |
764 readline filename quoting and line acceptace. | |
765 * oct-rl-edit.c (octave_rl_newline): Change interface to the same | |
766 as used by the equivalent readline function itself. | |
767 (octave_rl_redisplay): Redisplay the current line of text. | |
768 (octave_rl_filename_quoting_desired, | |
769 octave_rl_set_filename_quote_characters, | |
770 octave_rl_set_completer_quote_characters, | |
771 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
772 octave_rl_set_char_is_quoted_function): New functions to control | |
773 readline filename quoting and line acceptace. | |
774 * cmd-edit.h (typedef quoting_fcn, typedef dequoting_fcn, | |
775 typedef char_is_quoted_fcn, user_accept_line_fcn): New typedefs | |
776 to map C++ function to readline compatible functions. | |
777 (set_filename_quote_characters): New function to set the | |
778 characters to if they appear in a filename that force the filename | |
779 to be quoted. | |
780 (set_completer_quote_characters): The characters that the readline | |
781 completion function considers as quotation characters. | |
782 (set_quoting_function, set_dequoting_function, | |
783 set_char_is_quoted_function, set_user_accept_line_function): | |
784 Functions to set the Octave functions to perform quoting and the | |
785 acceptance of a line of text by readline. | |
786 (get_quoting_function, get_dequoting_function, | |
787 get_char_is_quoted_function, get_user_accept_line_function): | |
788 Functions to get the above functions. | |
789 (accept_line): New method for the command_editor to accept a line | |
790 of text. | |
791 (file_quoting_desired): Function to set whether readline should | |
792 attempt to quote filenames. | |
793 (do_set_filename_quoting_characters, | |
794 do_set_completer_quote_characters, do_set_quoting_function, | |
795 do_set_dequoting_function, do_set_char_is_quoted_function, | |
796 do_set_user_accept_line_function, do_get_quoting_function, | |
797 do_get_dequoting_function, do_get_char_is_quoted_function, | |
798 do_get_user_accept_line_function, do_filename_quoting_desired): | |
799 Virtual functions to control the behavior of readline quoting and | |
800 acceptance of lines. | |
801 (do_accept_line): Virtual function for the accept line function. | |
802 * cmd-edit.cc (class gnu_readline do_set_filename_quote_characters, | |
803 do_completer_quote_characters, do_set_quoting_function, | |
804 do_set_dequoting_function, do_set_char_is_quoted_function, | |
805 do_set_user_accept_line_function, do_get_quoting_function, | |
806 do_get_dequoting_function, do_get_user_accept_line_function, | |
807 do_accept_line, do_filename_quoting_desired, command_quoter, | |
808 command_dequoter, command_char_is_quoted, command_accept_line): | |
809 New functions in gnu_readline class to control filename quoting | |
810 and line acceptance. | |
811 (quoting_function, dequoting_function, char_is_quoted_function, | |
812 user_accept_line_function): private variable to store functions | |
813 supplied for readline quoting and line acceptance. | |
814 (gnu_readline::gnu_readline): Also set the new function pointers | |
815 to zero. | |
816 (gnu_readline::do_newline): Adapt to new octave_rl_newline | |
817 interface. | |
818 (gnu_readeline::operate_and_get_next): Use new accept_line | |
819 function rather than newline. | |
820 (default_ommand_editor::do_accept_line): New method. | |
821 (class command_editor set_filename_quote_characters, | |
822 set_completer_quote_characters, set_quoting_function, | |
823 set_dequoting_function, set_char_is_quoted_function, | |
824 set_user_accept_line_function, get_quoting_function, | |
825 get_dequoting_function, get_user_accept_line_function, | |
826 accept_line, filename_quoting_desired): New functions checking | |
827 instance before calling virtual function. | |
828 | |
829 * CMatrix.h, dMatrix.h, boolMatrix.h, chMatrix.h, MArray2.h, | |
830 Array2.h: Add dim_vector constructors. | |
831 * charNDArray.h (charNDArray (const dim_vector&)): Add missing | |
832 const to dim_vector constructors. | |
833 * boolMatrix.cc, chMatrix.cc, intNDArray.cc (diag (void), diag | |
834 (octave_idx_type)): New methods to constructor diagonal matrices. | |
835 * boolMatrix.h, chMatrix.h, intNDArray.h (diag (void), diag | |
836 (octave_idx_type)): Declare them. | |
837 | |
838 | |
6969 | 839 2007-10-06 John W. Eaton <jwe@octave.org> |
840 | |
841 * lo-specfun.cc: (zlgamma): Delete. | |
842 (xgamma): Use C library gamma function if available. | |
843 (xlgamma): Use C library lgamma function if available. | |
844 (xlgamma) [! HAVE_LGAMMA]: Allow calculation for any value of X | |
845 other than NaN or Inf. | |
846 | |
6961 | 847 2007-10-05 John W. Eaton <jwe@octave.org> |
848 | |
849 * lo-specfun.cc (zlgamma): New function. | |
850 | |
6959 | 851 2007-10-04 John W. Eaton <jwe@octave.org> |
852 | |
853 * oct-sort.cc (octave_sort<T>::binarysort): Remove register | |
854 qualifiers on local variables. | |
855 | |
6958 | 856 2007-10-04 Marco Caliari <mcaliari@math.unipd.it> |
857 | |
858 * CMatrix.cc (ComplexMatrix::expm): Limit shift to values less | |
859 than log(realmax) to avoid issues with NaN. | |
860 | |
6940 | 861 2007-10-01 John W. Eaton <jwe@octave.org> |
862 | |
6941 | 863 * oct-time.cc (octave_strptime::init): Call mktime to propertly |
864 initialize wday and yday. | |
865 From Matthias Drochner <m.drochner@fz-juelich.de>. | |
866 | |
6940 | 867 * cmd-edit.cc (command_editor::do_decode_prompt_string): Don't |
868 insert extra '\001' when decoding \[ and \]. | |
869 | |
6926 | 870 2007-09-26 David Bateman <dbateman@free.fr> |
871 | |
872 * dMatrix.cc (lssolve): Replace the use of xGELSS with xGELSY with | |
873 is much faster and no less accurate. | |
874 * CMatrix.cc (lssolve): ditto. | |
875 | |
6924 | 876 2007-09-25 David Bateman <dbateman@free.fr> |
877 | |
878 * dMatrix.cc (utsolve, ltsolve, fsolve, lssolve): Allow | |
879 zero dimensioned matrices. | |
880 * CMatrix.cc (utsolve, ltsolve, fsolve, lssolve): ditto. | |
881 * dSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
882 ditto. | |
883 * CSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
884 ditto. | |
885 * SparseQR.cc (SparseQR::SparseQR_rep::C, qrsolve): ditto. | |
886 * SparseCmplxQR.cc (SparseComplexQR::SparseComplexQR_rep::C, | |
887 qrsolve): ditto. | |
888 * sparse-dmsolve.cc (dmsolve): ditto. | |
889 | |
6922 | 890 2007-09-21 John W. Eaton <jwe@octave.org> |
891 | |
892 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): | |
893 Also allow resizing empty LHS if it is 1x0 or 0xN. | |
894 | |
6916 | 895 2007-09-19 John W. Eaton <jwe@octave.org> |
896 | |
897 * cmd-edit.cc (command_editor::remove_startup_hook): | |
898 Fix cut-and-paste error. | |
6917 | 899 (gnu_readline::set_startup_hook): Only set hook function if new |
900 function is different from the current one. | |
6916 | 901 |
6913 | 902 2007-09-18 John W. Eaton <jwe@octave.org> |
903 | |
904 * cmd-edit.h, cmd-edit.cc (command_editor::startup_hook_set, | |
905 command_editor::event_hook_set): New static data. | |
906 (default_command_editor::set_startup_hook, | |
907 gnu_readline::set_startup_hook, | |
908 default_command_editor::restore_startup_hook, | |
909 gnu_readline_restore_event_hook): | |
910 Rename from do_set_startup_hook and do_set_event_hook. | |
911 (gnu_readline::operate_and_get_next): Call | |
912 command_editor::add_startup_hook, not | |
913 command_editor::set_startup_hook. | |
914 (command_editor::startup_handler, command_editor::event_handler): | |
915 New functions. | |
916 (command_editor::add_startup_hook, command_editor::add_event_hook, | |
917 command_editor::remove_startup_hook, | |
918 command_editor::remove_event_hook): Rename from set_startup_hook | |
919 and restore_startup_hook. Handle hook sets here. | |
920 * cmd-edit.cc (gnu_history::do_goto_mark): | |
921 Call remove_startup_hook instead of restore_startup_hook. | |
922 | |
6907 | 923 2007-09-17 John W. Eaton <jwe@octave.org> |
924 | |
925 * lo-utils.cc (octave_read_complex, octave_read_double): Skip | |
926 leading whitespace. | |
927 | |
6897 | 928 2007-09-13 John W. Eaton <jwe@octave.org> |
929 | |
930 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
931 octave_read_complex): Use istream::get instead of >> to read | |
932 individual characters. | |
933 | |
6884 | 934 2007-09-10 John W. Eaton <jwe@octave.org> |
935 | |
936 * Array.cc (assign1): Don't call make_unique for invalid assignment. | |
937 | |
938 2007-09-10 David Bateman <dbateman@free.fr> | |
939 | |
940 * Array.h (Array<T>::make_unique): Make public so that the | |
941 ::assign functions can access it directly. | |
942 * Array.cc (Array<T>::maybe_delete_elements_1(idx_vector&), | |
943 Array<T>::maybe_delete_elements_1(idx_vector&), | |
944 Array<T>::maybe_delete_elements(idx_vector&, idx_vector&), | |
945 Array<T>::maybe_delete_elements(Array<idx_vector>&, const T&)): | |
946 Use xelem for non const RHS to avoid call to make_unique. | |
947 (int assign1 (Array<LT>&, const Array<RT>&, const LT&)): Use | |
948 xelem for LHS and call lhs.make_unique() only once. Special case | |
949 the is_colon index case and use Array<T>::xelem(octave_idx_type) | |
950 rather than Array<T>::xelem(octave_idx_type,octave_idx_type) and | |
951 bring the additional multiplication out of the inner loop. | |
952 (int assign2 (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
953 (int assignN (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
954 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep | |
955 (const Range& r)): Don't use init_state() method but special case | |
956 as with a Range can avoid exhaustive search. | |
957 | |
6881 | 958 2007-09-07 John W. Eaton <jwe@octave.org> |
959 | |
960 * Array.cc (Array<T>::fortran_vec): Call make_unique instead of | |
961 manipulating rep directly. | |
962 | |
963 * Array.h (idx, idx_count): Declare mutable. | |
964 (Array<T>::set_index, Array<T>::clear_index, Array<T>::value): | |
965 Now const. | |
966 | |
6867 | 967 2007-09-06 David Bateman <dbateman@free.fr> |
968 | |
6868 | 969 * Array-util.cc (increment_index): dimensions can have singleton |
970 trailing dimensions. | |
6867 | 971 * Array.h (range_error, xelem, checkelem, elem, operator ()): |
972 Modify use of Array<int> to Array<octave_idx_type> and adjust | |
973 where necessary. | |
974 * Array.cc (range_error): ditto. | |
975 * MArrayN.h (permute, ipermute): ditto. | |
976 * ArrayN.h (permute, ipermute): ditto. | |
977 * so-array.cc (streamoff_array::compute_index): ditto. | |
978 * so-array.h (compute_index): ditto. | |
979 * CMattrix.cc (ComplexMatrix::exmpm): ditto. | |
980 | |
6840 | 981 2007-08-29 David Bateman <dbateman@free.fr> |
982 | |
983 * dSparse.cc (SparseMatrix SparseMatrix::inverse (MatrixType &, | |
984 octave_idx_type&, double&, int, int)): Calculate with LU even for | |
985 matrices marked as singular. | |
986 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::inverse ( | |
987 MatrixType &, octave_idx_type&, double&, int, int)): ditto. | |
988 * dMatrix.cc (Matrix Matrix::inverse (MatrixType &, octave_idx_type&, | |
989 double&, int, int)): ditto. If rcond==0 force matrix of infinities. | |
990 * dMatrix.cc (ComplexMatrix ComplexMatrix::inverse (MatrixType &, | |
991 octave_idx_type&, double&, int, int)): ditto. | |
992 | |
6838 | 993 2007-08-27 John W. Eaton <jwe@octave.org> |
994 | |
995 * oct-env.cc (octave_env::rooted_relative_pathname, | |
996 octave_env::do_rooted_relative_pathname): New functions. | |
997 * oct-env.h: Provide decls. | |
998 | |
6823 | 999 2007-08-24 David Bateman <dbateman@free.fr> |
1000 | |
1001 * MSparse.h (MSparse<T>& insert (const Sparse<T>&, | |
1002 const Array<octave_idx_type>&)): New method. | |
1003 (MSparse (const dim_vector&, octave_idx_type)): Ditto. | |
1004 * dSparse.h (SparseMatrix& SparseMatrix::insert (const | |
1005 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
1006 (SparseMatrix (const dim_vector&, octave_idx_type)): ditto. | |
1007 * dSparse.cc (SparseMatrix& SparseMatrix::insert (const | |
1008 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
1009 * boolSparse.h (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
1010 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
1011 * boolSparse.cc (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
1012 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
1013 * CSparse.h (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
1014 SparseMatrix&, const Array<octave_idx_type>&), | |
1015 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
1016 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
1017 (SparseComplexMatrix (const dim_vector&, octave_idx_type)): ditto. | |
1018 * CSparse.cc (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
1019 SparseMatrix&, const Array<octave_idx_type>&), | |
1020 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
1021 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
1022 | |
6817 | 1023 2007-08-19 David Bateman <dbateman@free.fr> |
1024 | |
1025 * Sparse.cc (Sparse<T>::permute): Avoid shadowing warning. | |
1026 | |
6813 | 1027 2007-08-14 John W. Eaton <jwe@octave.org> |
1028 | |
1029 * Sparse.cc (Sparse<T>::permute): permutation vector is zero based. | |
1030 Simplify. | |
6814 | 1031 (Sparse<T>::reshape): Warn about reshaping to N-d array. |
6813 | 1032 |
6810 | 1033 2007-08-10 Michael Goffioul <michael.goffioul@gmail.com> |
1034 | |
1035 * file-stat.cc (file_stat::update_internal) [__WIN32__]: | |
1036 Remove trailing dir separator when stat'ing directory except for | |
1037 root directory. | |
1038 | |
6796 | 1039 2007-07-25 David Bateman <dbateman@free.fr> |
1040 | |
1041 * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" | |
1042 to work. | |
1043 | |
6764 | 1044 2007-06-04 David Bateman <dbateman@free.fr> |
1045 | |
1046 * oct-inttypes.h (octave_int<T>& operator <<= (const T2&), | |
1047 octave_int<T>& operator >>= (const T2&)): Make shift operators | |
1048 perform a twos complement arithmetic shift for both signed and | |
1049 unsigned integers regardless of compiler implementations. | |
1050 | |
6708 | 1051 2007-06-13 Michael Goffioul <michael.goffioul@swing.be> |
1052 | |
6719 | 1053 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): For CXSparse 2.2 and greater |
1054 use cs_complex_t(0,0) for the complex zero. | |
1055 | |
6708 | 1056 * MArray-ch.cc, MArray-d.cc, MArray-i.cc, MArray-s.cc: |
1057 Sprinkle class instantiations with OCTAVE_API as needed. | |
1058 | |
1059 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY, | |
1060 INSTANTIATE_ARRAY_AND_ASSIGN): New arg, API. Change all uses. | |
1061 * MArray-defs.h (MARRAY_OP_ASSIGN_DECL, MARRAY_OP_ASSIGN_DECLS, | |
1062 MARRAY_OP_ASSIGN_FWD_DECLS, MARRAY_OP_ASSIGN_FRIENDS, | |
1063 MARRAY_OP_ASSIGN_DEFS, MARRAY_UNOP, MARRAY_UNOP_DECLS, | |
1064 MARRAY_UNOP_FWD_DECLS, MARRAY_UNOP_FRIENDS, MARRAY_UNOP_DEFS, | |
1065 MARRAY_BINOP_DECL, MARRAY_BINOP_DECLS, MARRAY_AA_BINOP_DECLS, | |
1066 MDIAGARRAY2_DAS_BINOP_DECLS, MDIAGARRAY2_SDA_BINOP_DECLS, | |
1067 MDIAGARRAY2_DADA_BINOP_DECLS, MARRAY_BINOP_FWD_DECLS, | |
1068 MDIAGARRAY2_BINOP_FWD_DECLS, MARRAY_BINOP_FRIENDS, | |
1069 MDIAGARRAY2_BINOP_FRIENDS, MARRAY_BINOP_DEFS, | |
1070 MDIAGARRAY2_BINOP_DEFS, MARRAY_OPS_FORWARD_DECLS, | |
1071 MDIAGARRAY2_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS, | |
1072 MDIAGARRAY2_OPS_FRIEND_DECLS, INSTANTIATE_MARRAY_FRIENDS, | |
1073 INSTANTIATE_MARRAY2_FRIENDS, INSTANTIATE_MARRAYN_FRIENDS, | |
1074 INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. | |
1075 * MSparse-defs.h (SPARSE_OP_ASSIGN_DECL, SPARSE_OP_ASSIGN_DECLS, | |
1076 SPARSE_OP_ASSIGN_FWD_DECLS, SPARSE_OP_ASSIGN_FRIENDS, | |
1077 SPARSE_OP_ASSIGN_DEFS, SPARSE_UNOP, SPARSE_UNOP_DECLS, | |
1078 SPARSE_UNOP_FWD_DECLS, SPARSE_UNOP_FRIENDS, SPARSE_UNOP_DEFS, | |
1079 SPARSE_BINOP_DECL, SPARSE_BINOP_DECLS, SPARSE_AA_BINOP_DECLS, | |
1080 SPARSE_BINOP_FWD_DECLS, SPARSE_BINOP_FRIENDS, SPARSE_BINOP_DEFS, | |
1081 SPARSE_OPS_FORWARD_DECLS, SPARSE_OPS_FRIEND_DECLS, | |
1082 INSTANTIATE_SPARSE_FRIENDS): Ditto. | |
1083 * Sparse-op-defs.h (SPARSE_BIN_OP_DECL, SPARSE_CMP_OP_DECL, | |
1084 SPARSE_BOOL_OP_DECL, SPARSE_SMS_BIN_OP_DECLS, | |
1085 SPARSE_SMS_CMP_OP_DECLS, SPARSE_SMS_EQNE_OP_DECLS, | |
1086 SPARSE_SMS_BOOL_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
1087 SPARSE_SMS_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
1088 SPARSE_SSM_CMP_OP_DECLS, SPARSE_SSM_EQNE_OP_DECLS, | |
1089 SPARSE_SSM_BOOL_OP_DECLS, SPARSE_SSM_OP_DECLS, | |
1090 SPARSE_SMSM_BIN_OP_DECLS, SPARSE_SMSM_CMP_OP_DECLS, | |
1091 SPARSE_SMSM_EQNE_OP_DECLS, SPARSE_SMSM_BOOL_OP_DECLS, | |
1092 SPARSE_SMSM_OP_DECLS, SPARSE_MSM_BIN_OP_DECLS, | |
1093 SPARSE_MSM_CMP_OP_DECLS, SPARSE_MSM_EQNE_OP_DECLS, | |
1094 SPARSE_MSM_BOOL_OP_DECLS, SPARSE_MSM_OP_DECLS, | |
1095 SPARSE_SMM_BIN_OP_DECLS, SPARSE_SMM_CMP_OP_DECLS, | |
1096 SPARSE_SMM_EQNE_OP_DECLS, SPARSE_SMM_BOOL_OP_DECLS, | |
1097 SPARSE_SMM_OP_DECLS): Ditto. | |
1098 * Sparse.h (INSTANTIATE_SPARSE_ASSIGN, INSTANTIATE_SPARSE, | |
1099 INSTANTIATE_SPARSE_AND_ASSIGN): Ditto. | |
1100 * mx-op-defs.h (BIN_OP_DECL, CMP_OP_DECL, NDCMP_OP_DECL, | |
1101 BOOL_OP_DECL, NDBOOL_OP_DECL, VS_BIN_OP_DECLS, VS_OP_DECLS, | |
1102 SV_BIN_OP_DECLS, SV_OP_DECLS, VV_BIN_OP_DECLS, VV_OP_DECLS, | |
1103 MS_BIN_OP_DECLS, MS_CMP_OP_DECLS, MS_BOOL_OP_DECLS, MS_OP_DECLS, | |
1104 SM_BIN_OP_DECLS, SM_CMP_OP_DECLS, SM_BOOL_OP_DECLS, SM_OP_DECLS, | |
1105 MM_BIN_OP_DECLS, MM_CMP_OP_DECLS, MM_BOOL_OP_DECLS, MM_OP_DECLS, | |
1106 NDS_BIN_OP_DECLS, NDS_CMP_OP_DECLS, NDS_BOOL_OP_DECLS, | |
1107 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_CMP_OP_DECLS, | |
1108 SND_BOOL_OP_DECLS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
1109 NDND_CMP_OP_DECLS, NDND_BOOL_OP_DECLS, NDND_OP_DECLS, | |
1110 SDM_BIN_OP_DECLS, SDM_OP_DECLS, DMS_BIN_OP_DECLS, DMS_OP_DECLS, | |
1111 MDM_BIN_OP_DECLS, MDM_OP_DECLS, DMM_BIN_OP_DECLS, DMM_OP_DECLS, | |
1112 DMDM_BIN_OP_DECLS, DMDM_OP_DECLS): Ditto. | |
1113 | |
6699 | 1114 2007-06-12 John W. Eaton <jwe@octave.org> |
1115 | |
1116 * dMatrix.cc (Matrix::expm): Special case for scalar arg. | |
1117 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6697 | 1118 |
6693 | 1119 2007-06-06 Michael Goffioul <michael.goffioul@swing.be> |
1120 | |
6709 | 1121 * file-ops.cc (tilde_find_suffix, isolate_tilde_prefix, |
1122 tilde_expand_word): Use file_ops::is_dir_sep instead of comparing | |
1123 with file_ops::dir_sep_char. | |
6694 | 1124 |
6693 | 1125 * MArray-C.cc: Sprinkle with OCTINTERP_API as needed. |
1126 | |
6689 | 1127 2007-06-04 David Bateman <dbateman@free.fr> |
1128 | |
6699 | 1129 * file-ops.cc: Typo. |
1130 | |
6689 | 1131 * Sparse.cc (Sparse<T> Sparse<T>::reshape): If length of new |
1132 dimensions is greater than 2, collapse to 2-D. | |
1133 | |
6685 | 1134 2007-06-02 David Bateman <dbateman@free.fr> |
1135 | |
1136 * SparseCmplxQR.cc: Changes to support CXSparse 2.2.0. | |
1137 | |
6680 | 1138 2007-05-31 John W. Eaton <jwe@octave.org> |
1139 | |
1140 * Array.cc (Array::get_size): Throw std::bad_alloc exception if | |
1141 the computed size is too large for the size of Octave's index type. | |
1142 | |
6662 | 1143 2007-05-23 John W. Eaton <jwe@octave.org> |
1144 | |
1145 * oct-sparse.h: Don't surround included files with extern "C" { ... }. | |
1146 | |
6629 | 1147 2007-05-16 David Bateman <dbateman@free.fr> |
1148 | |
1149 * dRowVector.cc (linspace): Return second argument if fewer than | |
1150 two values are requested. | |
1151 * CRowVector.cc (linspace): Likewise. | |
1152 | |
6596 | 1153 2007-04-27 John W. Eaton <jwe@octave.org> |
1154 | |
1155 * lo-mappers.cc (signum (const Complex&)): Special case for (0, 0). | |
1156 | |
6583 | 1157 2007-04-25 John W. Eaton <jwe@octave.org> |
1158 | |
1159 * oct-fftw.h (octave_fftw): Tag with OCTAVE_API. | |
1160 | |
6553 | 1161 2007-04-20 John W. Eaton <jwe@octave.org> |
1162 | |
1163 * Array.cc (assign1): For x(:) = RHS, require rhs_len == lhs_len, | |
1164 not rhs_len == 1. | |
1165 | |
6536 | 1166 2007-04-18 Michael Goffioul <michael.goffioul@swing.be> |
1167 | |
1168 * oct-md5.h (oct_md5, oct_md5_file): Tag decls with OCTAVE_API. | |
1169 | |
6525 | 1170 2007-04-13 John W. Eaton <jwe@octave.org> |
1171 | |
1172 * Array.cc (Array<T>::maybe_delete_elements_2): Don't return early | |
1173 for empty matrix. Only check for colon index equivalence if not empty. | |
1174 | |
6513 | 1175 2007-04-10 John W. Eaton <jwe@octave.org> |
1176 | |
1177 * SparseCmplxQR.cc | |
1178 (SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep): | |
1179 Move GCC_ATTR_UNUSED before the parameter decl. | |
1180 From Luis Ortiz <lortiz@interactivesupercomputing.com>. | |
1181 | |
6508 | 1182 2007-04-06 John W. Eaton <jwe@octave.org> |
1183 | |
1184 * MArray-defs.h (MARRAY_NORM_BODY): New macro. | |
1185 * MArray.h (MArray<T>::norm): New function. | |
1186 * MArray.cc: Provide decl. | |
1187 * MArray-d.cc (MArray<double>::norm): Define double specialization. | |
1188 * MArray-C.cc (MArray<Complex>::norm): Define Complex specialization. | |
1189 | |
6490 | 1190 2007-04-04 John W. Eaton <jwe@octave.org> |
1191 | |
1192 * Range.cc (Range::nelem_internal): Likewise. | |
1193 * lo-utils.cc (NINT): Use numeric_limits<int> instead of INT_MAX. | |
1194 (NINTbig): Use numeric_limits<octave_idx_type> instead of INT_MAX. | |
1195 From Scott Pakin <pakin@lanl.gov>. | |
1196 | |
6486 | 1197 2007-04-04 David Bateman <dbateman@free.fr> |
1198 | |
1199 * dMatrix.cc (Matrix::inverse): If calc_cond is true, calculate | |
1200 the condition number for positive definite matrices. | |
1201 * CMatrix.cc (ComplexMatrix::inverse): Ditto. | |
1202 * dbleChol.h (CHOL(const Matrix&, bool)): New arg, calc_cond. | |
1203 (CHOL(const Matrix&, octave_idx_type&, bool): Ditto. | |
1204 (octave_idx_type init (const Matrix&, bool)): Ditto. | |
1205 (CHOL(const CHOL&)): Copy xrcond. | |
1206 (CHOL& operator = (const CHOL&)): Copy xrcond. | |
1207 (xrcond): New private data member. | |
1208 * CmplxCHOL.h (ComplexCHOL(const ComplexMatrix&, bool)): New arg, | |
1209 calc_cond. | |
1210 (ComplexCHOL(const ComplexMatrix&, octave_idx_type&, bool): Ditto | |
1211 (octave_idx_type init (const ComplexMatrix&, bool)): Ditto. | |
1212 (ComplexCHOL(const ComplexCHOL&)): Copy xrcond. | |
1213 (ComplexCHOL& operator = (const ComplexCHOL&)): Copy xrcond. | |
1214 (xrcond): New private data member. | |
1215 * dbleCHOL.cc (CHOL::init(const Matrix&, bool)): If calc_cond is | |
1216 true, calculate the condition number with dpocon. | |
1217 * CmplxCHOL.cc (ComplexCHOL::init(const ComplexMatrix&, bool)): If | |
1218 calc_cond is true, calculate the condition number with zpocon. | |
1219 | |
6481 | 1220 2007-04-03 John W. Eaton <jwe@octave.org> |
1221 | |
6482 | 1222 * intNDArray.cc (intNDArray): Delete spurious semicolon. |
1223 | |
1224 * CMatrix.cc (ComplexMatrix::tinverse): Use Array<T> and | |
1225 fortran_vec method instead of OCTAVE_LOCAL_BUFFER to avoid | |
1226 "maybe clobbered by vfork" warning. | |
1227 | |
6483 | 1228 * Sparse-op-defs.h (SPARSE_CUMSUM): Add braces to avoid ambiguous |
6482 | 1229 if/else. |
1230 | |
1231 * oct-spparms.h (octave_sparse_params): Define copy constructor | |
1232 and destructor. | |
1233 | |
6481 | 1234 * Array.cc (assignN): Don't resize dimension if corresponding |
1235 index is empty. | |
1236 | |
6479 | 1237 2007-04-02 John W. Eaton <jwe@octave.org> |
1238 | |
1239 * dMatrix.h (Matrix::inverse): Reinstate versions without | |
1240 MatrixType argument. | |
1241 * CMatrix.h (ComplexMatrix::inverse): Likewise. | |
1242 | |
6467 | 1243 2007-03-27 John W. Eaton <jwe@octave.org> |
1244 | |
1245 * Makefile.in (DISTDIRS): Delete variable. | |
1246 (dist): Delete action for DISTDIRS. Use ln instead of $(LN_S). | |
1247 | |
6460 | 1248 2007-03-26 David Bateman <dbateman@free.fr> |
1249 | |
1250 * MatrixType.cc: Replace all uses of the method | |
1251 octave_sparse_params::get_key ("bandden") with | |
1252 octave_sparse_params::get_bandden (void). | |
1253 (MatrixType::MatrixType (void)): Undo previous change but use | |
1254 octave_sparse_params::get_bandden (void). | |
1255 * oct-spparms.cc (get_bandden(void), do_get_bandden(void)): New | |
1256 methods. | |
1257 * oct-spparms.h (get_bandden(void), do_get_bandden(void)): | |
1258 Declare them. | |
1259 | |
6458 | 1260 2007-03-26 Luis Ortiz <lortiz@interactivesupercomputing.com> |
1261 David Bateman <dbateman@free.fr> | |
1262 | |
1263 * idx-vector.h.cc (IDX_VEC_REP::idx_vector_rep (const Range&)): | |
1264 Check that all elements are ints before doing anything. Simplify | |
1265 calculation of index values. | |
1266 | |
6457 | 1267 2007-03-26 David Bateman <dbateman@free.fr> |
1268 | |
1269 * Range.cc (Range::all_elements_are_ints): Improve check. | |
1270 | |
6456 | 1271 2007-03-26 John W. Eaton <jwe@octave.org> |
1272 | |
1273 * chNDArray.cc, chMatrix.cc: Also generate comparison and bool ops. | |
1274 * chNDArray.h, chMatrix.h: Provide decls. | |
1275 | |
1276 2007-03-24 Luis Ortiz <lortiz@interactivesupercomputing.com> | |
1277 | |
1278 * MatrixType.cc (MatrixType::MatrixType (void)): Initialize | |
1279 sp_bandden to zero for performance reasons as it's not used. | |
6452 | 1280 |
6435 | 1281 2007-03-23 David Bateman <dbateman@free.fr> |
1282 | |
1283 * oct-rand.cc (octave_rand::seed): Seed differently for big and | |
1284 little endian. | |
1285 | |
6414 | 1286 2007-03-15 John W. Eaton <jwe@octave.org> |
1287 | |
1288 * lo-mappers.cc (acos): Use formula similar to what we use for asin. | |
1289 From Alexander Barth <abarth@marine.usf.edu>. | |
1290 | |
6402 | 1291 2007-03-12 John W. Eaton <jwe@octave.org> |
1292 | |
1293 * oct-inttypes.h (octave_int::octave_int (double)): | |
1294 New Specialization. Round arg. | |
1295 (operator / (const octave_int<T1>&, const octave_int<T2>&)): | |
1296 Round result before converting type. | |
1297 | |
6388 | 1298 2007-03-07 John W. Eaton <jwe@octave.org> |
1299 | |
6392 | 1300 * Array.cc (assign1): Avoid resizing if there is an error. |
1301 | |
6390 | 1302 * dMatrix.cc, CMatrix.cc (operator *): Only check |
1303 f77_exception_encountered immediately after calls that use F77_XFCN. | |
1304 | |
6389 | 1305 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
1306 Only allow resizing empty LHS if it is 0x0. | |
1307 | |
6388 | 1308 * Array.cc (Array<T>::maybe_delete_elements (Array<idx_vector>&, |
1309 const T&)): Handle case of more indices than dimensions. | |
1310 (assign (Array<LT>&, const Array<RT>&, const LT&)): Allow more | |
1311 cases to be handled by assignN. | |
1312 (assignN (Array<LT>&, const Array<RT>&, const LT&)): | |
1313 Special cases for 2-d array assignments for speed. | |
1314 Improve handling of scalar RHS and empty indices. | |
6384 | 1315 |
6383 | 1316 2007-03-05 David Bateman <dbateman@free.fr> |
1317 | |
1318 * oct-md5.c (oct_md5_file (const std::string&)): New function. | |
1319 * oct-md5.h (oct_md5_file (const std::string&)): Declare it. | |
1320 | |
6379 | 1321 2007-03-02 John W. Eaton <jwe@octave.org> |
1322 | |
1323 * str-vec.h (string_vector::empty): Return bool, not int. | |
1324 | |
6375 | 1325 2007-03-01 David Bateman <dbateman@free.fr> |
1326 | |
1327 * md5.h, md5.c: New files from libmd5-rfc sourceforge project for | |
1328 an independent implementation of RFC1321. | |
1329 * oct-md5.h, oct-md5: New files for treating std::string class | |
1330 with MD5. | |
1331 * Makefile.in (INCLUDES): Add md5.h and oct-md5.h | |
1332 (LIBOCTAVE_CXX_SOURCES): Add oct-md5.cc | |
1333 (LIBOCTAVE_C_SOURCES): Add md5.c | |
1334 | |
6366 | 1335 2007-02-27 John W. Eaton <jwe@octave.org> |
1336 | |
1337 * Makefile.in (uninstall): Delete files listed in | |
1338 $(INCLUDES_FOR_INSTALL), instead of $(INCLUDES). | |
1339 From Thomas Treichl <Thomas.Treichl@gmx.net>. | |
1340 | |
6536 | 1341 2007-02-27 Michael Goffioul <michael.goffioul@swing.be> |
6363 | 1342 |
1343 * file-ops.cc (file_ops::recursive_rmdir): | |
1344 Close dir_entry object before calling rmdir. | |
1345 | |
6536 | 1346 2007-02-26 Michael Goffioul <michael.goffioul@swing.be> |
6358 | 1347 |
1348 * Makefile.in: Use $(LN_S) instead of ln or ln -s. | |
1349 | |
6359 | 1350 * sparse-util.h (SparseCholPrint, SparseCholError): |
1351 Tag with OCTAVE_API. | |
1352 | |
6326 | 1353 2007-02-18 David Bateman <dbateman@free.fr> |
1354 | |
1355 * oct-rand.cc (do_old_initialization()): call setcgn(1) prior to | |
1356 calling setall and reset to the current generator after. | |
1357 | |
6323 | 1358 2007-02-16 John W. Eaton <jwe@octave.org> |
1359 | |
1360 * oct-shlib.h (octave_shlib::relative): New data member. | |
1361 (octave_shlib::mark_relative, octave_shlib::is_relative): | |
1362 New functions. | |
1363 | |
6321 | 1364 2007-02-16 Michael Goffioul <michael.goffioul@swing.be> |
1365 | |
1366 * lo-sysdep.cc (octave_popen2): New function to simulate popen2 on | |
1367 windows platform. | |
1368 * lo-sysdep.h (octave_popen2): Declare it. | |
1369 * oct-syscalls.cc (octave_syscalls::popen2): New function. | |
1370 * oct-syscalls.h (octave_syscalls::popen2): Declare it. | |
1371 | |
6306 | 1372 2007-02-14 John W. Eaton <jwe@octave.org> |
1373 | |
1374 * kpse.cc (expand_elt): Omit special treatment for //. | |
1375 | |
6273 | 1376 2007-02-06 John W. Eaton <jwe@octave.org> |
1377 | |
1378 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_REALPATH]: | |
1379 Don't delete value returned from realpath. | |
1380 | |
6271 | 1381 2007-02-05 Thomas Treichl <Thomas.Treichl@gmx.net> |
1382 | |
1383 * file-ops.cc (file_ops::canonicalize_file_name): | |
1384 Provide implementation if realpath function is available. | |
1385 | |
6256 | 1386 2007-01-29 Michael Goffioul <michael.goffioul@swing.be> |
1387 | |
1388 * oct-fftw.h: Sprinkle with OCTAVE_API as needed. | |
1389 | |
6244 | 1390 2007-01-17 Michael Goffioul <michael.goffioul@swing.be> |
1391 | |
1392 * lo-sysdep.cc (octave_chdir): Handle directory names like "C:" on | |
1393 Windows systems. | |
1394 | |
6242 | 1395 2007-01-16 John W. Eaton <jwe@octave.org> |
1396 | |
1397 * dSparse.cc: Fix dgbtrf decl for --enable-64. | |
1398 (SparseMatrix::bsolve): Fix call to dgbtrf for --enable-64 | |
1399 | |
1400 * oct-fftw.h (fftw_planner): Provide decl. | |
1401 | |
6241 | 1402 2007-01-11 Michael Goffioul <michael.goffioul@swing.be> |
1403 | |
1404 * Makefile.in (LINK_DEPS): Include $(CAMD_LIBS) in the list. | |
1405 | |
6236 | 1406 2007-01-10 John W. Eaton <jwe@octave.org> |
1407 | |
1408 * oct-sparse.h: Use HAVE_CHOLMOD_CHOLMOD_H, not | |
1409 HAVE_UMFPACK_CHOLMOD_H for case of "cholmod/cholmod.h". | |
1410 | |
6231 | 1411 2007-01-08 David Bateman <dbateman@free.fr> |
1412 | |
1413 * oct-sparse.h: Replace sparsesuite with suitesparse and | |
1414 SPARSESUITE with SUITESPARSE to match upstream name. | |
1415 | |
6228 | 1416 2007-01-05 David Bateman <dbateman@free.fr> |
1417 | |
1418 * oct-fftw.cc: (octave_fftw_planner::method (void), | |
1419 octave_fftw_planner (FftwMethod)): New methods to interrogate and | |
1420 set the FFTW wisdom method used. | |
1421 (octave_fftw_planner::create_plan) Modify to allow different | |
1422 methods to be used. | |
1423 (octave_fftw_planner): Move class definition from here. | |
1424 * oct-fftw.h (octave_fftw_planner): To here. Add method methods | |
1425 and FftwMethod enum. | |
1426 | |
6221 | 1427 2007-01-03 David Bateman <dbateman@free.fr> |
1428 | |
1429 * MSparse.cc (SPARSE_A2A2_OP, SPARSE_A2A2_FCN_1, | |
1430 SPARSE_A2A2_FCN_1): Modify macros so that scalars stored as | |
1431 sparse matrices are special cased. | |
1432 | |
1433 * Sparse-op-defs.h: Include mx-ops.h to have access to mixed | |
1434 matrix, sparse matrix operations. | |
1435 (SPARSE_SMSM_BIN_OP_1, SPARSE_SMSM_BIN_OP_2, SPARSE_SMSM_BIN_OP_3, | |
1436 SPARSE_SMSM_CMP_OP, SPARSE_SMSM_BOOL_OP, SPARSE_MSM_BIN_OP_1, | |
1437 SPARSE_MSM_BIN_OP_2, SPARSE_MSM_CMP_OP, SPARSE_MSM_BOOL_OP, | |
1438 SPARSE_SMM_BIN_OP_1, SPARSE_SMM_BIN_OP_2, SPARSE_SMM_CMP_OP, | |
1439 SPARSE_SMM_BOOL_OP, SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, | |
1440 FULL_SPARSE_MUL): Modify macros so that scalars stored as | |
1441 sparse matrices are special cased. | |
1442 | |
6217 | 1443 2006-12-22 David Bateman <dbateman@free.fr> |
1444 | |
1445 * boolSparse.cc (SparseBoolMatrix::operator !): Fix off-by-one error. | |
1446 | |
6216 | 1447 2006-12-22 John W. Eaton <jwe@octave.org> |
1448 | |
1449 * dim-vector.h (dim_vector::dim_vector): Always start with at | |
1450 least 2 dimensions. | |
1451 (dim_vector::resize): Don't allow resizing to fewer than 2 dimensions. | |
1452 | |
6208 | 1453 2006-12-06 Michael Goffioul <michael.goffioul@swing.be> |
1454 | |
1455 * lo-sysdep.cc (opendir): Avoid passing \\* to FindFirstFile. | |
1456 | |
1457 * file-ops.cc (ops::canonicalize_file_name): Provide partial | |
6217 | 1458 implementation for Windows. |
6208 | 1459 |
6207 | 1460 2006-12-06 David Bateman <dbateman@free.fr> |
1461 | |
6208 | 1462 * dSparse.cc (SparseMatrix::is_symmetric): Faster implementation. |
1463 * CSparse.cc (SparseComplexMatrix::is_symmetric): Ditto. | |
6207 | 1464 |
1465 * dMatrrix.cc (finverse): Old inverse method renamed inverse. | |
1466 (tinverse): New method for triangular matrices. | |
1467 (inverse): New function with matrix type probing. | |
1468 * dMatrix.h (finverse, tinverse, inverse): New and modified | |
1469 declarations. | |
6208 | 1470 * CMatrix.cc: Ditto. |
1471 * CMatrix.h: Ditto. | |
6207 | 1472 |
6205 | 1473 2006-12-06 John W. Eaton <jwe@octave.org> |
1474 | |
1475 * strptime.c (day_of_the_week): Use code from current glibc sources. | |
1476 | |
6202 | 1477 2006-12-05 John W. Eaton <jwe@octave.org> |
1478 | |
1479 * lo-utils.cc (octave_read_double): If we see '+' or '-' but not | |
1480 followed by 'I' or 'i', try reading number after putting | |
1481 characters back on input stream. | |
1482 | |
6198 | 1483 2006-12-05 Paul Kienzle <pkienzle@users.sf.net> |
1484 | |
1485 * randpoisson.c (oct_fill_randp): For lambda > 1e8, upper limit of | |
1486 loop is n, not L. | |
1487 | |
6194 | 1488 2006-11-30 John W. Eaton <jwe@octave.org> |
1489 | |
1490 * lo-utils.cc (octave_read_double, read_inf_nan_na): | |
1491 Also recognize [+-][Ii]nf. | |
1492 | |
6187 | 1493 2006-11-28 David Bateman <dbateman@free.fr> |
6186 | 1494 |
1495 * oct-sparse.h: Allow sparse headers to also be in a sparsesuite | |
1496 sub-directory. | |
1497 | |
6204 | 1498 * dSparse.cc (SparseMatrix::inverse): Transpose the matrix type as |
1499 well when calling tinverse for lower triangular matrices. | |
1500 * CSparse.cc (SparseComplexMatrix::inverse): | |
1501 Ditto. | |
6185 | 1502 |
6183 | 1503 2006-11-21 John W. Eaton <jwe@octave.org> |
1504 | |
1505 * oct-env.cc (do_absolute_pathname): Undo previous change. | |
1506 | |
6182 | 1507 2006-11-20 John W. Eaton <jwe@octave.org> |
1508 | |
1509 * oct-env.cc (octave_env::do_absolute_pathname): Also return true | |
1510 for ".", and names beginning with "./" or "../". | |
1511 | |
6162 | 1512 2006-11-14 Luis F. Ortiz <lortiz@interactivesupercomputing.com> |
1513 | |
1514 * CMatrix.cc, dMatrix.cc: New tests. | |
1515 | |
6153 | 1516 2006-11-13 Michael Goffioul <michael.goffioul@swing.be> |
1517 | |
1518 * Array-d.cc, dDiagMatrix.h: Sprinkle with OCTAVE_API as needed. | |
1519 | |
6152 | 1520 2006-11-11 John W. Eaton <jwe@octave.org> |
1521 | |
1522 * Makefile.in ($(OPTS_INC), mx-ops.h): | |
1523 Use $(simple-move-if-change-rule) here. | |
1524 | |
6148 | 1525 2006-11-09 David Bateman <dbateman@free.fr> |
1526 | |
1527 * sparse-base-chol.cc (sparse_base_chol_rep::Q): Cast perms(i) to | |
1528 octave_idx_type, not int. | |
1529 | |
6145 | 1530 2006-11-08 John W. Eaton <jwe@octave.org> |
1531 | |
1532 * dir-ops.cc (dir_entry::read): Avoid rewinddir. | |
1533 | |
6141 | 1534 2006-11-06 John W. Eaton <jwe@octave.org> |
1535 | |
1536 * Array.cc (assignN): Exit early if invalid indices are found. | |
1537 | |
6140 | 1538 2006-11-03 Michael Goffioul <michael.goffioul@swing.be> |
1539 | |
1540 * strftime.c [HAVE_TZNAME]: Tag tzname with OCTAVE_IMPORT. | |
1541 | |
6137 | 1542 2006-11-03 John W. Eaton <jwe@octave.org> |
1543 | |
1544 * Makefile.in (DLL_CXXDEFS): Rename from XTRA_CXXDEFS. | |
1545 (DLL_CDEFS): Rename from XTRA_CDEFS. | |
1546 Substitute OCTAVE_DLL_DEFS, not XTRA_OCTAVE_DEFS. | |
1547 | |
6123 | 1548 2006-10-28 Michael Goffioul <michael.goffioul@swing.be> |
1549 | |
1550 * oct-shlib.cc: Undefine min and max after including windows.h. | |
1551 * oct-syscalls.cc (syscalls::pipe (int *)): Avoid infinite recursion. | |
1552 * lo-sysdep.h: Move opendir, readdir, etc. decls here from | |
1553 lo-sysdep.cc. | |
1554 | |
6113 | 1555 2006-10-27 John W. Eaton <jwe@octave.org> |
1556 | |
6119 | 1557 * oct-time.cc [! HAVE_STRFTIME]: Declare strftime. |
1558 | |
1559 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> | |
1560 | |
1561 * mx-op-defs.h (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, | |
1562 NDS_CMP_OPS2): New macros. | |
6113 | 1563 |
6111 | 1564 2006-10-26 John W. Eaton <jwe@octave.org> |
1565 | |
6119 | 1566 * mx-ops (core-type): New field for integer types. |
1567 * mk-ops.awk: Handle core-type for integer comparison ops. | |
1568 | |
6111 | 1569 * lo-cutils.c (octave_strcasecmp, octave-strncasecmp): |
1570 Move here from src/cutils.c. | |
1571 * lo-utils.h: Provide decls. | |
1572 * strcasecmp.c: Move here from src/strcasecmp.c. | |
1573 * strncase.c: Move here from src/strncase.c. | |
1574 * Makefile.in (LIBOCTAVE_C_SOURCES): Add them to the list. | |
1575 | |
6106 | 1576 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
1577 | |
1578 * kpse.cc [! MSVC]: Don't include win32lib.h. | |
1579 | |
6708 | 1580 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-util.h, |
1581 Array.h, CColVector.h, CMatrix.h, CNDArray.h, CRowVector.h, | |
1582 CSparse.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, | |
1583 CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, | |
1584 CollocWt.h, DAE.h, DASPK.h, DASRT.h, DASSL.h, EIG.h, LSODE.h, | |
1585 MArray-C.cc, MArray-defs.h, MSparse-C.cc, MSparse-d.cc, | |
1586 MSparse-defs.h, MatrixType.h, NLEqn.h, Quad.h, Range.h, | |
1587 Sparse-op-defs.h, Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, | |
1588 SparseCmplxQR.h, SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, | |
1589 boolMatrix.h, boolNDArray.h, boolSparse.h, chMatrix.h, | |
1590 chNDArray.h, cmd-edit.h, cmd-hist.h, dColVector.h, dDiagMatrix.h, | |
1591 dMatrix.h, dNDArray.h, dRowVector.h, dSparse.h, data-conv.h, | |
1592 dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, dbleLU.h, | |
1593 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, dir-ops.h, | |
1594 file-ops.h, file-stat.h, glob-match.h, idx-vector.h, | |
1595 int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, | |
1596 lo-cutils.c, lo-ieee.h, lo-mappers.h, lo-specfun.h, lo-utils.h, | |
1597 mach-info.h, mx-op-defs.h, oct-alloc.h, oct-env.h, oct-group.h, | |
1598 oct-inttypes.cc, oct-inttypes.h, oct-passwd.h, oct-rand.h, | |
1599 oct-shlib.h, oct-spparms.h, oct-syscalls.h, oct-time.h, | |
1600 oct-uname.h, pathsearch.h, prog-args.h, so-array.h, str-vec.h, | |
1601 uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc, | |
1602 uint8NDArray.cc: Sprinkle with OCTAVE_API as needed. | |
6108 | 1603 |
6105 | 1604 2006-10-26 John W. Eaton <jwe@octave.org> |
1605 | |
1606 * oct-inttypes.cc (INSTANTIATE_INTTYPE_BIN_OP): Provide explicit | |
1607 type qualification for OP. | |
1608 | |
6101 | 1609 2006-10-26 David Bateman <dbateman@free.fr> |
1610 | |
1611 * Sparse.cc (Sparse<T>::resize_no_fill (octave_idx_type, | |
1612 octave_idx_type)): Be more careful with the size of the input | |
1613 matrix, and therefore don't create or read non existent data. | |
1614 | |
6092 | 1615 2006-10-25 John W. Eaton <jwe@octave.org> |
1616 | |
1617 * Sparse.cc (assign): Clear lhs index after error. | |
1618 | |
6093 | 1619 2006-10-25 David Bateman <dbateman@free.fr> |
6092 | 1620 |
1621 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1622 Fix previous patch so it works. | |
1623 | |
6087 | 1624 2006-10-25 Michael Goffioul <michael.goffioul@swing.be> |
1625 | |
6095 | 1626 * glob-match.h (glob_match::glob_match (const std::string&, |
1627 unsigned int)): Delete initializer for first arg. | |
1628 | |
6093 | 1629 * lo-sysdep.cc (opendir, readdir, rewinddir, closedir): |
1630 New functions. | |
1631 | |
6087 | 1632 * Makefile.in (XTRA_CDEFS, XTRA_CXXDEFS): Substitute here. |
1633 | |
6096 | 1634 * oct-env.cc (octave_env::do_get_home_directory) [_MSC_VER]: Use |
1635 same code as __MINGW32__. | |
1636 * syswait.h [_MSC_VER]: Define HAVE_WAITPID, WAITPID, and WNOHANG | |
1637 the same as for __MINGW32__. | |
1638 | |
1639 * randpoisson.c: Undefine INFINITE before redefining. | |
1640 | |
6079 | 1641 2006-10-24 David Bateman <dbateman@free.fr> |
1642 | |
1643 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Resize the | |
1644 lhs at the point we know the assignment can succeed if the lhs is | |
1645 empty. | |
1646 | |
6072 | 1647 2006-10-23 John W. Eaton <jwe@octave.org> |
1648 | |
1649 * Array.cc (assign2): Don't require vector assignments to be oriented. | |
1650 | |
6061 | 1651 2006-10-17 John W. Eaton <jwe@octave.org> |
1652 | |
1653 * lo-cieee.c: If isnan is not available but _isnan is, then define | |
1654 isnan to be _isnan, and define HAVE_ISNAN. Likewise for _finite | |
1655 and _copysign. | |
1656 | |
6059 | 1657 2006-10-17 Michael Goffioul <michael.goffioul@swing.be> |
6051 | 1658 |
6061 | 1659 * oct-syscalls.cc (syscalls::waitpid): Always declare and define retval. |
1660 | |
6708 | 1661 * CMatrix.cc (ComplexMatrix::solve): Avoid infinite recursion. |
1662 * CSparse.cc (SparseComplexMatrix::insert): Likewise. | |
6061 | 1663 |
6058 | 1664 * oct-types.h.in: Include limits.h, for CHAR_BIT. |
1665 | |
6059 | 1666 2006-10-13 Michael Goffioul <michael.goffioul@swing.be> |
1667 | |
6051 | 1668 * Makefile.in: Adapt rules to use $(LIBPRE). |
1669 | |
6027 | 1670 2006-10-03 David Bateman <dbateman@free.fr> |
1671 | |
1672 * MatrixType.cc (MatrixType::MatrixType): Avoid crash if np == 0 | |
1673 or p == 0. | |
1674 | |
6018 | 1675 2006-10-02 John W. Eaton <jwe@octave.org> |
1676 | |
1677 * dbleDET.cc (DET::initialize2): Ensure arg to log10 is double. | |
1678 * CmplxDET.cc (ComplexDET::initialize2): Likewise. | |
1679 | |
5996 | 1680 2006-09-22 David Bateman <dbateman@free.fr> |
1681 | |
1682 * MatrixType.h (MatrixType::MatrixType(const SparseComplexMatrix&)): | |
5997 | 1683 Remove spurious warning. |
5996 | 1684 |
5992 | 1685 2006-09-15 John W. Eaton <jwe@octave.org> |
1686 | |
1687 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&) const): | |
1688 Handle resizing. | |
1689 | |
1690 * intNDArray.h (intNDArray<T>:elt_type): New typedef. | |
1691 | |
5983 | 1692 2006-09-11 John W. Eaton <jwe@octave.org> |
1693 | |
1694 * dMatrix.cc (operator * (const Matrix&, const Matrix&))): | |
1695 Handle M*v and rv*cv special cases. | |
1696 * CMatrix.cc (operator * (const ComplexMatrix&, const | |
1697 ComplexMatrix&))): Likewise. | |
1698 From Luis F. Ortiz <lortiz@interactivesupercomputing.com>. | |
1699 | |
1700 * dRowVector.cc (operator * (const RowVector&, const | |
1701 ColumnVector&)): Call xddot here instead of using a Fortran | |
1702 function directly. | |
1703 * CRowVector.cc (operator * (const ComplexRowVector&, const | |
1704 ComplexColumnVector&)): Call xzdotu here. | |
1705 | |
1706 2006-09-05 John W. Eaton <jwe@octave.org> | |
1707 | |
1708 * chNDArray.cc (charNDArray::any, charNDArray::all): Compare | |
1709 elements to '\0', not ' '. | |
1710 | |
5972 | 1711 2006-08-25 John W. Eaton <jwe@octave.org> |
1712 | |
1713 * mx-inlines.cc (MX_ND_REDUCTION): Special case for 0x0 arrays. | |
1714 | |
5958 | 1715 2006-08-23 John W. Eaton <jwe@octave.org> |
1716 | |
1717 * dMatrix.cc, dMatrix.h (Matrix::save_ascii): Delete function and decl. | |
1718 * CMatrix.cc, CMatrix.h (ComplexMatrix::save_ascii): Likewise. | |
1719 | |
5955 | 1720 2006-08-22 John W. Eaton <jwe@octave.org> |
1721 | |
5956 | 1722 * CMatrix.cc (ComplexMatrix::save_ascii): New function. |
1723 * dMatrix.cc (Matrix::save_ascii): New function. | |
1724 | |
5955 | 1725 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Correctly detect empty arrays. |
1726 If array is empty, return value is same size as array. | |
1727 (MX_ND_REDUCTION): Correctly detect empty arrays. | |
1728 If array is empty, produce correctly sized return value. | |
1729 | |
5940 | 1730 2006-08-18 John W. Eaton <jwe@octave.org> |
1731 | |
5943 | 1732 * dMatrix.cc (Matrix::any_element_not_one_or_zero): New function. |
1733 * dMatrix.h: Provide decl. | |
1734 * dNDArray.cc (NDArray::any_element_not_one_or_zero): New function. | |
1735 * dNDArray.h: Provide decl. | |
1736 * intNDArray.cc (intNDArray<T>::any_element_not_one_or_zero): | |
1737 New function. | |
1738 * intNDArray.h: Provide decl. | |
1739 | |
5940 | 1740 * Array.cc (Array<T>::permute): Only rearrange values if array is |
1741 not empty. | |
1742 | |
5904 | 1743 2006-07-26 John W. Eaton <jwe@octave.org> |
1744 | |
1745 * dbleDET.cc (DET::initialize10, DET::value_will_underflow, | |
1746 DET::value_will_overflow): Use xlog2 instead of log2. | |
1747 (DET::initialize2, DET::initialize10): Use xround instead of round. | |
1748 (DET::initialize2, DET::value): Use xexp2 instead of exp2. | |
1749 * CmplxDET.cc (ComplexDET::initialize10, | |
1750 ComplexDET::value_will_underflow, | |
1751 ComplexDET::value_will_overflow): Use xlog2 instead of log2. | |
1752 (ComplexDET::initialize2, ComplexDET::initialize10): | |
1753 Use xround instead of round. | |
1754 (ComplexDET::initialize2, ComplexDET::value): | |
1755 Use xexp2 instead of exp2. | |
1756 | |
1757 * lo-mappers.cc (M_LOG10E): Delete unused macro. | |
1758 (xlog2, xexp2): New functions. | |
1759 * lo-mappers.h: Provide decls. | |
1760 | |
5900 | 1761 2006-07-22 John W. Eaton <jwe@octave.org> |
1762 | |
1763 * Sparse.h (Sparse<T>::mex_get_data, Sparse<T>::mex_get_ir, | |
1764 Sparse<T>::mex_get_jc): New functions. | |
1765 | |
1766 2006-07-21 John W. Eaton <jwe@octave.org> | |
1767 | |
1768 * oct-inttypes.h (octave_int<T>::mex_get_data): New function. | |
1769 * Array.h (Array<T>::mex_get_data): New function. | |
1770 | |
5898 | 1771 2006-07-19 John W. Eaton <jwe@octave.org> |
1772 | |
1773 * oct-inttypes.h (octave_int::operator bool (void)): New function. | |
1774 | |
5893 | 1775 2006-07-16 John W. Eaton <jwe@octave.org> |
1776 | |
1777 * oct-spparms.h, oct-spparms.cc (class octave_sparse_params): | |
1778 Rename from SparseParams. Use same implementation method as other | |
1779 singleton classes in Octave. Change all uses of | |
1780 Voctave_sparse_controls to use static functions from | |
1781 octave_sparse_params class instead. | |
1782 | |
1783 * oct-spparms.h, oct-spparms.cc (SparseParams::set_key, | |
1784 SparseParams::get_key): Pass std::string arg by const reference, | |
1785 not const value. | |
1786 | |
5892 | 1787 2006-07-15 John W. Eaton <jwe@octave.org> |
1788 | |
1789 * data-conv.cc: Instantiante swap_bytes templates here. | |
1790 | |
1791 * MatrixType.cc (MatrixType::MatrixType): | |
1792 Use complete initializer lists in constructors. | |
1793 | |
5880 | 1794 2006-07-06 John W. Eaton <jwe@octave.org> |
1795 | |
1796 * str-vec.cc (string_vector::string_vector (std::list<std::string>&)): | |
1797 New constructor. | |
1798 * str-vec.h: Provide decl. | |
1799 | |
5876 | 1800 2006-07-01 David Bateman <dbateman@free.fr> |
1801 | |
1802 * dSparse.cc (tinverse): Check for rows with no elements and zero | |
1803 elements on the diagonal. Allow both Upper and Lower triangular | |
1804 matrices to be treated. | |
1805 * CSparse.cc (tinverse): ditto. | |
1806 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Take into account 64-bit | |
1807 constant assignment. | |
1808 | |
5870 | 1809 2006-06-30 John W. Eaton <jwe@octave.org> |
1810 | |
5872 | 1811 * lo-sysdep.cc (octave_chdir): Perform tilde expansion here. |
1812 * cmd-edit.cc (editor::read_init_file): Ditto. | |
1813 * dir-ops.cc (dir_entry::open): Ditto. | |
5871 | 1814 * file-stat.cc (stat::update_internal): Ditto. |
5872 | 1815 * cmd-hist.cc (command_history::set_file): Ditto. |
5871 | 1816 |
5870 | 1817 * data-conv.cc (data_conv::string_to_data_type): |
1818 Correctly handle leading "*". | |
1819 | |
5869 | 1820 2006-06-29 Atsushi Kajita <a-kajita@mizar.freemail.ne.jp> |
1821 | |
1822 * Sparse.cc (Sparse<T>::SparseRep::elem): Avoid out of bounds | |
1823 array access. | |
1824 | |
5866 | 1825 2006-06-27 John W. Eaton <jwe@octave.org> |
1826 | |
1827 * Makefile.in: Finish renaming of OBJECTS -> LIBOCTAVE_OBJECTS. | |
1828 | |
5864 | 1829 2006-06-21 John W. Eaton <jwe@octave.org> |
1830 | |
1831 * oct-shlib.cc (octave_dlopen_shlib::close, | |
1832 octave_shl_load_shlib::close, octave_w32_shlib::close): | |
1833 Skip do_close_hook if cl_hook is 0. | |
1834 | |
5863 | 1835 2006-06-16 John W. Eaton <jwe@octave.org> |
1836 | |
1837 * oct-sort.h: Don't include config.h, lo-mappers.h, or quit.h. | |
1838 * randmtzig.h: Don't inlcude config.h. | |
1839 | |
5837 | 1840 2006-05-31 David Bateman <dbateman@free.fr> |
1841 | |
1842 * Array.cc (assignN): Maybe reshape LHS before doing assignment. | |
1843 | |
5828 | 1844 2006-05-23 John W. Eaton <jwe@octave.org> |
1845 | |
1846 * oct-types.h.in: Include stdint.h or inttypes.h for integer | |
1847 typedefs, or define them if those files are not available. | |
1848 * oct-inttypes.h (octave_int8_t, octave_int16_t, octave_int32_t, | |
1849 octave_int64_t, octave_uint8_t, octave_uint16_t, octave_uint32_t, | |
1850 octave_uint64_t): Delete typedefs. Replace all uses of these | |
1851 types with int8_t, int16_t, etc. | |
1852 * data-conv.h (TWO_BYTE_INT, FOUR_BYTE_INT, EIGHT_BYTE_INT): | |
1853 Delete definitions. Replace all uses of these macros with int8_t, | |
1854 int16_t, etc. | |
1855 * randmtzig.h: Delete integer typedefs. | |
1856 | |
5822 | 1857 2006-05-18 John W. Eaton <jwe@octave.org> |
1858 | |
1859 * EIG.cc (EIG::init): Trap Inf and NaN values here. | |
1860 From Keith Goodman <kwgoodman@gmail.com>. | |
1861 | |
5813 | 1862 2006-05-08 David Bateman <dbateman@free.fr> |
1863 | |
1864 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): fix bug in previous | |
1865 modification. | |
1866 | |
5797 | 1867 2006-05-09 David Bateman <dbateman@free.fr> |
1868 | |
1869 * sparse-dmsolve.cc: Remove reference to ov-re-sparse.h, | |
1870 ov-cx-sparse. and error_state. | |
1871 * SparseQR.cc, SparseCmplxQR.cc (qrsolve): Return info = -1 on error. | |
1872 | |
5795 | 1873 2006-05-08 David Bateman <dbateman@free.fr> |
1874 | |
1875 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Set column pointers in | |
1876 first pass and use to determine which algorithm to use on a | |
1877 column-by-column basis. | |
1878 | |
5792 | 1879 2006-05-04 David Bateman <dbateman@free.fr> |
1880 | |
1881 * SparseQR.cc, SparseQR.h, SparseCmplxQR.cc, SparseCmplxQR.h, | |
1882 sparse-dmsolve.cc : Allow compilation with versions v2.0.0 of | |
1883 CXSparse or later | |
1884 | |
5785 | 1885 2006-05-03 David Bateman <dbateman@free.fr> |
1886 | |
1887 * CMatrix.cc (zpotrf, zpocon, zpotrs, ztrcon, ztrtrs): | |
1888 External declaration of lapack triangular and Cholesky codes. | |
1889 (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, | |
1890 ComplexMatrix::fsolve): New private solver codes for | |
1891 upper, lower and LU/Cholesky solvers. | |
1892 (ComplexMatrix::solve): New versions for cached matrix | |
1893 type. Adapt old versions to call new versions | |
1894 * CMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
1895 new solvers. | |
1896 (solve): New versions for cached matrix type. | |
1897 * dMatrix.cc (dpotrf, dpocon, dpotrs, dtrcon, dtrtrs): | |
1898 External declaration of lapack triangular and Cholesky codes. | |
1899 (Matrix::utsolve, Matrix::ltsolve, | |
1900 Matrix::fsolve): New private solver codes for | |
1901 upper, lower and LU/Cholesky solvers. | |
1902 (Matrix::solve): New versions for cached matrix | |
1903 type. Adapt old versions to call new versions | |
1904 * dMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
1905 new solvers. | |
1906 (solve): New versions for cached matrix type. | |
1907 * CSparse.cc: Replace all uses of SparseType with MatrixType. | |
1908 * CSparse.h: ditto. | |
1909 * dSparse.cc: ditto. | |
1910 * dSparse.h: ditto. | |
1911 * SparseCmplxCHOL.cc: ditto. | |
1912 * SparsedbleCHOL.cc: ditto. | |
1913 * sparse-dmsolve.cc: ditto. | |
1914 * SparseType.cc, SparseType.h: delete. | |
1915 * MatrixType.cc: New file for class to cache matrix type, based on | |
1916 old SparseType class but caching matrix and sparse types. | |
1917 * MatrixType.h: ditto. | |
1918 * Makefile.in (MATRIX_INC, MATRIX_SRC): Add MatrixType.h and | |
1919 MatrixType.cc respectively. Delete SparseType.h and SparseType.cc | |
1920 respectively. | |
1921 * mx-base.h: Include MatrixTye.h as header file. | |
1922 | |
5781 | 1923 2006-05-01 John W. Eaton <jwe@octave.org> |
1924 | |
1925 * oct-shlib.h (octave_shlib::octave_shlib, octave_shlib::open): | |
1926 Delete WARN_FUTURE arg. Change all uses. | |
1927 * oct-shlib.cc (octave_base_shlib::stamp_time): Delete arg. | |
1928 Change all uses. Use current_liboctave_warning_with_id_handler. | |
1929 (octave_base_shlib::open): Delete arg. Change all derived classes | |
1930 and uses. | |
1931 | |
1932 2006-04-29 John W. Eaton <jwe@octave.org> | |
1933 | |
1934 * Array-flags.cc, Array-flags.h: Delete. | |
1935 * Makefile.in (MATRIX_SRC): Remove Array-flags.cc from the list. | |
1936 (MATRIX_INC): Remove Array-flags.h from the list. | |
1937 | |
1938 * idx-vector.cc (IDX_VEC_REP::freeze): Delete warn_resize arg. | |
1939 Use current_liboctave_warning_with_id_handler | |
1940 with warning ID Octave:resize-on-range-error. | |
1941 * idx-vector.h: Fix decl. | |
1942 * Array.cc, Sparse.cc: Change all callers. | |
1943 | |
1944 * Array.cc (Array<T>::maybe_delete_elements, Array<T>::index2, | |
1945 assign2, assignN): Use current_liboctave_warning_with_id_handler | |
1946 with warning ID Octave:fortran-indexing instead of | |
1947 liboctave_wfi_flag. | |
1948 * Sparse.cc (assign, Sparse<T>::index): Likewise. | |
1949 | |
5777 | 1950 2006-04-26 John W. Eaton <jwe@octave.org> |
1951 | |
1952 * pathsearch.cc (dir_path::path_sep_char, dir_path::path_sep_str): | |
1953 New static data. | |
1954 * pathsearch.h: Provide decls. | |
1955 (dir_path::is_path_sep): New function. | |
1956 | |
5766 | 1957 2006-04-18 John W. Eaton <jwe@octave.org> |
1958 | |
1959 * randmtzig.c (randmt, randi53, randi54, randi64, randu32, randu53): | |
1960 Omit inline from decl. | |
1961 | |
1962 * Sparse.cc (Sparse<T>::index): Use std::vector<bool> to avoid | |
1963 local array with variable dimension. | |
1964 | |
5764 | 1965 2006-04-16 John W. Eaton <jwe@octave.org> |
1966 | |
5765 | 1967 * lo-sstream.h: Delete. |
1968 * Makefile.in (INCLUDES): Remove it from the list. | |
1969 | |
1970 * dim-vector.h (dim_vector::str): Use std::ostringstream directly. | |
1971 * Sparse.cc (Sparse::range_error): Likewise. | |
1972 * DASSL.cc (DASSL::error_message): Likewise. | |
1973 * LSODE.cc (LSODE::error_message): Likewise. | |
1974 * DASRT.cc (DASRT::error_message): Likewise. | |
1975 * DASPK.cc (DASPK::error_message): Likewise. | |
1976 * Array.cc (Array::range_error): Likewise. | |
1977 | |
5764 | 1978 * kpse.cc (kpse_hash): Rename from hash. |
1979 (hash_lookup): Call kpse_hash instead of hash. | |
1980 | |
1981 * SparseType.cc (SparseType::SparseType): Use std::vector<bool> | |
1982 to avoid local array with variable dimension. | |
1983 | |
5760 | 1984 2006-04-13 David Bateman <dbateman@free.fr> |
1985 | |
1986 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1987 Optimize assignment. | |
1988 | |
1989 2006-04-13 John W. Eaton <jwe@octave.org> | |
1990 | |
1991 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1992 Eliminate unnecessary casts. | |
1993 * SparsedbleLU.cc (SparseLU::SparseLU): Likewise. | |
1994 | |
1995 * kpse.cc (fopen): Use reinterpret_cast instead of C-style cast. | |
1996 (log_search, dir_links): Use static_cast instead of C-style cast. | |
1997 | |
1998 * prog-args.cc (args::getopt): Use reinterpret_cast instead of X_CAST. | |
1999 * oct-alloc.cc (allocator::grow): Likewise. | |
2000 * CSparse.cc (SparseComplexMatrix::determinant, | |
2001 SparseComplexMatrix::factorize, SparseComplexMatrix::fsolve): | |
2002 Likewise. | |
2003 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU): Likewise. | |
2004 | |
2005 * oct-sort.cc (roundupsize, octave_sort<T>::merge_getmem): | |
2006 Use static_cast instead of C-style cast. | |
2007 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
2008 * dSparse.cc (SparseMatrix::fsolve): Likewise. | |
2009 | |
2010 * data-conv.cc (LS_DO_WRITE): Use static_cast for value conversion. | |
2011 Use OCTAVE_LOCAL_BUFFER instead of new/delete. | |
2012 (LS_DO_READ): Allocate local buffer to avoid pointer tricks. | |
2013 (write_doubles, read_doubles, LS_DO_WRITE, LS_DO_READ): | |
2014 Use reinterpret_cast instead of X_CAST. | |
2015 | |
2016 * DiagArray2.h (DiagArray2::Proxy::operator&): No need to cast | |
2017 return value here. | |
2018 | |
5752 | 2019 2006-04-12 Rafael Laboissiere <rafael@debian.org> |
2020 | |
2021 * ArrayN.h (ArrayN::ArrayN): Qualify fill with Array<T> base class. | |
2022 * DiagArray2.h (DiagArray2::DiagArray2): Likewise. | |
2023 | |
5730 | 2024 2006-04-03 David Bateman <dbateman@free.fr> |
2025 | |
5731 | 2026 * Sparse.cc (Sparse<T>::resize): Use xcidx rather than cdix, etc |
2027 to avoid copy of original matrix. | |
2028 | |
5730 | 2029 * Makefile.in (INCLUDES): Add randgamma.h, randpoisson.h and |
2030 randmtzig.h to the list. | |
2031 (LIBOCTAVE_C_SOURCES): Add randgamma.c, randpoisson.c and | |
2032 randmtzig.c to the list. | |
2033 * oct-rand.cc (do_old_initialization): Rename from do_initialization. | |
2034 (use_old_generators): New variable. | |
2035 (old_initialized): Rename from initialized. | |
2036 (new_initialized): New variable. | |
2037 (oct_init_by_entropy): New function. | |
2038 (maybe_initialize): Initialize new or old generator depending on | |
2039 value of use_old_generators. | |
2040 (octave_rand::state): New functions. | |
2041 (octave_rand::distribution): Add gamma, exponential and poisson | |
2042 distributions. | |
2043 (octave_rand::exponential_distribution, | |
2044 octave_rand::poisson_distribution, | |
2045 octave_rand::gamma_distribution): New methods to select | |
2046 exponential, poisson or gamma distribution. | |
2047 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
2048 octave_rand::vector): Add new distributions. | |
2049 * oct-rand.h: Provide decls for new functions. | |
2050 (octave_rand::matrix, octave_rand::scalar, octave_rand:: | |
2051 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
2052 octave_rand::vector): New arg A, for gamma and poisson distributions. | |
2053 * randpoisson.c, randpoisson.h, randgamma.c, randmtzig.c, | |
2054 randmtzig.h: New files. | |
2055 | |
5717 | 2056 2006-03-24 John W. Eaton <jwe@octave.org> |
2057 | |
2058 * dSparse.cc (SparseMatrix::bsolve): Integer work vector is | |
2059 Array<octave_idx_type>, so fortran_vec returns pointer to | |
2060 octave_idx_type, not pointer to int. | |
2061 | |
2062 * CMatrix.cc, CMatrix.h (ComplexMatrix::row (char*), | |
2063 ComplexMatrix::column (char*)): Delete. | |
2064 * dMatrix.cc, dMatrix.h (Matrix::row (char*), | |
2065 Matrix::column (char*)): Delete. | |
2066 | |
5713 | 2067 2006-03-21 David Bateman <dbateman@free.fr> |
2068 | |
2069 * SparseQR.h: Publish externally used friends. | |
2070 * SparseCmplxQR.h: ditto. | |
2071 | |
5700 | 2072 2006-03-21 John W. Eaton <jwe@octave.org> |
2073 | |
2074 * lo-specfun.cc (betainc): Use F77_XFCN instead of F77_FUNC for | |
2075 call to xdbetai. | |
2076 | |
5697 | 2077 2006-03-21 David Bateman <dbateman@free.fr> |
2078 | |
5701 | 2079 * lo-specfun.cc (xlgamma, xgamma): Trap special values. |
2080 (xlgamma): Use F77_XFCN instead of F77_FUNC for call to dlgams. | |
5700 | 2081 |
2082 * dSparse.cc (solve): Add argument singular_fallback, to allow | |
2083 fallback to QR solvers to be optional. | |
2084 * CSparse.cc (solve): Ditto. | |
2085 * dSparse.h (solve): update declaration for new argument. | |
2086 * CSparse.h (solve): Ditto. | |
2087 * sparse-dmsolve.cc (dmsolve): Use singular_fallback argument | |
2088 to bypass QR solvers when solving the well determined part of | |
2089 the problem. | |
5697 | 2090 |
5690 | 2091 2006-03-17 John W. Eaton <jwe@octave.org> |
2092 | |
2093 * str-vec.cc (vector::list_in_columns): New optional arg, width. | |
2094 | |
5681 | 2095 2006-03-16 David Bateman <dbateman@free.fr> |
2096 | |
2097 * CSparse.cc: Change use of nzmax to nnz to allow automatic | |
2098 reduction of matrix size, except for a couple of cases where nzmax | |
2099 is needed. | |
2100 (zpbcon): Correct declaration of lapack zpbcon function. | |
2101 (dsolve, utsolve, ltsolve, trisolve, bsolve, factorize, fsolve): Add | |
2102 an argument to allow the calculation of condition number to be | |
2103 optional. | |
2104 (bsolve): Add code for the calculation of the condition number | |
2105 using zpbcon and zgbcon. | |
2106 (dsolve): Bug fix for rectangular matrices with sparse RHS. | |
2107 (utsolve, ltsolve, trisolve, bsolve, fsolve): Mark matrix type as | |
2108 singular if singularity is detected. | |
2109 (solve): Use optional argument to disable calculation of | |
2110 condition number for all but fsolve, for speed. Add code to | |
2111 allow rectnagular matrices or matrices identified as singular | |
2112 to be treated. | |
2113 (lssolve): delete. | |
2114 (operator *): Don't recast real matrices as complex, but | |
2115 rather use the macro directly on the real data. | |
2116 * dSparse.cc: ditto. | |
2117 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, | |
2118 fsolve, factorize): Update declaration for new argument to | |
2119 calculate the condition number. | |
2120 (lssolve): delete. | |
2121 * dSparse.h: ditto. | |
2122 * Msparse.h: Change use of nxmax to nnz to allow automatic | |
2123 reduction of matrix size, except for a couple of cases where | |
2124 nzmax is needed. | |
2125 * Sparse.cc: Change use of nxmax to nnz to allow automatic | |
2126 reduction of matrix size, except for a couple of cases where | |
2127 nzmax is needed. | |
2128 (Sparse<T>::index (idx_vector&, idx_vector&, int) const): | |
2129 Special case strict permutations for speed. | |
2130 * Sparse-op-defs.h: Change use of nxmax to nnz to allow automatic | |
2131 reduction of matrix size, except for a couple of cases where | |
2132 nzmax is needed. | |
2133 (SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, FULL_SPARSE_MUL): Update | |
2134 macros to allow mixed complex/real arguments. | |
2135 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): New macro for C99 zero | |
2136 value. | |
2137 (qrsolve): Use it to zero temporary buffers used bt CXSPARSE. | |
2138 * SparseType.cc (SparseType::SparseType ()): Correct detection | |
2139 of permutated triangular matrices to avoid seg-faults. Disable | |
2140 detection of underdetermined lower and over-determined upper | |
2141 matrix due to problems with non minimum norm solutions. | |
2142 * sparse-dmsolve.cc: New file for Dulmage-Mendelsohn solver. | |
2143 * Makefile.in: add sparse-dmsolve.cc to targets. | |
2144 | |
5675 | 2145 2006-03-15 William Poetra Yoga Hadisoeseno <williampoetra@gmail.com> |
2146 | |
2147 * oct-time.cc (octave_strptime::init): Return useful character count. | |
2148 | |
5648 | 2149 2006-03-08 David Bateman <dbateman@free.fr> |
2150 | |
2151 * SparseCmplxQR.cc: Updates for new upstream CXSPARSE release. Fix for | |
2152 g++ 4.x stl_vector.h issue with C99 double _Complex type. | |
2153 * SparseCmplxQR.h: Updates for new upstream CXSPARSE release. | |
2154 * SparseQR.cc: ditto. | |
2155 * SparseQR.h: ditto. | |
2156 * oct-sparse.h: ditto. | |
2157 * sparse-base-chol.cc (sparse_base_chol<>::sparse_base_chol_rep::init): | |
2158 Declare info variable as volatile. | |
2159 | |
2160 * Sparse.cc (Sparse<T>::transpose (void) const): Accelerate algorithm. | |
2161 * CSparse.cc (SparseComplexMatrix::transpose (void) const): ditto. | |
2162 | |
5634 | 2163 2006-03-01 John W. Eaton <jwe@octave.org> |
2164 | |
2165 * CMatrix.cc (ComplexMatrix::determinant): | |
2166 Scale result by factors of 2, not 10. | |
2167 * dMatrix.cc (Matrix::determinant): Likewise. | |
2168 | |
2169 * dbleDET.h (DET::DET): Use initializer list. | |
2170 (DET::coefficient2, DET::coefficient10, DET::exponent2, | |
2171 DET::exponent10): New functions. | |
2172 (DET::det): Delete. | |
2173 (DET::c2, DET::c10, DET::e2, DET::e10, DET::base2): New data members. | |
2174 Store value internally with double and int instead of 2-element | |
2175 double vector. | |
2176 (DET::initialize2, DET::initialize10): Provide decls. | |
2177 * dbleDET.cc (DET::value_will_overflow, DET::value_will_underflow): | |
2178 Return bool value, not int. | |
2179 (DET::initialize2, DET::initialize10): New functions. | |
2180 | |
2181 * CmplxDET.h (ComplexDET::ComplexDET): Use initializer list. | |
2182 (ComplexDET::coefficient2, ComplexDET::coefficient10, | |
2183 ComplexDET::exponent2, ComplexDET::exponent10): New functions. | |
2184 (ComplexDET::det): Delete. | |
2185 (ComplexDET::c2, ComplexDET::c10, ComplexDET::e2, ComplexDET::e10, | |
2186 ComplexDET::base2): New data members. | |
2187 Store value internally with Complex and int instead of 2-element | |
2188 Complex vector. | |
2189 (ComplexDET::initialize2, ComplexDET::initialize10): Provide decls. | |
2190 * dbleComplexDET.cc (ComplexDET::value_will_overflow, | |
2191 ComplexDET::value_will_underflow): Return bool value, not int. | |
2192 (ComplexDET::initialize2, ComplexDET::initialize10): New functions. | |
2193 | |
5632 | 2194 2006-02-24 John W. Eaton <jwe@octave.org> |
2195 | |
2196 * Array.cc (assignN): Clear index before reshaping. | |
2197 | |
2198 * Array.h (Array<T>::operator =): Don't set idx to 0 if copying self. | |
2199 | |
5630 | 2200 2006-02-20 David Bateman <dbateman@free.fr> |
2201 | |
2202 * dSparse.cc (dsolve, utsolve, ltsolve): Remove restriction that | |
2203 matrix must be square in diagonal, permuted diagonal, triangular | |
2204 and permuted triangular back/forward substitution code. Change | |
2205 ambiguous use of no. rows and columns. | |
2206 * CSParse.cc (dsolve, utsolve, ltsolve): ditto. | |
2207 * SparseType.cc (SparseType::SparseType(const SparseMatrix&), | |
2208 SparseType::SparseType(const SparseComplexMatrix&)): Recognize | |
2209 rectangular diagonal, permuted diagonal, triangular and permuted | |
2210 triangular matrices. | |
2211 * Sparse.cc (Sparse<T>::Sparse (octave_idx_type, octave_idx_type, T)): | |
2212 Treat case where third argument is zero. | |
2213 | |
5621 | 2214 2006-02-15 John W. Eaton <jwe@octave.org> |
2215 | |
5622 | 2216 * kpse.cc: Do define ST_NLINK_TRICK for Cygwin systems. |
2217 (do_subdir) [ST_NLINK_TRICK]: Check links != 2 instead of links > 2. | |
2218 | |
5621 | 2219 * getopt.c: Use __CYGWIN__ instead of __CYGWIN32__. |
2220 | |
5619 | 2221 2006-02-13 David Bateman <dbateman@free.fr> |
2222 | |
2223 * Makefile.in (LINK_DEPS): Add missing dependencies on colamd, | |
2224 ccolamd and cxsparse | |
2225 | |
5617 | 2226 2006-02-13 John W. Eaton <jwe@octave.org> |
2227 | |
5618 | 2228 * kpse.cc (kpse_path_iterator::next): Reverse order of tests in |
2229 while loop condition. | |
2230 (kpse_path_iterator::operator =): Declare as private function but | |
2231 don't define to prevent attempts to use assignment operator. | |
2232 Don't define ST_NLINK_TRICK for Cygwin systems. | |
5617 | 2233 |
5615 | 2234 2006-02-10 John W. Eaton <jwe@octave.org> |
2235 | |
2236 * mx-inlines.cc (MX_ND_REDUCTION): Store in cummulative | |
2237 product of all dimensions in CP_SZ. | |
2238 | |
5611 | 2239 2006-02-09 John W. Eaton <jwe@octave.org> |
2240 | |
2241 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Store in cummulative | |
5615 | 2242 product of all dimensions in CP_SZ. |
5611 | 2243 |
5610 | 2244 2006-02-09 David Bateman <dbateman@free.fr> |
2245 | |
2246 * SparseQR.cc: new file for real sparse QR class. | |
2247 * SparseQR.h: declaration. | |
2248 * SparseCmplxQR.cc: new file for complex sparse QR class. | |
2249 * SparseCmplxQR.h: declaration. | |
2250 * dSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
2251 (factorize, fsolve): Enable code code lssolve. | |
2252 (lssolve): disable unused args, write based in above sparse QR class. | |
2253 * CSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
2254 (factorize, fsolve): Enable code code lssolve. | |
2255 (lssolve): disable unused args, write based in above sparse QR class. | |
2256 * oct-sparse.h: fix location of colamd, ccolamd and metis headers. | |
2257 Include CXSparse headers. | |
2258 * Makefile.in (MATRIX_INC): Include SparseQR.h and SparseCmplxQR.h. | |
2259 (MATRIX_SRC): Include SparseQR.cc and SparseCmplxQR.cc. | |
2260 | |
5607 | 2261 2006-02-08 John W. Eaton <jwe@octave.org> |
2262 | |
2263 * Array-util.h (calc_permutated_idx): Delete. | |
2264 * Array.cc (permute_vector): New data structure. | |
2265 (permute_vector_compare): New function. | |
2266 (Array<T>::permute): Rewrite to avoid calc_permutated_index for | |
2267 improved performance. | |
2268 | |
5606 | 2269 2006-02-04 David Bateman <dbateman@free.fr> |
2270 | |
2271 * COLAMD: Remove all files, as now unused. | |
2272 | |
5604 | 2273 2006-01-31 John W. Eaton <jwe@octave.org> |
2274 | |
2275 * Sparse.h (Sparse<T>::nzmax): New function. | |
2276 (Sparse<T>::nnz): Rename from nonzero. | |
2277 Change all uses of old nnz function to be nzmax. Change all uses | |
2278 of nonzero to be nnz. | |
2279 (Sparse<T>::nzmx): Rename from nnz (data member). Change all uses. | |
2280 | |
5603 | 2281 2006-01-21 David Bateman <dbateman@free.fr> |
2282 | |
2283 * sparse-sort.cc (bool octave_sparse_sidxl_comp): 64-bit fix. | |
2284 (bool octave_idx_vector_comp): New function. | |
2285 (template class octave_sort<octave_idx_vector_sort *>): Instantiate | |
2286 indexed idx_vector sorting function. | |
2287 * sparse-sort.h (class octave_sparse_sort_idxl): 64-bit fix. | |
2288 (class octave_idx_vector_sort): New class for indexed idx_vector | |
2289 sorting. | |
2290 (bool octave_idx_vector_comp): Declaration. | |
2291 * Sparse.cc (int assign1(Sparse<LT>&, Sparse<RT>&)): Treat cases of | |
2292 unordered LHS indexes in assignment using new octave_idx_vector_sort | |
2293 class. | |
2294 (int assign(Sparse<LT>&, Sparse<RT>&)): ditto. | |
2295 | |
5602 | 2296 2006-01-30 John W. Eaton <jwe@octave.org> |
2297 | |
2298 * so-array.h (streamoff_array::nnz): New funtion. | |
2299 * boolNDArray.h (boolNDArray::nnz): New function. | |
2300 * MArrayN.h (MArrayN<T>::nnz): New function. | |
2301 * MArray.h (MArray<T>::nnz): New function. | |
2302 | |
5587 | 2303 2006-01-04 David Bateman <dbateman@free.fr> |
2304 | |
2305 * Spars-op-defs.h (SPARSE_SPARSE_MUL): Previous change resulted in | |
2306 elements not being sorted in return matrix. Sort them, and make | |
2307 solver select between two algorithms to further improve the | |
2308 performance. | |
2309 * dSparse.cc: include oct-sort.h. | |
2310 * CSparse.cc: ditto. | |
2311 * sparse-sort.cc: Instantiate octave_sort<octave_idx_type>. | |
2312 | |
5586 | 2313 2005-12-28 David Bateman <dbateman@free.fr> |
2314 | |
5587 | 2315 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Improved algorithm that is |
2316 faster in all cases, and significantly so for low density or small | |
2317 order problems. | |
5586 | 2318 |
5552 | 2319 2005-11-30 John W. Eaton <jwe@octave.org> |
2320 | |
2321 * LSODE.cc (LSODE::do_integrate (double)): Resize iwork and rwork | |
2322 before setting any values in either array. | |
2323 | |
5547 | 2324 2005-11-29 John W. Eaton <jwe@octave.org> |
2325 | |
2326 * oct-uname.h, oct-uname.cc: New files. | |
2327 * Makefile.in: Add them to the appropriate lists. | |
2328 | |
5535 | 2329 2005-11-11 John W. Eaton <jwe@octave.org> |
2330 | |
2331 * Array.cc (Array<T>::indexN): Simplify. | |
2332 | |
5533 | 2333 2005-11-09 John W. Eaton <jwe@octave.org> |
2334 | |
2335 * oct-inttypes.h (octave_int::operator char (void) const): | |
2336 New conversion op. | |
2337 | |
5527 | 2338 2005-11-01 John W. Eaton <jwe@octave.org> |
2339 | |
2340 * Makefile.in (distclean): Also remove oct-types.h. | |
2341 From Quentin Spencer <qspencer@ieee.org>. | |
2342 | |
5526 | 2343 2005-10-31 David Bateman <dbateman@free.fr> |
2344 | |
2345 * dSparse.cc, CSparse.cc: Use C++ true/false instead of | |
2346 preprocessor defined TRUE/FALSE. | |
2347 | |
5523 | 2348 2005-10-30 John W. Eaton <jwe@octave.org> |
2349 | |
2350 * mx-inlines.cc (MX_ND_REDUCTION): Iterate in direction of DIM. | |
2351 (MX_ND_CUMULATIVE_OP): Likewise. | |
2352 | |
5519 | 2353 2005-10-29 John W. Eaton <jwe@octave.org> |
2354 | |
5520 | 2355 * mx-inlines.cc (MX_ND_REDUCTION): Avoid increment_index to speed |
2356 things up. Simplify. | |
2357 | |
5519 | 2358 * Array.cc (Array<T>::indexN): Simplify. Delete separate special |
2359 case for "vector_equivalent". | |
2360 | |
2361 * Array-util.cc (vector_equivalent): Arg is now dim_vector. | |
2362 | |
5518 | 2363 2005-10-28 John W. Eaton <jwe@octave.org> |
2364 | |
2365 * oct-sparse.h: Fix typo in HAVE_UFSPARSE_UMFPACK_H. | |
2366 From Quentin Spencer <qspencer@ieee.org>. | |
2367 | |
2368 * sparse-base-chol.cc: Use C++ true/false instead of | |
2369 preprocessor defined TRUE/FALSE. Use 0 instead of NULL. | |
2370 | |
5516 | 2371 2005-10-27 John W. Eaton <jwe@octave.org> |
2372 | |
2373 * Array.cc (assignN): Reshape to final size instead of resizing. | |
2374 | |
5512 | 2375 2005-10-26 John W. Eaton <jwe@octave.org> |
2376 | |
2377 * oct-sparse.h: New file. | |
2378 * oct-sparse.h.in: Delete. | |
2379 | |
5511 | 2380 2005-10-26 David Bateman <dbateman@free.fr> |
2381 | |
2382 * sparse-base-chol.h: Include cholmod specific code in HAVE_CHOLMOD | |
2383 * sparse-base-chol.cc: ditto. | |
2384 | |
5508 | 2385 2005-10-26 John W. Eaton <jwe@octave.org> |
2386 | |
2387 Changes for GCC 4.1, tip from Arno J. Klaassen | |
2388 <arno@heho.snv.jussieu.fr>: | |
2389 | |
5509 | 2390 * dSparse.h (real (const SparseComplexMatrix&)): |
2391 Publish externally used friend function. | |
2392 (imag (const SparseComplexMatrix&)): Likewise. | |
2393 | |
5508 | 2394 * dColVector.h (real (const ComplexColumnVector&)): |
2395 Publish externally used friend function. | |
2396 (imag (const ComplexColumnVector&)): Likewise. | |
2397 | |
2398 * dNDArray.h (real (const ComplexNDArray&)): | |
2399 Publish externally used friend function. | |
2400 (imag (const ComplexNDArray&)): Likewise. | |
2401 | |
2402 * dMatrix.h (operator * (const ComplexMatrix&)): | |
2403 Move decl outside class. No need to be friend. | |
2404 (real (const ComplexMatrix&)): Publish externally used friend function. | |
2405 (imag (const ComplexMatrix&)): Likewise. | |
2406 | |
2407 * CMatrix.h: (operator * (const ColumnVector&, const | |
2408 ComplexRowVector&)): Move decl outside class. No need to be friend. | |
2409 (operator * (const ComplexColumnVector&, const RowVector&)): Likewise. | |
2410 (operator * (const ComplexColumnVector&, const ComplexRowVector& b)): | |
2411 Likewise. | |
2412 | |
5506 | 2413 2005-10-23 David Bateman <dbateman@free.fr> |
2414 | |
2415 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Check whether trailing zero | |
2416 elements need to be removed. | |
2417 | |
2418 * oct-sparse.h.in: Include metis headers and some macros for long/int | |
2419 versions of cholmod. | |
2420 | |
2421 * CSparse.cc (tinverse): New private function for the inversion of | |
2422 an upper triangular matrix. | |
2423 (dinverse): ditto for diagonal matrices. | |
2424 (inverse): Add SparseType as an argument. Implement matrix inverse | |
2425 using tinverse and dinverse. | |
2426 (fsolve): Use cholmod to implement Cholesky solver. | |
2427 * CSparse.h (tinverse, dinverse): Declarations | |
2428 (inverse): Alter declaration to include SparseType. | |
2429 | |
2430 * dSparse.cc (tinverse, dinverse, inverse, fsolve): ditto. | |
2431 * dSparse.h (tinverse, dinverse, inverse): ditto. | |
2432 | |
2433 * SparseType.cc: Fix complex constructor for hermitian matrices. | |
2434 | |
2435 * sparse-util.cc: New file for sparse utility functions. | |
2436 * sparse-util.h: New file with declarations of sparse utility | |
2437 functions. | |
2438 | |
2439 * sparse-base-chol.cc: New file with sparse cholesky class based | |
2440 on cholmod. | |
2441 * sparse-base-chol.h: New file with declaration of sparse cholesky | |
2442 class based on cholmod. | |
2443 | |
2444 * SparseCmplxCHOL.cc: Instantiate sparse cholesky class for Complex. | |
2445 * SparseCmplxCHOL.h: Declaration of sparse cholesky class. | |
2446 | |
2447 * SparsedbleCHOL.cc: ditto. | |
2448 * SparsedbleCHOL.h: ditto. | |
2449 | |
2450 * Makefile.in (MATRIX_INC): Include sparse-base-chol.h. | |
2451 (INCLUDES): Include sparse-util.h | |
2452 (TEMPLATE_SRC): Include sparse-base-chol.cc | |
2453 (MATRIX_SRC): Include SparseCmplxCHOL.cc and SparsedbleCHOL.cc | |
2454 | |
5489 | 2455 2005-10-12 John W. Eaton <jwe@octave.org> |
2456 | |
2457 * oct-env.cc (octave_env::have_x11_display): New function. | |
2458 * oct-env.h: Provide decl. | |
2459 | |
5476 | 2460 2005-09-29 John W. Eaton <jwe@octave.org> |
2461 | |
2462 * file-stat.h (file_stat::mode): New function. | |
2463 | |
2464 * file-stat.cc (file_stat::is_blk, file_stat::is_chr, | |
2465 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
2466 file_stat::is_reg, file_stat::is_sock): New static functions. | |
2467 * file-stat.h: Provide decls. | |
2468 | |
2469 2005-09-28 John W. Eaton <jwe@octave.org> | |
2470 | |
2471 * file-ops.cc (file_ops::recursive_rmdir): New function. | |
2472 * file-ops.h: Provide decl. | |
2473 | |
5454 | 2474 2005-09-19 David Bateman <dbateman@free.fr> |
2475 | |
2476 * oct-env.cc (octave_env::do_get_home_directory): | |
2477 Also check HOMEDRIVE under mingw. | |
2478 | |
5455 | 2479 * Makefile.in (LINK_DEPS): Include UFsparse libraries. |
2480 | |
5453 | 2481 2005-09-16 John W. Eaton <jwe@octave.org> |
2482 | |
2483 * oct-syscalls.cc: Include lo-utils.h here. | |
2484 (octave_syscalls::waitpid): Call octave_waitpid here. | |
2485 | |
2486 * lo-cutils.c (octave_waitpid): New function. | |
2487 * lo-utils.h: Provide decl. Include syswait.h here, not in | |
2488 oct-syscalls.cc | |
2489 | |
2490 | |
2491 * syswait.h [__MINGW32__]: Define WAITPID here instead of defining | |
2492 waitpid in src/sysdep.h. Make this header C-compatible. | |
2493 | |
2494 * oct-syscalls.cc (octave_syscalls::waitpid): New arg, status. | |
2495 Change all uses. | |
2496 | |
5451 | 2497 2005-09-15 John W. Eaton <jwe@octave.org> |
2498 | |
2499 * Makefile.in (MAKEDEPS_2): Omit unnecessary variable. | |
2500 | |
2501 * oct-sparse.h.in: New file. | |
2502 * Makefile.in (DISTFILES): Include it in the list. | |
2503 (INCLUDES): Add oct-sparse.h to the list. | |
2504 | |
2505 2005-09-15 David Bateman <dbateman@free.fr> | |
2506 | |
2507 * dSparse.cc : Include oct-sparse.h for probed umfpack, colamd etc | |
2508 headers. Remove include of umfpack.h. | |
2509 * CSparse.cc : ditto. | |
2510 * SparsedbleLU.cc : ditto. | |
2511 * SparseCmplxLU.cc : ditto. | |
2512 | |
2513 * COLAMD : Remove colamd files from octave. | |
2514 * COLAMD.files : delete. | |
2515 * COLAMD.README : delete. | |
2516 * Makefile.in: Remove COLAMD. Add LIBGLOB. | |
2517 (LN_S): Change to DESTDIR before LN_S to avoid lack of symlinks | |
2518 under mingw. | |
2519 | |
2520 * kpse.cc (ENV_SEP, ENV_SEP_STRING): Use SEPCHAR and SEPCHAR_STR | |
2521 in definition. | |
2522 * lo-cutils.c (octave_w32_library_search): Call GetProcAddress with | |
2523 change of cast not allowed under g++ 3.x. | |
2524 * lo-utils.h (octave_w32_library_search): Declaration. | |
2525 * oct-env.cc (do_get_home_directory): Also check HOMEPATH under mingw. | |
2526 * oct-shlib.cc (octave_w32_shlib::search): Use octave_w32_library_search. | |
2527 | |
5442 | 2528 2005-09-07 John W. Eaton <jwe@octave.org> |
2529 | |
2530 * cmd-edit.cc (command_editor::do_decode_prompt_string): Update | |
2531 based on current code in Bash. Handle a few more escape | |
2532 sequences. Do a better job of decoding \W. | |
2533 | |
5438 | 2534 2005-09-04 David Bateman <dbateman@free.fr> |
2535 | |
2536 * COLAMD: Update version of colamd to v2.4. | |
2537 * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of | |
2538 colamd.c for long version. | |
2539 | |
5429 | 2540 2005-08-25 David Bateman <dbateman@free.fr> |
2541 | |
2542 * Sparse-op-defs.h (FULL_SPARSE_MUL, SPARSE_FULL_MUL): Macro for | |
2543 mixed sparse/full multiply. | |
2544 * dSparse.cc (operator *), CSparse.cc (operator *): New operators for | |
2545 mixed sparse/full multiply. | |
2546 * dSparse.h (operator *), CSparse.h (operator *): Declaration of | |
2547 mixed sparse/full multiply operators. | |
2548 | |
5420 | 2549 2005-07-25 Erik de Castro Lopo <erikd@zip.com.au> |
2550 | |
2551 * oct-inttypes.h (OCTAVE_S_US_FTR): Compare <= 0 instead of < 0 to | |
2552 avoid warnings for unsigned types. | |
2553 | |
5404 | 2554 2005-07-07 John W. Eaton <jwe@octave.org> |
2555 | |
2556 * dSparse.cc (SparseMatrix::factorize): Initialize Numeric to 0. | |
2557 * CSparse.cc (SparseComplexMatrix::factorize:) Likewise. | |
2558 | |
5392 | 2559 2005-06-15 John W. Eaton <jwe@octave.org> |
2560 | |
5394 | 2561 * oct-rl-edit.c (flush_stdout): Rename from no_redisplay. |
2562 Flush stdout here. | |
2563 (octave_rl_clear_screen): Set rl_redisplay_function to flush_stdout. | |
2564 | |
5392 | 2565 * Array.h (Array::resize): Change int args to octave_idx_type. |
2566 | |
5386 | 2567 2005-06-14 John W. Eaton <jwe@octave.org> |
2568 | |
5389 | 2569 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
2570 dSparse.cc, lo-cieee.c, lo-mappers.cc: Change all uses of | |
2571 octave_is_NaN_or_NA to xisnan. | |
2572 | |
2573 * lo-mappers.h (octave_is_NaN_or_NA): Mark with GCC_ATTR_DEPRECATED. | |
2574 * lo-ieee.h (lo_ieee_is_NaN_or_NA): Likewise. | |
2575 | |
2576 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Now just a wrapper for | |
2577 lo_ieee_isnan. | |
2578 | |
5387 | 2579 * dMatrix.cc (Matrix::too_large_for_float): Only check if abs |
2580 value is greater than FLT_MAX. | |
2581 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
2582 * dNDArray.cc (NDArray::too_large_for_float): Ditto. | |
2583 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
2584 | |
2585 * dMatrix.cc (Matrix::too_large_for_float): Special case Inf | |
2586 values too. | |
2587 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
2588 | |
2589 * dNDArray.cc (NDArray::too_large_for_float): Likewise for NaN, | |
2590 NA, Inf values. | |
2591 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
5386 | 2592 |
5385 | 2593 2005-06-14 David Bateman <dbateman@free.fr> |
2594 | |
5387 | 2595 * dMatrix.cc (Matrix::too_large_for_float): Special case NaN and |
2596 NA values. | |
2597 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
5385 | 2598 |
5379 | 2599 2005-06-02 John W. Eaton <jwe@octave.org> |
2600 | |
2601 * Array.cc (assignN): Try harder to correctly resize previously | |
2602 empty LHS. | |
2603 | |
5351 | 2604 2005-05-16 David Bateman <dbateman@free.fr> |
2605 | |
2606 * dSparse.h: Change UMFPACK_LONG_IDX to IDX_TYPE_LONG. | |
2607 * CSparse.h: ditto. | |
2608 | |
5346 | 2609 2005-05-10 David Bateman <dbateman@free.fr> |
2610 | |
2611 * dSparse.cc (determinant): Free numeric factorization after | |
2612 sucessful calculation. | |
2613 * CSparse.cc (determinant): ditto. | |
2614 | |
5340 | 2615 2005-05-06 John W. Eaton <jwe@octave.org> |
2616 | |
2617 * dbleCHOL.cc (CHOL::init): Use xelem instead of elem for indexing | |
2618 chol_mat. | |
2619 (chol2mat_internal, chol2mat, CHOL::inverse): New functions. | |
2620 * dbleCHOL.h (chol2mat_internal, chol2mat, CHOL::inverse): | |
2621 Provide decls. | |
2622 | |
2623 * CmplxChol.cc (ComplexCHOL::init): Use xelem instead of elem for | |
2624 indexing chol_mat. | |
2625 (chol2mat_internal, chol2mat, ComplexCHOL::inverse): New functions. | |
2626 * CmplxCHOL.h (chol2mat_internal, chol2mat, CmplxCHOL::inverse): | |
2627 Provide decls. | |
2628 | |
5338 | 2629 2005-05-05 John W. Eaton <jwe@octave.org> |
2630 | |
2631 * Array.cc (Array<T>::permute): Call chop_trailing_singletons on | |
2632 retval before return. | |
2633 | |
5336 | 2634 2005-05-04 John W. Eaton <jwe@octave.org> |
2635 | |
2636 * cmd-edit.cc (gnu_readline::do_readline): Extract const char* | |
2637 from prompt outside of INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE block. | |
2638 | |
5330 | 2639 2005-05-02 John W. Eaton <jwe@octave.org> |
2640 | |
2641 * Makefile.in (LINK_DEPS): List $(UMFPACK_LIBS) ahead of $(BLAS_LIBS). | |
2642 From Dmitri A. Sergatskov <dasergatskov@gmail.com>. | |
2643 | |
5322 | 2644 2005-04-29 David Bateman <dbateman@free.fr> |
2645 | |
5330 | 2646 * dSparse.cc (trisolve): Diagonal passed to lapack zptsv is type |
2647 double. Correct indexing for upper diagonal elements for sparse | |
2648 tridiagonal. | |
5322 | 2649 * CSparse.cc (trisolve): ditto. |
2650 | |
5330 | 2651 * CSparse.h (UMFPACK_ZNAME): Define macro to pick version of |
2652 UMFPACK for 64-bit. | |
5322 | 2653 * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with |
2654 UMFPACK_ZNAME(*). | |
2655 * SparseCmplxLU.cc (UMFPACK_ZNAME): ditto | |
2656 | |
5330 | 2657 * dSparse.h (UMFPACK_DNAME): Define macro to pick version of |
2658 UMFPACK for 64-bit. | |
5322 | 2659 * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with |
2660 UMFPACK_DNAME(*). | |
2661 * SparsedbleLU.cc (UMFPACK_DNAME): ditto | |
2662 | |
5330 | 2663 * dSparse.cc (ltsolve, utsolve): Correct permuted upper/lower |
2664 triangular back/forward substitution code. | |
5322 | 2665 * CSparse.cc (ltsolve, utsolve): ditto. |
2666 | |
5330 | 2667 * dSparse.cc (solve): Use mattype.type (false) to force messaging |
2668 from spparms("spumoni",1). | |
5322 | 2669 * CSparse.cc (solve): ditto |
2670 | |
5330 | 2671 * SparseType.cc (SparseType(void)): Print info for |
2672 spparms("spumoni",1). | |
5322 | 2673 (SparseType(const matrix_type), SparseType(const matrix_type, const |
2674 octave_idx_type, const octave_idx_type*), SparseType(const matrix_type, | |
2675 const octave_idx_type, const octave_idx_type)): New constructors. | |
2676 (SparseType (const SparseMatrix&), SparseType (SparseComplexMatrix&)): | |
5330 | 2677 Detect row permuted lower triangular and column permuted upper |
2678 triangular matrices. Remove one of the permutation vectors.. | |
5322 | 2679 |
2680 * SparseType.h: Simplify the permutation code. | |
2681 (SparseType(const matrix_type), SparseType | |
2682 (const matrix_type, const octave_idx_type, const octave_idx_type*), | |
2683 SparseType(const matrix_type, const octave_idx_type, | |
2684 const octave_idx_type)): Declarations. | |
2685 | |
5304 | 2686 2005-04-25 John W. Eaton <jwe@octave.org> |
2687 | |
2688 * str-vec.cc (string_vector::delete_c_str_vec): Correctly free | |
2689 array and its contents. | |
2690 | |
5303 | 2691 2005-04-22 John W. Eaton <jwe@octave.org> |
2692 | |
2693 * oct-rl-edit.c (octave_rl_set_terminal_name): Don't cast away | |
2694 const here now that rl_terminal_name is declared const char*. | |
2695 | |
5294 | 2696 2005-04-21 John W. Eaton <jwe@octave.org> |
2697 | |
2698 * Makefile.in (DISTFILES): Include oct-types.h.in in the list. | |
2699 | |
5285 | 2700 2005-04-19 John W. Eaton <jwe@octave.org> |
2701 | |
2702 * Array.cc (assignN): Don't crash if the index list is empty. | |
2703 | |
5282 | 2704 2005-04-14 David Bateman <dbateman@free.fr> |
2705 | |
2706 * SparseCmplxLU.cc: Add flags for incomplete factorization. | |
2707 * SparsedbleLU.cc: Ditto. | |
2708 * SparseCmplxLU.h: Definition. | |
2709 * SparsedbleLU.h: ditto. | |
2710 | |
2711 * SparseType.cc (transpose): New function. | |
2712 * SparseType.h (transpose): Definition. | |
2713 | |
5278 | 2714 2005-04-11 John W. Eaton <jwe@octave.org> |
2715 | |
2716 * lo-specfun.cc: Use F77_XFCN instead of F77_FUNC for calls to | |
2717 fortran code that could end up calling XSTOPX. | |
2718 | |
5277 | 2719 2005-04-10 David Bateman <dbateman@free.fr> |
2720 | |
2721 * Makefile.in: include oct-types in INCLUDES so that it is | |
2722 installed | |
2723 | |
5275 | 2724 2005-04-08 John W. Eaton <jwe@octave.org> |
2725 | |
5276 | 2726 * Makefile.in (clean): Use exact filenames instead of *.xxx. |
2727 | |
5275 | 2728 * Initial merge of 64-bit changes from Clinton Chee: |
2729 | |
2730 2005-04-07 John W. Eaton <jwe@octave.org> | |
2731 | |
2732 * MArray-i.cc, Array-i.cc: Instantiate Array<long> and MArray<long>. | |
2733 | |
2734 * CSparse.cc, CSparse.h, MSparse.cc, MSparse.h, Sparse-op-defs.h, | |
2735 Sparse.cc, Sparse.h, SparseCmplxLU.cc, SparseType.cc, | |
2736 SparseType.h, SparsedbleLU.cc, boolSparse.cc, boolSparse.h, | |
2737 dSparse.cc, dSparse.h, sparse-base-lu.cc: | |
2738 Use octave_idx_type instead of int where needed. | |
2739 | |
2740 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
2741 | |
2742 * Array-util.cc, Array-util.h, Array.cc,Array.h, Array2.h, | |
2743 Array3.h, ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
2744 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
2745 CMatrix.h, CNDArray.cc, CNDArray.h, CRowVector.cc, CRowVector.h, | |
2746 CmplxAEPBAL.cc, CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, | |
2747 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
2748 CmplxSCHUR.cc, CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, | |
2749 CollocWt.h, DAEFunc.h, DASPK-opts.in,DASPK.cc,DASPK.h, | |
2750 DASRT-opts.in, DASRT.cc, DASRT.h, DASSL-opts.in, DASSL.cc, | |
2751 DASSL.h, DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, | |
2752 FEGrid.h, LPsolve.cc, LPsolve.h, LSODE-opts.in, LSODE.cc, LSODE.h, | |
2753 MArray-defs.h, MArray.cc, MArray.h, MArray2.cc, MArray2.h, | |
2754 MArrayN.cc, MDiagArray2.cc, MDiagArray2.h, NLConst.h, NLEqn.cc, | |
2755 NLEqn.h, Quad.cc, Quad.h, Range.cc,Range.cc, Range.h, base-de.h, | |
2756 base-lu.cc, base-lu.h, base-min.h, boolMatrix.cc, boolMatrix.h, | |
2757 boolNDArray.cc, boolNDArray.h, chMatrix.cc, chMatrix.h, | |
2758 chNDArray.cc, chNDArray.h, dColVector.cc, dColVector.h, | |
2759 dDiagMatrix.cc, dDiagMatrix.h, dMatrix.cc, dMatrix.h, | |
2760 dNDArray.cc,dNDArray.cc, dNDArray.h, dRowVector.cc, dRowVector.h, | |
2761 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleHESS.cc, | |
2762 dbleHESS.h, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
2763 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, dim-vector.h, idx-vector.cc, | |
2764 idx-vector.h, intNDArray.cc, intNDArray.h, lo-specfun.cc, | |
2765 lo-specfun.h, mach-info.cc, mx-inlines.cc, oct-fftw.cc, | |
2766 oct-fftw.h, oct-rand.cc, oct-rand.h, so-array.cc, so-array.h, | |
2767 str-vec.cc, str-vec.h: | |
2768 Use octave_idx_type instead of int where needed. | |
2769 | |
2770 2005-04-01 John W. Eaton <jwe@octave.org> | |
2771 | |
2772 * dim-vector.h, lo-utils.h: Include oct-types.h. | |
2773 | |
2774 * oct-types.h.in: New file. | |
2775 | |
2776 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
2777 | |
2778 * lo-utils.cc (NINTbig): New function. | |
2779 * lo-utils.h: Provide decl. | |
2780 | |
5269 | 2781 2005-04-06 David Bateman <dbateman@free.fr> |
2782 | |
2783 * Makefile.in: Link to UMFPACK_LIBS. | |
2784 | |
5265 | 2785 2005-04-05 John W. Eaton <jwe@octave.org> |
2786 | |
2787 * Array.cc (assignN): Avoid shadowed declaration in previous change. | |
2788 | |
5264 | 2789 2005-04-01 John W. Eaton <jwe@octave.org> |
2790 | |
2791 * Array.cc (assignN): For A(IDX-LIST) = RHS with A previously | |
2792 undefined, correctly match colons in IDX-LIST with RHS dimensions | |
2793 when resizing A. When performing the assignment, just check that | |
2794 the number of elements in RHS matches the number of elements | |
2795 indexed by IDX-LIST. | |
2796 | |
5260 | 2797 2005-03-30 John W. Eaton <jwe@octave.org> |
2798 | |
5261 | 2799 * lo-mappers.cc (log10, tan, tanh): Delete functions. |
2800 * lo-mappers.h (log10, tan, tanh): Delete decls. | |
2801 | |
2802 * CColVector.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, | |
2803 dSparse.cc: Use std:: for Complex functions instead of relying on | |
2804 wrappers from oct-cmplx.h. | |
5260 | 2805 |
2806 * oct-cmplx.h: Provide typedef only. | |
2807 | |
2808 * DiagArray2.cc (xelem): Don't use initializer for static data. | |
2809 * DiagArray2.h (DiagArray<T>::Proxy::operator T ()): | |
2810 Likewise. | |
2811 | |
5247 | 2812 2005-03-26 John W. Eaton <jwe@octave.org> |
2813 | |
2814 * cmd-edit.cc (do_readline): Wrap call to ::octave_rl_readline | |
2815 with {BEGIN,END}_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE. | |
2816 | |
5209 | 2817 2005-03-15 John W. Eaton <jwe@octave.org> |
2818 | |
2819 * Makefile.in (MATRIX_INC): Remove oct-spparms.h from the list. | |
2820 | |
5203 | 2821 2005-03-14 John W. Eaton <jwe@octave.org> |
2822 | |
2823 * Makefile.in (DISTFILES): Don't include $(UMFPACK_EXTRAS). | |
2824 (DISTDIRS): Don't include UMFPACK. | |
2825 (LIBOCTAVE_OBJECTS): Don't include $(UMFPACK_OBJ). | |
2826 (UMFPACK_SPECIAL_1, UMFPACK_SPECIAL): No need for special include | |
2827 flags for these files. | |
2828 Don't include include $(srcdir)/UMFPACK.files. | |
2829 Don't include include $(srcdir)/UMFPACK.rules. | |
2830 | |
2831 * UMFPACK.README, UMFPACK.files, UMFPACK.patch, UMFPACK.rules: | |
2832 Delete files. | |
2833 * UMFPACK: Delete directory tree. | |
2834 | |
2835 * dSparse.cc: Include <umfpack/umfpack.h> instead of just "umfpack.h". | |
2836 * CSparse.cc: Likewise. | |
2837 * SparsedbleLU.cc: Likewise. | |
2838 * SparseCmplxLU.cc: Likewise. | |
2839 | |
2840 2005-03-14 David Bateman <dbateman@free.org> | |
2841 | |
2842 * CSParse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc: | |
2843 Allow compilation to succeed if UMFPACK is not available. | |
2844 | |
5196 | 2845 2005-03-09 John W. Eaton <jwe@octave.org> |
2846 | |
2847 * Makefile.in (bin-dist): Delete target. | |
2848 (BINDISTLIBS, BINDISTFILES): Delete variables. | |
2849 | |
5173 | 2850 2005-03-01 John W. Eaton <jwe@octave.org> |
2851 | |
2852 * ODESSA.h, ODESSA.cc, ODESSA-opts.in: Delete. | |
2853 * Makefile.in: Remove them from the lists. | |
2854 | |
5169 | 2855 2005-02-28 John W. Eaton <jwe@octave.org> |
2856 | |
2857 * Makefile.in (LINK_DEPS): Remove -lglob from the list. | |
2858 | |
5167 | 2859 2005-02-27 David Bateman <dbateman@free.org> |
2860 | |
5169 | 2861 * Sparse.cc (Sparse<T>::reshape): Set cidx for the N last elements |
2862 in the sparse matrix. | |
5167 | 2863 |
5164 | 2864 2005-02-25 John W. Eaton <jwe@octave.org> |
2865 | |
2866 Sparse merge. | |
2867 | |
2868 2005-02-13 David Bateman <dbateman@free.fr> | |
2869 | |
2870 * CSparse.cc (SparseComplexMatrix:dsolve, SparseComplexMatrix:utsolve, | |
2871 SparseComplexMatrix::ltsolve, SparseComplexMatrix::trisolve, | |
2872 SparseComplexMatrix::bsolve, SparseComplexMatrix:fsolve): Split sparse | |
2873 solver into separate functions for the diagonal, upper, lower | |
2874 triangular, tridiagonal, banded and full cases. | |
2875 (SparseComplexMatrix::solve): rewrite to call the above function. One | |
2876 version that probes the matrix type and another that assumes the type | |
2877 is passed. | |
2878 | |
2879 * dSparse.cc (SparseMatrix:dsolve, SparseMatrix:utsolve, | |
2880 SparseMatrix::ltsolve, SparseMatrix::trisolve, | |
2881 SparseMatrix::bsolve, SparseMatrix:fsolve): Likewise | |
2882 (SparseMatrix::solve): Likewise | |
2883 | |
2884 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
2885 Declaration of new functions | |
2886 * dSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
2887 Likewise | |
2888 | |
2889 * CSparse.cc (operator !): Reverse the sense of the test. | |
2890 * dSpase.cc (operator !): Likewise | |
2891 | |
2892 * dSparse.h (type, band_size, is_dense, triangular_row_perm, | |
2893 triangular_col_perm, sparse_info): Remove matrix type code | |
2894 * CSparse.h (type, band_size, is_dense, triangular_row_perm, | |
2895 triangular_col_perm, sparse_info): Likewise | |
2896 * boolSparse.h (type, band_size, is_dense, triangular_row_perm, | |
2897 triangular_col_perm, sparse_info): Likewise | |
2898 * MSparse.h (type, band_size, is_dense, triangular_row_perm, | |
2899 triangular_col_perm, sparse_info): Likewise | |
2900 * Sparse.h (type, band_size, is_dense, triangular_row_perm, | |
2901 triangular_col_perm, sparse_info, matrix_type): Likewise | |
2902 | |
2903 * Sparse.cc (type, sparse_info, band_size): Remove type code | |
2904 | |
2905 * SparseType.h: New class for the matrix type used in solvers | |
2906 * SparseType.cc: methods of sparse matrix type class | |
2907 | |
2908 * Makefile.in: Add SparseType.cc | |
2909 | |
2910 2005-02-01 David Bateman <dbateman@free.fr> | |
2911 | |
2912 * UMFPACK: Update to version 4.4 | |
2913 * UMFPACK.patch: Version 4.4 contains most of the previous patch. Only | |
2914 keep octave specific test files | |
2915 | |
2916 2005-01-23 David Bateman <dbateman@free.fr> | |
2917 | |
2918 * dSparse.cc (SparseMatrix::solve): Include tridiagonal, cholesky | |
2919 tridiagonal and banded cholesky solvers. Remove calculation of | |
2920 condition number for banded solvers. | |
2921 * CSparse.cc (SparseComplexMatrix::solve): ditto. | |
2922 | |
2923 * Sparse.h (int type (int) const, bool is_dense (void) const): | |
2924 new functions. | |
2925 * MSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
2926 * dSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
2927 * CSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
2928 * boolSparse.h (int type (int) const, bool is_dense (void) const): | |
2929 ditto | |
2930 | |
2931 * Sparse.cc (int Sparse<T>::type (int) const, | |
2932 bool Sparse<T>::is_dense (void) const): New functions definition | |
2933 | |
2934 * Sparse.h (matrix_type typ): Move caching of matrix type to SparseRep, | |
2935 so it actually is cached, but disable | |
2936 | |
2937 * oct-spparms.cc (SparseParams::init_keys): Change spmoni to spumoni | |
2938 for compatiability | |
2939 | |
2940 2005-01-18 David Bateman <dbateman@free.fr> | |
2941 | |
2942 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
2943 Modify calculation of number elements to skip between copied blocks. | |
2944 | |
2945 2005-01-07 David Bateman <dbateman@free.fr> | |
2946 | |
2947 * Sparse.h : Reverse definitions of numel and nelem. | |
2948 * Sparse.cc (assign1): Use numel and not nelem | |
2949 * Sparse-op-def.h: Replace all uses of nelem with numel | |
2950 | |
2951 2005-01-07 David Bateman <dbateman@free.fr> | |
2952 | |
2953 * dbleDET.h: Make SparseMatrix a friend of the class DET | |
2954 * CmplexDET.h: Make SparseComplexMatrix a friend of the class | |
2955 ComplexDET | |
2956 * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET | |
2957 by DET | |
2958 * dSparse.h (determinant): ditto | |
2959 * CSparse.cc (SparseComplexMatrix::determinant): Replace use of | |
2960 SparseComplexDET by ComplexDET | |
2961 * CSparse.h (determinant): ditto | |
2962 * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, | |
2963 SparseCmplxDET.cc: delete files | |
2964 * Makefile.in: Delete reference to SparsedbleDET.h, SparsedbleDET.cc, | |
2965 SparseCmplxDET.h andSparseCmplxDET.cc. | |
2966 | |
2967 * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in | |
2968 local variable to avoid variable shadowing. | |
2969 * dSparse.cc (SparseMatrix::solve): ditto. | |
2970 | |
2971 * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc | |
2972 dSparse.h MSparse.cc MSparse-C.cc MSparse-d.cc MSparse-defs.h | |
2973 MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc | |
2974 Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc | |
2975 SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc | |
2976 sparse-sort.h: Remove additional licensing clause with authors | |
2977 permission. | |
2978 | |
2979 2004-12-30 John W. Eaton <jwe@octave.org> | |
2980 | |
2981 * MSparse.cc (SPARSE_A2S_OP_2, SPARSE_SA2_OP_2): | |
2982 Loop counter is int, not size_t. | |
2983 | |
2984 * oct-spparms.cc (SparseParams::operator =): Return *this. | |
2985 | |
2986 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Delete unused variable tmpval. | |
2987 | |
2988 * dSparse.cc (operator << (ostream&, const SparseMatrix&), atan2): | |
2989 Delete unused variables. | |
2990 (SparseMatrix::solve): Avoid warnings about uninitialized | |
2991 variables and variables that might be clobbered by longjmp. | |
2992 | |
2993 * CSparse.cc (operator << (ostream&, const SparseComplexMatrix&), | |
2994 min, max): Delete unused variables. | |
2995 (SparseComplexMatrix::solve): Avoid warnings about uninitialized | |
2996 variables and variables that might be clobbered by longjmp. | |
2997 | |
2998 * Makefile.in (UMFPACK_SPECIAL): Include .d files in the list. | |
2999 | |
3000 * Sparse-op-defs.h (SPARSE_SMS_BIN_OP_2, SPARSE_SSM_BIN_OP_2): | |
3001 Loop counter is int, not size_t. | |
3002 | |
3003 * CSparse.cc (SparseComplexMatrix::hermitian): Avoid shadow warnings. | |
3004 * Sparse.cc (Sparse<T>::Sparse, Sparse<T>::type, assign): Likewise. | |
3005 | |
3006 * Sparse.h (Sparse::SparseRep): Order data members and initializer | |
3007 lists consistently. | |
3008 | |
3009 * mx-base.h: Include boolSparse.h, dSparse.h, and CSparse.h. | |
3010 | |
3011 2004-12-29 John W. Eaton <jwe@octave.org> | |
3012 | |
3013 * COLAMD.files (COLAMD_EXTRAS): New variable. | |
3014 * UMFPACK.files (UMFPACK_EXTRAS): New variable. | |
3015 * Makefile.in (DISTFILES): Add $(COLAMD_EXTRAS) and | |
3016 $(UMFPACK_EXTRAS) to the list. | |
3017 (DISTDIRS): New variable. | |
3018 (dist): Handle $(DISTDIRS). | |
3019 | |
3020 Merge of sparse code from David Bateman <dbateman@free.fr> and | |
3021 Andy Adler <adler@site.uottawa.ca>. | |
3022 | |
3023 * Makefile.in (VPATH): ADD @srcdir@/COLAMD to the list. | |
3024 | |
3025 * Makefile.in (MAKEDEPS): Include $(COLAMD_SRC) and $(UMFPACK_SRC) | |
3026 without directory prefix. | |
3027 | |
3028 * Makefile.in (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJ) and | |
3029 $(UMFPACK_OBJ) to the list. | |
3030 | |
3031 * COLAMD: New directory. | |
3032 * COLAMD.files: New file. | |
3033 * Makefile.in: Include COLAMD.files. | |
3034 (SOURCES): Add $(COLAMD_SOURCES) to the list. | |
3035 (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJECTS) to the list. | |
3036 (INCLUDES): Add $(COLAMD_INCLUDES) to the list. | |
3037 | |
3038 * UMFPACK: New directory. | |
3039 * UMFPACK.patch, UMFPACK.README, UMFPACK.files, UMFPACK.rules: | |
3040 New files. | |
3041 * Makefile.in: Include UMFPACK.files and UMFPACK.rules. | |
3042 (SOURCES): Add $(UMFPACK_SOURCES) to the list. | |
3043 (LIBOCTAVE_OBJECTS): Add $(UMFPACK_OBJECTS) to the list. | |
3044 (INCLUDES): Add $(UMFPACK_INCLUDES) to the list. | |
3045 | |
3046 * Makefile.in (SPARSE_MX_OP_INC): New variable. | |
3047 (INCLUDES): Add it to the list. | |
3048 (SPARSE_MX_OP_SRC): New variable. | |
3049 (LIBOCTAVE_CXX_SOURCES): Add it to the list. | |
3050 (distclean): Remove $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
3051 (stamp-prereq): Depend on $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
3052 | |
3053 * sparse-mk-ops.awk, sparse-mx-ops: New files. | |
3054 * Makefile.in (DISTFILES): Add them to the lists. | |
3055 | |
3056 * oct-spparms.h, sparse-sort.h: New files. | |
3057 * Makefile.in (INCLUDES): Add them to the list. | |
3058 | |
3059 * oct-spparms.cc, sparse-sort.cc: New files. | |
3060 * Makefile.in (LIBOCTAVE_CXX_SOURCES): Add them to the list. | |
3061 | |
3062 * sparse-base-lu.cc: New file. | |
3063 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
3064 | |
3065 * boolSparse.cc, CSparse.cc, dSparse.cc, MSparse.cc, Sparse.cc, | |
3066 SparseCmplxDET.cc, SparseCmplxLU.cc, SparsedbleDET.cc, | |
3067 SparsedbleLU.cc: New files. | |
3068 * Makefile.in (MATRIX_SRC): Add them to the list. | |
3069 | |
3070 * boolSparse.h, CSparse.h, dSparse.h, MSparse-defs.h, MSparse.h, | |
3071 Sparse.h, oct-spparms.h, sparse-base-lu.h, SparseCmplxDET.h, | |
3072 SparseCmplxLU.h, SparsedbleDET.h, SparsedbleLU.h, | |
3073 Sparse-op-defs.h: New files. | |
3074 * Makefile.in (MATRIX_INC): Add them to the appropriate lists. | |
3075 | |
3076 * MSparse-d.cc, MSparse-C.cc, Sparse-b.cc, Sparse-d.cc, | |
3077 Sparse-C.cc: New files. | |
3078 * Makefile.in (TI_SRC): Add them to the list. | |
3079 | |
5149 | 3080 2005-02-18 John W. Eaton <jwe@octave.org> |
3081 | |
3082 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_RESOLVEPATH]: | |
3083 Pass current directory to octave_env::make_absolute. | |
3084 Save value returned from octave_env::make_absolute in local var. | |
3085 Pass const char*, not std::string as first arg of resolvepath. | |
3086 Provide decl for resolved_len. | |
3087 | |
5148 | 3088 2005-02-18 John W. Eaton <jwe@octave.org> |
3089 | |
3090 * Array.cc (Array<T>::permute): Allow permutation vector longer | |
3091 than number of dimenensions of permuted matrix. | |
3092 | |
3093 * Array.cc (Array<T>::permute): Use zero-based indexing for perm_vec. | |
3094 * Array-util.cc (calc_permutated_idx): Likewise. | |
3095 | |
5139 | 3096 2005-02-10 David Bateman <dbateman@free.fr> |
3097 | |
3098 * CNDArray.cc (ComplexNDarray::operator !): Change sense of test. | |
3099 * CMatrix.cc (ComplexMatrix::operator !): Likewise. | |
3100 | |
5137 | 3101 2005-02-09 John W. Eaton <jwe@octave.org> |
3102 | |
5138 | 3103 * file-ops.cc (file_ops::canonicalize_file_name): New functions. |
3104 * file-ops.h: Provide decls. | |
3105 | |
5137 | 3106 * kpse.cc (kpse_tilde_expand): Simply return NAME if it is empty. |
3107 | |
5136 | 3108 2005-02-08 John W. Eaton <jwe@octave.org> |
3109 | |
3110 * Array-util.cc (freeze): Improve error message. | |
3111 | |
5120 | 3112 2005-01-26 David Bateman <dbateman@free.fr> |
3113 | |
5121 | 3114 * Array.cc (Array<T>::insert): Handle generic case, not just |
3115 special case for fast concatenation. | |
5120 | 3116 |
5110 | 3117 2005-01-18 John W. Eaton <jwe@octave.org> |
3118 | |
3119 * mx-inlines.cc (MX_ND_REDUCTION): Delete RET_ELT_TYPE arg. | |
3120 Change all uses. Use VAL instead of RET_ELT_TYPE when resizing. | |
3121 | |
3122 * dNDArray.cc (NDArray::any): NaN does not count as a nonzero value. | |
3123 * CNDArray.cc (ComplexNDArray::any): Likewise. | |
3124 | |
5108 | 3125 2005-01-18 David Bateman <dbateman@free.fr> |
3126 | |
3127 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
3128 Modify calculation of number elements to skip between copied blocks. | |
3129 | |
3130 2005-01-18 John W. Eaton <jwe@octave.org> | |
3131 | |
3132 * idx-vector.cc (IDX_VEC_REP::freeze): Call warning handler, not | |
3133 error handler, to warn about resizing. | |
3134 | |
5105 | 3135 2004-12-27 Martin Dalecki <martin@dalecki.de> |
3136 | |
3137 * Array.cc, ArrayN.cc, base-lu.cc, boolMatrix.cc, boolNDArray.cc, | |
3138 Bounds.cc, CColVector.cc, CDiagMatrix.cc, chMatrix.cc, | |
3139 chNDArray.cc, CMatrix.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, | |
3140 CmplxDET.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
3141 CmplxSCHUR.cc, CmplxSVD.cc, CNDArray.cc, CollocWt.cc, | |
3142 CRowVector.cc, DASPK.cc, DASRT.cc, DASSL.cc, dbleAEPBAL.cc, | |
3143 dbleCHOL.cc, dbleDET.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, | |
3144 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, dColVector.cc, | |
3145 dDiagMatrix.cc, DiagArray2.cc, dMatrix.cc, dNDArray.cc, | |
3146 dRowVector.cc, EIG.cc, FEGrid.cc, idx-vector.cc, int16NDArray.cc, | |
3147 int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, intNDArray.cc, | |
3148 LinConst.cc, LPsolve.cc, LSODE.cc, MArray2.cc, MArray.cc, | |
3149 MArrayN.cc, MDiagArray2.cc, NLEqn.cc, oct-alloc.cc, ODES.cc, | |
3150 ODESSA.cc, Quad.cc, Range.cc, so-array.cc, uint16NDArray.cc, | |
3151 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: | |
3152 Delete #pragma implementation. | |
3153 | |
3154 * Array2.h, Array3.h, Array.h, ArrayN.h, base-lu.h, boolMatrix.h, | |
3155 boolNDArray.h, Bounds.h, CColVector.h, CDiagMatrix.h, chMatrix.h, | |
3156 chNDArray.h, CMatrix.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, | |
3157 CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, | |
3158 CmplxSVD.h, CNDArray.h, CollocWt.h, CRowVector.h, DASPK.h, | |
3159 DASRT.h, DASSL.h, dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, | |
3160 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, | |
3161 dColVector.h, dDiagMatrix.h, DiagArray2.h, dim-vector.h, | |
3162 dMatrix.h, dNDArray.h, dRowVector.h, EIG.h, FEGrid.h, | |
3163 idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
3164 int8NDArray.h, intNDArray.h, LinConst.h, LPsolve.h, LSODE.h, | |
3165 MArray2.h, MArray.h, MArrayN.h, MDiagArray2.h, NLConst.h, NLEqn.h, | |
3166 ODES.h, ODESSA.h, Quad.h, Range.h, so-array.h, uint16NDArray.h, | |
3167 uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: | |
3168 Delete #pragma interface. | |
3169 | |
5098 | 3170 2004-12-17 John W. Eaton <jwe@octave.org> |
3171 | |
3172 * lo-cieee.c (lo_ieee_signbit): New function. | |
3173 * lo-ieee.h: Provide decl. | |
3174 Don't define lo_ieee_signbit as a macro here. | |
3175 From Orion Poplawski <orion@cora.nwra.com>. | |
3176 | |
5085 | 3177 2004-11-18 John W. Eaton <jwe@octave.org> |
3178 | |
3179 * int32NDArray.cc (pow): Delete instantiation. | |
3180 * int16NDArray.cc (pow): Likewise. | |
3181 * int8NDArray.cc (pow): Likewise. | |
3182 * uint32NDArray.cc (pow): Likewise. | |
3183 * uint16NDArray.cc (pow): Likewise. | |
3184 * uint8NDArray.cc (pow): Likewise. | |
3185 | |
5081 | 3186 2004-11-17 John W. Eaton <jwe@octave.org> |
3187 | |
5085 | 3188 * kpse.cc (str_llist_float, str_llist_add, kpse_var_expand): |
3189 Now static. | |
3190 (DB_ENVS, DB_HASH_SIZE, DB_NAME, ALIAS_NAME, ALIAS_HASH_SIZE, | |
3191 DEFAULT_TEXMFDBS): Delete unused macros. | |
3192 | |
5081 | 3193 * Array.cc (Array<T>::index): Call generic N-d indexing function |
3194 if idx_arg is N-d. | |
3195 | |
5073 | 3196 2004-11-09 David Bateman <dbateman@free.fr> |
3197 | |
3198 * dNDArray.cc (concat): Delete. | |
3199 (NDArray::concat): New methods. | |
3200 * dNDArray.h: Provide decls. | |
3201 | |
3202 * CNDArray.cc (concat): Delete. | |
3203 (ComplexNDArray::concat): New methods. | |
3204 * CNDArray.h: Provide decls. | |
3205 | |
3206 * boolNDArray.cc (concat): Delete. | |
3207 (boolNDArray::concat): New methods. | |
3208 * boolNDArray.h: Provide decls. | |
3209 | |
3210 * chNDArray.cc (concat): Delete. | |
3211 (charNDArray::concat): New methods. | |
3212 * chNDArray.h: Provide decls. | |
3213 | |
3214 * oct-inttypes.h (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): | |
3215 Delete macros. | |
3216 | |
3217 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
3218 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
3219 (OCTAVE_INT_CONCAT_DECL): Delete use of macro. | |
3220 | |
3221 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
3222 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
3223 (OCTAVE_INT_CONCAT_FN): Delete use of macro. | |
3224 | |
3225 * intNDArray.cc (intNDArray<T>::concat): New method. | |
3226 * intNDArray.h: Provide decl. | |
3227 | |
5072 | 3228 2004-11-08 John W. Eaton <jwe@octave.org> |
3229 | |
3230 * oct-inttypes.cc: New file. | |
3231 * Makefile.in (TI_SRC): Add it to the list. | |
3232 * oct-inttypes.h (OCTAVE_US_TYPE1_CMP_OP, OCTAVE_US_TYPE1_CMP_OPS, | |
3233 OCTAVE_SU_TYPE1_CMP_OP, OCTAVE_SU_TYPE1_CMP_OPS, | |
3234 OCTAVE_TYPE1_CMP_OPS, OCTAVE_US_TYPE2_CMP_OP, | |
3235 OCTAVE_US_TYPE2_CMP_OPS, OCTAVE_SU_TYPE2_CMP_OP, | |
3236 OCTAVE_SU_TYPE2_CMP_OPS, OCTAVE_TYPE2_CMP_OPS): | |
3237 New macros for comparison operations. Avoid potential | |
3238 problems with default conversions when comparing signed and | |
3239 unsigned values. | |
3240 | |
5061 | 3241 2004-11-03 John W. Eaton <jwe@octave.org> |
3242 | |
3243 * dMatrix.cc (Matrix::inverse): Return info == -1 for any failure. | |
3244 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
3245 | |
5052 | 3246 2004-10-19 John W. Eaton <jwe@octave.org> |
3247 | |
3248 * Array.cc (assignN): Avoid resizing if assignment will fail. | |
3249 | |
5047 | 3250 2004-10-18 John W. Eaton <jwe@octave.org> |
3251 | |
3252 * Array.cc (assign2): Save result of squeeze operation. | |
3253 Squeeze if ndims is > 2, not if length of RHS vector is > 2. | |
3254 | |
5095 | 3255 2004-10-11 David Bateman <dbateman@free.fr> |
5044 | 3256 |
3257 * oct-fftw.cc (class octave_fftw_planner): Add inplace[2] to | |
3258 flag whether transform in- or out-of-place. | |
3259 (octave_fftw_planner::octave_fftw_planner): Initialize it. | |
3260 (octave_fftw_planner::create_plan): Use it. | |
3261 | |
5039 | 3262 2004-09-24 John W. Eaton <jwe@octave.org> |
3263 | |
3264 * Array.cc (assign2, assignN): If index is empty, allow RHS to be | |
3265 any empty matrix, not just []. | |
3266 | |
5030 | 3267 2004-09-23 John W. Eaton <jwe@octave.org> |
3268 | |
3269 * mx-ops: Include scalar zero value in type definitions. | |
3270 Delete zero information from ops section. | |
3271 * mk-ops.awk: Use type-specific zero info. | |
3272 | |
3273 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, | |
3274 SND_BOOL_OP, NDND_BOOL_OP): Args now include zero values for both | |
3275 LHS and RHS. | |
3276 (MS_BOOL_OPS2, SM_BOOL_OPS2, MM_BOOL_OPS2, NDS_BOOL_OPS2, | |
3277 SND_BOOL_OPS2, NDND_BOOL_OPS2): New macros. | |
3278 (MS_BOOL_OPS, SM_BOOL_OPS, MM_BOOL_OPS, NDS_BOOL_OPS, | |
3279 SND_BOOL_OPS, NDND_BOOL_OPS): Define in terms of 2-zero versions. | |
3280 | |
3281 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const | |
3282 intNDArray<U>&)): Use explicit as_double () conversion in call to | |
3283 tree_to_mat_idx. | |
3284 | |
3285 * oct-inttypes.h (octave_int<T>::operator float): New conversion. | |
3286 (pow): Instead of "if (b_val)", use "if (b_val != zero)". | |
3287 Likewise for the "if (b_val & one)" test. | |
3288 (operator <<, operator >>): Type of retval is octave_int<T1>, not T1. | |
3289 | |
5029 | 3290 2004-09-23 David Bateman <dbateman@free.fr> |
3291 | |
3292 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): | |
3293 New macros. Use them to define mixed intX-double and double-intX ops. | |
3294 | |
5021 | 3295 2004-09-22 Federico Zenith <zenith@chemeng.ntnu.no> |
3296 | |
3297 * DASPK-opts.in, DASRT-opts.in, ODESSA-opts.in: | |
3298 Fix doc string layout to avoid overfull hbox in printed output. | |
3299 | |
5015 | 3300 2004-09-21 John W. Eaton <jwe@octave.org> |
3301 | |
3302 * mach-info.h (octave_mach_info::flt_fmt_native): Delete. | |
3303 * mach-info.cc (octave_mach_info::string_to_float_format): | |
3304 For "native", set actual native format. | |
3305 (octave_mach_info::float_format_as_string): Delete flt_fmt_native case. | |
3306 | |
5008 | 3307 2004-09-17 David Bateman <dbateman@free.fr> |
3308 | |
3309 * CmplxSCHUR.cc (CmplxSCHUR::init): New arg, calc_unitary to make the | |
3310 calculation of the unitary matrix optional. | |
3311 * dbleSCHUR.cc (SCHUR::init): Ditto. | |
3312 * CmplxSCHUR.h, dbleSCHUR.h: Update decls. | |
3313 | |
4998 | 3314 2004-09-15 David Bateman <dbateman@free.fr> |
3315 | |
3316 * oct-sort.h (octave_sort<T>::set_compare (bool (*comp) (T, T))): | |
3317 New function to set the comparison function for the sort. | |
3318 | |
4985 | 3319 2004-09-10 John W. Eaton <jwe@octave.org> |
3320 | |
3321 * lo-mappers.cc (xround): Fix typo. | |
3322 | |
4979 | 3323 2004-09-08 John W. Eaton <jwe@octave.org> |
3324 | |
3325 * Array.h (Array::~Array): Declare virtual. | |
3326 | |
3327 * idx-vector.h (idx_vector::idx_vector): Initialize rep in member | |
3328 initializaion list. Don't set rep->count since the rep | |
3329 constructor does that. | |
3330 | |
4968 | 3331 2004-09-07 John W. Eaton <jwe@octave.org> |
3332 | |
4970 | 3333 * data-conv.cc (oct_data_conv::string_to_data_type): Handle dt_logical. |
3334 (oct_data_conv::data_type_as_string): Likewise. | |
3335 | |
3336 * data-conv.h (oct_data_conv::data_type): Add dt_logical to list. | |
3337 | |
4968 | 3338 * Range.cc (round): Delete unused function. |
3339 | |
3340 * lo-mappers.cc (xround): Rename from round. Change all uses. | |
3341 If HAVE_ROUND, call round, otherwise fake with floor and ceil. | |
3342 | |
3343 * oct-inttypes.h: Include <cmath> here. | |
3344 | |
4964 | 3345 2004-09-03 David Bateman <dbateman@free.fr> |
3346 | |
3347 * boolNDArray.cc (boolNDArray::concat, boolNDArray::insert): | |
3348 New functions for boolean matrix concatenation. | |
3349 * boolNDArray.h: Provide decls. | |
3350 | |
4963 | 3351 2004-09-03 John W. Eaton <jwe@octave.org> |
3352 | |
4964 | 3353 * oct-inttpes.h (OCTAVE_INT_CMP_OP): Convert operarands to double |
3354 to avoid signed/unsigned int comparison problems. | |
3355 | |
3356 * mx-ops: Generate CMP and BOOL ops for mixed integer types and | |
3357 for mixed integer and double types. | |
3358 | |
3359 * mk-ops.awk: Output BIN_OP_DECLS, CMP_OP_DECLS, and BOOL_OP_DECLS | |
3360 separately, and only if needed. | |
3361 | |
4963 | 3362 * oct-inttypes.h (octave_fit_to_range): Use constructor instead of |
3363 static_cast for type conversion. | |
3364 | |
4953 | 3365 2004-09-01 John W. Eaton <jwe@octave.org> |
3366 | |
3367 * oct-inttypes.h (pow, operator +, operator -, operator *, | |
3368 operator /): Handle mixed integer/double ops. If op generates a | |
3369 NaN, set result to 0. | |
3370 (octave_int::operator - (void)): Convert to double, then negate, | |
3371 then fit to range. | |
3372 | |
3373 * mx-ops: Define integer types. Include declarations for mixed | |
3374 integer/double ops. | |
3375 | |
4952 | 3376 2004-08-31 John W. Eaton <jwe@octave.org> |
3377 | |
3378 * oct-inttypes.h (pow): Args now const reference. | |
3379 (octave_int<T>::operator *=, octave_int<T>::operator /=, | |
3380 octave_int<T>::operator <<=, octave_int<T>::operator >>=): | |
3381 New member functions. | |
3382 (OCTAVE_INT_BITSHIFT_OP): Delete macro. | |
3383 (operator >> (const octave_int<T1>& x, const T2& y)): | |
3384 Define in terms of >>=. | |
3385 (operator << (const octave_int<T1>& x, const T2& y)): | |
3386 Define in terms of <<=. | |
3387 (bitshift): Operate on octave_int<T> objects, not the values, so | |
3388 we get proper saturation properties. | |
3389 | |
3390 2004-08-31 David Bateman <dbateman@free.fr> | |
3391 | |
3392 * oct-inttypes.h (pow (constT, T)): New template. | |
3393 | |
3394 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, | |
3395 uint16NDArray.cc, uint32NDArray.cc: Instantiate power function. | |
3396 | |
4949 | 3397 2004-08-31 John W. Eaton <jwe@octave.org> |
3398 | |
3399 * oct-inttypes.h (octave_int::byte_size): New function. | |
3400 | |
4944 | 3401 2004-08-31 John W. Eaton <jwe@octave.org> |
3402 | |
4946 | 3403 * Makefile.in (EXTRAS): Add intNDArray.cc to the list. |
3404 | |
4944 | 3405 * data-conv.h (oct_data_conv::data_type): Include sized types. |
3406 Explicitly number enum elements. | |
3407 | |
3408 * data-conv.cc (oct_data_conv::string_to_data_type (const | |
3409 std::string&, int&, oct_data_conv::data_type&, | |
3410 oct_data_conv::data_type&)): New function. | |
3411 (oct_data_conv::string_to_data_type (const std::string&, int&, | |
3412 oct_data_conv::data_type&)): New function. | |
3413 (oct_data_conv::data_type_as_string): New function. | |
3414 | |
3415 * dMatrix.cc (read_int, do_read, Matrix::read): Delete. | |
3416 (write_int, do_write, Matrix::write): Delete. | |
3417 * dMatrix.h (Matrix::read, Matrix::write): Delete decls. | |
3418 | |
3419 * byte-swap.h: Use template functions and specialization. | |
3420 Change all uses. | |
3421 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
3422 | |
4943 | 3423 2004-08-30 John W. Eaton <jwe@octave.org> |
3424 | |
3425 * oct-inttypes.h (octave_int_fit_to_range): Use template | |
3426 specializations to avoid warnings about signed/unsigned comparisons. | |
3427 | |
3428 2004-08-28 John W. Eaton <jwe@octave.org> | |
3429 | |
3430 * data-conv.cc (do_float_format_conversion (unsigned char *, | |
3431 size_t, int, oct_mach_info::float_format)): New function. | |
3432 (GET_SIZED_INT_TYPE): New macro. | |
3433 (string_to_data_type): Use it to return sized types corresponding | |
3434 to Octave array data types. | |
3435 (strip_spaces): New function. | |
3436 (do_double_format_conversion, do_float_format_conversion): Pass | |
3437 from_fmt and to_fmt. Don't always assume the to_fmt is the native | |
3438 float format. | |
3439 (do_double_format_conversion, | |
3440 IEEE_big_double_to_IEEE_little_double, | |
3441 VAX_D_double_to_IEEE_little_double, | |
3442 VAX_G_double_to_IEEE_little_double, Cray_to_IEEE_little_double, | |
3443 IEEE_little_double_to_IEEE_big_double, | |
3444 VAX_D_double_to_IEEE_big_double, VAX_G_double_to_IEEE_big_double, | |
3445 Cray_to_IEEE_big_double, IEEE_little_double_to_VAX_D_double, | |
3446 IEEE_big_double_to_VAX_D_double, VAX_G_double_to_VAX_D_double, | |
3447 Cray_to_VAX_D_double, IEEE_little_double_to_VAX_G_double, | |
3448 IEEE_big_double_to_VAX_G_double, VAX_D_double_to_VAX_G_double, | |
3449 Cray_to_VAX_G_double): | |
3450 Pass data as void*, not double*. | |
3451 (do_float_format_conversion, IEEE_big_float_to_IEEE_little_float, | |
3452 VAX_D_float_to_IEEE_little_float, | |
3453 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, | |
3454 IEEE_little_float_to_IEEE_big_float, | |
3455 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, | |
3456 Cray_to_IEEE_big_float, IEEE_little_float_to_VAX_D_float, | |
3457 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, | |
3458 Cray_to_VAX_D_float, IEEE_little_float_to_VAX_G_float, | |
3459 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, | |
3460 Cray_to_VAX_G_float): | |
3461 Pass data as void*, not float*. | |
3462 | |
3463 2004-08-27 John W. Eaton <jwe@octave.org> | |
3464 | |
3465 * byte-swap.h (swap_bytes): New template versions, with | |
3466 specializations. | |
3467 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
3468 Change all uses. | |
3469 | |
4940 | 3470 2004-08-24 David Bateman <dbateman@free.fr> |
3471 | |
3472 * chNDArray.cc (concat): Check whether matrix to be inserted is | |
3473 empty instead of checking final matrix. | |
3474 * dNDArray.cc (concat): Likewise. | |
3475 * CNDArray.cc (concat): Likewise. | |
3476 | |
3477 2004-08-23 David Bateman <dbateman@free.fr> | |
3478 | |
3479 * dim-vector.h (dim_vector::concat): Correct incrementation for | |
3480 non-existent dimensions. | |
3481 | |
4938 | 3482 2004-08-09 John W. Eaton <jwe@octave.org> |
3483 | |
3484 * idx-vector.h (idx_vector::idx_vector_rep::tree_to_mat_idx | |
3485 (const octave_int<U>&)): New member function. | |
3486 (idx_vector::idx_vector_rep::tree_to_mat_idx (double, bool&), | |
3487 idx_vector::idx_vector_rep::tree_to_mat_idx (int)): | |
3488 Now member functions instead of static in idx-vector.cc. | |
3489 (idx_vector::idx_vector_rep::idx_vector_rep (const octave_int<U>&), | |
3490 idx_vector::idx_vector_rep::idx_vector_rep (const intNDArray<U>&)): | |
3491 New template constructors. | |
3492 | |
4932 | 3493 2004-08-05 John W. Eaton <jwe@octave.org> |
3494 | |
4933 | 3495 * EIG.cc (EIG::init): Add volatile qualifier to nvr decl. |
3496 | |
4932 | 3497 * intNDArray.cc (intNDArray<T>::operator !, intNDArray<T>::all, |
3498 intNDArray<T>::any): Sprinkle with this-> as needed. | |
3499 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): Likewise. | |
3500 | |
4929 | 3501 2004-08-03 John W. Eaton <jwe@octave.org> |
3502 | |
3503 * Array.cc (Array<T>::squeeze): Do nothing for 2-d arrays. For | |
3504 arrays with more than two dimensions and only one non-singleton | |
3505 dimension, return a column vector. | |
3506 | |
4921 | 3507 2004-07-28 John W. Eaton <jwe@octave.org> |
3508 | |
3509 * oct-cmplx.h (pow (const Complex&, const double&): | |
3510 Convert second arg to complex to avoid libstdc++ bug. | |
3511 | |
4920 | 3512 2004-07-27 John W. Eaton <jwe@octave.org> |
3513 | |
3514 * oct-inttypes.h (bitshift): New arg, MASK. | |
3515 (OCTAVE_INT_BITSHIFT_OP): Bitshift does not saturate. | |
3516 | |
4916 | 3517 2004-07-23 John W. Eaton <jwe@octave.org> |
3518 | |
3519 * Array.cc (Array<T>::reshape): Return *this if no change in size. | |
3520 | |
4915 | 3521 2004-07-23 David Bateman <dbateman@free.fr> |
3522 | |
3523 * Array.cc, Array.h (cat_ra): Delete. | |
3524 * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc | |
3525 (INSTANTIATE_ARRAY_CAT): Delete. | |
3526 | |
3527 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
3528 chNDArray.h, intNDArray.cc, intNDArray.h (cat): Delete. | |
3529 | |
3530 * Array.cc (Array<T>::insert): Copy data in NDArray version. | |
3531 | |
3532 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
3533 chNDArray.h (concat): New function used for concatenation that does | |
3534 an indexed copy of one array into another. | |
3535 | |
3536 * dim-vector.h (concat): New function to concatenate dim_vectors. | |
3537 | |
3538 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
3539 chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for | |
3540 insertion of one NDArray into another. | |
3541 | |
3542 * oct-inttype.cc (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): New | |
3543 macros to define the int/uint concatenation functions. | |
3544 | |
3545 * uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
3546 int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc | |
3547 (OCTAVE_INT_CONCAT_FN): Instantiate the concatenation function . | |
3548 | |
3549 * uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
3550 int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h | |
3551 (OCTAVE_INT_CONCAT_DECL): Declare the int/uint concatentaion | |
3552 functions. | |
3553 | |
4911 | 3554 2004-07-22 David Bateman <dbateman@free.fr> |
3555 | |
3556 * oct-sort.h: Don't include oct-obj.h. | |
3557 | |
3558 * lo-specfun.cc (is_integer_value): New function. | |
3559 (zbesj, zbesi, zbesy): Special case negative integer or half | |
3560 integer orders that cause overflow for small arguments. | |
3561 | |
4909 | 3562 2004-07-12 John W. Eaton <jwe@octave.org> |
3563 | |
3564 * oct-inttypes.h (octave_int<T>::nbits): New function. | |
3565 (bitshift (const octave_int<T>&, int)): New function. | |
3566 | |
4902 | 3567 2004-06-14 John W. Eaton <jwe@octave.org> |
3568 | |
3569 * mx-base.h: Include headers for new int types. | |
3570 | |
3571 * dNDArray.h, dNDArray.cc (NDArray::NDArray (const boolNDArray&), | |
3572 NDArray::NDArray (const charNDArray&)): Delete. | |
3573 (template <class U> explicit NDArray (const intNDArray<U>&)): New | |
3574 constructor. | |
3575 (NDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
3576 | |
3577 * chMatrix.h (CharMatrix::transpose): New forwarding functions for | |
3578 return type conversion. | |
3579 | |
3580 * ComplexNDArray.h, ComplexNDArray.cc | |
3581 (ComplexNDArray::ComplexNDArray (const ArrayN<Complex>&), | |
3582 (ComplexNDArray::ComplexNDArray (const NDArray&), | |
3583 (ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
3584 (ComplexNDArray::ComplexNDArray (const charNDArray&)): Delete. | |
3585 | |
3586 (ComplexNDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
3587 | |
3588 * MArrayN.h: | |
3589 (template <class U> explicit MArrayN<T>::MArrayN (const Array2<U>&), | |
3590 (template <class U> MArrayN<T>::MArrayN (const ArrayN<U>&), | |
3591 (template <class U> explicit MArrayN<T>::MArrayN (const MArray<U>&)): | |
3592 New constructors. | |
3593 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
3594 ArrayN<T>::squeeze): | |
3595 New forwarding functions for return type conversion. | |
3596 | |
3597 * ArrayN.h: | |
3598 (template <class U> explicit ArrayN<T>::ArrayN (const Array2<U>&), | |
3599 (template <class U> explicit ArrayN<T>::ArrayN (const ArrayN<U>&), | |
3600 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&), | |
3601 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&, | |
3602 const dim_vector&)): New constructors. | |
3603 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
3604 ArrayN<T>::transpose): | |
3605 New forwarding functions for return type conversion. | |
3606 | |
3607 * Array.h (template <class U> Array<T>::Array (const Array<U>&)): | |
3608 New constructor. | |
3609 (Array<T>::coerce, Array<T>::byte_size): New functions. | |
3610 | |
3611 * Array-i.cc, MArray-i.cc: Instantiate new integer types. | |
3612 | |
3613 * oct-inttypes.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
3614 int8NDArray.h , intNDArray.h, uint16NDArray.h, uint32NDArray.h, | |
3615 uint64NDArray.h, uint8NDArray.h, int16NDArray.cc, int32NDArray.cc, | |
3616 int64NDArray.cc, int8NDArray.cc, intNDArray.cc, uint16NDArray.cc, | |
3617 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: New files. | |
3618 * Makefile.in: Add them to the appropriate lists. | |
3619 | |
4899 | 3620 2004-06-04 John W. Eaton <jwe@octave.org> |
3621 | |
3622 * mx-inlines.cc (MX_ND_REDUCTION): New arg, RET_ELT_TYPE. Use | |
3623 "RET_ELT_TYPE ()" rather than "false" as fill value for retval | |
3624 resize op. Change all uses. | |
3625 | |
4898 | 3626 2004-06-03 David Bateman <dbateman@free.fr> |
3627 | |
3628 * Array.cc (assignN): Allow magic colon for dimensions lvalue | |
3629 greater than the existing number of dimensions in lvalue. | |
3630 | |
4887 | 3631 2004-04-30 David Bateman <dbateman@free.fr> |
3632 | |
3633 * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): | |
3634 New arg, fill_value. | |
3635 (dim_vector::resize): Allow optional fill_value argument. | |
3636 | |
3637 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
3638 Don't chop trailing dimensions of Array<idx_vector> if there is | |
3639 more than one element in idx_vector. Resize the return value to | |
3640 the size of Array<idx_vector>. | |
3641 | |
3642 * Array-util.cc (short_freeze): Better freeze of last dimension of | |
3643 idx_vector that is shorter than a dim_vector. | |
3644 | |
4882 | 3645 2004-04-23 John W. Eaton <jwe@octave.org> |
3646 | |
3647 * oct-sort.cc: Don't include oct-obj.h. | |
3648 | |
4876 | 3649 2004-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
3650 | |
3651 * Array.cc (Array<T>::index2, Array<T>::indexN): | |
3652 Don't set invalid dimensions on return value. | |
3653 | |
4871 | 3654 2004-04-21 John W. Eaton <jwe@octave.org> |
3655 | |
3656 * mx-inlines.cc (MX_ND_REDUCTION): Chop trailing singletons. | |
3657 | |
4850 | 3658 2004-04-06 David Bateman <dbateman@free.fr> |
3659 | |
4870 | 3660 * Array.cc (Array<T>::resize_no_fill (const dim_vector& dv), |
3661 Array<T>::resize_and_fill (const dim_vector& dv, const T& val)): | |
3662 Make their behavior equivalent except for filling vs. not filling. | |
3663 | |
4850 | 3664 * oct-sort.cc: New template class for arbitrary sorting. |
3665 * oct-sort.h: Declaration of sort class. | |
3666 * Makefile: Add them to the appropriate lists. | |
3667 | |
4845 | 3668 2004-04-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
3669 | |
3670 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Fix off-by-one error. | |
3671 | |
4844 | 3672 2004-04-02 David Bateman <dbateman@free.fr> |
3673 | |
3674 * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, | |
3675 besselh2, airy, biry, betainc, gammainc, do_bessel): | |
4852 | 3676 New N-d array versions. |
4844 | 3677 (SN_BESSEL, NS_BESSEL, NN_BESSEL): New macros. |
3678 * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, | |
3679 besselh2, airy, biry, betainc, gammainc): Provide decls. | |
3680 | |
3681 * dNDArray.cc (NDArray::min, NDArray::max, min, max): | |
3682 New functions. | |
3683 * dNDArray.h (NDArray::min, NDArray::max, min, max): Provide decls. | |
3684 | |
3685 * CNDArray.cc (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
3686 New functions. | |
3687 * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
3688 Provide decls. | |
3689 | |
4842 | 3690 2004-03-17 David Hoover <jazzdaq@yahoo.com> |
3691 | |
3692 * DASPK.cc (DASPK::do_integrate): Always add n*n elements to the | |
3693 work vector, not just when using a numerical Jacobian. | |
3694 | |
4834 | 3695 2004-03-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
3696 | |
4835 | 3697 * so-array.cc (SND_CMP_OP, NDS_CMP_OP, NDND_CMP_OP): |
3698 Omit empty result args. | |
3699 | |
4834 | 3700 * Array.cc (Array<T>::Array (const Array<T>&, const dim_vector&)): |
3701 Move here from Array.h, check that size of array arg is not | |
3702 smaller than the size defined by the new dimensions. | |
3703 | |
4832 | 3704 2004-03-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
3705 | |
3706 * Array.cc (Array<T>::index2): Allow result to be N-d if indexing | |
3707 a scalar or vector with an N-d array. | |
3708 | |
4826 | 3709 2004-03-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
3710 | |
4828 | 3711 * Array.cc (Array<T>::index2): If scalar or vector is indexed by |
3712 matrix, return object that is the same size as the index. | |
3713 | |
4826 | 3714 * mx-op-defs.h (NDND_CMP_OP, MM_CMP_OP): Require dimensions to agree. |
3715 Eliminate MT_RESULT args. Return value is always size of args. | |
3716 (MS_CMP_OP, SM_CMP_OP, NDS_CMP_OP, SND_CMP_OP): | |
3717 Eliminate EMPTY_RESULT arg. | |
3718 Return value is always size of matrix or N-d array arg. | |
3719 (TBM, FBM, NBM): Delete unused macros. | |
3720 | |
4821 | 3721 2004-03-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
3722 | |
3723 * Array.cc (Array<T>::maybe_delete_elements): Return immediately | |
3724 if all LHS dimensions are zero. For one index case, freeze and | |
3725 sort idx_vec before checking length, and do nothing if | |
3726 num_to_delete is zero. | |
4822 | 3727 (Array<T>::maybe_delete_elements_2): Omit Fortran-indexing warning. |
4821 | 3728 |
4816 | 3729 2004-03-04 David Bateman <dbateman@free.fr> |
3730 | |
3731 * dNDArray.cc (NDArray::ifourier): Arg is int, not const int. | |
3732 * CNDArray.cc (ComplexNDArray::ifourier): Likewise. | |
3733 | |
4811 | 3734 2004-03-03 Hans Ekkehard Plesser <hans.ekkehard.plesser@nlh.no> |
3735 | |
3736 * base-lu.cc (base_lu<>::L): Check bounds before setting diagonal | |
3737 element. | |
3738 | |
3739 2004-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> | |
3740 | |
3741 * Range.h (Range::Range): Add cache to member initialization list. | |
3742 (Range::clear_cache): New private function. | |
3743 | |
3744 * Range.h (Range::set_base, Range::set_limit, Range::set_inc): | |
3745 Use clear cache. Don't do anything if range does not change. | |
3746 * Range.cc (Range::sort): Likewise. | |
3747 | |
4810 | 3748 2004-03-02 Paul Kienzle <pkienzle@users.sf.net> |
3749 | |
3750 * Range.cc (Range::matrix_value): Cache result. | |
3751 (Range::sort): Clear cache. | |
3752 * Range.h (Range::cache): New data member. | |
3753 (Range::set_base, Range::set_limit, Range::set_inc): Clear cache. | |
3754 (Range::print_range): Delete. | |
4808 | 3755 |
3756 2004-03-02 David Bateman <dbateman@free.fr> | |
3757 | |
3758 * oct-fftw.cc: Only two versions of plan, and avoid endless | |
3759 changes between them. Faster for small fft's. | |
3760 (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): | |
3761 New member variables. | |
3762 (octave_fftw_planner::ialign, octave_fftw_planner::oalign, | |
3763 octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. | |
3764 Change all uses. | |
3765 (CHECK_SIMD_ALIGNMENT): New macro. | |
3766 (octave_fftw_planner::create_plan): Use it. | |
3767 | |
4806 | 3768 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> |
3769 | |
3770 * Array.cc (Array<T>::insertN): Eliminate N-d indexing. | |
3771 | |
3772 * mx-inlines.cc (MX_ND_CAT): Delete macro. | |
3773 | |
3774 * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. | |
3775 * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. | |
3776 * chNDArray.cc (charNDArray<T>::cat): Ditto. | |
3777 * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. | |
3778 | |
3779 * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. | |
3780 * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. | |
3781 | |
4800 | 3782 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
3783 | |
4802 | 3784 * oct-rl-edit.c (octave_rl_set_startup_hook, |
3785 octave_rl_get_startup_hook, octave_rl_set_event_hook, | |
3786 octave_rl_get_event_hook): Omit casts. | |
3787 * oct-rl-edit.h (rl_startup_hook_fcn_ptr, rl_event_hook_fcn_ptr): | |
3788 Return value for function pointer typedef is now int. | |
3789 * cmd-edit.h (command_editor::startup_hook_fcn, | |
3790 command_editor::event_hook_fcn): Likewise. | |
3791 * cmd-hist.cc, cmd-hist.h (command_history::goto_mark, | |
3792 command_history::do_goto_mark, gnu_history::do_goto_mark): | |
3793 Return type is now int. Return 0. | |
3794 | |
4800 | 3795 * EIG.cc (EIG::init, EIG::symmetric_init): |
3796 Query Lapack for workspace size. | |
3797 | |
4796 | 3798 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
3799 | |
3800 * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): | |
3801 Fix thinko in extending dimensions. | |
3802 | |
4791 | 3803 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
3804 | |
3805 * Range.cc (Range::matrix_value, Range::min, Range::max): | |
3806 Don't compute values beyond the limits of the range. | |
3807 (operator << (std::ostream&, const Range&)): Likewise. | |
3808 | |
4786 | 3809 2004-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
3810 | |
4788 | 3811 * oct-fftw.cc (octave_fftw_planner::create_plan): |
3812 Cast IN and OUT args to ptrdiff_t instead of long before masking. | |
3813 From Paul Kienzle <pkienzle@users.sf.net>. | |
3814 | |
4786 | 3815 * Array.cc (Array<T>::insertN (const Array<T>&, int, int)): |
3816 Rename from Array<T>::insert. | |
3817 (Array<T>::insert2 (const Array<T>&, int, int)): | |
3818 Reinstate old Array<T>::insert function under this name. | |
3819 (Array<T>::insert (const Array<T>&, int, int)): | |
3820 New function. Dispatch to insert2 or insertN as appropriate. | |
3821 | |
4785 | 3822 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
3823 | |
3824 * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): | |
3825 Sprinkle with OCTAVE_QUIT. | |
3826 | |
5095 | 3827 2004-02-16 David Bateman <dbateman@free.fr> |
4773 | 3828 |
3829 * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): | |
3830 Add support for FFTW 3.x. Include the ability to | |
3831 use the real to complex transform for fft's of real matrices | |
3832 (octave_fftw_planner::create_plan2d): Delete. | |
3833 (octave_fftw::fft2d): Delete. | |
3834 (convert_packcomplex_1d, convert_packcomplex_Nd): | |
3835 New static functions. | |
3836 * oct-fftw.h: Update decls. | |
3837 | |
3838 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
3839 Matrix::fourier2d, Matrix::ifourier2d): FFT's use real to complex | |
3840 transforms. 1D FFT of a matrix done as single call rather than | |
3841 loop. Update for FFTW 3.x | |
3842 * CMatrix.cc (ComplexMatrix::fourier, ComplexMatrix::ifourier, | |
3843 ComplexMatrix::fourier2d, ComplexMatrix::ifourier2d): 1D fft of a | |
3844 matrix done as single call rather than loop. Update for FFTW 3.x. | |
3845 | |
3846 * dNDArray.cc (NDArray::fourier, NDArray::ifourier, | |
3847 NDArray::fourierNd, NDArray::ifouriourNd): New fourier transform | |
3848 functions for Nd arrays. | |
3849 * dNArray.h Provide decls. | |
3850 * CNDArray.cc (ComplexNDArray::fourier, ComplexNDArray::ifourier, | |
3851 ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New | |
3852 fourier transform functions for complex Nd arrays. | |
3853 * CNArray.h: Provide decls. | |
3854 | |
4765 | 3855 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> |
3856 | |
3857 * Array.cc (Array<T>::insert (const Array<T>&, int, int)): | |
3858 Make it work for N-d arrays. | |
3859 | |
3860 * ArrayN.h (ArrayN<T>::insert (const ArrayN<T>& a, int, int)): | |
3861 New function. | |
3862 | |
3863 * CNDArray.cc (ComplexNDArray::insert (const NDArray&, int, int), | |
3864 ComplexNDArray::insert (const ComplexNDArray&, int, int)): | |
3865 New functions. | |
3866 * CNDArray.h: Provide decls. | |
3867 | |
4759 | 3868 2004-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
3869 | |
4760 | 3870 * Makefile.in (LINK_DEPS): Always define. |
3871 | |
4759 | 3872 * Array.cc (Array<T>::squeeze): Always return an array with at |
3873 least two dimensions. | |
3874 | |
4758 | 3875 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
3876 | |
3877 * mx-inlines.cc (MX_ND_CAT): New macro. | |
3878 * dNDArray.cc (NDArray::cat): New function. | |
3879 * dNDArray.h: Provide decls. | |
3880 * CNDArray.cc (complexNDArray::cat): New function. | |
3881 * CNDArray.h: Provide decls. | |
3882 * chNDArray.cc (charNDArray::cat): New function. | |
3883 * chNDArray.h: Provide decls. | |
3884 | |
4756 | 3885 2004-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
3886 | |
3887 * Array.cc (maybe_delete_elements_2): Allow X(n) = [] for 2-d X. | |
3888 (Array<T>assign2): Also call maybe_delete_elements for single | |
3889 index when rows and columns or LHS are both greater than 1. | |
3890 | |
4755 | 3891 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
3892 | |
3893 * Array.cc (Array<T>::maybe_delete_elements): | |
3894 Check for index out of bounds. Handle one index. | |
3895 | |
3896 * Array.cc (Array<T>::indexN): Use dim_vector (0, 0) instead of | |
3897 dim_vector (0) to create empty return vector. | |
3898 | |
4749 | 3899 2004-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
3900 | |
3901 * Array.cc (Array<T>::assignN): Don't crash if trying to resize a | |
3902 non-empty LHS when the number of lhs dimensions is less than the | |
3903 number of indices. Detect error if attempting to resize non-empty | |
3904 LHS with colon indices. | |
3905 | |
4745 | 3906 2004-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
3907 | |
4747 | 3908 * Array.cc (Array<T>::resize_and_fill): Don't bother to assign any |
3909 values unless the length of the new array is greater than 0. | |
3910 (Array<T>::resize_no_fill): Likewise. | |
3911 | |
3912 * Array-util.cc (index_in_bounds): Also return false if ra_idx(i) | |
3913 is equal to dimensions(i). | |
3914 | |
3915 * Array-util.h, Array-util.cc (equal_arrays, any_zero_len, | |
3916 get_zero_len_size, number_of_elements): | |
3917 Delete unused functions. | |
3918 | |
3919 * Array-util.cc (get_ra_idx): Use dim_vector::numel instead of | |
3920 number_of_elements function. | |
3921 * Array.cc (Array<T>::indexN): Likewise. | |
3922 | |
3923 * Array.cc (Array<T>::indexN): Use dim_vector::operator == instead | |
3924 of equal_arrays function. | |
3925 (Array<T>::index, Array<T>::indexN, Array<T>::assignN) Use | |
3926 dim_vector::any_zero instead of any_zero_len function. | |
3927 | |
3928 * Array.cc (Array<T>::assignN): Eliminate special case for empty index. | |
3929 Don't skip reshaping and resizing if RHS is empty. | |
3930 | |
4746 | 3931 * Array.cc (Array<T>::assignN): Simplify loop for array assignment. |
3932 Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. | |
4747 | 3933 Delete unused variables is_colon and is_colon_equiv. |
4746 | 3934 Correctly resize for expressions like x(:,:,2) = ones(3,3) when |
3935 LHS is not yet defined. | |
4745 | 3936 Error for resizing if number of indices is less than number of LHS |
3937 dimensions. | |
3938 | |
4746 | 3939 * Array.cc (Array<T>::maybe_delete_elements): Maybe warn about |
3940 Fortran-style indexing. | |
3941 | |
4743 | 3942 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
3943 | |
3944 * Array.cc (Array<T>::assignN): Simplify. | |
3945 Allow assignments to succeed if number if indices is less than the | |
3946 number of RHS dimensions. | |
3947 | |
4738 | 3948 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
3949 | |
4741 | 3950 * Array.cc (Array<T>::maybe_delete_elements): Reshape LHS |
3951 when number of indices is less than number of dimensions. | |
3952 | |
3953 * Array.cc (Array<T>::assignN, Array<T>::maybe_delete_elements): | |
3954 Remove unsued variable lhs_inc. | |
3955 | |
4740 | 3956 * Array.cc (Array<T>::maybe_delete_elements): Declare idx_is_colon |
3957 and idx_is_colon_equiv Array<int> instead of dim_vector. | |
3958 | |
3959 * Array.cc (Array<T>::assignN): Compute new dims in a cleaner way. | |
3960 | |
4738 | 3961 * Array.cc (Array<T>::index): Check for frozen_lengths.length () |
3962 == n_dims before checking to see if all indices are colon_equiv. | |
3963 | |
4736 | 3964 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
3965 | |
3966 * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for | |
3967 deleting elements. | |
4737 | 3968 (Array<T>::index): Remove trailing singletons in ra_idx, but leave |
3969 at least ndims elements. | |
4736 | 3970 |
4735 | 3971 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
3972 | |
3973 * Array.cc (Array<T>::assignN): Accept assignment of a vector | |
3974 oriented differently from the index. | |
3975 | |
3976 * dim-vector.h (dim_vector::squeeze): Return value always has at | |
3977 least two dimensions. | |
3978 | |
4733 | 3979 2004-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
3980 | |
4735 | 3981 * dim-vector.h (dim_vector::squeeze): New function. |
3982 (Array<T>::assignN): Use it instead of chop_trailing_singltons for | |
3983 deciding whether the assignment conforms. | |
3984 | |
4733 | 3985 * Array.cc (Array<T>::assignN): Simplify dimension check by |
3986 comparing rhs_dims and frozen_len sans trailing singletons. | |
3987 | |
4732 | 3988 2004-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
3989 | |
3990 * idx-vector.cc (tree_to_mat_idx): New arg, conversion_error. | |
3991 Call error handler and return conversion_error == true if arg is | |
3992 not integer. | |
3993 (IDX_VEC_REP::idx_vector_rep): Exit early if conversion_error. | |
3994 | |
4730 | 3995 2004-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
3996 | |
3997 * boolNDArray.h (boolNDArray::boolNDArray): Declare dim_vector | |
3998 reference arg const. | |
3999 | |
4000 2004-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4001 | |
4002 * Array-flags.cc: Include Array-flags.h, not Array.h. Doh. | |
4003 | |
4729 | 4004 2004-01-30 Jakub Bogusz <qboosh@pld-linux.org> |
4005 | |
4006 * Array-flags.h (liboctave_wfi_flag, liboctave_wrore_flag): | |
4007 Now bool, to match definition in Array-flags.cc. | |
4008 | |
4725 | 4009 2004-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4010 | |
4726 | 4011 * file-ops.cc: Include <vector> instead of <memory> for new |
4012 definition of OCTAVE_LOCAL_BUFFER. | |
4013 | |
4725 | 4014 * EIG.cc, EIG.h (EIG::init, EIG::symmetric_init, EIG::hermitian_init): |
4015 New arg, calc_eigenvectors. | |
4016 * EIG.h (EIG:EIG): New optional arg, calc_eigenvectors. | |
4017 Based on patch from David Bateman <dbateman@free.fr>. | |
4018 | |
4716 | 4019 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
4020 | |
4021 * Array.cc (Array<T>::assign2, Array<T>::assignN): | |
4022 For X(I) = RHS, don't restrict I to fewer elements than X. | |
4023 | |
4024 * Array.cc (Array<T>::assign2): Simplify indexing for X(I) = RHS case. | |
4025 | |
4711 | 4026 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
4027 | |
4714 | 4028 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): |
4029 Simplify calculation of number of elements in retval. | |
4030 | |
4711 | 4031 * Array.cc (Array<T>::assignN): Eliminate unnecessray code for |
4032 filling when RHS is scalar and dimension lengths agree. | |
4033 | |
4710 | 4034 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
4035 | |
4713 | 4036 * Makefile.in (distclean): Remove mx-ops.h, $(MX_OP_INC), |
4037 $(VX_OP_INC), $(MX_OP_SRC), $(VX_OP_SRC), and $(OPTS_INC). | |
4710 | 4038 |
4707 | 4039 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
4040 | |
4709 | 4041 * Array.cc (Array<T>::resize_and_fill): Correctly copy old elements. |
4042 (Array<T>::assign2): Check for RHS dimensions larger than 2. | |
4707 | 4043 |
4702 | 4044 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> |
4045 | |
4703 | 4046 * Array.h (Array<T>::chop_trailing_singletons): New function. |
4047 * Array.cc (Array<T>::assignN): Use it on LHS. | |
4048 | |
4049 * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. | |
4702 | 4050 Retrieve scalar element by passin 0 instead of an index array. |
4703 | 4051 Check for singleton dimensions where RHS is matrix or higher dimension. |
4052 Make sure index is in bounds. | |
4702 | 4053 |
4698 | 4054 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
4055 | |
4056 * lo-ieee.cc (octave_ieee_init): Ensure that octave_Inf, | |
4057 octave_NaN, and octav_NA values are always initialized. Check | |
4058 floating point format, not HAVE_ISINF, HAVE_FINITE, or HAVE_ISNAN | |
4059 to decide whether to do IEEE initialization. | |
4060 | |
4687 | 4061 2004-01-06 David Bateman <dbateman@free.fr> |
4062 | |
4063 * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, | |
4064 ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, | |
4065 ComplexNDArray::too_large_for_float): New functions | |
4066 | |
4067 * CNDArray.cc (operator <<, operator >>): New IO operators. | |
4068 * CNDArray.h: Provide decls. | |
4069 * dNDArray.cc (operator <<, operator >>): New IO operators. | |
4070 * dNDArray.h: Provide decls. | |
4071 | |
4673 | 4072 2003-12-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4073 | |
4674 | 4074 * mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since |
4075 they are already defined in boolNDArray.cc. | |
4076 | |
4673 | 4077 * Array-util.cc (get_zero_len_size): Delete. |
4078 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
4079 Handle zero-length result dimensions the same as empty original | |
4080 indices. | |
4081 | |
4082 2003-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4083 | |
4084 * dim-vector.h (dim_vector::chop_trailing_singleton_dims, | |
4085 dim_vector::dim_vector_rep::chop_trailing_singleton_dims): | |
4086 New functions. | |
4087 * Array.cc (ArrayN<T>::indexN): Use it. | |
4088 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): Likewise. | |
4089 | |
4669 | 4090 2003-11-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
4091 | |
4092 * boolNDArray.cc: Define BOOL ops. Define mixed CMP ops. | |
4093 * boolNDArray.h: Declare BOOL ops. Declare mixed CMP ops. | |
4094 | |
4095 2003-11-25 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4096 | |
4097 * mk-ops.awk: Also emit #include "Array-util.h". | |
4098 | |
4099 * mx-ops: Add bool, boolMatrix, and boolNDarray types. | |
4100 Add bnda x bnda, b x bnda, and bnda x b ops. | |
4101 | |
4102 * MArray-misc.cc: Delete. | |
4103 * Makefile.in (MATRIX_SRC): Remove it from the list. | |
4104 | |
4105 * Array-util.h, Array-util.cc (gripe_nonconformant): Move here from | |
4106 MArray.h, MArray2.h, MArrayN.h, and MArray-misc.cc. | |
4107 | |
4655 | 4108 2003-11-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4109 | |
4663 | 4110 * dbleQR.cc (QR::init): Use separate pwork pointers. |
4111 * CmplxQR.cc (ComplexQR::init): Likewise. | |
4112 | |
4113 * oct-group.cc (octave_group::getgrnam): Pass correct args to | |
4114 two-arg getgrnam version. | |
4115 | |
4657 | 4116 * Array.cc (assignN): Allow single indexing to work. |
4661 | 4117 (Array<T>::range_error (const char*, const Array<int>&)): |
4118 Report index values. | |
4119 | |
4120 * Array.cc (Array<T>::index): Delete unused arg names. | |
4662 | 4121 * ODESSA.cc (odessa_j): Likewise. |
4122 * DASRT.cc (ddasrt_f, ddasrt_g): Likewise. | |
4123 * DASPK.cc (ddaspk_psol): Likewise. | |
4124 * lo-mappers.cc (imag): Likewise. | |
4663 | 4125 * Array-util.cc (get_zero_len_size): Likewise. |
4126 * kpse.cc (path_search, path_find_first_of): Likewise. | |
4127 * cmd-edit.cc (do_generate_filename_completions): Likewise. | |
4656 | 4128 |
4655 | 4129 * dim-vector.h (dim_vector::all_ones): New function. |
4130 | |
4646 | 4131 2003-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4132 | |
4653 | 4133 * idx-vector.h (idx_vector::orig_empty): Check orig_dims for |
4134 zeros, not orig_rows or orig_columns. | |
4135 (idx_vector::idx_vector_rep::orig_rows): Define using orig_dims. | |
4136 (idx_vector::idx_vector_rep::orig_columns): Likewise. | |
4137 | |
4138 * idx-vector.cc (idx_vector::idx_vector_rep::orig_nr, | |
4139 (idx_vector::idx_vector_rep::orig_nc): Delete. | |
4140 | |
4141 * idx-vector.cc (idx_vector::idx_vector_rep): | |
4142 Use initialization lists for constructors. | |
4143 | |
4651 | 4144 * Array.cc (Array<T>::indexN): Correctly handle single colon index. |
4145 Omit special case for ra_idx.capacity () == 1. | |
4146 Always allow single index for matrix args with optional warning. | |
4147 | |
4650 | 4148 * idx-vector.h, idx-vector.cc: Convert boolMatrix functions to use |
4149 boolNDArray. Likewise, convert Matrix functions to use NDArray. | |
4150 | |
4648 | 4151 * Array-so.cc: New file. Move instantiations here from so-array.h. |
4152 * Makefile.in (TI_SRC): Add it to the list. | |
4153 | |
4646 | 4154 * MArray-defs.h (DO_VS_OP2, DO_VV_OP2): Accept args for element |
4155 type and the names of the left and right operands. Change all uses. | |
4156 | |
4157 * so-array.cc, so-array.h: New files. Move streamoff_array here | |
4158 from src/ov-streamoff.h and src/ov-streamoff.cc. | |
4159 | |
4645 | 4160 2003-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
4161 | |
4162 * MArrayN.cc (operator -=, operator +=): Check dimensions, not | |
4163 just length. | |
4164 | |
4165 * Array2.h, Array3.h, DiagArray2.h, DiagArray2.cc, MDiagArray2.h, | |
4166 ArrayN.h: Add this-> or Base:: qualifiers for references to | |
4167 non-dependent member functions and data as needed. | |
4168 | |
4169 * DiagArray2.h, DiagArray2.cc: Delete unused code. | |
4170 | |
4171 * Array2.h (Array2<T>::operator =): Don't copy dimensions here. | |
4172 * Array3.h (Array3<T>::operator =): Likewise. | |
4173 * DiagArray2.h (DiagArray2<T>::operator =): Likewise. | |
4174 Include Array.h, not Array2.h. | |
4175 | |
4634 | 4176 2003-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
4177 | |
4636 | 4178 * str-vec.cc (list_in_columns): Fix previous change. |
4179 | |
4635 | 4180 * dim-vector.h (dim_vector::num_ones): New function. |
4181 * Array.cc (maybe_delete_elements): Use it instead of | |
4182 num_ones (const Array<int>&). | |
4183 | |
4184 * Array.cc (assignN): Omit dubious check of singleton dimensions. | |
4185 | |
4634 | 4186 * dNDArray.cc (NDArray::all_elements_are_int_or_inf_or_nan, |
4187 NDArray::any_element_is_inf_or_nan, NDArray::too_large_for_float): | |
4188 New functions. | |
4189 * dNDArray.h: Provide decls. | |
4190 | |
4191 * dMatrix.h (Matrix::any_element_is_negative, | |
4192 Matrix::any_element_is_inf_or_nan, Matrix::too_large_for_float, | |
4193 Matrix::all_elements_are_int_or_inf_or_nan, Matrix::all_integers): | |
4194 Simplify. | |
4195 | |
4196 * dNDArray.cc (NDArray::abs): Make it work for N-d arrays. | |
4197 * CNDArray.cc (ComplexNDArray::abs): Likewise. | |
4198 | |
4199 * dNDArray.cc (real, imag): New functions. | |
4200 * dNDArray.h: Provide decls. | |
4201 | |
4630 | 4202 2003-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4203 | |
4204 * Makefile.in (TEMPLATE_SRC): Move MArrayN.cc here from MATRIX_SRC. | |
4205 | |
4625 | 4206 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
4207 | |
4208 * Array.h (Array<T>::resize (int, const T&)): Reinstate. | |
4209 * MArray.h (resize): Delete. | |
4210 * MArray2.h (resize): Delete. | |
4211 * DASRT.cc (DASRT::integrate): Use resize, not resize_and_fill. | |
4212 * ODESSA (ODESSA::integrate): Likewise. | |
4213 | |
4616 | 4214 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4215 | |
4216 * Makefile.in (dist): Depend on stamp-prereq. | |
4217 | |
4605 | 4218 2003-11-12 John Eaton <jwe@bevo.che.wisc.edu> |
4219 | |
4220 * mach-info.c (oct_mach_info::init_float_format) [CRAY]: | |
4221 Kluge to make it work. | |
4604 | 4222 |
4223 * lo-ieee.cc (octave_ieee_init): Set octave_Inf, octave_NaN, and | |
4224 octave_NA to DBL_MAX if native float format is vaxd, vaxg, or cray. | |
4225 | |
4226 * cmd-edit.cc (gnu_readline::do_generate_filename_completions, | |
4227 default_command_editor::do_generate_filename_completions, | |
4228 command_editor::generate_filename_completions): New functions. | |
4229 * cmd-edit.h: Provide decls. | |
4230 * oct-rl-edit.c (octave_rl_filename_completion_function): New | |
4231 function. | |
4232 * oct-rl-edit.h: Provide decl. | |
4233 | |
4593 | 4234 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4235 | |
4594 | 4236 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY_AND_ASSIGN, |
4237 INSTANTIATE_ARRAY): New macros. | |
4238 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
4239 Array-idx-vec.cc, Array-s.cc, Array-str.cc, ODESSA.cc: Use them. | |
4240 | |
4593 | 4241 * Array.h (Array<T>::ipermute): New function. |
4242 | |
4243 2003-11-11 Petter Risholm <risholm@stud.ntnu.no> | |
4244 | |
4245 * Array.cc (Array<T>::permute): New function. | |
4246 * Array.h: Provide decl. | |
4247 | |
4248 * Array-util.cc (calc_permutated_idx): New function. | |
4249 * Array-util.h: Provide decl. | |
4250 | |
4587 | 4251 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4252 | |
4592 | 4253 * Array.cc (Array<T>::index2): Return value has orientation of |
4254 indexed value if indexing a vector with a bool matrix. | |
4255 | |
4589 | 4256 * ArrayN.h (ArrayN<T>::get_size): Delete. |
4257 | |
4588 | 4258 * Array.cc, ArrayN.cc, dNDArray.cc, CNDArray.cc, boolNDArray.cc, |
4259 chNDArray.cc: Include Array-util.h instead of ArrayN-inline.h. | |
4260 | |
4261 * ArrayN-inline.h: Delete. | |
4262 * Array-util.h, Array-util.cc: New files, from ArrayN-inline.h. | |
4263 * Makefile.in: Fix the appropriate lists. | |
4264 | |
4587 | 4265 * Array.cc, Array.h, ArrayN.h, CMatrix.cc, CNDArray.h, |
4266 CRowVector.cc, CmplxQR.cc, CollocWt.h, DASPK.h, DASRT.h, DASSL.h, | |
4267 FEGrid.cc, LP.h, LSODE.h, MArrayN.h, ODE.h, ODES.h, ODESSA.cc, | |
4268 boolNDArray.h, chNDArray.h, dMatrix.cc, dNDArray.h, dRowVector.cc, | |
4269 dbleQR.cc, kpse.cc, oct-rl-hist.c, str-vec.cc, str-vec.h: | |
4270 Avoid -Wshadow warnings. | |
4271 | |
4272 2003-11-08 John Eaton <jwe@bevo.che.wisc.edu> | |
4585 | 4273 |
4274 * Array.h (Array<T>::nil_rep): Qualify return type with typename. | |
4275 | |
4276 * mk-ops.awk: Delete elements of bool_headers array individually. | |
4277 | |
4278 2003-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4279 | |
4280 * Array.cc (maybe_delete_elements): Rename arg idx to ra_idx. | |
4281 | |
4584 | 4282 2003-10-31 Petter Risholm <risholm@stud.ntnu.no> |
4283 | |
4284 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): New macro. | |
4285 | |
4286 * CNDArray.cc, CNDArray.h (ComplexNDArray::cumsum, | |
4287 ComplexNDArray::cumprod): Return ComplexNDArray. Handle N-d arrays. | |
4288 * dNDArray.cc, dNDArray.h (NDArray::cumsum, NDArray::cumprod): | |
4289 Return NDArray. Handle N-d arrays. | |
4290 | |
4575 | 4291 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
4292 | |
4583 | 4293 * LSODE.cc (LSODE::do_integrate): Avoid name conflict on systems |
4294 that upcase Fortran names by calling dlsode instead of lsode. | |
4295 | |
4296 * ODESSA.cc (ODESSA::do_integrate): Avoid name conflict on systems | |
4297 that upcase Fortran names by calling dodessa instead of odessa. | |
4298 | |
4577 | 4299 * file-ops.cc (file_ops::symlink): Cope with systems that expect |
4300 non-const args for symlink system call. | |
4301 (file_ops::readlink): Likewise, for readlink. | |
4302 | |
4575 | 4303 * DASRT.cc (DASRT::integrate): Fix typo in Fortran function name. |
4304 | |
4574 | 4305 2003-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4306 | |
4307 * mach-info.h (oct_mach_info): Prefix enum elements with flt_fmt_. | |
4308 Change all uses. | |
4309 | |
4569 | 4310 2003-10-29 Petter Risholm <risholm@stud.ntnu.no> |
4311 | |
4312 * dNDArray.cc (NDArray::cumprod, NDArray::cumsum, NDArray::prod, | |
4313 NDArray::sum, NDArray::sumsq, NDArray::abs): New functions. | |
4314 * dNDArray.h: Provide decls. | |
4315 * CNDArray.cc (ComplexNDArray::cumprod, ComplexNDArray::cumsum, | |
4316 ComplexNDArray::prod, ComplexNDArray::sum, ComplexNDArray::sumsq, | |
4317 ComplexNDArray::abs): New functions. | |
4318 * CNDArray.h: Provide decls. | |
4319 | |
4320 * mx-inlines.cc (MX_ND_REDUCTION): Rename from MX_ND_ANY_ALL. | |
4321 Generalize to handle other reduction operations. | |
4322 (MX_ND_REAL_OP_REDUCTION, MX_ND_COMPLEX_OP_REDUCTION, | |
4323 MX_ND_ALL_ANY_REDUCTION): New macros. | |
4324 | |
4565 | 4325 2003-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
4326 | |
4567 | 4327 * Array.cc (Array<T>::reshape): New function. |
4328 * Array.h: Provide decl. | |
4329 | |
4330 * dim-vector.h (dim_vector::numel): New function. | |
4331 | |
4565 | 4332 * dim-vector.h (dim_vector_rep::dim_vector_rep (int, const |
4333 dim_vector&)): Correctly handle case of n < dv->ndims. | |
4334 | |
4559 | 4335 2003-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
4336 | |
4337 * dim-vector.h (dim_vector::any_zero): New function. | |
4338 (dim_vector::str): New default arg, sep. | |
4339 | |
4340 * Array.h (Array<T>::numel): New function. | |
4341 | |
4556 | 4342 2003-10-27 Petter Risholm <risholm@stud.ntnu.no> |
4343 | |
4344 * mx-inlines.cc (MX_ND_ALL_EXPR, MX_ND_ANY_EXPR, | |
4345 MX_ND_ALL_EVAL, MX_ND_ANY_EVAL, MX_ND_ALL_ANY): New macros. | |
4346 * dNDArray.h (NDArray::all, NDArray::any): Return type now boolNDArray. | |
4347 * CNDArray.h (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
4348 * boolNDArray.h (boolNDArray::all, boolNDArray::any): Likewise. | |
4349 * chNDArray.h (charNDArray::all, charNDArray::any): Likewise. | |
4350 * dNDArray.cc (NDArray::all, NDArray::any): Make them work. | |
4351 * CNDArray.cc (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
4352 * boolNDArray.cc (boolNDArray::all, boolNDArray::any): Likewise. | |
4353 * chNDArray.cc (charNDArray::all, charNDArray::any): Likewise. | |
4354 | |
4552 | 4355 2003-10-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
4356 | |
4553 | 4357 * Array.cc (Array<T>::resize_and_fill): Allow number of dimensions |
4358 to change. From Petter Risholm <risholm@stud.ntnu.no>. | |
4359 | |
4552 | 4360 * oct-rand.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, |
4361 CmplxAEPBAL.cc CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
4362 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, | |
4363 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, ODESSA.cc, | |
4364 Quad.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
4365 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
4366 dbleSCHUR.cc, dbleSVD.cc, lo-specfun.cc: | |
4367 Use new F77 arg macros in declarations of external Fortran | |
4368 subroutines and for calling them. | |
4369 | |
4548 | 4370 2003-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
4371 | |
4372 * Array.cc (Array<T>::resize_no_fill (const dim_vector&)): | |
4373 Allow number of dimensions to change. | |
4374 (Array<T>::resize_no_fill (int, int)): Require ndims to be 0 or 2. | |
4375 (Array<T>::resize_and_fill (int, int, const T&)): Likewise. | |
4376 (Array<T>::resize_no_fill (int, int, int)): Require ndims to be 0 or 3. | |
4377 (Array<T>::resize_and_fill (int, int, int, const T&)): Likewise. | |
4378 (Array<T>::transpose): Require ndims to be 2. | |
4379 (Array<T>::index2): Likewise. | |
4380 (Array<T>::index (idx_vector&, idx_vector&, int, const T&)): Likewise. | |
4381 (Array<T>::maybe_delete_elements_2): Likewise. | |
4382 (Array<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Likewise. | |
4383 (Array<T>::index1): Use resize_and_fill. | |
4384 (MAYBE_RESIZE_ND_DIMS): Likewise. | |
4385 | |
4386 * ODESSA.cc (ODESSA::integrate): Use resize_and_fill for x_s_out. | |
4387 | |
4388 * MArray2.h (MArray2<T>::resize (int, int)): New function. | |
4389 (MArray2<T>::resize (int, int, const T&)): New function. | |
4390 | |
4391 * MArray.h (MArray<T>::resize (int)): New function. | |
4392 (MArray<T>::resize (int, const T&)): New function. | |
4393 | |
4394 * DASRT.cc (DASRT::integrate): Use resize_and_fill for jroot. | |
4395 | |
4396 * DASPK-opts.in: Use single-arg resize for initial condition | |
4397 heuristics. | |
4398 | |
4399 * dim-vector.h (class dim_vector): Now reference counted. | |
4400 (dim_vector_rep::elem): Use assert to check that index is in bounds. | |
4401 | |
4544 | 4402 2003-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4403 | |
4545 | 4404 * Array.cc (Array<T>::squeeze): Delete redundant retval decl. |
4405 | |
4544 | 4406 * mx-cdm-cm.cc, mx-cdm-cm.h, mx-cdm-cs.cc, mx-cdm-cs.h, |
4407 mx-cdm-dm.cc, mx-cdm-dm.h, mx-cdm-m.cc, mx-cdm-m.h, mx-cdm-s.cc, | |
4408 mx-cdm-s.h, mx-cm-cdm.cc, mx-cm-cdm.h, mx-cm-dm.cc, mx-cm-dm.h, | |
4409 mx-cm-m.cc, mx-cm-m.h, mx-cm-s.cc, mx-cm-s.h, mx-cs-cdm.cc, | |
4410 mx-cs-cdm.h, mx-cs-dm.cc, mx-cs-dm.h, mx-cs-m.cc, mx-cs-m.h, | |
4411 mx-dm-cdm.cc, mx-dm-cdm.h, mx-dm-cm.cc, mx-dm-cm.h, mx-dm-cs.cc, | |
4412 mx-dm-cs.h, mx-dm-m.cc, mx-dm-m.h, mx-dm-s.cc, mx-dm-s.h, | |
4413 mx-m-cdm.cc, mx-m-cdm.h, mx-m-cm.cc, mx-m-cm.h, mx-m-cs.cc, | |
4414 mx-m-cs.h, mx-m-dm.cc, mx-m-dm.h, mx-ops.h, mx-s-cdm.cc, | |
4415 mx-s-cdm.h, mx-s-cm.cc, mx-s-cm.h, mx-s-dm.cc, mx-s-dm.h, | |
4416 vx-ccv-cv.cc, vx-ccv-cv.h, vx-ccv-s.cc, vx-ccv-s.h, vx-crv-rv.cc, | |
4417 vx-crv-rv.h, vx-crv-s.cc, vx-crv-s.h, vx-cs-cv.cc, vx-cs-cv.h, | |
4418 vx-cs-rv.cc, vx-cs-rv.h, vx-cv-ccv.cc, vx-cv-ccv.h, vx-cv-cs.cc, | |
4419 vx-cv-cs.h, vx-rv-crv.cc, vx-rv-crv.h, vx-rv-cs.cc, vx-rv-cs.h, | |
4420 vx-s-ccv.cc, vx-s-ccv.h, vx-s-crv.cc, vx-s-crv.h: Delete. These | |
4421 files are now automatically generated. | |
4422 | |
4423 * Makefile.in ($(VX_OP_INC), $(VX_OP_SRC), $(MX_OP_INC), | |
4424 $(MX_OP_SRC)): Generate lists with new mk-ops.awk script. | |
4425 Add rules to generate these files and mx-ops.h. | |
4426 (stamp-prereq): Depend on these files. | |
4427 | |
4428 * mx-ops, vx-ops, mk-ops.awk: New files. | |
4429 * Makefile.in (DISTFILES): Add them to the list. | |
4430 | |
4543 | 4431 2003-10-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
4432 | |
4433 * NDArray.cc (NDArray::NDArray (const boolNDArray), | |
4434 NDArray::NDArray (const charNDArray)): New constructors. | |
4435 (NDArray::operator !): New function. | |
4436 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
4437 NDND_CMP_OPS, NDND_BOOL_OPS. | |
4438 | |
4439 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const NDArray&), | |
4440 ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
4441 ComplexNDArray::ComplexNDArray (const charNDArray&)): | |
4442 New constructors. | |
4443 (ComplexNDArray::operator !): New function. | |
4444 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
4445 NDND_CMP_OPS, NDND_BOOL_OPS. | |
4446 | |
4447 * ArrayN.h (resize (const dim_vector&)): Fix typo. | |
4448 | |
4449 * boolNDArray.cc (boolNDArray::operator !): New function. | |
4450 Provide NDND_CMP_OPS. | |
4451 | |
4452 * MArrayN.cc (operator +=, operator -=): New functions. | |
4453 Provide product and quotient functions. | |
4454 | |
4455 * MArray-misc.cc (gripe_nonconformant (const char *, dim_vector&, | |
4456 dim_vector&)): New function. | |
4457 | |
4458 * dim-vector.h (dim_vector::str, dim_vector::all_zero, | |
4459 operator ==, operator !=): New functions. | |
4460 * ArrayN.cc (operator <<): Use dim_vector::str here. | |
4461 | |
4462 * Array.cc (Array<T>::resize_no_fill, Array<T>::resize_and_fill): | |
4463 No need to save old dimensions. | |
4464 | |
4465 * oct-rand.cc (MAKE_RAND_ND_ARRAY): New macro. | |
4466 (octave_rand::nd_array): New function. | |
4467 * oct-rand.h (octave_rand::nd_array): Provide decl. | |
4468 | |
4469 * mx-op-defs.h (NDCMP_OP_DECL, NDBOOL_OP_DECL, NDS_BIN_OP_DECLS, | |
4470 NDS_BIN_OP, NDS_BIN_OPS, NDS_CMP_OP_DECLS, NDS_CMP_OP, | |
4471 NDS_CMP_OPS, NDS_BOOL_OP_DECLS, NDS_BOOL_OP, NDS_BOOL_OPS, | |
4472 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_BIN_OP, SND_BIN_OPS, | |
4473 SND_CMP_OP_DECLS, SND_CMP_OP, SND_CMP_OPS, SND_BOOL_OP_DECLS, | |
4474 SND_BOOL_OP, SND_BOOL_OPS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
4475 NDND_BIN_OP, NDND_BIN_OPS, NDND_CMP_OP_DECLS, NDND_CMP_OP, | |
4476 NDND_CMP_OPS, NDND_BOOL_OP_DECLS, NDND_BOOL_OP, NDND_BOOL_OPS, | |
4477 NDND_OP_DECLS): New macros. | |
4478 * mx-cm-m.h, mx-cm-s.h, mx-cs-m.h, mx-m-cm.h, mx-m-cs.h, | |
4479 mx-s-cm.h, mx-cm-m.cc, mx-cm-s.cc, mx-cs-m.cc, mx-m-cm.cc, | |
4480 mx-m-cs.cc, mx-s-cm.cc: Use them. | |
4481 | |
4482 * mx-defs.h (class NDArray, class ComplexNDArray, class | |
4483 boolNDArray, class charNDArray): New forward decls. | |
4484 | |
4534 | 4485 2003-10-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
4486 | |
4487 * Array.cc (assign2): No error (but don't do anything either) for | |
4488 expressions like x([],j) = scalar. | |
4489 | |
4532 | 4490 2003-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
4491 | |
4533 | 4492 * Array.cc (assignN): Allow lhs(:) = scalar. |
4493 | |
4532 | 4494 * CNDArray.cc (ComplexNDArray::increment_index): New function. |
4495 * dNDArray.cc (NDArray::increment_index): Likewise. | |
4496 * boolNDArray.cc (boolNDArray::increment_index): Likewise. | |
4497 * chNDArray.cc (charNDArray::increment_index): Likewise. | |
4498 | |
4499 * dim-vector.h (rows, cols): Delete unused data members. | |
4500 | |
4501 * Array.cc (Array<T>::get_size): Fix thinko. | |
4502 | |
4503 2003-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4504 | |
4505 * Array.cc (Array<T>::squeeze): New function. | |
4506 * CNDArray.h (ComplexNDArray::squeeze): Likewise. | |
4507 * dNDArray.h (NDArray::squeeze): Likewise. | |
4508 * boolNDArray.h (boolNDArray::squeeze): Likewise. | |
4509 * chNDArray.h (charNDArray::squeeze): Likewise. | |
4510 | |
4530 | 4511 2003-10-06 Petter Risholm <risholm@stud.ntnu.no> |
4512 | |
4513 * Array.cc (ArrayN<T>::indexN): New definition. | |
4514 * Array.h (Array<T>::indexN): Provide decl. | |
4515 * Array.cc (ArrayN<T>::index (idx_vector&, int, const T&): | |
4516 Call indexN if more than 2 indices. | |
4517 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): | |
4518 Make it (mostly) work. | |
4519 * ArrayN-inline.h (number_of_elements, get_ra_idx, short_freeze): | |
4520 New functions. | |
4521 | |
4527 | 4522 2003-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
4523 | |
4524 * cmd-edit.cc (do_readline): Pass eof to octave_fgetl. | |
4525 * lo-utils.cc (octave_fgets, octave_fgetl): New overloaded | |
4526 versions with eof arg. | |
4527 | |
4518 | 4528 2003-09-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
4529 | |
4530 * Array.h (dimensions): Now public. | |
4531 template <class LT, class RT> | |
4532 (assign (Array<LT>&, const Array<RT>&, const LT&), | |
4533 assign1 (Array<LT>&, const Array<RT>&, const LT&), | |
4534 assign2 (Array<LT>&, const Array<RT>&, const LT&), | |
4535 assignN (Array<LT>&, const Array<RT>&, const LT&), | |
4536 resize_no_fill (int), | |
4537 resize_no_fill (int, int), | |
4538 resize_no_fill (int, int, int), | |
4539 resize_no_fill (const dim_vector&), | |
4540 resize_and_fill (int, const T&), | |
4541 resize_and_fill (int, int, const T&), | |
4542 resize_and_fill (int, int, int, const T&), | |
4543 resize_and_fill (const dim_vector&, const T&)): Now public. | |
4544 | |
4545 * Array.cc: Include <climits>. | |
4546 | |
4513 | 4547 2003-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
4548 | |
4517 | 4549 * Array.cc: Merge Array-idx.h. |
4550 * Array-idx.h: Delete. | |
4551 | |
4514 | 4552 * chNDArray.h, chNDArray.cc, boolNDArray.h, boolNDArray.cc: New files. |
4553 | |
4513 | 4554 * Array.h, Array-idx.h, Array.cc: Fold all N-d functionality here. |
4555 Turn inheritance hierarchy upside down (2-d and 3-d arrays are now | |
4556 just special cases of the general purpose N-d Array object). | |
4557 | |
4558 * dim-vector.h: New file. Use dim_vector objects instead of | |
4559 ints or Array<int> objects to represent the size of Array | |
4560 objects. | |
4561 | |
4562 * MArray-defs.h (INSTANTIATE_MARRAYN_FRIENDS): New macro. | |
4563 | |
4564 * Array2-idx.h, Array3-idx.h, Array2.cc, Array3.cc: Delete. | |
4565 | |
4566 * mx-base.h: Include NDArray header files. | |
4567 | |
4568 * MArray-C.cc, MArray-d.cc: Also instantiate ArrayN objects. | |
4569 | |
4570 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
4571 Array-s.cc: Also instantiate ArrayN objects. | |
4572 Don't instantiate assign funcitons for Array2 objects. | |
4573 | |
4574 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Signal error with | |
4575 liboctave_error_handler, not cerr. | |
4576 * CMatrix.cc (ComplexMatrix::diag): Likewise. | |
4577 * dDiagMatrix.cc (DiagMatrix::diag): Likewise. | |
4578 * dMatrix.cc (Matrix::diag): Likewise. | |
4579 | |
4580 * Array-flags.cc, Array.cc, Array.h, Array2.h, Array3.h, ArrayN.h: | |
4581 Omit checks for HEAVYWEIGHT_INDEXING. | |
4582 | |
4583 2003-09-12 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4584 | |
4585 * mx-base.h: Include CNDarray.h. Include dNDArray.h, not NDArray.h. | |
4586 | |
4587 * CNDARray.h, CNDArray.cc: New files. | |
4588 * Makefile.in: Add them to the appropriate lists. | |
4589 | |
4590 * dNDArray.h: Rename from NDArray.h. | |
4591 * dNDArray.cc: Rename from NDArray.cc. | |
4592 * Makefile.in: Rename them here too. | |
4593 | |
4507 | 4594 2003-09-10 Petter Risholm <risholm@stud.ntnu.no> |
4595 | |
4596 * mx-base.h: Include NDArray.h, not ArrayN.h. | |
4597 | |
4598 * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. | |
4599 * Makefile.in: Add them to the appropriate lists. | |
4600 | |
5095 | 4601 2003-09-09 David Bateman <dbateman@free.fr> |
4506 | 4602 |
4603 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, | |
4604 biry): Always request scaled results from AMOS functions and | |
4605 perform reverse scaling on results if scaled result not requested | |
4606 by user. | |
4607 | |
4608 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4609 | |
4610 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
4611 | |
4505 | 4612 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
4613 | |
4614 * Array-d.cc: Instantiate assign functions. | |
4615 | |
4504 | 4616 2003-09-09 Petter Risholm <risholm@stud.ntnu.no> |
4617 | |
4618 * ArrayN-idx.h (vector_equivalent, equal_arrays): New functions. | |
4619 (get_elt_idx): Index ra_idx correctly. | |
4620 | |
4621 * ArrayN-inline.h (index_in_bounds): Index is also condidered in | |
4622 bounds if it is exactly on the bound. | |
4623 | |
4624 * ArrayN.cc (ArrayN<T>::maybe_delete_dims): New function. | |
4625 * ArrayN.h: Provide decl. | |
4626 | |
4627 * ArrayN.h (ArrayN<T>::ArrayN<T> (const Matrix&)): New constructor. | |
4628 | |
4629 * idx-vector.h (idx_vector::orig_dims): New member variable. | |
4630 (idx_vector::idx_vector_rep::orig_dimensions): New function. | |
4631 (idx_vector::orig_dimensions): New function. | |
4632 | |
4497 | 4633 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
4634 | |
4635 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
4636 | |
4496 | 4637 2003-09-04 Petter Risholm <risholm@stud.ntnu.no> |
4638 | |
4639 * ArrayN-idx.h (maybe_delete_elements): Implement function. | |
4640 (is_in, how_many_lgt, all_ones): New functions. | |
4641 | |
4493 | 4642 2003-09-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
4643 | |
4644 * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. | |
4645 | |
4646 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> | |
4647 | |
4648 * ArrayN-inline.h: New file. | |
4649 (index_in_bounds, increment_index): Move here. | |
4650 * ArrayN.cc: From here. | |
4651 | |
4652 * ArrayN.h (maybe_delete_elements): New arg, resize_fill_value. | |
4653 * ArrayN-idx.h (assign): New function. | |
4654 | |
4490 | 4655 2003-08-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
4656 | |
4657 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, airy, biry): | |
4658 Also zero imaginary part of result if real part of input value is | |
4659 zero. | |
4660 | |
4478 | 4661 2003-07-30 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4662 | |
4663 * mx-base.h: Include ArrayN.h. | |
4664 | |
4476 | 4665 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4666 | |
4667 * ArrayN.cc (operator <<): Corrected output. | |
4668 | |
4474 | 4669 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4670 | |
4671 * ArrayN.cc (increment_index): New arg, start_dimension. | |
4672 | |
5095 | 4673 2003-07-29 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4473 | 4674 |
4675 * ArrayN.cc (operator <<): Improve output readability. | |
4676 | |
4493 | 4677 2003-07-29 Petter Risholm <risholm@stud.ntnu.no> |
4473 | 4678 |
4679 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&, const T&)): | |
4680 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&)): | |
4681 Initialize old_len before changing size. | |
4682 | |
4472 | 4683 2003-07-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
4684 | |
4685 * Makefile.in (install-lib): Use $(INSTALL), not | |
4473 | 4686 $(INSTALL_PROGRAM) for $(SHLLIB) files. |
4472 | 4687 |
4469 | 4688 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
4689 | |
4690 * lo-mappers.cc (xmin, xmax): Handle NaN in a Matlab-compatible | |
4691 way. Handle NA in an R-compatible way. | |
4692 | |
4693 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Also check for lo_ieee_is_NA. | |
4694 (lo_ieee_is_NA): Don't call isnan unless HAVE_ISNAN is defined. | |
4695 | |
4696 * lo-mappers.h (octave_is_NA (const Complex&)): Provide decl. | |
4697 (octave_is_NaN_or_NA (const Complex&)): Likewise. | |
4698 | |
4699 * dMatrix.cc (Matrix::row_min, Matrix::row_max, | |
4700 Matrix::column_min, Matrix::column_max): Ignore NaNs. | |
4701 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_max, | |
4702 ComplexMatrix::column_min, ComplexMatrix::column_max): Likewise. | |
4703 | |
4461 | 4704 2003-07-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4705 | |
4706 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
4707 Pass true for resize_ok arg to freeze. | |
4708 * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
4709 Likewise. | |
4710 | |
4711 * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; | |
4712 resize_ok arg is now bool. | |
4713 * idx-vector.h (idx_vector::freeze): Likewise. | |
4714 | |
4715 * Array-flags.cc, Array-flags.h (liboctave_wrore_flag): | |
4716 Rename from liboctave_rre_flag. Now bool. | |
4717 (liboctave_wfi_flag): Now bool. | |
4718 | |
4719 * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. | |
4720 | |
5095 | 4721 2003-07-11 Russell Standish <R.Standish@unsw.edu.au> |
4459 | 4722 |
4723 * Array.h (resize_fill_value): Now a top-level template function. | |
4724 Accept object as argument. Change all uses. | |
4725 | |
4455 | 4726 2003-07-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
4727 | |
4728 * Array-flags.cc, Array-flags.h (liboctave_pcv_flag): Delete. | |
4729 | |
4730 * Array2-idx.h (Array2<T>::index): Use liboctave_wfi_flag, not | |
4731 liboctave_dfi_flag. | |
4732 (assign): Likewise. For indexed assignments like X(I) = RHS with | |
4733 X undefined or empty, always create a row vector. | |
4734 | |
4735 * Array-flags.cc (liboctave_wfi_flag): Rename from liboctave_dfi_flag. | |
4736 * Array-flags.h (liboctave_wfi_flag): Ditto. | |
4737 | |
4437 | 4738 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4739 | |
4740 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
4741 Magic colon indexing always produces an object with one column. | |
4742 | |
5095 | 4743 2003-06-21 Paul Kienzle <pkienzle@users.sf.net> |
4433 | 4744 |
4745 * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. | |
4746 | |
4747 * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. | |
4748 | |
4431 | 4749 2003-06-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4750 | |
4751 * dMatrix.cc (any_element_is_negative): If new optional arg | |
4752 neg_zero is true, also return true for negative zero. | |
4753 | |
4429 | 4754 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
4755 | |
4756 * DASSL.cc (DASSL::do_integrate): Set liw to 21 + n, not 20 + n. | |
4757 Handle step limit. | |
4758 * DASSL-opts.in: New option for step limit. | |
4759 | |
5095 | 4760 2003-06-16 Per Persson <persquare@mac.com> |
4429 | 4761 |
4762 * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. | |
4763 | |
4428 | 4764 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
4765 | |
4766 * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. | |
4767 Store step limit in iwork(20), not iwork(18). | |
4768 | |
5095 | 4769 2003-05-16 Paul Kienzle <pkienzle@users.sf.net> |
4415 | 4770 |
4771 * oct-rand.cc: Use liboctave's clock layer instead of the system clock. | |
4772 | |
4412 | 4773 2003-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4774 | |
4413 | 4775 * Makefile.in: Handle DESTDIR. |
4776 | |
4412 | 4777 * kpse.cc (kpse_path_iterator::next): Skip consecutive colons here. |
4778 (kpse_path_iterator::set_end): Don't miss last element when not | |
4779 followed by a colon. | |
4780 | |
4409 | 4781 2003-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4782 | |
4783 * Array-idx.h (Array<T>::index): Fix off-by-one error. | |
4784 | |
4785 2003-05-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4786 | |
4787 * kpse.cc (kpse_absolute_p): Fix typo in translation. | |
4788 (find_first_of): Also do an absolute search on each | |
4789 name before looking in the path. | |
4790 | |
4407 | 4791 2003-05-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
4792 | |
4793 * kpse.cc (dir_list_add): Ensure that directory ends with a | |
4794 directory separator. | |
4795 | |
4399 | 4796 2003-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4797 | |
4798 * pathsearch.cc: Include kpse.cc here. | |
4799 | |
4800 * kpse.cc: All functions are now static. Massive surgery to | |
4801 condense kpathsearch library to a single file of just the | |
4802 essentials for Octave and convert to using C++ strings (no more | |
4803 calls to malloc, very few calls to new, so there should be much | |
4804 less potential for introducing memory leaks now). | |
4805 | |
4806 * Makefile.in (EXTRAS): Move kpse.cc here from | |
4807 LIBOCT_PATHSEARCH_CXX_SOURCES. | |
4808 | |
4809 * kpse.h, kpse-config.h: Delete. | |
4810 * Makefile.in (INCLUDES): Delete them from the list. | |
4811 | |
4392 | 4812 2003-04-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
4813 | |
4814 * str-vec.cc (string_vector::append (const std::string&), | |
4815 string_vector::append (const string_vector&)): New methods. | |
4816 | |
4386 | 4817 2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4818 | |
4389 | 4819 * kpse.cc, kpse.h: Replace fn_type with std::string. |
4820 | |
4387 | 4821 * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. |
4822 | |
4386 | 4823 * kpse.cc (xclosedir): Don't define or declare for Windows. |
4824 (READABLE): Now a static function to avoid warnings from MinGW | |
4825 compiler. | |
4826 | |
4384 | 4827 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4828 | |
4385 | 4829 * kpse.cc: Move most functions from kpse-xfns.c here and make |
4830 static. Include most of kpse-xfns.h directly, removing | |
4831 unnecessary bits. | |
4832 | |
4384 | 4833 * dMatrix.cc (Matrix::pseudo_inverse): Now const. |
4834 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
4835 | |
4378 | 4836 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4837 | |
4838 * getopt.c, getopt1.c, getopt.h: Move here from kpathsea. | |
4839 * Makefile.in: Add them to the appropriates lists. | |
4840 | |
4841 * oct-getopt.c: Include "getopt.h", not <kpathsea/getopt.h>. | |
4842 | |
4843 * Makefile.in (liboctave.$(LIBEXT), liboctave.$(SHLEXT)): Adjust | |
4844 for new locations of kpathsea objects. | |
4845 Delete kpathsea targets. | |
4846 | |
4847 * pathsearch.cc (dir_path::set_program_name): Delete. | |
4848 | |
4849 * kpse.cc: New file. | |
4850 * Makefile.in (LIBOCT_PATHSEARCH_CXX_SOURCES): Add it to the list. | |
4851 | |
4852 * kpse.c: New file. | |
4853 * Makefile.in (LIBOCT_PATHSEARCH_C_SOURCES): Add it to the list. | |
4854 | |
4855 * kpse.h, kpse-config.h, kpse-xfns.h: New files. | |
4856 * Makefile.in (INCLUDES): Add them to the list. | |
4857 | |
4858 * oct-kpse.h: Delete. | |
4859 * Makefile.in (INCLUDES): Delete it from the list. | |
4860 | |
4374 | 4861 2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
4862 | |
4863 * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. | |
4864 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): | |
4865 Likewise. | |
4866 From Quentin H. Spencer <qspencer@ieee.org>. | |
4867 | |
4365 | 4868 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
4869 | |
4870 * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h". | |
4871 | |
4349 | 4872 2003-02-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
4873 | |
4352 | 4874 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Handle systems with or |
4875 without placement delete. | |
4876 | |
4349 | 4877 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Don't lose -0 |
4878 imaginary parts. | |
4879 | |
4880 * lo-ieee.h (lo_ieee_signbit): New macro. | |
4881 | |
5095 | 4882 2003-02-18 David Bateman <dbateman@free.fr> |
4329 | 4883 |
4884 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
4885 Use Lapack instead of Linpack. | |
5315 | 4886 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
4329 | 4887 ComplexMatrix::solve): Likewise. |
4888 | |
4889 * dMatrix.cc (Matrix::determinant, Matrix::inverse): New arg, | |
4890 calc_cond. If 0, skip condition number calculation. | |
4891 * CMatrix.cc (ComplexMatrix::determinant, ComplexMatrix::inverse): | |
4892 Likewise. | |
4893 | |
4894 * CmplxLU.cc (ComplexLU::ComplexLU): Allow non-square matrices. | |
4895 * dbleLU.cc (LU::LU): Likewise. | |
4896 * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. | |
4897 | |
4898 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4899 | |
4900 * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: | |
4901 | |
4323 | 4902 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4903 | |
4904 * Array2-idx.h (Array2<T>::index): Fix thinko. | |
4905 Additional compatibility fix. | |
4906 | |
4907 2003-02-13 Arno Klaassen <arno@scito.com> | |
4908 | |
4909 * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
4910 ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: | |
4911 Sprinkle with Array<T>:: as necessary for gcc 3.4. | |
4912 | |
4322 | 4913 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
4914 | |
4915 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
4916 Compatibility fix. | |
4917 | |
4316 | 4918 2003-02-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4919 | |
4920 * CColVector.cc (ComplexColumnVector::extract_n): New function. | |
4921 * CRowVector.cc (ComplexRowVector::extract_n): Likewise. | |
4922 * CMatrix.cc (ComplexMatrix::extract_n): Likewise. | |
4923 * dColVector.cc (ColumnVector::extract_n): Likewise. | |
4924 * dRowVector.cc (RowVector::extract_n): Likewise. | |
4925 * dMatrix.cc (Matrix::extract_n): Likewise. | |
4926 | |
4927 * CColVector.cc (ComplexColumnVector::insert): Improve efficiency | |
4928 with make_unique and xelem. | |
4929 * CRowVector.cc (ComplexRowVector::insert): Likewise. | |
4930 * CMatrix.cc (ComplexMatrix::insert, ComplexMatrix::fill, | |
4931 ComplexMatrix::extract, ComplexMatrix::row, | |
4932 ComplexMatrix::column): Likewise. | |
4933 * dColVector.cc (ColumnVector::insert): Likewise. | |
4934 * dRowVector.cc (RowVector::insert): Likewise. | |
4935 * dMatrix.cc (Matrix::insert, Matrix::fill, Matrix::extract, | |
4936 Matrix::row, Matrix::column): Likewise. | |
4937 | |
4313 | 4938 2003-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4939 | |
4940 * lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN. | |
4941 | |
4309 | 4942 2003-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
4943 | |
4944 * CMatrix.cc, dMatrix.cc: Move min and max functions here, from | |
4945 src/DLD-FUNCTIONS/minmax.cc, and make them extern. | |
4946 * CMatrix.h, dMatrix.h: Provide decls. | |
4947 | |
4307 | 4948 2003-01-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4949 | |
4950 * oct-rand.h, oct-rand.cc: New files. | |
4951 * Makefile.in: Add them to the appropriate lists. | |
4952 | |
4306 | 4953 2003-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4954 | |
4955 * Array2-idx.h (Array2<T>::index): Fix off-by-one error. | |
4956 | |
4299 | 4957 2003-01-16 Mumit Khan <khan@nanotech.wisc.edu> |
4958 | |
4959 * oct-syscalls.cc: Include signal.h. | |
4960 | |
4294 | 4961 2003-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4962 | |
4963 * oct-syscalls.cc (octave_syscalls::kill): New function. | |
4964 * oct-syscalls.h: Provide decl. | |
4965 | |
4966 | |
4293 | 4967 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
4968 | |
4969 * dMatrix.cc (Matrix::read): Set size and return immediately if | |
4970 there is nothing to read. | |
4971 | |
4290 | 4972 2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
4973 | |
4974 * lo-cutils.c: Define _XOPEN_SOURCE. | |
4975 | |
4286 | 4976 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
4977 | |
4288 | 4978 * getopt.h: Update to version from kpathsearch, so we will install |
4979 the version that we are using. | |
4980 | |
4981 * getopt.c, getopt1.c: Delete. | |
4982 (INCLUDES): Delete them from the list. We'll get these files from | |
4983 kpathsearch. | |
4984 | |
4286 | 4985 * Makefile.in (liboctave.$(LIBEXT)): Link directly to |
4986 ../kpathsea/STATIC/*.o. | |
4987 (liboctave.$(SHLEXT)): Link directly to ../kpathsea/SHARED/*.o. | |
4988 | |
4270 | 4989 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
4990 | |
4282 | 4991 * dMatrix.cc (read_int, write_int): Avoid warnings about |
4992 unreachable code. | |
4993 | |
4279 | 4994 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete |
4995 to correspond to placement new operator. | |
4996 | |
4278 | 4997 * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. |
4998 (DET::value_will_underflow): Likewise. | |
4999 * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. | |
5000 (ComplexDET::value_will_underflow): Likewise. | |
5001 | |
4276 | 5002 * Makefile.in (distclean): Also remove stamp-prereq. |
5003 | |
4306 | 5004 * Array2-idx.h (Array2<T>::assign): If assignment conforms but the |
5005 RHS and index are empty matrices, don't do anything. | |
4270 | 5006 |
4242 | 5007 2002-12-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
5008 | |
5009 * pathsearch.cc (make_retval, free_c_array, make_c_names, | |
5010 delete_c_names): New helper functions. | |
5011 (dir_path::find_first_of): New function. | |
5012 (dir_path::find_all_first_of): Likewise. | |
5013 * pathsearch.h: Provide decls. | |
5014 | |
5015 * oct-kpse.c (octave_kpse_path_find_first_of): New function. | |
5016 (octave_kpse_all_path_find_first_of): Likewise. | |
5017 * oct-kpse.h: Provide decls. | |
5018 | |
4231 | 5019 2002-12-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5020 | |
5021 * ODESSA.cc (ODESSA::integrate): Handle maxord. | |
5022 * ODESSA-opts.in: Likewise. | |
5023 | |
5024 * LSODE.cc (ODESSA::integrate): Handle maxord. | |
5025 * LSODE-opts.in: Likewise. | |
5026 | |
4229 | 5027 2002-12-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5028 | |
4230 | 5029 * ODESSA.cc (ODESSA::ODESSA): Initialize "initialized" data member |
5030 in all constructors. | |
5031 | |
4229 | 5032 * Makefile.in (liboctave.$(SHLEXT)): Include $(LIBKPATHSEA) here. |
5033 (LINK_DEPS): Not here. | |
5034 | |
4219 | 5035 2002-12-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5036 | |
4220 | 5037 * str-vec.cc (string_vector::compare): New static member function. |
5038 * str-vec.h: Provide decl. | |
5039 (string_vector::sort): Use it. | |
5040 (str_vec_compare): Delete static function. | |
5041 | |
4219 | 5042 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Also declare and define |
5043 a placement operator new. | |
5044 | |
4209 | 5045 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5046 | |
4210 | 5047 * Matrix.h: Include mx-ops.h too. |
4209 | 5048 * mx-ops.h: New file. |
5049 | |
4192 | 5050 2002-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5051 | |
5052 * DASRT.cc, DASRT.h, Array.cc, ArrayN.h, Array.h, Array2.cc, | |
5053 Array2.h, Array3.cc, Array3.h, Bounds.cc, Bounds.h, CRowVector.h, | |
5054 CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, CMatrix.h, | |
5055 CRowVector.cc, CColVector.h, ChangeLog, CmplxAEPBAL.cc, | |
5056 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
5057 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
5058 CmplxQR.h, CmplxQRP.cc, ArrayN.cc, CmplxQRP.h, CmplxSCHUR.cc, | |
5059 CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, dMatrix.cc, | |
5060 CollocWt.h, EIG.h, DASSL.cc, FEGrid.h, DASSL.h, DiagArray2.cc, | |
5061 DiagArray2.h, EIG.cc, FEGrid.cc, LSODE.cc, LPsolve.cc, LPsolve.h, | |
5062 LSODE.h, LinConst.cc, LinConst.h, MArray.h, MArray.cc, MArray2.cc, | |
5063 MArray2.h, MDiagArray2.cc, MDiagArray2.h, Range.cc, NLConst.h, | |
5064 NLEqn.cc, Range.h, NLEqn.h, Quad.cc, dbleQR.h, Quad.h, base-lu.cc, | |
5065 base-lu.h, boolMatrix.cc, boolMatrix.h, dColVector.cc, | |
5066 dColVector.h, dDiagMatrix.cc, dDiagMatrix.h, dMatrix.h, | |
5067 dRowVector.cc, dRowVector.h, dbleAEPBAL.cc, dbleAEPBAL.h, | |
5068 dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, dbleDET.h, dbleHESS.cc, | |
5069 dbleHESS.h, dbleLU.cc, dbleLU.h, dbleQR.cc, dbleQRP.cc, dbleQRP.h, | |
5070 dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, | |
5071 idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, | |
5072 ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: | |
5073 Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of | |
5074 "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". | |
5075 | |
4184 | 5076 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5077 | |
5078 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_GLOBAL too. | |
5079 From Remy Bruno <remy.bruno@libertysurf.fr> | |
5080 | |
4180 | 5081 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5082 | |
5083 * lo-specfun.cc: Use F77_FUNC instead of F77_XFCN for calls to | |
5084 fortran code that should run fast enough that it is not worth all | |
5085 the setup costs of F77_XFCN. | |
5086 | |
5087 * Quad.cc (user_function): Surround body of function with | |
5088 BEGIN_INTERRUPT_WITH_EXCEPTIONS, END_INTERRUPT_WITH_EXCEPTIONS. | |
5089 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Likewise. | |
5090 * NLEqn.cc (hybrd1_fcn, hybrj1_fcn): Likewise. | |
5091 * LSODE.cc (lsode_f, lsode_j): Likewise. | |
5092 * DASSL.cc (ddassl_f, ddassl_j): Likewise. | |
5093 * DASRT.cc (ddasrt_f, ddasrt_j, ddasrt_g): Likewise. | |
5094 * DASPK.cc (ddaspk_f, ddaspk_psol, ddaspk_j): Likewise. | |
5095 | |
4164 | 5096 2002-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5097 | |
5098 * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead | |
5099 of ! defined (linux). | |
5100 | |
5095 | 5101 2002-11-09 Per Persson <persquare@mac.com> |
4162 | 5102 |
5103 * oct-shlib.cc (octave_dyld_shlib): New class. | |
5104 (make_shlib): Instantiate octave_dyld_shlib. | |
5105 | |
4152 | 5106 2002-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5107 | |
4153 | 5108 * CMatrix.cc, dMatrix.cc: Sprinkle with OCTAVE_QUIT. |
5109 | |
4152 | 5110 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Abort on error. |
5111 | |
5112 * Array.h: Include <cstddef> here. | |
5113 | |
4142 | 5114 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
5115 | |
4144 | 5116 * DASPK.cc (DASPK::do_integrate): Resize rwork and iwork before |
5117 using them. Accept inequality contraint option of 0. Assign | |
5118 pabs_tol and prel_tol before calling DASPK. Don't redeclare | |
5119 abs_tol and rel_tol. | |
5120 | |
4143 | 5121 * cmd-edit.h (command_editor::filename_completion_desired): New |
5122 static function. | |
5123 (command_editor::do_filename_completion_desired): New virtual function. | |
5124 * oct-rl-edit.c (octave_rl_filename_completion_desired): New function. | |
5125 * oct-rl-edit.h: Provide decl. | |
5126 | |
4142 | 5127 * Array2.cc (Array2<T>::get_size): #define MALLOC_OVERHEAD to |
5128 avoid OS X linker bug. | |
5129 * ArrayN.cc (ArrayN<T>::get_size): Likewise. | |
5130 | |
4139 | 5131 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
5132 | |
4141 | 5133 * ODESFunc.h (ODESFunc::ODES_fsub, ODESFunc::ODES_bsub, |
5134 ODESFunc::ODES_jsub): Reorder args for consistency with other | |
5135 solvers. | |
5136 * ODESSA.cc: Fix all callers. | |
5137 | |
4139 | 5138 * mx-inlines.cc (MX_BASE_REDUCTION_OP): Also return scalar |
5139 MT_RESULT if nr == 1 && nc == 0 && dim == -1 (i.e., | |
5140 sum(zeros(1,0)) returns 0, not [](1x0)). | |
5141 | |
4136 | 5142 2002-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5143 | |
5144 * Makefile.in (LINK_DEPS): Include $(FLIBS) here too. | |
5145 | |
4132 | 5146 2002-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5147 | |
4133 | 5148 * DASRT.cc (DASRT::integrate): Fix computation of lrw |
5149 (ddasrt_f): Combine loops. | |
5150 | |
4132 | 5151 * NLEqn.cc (NLEqn::solve): Return current estimate of solution |
5152 instead of empty vector if user termninates iteration. | |
5153 | |
4130 | 5154 2002-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5155 | |
5156 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
5157 octave_read_complex, octave_write_double, octave_write_complex): | |
5158 New functions. | |
5159 * CMatrix.cc (operator << (std::ostream&, const ComplexMatrix&)): | |
5160 Use octave_write_complex. | |
5161 (operator >> (std::istream&, const ComplexMatrix&)): | |
5162 Use octave_read_complex. | |
5163 * dMatrix.cc (operator << (std::ostream&, double)): | |
5164 Use octave_write_double. | |
5165 (operator >> (std::istream&, double)): Use octave_read_double. | |
5166 | |
4126 | 5167 2002-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5168 | |
5169 * oct-kpse.c (octave_kpse_clear_dir_cache): Delete. | |
5170 * oct-kpse.h: Delete decl. | |
5171 * pathsearch.cc (dir_path::init): Delete unnecessary call to | |
5172 ::octave_kpse_clear_dir_cache. | |
5173 | |
4123 | 5174 2002-10-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5175 | |
4124 | 5176 * lo-sstream.h: Undef HAVE_SSTREAM if using a version of g++ |
5177 earlier than 3.0. | |
5178 | |
4123 | 5179 * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. |
5180 (liboctave.$(SHLEXT)): Not here. | |
5181 | |
5095 | 5182 2002-10-17 Paul Kienzle <pkienzle@users.sf.net> |
4110 | 5183 |
5184 * oct-shlib.cc (octave_w32_shlib): New class to support Windows. | |
5185 | |
4108 | 5186 2002-10-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5187 | |
5188 * Makefile.in (install-lib): Don't bother with versions for | |
5189 $(SHLBIN) files. | |
5190 | |
5095 | 5191 2002-10-16 Paul Kienzle <pkienzle@users.sf.net> |
4105 | 5192 |
5193 * Makefile.in (LIB_DEPS): Include $(LIBS). | |
5194 | |
4102 | 5195 2002-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5196 | |
5197 * lo-cieee.c: Move everything but lo_ieee_init here. | |
5198 (lo_ieee_Inf_value, lo_ieee_NA_value, lo_ieee_NaN_value): | |
5199 New functions. | |
5200 | |
5201 * Makefile.in (install): No need to use cd to create links. | |
5202 (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. | |
5203 | |
5095 | 5204 2002-10-14 Paul Kienzle <pkienzle@users.sf.net> |
4102 | 5205 |
5206 * Makefile.in: Merge liboctave with liboct-readline and | |
5207 liboct-pathsearch. | |
5208 Use link dependencies for shared libs if INCLUDE_LINK_DEPS. | |
5209 (libraries): Depend on versioned library. | |
5210 (liboctave.$(SHLEXT), liboctave.$(SHLEXT_VER)): Reverse actions -- | |
5211 build unversioned library, symbolic link adds version info. | |
5212 (install, uninstall): Handle link and load forms of the library | |
5213 separately. | |
5214 | |
4101 | 5215 2002-10-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5216 | |
5217 * oct-time.cc: Use OCTAVE_USE_WINDOWS_API instead of __WIN32__ and | |
5218 __CYGWIN__. | |
5219 | |
5220 * file-ops.cc (file_ops::dir_sep_char, file_ops::dir_sep_str, | |
5221 file_ops::dir_sep_chars): New static functions to replace | |
5222 OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS. | |
5223 | |
5224 * oct-env.cc (octave_env::do_set_program_name): | |
5225 Use file_ops::dir_sep_chars instead of OCTAVE_DIR_SEP_CHARS. | |
5226 (octave_env::do_base_pathname): Likewise. | |
5227 (octave_env::do_make_absolute): Likewise. | |
5228 | |
5229 * oct-env.cc (octave_env::do_make_absolute): | |
5230 Use file_ops::dir_sep_str instead of OCTAVE_DIR_SEP_STR. | |
5231 (octave_env::do_get_home_directory): Likewise. | |
5232 | |
5233 * file-ops.cc (is_dir_sep): Use dir_sep_chars instead of embedding | |
5234 that information here too. | |
5235 (tilde_find_suffix, isolate_tilde_prefix, tilde_expand_word): | |
5236 Use file_ops::dir_sep_char instead of OCTAVE_DIR_SEP_CHAR. | |
5237 | |
5238 * file-ops.h: Use OCTAVE_HAVE_WINDOWS_FILESYSTEM and | |
5239 OCTAVE_HAVE_POSIX_FILESYSTEM instead of __WIN32__ and __CYGWIN__. | |
5240 | |
4097 | 5241 2002-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5242 | |
5243 * oct-env.h (octave_env::current_directory): Now mutable. | |
5244 (octave_env:do_getcwd): Now const. | |
5245 | |
5246 * file-ops.h, file-ops.cc (file_ops::is_dir_sep): New function. | |
5247 (OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS, | |
5248 OCTAVE_CURRENT_DIR_STR): New macros. | |
5249 * oct-env.cc (is_dir_sep): Delete. | |
5250 (octave_env::do_base_pathname): Look for OCTAVE_DIR_SEP_CHARS, not '/'. | |
5251 (octave_env::do_set_program_name): Likewise. | |
5252 (octave_env::do_polite_directory_format): Use file_ops::is_dir_sep | |
5253 instead of checking for '/'. | |
5254 (octave_env::pathname_backup): Likewise. | |
5255 (octave_env::do_absolute_pathname): Likewise. | |
5256 (octave_env::do_make_absolute): Likewise. | |
5257 If dot_path is empty, use getcwd to set current_dir. | |
5258 (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR | |
5259 instead of "/". | |
5260 | |
5095 | 5261 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 5262 |
5263 * lo-cutils.c: On non-Posix Windows systems, include winsock.h. | |
5264 | |
5095 | 5265 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 5266 |
5267 * oct-env.cc (octave_env::do_absolute_pathname): Recognize | |
5268 absolute path names under MinGW as well. | |
5269 | |
5270 2002-10-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5271 | |
5272 * oct-env.cc: Include <cctype> too. | |
5273 | |
4087 | 5274 2002-10-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5275 | |
5276 * oct-env.cc (octave_env::do_absolute_pathname): Handle Windows | |
5277 filenames. | |
5278 (octave_env::do_make_absolute): Check for absolute name with | |
5279 do_absolute_path. | |
4088 | 5280 (octave_env::do_chdir): Likewise. |
5281 (is_dir_sep): New function. | |
4087 | 5282 |
5095 | 5283 2002-10-03 Paul Kienzle <pkienzle@users.sf.net> |
4085 | 5284 |
4086 | 5285 * oct-time.cc (octave_time::stamp): Better resolution for Windows |
5286 systems. | |
4085 | 5287 |
4083 | 5288 2002-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5289 | |
5290 * dMatrix.cc (Matrix::read): Clean up error handling logic. | |
5291 | |
4080 | 5292 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5293 | |
4081 | 5294 * file-ops.cc (file_ops::mkdir): Handle one-arg mkdir here. |
5295 | |
4080 | 5296 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
5297 | |
5095 | 5298 2002-09-27 Per Persson <persquare@mac.com> |
4076 | 5299 |
5300 * oct-group.cc (octave_group::octave_group): Dont' forget to set | |
5301 gr_gid too. | |
5302 | |
4072 | 5303 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
5304 | |
4074 | 5305 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
5306 lo_ieee_* functions. | |
4072 | 5307 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074 | 5308 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
5309 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. | |
4072 | 5310 * lo-cieee.c: New file. |
4074 | 5311 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072 | 5312 * lo-ieee.h: Now all extern "C". |
4074 | 5313 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
5314 lo-mappers.cc and rename from xisnan, xfinite, xisinf. | |
5315 | |
4072 | 5316 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
5317 Now extern. | |
5318 | |
4066 | 5319 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
5320 | |
5321 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
5322 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
5323 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
5324 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
5325 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
5326 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
5327 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
5328 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
5329 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
5330 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
5331 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
5332 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
5333 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
5334 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
5335 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
5336 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
5337 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
5338 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
5339 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
5340 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
5341 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
5342 oct-alloc.cc: | |
5343 If __GNUG__, use pragma interface/implementation. Allow this to | |
5344 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. | |
5345 | |
5095 | 5346 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
4064 | 5347 |
4066 | 5348 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
5349 system readlink function is not available. | |
5350 | |
4065 | 5351 * lo-mappers.cc (xerf, xerfc): Delete. |
5352 * lo-mappers.h (xerf, xerfc): Delete decls. | |
5353 | |
4064 | 5354 * lo-mappers.cc: Remove unused #define M_PI. |
5355 * lo-specfun.cc: Add #define M_PI if needed. | |
5356 | |
4062 | 5357 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5358 | |
5359 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility | |
5360 that geteuid doesn't exist. | |
5361 | |
5362 * LP.h: Rename LP class to octave_LP. | |
5363 LPsolve.h: Change all uses. | |
5364 | |
5365 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove | |
5366 incorrect token-pasting op. | |
5367 | |
5368 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to | |
5369 define lstat. | |
5370 | |
4061 | 5371 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5372 | |
5373 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
5374 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
5375 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
5376 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
5377 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
5378 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
5379 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
5380 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
5381 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
5382 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
5383 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
5384 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
5385 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
5386 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
5387 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
5388 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
5389 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
5390 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
5391 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
5392 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
5393 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
5394 oct-alloc.cc: | |
5395 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ | |
5396 to decide whether to use the interface/implementation pragmas. | |
5397 | |
4058 | 5398 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5399 | |
5400 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. | |
5401 | |
4055 | 5402 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
5403 | |
5404 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use | |
5405 qualified names. | |
5406 | |
4051 | 5407 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5408 | |
4054 | 5409 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
5410 ArrayN.cc: Add typename where needed. | |
4053 | 5411 |
4051 | 5412 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
5413 strstream classes directly. | |
5414 * DASRT.cc: Likewise. | |
5415 * DASSL.cc: Likewise. | |
5416 * LSODE.cc: Likewise. | |
5417 * ODESSA.cc: Likewise. | |
5418 | |
5419 * cmd-hist.cc: Don't include <strstream>. | |
5420 * oct-shlib.cc: Likewise. | |
5421 | |
5422 * lo-sstream.h: New file. | |
5423 | |
4049 | 5424 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5425 | |
5426 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): | |
5427 New data members. | |
5428 (LSODE::sanity_checked): Delete unused data member. | |
5429 | |
5430 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, | |
5431 prel_tol, pinfo, piwork, prwork): New data members. | |
5432 * DASSL.h (DASSL): Likewise. | |
5433 | |
5434 * DASRT.h (DASRT::sanity_checked): Delete unused data member. | |
5435 | |
5436 * DASRT.cc (DASRT::integrate (double)): Better handling of | |
5437 initialization, changes in options, etc. | |
5438 * DASPK.cc (DASPK::do_integrate): Likewise. | |
5439 * DASSL.cc (DASSL::do_integrate): Likewise. | |
5440 * LSODE.cc (LSODE::do_integrate): Likewise. | |
5441 | |
4047 | 5442 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5443 | |
4049 | 5444 * DAEFunc.h (DAEFunc::reset): New data member. |
5445 * DAERTFunc.h (DAERTFunc::reset): Likewise. | |
5446 | |
5447 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. | |
5448 (base_diff_eqn::clear_stop_time): Likewise. | |
5449 | |
4047 | 5450 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
5451 * DASPK.cc (DASPK::do_integrate (double)): Likewise. | |
5452 | |
5095 | 5453 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
4044 | 5454 |
5455 * DASPK-opts.in, DASPK.h: Move include to .in file. | |
5456 * DASRT-opts.in, DASRT.h: Likewise. | |
5457 * DASSL-opts.in, DASSL.h: Likewise. | |
5458 * LSODE-opts.in, LSODE.h: Likewise. | |
5459 * NLEqn-opts.in, NLEqn.h: Likewise. | |
5460 * ODESSA-opts.in, ODESSA.h: Likewise. | |
5461 | |
4038 | 5462 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5463 | |
4042 | 5464 * LSODE.cc (LSODE::error_message): Also return current T on |
5465 failures when that makes sense. | |
4043 | 5466 * DASSL.cc (DASSL::error_message): Likewise. |
5467 * DASRT.cc (DASRT::error_message): Likewise. | |
5468 * DASPK.cc (DASPK::error_message): Likewise. | |
5469 * ODESSA.cc (ODESSA:error_message): Likewise. | |
4042 | 5470 |
4038 | 5471 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
5472 $(LIBKPATHSEA) here. | |
5473 | |
4025 | 5474 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5475 | |
5476 * lo-ieee.cc (lo_ieee_is_NA): New function. | |
5477 (lo_ieee_is_NaN_or_NA): New function. | |
5478 (octave_NA): New global value. | |
5479 (octave_ieee_init): Initialize it. | |
5480 * lo-mappers.cc (octave_is_NA): New function. | |
5481 (octave_is_NaN_or_NA): New function. | |
5482 (xisnan): Return false if NaN looks like a missing value. | |
5483 (xisnan (const Complex&)): Use xisnan here. | |
5484 | |
4015 | 5485 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5486 | |
4017 | 5487 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
5488 ComplexMatrix::cumprod, ComplexMatrix::cumsum, | |
5489 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): | |
5490 Default value for dim is -1, not 0. | |
5491 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, | |
5492 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. | |
5493 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. | |
5494 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. | |
5495 | |
4015 | 5496 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
5497 New macros. | |
5498 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and | |
5499 MX_BASE_REDUCTION_OP. | |
5500 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. | |
5501 | |
4014 | 5502 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
5503 | |
4015 | 5504 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
5505 Return boolMatrix, not Matrix. | |
5506 | |
5507 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. | |
5508 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. | |
5509 (Matrix::all): Replace guts with MX_ALL_OP. | |
5510 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. | |
5511 (ComplexMatrix::all): Replace guts with MX_ALL_OP. | |
5512 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. | |
5513 (boolMatrix::all): Replace guts with MX_ALL_OP. | |
5514 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. | |
5515 (charMatrix::all): Replace guts with MX_ALL_OP. | |
5516 | |
5517 * dMatrix.h (Matrix::any): New arg, dim. | |
5518 (Matrix::all): Likewise. | |
5519 * CMatrix.h (ComplexMatrix::any): Likewise. | |
5520 (ComplexMatrix::all): Likewise. | |
5521 * boolMatrix.h (boolMatrix::any): Likewise. | |
5522 (boolMatrix::all): Likewise. | |
5523 * chMatrix.h (charMatrix::any): Likewise. | |
5524 (charMatrix::all): Likewise. | |
5525 | |
4014 | 5526 * Makefile.in: Use $@-t instead of $@.t. |
5527 | |
4004 | 5528 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5529 | |
5530 * lo-specfun.cc (gammainc): New arg, err, for scalar version. | |
5531 Use it in matrix versions to avoid spewing multiple errors. | |
5532 Call xgammainc instead of dgamit. | |
5533 | |
3998 | 5534 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5535 | |
5536 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): | |
5537 Get rows and columns right in loop. | |
5538 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. | |
5539 | |
5540 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5541 | |
5542 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. | |
5543 * DASRT.cc (DASRT::integrate): Likewise. | |
5544 * DASSL.cc (DASSL::do_integrate): Likewise. | |
5545 | |
5546 * Quad.cc: Don't pass tolerances in constructors. | |
5547 | |
5548 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, | |
5549 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. | |
5550 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, | |
5551 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically | |
5552 from corresponding .in files. | |
5553 * LSODE.h, Quad.h: Replace options class definitions with included | |
5554 file. | |
5555 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to | |
5556 create OPTS_INC files from OPTS_INC_SRC files. | |
5557 (stamp-prereq): New target. | |
5558 (libraries): Depend on stamp-prereq. | |
5559 Include stamp-prereq along with $(MAKEDEPS). | |
5560 | |
3997 | 5561 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5562 | |
5563 * base-de.h (base_diff_eqn::istate): New data member. | |
5564 (base_diff_eqn::integration_state): New member function. | |
5565 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding | |
5566 data members and functions. | |
5567 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. | |
5568 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. | |
5569 | |
3990 | 5570 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5571 | |
3995 | 5572 * base-de.h (base_diff_eqn::stop_time, |
5573 base_diff_eqn::stop_time_set, base_diff_eqn::restart, | |
5574 base_diff_eqn::integration_error): New data members. | |
5575 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, | |
5576 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, | |
5577 base_diff_eqn::error_message): New member functions. | |
5578 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, | |
5579 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data | |
5580 members and functions. | |
5581 | |
3992 | 5582 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
5583 * DASRT.cc (DASRT::DASRT): Set ng here. | |
3993 | 5584 (DASRT::integrate): Don't forget to set nn. |
3992 | 5585 |
3991 | 5586 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
5587 * DASSL.cc (ddassl_j): Make it work. | |
5588 * DASPK.cc (ddaspk_j): Likewise. | |
5589 | |
3990 | 5590 * DAE.cc: Delete. |
5591 | |
5592 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE | |
5593 solving with root finding. | |
5594 * Makefile.in: Add them to the appropriate lists. | |
5595 | |
5596 * base-dae.h: New file. | |
5597 * Makefile.in (INCLUDES): Add it to the list. | |
5598 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. | |
5599 | |
3984 | 5600 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5601 | |
5602 * ODE.h: Move integrate and do_integrate method declarations and | |
5603 definitions here. | |
5604 * base-de.h: From here. | |
5605 | |
5606 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. | |
5607 * Makefile.in: Add them to the appropriate lists. | |
5608 (LIBOCTAVE_CXX_SOURCES): | |
5609 | |
3971 | 5610 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5611 | |
5612 * NLEqn.cc (NLEqn::error_message): New function. | |
5613 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. | |
5614 | |
3970 | 5615 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
5616 | |
5617 * lo-utils.cc (octave_fgetl): New function. | |
5618 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. | |
5619 | |
3959 | 5620 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5621 | |
5622 * LSODE.cc (LSODE::error_message): New function. | |
5623 * LSODE.h: Provide decl. | |
5624 (LSODE::integration_state): New function. | |
5625 (LSODE::integration_ok): New function. | |
5626 | |
3952 | 5627 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5628 | |
3955 | 5629 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
5630 (LSODE_options::set_integration_method, | |
5631 LSODE_options::integration_method): New functions. | |
3954 | 5632 |
3952 | 5633 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
5634 Change all uses. | |
5635 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. | |
5636 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): | |
5637 New function. | |
5638 | |
5639 * Array.h (Array::fortran_vec): New const version. | |
5640 | |
3951 | 5641 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5642 | |
5643 * cmd-edit.cc (gnu_readline::history_search_backward): New function. | |
5644 (gnu_readline::history_search_forward): Likewise. | |
5645 (gnu_readline::gnu_readline): Use them instead of passing pointers | |
5646 to extern "C" functions to octave_rl_ad_defun. | |
5647 | |
5095 | 5648 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
3946 | 5649 |
5650 * DASPK.cc (ddaspk_psol): Return value. | |
5651 * oct-rl-edit.c: Use /* ... */ to comment. | |
5652 | |
3945 | 5653 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5654 | |
5655 * DASSL.h (DASSL_options::init): Undo previous change. | |
5656 (DASSL_options::set_absolute_tolerance): Likewise. | |
5657 * LSODE.h (LSODE_options::init): Likewise. | |
5658 (LSODE_options::set_absolute_tolerance): Likewise. | |
5659 | |
5660 * DASPK.h (DASPK_options::init): Use default absolute tolerance of | |
5661 sqrt(eps), not eps^2. | |
5662 DASPK_options::set_absolute_tolerance): Likewise. | |
5663 | |
5095 | 5664 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
3944 | 5665 |
5666 * Array.h (Array<T>::resize_fill_value): Return default initialized | |
5667 object. | |
5668 | |
3933 | 5669 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5670 | |
5671 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. | |
5672 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. | |
5673 (octave_rl_set_basic_word_break_characters, | |
5674 octave_rl_set_completer_word_break_characters): New functions. | |
5675 * oct-rl-edit.h: Provide decls. | |
5676 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, | |
5677 gnu_readline::do_set_completer_word_break_characters): New functions. | |
5678 (command_editor::set_basic_quote_characters, | |
5679 command_editor::set_completion_append_character): New static functions. | |
5680 * cmd-edit.h: Provide decls. | |
5681 (command_editor::do_set_basic_word_break_characters, | |
5682 command_editor::do_set_completer_word_break_characters): | |
5683 New virtual functions. | |
5684 | |
5685 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h | |
5686 (resize_fill_value): New static function. | |
5687 | |
5688 * Array-idx.h (Array<T>::index): New args, resize_ok and | |
5689 resize_fill_value. | |
5690 * Array2-idx.h (Array2<T>::index): Likewise. | |
5691 * ArrayN-idx.h (ArrayN<T>::index): Likewise. | |
5692 | |
5693 * Array2.cc (Array<T>::print_info): New function. | |
5694 * Array2.h: Provide decl. | |
5695 | |
5696 * Array.cc (Array<T>::print_info): New function. | |
5697 * Array.h: Provide decl. | |
5698 | |
3928 | 5699 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5700 | |
5701 * idx-vector.h (idx_vector::idx_vector (int)): New function. | |
5702 (idx_vector_rep::idx_vector_rep (int)): New decl. | |
5703 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. | |
5704 | |
5705 * Array.h (Array<T>::resize_fill_value (void)): New static function. | |
5706 (assign (Array<LT>&, const Array<RT>&)): Use it. | |
5707 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. | |
5708 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. | |
5709 | |
5095 | 5710 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
3928 | 5711 |
5712 * Array3.h (Array3<T>::checkelem): Improve error message. | |
5713 * ArrayN.h (ArrayN<T>::range_error): Likewise. | |
5714 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. | |
5715 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. | |
5716 | |
3919 | 5717 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5718 | |
5719 * DASSL.h (DASSL_options::init): Undo previous change. | |
5720 (DASSL_options::set_absolute_tolerance): Likewise. | |
5721 | |
3912 | 5722 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
5723 | |
5724 * DASPK.h, DASPK.cc: New files. | |
5725 * Makefile.in: Add them to the appropriate lists. | |
5726 | |
3904 | 5727 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5728 | |
5729 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): | |
5730 Simplify indexing when one or both of the indices are empty. | |
5731 | |
3896 | 5732 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5733 | |
5734 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. | |
5735 (DASSL_options::set_absolute_tolerance): Likewise. | |
5736 * LSODE.h (LSODE_options::init): Likewise. | |
5737 (LSODE_options::set_absolute_tolerance): Likewise. | |
5738 | |
5095 | 5739 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
3887 | 5740 |
5741 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. | |
5742 * file-stat.cc (file_stat::update_internal, file_stat::copy): | |
5743 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. | |
5744 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. | |
5745 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. | |
5746 * file-stat.h: Likewise. | |
5747 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, | |
5748 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE | |
5749 instead of HAVE_STRUCT_TM_TM_ZONE. | |
5750 * strftime.c: Likewise. | |
5751 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, | |
5752 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, | |
5753 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, | |
5754 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, | |
5755 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
5756 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
5757 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. | |
5758 | |
5095 | 5759 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
3883 | 5760 |
5761 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition | |
5762 internally when the user requests it. | |
5763 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
5764 * dbleQR.cc (QR::init): Ditto. | |
5765 * dbleQRP.cc (QRP::init): Ditto. | |
5766 | |
3874 | 5767 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5768 | |
5769 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a | |
5770 definition for NULL by passing 0 as the last arg to fftwnd_one. | |
5771 (octave_fftw::ifft2d): Likewise. | |
5772 | |
5095 | 5773 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
3873 | 5774 |
5775 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). | |
5776 | |
3867 | 5777 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5778 | |
5779 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. | |
5780 (LS_DO_WRITE): Likewise. | |
5781 | |
3864 | 5782 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5783 | |
5784 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. | |
5785 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. | |
5786 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. | |
5787 | |
5788 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, | |
5789 MX_REDUCTION_OP_ROW_EXPR): New macros. | |
5790 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. | |
5791 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. | |
5792 | |
5793 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. | |
5794 DIM == -1 now means no orientation for vector sums. | |
5795 * dMatrix.cc (ComplexMatrix::sumsq): Use it. | |
5796 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. | |
5797 | |
3858 | 5798 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5799 | |
5800 * Range.cc (Range::nelem_internal): Special case ranges that must | |
5801 have zero elements. | |
5802 | |
3854 | 5803 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5804 | |
3857 | 5805 * Makefile.in: Split out readline and pathsearch functionality |
5806 into separate liboct-readline and liboct-pathsearch libraries. | |
5807 | |
3854 | 5808 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857 | 5809 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
5810 to do nothing for this call to rl_clear_screen. | |
3854 | 5811 |
3849 | 5812 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5813 | |
5814 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied | |
5815 function. | |
5816 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. | |
5817 | |
3838 | 5818 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
5819 | |
5820 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, | |
5821 Matrix::inverse): Handle the case of rcond being a NaN the same as | |
5822 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. | |
5823 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, | |
5824 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. | |
5825 | |
3836 | 5826 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
5827 | |
5828 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. | |
5829 | |
5830 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, | |
5831 Array-b.cc: Instantiate three arg assign functions. | |
5832 | |
5833 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): | |
5834 New arg, resize_fill_value. | |
5835 * ArrayN.h: Provide declaration. | |
5836 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling | |
5837 three arg version. | |
5838 | |
5839 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): | |
5840 New arg, resize_fill_value. | |
5841 * Array3.h: Provide declaration. | |
5842 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling | |
5843 three arg version. | |
5844 | |
5845 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
5846 New arg, resize_fill_value. | |
5847 * Array2.h: Provide declaration. | |
5848 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling | |
5849 three arg version. | |
5850 | |
5851 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
5852 New arg, resize_fill_value. | |
5853 * Array.h: Provide declaration. | |
5854 (assign (Array<LT>&, const Array<RT>&): Define here by calling | |
5855 three arg version. | |
5856 | |
3833 | 5857 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5858 | |
5859 * pathsearch.cc (dir_path::set_program_name): Set the environment | |
5860 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS | |
5861 to the empty string. | |
5862 | |
3832 | 5863 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5864 | |
5865 * Array2.h (Array2<T>::operator = (const Array2<T>&)): | |
5866 Don't check for rep != a.rep. | |
5867 | |
3827 | 5868 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
5869 | |
5870 * oct-fftw.h, oct-fftw.cc: New files. | |
5871 * Makefile.in (INCLUDES, SOURCES): Add new files. | |
5872 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, | |
5873 ifourier2d}): Use fftw if available. | |
5874 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): | |
5875 Likewise. | |
5876 | |
3821 | 5877 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5878 | |
5879 * Makefile.in (install-lib): Don't use mk-libdir-link. | |
5880 (install-inc): Don't use mk-includedir-link. | |
5881 | |
3803 | 5882 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5883 | |
5884 * lo-cutils.c (octave_gethostname): New function. | |
5885 * lo-utils.h: Provide declaration. | |
5886 * oct-env.cc (octave_env::do_get_host_name): | |
5887 Call octave_gethostname, instead of gethostname. | |
5888 | |
5889 * lo-cutils.c (gethostname): Define here. | |
5890 * lo-sysdep.cc: Not here. | |
5891 | |
3786 | 5892 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
5893 | |
5894 * lo-cutils.c: Don't declare strptime. | |
5895 (oct_strptime): Cast return type of strptime to char*. | |
5896 | |
3777 | 5897 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5898 | |
3779 | 5899 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
5900 (octave_rl_set_name): call rl_re_read_init_file with two args. | |
5901 (octave_rl_read_init_file): Ditto. | |
5902 (octave_rl_clear_undo_list): Call rl_free_undo_list, not | |
5903 free_undo_list. | |
5904 (octave_rl_completion_matches): Call rl_completion_matches, not | |
5905 completion_matches. | |
5906 (octave_rl_enable_paren_matching): New function. | |
5907 (octave_rl_set_blink_matching_paren_flag): Delete. | |
5908 (octave_rl_get_blink_matching_paren_flag): Delete. | |
5909 | |
3777 | 5910 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
5911 tanh (const Complex&)): Declare and define if not | |
5912 CXX_ISO_COMPLIANT_LIBRARY. | |
5913 | |
3776 | 5914 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
5915 | |
5916 * lo-mappers.h (tanh (const Complex&)): Only declare if not | |
5917 CXX_ISO_COMPLIANT_LIBRARY. | |
5918 | |
3775 | 5919 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
5920 | |
3776 | 5921 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
5922 CXX_ISO_COMPLIANT_LIBRARY. | |
5923 | |
3775 | 5924 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
5925 archive libraries containing templates. | |
5926 | |
5927 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, | |
5928 get_zero_len_size, all_colon_equiv): Inline. | |
5929 (ArrayN<T>::index): Rename idx to arr_idx. | |
5930 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, | |
5931 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, | |
5932 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. | |
5933 | |
5934 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5935 | |
5936 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), | |
5937 log10 (const Complex&)): Delete. | |
5938 | |
5939 * oct-cmplx.h: Define forwarding functions for real, imag, abs, | |
5940 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, | |
5941 sinh, sqrt, tan, and tanh. | |
5942 | |
3769 | 5943 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
5944 | |
5945 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: | |
5946 Add std:: namespace qualifier as needed. | |
5947 | |
5948 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. | |
5949 Change all uses to match. | |
5950 | |
3767 | 5951 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5952 | |
5953 * lo-cutils.c: Don't delcare strptime. | |
5954 | |
3760 | 5955 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5956 | |
5957 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): | |
5958 Return correct size result for empty matrix case. | |
5959 | |
3757 | 5960 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5961 | |
5962 * lo-mappers.cc (xmin (const Complex&, const Complex& y): | |
5963 If args are equal in magnitude, return first arg instead of | |
5964 second. | |
5965 | |
3752 | 5966 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
5967 | |
3755 | 5968 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
5969 then try harder to compute correct number of elements. | |
3753 | 5970 |
3752 | 5971 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
5972 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. | |
5973 | |
3750 | 5974 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5975 | |
3751 | 5976 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
5977 Rename n_intervals to be n_elt. | |
5978 | |
3750 | 5979 * strptime.c: Surround everything after including config.h in |
5980 #ifndef HAVE_STRPTIME ... #endif. | |
5981 | |
3742 | 5982 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5983 | |
5984 * Array-idx.h (assign): When resizing, cast fill value to LT. | |
5985 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. | |
5986 | |
3741 | 5987 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5988 | |
5989 * MArray-defs.h: Protect against multiple inclusion. | |
5990 | |
3739 | 5991 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5992 | |
5993 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the | |
5994 end of the list, to be compatible with previous versions of Octave. | |
5995 | |
3736 | 5996 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
5997 | |
5998 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, | |
5999 since mktime is supposed to `normalize' the results for us. | |
6000 | |
3731 | 6001 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
6002 | |
6003 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices | |
3732 | 6004 and vectors. Use xelem for faster access to elements when copying. |
3731 | 6005 |
3726 | 6006 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6007 | |
6008 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): | |
6009 Correct indexing for operation across rows. | |
6010 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. | |
6011 | |
3725 | 6012 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
6013 | |
6014 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying | |
6015 elements if arg is a colon. | |
6016 | |
5095 | 6017 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
3723 | 6018 |
3795 | 6019 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723 | 6020 (Matrix::cumsum (int) const): Likewise. |
6021 (Matrix::prod (int) const): Likewise. | |
6022 (Matrix::sum (int) const): Likewise. | |
6023 (Matrix::sumsq (int) const): Likewise. | |
6024 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. | |
6025 (ComplexMatrix::cumsum (int) const): Likewise. | |
6026 (ComplexMatrix::prod (int) const): Likewise. | |
6027 (ComplexMatrix::sum (int) const): Likewise. | |
6028 (ComplexMatrix::sumsq (int) const): Likewise. | |
6029 | |
3722 | 6030 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6031 | |
6032 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set | |
6033 size if Array<T>::index returns an empty array. | |
6034 | |
3710 | 6035 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6036 | |
6037 * file-ops.cc (file_ops::link, file_ops::symlink, | |
6038 file_ops::readlink): New functions. | |
6039 | |
3709 | 6040 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6041 | |
6042 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is | |
6043 indexed, always return an object the same size as the index arg. | |
6044 | |
6045 * oct-time.cc (octave_base_tm::strftime): Return empty string for | |
6046 empty format. | |
6047 | |
3706 | 6048 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6049 | |
6050 * lo-cutils.c (oct_strptime): New function. | |
6051 * oct-time.cc (octave_strptime::init): Call it instead of strptime. | |
6052 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. | |
6053 | |
3702 | 6054 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6055 | |
3703 | 6056 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
6057 | |
3702 | 6058 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
6059 | |
3689 | 6060 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6061 | |
6062 * dMatrix.h (read_int): Provide declaration. | |
6063 | |
3688 | 6064 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
6065 | |
6066 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. | |
6067 (write_doubles): Ditto. | |
6068 * data-conv.h: Ditto. | |
6069 (enum save_type): New values, LS_U_LONG and LS_LONG. | |
6070 | |
3685 | 6071 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
6072 | |
6073 * boolMatrix.h: Declare MM_CMP_OPS here. | |
6074 * boolMatrix.cc: Define them here. | |
6075 | |
3680 | 6076 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6077 | |
6078 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is | |
6079 previously undefined and set size of x to size of bool index. | |
6080 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): | |
6081 Allow z_len to be zero. | |
6082 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. | |
6083 If frozen, don't assert that frozen_at_z_len == z_len. | |
6084 | |
3670 | 6085 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6086 | |
6087 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen | |
6088 instead of rl_clear_screen. | |
6089 | |
3665 | 6090 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6091 | |
6092 * Array-d.cc: Instantiate ArrayN<double> here too. | |
6093 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. | |
6094 * Makefile.in: Add them to the appropriate lists. | |
6095 | |
3657 | 6096 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6097 | |
6098 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. | |
6099 | |
3635 | 6100 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6101 | |
6102 * lo-sysdep.h: octave_chdir returns int, not bool. | |
6103 | |
3615 | 6104 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
6105 | |
6106 * Makefile.in (liboctave.$(SHLEXT)): Delete target | |
6107 before rebuilding. | |
6108 | |
5095 | 6109 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
3615 | 6110 |
5261 | 6111 * Makefile.in (liboctave.$(LIBEXT)): New target. |
3615 | 6112 (libraries): Depend only on library targets, not archive members. |
6113 | |
3613 | 6114 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6115 | |
6116 * Makefile.in: (objects): New target. | |
6117 | |
6118 * lo-cutils.c: New file. | |
6119 * Makefile.in (SOURCES): Add it to the list. | |
6120 * lo-utils.h: Declare octave_qsort here. | |
6121 * Array.h (Array::qsort): Use it here. | |
6122 | |
3607 | 6123 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6124 | |
6125 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. | |
6126 | |
3598 | 6127 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6128 | |
6129 * oct-rl-hist.c (octave_history_list): Do something when not | |
6130 printing line numbers. Fix reallocation of retval. | |
6131 | |
3597 | 6132 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6133 | |
6134 * Makefile.in (install-inc): Install files in | |
6135 $(octincludedir)/octave. | |
6136 (uninstall): Remove them from the correct directory too. | |
6137 | |
6138 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if | |
6139 they are not already defined. | |
6140 | |
3588 | 6141 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6142 | |
6143 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: | |
6144 Delete declarations and definitions of mixed-type vector-vector ops. | |
6145 | |
3585 | 6146 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6147 | |
6148 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS | |
6149 matrix and vector objects. | |
6150 | |
6151 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to | |
6152 return type from second arg type. | |
6153 (MDM_BIN_OP): Likewise, for first arg type. | |
6154 | |
6155 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
6156 Matrix::fourier2d, Matrix::ifourier2d): Likewise. | |
6157 | |
6158 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly | |
6159 request ColumnVector to ComplexColumnVector, and Matrix to | |
6160 ComplexMatrix conversions. | |
6161 | |
6162 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its | |
6163 initial value using ComplexMatrix constructor. | |
6164 | |
6165 * CColVector.cc (product, quotient, | |
6166 operator * (const DiagMatrix&, const ComplexColumnVetor&)): | |
6167 Fix type of returned value. | |
6168 * CDiagMatrix.cc (ComplexDiagMatrix::row, | |
6169 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. | |
6170 | |
6171 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, | |
6172 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, | |
6173 dRowVector.h: Declare some constructors explicit, to disallow | |
6174 potentially problematic automatic type conversions. | |
6175 | |
3580 | 6176 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
6177 | |
3582 | 6178 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
6179 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: | |
6180 More new files. | |
6181 * Makefile.in: Add them to the appropriate lists. | |
6182 | |
6183 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, | |
6184 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, | |
6185 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, | |
6186 vx-s-crv.cc:, New files. | |
6187 * Makefile.in: Add them to the appropriate lists. | |
6188 | |
6189 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: | |
6190 Delete scalar by vector and vector by scalar binary ops. | |
6191 | |
3580 | 6192 * MArray-defs.h: More new macros to handle MDiagArray operators. |
6193 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. | |
6194 | |
3573 | 6195 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
6196 | |
3578 | 6197 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
6198 rl_event_hook before casting to void **. | |
6199 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. | |
6200 | |
3574 | 6201 * MArray-defs.h: Many new macros to make declaration and |
6202 definition of operators more consistent. | |
6203 | |
6204 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, | |
6205 CRowVector.h, dMatrix.h, CMatrix.h: Use them. | |
3573 | 6206 |
3569 | 6207 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6208 | |
3572 | 6209 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
6210 (Matrix::ifourier2d): Likewise. | |
6211 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. | |
6212 (ComplexMatrix::ifourier2d): Likewise. | |
6213 | |
3569 | 6214 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
6215 | |
3504 | 6216 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6217 | |
3519 | 6218 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
6219 readline library. | |
6220 * Makefile.in: Add them to the appropriate lists. | |
6221 | |
6222 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU | |
6223 readline history library. | |
6224 * Makefile.in: Add them to the appropriate lists. | |
6225 | |
3517 | 6226 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
6227 (LS_DO_READ): Likewise, for istream::read. | |
3518 | 6228 (write_doubles): Likewise. |
6229 (read_doubles): Likewise. | |
3517 | 6230 |
3516 | 6231 * oct-env.cc (octave_env::do_polite_directory_format): |
6232 Use operator== and substr method to do limited-length string | |
6233 comparison. | |
6234 | |
3513 | 6235 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512 | 6236 |
3511 | 6237 * Quad.h: Use do_integrate as name of pure virtual function. |
6238 | |
3508 | 6239 * base-de.h: Use tt instead of t as arg names. |
3511 | 6240 Add method with tcrit arg. |
6241 | |
3509 | 6242 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508 | 6243 |
3507 | 6244 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
6245 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. | |
6246 * Quad.cc (quad_fcn_ptr): Ditto. | |
6247 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. | |
6248 | |
3505 | 6249 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519 | 6250 * Makefile.in: Add them to the appropriate lists. |
3505 | 6251 |
6252 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. | |
3519 | 6253 * Makefile.in: Add them to the appropriate lists. |
3505 | 6254 |
3504 | 6255 * dMatrix.cc (write_int, read_int): No longer declared static. |
6256 | |
6257 * CDiagMatrix.h: Delete decls for friend operators that are | |
6258 handled by MDiagArray2 class. Move others outside class decl and | |
6259 strip friend status. | |
6260 * dDiagMatrix.h: Likewise. | |
6261 | |
6262 * MArray.h: Delete decls for friend operators inside class decl. | |
6263 * MArray2.h: Ditto. | |
6264 * MDiagArray2.h: Ditto. | |
6265 | |
6266 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all | |
6267 necessary parameters. Don't allocate memory in the macro. Change | |
6268 all uses. | |
6269 | |
6270 * dMatrix.h (class Matrix): Delete `friend class' decls. | |
6271 * CMatrix.h (class ComplexMatrix): Ditto. | |
6272 | |
6273 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, | |
6274 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, | |
6275 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to | |
6276 avoid type conflicts. Change all uses. | |
6277 | |
6278 * strptime.c (__mon_yday): Fix size of array decl. | |
6279 | |
6280 * mx-inlines.cc: Use `xnot' instead of `not' for function name. | |
6281 | |
6282 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous | |
6283 default value for second arg. | |
6284 | |
6285 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to | |
6286 references to ArrayRep. | |
6287 | |
3503 | 6288 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
6289 | |
3504 | 6290 * Array.h (Array::ArrayRep): Now protected, not private. |
3503 | 6291 |
6292 * All source files: Include iostream, fstream, strstream, | |
6293 etc. as needed instead of using forward declarations for these | |
3504 | 6294 classes. Add std:: qualifier as needed. |
3503 | 6295 |
3498 | 6296 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6297 | |
6298 * oct-time.cc: Declare strptime extern "C". | |
6299 | |
3496 | 6300 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6301 | |
6302 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. | |
6303 | |
3488 | 6304 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6305 | |
3492 | 6306 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
6307 * Array3.h, Array3.cc: Use it in constructors and resize methods | |
6308 to get total size to be allocated. | |
6309 | |
3488 | 6310 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
6311 as bool, not int. | |
6312 | |
3482 | 6313 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6314 | |
6315 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
6316 Allow A(idx) = RHS if idx is a boolean index with the same shape | |
6317 as A, even when do_fortran_indexing is not enabled. | |
6318 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). | |
6319 | |
3473 | 6320 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6321 | |
3480 | 6322 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
6323 function pointer as final arg. Passed function (if any) will be | |
6324 called for singularity errors. | |
6325 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. | |
6326 | |
6327 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. | |
6328 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
6329 | |
3475 | 6330 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
6331 No longer bother with infinity or quiet_nan. | |
6332 | |
3473 | 6333 * Array2.cc (Array2<T>::get_size): New function. |
6334 (Array2<T>::Array2, Array2<T>::resize): Use it. | |
6335 | |
3472 | 6336 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6337 | |
6338 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): | |
6339 New function. | |
6340 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
6341 Use it when indexing with one arg instead of faking a second one. | |
6342 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): | |
6343 Return empty matrices with the correct dimensions for A(:,:) = [] | |
6344 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all | |
6345 rows or columns. | |
6346 | |
6347 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool | |
6348 vector that is all true values with a length equal to n as colon | |
6349 equivalent. | |
6350 | |
3470 | 6351 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6352 | |
6353 * strptime.c: Only include langinfo.h if _LIBC is defined. | |
6354 | |
5095 | 6355 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468 | 6356 |
6357 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling | |
6358 operations directly in step 2 and reverse step 2. | |
6359 * dMatrix.cc (Matrix::expm): Apply permutation and scaling | |
6360 operations directly in step 2 and reverse step 2. | |
6361 | |
3465 | 6362 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6363 | |
6364 * oct-time.h, oct-time.cc (octave_strptime): New class. | |
6365 | |
6366 * strptime.c: New file, from glibc 2.1.2. | |
6367 * Makefile.in (SOURCES): Add strptime.c to the list. | |
6368 | |
3419 | 6369 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6370 | |
6371 * MArray.h (MArray <const Array<T>&)): New constructor. | |
6372 | |
3415 | 6373 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6374 | |
6375 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing | |
6376 NULL directory list returned from kpse_element_dirs | |
6377 | |
3375 | 6378 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6379 | |
6380 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. | |
6381 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF | |
6382 directly, instead of calling ZGESV. | |
6383 | |
3358 | 6384 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6385 | |
6386 * data-conv.cc (init_sized_type_lookup_table): New function. | |
6387 (string_to_data_type): Use it to improve lookup of data types. | |
6388 | |
3354 | 6389 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6390 | |
6391 * dMatrix.cc (is_symmetric): Move here from Array2.cc. | |
6392 * Array2.h (is_symmetric): Delete declaration. | |
6393 | |
3347 | 6394 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6395 | |
6396 * oct-env.cc (do_get_user_name): Reverse sense of test. | |
6397 | |
3344 | 6398 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6399 | |
6400 * oct-time.cc (Fstrftime): Undo previous change. | |
6401 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
6402 | |
3334 | 6403 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6404 | |
3336 | 6405 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
6406 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. | |
6407 | |
3334 | 6408 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
6409 Don't forget to pass length of third string argument to dgeesx. | |
6410 | |
6411 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length | |
6412 of third string argument to zgeesx. | |
6413 | |
3333 | 6414 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6415 | |
6416 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): | |
6417 On errors, simply return `T ()'. | |
6418 (DiagArray2<T>::checkelem (int, int)): Likewise. | |
6419 | |
5095 | 6420 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3331 | 6421 |
6422 * dMatrix.cc (Matrix::expm): Do balancing here instead of using | |
6423 AEPBALANCE class. | |
6424 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6425 | |
3325 | 6426 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6427 | |
6428 * oct-shlib.cc, oct-shlib.h: New files. | |
6429 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
6430 | |
3322 | 6431 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6432 | |
6433 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. | |
6434 * dRowVector.cc (linspace): Ditto. | |
6435 | |
6436 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. | |
6437 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
6438 | |
3312 | 6439 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
6440 | |
6441 * DASSL.cc (DASSL::do_integrate (double)): If we have a function | |
6442 to evaluate the Jacobian, set info(4), not iwork(4). | |
6443 Set rwork(1) to the maximum step size, not rwork(2). | |
6444 | |
3290 | 6445 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6446 | |
6447 * oct-time.cc: Include <climits>. | |
6448 | |
3281 | 6449 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
6450 | |
6451 * cmd-edit.h (command_editor::do_resize_terminal): New function. | |
6452 * cmd-edit.cc (command_editor::resize_terminal): New function. | |
6453 (gnu_readline::do_resize_terminal): New function. | |
6454 | |
3268 | 6455 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6456 | |
6457 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. | |
6458 * lo-ieee.c: Likewise. | |
6459 Delete extern "C" declarations for infinity and quiet_nan. | |
6460 | |
3262 | 6461 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6462 | |
3263 | 6463 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
6464 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions | |
6465 `inline', not `static inline'. | |
6466 | |
3262 | 6467 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
6468 then cast to const int * to compare. | |
6469 | |
3257 | 6470 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6471 | |
6472 * DAEFunc.h: Remove useless preprocessor conditional. | |
6473 | |
3255 | 6474 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6475 | |
3257 | 6476 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
6477 Use octave_time object instead of time_t. | |
6478 | |
6479 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, | |
6480 file_stat::fs_ctime): Now octave_time objects. | |
6481 (file_stat::atime, file_stat::mtime, file_stat::ctime): | |
6482 Return octave_time objects. | |
6483 (file_stat::is_newer): Args are now octave_time objects instead of | |
6484 time_t. | |
6485 | |
3255 | 6486 * oct-time.h (octave_time::as_double): Delete. |
6487 (octave_time::operator double ()): New function. | |
6488 (octave_time::operator time_t ()): New function. | |
6489 (octave_time::ctime): New function. | |
6490 (octave_base_tm::strftime): Renamed from format_as_string. | |
6491 (octave_base_tm::asctime): New function. | |
6492 (operator == (const octave_time&, const octave_time&), | |
6493 operator != (const octave_time&, const octave_time&), | |
6494 operator < (const octave_time&, const octave_time&), | |
6495 operator <= (const octave_time&, const octave_time&), | |
6496 operator > (const octave_time&, const octave_time&), | |
6497 operator >= (const octave_time&, const octave_time&)): | |
6498 New comparison functions. | |
6499 | |
6500 * strftime.c: Move here from src directory. | |
6501 * Makefile.in (SOURCES): Add it to the list. | |
6502 | |
6503 * oct-time.h (octave_time::octave_time (time_t)): New constructor. | |
6504 | |
3253 | 6505 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6506 | |
6507 * oct-time.h, oct-time.cc: New files. | |
6508 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
6509 | |
6510 * systime.h: Move here from src directory. | |
6511 * Makefile.in (INCLUDES): Add it to the list. | |
6512 | |
3248 | 6513 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6514 | |
6515 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. | |
6516 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. | |
6517 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. | |
6518 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. | |
6519 | |
6520 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. | |
6521 | |
3243 | 6522 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6523 | |
6524 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. | |
6525 | |
6526 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6527 | |
6528 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a | |
6529 column vector for A(:), for compatibility with Matlab. | |
6530 | |
6531 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6532 | |
6533 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set | |
6534 iopt when there are optional inputs in rwork or iwork. | |
6535 | |
3238 | 6536 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6537 | |
6538 * Makefile.in (libraries): Use the libfoo.a(objects) method of | |
6539 creating static libs. | |
6540 | |
5095 | 6541 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
3238 | 6542 |
6543 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 | |
6544 and uint32 data types. | |
6545 | |
6546 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6547 | |
6548 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code | |
6549 for Linux. Remove old Linux-specific code. | |
6550 | |
3233 | 6551 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6552 | |
6553 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): | |
6554 Don't require lengths to be equal. | |
6555 * CMatrix.cc (operator * (const ComplexColumnVector& v, const | |
6556 ComplexRowVector& a)): Likewise | |
6557 | |
5095 | 6558 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
3225 | 6559 |
6560 * statdefs.h: Only define mode_t if not already defined. | |
6561 | |
5095 | 6562 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
3225 | 6563 |
6564 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero | |
6565 when appropriate. | |
6566 | |
6567 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6568 | |
6569 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name | |
6570 before calling rl_initialize. | |
6571 | |
3220 | 6572 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6573 | |
6574 * lo-specfun.cc (besselh, airy, biry): New functions. | |
6575 Update Bessel function support to use library by D. E. Amos. | |
6576 | |
3219 | 6577 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6578 | |
6579 * cmd-edit.h (command_editor::readline): Add new variation that | |
6580 allows EOF information to be passed back to caller. | |
6581 | |
6582 * dMatrix.cc (Matrix::read): Do the right thing for EOF when | |
6583 amount of data to read is unspecified. | |
6584 | |
3215 | 6585 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6586 | |
3219 | 6587 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
6588 (DEFINE_OCTAVE_ALLOCATOR): Ditto. | |
6589 | |
3215 | 6590 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
6591 Add volatile qualifier to void* arg. | |
6592 Cast volatile void* arg to volatile char*. | |
6593 | |
6594 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6595 | |
6596 * cmd-edit.h (command_editor::do_set_event_hook): New function. | |
6597 (command_editor::do_restore_event_hook): Ditto. | |
6598 * cmd-edit.cc (command_editor::set_event_hook): Ditto. | |
6599 (command_editor::restore_event_hook): Ditto. | |
6600 (gnu_readline::do_set_event_hook): Ditto. | |
6601 (gnu_readline::do_restore_event_hook): Ditto. | |
6602 (gnu_readline::previous_event_hook): New data member. | |
6603 (gnu_readline::gnu_readline): Initialize previous_event_hook. | |
6604 | |
3206 | 6605 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6606 | |
6607 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. | |
6608 | |
6609 * Makefile.in (stmp-pic): New target. | |
6610 ($(PICOBJ)): Depend on stmp-pic, not pic. | |
6611 (clean): Remove stmp-pic | |
6612 | |
6613 * Makefile.in: Undo previous change to avoid optmization when | |
6614 compiling lo-ieee.cc. | |
6615 | |
6616 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6617 | |
6618 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and | |
6619 imaginary parts. | |
6620 (xisinf): Define in terms of xisinf for real and imaginary parts. | |
6621 | |
3203 | 6622 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6623 | |
6624 * boolMatrix.cc (boolMatrix::operator !): New function. | |
6625 | |
3196 | 6626 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6627 | |
6628 * pathsearch.h (dir_path::default_path): New data member. | |
6629 * pathsearch.cc (dir_path::init): Use it. | |
6630 | |
6631 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. | |
6632 | |
3189 | 6633 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6634 | |
6635 * chMatrix.cc (charMatrix::extract): New function. | |
6636 (charMatrix::charMatrix (char c)): New constructor. | |
6637 | |
6638 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6639 | |
6640 * cmd-edit.h: (command_editor::do_read_init_file): New function. | |
6641 * cmd-edit.cc (command_editor::read_init_file): New function. | |
6642 (gnu_readline::do_read_init_file): Likewise. | |
6643 | |
3185 | 6644 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6645 | |
6646 * oct-env.cc (octave_env::do_get_home_directory): | |
6647 If HOME can't be found, set it to "/". | |
6648 (octave_env::do_get_user_name) | |
6649 If user name can't be found, set it to "unknown". | |
6650 (octave_env::do_get_host_name) | |
6651 If host name can't be found, set it to "unknown". | |
6652 | |
6653 * pathsearch.h (dir_path::rehash): New function. | |
6654 * pathsearch.cc (dir_path::init): Clear kpathsea's internal | |
6655 diretcory cache before doing initialization. | |
6656 | |
3180 | 6657 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6658 | |
3185 | 6659 * dMatrix.cc (Qzval): Delete. |
6660 (qzhes, qzit, qzval): Delete F77_FCN declarations. | |
6661 * dMatrix.h (Qzval): Delete declaration. | |
6662 | |
6663 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. | |
6664 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. | |
6665 * mx-ext.h: Don't include dbleGEPBAL. | |
6666 | |
3180 | 6667 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
6668 static_cast. | |
6669 | |
6670 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6671 | |
6672 * dMatrix.cc (Matrix::read): Skip after reading, not before. | |
6673 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. | |
6674 | |
6675 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6676 | |
6677 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on | |
6678 HUGE_VAL and NAN. | |
6679 | |
6680 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6681 | |
6682 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
6683 Handle x(i) = scalar for do_fortran_indexing == 1. | |
6684 | |
6685 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6686 | |
6687 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): | |
6688 Alloctate space before attempting to use it. | |
6689 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. | |
6690 | |
5095 | 6691 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
3178 | 6692 |
6693 * EIG.cc (EIG::init): Move invariant code outside loop. | |
6694 | |
6695 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6696 | |
6697 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result | |
6698 have the same size as the operands. | |
6699 | |
6700 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6701 | |
6702 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the | |
6703 call to ddassl, set integration_error to 1 before calling the | |
6704 error handler and returning. | |
6705 * LSODE.cc (LSODE::do_integrate): Likewise. | |
6706 | |
3177 | 6707 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6708 | |
6709 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if | |
6710 do_fortran_indexing is set, A([]) = scalar. | |
6711 * Array-idx.h (assign): Allow A([]) = scalar. | |
6712 | |
3176 | 6713 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6714 | |
6715 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not | |
6716 if dm_nc == 0. | |
6717 | |
3174 | 6718 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6719 | |
6720 * pathsearch.h (dir_path::p_orig): New field. | |
6721 * pathsearch.cc (dir_path::init): Perform variable and tilde | |
6722 expansion on the original path here. | |
6723 (dir_path::find_all): Don't do anything if not initialized. | |
6724 | |
3164 | 6725 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6726 | |
6727 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing | |
6728 is not set. | |
6729 (index): Allow x = zeros (2, 0); x(1,:) to work. | |
6730 | |
6731 * lo-specfun.cc (gammainc): Use dgamit to compute | |
6732 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just | |
6733 \int_0^x exp(-t) t^(a-1) dt. | |
6734 | |
6735 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6736 | |
6737 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, | |
6738 Array-s.cc: Change return types of all `assign' explicit | |
6739 instantiations to be int, not void, to match the template decl in | |
6740 Array.h. | |
6741 | |
3162 | 6742 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6743 | |
6744 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. | |
6745 | |
3156 | 6746 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6747 | |
6748 * lo-specfun.cc (xgamma, xlgamma): Define here. | |
6749 * lo-mappers.cc: Not here. | |
6750 | |
6751 * lo-specfun.h: Declare xgamma and xlgamma here. | |
6752 * lo-mappers.h: Not here. | |
6753 | |
6754 * lo-specfun.h: Never declare gamma or lgamma. | |
6755 | |
3154 | 6756 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6757 | |
6758 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an | |
6759 empty matrix of any dimension. | |
6760 | |
3145 | 6761 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6762 | |
3147 | 6763 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
6764 | |
3146 | 6765 * lo-specfun.cc: Don't include dbleBessel.h. |
6766 | |
6767 * Makefile.in (INCLUDES): Delete oct-math.h from the list. | |
6768 | |
3145 | 6769 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
6770 * file-stat.h (file_stat::operator bool ()): Likewise. | |
6771 * idx-vector.h (idx_vector::operator bool ()): Likewise. | |
6772 * oct-group.h (octave_group::operator bool ()): Likewise. | |
6773 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. | |
6774 | |
6775 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): | |
6776 Don't cast arg in call to swap_8_bytes. | |
6777 (IEEE_big_double_to_IEEE_little_double): Ditto | |
6778 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to | |
6779 swap_4_bytes. | |
6780 (IEEE_little_float_to_IEEE_big_float): Ditto | |
6781 | |
6782 * oct-alloc.cc (grow): Use X_CAST, not static_cast. | |
6783 * prog-args.cc (prog_args::getopt): Likewise. | |
6784 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. | |
6785 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. | |
6786 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): | |
6787 Likewise. | |
6788 | |
6789 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, | |
6790 swap_8_bytes): Declare ptr arg as void*, then use cast. | |
6791 | |
3141 | 6792 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6793 | |
6794 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). | |
6795 Use $(mk-libdir-link). | |
6796 | |
6797 * file-stat.cc (file_stat::update_internal): Use stat and lstat, | |
6798 not SAFE_STAT and SAFE_LSTAT. | |
6799 (lstat): New function, defined if HAVE_LSTAT is not defined. | |
6800 * safe-xstat.hin, safe-xstat.cin: Delete. | |
6801 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, | |
6802 safe-lstat.h, and safe-lstat.cc. | |
6803 | |
3136 | 6804 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6805 | |
6806 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. | |
6807 | |
3130 | 6808 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6809 | |
6810 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the | |
6811 trace is negative. | |
6812 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if | |
6813 the real part of the trace is negative. | |
6814 | |
6815 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6816 | |
6817 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. | |
6818 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. | |
6819 | |
6820 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] | |
6821 to succeed. | |
6822 | |
3125 | 6823 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6824 | |
6825 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. | |
6826 (make_uniq): Likewise. | |
6827 | |
6828 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6829 | |
6830 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. | |
6831 | |
3119 | 6832 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6833 | |
3121 | 6834 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
6835 | |
6836 * lo-specfun.h, lo-specfun.cc: New files. | |
3119 | 6837 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
6838 | |
3121 | 6839 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
6840 oct-math.h: Delete. | |
6841 * Makefile.in (SOURCES): Delete them from the list. | |
6842 | |
3112 | 6843 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6844 | |
6845 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. | |
6846 | |
5095 | 6847 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
3107 | 6848 |
6849 Changes to make support egcs snapshots that implement explicit | |
6850 specification of template functions according to CD2. | |
6851 | |
6852 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit | |
6853 template function specs for template friends. | |
6854 * MArray2.h: Likewise. | |
6855 * MDiagArray2.h: Likewise. | |
6856 | |
3095 | 6857 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6858 | |
6859 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) | |
6860 | |
3092 | 6861 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
6862 | |
6863 * CRowVector.cc (linspace): Removed attempt for implicit conversion | |
6864 to complex<double>(int) instead of complex<double>(double). | |
6865 | |
6866 * lo-mappers.cc (atanh): Ditto. | |
6867 | |
3079 | 6868 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6869 | |
6870 * idx-vector.cc (IDX_VEC_REP::sort): New function. | |
6871 * idx-vector.h (idx_vector::sort): Ditto. | |
6872 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before | |
6873 trying to delete elements specified by the index vectors. | |
6874 | |
3075 | 6875 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6876 | |
6877 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. | |
6878 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. | |
6879 | |
3074 | 6880 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6881 | |
6882 * file-ops.cc (tilde_expand_word): Fix off-by-one error. | |
6883 | |
3069 | 6884 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6885 | |
6886 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. | |
6887 Call error handler if we can't find the current directory. | |
6888 | |
3068 | 6889 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6890 | |
3069 | 6891 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
6892 (xfinite (double)): Ditto. | |
6893 | |
3068 | 6894 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
6895 * CmplxQR.cc (ComplexQR::init): Ditto. | |
6896 | |
3056 | 6897 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6898 | |
6899 * lo-mappers.cc (acos (const Complex&)): Select branch that is | |
6900 compatible with Matlab. | |
6901 | |
3050 | 6902 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6903 | |
6904 * Array2-idx.h: Correctly handle empty matrices indexed by a | |
6905 single colon. | |
6906 | |
3040 | 6907 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6908 | |
3049 | 6909 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
6910 (xgamma): Likewise, for calling xdgamma. | |
6911 | |
3042 | 6912 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
6913 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. | |
6914 | |
3040 | 6915 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
6916 to do better job expanding tildes. | |
6917 | |
6918 * str-vec.cc (string_vector::string_vector (const char * const *): | |
6919 Use temporary variable to compute length. | |
6920 | |
3029 | 6921 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6922 | |
3034 | 6923 * Makefile.in: Make building of static library optional. |
3036 | 6924 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034 | 6925 |
3029 | 6926 * Makefile.in (stamp-picdir): Delete. |
6927 (pic): New target. Don't worry so much about creating pic | |
6928 directory only when it is really needed. | |
6929 (stamp-interp): Delete. | |
6930 (libraries): New target. Depend on shared library directly. | |
6931 | |
3024 | 6932 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6933 | |
6934 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): | |
6935 New static function. | |
6936 | |
3012 | 6937 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6938 | |
6939 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. | |
6940 | |
3004 | 6941 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6942 | |
6943 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to | |
6944 set_basic_quote_characters, to match new version of readline. | |
6945 | |
6946 * cmd-edit.cc (do_restore_terminal_state): Call readline function | |
6947 for restoring terminal state through rl_deprep_term_function, now | |
6948 declared in readline.h | |
6949 (rl_deprep_terminal): Delete declaration. | |
6950 | |
2993 | 6951 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6952 | |
6953 * Makefile.in (install-in): Use new mk-includedir-link macro. | |
6954 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. | |
6955 | |
2968 | 6956 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6957 | |
6958 * cmd-edit.cc (command_editor::increment_current_command_number): | |
6959 New static function. | |
6960 | |
2964 | 6961 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6962 | |
2966 | 6963 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
6964 the vector is not sorted. | |
6965 | |
2964 | 6966 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
6967 * dMatrix.cc (Matrix::operator !): Likewise | |
6968 | |
2941 | 6969 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6970 | |
6971 * oct-syscalls.h, oct-syscalls.cc: New files. | |
6972 | |
6973 * cmd-edit.h, cmd-edit.cc: Handle completion function. | |
6974 | |
6975 * str-vec.h, str-vec.cc (string_vector::uniq): New function. | |
6976 | |
2938 | 6977 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6978 | |
2941 | 6979 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
6980 (install-inc): Use it. | |
6981 | |
2938 | 6982 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
6983 Handle errors and missing functions consistently. | |
6984 | |
6985 * oct-group.h, oct-group.cc: New files. | |
6986 | |
6987 * oct-passwd.cc: Handle errors and missing functions consistently. | |
6988 | |
6989 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. | |
6990 | |
2934 | 6991 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6992 | |
6993 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. | |
6994 * oct-env.cc (octave_env::do_get_user_name): Likewise. | |
6995 | |
6996 * oct-passwd.h, oct-passwd.cc: New files. | |
6997 | |
2926 | 6998 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6999 | |
7000 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. | |
7001 | |
7002 * mach-info.h, mach-info.cc: Add missing const qualifiers. | |
7003 (instance_ok ()): New function. | |
7004 | |
7005 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. | |
7006 | |
7007 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. | |
7008 | |
7009 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from | |
7010 src/utils.h and src/utils.cc. | |
7011 (octave_fgets): New function, extracted from src/input.cc. | |
7012 | |
7013 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for | |
7014 GNU readline, and allow Octave to work without GNU readline. | |
7015 | |
7016 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous | |
7017 system-dependent functions. | |
7018 | |
7019 * oct-env.h, oct-env.cc: New files for process environment stuff. | |
7020 | |
7021 * file-stat.h, file-stat.cc: New files. Extract file_stat class | |
7022 from file-ops.h and file-ops.cc and move here. | |
7023 | |
7024 * file-ops.h, file-ops.cc: Wrap functions in struct. Move | |
7025 tilde_expand functions here from src/dirfns.cc. | |
7026 | |
7027 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7028 | |
7029 * pathlen.h: New file, from ../src. | |
7030 | |
2917 | 7031 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7032 | |
7033 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent | |
7034 out-of-bounds indexing of the index array. | |
7035 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. | |
7036 | |
2850 | 7037 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7038 | |
7039 * LSODE.h (x_step_limit): New field. | |
7040 (LSODE_options::init): Initialize it. | |
7041 (LSODE_options::copy): Copy it. | |
7042 (LSODE_options::set_step_limit, LSODE_options::step_limit): | |
7043 New functions. | |
7044 (LSODE::working_too_hard): Delete. | |
7045 * LSODE.cc (LSODE::do_integrate): Handle step limit. | |
7046 | |
2844 | 7047 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7048 | |
7049 * MArray-b.cc: Delete. | |
7050 * Makefile.in: Delete it from the lists. | |
7051 | |
7052 * boolMatrix.h (class bboolMatrix): Derive from Array2, not | |
7053 MArray2, since most of the numeric ops don't really make sense. | |
7054 | |
2829 | 7055 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7056 | |
2832 | 7057 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
7058 | |
7059 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. | |
7060 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. | |
7061 | |
2830 | 7062 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
7063 idx_vector::freeze): Delete prefer_zero_one arg. | |
7064 * Array-idx.h, Array2-idx.h: Change all callers. | |
7065 | |
7066 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. | |
7067 | |
2829 | 7068 * mx-op-defs.h: New file for operator definitions. |
7069 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, | |
7070 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, | |
7071 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, | |
7072 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, | |
7073 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, | |
7074 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, | |
7075 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, | |
7076 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, | |
7077 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, | |
7078 mx-s-cm.cc, mx-s-dm.cc: | |
7079 New files for mixed-type operations. | |
7080 * Makefiles.in: Add them to the appropriate lists. | |
7081 | |
7082 * mx-inlines.cc: Add bool by bool EQ ops. | |
7083 | |
7084 * idx-vector.h, idx-vector.cc: Add constructors for bool and | |
7085 boolMatrix types. | |
7086 (idx_vector::maybe_convert_one_zero_to_idx, | |
7087 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): | |
7088 Delete second arg, prefer_zero_one. Change all callers. | |
7089 | |
7090 * boolMatrix.h, boolMatrix.cc: New files. | |
7091 * mx-base.h: Include boolMatrix.h here. | |
7092 * mx-defs.h: Provide forward declaration for boolMatrix here. | |
7093 | |
7094 * chMatrix.h, chMatrix.cc: Delete unused junk. | |
7095 | |
7096 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, | |
7097 operator-, operator*, product, and quotient functions. | |
7098 Add constructor for boolMatrix type. | |
7099 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, | |
7100 product, and quotient functions. | |
7101 | |
7102 * CDiagMatrix.h: Delete friend declarations for operator+, | |
7103 operator-, and product functions. | |
7104 * CDiagMatrix.h: Delete operator+, operator-, and product functions. | |
7105 | |
7106 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. | |
7107 | |
2815 | 7108 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7109 | |
7110 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. | |
7111 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. | |
7112 (EIG::symmetric_init (const Matrix&)): New function. | |
7113 (EIG::init (const Matrix&)): Call it if arg is symmetric. | |
7114 | |
7115 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. | |
7116 | |
7117 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7118 | |
7119 * Array2.cc (is_symmetric): New function. | |
7120 * Array2.h (is_square): New function. | |
7121 | |
2811 | 7122 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7123 | |
7124 * Makefile.in (install-strip): New target. | |
7125 | |
2804 | 7126 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7127 | |
7128 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
7129 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, | |
7130 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
7131 dbleSVD.cc: Don't include mx-inlines.cc. | |
7132 | |
7133 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of | |
7134 duplicate code. | |
7135 | |
2800 | 7136 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7137 | |
2804 | 7138 * dbleQR.h (QR): Delete extra comma at end of list. |
7139 | |
7140 * prog-args.cc (prog_args::getopt): Add missing const in cast. | |
7141 | |
7142 * dbleSVD.h (SVD::type): Delete extra comma at end of list. | |
7143 | |
7144 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and | |
7145 idx_vecotr_rep:: qualifiers. | |
7146 | |
7147 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. | |
7148 | |
7149 * data-conv.h (save_type): Delete extra comma at end of list. | |
7150 | |
2800 | 7151 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
7152 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, | |
7153 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of | |
7154 old C-style `(T) val' casts. | |
7155 | |
2795 | 7156 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7157 | |
7158 * dMatrix.cc (operator >>): Return if an error occurs instead of | |
7159 just breaking out of the innermost loop. | |
7160 * CMatrix.cc (operator >>): Likewise. | |
7161 | |
2779 | 7162 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775 | 7163 |
7164 * Version 2.0.5 released. | |
7165 | |
2767 | 7166 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7167 | |
7168 * CmplxQR.cc (ComplexQR::init): New function. | |
7169 (ComplexQR::ComplexQR): Use it. Use initializer list too. | |
7170 * CmplxQRP.cc (ComplexQRP::init): New function. | |
7171 Get sizes right in all cases. | |
7172 (ComplexQR::ComplexQRP): Use it. Use initializer list too. | |
7173 | |
7174 * dbleQR.cc (QR::init): New function. | |
7175 (QR::QR): Use it. Use initializer list too. | |
7176 * dbleQRP.cc (QRP::init): New function. | |
7177 Get sizes right in all cases. | |
7178 (QR::QRP): Use it. Use initializer list too. | |
7179 | |
2759 | 7180 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7181 | |
7182 * mach-info.cc (oct_mach_info::string_to_float_format): | |
7183 Recognize "vaxg", not "vax_g". | |
7184 | |
2713 | 7185 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7186 | |
2714 | 7187 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
7188 dimension in check for colon equivalent index. | |
7189 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element | |
7190 index whose value is 0 is also colon eqivalent for n == 1. | |
7191 | |
2713 | 7192 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
7193 system-specific tests first. | |
7194 | |
2709 | 7195 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702 | 7196 |
7197 * Version 2.0.4 released. | |
7198 | |
7199 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7200 | |
7201 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. | |
7202 | |
2693 | 7203 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690 | 7204 |
7205 * Version 2.0.3 released. | |
7206 | |
2686 | 7207 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7208 | |
7209 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. | |
7210 | |
2673 | 7211 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7212 | |
2676 | 7213 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
7214 (all): Don't depend on stamp-prereq or stamp-picdir. | |
7215 (liboctave.a, stamp-shared): Do depend on stamp-prereq. | |
7216 (stamp-picdir): Silence noise about making pic. | |
7217 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. | |
7218 | |
2673 | 7219 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
7220 Fix typo in last change. | |
7221 | |
7222 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): | |
7223 Convert from friend (moved from dColVector.cc). | |
7224 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): | |
7225 Likewise (moved from dMatrix.cc). | |
7226 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): | |
7227 Likewise (moved from dRowVector.cc). | |
7228 | |
7229 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. | |
7230 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. | |
7231 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. | |
7232 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. | |
7233 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. | |
7234 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. | |
7235 | |
7236 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. | |
7237 * dMatrix.cc (Matrix::apply): Likewise. | |
7238 * dRowVector.cc (RowVector::apply): Likewise. | |
7239 * CColVector.cc (ComplexColumnVector::apply): Likewise. | |
7240 * CMatrix.cc (ComplexMatrix::apply): Likewise. | |
7241 * CRowVector.cc (ComplexRowVector::apply): Likewise. | |
7242 | |
2668 | 7243 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7244 | |
7245 * lo-ieee.cc: Declare quiet_nan() and infinity(). | |
7246 | |
7247 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7248 | |
7249 * file-ops.cc (oct_unlink (const string&, string&)): | |
7250 New two-arg version. | |
7251 (oct_rmdir (const string&, string&)): New two-arg version. | |
7252 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. | |
7253 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. | |
7254 (oct_rename (const string&, const string&, string&)): | |
7255 New three-arg version. | |
7256 | |
2663 | 7257 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7258 | |
7259 * idx-vector.h (idx_vector::orig_empty): New function. | |
7260 | |
7261 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): | |
7262 Don't always resize to [](0x0) if one of the indices is empty or | |
7263 zero. | |
7264 | |
2658 | 7265 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7266 | |
7267 * cmd-hist.cc (command_history::read): New arg, must_exist. | |
7268 Set line_in_file here too. | |
7269 (command_history::read_range): New arg, must_exist. | |
7270 | |
2651 | 7271 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7272 | |
7273 * f2c-main.c: Change C++-style comments to C-style comments. | |
7274 | |
2638 | 7275 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7276 | |
7277 * Makefile.in (install-inc): Create a relative symbolic link. | |
7278 | |
2634 | 7279 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7280 | |
7281 * Version 2.0.2 released. | |
7282 | |
2624 | 7283 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7284 | |
7285 * Makefile.in (bin-dist): New target. | |
7286 | |
2621 | 7287 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7288 | |
7289 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. | |
7290 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. | |
7291 | |
2613 | 7292 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7293 | |
7294 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
7295 If the number of columns is zero, also set the number of rows to zero. | |
7296 (charMatrix::charMatrix (const char *)): Likewise. | |
7297 | |
2602 | 7298 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7299 | |
7300 * Version 2.0.1 released. | |
7301 | |
2601 | 7302 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7303 | |
7304 * dMatrix.cc (Matrix::read): Correctly compute the number of | |
7305 columns for resizing when the number of rows is specified but the | |
7306 number of columns is not. | |
7307 | |
2598 | 7308 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7309 | |
2599 | 7310 * Range.cc (operator -): New function. |
7311 | |
2598 | 7312 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
7313 | |
2589 | 7314 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7315 | |
7316 * Array2-idx.h (assign): Delay resizing left hand side until we | |
7317 know if the assignment conforms. | |
7318 | |
2583 | 7319 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7320 | |
7321 * Version 2.0 released. | |
7322 | |
2570 | 7323 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7324 | |
2575 | 7325 * Array2-idx.h (assign): If index is a colon, set number of |
7326 elements to the lhs dimension if the lhs dimension is greater than | |
7327 zero. Otherwise, set it to the rhs dimension. | |
7328 | |
7329 * Version 1.94. | |
7330 | |
2570 | 7331 * Array2-idx.h (assign): Test for rhs scalar case first. |
7332 If index is colon, set number of elements to lhs dimension, not | |
7333 rhs dimension. | |
7334 | |
2563 | 7335 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7336 | |
2566 | 7337 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
7338 * sun-utils.cc: Delete. | |
7339 * f2c-main.c: New file | |
7340 | |
7341 * Makefile.in: Fix file name lists. | |
7342 | |
2563 | 7343 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
7344 | |
2561 | 7345 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7346 | |
7347 * dMatrix.cc (Qzval): Don't try to use same memory three times. | |
7348 Create result using Complex constructor, not multiplication. | |
7349 Order elements as they are returned from Eispack. | |
7350 | |
2559 | 7351 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7352 | |
2560 | 7353 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
7354 Only include nan.h if SCO is defined. Define _IEEE before | |
7355 including it and undefine it afterward. | |
7356 [SCO] (isnan): Don't mistake Inf as NaN. | |
7357 | |
2559 | 7358 * Array-idx.h (assign): Only resize if assignment conforms. |
7359 | |
2551 | 7360 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7361 | |
7362 * Makefile.in (INCLUDES): Delete lo-error.h. | |
7363 * lo-error.h: Delete (moved to libcruft/misc). | |
7364 | |
7365 * Version 1.93. | |
7366 | |
2546 | 7367 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7368 | |
2549 | 7369 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
7370 be the same as they are in fnmatch.h. | |
7371 | |
2546 | 7372 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
7373 | |
7374 * Makefile.in (INCLUDES): Delete f77-fcn.h. | |
7375 (SOURCES): Delete f77-fcn.c. | |
7376 | |
2522 | 7377 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7378 | |
7379 * lo-ieee.h: [SCO]: Declare isinf and isnan. | |
7380 | |
2512 | 7381 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7382 | |
7383 * Version 1.92. | |
7384 | |
2508 | 7385 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7386 | |
2512 | 7387 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
7388 lines that have only carriage return or newline. | |
7389 | |
2508 | 7390 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
7391 | |
2500 | 7392 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7393 | |
7394 * idx-vector.cc (idx_is_inf_or_nan): New function. | |
7395 (IDX_VEC_REP::idx_vector_rep): Use it. | |
7396 | |
2493 | 7397 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7398 | |
7399 * str-vec.h, str-vec.cc: Add constructors to make string vectors | |
7400 from vectors of C strings. | |
7401 | |
7402 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string | |
7403 vector. | |
7404 (glob_match::match): Allow match string to be a string vector. | |
7405 (glob_match::glob): New function. | |
7406 | |
7407 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. | |
7408 | |
7409 * Array-b.cc: New file. | |
7410 * Makefile.in (TI_SRC): Add it to the list. | |
7411 | |
2492 | 7412 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7413 | |
7414 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h | |
7415 and safe-stat.h, to avoid getting them from $srcdir when we really | |
7416 want the version from the build directory. (Maybe this should be | |
7417 done for all the include files, not just those that are | |
7418 auto-generated? Hmm.) | |
7419 | |
2481 | 7420 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7421 | |
2482 | 7422 * Version 1.91. |
7423 | |
2481 | 7424 * Array3.cc (Array3<T>::resize): Make it work. |
7425 | |
7426 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7427 | |
7428 * oct-alloc.h, oct-alloc.cc: New files. | |
7429 * Makefile.in: Add them to the lists. | |
7430 | |
7431 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7432 | |
7433 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. | |
7434 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. | |
7435 | |
2466 | 7436 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7437 | |
7438 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, | |
7439 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
7440 file_stat::is_reg, file_stat::is_sock): Just return false if the | |
7441 underlying macro is not defined. | |
7442 | |
7443 * oct-math.h (lgamma, gamma): Delete declarations. | |
7444 (asinh, acosh, atanh, erf, erfc): Declare arg types too. | |
7445 Protect declarations with #ifdef HAVE_*. | |
7446 | |
2440 | 7447 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7448 | |
2452 | 7449 * Version 1.90. |
7450 | |
7451 * Makefile.in (DISTFILES): Add ChangeLog. | |
7452 | |
2444 | 7453 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
7454 | |
7455 * Matrix-ext.cc: Include <cfloat>, not <float.h>. | |
7456 | |
2443 | 7457 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444 | 7458 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
7459 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. | |
2443 | 7460 |
2440 | 7461 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
7462 since that is now accepatble syntax, even for built-in types. | |
7463 * Array2.h (T Array2<T>::checkelem): Likewise | |
7464 | |
2433 | 7465 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7466 | |
7467 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error | |
7468 message and return -1. | |
7469 | |
2428 | 7470 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7471 | |
2431 | 7472 * str-vec.h (str_vec_compare): Declare args as const void *, then |
7473 cast them to const string * in the body of the function. | |
7474 | |
7475 * file-ops.cc (file_stat::mode_as_string): Explicitly construct | |
7476 string from buf. | |
7477 | |
2428 | 7478 * Array3.h (Array3::checkelem): Tag bogus return value with |
7479 GCC_ATTRIBUTE_UNUSED. | |
7480 * Array2.h (Array2::checkelem): Likewise. | |
7481 | |
2424 | 7482 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7483 | |
7484 * Quad.h (Quad): Define virtual destructor. | |
7485 | |
2408 | 7486 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7487 | |
7488 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. | |
7489 | |
2401 | 7490 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7491 | |
7492 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ | |
7493 and MAIN__ extern "C". | |
7494 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. | |
7495 | |
2391 | 7496 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7497 | |
7498 * MArray-misc.cc: New file. | |
7499 * Makefile.in (MATRIX_SRC): Add it to the list. | |
7500 | |
7501 * mx-inlines.cc (equal): Return bool, not int. | |
7502 | |
7503 * idx-vector.h (idx_vector (double)): New constructor. | |
7504 | |
7505 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, | |
7506 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, | |
7507 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, | |
7508 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, | |
7509 CRowVector.cc: Logical operators return bool, not int. | |
7510 | |
7511 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): | |
7512 New function. | |
7513 | |
7514 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, | |
7515 Matrix::any_element_is_inf_or_nan, Matrix::abs, | |
7516 Matrix::all_elements_are_inf_or_nan): New functions. | |
7517 | |
7518 * Range.h, Range.cc (Range::all_elements_are_ints): New function. | |
7519 | |
7520 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant | |
7521 for errors. Simplify macros by converting FCN to string for error | |
7522 messages. | |
7523 | |
7524 * Array-idx.h (Array<T>::index): New function. Don't call | |
7525 clear_index() here. | |
7526 (Array<T>::value): Call it, do call clear_index() here. | |
7527 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for | |
7528 one and two arg index functions. | |
7529 | |
7530 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7531 | |
7532 * DAEFunc.h: Delete #pragma interface since there is no longer a | |
7533 separate implementation file. | |
7534 | |
2354 | 7535 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7536 | |
2358 | 7537 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
7538 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. | |
7539 | |
2356 | 7540 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
7541 sort_uniq. If sort_uniq is nonzero, sort the elements and make | |
7542 them uniq. | |
7543 | |
2354 | 7544 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
7545 ComplexMatrix::column_max, ComplexMatrix::column_min): | |
7546 Rewrite. Also return index as a reference arg. | |
7547 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, | |
7548 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): | |
7549 Delete. | |
7550 | |
7551 * dMatrix.cc (Matrix::row_max, Matrix::row_min, | |
7552 Matrix::column_max, Matrix::column_min): | |
7553 Rewrite. Also return index as a reference arg. | |
7554 (Matrix::row_max_loc, Matrix::row_min_loc, | |
7555 Matrix::column_max_loc, Matrix::column_min_loc): Delete. | |
7556 | |
7557 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7558 | |
7559 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, | |
7560 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, | |
7561 Matrix::column_min_loc, Matrix::column_max, | |
7562 Matrix::column_max_loc): Ignore leading NaNs. | |
7563 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, | |
7564 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, | |
7565 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, | |
7566 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore | |
7567 leading NaNs. | |
7568 | |
2352 | 7569 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7570 | |
7571 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds | |
7572 starting at n, not 0. | |
7573 | |
2349 | 7574 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7575 | |
7576 * dMatrix.cc (Matrix::Matrix (const RowVector&), | |
7577 Matrix::Matrix (const ColumnVector&)): New constructors. | |
7578 | |
7579 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), | |
7580 ComplexMatrix::ComplexMatrix (const ColumnVector&), | |
7581 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), | |
7582 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): | |
7583 New constructors. | |
7584 | |
7585 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): | |
7586 New constructor. | |
7587 | |
2343 | 7588 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7589 | |
7590 * LSODE.cc (do_integrate): Check to make sure that the state and | |
7591 derivative vectors are the same size. | |
2344 | 7592 * DASSL.cc (do_integrate): Likewise. |
2343 | 7593 |
2330 | 7594 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7595 | |
7596 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use | |
7597 iostreams and handler data format conversions. Delete old methods | |
7598 that used stdio. | |
7599 | |
7600 * data-conv.h, data-conv.cc (oct_data_conv): New class. | |
7601 | |
7602 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7603 | |
7604 * mach-info.h: Rename from float-fmt.h. | |
7605 * mach-info.cc: Rename from float-fmt.cc. | |
7606 Handle machine information using a singlton class. | |
7607 * Makefile.in: Update appropriate lists. | |
7608 | |
7609 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7610 | |
7611 * Array-flags.cc: Provide definitions for the flags even if | |
7612 OCTAVE_SOURCE is not defined. | |
7613 | |
7614 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects | |
7615 operator(), not elem(). | |
7616 * Array3.h: Move indexing methods here from Array3.cc. | |
7617 | |
7618 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7619 | |
7620 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). | |
7621 | |
7622 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of | |
7623 INSTALL_DATA for shared libs. | |
7624 | |
7625 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7626 | |
7627 * Quad.cc: Include lo-error.h here too. | |
7628 | |
7629 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7630 | |
7631 * file-ops.h: Include sys/types.h here. | |
7632 | |
7633 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7634 | |
7635 * chMatrix.cc (charMatrix::transpose): Provide definition. | |
7636 | |
7637 * Array-idx.h (maybe_delete_elements): Correctly compute number of | |
7638 elements in result. | |
7639 * Array2-idx.h (maybe_delete_elements): Likewise for number of | |
7640 rows and columns in result. | |
7641 | |
7642 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7643 | |
7644 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. | |
7645 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. | |
7646 | |
7647 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7648 | |
7649 * Makefile.in (install-inc): Install in octincludedir, not includedir. | |
7650 | |
7651 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7652 | |
7653 * Makefile.in (uninstall): Also delete shared library. | |
7654 Split install into install-libs and install-includes. | |
7655 (install-inc): If linkdir is a directory, leave it alone. | |
7656 | |
7657 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. | |
7658 | |
7659 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7660 | |
7661 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. | |
7662 * Array2-idx.h (assign): Likewise. | |
7663 | |
7664 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7665 | |
7666 * Array2.cc (Array2<T>::range_error): New functions. | |
7667 | |
7668 * Array.h (class Array<T>): elem() and operator() are now | |
7669 equivalent, and do bounds checking by default. | |
7670 * Array2.cc (class Array2<T>): Likewise. | |
7671 | |
7672 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7673 | |
7674 * Makefile.in (maintainer-clean, distclean): Also delete | |
7675 stamp-picdir, stamp-shared, and pic directory. | |
7676 (stamp-prereq): New target. | |
7677 | |
7678 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7679 | |
7680 * NPSOL.h (NPSOL_options::set_option (const char *, int)): | |
7681 New function. | |
7682 | |
7683 * Array.h, Array.cc (Array<T>::range_error ()): New functions. | |
7684 * Array.h (Array<T>::checkelem): Use them. | |
7685 | |
7686 * base-lu.h, base-lu.cc: Parameterize based on types of matrix | |
7687 elements too. | |
7688 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. | |
7689 | |
7690 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. | |
7691 | |
7692 * Makefile.in (distclean): Delete so_locations, which is created | |
7693 on DEC Alpha systems. | |
7694 | |
7695 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7696 | |
7697 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not | |
7698 already defined. | |
7699 | |
7700 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7701 | |
7702 * pathsearch.cc: Include config.h. | |
7703 | |
7704 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7705 | |
7706 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't | |
7707 allow M(I, J) = scalar if I or J is empty. | |
7708 | |
7709 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h | |
7710 and Array3-idx.h). | |
7711 | |
7712 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7713 | |
7714 * lo-error.h: Make comments C friendly. | |
7715 | |
7716 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7717 | |
7718 * Array2.h (make_unique): Move all indexing functions here. | |
7719 * Array2.cc: From here. | |
7720 | |
7721 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control | |
7722 whether operator() calls elem or checkelem. | |
7723 | |
7724 * Array.h (make_unique): New private function. | |
7725 Move all indexing functions here. | |
7726 * Array.cc: From here. | |
7727 | |
7728 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference | |
7729 it too. | |
7730 | |
7731 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, | |
7732 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, | |
7733 MArray-C.cc: Include config.h. | |
7734 | |
7735 * Array.h, Array2.h, DiagArray2.h, Array3.h: | |
7736 Don't define HEAVYWEIGHT_INDEXING here. | |
7737 | |
7738 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7739 | |
7740 * base-lu.h, base-lu.cc: New files. | |
7741 * Makefile.in: Add them to the appropriate lists. | |
7742 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. | |
7743 | |
7744 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7745 | |
7746 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h | |
7747 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h | |
7748 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. | |
7749 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. | |
7750 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. | |
7751 | |
7752 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. | |
7753 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. | |
7754 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. | |
7755 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: | |
7756 Simplify using new macros. | |
7757 | |
7758 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7759 | |
7760 * Makefile.in (install): If $(includedir) ends in version string, | |
7761 make link to name that does not include version info. | |
7762 | |
7763 * lo-ieee.cc: Include <cmath> here. | |
7764 | |
7765 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7766 | |
7767 * lo-ieee.cc, lo-ieee.h: New files. | |
7768 * lo-mappers.cc, lo-mappers.h: New files. | |
7769 * lo-utils.cc, lo-utils.h: New files. | |
7770 * Makefile.in: Add them to the appropriate lists. | |
7771 | |
7772 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7773 | |
7774 * dMatrix.cc (all_integers, too_large_for_float): New functions. | |
7775 * CMatrix.cc (all_integers, too_large_for_float): New functions. | |
7776 | |
7777 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, | |
7778 float-fmt.cc: New files. | |
7779 * Makefile.in: Include them in the appropriate lists. | |
7780 | |
7781 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7782 | |
7783 * dMatrix.cc (Qzval): New function. | |
7784 | |
7785 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7786 | |
7787 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not | |
7788 char*. | |
7789 | |
7790 * DASSL.h, DASSL.cc: Do better management of temporary workspace. | |
7791 Use F77_XFCN to call Fortran subroutine. | |
7792 * dColVector.cc, CColVector.cc: Likewise. | |
7793 * dRowVector.cc, CRowVector.cc: Likewise. | |
7794 * NPSOL.h, NPSOL.cc: Likewise. | |
7795 * CmplxCHOL.cc: Likewise. | |
7796 * dbleCHOL.cc: Likewise. | |
7797 * CMatrix.cc: Likewise. | |
7798 * dMatrix.cc: Likewise. | |
7799 * QPSOL.cc: Likewise. | |
7800 * LSODE.cc: Likewise. | |
7801 | |
7802 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7803 | |
7804 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. | |
7805 | |
7806 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary | |
7807 workspace. Use F77_XFCN to call Fortran subroutine. | |
7808 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. | |
7809 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. | |
7810 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. | |
7811 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. | |
7812 * CmplxHESS.h, CmplxHESS.cc: Likewise. | |
7813 * CmplxSVD.h, CmplxSVD.cc: Likewise. | |
7814 * dbleHESS.h, dbleHESS.cc: Likewise. | |
7815 * dbleSVD.h, dbleSVD.cc: Likewise. | |
7816 * EIG.h, EIG.cc; Likewise. | |
7817 * CollocWt.cc: Likewise. | |
7818 * NLEqn.cc: Likewise. | |
7819 * Quad.cc: Likewise. | |
7820 | |
7821 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7822 | |
7823 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. | |
7824 Use F77_XFCN to call Fortran subroutine. | |
7825 * CmplxLU.h, CmplxLU.cc: Ditto. | |
7826 * dbleQR.h, dbleQR.cc: Ditto. | |
7827 * CmplxQR.h, CmplxQR.cc: Ditto. | |
7828 * dbleQRP.h, dbleQRP.cc: Ditto. | |
7829 * CmplxQRP.h, CmplxQRP.cc: Ditto. | |
7830 | |
7831 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. | |
7832 (struct DIR): delete forward declaration. | |
7833 (dir_entry::operator = (const dir_entry$)): Protect against | |
7834 copying same object. | |
7835 * dir-ops.cc: Cast dir appropriately. | |
7836 | |
7837 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7838 | |
7839 * lo-error.cc: Moved to libcruft/misc. | |
7840 * Makefile.in: Delete it from the list. | |
7841 | |
7842 * f77-fcn.c (f77_context, f77_exception_encountered): Delete | |
7843 definitions (they have been moved to libcruft/misc/f77-extern.cc). | |
7844 | |
7845 * Array-flags.h: New file. | |
7846 * Array-idx.h: Include it here. | |
7847 * Makefile.in (MATRIX_INC): Add it to the list. | |
7848 | |
7849 * Array-flags.cc: Renamed from Array-ext.cc. | |
7850 (liboctave_dfi_flag): Renamed from dfi_flag. | |
7851 (liboctave_pcv_flag): Renamed from pcv_flag. | |
7852 (liboctave_pzo_flag): Renamed from pzo_flag. | |
7853 (liboctave_rre_flag): Renamed from rre_flag. | |
7854 * Array-idx.h: Change all uses of dfi_flag, etc. | |
7855 * Makefile.in (MATRIX_SRC): Change file name here too. | |
7856 | |
7857 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. | |
7858 (stamp-shared): Use them here. | |
7859 | |
7860 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7861 | |
7862 * cmd-hist.cc (command_history::ignore_entries): Delete default | |
7863 argument value. | |
7864 | |
7865 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7866 | |
7867 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, | |
7868 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, | |
7869 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, | |
7870 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: | |
7871 Clean up constructors, assigment operator. | |
7872 | |
7873 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7874 | |
7875 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. | |
7876 Check f77_exception_encountered on return. | |
7877 | |
7878 * f77-fcn.c (f77_exception_encountered): New variable. | |
7879 (F77_XFCN): Set it. | |
7880 * f77-fcn.h: Provide declaration. | |
7881 | |
7882 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). | |
7883 | |
7884 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). | |
7885 | |
7886 * NLEqn.h (NLEqn_options::set_options): New function. | |
7887 * Quad.h (Quad_options::set_options): Likewise. | |
7888 | |
7889 * LP.h (class LP): Add accessors for LP data. | |
7890 | |
7891 * NLEqn.h (NLEqn::n): Delete. | |
7892 | |
7893 * NLEqn.h (class NLEqn::n): Likewise. | |
7894 | |
7895 * NLP.h (class NLP): Add accessors for NLP data. | |
7896 | |
7897 * NPSOL.h (class NPSOL_options): Move constructors, set, and | |
7898 access functions here. | |
7899 * NPSOL.cc.cc: From here. | |
7900 | |
7901 * QLD.h (class QLD): Add destructor definition. | |
7902 * Objective.h (class Objective): Likewise. | |
7903 * ODEFunc.h (class ODEFunc): Likewise. | |
7904 * NLFunc.h (class NLFunc): Likewise. | |
7905 * NLEqn.h (class NLEqn): Likewise. | |
7906 * NLConst.h (class NLConst): Likewise. | |
7907 * LinConst.h (class LinConst): Likewise. | |
7908 * LSODE.h (class LSODE_options): Likewise. | |
7909 * CollocWt.h (class CollocWt): Likewise. | |
7910 * Bounds.h (class Bounds): Likewise. | |
7911 | |
7912 * QLD.cc (QLD::set_default_options): Delete. | |
7913 | |
7914 * QP.h (QP): Add accessors for QP data. | |
7915 Add copy constructor, operator =, and destructor definitions. | |
7916 | |
7917 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, | |
7918 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, | |
7919 DAEFunc.h, CollocWt.h, Bounds.h: | |
7920 Clean up constructors, assigment operator. | |
7921 | |
7922 * dRowVector.cc (RowVector::transpose): Use magic of reference | |
7923 counting to avoid duplicating the data immediately. | |
7924 * dColVector.cc (ColumnVector::transpose): Likewise. | |
7925 * CRowVector.cc (ComplexrowVector::transpose): Likewise. | |
7926 * CColVector.cc (ComplexColumnVector::transpose): Likewise. | |
7927 | |
7928 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7929 | |
7930 * prog-args.h (prog_args::option_argument): New enum. | |
7931 | |
7932 * f77-fcn.h: Rename from f77-uscore.h. | |
7933 (F77_XFCN_ERROR, F77_XFCN): New macros. | |
7934 * f77-fcn.c: New file. | |
7935 * Makefile.in (SOURCES): Add it to the list. | |
7936 | |
7937 * ODEFunc.h: Clean up. | |
7938 | |
7939 * DASSL.cc, DASSL.h: New files. | |
7940 * Makefile.in: Add them to the appropriate lists. | |
7941 | |
7942 * LSODE.cc, LSODE.h: New files. | |
7943 * Makefile.in: Add them to the appropriate lists. | |
7944 | |
7945 * ODE.cc: Delete. | |
7946 * Makefile.in (SOURCES): Remove from list. | |
7947 | |
7948 * base-de.h, DAE.cc: New files. | |
7949 * Makefile.in: Add them to the appropriate lists. | |
7950 * ODE.h: Only define interface for ODE classes. | |
7951 * DAE.h: Only define interface for ODE classes. | |
7952 | |
7953 * LPsolve.cc (do_minimize): Print sorry not implemented message. | |
7954 (LPsolve::set_default_options)): Delete | |
7955 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and | |
7956 destructor. | |
7957 | |
7958 * LP.h (class LP): Add operator =, copy constructor, and destructor. | |
7959 | |
7960 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. | |
7961 (QPSOL::operator =): Call base class operator = instead of assuming | |
7962 we know what to copy. | |
7963 | |
7964 * base-min.h (size): New function. | |
7965 | |
7966 * NLP.h (NLP::size): Delete. | |
7967 (NLP::NLP (const NLP&)): New constructor. | |
7968 (NLP::operator =): Call base class operator = instead of assuming | |
7969 we know what to copy. | |
7970 | |
7971 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. | |
7972 (class NPSOL): Add operator = and destructor. | |
7973 | |
7974 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. | |
7975 | |
7976 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7977 | |
7978 * Makefile.in (liboctave.a): Depend on $(PICOBJ). | |
7979 | |
7980 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7981 | |
7982 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. | |
7983 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. | |
7984 | |
7985 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7986 | |
7987 * prog-args.h, prog-args.cc: New files. | |
7988 * Makefile.in: Add them to lists. | |
7989 | |
7990 * getopt.h, getopt.c, getopt1.c: New files. | |
7991 * Makefile.in: Add them to the lists. | |
7992 | |
7993 * oct-term.h, oct-term.cc: New files. | |
7994 * Makefile.in: Add them to the lists. | |
7995 | |
7996 * str-vec.cc: New file. | |
7997 * Makefile.in (SOURCES): Add it to the list. | |
7998 | |
7999 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. | |
8000 | |
8001 * tempname.c, tempnam.c: Move here from src directory. | |
8002 * Makefile.in: Add to lists. | |
8003 | |
8004 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8005 | |
8006 * cmd-hist.h, cmd-hist.cc: New files. | |
8007 * Makefile.in: Add them to lists. | |
8008 | |
8009 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8010 | |
8011 * oct-glob.h, oct-glob.cc: New files. | |
8012 * Makefile.in: Add them to lists. | |
8013 | |
8014 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8015 | |
8016 * pathsearch.h, pathsearch.cc: New files. | |
8017 * Makefile.in: Add them to lists. | |
8018 | |
8019 * dir-ops.h, dir-ops.cc: New files. | |
8020 * sysdir.h: Move here from src directory. | |
8021 * Makefile.in: Add them to lists. | |
8022 | |
8023 * Array.h (Array::qsort): Return *this, not void. | |
8024 * str-vec.h (string_vector::qsort): Likewise. | |
8025 | |
8026 * chMatrix.cc (row_as_string): Resize result to eliminate | |
8027 unnecessary NULs. | |
8028 | |
8029 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8030 | |
8031 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, | |
8032 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: | |
8033 Files moved here from src directory. | |
8034 * Makefile.in: Add them to lists. Include appropriate rules. | |
8035 | |
8036 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
8037 Use pointers, not references (this is C code!). | |
8038 | |
8039 * oct-math.h: New file. | |
8040 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
8041 Files moved here from src directory. | |
8042 * Makefile.in: Add them to lists. | |
8043 | |
8044 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8045 | |
8046 * idx-vector.cc (make_uniq): Fix major brain-o. | |
8047 | |
8048 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: | |
8049 Convert to use string class instead of char*. | |
8050 | |
8051 * str-vec.h, Array-str.cc: New files. | |
8052 | |
8053 * Array.h (Array::qsort): New function. | |
8054 | |
8055 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8056 | |
8057 * Array.h: Nest ArrayRep class inside Array class. | |
8058 Refer to ArrayRep, not ArrayRep<T>. | |
8059 Move all ArrayRep functions inline. | |
8060 Don't declare other Array classes as friends of ArrayRep. | |
8061 * Array.cc: Delete ArrayRep functions. | |
8062 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. | |
8063 | |
8064 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: | |
8065 Don't instantiate ArrayRep objects. | |
8066 | |
8067 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8068 | |
8069 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
8070 New constructor. | |
8071 | |
8072 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8073 | |
8074 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* | |
8075 for balance_job arg. | |
8076 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. | |
8077 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. | |
8078 | |
8079 * chMatrix.cc (row_as_string): Return string, not const char*. | |
8080 | |
8081 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8082 | |
8083 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. | |
8084 | |
8085 * chMatrix.cc (row_as_string): Undo previous change. | |
8086 | |
8087 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8088 | |
8089 * chMatrix.cc (row_as_string): Do memory management here. Caller | |
8090 is expected to save string if necessary. | |
8091 | |
8092 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8093 | |
8094 * Array.h (class DiagArray): Enable nested Proxy class for all | |
8095 platforms. | |
8096 | |
8097 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == | |
8098 a.rep, don't mess with count. | |
8099 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, | |
8100 don't do anything if reps are the same. | |
8101 (Array3<T>& operator = (const Array3<T>&) | |
8102 | |
8103 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): | |
8104 Declare private with no definition to prevent misuse. | |
8105 | |
8106 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): | |
8107 Get range check right. | |
8108 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. | |
8109 (Matrix::insert (const ColumnVector&, int, int)): Ditto. | |
8110 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. | |
8111 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. | |
8112 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. | |
8113 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. | |
8114 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. | |
8115 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. | |
8116 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. | |
8117 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. | |
8118 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. | |
8119 * dColVector.cc | |
8120 (ColumnVector::insert (const ColumnVector&, int)): Ditto. | |
8121 * CRowVector.cc | |
8122 (ComplexRowVector::insert (const RowVector&, int)): Ditto. | |
8123 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. | |
8124 * CColVector.cc | |
8125 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. | |
8126 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. | |
8127 | |
8128 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): | |
8129 Also fill in zeros, not just the diagonal. | |
8130 | |
8131 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): | |
8132 Use END parameter properly. | |
8133 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. | |
8134 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. | |
8135 | |
8136 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. | |
8137 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. | |
8138 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): | |
8139 Don't copy count. Set it to 1. | |
8140 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. | |
8141 | |
8142 * Array.h (Array<T>::Array (T *, int)): After constructing rep, | |
8143 don't set rep->count to 1 here (now handled by ArrayRep | |
8144 constructors). | |
8145 (Array<T>::Array (void)): Ditto. | |
8146 (Array<T>::Array (int)): Ditto. | |
8147 (Array<T>::T& elem (int)): Ditto. | |
8148 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. | |
8149 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. | |
8150 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. | |
8151 (Array<T>::resize (int)): Ditto. | |
8152 (Array<T>::resize (int, const T&)) :Ditto. | |
8153 (Array<T>::fortran_vec (void)): Ditto. | |
8154 (Array2<T>::resize (int, int)): Ditto. | |
8155 (Array2<T>::resize (int, int, const T&)): Ditto. | |
8156 (DiagArray<T>::resize (int, int)): Ditto. | |
8157 (DiagArray<T>::resize (int, int, const T&)): Ditto. | |
8158 | |
8159 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8160 | |
8161 * Array-ch.cc: Rename from Array-c.cc. | |
8162 * MArray-ch.cc: Rename from MArray-c.cc. | |
8163 * chMatrix.cc: Rename from cMatrix.cc. | |
8164 * chMatrix.h: Rename from cMatrix.h. | |
8165 * Makefile.in (TI_SRC): Use new names here. | |
8166 * mx-base.h: Likewise. | |
8167 | |
8168 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8169 | |
8170 * Makefile.in: Handle shared libraries. | |
8171 | |
8172 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8173 | |
8174 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): | |
8175 Correctly compute length of return value. Correct rows and | |
8176 columns in zgemv call. | |
8177 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. | |
8178 | |
8179 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8180 | |
8181 * Makefile.in (stamp-picdir): New target. | |
8182 (all): Depend on it. | |
8183 | |
8184 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8185 | |
8186 * Makefile.in (INCLUDES): Remove QLD.h. | |
8187 (SOURCES): Remove QLD.cc. | |
8188 | |
8189 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8190 | |
8191 * dMatrix.cc (Matrix::inverse): New arg, force. | |
8192 If force is nonzero, invert even if matrix is singular. | |
8193 (ComplexMatrix::inverse): Likewise. | |
8194 | |
8195 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, | |
8196 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, | |
8197 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: | |
8198 Include "oct-cmplx.h" instead of <Complex.h>. | |
8199 | |
8200 * mx-defs.h: Include oct-cmplx.h in place of forward declaration | |
8201 for class Complex. | |
8202 | |
8203 * oct-cmplx.h: New file. | |
8204 * Makefile.in (INCLUDES): Add it to the list. | |
8205 | |
8206 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. | |
8207 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. | |
8208 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. | |
8209 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): | |
8210 Avoid g++ bugs. | |
8211 | |
8212 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8213 | |
8214 * Array-idx.h (maybe_delete_elements): Give useful error message. | |
8215 | |
8216 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. | |
8217 | |
8218 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8219 | |
8220 * CDiagMatrix.cc (inverse): Return retval, not *this. | |
8221 * dDiagMatrix.cc (inverse): Use same method as for Complex case. | |
8222 | |
8223 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8224 | |
8225 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep | |
8226 index vector object with Array, not ArrayRep. | |
8227 | |
8228 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8229 | |
8230 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail | |
8231 if index is a colon and resizing is maybe needed. | |
8232 | |
8233 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8234 | |
8235 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true | |
8236 if we have a vector of 1's. | |
8237 | |
8238 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no | |
8239 current orientation, require index and rhs to conform unless | |
8240 do_fortran_indexing flag is set. | |
8241 | |
8242 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8243 | |
8244 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, | |
8245 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, | |
8246 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, | |
8247 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, | |
8248 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: | |
8249 Massive changes to support additional data types. Only charMatrix | |
8250 is currently used in Octave. | |
8251 | |
8252 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8253 | |
8254 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. | |
8255 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): | |
8256 Simply call Array2<Complex> version. | |
8257 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just | |
8258 call Array2<double> version. | |
8259 | |
8260 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. | |
8261 | |
8262 * Array.h, Array.cc: Massive overhaul to support new way of | |
8263 handling indexing. | |
8264 * idx-vector.h, idx-vector.cc: Likewise. | |
8265 * Array-ext.cc, Array-idx.h: New files. | |
8266 * Makefile.in: Add them to the appropriate lists. | |
8267 | |
8268 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8269 | |
8270 * Range.cc (nelem_internal): Use tfloor here, not round. | |
8271 | |
8272 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8273 | |
8274 * idx-vector.h, idx-vector.cc: New files, moved from ../src. | |
8275 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. | |
8276 | |
8277 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8278 | |
8279 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. | |
8280 | |
8281 * Array.h: Move simple member functions here. | |
8282 * Array.cc: From here. | |
8283 | |
8284 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8285 | |
8286 * Range.cc (tfloor, tceil, round): New static functions. | |
8287 (Range::nelem_internal): Rewrite to use better method. | |
8288 | |
8289 * dbleSVD.h (SVD::type): New item, sigma_only. | |
8290 (type_computed): New var. | |
8291 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): | |
8292 Handle possible error condition. | |
8293 (init): Allow for SVD::sigma_only, save type computed. | |
8294 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): | |
8295 Handle possible error condition. | |
8296 (init): Allow for SVD::sigma_only, save type computed. | |
8297 | |
8298 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8299 | |
8300 * Nearly all non-matrix .h and .cc files: | |
8301 Move short function bodies into class declarations for inlining. | |
8302 Generally clean up. | |
8303 | |
8304 * base-min.h: New file. | |
8305 * LP.h (class LP): Derive from base_minimizer. | |
8306 * QLP.h (class QLP): Derive from base_minimizer. | |
8307 * NLP.h (class NLP): Derive from base_minimizer. | |
8308 * Makefile.in (INCLUDES): Add base-min.h to the list. | |
8309 | |
8310 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, | |
8311 NLFunc.cc, Objective.cc and QP.cc from list. | |
8312 | |
8313 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8314 | |
8315 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. | |
8316 (SCHUR::SCHUR): Delete unused parameter ord. | |
8317 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. | |
8318 | |
8319 * CRowVector.cc | |
8320 (ComplexRowVector::operator+ (const Complex&, const RowVector&), | |
8321 (ComplexRowVector::operator- (const Complex&, const RowVector&), | |
8322 (ComplexRowVector::operator* (const Complex&, const RowVector&), | |
8323 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): | |
8324 Actually do something. | |
8325 | |
8326 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. | |
8327 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. | |
8328 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. | |
8329 | |
8330 * Quad.cc (Quad_options::Quad_options (double, double)): New function. | |
8331 * (Quad::Quad (integrand_fcn, double, double): Properly initialize | |
8332 tolerances. | |
8333 | |
8334 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. | |
8335 * LPsolve.cc (LPsolve::minimize): Likewise. | |
8336 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. | |
8337 * ODE.cc (lsode_f, lsode_j): Likewise. | |
8338 * QPSOL.cc (qphess): Likewise. | |
8339 | |
8340 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8341 | |
8342 * dMatrix.cc: Include <cstring>. | |
8343 | |
8344 * Array.cc: Try harder to avoid warnings from gcc in functions | |
8345 that return bogus values after calling the error handler. | |
8346 | |
8347 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8348 | |
8349 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. | |
8350 | |
8351 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. | |
8352 | |
8353 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8354 | |
8355 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. | |
8356 (dassl_j): Likewise. | |
8357 | |
8358 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, | |
8359 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, | |
8360 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: | |
8361 Update for change in for loop variable scope for gcc 2.7.0. | |
8362 | |
8363 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8364 | |
8365 * Makefile.in: Only include dependency files if $(omit_deps) is | |
8366 not set. | |
8367 | |
8368 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) | |
8369 | |
8370 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h | |
8371 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h | |
8372 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h | |
8373 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h | |
8374 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h | |
8375 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h | |
8376 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h | |
8377 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h | |
8378 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc | |
8379 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc | |
8380 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc | |
8381 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc | |
8382 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc | |
8383 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc | |
8384 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc | |
8385 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc | |
8386 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc | |
8387 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h | |
8388 NLP.h: Use pragma interface/implementation. Don't surround | |
8389 contents in extern "C++". | |
8390 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". | |
8391 | |
8392 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8393 | |
8394 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase | |
8395 identifiers. | |
8396 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
8397 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
8398 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
8399 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
8400 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
8401 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
8402 Quad.cc: Change usage of F77_FCN to match new definition | |
8403 | |
8404 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
8405 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
8406 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
8407 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
8408 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
8409 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
8410 Quad.cc: Where appropriate, declare Fortran subroutines to take | |
8411 args by reference instead of pointer. Change all callers. | |
8412 | |
8413 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8414 | |
8415 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New | |
8416 functions. Make += and -= operators friend functions. | |
8417 | |
8418 * Array.h (Array2::~Array2, Array3::~Array3, | |
8419 DiagArray::~DiagArray): New functions. | |
8420 | |
8421 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8422 | |
8423 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. | |
8424 (MATRIX_INC): Don't distribute mx-kludge.h. | |
8425 | |
8426 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
8427 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
8428 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
8429 dRowVector.h dRowVector.cc: | |
8430 Derive classes from MArray, MArray2, and MDiagArray, not Array, | |
8431 Array2, and DiagArray2. | |
8432 Don't use functions defined in mx-kludge.cc for arithmetic | |
8433 like-type operations on arrays. | |
8434 | |
8435 * MArray.cc: Use the classes defined here like-type mathematical | |
8436 operations on Array objects. Abuse CPP more. | |
8437 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
8438 (EXTRAS): Delete it from this list. | |
8439 | |
8440 * MArray-C.cc, MArray-d.cc: New files. | |
8441 * Makefile.in (TI_SRC): Add them to the list. | |
8442 | |
8443 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8444 | |
8445 * mx-kludge.cc: Abuse CPP even more. | |
8446 | |
8447 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8448 | |
8449 * Objective.h (objective_function): Add missing const. | |
8450 (gradient_function): Likewise. | |
8451 | |
8452 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
8453 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
8454 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
8455 dRowVector.h dRowVector.cc: | |
8456 Reorganize to declare and define friends where they should be, | |
8457 based on the use of private constructors. | |
8458 | |
8459 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8460 | |
8461 * CRowVector.h (linspace): Add declaration. | |
8462 * dRowVector.h (linspace): Likewise. | |
8463 | |
8464 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
8465 Force result of rcond + 1.0 to be stored. | |
8466 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, | |
8467 ComplexMatrix::solve): Likewise. | |
8468 | |
8469 See ChangeLog.1 in the top level directory for earlier changes. |