Mercurial > hg > octave-lyh
annotate liboctave/ChangeLog @ 7600:24abf5a702d9
Chop trailing singletons in min/max functions
author | David Bateman <dbateman@free.fr> |
---|---|
date | Tue, 18 Mar 2008 20:27:50 -0400 |
parents | a89b3fa632ee |
children | 8a939b217863 |
rev | line source |
---|---|
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
1 2008-03-18 David Bateman <dbateman@free.fr> |
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
2 |
7600
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
3 * dNDArray.cc (NDArray::min, NDArraymax): chop trailing singletons. |
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
4 * CNDarray.cc (ComplexNDArray::min, CompelxNDArray::max): ditto. |
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
5 * intNDarray.cc (intNDArray<T>::min, intNDArray<T>::max): ditto. |
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
6 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
7 * Array.cc (Array<T>::index): Don't short_freeze on index with |
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
8 fewer dimensions than the array only if the last dimension is empty. |
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
9 |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
10 2008-03-18 John W. Eaton <jwe@octave.org> |
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
11 |
7598
a89b3fa632ee
partial specialization for octave_int_fit_to_range
John W. Eaton <jwe@octave.org>
parents:
7597
diff
changeset
|
12 * oct-inttypes.h (octave_int_fit_to_range): |
a89b3fa632ee
partial specialization for octave_int_fit_to_range
John W. Eaton <jwe@octave.org>
parents:
7597
diff
changeset
|
13 Use partial specialization for double values. |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
14 |
7573
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
15 2008-03-08 John W. Eaton <jwe@octave.org> |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
16 |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
17 * Sparse.cc (Sparse<T>::index, assign): Likewise. |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
18 * Array.cc (Array<T>::index1, Array<T>::index2, Array<T>::indexN, |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
19 assign2): Eliminate use of idx_vector::is_one_zero method. |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
20 * idx-vector.cc, idx-vector.h |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
21 (idx_vector::maybe_convert_one_zero_to_idx, |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
22 IDX_VEC_REP::maybe_convert_one_zero_to_idx): Delete unused function. |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
23 (IDX_VEC_REP::one_zero): Delete data member. |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
24 (IDX_VEC_REP::is_colon_equiv): Delete one_zero check. |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
25 (idx_vector::is_one_zero, IDX_VEC_REP::is_one_zero): Delete function. |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
26 |
7572
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
27 2008-03-07 John W. Eaton <jwe@octave.org> |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
28 |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
29 * 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
|
30 IDX_VEC_REP::idx_vector_rep (const boolNDArray&)): |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
31 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
|
32 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
|
33 (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
|
34 |
7559
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
35 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
|
36 |
7560
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
37 * 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
|
38 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
|
39 * 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
|
40 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
|
41 |
7559
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
42 * dbleCHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
43 * CmplxHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
44 * 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
|
45 * 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
|
46 * 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
|
47 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
48 2008-03-04 Jaroslav Hajek <highegg@gmail.com> |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
49 |
7554
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
50 * dbleCHOL.cc (CHOL::set, CHOL::update, CHOL::downdate): |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
51 New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
52 * dbleCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
53 * CmplxCHOL.cc (ComplexCHOL::set, ComplexCHOL::update, |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
54 ComplexCHOL::downdate): New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
55 * CmplxCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
56 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
57 * 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
|
58 QR::insert_row, QR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
59 (QR::QR (const Matrix&, const MAtrix&)): New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
60 * dbleQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
61 * CmplxQR.cc (ComplexQR::update, ComplexQR::insert_col, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
62 ComplexQR::delete_col, ComplexQR::insert_row, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
63 ComplexQR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
64 (ComplexQR::ComplexQR (const ComplexMatrix&, const ComplexMAtrix&)): |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
65 New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
66 * CmplxQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
67 |
7549
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
68 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
|
69 |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
70 * 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
|
71 of < and > operators. |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
72 |
7546
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
73 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
|
74 |
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
75 * 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
|
76 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
|
77 |
7545 | 78 2008-03-03 Jaroslav Hajek <highegg@gmail.com> |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
79 |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
80 * dMatrix.cc (Matrix::lssolve): Also avoid dgelsd lwork query bug |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
81 in lssolve method that accepts column vector argument. Correct |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
82 calculation of nlvl. |
7545 | 83 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd. |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
84 |
7537
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
85 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
|
86 |
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
87 * 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
|
88 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
89 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
|
90 |
7536 | 91 * oct-rand.cc (get_dist_id): Fix typo. |
92 (get_dist_id, octave_rand::distribution, octave_rand::scalar, | |
93 fill_rand): Improve error messages. | |
94 | |
7535
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
95 * 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
|
96 (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
|
97 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
|
98 (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
|
99 |
7533
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
100 * 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
|
101 (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
|
102 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
|
103 (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
|
104 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
|
105 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
|
106 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
|
107 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
|
108 (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
|
109 (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
|
110 (octave_rand::uniform_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
111 octave_rand::normal_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
112 octave_rand::exponential_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
113 octave_rand::poisson_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
114 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
|
115 (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
|
116 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
|
117 (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
|
118 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
119 * 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
|
120 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd |
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
121 |
7521
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
122 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
|
123 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
124 * 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
|
125 specializations for signed and unsigned types. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
126 (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
|
127 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
|
128 octave_int_helper class. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
129 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
130 * 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
|
131 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
|
132 with "template <>". |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
133 |
7520 | 134 2008-02-22 John W. Eaton <jwe@octave.org> |
135 | |
136 * CSparse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc, | |
137 file-ops.cc, oct-group.cc, oct-shlib.cc, sparse-base-chol.h, | |
138 sparse-dmsolve.cc: Use 0 instead of NULL. | |
139 | |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
140 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
|
141 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
142 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
143 (octave_idx_type) const): New method. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
144 * boolSparse.h (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
145 (octave_idx_type) const): Declare it. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
146 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
147 * 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
|
148 factorization of xGETRF directly. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
149 * 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
|
150 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
|
151 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
|
152 to simulate the retirn of xGETRF. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
153 * 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
|
154 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
|
155 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
|
156 (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
|
157 * 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
|
158 scaling. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
159 * SparseCmplxLU.cc: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
160 * 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
|
161 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
|
162 * SparseCmplxLU.h: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
163 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
164 * 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
|
165 return permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
166 * 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
|
167 * 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
|
168 return row permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
169 (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
|
170 permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
171 * 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
|
172 (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
|
173 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
174 * 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
|
175 |
7505
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
176 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
|
177 |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
178 * 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
|
179 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
|
180 (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
|
181 * 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
|
182 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
|
183 (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
|
184 * 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
|
185 * 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
|
186 |
7503
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
187 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
|
188 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
189 * boolNDArray.h (boolNDArray (const Array2<bool>&)): Delete. |
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 * Marray2.h (MArray2 (const Array2<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
192 MArray2 (const MArray2<U>&)): New templated constructors. |
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 * Array2.h (Array2 (const Array<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
195 Array2 (const Array<U>&, const dim_vector&)): |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
196 New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
197 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
198 * CColVector.cc (ComplexColumnVector::map): Forward to MArray::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
199 * dColVector.cc (ColumnVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
200 * CRowVector.cc (ComplexRowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
201 * dRowVector.cc (RowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
202 * CMatrix.cc (ComplexMatrix::map): Forward to MArray2::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
203 * dMatrix.cc (Matrix::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
204 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
205 * dNDArray.cc (NDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
206 * dNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
207 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
208 * CNDArray.cc (ComplexNDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
209 * CNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
210 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
211 * MArray2.h (MArray2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
212 * Array2.h (Array2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
213 * MArrayN.h (MArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
214 * ArrayN.h (ArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
215 * Array.h (Array<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
216 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
217 * functor.h: New file. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
218 * Makefile.in (INCLUDES): Add it to the list. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
219 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
220 2008-02-20 David Bateman <dbateman@free.fr> |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
221 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
222 * CColVector.h, CColVector.cc (ComplexColumnVector::apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
223 * dColVector.h, dColVector.cc (ColumnVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
224 * CRowVector.h, CRowVector.cc (ComplexRowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
225 * dRowVector.h, dRowVector.cc (RowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
226 * CMatrix.h, CMatrix.cc (ComplexMatrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
227 * dMatrix.h, dMatrix.cc (Matrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
228 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
229 * CSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
230 (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
|
231 * CSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
232 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
233 * dSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
234 (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
|
235 * dSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
236 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
237 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
238 * intNDArray.cc (abs, signum): Two new mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
239 * intNDArray.h (abs, signum): Declare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
240 * 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
|
241 base type. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
242 |
7486
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
243 2008-02-15 John W. Eaton <jwe@octave.org> |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
244 |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
245 * 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
|
246 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
|
247 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
248 |
7482
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
249 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
|
250 |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
251 * 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
|
252 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
|
253 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
|
254 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
|
255 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
|
256 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
|
257 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc: |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
258 Don't check f77_exception_encountered. |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
259 |
7477 | 260 2008-02-12 John W. Eaton <jwe@octave.org> |
261 | |
262 * CMatrix.cc: Declare xilaenv instead of ilaenv. | |
263 (ComplexMatrix::lssolve): Call xilaenv instead of ilaenv. | |
264 | |
7476 | 265 2008-02-12 Jason Riedy <ejr@cs.berkeley.edu> |
266 | |
7480 | 267 * Array.cc (ascending_compare, descending_compare): Remove |
268 non-standard extern in the instantiations. | |
269 | |
270 * oct-sort.cc: Include <cstring> and sprinkle with std:: as needed. | |
271 | |
7476 | 272 * dMatrix.cc (ILAENV): Declare LAPACK Fortran function. |
273 (Matrix::lssolve): Use ILAENV to query smlsiz. And add an ugly | |
274 workaround for DGELSD's broken lwork query. The formula is from | |
275 LAPACK's dgelsd.f source and allocates enough workspace to use an | |
276 efficient algorithm in the short-and-fat case (n > m). | |
277 * CMatrix.cc (ILAENV): Declare LAPACK Fortran function. | |
278 (ComplexMatrix::lssolve): Use ILAENV to query smlsiz. And add an | |
279 ugly workaround for DGELSD's broken lwork query, as with double. | |
280 | |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
281 2008-02-12 John W. Eaton <jwe@octave.org> |
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
282 |
7470
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
283 * sparse-sort.cc: Don't explicitly instantiate |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
284 class octave_sort<octave_idx_vector_sort *>, |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
285 class octave_sort<octave_idx_type>, or |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
286 class octave_sort<octave_sparse_sort_idxl *>. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
287 |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
288 * Sparse.h (INSTANTIATE_SPARSE_SORT): Delete macro. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
289 * 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
|
290 |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
291 * 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
|
292 |
7466
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
293 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
|
294 |
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
295 * 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
|
296 |
7463
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
297 2008-02-08 John W. Eaton <jwe@octave.org> |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
298 |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
299 * oct-sort.h (enum sortmode): Eliminate UNDEFINED. Change all |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
300 uses of UNDEFINED to ASCENDING. |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
301 |
7457 | 302 2008-02-07 John W. Eaton <jwe@octave.org> |
303 | |
7458 | 304 * Range.cc (Range::sort_internal): Rename from sort. New arg, |
305 ASCENDING, with default value of true. | |
306 (Range::sort_internal (Array<octave_idx_type>&, bool)): New function. | |
307 (Range::sort (octave_idx_type, sortmode) const): New function. | |
308 (Range::sort (Array<octave_idx_type>&, octave_idx_type, sortmode) | |
309 const): New function. | |
310 * Range.h: Fix/provide decls. | |
311 | |
7457 | 312 * intNDArray.cc (intNDArray<T>::any (int)): Use != for comparison. |
313 | |
7449 | 314 2008-02-06 John W. Eaton <jwe@octave.org> |
315 | |
316 * Makefile.in ($(OPTS_INC)): Use mv instead of move-if-change. | |
317 (stamp-prereq): Eliminate. | |
318 (clean): Don't remove stamp-prereq. | |
319 (libraries): Don't depend on stamp-prereq. | |
320 (PREREQ): New macro. | |
321 ($(MAKEDEPS)): Depend on $(PREREQ), not stamp-prereq. | |
322 (distclean): Simplify with $(PREREQ). | |
323 (OPT_BASE): New macro. | |
324 (OPT_IN): Rename from OPTS_INC_DATA. Define in terms of OPT_BASE. | |
325 (OPT_INC): Rename from OPTS_INC. Define in terms of OPT_BASE. | |
326 | |
7448 | 327 2008-02-05 John W. Eaton <jwe@octave.org> |
328 | |
329 * Makefile.in: Unconditionally include $(MAKEDEPS). | |
330 Mark $(MAKEDEPS) as .PHONY targets if omit_deps is true. | |
331 | |
7443 | 332 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> |
333 | |
334 * Array.cc (ascending_compare, descending_compare, | |
335 Array<T>::sort): Declare explicit specialization for T=double to | |
336 avoid symbol duplication error at link time. | |
337 * Array-d.cc (ascending_compare, descending_compare): Declare and | |
338 define as nonmember functions, not member functions of Array<T>. | |
339 | |
7442 | 340 2008-02-03 John W. Eaton <jwe@octave.org> |
341 | |
342 * Array-i.cc: Also instantiate Arrays for long long type if it exists. | |
343 | |
344 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> | |
345 | |
346 * Array.cc: Don't include Range.h. | |
347 | |
7433 | 348 2008-01-31 David Bateman <dbateman@free.fr> |
349 | |
350 * oct-sort.cc: conversion of int to octave_idx_type where needed | |
351 for 64-bit builds. | |
352 (IFLT): Allow IFLT macro to be overridden. | |
353 * oct-sort.h: conversion of int to octave_idx_type where needed | |
354 for 64-bit builds. | |
355 (enum sortmode): Type of sort to perform. | |
356 (vec_index): Simple class to aid in indexed sorts. | |
357 | |
358 * Array.h ( Array<T> sort (octave_idx_type, sortmode) const, | |
359 Array<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
360 sortmode) const): Array sorting methods. | |
361 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT): Macros to | |
362 instantiate the array sorting methods. | |
363 * Array.cc (ascending_compare, descending_compare): New template | |
364 functions for generic sort comparison. | |
365 ( Array<T> Array<T>::sort (octave_idx_type, sortmode) const, | |
366 Array<T> Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, | |
367 sortmode) const): Array sorting functions based of octave_sort | |
368 class. | |
369 * Array-C.cc: Instantiate the complex array sort methods. | |
370 (IFLT): New macro to override the one in the | |
371 octave_sort class to avoid need for Complex < and > operators. | |
372 (static double xabs (const Complex&)): Complex abs function | |
373 avoiding std::abs(Inf) returning NaN with some compilers. | |
374 (ascending_compare, descending compare): override template | |
375 functions for complex comparison. | |
376 * Array-d.cc: Instantiate the double array sort methods. | |
377 (Array<double> Array<double>::sort (octave_idx_type, | |
378 sortmode) const, Array<double> Array<double>::sort | |
379 (Array<octave_idx_type> &, octave_idx_type, sortmode) const): | |
380 Array sorting functions based of octave_sort using uint64 sorting | |
381 on IEE754 doubles, for speed and correct sorting of Inf and NaN. | |
382 (ascending_compare, descending compare): override template | |
383 functions for double and uint64 comparison. | |
384 * Array-b.cc, Array-ch.cc, Array-i.cc, Array-s.cc, Array-str.cc: | |
385 Instantiate the array sort methods. | |
386 * Array-idx-vec.cc: Null instantiation of array sort methods. | |
387 * Array2.h, Array3.h, ArrayN.h (sort): 2, 3 and N-dimensional | |
388 versions of the sort methods based on Array<T>::sort. | |
389 | |
390 * CSparse.cc, dSparse.cc: Remove inclusion of octa-sort.h. | |
391 * Sparse.h ( Sparse<T> sort (octave_idx_type, sortmode) const, | |
392 Sparse<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
393 sortmode) const): Sparse sorting methods. | |
394 (INSTANTIATE_ARRAY_SORT): Macro to instantiate the sparse sorting | |
395 methods. | |
396 * Sparse.cc: replace sort with lsort throughout to avoid shadowing | |
397 of new sort method. | |
398 (sparse_ascending_compare, sparse_descending_compare): New template | |
399 functions for generic sort comparison. | |
400 ( Sparse<T> Sparse<T>::sort (octave_idx_type, sortmode) const, | |
401 Sparse<T> Sparse<T>::sort (Sparse<octave_idx_type> &, octave_idx_type, | |
402 sortmode) const): Sparse sorting functions based of octave_sort | |
403 class. | |
404 * Sparse-C.cc: Instantiate the complex sparse sort methods. | |
405 (IFLT): New macro to override the one in the | |
406 octave_sort class to avoid need for Complex < and > operators. | |
407 (static double xabs (const Complex&)): Complex abs function | |
408 avoiding std::abs(Inf) returning NaN with some compilers. | |
409 (sparse_ascending_compare, sparse_descending compare): override | |
410 template functions for complex comparison. | |
411 * Sparse-d.cc: Instantiate the cdouble sparse sort methods. | |
412 (sparse_ascending_compare, sparse_descending compare): override | |
413 template functions for double comparison. | |
414 * Array-b.cc: Instantiate the sparse sort methods. | |
415 | |
7422 | 416 2008-01-25 Jaroslav Hajek <highegg@gmail.com> |
417 | |
418 * idx-vector.h (idx_vector::idx_vector_rep::range_base, | |
419 idx_vector::idx_vector_rep::range_step, | |
420 idx_vector::idx_vector_rep::range_step): New data members. | |
421 (idx_vector::idx_vector_rep::idx_vector_rep): Initialize them. | |
422 * idx-vector.cc (IDX_VEC_REP::sort, IDX_VEC_REP::is_colon_equiv, | |
423 IDX_VEC_REP::init_state, IDX_VEC_REP::operator =, | |
424 IDX_VECTOR_REP::idx_vector_rep): Handle range. | |
425 | |
7416 | 426 2008-01-18 Marco Caliari <marco.caliari@univr.it> |
427 | |
428 * dMatrix.cc (Matrix::expm): Correctly perform reverse permutation. | |
429 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
430 | |
7408 | 431 2008-01-22 Michael Goffioul <michael.goffioul@gmail.com> |
7407 | 432 |
433 * oct-time.cc (octave_base_tim::init): Validate pointer argument; | |
434 this fixes the "localtime(-1)" crash under Windows. | |
435 | |
7400 | 436 2008-01-18 John W. Eaton <jwe@octave.org> |
437 | |
438 * dMatrix.cc (solve_singularity_warning): New function. | |
439 (Matrix::expm): Pass pointer to solve_singularity_warning to | |
440 Matrix::solve method. Exit early if Matrix::solve fails. | |
441 Limit sqpow value to avoid overflowing scale factor. | |
442 * CMatrix.cc (solve_singularity_warning): New function. | |
443 (ComplexMatrix::expm): Pass pointer to solve_singularity_warning to | |
444 ComplexMatrix::solve method. Exit early if ComplexMatrix::solve fails. | |
445 Limit sqpow value to avoid overflowing scale factor. | |
7402 | 446 From Marco Caliari <marco.caliari@univr.it>. |
7400 | 447 |
7356 | 448 2008-01-10 Kim Hansen <kimhanse@gmail.com> |
449 | |
450 * Sparse.cc: New tests for slicing of sparse matrices. | |
451 | |
7350 | 452 2008-01-07 David Bateman <dbateman@free.fr> |
453 | |
454 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Don't break from | |
455 loop if this test succeeds. | |
456 | |
7342 | 457 2008-01-03 David Bateman <dbateman@free.fr> |
458 | |
459 * MSparse.cc (SPARSE_A2A2_OP): If first arg is scalar zero, then | |
460 need unary operator on remaining argument | |
461 * Sparse-op-defs.h (SPARSE_SMSM_BIN_OP_1): ditto. | |
462 | |
7334 | 463 2007-12-21 John W. Eaton <jwe@octave.org> |
464 | |
465 Version 3.0.0 released. | |
466 | |
7322 | 467 2007-12-18 David Bateman <dbateman@free.fr> |
468 | |
469 * Sparse.cc (template <class T> Sparse<T> Sparse<T>::index | |
470 (idx_vector&, int) const): Fix case indexing of non zero scalar | |
471 stored as a sparse matrix. | |
472 (template <class T> Sparse<T> Sparse<T>::index (idx_vector&, | |
473 idx_vector&, int) const): For the non permutated indexing case, | |
474 fix link list calculation and use. | |
475 | |
7321 | 476 2007-12-17 John W. Eaton <jwe@octave.org> |
477 | |
478 * Array.cc (Array<T>::indexN): Correctly handle scalar indexed by | |
479 N-d array. | |
480 | |
7318 | 481 2007-12-17 David Bateman <dbateman@free.fr> |
482 | |
483 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Use ridx for row | |
484 index. | |
485 | |
7299 | 486 2007-12-11 John W. Eaton <jwe@octave.org> |
487 | |
488 * Sparse.cc (Sparse<T>::index (idx_vector&, int) const): | |
489 If indexing scalar with empty matrix, return empty array with same | |
490 size as index. | |
491 | |
7272 | 492 2007-12-10 John W. Eaton <jwe@octave.org> |
493 | |
7279 | 494 * NLEqn.h (NLEqn::fval): New data member. Adjust constructors |
495 and assignment operator. | |
496 (NLEqn::function_value): New function. | |
497 * NLEqn.cc (NLEqn::solve): If solution is successful, compute | |
498 function value. | |
499 | |
7272 | 500 * file-ops.cc (file_ops::concat): New function. |
501 * file-ops.h: Provide decl. | |
502 | |
7270 | 503 2007-12-07 John W. Eaton <jwe@octave.org> |
504 | |
505 * oct-time.cc (octave_base_tm::init): Only assign t->tm_zone if it | |
506 is not 0. | |
507 | |
7269 | 508 2007-12-07 David Bateman <dbateman@free.fr> |
509 | |
510 * Sparse-op-defs.h (SPARSE_SMS_CMP_OP, SPARSE_SMS_BOOL_OP, | |
511 SPARSE_SSM_CMP_OP, SPARSE_SSM_BOOL_OP, SPARSE_SMSM_CMP_OP, | |
512 SPARSE_SMSM_BOOL_OP, SPARSE_BASE_REDUCTION_OP): Use sparse | |
513 indexing where possible rather than the elem method. | |
514 (SPARSE_REDUCTION_OP_ROW_EXPR, SPARSE_REDUCTION_OP_COL_EXPR, | |
515 SPARSE_ANY_ALL_OP_ROW_CODE, SPARSE_ANY_ALL_OP_COL_CODE): | |
516 Replace for new version of SPARSE_BASE_REDUCTION_OP. | |
517 (SPARSE_ALL_OP): Specialize the initial value, and only treat dim | |
518 = 0 directly. | |
519 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::sumsq (int) | |
520 const): Replace ROW_EXPR and COL_EXPR functions for new version of | |
521 SPARSE_BASE_REDUCTION_OP. | |
522 (SparseComplexMatrix SparseComplexMatrix::prod (int) const): | |
523 Specialize the initial value, and only treat dim = 0 directly. | |
524 * dSparse.cc (SparseMatrix SparseMatrix::sumsq (int) const): | |
525 ditto. | |
526 (SparseMatrix SparseMatrix::prod (int) const): ditto. | |
527 | |
7265 | 528 2007-12-06 John W. Eaton <jwe@octave.org> |
529 | |
530 * CMatrix.cc (ComplexMatrix::expm): Update pointers to internal | |
531 data for npp and dpp after assignments. | |
532 * dMatrix.cc (Matrix::expm): Use same method as ComplexMatrix::expm. | |
533 | |
7253 | 534 2007-12-04 John W. Eaton <jwe@octave.org> |
535 | |
536 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
537 Do nothing if one index is empty. | |
538 | |
7246 | 539 2007-12-04 David Bateman <dbateman@free.fr> |
540 | |
541 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
542 Resize matrix as well if one dimension of lhs is zero and the rhs | |
543 index exceeds the lhs index. | |
544 * Sparse.cc (assign1 (Sparse<LT>&, const Sparse<RT>&)): | |
545 Don't resize to a smaller matrix for empty matrices with a max rhs | |
546 index smaller than the non zero lhs index. | |
547 | |
548 2007-12-04 Michael Goffioul <michael.goffioul@gmail.com> | |
549 | |
550 * Array-util.h: Tag permute_vector_compare with OCTAVE_API. | |
551 | |
7241 | 552 2007-12-03 Moritz Borgmann <octave@moriborg.de> |
553 | |
554 * Array-util.cc (permute_vector_compare): Move here from Array.cc. | |
555 * Array-util.h (permute_vector, permute_vector_compare): Provide decls. | |
556 * Array.cc (permute_vector, permute_vector_compare): Delete. | |
557 | |
7238 | 558 2007-12-03 David Bateman <dbateman@free.fr> |
559 | |
560 * Sparse.cc (template <class LT, class RT> int assign | |
561 (Sparse<LT>&, const Sparse<RT>&)): Only set return matrix size to | |
562 rhs values if both no. rows and columns are zero. | |
563 | |
7231 | 564 2007-11-30 John W. Eaton <jwe@octave.org> |
565 | |
7234 | 566 * oct-sort.cc, oct-sort.h: Style fixes. |
567 | |
7231 | 568 * lo-math.h: New file. |
569 * Makefile.in (INCLUDES): Add it to the list. | |
570 * liboctave/Array2.h, liboctave/ArrayN.h, liboctave/CmplxDET.cc, | |
571 liboctave/DASPK.cc, liboctave/DASPK.h, liboctave/DASRT.cc, | |
572 liboctave/DASRT.h, liboctave/DASSL.cc, liboctave/DASSL.h, | |
573 liboctave/LSODE.cc, liboctave/LSODE.h, liboctave/NLEqn.h, | |
574 liboctave/Quad.h, liboctave/Range.cc, liboctave/dbleDET.cc, | |
575 liboctave/lo-cieee.c, liboctave/lo-ieee.cc, | |
576 liboctave/lo-mappers.cc, liboctave/oct-time.cc, | |
577 liboctave/oct-time.h, liboctave/randgamma.c, | |
578 liboctave/randmtzig.c, liboctave/randpoisson.c: Include lo-math.h | |
579 instead of cmath or math.h. | |
580 * lo-mappers.h: Don't include sunmath.h here. | |
581 | |
7198 | 582 2007-11-26 John W. Eaton <jwe@octave.org> |
583 | |
584 * idx-vector.h (idx_vector::idx_vector_rep (const intNDArray<U>&)): | |
585 Eliminate unnecessary second arg from call to tree_to_mat_idx. | |
586 | |
587 * oct-inttypes.h (operator bool, operator char): Delete. | |
588 (bool_value, char_value, double_value, float_value): New functions. | |
589 | |
7189 | 590 2007-11-26 David Bateman <dbateman@free.fr> |
591 | |
592 * intNDArray.cc (template <class T> intNDArray<T> | |
593 intNDArray<T>::max (int) const, template <class T> intNDArray<T> | |
594 intNDArray<T>::max (ArrayN<octave_idx_type>&, int) const, | |
595 template <class T> intNDArray<T> intNDArray<T>::min (int) const, | |
596 template <class T> intNDArray<T> intNDArray<T>::min | |
597 (ArrayN<octave_idx_type>&, int) const): New methods for integer | |
598 classes. | |
599 * intNDArray.h (class intNDArray): Add min/max methods | |
600 * mx-op-defs.h (MIXMAX_DECLS, MINMAX_FCNS, SND_MINMAX_FCN, | |
601 NDS_MINMAX_FCN, NDND_MINMAX_FCN): New macro for instantiation of | |
602 min/max functions. | |
603 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
604 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
605 (MINMAX_DECLS(T)): Declare the min/max functions for integer | |
606 types. | |
607 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
608 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
609 (MINMAX_FCNS(T)): Instantiate the min/max functions for integer | |
610 types. | |
611 | |
612 * Arrayc.cc (Array<T>::index (idx_vector&, idx_vector&, int, | |
613 const T& rfv) const): If ndims != 2 call ND version of index. | |
614 | |
7176 | 615 2007-11-14 John W. Eaton <jwe@octave.org> |
616 | |
7178 | 617 * oct-inttypes.h (opeator T (void) const): New conversion operator. |
618 | |
7176 | 619 * lo-specfun.cc (zbesi): When alpha is negative, don't limit |
620 correction to half-integer values. From Eric Chassande-Mottin | |
621 <echassandemottin@gmail.com>. | |
622 | |
7124 | 623 2007-11-07 Michael Goffioul <michael.goffioul@gmail.com> |
624 | |
625 * dMatrix.cc, CMatrix.cc: Help MSVC compiler to resolve | |
626 ambiguities related to math functions (in C++ mode). | |
627 | |
7102 | 628 2007-11-06 David Bateman <dbateman@free.fr> |
629 | |
7113 | 630 * intNDArray.cc (intNDArray<T> intNDArray<T>::sum (int) const): |
631 New method. | |
632 * intNDarray.h (intNDArray sum (int) const): Declare it. | |
633 * boolNDArray.cc (boolNDArray boolNDArray::sum (int) const): | |
634 New method. | |
635 * boolNDarray.cc (boolNDArray sum (int) const): Declare it. | |
7102 | 636 * MArray-def.h (MARRAY_NORM_BODY): Scale frobenius norm by infinity |
637 norm to avoid issues of over- and underflow. From Rolf Fabian | |
638 <Rolf.Fabian@gmx.de>. | |
639 | |
7081 | 640 2007-10-30 David Bateman <dbateman@free.fr> |
641 | |
642 * DASRT-opts.in, LSODE-opts.in: Doc fixes for small book format. | |
643 | |
7079 | 644 2007-10-30 John W. Eaton <jwe@octave.org> |
645 | |
646 * CMatrix.cc (lssolve): Compute size of rwork and iwork arrays. | |
647 * dMatrix.cc (lssolve): Compute size of iwork array. | |
648 | |
7076 | 649 2007-10-29 David Bateman <dbateman@free.fr> |
650 | |
651 * CMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
652 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
653 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
654 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
655 double& rcond) const, lssolve (const ComplexColumnVector&, | |
656 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
657 declarations. | |
658 * CMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
659 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
660 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
661 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
662 double& rcond) const, lssolve (const ComplexColumnVector&, | |
663 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
664 methods. | |
665 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
666 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
667 octave_idx_type&, double&) const): Also return rcond from the | |
668 singular values returned by XGELSD. | |
669 * dMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
670 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
671 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
672 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
673 double& rcond) const, lssolve (const ComplexColumnVector&, | |
674 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
675 declarations. | |
676 * dMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
677 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
678 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
679 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
680 double& rcond) const, lssolve (const ComplexColumnVector&, | |
681 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
682 methods. | |
683 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
684 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
685 octave_idx_type&, double&) const): Also return rcond from the | |
686 singular values returned by XGELSD. | |
687 | |
7072 | 688 2007-10-26 David Bateman <dbateman@free.fr> |
689 | |
690 * dMatrix.cc (Matrix::lssolve): Use xGELSD for rank deficient | |
691 matrices to avoid reliability issues with xGELSY. | |
692 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. | |
7071 | 693 |
7065 | 694 2007-10-25 John W. Eaton <jwe@octave.org> |
695 | |
696 * oct-time.cc (octave_gmtime::init, octave_localtime::init): | |
697 Call unix_time on arg instead of relying on conversion operator. | |
698 | |
699 * oct-time.h (octave_time::double_value): New function. | |
700 (octave_time::operator double () const): Delete. | |
701 (octave_time::operator time_t () const): Delete. | |
702 | |
7058 | 703 2007-10-24 John W. Eaton <jwe@octave.org> |
704 | |
705 * strptime.c: Also compile if OCTAVE_HAVE_BROKEN_STRPTIME is defined. | |
706 | |
7052 | 707 2007-10-23 John W. Eaton <jwe@octave.org> |
708 | |
709 * CRowVector.cc (operator * const ComplexRowVector&, const | |
710 ComplexColumnVector&)): Delete spurious code left from patch. | |
711 | |
7048 | 712 2007-10-22 Kim Hansen <kimhanse@gmail.com> |
713 | |
714 * chMatrix.cc, lo-utils.cc, oct-env.cc, oct-uname.cc, | |
715 sparse-sort.cc: Include <cstring>. | |
716 | |
7036 | 717 2007-10-17 John W. Eaton <jwe@octave.org> |
718 | |
719 * oct-sparse.h: Don't include metis.h. | |
720 | |
721 * dSparse.cc (SparseMatrix::fsolve): Delete special code for METIS. | |
722 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
723 * sparse-base-chol.cc (sparse_base_chol<chol_type, chol_elt, | |
724 p_type>::sparse_base_chol_rep::init): Likewise. | |
725 | |
7033 | 726 2007-10-16 John W. Eaton <jwe@octave.org> |
727 | |
728 * dMatrix.cc (Matrix::inverse): Only check rcond == 0 if the | |
729 matrix is hermitian or calc_cond is true. | |
730 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
731 | |
7016 | 732 2007-10-12 John W. Eaton <jwe@octave.org> |
733 | |
734 * Change copyright notices in all files that are part of Octave to | |
735 GPLv3 or any later version. | |
736 | |
7007 | 737 2007-10-11 Brian Gough <bjg@network-theory.co.uk> |
738 | |
739 * DASSL-opts.in, LSODE-opts.in: Spelling fixes. | |
740 | |
7001 | 741 2007-10-10 Olli Saarela <Olli.Saarela@kcl.fi> |
742 | |
743 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in: Spelling fixes. | |
744 | |
7000 | 745 2007-10-10 John W. Eaton <jwe@octave.org> |
746 | |
747 * LPsolve.h, LPsolve.cc: Delete. | |
748 * Makefile.in: Remove them from the INCLUDES and | |
749 LIBOCTAVE_CXX_SOURCES lists. | |
750 | |
6989 | 751 2007-10-09 John W. Eaton <jwe@octave.org> |
752 | |
6996 | 753 * oct-time.cc (octave_strptime::init): Initialize t.tm_mon to -1 |
754 and t.tm_year to INT_MIN before call to oct_strptime. Adjust | |
755 values to zero after call if they remain unchanged. | |
756 | |
6989 | 757 * dSparse.cc (SparseMatrix::all_elements_are_zero): New function. |
758 * dNDArray.cc (NDArray::all_elements_are_zero): New function. | |
759 | |
6988 | 760 2007-10-09 David Bateman <dbateman@free.fr> |
761 | |
6995 | 762 * oct-time.cc (octave_strptime::init): Only call mktime if mday is |
763 valud and mon and year are also filled in. | |
764 | |
6990 | 765 * Array2.h (Array2<T>::Array2(const dim_vector&), |
766 Array2<T>::Array(const dim_vector&, const T&)): Check that | |
767 dim_vector is 2 dimensional. | |
768 | |
6988 | 769 * Sparse.cc (Sparse<T> Sparse<T>::index (idx_vector&, idx_vector&, |
770 int)): Remove a for loop in the random indexing case at the | |
771 expense of maintaining a set of linked lists of indices that point | |
772 to the same column in the original matrix. | |
773 (int assign (Sparse<LT>&, Sparse<RT>)): Take a const copy of lhs | |
774 and use it on the RHS of expressions to avoid unnecessary calls to | |
775 make_unique. | |
776 | |
6979 | 777 2007-10-08 David Bateman <dbateman@free.fr> |
778 | |
779 * oct-rl-edit. (typedef rl_quoting_fcn_ptr, rl_dequoting_fcn_ptr, | |
780 rl_char_is_quoted_fcn_ptr, rl_command_fcn_ptr): New typedefs | |
781 for readline compatible functions. | |
782 (octave_rl_redisplay): Redisplay the current line of text. | |
783 (octave_rl_newline): Change interface to the same | |
784 as used by the equivalent readline function itself. | |
785 (octave_rl_filename_quoting_desired, | |
786 octave_rl_set_filename_quote_characters, | |
787 octave_rl_set_completer_quote_characters, | |
788 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
789 octave_rl_set_char_is_quoted_function): New functions to control | |
790 readline filename quoting and line acceptace. | |
791 * oct-rl-edit.c (octave_rl_newline): Change interface to the same | |
792 as used by the equivalent readline function itself. | |
793 (octave_rl_redisplay): Redisplay the current line of text. | |
794 (octave_rl_filename_quoting_desired, | |
795 octave_rl_set_filename_quote_characters, | |
796 octave_rl_set_completer_quote_characters, | |
797 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
798 octave_rl_set_char_is_quoted_function): New functions to control | |
799 readline filename quoting and line acceptace. | |
800 * cmd-edit.h (typedef quoting_fcn, typedef dequoting_fcn, | |
801 typedef char_is_quoted_fcn, user_accept_line_fcn): New typedefs | |
802 to map C++ function to readline compatible functions. | |
803 (set_filename_quote_characters): New function to set the | |
804 characters to if they appear in a filename that force the filename | |
805 to be quoted. | |
806 (set_completer_quote_characters): The characters that the readline | |
807 completion function considers as quotation characters. | |
808 (set_quoting_function, set_dequoting_function, | |
809 set_char_is_quoted_function, set_user_accept_line_function): | |
810 Functions to set the Octave functions to perform quoting and the | |
811 acceptance of a line of text by readline. | |
812 (get_quoting_function, get_dequoting_function, | |
813 get_char_is_quoted_function, get_user_accept_line_function): | |
814 Functions to get the above functions. | |
815 (accept_line): New method for the command_editor to accept a line | |
816 of text. | |
817 (file_quoting_desired): Function to set whether readline should | |
818 attempt to quote filenames. | |
819 (do_set_filename_quoting_characters, | |
820 do_set_completer_quote_characters, do_set_quoting_function, | |
821 do_set_dequoting_function, do_set_char_is_quoted_function, | |
822 do_set_user_accept_line_function, do_get_quoting_function, | |
823 do_get_dequoting_function, do_get_char_is_quoted_function, | |
824 do_get_user_accept_line_function, do_filename_quoting_desired): | |
825 Virtual functions to control the behavior of readline quoting and | |
826 acceptance of lines. | |
827 (do_accept_line): Virtual function for the accept line function. | |
828 * cmd-edit.cc (class gnu_readline do_set_filename_quote_characters, | |
829 do_completer_quote_characters, do_set_quoting_function, | |
830 do_set_dequoting_function, do_set_char_is_quoted_function, | |
831 do_set_user_accept_line_function, do_get_quoting_function, | |
832 do_get_dequoting_function, do_get_user_accept_line_function, | |
833 do_accept_line, do_filename_quoting_desired, command_quoter, | |
834 command_dequoter, command_char_is_quoted, command_accept_line): | |
835 New functions in gnu_readline class to control filename quoting | |
836 and line acceptance. | |
837 (quoting_function, dequoting_function, char_is_quoted_function, | |
838 user_accept_line_function): private variable to store functions | |
839 supplied for readline quoting and line acceptance. | |
840 (gnu_readline::gnu_readline): Also set the new function pointers | |
841 to zero. | |
842 (gnu_readline::do_newline): Adapt to new octave_rl_newline | |
843 interface. | |
844 (gnu_readeline::operate_and_get_next): Use new accept_line | |
845 function rather than newline. | |
846 (default_ommand_editor::do_accept_line): New method. | |
847 (class command_editor set_filename_quote_characters, | |
848 set_completer_quote_characters, set_quoting_function, | |
849 set_dequoting_function, set_char_is_quoted_function, | |
850 set_user_accept_line_function, get_quoting_function, | |
851 get_dequoting_function, get_user_accept_line_function, | |
852 accept_line, filename_quoting_desired): New functions checking | |
853 instance before calling virtual function. | |
854 | |
855 * CMatrix.h, dMatrix.h, boolMatrix.h, chMatrix.h, MArray2.h, | |
856 Array2.h: Add dim_vector constructors. | |
857 * charNDArray.h (charNDArray (const dim_vector&)): Add missing | |
858 const to dim_vector constructors. | |
859 * boolMatrix.cc, chMatrix.cc, intNDArray.cc (diag (void), diag | |
860 (octave_idx_type)): New methods to constructor diagonal matrices. | |
861 * boolMatrix.h, chMatrix.h, intNDArray.h (diag (void), diag | |
862 (octave_idx_type)): Declare them. | |
863 | |
864 | |
6969 | 865 2007-10-06 John W. Eaton <jwe@octave.org> |
866 | |
867 * lo-specfun.cc: (zlgamma): Delete. | |
868 (xgamma): Use C library gamma function if available. | |
869 (xlgamma): Use C library lgamma function if available. | |
870 (xlgamma) [! HAVE_LGAMMA]: Allow calculation for any value of X | |
871 other than NaN or Inf. | |
872 | |
6961 | 873 2007-10-05 John W. Eaton <jwe@octave.org> |
874 | |
875 * lo-specfun.cc (zlgamma): New function. | |
876 | |
6959 | 877 2007-10-04 John W. Eaton <jwe@octave.org> |
878 | |
879 * oct-sort.cc (octave_sort<T>::binarysort): Remove register | |
880 qualifiers on local variables. | |
881 | |
6958 | 882 2007-10-04 Marco Caliari <mcaliari@math.unipd.it> |
883 | |
884 * CMatrix.cc (ComplexMatrix::expm): Limit shift to values less | |
885 than log(realmax) to avoid issues with NaN. | |
886 | |
6940 | 887 2007-10-01 John W. Eaton <jwe@octave.org> |
888 | |
6941 | 889 * oct-time.cc (octave_strptime::init): Call mktime to propertly |
890 initialize wday and yday. | |
891 From Matthias Drochner <m.drochner@fz-juelich.de>. | |
892 | |
6940 | 893 * cmd-edit.cc (command_editor::do_decode_prompt_string): Don't |
894 insert extra '\001' when decoding \[ and \]. | |
895 | |
6926 | 896 2007-09-26 David Bateman <dbateman@free.fr> |
897 | |
898 * dMatrix.cc (lssolve): Replace the use of xGELSS with xGELSY with | |
899 is much faster and no less accurate. | |
900 * CMatrix.cc (lssolve): ditto. | |
901 | |
6924 | 902 2007-09-25 David Bateman <dbateman@free.fr> |
903 | |
904 * dMatrix.cc (utsolve, ltsolve, fsolve, lssolve): Allow | |
905 zero dimensioned matrices. | |
906 * CMatrix.cc (utsolve, ltsolve, fsolve, lssolve): ditto. | |
907 * dSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
908 ditto. | |
909 * CSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
910 ditto. | |
911 * SparseQR.cc (SparseQR::SparseQR_rep::C, qrsolve): ditto. | |
912 * SparseCmplxQR.cc (SparseComplexQR::SparseComplexQR_rep::C, | |
913 qrsolve): ditto. | |
914 * sparse-dmsolve.cc (dmsolve): ditto. | |
915 | |
6922 | 916 2007-09-21 John W. Eaton <jwe@octave.org> |
917 | |
918 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): | |
919 Also allow resizing empty LHS if it is 1x0 or 0xN. | |
920 | |
6916 | 921 2007-09-19 John W. Eaton <jwe@octave.org> |
922 | |
923 * cmd-edit.cc (command_editor::remove_startup_hook): | |
924 Fix cut-and-paste error. | |
6917 | 925 (gnu_readline::set_startup_hook): Only set hook function if new |
926 function is different from the current one. | |
6916 | 927 |
6913 | 928 2007-09-18 John W. Eaton <jwe@octave.org> |
929 | |
930 * cmd-edit.h, cmd-edit.cc (command_editor::startup_hook_set, | |
931 command_editor::event_hook_set): New static data. | |
932 (default_command_editor::set_startup_hook, | |
933 gnu_readline::set_startup_hook, | |
934 default_command_editor::restore_startup_hook, | |
935 gnu_readline_restore_event_hook): | |
936 Rename from do_set_startup_hook and do_set_event_hook. | |
937 (gnu_readline::operate_and_get_next): Call | |
938 command_editor::add_startup_hook, not | |
939 command_editor::set_startup_hook. | |
940 (command_editor::startup_handler, command_editor::event_handler): | |
941 New functions. | |
942 (command_editor::add_startup_hook, command_editor::add_event_hook, | |
943 command_editor::remove_startup_hook, | |
944 command_editor::remove_event_hook): Rename from set_startup_hook | |
945 and restore_startup_hook. Handle hook sets here. | |
946 * cmd-edit.cc (gnu_history::do_goto_mark): | |
947 Call remove_startup_hook instead of restore_startup_hook. | |
948 | |
6907 | 949 2007-09-17 John W. Eaton <jwe@octave.org> |
950 | |
951 * lo-utils.cc (octave_read_complex, octave_read_double): Skip | |
952 leading whitespace. | |
953 | |
6897 | 954 2007-09-13 John W. Eaton <jwe@octave.org> |
955 | |
956 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
957 octave_read_complex): Use istream::get instead of >> to read | |
958 individual characters. | |
959 | |
6884 | 960 2007-09-10 John W. Eaton <jwe@octave.org> |
961 | |
962 * Array.cc (assign1): Don't call make_unique for invalid assignment. | |
963 | |
964 2007-09-10 David Bateman <dbateman@free.fr> | |
965 | |
966 * Array.h (Array<T>::make_unique): Make public so that the | |
967 ::assign functions can access it directly. | |
968 * Array.cc (Array<T>::maybe_delete_elements_1(idx_vector&), | |
969 Array<T>::maybe_delete_elements_1(idx_vector&), | |
970 Array<T>::maybe_delete_elements(idx_vector&, idx_vector&), | |
971 Array<T>::maybe_delete_elements(Array<idx_vector>&, const T&)): | |
972 Use xelem for non const RHS to avoid call to make_unique. | |
973 (int assign1 (Array<LT>&, const Array<RT>&, const LT&)): Use | |
974 xelem for LHS and call lhs.make_unique() only once. Special case | |
975 the is_colon index case and use Array<T>::xelem(octave_idx_type) | |
976 rather than Array<T>::xelem(octave_idx_type,octave_idx_type) and | |
977 bring the additional multiplication out of the inner loop. | |
978 (int assign2 (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
979 (int assignN (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
980 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep | |
981 (const Range& r)): Don't use init_state() method but special case | |
982 as with a Range can avoid exhaustive search. | |
983 | |
6881 | 984 2007-09-07 John W. Eaton <jwe@octave.org> |
985 | |
986 * Array.cc (Array<T>::fortran_vec): Call make_unique instead of | |
987 manipulating rep directly. | |
988 | |
989 * Array.h (idx, idx_count): Declare mutable. | |
990 (Array<T>::set_index, Array<T>::clear_index, Array<T>::value): | |
991 Now const. | |
992 | |
6867 | 993 2007-09-06 David Bateman <dbateman@free.fr> |
994 | |
6868 | 995 * Array-util.cc (increment_index): dimensions can have singleton |
996 trailing dimensions. | |
6867 | 997 * Array.h (range_error, xelem, checkelem, elem, operator ()): |
998 Modify use of Array<int> to Array<octave_idx_type> and adjust | |
999 where necessary. | |
1000 * Array.cc (range_error): ditto. | |
1001 * MArrayN.h (permute, ipermute): ditto. | |
1002 * ArrayN.h (permute, ipermute): ditto. | |
1003 * so-array.cc (streamoff_array::compute_index): ditto. | |
1004 * so-array.h (compute_index): ditto. | |
1005 * CMattrix.cc (ComplexMatrix::exmpm): ditto. | |
1006 | |
6840 | 1007 2007-08-29 David Bateman <dbateman@free.fr> |
1008 | |
1009 * dSparse.cc (SparseMatrix SparseMatrix::inverse (MatrixType &, | |
1010 octave_idx_type&, double&, int, int)): Calculate with LU even for | |
1011 matrices marked as singular. | |
1012 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::inverse ( | |
1013 MatrixType &, octave_idx_type&, double&, int, int)): ditto. | |
1014 * dMatrix.cc (Matrix Matrix::inverse (MatrixType &, octave_idx_type&, | |
1015 double&, int, int)): ditto. If rcond==0 force matrix of infinities. | |
1016 * dMatrix.cc (ComplexMatrix ComplexMatrix::inverse (MatrixType &, | |
1017 octave_idx_type&, double&, int, int)): ditto. | |
1018 | |
6838 | 1019 2007-08-27 John W. Eaton <jwe@octave.org> |
1020 | |
1021 * oct-env.cc (octave_env::rooted_relative_pathname, | |
1022 octave_env::do_rooted_relative_pathname): New functions. | |
1023 * oct-env.h: Provide decls. | |
1024 | |
6823 | 1025 2007-08-24 David Bateman <dbateman@free.fr> |
1026 | |
1027 * MSparse.h (MSparse<T>& insert (const Sparse<T>&, | |
1028 const Array<octave_idx_type>&)): New method. | |
1029 (MSparse (const dim_vector&, octave_idx_type)): Ditto. | |
1030 * dSparse.h (SparseMatrix& SparseMatrix::insert (const | |
1031 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
1032 (SparseMatrix (const dim_vector&, octave_idx_type)): ditto. | |
1033 * dSparse.cc (SparseMatrix& SparseMatrix::insert (const | |
1034 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
1035 * boolSparse.h (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
1036 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
1037 * boolSparse.cc (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
1038 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
1039 * CSparse.h (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
1040 SparseMatrix&, const Array<octave_idx_type>&), | |
1041 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
1042 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
1043 (SparseComplexMatrix (const dim_vector&, octave_idx_type)): ditto. | |
1044 * CSparse.cc (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
1045 SparseMatrix&, const Array<octave_idx_type>&), | |
1046 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
1047 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
1048 | |
6817 | 1049 2007-08-19 David Bateman <dbateman@free.fr> |
1050 | |
1051 * Sparse.cc (Sparse<T>::permute): Avoid shadowing warning. | |
1052 | |
6813 | 1053 2007-08-14 John W. Eaton <jwe@octave.org> |
1054 | |
1055 * Sparse.cc (Sparse<T>::permute): permutation vector is zero based. | |
1056 Simplify. | |
6814 | 1057 (Sparse<T>::reshape): Warn about reshaping to N-d array. |
6813 | 1058 |
6810 | 1059 2007-08-10 Michael Goffioul <michael.goffioul@gmail.com> |
1060 | |
1061 * file-stat.cc (file_stat::update_internal) [__WIN32__]: | |
1062 Remove trailing dir separator when stat'ing directory except for | |
1063 root directory. | |
1064 | |
6796 | 1065 2007-07-25 David Bateman <dbateman@free.fr> |
1066 | |
1067 * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" | |
1068 to work. | |
1069 | |
6764 | 1070 2007-06-04 David Bateman <dbateman@free.fr> |
1071 | |
1072 * oct-inttypes.h (octave_int<T>& operator <<= (const T2&), | |
1073 octave_int<T>& operator >>= (const T2&)): Make shift operators | |
1074 perform a twos complement arithmetic shift for both signed and | |
1075 unsigned integers regardless of compiler implementations. | |
1076 | |
6708 | 1077 2007-06-13 Michael Goffioul <michael.goffioul@swing.be> |
1078 | |
6719 | 1079 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): For CXSparse 2.2 and greater |
1080 use cs_complex_t(0,0) for the complex zero. | |
1081 | |
6708 | 1082 * MArray-ch.cc, MArray-d.cc, MArray-i.cc, MArray-s.cc: |
1083 Sprinkle class instantiations with OCTAVE_API as needed. | |
1084 | |
1085 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY, | |
1086 INSTANTIATE_ARRAY_AND_ASSIGN): New arg, API. Change all uses. | |
1087 * MArray-defs.h (MARRAY_OP_ASSIGN_DECL, MARRAY_OP_ASSIGN_DECLS, | |
1088 MARRAY_OP_ASSIGN_FWD_DECLS, MARRAY_OP_ASSIGN_FRIENDS, | |
1089 MARRAY_OP_ASSIGN_DEFS, MARRAY_UNOP, MARRAY_UNOP_DECLS, | |
1090 MARRAY_UNOP_FWD_DECLS, MARRAY_UNOP_FRIENDS, MARRAY_UNOP_DEFS, | |
1091 MARRAY_BINOP_DECL, MARRAY_BINOP_DECLS, MARRAY_AA_BINOP_DECLS, | |
1092 MDIAGARRAY2_DAS_BINOP_DECLS, MDIAGARRAY2_SDA_BINOP_DECLS, | |
1093 MDIAGARRAY2_DADA_BINOP_DECLS, MARRAY_BINOP_FWD_DECLS, | |
1094 MDIAGARRAY2_BINOP_FWD_DECLS, MARRAY_BINOP_FRIENDS, | |
1095 MDIAGARRAY2_BINOP_FRIENDS, MARRAY_BINOP_DEFS, | |
1096 MDIAGARRAY2_BINOP_DEFS, MARRAY_OPS_FORWARD_DECLS, | |
1097 MDIAGARRAY2_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS, | |
1098 MDIAGARRAY2_OPS_FRIEND_DECLS, INSTANTIATE_MARRAY_FRIENDS, | |
1099 INSTANTIATE_MARRAY2_FRIENDS, INSTANTIATE_MARRAYN_FRIENDS, | |
1100 INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. | |
1101 * MSparse-defs.h (SPARSE_OP_ASSIGN_DECL, SPARSE_OP_ASSIGN_DECLS, | |
1102 SPARSE_OP_ASSIGN_FWD_DECLS, SPARSE_OP_ASSIGN_FRIENDS, | |
1103 SPARSE_OP_ASSIGN_DEFS, SPARSE_UNOP, SPARSE_UNOP_DECLS, | |
1104 SPARSE_UNOP_FWD_DECLS, SPARSE_UNOP_FRIENDS, SPARSE_UNOP_DEFS, | |
1105 SPARSE_BINOP_DECL, SPARSE_BINOP_DECLS, SPARSE_AA_BINOP_DECLS, | |
1106 SPARSE_BINOP_FWD_DECLS, SPARSE_BINOP_FRIENDS, SPARSE_BINOP_DEFS, | |
1107 SPARSE_OPS_FORWARD_DECLS, SPARSE_OPS_FRIEND_DECLS, | |
1108 INSTANTIATE_SPARSE_FRIENDS): Ditto. | |
1109 * Sparse-op-defs.h (SPARSE_BIN_OP_DECL, SPARSE_CMP_OP_DECL, | |
1110 SPARSE_BOOL_OP_DECL, SPARSE_SMS_BIN_OP_DECLS, | |
1111 SPARSE_SMS_CMP_OP_DECLS, SPARSE_SMS_EQNE_OP_DECLS, | |
1112 SPARSE_SMS_BOOL_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
1113 SPARSE_SMS_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
1114 SPARSE_SSM_CMP_OP_DECLS, SPARSE_SSM_EQNE_OP_DECLS, | |
1115 SPARSE_SSM_BOOL_OP_DECLS, SPARSE_SSM_OP_DECLS, | |
1116 SPARSE_SMSM_BIN_OP_DECLS, SPARSE_SMSM_CMP_OP_DECLS, | |
1117 SPARSE_SMSM_EQNE_OP_DECLS, SPARSE_SMSM_BOOL_OP_DECLS, | |
1118 SPARSE_SMSM_OP_DECLS, SPARSE_MSM_BIN_OP_DECLS, | |
1119 SPARSE_MSM_CMP_OP_DECLS, SPARSE_MSM_EQNE_OP_DECLS, | |
1120 SPARSE_MSM_BOOL_OP_DECLS, SPARSE_MSM_OP_DECLS, | |
1121 SPARSE_SMM_BIN_OP_DECLS, SPARSE_SMM_CMP_OP_DECLS, | |
1122 SPARSE_SMM_EQNE_OP_DECLS, SPARSE_SMM_BOOL_OP_DECLS, | |
1123 SPARSE_SMM_OP_DECLS): Ditto. | |
1124 * Sparse.h (INSTANTIATE_SPARSE_ASSIGN, INSTANTIATE_SPARSE, | |
1125 INSTANTIATE_SPARSE_AND_ASSIGN): Ditto. | |
1126 * mx-op-defs.h (BIN_OP_DECL, CMP_OP_DECL, NDCMP_OP_DECL, | |
1127 BOOL_OP_DECL, NDBOOL_OP_DECL, VS_BIN_OP_DECLS, VS_OP_DECLS, | |
1128 SV_BIN_OP_DECLS, SV_OP_DECLS, VV_BIN_OP_DECLS, VV_OP_DECLS, | |
1129 MS_BIN_OP_DECLS, MS_CMP_OP_DECLS, MS_BOOL_OP_DECLS, MS_OP_DECLS, | |
1130 SM_BIN_OP_DECLS, SM_CMP_OP_DECLS, SM_BOOL_OP_DECLS, SM_OP_DECLS, | |
1131 MM_BIN_OP_DECLS, MM_CMP_OP_DECLS, MM_BOOL_OP_DECLS, MM_OP_DECLS, | |
1132 NDS_BIN_OP_DECLS, NDS_CMP_OP_DECLS, NDS_BOOL_OP_DECLS, | |
1133 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_CMP_OP_DECLS, | |
1134 SND_BOOL_OP_DECLS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
1135 NDND_CMP_OP_DECLS, NDND_BOOL_OP_DECLS, NDND_OP_DECLS, | |
1136 SDM_BIN_OP_DECLS, SDM_OP_DECLS, DMS_BIN_OP_DECLS, DMS_OP_DECLS, | |
1137 MDM_BIN_OP_DECLS, MDM_OP_DECLS, DMM_BIN_OP_DECLS, DMM_OP_DECLS, | |
1138 DMDM_BIN_OP_DECLS, DMDM_OP_DECLS): Ditto. | |
1139 | |
6699 | 1140 2007-06-12 John W. Eaton <jwe@octave.org> |
1141 | |
1142 * dMatrix.cc (Matrix::expm): Special case for scalar arg. | |
1143 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6697 | 1144 |
6693 | 1145 2007-06-06 Michael Goffioul <michael.goffioul@swing.be> |
1146 | |
6709 | 1147 * file-ops.cc (tilde_find_suffix, isolate_tilde_prefix, |
1148 tilde_expand_word): Use file_ops::is_dir_sep instead of comparing | |
1149 with file_ops::dir_sep_char. | |
6694 | 1150 |
6693 | 1151 * MArray-C.cc: Sprinkle with OCTINTERP_API as needed. |
1152 | |
6689 | 1153 2007-06-04 David Bateman <dbateman@free.fr> |
1154 | |
6699 | 1155 * file-ops.cc: Typo. |
1156 | |
6689 | 1157 * Sparse.cc (Sparse<T> Sparse<T>::reshape): If length of new |
1158 dimensions is greater than 2, collapse to 2-D. | |
1159 | |
6685 | 1160 2007-06-02 David Bateman <dbateman@free.fr> |
1161 | |
1162 * SparseCmplxQR.cc: Changes to support CXSparse 2.2.0. | |
1163 | |
6680 | 1164 2007-05-31 John W. Eaton <jwe@octave.org> |
1165 | |
1166 * Array.cc (Array::get_size): Throw std::bad_alloc exception if | |
1167 the computed size is too large for the size of Octave's index type. | |
1168 | |
6662 | 1169 2007-05-23 John W. Eaton <jwe@octave.org> |
1170 | |
1171 * oct-sparse.h: Don't surround included files with extern "C" { ... }. | |
1172 | |
6629 | 1173 2007-05-16 David Bateman <dbateman@free.fr> |
1174 | |
1175 * dRowVector.cc (linspace): Return second argument if fewer than | |
1176 two values are requested. | |
1177 * CRowVector.cc (linspace): Likewise. | |
1178 | |
6596 | 1179 2007-04-27 John W. Eaton <jwe@octave.org> |
1180 | |
1181 * lo-mappers.cc (signum (const Complex&)): Special case for (0, 0). | |
1182 | |
6583 | 1183 2007-04-25 John W. Eaton <jwe@octave.org> |
1184 | |
1185 * oct-fftw.h (octave_fftw): Tag with OCTAVE_API. | |
1186 | |
6553 | 1187 2007-04-20 John W. Eaton <jwe@octave.org> |
1188 | |
1189 * Array.cc (assign1): For x(:) = RHS, require rhs_len == lhs_len, | |
1190 not rhs_len == 1. | |
1191 | |
6536 | 1192 2007-04-18 Michael Goffioul <michael.goffioul@swing.be> |
1193 | |
1194 * oct-md5.h (oct_md5, oct_md5_file): Tag decls with OCTAVE_API. | |
1195 | |
6525 | 1196 2007-04-13 John W. Eaton <jwe@octave.org> |
1197 | |
1198 * Array.cc (Array<T>::maybe_delete_elements_2): Don't return early | |
1199 for empty matrix. Only check for colon index equivalence if not empty. | |
1200 | |
6513 | 1201 2007-04-10 John W. Eaton <jwe@octave.org> |
1202 | |
1203 * SparseCmplxQR.cc | |
1204 (SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep): | |
1205 Move GCC_ATTR_UNUSED before the parameter decl. | |
1206 From Luis Ortiz <lortiz@interactivesupercomputing.com>. | |
1207 | |
6508 | 1208 2007-04-06 John W. Eaton <jwe@octave.org> |
1209 | |
1210 * MArray-defs.h (MARRAY_NORM_BODY): New macro. | |
1211 * MArray.h (MArray<T>::norm): New function. | |
1212 * MArray.cc: Provide decl. | |
1213 * MArray-d.cc (MArray<double>::norm): Define double specialization. | |
1214 * MArray-C.cc (MArray<Complex>::norm): Define Complex specialization. | |
1215 | |
6490 | 1216 2007-04-04 John W. Eaton <jwe@octave.org> |
1217 | |
1218 * Range.cc (Range::nelem_internal): Likewise. | |
1219 * lo-utils.cc (NINT): Use numeric_limits<int> instead of INT_MAX. | |
1220 (NINTbig): Use numeric_limits<octave_idx_type> instead of INT_MAX. | |
1221 From Scott Pakin <pakin@lanl.gov>. | |
1222 | |
6486 | 1223 2007-04-04 David Bateman <dbateman@free.fr> |
1224 | |
1225 * dMatrix.cc (Matrix::inverse): If calc_cond is true, calculate | |
1226 the condition number for positive definite matrices. | |
1227 * CMatrix.cc (ComplexMatrix::inverse): Ditto. | |
1228 * dbleChol.h (CHOL(const Matrix&, bool)): New arg, calc_cond. | |
1229 (CHOL(const Matrix&, octave_idx_type&, bool): Ditto. | |
1230 (octave_idx_type init (const Matrix&, bool)): Ditto. | |
1231 (CHOL(const CHOL&)): Copy xrcond. | |
1232 (CHOL& operator = (const CHOL&)): Copy xrcond. | |
1233 (xrcond): New private data member. | |
1234 * CmplxCHOL.h (ComplexCHOL(const ComplexMatrix&, bool)): New arg, | |
1235 calc_cond. | |
1236 (ComplexCHOL(const ComplexMatrix&, octave_idx_type&, bool): Ditto | |
1237 (octave_idx_type init (const ComplexMatrix&, bool)): Ditto. | |
1238 (ComplexCHOL(const ComplexCHOL&)): Copy xrcond. | |
1239 (ComplexCHOL& operator = (const ComplexCHOL&)): Copy xrcond. | |
1240 (xrcond): New private data member. | |
1241 * dbleCHOL.cc (CHOL::init(const Matrix&, bool)): If calc_cond is | |
1242 true, calculate the condition number with dpocon. | |
1243 * CmplxCHOL.cc (ComplexCHOL::init(const ComplexMatrix&, bool)): If | |
1244 calc_cond is true, calculate the condition number with zpocon. | |
1245 | |
6481 | 1246 2007-04-03 John W. Eaton <jwe@octave.org> |
1247 | |
6482 | 1248 * intNDArray.cc (intNDArray): Delete spurious semicolon. |
1249 | |
1250 * CMatrix.cc (ComplexMatrix::tinverse): Use Array<T> and | |
1251 fortran_vec method instead of OCTAVE_LOCAL_BUFFER to avoid | |
1252 "maybe clobbered by vfork" warning. | |
1253 | |
6483 | 1254 * Sparse-op-defs.h (SPARSE_CUMSUM): Add braces to avoid ambiguous |
6482 | 1255 if/else. |
1256 | |
1257 * oct-spparms.h (octave_sparse_params): Define copy constructor | |
1258 and destructor. | |
1259 | |
6481 | 1260 * Array.cc (assignN): Don't resize dimension if corresponding |
1261 index is empty. | |
1262 | |
6479 | 1263 2007-04-02 John W. Eaton <jwe@octave.org> |
1264 | |
1265 * dMatrix.h (Matrix::inverse): Reinstate versions without | |
1266 MatrixType argument. | |
1267 * CMatrix.h (ComplexMatrix::inverse): Likewise. | |
1268 | |
6467 | 1269 2007-03-27 John W. Eaton <jwe@octave.org> |
1270 | |
1271 * Makefile.in (DISTDIRS): Delete variable. | |
1272 (dist): Delete action for DISTDIRS. Use ln instead of $(LN_S). | |
1273 | |
6460 | 1274 2007-03-26 David Bateman <dbateman@free.fr> |
1275 | |
1276 * MatrixType.cc: Replace all uses of the method | |
1277 octave_sparse_params::get_key ("bandden") with | |
1278 octave_sparse_params::get_bandden (void). | |
1279 (MatrixType::MatrixType (void)): Undo previous change but use | |
1280 octave_sparse_params::get_bandden (void). | |
1281 * oct-spparms.cc (get_bandden(void), do_get_bandden(void)): New | |
1282 methods. | |
1283 * oct-spparms.h (get_bandden(void), do_get_bandden(void)): | |
1284 Declare them. | |
1285 | |
6458 | 1286 2007-03-26 Luis Ortiz <lortiz@interactivesupercomputing.com> |
1287 David Bateman <dbateman@free.fr> | |
1288 | |
1289 * idx-vector.h.cc (IDX_VEC_REP::idx_vector_rep (const Range&)): | |
1290 Check that all elements are ints before doing anything. Simplify | |
1291 calculation of index values. | |
1292 | |
6457 | 1293 2007-03-26 David Bateman <dbateman@free.fr> |
1294 | |
1295 * Range.cc (Range::all_elements_are_ints): Improve check. | |
1296 | |
6456 | 1297 2007-03-26 John W. Eaton <jwe@octave.org> |
1298 | |
1299 * chNDArray.cc, chMatrix.cc: Also generate comparison and bool ops. | |
1300 * chNDArray.h, chMatrix.h: Provide decls. | |
1301 | |
1302 2007-03-24 Luis Ortiz <lortiz@interactivesupercomputing.com> | |
1303 | |
1304 * MatrixType.cc (MatrixType::MatrixType (void)): Initialize | |
1305 sp_bandden to zero for performance reasons as it's not used. | |
6452 | 1306 |
6435 | 1307 2007-03-23 David Bateman <dbateman@free.fr> |
1308 | |
1309 * oct-rand.cc (octave_rand::seed): Seed differently for big and | |
1310 little endian. | |
1311 | |
6414 | 1312 2007-03-15 John W. Eaton <jwe@octave.org> |
1313 | |
1314 * lo-mappers.cc (acos): Use formula similar to what we use for asin. | |
1315 From Alexander Barth <abarth@marine.usf.edu>. | |
1316 | |
6402 | 1317 2007-03-12 John W. Eaton <jwe@octave.org> |
1318 | |
1319 * oct-inttypes.h (octave_int::octave_int (double)): | |
1320 New Specialization. Round arg. | |
1321 (operator / (const octave_int<T1>&, const octave_int<T2>&)): | |
1322 Round result before converting type. | |
1323 | |
6388 | 1324 2007-03-07 John W. Eaton <jwe@octave.org> |
1325 | |
6392 | 1326 * Array.cc (assign1): Avoid resizing if there is an error. |
1327 | |
6390 | 1328 * dMatrix.cc, CMatrix.cc (operator *): Only check |
1329 f77_exception_encountered immediately after calls that use F77_XFCN. | |
1330 | |
6389 | 1331 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
1332 Only allow resizing empty LHS if it is 0x0. | |
1333 | |
6388 | 1334 * Array.cc (Array<T>::maybe_delete_elements (Array<idx_vector>&, |
1335 const T&)): Handle case of more indices than dimensions. | |
1336 (assign (Array<LT>&, const Array<RT>&, const LT&)): Allow more | |
1337 cases to be handled by assignN. | |
1338 (assignN (Array<LT>&, const Array<RT>&, const LT&)): | |
1339 Special cases for 2-d array assignments for speed. | |
1340 Improve handling of scalar RHS and empty indices. | |
6384 | 1341 |
6383 | 1342 2007-03-05 David Bateman <dbateman@free.fr> |
1343 | |
1344 * oct-md5.c (oct_md5_file (const std::string&)): New function. | |
1345 * oct-md5.h (oct_md5_file (const std::string&)): Declare it. | |
1346 | |
6379 | 1347 2007-03-02 John W. Eaton <jwe@octave.org> |
1348 | |
1349 * str-vec.h (string_vector::empty): Return bool, not int. | |
1350 | |
6375 | 1351 2007-03-01 David Bateman <dbateman@free.fr> |
1352 | |
1353 * md5.h, md5.c: New files from libmd5-rfc sourceforge project for | |
1354 an independent implementation of RFC1321. | |
1355 * oct-md5.h, oct-md5: New files for treating std::string class | |
1356 with MD5. | |
1357 * Makefile.in (INCLUDES): Add md5.h and oct-md5.h | |
1358 (LIBOCTAVE_CXX_SOURCES): Add oct-md5.cc | |
1359 (LIBOCTAVE_C_SOURCES): Add md5.c | |
1360 | |
6366 | 1361 2007-02-27 John W. Eaton <jwe@octave.org> |
1362 | |
1363 * Makefile.in (uninstall): Delete files listed in | |
1364 $(INCLUDES_FOR_INSTALL), instead of $(INCLUDES). | |
1365 From Thomas Treichl <Thomas.Treichl@gmx.net>. | |
1366 | |
6536 | 1367 2007-02-27 Michael Goffioul <michael.goffioul@swing.be> |
6363 | 1368 |
1369 * file-ops.cc (file_ops::recursive_rmdir): | |
1370 Close dir_entry object before calling rmdir. | |
1371 | |
6536 | 1372 2007-02-26 Michael Goffioul <michael.goffioul@swing.be> |
6358 | 1373 |
1374 * Makefile.in: Use $(LN_S) instead of ln or ln -s. | |
1375 | |
6359 | 1376 * sparse-util.h (SparseCholPrint, SparseCholError): |
1377 Tag with OCTAVE_API. | |
1378 | |
6326 | 1379 2007-02-18 David Bateman <dbateman@free.fr> |
1380 | |
1381 * oct-rand.cc (do_old_initialization()): call setcgn(1) prior to | |
1382 calling setall and reset to the current generator after. | |
1383 | |
6323 | 1384 2007-02-16 John W. Eaton <jwe@octave.org> |
1385 | |
1386 * oct-shlib.h (octave_shlib::relative): New data member. | |
1387 (octave_shlib::mark_relative, octave_shlib::is_relative): | |
1388 New functions. | |
1389 | |
6321 | 1390 2007-02-16 Michael Goffioul <michael.goffioul@swing.be> |
1391 | |
1392 * lo-sysdep.cc (octave_popen2): New function to simulate popen2 on | |
1393 windows platform. | |
1394 * lo-sysdep.h (octave_popen2): Declare it. | |
1395 * oct-syscalls.cc (octave_syscalls::popen2): New function. | |
1396 * oct-syscalls.h (octave_syscalls::popen2): Declare it. | |
1397 | |
6306 | 1398 2007-02-14 John W. Eaton <jwe@octave.org> |
1399 | |
1400 * kpse.cc (expand_elt): Omit special treatment for //. | |
1401 | |
6273 | 1402 2007-02-06 John W. Eaton <jwe@octave.org> |
1403 | |
1404 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_REALPATH]: | |
1405 Don't delete value returned from realpath. | |
1406 | |
6271 | 1407 2007-02-05 Thomas Treichl <Thomas.Treichl@gmx.net> |
1408 | |
1409 * file-ops.cc (file_ops::canonicalize_file_name): | |
1410 Provide implementation if realpath function is available. | |
1411 | |
6256 | 1412 2007-01-29 Michael Goffioul <michael.goffioul@swing.be> |
1413 | |
1414 * oct-fftw.h: Sprinkle with OCTAVE_API as needed. | |
1415 | |
6244 | 1416 2007-01-17 Michael Goffioul <michael.goffioul@swing.be> |
1417 | |
1418 * lo-sysdep.cc (octave_chdir): Handle directory names like "C:" on | |
1419 Windows systems. | |
1420 | |
6242 | 1421 2007-01-16 John W. Eaton <jwe@octave.org> |
1422 | |
1423 * dSparse.cc: Fix dgbtrf decl for --enable-64. | |
1424 (SparseMatrix::bsolve): Fix call to dgbtrf for --enable-64 | |
1425 | |
1426 * oct-fftw.h (fftw_planner): Provide decl. | |
1427 | |
6241 | 1428 2007-01-11 Michael Goffioul <michael.goffioul@swing.be> |
1429 | |
1430 * Makefile.in (LINK_DEPS): Include $(CAMD_LIBS) in the list. | |
1431 | |
6236 | 1432 2007-01-10 John W. Eaton <jwe@octave.org> |
1433 | |
1434 * oct-sparse.h: Use HAVE_CHOLMOD_CHOLMOD_H, not | |
1435 HAVE_UMFPACK_CHOLMOD_H for case of "cholmod/cholmod.h". | |
1436 | |
6231 | 1437 2007-01-08 David Bateman <dbateman@free.fr> |
1438 | |
1439 * oct-sparse.h: Replace sparsesuite with suitesparse and | |
1440 SPARSESUITE with SUITESPARSE to match upstream name. | |
1441 | |
6228 | 1442 2007-01-05 David Bateman <dbateman@free.fr> |
1443 | |
1444 * oct-fftw.cc: (octave_fftw_planner::method (void), | |
1445 octave_fftw_planner (FftwMethod)): New methods to interrogate and | |
1446 set the FFTW wisdom method used. | |
1447 (octave_fftw_planner::create_plan) Modify to allow different | |
1448 methods to be used. | |
1449 (octave_fftw_planner): Move class definition from here. | |
1450 * oct-fftw.h (octave_fftw_planner): To here. Add method methods | |
1451 and FftwMethod enum. | |
1452 | |
6221 | 1453 2007-01-03 David Bateman <dbateman@free.fr> |
1454 | |
1455 * MSparse.cc (SPARSE_A2A2_OP, SPARSE_A2A2_FCN_1, | |
1456 SPARSE_A2A2_FCN_1): Modify macros so that scalars stored as | |
1457 sparse matrices are special cased. | |
1458 | |
1459 * Sparse-op-defs.h: Include mx-ops.h to have access to mixed | |
1460 matrix, sparse matrix operations. | |
1461 (SPARSE_SMSM_BIN_OP_1, SPARSE_SMSM_BIN_OP_2, SPARSE_SMSM_BIN_OP_3, | |
1462 SPARSE_SMSM_CMP_OP, SPARSE_SMSM_BOOL_OP, SPARSE_MSM_BIN_OP_1, | |
1463 SPARSE_MSM_BIN_OP_2, SPARSE_MSM_CMP_OP, SPARSE_MSM_BOOL_OP, | |
1464 SPARSE_SMM_BIN_OP_1, SPARSE_SMM_BIN_OP_2, SPARSE_SMM_CMP_OP, | |
1465 SPARSE_SMM_BOOL_OP, SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, | |
1466 FULL_SPARSE_MUL): Modify macros so that scalars stored as | |
1467 sparse matrices are special cased. | |
1468 | |
6217 | 1469 2006-12-22 David Bateman <dbateman@free.fr> |
1470 | |
1471 * boolSparse.cc (SparseBoolMatrix::operator !): Fix off-by-one error. | |
1472 | |
6216 | 1473 2006-12-22 John W. Eaton <jwe@octave.org> |
1474 | |
1475 * dim-vector.h (dim_vector::dim_vector): Always start with at | |
1476 least 2 dimensions. | |
1477 (dim_vector::resize): Don't allow resizing to fewer than 2 dimensions. | |
1478 | |
6208 | 1479 2006-12-06 Michael Goffioul <michael.goffioul@swing.be> |
1480 | |
1481 * lo-sysdep.cc (opendir): Avoid passing \\* to FindFirstFile. | |
1482 | |
1483 * file-ops.cc (ops::canonicalize_file_name): Provide partial | |
6217 | 1484 implementation for Windows. |
6208 | 1485 |
6207 | 1486 2006-12-06 David Bateman <dbateman@free.fr> |
1487 | |
6208 | 1488 * dSparse.cc (SparseMatrix::is_symmetric): Faster implementation. |
1489 * CSparse.cc (SparseComplexMatrix::is_symmetric): Ditto. | |
6207 | 1490 |
1491 * dMatrrix.cc (finverse): Old inverse method renamed inverse. | |
1492 (tinverse): New method for triangular matrices. | |
1493 (inverse): New function with matrix type probing. | |
1494 * dMatrix.h (finverse, tinverse, inverse): New and modified | |
1495 declarations. | |
6208 | 1496 * CMatrix.cc: Ditto. |
1497 * CMatrix.h: Ditto. | |
6207 | 1498 |
6205 | 1499 2006-12-06 John W. Eaton <jwe@octave.org> |
1500 | |
1501 * strptime.c (day_of_the_week): Use code from current glibc sources. | |
1502 | |
6202 | 1503 2006-12-05 John W. Eaton <jwe@octave.org> |
1504 | |
1505 * lo-utils.cc (octave_read_double): If we see '+' or '-' but not | |
1506 followed by 'I' or 'i', try reading number after putting | |
1507 characters back on input stream. | |
1508 | |
6198 | 1509 2006-12-05 Paul Kienzle <pkienzle@users.sf.net> |
1510 | |
1511 * randpoisson.c (oct_fill_randp): For lambda > 1e8, upper limit of | |
1512 loop is n, not L. | |
1513 | |
6194 | 1514 2006-11-30 John W. Eaton <jwe@octave.org> |
1515 | |
1516 * lo-utils.cc (octave_read_double, read_inf_nan_na): | |
1517 Also recognize [+-][Ii]nf. | |
1518 | |
6187 | 1519 2006-11-28 David Bateman <dbateman@free.fr> |
6186 | 1520 |
1521 * oct-sparse.h: Allow sparse headers to also be in a sparsesuite | |
1522 sub-directory. | |
1523 | |
6204 | 1524 * dSparse.cc (SparseMatrix::inverse): Transpose the matrix type as |
1525 well when calling tinverse for lower triangular matrices. | |
1526 * CSparse.cc (SparseComplexMatrix::inverse): | |
1527 Ditto. | |
6185 | 1528 |
6183 | 1529 2006-11-21 John W. Eaton <jwe@octave.org> |
1530 | |
1531 * oct-env.cc (do_absolute_pathname): Undo previous change. | |
1532 | |
6182 | 1533 2006-11-20 John W. Eaton <jwe@octave.org> |
1534 | |
1535 * oct-env.cc (octave_env::do_absolute_pathname): Also return true | |
1536 for ".", and names beginning with "./" or "../". | |
1537 | |
6162 | 1538 2006-11-14 Luis F. Ortiz <lortiz@interactivesupercomputing.com> |
1539 | |
1540 * CMatrix.cc, dMatrix.cc: New tests. | |
1541 | |
6153 | 1542 2006-11-13 Michael Goffioul <michael.goffioul@swing.be> |
1543 | |
1544 * Array-d.cc, dDiagMatrix.h: Sprinkle with OCTAVE_API as needed. | |
1545 | |
6152 | 1546 2006-11-11 John W. Eaton <jwe@octave.org> |
1547 | |
1548 * Makefile.in ($(OPTS_INC), mx-ops.h): | |
1549 Use $(simple-move-if-change-rule) here. | |
1550 | |
6148 | 1551 2006-11-09 David Bateman <dbateman@free.fr> |
1552 | |
1553 * sparse-base-chol.cc (sparse_base_chol_rep::Q): Cast perms(i) to | |
1554 octave_idx_type, not int. | |
1555 | |
6145 | 1556 2006-11-08 John W. Eaton <jwe@octave.org> |
1557 | |
1558 * dir-ops.cc (dir_entry::read): Avoid rewinddir. | |
1559 | |
6141 | 1560 2006-11-06 John W. Eaton <jwe@octave.org> |
1561 | |
1562 * Array.cc (assignN): Exit early if invalid indices are found. | |
1563 | |
6140 | 1564 2006-11-03 Michael Goffioul <michael.goffioul@swing.be> |
1565 | |
1566 * strftime.c [HAVE_TZNAME]: Tag tzname with OCTAVE_IMPORT. | |
1567 | |
6137 | 1568 2006-11-03 John W. Eaton <jwe@octave.org> |
1569 | |
1570 * Makefile.in (DLL_CXXDEFS): Rename from XTRA_CXXDEFS. | |
1571 (DLL_CDEFS): Rename from XTRA_CDEFS. | |
1572 Substitute OCTAVE_DLL_DEFS, not XTRA_OCTAVE_DEFS. | |
1573 | |
6123 | 1574 2006-10-28 Michael Goffioul <michael.goffioul@swing.be> |
1575 | |
1576 * oct-shlib.cc: Undefine min and max after including windows.h. | |
1577 * oct-syscalls.cc (syscalls::pipe (int *)): Avoid infinite recursion. | |
1578 * lo-sysdep.h: Move opendir, readdir, etc. decls here from | |
1579 lo-sysdep.cc. | |
1580 | |
6113 | 1581 2006-10-27 John W. Eaton <jwe@octave.org> |
1582 | |
6119 | 1583 * oct-time.cc [! HAVE_STRFTIME]: Declare strftime. |
1584 | |
1585 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> | |
1586 | |
1587 * mx-op-defs.h (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, | |
1588 NDS_CMP_OPS2): New macros. | |
6113 | 1589 |
6111 | 1590 2006-10-26 John W. Eaton <jwe@octave.org> |
1591 | |
6119 | 1592 * mx-ops (core-type): New field for integer types. |
1593 * mk-ops.awk: Handle core-type for integer comparison ops. | |
1594 | |
6111 | 1595 * lo-cutils.c (octave_strcasecmp, octave-strncasecmp): |
1596 Move here from src/cutils.c. | |
1597 * lo-utils.h: Provide decls. | |
1598 * strcasecmp.c: Move here from src/strcasecmp.c. | |
1599 * strncase.c: Move here from src/strncase.c. | |
1600 * Makefile.in (LIBOCTAVE_C_SOURCES): Add them to the list. | |
1601 | |
6106 | 1602 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
1603 | |
1604 * kpse.cc [! MSVC]: Don't include win32lib.h. | |
1605 | |
6708 | 1606 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-util.h, |
1607 Array.h, CColVector.h, CMatrix.h, CNDArray.h, CRowVector.h, | |
1608 CSparse.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, | |
1609 CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, | |
1610 CollocWt.h, DAE.h, DASPK.h, DASRT.h, DASSL.h, EIG.h, LSODE.h, | |
1611 MArray-C.cc, MArray-defs.h, MSparse-C.cc, MSparse-d.cc, | |
1612 MSparse-defs.h, MatrixType.h, NLEqn.h, Quad.h, Range.h, | |
1613 Sparse-op-defs.h, Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, | |
1614 SparseCmplxQR.h, SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, | |
1615 boolMatrix.h, boolNDArray.h, boolSparse.h, chMatrix.h, | |
1616 chNDArray.h, cmd-edit.h, cmd-hist.h, dColVector.h, dDiagMatrix.h, | |
1617 dMatrix.h, dNDArray.h, dRowVector.h, dSparse.h, data-conv.h, | |
1618 dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, dbleLU.h, | |
1619 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, dir-ops.h, | |
1620 file-ops.h, file-stat.h, glob-match.h, idx-vector.h, | |
1621 int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, | |
1622 lo-cutils.c, lo-ieee.h, lo-mappers.h, lo-specfun.h, lo-utils.h, | |
1623 mach-info.h, mx-op-defs.h, oct-alloc.h, oct-env.h, oct-group.h, | |
1624 oct-inttypes.cc, oct-inttypes.h, oct-passwd.h, oct-rand.h, | |
1625 oct-shlib.h, oct-spparms.h, oct-syscalls.h, oct-time.h, | |
1626 oct-uname.h, pathsearch.h, prog-args.h, so-array.h, str-vec.h, | |
1627 uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc, | |
1628 uint8NDArray.cc: Sprinkle with OCTAVE_API as needed. | |
6108 | 1629 |
6105 | 1630 2006-10-26 John W. Eaton <jwe@octave.org> |
1631 | |
1632 * oct-inttypes.cc (INSTANTIATE_INTTYPE_BIN_OP): Provide explicit | |
1633 type qualification for OP. | |
1634 | |
6101 | 1635 2006-10-26 David Bateman <dbateman@free.fr> |
1636 | |
1637 * Sparse.cc (Sparse<T>::resize_no_fill (octave_idx_type, | |
1638 octave_idx_type)): Be more careful with the size of the input | |
1639 matrix, and therefore don't create or read non existent data. | |
1640 | |
6092 | 1641 2006-10-25 John W. Eaton <jwe@octave.org> |
1642 | |
1643 * Sparse.cc (assign): Clear lhs index after error. | |
1644 | |
6093 | 1645 2006-10-25 David Bateman <dbateman@free.fr> |
6092 | 1646 |
1647 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1648 Fix previous patch so it works. | |
1649 | |
6087 | 1650 2006-10-25 Michael Goffioul <michael.goffioul@swing.be> |
1651 | |
6095 | 1652 * glob-match.h (glob_match::glob_match (const std::string&, |
1653 unsigned int)): Delete initializer for first arg. | |
1654 | |
6093 | 1655 * lo-sysdep.cc (opendir, readdir, rewinddir, closedir): |
1656 New functions. | |
1657 | |
6087 | 1658 * Makefile.in (XTRA_CDEFS, XTRA_CXXDEFS): Substitute here. |
1659 | |
6096 | 1660 * oct-env.cc (octave_env::do_get_home_directory) [_MSC_VER]: Use |
1661 same code as __MINGW32__. | |
1662 * syswait.h [_MSC_VER]: Define HAVE_WAITPID, WAITPID, and WNOHANG | |
1663 the same as for __MINGW32__. | |
1664 | |
1665 * randpoisson.c: Undefine INFINITE before redefining. | |
1666 | |
6079 | 1667 2006-10-24 David Bateman <dbateman@free.fr> |
1668 | |
1669 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Resize the | |
1670 lhs at the point we know the assignment can succeed if the lhs is | |
1671 empty. | |
1672 | |
6072 | 1673 2006-10-23 John W. Eaton <jwe@octave.org> |
1674 | |
1675 * Array.cc (assign2): Don't require vector assignments to be oriented. | |
1676 | |
6061 | 1677 2006-10-17 John W. Eaton <jwe@octave.org> |
1678 | |
1679 * lo-cieee.c: If isnan is not available but _isnan is, then define | |
1680 isnan to be _isnan, and define HAVE_ISNAN. Likewise for _finite | |
1681 and _copysign. | |
1682 | |
6059 | 1683 2006-10-17 Michael Goffioul <michael.goffioul@swing.be> |
6051 | 1684 |
6061 | 1685 * oct-syscalls.cc (syscalls::waitpid): Always declare and define retval. |
1686 | |
6708 | 1687 * CMatrix.cc (ComplexMatrix::solve): Avoid infinite recursion. |
1688 * CSparse.cc (SparseComplexMatrix::insert): Likewise. | |
6061 | 1689 |
6058 | 1690 * oct-types.h.in: Include limits.h, for CHAR_BIT. |
1691 | |
6059 | 1692 2006-10-13 Michael Goffioul <michael.goffioul@swing.be> |
1693 | |
6051 | 1694 * Makefile.in: Adapt rules to use $(LIBPRE). |
1695 | |
6027 | 1696 2006-10-03 David Bateman <dbateman@free.fr> |
1697 | |
1698 * MatrixType.cc (MatrixType::MatrixType): Avoid crash if np == 0 | |
1699 or p == 0. | |
1700 | |
6018 | 1701 2006-10-02 John W. Eaton <jwe@octave.org> |
1702 | |
1703 * dbleDET.cc (DET::initialize2): Ensure arg to log10 is double. | |
1704 * CmplxDET.cc (ComplexDET::initialize2): Likewise. | |
1705 | |
5996 | 1706 2006-09-22 David Bateman <dbateman@free.fr> |
1707 | |
1708 * MatrixType.h (MatrixType::MatrixType(const SparseComplexMatrix&)): | |
5997 | 1709 Remove spurious warning. |
5996 | 1710 |
5992 | 1711 2006-09-15 John W. Eaton <jwe@octave.org> |
1712 | |
1713 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&) const): | |
1714 Handle resizing. | |
1715 | |
1716 * intNDArray.h (intNDArray<T>:elt_type): New typedef. | |
1717 | |
5983 | 1718 2006-09-11 John W. Eaton <jwe@octave.org> |
1719 | |
1720 * dMatrix.cc (operator * (const Matrix&, const Matrix&))): | |
1721 Handle M*v and rv*cv special cases. | |
1722 * CMatrix.cc (operator * (const ComplexMatrix&, const | |
1723 ComplexMatrix&))): Likewise. | |
1724 From Luis F. Ortiz <lortiz@interactivesupercomputing.com>. | |
1725 | |
1726 * dRowVector.cc (operator * (const RowVector&, const | |
1727 ColumnVector&)): Call xddot here instead of using a Fortran | |
1728 function directly. | |
1729 * CRowVector.cc (operator * (const ComplexRowVector&, const | |
1730 ComplexColumnVector&)): Call xzdotu here. | |
1731 | |
1732 2006-09-05 John W. Eaton <jwe@octave.org> | |
1733 | |
1734 * chNDArray.cc (charNDArray::any, charNDArray::all): Compare | |
1735 elements to '\0', not ' '. | |
1736 | |
5972 | 1737 2006-08-25 John W. Eaton <jwe@octave.org> |
1738 | |
1739 * mx-inlines.cc (MX_ND_REDUCTION): Special case for 0x0 arrays. | |
1740 | |
5958 | 1741 2006-08-23 John W. Eaton <jwe@octave.org> |
1742 | |
1743 * dMatrix.cc, dMatrix.h (Matrix::save_ascii): Delete function and decl. | |
1744 * CMatrix.cc, CMatrix.h (ComplexMatrix::save_ascii): Likewise. | |
1745 | |
5955 | 1746 2006-08-22 John W. Eaton <jwe@octave.org> |
1747 | |
5956 | 1748 * CMatrix.cc (ComplexMatrix::save_ascii): New function. |
1749 * dMatrix.cc (Matrix::save_ascii): New function. | |
1750 | |
5955 | 1751 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Correctly detect empty arrays. |
1752 If array is empty, return value is same size as array. | |
1753 (MX_ND_REDUCTION): Correctly detect empty arrays. | |
1754 If array is empty, produce correctly sized return value. | |
1755 | |
5940 | 1756 2006-08-18 John W. Eaton <jwe@octave.org> |
1757 | |
5943 | 1758 * dMatrix.cc (Matrix::any_element_not_one_or_zero): New function. |
1759 * dMatrix.h: Provide decl. | |
1760 * dNDArray.cc (NDArray::any_element_not_one_or_zero): New function. | |
1761 * dNDArray.h: Provide decl. | |
1762 * intNDArray.cc (intNDArray<T>::any_element_not_one_or_zero): | |
1763 New function. | |
1764 * intNDArray.h: Provide decl. | |
1765 | |
5940 | 1766 * Array.cc (Array<T>::permute): Only rearrange values if array is |
1767 not empty. | |
1768 | |
5904 | 1769 2006-07-26 John W. Eaton <jwe@octave.org> |
1770 | |
1771 * dbleDET.cc (DET::initialize10, DET::value_will_underflow, | |
1772 DET::value_will_overflow): Use xlog2 instead of log2. | |
1773 (DET::initialize2, DET::initialize10): Use xround instead of round. | |
1774 (DET::initialize2, DET::value): Use xexp2 instead of exp2. | |
1775 * CmplxDET.cc (ComplexDET::initialize10, | |
1776 ComplexDET::value_will_underflow, | |
1777 ComplexDET::value_will_overflow): Use xlog2 instead of log2. | |
1778 (ComplexDET::initialize2, ComplexDET::initialize10): | |
1779 Use xround instead of round. | |
1780 (ComplexDET::initialize2, ComplexDET::value): | |
1781 Use xexp2 instead of exp2. | |
1782 | |
1783 * lo-mappers.cc (M_LOG10E): Delete unused macro. | |
1784 (xlog2, xexp2): New functions. | |
1785 * lo-mappers.h: Provide decls. | |
1786 | |
5900 | 1787 2006-07-22 John W. Eaton <jwe@octave.org> |
1788 | |
1789 * Sparse.h (Sparse<T>::mex_get_data, Sparse<T>::mex_get_ir, | |
1790 Sparse<T>::mex_get_jc): New functions. | |
1791 | |
1792 2006-07-21 John W. Eaton <jwe@octave.org> | |
1793 | |
1794 * oct-inttypes.h (octave_int<T>::mex_get_data): New function. | |
1795 * Array.h (Array<T>::mex_get_data): New function. | |
1796 | |
5898 | 1797 2006-07-19 John W. Eaton <jwe@octave.org> |
1798 | |
1799 * oct-inttypes.h (octave_int::operator bool (void)): New function. | |
1800 | |
5893 | 1801 2006-07-16 John W. Eaton <jwe@octave.org> |
1802 | |
1803 * oct-spparms.h, oct-spparms.cc (class octave_sparse_params): | |
1804 Rename from SparseParams. Use same implementation method as other | |
1805 singleton classes in Octave. Change all uses of | |
1806 Voctave_sparse_controls to use static functions from | |
1807 octave_sparse_params class instead. | |
1808 | |
1809 * oct-spparms.h, oct-spparms.cc (SparseParams::set_key, | |
1810 SparseParams::get_key): Pass std::string arg by const reference, | |
1811 not const value. | |
1812 | |
5892 | 1813 2006-07-15 John W. Eaton <jwe@octave.org> |
1814 | |
1815 * data-conv.cc: Instantiante swap_bytes templates here. | |
1816 | |
1817 * MatrixType.cc (MatrixType::MatrixType): | |
1818 Use complete initializer lists in constructors. | |
1819 | |
5880 | 1820 2006-07-06 John W. Eaton <jwe@octave.org> |
1821 | |
1822 * str-vec.cc (string_vector::string_vector (std::list<std::string>&)): | |
1823 New constructor. | |
1824 * str-vec.h: Provide decl. | |
1825 | |
5876 | 1826 2006-07-01 David Bateman <dbateman@free.fr> |
1827 | |
1828 * dSparse.cc (tinverse): Check for rows with no elements and zero | |
1829 elements on the diagonal. Allow both Upper and Lower triangular | |
1830 matrices to be treated. | |
1831 * CSparse.cc (tinverse): ditto. | |
1832 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Take into account 64-bit | |
1833 constant assignment. | |
1834 | |
5870 | 1835 2006-06-30 John W. Eaton <jwe@octave.org> |
1836 | |
5872 | 1837 * lo-sysdep.cc (octave_chdir): Perform tilde expansion here. |
1838 * cmd-edit.cc (editor::read_init_file): Ditto. | |
1839 * dir-ops.cc (dir_entry::open): Ditto. | |
5871 | 1840 * file-stat.cc (stat::update_internal): Ditto. |
5872 | 1841 * cmd-hist.cc (command_history::set_file): Ditto. |
5871 | 1842 |
5870 | 1843 * data-conv.cc (data_conv::string_to_data_type): |
1844 Correctly handle leading "*". | |
1845 | |
5869 | 1846 2006-06-29 Atsushi Kajita <a-kajita@mizar.freemail.ne.jp> |
1847 | |
1848 * Sparse.cc (Sparse<T>::SparseRep::elem): Avoid out of bounds | |
1849 array access. | |
1850 | |
5866 | 1851 2006-06-27 John W. Eaton <jwe@octave.org> |
1852 | |
1853 * Makefile.in: Finish renaming of OBJECTS -> LIBOCTAVE_OBJECTS. | |
1854 | |
5864 | 1855 2006-06-21 John W. Eaton <jwe@octave.org> |
1856 | |
1857 * oct-shlib.cc (octave_dlopen_shlib::close, | |
1858 octave_shl_load_shlib::close, octave_w32_shlib::close): | |
1859 Skip do_close_hook if cl_hook is 0. | |
1860 | |
5863 | 1861 2006-06-16 John W. Eaton <jwe@octave.org> |
1862 | |
1863 * oct-sort.h: Don't include config.h, lo-mappers.h, or quit.h. | |
1864 * randmtzig.h: Don't inlcude config.h. | |
1865 | |
5837 | 1866 2006-05-31 David Bateman <dbateman@free.fr> |
1867 | |
1868 * Array.cc (assignN): Maybe reshape LHS before doing assignment. | |
1869 | |
5828 | 1870 2006-05-23 John W. Eaton <jwe@octave.org> |
1871 | |
1872 * oct-types.h.in: Include stdint.h or inttypes.h for integer | |
1873 typedefs, or define them if those files are not available. | |
1874 * oct-inttypes.h (octave_int8_t, octave_int16_t, octave_int32_t, | |
1875 octave_int64_t, octave_uint8_t, octave_uint16_t, octave_uint32_t, | |
1876 octave_uint64_t): Delete typedefs. Replace all uses of these | |
1877 types with int8_t, int16_t, etc. | |
1878 * data-conv.h (TWO_BYTE_INT, FOUR_BYTE_INT, EIGHT_BYTE_INT): | |
1879 Delete definitions. Replace all uses of these macros with int8_t, | |
1880 int16_t, etc. | |
1881 * randmtzig.h: Delete integer typedefs. | |
1882 | |
5822 | 1883 2006-05-18 John W. Eaton <jwe@octave.org> |
1884 | |
1885 * EIG.cc (EIG::init): Trap Inf and NaN values here. | |
1886 From Keith Goodman <kwgoodman@gmail.com>. | |
1887 | |
5813 | 1888 2006-05-08 David Bateman <dbateman@free.fr> |
1889 | |
1890 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): fix bug in previous | |
1891 modification. | |
1892 | |
5797 | 1893 2006-05-09 David Bateman <dbateman@free.fr> |
1894 | |
1895 * sparse-dmsolve.cc: Remove reference to ov-re-sparse.h, | |
1896 ov-cx-sparse. and error_state. | |
1897 * SparseQR.cc, SparseCmplxQR.cc (qrsolve): Return info = -1 on error. | |
1898 | |
5795 | 1899 2006-05-08 David Bateman <dbateman@free.fr> |
1900 | |
1901 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Set column pointers in | |
1902 first pass and use to determine which algorithm to use on a | |
1903 column-by-column basis. | |
1904 | |
5792 | 1905 2006-05-04 David Bateman <dbateman@free.fr> |
1906 | |
1907 * SparseQR.cc, SparseQR.h, SparseCmplxQR.cc, SparseCmplxQR.h, | |
1908 sparse-dmsolve.cc : Allow compilation with versions v2.0.0 of | |
1909 CXSparse or later | |
1910 | |
5785 | 1911 2006-05-03 David Bateman <dbateman@free.fr> |
1912 | |
1913 * CMatrix.cc (zpotrf, zpocon, zpotrs, ztrcon, ztrtrs): | |
1914 External declaration of lapack triangular and Cholesky codes. | |
1915 (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, | |
1916 ComplexMatrix::fsolve): New private solver codes for | |
1917 upper, lower and LU/Cholesky solvers. | |
1918 (ComplexMatrix::solve): New versions for cached matrix | |
1919 type. Adapt old versions to call new versions | |
1920 * CMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
1921 new solvers. | |
1922 (solve): New versions for cached matrix type. | |
1923 * dMatrix.cc (dpotrf, dpocon, dpotrs, dtrcon, dtrtrs): | |
1924 External declaration of lapack triangular and Cholesky codes. | |
1925 (Matrix::utsolve, Matrix::ltsolve, | |
1926 Matrix::fsolve): New private solver codes for | |
1927 upper, lower and LU/Cholesky solvers. | |
1928 (Matrix::solve): New versions for cached matrix | |
1929 type. Adapt old versions to call new versions | |
1930 * dMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
1931 new solvers. | |
1932 (solve): New versions for cached matrix type. | |
1933 * CSparse.cc: Replace all uses of SparseType with MatrixType. | |
1934 * CSparse.h: ditto. | |
1935 * dSparse.cc: ditto. | |
1936 * dSparse.h: ditto. | |
1937 * SparseCmplxCHOL.cc: ditto. | |
1938 * SparsedbleCHOL.cc: ditto. | |
1939 * sparse-dmsolve.cc: ditto. | |
1940 * SparseType.cc, SparseType.h: delete. | |
1941 * MatrixType.cc: New file for class to cache matrix type, based on | |
1942 old SparseType class but caching matrix and sparse types. | |
1943 * MatrixType.h: ditto. | |
1944 * Makefile.in (MATRIX_INC, MATRIX_SRC): Add MatrixType.h and | |
1945 MatrixType.cc respectively. Delete SparseType.h and SparseType.cc | |
1946 respectively. | |
1947 * mx-base.h: Include MatrixTye.h as header file. | |
1948 | |
5781 | 1949 2006-05-01 John W. Eaton <jwe@octave.org> |
1950 | |
1951 * oct-shlib.h (octave_shlib::octave_shlib, octave_shlib::open): | |
1952 Delete WARN_FUTURE arg. Change all uses. | |
1953 * oct-shlib.cc (octave_base_shlib::stamp_time): Delete arg. | |
1954 Change all uses. Use current_liboctave_warning_with_id_handler. | |
1955 (octave_base_shlib::open): Delete arg. Change all derived classes | |
1956 and uses. | |
1957 | |
1958 2006-04-29 John W. Eaton <jwe@octave.org> | |
1959 | |
1960 * Array-flags.cc, Array-flags.h: Delete. | |
1961 * Makefile.in (MATRIX_SRC): Remove Array-flags.cc from the list. | |
1962 (MATRIX_INC): Remove Array-flags.h from the list. | |
1963 | |
1964 * idx-vector.cc (IDX_VEC_REP::freeze): Delete warn_resize arg. | |
1965 Use current_liboctave_warning_with_id_handler | |
1966 with warning ID Octave:resize-on-range-error. | |
1967 * idx-vector.h: Fix decl. | |
1968 * Array.cc, Sparse.cc: Change all callers. | |
1969 | |
1970 * Array.cc (Array<T>::maybe_delete_elements, Array<T>::index2, | |
1971 assign2, assignN): Use current_liboctave_warning_with_id_handler | |
1972 with warning ID Octave:fortran-indexing instead of | |
1973 liboctave_wfi_flag. | |
1974 * Sparse.cc (assign, Sparse<T>::index): Likewise. | |
1975 | |
5777 | 1976 2006-04-26 John W. Eaton <jwe@octave.org> |
1977 | |
1978 * pathsearch.cc (dir_path::path_sep_char, dir_path::path_sep_str): | |
1979 New static data. | |
1980 * pathsearch.h: Provide decls. | |
1981 (dir_path::is_path_sep): New function. | |
1982 | |
5766 | 1983 2006-04-18 John W. Eaton <jwe@octave.org> |
1984 | |
1985 * randmtzig.c (randmt, randi53, randi54, randi64, randu32, randu53): | |
1986 Omit inline from decl. | |
1987 | |
1988 * Sparse.cc (Sparse<T>::index): Use std::vector<bool> to avoid | |
1989 local array with variable dimension. | |
1990 | |
5764 | 1991 2006-04-16 John W. Eaton <jwe@octave.org> |
1992 | |
5765 | 1993 * lo-sstream.h: Delete. |
1994 * Makefile.in (INCLUDES): Remove it from the list. | |
1995 | |
1996 * dim-vector.h (dim_vector::str): Use std::ostringstream directly. | |
1997 * Sparse.cc (Sparse::range_error): Likewise. | |
1998 * DASSL.cc (DASSL::error_message): Likewise. | |
1999 * LSODE.cc (LSODE::error_message): Likewise. | |
2000 * DASRT.cc (DASRT::error_message): Likewise. | |
2001 * DASPK.cc (DASPK::error_message): Likewise. | |
2002 * Array.cc (Array::range_error): Likewise. | |
2003 | |
5764 | 2004 * kpse.cc (kpse_hash): Rename from hash. |
2005 (hash_lookup): Call kpse_hash instead of hash. | |
2006 | |
2007 * SparseType.cc (SparseType::SparseType): Use std::vector<bool> | |
2008 to avoid local array with variable dimension. | |
2009 | |
5760 | 2010 2006-04-13 David Bateman <dbateman@free.fr> |
2011 | |
2012 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
2013 Optimize assignment. | |
2014 | |
2015 2006-04-13 John W. Eaton <jwe@octave.org> | |
2016 | |
2017 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
2018 Eliminate unnecessary casts. | |
2019 * SparsedbleLU.cc (SparseLU::SparseLU): Likewise. | |
2020 | |
2021 * kpse.cc (fopen): Use reinterpret_cast instead of C-style cast. | |
2022 (log_search, dir_links): Use static_cast instead of C-style cast. | |
2023 | |
2024 * prog-args.cc (args::getopt): Use reinterpret_cast instead of X_CAST. | |
2025 * oct-alloc.cc (allocator::grow): Likewise. | |
2026 * CSparse.cc (SparseComplexMatrix::determinant, | |
2027 SparseComplexMatrix::factorize, SparseComplexMatrix::fsolve): | |
2028 Likewise. | |
2029 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU): Likewise. | |
2030 | |
2031 * oct-sort.cc (roundupsize, octave_sort<T>::merge_getmem): | |
2032 Use static_cast instead of C-style cast. | |
2033 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
2034 * dSparse.cc (SparseMatrix::fsolve): Likewise. | |
2035 | |
2036 * data-conv.cc (LS_DO_WRITE): Use static_cast for value conversion. | |
2037 Use OCTAVE_LOCAL_BUFFER instead of new/delete. | |
2038 (LS_DO_READ): Allocate local buffer to avoid pointer tricks. | |
2039 (write_doubles, read_doubles, LS_DO_WRITE, LS_DO_READ): | |
2040 Use reinterpret_cast instead of X_CAST. | |
2041 | |
2042 * DiagArray2.h (DiagArray2::Proxy::operator&): No need to cast | |
2043 return value here. | |
2044 | |
5752 | 2045 2006-04-12 Rafael Laboissiere <rafael@debian.org> |
2046 | |
2047 * ArrayN.h (ArrayN::ArrayN): Qualify fill with Array<T> base class. | |
2048 * DiagArray2.h (DiagArray2::DiagArray2): Likewise. | |
2049 | |
5730 | 2050 2006-04-03 David Bateman <dbateman@free.fr> |
2051 | |
5731 | 2052 * Sparse.cc (Sparse<T>::resize): Use xcidx rather than cdix, etc |
2053 to avoid copy of original matrix. | |
2054 | |
5730 | 2055 * Makefile.in (INCLUDES): Add randgamma.h, randpoisson.h and |
2056 randmtzig.h to the list. | |
2057 (LIBOCTAVE_C_SOURCES): Add randgamma.c, randpoisson.c and | |
2058 randmtzig.c to the list. | |
2059 * oct-rand.cc (do_old_initialization): Rename from do_initialization. | |
2060 (use_old_generators): New variable. | |
2061 (old_initialized): Rename from initialized. | |
2062 (new_initialized): New variable. | |
2063 (oct_init_by_entropy): New function. | |
2064 (maybe_initialize): Initialize new or old generator depending on | |
2065 value of use_old_generators. | |
2066 (octave_rand::state): New functions. | |
2067 (octave_rand::distribution): Add gamma, exponential and poisson | |
2068 distributions. | |
2069 (octave_rand::exponential_distribution, | |
2070 octave_rand::poisson_distribution, | |
2071 octave_rand::gamma_distribution): New methods to select | |
2072 exponential, poisson or gamma distribution. | |
2073 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
2074 octave_rand::vector): Add new distributions. | |
2075 * oct-rand.h: Provide decls for new functions. | |
2076 (octave_rand::matrix, octave_rand::scalar, octave_rand:: | |
2077 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
2078 octave_rand::vector): New arg A, for gamma and poisson distributions. | |
2079 * randpoisson.c, randpoisson.h, randgamma.c, randmtzig.c, | |
2080 randmtzig.h: New files. | |
2081 | |
5717 | 2082 2006-03-24 John W. Eaton <jwe@octave.org> |
2083 | |
2084 * dSparse.cc (SparseMatrix::bsolve): Integer work vector is | |
2085 Array<octave_idx_type>, so fortran_vec returns pointer to | |
2086 octave_idx_type, not pointer to int. | |
2087 | |
2088 * CMatrix.cc, CMatrix.h (ComplexMatrix::row (char*), | |
2089 ComplexMatrix::column (char*)): Delete. | |
2090 * dMatrix.cc, dMatrix.h (Matrix::row (char*), | |
2091 Matrix::column (char*)): Delete. | |
2092 | |
5713 | 2093 2006-03-21 David Bateman <dbateman@free.fr> |
2094 | |
2095 * SparseQR.h: Publish externally used friends. | |
2096 * SparseCmplxQR.h: ditto. | |
2097 | |
5700 | 2098 2006-03-21 John W. Eaton <jwe@octave.org> |
2099 | |
2100 * lo-specfun.cc (betainc): Use F77_XFCN instead of F77_FUNC for | |
2101 call to xdbetai. | |
2102 | |
5697 | 2103 2006-03-21 David Bateman <dbateman@free.fr> |
2104 | |
5701 | 2105 * lo-specfun.cc (xlgamma, xgamma): Trap special values. |
2106 (xlgamma): Use F77_XFCN instead of F77_FUNC for call to dlgams. | |
5700 | 2107 |
2108 * dSparse.cc (solve): Add argument singular_fallback, to allow | |
2109 fallback to QR solvers to be optional. | |
2110 * CSparse.cc (solve): Ditto. | |
2111 * dSparse.h (solve): update declaration for new argument. | |
2112 * CSparse.h (solve): Ditto. | |
2113 * sparse-dmsolve.cc (dmsolve): Use singular_fallback argument | |
2114 to bypass QR solvers when solving the well determined part of | |
2115 the problem. | |
5697 | 2116 |
5690 | 2117 2006-03-17 John W. Eaton <jwe@octave.org> |
2118 | |
2119 * str-vec.cc (vector::list_in_columns): New optional arg, width. | |
2120 | |
5681 | 2121 2006-03-16 David Bateman <dbateman@free.fr> |
2122 | |
2123 * CSparse.cc: Change use of nzmax to nnz to allow automatic | |
2124 reduction of matrix size, except for a couple of cases where nzmax | |
2125 is needed. | |
2126 (zpbcon): Correct declaration of lapack zpbcon function. | |
2127 (dsolve, utsolve, ltsolve, trisolve, bsolve, factorize, fsolve): Add | |
2128 an argument to allow the calculation of condition number to be | |
2129 optional. | |
2130 (bsolve): Add code for the calculation of the condition number | |
2131 using zpbcon and zgbcon. | |
2132 (dsolve): Bug fix for rectangular matrices with sparse RHS. | |
2133 (utsolve, ltsolve, trisolve, bsolve, fsolve): Mark matrix type as | |
2134 singular if singularity is detected. | |
2135 (solve): Use optional argument to disable calculation of | |
2136 condition number for all but fsolve, for speed. Add code to | |
2137 allow rectnagular matrices or matrices identified as singular | |
2138 to be treated. | |
2139 (lssolve): delete. | |
2140 (operator *): Don't recast real matrices as complex, but | |
2141 rather use the macro directly on the real data. | |
2142 * dSparse.cc: ditto. | |
2143 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, | |
2144 fsolve, factorize): Update declaration for new argument to | |
2145 calculate the condition number. | |
2146 (lssolve): delete. | |
2147 * dSparse.h: ditto. | |
2148 * Msparse.h: Change use of nxmax to nnz to allow automatic | |
2149 reduction of matrix size, except for a couple of cases where | |
2150 nzmax is needed. | |
2151 * Sparse.cc: Change use of nxmax to nnz to allow automatic | |
2152 reduction of matrix size, except for a couple of cases where | |
2153 nzmax is needed. | |
2154 (Sparse<T>::index (idx_vector&, idx_vector&, int) const): | |
2155 Special case strict permutations for speed. | |
2156 * Sparse-op-defs.h: Change use of nxmax to nnz to allow automatic | |
2157 reduction of matrix size, except for a couple of cases where | |
2158 nzmax is needed. | |
2159 (SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, FULL_SPARSE_MUL): Update | |
2160 macros to allow mixed complex/real arguments. | |
2161 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): New macro for C99 zero | |
2162 value. | |
2163 (qrsolve): Use it to zero temporary buffers used bt CXSPARSE. | |
2164 * SparseType.cc (SparseType::SparseType ()): Correct detection | |
2165 of permutated triangular matrices to avoid seg-faults. Disable | |
2166 detection of underdetermined lower and over-determined upper | |
2167 matrix due to problems with non minimum norm solutions. | |
2168 * sparse-dmsolve.cc: New file for Dulmage-Mendelsohn solver. | |
2169 * Makefile.in: add sparse-dmsolve.cc to targets. | |
2170 | |
5675 | 2171 2006-03-15 William Poetra Yoga Hadisoeseno <williampoetra@gmail.com> |
2172 | |
2173 * oct-time.cc (octave_strptime::init): Return useful character count. | |
2174 | |
5648 | 2175 2006-03-08 David Bateman <dbateman@free.fr> |
2176 | |
2177 * SparseCmplxQR.cc: Updates for new upstream CXSPARSE release. Fix for | |
2178 g++ 4.x stl_vector.h issue with C99 double _Complex type. | |
2179 * SparseCmplxQR.h: Updates for new upstream CXSPARSE release. | |
2180 * SparseQR.cc: ditto. | |
2181 * SparseQR.h: ditto. | |
2182 * oct-sparse.h: ditto. | |
2183 * sparse-base-chol.cc (sparse_base_chol<>::sparse_base_chol_rep::init): | |
2184 Declare info variable as volatile. | |
2185 | |
2186 * Sparse.cc (Sparse<T>::transpose (void) const): Accelerate algorithm. | |
2187 * CSparse.cc (SparseComplexMatrix::transpose (void) const): ditto. | |
2188 | |
5634 | 2189 2006-03-01 John W. Eaton <jwe@octave.org> |
2190 | |
2191 * CMatrix.cc (ComplexMatrix::determinant): | |
2192 Scale result by factors of 2, not 10. | |
2193 * dMatrix.cc (Matrix::determinant): Likewise. | |
2194 | |
2195 * dbleDET.h (DET::DET): Use initializer list. | |
2196 (DET::coefficient2, DET::coefficient10, DET::exponent2, | |
2197 DET::exponent10): New functions. | |
2198 (DET::det): Delete. | |
2199 (DET::c2, DET::c10, DET::e2, DET::e10, DET::base2): New data members. | |
2200 Store value internally with double and int instead of 2-element | |
2201 double vector. | |
2202 (DET::initialize2, DET::initialize10): Provide decls. | |
2203 * dbleDET.cc (DET::value_will_overflow, DET::value_will_underflow): | |
2204 Return bool value, not int. | |
2205 (DET::initialize2, DET::initialize10): New functions. | |
2206 | |
2207 * CmplxDET.h (ComplexDET::ComplexDET): Use initializer list. | |
2208 (ComplexDET::coefficient2, ComplexDET::coefficient10, | |
2209 ComplexDET::exponent2, ComplexDET::exponent10): New functions. | |
2210 (ComplexDET::det): Delete. | |
2211 (ComplexDET::c2, ComplexDET::c10, ComplexDET::e2, ComplexDET::e10, | |
2212 ComplexDET::base2): New data members. | |
2213 Store value internally with Complex and int instead of 2-element | |
2214 Complex vector. | |
2215 (ComplexDET::initialize2, ComplexDET::initialize10): Provide decls. | |
2216 * dbleComplexDET.cc (ComplexDET::value_will_overflow, | |
2217 ComplexDET::value_will_underflow): Return bool value, not int. | |
2218 (ComplexDET::initialize2, ComplexDET::initialize10): New functions. | |
2219 | |
5632 | 2220 2006-02-24 John W. Eaton <jwe@octave.org> |
2221 | |
2222 * Array.cc (assignN): Clear index before reshaping. | |
2223 | |
2224 * Array.h (Array<T>::operator =): Don't set idx to 0 if copying self. | |
2225 | |
5630 | 2226 2006-02-20 David Bateman <dbateman@free.fr> |
2227 | |
2228 * dSparse.cc (dsolve, utsolve, ltsolve): Remove restriction that | |
2229 matrix must be square in diagonal, permuted diagonal, triangular | |
2230 and permuted triangular back/forward substitution code. Change | |
2231 ambiguous use of no. rows and columns. | |
2232 * CSParse.cc (dsolve, utsolve, ltsolve): ditto. | |
2233 * SparseType.cc (SparseType::SparseType(const SparseMatrix&), | |
2234 SparseType::SparseType(const SparseComplexMatrix&)): Recognize | |
2235 rectangular diagonal, permuted diagonal, triangular and permuted | |
2236 triangular matrices. | |
2237 * Sparse.cc (Sparse<T>::Sparse (octave_idx_type, octave_idx_type, T)): | |
2238 Treat case where third argument is zero. | |
2239 | |
5621 | 2240 2006-02-15 John W. Eaton <jwe@octave.org> |
2241 | |
5622 | 2242 * kpse.cc: Do define ST_NLINK_TRICK for Cygwin systems. |
2243 (do_subdir) [ST_NLINK_TRICK]: Check links != 2 instead of links > 2. | |
2244 | |
5621 | 2245 * getopt.c: Use __CYGWIN__ instead of __CYGWIN32__. |
2246 | |
5619 | 2247 2006-02-13 David Bateman <dbateman@free.fr> |
2248 | |
2249 * Makefile.in (LINK_DEPS): Add missing dependencies on colamd, | |
2250 ccolamd and cxsparse | |
2251 | |
5617 | 2252 2006-02-13 John W. Eaton <jwe@octave.org> |
2253 | |
5618 | 2254 * kpse.cc (kpse_path_iterator::next): Reverse order of tests in |
2255 while loop condition. | |
2256 (kpse_path_iterator::operator =): Declare as private function but | |
2257 don't define to prevent attempts to use assignment operator. | |
2258 Don't define ST_NLINK_TRICK for Cygwin systems. | |
5617 | 2259 |
5615 | 2260 2006-02-10 John W. Eaton <jwe@octave.org> |
2261 | |
2262 * mx-inlines.cc (MX_ND_REDUCTION): Store in cummulative | |
2263 product of all dimensions in CP_SZ. | |
2264 | |
5611 | 2265 2006-02-09 John W. Eaton <jwe@octave.org> |
2266 | |
2267 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Store in cummulative | |
5615 | 2268 product of all dimensions in CP_SZ. |
5611 | 2269 |
5610 | 2270 2006-02-09 David Bateman <dbateman@free.fr> |
2271 | |
2272 * SparseQR.cc: new file for real sparse QR class. | |
2273 * SparseQR.h: declaration. | |
2274 * SparseCmplxQR.cc: new file for complex sparse QR class. | |
2275 * SparseCmplxQR.h: declaration. | |
2276 * dSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
2277 (factorize, fsolve): Enable code code lssolve. | |
2278 (lssolve): disable unused args, write based in above sparse QR class. | |
2279 * CSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
2280 (factorize, fsolve): Enable code code lssolve. | |
2281 (lssolve): disable unused args, write based in above sparse QR class. | |
2282 * oct-sparse.h: fix location of colamd, ccolamd and metis headers. | |
2283 Include CXSparse headers. | |
2284 * Makefile.in (MATRIX_INC): Include SparseQR.h and SparseCmplxQR.h. | |
2285 (MATRIX_SRC): Include SparseQR.cc and SparseCmplxQR.cc. | |
2286 | |
5607 | 2287 2006-02-08 John W. Eaton <jwe@octave.org> |
2288 | |
2289 * Array-util.h (calc_permutated_idx): Delete. | |
2290 * Array.cc (permute_vector): New data structure. | |
2291 (permute_vector_compare): New function. | |
2292 (Array<T>::permute): Rewrite to avoid calc_permutated_index for | |
2293 improved performance. | |
2294 | |
5606 | 2295 2006-02-04 David Bateman <dbateman@free.fr> |
2296 | |
2297 * COLAMD: Remove all files, as now unused. | |
2298 | |
5604 | 2299 2006-01-31 John W. Eaton <jwe@octave.org> |
2300 | |
2301 * Sparse.h (Sparse<T>::nzmax): New function. | |
2302 (Sparse<T>::nnz): Rename from nonzero. | |
2303 Change all uses of old nnz function to be nzmax. Change all uses | |
2304 of nonzero to be nnz. | |
2305 (Sparse<T>::nzmx): Rename from nnz (data member). Change all uses. | |
2306 | |
5603 | 2307 2006-01-21 David Bateman <dbateman@free.fr> |
2308 | |
2309 * sparse-sort.cc (bool octave_sparse_sidxl_comp): 64-bit fix. | |
2310 (bool octave_idx_vector_comp): New function. | |
2311 (template class octave_sort<octave_idx_vector_sort *>): Instantiate | |
2312 indexed idx_vector sorting function. | |
2313 * sparse-sort.h (class octave_sparse_sort_idxl): 64-bit fix. | |
2314 (class octave_idx_vector_sort): New class for indexed idx_vector | |
2315 sorting. | |
2316 (bool octave_idx_vector_comp): Declaration. | |
2317 * Sparse.cc (int assign1(Sparse<LT>&, Sparse<RT>&)): Treat cases of | |
2318 unordered LHS indexes in assignment using new octave_idx_vector_sort | |
2319 class. | |
2320 (int assign(Sparse<LT>&, Sparse<RT>&)): ditto. | |
2321 | |
5602 | 2322 2006-01-30 John W. Eaton <jwe@octave.org> |
2323 | |
2324 * so-array.h (streamoff_array::nnz): New funtion. | |
2325 * boolNDArray.h (boolNDArray::nnz): New function. | |
2326 * MArrayN.h (MArrayN<T>::nnz): New function. | |
2327 * MArray.h (MArray<T>::nnz): New function. | |
2328 | |
5587 | 2329 2006-01-04 David Bateman <dbateman@free.fr> |
2330 | |
2331 * Spars-op-defs.h (SPARSE_SPARSE_MUL): Previous change resulted in | |
2332 elements not being sorted in return matrix. Sort them, and make | |
2333 solver select between two algorithms to further improve the | |
2334 performance. | |
2335 * dSparse.cc: include oct-sort.h. | |
2336 * CSparse.cc: ditto. | |
2337 * sparse-sort.cc: Instantiate octave_sort<octave_idx_type>. | |
2338 | |
5586 | 2339 2005-12-28 David Bateman <dbateman@free.fr> |
2340 | |
5587 | 2341 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Improved algorithm that is |
2342 faster in all cases, and significantly so for low density or small | |
2343 order problems. | |
5586 | 2344 |
5552 | 2345 2005-11-30 John W. Eaton <jwe@octave.org> |
2346 | |
2347 * LSODE.cc (LSODE::do_integrate (double)): Resize iwork and rwork | |
2348 before setting any values in either array. | |
2349 | |
5547 | 2350 2005-11-29 John W. Eaton <jwe@octave.org> |
2351 | |
2352 * oct-uname.h, oct-uname.cc: New files. | |
2353 * Makefile.in: Add them to the appropriate lists. | |
2354 | |
5535 | 2355 2005-11-11 John W. Eaton <jwe@octave.org> |
2356 | |
2357 * Array.cc (Array<T>::indexN): Simplify. | |
2358 | |
5533 | 2359 2005-11-09 John W. Eaton <jwe@octave.org> |
2360 | |
2361 * oct-inttypes.h (octave_int::operator char (void) const): | |
2362 New conversion op. | |
2363 | |
5527 | 2364 2005-11-01 John W. Eaton <jwe@octave.org> |
2365 | |
2366 * Makefile.in (distclean): Also remove oct-types.h. | |
2367 From Quentin Spencer <qspencer@ieee.org>. | |
2368 | |
5526 | 2369 2005-10-31 David Bateman <dbateman@free.fr> |
2370 | |
2371 * dSparse.cc, CSparse.cc: Use C++ true/false instead of | |
2372 preprocessor defined TRUE/FALSE. | |
2373 | |
5523 | 2374 2005-10-30 John W. Eaton <jwe@octave.org> |
2375 | |
2376 * mx-inlines.cc (MX_ND_REDUCTION): Iterate in direction of DIM. | |
2377 (MX_ND_CUMULATIVE_OP): Likewise. | |
2378 | |
5519 | 2379 2005-10-29 John W. Eaton <jwe@octave.org> |
2380 | |
5520 | 2381 * mx-inlines.cc (MX_ND_REDUCTION): Avoid increment_index to speed |
2382 things up. Simplify. | |
2383 | |
5519 | 2384 * Array.cc (Array<T>::indexN): Simplify. Delete separate special |
2385 case for "vector_equivalent". | |
2386 | |
2387 * Array-util.cc (vector_equivalent): Arg is now dim_vector. | |
2388 | |
5518 | 2389 2005-10-28 John W. Eaton <jwe@octave.org> |
2390 | |
2391 * oct-sparse.h: Fix typo in HAVE_UFSPARSE_UMFPACK_H. | |
2392 From Quentin Spencer <qspencer@ieee.org>. | |
2393 | |
2394 * sparse-base-chol.cc: Use C++ true/false instead of | |
2395 preprocessor defined TRUE/FALSE. Use 0 instead of NULL. | |
2396 | |
5516 | 2397 2005-10-27 John W. Eaton <jwe@octave.org> |
2398 | |
2399 * Array.cc (assignN): Reshape to final size instead of resizing. | |
2400 | |
5512 | 2401 2005-10-26 John W. Eaton <jwe@octave.org> |
2402 | |
2403 * oct-sparse.h: New file. | |
2404 * oct-sparse.h.in: Delete. | |
2405 | |
5511 | 2406 2005-10-26 David Bateman <dbateman@free.fr> |
2407 | |
2408 * sparse-base-chol.h: Include cholmod specific code in HAVE_CHOLMOD | |
2409 * sparse-base-chol.cc: ditto. | |
2410 | |
5508 | 2411 2005-10-26 John W. Eaton <jwe@octave.org> |
2412 | |
2413 Changes for GCC 4.1, tip from Arno J. Klaassen | |
2414 <arno@heho.snv.jussieu.fr>: | |
2415 | |
5509 | 2416 * dSparse.h (real (const SparseComplexMatrix&)): |
2417 Publish externally used friend function. | |
2418 (imag (const SparseComplexMatrix&)): Likewise. | |
2419 | |
5508 | 2420 * dColVector.h (real (const ComplexColumnVector&)): |
2421 Publish externally used friend function. | |
2422 (imag (const ComplexColumnVector&)): Likewise. | |
2423 | |
2424 * dNDArray.h (real (const ComplexNDArray&)): | |
2425 Publish externally used friend function. | |
2426 (imag (const ComplexNDArray&)): Likewise. | |
2427 | |
2428 * dMatrix.h (operator * (const ComplexMatrix&)): | |
2429 Move decl outside class. No need to be friend. | |
2430 (real (const ComplexMatrix&)): Publish externally used friend function. | |
2431 (imag (const ComplexMatrix&)): Likewise. | |
2432 | |
2433 * CMatrix.h: (operator * (const ColumnVector&, const | |
2434 ComplexRowVector&)): Move decl outside class. No need to be friend. | |
2435 (operator * (const ComplexColumnVector&, const RowVector&)): Likewise. | |
2436 (operator * (const ComplexColumnVector&, const ComplexRowVector& b)): | |
2437 Likewise. | |
2438 | |
5506 | 2439 2005-10-23 David Bateman <dbateman@free.fr> |
2440 | |
2441 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Check whether trailing zero | |
2442 elements need to be removed. | |
2443 | |
2444 * oct-sparse.h.in: Include metis headers and some macros for long/int | |
2445 versions of cholmod. | |
2446 | |
2447 * CSparse.cc (tinverse): New private function for the inversion of | |
2448 an upper triangular matrix. | |
2449 (dinverse): ditto for diagonal matrices. | |
2450 (inverse): Add SparseType as an argument. Implement matrix inverse | |
2451 using tinverse and dinverse. | |
2452 (fsolve): Use cholmod to implement Cholesky solver. | |
2453 * CSparse.h (tinverse, dinverse): Declarations | |
2454 (inverse): Alter declaration to include SparseType. | |
2455 | |
2456 * dSparse.cc (tinverse, dinverse, inverse, fsolve): ditto. | |
2457 * dSparse.h (tinverse, dinverse, inverse): ditto. | |
2458 | |
2459 * SparseType.cc: Fix complex constructor for hermitian matrices. | |
2460 | |
2461 * sparse-util.cc: New file for sparse utility functions. | |
2462 * sparse-util.h: New file with declarations of sparse utility | |
2463 functions. | |
2464 | |
2465 * sparse-base-chol.cc: New file with sparse cholesky class based | |
2466 on cholmod. | |
2467 * sparse-base-chol.h: New file with declaration of sparse cholesky | |
2468 class based on cholmod. | |
2469 | |
2470 * SparseCmplxCHOL.cc: Instantiate sparse cholesky class for Complex. | |
2471 * SparseCmplxCHOL.h: Declaration of sparse cholesky class. | |
2472 | |
2473 * SparsedbleCHOL.cc: ditto. | |
2474 * SparsedbleCHOL.h: ditto. | |
2475 | |
2476 * Makefile.in (MATRIX_INC): Include sparse-base-chol.h. | |
2477 (INCLUDES): Include sparse-util.h | |
2478 (TEMPLATE_SRC): Include sparse-base-chol.cc | |
2479 (MATRIX_SRC): Include SparseCmplxCHOL.cc and SparsedbleCHOL.cc | |
2480 | |
5489 | 2481 2005-10-12 John W. Eaton <jwe@octave.org> |
2482 | |
2483 * oct-env.cc (octave_env::have_x11_display): New function. | |
2484 * oct-env.h: Provide decl. | |
2485 | |
5476 | 2486 2005-09-29 John W. Eaton <jwe@octave.org> |
2487 | |
2488 * file-stat.h (file_stat::mode): New function. | |
2489 | |
2490 * file-stat.cc (file_stat::is_blk, file_stat::is_chr, | |
2491 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
2492 file_stat::is_reg, file_stat::is_sock): New static functions. | |
2493 * file-stat.h: Provide decls. | |
2494 | |
2495 2005-09-28 John W. Eaton <jwe@octave.org> | |
2496 | |
2497 * file-ops.cc (file_ops::recursive_rmdir): New function. | |
2498 * file-ops.h: Provide decl. | |
2499 | |
5454 | 2500 2005-09-19 David Bateman <dbateman@free.fr> |
2501 | |
2502 * oct-env.cc (octave_env::do_get_home_directory): | |
2503 Also check HOMEDRIVE under mingw. | |
2504 | |
5455 | 2505 * Makefile.in (LINK_DEPS): Include UFsparse libraries. |
2506 | |
5453 | 2507 2005-09-16 John W. Eaton <jwe@octave.org> |
2508 | |
2509 * oct-syscalls.cc: Include lo-utils.h here. | |
2510 (octave_syscalls::waitpid): Call octave_waitpid here. | |
2511 | |
2512 * lo-cutils.c (octave_waitpid): New function. | |
2513 * lo-utils.h: Provide decl. Include syswait.h here, not in | |
2514 oct-syscalls.cc | |
2515 | |
2516 | |
2517 * syswait.h [__MINGW32__]: Define WAITPID here instead of defining | |
2518 waitpid in src/sysdep.h. Make this header C-compatible. | |
2519 | |
2520 * oct-syscalls.cc (octave_syscalls::waitpid): New arg, status. | |
2521 Change all uses. | |
2522 | |
5451 | 2523 2005-09-15 John W. Eaton <jwe@octave.org> |
2524 | |
2525 * Makefile.in (MAKEDEPS_2): Omit unnecessary variable. | |
2526 | |
2527 * oct-sparse.h.in: New file. | |
2528 * Makefile.in (DISTFILES): Include it in the list. | |
2529 (INCLUDES): Add oct-sparse.h to the list. | |
2530 | |
2531 2005-09-15 David Bateman <dbateman@free.fr> | |
2532 | |
2533 * dSparse.cc : Include oct-sparse.h for probed umfpack, colamd etc | |
2534 headers. Remove include of umfpack.h. | |
2535 * CSparse.cc : ditto. | |
2536 * SparsedbleLU.cc : ditto. | |
2537 * SparseCmplxLU.cc : ditto. | |
2538 | |
2539 * COLAMD : Remove colamd files from octave. | |
2540 * COLAMD.files : delete. | |
2541 * COLAMD.README : delete. | |
2542 * Makefile.in: Remove COLAMD. Add LIBGLOB. | |
2543 (LN_S): Change to DESTDIR before LN_S to avoid lack of symlinks | |
2544 under mingw. | |
2545 | |
2546 * kpse.cc (ENV_SEP, ENV_SEP_STRING): Use SEPCHAR and SEPCHAR_STR | |
2547 in definition. | |
2548 * lo-cutils.c (octave_w32_library_search): Call GetProcAddress with | |
2549 change of cast not allowed under g++ 3.x. | |
2550 * lo-utils.h (octave_w32_library_search): Declaration. | |
2551 * oct-env.cc (do_get_home_directory): Also check HOMEPATH under mingw. | |
2552 * oct-shlib.cc (octave_w32_shlib::search): Use octave_w32_library_search. | |
2553 | |
5442 | 2554 2005-09-07 John W. Eaton <jwe@octave.org> |
2555 | |
2556 * cmd-edit.cc (command_editor::do_decode_prompt_string): Update | |
2557 based on current code in Bash. Handle a few more escape | |
2558 sequences. Do a better job of decoding \W. | |
2559 | |
5438 | 2560 2005-09-04 David Bateman <dbateman@free.fr> |
2561 | |
2562 * COLAMD: Update version of colamd to v2.4. | |
2563 * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of | |
2564 colamd.c for long version. | |
2565 | |
5429 | 2566 2005-08-25 David Bateman <dbateman@free.fr> |
2567 | |
2568 * Sparse-op-defs.h (FULL_SPARSE_MUL, SPARSE_FULL_MUL): Macro for | |
2569 mixed sparse/full multiply. | |
2570 * dSparse.cc (operator *), CSparse.cc (operator *): New operators for | |
2571 mixed sparse/full multiply. | |
2572 * dSparse.h (operator *), CSparse.h (operator *): Declaration of | |
2573 mixed sparse/full multiply operators. | |
2574 | |
5420 | 2575 2005-07-25 Erik de Castro Lopo <erikd@zip.com.au> |
2576 | |
2577 * oct-inttypes.h (OCTAVE_S_US_FTR): Compare <= 0 instead of < 0 to | |
2578 avoid warnings for unsigned types. | |
2579 | |
5404 | 2580 2005-07-07 John W. Eaton <jwe@octave.org> |
2581 | |
2582 * dSparse.cc (SparseMatrix::factorize): Initialize Numeric to 0. | |
2583 * CSparse.cc (SparseComplexMatrix::factorize:) Likewise. | |
2584 | |
5392 | 2585 2005-06-15 John W. Eaton <jwe@octave.org> |
2586 | |
5394 | 2587 * oct-rl-edit.c (flush_stdout): Rename from no_redisplay. |
2588 Flush stdout here. | |
2589 (octave_rl_clear_screen): Set rl_redisplay_function to flush_stdout. | |
2590 | |
5392 | 2591 * Array.h (Array::resize): Change int args to octave_idx_type. |
2592 | |
5386 | 2593 2005-06-14 John W. Eaton <jwe@octave.org> |
2594 | |
5389 | 2595 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
2596 dSparse.cc, lo-cieee.c, lo-mappers.cc: Change all uses of | |
2597 octave_is_NaN_or_NA to xisnan. | |
2598 | |
2599 * lo-mappers.h (octave_is_NaN_or_NA): Mark with GCC_ATTR_DEPRECATED. | |
2600 * lo-ieee.h (lo_ieee_is_NaN_or_NA): Likewise. | |
2601 | |
2602 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Now just a wrapper for | |
2603 lo_ieee_isnan. | |
2604 | |
5387 | 2605 * dMatrix.cc (Matrix::too_large_for_float): Only check if abs |
2606 value is greater than FLT_MAX. | |
2607 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
2608 * dNDArray.cc (NDArray::too_large_for_float): Ditto. | |
2609 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
2610 | |
2611 * dMatrix.cc (Matrix::too_large_for_float): Special case Inf | |
2612 values too. | |
2613 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
2614 | |
2615 * dNDArray.cc (NDArray::too_large_for_float): Likewise for NaN, | |
2616 NA, Inf values. | |
2617 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
5386 | 2618 |
5385 | 2619 2005-06-14 David Bateman <dbateman@free.fr> |
2620 | |
5387 | 2621 * dMatrix.cc (Matrix::too_large_for_float): Special case NaN and |
2622 NA values. | |
2623 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
5385 | 2624 |
5379 | 2625 2005-06-02 John W. Eaton <jwe@octave.org> |
2626 | |
2627 * Array.cc (assignN): Try harder to correctly resize previously | |
2628 empty LHS. | |
2629 | |
5351 | 2630 2005-05-16 David Bateman <dbateman@free.fr> |
2631 | |
2632 * dSparse.h: Change UMFPACK_LONG_IDX to IDX_TYPE_LONG. | |
2633 * CSparse.h: ditto. | |
2634 | |
5346 | 2635 2005-05-10 David Bateman <dbateman@free.fr> |
2636 | |
2637 * dSparse.cc (determinant): Free numeric factorization after | |
2638 sucessful calculation. | |
2639 * CSparse.cc (determinant): ditto. | |
2640 | |
5340 | 2641 2005-05-06 John W. Eaton <jwe@octave.org> |
2642 | |
2643 * dbleCHOL.cc (CHOL::init): Use xelem instead of elem for indexing | |
2644 chol_mat. | |
2645 (chol2mat_internal, chol2mat, CHOL::inverse): New functions. | |
2646 * dbleCHOL.h (chol2mat_internal, chol2mat, CHOL::inverse): | |
2647 Provide decls. | |
2648 | |
2649 * CmplxChol.cc (ComplexCHOL::init): Use xelem instead of elem for | |
2650 indexing chol_mat. | |
2651 (chol2mat_internal, chol2mat, ComplexCHOL::inverse): New functions. | |
2652 * CmplxCHOL.h (chol2mat_internal, chol2mat, CmplxCHOL::inverse): | |
2653 Provide decls. | |
2654 | |
5338 | 2655 2005-05-05 John W. Eaton <jwe@octave.org> |
2656 | |
2657 * Array.cc (Array<T>::permute): Call chop_trailing_singletons on | |
2658 retval before return. | |
2659 | |
5336 | 2660 2005-05-04 John W. Eaton <jwe@octave.org> |
2661 | |
2662 * cmd-edit.cc (gnu_readline::do_readline): Extract const char* | |
2663 from prompt outside of INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE block. | |
2664 | |
5330 | 2665 2005-05-02 John W. Eaton <jwe@octave.org> |
2666 | |
2667 * Makefile.in (LINK_DEPS): List $(UMFPACK_LIBS) ahead of $(BLAS_LIBS). | |
2668 From Dmitri A. Sergatskov <dasergatskov@gmail.com>. | |
2669 | |
5322 | 2670 2005-04-29 David Bateman <dbateman@free.fr> |
2671 | |
5330 | 2672 * dSparse.cc (trisolve): Diagonal passed to lapack zptsv is type |
2673 double. Correct indexing for upper diagonal elements for sparse | |
2674 tridiagonal. | |
5322 | 2675 * CSparse.cc (trisolve): ditto. |
2676 | |
5330 | 2677 * CSparse.h (UMFPACK_ZNAME): Define macro to pick version of |
2678 UMFPACK for 64-bit. | |
5322 | 2679 * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with |
2680 UMFPACK_ZNAME(*). | |
2681 * SparseCmplxLU.cc (UMFPACK_ZNAME): ditto | |
2682 | |
5330 | 2683 * dSparse.h (UMFPACK_DNAME): Define macro to pick version of |
2684 UMFPACK for 64-bit. | |
5322 | 2685 * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with |
2686 UMFPACK_DNAME(*). | |
2687 * SparsedbleLU.cc (UMFPACK_DNAME): ditto | |
2688 | |
5330 | 2689 * dSparse.cc (ltsolve, utsolve): Correct permuted upper/lower |
2690 triangular back/forward substitution code. | |
5322 | 2691 * CSparse.cc (ltsolve, utsolve): ditto. |
2692 | |
5330 | 2693 * dSparse.cc (solve): Use mattype.type (false) to force messaging |
2694 from spparms("spumoni",1). | |
5322 | 2695 * CSparse.cc (solve): ditto |
2696 | |
5330 | 2697 * SparseType.cc (SparseType(void)): Print info for |
2698 spparms("spumoni",1). | |
5322 | 2699 (SparseType(const matrix_type), SparseType(const matrix_type, const |
2700 octave_idx_type, const octave_idx_type*), SparseType(const matrix_type, | |
2701 const octave_idx_type, const octave_idx_type)): New constructors. | |
2702 (SparseType (const SparseMatrix&), SparseType (SparseComplexMatrix&)): | |
5330 | 2703 Detect row permuted lower triangular and column permuted upper |
2704 triangular matrices. Remove one of the permutation vectors.. | |
5322 | 2705 |
2706 * SparseType.h: Simplify the permutation code. | |
2707 (SparseType(const matrix_type), SparseType | |
2708 (const matrix_type, const octave_idx_type, const octave_idx_type*), | |
2709 SparseType(const matrix_type, const octave_idx_type, | |
2710 const octave_idx_type)): Declarations. | |
2711 | |
5304 | 2712 2005-04-25 John W. Eaton <jwe@octave.org> |
2713 | |
2714 * str-vec.cc (string_vector::delete_c_str_vec): Correctly free | |
2715 array and its contents. | |
2716 | |
5303 | 2717 2005-04-22 John W. Eaton <jwe@octave.org> |
2718 | |
2719 * oct-rl-edit.c (octave_rl_set_terminal_name): Don't cast away | |
2720 const here now that rl_terminal_name is declared const char*. | |
2721 | |
5294 | 2722 2005-04-21 John W. Eaton <jwe@octave.org> |
2723 | |
2724 * Makefile.in (DISTFILES): Include oct-types.h.in in the list. | |
2725 | |
5285 | 2726 2005-04-19 John W. Eaton <jwe@octave.org> |
2727 | |
2728 * Array.cc (assignN): Don't crash if the index list is empty. | |
2729 | |
5282 | 2730 2005-04-14 David Bateman <dbateman@free.fr> |
2731 | |
2732 * SparseCmplxLU.cc: Add flags for incomplete factorization. | |
2733 * SparsedbleLU.cc: Ditto. | |
2734 * SparseCmplxLU.h: Definition. | |
2735 * SparsedbleLU.h: ditto. | |
2736 | |
2737 * SparseType.cc (transpose): New function. | |
2738 * SparseType.h (transpose): Definition. | |
2739 | |
5278 | 2740 2005-04-11 John W. Eaton <jwe@octave.org> |
2741 | |
2742 * lo-specfun.cc: Use F77_XFCN instead of F77_FUNC for calls to | |
2743 fortran code that could end up calling XSTOPX. | |
2744 | |
5277 | 2745 2005-04-10 David Bateman <dbateman@free.fr> |
2746 | |
2747 * Makefile.in: include oct-types in INCLUDES so that it is | |
2748 installed | |
2749 | |
5275 | 2750 2005-04-08 John W. Eaton <jwe@octave.org> |
2751 | |
5276 | 2752 * Makefile.in (clean): Use exact filenames instead of *.xxx. |
2753 | |
5275 | 2754 * Initial merge of 64-bit changes from Clinton Chee: |
2755 | |
2756 2005-04-07 John W. Eaton <jwe@octave.org> | |
2757 | |
2758 * MArray-i.cc, Array-i.cc: Instantiate Array<long> and MArray<long>. | |
2759 | |
2760 * CSparse.cc, CSparse.h, MSparse.cc, MSparse.h, Sparse-op-defs.h, | |
2761 Sparse.cc, Sparse.h, SparseCmplxLU.cc, SparseType.cc, | |
2762 SparseType.h, SparsedbleLU.cc, boolSparse.cc, boolSparse.h, | |
2763 dSparse.cc, dSparse.h, sparse-base-lu.cc: | |
2764 Use octave_idx_type instead of int where needed. | |
2765 | |
2766 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
2767 | |
2768 * Array-util.cc, Array-util.h, Array.cc,Array.h, Array2.h, | |
2769 Array3.h, ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
2770 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
2771 CMatrix.h, CNDArray.cc, CNDArray.h, CRowVector.cc, CRowVector.h, | |
2772 CmplxAEPBAL.cc, CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, | |
2773 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
2774 CmplxSCHUR.cc, CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, | |
2775 CollocWt.h, DAEFunc.h, DASPK-opts.in,DASPK.cc,DASPK.h, | |
2776 DASRT-opts.in, DASRT.cc, DASRT.h, DASSL-opts.in, DASSL.cc, | |
2777 DASSL.h, DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, | |
2778 FEGrid.h, LPsolve.cc, LPsolve.h, LSODE-opts.in, LSODE.cc, LSODE.h, | |
2779 MArray-defs.h, MArray.cc, MArray.h, MArray2.cc, MArray2.h, | |
2780 MArrayN.cc, MDiagArray2.cc, MDiagArray2.h, NLConst.h, NLEqn.cc, | |
2781 NLEqn.h, Quad.cc, Quad.h, Range.cc,Range.cc, Range.h, base-de.h, | |
2782 base-lu.cc, base-lu.h, base-min.h, boolMatrix.cc, boolMatrix.h, | |
2783 boolNDArray.cc, boolNDArray.h, chMatrix.cc, chMatrix.h, | |
2784 chNDArray.cc, chNDArray.h, dColVector.cc, dColVector.h, | |
2785 dDiagMatrix.cc, dDiagMatrix.h, dMatrix.cc, dMatrix.h, | |
2786 dNDArray.cc,dNDArray.cc, dNDArray.h, dRowVector.cc, dRowVector.h, | |
2787 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleHESS.cc, | |
2788 dbleHESS.h, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
2789 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, dim-vector.h, idx-vector.cc, | |
2790 idx-vector.h, intNDArray.cc, intNDArray.h, lo-specfun.cc, | |
2791 lo-specfun.h, mach-info.cc, mx-inlines.cc, oct-fftw.cc, | |
2792 oct-fftw.h, oct-rand.cc, oct-rand.h, so-array.cc, so-array.h, | |
2793 str-vec.cc, str-vec.h: | |
2794 Use octave_idx_type instead of int where needed. | |
2795 | |
2796 2005-04-01 John W. Eaton <jwe@octave.org> | |
2797 | |
2798 * dim-vector.h, lo-utils.h: Include oct-types.h. | |
2799 | |
2800 * oct-types.h.in: New file. | |
2801 | |
2802 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
2803 | |
2804 * lo-utils.cc (NINTbig): New function. | |
2805 * lo-utils.h: Provide decl. | |
2806 | |
5269 | 2807 2005-04-06 David Bateman <dbateman@free.fr> |
2808 | |
2809 * Makefile.in: Link to UMFPACK_LIBS. | |
2810 | |
5265 | 2811 2005-04-05 John W. Eaton <jwe@octave.org> |
2812 | |
2813 * Array.cc (assignN): Avoid shadowed declaration in previous change. | |
2814 | |
5264 | 2815 2005-04-01 John W. Eaton <jwe@octave.org> |
2816 | |
2817 * Array.cc (assignN): For A(IDX-LIST) = RHS with A previously | |
2818 undefined, correctly match colons in IDX-LIST with RHS dimensions | |
2819 when resizing A. When performing the assignment, just check that | |
2820 the number of elements in RHS matches the number of elements | |
2821 indexed by IDX-LIST. | |
2822 | |
5260 | 2823 2005-03-30 John W. Eaton <jwe@octave.org> |
2824 | |
5261 | 2825 * lo-mappers.cc (log10, tan, tanh): Delete functions. |
2826 * lo-mappers.h (log10, tan, tanh): Delete decls. | |
2827 | |
2828 * CColVector.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, | |
2829 dSparse.cc: Use std:: for Complex functions instead of relying on | |
2830 wrappers from oct-cmplx.h. | |
5260 | 2831 |
2832 * oct-cmplx.h: Provide typedef only. | |
2833 | |
2834 * DiagArray2.cc (xelem): Don't use initializer for static data. | |
2835 * DiagArray2.h (DiagArray<T>::Proxy::operator T ()): | |
2836 Likewise. | |
2837 | |
5247 | 2838 2005-03-26 John W. Eaton <jwe@octave.org> |
2839 | |
2840 * cmd-edit.cc (do_readline): Wrap call to ::octave_rl_readline | |
2841 with {BEGIN,END}_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE. | |
2842 | |
5209 | 2843 2005-03-15 John W. Eaton <jwe@octave.org> |
2844 | |
2845 * Makefile.in (MATRIX_INC): Remove oct-spparms.h from the list. | |
2846 | |
5203 | 2847 2005-03-14 John W. Eaton <jwe@octave.org> |
2848 | |
2849 * Makefile.in (DISTFILES): Don't include $(UMFPACK_EXTRAS). | |
2850 (DISTDIRS): Don't include UMFPACK. | |
2851 (LIBOCTAVE_OBJECTS): Don't include $(UMFPACK_OBJ). | |
2852 (UMFPACK_SPECIAL_1, UMFPACK_SPECIAL): No need for special include | |
2853 flags for these files. | |
2854 Don't include include $(srcdir)/UMFPACK.files. | |
2855 Don't include include $(srcdir)/UMFPACK.rules. | |
2856 | |
2857 * UMFPACK.README, UMFPACK.files, UMFPACK.patch, UMFPACK.rules: | |
2858 Delete files. | |
2859 * UMFPACK: Delete directory tree. | |
2860 | |
2861 * dSparse.cc: Include <umfpack/umfpack.h> instead of just "umfpack.h". | |
2862 * CSparse.cc: Likewise. | |
2863 * SparsedbleLU.cc: Likewise. | |
2864 * SparseCmplxLU.cc: Likewise. | |
2865 | |
2866 2005-03-14 David Bateman <dbateman@free.org> | |
2867 | |
2868 * CSParse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc: | |
2869 Allow compilation to succeed if UMFPACK is not available. | |
2870 | |
5196 | 2871 2005-03-09 John W. Eaton <jwe@octave.org> |
2872 | |
2873 * Makefile.in (bin-dist): Delete target. | |
2874 (BINDISTLIBS, BINDISTFILES): Delete variables. | |
2875 | |
5173 | 2876 2005-03-01 John W. Eaton <jwe@octave.org> |
2877 | |
2878 * ODESSA.h, ODESSA.cc, ODESSA-opts.in: Delete. | |
2879 * Makefile.in: Remove them from the lists. | |
2880 | |
5169 | 2881 2005-02-28 John W. Eaton <jwe@octave.org> |
2882 | |
2883 * Makefile.in (LINK_DEPS): Remove -lglob from the list. | |
2884 | |
5167 | 2885 2005-02-27 David Bateman <dbateman@free.org> |
2886 | |
5169 | 2887 * Sparse.cc (Sparse<T>::reshape): Set cidx for the N last elements |
2888 in the sparse matrix. | |
5167 | 2889 |
5164 | 2890 2005-02-25 John W. Eaton <jwe@octave.org> |
2891 | |
2892 Sparse merge. | |
2893 | |
2894 2005-02-13 David Bateman <dbateman@free.fr> | |
2895 | |
2896 * CSparse.cc (SparseComplexMatrix:dsolve, SparseComplexMatrix:utsolve, | |
2897 SparseComplexMatrix::ltsolve, SparseComplexMatrix::trisolve, | |
2898 SparseComplexMatrix::bsolve, SparseComplexMatrix:fsolve): Split sparse | |
2899 solver into separate functions for the diagonal, upper, lower | |
2900 triangular, tridiagonal, banded and full cases. | |
2901 (SparseComplexMatrix::solve): rewrite to call the above function. One | |
2902 version that probes the matrix type and another that assumes the type | |
2903 is passed. | |
2904 | |
2905 * dSparse.cc (SparseMatrix:dsolve, SparseMatrix:utsolve, | |
2906 SparseMatrix::ltsolve, SparseMatrix::trisolve, | |
2907 SparseMatrix::bsolve, SparseMatrix:fsolve): Likewise | |
2908 (SparseMatrix::solve): Likewise | |
2909 | |
2910 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
2911 Declaration of new functions | |
2912 * dSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
2913 Likewise | |
2914 | |
2915 * CSparse.cc (operator !): Reverse the sense of the test. | |
2916 * dSpase.cc (operator !): Likewise | |
2917 | |
2918 * dSparse.h (type, band_size, is_dense, triangular_row_perm, | |
2919 triangular_col_perm, sparse_info): Remove matrix type code | |
2920 * CSparse.h (type, band_size, is_dense, triangular_row_perm, | |
2921 triangular_col_perm, sparse_info): Likewise | |
2922 * boolSparse.h (type, band_size, is_dense, triangular_row_perm, | |
2923 triangular_col_perm, sparse_info): Likewise | |
2924 * MSparse.h (type, band_size, is_dense, triangular_row_perm, | |
2925 triangular_col_perm, sparse_info): Likewise | |
2926 * Sparse.h (type, band_size, is_dense, triangular_row_perm, | |
2927 triangular_col_perm, sparse_info, matrix_type): Likewise | |
2928 | |
2929 * Sparse.cc (type, sparse_info, band_size): Remove type code | |
2930 | |
2931 * SparseType.h: New class for the matrix type used in solvers | |
2932 * SparseType.cc: methods of sparse matrix type class | |
2933 | |
2934 * Makefile.in: Add SparseType.cc | |
2935 | |
2936 2005-02-01 David Bateman <dbateman@free.fr> | |
2937 | |
2938 * UMFPACK: Update to version 4.4 | |
2939 * UMFPACK.patch: Version 4.4 contains most of the previous patch. Only | |
2940 keep octave specific test files | |
2941 | |
2942 2005-01-23 David Bateman <dbateman@free.fr> | |
2943 | |
2944 * dSparse.cc (SparseMatrix::solve): Include tridiagonal, cholesky | |
2945 tridiagonal and banded cholesky solvers. Remove calculation of | |
2946 condition number for banded solvers. | |
2947 * CSparse.cc (SparseComplexMatrix::solve): ditto. | |
2948 | |
2949 * Sparse.h (int type (int) const, bool is_dense (void) const): | |
2950 new functions. | |
2951 * MSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
2952 * dSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
2953 * CSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
2954 * boolSparse.h (int type (int) const, bool is_dense (void) const): | |
2955 ditto | |
2956 | |
2957 * Sparse.cc (int Sparse<T>::type (int) const, | |
2958 bool Sparse<T>::is_dense (void) const): New functions definition | |
2959 | |
2960 * Sparse.h (matrix_type typ): Move caching of matrix type to SparseRep, | |
2961 so it actually is cached, but disable | |
2962 | |
2963 * oct-spparms.cc (SparseParams::init_keys): Change spmoni to spumoni | |
2964 for compatiability | |
2965 | |
2966 2005-01-18 David Bateman <dbateman@free.fr> | |
2967 | |
2968 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
2969 Modify calculation of number elements to skip between copied blocks. | |
2970 | |
2971 2005-01-07 David Bateman <dbateman@free.fr> | |
2972 | |
2973 * Sparse.h : Reverse definitions of numel and nelem. | |
2974 * Sparse.cc (assign1): Use numel and not nelem | |
2975 * Sparse-op-def.h: Replace all uses of nelem with numel | |
2976 | |
2977 2005-01-07 David Bateman <dbateman@free.fr> | |
2978 | |
2979 * dbleDET.h: Make SparseMatrix a friend of the class DET | |
2980 * CmplexDET.h: Make SparseComplexMatrix a friend of the class | |
2981 ComplexDET | |
2982 * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET | |
2983 by DET | |
2984 * dSparse.h (determinant): ditto | |
2985 * CSparse.cc (SparseComplexMatrix::determinant): Replace use of | |
2986 SparseComplexDET by ComplexDET | |
2987 * CSparse.h (determinant): ditto | |
2988 * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, | |
2989 SparseCmplxDET.cc: delete files | |
2990 * Makefile.in: Delete reference to SparsedbleDET.h, SparsedbleDET.cc, | |
2991 SparseCmplxDET.h andSparseCmplxDET.cc. | |
2992 | |
2993 * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in | |
2994 local variable to avoid variable shadowing. | |
2995 * dSparse.cc (SparseMatrix::solve): ditto. | |
2996 | |
2997 * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc | |
2998 dSparse.h MSparse.cc MSparse-C.cc MSparse-d.cc MSparse-defs.h | |
2999 MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc | |
3000 Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc | |
3001 SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc | |
3002 sparse-sort.h: Remove additional licensing clause with authors | |
3003 permission. | |
3004 | |
3005 2004-12-30 John W. Eaton <jwe@octave.org> | |
3006 | |
3007 * MSparse.cc (SPARSE_A2S_OP_2, SPARSE_SA2_OP_2): | |
3008 Loop counter is int, not size_t. | |
3009 | |
3010 * oct-spparms.cc (SparseParams::operator =): Return *this. | |
3011 | |
3012 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Delete unused variable tmpval. | |
3013 | |
3014 * dSparse.cc (operator << (ostream&, const SparseMatrix&), atan2): | |
3015 Delete unused variables. | |
3016 (SparseMatrix::solve): Avoid warnings about uninitialized | |
3017 variables and variables that might be clobbered by longjmp. | |
3018 | |
3019 * CSparse.cc (operator << (ostream&, const SparseComplexMatrix&), | |
3020 min, max): Delete unused variables. | |
3021 (SparseComplexMatrix::solve): Avoid warnings about uninitialized | |
3022 variables and variables that might be clobbered by longjmp. | |
3023 | |
3024 * Makefile.in (UMFPACK_SPECIAL): Include .d files in the list. | |
3025 | |
3026 * Sparse-op-defs.h (SPARSE_SMS_BIN_OP_2, SPARSE_SSM_BIN_OP_2): | |
3027 Loop counter is int, not size_t. | |
3028 | |
3029 * CSparse.cc (SparseComplexMatrix::hermitian): Avoid shadow warnings. | |
3030 * Sparse.cc (Sparse<T>::Sparse, Sparse<T>::type, assign): Likewise. | |
3031 | |
3032 * Sparse.h (Sparse::SparseRep): Order data members and initializer | |
3033 lists consistently. | |
3034 | |
3035 * mx-base.h: Include boolSparse.h, dSparse.h, and CSparse.h. | |
3036 | |
3037 2004-12-29 John W. Eaton <jwe@octave.org> | |
3038 | |
3039 * COLAMD.files (COLAMD_EXTRAS): New variable. | |
3040 * UMFPACK.files (UMFPACK_EXTRAS): New variable. | |
3041 * Makefile.in (DISTFILES): Add $(COLAMD_EXTRAS) and | |
3042 $(UMFPACK_EXTRAS) to the list. | |
3043 (DISTDIRS): New variable. | |
3044 (dist): Handle $(DISTDIRS). | |
3045 | |
3046 Merge of sparse code from David Bateman <dbateman@free.fr> and | |
3047 Andy Adler <adler@site.uottawa.ca>. | |
3048 | |
3049 * Makefile.in (VPATH): ADD @srcdir@/COLAMD to the list. | |
3050 | |
3051 * Makefile.in (MAKEDEPS): Include $(COLAMD_SRC) and $(UMFPACK_SRC) | |
3052 without directory prefix. | |
3053 | |
3054 * Makefile.in (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJ) and | |
3055 $(UMFPACK_OBJ) to the list. | |
3056 | |
3057 * COLAMD: New directory. | |
3058 * COLAMD.files: New file. | |
3059 * Makefile.in: Include COLAMD.files. | |
3060 (SOURCES): Add $(COLAMD_SOURCES) to the list. | |
3061 (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJECTS) to the list. | |
3062 (INCLUDES): Add $(COLAMD_INCLUDES) to the list. | |
3063 | |
3064 * UMFPACK: New directory. | |
3065 * UMFPACK.patch, UMFPACK.README, UMFPACK.files, UMFPACK.rules: | |
3066 New files. | |
3067 * Makefile.in: Include UMFPACK.files and UMFPACK.rules. | |
3068 (SOURCES): Add $(UMFPACK_SOURCES) to the list. | |
3069 (LIBOCTAVE_OBJECTS): Add $(UMFPACK_OBJECTS) to the list. | |
3070 (INCLUDES): Add $(UMFPACK_INCLUDES) to the list. | |
3071 | |
3072 * Makefile.in (SPARSE_MX_OP_INC): New variable. | |
3073 (INCLUDES): Add it to the list. | |
3074 (SPARSE_MX_OP_SRC): New variable. | |
3075 (LIBOCTAVE_CXX_SOURCES): Add it to the list. | |
3076 (distclean): Remove $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
3077 (stamp-prereq): Depend on $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
3078 | |
3079 * sparse-mk-ops.awk, sparse-mx-ops: New files. | |
3080 * Makefile.in (DISTFILES): Add them to the lists. | |
3081 | |
3082 * oct-spparms.h, sparse-sort.h: New files. | |
3083 * Makefile.in (INCLUDES): Add them to the list. | |
3084 | |
3085 * oct-spparms.cc, sparse-sort.cc: New files. | |
3086 * Makefile.in (LIBOCTAVE_CXX_SOURCES): Add them to the list. | |
3087 | |
3088 * sparse-base-lu.cc: New file. | |
3089 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
3090 | |
3091 * boolSparse.cc, CSparse.cc, dSparse.cc, MSparse.cc, Sparse.cc, | |
3092 SparseCmplxDET.cc, SparseCmplxLU.cc, SparsedbleDET.cc, | |
3093 SparsedbleLU.cc: New files. | |
3094 * Makefile.in (MATRIX_SRC): Add them to the list. | |
3095 | |
3096 * boolSparse.h, CSparse.h, dSparse.h, MSparse-defs.h, MSparse.h, | |
3097 Sparse.h, oct-spparms.h, sparse-base-lu.h, SparseCmplxDET.h, | |
3098 SparseCmplxLU.h, SparsedbleDET.h, SparsedbleLU.h, | |
3099 Sparse-op-defs.h: New files. | |
3100 * Makefile.in (MATRIX_INC): Add them to the appropriate lists. | |
3101 | |
3102 * MSparse-d.cc, MSparse-C.cc, Sparse-b.cc, Sparse-d.cc, | |
3103 Sparse-C.cc: New files. | |
3104 * Makefile.in (TI_SRC): Add them to the list. | |
3105 | |
5149 | 3106 2005-02-18 John W. Eaton <jwe@octave.org> |
3107 | |
3108 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_RESOLVEPATH]: | |
3109 Pass current directory to octave_env::make_absolute. | |
3110 Save value returned from octave_env::make_absolute in local var. | |
3111 Pass const char*, not std::string as first arg of resolvepath. | |
3112 Provide decl for resolved_len. | |
3113 | |
5148 | 3114 2005-02-18 John W. Eaton <jwe@octave.org> |
3115 | |
3116 * Array.cc (Array<T>::permute): Allow permutation vector longer | |
3117 than number of dimenensions of permuted matrix. | |
3118 | |
3119 * Array.cc (Array<T>::permute): Use zero-based indexing for perm_vec. | |
3120 * Array-util.cc (calc_permutated_idx): Likewise. | |
3121 | |
5139 | 3122 2005-02-10 David Bateman <dbateman@free.fr> |
3123 | |
3124 * CNDArray.cc (ComplexNDarray::operator !): Change sense of test. | |
3125 * CMatrix.cc (ComplexMatrix::operator !): Likewise. | |
3126 | |
5137 | 3127 2005-02-09 John W. Eaton <jwe@octave.org> |
3128 | |
5138 | 3129 * file-ops.cc (file_ops::canonicalize_file_name): New functions. |
3130 * file-ops.h: Provide decls. | |
3131 | |
5137 | 3132 * kpse.cc (kpse_tilde_expand): Simply return NAME if it is empty. |
3133 | |
5136 | 3134 2005-02-08 John W. Eaton <jwe@octave.org> |
3135 | |
3136 * Array-util.cc (freeze): Improve error message. | |
3137 | |
5120 | 3138 2005-01-26 David Bateman <dbateman@free.fr> |
3139 | |
5121 | 3140 * Array.cc (Array<T>::insert): Handle generic case, not just |
3141 special case for fast concatenation. | |
5120 | 3142 |
5110 | 3143 2005-01-18 John W. Eaton <jwe@octave.org> |
3144 | |
3145 * mx-inlines.cc (MX_ND_REDUCTION): Delete RET_ELT_TYPE arg. | |
3146 Change all uses. Use VAL instead of RET_ELT_TYPE when resizing. | |
3147 | |
3148 * dNDArray.cc (NDArray::any): NaN does not count as a nonzero value. | |
3149 * CNDArray.cc (ComplexNDArray::any): Likewise. | |
3150 | |
5108 | 3151 2005-01-18 David Bateman <dbateman@free.fr> |
3152 | |
3153 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
3154 Modify calculation of number elements to skip between copied blocks. | |
3155 | |
3156 2005-01-18 John W. Eaton <jwe@octave.org> | |
3157 | |
3158 * idx-vector.cc (IDX_VEC_REP::freeze): Call warning handler, not | |
3159 error handler, to warn about resizing. | |
3160 | |
5105 | 3161 2004-12-27 Martin Dalecki <martin@dalecki.de> |
3162 | |
3163 * Array.cc, ArrayN.cc, base-lu.cc, boolMatrix.cc, boolNDArray.cc, | |
3164 Bounds.cc, CColVector.cc, CDiagMatrix.cc, chMatrix.cc, | |
3165 chNDArray.cc, CMatrix.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, | |
3166 CmplxDET.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
3167 CmplxSCHUR.cc, CmplxSVD.cc, CNDArray.cc, CollocWt.cc, | |
3168 CRowVector.cc, DASPK.cc, DASRT.cc, DASSL.cc, dbleAEPBAL.cc, | |
3169 dbleCHOL.cc, dbleDET.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, | |
3170 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, dColVector.cc, | |
3171 dDiagMatrix.cc, DiagArray2.cc, dMatrix.cc, dNDArray.cc, | |
3172 dRowVector.cc, EIG.cc, FEGrid.cc, idx-vector.cc, int16NDArray.cc, | |
3173 int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, intNDArray.cc, | |
3174 LinConst.cc, LPsolve.cc, LSODE.cc, MArray2.cc, MArray.cc, | |
3175 MArrayN.cc, MDiagArray2.cc, NLEqn.cc, oct-alloc.cc, ODES.cc, | |
3176 ODESSA.cc, Quad.cc, Range.cc, so-array.cc, uint16NDArray.cc, | |
3177 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: | |
3178 Delete #pragma implementation. | |
3179 | |
3180 * Array2.h, Array3.h, Array.h, ArrayN.h, base-lu.h, boolMatrix.h, | |
3181 boolNDArray.h, Bounds.h, CColVector.h, CDiagMatrix.h, chMatrix.h, | |
3182 chNDArray.h, CMatrix.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, | |
3183 CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, | |
3184 CmplxSVD.h, CNDArray.h, CollocWt.h, CRowVector.h, DASPK.h, | |
3185 DASRT.h, DASSL.h, dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, | |
3186 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, | |
3187 dColVector.h, dDiagMatrix.h, DiagArray2.h, dim-vector.h, | |
3188 dMatrix.h, dNDArray.h, dRowVector.h, EIG.h, FEGrid.h, | |
3189 idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
3190 int8NDArray.h, intNDArray.h, LinConst.h, LPsolve.h, LSODE.h, | |
3191 MArray2.h, MArray.h, MArrayN.h, MDiagArray2.h, NLConst.h, NLEqn.h, | |
3192 ODES.h, ODESSA.h, Quad.h, Range.h, so-array.h, uint16NDArray.h, | |
3193 uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: | |
3194 Delete #pragma interface. | |
3195 | |
5098 | 3196 2004-12-17 John W. Eaton <jwe@octave.org> |
3197 | |
3198 * lo-cieee.c (lo_ieee_signbit): New function. | |
3199 * lo-ieee.h: Provide decl. | |
3200 Don't define lo_ieee_signbit as a macro here. | |
3201 From Orion Poplawski <orion@cora.nwra.com>. | |
3202 | |
5085 | 3203 2004-11-18 John W. Eaton <jwe@octave.org> |
3204 | |
3205 * int32NDArray.cc (pow): Delete instantiation. | |
3206 * int16NDArray.cc (pow): Likewise. | |
3207 * int8NDArray.cc (pow): Likewise. | |
3208 * uint32NDArray.cc (pow): Likewise. | |
3209 * uint16NDArray.cc (pow): Likewise. | |
3210 * uint8NDArray.cc (pow): Likewise. | |
3211 | |
5081 | 3212 2004-11-17 John W. Eaton <jwe@octave.org> |
3213 | |
5085 | 3214 * kpse.cc (str_llist_float, str_llist_add, kpse_var_expand): |
3215 Now static. | |
3216 (DB_ENVS, DB_HASH_SIZE, DB_NAME, ALIAS_NAME, ALIAS_HASH_SIZE, | |
3217 DEFAULT_TEXMFDBS): Delete unused macros. | |
3218 | |
5081 | 3219 * Array.cc (Array<T>::index): Call generic N-d indexing function |
3220 if idx_arg is N-d. | |
3221 | |
5073 | 3222 2004-11-09 David Bateman <dbateman@free.fr> |
3223 | |
3224 * dNDArray.cc (concat): Delete. | |
3225 (NDArray::concat): New methods. | |
3226 * dNDArray.h: Provide decls. | |
3227 | |
3228 * CNDArray.cc (concat): Delete. | |
3229 (ComplexNDArray::concat): New methods. | |
3230 * CNDArray.h: Provide decls. | |
3231 | |
3232 * boolNDArray.cc (concat): Delete. | |
3233 (boolNDArray::concat): New methods. | |
3234 * boolNDArray.h: Provide decls. | |
3235 | |
3236 * chNDArray.cc (concat): Delete. | |
3237 (charNDArray::concat): New methods. | |
3238 * chNDArray.h: Provide decls. | |
3239 | |
3240 * oct-inttypes.h (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): | |
3241 Delete macros. | |
3242 | |
3243 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
3244 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
3245 (OCTAVE_INT_CONCAT_DECL): Delete use of macro. | |
3246 | |
3247 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
3248 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
3249 (OCTAVE_INT_CONCAT_FN): Delete use of macro. | |
3250 | |
3251 * intNDArray.cc (intNDArray<T>::concat): New method. | |
3252 * intNDArray.h: Provide decl. | |
3253 | |
5072 | 3254 2004-11-08 John W. Eaton <jwe@octave.org> |
3255 | |
3256 * oct-inttypes.cc: New file. | |
3257 * Makefile.in (TI_SRC): Add it to the list. | |
3258 * oct-inttypes.h (OCTAVE_US_TYPE1_CMP_OP, OCTAVE_US_TYPE1_CMP_OPS, | |
3259 OCTAVE_SU_TYPE1_CMP_OP, OCTAVE_SU_TYPE1_CMP_OPS, | |
3260 OCTAVE_TYPE1_CMP_OPS, OCTAVE_US_TYPE2_CMP_OP, | |
3261 OCTAVE_US_TYPE2_CMP_OPS, OCTAVE_SU_TYPE2_CMP_OP, | |
3262 OCTAVE_SU_TYPE2_CMP_OPS, OCTAVE_TYPE2_CMP_OPS): | |
3263 New macros for comparison operations. Avoid potential | |
3264 problems with default conversions when comparing signed and | |
3265 unsigned values. | |
3266 | |
5061 | 3267 2004-11-03 John W. Eaton <jwe@octave.org> |
3268 | |
3269 * dMatrix.cc (Matrix::inverse): Return info == -1 for any failure. | |
3270 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
3271 | |
5052 | 3272 2004-10-19 John W. Eaton <jwe@octave.org> |
3273 | |
3274 * Array.cc (assignN): Avoid resizing if assignment will fail. | |
3275 | |
5047 | 3276 2004-10-18 John W. Eaton <jwe@octave.org> |
3277 | |
3278 * Array.cc (assign2): Save result of squeeze operation. | |
3279 Squeeze if ndims is > 2, not if length of RHS vector is > 2. | |
3280 | |
5095 | 3281 2004-10-11 David Bateman <dbateman@free.fr> |
5044 | 3282 |
3283 * oct-fftw.cc (class octave_fftw_planner): Add inplace[2] to | |
3284 flag whether transform in- or out-of-place. | |
3285 (octave_fftw_planner::octave_fftw_planner): Initialize it. | |
3286 (octave_fftw_planner::create_plan): Use it. | |
3287 | |
5039 | 3288 2004-09-24 John W. Eaton <jwe@octave.org> |
3289 | |
3290 * Array.cc (assign2, assignN): If index is empty, allow RHS to be | |
3291 any empty matrix, not just []. | |
3292 | |
5030 | 3293 2004-09-23 John W. Eaton <jwe@octave.org> |
3294 | |
3295 * mx-ops: Include scalar zero value in type definitions. | |
3296 Delete zero information from ops section. | |
3297 * mk-ops.awk: Use type-specific zero info. | |
3298 | |
3299 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, | |
3300 SND_BOOL_OP, NDND_BOOL_OP): Args now include zero values for both | |
3301 LHS and RHS. | |
3302 (MS_BOOL_OPS2, SM_BOOL_OPS2, MM_BOOL_OPS2, NDS_BOOL_OPS2, | |
3303 SND_BOOL_OPS2, NDND_BOOL_OPS2): New macros. | |
3304 (MS_BOOL_OPS, SM_BOOL_OPS, MM_BOOL_OPS, NDS_BOOL_OPS, | |
3305 SND_BOOL_OPS, NDND_BOOL_OPS): Define in terms of 2-zero versions. | |
3306 | |
3307 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const | |
3308 intNDArray<U>&)): Use explicit as_double () conversion in call to | |
3309 tree_to_mat_idx. | |
3310 | |
3311 * oct-inttypes.h (octave_int<T>::operator float): New conversion. | |
3312 (pow): Instead of "if (b_val)", use "if (b_val != zero)". | |
3313 Likewise for the "if (b_val & one)" test. | |
3314 (operator <<, operator >>): Type of retval is octave_int<T1>, not T1. | |
3315 | |
5029 | 3316 2004-09-23 David Bateman <dbateman@free.fr> |
3317 | |
3318 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): | |
3319 New macros. Use them to define mixed intX-double and double-intX ops. | |
3320 | |
5021 | 3321 2004-09-22 Federico Zenith <zenith@chemeng.ntnu.no> |
3322 | |
3323 * DASPK-opts.in, DASRT-opts.in, ODESSA-opts.in: | |
3324 Fix doc string layout to avoid overfull hbox in printed output. | |
3325 | |
5015 | 3326 2004-09-21 John W. Eaton <jwe@octave.org> |
3327 | |
3328 * mach-info.h (octave_mach_info::flt_fmt_native): Delete. | |
3329 * mach-info.cc (octave_mach_info::string_to_float_format): | |
3330 For "native", set actual native format. | |
3331 (octave_mach_info::float_format_as_string): Delete flt_fmt_native case. | |
3332 | |
5008 | 3333 2004-09-17 David Bateman <dbateman@free.fr> |
3334 | |
3335 * CmplxSCHUR.cc (CmplxSCHUR::init): New arg, calc_unitary to make the | |
3336 calculation of the unitary matrix optional. | |
3337 * dbleSCHUR.cc (SCHUR::init): Ditto. | |
3338 * CmplxSCHUR.h, dbleSCHUR.h: Update decls. | |
3339 | |
4998 | 3340 2004-09-15 David Bateman <dbateman@free.fr> |
3341 | |
3342 * oct-sort.h (octave_sort<T>::set_compare (bool (*comp) (T, T))): | |
3343 New function to set the comparison function for the sort. | |
3344 | |
4985 | 3345 2004-09-10 John W. Eaton <jwe@octave.org> |
3346 | |
3347 * lo-mappers.cc (xround): Fix typo. | |
3348 | |
4979 | 3349 2004-09-08 John W. Eaton <jwe@octave.org> |
3350 | |
3351 * Array.h (Array::~Array): Declare virtual. | |
3352 | |
3353 * idx-vector.h (idx_vector::idx_vector): Initialize rep in member | |
3354 initializaion list. Don't set rep->count since the rep | |
3355 constructor does that. | |
3356 | |
4968 | 3357 2004-09-07 John W. Eaton <jwe@octave.org> |
3358 | |
4970 | 3359 * data-conv.cc (oct_data_conv::string_to_data_type): Handle dt_logical. |
3360 (oct_data_conv::data_type_as_string): Likewise. | |
3361 | |
3362 * data-conv.h (oct_data_conv::data_type): Add dt_logical to list. | |
3363 | |
4968 | 3364 * Range.cc (round): Delete unused function. |
3365 | |
3366 * lo-mappers.cc (xround): Rename from round. Change all uses. | |
3367 If HAVE_ROUND, call round, otherwise fake with floor and ceil. | |
3368 | |
3369 * oct-inttypes.h: Include <cmath> here. | |
3370 | |
4964 | 3371 2004-09-03 David Bateman <dbateman@free.fr> |
3372 | |
3373 * boolNDArray.cc (boolNDArray::concat, boolNDArray::insert): | |
3374 New functions for boolean matrix concatenation. | |
3375 * boolNDArray.h: Provide decls. | |
3376 | |
4963 | 3377 2004-09-03 John W. Eaton <jwe@octave.org> |
3378 | |
4964 | 3379 * oct-inttpes.h (OCTAVE_INT_CMP_OP): Convert operarands to double |
3380 to avoid signed/unsigned int comparison problems. | |
3381 | |
3382 * mx-ops: Generate CMP and BOOL ops for mixed integer types and | |
3383 for mixed integer and double types. | |
3384 | |
3385 * mk-ops.awk: Output BIN_OP_DECLS, CMP_OP_DECLS, and BOOL_OP_DECLS | |
3386 separately, and only if needed. | |
3387 | |
4963 | 3388 * oct-inttypes.h (octave_fit_to_range): Use constructor instead of |
3389 static_cast for type conversion. | |
3390 | |
4953 | 3391 2004-09-01 John W. Eaton <jwe@octave.org> |
3392 | |
3393 * oct-inttypes.h (pow, operator +, operator -, operator *, | |
3394 operator /): Handle mixed integer/double ops. If op generates a | |
3395 NaN, set result to 0. | |
3396 (octave_int::operator - (void)): Convert to double, then negate, | |
3397 then fit to range. | |
3398 | |
3399 * mx-ops: Define integer types. Include declarations for mixed | |
3400 integer/double ops. | |
3401 | |
4952 | 3402 2004-08-31 John W. Eaton <jwe@octave.org> |
3403 | |
3404 * oct-inttypes.h (pow): Args now const reference. | |
3405 (octave_int<T>::operator *=, octave_int<T>::operator /=, | |
3406 octave_int<T>::operator <<=, octave_int<T>::operator >>=): | |
3407 New member functions. | |
3408 (OCTAVE_INT_BITSHIFT_OP): Delete macro. | |
3409 (operator >> (const octave_int<T1>& x, const T2& y)): | |
3410 Define in terms of >>=. | |
3411 (operator << (const octave_int<T1>& x, const T2& y)): | |
3412 Define in terms of <<=. | |
3413 (bitshift): Operate on octave_int<T> objects, not the values, so | |
3414 we get proper saturation properties. | |
3415 | |
3416 2004-08-31 David Bateman <dbateman@free.fr> | |
3417 | |
3418 * oct-inttypes.h (pow (constT, T)): New template. | |
3419 | |
3420 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, | |
3421 uint16NDArray.cc, uint32NDArray.cc: Instantiate power function. | |
3422 | |
4949 | 3423 2004-08-31 John W. Eaton <jwe@octave.org> |
3424 | |
3425 * oct-inttypes.h (octave_int::byte_size): New function. | |
3426 | |
4944 | 3427 2004-08-31 John W. Eaton <jwe@octave.org> |
3428 | |
4946 | 3429 * Makefile.in (EXTRAS): Add intNDArray.cc to the list. |
3430 | |
4944 | 3431 * data-conv.h (oct_data_conv::data_type): Include sized types. |
3432 Explicitly number enum elements. | |
3433 | |
3434 * data-conv.cc (oct_data_conv::string_to_data_type (const | |
3435 std::string&, int&, oct_data_conv::data_type&, | |
3436 oct_data_conv::data_type&)): New function. | |
3437 (oct_data_conv::string_to_data_type (const std::string&, int&, | |
3438 oct_data_conv::data_type&)): New function. | |
3439 (oct_data_conv::data_type_as_string): New function. | |
3440 | |
3441 * dMatrix.cc (read_int, do_read, Matrix::read): Delete. | |
3442 (write_int, do_write, Matrix::write): Delete. | |
3443 * dMatrix.h (Matrix::read, Matrix::write): Delete decls. | |
3444 | |
3445 * byte-swap.h: Use template functions and specialization. | |
3446 Change all uses. | |
3447 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
3448 | |
4943 | 3449 2004-08-30 John W. Eaton <jwe@octave.org> |
3450 | |
3451 * oct-inttypes.h (octave_int_fit_to_range): Use template | |
3452 specializations to avoid warnings about signed/unsigned comparisons. | |
3453 | |
3454 2004-08-28 John W. Eaton <jwe@octave.org> | |
3455 | |
3456 * data-conv.cc (do_float_format_conversion (unsigned char *, | |
3457 size_t, int, oct_mach_info::float_format)): New function. | |
3458 (GET_SIZED_INT_TYPE): New macro. | |
3459 (string_to_data_type): Use it to return sized types corresponding | |
3460 to Octave array data types. | |
3461 (strip_spaces): New function. | |
3462 (do_double_format_conversion, do_float_format_conversion): Pass | |
3463 from_fmt and to_fmt. Don't always assume the to_fmt is the native | |
3464 float format. | |
3465 (do_double_format_conversion, | |
3466 IEEE_big_double_to_IEEE_little_double, | |
3467 VAX_D_double_to_IEEE_little_double, | |
3468 VAX_G_double_to_IEEE_little_double, Cray_to_IEEE_little_double, | |
3469 IEEE_little_double_to_IEEE_big_double, | |
3470 VAX_D_double_to_IEEE_big_double, VAX_G_double_to_IEEE_big_double, | |
3471 Cray_to_IEEE_big_double, IEEE_little_double_to_VAX_D_double, | |
3472 IEEE_big_double_to_VAX_D_double, VAX_G_double_to_VAX_D_double, | |
3473 Cray_to_VAX_D_double, IEEE_little_double_to_VAX_G_double, | |
3474 IEEE_big_double_to_VAX_G_double, VAX_D_double_to_VAX_G_double, | |
3475 Cray_to_VAX_G_double): | |
3476 Pass data as void*, not double*. | |
3477 (do_float_format_conversion, IEEE_big_float_to_IEEE_little_float, | |
3478 VAX_D_float_to_IEEE_little_float, | |
3479 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, | |
3480 IEEE_little_float_to_IEEE_big_float, | |
3481 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, | |
3482 Cray_to_IEEE_big_float, IEEE_little_float_to_VAX_D_float, | |
3483 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, | |
3484 Cray_to_VAX_D_float, IEEE_little_float_to_VAX_G_float, | |
3485 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, | |
3486 Cray_to_VAX_G_float): | |
3487 Pass data as void*, not float*. | |
3488 | |
3489 2004-08-27 John W. Eaton <jwe@octave.org> | |
3490 | |
3491 * byte-swap.h (swap_bytes): New template versions, with | |
3492 specializations. | |
3493 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
3494 Change all uses. | |
3495 | |
4940 | 3496 2004-08-24 David Bateman <dbateman@free.fr> |
3497 | |
3498 * chNDArray.cc (concat): Check whether matrix to be inserted is | |
3499 empty instead of checking final matrix. | |
3500 * dNDArray.cc (concat): Likewise. | |
3501 * CNDArray.cc (concat): Likewise. | |
3502 | |
3503 2004-08-23 David Bateman <dbateman@free.fr> | |
3504 | |
3505 * dim-vector.h (dim_vector::concat): Correct incrementation for | |
3506 non-existent dimensions. | |
3507 | |
4938 | 3508 2004-08-09 John W. Eaton <jwe@octave.org> |
3509 | |
3510 * idx-vector.h (idx_vector::idx_vector_rep::tree_to_mat_idx | |
3511 (const octave_int<U>&)): New member function. | |
3512 (idx_vector::idx_vector_rep::tree_to_mat_idx (double, bool&), | |
3513 idx_vector::idx_vector_rep::tree_to_mat_idx (int)): | |
3514 Now member functions instead of static in idx-vector.cc. | |
3515 (idx_vector::idx_vector_rep::idx_vector_rep (const octave_int<U>&), | |
3516 idx_vector::idx_vector_rep::idx_vector_rep (const intNDArray<U>&)): | |
3517 New template constructors. | |
3518 | |
4932 | 3519 2004-08-05 John W. Eaton <jwe@octave.org> |
3520 | |
4933 | 3521 * EIG.cc (EIG::init): Add volatile qualifier to nvr decl. |
3522 | |
4932 | 3523 * intNDArray.cc (intNDArray<T>::operator !, intNDArray<T>::all, |
3524 intNDArray<T>::any): Sprinkle with this-> as needed. | |
3525 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): Likewise. | |
3526 | |
4929 | 3527 2004-08-03 John W. Eaton <jwe@octave.org> |
3528 | |
3529 * Array.cc (Array<T>::squeeze): Do nothing for 2-d arrays. For | |
3530 arrays with more than two dimensions and only one non-singleton | |
3531 dimension, return a column vector. | |
3532 | |
4921 | 3533 2004-07-28 John W. Eaton <jwe@octave.org> |
3534 | |
3535 * oct-cmplx.h (pow (const Complex&, const double&): | |
3536 Convert second arg to complex to avoid libstdc++ bug. | |
3537 | |
4920 | 3538 2004-07-27 John W. Eaton <jwe@octave.org> |
3539 | |
3540 * oct-inttypes.h (bitshift): New arg, MASK. | |
3541 (OCTAVE_INT_BITSHIFT_OP): Bitshift does not saturate. | |
3542 | |
4916 | 3543 2004-07-23 John W. Eaton <jwe@octave.org> |
3544 | |
3545 * Array.cc (Array<T>::reshape): Return *this if no change in size. | |
3546 | |
4915 | 3547 2004-07-23 David Bateman <dbateman@free.fr> |
3548 | |
3549 * Array.cc, Array.h (cat_ra): Delete. | |
3550 * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc | |
3551 (INSTANTIATE_ARRAY_CAT): Delete. | |
3552 | |
3553 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
3554 chNDArray.h, intNDArray.cc, intNDArray.h (cat): Delete. | |
3555 | |
3556 * Array.cc (Array<T>::insert): Copy data in NDArray version. | |
3557 | |
3558 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
3559 chNDArray.h (concat): New function used for concatenation that does | |
3560 an indexed copy of one array into another. | |
3561 | |
3562 * dim-vector.h (concat): New function to concatenate dim_vectors. | |
3563 | |
3564 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
3565 chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for | |
3566 insertion of one NDArray into another. | |
3567 | |
3568 * oct-inttype.cc (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): New | |
3569 macros to define the int/uint concatenation functions. | |
3570 | |
3571 * uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
3572 int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc | |
3573 (OCTAVE_INT_CONCAT_FN): Instantiate the concatenation function . | |
3574 | |
3575 * uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
3576 int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h | |
3577 (OCTAVE_INT_CONCAT_DECL): Declare the int/uint concatentaion | |
3578 functions. | |
3579 | |
4911 | 3580 2004-07-22 David Bateman <dbateman@free.fr> |
3581 | |
3582 * oct-sort.h: Don't include oct-obj.h. | |
3583 | |
3584 * lo-specfun.cc (is_integer_value): New function. | |
3585 (zbesj, zbesi, zbesy): Special case negative integer or half | |
3586 integer orders that cause overflow for small arguments. | |
3587 | |
4909 | 3588 2004-07-12 John W. Eaton <jwe@octave.org> |
3589 | |
3590 * oct-inttypes.h (octave_int<T>::nbits): New function. | |
3591 (bitshift (const octave_int<T>&, int)): New function. | |
3592 | |
4902 | 3593 2004-06-14 John W. Eaton <jwe@octave.org> |
3594 | |
3595 * mx-base.h: Include headers for new int types. | |
3596 | |
3597 * dNDArray.h, dNDArray.cc (NDArray::NDArray (const boolNDArray&), | |
3598 NDArray::NDArray (const charNDArray&)): Delete. | |
3599 (template <class U> explicit NDArray (const intNDArray<U>&)): New | |
3600 constructor. | |
3601 (NDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
3602 | |
3603 * chMatrix.h (CharMatrix::transpose): New forwarding functions for | |
3604 return type conversion. | |
3605 | |
3606 * ComplexNDArray.h, ComplexNDArray.cc | |
3607 (ComplexNDArray::ComplexNDArray (const ArrayN<Complex>&), | |
3608 (ComplexNDArray::ComplexNDArray (const NDArray&), | |
3609 (ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
3610 (ComplexNDArray::ComplexNDArray (const charNDArray&)): Delete. | |
3611 | |
3612 (ComplexNDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
3613 | |
3614 * MArrayN.h: | |
3615 (template <class U> explicit MArrayN<T>::MArrayN (const Array2<U>&), | |
3616 (template <class U> MArrayN<T>::MArrayN (const ArrayN<U>&), | |
3617 (template <class U> explicit MArrayN<T>::MArrayN (const MArray<U>&)): | |
3618 New constructors. | |
3619 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
3620 ArrayN<T>::squeeze): | |
3621 New forwarding functions for return type conversion. | |
3622 | |
3623 * ArrayN.h: | |
3624 (template <class U> explicit ArrayN<T>::ArrayN (const Array2<U>&), | |
3625 (template <class U> explicit ArrayN<T>::ArrayN (const ArrayN<U>&), | |
3626 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&), | |
3627 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&, | |
3628 const dim_vector&)): New constructors. | |
3629 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
3630 ArrayN<T>::transpose): | |
3631 New forwarding functions for return type conversion. | |
3632 | |
3633 * Array.h (template <class U> Array<T>::Array (const Array<U>&)): | |
3634 New constructor. | |
3635 (Array<T>::coerce, Array<T>::byte_size): New functions. | |
3636 | |
3637 * Array-i.cc, MArray-i.cc: Instantiate new integer types. | |
3638 | |
3639 * oct-inttypes.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
3640 int8NDArray.h , intNDArray.h, uint16NDArray.h, uint32NDArray.h, | |
3641 uint64NDArray.h, uint8NDArray.h, int16NDArray.cc, int32NDArray.cc, | |
3642 int64NDArray.cc, int8NDArray.cc, intNDArray.cc, uint16NDArray.cc, | |
3643 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: New files. | |
3644 * Makefile.in: Add them to the appropriate lists. | |
3645 | |
4899 | 3646 2004-06-04 John W. Eaton <jwe@octave.org> |
3647 | |
3648 * mx-inlines.cc (MX_ND_REDUCTION): New arg, RET_ELT_TYPE. Use | |
3649 "RET_ELT_TYPE ()" rather than "false" as fill value for retval | |
3650 resize op. Change all uses. | |
3651 | |
4898 | 3652 2004-06-03 David Bateman <dbateman@free.fr> |
3653 | |
3654 * Array.cc (assignN): Allow magic colon for dimensions lvalue | |
3655 greater than the existing number of dimensions in lvalue. | |
3656 | |
4887 | 3657 2004-04-30 David Bateman <dbateman@free.fr> |
3658 | |
3659 * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): | |
3660 New arg, fill_value. | |
3661 (dim_vector::resize): Allow optional fill_value argument. | |
3662 | |
3663 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
3664 Don't chop trailing dimensions of Array<idx_vector> if there is | |
3665 more than one element in idx_vector. Resize the return value to | |
3666 the size of Array<idx_vector>. | |
3667 | |
3668 * Array-util.cc (short_freeze): Better freeze of last dimension of | |
3669 idx_vector that is shorter than a dim_vector. | |
3670 | |
4882 | 3671 2004-04-23 John W. Eaton <jwe@octave.org> |
3672 | |
3673 * oct-sort.cc: Don't include oct-obj.h. | |
3674 | |
4876 | 3675 2004-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
3676 | |
3677 * Array.cc (Array<T>::index2, Array<T>::indexN): | |
3678 Don't set invalid dimensions on return value. | |
3679 | |
4871 | 3680 2004-04-21 John W. Eaton <jwe@octave.org> |
3681 | |
3682 * mx-inlines.cc (MX_ND_REDUCTION): Chop trailing singletons. | |
3683 | |
4850 | 3684 2004-04-06 David Bateman <dbateman@free.fr> |
3685 | |
4870 | 3686 * Array.cc (Array<T>::resize_no_fill (const dim_vector& dv), |
3687 Array<T>::resize_and_fill (const dim_vector& dv, const T& val)): | |
3688 Make their behavior equivalent except for filling vs. not filling. | |
3689 | |
4850 | 3690 * oct-sort.cc: New template class for arbitrary sorting. |
3691 * oct-sort.h: Declaration of sort class. | |
3692 * Makefile: Add them to the appropriate lists. | |
3693 | |
4845 | 3694 2004-04-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
3695 | |
3696 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Fix off-by-one error. | |
3697 | |
4844 | 3698 2004-04-02 David Bateman <dbateman@free.fr> |
3699 | |
3700 * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, | |
3701 besselh2, airy, biry, betainc, gammainc, do_bessel): | |
4852 | 3702 New N-d array versions. |
4844 | 3703 (SN_BESSEL, NS_BESSEL, NN_BESSEL): New macros. |
3704 * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, | |
3705 besselh2, airy, biry, betainc, gammainc): Provide decls. | |
3706 | |
3707 * dNDArray.cc (NDArray::min, NDArray::max, min, max): | |
3708 New functions. | |
3709 * dNDArray.h (NDArray::min, NDArray::max, min, max): Provide decls. | |
3710 | |
3711 * CNDArray.cc (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
3712 New functions. | |
3713 * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
3714 Provide decls. | |
3715 | |
4842 | 3716 2004-03-17 David Hoover <jazzdaq@yahoo.com> |
3717 | |
3718 * DASPK.cc (DASPK::do_integrate): Always add n*n elements to the | |
3719 work vector, not just when using a numerical Jacobian. | |
3720 | |
4834 | 3721 2004-03-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
3722 | |
4835 | 3723 * so-array.cc (SND_CMP_OP, NDS_CMP_OP, NDND_CMP_OP): |
3724 Omit empty result args. | |
3725 | |
4834 | 3726 * Array.cc (Array<T>::Array (const Array<T>&, const dim_vector&)): |
3727 Move here from Array.h, check that size of array arg is not | |
3728 smaller than the size defined by the new dimensions. | |
3729 | |
4832 | 3730 2004-03-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
3731 | |
3732 * Array.cc (Array<T>::index2): Allow result to be N-d if indexing | |
3733 a scalar or vector with an N-d array. | |
3734 | |
4826 | 3735 2004-03-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
3736 | |
4828 | 3737 * Array.cc (Array<T>::index2): If scalar or vector is indexed by |
3738 matrix, return object that is the same size as the index. | |
3739 | |
4826 | 3740 * mx-op-defs.h (NDND_CMP_OP, MM_CMP_OP): Require dimensions to agree. |
3741 Eliminate MT_RESULT args. Return value is always size of args. | |
3742 (MS_CMP_OP, SM_CMP_OP, NDS_CMP_OP, SND_CMP_OP): | |
3743 Eliminate EMPTY_RESULT arg. | |
3744 Return value is always size of matrix or N-d array arg. | |
3745 (TBM, FBM, NBM): Delete unused macros. | |
3746 | |
4821 | 3747 2004-03-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
3748 | |
3749 * Array.cc (Array<T>::maybe_delete_elements): Return immediately | |
3750 if all LHS dimensions are zero. For one index case, freeze and | |
3751 sort idx_vec before checking length, and do nothing if | |
3752 num_to_delete is zero. | |
4822 | 3753 (Array<T>::maybe_delete_elements_2): Omit Fortran-indexing warning. |
4821 | 3754 |
4816 | 3755 2004-03-04 David Bateman <dbateman@free.fr> |
3756 | |
3757 * dNDArray.cc (NDArray::ifourier): Arg is int, not const int. | |
3758 * CNDArray.cc (ComplexNDArray::ifourier): Likewise. | |
3759 | |
4811 | 3760 2004-03-03 Hans Ekkehard Plesser <hans.ekkehard.plesser@nlh.no> |
3761 | |
3762 * base-lu.cc (base_lu<>::L): Check bounds before setting diagonal | |
3763 element. | |
3764 | |
3765 2004-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> | |
3766 | |
3767 * Range.h (Range::Range): Add cache to member initialization list. | |
3768 (Range::clear_cache): New private function. | |
3769 | |
3770 * Range.h (Range::set_base, Range::set_limit, Range::set_inc): | |
3771 Use clear cache. Don't do anything if range does not change. | |
3772 * Range.cc (Range::sort): Likewise. | |
3773 | |
4810 | 3774 2004-03-02 Paul Kienzle <pkienzle@users.sf.net> |
3775 | |
3776 * Range.cc (Range::matrix_value): Cache result. | |
3777 (Range::sort): Clear cache. | |
3778 * Range.h (Range::cache): New data member. | |
3779 (Range::set_base, Range::set_limit, Range::set_inc): Clear cache. | |
3780 (Range::print_range): Delete. | |
4808 | 3781 |
3782 2004-03-02 David Bateman <dbateman@free.fr> | |
3783 | |
3784 * oct-fftw.cc: Only two versions of plan, and avoid endless | |
3785 changes between them. Faster for small fft's. | |
3786 (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): | |
3787 New member variables. | |
3788 (octave_fftw_planner::ialign, octave_fftw_planner::oalign, | |
3789 octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. | |
3790 Change all uses. | |
3791 (CHECK_SIMD_ALIGNMENT): New macro. | |
3792 (octave_fftw_planner::create_plan): Use it. | |
3793 | |
4806 | 3794 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> |
3795 | |
3796 * Array.cc (Array<T>::insertN): Eliminate N-d indexing. | |
3797 | |
3798 * mx-inlines.cc (MX_ND_CAT): Delete macro. | |
3799 | |
3800 * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. | |
3801 * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. | |
3802 * chNDArray.cc (charNDArray<T>::cat): Ditto. | |
3803 * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. | |
3804 | |
3805 * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. | |
3806 * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. | |
3807 | |
4800 | 3808 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
3809 | |
4802 | 3810 * oct-rl-edit.c (octave_rl_set_startup_hook, |
3811 octave_rl_get_startup_hook, octave_rl_set_event_hook, | |
3812 octave_rl_get_event_hook): Omit casts. | |
3813 * oct-rl-edit.h (rl_startup_hook_fcn_ptr, rl_event_hook_fcn_ptr): | |
3814 Return value for function pointer typedef is now int. | |
3815 * cmd-edit.h (command_editor::startup_hook_fcn, | |
3816 command_editor::event_hook_fcn): Likewise. | |
3817 * cmd-hist.cc, cmd-hist.h (command_history::goto_mark, | |
3818 command_history::do_goto_mark, gnu_history::do_goto_mark): | |
3819 Return type is now int. Return 0. | |
3820 | |
4800 | 3821 * EIG.cc (EIG::init, EIG::symmetric_init): |
3822 Query Lapack for workspace size. | |
3823 | |
4796 | 3824 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
3825 | |
3826 * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): | |
3827 Fix thinko in extending dimensions. | |
3828 | |
4791 | 3829 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
3830 | |
3831 * Range.cc (Range::matrix_value, Range::min, Range::max): | |
3832 Don't compute values beyond the limits of the range. | |
3833 (operator << (std::ostream&, const Range&)): Likewise. | |
3834 | |
4786 | 3835 2004-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
3836 | |
4788 | 3837 * oct-fftw.cc (octave_fftw_planner::create_plan): |
3838 Cast IN and OUT args to ptrdiff_t instead of long before masking. | |
3839 From Paul Kienzle <pkienzle@users.sf.net>. | |
3840 | |
4786 | 3841 * Array.cc (Array<T>::insertN (const Array<T>&, int, int)): |
3842 Rename from Array<T>::insert. | |
3843 (Array<T>::insert2 (const Array<T>&, int, int)): | |
3844 Reinstate old Array<T>::insert function under this name. | |
3845 (Array<T>::insert (const Array<T>&, int, int)): | |
3846 New function. Dispatch to insert2 or insertN as appropriate. | |
3847 | |
4785 | 3848 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
3849 | |
3850 * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): | |
3851 Sprinkle with OCTAVE_QUIT. | |
3852 | |
5095 | 3853 2004-02-16 David Bateman <dbateman@free.fr> |
4773 | 3854 |
3855 * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): | |
3856 Add support for FFTW 3.x. Include the ability to | |
3857 use the real to complex transform for fft's of real matrices | |
3858 (octave_fftw_planner::create_plan2d): Delete. | |
3859 (octave_fftw::fft2d): Delete. | |
3860 (convert_packcomplex_1d, convert_packcomplex_Nd): | |
3861 New static functions. | |
3862 * oct-fftw.h: Update decls. | |
3863 | |
3864 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
3865 Matrix::fourier2d, Matrix::ifourier2d): FFT's use real to complex | |
3866 transforms. 1D FFT of a matrix done as single call rather than | |
3867 loop. Update for FFTW 3.x | |
3868 * CMatrix.cc (ComplexMatrix::fourier, ComplexMatrix::ifourier, | |
3869 ComplexMatrix::fourier2d, ComplexMatrix::ifourier2d): 1D fft of a | |
3870 matrix done as single call rather than loop. Update for FFTW 3.x. | |
3871 | |
3872 * dNDArray.cc (NDArray::fourier, NDArray::ifourier, | |
3873 NDArray::fourierNd, NDArray::ifouriourNd): New fourier transform | |
3874 functions for Nd arrays. | |
3875 * dNArray.h Provide decls. | |
3876 * CNDArray.cc (ComplexNDArray::fourier, ComplexNDArray::ifourier, | |
3877 ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New | |
3878 fourier transform functions for complex Nd arrays. | |
3879 * CNArray.h: Provide decls. | |
3880 | |
4765 | 3881 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> |
3882 | |
3883 * Array.cc (Array<T>::insert (const Array<T>&, int, int)): | |
3884 Make it work for N-d arrays. | |
3885 | |
3886 * ArrayN.h (ArrayN<T>::insert (const ArrayN<T>& a, int, int)): | |
3887 New function. | |
3888 | |
3889 * CNDArray.cc (ComplexNDArray::insert (const NDArray&, int, int), | |
3890 ComplexNDArray::insert (const ComplexNDArray&, int, int)): | |
3891 New functions. | |
3892 * CNDArray.h: Provide decls. | |
3893 | |
4759 | 3894 2004-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
3895 | |
4760 | 3896 * Makefile.in (LINK_DEPS): Always define. |
3897 | |
4759 | 3898 * Array.cc (Array<T>::squeeze): Always return an array with at |
3899 least two dimensions. | |
3900 | |
4758 | 3901 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
3902 | |
3903 * mx-inlines.cc (MX_ND_CAT): New macro. | |
3904 * dNDArray.cc (NDArray::cat): New function. | |
3905 * dNDArray.h: Provide decls. | |
3906 * CNDArray.cc (complexNDArray::cat): New function. | |
3907 * CNDArray.h: Provide decls. | |
3908 * chNDArray.cc (charNDArray::cat): New function. | |
3909 * chNDArray.h: Provide decls. | |
3910 | |
4756 | 3911 2004-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
3912 | |
3913 * Array.cc (maybe_delete_elements_2): Allow X(n) = [] for 2-d X. | |
3914 (Array<T>assign2): Also call maybe_delete_elements for single | |
3915 index when rows and columns or LHS are both greater than 1. | |
3916 | |
4755 | 3917 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
3918 | |
3919 * Array.cc (Array<T>::maybe_delete_elements): | |
3920 Check for index out of bounds. Handle one index. | |
3921 | |
3922 * Array.cc (Array<T>::indexN): Use dim_vector (0, 0) instead of | |
3923 dim_vector (0) to create empty return vector. | |
3924 | |
4749 | 3925 2004-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
3926 | |
3927 * Array.cc (Array<T>::assignN): Don't crash if trying to resize a | |
3928 non-empty LHS when the number of lhs dimensions is less than the | |
3929 number of indices. Detect error if attempting to resize non-empty | |
3930 LHS with colon indices. | |
3931 | |
4745 | 3932 2004-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
3933 | |
4747 | 3934 * Array.cc (Array<T>::resize_and_fill): Don't bother to assign any |
3935 values unless the length of the new array is greater than 0. | |
3936 (Array<T>::resize_no_fill): Likewise. | |
3937 | |
3938 * Array-util.cc (index_in_bounds): Also return false if ra_idx(i) | |
3939 is equal to dimensions(i). | |
3940 | |
3941 * Array-util.h, Array-util.cc (equal_arrays, any_zero_len, | |
3942 get_zero_len_size, number_of_elements): | |
3943 Delete unused functions. | |
3944 | |
3945 * Array-util.cc (get_ra_idx): Use dim_vector::numel instead of | |
3946 number_of_elements function. | |
3947 * Array.cc (Array<T>::indexN): Likewise. | |
3948 | |
3949 * Array.cc (Array<T>::indexN): Use dim_vector::operator == instead | |
3950 of equal_arrays function. | |
3951 (Array<T>::index, Array<T>::indexN, Array<T>::assignN) Use | |
3952 dim_vector::any_zero instead of any_zero_len function. | |
3953 | |
3954 * Array.cc (Array<T>::assignN): Eliminate special case for empty index. | |
3955 Don't skip reshaping and resizing if RHS is empty. | |
3956 | |
4746 | 3957 * Array.cc (Array<T>::assignN): Simplify loop for array assignment. |
3958 Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. | |
4747 | 3959 Delete unused variables is_colon and is_colon_equiv. |
4746 | 3960 Correctly resize for expressions like x(:,:,2) = ones(3,3) when |
3961 LHS is not yet defined. | |
4745 | 3962 Error for resizing if number of indices is less than number of LHS |
3963 dimensions. | |
3964 | |
4746 | 3965 * Array.cc (Array<T>::maybe_delete_elements): Maybe warn about |
3966 Fortran-style indexing. | |
3967 | |
4743 | 3968 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
3969 | |
3970 * Array.cc (Array<T>::assignN): Simplify. | |
3971 Allow assignments to succeed if number if indices is less than the | |
3972 number of RHS dimensions. | |
3973 | |
4738 | 3974 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
3975 | |
4741 | 3976 * Array.cc (Array<T>::maybe_delete_elements): Reshape LHS |
3977 when number of indices is less than number of dimensions. | |
3978 | |
3979 * Array.cc (Array<T>::assignN, Array<T>::maybe_delete_elements): | |
3980 Remove unsued variable lhs_inc. | |
3981 | |
4740 | 3982 * Array.cc (Array<T>::maybe_delete_elements): Declare idx_is_colon |
3983 and idx_is_colon_equiv Array<int> instead of dim_vector. | |
3984 | |
3985 * Array.cc (Array<T>::assignN): Compute new dims in a cleaner way. | |
3986 | |
4738 | 3987 * Array.cc (Array<T>::index): Check for frozen_lengths.length () |
3988 == n_dims before checking to see if all indices are colon_equiv. | |
3989 | |
4736 | 3990 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
3991 | |
3992 * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for | |
3993 deleting elements. | |
4737 | 3994 (Array<T>::index): Remove trailing singletons in ra_idx, but leave |
3995 at least ndims elements. | |
4736 | 3996 |
4735 | 3997 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
3998 | |
3999 * Array.cc (Array<T>::assignN): Accept assignment of a vector | |
4000 oriented differently from the index. | |
4001 | |
4002 * dim-vector.h (dim_vector::squeeze): Return value always has at | |
4003 least two dimensions. | |
4004 | |
4733 | 4005 2004-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
4006 | |
4735 | 4007 * dim-vector.h (dim_vector::squeeze): New function. |
4008 (Array<T>::assignN): Use it instead of chop_trailing_singltons for | |
4009 deciding whether the assignment conforms. | |
4010 | |
4733 | 4011 * Array.cc (Array<T>::assignN): Simplify dimension check by |
4012 comparing rhs_dims and frozen_len sans trailing singletons. | |
4013 | |
4732 | 4014 2004-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
4015 | |
4016 * idx-vector.cc (tree_to_mat_idx): New arg, conversion_error. | |
4017 Call error handler and return conversion_error == true if arg is | |
4018 not integer. | |
4019 (IDX_VEC_REP::idx_vector_rep): Exit early if conversion_error. | |
4020 | |
4730 | 4021 2004-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
4022 | |
4023 * boolNDArray.h (boolNDArray::boolNDArray): Declare dim_vector | |
4024 reference arg const. | |
4025 | |
4026 2004-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4027 | |
4028 * Array-flags.cc: Include Array-flags.h, not Array.h. Doh. | |
4029 | |
4729 | 4030 2004-01-30 Jakub Bogusz <qboosh@pld-linux.org> |
4031 | |
4032 * Array-flags.h (liboctave_wfi_flag, liboctave_wrore_flag): | |
4033 Now bool, to match definition in Array-flags.cc. | |
4034 | |
4725 | 4035 2004-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4036 | |
4726 | 4037 * file-ops.cc: Include <vector> instead of <memory> for new |
4038 definition of OCTAVE_LOCAL_BUFFER. | |
4039 | |
4725 | 4040 * EIG.cc, EIG.h (EIG::init, EIG::symmetric_init, EIG::hermitian_init): |
4041 New arg, calc_eigenvectors. | |
4042 * EIG.h (EIG:EIG): New optional arg, calc_eigenvectors. | |
4043 Based on patch from David Bateman <dbateman@free.fr>. | |
4044 | |
4716 | 4045 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
4046 | |
4047 * Array.cc (Array<T>::assign2, Array<T>::assignN): | |
4048 For X(I) = RHS, don't restrict I to fewer elements than X. | |
4049 | |
4050 * Array.cc (Array<T>::assign2): Simplify indexing for X(I) = RHS case. | |
4051 | |
4711 | 4052 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
4053 | |
4714 | 4054 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): |
4055 Simplify calculation of number of elements in retval. | |
4056 | |
4711 | 4057 * Array.cc (Array<T>::assignN): Eliminate unnecessray code for |
4058 filling when RHS is scalar and dimension lengths agree. | |
4059 | |
4710 | 4060 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
4061 | |
4713 | 4062 * Makefile.in (distclean): Remove mx-ops.h, $(MX_OP_INC), |
4063 $(VX_OP_INC), $(MX_OP_SRC), $(VX_OP_SRC), and $(OPTS_INC). | |
4710 | 4064 |
4707 | 4065 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
4066 | |
4709 | 4067 * Array.cc (Array<T>::resize_and_fill): Correctly copy old elements. |
4068 (Array<T>::assign2): Check for RHS dimensions larger than 2. | |
4707 | 4069 |
4702 | 4070 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> |
4071 | |
4703 | 4072 * Array.h (Array<T>::chop_trailing_singletons): New function. |
4073 * Array.cc (Array<T>::assignN): Use it on LHS. | |
4074 | |
4075 * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. | |
4702 | 4076 Retrieve scalar element by passin 0 instead of an index array. |
4703 | 4077 Check for singleton dimensions where RHS is matrix or higher dimension. |
4078 Make sure index is in bounds. | |
4702 | 4079 |
4698 | 4080 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
4081 | |
4082 * lo-ieee.cc (octave_ieee_init): Ensure that octave_Inf, | |
4083 octave_NaN, and octav_NA values are always initialized. Check | |
4084 floating point format, not HAVE_ISINF, HAVE_FINITE, or HAVE_ISNAN | |
4085 to decide whether to do IEEE initialization. | |
4086 | |
4687 | 4087 2004-01-06 David Bateman <dbateman@free.fr> |
4088 | |
4089 * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, | |
4090 ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, | |
4091 ComplexNDArray::too_large_for_float): New functions | |
4092 | |
4093 * CNDArray.cc (operator <<, operator >>): New IO operators. | |
4094 * CNDArray.h: Provide decls. | |
4095 * dNDArray.cc (operator <<, operator >>): New IO operators. | |
4096 * dNDArray.h: Provide decls. | |
4097 | |
4673 | 4098 2003-12-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4099 | |
4674 | 4100 * mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since |
4101 they are already defined in boolNDArray.cc. | |
4102 | |
4673 | 4103 * Array-util.cc (get_zero_len_size): Delete. |
4104 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
4105 Handle zero-length result dimensions the same as empty original | |
4106 indices. | |
4107 | |
4108 2003-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4109 | |
4110 * dim-vector.h (dim_vector::chop_trailing_singleton_dims, | |
4111 dim_vector::dim_vector_rep::chop_trailing_singleton_dims): | |
4112 New functions. | |
4113 * Array.cc (ArrayN<T>::indexN): Use it. | |
4114 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): Likewise. | |
4115 | |
4669 | 4116 2003-11-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
4117 | |
4118 * boolNDArray.cc: Define BOOL ops. Define mixed CMP ops. | |
4119 * boolNDArray.h: Declare BOOL ops. Declare mixed CMP ops. | |
4120 | |
4121 2003-11-25 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4122 | |
4123 * mk-ops.awk: Also emit #include "Array-util.h". | |
4124 | |
4125 * mx-ops: Add bool, boolMatrix, and boolNDarray types. | |
4126 Add bnda x bnda, b x bnda, and bnda x b ops. | |
4127 | |
4128 * MArray-misc.cc: Delete. | |
4129 * Makefile.in (MATRIX_SRC): Remove it from the list. | |
4130 | |
4131 * Array-util.h, Array-util.cc (gripe_nonconformant): Move here from | |
4132 MArray.h, MArray2.h, MArrayN.h, and MArray-misc.cc. | |
4133 | |
4655 | 4134 2003-11-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4135 | |
4663 | 4136 * dbleQR.cc (QR::init): Use separate pwork pointers. |
4137 * CmplxQR.cc (ComplexQR::init): Likewise. | |
4138 | |
4139 * oct-group.cc (octave_group::getgrnam): Pass correct args to | |
4140 two-arg getgrnam version. | |
4141 | |
4657 | 4142 * Array.cc (assignN): Allow single indexing to work. |
4661 | 4143 (Array<T>::range_error (const char*, const Array<int>&)): |
4144 Report index values. | |
4145 | |
4146 * Array.cc (Array<T>::index): Delete unused arg names. | |
4662 | 4147 * ODESSA.cc (odessa_j): Likewise. |
4148 * DASRT.cc (ddasrt_f, ddasrt_g): Likewise. | |
4149 * DASPK.cc (ddaspk_psol): Likewise. | |
4150 * lo-mappers.cc (imag): Likewise. | |
4663 | 4151 * Array-util.cc (get_zero_len_size): Likewise. |
4152 * kpse.cc (path_search, path_find_first_of): Likewise. | |
4153 * cmd-edit.cc (do_generate_filename_completions): Likewise. | |
4656 | 4154 |
4655 | 4155 * dim-vector.h (dim_vector::all_ones): New function. |
4156 | |
4646 | 4157 2003-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4158 | |
4653 | 4159 * idx-vector.h (idx_vector::orig_empty): Check orig_dims for |
4160 zeros, not orig_rows or orig_columns. | |
4161 (idx_vector::idx_vector_rep::orig_rows): Define using orig_dims. | |
4162 (idx_vector::idx_vector_rep::orig_columns): Likewise. | |
4163 | |
4164 * idx-vector.cc (idx_vector::idx_vector_rep::orig_nr, | |
4165 (idx_vector::idx_vector_rep::orig_nc): Delete. | |
4166 | |
4167 * idx-vector.cc (idx_vector::idx_vector_rep): | |
4168 Use initialization lists for constructors. | |
4169 | |
4651 | 4170 * Array.cc (Array<T>::indexN): Correctly handle single colon index. |
4171 Omit special case for ra_idx.capacity () == 1. | |
4172 Always allow single index for matrix args with optional warning. | |
4173 | |
4650 | 4174 * idx-vector.h, idx-vector.cc: Convert boolMatrix functions to use |
4175 boolNDArray. Likewise, convert Matrix functions to use NDArray. | |
4176 | |
4648 | 4177 * Array-so.cc: New file. Move instantiations here from so-array.h. |
4178 * Makefile.in (TI_SRC): Add it to the list. | |
4179 | |
4646 | 4180 * MArray-defs.h (DO_VS_OP2, DO_VV_OP2): Accept args for element |
4181 type and the names of the left and right operands. Change all uses. | |
4182 | |
4183 * so-array.cc, so-array.h: New files. Move streamoff_array here | |
4184 from src/ov-streamoff.h and src/ov-streamoff.cc. | |
4185 | |
4645 | 4186 2003-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
4187 | |
4188 * MArrayN.cc (operator -=, operator +=): Check dimensions, not | |
4189 just length. | |
4190 | |
4191 * Array2.h, Array3.h, DiagArray2.h, DiagArray2.cc, MDiagArray2.h, | |
4192 ArrayN.h: Add this-> or Base:: qualifiers for references to | |
4193 non-dependent member functions and data as needed. | |
4194 | |
4195 * DiagArray2.h, DiagArray2.cc: Delete unused code. | |
4196 | |
4197 * Array2.h (Array2<T>::operator =): Don't copy dimensions here. | |
4198 * Array3.h (Array3<T>::operator =): Likewise. | |
4199 * DiagArray2.h (DiagArray2<T>::operator =): Likewise. | |
4200 Include Array.h, not Array2.h. | |
4201 | |
4634 | 4202 2003-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
4203 | |
4636 | 4204 * str-vec.cc (list_in_columns): Fix previous change. |
4205 | |
4635 | 4206 * dim-vector.h (dim_vector::num_ones): New function. |
4207 * Array.cc (maybe_delete_elements): Use it instead of | |
4208 num_ones (const Array<int>&). | |
4209 | |
4210 * Array.cc (assignN): Omit dubious check of singleton dimensions. | |
4211 | |
4634 | 4212 * dNDArray.cc (NDArray::all_elements_are_int_or_inf_or_nan, |
4213 NDArray::any_element_is_inf_or_nan, NDArray::too_large_for_float): | |
4214 New functions. | |
4215 * dNDArray.h: Provide decls. | |
4216 | |
4217 * dMatrix.h (Matrix::any_element_is_negative, | |
4218 Matrix::any_element_is_inf_or_nan, Matrix::too_large_for_float, | |
4219 Matrix::all_elements_are_int_or_inf_or_nan, Matrix::all_integers): | |
4220 Simplify. | |
4221 | |
4222 * dNDArray.cc (NDArray::abs): Make it work for N-d arrays. | |
4223 * CNDArray.cc (ComplexNDArray::abs): Likewise. | |
4224 | |
4225 * dNDArray.cc (real, imag): New functions. | |
4226 * dNDArray.h: Provide decls. | |
4227 | |
4630 | 4228 2003-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4229 | |
4230 * Makefile.in (TEMPLATE_SRC): Move MArrayN.cc here from MATRIX_SRC. | |
4231 | |
4625 | 4232 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
4233 | |
4234 * Array.h (Array<T>::resize (int, const T&)): Reinstate. | |
4235 * MArray.h (resize): Delete. | |
4236 * MArray2.h (resize): Delete. | |
4237 * DASRT.cc (DASRT::integrate): Use resize, not resize_and_fill. | |
4238 * ODESSA (ODESSA::integrate): Likewise. | |
4239 | |
4616 | 4240 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4241 | |
4242 * Makefile.in (dist): Depend on stamp-prereq. | |
4243 | |
4605 | 4244 2003-11-12 John Eaton <jwe@bevo.che.wisc.edu> |
4245 | |
4246 * mach-info.c (oct_mach_info::init_float_format) [CRAY]: | |
4247 Kluge to make it work. | |
4604 | 4248 |
4249 * lo-ieee.cc (octave_ieee_init): Set octave_Inf, octave_NaN, and | |
4250 octave_NA to DBL_MAX if native float format is vaxd, vaxg, or cray. | |
4251 | |
4252 * cmd-edit.cc (gnu_readline::do_generate_filename_completions, | |
4253 default_command_editor::do_generate_filename_completions, | |
4254 command_editor::generate_filename_completions): New functions. | |
4255 * cmd-edit.h: Provide decls. | |
4256 * oct-rl-edit.c (octave_rl_filename_completion_function): New | |
4257 function. | |
4258 * oct-rl-edit.h: Provide decl. | |
4259 | |
4593 | 4260 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4261 | |
4594 | 4262 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY_AND_ASSIGN, |
4263 INSTANTIATE_ARRAY): New macros. | |
4264 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
4265 Array-idx-vec.cc, Array-s.cc, Array-str.cc, ODESSA.cc: Use them. | |
4266 | |
4593 | 4267 * Array.h (Array<T>::ipermute): New function. |
4268 | |
4269 2003-11-11 Petter Risholm <risholm@stud.ntnu.no> | |
4270 | |
4271 * Array.cc (Array<T>::permute): New function. | |
4272 * Array.h: Provide decl. | |
4273 | |
4274 * Array-util.cc (calc_permutated_idx): New function. | |
4275 * Array-util.h: Provide decl. | |
4276 | |
4587 | 4277 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4278 | |
4592 | 4279 * Array.cc (Array<T>::index2): Return value has orientation of |
4280 indexed value if indexing a vector with a bool matrix. | |
4281 | |
4589 | 4282 * ArrayN.h (ArrayN<T>::get_size): Delete. |
4283 | |
4588 | 4284 * Array.cc, ArrayN.cc, dNDArray.cc, CNDArray.cc, boolNDArray.cc, |
4285 chNDArray.cc: Include Array-util.h instead of ArrayN-inline.h. | |
4286 | |
4287 * ArrayN-inline.h: Delete. | |
4288 * Array-util.h, Array-util.cc: New files, from ArrayN-inline.h. | |
4289 * Makefile.in: Fix the appropriate lists. | |
4290 | |
4587 | 4291 * Array.cc, Array.h, ArrayN.h, CMatrix.cc, CNDArray.h, |
4292 CRowVector.cc, CmplxQR.cc, CollocWt.h, DASPK.h, DASRT.h, DASSL.h, | |
4293 FEGrid.cc, LP.h, LSODE.h, MArrayN.h, ODE.h, ODES.h, ODESSA.cc, | |
4294 boolNDArray.h, chNDArray.h, dMatrix.cc, dNDArray.h, dRowVector.cc, | |
4295 dbleQR.cc, kpse.cc, oct-rl-hist.c, str-vec.cc, str-vec.h: | |
4296 Avoid -Wshadow warnings. | |
4297 | |
4298 2003-11-08 John Eaton <jwe@bevo.che.wisc.edu> | |
4585 | 4299 |
4300 * Array.h (Array<T>::nil_rep): Qualify return type with typename. | |
4301 | |
4302 * mk-ops.awk: Delete elements of bool_headers array individually. | |
4303 | |
4304 2003-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4305 | |
4306 * Array.cc (maybe_delete_elements): Rename arg idx to ra_idx. | |
4307 | |
4584 | 4308 2003-10-31 Petter Risholm <risholm@stud.ntnu.no> |
4309 | |
4310 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): New macro. | |
4311 | |
4312 * CNDArray.cc, CNDArray.h (ComplexNDArray::cumsum, | |
4313 ComplexNDArray::cumprod): Return ComplexNDArray. Handle N-d arrays. | |
4314 * dNDArray.cc, dNDArray.h (NDArray::cumsum, NDArray::cumprod): | |
4315 Return NDArray. Handle N-d arrays. | |
4316 | |
4575 | 4317 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
4318 | |
4583 | 4319 * LSODE.cc (LSODE::do_integrate): Avoid name conflict on systems |
4320 that upcase Fortran names by calling dlsode instead of lsode. | |
4321 | |
4322 * ODESSA.cc (ODESSA::do_integrate): Avoid name conflict on systems | |
4323 that upcase Fortran names by calling dodessa instead of odessa. | |
4324 | |
4577 | 4325 * file-ops.cc (file_ops::symlink): Cope with systems that expect |
4326 non-const args for symlink system call. | |
4327 (file_ops::readlink): Likewise, for readlink. | |
4328 | |
4575 | 4329 * DASRT.cc (DASRT::integrate): Fix typo in Fortran function name. |
4330 | |
4574 | 4331 2003-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4332 | |
4333 * mach-info.h (oct_mach_info): Prefix enum elements with flt_fmt_. | |
4334 Change all uses. | |
4335 | |
4569 | 4336 2003-10-29 Petter Risholm <risholm@stud.ntnu.no> |
4337 | |
4338 * dNDArray.cc (NDArray::cumprod, NDArray::cumsum, NDArray::prod, | |
4339 NDArray::sum, NDArray::sumsq, NDArray::abs): New functions. | |
4340 * dNDArray.h: Provide decls. | |
4341 * CNDArray.cc (ComplexNDArray::cumprod, ComplexNDArray::cumsum, | |
4342 ComplexNDArray::prod, ComplexNDArray::sum, ComplexNDArray::sumsq, | |
4343 ComplexNDArray::abs): New functions. | |
4344 * CNDArray.h: Provide decls. | |
4345 | |
4346 * mx-inlines.cc (MX_ND_REDUCTION): Rename from MX_ND_ANY_ALL. | |
4347 Generalize to handle other reduction operations. | |
4348 (MX_ND_REAL_OP_REDUCTION, MX_ND_COMPLEX_OP_REDUCTION, | |
4349 MX_ND_ALL_ANY_REDUCTION): New macros. | |
4350 | |
4565 | 4351 2003-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
4352 | |
4567 | 4353 * Array.cc (Array<T>::reshape): New function. |
4354 * Array.h: Provide decl. | |
4355 | |
4356 * dim-vector.h (dim_vector::numel): New function. | |
4357 | |
4565 | 4358 * dim-vector.h (dim_vector_rep::dim_vector_rep (int, const |
4359 dim_vector&)): Correctly handle case of n < dv->ndims. | |
4360 | |
4559 | 4361 2003-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
4362 | |
4363 * dim-vector.h (dim_vector::any_zero): New function. | |
4364 (dim_vector::str): New default arg, sep. | |
4365 | |
4366 * Array.h (Array<T>::numel): New function. | |
4367 | |
4556 | 4368 2003-10-27 Petter Risholm <risholm@stud.ntnu.no> |
4369 | |
4370 * mx-inlines.cc (MX_ND_ALL_EXPR, MX_ND_ANY_EXPR, | |
4371 MX_ND_ALL_EVAL, MX_ND_ANY_EVAL, MX_ND_ALL_ANY): New macros. | |
4372 * dNDArray.h (NDArray::all, NDArray::any): Return type now boolNDArray. | |
4373 * CNDArray.h (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
4374 * boolNDArray.h (boolNDArray::all, boolNDArray::any): Likewise. | |
4375 * chNDArray.h (charNDArray::all, charNDArray::any): Likewise. | |
4376 * dNDArray.cc (NDArray::all, NDArray::any): Make them work. | |
4377 * CNDArray.cc (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
4378 * boolNDArray.cc (boolNDArray::all, boolNDArray::any): Likewise. | |
4379 * chNDArray.cc (charNDArray::all, charNDArray::any): Likewise. | |
4380 | |
4552 | 4381 2003-10-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
4382 | |
4553 | 4383 * Array.cc (Array<T>::resize_and_fill): Allow number of dimensions |
4384 to change. From Petter Risholm <risholm@stud.ntnu.no>. | |
4385 | |
4552 | 4386 * oct-rand.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, |
4387 CmplxAEPBAL.cc CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
4388 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, | |
4389 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, ODESSA.cc, | |
4390 Quad.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
4391 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
4392 dbleSCHUR.cc, dbleSVD.cc, lo-specfun.cc: | |
4393 Use new F77 arg macros in declarations of external Fortran | |
4394 subroutines and for calling them. | |
4395 | |
4548 | 4396 2003-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
4397 | |
4398 * Array.cc (Array<T>::resize_no_fill (const dim_vector&)): | |
4399 Allow number of dimensions to change. | |
4400 (Array<T>::resize_no_fill (int, int)): Require ndims to be 0 or 2. | |
4401 (Array<T>::resize_and_fill (int, int, const T&)): Likewise. | |
4402 (Array<T>::resize_no_fill (int, int, int)): Require ndims to be 0 or 3. | |
4403 (Array<T>::resize_and_fill (int, int, int, const T&)): Likewise. | |
4404 (Array<T>::transpose): Require ndims to be 2. | |
4405 (Array<T>::index2): Likewise. | |
4406 (Array<T>::index (idx_vector&, idx_vector&, int, const T&)): Likewise. | |
4407 (Array<T>::maybe_delete_elements_2): Likewise. | |
4408 (Array<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Likewise. | |
4409 (Array<T>::index1): Use resize_and_fill. | |
4410 (MAYBE_RESIZE_ND_DIMS): Likewise. | |
4411 | |
4412 * ODESSA.cc (ODESSA::integrate): Use resize_and_fill for x_s_out. | |
4413 | |
4414 * MArray2.h (MArray2<T>::resize (int, int)): New function. | |
4415 (MArray2<T>::resize (int, int, const T&)): New function. | |
4416 | |
4417 * MArray.h (MArray<T>::resize (int)): New function. | |
4418 (MArray<T>::resize (int, const T&)): New function. | |
4419 | |
4420 * DASRT.cc (DASRT::integrate): Use resize_and_fill for jroot. | |
4421 | |
4422 * DASPK-opts.in: Use single-arg resize for initial condition | |
4423 heuristics. | |
4424 | |
4425 * dim-vector.h (class dim_vector): Now reference counted. | |
4426 (dim_vector_rep::elem): Use assert to check that index is in bounds. | |
4427 | |
4544 | 4428 2003-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4429 | |
4545 | 4430 * Array.cc (Array<T>::squeeze): Delete redundant retval decl. |
4431 | |
4544 | 4432 * mx-cdm-cm.cc, mx-cdm-cm.h, mx-cdm-cs.cc, mx-cdm-cs.h, |
4433 mx-cdm-dm.cc, mx-cdm-dm.h, mx-cdm-m.cc, mx-cdm-m.h, mx-cdm-s.cc, | |
4434 mx-cdm-s.h, mx-cm-cdm.cc, mx-cm-cdm.h, mx-cm-dm.cc, mx-cm-dm.h, | |
4435 mx-cm-m.cc, mx-cm-m.h, mx-cm-s.cc, mx-cm-s.h, mx-cs-cdm.cc, | |
4436 mx-cs-cdm.h, mx-cs-dm.cc, mx-cs-dm.h, mx-cs-m.cc, mx-cs-m.h, | |
4437 mx-dm-cdm.cc, mx-dm-cdm.h, mx-dm-cm.cc, mx-dm-cm.h, mx-dm-cs.cc, | |
4438 mx-dm-cs.h, mx-dm-m.cc, mx-dm-m.h, mx-dm-s.cc, mx-dm-s.h, | |
4439 mx-m-cdm.cc, mx-m-cdm.h, mx-m-cm.cc, mx-m-cm.h, mx-m-cs.cc, | |
4440 mx-m-cs.h, mx-m-dm.cc, mx-m-dm.h, mx-ops.h, mx-s-cdm.cc, | |
4441 mx-s-cdm.h, mx-s-cm.cc, mx-s-cm.h, mx-s-dm.cc, mx-s-dm.h, | |
4442 vx-ccv-cv.cc, vx-ccv-cv.h, vx-ccv-s.cc, vx-ccv-s.h, vx-crv-rv.cc, | |
4443 vx-crv-rv.h, vx-crv-s.cc, vx-crv-s.h, vx-cs-cv.cc, vx-cs-cv.h, | |
4444 vx-cs-rv.cc, vx-cs-rv.h, vx-cv-ccv.cc, vx-cv-ccv.h, vx-cv-cs.cc, | |
4445 vx-cv-cs.h, vx-rv-crv.cc, vx-rv-crv.h, vx-rv-cs.cc, vx-rv-cs.h, | |
4446 vx-s-ccv.cc, vx-s-ccv.h, vx-s-crv.cc, vx-s-crv.h: Delete. These | |
4447 files are now automatically generated. | |
4448 | |
4449 * Makefile.in ($(VX_OP_INC), $(VX_OP_SRC), $(MX_OP_INC), | |
4450 $(MX_OP_SRC)): Generate lists with new mk-ops.awk script. | |
4451 Add rules to generate these files and mx-ops.h. | |
4452 (stamp-prereq): Depend on these files. | |
4453 | |
4454 * mx-ops, vx-ops, mk-ops.awk: New files. | |
4455 * Makefile.in (DISTFILES): Add them to the list. | |
4456 | |
4543 | 4457 2003-10-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
4458 | |
4459 * NDArray.cc (NDArray::NDArray (const boolNDArray), | |
4460 NDArray::NDArray (const charNDArray)): New constructors. | |
4461 (NDArray::operator !): New function. | |
4462 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
4463 NDND_CMP_OPS, NDND_BOOL_OPS. | |
4464 | |
4465 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const NDArray&), | |
4466 ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
4467 ComplexNDArray::ComplexNDArray (const charNDArray&)): | |
4468 New constructors. | |
4469 (ComplexNDArray::operator !): New function. | |
4470 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
4471 NDND_CMP_OPS, NDND_BOOL_OPS. | |
4472 | |
4473 * ArrayN.h (resize (const dim_vector&)): Fix typo. | |
4474 | |
4475 * boolNDArray.cc (boolNDArray::operator !): New function. | |
4476 Provide NDND_CMP_OPS. | |
4477 | |
4478 * MArrayN.cc (operator +=, operator -=): New functions. | |
4479 Provide product and quotient functions. | |
4480 | |
4481 * MArray-misc.cc (gripe_nonconformant (const char *, dim_vector&, | |
4482 dim_vector&)): New function. | |
4483 | |
4484 * dim-vector.h (dim_vector::str, dim_vector::all_zero, | |
4485 operator ==, operator !=): New functions. | |
4486 * ArrayN.cc (operator <<): Use dim_vector::str here. | |
4487 | |
4488 * Array.cc (Array<T>::resize_no_fill, Array<T>::resize_and_fill): | |
4489 No need to save old dimensions. | |
4490 | |
4491 * oct-rand.cc (MAKE_RAND_ND_ARRAY): New macro. | |
4492 (octave_rand::nd_array): New function. | |
4493 * oct-rand.h (octave_rand::nd_array): Provide decl. | |
4494 | |
4495 * mx-op-defs.h (NDCMP_OP_DECL, NDBOOL_OP_DECL, NDS_BIN_OP_DECLS, | |
4496 NDS_BIN_OP, NDS_BIN_OPS, NDS_CMP_OP_DECLS, NDS_CMP_OP, | |
4497 NDS_CMP_OPS, NDS_BOOL_OP_DECLS, NDS_BOOL_OP, NDS_BOOL_OPS, | |
4498 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_BIN_OP, SND_BIN_OPS, | |
4499 SND_CMP_OP_DECLS, SND_CMP_OP, SND_CMP_OPS, SND_BOOL_OP_DECLS, | |
4500 SND_BOOL_OP, SND_BOOL_OPS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
4501 NDND_BIN_OP, NDND_BIN_OPS, NDND_CMP_OP_DECLS, NDND_CMP_OP, | |
4502 NDND_CMP_OPS, NDND_BOOL_OP_DECLS, NDND_BOOL_OP, NDND_BOOL_OPS, | |
4503 NDND_OP_DECLS): New macros. | |
4504 * mx-cm-m.h, mx-cm-s.h, mx-cs-m.h, mx-m-cm.h, mx-m-cs.h, | |
4505 mx-s-cm.h, mx-cm-m.cc, mx-cm-s.cc, mx-cs-m.cc, mx-m-cm.cc, | |
4506 mx-m-cs.cc, mx-s-cm.cc: Use them. | |
4507 | |
4508 * mx-defs.h (class NDArray, class ComplexNDArray, class | |
4509 boolNDArray, class charNDArray): New forward decls. | |
4510 | |
4534 | 4511 2003-10-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
4512 | |
4513 * Array.cc (assign2): No error (but don't do anything either) for | |
4514 expressions like x([],j) = scalar. | |
4515 | |
4532 | 4516 2003-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
4517 | |
4533 | 4518 * Array.cc (assignN): Allow lhs(:) = scalar. |
4519 | |
4532 | 4520 * CNDArray.cc (ComplexNDArray::increment_index): New function. |
4521 * dNDArray.cc (NDArray::increment_index): Likewise. | |
4522 * boolNDArray.cc (boolNDArray::increment_index): Likewise. | |
4523 * chNDArray.cc (charNDArray::increment_index): Likewise. | |
4524 | |
4525 * dim-vector.h (rows, cols): Delete unused data members. | |
4526 | |
4527 * Array.cc (Array<T>::get_size): Fix thinko. | |
4528 | |
4529 2003-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4530 | |
4531 * Array.cc (Array<T>::squeeze): New function. | |
4532 * CNDArray.h (ComplexNDArray::squeeze): Likewise. | |
4533 * dNDArray.h (NDArray::squeeze): Likewise. | |
4534 * boolNDArray.h (boolNDArray::squeeze): Likewise. | |
4535 * chNDArray.h (charNDArray::squeeze): Likewise. | |
4536 | |
4530 | 4537 2003-10-06 Petter Risholm <risholm@stud.ntnu.no> |
4538 | |
4539 * Array.cc (ArrayN<T>::indexN): New definition. | |
4540 * Array.h (Array<T>::indexN): Provide decl. | |
4541 * Array.cc (ArrayN<T>::index (idx_vector&, int, const T&): | |
4542 Call indexN if more than 2 indices. | |
4543 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): | |
4544 Make it (mostly) work. | |
4545 * ArrayN-inline.h (number_of_elements, get_ra_idx, short_freeze): | |
4546 New functions. | |
4547 | |
4527 | 4548 2003-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
4549 | |
4550 * cmd-edit.cc (do_readline): Pass eof to octave_fgetl. | |
4551 * lo-utils.cc (octave_fgets, octave_fgetl): New overloaded | |
4552 versions with eof arg. | |
4553 | |
4518 | 4554 2003-09-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
4555 | |
4556 * Array.h (dimensions): Now public. | |
4557 template <class LT, class RT> | |
4558 (assign (Array<LT>&, const Array<RT>&, const LT&), | |
4559 assign1 (Array<LT>&, const Array<RT>&, const LT&), | |
4560 assign2 (Array<LT>&, const Array<RT>&, const LT&), | |
4561 assignN (Array<LT>&, const Array<RT>&, const LT&), | |
4562 resize_no_fill (int), | |
4563 resize_no_fill (int, int), | |
4564 resize_no_fill (int, int, int), | |
4565 resize_no_fill (const dim_vector&), | |
4566 resize_and_fill (int, const T&), | |
4567 resize_and_fill (int, int, const T&), | |
4568 resize_and_fill (int, int, int, const T&), | |
4569 resize_and_fill (const dim_vector&, const T&)): Now public. | |
4570 | |
4571 * Array.cc: Include <climits>. | |
4572 | |
4513 | 4573 2003-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
4574 | |
4517 | 4575 * Array.cc: Merge Array-idx.h. |
4576 * Array-idx.h: Delete. | |
4577 | |
4514 | 4578 * chNDArray.h, chNDArray.cc, boolNDArray.h, boolNDArray.cc: New files. |
4579 | |
4513 | 4580 * Array.h, Array-idx.h, Array.cc: Fold all N-d functionality here. |
4581 Turn inheritance hierarchy upside down (2-d and 3-d arrays are now | |
4582 just special cases of the general purpose N-d Array object). | |
4583 | |
4584 * dim-vector.h: New file. Use dim_vector objects instead of | |
4585 ints or Array<int> objects to represent the size of Array | |
4586 objects. | |
4587 | |
4588 * MArray-defs.h (INSTANTIATE_MARRAYN_FRIENDS): New macro. | |
4589 | |
4590 * Array2-idx.h, Array3-idx.h, Array2.cc, Array3.cc: Delete. | |
4591 | |
4592 * mx-base.h: Include NDArray header files. | |
4593 | |
4594 * MArray-C.cc, MArray-d.cc: Also instantiate ArrayN objects. | |
4595 | |
4596 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
4597 Array-s.cc: Also instantiate ArrayN objects. | |
4598 Don't instantiate assign funcitons for Array2 objects. | |
4599 | |
4600 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Signal error with | |
4601 liboctave_error_handler, not cerr. | |
4602 * CMatrix.cc (ComplexMatrix::diag): Likewise. | |
4603 * dDiagMatrix.cc (DiagMatrix::diag): Likewise. | |
4604 * dMatrix.cc (Matrix::diag): Likewise. | |
4605 | |
4606 * Array-flags.cc, Array.cc, Array.h, Array2.h, Array3.h, ArrayN.h: | |
4607 Omit checks for HEAVYWEIGHT_INDEXING. | |
4608 | |
4609 2003-09-12 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4610 | |
4611 * mx-base.h: Include CNDarray.h. Include dNDArray.h, not NDArray.h. | |
4612 | |
4613 * CNDARray.h, CNDArray.cc: New files. | |
4614 * Makefile.in: Add them to the appropriate lists. | |
4615 | |
4616 * dNDArray.h: Rename from NDArray.h. | |
4617 * dNDArray.cc: Rename from NDArray.cc. | |
4618 * Makefile.in: Rename them here too. | |
4619 | |
4507 | 4620 2003-09-10 Petter Risholm <risholm@stud.ntnu.no> |
4621 | |
4622 * mx-base.h: Include NDArray.h, not ArrayN.h. | |
4623 | |
4624 * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. | |
4625 * Makefile.in: Add them to the appropriate lists. | |
4626 | |
5095 | 4627 2003-09-09 David Bateman <dbateman@free.fr> |
4506 | 4628 |
4629 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, | |
4630 biry): Always request scaled results from AMOS functions and | |
4631 perform reverse scaling on results if scaled result not requested | |
4632 by user. | |
4633 | |
4634 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4635 | |
4636 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
4637 | |
4505 | 4638 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
4639 | |
4640 * Array-d.cc: Instantiate assign functions. | |
4641 | |
4504 | 4642 2003-09-09 Petter Risholm <risholm@stud.ntnu.no> |
4643 | |
4644 * ArrayN-idx.h (vector_equivalent, equal_arrays): New functions. | |
4645 (get_elt_idx): Index ra_idx correctly. | |
4646 | |
4647 * ArrayN-inline.h (index_in_bounds): Index is also condidered in | |
4648 bounds if it is exactly on the bound. | |
4649 | |
4650 * ArrayN.cc (ArrayN<T>::maybe_delete_dims): New function. | |
4651 * ArrayN.h: Provide decl. | |
4652 | |
4653 * ArrayN.h (ArrayN<T>::ArrayN<T> (const Matrix&)): New constructor. | |
4654 | |
4655 * idx-vector.h (idx_vector::orig_dims): New member variable. | |
4656 (idx_vector::idx_vector_rep::orig_dimensions): New function. | |
4657 (idx_vector::orig_dimensions): New function. | |
4658 | |
4497 | 4659 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
4660 | |
4661 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
4662 | |
4496 | 4663 2003-09-04 Petter Risholm <risholm@stud.ntnu.no> |
4664 | |
4665 * ArrayN-idx.h (maybe_delete_elements): Implement function. | |
4666 (is_in, how_many_lgt, all_ones): New functions. | |
4667 | |
4493 | 4668 2003-09-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
4669 | |
4670 * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. | |
4671 | |
4672 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> | |
4673 | |
4674 * ArrayN-inline.h: New file. | |
4675 (index_in_bounds, increment_index): Move here. | |
4676 * ArrayN.cc: From here. | |
4677 | |
4678 * ArrayN.h (maybe_delete_elements): New arg, resize_fill_value. | |
4679 * ArrayN-idx.h (assign): New function. | |
4680 | |
4490 | 4681 2003-08-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
4682 | |
4683 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, airy, biry): | |
4684 Also zero imaginary part of result if real part of input value is | |
4685 zero. | |
4686 | |
4478 | 4687 2003-07-30 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4688 | |
4689 * mx-base.h: Include ArrayN.h. | |
4690 | |
4476 | 4691 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4692 | |
4693 * ArrayN.cc (operator <<): Corrected output. | |
4694 | |
4474 | 4695 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4696 | |
4697 * ArrayN.cc (increment_index): New arg, start_dimension. | |
4698 | |
5095 | 4699 2003-07-29 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4473 | 4700 |
4701 * ArrayN.cc (operator <<): Improve output readability. | |
4702 | |
4493 | 4703 2003-07-29 Petter Risholm <risholm@stud.ntnu.no> |
4473 | 4704 |
4705 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&, const T&)): | |
4706 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&)): | |
4707 Initialize old_len before changing size. | |
4708 | |
4472 | 4709 2003-07-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
4710 | |
4711 * Makefile.in (install-lib): Use $(INSTALL), not | |
4473 | 4712 $(INSTALL_PROGRAM) for $(SHLLIB) files. |
4472 | 4713 |
4469 | 4714 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
4715 | |
4716 * lo-mappers.cc (xmin, xmax): Handle NaN in a Matlab-compatible | |
4717 way. Handle NA in an R-compatible way. | |
4718 | |
4719 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Also check for lo_ieee_is_NA. | |
4720 (lo_ieee_is_NA): Don't call isnan unless HAVE_ISNAN is defined. | |
4721 | |
4722 * lo-mappers.h (octave_is_NA (const Complex&)): Provide decl. | |
4723 (octave_is_NaN_or_NA (const Complex&)): Likewise. | |
4724 | |
4725 * dMatrix.cc (Matrix::row_min, Matrix::row_max, | |
4726 Matrix::column_min, Matrix::column_max): Ignore NaNs. | |
4727 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_max, | |
4728 ComplexMatrix::column_min, ComplexMatrix::column_max): Likewise. | |
4729 | |
4461 | 4730 2003-07-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4731 | |
4732 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
4733 Pass true for resize_ok arg to freeze. | |
4734 * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
4735 Likewise. | |
4736 | |
4737 * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; | |
4738 resize_ok arg is now bool. | |
4739 * idx-vector.h (idx_vector::freeze): Likewise. | |
4740 | |
4741 * Array-flags.cc, Array-flags.h (liboctave_wrore_flag): | |
4742 Rename from liboctave_rre_flag. Now bool. | |
4743 (liboctave_wfi_flag): Now bool. | |
4744 | |
4745 * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. | |
4746 | |
5095 | 4747 2003-07-11 Russell Standish <R.Standish@unsw.edu.au> |
4459 | 4748 |
4749 * Array.h (resize_fill_value): Now a top-level template function. | |
4750 Accept object as argument. Change all uses. | |
4751 | |
4455 | 4752 2003-07-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
4753 | |
4754 * Array-flags.cc, Array-flags.h (liboctave_pcv_flag): Delete. | |
4755 | |
4756 * Array2-idx.h (Array2<T>::index): Use liboctave_wfi_flag, not | |
4757 liboctave_dfi_flag. | |
4758 (assign): Likewise. For indexed assignments like X(I) = RHS with | |
4759 X undefined or empty, always create a row vector. | |
4760 | |
4761 * Array-flags.cc (liboctave_wfi_flag): Rename from liboctave_dfi_flag. | |
4762 * Array-flags.h (liboctave_wfi_flag): Ditto. | |
4763 | |
4437 | 4764 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4765 | |
4766 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
4767 Magic colon indexing always produces an object with one column. | |
4768 | |
5095 | 4769 2003-06-21 Paul Kienzle <pkienzle@users.sf.net> |
4433 | 4770 |
4771 * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. | |
4772 | |
4773 * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. | |
4774 | |
4431 | 4775 2003-06-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4776 | |
4777 * dMatrix.cc (any_element_is_negative): If new optional arg | |
4778 neg_zero is true, also return true for negative zero. | |
4779 | |
4429 | 4780 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
4781 | |
4782 * DASSL.cc (DASSL::do_integrate): Set liw to 21 + n, not 20 + n. | |
4783 Handle step limit. | |
4784 * DASSL-opts.in: New option for step limit. | |
4785 | |
5095 | 4786 2003-06-16 Per Persson <persquare@mac.com> |
4429 | 4787 |
4788 * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. | |
4789 | |
4428 | 4790 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
4791 | |
4792 * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. | |
4793 Store step limit in iwork(20), not iwork(18). | |
4794 | |
5095 | 4795 2003-05-16 Paul Kienzle <pkienzle@users.sf.net> |
4415 | 4796 |
4797 * oct-rand.cc: Use liboctave's clock layer instead of the system clock. | |
4798 | |
4412 | 4799 2003-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4800 | |
4413 | 4801 * Makefile.in: Handle DESTDIR. |
4802 | |
4412 | 4803 * kpse.cc (kpse_path_iterator::next): Skip consecutive colons here. |
4804 (kpse_path_iterator::set_end): Don't miss last element when not | |
4805 followed by a colon. | |
4806 | |
4409 | 4807 2003-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4808 | |
4809 * Array-idx.h (Array<T>::index): Fix off-by-one error. | |
4810 | |
4811 2003-05-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4812 | |
4813 * kpse.cc (kpse_absolute_p): Fix typo in translation. | |
4814 (find_first_of): Also do an absolute search on each | |
4815 name before looking in the path. | |
4816 | |
4407 | 4817 2003-05-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
4818 | |
4819 * kpse.cc (dir_list_add): Ensure that directory ends with a | |
4820 directory separator. | |
4821 | |
4399 | 4822 2003-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4823 | |
4824 * pathsearch.cc: Include kpse.cc here. | |
4825 | |
4826 * kpse.cc: All functions are now static. Massive surgery to | |
4827 condense kpathsearch library to a single file of just the | |
4828 essentials for Octave and convert to using C++ strings (no more | |
4829 calls to malloc, very few calls to new, so there should be much | |
4830 less potential for introducing memory leaks now). | |
4831 | |
4832 * Makefile.in (EXTRAS): Move kpse.cc here from | |
4833 LIBOCT_PATHSEARCH_CXX_SOURCES. | |
4834 | |
4835 * kpse.h, kpse-config.h: Delete. | |
4836 * Makefile.in (INCLUDES): Delete them from the list. | |
4837 | |
4392 | 4838 2003-04-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
4839 | |
4840 * str-vec.cc (string_vector::append (const std::string&), | |
4841 string_vector::append (const string_vector&)): New methods. | |
4842 | |
4386 | 4843 2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4844 | |
4389 | 4845 * kpse.cc, kpse.h: Replace fn_type with std::string. |
4846 | |
4387 | 4847 * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. |
4848 | |
4386 | 4849 * kpse.cc (xclosedir): Don't define or declare for Windows. |
4850 (READABLE): Now a static function to avoid warnings from MinGW | |
4851 compiler. | |
4852 | |
4384 | 4853 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4854 | |
4385 | 4855 * kpse.cc: Move most functions from kpse-xfns.c here and make |
4856 static. Include most of kpse-xfns.h directly, removing | |
4857 unnecessary bits. | |
4858 | |
4384 | 4859 * dMatrix.cc (Matrix::pseudo_inverse): Now const. |
4860 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
4861 | |
4378 | 4862 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4863 | |
4864 * getopt.c, getopt1.c, getopt.h: Move here from kpathsea. | |
4865 * Makefile.in: Add them to the appropriates lists. | |
4866 | |
4867 * oct-getopt.c: Include "getopt.h", not <kpathsea/getopt.h>. | |
4868 | |
4869 * Makefile.in (liboctave.$(LIBEXT), liboctave.$(SHLEXT)): Adjust | |
4870 for new locations of kpathsea objects. | |
4871 Delete kpathsea targets. | |
4872 | |
4873 * pathsearch.cc (dir_path::set_program_name): Delete. | |
4874 | |
4875 * kpse.cc: New file. | |
4876 * Makefile.in (LIBOCT_PATHSEARCH_CXX_SOURCES): Add it to the list. | |
4877 | |
4878 * kpse.c: New file. | |
4879 * Makefile.in (LIBOCT_PATHSEARCH_C_SOURCES): Add it to the list. | |
4880 | |
4881 * kpse.h, kpse-config.h, kpse-xfns.h: New files. | |
4882 * Makefile.in (INCLUDES): Add them to the list. | |
4883 | |
4884 * oct-kpse.h: Delete. | |
4885 * Makefile.in (INCLUDES): Delete it from the list. | |
4886 | |
4374 | 4887 2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
4888 | |
4889 * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. | |
4890 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): | |
4891 Likewise. | |
4892 From Quentin H. Spencer <qspencer@ieee.org>. | |
4893 | |
4365 | 4894 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
4895 | |
4896 * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h". | |
4897 | |
4349 | 4898 2003-02-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
4899 | |
4352 | 4900 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Handle systems with or |
4901 without placement delete. | |
4902 | |
4349 | 4903 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Don't lose -0 |
4904 imaginary parts. | |
4905 | |
4906 * lo-ieee.h (lo_ieee_signbit): New macro. | |
4907 | |
5095 | 4908 2003-02-18 David Bateman <dbateman@free.fr> |
4329 | 4909 |
4910 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
4911 Use Lapack instead of Linpack. | |
5315 | 4912 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
4329 | 4913 ComplexMatrix::solve): Likewise. |
4914 | |
4915 * dMatrix.cc (Matrix::determinant, Matrix::inverse): New arg, | |
4916 calc_cond. If 0, skip condition number calculation. | |
4917 * CMatrix.cc (ComplexMatrix::determinant, ComplexMatrix::inverse): | |
4918 Likewise. | |
4919 | |
4920 * CmplxLU.cc (ComplexLU::ComplexLU): Allow non-square matrices. | |
4921 * dbleLU.cc (LU::LU): Likewise. | |
4922 * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. | |
4923 | |
4924 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4925 | |
4926 * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: | |
4927 | |
4323 | 4928 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4929 | |
4930 * Array2-idx.h (Array2<T>::index): Fix thinko. | |
4931 Additional compatibility fix. | |
4932 | |
4933 2003-02-13 Arno Klaassen <arno@scito.com> | |
4934 | |
4935 * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
4936 ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: | |
4937 Sprinkle with Array<T>:: as necessary for gcc 3.4. | |
4938 | |
4322 | 4939 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
4940 | |
4941 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
4942 Compatibility fix. | |
4943 | |
4316 | 4944 2003-02-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4945 | |
4946 * CColVector.cc (ComplexColumnVector::extract_n): New function. | |
4947 * CRowVector.cc (ComplexRowVector::extract_n): Likewise. | |
4948 * CMatrix.cc (ComplexMatrix::extract_n): Likewise. | |
4949 * dColVector.cc (ColumnVector::extract_n): Likewise. | |
4950 * dRowVector.cc (RowVector::extract_n): Likewise. | |
4951 * dMatrix.cc (Matrix::extract_n): Likewise. | |
4952 | |
4953 * CColVector.cc (ComplexColumnVector::insert): Improve efficiency | |
4954 with make_unique and xelem. | |
4955 * CRowVector.cc (ComplexRowVector::insert): Likewise. | |
4956 * CMatrix.cc (ComplexMatrix::insert, ComplexMatrix::fill, | |
4957 ComplexMatrix::extract, ComplexMatrix::row, | |
4958 ComplexMatrix::column): Likewise. | |
4959 * dColVector.cc (ColumnVector::insert): Likewise. | |
4960 * dRowVector.cc (RowVector::insert): Likewise. | |
4961 * dMatrix.cc (Matrix::insert, Matrix::fill, Matrix::extract, | |
4962 Matrix::row, Matrix::column): Likewise. | |
4963 | |
4313 | 4964 2003-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4965 | |
4966 * lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN. | |
4967 | |
4309 | 4968 2003-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
4969 | |
4970 * CMatrix.cc, dMatrix.cc: Move min and max functions here, from | |
4971 src/DLD-FUNCTIONS/minmax.cc, and make them extern. | |
4972 * CMatrix.h, dMatrix.h: Provide decls. | |
4973 | |
4307 | 4974 2003-01-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4975 | |
4976 * oct-rand.h, oct-rand.cc: New files. | |
4977 * Makefile.in: Add them to the appropriate lists. | |
4978 | |
4306 | 4979 2003-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4980 | |
4981 * Array2-idx.h (Array2<T>::index): Fix off-by-one error. | |
4982 | |
4299 | 4983 2003-01-16 Mumit Khan <khan@nanotech.wisc.edu> |
4984 | |
4985 * oct-syscalls.cc: Include signal.h. | |
4986 | |
4294 | 4987 2003-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4988 | |
4989 * oct-syscalls.cc (octave_syscalls::kill): New function. | |
4990 * oct-syscalls.h: Provide decl. | |
4991 | |
4992 | |
4293 | 4993 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
4994 | |
4995 * dMatrix.cc (Matrix::read): Set size and return immediately if | |
4996 there is nothing to read. | |
4997 | |
4290 | 4998 2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
4999 | |
5000 * lo-cutils.c: Define _XOPEN_SOURCE. | |
5001 | |
4286 | 5002 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5003 | |
4288 | 5004 * getopt.h: Update to version from kpathsearch, so we will install |
5005 the version that we are using. | |
5006 | |
5007 * getopt.c, getopt1.c: Delete. | |
5008 (INCLUDES): Delete them from the list. We'll get these files from | |
5009 kpathsearch. | |
5010 | |
4286 | 5011 * Makefile.in (liboctave.$(LIBEXT)): Link directly to |
5012 ../kpathsea/STATIC/*.o. | |
5013 (liboctave.$(SHLEXT)): Link directly to ../kpathsea/SHARED/*.o. | |
5014 | |
4270 | 5015 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5016 | |
4282 | 5017 * dMatrix.cc (read_int, write_int): Avoid warnings about |
5018 unreachable code. | |
5019 | |
4279 | 5020 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete |
5021 to correspond to placement new operator. | |
5022 | |
4278 | 5023 * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. |
5024 (DET::value_will_underflow): Likewise. | |
5025 * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. | |
5026 (ComplexDET::value_will_underflow): Likewise. | |
5027 | |
4276 | 5028 * Makefile.in (distclean): Also remove stamp-prereq. |
5029 | |
4306 | 5030 * Array2-idx.h (Array2<T>::assign): If assignment conforms but the |
5031 RHS and index are empty matrices, don't do anything. | |
4270 | 5032 |
4242 | 5033 2002-12-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
5034 | |
5035 * pathsearch.cc (make_retval, free_c_array, make_c_names, | |
5036 delete_c_names): New helper functions. | |
5037 (dir_path::find_first_of): New function. | |
5038 (dir_path::find_all_first_of): Likewise. | |
5039 * pathsearch.h: Provide decls. | |
5040 | |
5041 * oct-kpse.c (octave_kpse_path_find_first_of): New function. | |
5042 (octave_kpse_all_path_find_first_of): Likewise. | |
5043 * oct-kpse.h: Provide decls. | |
5044 | |
4231 | 5045 2002-12-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5046 | |
5047 * ODESSA.cc (ODESSA::integrate): Handle maxord. | |
5048 * ODESSA-opts.in: Likewise. | |
5049 | |
5050 * LSODE.cc (ODESSA::integrate): Handle maxord. | |
5051 * LSODE-opts.in: Likewise. | |
5052 | |
4229 | 5053 2002-12-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5054 | |
4230 | 5055 * ODESSA.cc (ODESSA::ODESSA): Initialize "initialized" data member |
5056 in all constructors. | |
5057 | |
4229 | 5058 * Makefile.in (liboctave.$(SHLEXT)): Include $(LIBKPATHSEA) here. |
5059 (LINK_DEPS): Not here. | |
5060 | |
4219 | 5061 2002-12-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5062 | |
4220 | 5063 * str-vec.cc (string_vector::compare): New static member function. |
5064 * str-vec.h: Provide decl. | |
5065 (string_vector::sort): Use it. | |
5066 (str_vec_compare): Delete static function. | |
5067 | |
4219 | 5068 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Also declare and define |
5069 a placement operator new. | |
5070 | |
4209 | 5071 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5072 | |
4210 | 5073 * Matrix.h: Include mx-ops.h too. |
4209 | 5074 * mx-ops.h: New file. |
5075 | |
4192 | 5076 2002-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5077 | |
5078 * DASRT.cc, DASRT.h, Array.cc, ArrayN.h, Array.h, Array2.cc, | |
5079 Array2.h, Array3.cc, Array3.h, Bounds.cc, Bounds.h, CRowVector.h, | |
5080 CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, CMatrix.h, | |
5081 CRowVector.cc, CColVector.h, ChangeLog, CmplxAEPBAL.cc, | |
5082 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
5083 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
5084 CmplxQR.h, CmplxQRP.cc, ArrayN.cc, CmplxQRP.h, CmplxSCHUR.cc, | |
5085 CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, dMatrix.cc, | |
5086 CollocWt.h, EIG.h, DASSL.cc, FEGrid.h, DASSL.h, DiagArray2.cc, | |
5087 DiagArray2.h, EIG.cc, FEGrid.cc, LSODE.cc, LPsolve.cc, LPsolve.h, | |
5088 LSODE.h, LinConst.cc, LinConst.h, MArray.h, MArray.cc, MArray2.cc, | |
5089 MArray2.h, MDiagArray2.cc, MDiagArray2.h, Range.cc, NLConst.h, | |
5090 NLEqn.cc, Range.h, NLEqn.h, Quad.cc, dbleQR.h, Quad.h, base-lu.cc, | |
5091 base-lu.h, boolMatrix.cc, boolMatrix.h, dColVector.cc, | |
5092 dColVector.h, dDiagMatrix.cc, dDiagMatrix.h, dMatrix.h, | |
5093 dRowVector.cc, dRowVector.h, dbleAEPBAL.cc, dbleAEPBAL.h, | |
5094 dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, dbleDET.h, dbleHESS.cc, | |
5095 dbleHESS.h, dbleLU.cc, dbleLU.h, dbleQR.cc, dbleQRP.cc, dbleQRP.h, | |
5096 dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, | |
5097 idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, | |
5098 ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: | |
5099 Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of | |
5100 "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". | |
5101 | |
4184 | 5102 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5103 | |
5104 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_GLOBAL too. | |
5105 From Remy Bruno <remy.bruno@libertysurf.fr> | |
5106 | |
4180 | 5107 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5108 | |
5109 * lo-specfun.cc: Use F77_FUNC instead of F77_XFCN for calls to | |
5110 fortran code that should run fast enough that it is not worth all | |
5111 the setup costs of F77_XFCN. | |
5112 | |
5113 * Quad.cc (user_function): Surround body of function with | |
5114 BEGIN_INTERRUPT_WITH_EXCEPTIONS, END_INTERRUPT_WITH_EXCEPTIONS. | |
5115 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Likewise. | |
5116 * NLEqn.cc (hybrd1_fcn, hybrj1_fcn): Likewise. | |
5117 * LSODE.cc (lsode_f, lsode_j): Likewise. | |
5118 * DASSL.cc (ddassl_f, ddassl_j): Likewise. | |
5119 * DASRT.cc (ddasrt_f, ddasrt_j, ddasrt_g): Likewise. | |
5120 * DASPK.cc (ddaspk_f, ddaspk_psol, ddaspk_j): Likewise. | |
5121 | |
4164 | 5122 2002-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5123 | |
5124 * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead | |
5125 of ! defined (linux). | |
5126 | |
5095 | 5127 2002-11-09 Per Persson <persquare@mac.com> |
4162 | 5128 |
5129 * oct-shlib.cc (octave_dyld_shlib): New class. | |
5130 (make_shlib): Instantiate octave_dyld_shlib. | |
5131 | |
4152 | 5132 2002-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5133 | |
4153 | 5134 * CMatrix.cc, dMatrix.cc: Sprinkle with OCTAVE_QUIT. |
5135 | |
4152 | 5136 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Abort on error. |
5137 | |
5138 * Array.h: Include <cstddef> here. | |
5139 | |
4142 | 5140 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
5141 | |
4144 | 5142 * DASPK.cc (DASPK::do_integrate): Resize rwork and iwork before |
5143 using them. Accept inequality contraint option of 0. Assign | |
5144 pabs_tol and prel_tol before calling DASPK. Don't redeclare | |
5145 abs_tol and rel_tol. | |
5146 | |
4143 | 5147 * cmd-edit.h (command_editor::filename_completion_desired): New |
5148 static function. | |
5149 (command_editor::do_filename_completion_desired): New virtual function. | |
5150 * oct-rl-edit.c (octave_rl_filename_completion_desired): New function. | |
5151 * oct-rl-edit.h: Provide decl. | |
5152 | |
4142 | 5153 * Array2.cc (Array2<T>::get_size): #define MALLOC_OVERHEAD to |
5154 avoid OS X linker bug. | |
5155 * ArrayN.cc (ArrayN<T>::get_size): Likewise. | |
5156 | |
4139 | 5157 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
5158 | |
4141 | 5159 * ODESFunc.h (ODESFunc::ODES_fsub, ODESFunc::ODES_bsub, |
5160 ODESFunc::ODES_jsub): Reorder args for consistency with other | |
5161 solvers. | |
5162 * ODESSA.cc: Fix all callers. | |
5163 | |
4139 | 5164 * mx-inlines.cc (MX_BASE_REDUCTION_OP): Also return scalar |
5165 MT_RESULT if nr == 1 && nc == 0 && dim == -1 (i.e., | |
5166 sum(zeros(1,0)) returns 0, not [](1x0)). | |
5167 | |
4136 | 5168 2002-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5169 | |
5170 * Makefile.in (LINK_DEPS): Include $(FLIBS) here too. | |
5171 | |
4132 | 5172 2002-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5173 | |
4133 | 5174 * DASRT.cc (DASRT::integrate): Fix computation of lrw |
5175 (ddasrt_f): Combine loops. | |
5176 | |
4132 | 5177 * NLEqn.cc (NLEqn::solve): Return current estimate of solution |
5178 instead of empty vector if user termninates iteration. | |
5179 | |
4130 | 5180 2002-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5181 | |
5182 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
5183 octave_read_complex, octave_write_double, octave_write_complex): | |
5184 New functions. | |
5185 * CMatrix.cc (operator << (std::ostream&, const ComplexMatrix&)): | |
5186 Use octave_write_complex. | |
5187 (operator >> (std::istream&, const ComplexMatrix&)): | |
5188 Use octave_read_complex. | |
5189 * dMatrix.cc (operator << (std::ostream&, double)): | |
5190 Use octave_write_double. | |
5191 (operator >> (std::istream&, double)): Use octave_read_double. | |
5192 | |
4126 | 5193 2002-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5194 | |
5195 * oct-kpse.c (octave_kpse_clear_dir_cache): Delete. | |
5196 * oct-kpse.h: Delete decl. | |
5197 * pathsearch.cc (dir_path::init): Delete unnecessary call to | |
5198 ::octave_kpse_clear_dir_cache. | |
5199 | |
4123 | 5200 2002-10-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5201 | |
4124 | 5202 * lo-sstream.h: Undef HAVE_SSTREAM if using a version of g++ |
5203 earlier than 3.0. | |
5204 | |
4123 | 5205 * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. |
5206 (liboctave.$(SHLEXT)): Not here. | |
5207 | |
5095 | 5208 2002-10-17 Paul Kienzle <pkienzle@users.sf.net> |
4110 | 5209 |
5210 * oct-shlib.cc (octave_w32_shlib): New class to support Windows. | |
5211 | |
4108 | 5212 2002-10-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5213 | |
5214 * Makefile.in (install-lib): Don't bother with versions for | |
5215 $(SHLBIN) files. | |
5216 | |
5095 | 5217 2002-10-16 Paul Kienzle <pkienzle@users.sf.net> |
4105 | 5218 |
5219 * Makefile.in (LIB_DEPS): Include $(LIBS). | |
5220 | |
4102 | 5221 2002-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5222 | |
5223 * lo-cieee.c: Move everything but lo_ieee_init here. | |
5224 (lo_ieee_Inf_value, lo_ieee_NA_value, lo_ieee_NaN_value): | |
5225 New functions. | |
5226 | |
5227 * Makefile.in (install): No need to use cd to create links. | |
5228 (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. | |
5229 | |
5095 | 5230 2002-10-14 Paul Kienzle <pkienzle@users.sf.net> |
4102 | 5231 |
5232 * Makefile.in: Merge liboctave with liboct-readline and | |
5233 liboct-pathsearch. | |
5234 Use link dependencies for shared libs if INCLUDE_LINK_DEPS. | |
5235 (libraries): Depend on versioned library. | |
5236 (liboctave.$(SHLEXT), liboctave.$(SHLEXT_VER)): Reverse actions -- | |
5237 build unversioned library, symbolic link adds version info. | |
5238 (install, uninstall): Handle link and load forms of the library | |
5239 separately. | |
5240 | |
4101 | 5241 2002-10-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5242 | |
5243 * oct-time.cc: Use OCTAVE_USE_WINDOWS_API instead of __WIN32__ and | |
5244 __CYGWIN__. | |
5245 | |
5246 * file-ops.cc (file_ops::dir_sep_char, file_ops::dir_sep_str, | |
5247 file_ops::dir_sep_chars): New static functions to replace | |
5248 OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS. | |
5249 | |
5250 * oct-env.cc (octave_env::do_set_program_name): | |
5251 Use file_ops::dir_sep_chars instead of OCTAVE_DIR_SEP_CHARS. | |
5252 (octave_env::do_base_pathname): Likewise. | |
5253 (octave_env::do_make_absolute): Likewise. | |
5254 | |
5255 * oct-env.cc (octave_env::do_make_absolute): | |
5256 Use file_ops::dir_sep_str instead of OCTAVE_DIR_SEP_STR. | |
5257 (octave_env::do_get_home_directory): Likewise. | |
5258 | |
5259 * file-ops.cc (is_dir_sep): Use dir_sep_chars instead of embedding | |
5260 that information here too. | |
5261 (tilde_find_suffix, isolate_tilde_prefix, tilde_expand_word): | |
5262 Use file_ops::dir_sep_char instead of OCTAVE_DIR_SEP_CHAR. | |
5263 | |
5264 * file-ops.h: Use OCTAVE_HAVE_WINDOWS_FILESYSTEM and | |
5265 OCTAVE_HAVE_POSIX_FILESYSTEM instead of __WIN32__ and __CYGWIN__. | |
5266 | |
4097 | 5267 2002-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5268 | |
5269 * oct-env.h (octave_env::current_directory): Now mutable. | |
5270 (octave_env:do_getcwd): Now const. | |
5271 | |
5272 * file-ops.h, file-ops.cc (file_ops::is_dir_sep): New function. | |
5273 (OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS, | |
5274 OCTAVE_CURRENT_DIR_STR): New macros. | |
5275 * oct-env.cc (is_dir_sep): Delete. | |
5276 (octave_env::do_base_pathname): Look for OCTAVE_DIR_SEP_CHARS, not '/'. | |
5277 (octave_env::do_set_program_name): Likewise. | |
5278 (octave_env::do_polite_directory_format): Use file_ops::is_dir_sep | |
5279 instead of checking for '/'. | |
5280 (octave_env::pathname_backup): Likewise. | |
5281 (octave_env::do_absolute_pathname): Likewise. | |
5282 (octave_env::do_make_absolute): Likewise. | |
5283 If dot_path is empty, use getcwd to set current_dir. | |
5284 (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR | |
5285 instead of "/". | |
5286 | |
5095 | 5287 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 5288 |
5289 * lo-cutils.c: On non-Posix Windows systems, include winsock.h. | |
5290 | |
5095 | 5291 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 5292 |
5293 * oct-env.cc (octave_env::do_absolute_pathname): Recognize | |
5294 absolute path names under MinGW as well. | |
5295 | |
5296 2002-10-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5297 | |
5298 * oct-env.cc: Include <cctype> too. | |
5299 | |
4087 | 5300 2002-10-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5301 | |
5302 * oct-env.cc (octave_env::do_absolute_pathname): Handle Windows | |
5303 filenames. | |
5304 (octave_env::do_make_absolute): Check for absolute name with | |
5305 do_absolute_path. | |
4088 | 5306 (octave_env::do_chdir): Likewise. |
5307 (is_dir_sep): New function. | |
4087 | 5308 |
5095 | 5309 2002-10-03 Paul Kienzle <pkienzle@users.sf.net> |
4085 | 5310 |
4086 | 5311 * oct-time.cc (octave_time::stamp): Better resolution for Windows |
5312 systems. | |
4085 | 5313 |
4083 | 5314 2002-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5315 | |
5316 * dMatrix.cc (Matrix::read): Clean up error handling logic. | |
5317 | |
4080 | 5318 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5319 | |
4081 | 5320 * file-ops.cc (file_ops::mkdir): Handle one-arg mkdir here. |
5321 | |
4080 | 5322 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
5323 | |
5095 | 5324 2002-09-27 Per Persson <persquare@mac.com> |
4076 | 5325 |
5326 * oct-group.cc (octave_group::octave_group): Dont' forget to set | |
5327 gr_gid too. | |
5328 | |
4072 | 5329 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
5330 | |
4074 | 5331 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
5332 lo_ieee_* functions. | |
4072 | 5333 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074 | 5334 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
5335 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. | |
4072 | 5336 * lo-cieee.c: New file. |
4074 | 5337 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072 | 5338 * lo-ieee.h: Now all extern "C". |
4074 | 5339 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
5340 lo-mappers.cc and rename from xisnan, xfinite, xisinf. | |
5341 | |
4072 | 5342 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
5343 Now extern. | |
5344 | |
4066 | 5345 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
5346 | |
5347 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
5348 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
5349 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
5350 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
5351 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
5352 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
5353 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
5354 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
5355 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
5356 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
5357 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
5358 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
5359 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
5360 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
5361 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
5362 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
5363 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
5364 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
5365 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
5366 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
5367 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
5368 oct-alloc.cc: | |
5369 If __GNUG__, use pragma interface/implementation. Allow this to | |
5370 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. | |
5371 | |
5095 | 5372 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
4064 | 5373 |
4066 | 5374 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
5375 system readlink function is not available. | |
5376 | |
4065 | 5377 * lo-mappers.cc (xerf, xerfc): Delete. |
5378 * lo-mappers.h (xerf, xerfc): Delete decls. | |
5379 | |
4064 | 5380 * lo-mappers.cc: Remove unused #define M_PI. |
5381 * lo-specfun.cc: Add #define M_PI if needed. | |
5382 | |
4062 | 5383 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5384 | |
5385 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility | |
5386 that geteuid doesn't exist. | |
5387 | |
5388 * LP.h: Rename LP class to octave_LP. | |
5389 LPsolve.h: Change all uses. | |
5390 | |
5391 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove | |
5392 incorrect token-pasting op. | |
5393 | |
5394 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to | |
5395 define lstat. | |
5396 | |
4061 | 5397 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5398 | |
5399 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
5400 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
5401 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
5402 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
5403 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
5404 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
5405 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
5406 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
5407 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
5408 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
5409 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
5410 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
5411 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
5412 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
5413 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
5414 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
5415 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
5416 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
5417 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
5418 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
5419 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
5420 oct-alloc.cc: | |
5421 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ | |
5422 to decide whether to use the interface/implementation pragmas. | |
5423 | |
4058 | 5424 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5425 | |
5426 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. | |
5427 | |
4055 | 5428 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
5429 | |
5430 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use | |
5431 qualified names. | |
5432 | |
4051 | 5433 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5434 | |
4054 | 5435 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
5436 ArrayN.cc: Add typename where needed. | |
4053 | 5437 |
4051 | 5438 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
5439 strstream classes directly. | |
5440 * DASRT.cc: Likewise. | |
5441 * DASSL.cc: Likewise. | |
5442 * LSODE.cc: Likewise. | |
5443 * ODESSA.cc: Likewise. | |
5444 | |
5445 * cmd-hist.cc: Don't include <strstream>. | |
5446 * oct-shlib.cc: Likewise. | |
5447 | |
5448 * lo-sstream.h: New file. | |
5449 | |
4049 | 5450 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5451 | |
5452 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): | |
5453 New data members. | |
5454 (LSODE::sanity_checked): Delete unused data member. | |
5455 | |
5456 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, | |
5457 prel_tol, pinfo, piwork, prwork): New data members. | |
5458 * DASSL.h (DASSL): Likewise. | |
5459 | |
5460 * DASRT.h (DASRT::sanity_checked): Delete unused data member. | |
5461 | |
5462 * DASRT.cc (DASRT::integrate (double)): Better handling of | |
5463 initialization, changes in options, etc. | |
5464 * DASPK.cc (DASPK::do_integrate): Likewise. | |
5465 * DASSL.cc (DASSL::do_integrate): Likewise. | |
5466 * LSODE.cc (LSODE::do_integrate): Likewise. | |
5467 | |
4047 | 5468 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5469 | |
4049 | 5470 * DAEFunc.h (DAEFunc::reset): New data member. |
5471 * DAERTFunc.h (DAERTFunc::reset): Likewise. | |
5472 | |
5473 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. | |
5474 (base_diff_eqn::clear_stop_time): Likewise. | |
5475 | |
4047 | 5476 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
5477 * DASPK.cc (DASPK::do_integrate (double)): Likewise. | |
5478 | |
5095 | 5479 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
4044 | 5480 |
5481 * DASPK-opts.in, DASPK.h: Move include to .in file. | |
5482 * DASRT-opts.in, DASRT.h: Likewise. | |
5483 * DASSL-opts.in, DASSL.h: Likewise. | |
5484 * LSODE-opts.in, LSODE.h: Likewise. | |
5485 * NLEqn-opts.in, NLEqn.h: Likewise. | |
5486 * ODESSA-opts.in, ODESSA.h: Likewise. | |
5487 | |
4038 | 5488 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5489 | |
4042 | 5490 * LSODE.cc (LSODE::error_message): Also return current T on |
5491 failures when that makes sense. | |
4043 | 5492 * DASSL.cc (DASSL::error_message): Likewise. |
5493 * DASRT.cc (DASRT::error_message): Likewise. | |
5494 * DASPK.cc (DASPK::error_message): Likewise. | |
5495 * ODESSA.cc (ODESSA:error_message): Likewise. | |
4042 | 5496 |
4038 | 5497 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
5498 $(LIBKPATHSEA) here. | |
5499 | |
4025 | 5500 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5501 | |
5502 * lo-ieee.cc (lo_ieee_is_NA): New function. | |
5503 (lo_ieee_is_NaN_or_NA): New function. | |
5504 (octave_NA): New global value. | |
5505 (octave_ieee_init): Initialize it. | |
5506 * lo-mappers.cc (octave_is_NA): New function. | |
5507 (octave_is_NaN_or_NA): New function. | |
5508 (xisnan): Return false if NaN looks like a missing value. | |
5509 (xisnan (const Complex&)): Use xisnan here. | |
5510 | |
4015 | 5511 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5512 | |
4017 | 5513 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
5514 ComplexMatrix::cumprod, ComplexMatrix::cumsum, | |
5515 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): | |
5516 Default value for dim is -1, not 0. | |
5517 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, | |
5518 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. | |
5519 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. | |
5520 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. | |
5521 | |
4015 | 5522 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
5523 New macros. | |
5524 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and | |
5525 MX_BASE_REDUCTION_OP. | |
5526 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. | |
5527 | |
4014 | 5528 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
5529 | |
4015 | 5530 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
5531 Return boolMatrix, not Matrix. | |
5532 | |
5533 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. | |
5534 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. | |
5535 (Matrix::all): Replace guts with MX_ALL_OP. | |
5536 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. | |
5537 (ComplexMatrix::all): Replace guts with MX_ALL_OP. | |
5538 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. | |
5539 (boolMatrix::all): Replace guts with MX_ALL_OP. | |
5540 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. | |
5541 (charMatrix::all): Replace guts with MX_ALL_OP. | |
5542 | |
5543 * dMatrix.h (Matrix::any): New arg, dim. | |
5544 (Matrix::all): Likewise. | |
5545 * CMatrix.h (ComplexMatrix::any): Likewise. | |
5546 (ComplexMatrix::all): Likewise. | |
5547 * boolMatrix.h (boolMatrix::any): Likewise. | |
5548 (boolMatrix::all): Likewise. | |
5549 * chMatrix.h (charMatrix::any): Likewise. | |
5550 (charMatrix::all): Likewise. | |
5551 | |
4014 | 5552 * Makefile.in: Use $@-t instead of $@.t. |
5553 | |
4004 | 5554 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5555 | |
5556 * lo-specfun.cc (gammainc): New arg, err, for scalar version. | |
5557 Use it in matrix versions to avoid spewing multiple errors. | |
5558 Call xgammainc instead of dgamit. | |
5559 | |
3998 | 5560 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5561 | |
5562 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): | |
5563 Get rows and columns right in loop. | |
5564 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. | |
5565 | |
5566 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5567 | |
5568 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. | |
5569 * DASRT.cc (DASRT::integrate): Likewise. | |
5570 * DASSL.cc (DASSL::do_integrate): Likewise. | |
5571 | |
5572 * Quad.cc: Don't pass tolerances in constructors. | |
5573 | |
5574 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, | |
5575 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. | |
5576 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, | |
5577 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically | |
5578 from corresponding .in files. | |
5579 * LSODE.h, Quad.h: Replace options class definitions with included | |
5580 file. | |
5581 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to | |
5582 create OPTS_INC files from OPTS_INC_SRC files. | |
5583 (stamp-prereq): New target. | |
5584 (libraries): Depend on stamp-prereq. | |
5585 Include stamp-prereq along with $(MAKEDEPS). | |
5586 | |
3997 | 5587 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5588 | |
5589 * base-de.h (base_diff_eqn::istate): New data member. | |
5590 (base_diff_eqn::integration_state): New member function. | |
5591 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding | |
5592 data members and functions. | |
5593 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. | |
5594 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. | |
5595 | |
3990 | 5596 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5597 | |
3995 | 5598 * base-de.h (base_diff_eqn::stop_time, |
5599 base_diff_eqn::stop_time_set, base_diff_eqn::restart, | |
5600 base_diff_eqn::integration_error): New data members. | |
5601 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, | |
5602 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, | |
5603 base_diff_eqn::error_message): New member functions. | |
5604 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, | |
5605 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data | |
5606 members and functions. | |
5607 | |
3992 | 5608 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
5609 * DASRT.cc (DASRT::DASRT): Set ng here. | |
3993 | 5610 (DASRT::integrate): Don't forget to set nn. |
3992 | 5611 |
3991 | 5612 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
5613 * DASSL.cc (ddassl_j): Make it work. | |
5614 * DASPK.cc (ddaspk_j): Likewise. | |
5615 | |
3990 | 5616 * DAE.cc: Delete. |
5617 | |
5618 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE | |
5619 solving with root finding. | |
5620 * Makefile.in: Add them to the appropriate lists. | |
5621 | |
5622 * base-dae.h: New file. | |
5623 * Makefile.in (INCLUDES): Add it to the list. | |
5624 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. | |
5625 | |
3984 | 5626 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5627 | |
5628 * ODE.h: Move integrate and do_integrate method declarations and | |
5629 definitions here. | |
5630 * base-de.h: From here. | |
5631 | |
5632 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. | |
5633 * Makefile.in: Add them to the appropriate lists. | |
5634 (LIBOCTAVE_CXX_SOURCES): | |
5635 | |
3971 | 5636 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5637 | |
5638 * NLEqn.cc (NLEqn::error_message): New function. | |
5639 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. | |
5640 | |
3970 | 5641 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
5642 | |
5643 * lo-utils.cc (octave_fgetl): New function. | |
5644 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. | |
5645 | |
3959 | 5646 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5647 | |
5648 * LSODE.cc (LSODE::error_message): New function. | |
5649 * LSODE.h: Provide decl. | |
5650 (LSODE::integration_state): New function. | |
5651 (LSODE::integration_ok): New function. | |
5652 | |
3952 | 5653 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5654 | |
3955 | 5655 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
5656 (LSODE_options::set_integration_method, | |
5657 LSODE_options::integration_method): New functions. | |
3954 | 5658 |
3952 | 5659 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
5660 Change all uses. | |
5661 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. | |
5662 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): | |
5663 New function. | |
5664 | |
5665 * Array.h (Array::fortran_vec): New const version. | |
5666 | |
3951 | 5667 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5668 | |
5669 * cmd-edit.cc (gnu_readline::history_search_backward): New function. | |
5670 (gnu_readline::history_search_forward): Likewise. | |
5671 (gnu_readline::gnu_readline): Use them instead of passing pointers | |
5672 to extern "C" functions to octave_rl_ad_defun. | |
5673 | |
5095 | 5674 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
3946 | 5675 |
5676 * DASPK.cc (ddaspk_psol): Return value. | |
5677 * oct-rl-edit.c: Use /* ... */ to comment. | |
5678 | |
3945 | 5679 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5680 | |
5681 * DASSL.h (DASSL_options::init): Undo previous change. | |
5682 (DASSL_options::set_absolute_tolerance): Likewise. | |
5683 * LSODE.h (LSODE_options::init): Likewise. | |
5684 (LSODE_options::set_absolute_tolerance): Likewise. | |
5685 | |
5686 * DASPK.h (DASPK_options::init): Use default absolute tolerance of | |
5687 sqrt(eps), not eps^2. | |
5688 DASPK_options::set_absolute_tolerance): Likewise. | |
5689 | |
5095 | 5690 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
3944 | 5691 |
5692 * Array.h (Array<T>::resize_fill_value): Return default initialized | |
5693 object. | |
5694 | |
3933 | 5695 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5696 | |
5697 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. | |
5698 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. | |
5699 (octave_rl_set_basic_word_break_characters, | |
5700 octave_rl_set_completer_word_break_characters): New functions. | |
5701 * oct-rl-edit.h: Provide decls. | |
5702 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, | |
5703 gnu_readline::do_set_completer_word_break_characters): New functions. | |
5704 (command_editor::set_basic_quote_characters, | |
5705 command_editor::set_completion_append_character): New static functions. | |
5706 * cmd-edit.h: Provide decls. | |
5707 (command_editor::do_set_basic_word_break_characters, | |
5708 command_editor::do_set_completer_word_break_characters): | |
5709 New virtual functions. | |
5710 | |
5711 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h | |
5712 (resize_fill_value): New static function. | |
5713 | |
5714 * Array-idx.h (Array<T>::index): New args, resize_ok and | |
5715 resize_fill_value. | |
5716 * Array2-idx.h (Array2<T>::index): Likewise. | |
5717 * ArrayN-idx.h (ArrayN<T>::index): Likewise. | |
5718 | |
5719 * Array2.cc (Array<T>::print_info): New function. | |
5720 * Array2.h: Provide decl. | |
5721 | |
5722 * Array.cc (Array<T>::print_info): New function. | |
5723 * Array.h: Provide decl. | |
5724 | |
3928 | 5725 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5726 | |
5727 * idx-vector.h (idx_vector::idx_vector (int)): New function. | |
5728 (idx_vector_rep::idx_vector_rep (int)): New decl. | |
5729 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. | |
5730 | |
5731 * Array.h (Array<T>::resize_fill_value (void)): New static function. | |
5732 (assign (Array<LT>&, const Array<RT>&)): Use it. | |
5733 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. | |
5734 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. | |
5735 | |
5095 | 5736 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
3928 | 5737 |
5738 * Array3.h (Array3<T>::checkelem): Improve error message. | |
5739 * ArrayN.h (ArrayN<T>::range_error): Likewise. | |
5740 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. | |
5741 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. | |
5742 | |
3919 | 5743 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5744 | |
5745 * DASSL.h (DASSL_options::init): Undo previous change. | |
5746 (DASSL_options::set_absolute_tolerance): Likewise. | |
5747 | |
3912 | 5748 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
5749 | |
5750 * DASPK.h, DASPK.cc: New files. | |
5751 * Makefile.in: Add them to the appropriate lists. | |
5752 | |
3904 | 5753 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5754 | |
5755 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): | |
5756 Simplify indexing when one or both of the indices are empty. | |
5757 | |
3896 | 5758 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5759 | |
5760 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. | |
5761 (DASSL_options::set_absolute_tolerance): Likewise. | |
5762 * LSODE.h (LSODE_options::init): Likewise. | |
5763 (LSODE_options::set_absolute_tolerance): Likewise. | |
5764 | |
5095 | 5765 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
3887 | 5766 |
5767 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. | |
5768 * file-stat.cc (file_stat::update_internal, file_stat::copy): | |
5769 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. | |
5770 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. | |
5771 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. | |
5772 * file-stat.h: Likewise. | |
5773 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, | |
5774 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE | |
5775 instead of HAVE_STRUCT_TM_TM_ZONE. | |
5776 * strftime.c: Likewise. | |
5777 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, | |
5778 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, | |
5779 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, | |
5780 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, | |
5781 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
5782 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
5783 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. | |
5784 | |
5095 | 5785 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
3883 | 5786 |
5787 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition | |
5788 internally when the user requests it. | |
5789 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
5790 * dbleQR.cc (QR::init): Ditto. | |
5791 * dbleQRP.cc (QRP::init): Ditto. | |
5792 | |
3874 | 5793 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5794 | |
5795 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a | |
5796 definition for NULL by passing 0 as the last arg to fftwnd_one. | |
5797 (octave_fftw::ifft2d): Likewise. | |
5798 | |
5095 | 5799 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
3873 | 5800 |
5801 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). | |
5802 | |
3867 | 5803 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5804 | |
5805 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. | |
5806 (LS_DO_WRITE): Likewise. | |
5807 | |
3864 | 5808 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5809 | |
5810 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. | |
5811 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. | |
5812 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. | |
5813 | |
5814 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, | |
5815 MX_REDUCTION_OP_ROW_EXPR): New macros. | |
5816 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. | |
5817 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. | |
5818 | |
5819 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. | |
5820 DIM == -1 now means no orientation for vector sums. | |
5821 * dMatrix.cc (ComplexMatrix::sumsq): Use it. | |
5822 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. | |
5823 | |
3858 | 5824 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5825 | |
5826 * Range.cc (Range::nelem_internal): Special case ranges that must | |
5827 have zero elements. | |
5828 | |
3854 | 5829 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5830 | |
3857 | 5831 * Makefile.in: Split out readline and pathsearch functionality |
5832 into separate liboct-readline and liboct-pathsearch libraries. | |
5833 | |
3854 | 5834 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857 | 5835 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
5836 to do nothing for this call to rl_clear_screen. | |
3854 | 5837 |
3849 | 5838 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5839 | |
5840 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied | |
5841 function. | |
5842 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. | |
5843 | |
3838 | 5844 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
5845 | |
5846 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, | |
5847 Matrix::inverse): Handle the case of rcond being a NaN the same as | |
5848 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. | |
5849 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, | |
5850 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. | |
5851 | |
3836 | 5852 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
5853 | |
5854 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. | |
5855 | |
5856 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, | |
5857 Array-b.cc: Instantiate three arg assign functions. | |
5858 | |
5859 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): | |
5860 New arg, resize_fill_value. | |
5861 * ArrayN.h: Provide declaration. | |
5862 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling | |
5863 three arg version. | |
5864 | |
5865 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): | |
5866 New arg, resize_fill_value. | |
5867 * Array3.h: Provide declaration. | |
5868 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling | |
5869 three arg version. | |
5870 | |
5871 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
5872 New arg, resize_fill_value. | |
5873 * Array2.h: Provide declaration. | |
5874 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling | |
5875 three arg version. | |
5876 | |
5877 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
5878 New arg, resize_fill_value. | |
5879 * Array.h: Provide declaration. | |
5880 (assign (Array<LT>&, const Array<RT>&): Define here by calling | |
5881 three arg version. | |
5882 | |
3833 | 5883 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5884 | |
5885 * pathsearch.cc (dir_path::set_program_name): Set the environment | |
5886 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS | |
5887 to the empty string. | |
5888 | |
3832 | 5889 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5890 | |
5891 * Array2.h (Array2<T>::operator = (const Array2<T>&)): | |
5892 Don't check for rep != a.rep. | |
5893 | |
3827 | 5894 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
5895 | |
5896 * oct-fftw.h, oct-fftw.cc: New files. | |
5897 * Makefile.in (INCLUDES, SOURCES): Add new files. | |
5898 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, | |
5899 ifourier2d}): Use fftw if available. | |
5900 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): | |
5901 Likewise. | |
5902 | |
3821 | 5903 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5904 | |
5905 * Makefile.in (install-lib): Don't use mk-libdir-link. | |
5906 (install-inc): Don't use mk-includedir-link. | |
5907 | |
3803 | 5908 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5909 | |
5910 * lo-cutils.c (octave_gethostname): New function. | |
5911 * lo-utils.h: Provide declaration. | |
5912 * oct-env.cc (octave_env::do_get_host_name): | |
5913 Call octave_gethostname, instead of gethostname. | |
5914 | |
5915 * lo-cutils.c (gethostname): Define here. | |
5916 * lo-sysdep.cc: Not here. | |
5917 | |
3786 | 5918 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
5919 | |
5920 * lo-cutils.c: Don't declare strptime. | |
5921 (oct_strptime): Cast return type of strptime to char*. | |
5922 | |
3777 | 5923 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5924 | |
3779 | 5925 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
5926 (octave_rl_set_name): call rl_re_read_init_file with two args. | |
5927 (octave_rl_read_init_file): Ditto. | |
5928 (octave_rl_clear_undo_list): Call rl_free_undo_list, not | |
5929 free_undo_list. | |
5930 (octave_rl_completion_matches): Call rl_completion_matches, not | |
5931 completion_matches. | |
5932 (octave_rl_enable_paren_matching): New function. | |
5933 (octave_rl_set_blink_matching_paren_flag): Delete. | |
5934 (octave_rl_get_blink_matching_paren_flag): Delete. | |
5935 | |
3777 | 5936 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
5937 tanh (const Complex&)): Declare and define if not | |
5938 CXX_ISO_COMPLIANT_LIBRARY. | |
5939 | |
3776 | 5940 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
5941 | |
5942 * lo-mappers.h (tanh (const Complex&)): Only declare if not | |
5943 CXX_ISO_COMPLIANT_LIBRARY. | |
5944 | |
3775 | 5945 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
5946 | |
3776 | 5947 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
5948 CXX_ISO_COMPLIANT_LIBRARY. | |
5949 | |
3775 | 5950 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
5951 archive libraries containing templates. | |
5952 | |
5953 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, | |
5954 get_zero_len_size, all_colon_equiv): Inline. | |
5955 (ArrayN<T>::index): Rename idx to arr_idx. | |
5956 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, | |
5957 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, | |
5958 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. | |
5959 | |
5960 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5961 | |
5962 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), | |
5963 log10 (const Complex&)): Delete. | |
5964 | |
5965 * oct-cmplx.h: Define forwarding functions for real, imag, abs, | |
5966 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, | |
5967 sinh, sqrt, tan, and tanh. | |
5968 | |
3769 | 5969 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
5970 | |
5971 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: | |
5972 Add std:: namespace qualifier as needed. | |
5973 | |
5974 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. | |
5975 Change all uses to match. | |
5976 | |
3767 | 5977 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5978 | |
5979 * lo-cutils.c: Don't delcare strptime. | |
5980 | |
3760 | 5981 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5982 | |
5983 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): | |
5984 Return correct size result for empty matrix case. | |
5985 | |
3757 | 5986 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5987 | |
5988 * lo-mappers.cc (xmin (const Complex&, const Complex& y): | |
5989 If args are equal in magnitude, return first arg instead of | |
5990 second. | |
5991 | |
3752 | 5992 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
5993 | |
3755 | 5994 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
5995 then try harder to compute correct number of elements. | |
3753 | 5996 |
3752 | 5997 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
5998 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. | |
5999 | |
3750 | 6000 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
6001 | |
3751 | 6002 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
6003 Rename n_intervals to be n_elt. | |
6004 | |
3750 | 6005 * strptime.c: Surround everything after including config.h in |
6006 #ifndef HAVE_STRPTIME ... #endif. | |
6007 | |
3742 | 6008 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6009 | |
6010 * Array-idx.h (assign): When resizing, cast fill value to LT. | |
6011 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. | |
6012 | |
3741 | 6013 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6014 | |
6015 * MArray-defs.h: Protect against multiple inclusion. | |
6016 | |
3739 | 6017 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6018 | |
6019 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the | |
6020 end of the list, to be compatible with previous versions of Octave. | |
6021 | |
3736 | 6022 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
6023 | |
6024 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, | |
6025 since mktime is supposed to `normalize' the results for us. | |
6026 | |
3731 | 6027 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
6028 | |
6029 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices | |
3732 | 6030 and vectors. Use xelem for faster access to elements when copying. |
3731 | 6031 |
3726 | 6032 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6033 | |
6034 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): | |
6035 Correct indexing for operation across rows. | |
6036 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. | |
6037 | |
3725 | 6038 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
6039 | |
6040 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying | |
6041 elements if arg is a colon. | |
6042 | |
5095 | 6043 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
3723 | 6044 |
3795 | 6045 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723 | 6046 (Matrix::cumsum (int) const): Likewise. |
6047 (Matrix::prod (int) const): Likewise. | |
6048 (Matrix::sum (int) const): Likewise. | |
6049 (Matrix::sumsq (int) const): Likewise. | |
6050 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. | |
6051 (ComplexMatrix::cumsum (int) const): Likewise. | |
6052 (ComplexMatrix::prod (int) const): Likewise. | |
6053 (ComplexMatrix::sum (int) const): Likewise. | |
6054 (ComplexMatrix::sumsq (int) const): Likewise. | |
6055 | |
3722 | 6056 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6057 | |
6058 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set | |
6059 size if Array<T>::index returns an empty array. | |
6060 | |
3710 | 6061 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6062 | |
6063 * file-ops.cc (file_ops::link, file_ops::symlink, | |
6064 file_ops::readlink): New functions. | |
6065 | |
3709 | 6066 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6067 | |
6068 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is | |
6069 indexed, always return an object the same size as the index arg. | |
6070 | |
6071 * oct-time.cc (octave_base_tm::strftime): Return empty string for | |
6072 empty format. | |
6073 | |
3706 | 6074 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6075 | |
6076 * lo-cutils.c (oct_strptime): New function. | |
6077 * oct-time.cc (octave_strptime::init): Call it instead of strptime. | |
6078 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. | |
6079 | |
3702 | 6080 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6081 | |
3703 | 6082 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
6083 | |
3702 | 6084 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
6085 | |
3689 | 6086 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6087 | |
6088 * dMatrix.h (read_int): Provide declaration. | |
6089 | |
3688 | 6090 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
6091 | |
6092 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. | |
6093 (write_doubles): Ditto. | |
6094 * data-conv.h: Ditto. | |
6095 (enum save_type): New values, LS_U_LONG and LS_LONG. | |
6096 | |
3685 | 6097 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
6098 | |
6099 * boolMatrix.h: Declare MM_CMP_OPS here. | |
6100 * boolMatrix.cc: Define them here. | |
6101 | |
3680 | 6102 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6103 | |
6104 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is | |
6105 previously undefined and set size of x to size of bool index. | |
6106 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): | |
6107 Allow z_len to be zero. | |
6108 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. | |
6109 If frozen, don't assert that frozen_at_z_len == z_len. | |
6110 | |
3670 | 6111 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6112 | |
6113 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen | |
6114 instead of rl_clear_screen. | |
6115 | |
3665 | 6116 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6117 | |
6118 * Array-d.cc: Instantiate ArrayN<double> here too. | |
6119 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. | |
6120 * Makefile.in: Add them to the appropriate lists. | |
6121 | |
3657 | 6122 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6123 | |
6124 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. | |
6125 | |
3635 | 6126 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6127 | |
6128 * lo-sysdep.h: octave_chdir returns int, not bool. | |
6129 | |
3615 | 6130 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
6131 | |
6132 * Makefile.in (liboctave.$(SHLEXT)): Delete target | |
6133 before rebuilding. | |
6134 | |
5095 | 6135 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
3615 | 6136 |
5261 | 6137 * Makefile.in (liboctave.$(LIBEXT)): New target. |
3615 | 6138 (libraries): Depend only on library targets, not archive members. |
6139 | |
3613 | 6140 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6141 | |
6142 * Makefile.in: (objects): New target. | |
6143 | |
6144 * lo-cutils.c: New file. | |
6145 * Makefile.in (SOURCES): Add it to the list. | |
6146 * lo-utils.h: Declare octave_qsort here. | |
6147 * Array.h (Array::qsort): Use it here. | |
6148 | |
3607 | 6149 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6150 | |
6151 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. | |
6152 | |
3598 | 6153 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6154 | |
6155 * oct-rl-hist.c (octave_history_list): Do something when not | |
6156 printing line numbers. Fix reallocation of retval. | |
6157 | |
3597 | 6158 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6159 | |
6160 * Makefile.in (install-inc): Install files in | |
6161 $(octincludedir)/octave. | |
6162 (uninstall): Remove them from the correct directory too. | |
6163 | |
6164 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if | |
6165 they are not already defined. | |
6166 | |
3588 | 6167 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6168 | |
6169 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: | |
6170 Delete declarations and definitions of mixed-type vector-vector ops. | |
6171 | |
3585 | 6172 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6173 | |
6174 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS | |
6175 matrix and vector objects. | |
6176 | |
6177 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to | |
6178 return type from second arg type. | |
6179 (MDM_BIN_OP): Likewise, for first arg type. | |
6180 | |
6181 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
6182 Matrix::fourier2d, Matrix::ifourier2d): Likewise. | |
6183 | |
6184 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly | |
6185 request ColumnVector to ComplexColumnVector, and Matrix to | |
6186 ComplexMatrix conversions. | |
6187 | |
6188 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its | |
6189 initial value using ComplexMatrix constructor. | |
6190 | |
6191 * CColVector.cc (product, quotient, | |
6192 operator * (const DiagMatrix&, const ComplexColumnVetor&)): | |
6193 Fix type of returned value. | |
6194 * CDiagMatrix.cc (ComplexDiagMatrix::row, | |
6195 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. | |
6196 | |
6197 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, | |
6198 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, | |
6199 dRowVector.h: Declare some constructors explicit, to disallow | |
6200 potentially problematic automatic type conversions. | |
6201 | |
3580 | 6202 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
6203 | |
3582 | 6204 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
6205 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: | |
6206 More new files. | |
6207 * Makefile.in: Add them to the appropriate lists. | |
6208 | |
6209 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, | |
6210 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, | |
6211 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, | |
6212 vx-s-crv.cc:, New files. | |
6213 * Makefile.in: Add them to the appropriate lists. | |
6214 | |
6215 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: | |
6216 Delete scalar by vector and vector by scalar binary ops. | |
6217 | |
3580 | 6218 * MArray-defs.h: More new macros to handle MDiagArray operators. |
6219 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. | |
6220 | |
3573 | 6221 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
6222 | |
3578 | 6223 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
6224 rl_event_hook before casting to void **. | |
6225 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. | |
6226 | |
3574 | 6227 * MArray-defs.h: Many new macros to make declaration and |
6228 definition of operators more consistent. | |
6229 | |
6230 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, | |
6231 CRowVector.h, dMatrix.h, CMatrix.h: Use them. | |
3573 | 6232 |
3569 | 6233 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6234 | |
3572 | 6235 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
6236 (Matrix::ifourier2d): Likewise. | |
6237 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. | |
6238 (ComplexMatrix::ifourier2d): Likewise. | |
6239 | |
3569 | 6240 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
6241 | |
3504 | 6242 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6243 | |
3519 | 6244 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
6245 readline library. | |
6246 * Makefile.in: Add them to the appropriate lists. | |
6247 | |
6248 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU | |
6249 readline history library. | |
6250 * Makefile.in: Add them to the appropriate lists. | |
6251 | |
3517 | 6252 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
6253 (LS_DO_READ): Likewise, for istream::read. | |
3518 | 6254 (write_doubles): Likewise. |
6255 (read_doubles): Likewise. | |
3517 | 6256 |
3516 | 6257 * oct-env.cc (octave_env::do_polite_directory_format): |
6258 Use operator== and substr method to do limited-length string | |
6259 comparison. | |
6260 | |
3513 | 6261 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512 | 6262 |
3511 | 6263 * Quad.h: Use do_integrate as name of pure virtual function. |
6264 | |
3508 | 6265 * base-de.h: Use tt instead of t as arg names. |
3511 | 6266 Add method with tcrit arg. |
6267 | |
3509 | 6268 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508 | 6269 |
3507 | 6270 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
6271 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. | |
6272 * Quad.cc (quad_fcn_ptr): Ditto. | |
6273 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. | |
6274 | |
3505 | 6275 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519 | 6276 * Makefile.in: Add them to the appropriate lists. |
3505 | 6277 |
6278 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. | |
3519 | 6279 * Makefile.in: Add them to the appropriate lists. |
3505 | 6280 |
3504 | 6281 * dMatrix.cc (write_int, read_int): No longer declared static. |
6282 | |
6283 * CDiagMatrix.h: Delete decls for friend operators that are | |
6284 handled by MDiagArray2 class. Move others outside class decl and | |
6285 strip friend status. | |
6286 * dDiagMatrix.h: Likewise. | |
6287 | |
6288 * MArray.h: Delete decls for friend operators inside class decl. | |
6289 * MArray2.h: Ditto. | |
6290 * MDiagArray2.h: Ditto. | |
6291 | |
6292 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all | |
6293 necessary parameters. Don't allocate memory in the macro. Change | |
6294 all uses. | |
6295 | |
6296 * dMatrix.h (class Matrix): Delete `friend class' decls. | |
6297 * CMatrix.h (class ComplexMatrix): Ditto. | |
6298 | |
6299 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, | |
6300 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, | |
6301 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to | |
6302 avoid type conflicts. Change all uses. | |
6303 | |
6304 * strptime.c (__mon_yday): Fix size of array decl. | |
6305 | |
6306 * mx-inlines.cc: Use `xnot' instead of `not' for function name. | |
6307 | |
6308 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous | |
6309 default value for second arg. | |
6310 | |
6311 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to | |
6312 references to ArrayRep. | |
6313 | |
3503 | 6314 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
6315 | |
3504 | 6316 * Array.h (Array::ArrayRep): Now protected, not private. |
3503 | 6317 |
6318 * All source files: Include iostream, fstream, strstream, | |
6319 etc. as needed instead of using forward declarations for these | |
3504 | 6320 classes. Add std:: qualifier as needed. |
3503 | 6321 |
3498 | 6322 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6323 | |
6324 * oct-time.cc: Declare strptime extern "C". | |
6325 | |
3496 | 6326 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6327 | |
6328 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. | |
6329 | |
3488 | 6330 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6331 | |
3492 | 6332 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
6333 * Array3.h, Array3.cc: Use it in constructors and resize methods | |
6334 to get total size to be allocated. | |
6335 | |
3488 | 6336 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
6337 as bool, not int. | |
6338 | |
3482 | 6339 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6340 | |
6341 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
6342 Allow A(idx) = RHS if idx is a boolean index with the same shape | |
6343 as A, even when do_fortran_indexing is not enabled. | |
6344 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). | |
6345 | |
3473 | 6346 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6347 | |
3480 | 6348 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
6349 function pointer as final arg. Passed function (if any) will be | |
6350 called for singularity errors. | |
6351 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. | |
6352 | |
6353 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. | |
6354 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
6355 | |
3475 | 6356 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
6357 No longer bother with infinity or quiet_nan. | |
6358 | |
3473 | 6359 * Array2.cc (Array2<T>::get_size): New function. |
6360 (Array2<T>::Array2, Array2<T>::resize): Use it. | |
6361 | |
3472 | 6362 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6363 | |
6364 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): | |
6365 New function. | |
6366 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
6367 Use it when indexing with one arg instead of faking a second one. | |
6368 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): | |
6369 Return empty matrices with the correct dimensions for A(:,:) = [] | |
6370 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all | |
6371 rows or columns. | |
6372 | |
6373 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool | |
6374 vector that is all true values with a length equal to n as colon | |
6375 equivalent. | |
6376 | |
3470 | 6377 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6378 | |
6379 * strptime.c: Only include langinfo.h if _LIBC is defined. | |
6380 | |
5095 | 6381 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468 | 6382 |
6383 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling | |
6384 operations directly in step 2 and reverse step 2. | |
6385 * dMatrix.cc (Matrix::expm): Apply permutation and scaling | |
6386 operations directly in step 2 and reverse step 2. | |
6387 | |
3465 | 6388 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6389 | |
6390 * oct-time.h, oct-time.cc (octave_strptime): New class. | |
6391 | |
6392 * strptime.c: New file, from glibc 2.1.2. | |
6393 * Makefile.in (SOURCES): Add strptime.c to the list. | |
6394 | |
3419 | 6395 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6396 | |
6397 * MArray.h (MArray <const Array<T>&)): New constructor. | |
6398 | |
3415 | 6399 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6400 | |
6401 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing | |
6402 NULL directory list returned from kpse_element_dirs | |
6403 | |
3375 | 6404 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6405 | |
6406 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. | |
6407 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF | |
6408 directly, instead of calling ZGESV. | |
6409 | |
3358 | 6410 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6411 | |
6412 * data-conv.cc (init_sized_type_lookup_table): New function. | |
6413 (string_to_data_type): Use it to improve lookup of data types. | |
6414 | |
3354 | 6415 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6416 | |
6417 * dMatrix.cc (is_symmetric): Move here from Array2.cc. | |
6418 * Array2.h (is_symmetric): Delete declaration. | |
6419 | |
3347 | 6420 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6421 | |
6422 * oct-env.cc (do_get_user_name): Reverse sense of test. | |
6423 | |
3344 | 6424 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6425 | |
6426 * oct-time.cc (Fstrftime): Undo previous change. | |
6427 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
6428 | |
3334 | 6429 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6430 | |
3336 | 6431 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
6432 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. | |
6433 | |
3334 | 6434 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
6435 Don't forget to pass length of third string argument to dgeesx. | |
6436 | |
6437 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length | |
6438 of third string argument to zgeesx. | |
6439 | |
3333 | 6440 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6441 | |
6442 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): | |
6443 On errors, simply return `T ()'. | |
6444 (DiagArray2<T>::checkelem (int, int)): Likewise. | |
6445 | |
5095 | 6446 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3331 | 6447 |
6448 * dMatrix.cc (Matrix::expm): Do balancing here instead of using | |
6449 AEPBALANCE class. | |
6450 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6451 | |
3325 | 6452 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6453 | |
6454 * oct-shlib.cc, oct-shlib.h: New files. | |
6455 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
6456 | |
3322 | 6457 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6458 | |
6459 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. | |
6460 * dRowVector.cc (linspace): Ditto. | |
6461 | |
6462 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. | |
6463 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
6464 | |
3312 | 6465 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
6466 | |
6467 * DASSL.cc (DASSL::do_integrate (double)): If we have a function | |
6468 to evaluate the Jacobian, set info(4), not iwork(4). | |
6469 Set rwork(1) to the maximum step size, not rwork(2). | |
6470 | |
3290 | 6471 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6472 | |
6473 * oct-time.cc: Include <climits>. | |
6474 | |
3281 | 6475 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
6476 | |
6477 * cmd-edit.h (command_editor::do_resize_terminal): New function. | |
6478 * cmd-edit.cc (command_editor::resize_terminal): New function. | |
6479 (gnu_readline::do_resize_terminal): New function. | |
6480 | |
3268 | 6481 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6482 | |
6483 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. | |
6484 * lo-ieee.c: Likewise. | |
6485 Delete extern "C" declarations for infinity and quiet_nan. | |
6486 | |
3262 | 6487 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6488 | |
3263 | 6489 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
6490 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions | |
6491 `inline', not `static inline'. | |
6492 | |
3262 | 6493 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
6494 then cast to const int * to compare. | |
6495 | |
3257 | 6496 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6497 | |
6498 * DAEFunc.h: Remove useless preprocessor conditional. | |
6499 | |
3255 | 6500 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6501 | |
3257 | 6502 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
6503 Use octave_time object instead of time_t. | |
6504 | |
6505 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, | |
6506 file_stat::fs_ctime): Now octave_time objects. | |
6507 (file_stat::atime, file_stat::mtime, file_stat::ctime): | |
6508 Return octave_time objects. | |
6509 (file_stat::is_newer): Args are now octave_time objects instead of | |
6510 time_t. | |
6511 | |
3255 | 6512 * oct-time.h (octave_time::as_double): Delete. |
6513 (octave_time::operator double ()): New function. | |
6514 (octave_time::operator time_t ()): New function. | |
6515 (octave_time::ctime): New function. | |
6516 (octave_base_tm::strftime): Renamed from format_as_string. | |
6517 (octave_base_tm::asctime): New function. | |
6518 (operator == (const octave_time&, const octave_time&), | |
6519 operator != (const octave_time&, const octave_time&), | |
6520 operator < (const octave_time&, const octave_time&), | |
6521 operator <= (const octave_time&, const octave_time&), | |
6522 operator > (const octave_time&, const octave_time&), | |
6523 operator >= (const octave_time&, const octave_time&)): | |
6524 New comparison functions. | |
6525 | |
6526 * strftime.c: Move here from src directory. | |
6527 * Makefile.in (SOURCES): Add it to the list. | |
6528 | |
6529 * oct-time.h (octave_time::octave_time (time_t)): New constructor. | |
6530 | |
3253 | 6531 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6532 | |
6533 * oct-time.h, oct-time.cc: New files. | |
6534 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
6535 | |
6536 * systime.h: Move here from src directory. | |
6537 * Makefile.in (INCLUDES): Add it to the list. | |
6538 | |
3248 | 6539 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6540 | |
6541 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. | |
6542 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. | |
6543 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. | |
6544 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. | |
6545 | |
6546 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. | |
6547 | |
3243 | 6548 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6549 | |
6550 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. | |
6551 | |
6552 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6553 | |
6554 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a | |
6555 column vector for A(:), for compatibility with Matlab. | |
6556 | |
6557 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6558 | |
6559 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set | |
6560 iopt when there are optional inputs in rwork or iwork. | |
6561 | |
3238 | 6562 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6563 | |
6564 * Makefile.in (libraries): Use the libfoo.a(objects) method of | |
6565 creating static libs. | |
6566 | |
5095 | 6567 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
3238 | 6568 |
6569 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 | |
6570 and uint32 data types. | |
6571 | |
6572 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6573 | |
6574 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code | |
6575 for Linux. Remove old Linux-specific code. | |
6576 | |
3233 | 6577 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6578 | |
6579 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): | |
6580 Don't require lengths to be equal. | |
6581 * CMatrix.cc (operator * (const ComplexColumnVector& v, const | |
6582 ComplexRowVector& a)): Likewise | |
6583 | |
5095 | 6584 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
3225 | 6585 |
6586 * statdefs.h: Only define mode_t if not already defined. | |
6587 | |
5095 | 6588 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
3225 | 6589 |
6590 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero | |
6591 when appropriate. | |
6592 | |
6593 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6594 | |
6595 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name | |
6596 before calling rl_initialize. | |
6597 | |
3220 | 6598 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6599 | |
6600 * lo-specfun.cc (besselh, airy, biry): New functions. | |
6601 Update Bessel function support to use library by D. E. Amos. | |
6602 | |
3219 | 6603 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6604 | |
6605 * cmd-edit.h (command_editor::readline): Add new variation that | |
6606 allows EOF information to be passed back to caller. | |
6607 | |
6608 * dMatrix.cc (Matrix::read): Do the right thing for EOF when | |
6609 amount of data to read is unspecified. | |
6610 | |
3215 | 6611 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6612 | |
3219 | 6613 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
6614 (DEFINE_OCTAVE_ALLOCATOR): Ditto. | |
6615 | |
3215 | 6616 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
6617 Add volatile qualifier to void* arg. | |
6618 Cast volatile void* arg to volatile char*. | |
6619 | |
6620 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6621 | |
6622 * cmd-edit.h (command_editor::do_set_event_hook): New function. | |
6623 (command_editor::do_restore_event_hook): Ditto. | |
6624 * cmd-edit.cc (command_editor::set_event_hook): Ditto. | |
6625 (command_editor::restore_event_hook): Ditto. | |
6626 (gnu_readline::do_set_event_hook): Ditto. | |
6627 (gnu_readline::do_restore_event_hook): Ditto. | |
6628 (gnu_readline::previous_event_hook): New data member. | |
6629 (gnu_readline::gnu_readline): Initialize previous_event_hook. | |
6630 | |
3206 | 6631 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6632 | |
6633 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. | |
6634 | |
6635 * Makefile.in (stmp-pic): New target. | |
6636 ($(PICOBJ)): Depend on stmp-pic, not pic. | |
6637 (clean): Remove stmp-pic | |
6638 | |
6639 * Makefile.in: Undo previous change to avoid optmization when | |
6640 compiling lo-ieee.cc. | |
6641 | |
6642 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6643 | |
6644 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and | |
6645 imaginary parts. | |
6646 (xisinf): Define in terms of xisinf for real and imaginary parts. | |
6647 | |
3203 | 6648 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6649 | |
6650 * boolMatrix.cc (boolMatrix::operator !): New function. | |
6651 | |
3196 | 6652 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6653 | |
6654 * pathsearch.h (dir_path::default_path): New data member. | |
6655 * pathsearch.cc (dir_path::init): Use it. | |
6656 | |
6657 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. | |
6658 | |
3189 | 6659 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6660 | |
6661 * chMatrix.cc (charMatrix::extract): New function. | |
6662 (charMatrix::charMatrix (char c)): New constructor. | |
6663 | |
6664 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6665 | |
6666 * cmd-edit.h: (command_editor::do_read_init_file): New function. | |
6667 * cmd-edit.cc (command_editor::read_init_file): New function. | |
6668 (gnu_readline::do_read_init_file): Likewise. | |
6669 | |
3185 | 6670 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6671 | |
6672 * oct-env.cc (octave_env::do_get_home_directory): | |
6673 If HOME can't be found, set it to "/". | |
6674 (octave_env::do_get_user_name) | |
6675 If user name can't be found, set it to "unknown". | |
6676 (octave_env::do_get_host_name) | |
6677 If host name can't be found, set it to "unknown". | |
6678 | |
6679 * pathsearch.h (dir_path::rehash): New function. | |
6680 * pathsearch.cc (dir_path::init): Clear kpathsea's internal | |
6681 diretcory cache before doing initialization. | |
6682 | |
3180 | 6683 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6684 | |
3185 | 6685 * dMatrix.cc (Qzval): Delete. |
6686 (qzhes, qzit, qzval): Delete F77_FCN declarations. | |
6687 * dMatrix.h (Qzval): Delete declaration. | |
6688 | |
6689 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. | |
6690 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. | |
6691 * mx-ext.h: Don't include dbleGEPBAL. | |
6692 | |
3180 | 6693 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
6694 static_cast. | |
6695 | |
6696 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6697 | |
6698 * dMatrix.cc (Matrix::read): Skip after reading, not before. | |
6699 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. | |
6700 | |
6701 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6702 | |
6703 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on | |
6704 HUGE_VAL and NAN. | |
6705 | |
6706 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6707 | |
6708 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
6709 Handle x(i) = scalar for do_fortran_indexing == 1. | |
6710 | |
6711 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6712 | |
6713 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): | |
6714 Alloctate space before attempting to use it. | |
6715 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. | |
6716 | |
5095 | 6717 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
3178 | 6718 |
6719 * EIG.cc (EIG::init): Move invariant code outside loop. | |
6720 | |
6721 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6722 | |
6723 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result | |
6724 have the same size as the operands. | |
6725 | |
6726 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6727 | |
6728 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the | |
6729 call to ddassl, set integration_error to 1 before calling the | |
6730 error handler and returning. | |
6731 * LSODE.cc (LSODE::do_integrate): Likewise. | |
6732 | |
3177 | 6733 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6734 | |
6735 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if | |
6736 do_fortran_indexing is set, A([]) = scalar. | |
6737 * Array-idx.h (assign): Allow A([]) = scalar. | |
6738 | |
3176 | 6739 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6740 | |
6741 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not | |
6742 if dm_nc == 0. | |
6743 | |
3174 | 6744 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6745 | |
6746 * pathsearch.h (dir_path::p_orig): New field. | |
6747 * pathsearch.cc (dir_path::init): Perform variable and tilde | |
6748 expansion on the original path here. | |
6749 (dir_path::find_all): Don't do anything if not initialized. | |
6750 | |
3164 | 6751 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6752 | |
6753 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing | |
6754 is not set. | |
6755 (index): Allow x = zeros (2, 0); x(1,:) to work. | |
6756 | |
6757 * lo-specfun.cc (gammainc): Use dgamit to compute | |
6758 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just | |
6759 \int_0^x exp(-t) t^(a-1) dt. | |
6760 | |
6761 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6762 | |
6763 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, | |
6764 Array-s.cc: Change return types of all `assign' explicit | |
6765 instantiations to be int, not void, to match the template decl in | |
6766 Array.h. | |
6767 | |
3162 | 6768 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6769 | |
6770 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. | |
6771 | |
3156 | 6772 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6773 | |
6774 * lo-specfun.cc (xgamma, xlgamma): Define here. | |
6775 * lo-mappers.cc: Not here. | |
6776 | |
6777 * lo-specfun.h: Declare xgamma and xlgamma here. | |
6778 * lo-mappers.h: Not here. | |
6779 | |
6780 * lo-specfun.h: Never declare gamma or lgamma. | |
6781 | |
3154 | 6782 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6783 | |
6784 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an | |
6785 empty matrix of any dimension. | |
6786 | |
3145 | 6787 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6788 | |
3147 | 6789 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
6790 | |
3146 | 6791 * lo-specfun.cc: Don't include dbleBessel.h. |
6792 | |
6793 * Makefile.in (INCLUDES): Delete oct-math.h from the list. | |
6794 | |
3145 | 6795 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
6796 * file-stat.h (file_stat::operator bool ()): Likewise. | |
6797 * idx-vector.h (idx_vector::operator bool ()): Likewise. | |
6798 * oct-group.h (octave_group::operator bool ()): Likewise. | |
6799 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. | |
6800 | |
6801 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): | |
6802 Don't cast arg in call to swap_8_bytes. | |
6803 (IEEE_big_double_to_IEEE_little_double): Ditto | |
6804 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to | |
6805 swap_4_bytes. | |
6806 (IEEE_little_float_to_IEEE_big_float): Ditto | |
6807 | |
6808 * oct-alloc.cc (grow): Use X_CAST, not static_cast. | |
6809 * prog-args.cc (prog_args::getopt): Likewise. | |
6810 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. | |
6811 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. | |
6812 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): | |
6813 Likewise. | |
6814 | |
6815 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, | |
6816 swap_8_bytes): Declare ptr arg as void*, then use cast. | |
6817 | |
3141 | 6818 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6819 | |
6820 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). | |
6821 Use $(mk-libdir-link). | |
6822 | |
6823 * file-stat.cc (file_stat::update_internal): Use stat and lstat, | |
6824 not SAFE_STAT and SAFE_LSTAT. | |
6825 (lstat): New function, defined if HAVE_LSTAT is not defined. | |
6826 * safe-xstat.hin, safe-xstat.cin: Delete. | |
6827 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, | |
6828 safe-lstat.h, and safe-lstat.cc. | |
6829 | |
3136 | 6830 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6831 | |
6832 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. | |
6833 | |
3130 | 6834 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6835 | |
6836 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the | |
6837 trace is negative. | |
6838 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if | |
6839 the real part of the trace is negative. | |
6840 | |
6841 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6842 | |
6843 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. | |
6844 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. | |
6845 | |
6846 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] | |
6847 to succeed. | |
6848 | |
3125 | 6849 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6850 | |
6851 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. | |
6852 (make_uniq): Likewise. | |
6853 | |
6854 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6855 | |
6856 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. | |
6857 | |
3119 | 6858 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6859 | |
3121 | 6860 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
6861 | |
6862 * lo-specfun.h, lo-specfun.cc: New files. | |
3119 | 6863 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
6864 | |
3121 | 6865 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
6866 oct-math.h: Delete. | |
6867 * Makefile.in (SOURCES): Delete them from the list. | |
6868 | |
3112 | 6869 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6870 | |
6871 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. | |
6872 | |
5095 | 6873 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
3107 | 6874 |
6875 Changes to make support egcs snapshots that implement explicit | |
6876 specification of template functions according to CD2. | |
6877 | |
6878 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit | |
6879 template function specs for template friends. | |
6880 * MArray2.h: Likewise. | |
6881 * MDiagArray2.h: Likewise. | |
6882 | |
3095 | 6883 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6884 | |
6885 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) | |
6886 | |
3092 | 6887 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
6888 | |
6889 * CRowVector.cc (linspace): Removed attempt for implicit conversion | |
6890 to complex<double>(int) instead of complex<double>(double). | |
6891 | |
6892 * lo-mappers.cc (atanh): Ditto. | |
6893 | |
3079 | 6894 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6895 | |
6896 * idx-vector.cc (IDX_VEC_REP::sort): New function. | |
6897 * idx-vector.h (idx_vector::sort): Ditto. | |
6898 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before | |
6899 trying to delete elements specified by the index vectors. | |
6900 | |
3075 | 6901 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6902 | |
6903 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. | |
6904 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. | |
6905 | |
3074 | 6906 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6907 | |
6908 * file-ops.cc (tilde_expand_word): Fix off-by-one error. | |
6909 | |
3069 | 6910 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6911 | |
6912 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. | |
6913 Call error handler if we can't find the current directory. | |
6914 | |
3068 | 6915 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6916 | |
3069 | 6917 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
6918 (xfinite (double)): Ditto. | |
6919 | |
3068 | 6920 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
6921 * CmplxQR.cc (ComplexQR::init): Ditto. | |
6922 | |
3056 | 6923 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6924 | |
6925 * lo-mappers.cc (acos (const Complex&)): Select branch that is | |
6926 compatible with Matlab. | |
6927 | |
3050 | 6928 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6929 | |
6930 * Array2-idx.h: Correctly handle empty matrices indexed by a | |
6931 single colon. | |
6932 | |
3040 | 6933 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6934 | |
3049 | 6935 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
6936 (xgamma): Likewise, for calling xdgamma. | |
6937 | |
3042 | 6938 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
6939 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. | |
6940 | |
3040 | 6941 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
6942 to do better job expanding tildes. | |
6943 | |
6944 * str-vec.cc (string_vector::string_vector (const char * const *): | |
6945 Use temporary variable to compute length. | |
6946 | |
3029 | 6947 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6948 | |
3034 | 6949 * Makefile.in: Make building of static library optional. |
3036 | 6950 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034 | 6951 |
3029 | 6952 * Makefile.in (stamp-picdir): Delete. |
6953 (pic): New target. Don't worry so much about creating pic | |
6954 directory only when it is really needed. | |
6955 (stamp-interp): Delete. | |
6956 (libraries): New target. Depend on shared library directly. | |
6957 | |
3024 | 6958 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6959 | |
6960 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): | |
6961 New static function. | |
6962 | |
3012 | 6963 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6964 | |
6965 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. | |
6966 | |
3004 | 6967 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6968 | |
6969 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to | |
6970 set_basic_quote_characters, to match new version of readline. | |
6971 | |
6972 * cmd-edit.cc (do_restore_terminal_state): Call readline function | |
6973 for restoring terminal state through rl_deprep_term_function, now | |
6974 declared in readline.h | |
6975 (rl_deprep_terminal): Delete declaration. | |
6976 | |
2993 | 6977 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6978 | |
6979 * Makefile.in (install-in): Use new mk-includedir-link macro. | |
6980 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. | |
6981 | |
2968 | 6982 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6983 | |
6984 * cmd-edit.cc (command_editor::increment_current_command_number): | |
6985 New static function. | |
6986 | |
2964 | 6987 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6988 | |
2966 | 6989 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
6990 the vector is not sorted. | |
6991 | |
2964 | 6992 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
6993 * dMatrix.cc (Matrix::operator !): Likewise | |
6994 | |
2941 | 6995 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6996 | |
6997 * oct-syscalls.h, oct-syscalls.cc: New files. | |
6998 | |
6999 * cmd-edit.h, cmd-edit.cc: Handle completion function. | |
7000 | |
7001 * str-vec.h, str-vec.cc (string_vector::uniq): New function. | |
7002 | |
2938 | 7003 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7004 | |
2941 | 7005 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
7006 (install-inc): Use it. | |
7007 | |
2938 | 7008 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
7009 Handle errors and missing functions consistently. | |
7010 | |
7011 * oct-group.h, oct-group.cc: New files. | |
7012 | |
7013 * oct-passwd.cc: Handle errors and missing functions consistently. | |
7014 | |
7015 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. | |
7016 | |
2934 | 7017 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7018 | |
7019 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. | |
7020 * oct-env.cc (octave_env::do_get_user_name): Likewise. | |
7021 | |
7022 * oct-passwd.h, oct-passwd.cc: New files. | |
7023 | |
2926 | 7024 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7025 | |
7026 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. | |
7027 | |
7028 * mach-info.h, mach-info.cc: Add missing const qualifiers. | |
7029 (instance_ok ()): New function. | |
7030 | |
7031 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. | |
7032 | |
7033 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. | |
7034 | |
7035 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from | |
7036 src/utils.h and src/utils.cc. | |
7037 (octave_fgets): New function, extracted from src/input.cc. | |
7038 | |
7039 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for | |
7040 GNU readline, and allow Octave to work without GNU readline. | |
7041 | |
7042 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous | |
7043 system-dependent functions. | |
7044 | |
7045 * oct-env.h, oct-env.cc: New files for process environment stuff. | |
7046 | |
7047 * file-stat.h, file-stat.cc: New files. Extract file_stat class | |
7048 from file-ops.h and file-ops.cc and move here. | |
7049 | |
7050 * file-ops.h, file-ops.cc: Wrap functions in struct. Move | |
7051 tilde_expand functions here from src/dirfns.cc. | |
7052 | |
7053 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7054 | |
7055 * pathlen.h: New file, from ../src. | |
7056 | |
2917 | 7057 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7058 | |
7059 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent | |
7060 out-of-bounds indexing of the index array. | |
7061 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. | |
7062 | |
2850 | 7063 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7064 | |
7065 * LSODE.h (x_step_limit): New field. | |
7066 (LSODE_options::init): Initialize it. | |
7067 (LSODE_options::copy): Copy it. | |
7068 (LSODE_options::set_step_limit, LSODE_options::step_limit): | |
7069 New functions. | |
7070 (LSODE::working_too_hard): Delete. | |
7071 * LSODE.cc (LSODE::do_integrate): Handle step limit. | |
7072 | |
2844 | 7073 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7074 | |
7075 * MArray-b.cc: Delete. | |
7076 * Makefile.in: Delete it from the lists. | |
7077 | |
7078 * boolMatrix.h (class bboolMatrix): Derive from Array2, not | |
7079 MArray2, since most of the numeric ops don't really make sense. | |
7080 | |
2829 | 7081 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7082 | |
2832 | 7083 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
7084 | |
7085 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. | |
7086 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. | |
7087 | |
2830 | 7088 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
7089 idx_vector::freeze): Delete prefer_zero_one arg. | |
7090 * Array-idx.h, Array2-idx.h: Change all callers. | |
7091 | |
7092 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. | |
7093 | |
2829 | 7094 * mx-op-defs.h: New file for operator definitions. |
7095 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, | |
7096 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, | |
7097 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, | |
7098 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, | |
7099 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, | |
7100 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, | |
7101 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, | |
7102 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, | |
7103 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, | |
7104 mx-s-cm.cc, mx-s-dm.cc: | |
7105 New files for mixed-type operations. | |
7106 * Makefiles.in: Add them to the appropriate lists. | |
7107 | |
7108 * mx-inlines.cc: Add bool by bool EQ ops. | |
7109 | |
7110 * idx-vector.h, idx-vector.cc: Add constructors for bool and | |
7111 boolMatrix types. | |
7112 (idx_vector::maybe_convert_one_zero_to_idx, | |
7113 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): | |
7114 Delete second arg, prefer_zero_one. Change all callers. | |
7115 | |
7116 * boolMatrix.h, boolMatrix.cc: New files. | |
7117 * mx-base.h: Include boolMatrix.h here. | |
7118 * mx-defs.h: Provide forward declaration for boolMatrix here. | |
7119 | |
7120 * chMatrix.h, chMatrix.cc: Delete unused junk. | |
7121 | |
7122 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, | |
7123 operator-, operator*, product, and quotient functions. | |
7124 Add constructor for boolMatrix type. | |
7125 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, | |
7126 product, and quotient functions. | |
7127 | |
7128 * CDiagMatrix.h: Delete friend declarations for operator+, | |
7129 operator-, and product functions. | |
7130 * CDiagMatrix.h: Delete operator+, operator-, and product functions. | |
7131 | |
7132 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. | |
7133 | |
2815 | 7134 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7135 | |
7136 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. | |
7137 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. | |
7138 (EIG::symmetric_init (const Matrix&)): New function. | |
7139 (EIG::init (const Matrix&)): Call it if arg is symmetric. | |
7140 | |
7141 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. | |
7142 | |
7143 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7144 | |
7145 * Array2.cc (is_symmetric): New function. | |
7146 * Array2.h (is_square): New function. | |
7147 | |
2811 | 7148 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7149 | |
7150 * Makefile.in (install-strip): New target. | |
7151 | |
2804 | 7152 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7153 | |
7154 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
7155 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, | |
7156 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
7157 dbleSVD.cc: Don't include mx-inlines.cc. | |
7158 | |
7159 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of | |
7160 duplicate code. | |
7161 | |
2800 | 7162 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7163 | |
2804 | 7164 * dbleQR.h (QR): Delete extra comma at end of list. |
7165 | |
7166 * prog-args.cc (prog_args::getopt): Add missing const in cast. | |
7167 | |
7168 * dbleSVD.h (SVD::type): Delete extra comma at end of list. | |
7169 | |
7170 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and | |
7171 idx_vecotr_rep:: qualifiers. | |
7172 | |
7173 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. | |
7174 | |
7175 * data-conv.h (save_type): Delete extra comma at end of list. | |
7176 | |
2800 | 7177 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
7178 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, | |
7179 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of | |
7180 old C-style `(T) val' casts. | |
7181 | |
2795 | 7182 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7183 | |
7184 * dMatrix.cc (operator >>): Return if an error occurs instead of | |
7185 just breaking out of the innermost loop. | |
7186 * CMatrix.cc (operator >>): Likewise. | |
7187 | |
2779 | 7188 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775 | 7189 |
7190 * Version 2.0.5 released. | |
7191 | |
2767 | 7192 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7193 | |
7194 * CmplxQR.cc (ComplexQR::init): New function. | |
7195 (ComplexQR::ComplexQR): Use it. Use initializer list too. | |
7196 * CmplxQRP.cc (ComplexQRP::init): New function. | |
7197 Get sizes right in all cases. | |
7198 (ComplexQR::ComplexQRP): Use it. Use initializer list too. | |
7199 | |
7200 * dbleQR.cc (QR::init): New function. | |
7201 (QR::QR): Use it. Use initializer list too. | |
7202 * dbleQRP.cc (QRP::init): New function. | |
7203 Get sizes right in all cases. | |
7204 (QR::QRP): Use it. Use initializer list too. | |
7205 | |
2759 | 7206 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7207 | |
7208 * mach-info.cc (oct_mach_info::string_to_float_format): | |
7209 Recognize "vaxg", not "vax_g". | |
7210 | |
2713 | 7211 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7212 | |
2714 | 7213 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
7214 dimension in check for colon equivalent index. | |
7215 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element | |
7216 index whose value is 0 is also colon eqivalent for n == 1. | |
7217 | |
2713 | 7218 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
7219 system-specific tests first. | |
7220 | |
2709 | 7221 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702 | 7222 |
7223 * Version 2.0.4 released. | |
7224 | |
7225 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7226 | |
7227 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. | |
7228 | |
2693 | 7229 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690 | 7230 |
7231 * Version 2.0.3 released. | |
7232 | |
2686 | 7233 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7234 | |
7235 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. | |
7236 | |
2673 | 7237 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7238 | |
2676 | 7239 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
7240 (all): Don't depend on stamp-prereq or stamp-picdir. | |
7241 (liboctave.a, stamp-shared): Do depend on stamp-prereq. | |
7242 (stamp-picdir): Silence noise about making pic. | |
7243 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. | |
7244 | |
2673 | 7245 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
7246 Fix typo in last change. | |
7247 | |
7248 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): | |
7249 Convert from friend (moved from dColVector.cc). | |
7250 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): | |
7251 Likewise (moved from dMatrix.cc). | |
7252 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): | |
7253 Likewise (moved from dRowVector.cc). | |
7254 | |
7255 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. | |
7256 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. | |
7257 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. | |
7258 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. | |
7259 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. | |
7260 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. | |
7261 | |
7262 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. | |
7263 * dMatrix.cc (Matrix::apply): Likewise. | |
7264 * dRowVector.cc (RowVector::apply): Likewise. | |
7265 * CColVector.cc (ComplexColumnVector::apply): Likewise. | |
7266 * CMatrix.cc (ComplexMatrix::apply): Likewise. | |
7267 * CRowVector.cc (ComplexRowVector::apply): Likewise. | |
7268 | |
2668 | 7269 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7270 | |
7271 * lo-ieee.cc: Declare quiet_nan() and infinity(). | |
7272 | |
7273 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7274 | |
7275 * file-ops.cc (oct_unlink (const string&, string&)): | |
7276 New two-arg version. | |
7277 (oct_rmdir (const string&, string&)): New two-arg version. | |
7278 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. | |
7279 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. | |
7280 (oct_rename (const string&, const string&, string&)): | |
7281 New three-arg version. | |
7282 | |
2663 | 7283 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7284 | |
7285 * idx-vector.h (idx_vector::orig_empty): New function. | |
7286 | |
7287 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): | |
7288 Don't always resize to [](0x0) if one of the indices is empty or | |
7289 zero. | |
7290 | |
2658 | 7291 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7292 | |
7293 * cmd-hist.cc (command_history::read): New arg, must_exist. | |
7294 Set line_in_file here too. | |
7295 (command_history::read_range): New arg, must_exist. | |
7296 | |
2651 | 7297 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7298 | |
7299 * f2c-main.c: Change C++-style comments to C-style comments. | |
7300 | |
2638 | 7301 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7302 | |
7303 * Makefile.in (install-inc): Create a relative symbolic link. | |
7304 | |
2634 | 7305 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7306 | |
7307 * Version 2.0.2 released. | |
7308 | |
2624 | 7309 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7310 | |
7311 * Makefile.in (bin-dist): New target. | |
7312 | |
2621 | 7313 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7314 | |
7315 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. | |
7316 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. | |
7317 | |
2613 | 7318 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7319 | |
7320 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
7321 If the number of columns is zero, also set the number of rows to zero. | |
7322 (charMatrix::charMatrix (const char *)): Likewise. | |
7323 | |
2602 | 7324 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7325 | |
7326 * Version 2.0.1 released. | |
7327 | |
2601 | 7328 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7329 | |
7330 * dMatrix.cc (Matrix::read): Correctly compute the number of | |
7331 columns for resizing when the number of rows is specified but the | |
7332 number of columns is not. | |
7333 | |
2598 | 7334 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7335 | |
2599 | 7336 * Range.cc (operator -): New function. |
7337 | |
2598 | 7338 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
7339 | |
2589 | 7340 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7341 | |
7342 * Array2-idx.h (assign): Delay resizing left hand side until we | |
7343 know if the assignment conforms. | |
7344 | |
2583 | 7345 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7346 | |
7347 * Version 2.0 released. | |
7348 | |
2570 | 7349 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7350 | |
2575 | 7351 * Array2-idx.h (assign): If index is a colon, set number of |
7352 elements to the lhs dimension if the lhs dimension is greater than | |
7353 zero. Otherwise, set it to the rhs dimension. | |
7354 | |
7355 * Version 1.94. | |
7356 | |
2570 | 7357 * Array2-idx.h (assign): Test for rhs scalar case first. |
7358 If index is colon, set number of elements to lhs dimension, not | |
7359 rhs dimension. | |
7360 | |
2563 | 7361 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7362 | |
2566 | 7363 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
7364 * sun-utils.cc: Delete. | |
7365 * f2c-main.c: New file | |
7366 | |
7367 * Makefile.in: Fix file name lists. | |
7368 | |
2563 | 7369 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
7370 | |
2561 | 7371 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7372 | |
7373 * dMatrix.cc (Qzval): Don't try to use same memory three times. | |
7374 Create result using Complex constructor, not multiplication. | |
7375 Order elements as they are returned from Eispack. | |
7376 | |
2559 | 7377 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7378 | |
2560 | 7379 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
7380 Only include nan.h if SCO is defined. Define _IEEE before | |
7381 including it and undefine it afterward. | |
7382 [SCO] (isnan): Don't mistake Inf as NaN. | |
7383 | |
2559 | 7384 * Array-idx.h (assign): Only resize if assignment conforms. |
7385 | |
2551 | 7386 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7387 | |
7388 * Makefile.in (INCLUDES): Delete lo-error.h. | |
7389 * lo-error.h: Delete (moved to libcruft/misc). | |
7390 | |
7391 * Version 1.93. | |
7392 | |
2546 | 7393 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7394 | |
2549 | 7395 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
7396 be the same as they are in fnmatch.h. | |
7397 | |
2546 | 7398 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
7399 | |
7400 * Makefile.in (INCLUDES): Delete f77-fcn.h. | |
7401 (SOURCES): Delete f77-fcn.c. | |
7402 | |
2522 | 7403 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7404 | |
7405 * lo-ieee.h: [SCO]: Declare isinf and isnan. | |
7406 | |
2512 | 7407 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7408 | |
7409 * Version 1.92. | |
7410 | |
2508 | 7411 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7412 | |
2512 | 7413 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
7414 lines that have only carriage return or newline. | |
7415 | |
2508 | 7416 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
7417 | |
2500 | 7418 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7419 | |
7420 * idx-vector.cc (idx_is_inf_or_nan): New function. | |
7421 (IDX_VEC_REP::idx_vector_rep): Use it. | |
7422 | |
2493 | 7423 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7424 | |
7425 * str-vec.h, str-vec.cc: Add constructors to make string vectors | |
7426 from vectors of C strings. | |
7427 | |
7428 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string | |
7429 vector. | |
7430 (glob_match::match): Allow match string to be a string vector. | |
7431 (glob_match::glob): New function. | |
7432 | |
7433 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. | |
7434 | |
7435 * Array-b.cc: New file. | |
7436 * Makefile.in (TI_SRC): Add it to the list. | |
7437 | |
2492 | 7438 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7439 | |
7440 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h | |
7441 and safe-stat.h, to avoid getting them from $srcdir when we really | |
7442 want the version from the build directory. (Maybe this should be | |
7443 done for all the include files, not just those that are | |
7444 auto-generated? Hmm.) | |
7445 | |
2481 | 7446 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7447 | |
2482 | 7448 * Version 1.91. |
7449 | |
2481 | 7450 * Array3.cc (Array3<T>::resize): Make it work. |
7451 | |
7452 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7453 | |
7454 * oct-alloc.h, oct-alloc.cc: New files. | |
7455 * Makefile.in: Add them to the lists. | |
7456 | |
7457 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7458 | |
7459 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. | |
7460 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. | |
7461 | |
2466 | 7462 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7463 | |
7464 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, | |
7465 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
7466 file_stat::is_reg, file_stat::is_sock): Just return false if the | |
7467 underlying macro is not defined. | |
7468 | |
7469 * oct-math.h (lgamma, gamma): Delete declarations. | |
7470 (asinh, acosh, atanh, erf, erfc): Declare arg types too. | |
7471 Protect declarations with #ifdef HAVE_*. | |
7472 | |
2440 | 7473 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7474 | |
2452 | 7475 * Version 1.90. |
7476 | |
7477 * Makefile.in (DISTFILES): Add ChangeLog. | |
7478 | |
2444 | 7479 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
7480 | |
7481 * Matrix-ext.cc: Include <cfloat>, not <float.h>. | |
7482 | |
2443 | 7483 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444 | 7484 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
7485 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. | |
2443 | 7486 |
2440 | 7487 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
7488 since that is now accepatble syntax, even for built-in types. | |
7489 * Array2.h (T Array2<T>::checkelem): Likewise | |
7490 | |
2433 | 7491 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7492 | |
7493 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error | |
7494 message and return -1. | |
7495 | |
2428 | 7496 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7497 | |
2431 | 7498 * str-vec.h (str_vec_compare): Declare args as const void *, then |
7499 cast them to const string * in the body of the function. | |
7500 | |
7501 * file-ops.cc (file_stat::mode_as_string): Explicitly construct | |
7502 string from buf. | |
7503 | |
2428 | 7504 * Array3.h (Array3::checkelem): Tag bogus return value with |
7505 GCC_ATTRIBUTE_UNUSED. | |
7506 * Array2.h (Array2::checkelem): Likewise. | |
7507 | |
2424 | 7508 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7509 | |
7510 * Quad.h (Quad): Define virtual destructor. | |
7511 | |
2408 | 7512 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7513 | |
7514 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. | |
7515 | |
2401 | 7516 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7517 | |
7518 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ | |
7519 and MAIN__ extern "C". | |
7520 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. | |
7521 | |
2391 | 7522 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7523 | |
7524 * MArray-misc.cc: New file. | |
7525 * Makefile.in (MATRIX_SRC): Add it to the list. | |
7526 | |
7527 * mx-inlines.cc (equal): Return bool, not int. | |
7528 | |
7529 * idx-vector.h (idx_vector (double)): New constructor. | |
7530 | |
7531 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, | |
7532 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, | |
7533 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, | |
7534 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, | |
7535 CRowVector.cc: Logical operators return bool, not int. | |
7536 | |
7537 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): | |
7538 New function. | |
7539 | |
7540 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, | |
7541 Matrix::any_element_is_inf_or_nan, Matrix::abs, | |
7542 Matrix::all_elements_are_inf_or_nan): New functions. | |
7543 | |
7544 * Range.h, Range.cc (Range::all_elements_are_ints): New function. | |
7545 | |
7546 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant | |
7547 for errors. Simplify macros by converting FCN to string for error | |
7548 messages. | |
7549 | |
7550 * Array-idx.h (Array<T>::index): New function. Don't call | |
7551 clear_index() here. | |
7552 (Array<T>::value): Call it, do call clear_index() here. | |
7553 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for | |
7554 one and two arg index functions. | |
7555 | |
7556 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7557 | |
7558 * DAEFunc.h: Delete #pragma interface since there is no longer a | |
7559 separate implementation file. | |
7560 | |
2354 | 7561 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7562 | |
2358 | 7563 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
7564 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. | |
7565 | |
2356 | 7566 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
7567 sort_uniq. If sort_uniq is nonzero, sort the elements and make | |
7568 them uniq. | |
7569 | |
2354 | 7570 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
7571 ComplexMatrix::column_max, ComplexMatrix::column_min): | |
7572 Rewrite. Also return index as a reference arg. | |
7573 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, | |
7574 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): | |
7575 Delete. | |
7576 | |
7577 * dMatrix.cc (Matrix::row_max, Matrix::row_min, | |
7578 Matrix::column_max, Matrix::column_min): | |
7579 Rewrite. Also return index as a reference arg. | |
7580 (Matrix::row_max_loc, Matrix::row_min_loc, | |
7581 Matrix::column_max_loc, Matrix::column_min_loc): Delete. | |
7582 | |
7583 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7584 | |
7585 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, | |
7586 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, | |
7587 Matrix::column_min_loc, Matrix::column_max, | |
7588 Matrix::column_max_loc): Ignore leading NaNs. | |
7589 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, | |
7590 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, | |
7591 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, | |
7592 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore | |
7593 leading NaNs. | |
7594 | |
2352 | 7595 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7596 | |
7597 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds | |
7598 starting at n, not 0. | |
7599 | |
2349 | 7600 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7601 | |
7602 * dMatrix.cc (Matrix::Matrix (const RowVector&), | |
7603 Matrix::Matrix (const ColumnVector&)): New constructors. | |
7604 | |
7605 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), | |
7606 ComplexMatrix::ComplexMatrix (const ColumnVector&), | |
7607 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), | |
7608 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): | |
7609 New constructors. | |
7610 | |
7611 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): | |
7612 New constructor. | |
7613 | |
2343 | 7614 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7615 | |
7616 * LSODE.cc (do_integrate): Check to make sure that the state and | |
7617 derivative vectors are the same size. | |
2344 | 7618 * DASSL.cc (do_integrate): Likewise. |
2343 | 7619 |
2330 | 7620 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7621 | |
7622 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use | |
7623 iostreams and handler data format conversions. Delete old methods | |
7624 that used stdio. | |
7625 | |
7626 * data-conv.h, data-conv.cc (oct_data_conv): New class. | |
7627 | |
7628 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7629 | |
7630 * mach-info.h: Rename from float-fmt.h. | |
7631 * mach-info.cc: Rename from float-fmt.cc. | |
7632 Handle machine information using a singlton class. | |
7633 * Makefile.in: Update appropriate lists. | |
7634 | |
7635 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7636 | |
7637 * Array-flags.cc: Provide definitions for the flags even if | |
7638 OCTAVE_SOURCE is not defined. | |
7639 | |
7640 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects | |
7641 operator(), not elem(). | |
7642 * Array3.h: Move indexing methods here from Array3.cc. | |
7643 | |
7644 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7645 | |
7646 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). | |
7647 | |
7648 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of | |
7649 INSTALL_DATA for shared libs. | |
7650 | |
7651 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7652 | |
7653 * Quad.cc: Include lo-error.h here too. | |
7654 | |
7655 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7656 | |
7657 * file-ops.h: Include sys/types.h here. | |
7658 | |
7659 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7660 | |
7661 * chMatrix.cc (charMatrix::transpose): Provide definition. | |
7662 | |
7663 * Array-idx.h (maybe_delete_elements): Correctly compute number of | |
7664 elements in result. | |
7665 * Array2-idx.h (maybe_delete_elements): Likewise for number of | |
7666 rows and columns in result. | |
7667 | |
7668 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7669 | |
7670 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. | |
7671 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. | |
7672 | |
7673 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7674 | |
7675 * Makefile.in (install-inc): Install in octincludedir, not includedir. | |
7676 | |
7677 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7678 | |
7679 * Makefile.in (uninstall): Also delete shared library. | |
7680 Split install into install-libs and install-includes. | |
7681 (install-inc): If linkdir is a directory, leave it alone. | |
7682 | |
7683 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. | |
7684 | |
7685 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7686 | |
7687 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. | |
7688 * Array2-idx.h (assign): Likewise. | |
7689 | |
7690 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7691 | |
7692 * Array2.cc (Array2<T>::range_error): New functions. | |
7693 | |
7694 * Array.h (class Array<T>): elem() and operator() are now | |
7695 equivalent, and do bounds checking by default. | |
7696 * Array2.cc (class Array2<T>): Likewise. | |
7697 | |
7698 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7699 | |
7700 * Makefile.in (maintainer-clean, distclean): Also delete | |
7701 stamp-picdir, stamp-shared, and pic directory. | |
7702 (stamp-prereq): New target. | |
7703 | |
7704 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7705 | |
7706 * NPSOL.h (NPSOL_options::set_option (const char *, int)): | |
7707 New function. | |
7708 | |
7709 * Array.h, Array.cc (Array<T>::range_error ()): New functions. | |
7710 * Array.h (Array<T>::checkelem): Use them. | |
7711 | |
7712 * base-lu.h, base-lu.cc: Parameterize based on types of matrix | |
7713 elements too. | |
7714 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. | |
7715 | |
7716 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. | |
7717 | |
7718 * Makefile.in (distclean): Delete so_locations, which is created | |
7719 on DEC Alpha systems. | |
7720 | |
7721 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7722 | |
7723 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not | |
7724 already defined. | |
7725 | |
7726 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7727 | |
7728 * pathsearch.cc: Include config.h. | |
7729 | |
7730 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7731 | |
7732 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't | |
7733 allow M(I, J) = scalar if I or J is empty. | |
7734 | |
7735 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h | |
7736 and Array3-idx.h). | |
7737 | |
7738 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7739 | |
7740 * lo-error.h: Make comments C friendly. | |
7741 | |
7742 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7743 | |
7744 * Array2.h (make_unique): Move all indexing functions here. | |
7745 * Array2.cc: From here. | |
7746 | |
7747 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control | |
7748 whether operator() calls elem or checkelem. | |
7749 | |
7750 * Array.h (make_unique): New private function. | |
7751 Move all indexing functions here. | |
7752 * Array.cc: From here. | |
7753 | |
7754 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference | |
7755 it too. | |
7756 | |
7757 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, | |
7758 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, | |
7759 MArray-C.cc: Include config.h. | |
7760 | |
7761 * Array.h, Array2.h, DiagArray2.h, Array3.h: | |
7762 Don't define HEAVYWEIGHT_INDEXING here. | |
7763 | |
7764 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7765 | |
7766 * base-lu.h, base-lu.cc: New files. | |
7767 * Makefile.in: Add them to the appropriate lists. | |
7768 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. | |
7769 | |
7770 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7771 | |
7772 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h | |
7773 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h | |
7774 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. | |
7775 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. | |
7776 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. | |
7777 | |
7778 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. | |
7779 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. | |
7780 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. | |
7781 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: | |
7782 Simplify using new macros. | |
7783 | |
7784 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7785 | |
7786 * Makefile.in (install): If $(includedir) ends in version string, | |
7787 make link to name that does not include version info. | |
7788 | |
7789 * lo-ieee.cc: Include <cmath> here. | |
7790 | |
7791 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7792 | |
7793 * lo-ieee.cc, lo-ieee.h: New files. | |
7794 * lo-mappers.cc, lo-mappers.h: New files. | |
7795 * lo-utils.cc, lo-utils.h: New files. | |
7796 * Makefile.in: Add them to the appropriate lists. | |
7797 | |
7798 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7799 | |
7800 * dMatrix.cc (all_integers, too_large_for_float): New functions. | |
7801 * CMatrix.cc (all_integers, too_large_for_float): New functions. | |
7802 | |
7803 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, | |
7804 float-fmt.cc: New files. | |
7805 * Makefile.in: Include them in the appropriate lists. | |
7806 | |
7807 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7808 | |
7809 * dMatrix.cc (Qzval): New function. | |
7810 | |
7811 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7812 | |
7813 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not | |
7814 char*. | |
7815 | |
7816 * DASSL.h, DASSL.cc: Do better management of temporary workspace. | |
7817 Use F77_XFCN to call Fortran subroutine. | |
7818 * dColVector.cc, CColVector.cc: Likewise. | |
7819 * dRowVector.cc, CRowVector.cc: Likewise. | |
7820 * NPSOL.h, NPSOL.cc: Likewise. | |
7821 * CmplxCHOL.cc: Likewise. | |
7822 * dbleCHOL.cc: Likewise. | |
7823 * CMatrix.cc: Likewise. | |
7824 * dMatrix.cc: Likewise. | |
7825 * QPSOL.cc: Likewise. | |
7826 * LSODE.cc: Likewise. | |
7827 | |
7828 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7829 | |
7830 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. | |
7831 | |
7832 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary | |
7833 workspace. Use F77_XFCN to call Fortran subroutine. | |
7834 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. | |
7835 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. | |
7836 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. | |
7837 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. | |
7838 * CmplxHESS.h, CmplxHESS.cc: Likewise. | |
7839 * CmplxSVD.h, CmplxSVD.cc: Likewise. | |
7840 * dbleHESS.h, dbleHESS.cc: Likewise. | |
7841 * dbleSVD.h, dbleSVD.cc: Likewise. | |
7842 * EIG.h, EIG.cc; Likewise. | |
7843 * CollocWt.cc: Likewise. | |
7844 * NLEqn.cc: Likewise. | |
7845 * Quad.cc: Likewise. | |
7846 | |
7847 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7848 | |
7849 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. | |
7850 Use F77_XFCN to call Fortran subroutine. | |
7851 * CmplxLU.h, CmplxLU.cc: Ditto. | |
7852 * dbleQR.h, dbleQR.cc: Ditto. | |
7853 * CmplxQR.h, CmplxQR.cc: Ditto. | |
7854 * dbleQRP.h, dbleQRP.cc: Ditto. | |
7855 * CmplxQRP.h, CmplxQRP.cc: Ditto. | |
7856 | |
7857 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. | |
7858 (struct DIR): delete forward declaration. | |
7859 (dir_entry::operator = (const dir_entry$)): Protect against | |
7860 copying same object. | |
7861 * dir-ops.cc: Cast dir appropriately. | |
7862 | |
7863 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7864 | |
7865 * lo-error.cc: Moved to libcruft/misc. | |
7866 * Makefile.in: Delete it from the list. | |
7867 | |
7868 * f77-fcn.c (f77_context, f77_exception_encountered): Delete | |
7869 definitions (they have been moved to libcruft/misc/f77-extern.cc). | |
7870 | |
7871 * Array-flags.h: New file. | |
7872 * Array-idx.h: Include it here. | |
7873 * Makefile.in (MATRIX_INC): Add it to the list. | |
7874 | |
7875 * Array-flags.cc: Renamed from Array-ext.cc. | |
7876 (liboctave_dfi_flag): Renamed from dfi_flag. | |
7877 (liboctave_pcv_flag): Renamed from pcv_flag. | |
7878 (liboctave_pzo_flag): Renamed from pzo_flag. | |
7879 (liboctave_rre_flag): Renamed from rre_flag. | |
7880 * Array-idx.h: Change all uses of dfi_flag, etc. | |
7881 * Makefile.in (MATRIX_SRC): Change file name here too. | |
7882 | |
7883 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. | |
7884 (stamp-shared): Use them here. | |
7885 | |
7886 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7887 | |
7888 * cmd-hist.cc (command_history::ignore_entries): Delete default | |
7889 argument value. | |
7890 | |
7891 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7892 | |
7893 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, | |
7894 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, | |
7895 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, | |
7896 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: | |
7897 Clean up constructors, assigment operator. | |
7898 | |
7899 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7900 | |
7901 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. | |
7902 Check f77_exception_encountered on return. | |
7903 | |
7904 * f77-fcn.c (f77_exception_encountered): New variable. | |
7905 (F77_XFCN): Set it. | |
7906 * f77-fcn.h: Provide declaration. | |
7907 | |
7908 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). | |
7909 | |
7910 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). | |
7911 | |
7912 * NLEqn.h (NLEqn_options::set_options): New function. | |
7913 * Quad.h (Quad_options::set_options): Likewise. | |
7914 | |
7915 * LP.h (class LP): Add accessors for LP data. | |
7916 | |
7917 * NLEqn.h (NLEqn::n): Delete. | |
7918 | |
7919 * NLEqn.h (class NLEqn::n): Likewise. | |
7920 | |
7921 * NLP.h (class NLP): Add accessors for NLP data. | |
7922 | |
7923 * NPSOL.h (class NPSOL_options): Move constructors, set, and | |
7924 access functions here. | |
7925 * NPSOL.cc.cc: From here. | |
7926 | |
7927 * QLD.h (class QLD): Add destructor definition. | |
7928 * Objective.h (class Objective): Likewise. | |
7929 * ODEFunc.h (class ODEFunc): Likewise. | |
7930 * NLFunc.h (class NLFunc): Likewise. | |
7931 * NLEqn.h (class NLEqn): Likewise. | |
7932 * NLConst.h (class NLConst): Likewise. | |
7933 * LinConst.h (class LinConst): Likewise. | |
7934 * LSODE.h (class LSODE_options): Likewise. | |
7935 * CollocWt.h (class CollocWt): Likewise. | |
7936 * Bounds.h (class Bounds): Likewise. | |
7937 | |
7938 * QLD.cc (QLD::set_default_options): Delete. | |
7939 | |
7940 * QP.h (QP): Add accessors for QP data. | |
7941 Add copy constructor, operator =, and destructor definitions. | |
7942 | |
7943 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, | |
7944 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, | |
7945 DAEFunc.h, CollocWt.h, Bounds.h: | |
7946 Clean up constructors, assigment operator. | |
7947 | |
7948 * dRowVector.cc (RowVector::transpose): Use magic of reference | |
7949 counting to avoid duplicating the data immediately. | |
7950 * dColVector.cc (ColumnVector::transpose): Likewise. | |
7951 * CRowVector.cc (ComplexrowVector::transpose): Likewise. | |
7952 * CColVector.cc (ComplexColumnVector::transpose): Likewise. | |
7953 | |
7954 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7955 | |
7956 * prog-args.h (prog_args::option_argument): New enum. | |
7957 | |
7958 * f77-fcn.h: Rename from f77-uscore.h. | |
7959 (F77_XFCN_ERROR, F77_XFCN): New macros. | |
7960 * f77-fcn.c: New file. | |
7961 * Makefile.in (SOURCES): Add it to the list. | |
7962 | |
7963 * ODEFunc.h: Clean up. | |
7964 | |
7965 * DASSL.cc, DASSL.h: New files. | |
7966 * Makefile.in: Add them to the appropriate lists. | |
7967 | |
7968 * LSODE.cc, LSODE.h: New files. | |
7969 * Makefile.in: Add them to the appropriate lists. | |
7970 | |
7971 * ODE.cc: Delete. | |
7972 * Makefile.in (SOURCES): Remove from list. | |
7973 | |
7974 * base-de.h, DAE.cc: New files. | |
7975 * Makefile.in: Add them to the appropriate lists. | |
7976 * ODE.h: Only define interface for ODE classes. | |
7977 * DAE.h: Only define interface for ODE classes. | |
7978 | |
7979 * LPsolve.cc (do_minimize): Print sorry not implemented message. | |
7980 (LPsolve::set_default_options)): Delete | |
7981 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and | |
7982 destructor. | |
7983 | |
7984 * LP.h (class LP): Add operator =, copy constructor, and destructor. | |
7985 | |
7986 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. | |
7987 (QPSOL::operator =): Call base class operator = instead of assuming | |
7988 we know what to copy. | |
7989 | |
7990 * base-min.h (size): New function. | |
7991 | |
7992 * NLP.h (NLP::size): Delete. | |
7993 (NLP::NLP (const NLP&)): New constructor. | |
7994 (NLP::operator =): Call base class operator = instead of assuming | |
7995 we know what to copy. | |
7996 | |
7997 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. | |
7998 (class NPSOL): Add operator = and destructor. | |
7999 | |
8000 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. | |
8001 | |
8002 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8003 | |
8004 * Makefile.in (liboctave.a): Depend on $(PICOBJ). | |
8005 | |
8006 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8007 | |
8008 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. | |
8009 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. | |
8010 | |
8011 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8012 | |
8013 * prog-args.h, prog-args.cc: New files. | |
8014 * Makefile.in: Add them to lists. | |
8015 | |
8016 * getopt.h, getopt.c, getopt1.c: New files. | |
8017 * Makefile.in: Add them to the lists. | |
8018 | |
8019 * oct-term.h, oct-term.cc: New files. | |
8020 * Makefile.in: Add them to the lists. | |
8021 | |
8022 * str-vec.cc: New file. | |
8023 * Makefile.in (SOURCES): Add it to the list. | |
8024 | |
8025 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. | |
8026 | |
8027 * tempname.c, tempnam.c: Move here from src directory. | |
8028 * Makefile.in: Add to lists. | |
8029 | |
8030 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8031 | |
8032 * cmd-hist.h, cmd-hist.cc: New files. | |
8033 * Makefile.in: Add them to lists. | |
8034 | |
8035 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8036 | |
8037 * oct-glob.h, oct-glob.cc: New files. | |
8038 * Makefile.in: Add them to lists. | |
8039 | |
8040 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8041 | |
8042 * pathsearch.h, pathsearch.cc: New files. | |
8043 * Makefile.in: Add them to lists. | |
8044 | |
8045 * dir-ops.h, dir-ops.cc: New files. | |
8046 * sysdir.h: Move here from src directory. | |
8047 * Makefile.in: Add them to lists. | |
8048 | |
8049 * Array.h (Array::qsort): Return *this, not void. | |
8050 * str-vec.h (string_vector::qsort): Likewise. | |
8051 | |
8052 * chMatrix.cc (row_as_string): Resize result to eliminate | |
8053 unnecessary NULs. | |
8054 | |
8055 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8056 | |
8057 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, | |
8058 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: | |
8059 Files moved here from src directory. | |
8060 * Makefile.in: Add them to lists. Include appropriate rules. | |
8061 | |
8062 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
8063 Use pointers, not references (this is C code!). | |
8064 | |
8065 * oct-math.h: New file. | |
8066 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
8067 Files moved here from src directory. | |
8068 * Makefile.in: Add them to lists. | |
8069 | |
8070 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8071 | |
8072 * idx-vector.cc (make_uniq): Fix major brain-o. | |
8073 | |
8074 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: | |
8075 Convert to use string class instead of char*. | |
8076 | |
8077 * str-vec.h, Array-str.cc: New files. | |
8078 | |
8079 * Array.h (Array::qsort): New function. | |
8080 | |
8081 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8082 | |
8083 * Array.h: Nest ArrayRep class inside Array class. | |
8084 Refer to ArrayRep, not ArrayRep<T>. | |
8085 Move all ArrayRep functions inline. | |
8086 Don't declare other Array classes as friends of ArrayRep. | |
8087 * Array.cc: Delete ArrayRep functions. | |
8088 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. | |
8089 | |
8090 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: | |
8091 Don't instantiate ArrayRep objects. | |
8092 | |
8093 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8094 | |
8095 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
8096 New constructor. | |
8097 | |
8098 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8099 | |
8100 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* | |
8101 for balance_job arg. | |
8102 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. | |
8103 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. | |
8104 | |
8105 * chMatrix.cc (row_as_string): Return string, not const char*. | |
8106 | |
8107 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8108 | |
8109 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. | |
8110 | |
8111 * chMatrix.cc (row_as_string): Undo previous change. | |
8112 | |
8113 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8114 | |
8115 * chMatrix.cc (row_as_string): Do memory management here. Caller | |
8116 is expected to save string if necessary. | |
8117 | |
8118 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8119 | |
8120 * Array.h (class DiagArray): Enable nested Proxy class for all | |
8121 platforms. | |
8122 | |
8123 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == | |
8124 a.rep, don't mess with count. | |
8125 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, | |
8126 don't do anything if reps are the same. | |
8127 (Array3<T>& operator = (const Array3<T>&) | |
8128 | |
8129 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): | |
8130 Declare private with no definition to prevent misuse. | |
8131 | |
8132 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): | |
8133 Get range check right. | |
8134 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. | |
8135 (Matrix::insert (const ColumnVector&, int, int)): Ditto. | |
8136 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. | |
8137 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. | |
8138 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. | |
8139 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. | |
8140 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. | |
8141 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. | |
8142 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. | |
8143 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. | |
8144 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. | |
8145 * dColVector.cc | |
8146 (ColumnVector::insert (const ColumnVector&, int)): Ditto. | |
8147 * CRowVector.cc | |
8148 (ComplexRowVector::insert (const RowVector&, int)): Ditto. | |
8149 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. | |
8150 * CColVector.cc | |
8151 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. | |
8152 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. | |
8153 | |
8154 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): | |
8155 Also fill in zeros, not just the diagonal. | |
8156 | |
8157 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): | |
8158 Use END parameter properly. | |
8159 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. | |
8160 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. | |
8161 | |
8162 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. | |
8163 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. | |
8164 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): | |
8165 Don't copy count. Set it to 1. | |
8166 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. | |
8167 | |
8168 * Array.h (Array<T>::Array (T *, int)): After constructing rep, | |
8169 don't set rep->count to 1 here (now handled by ArrayRep | |
8170 constructors). | |
8171 (Array<T>::Array (void)): Ditto. | |
8172 (Array<T>::Array (int)): Ditto. | |
8173 (Array<T>::T& elem (int)): Ditto. | |
8174 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. | |
8175 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. | |
8176 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. | |
8177 (Array<T>::resize (int)): Ditto. | |
8178 (Array<T>::resize (int, const T&)) :Ditto. | |
8179 (Array<T>::fortran_vec (void)): Ditto. | |
8180 (Array2<T>::resize (int, int)): Ditto. | |
8181 (Array2<T>::resize (int, int, const T&)): Ditto. | |
8182 (DiagArray<T>::resize (int, int)): Ditto. | |
8183 (DiagArray<T>::resize (int, int, const T&)): Ditto. | |
8184 | |
8185 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8186 | |
8187 * Array-ch.cc: Rename from Array-c.cc. | |
8188 * MArray-ch.cc: Rename from MArray-c.cc. | |
8189 * chMatrix.cc: Rename from cMatrix.cc. | |
8190 * chMatrix.h: Rename from cMatrix.h. | |
8191 * Makefile.in (TI_SRC): Use new names here. | |
8192 * mx-base.h: Likewise. | |
8193 | |
8194 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8195 | |
8196 * Makefile.in: Handle shared libraries. | |
8197 | |
8198 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8199 | |
8200 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): | |
8201 Correctly compute length of return value. Correct rows and | |
8202 columns in zgemv call. | |
8203 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. | |
8204 | |
8205 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8206 | |
8207 * Makefile.in (stamp-picdir): New target. | |
8208 (all): Depend on it. | |
8209 | |
8210 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8211 | |
8212 * Makefile.in (INCLUDES): Remove QLD.h. | |
8213 (SOURCES): Remove QLD.cc. | |
8214 | |
8215 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8216 | |
8217 * dMatrix.cc (Matrix::inverse): New arg, force. | |
8218 If force is nonzero, invert even if matrix is singular. | |
8219 (ComplexMatrix::inverse): Likewise. | |
8220 | |
8221 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, | |
8222 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, | |
8223 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: | |
8224 Include "oct-cmplx.h" instead of <Complex.h>. | |
8225 | |
8226 * mx-defs.h: Include oct-cmplx.h in place of forward declaration | |
8227 for class Complex. | |
8228 | |
8229 * oct-cmplx.h: New file. | |
8230 * Makefile.in (INCLUDES): Add it to the list. | |
8231 | |
8232 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. | |
8233 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. | |
8234 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. | |
8235 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): | |
8236 Avoid g++ bugs. | |
8237 | |
8238 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8239 | |
8240 * Array-idx.h (maybe_delete_elements): Give useful error message. | |
8241 | |
8242 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. | |
8243 | |
8244 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8245 | |
8246 * CDiagMatrix.cc (inverse): Return retval, not *this. | |
8247 * dDiagMatrix.cc (inverse): Use same method as for Complex case. | |
8248 | |
8249 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8250 | |
8251 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep | |
8252 index vector object with Array, not ArrayRep. | |
8253 | |
8254 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8255 | |
8256 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail | |
8257 if index is a colon and resizing is maybe needed. | |
8258 | |
8259 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8260 | |
8261 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true | |
8262 if we have a vector of 1's. | |
8263 | |
8264 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no | |
8265 current orientation, require index and rhs to conform unless | |
8266 do_fortran_indexing flag is set. | |
8267 | |
8268 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8269 | |
8270 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, | |
8271 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, | |
8272 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, | |
8273 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, | |
8274 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: | |
8275 Massive changes to support additional data types. Only charMatrix | |
8276 is currently used in Octave. | |
8277 | |
8278 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8279 | |
8280 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. | |
8281 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): | |
8282 Simply call Array2<Complex> version. | |
8283 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just | |
8284 call Array2<double> version. | |
8285 | |
8286 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. | |
8287 | |
8288 * Array.h, Array.cc: Massive overhaul to support new way of | |
8289 handling indexing. | |
8290 * idx-vector.h, idx-vector.cc: Likewise. | |
8291 * Array-ext.cc, Array-idx.h: New files. | |
8292 * Makefile.in: Add them to the appropriate lists. | |
8293 | |
8294 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8295 | |
8296 * Range.cc (nelem_internal): Use tfloor here, not round. | |
8297 | |
8298 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8299 | |
8300 * idx-vector.h, idx-vector.cc: New files, moved from ../src. | |
8301 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. | |
8302 | |
8303 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8304 | |
8305 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. | |
8306 | |
8307 * Array.h: Move simple member functions here. | |
8308 * Array.cc: From here. | |
8309 | |
8310 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8311 | |
8312 * Range.cc (tfloor, tceil, round): New static functions. | |
8313 (Range::nelem_internal): Rewrite to use better method. | |
8314 | |
8315 * dbleSVD.h (SVD::type): New item, sigma_only. | |
8316 (type_computed): New var. | |
8317 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): | |
8318 Handle possible error condition. | |
8319 (init): Allow for SVD::sigma_only, save type computed. | |
8320 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): | |
8321 Handle possible error condition. | |
8322 (init): Allow for SVD::sigma_only, save type computed. | |
8323 | |
8324 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8325 | |
8326 * Nearly all non-matrix .h and .cc files: | |
8327 Move short function bodies into class declarations for inlining. | |
8328 Generally clean up. | |
8329 | |
8330 * base-min.h: New file. | |
8331 * LP.h (class LP): Derive from base_minimizer. | |
8332 * QLP.h (class QLP): Derive from base_minimizer. | |
8333 * NLP.h (class NLP): Derive from base_minimizer. | |
8334 * Makefile.in (INCLUDES): Add base-min.h to the list. | |
8335 | |
8336 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, | |
8337 NLFunc.cc, Objective.cc and QP.cc from list. | |
8338 | |
8339 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8340 | |
8341 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. | |
8342 (SCHUR::SCHUR): Delete unused parameter ord. | |
8343 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. | |
8344 | |
8345 * CRowVector.cc | |
8346 (ComplexRowVector::operator+ (const Complex&, const RowVector&), | |
8347 (ComplexRowVector::operator- (const Complex&, const RowVector&), | |
8348 (ComplexRowVector::operator* (const Complex&, const RowVector&), | |
8349 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): | |
8350 Actually do something. | |
8351 | |
8352 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. | |
8353 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. | |
8354 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. | |
8355 | |
8356 * Quad.cc (Quad_options::Quad_options (double, double)): New function. | |
8357 * (Quad::Quad (integrand_fcn, double, double): Properly initialize | |
8358 tolerances. | |
8359 | |
8360 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. | |
8361 * LPsolve.cc (LPsolve::minimize): Likewise. | |
8362 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. | |
8363 * ODE.cc (lsode_f, lsode_j): Likewise. | |
8364 * QPSOL.cc (qphess): Likewise. | |
8365 | |
8366 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8367 | |
8368 * dMatrix.cc: Include <cstring>. | |
8369 | |
8370 * Array.cc: Try harder to avoid warnings from gcc in functions | |
8371 that return bogus values after calling the error handler. | |
8372 | |
8373 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8374 | |
8375 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. | |
8376 | |
8377 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. | |
8378 | |
8379 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8380 | |
8381 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. | |
8382 (dassl_j): Likewise. | |
8383 | |
8384 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, | |
8385 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, | |
8386 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: | |
8387 Update for change in for loop variable scope for gcc 2.7.0. | |
8388 | |
8389 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8390 | |
8391 * Makefile.in: Only include dependency files if $(omit_deps) is | |
8392 not set. | |
8393 | |
8394 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) | |
8395 | |
8396 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h | |
8397 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h | |
8398 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h | |
8399 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h | |
8400 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h | |
8401 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h | |
8402 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h | |
8403 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h | |
8404 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc | |
8405 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc | |
8406 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc | |
8407 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc | |
8408 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc | |
8409 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc | |
8410 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc | |
8411 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc | |
8412 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc | |
8413 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h | |
8414 NLP.h: Use pragma interface/implementation. Don't surround | |
8415 contents in extern "C++". | |
8416 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". | |
8417 | |
8418 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8419 | |
8420 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase | |
8421 identifiers. | |
8422 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
8423 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
8424 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
8425 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
8426 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
8427 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
8428 Quad.cc: Change usage of F77_FCN to match new definition | |
8429 | |
8430 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
8431 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
8432 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
8433 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
8434 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
8435 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
8436 Quad.cc: Where appropriate, declare Fortran subroutines to take | |
8437 args by reference instead of pointer. Change all callers. | |
8438 | |
8439 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8440 | |
8441 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New | |
8442 functions. Make += and -= operators friend functions. | |
8443 | |
8444 * Array.h (Array2::~Array2, Array3::~Array3, | |
8445 DiagArray::~DiagArray): New functions. | |
8446 | |
8447 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8448 | |
8449 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. | |
8450 (MATRIX_INC): Don't distribute mx-kludge.h. | |
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 Derive classes from MArray, MArray2, and MDiagArray, not Array, | |
8457 Array2, and DiagArray2. | |
8458 Don't use functions defined in mx-kludge.cc for arithmetic | |
8459 like-type operations on arrays. | |
8460 | |
8461 * MArray.cc: Use the classes defined here like-type mathematical | |
8462 operations on Array objects. Abuse CPP more. | |
8463 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
8464 (EXTRAS): Delete it from this list. | |
8465 | |
8466 * MArray-C.cc, MArray-d.cc: New files. | |
8467 * Makefile.in (TI_SRC): Add them to the list. | |
8468 | |
8469 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8470 | |
8471 * mx-kludge.cc: Abuse CPP even more. | |
8472 | |
8473 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8474 | |
8475 * Objective.h (objective_function): Add missing const. | |
8476 (gradient_function): Likewise. | |
8477 | |
8478 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
8479 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
8480 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
8481 dRowVector.h dRowVector.cc: | |
8482 Reorganize to declare and define friends where they should be, | |
8483 based on the use of private constructors. | |
8484 | |
8485 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8486 | |
8487 * CRowVector.h (linspace): Add declaration. | |
8488 * dRowVector.h (linspace): Likewise. | |
8489 | |
8490 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
8491 Force result of rcond + 1.0 to be stored. | |
8492 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, | |
8493 ComplexMatrix::solve): Likewise. | |
8494 | |
8495 See ChangeLog.1 in the top level directory for earlier changes. |