Mercurial > hg > octave-lojdl
annotate liboctave/ChangeLog @ 7602:7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
author | David Bateman <dbateman@free.fr> |
---|---|
date | Wed, 19 Mar 2008 10:38:33 -0400 |
parents | 8a939b217863 |
children | 48488cca0006 |
rev | line source |
---|---|
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
1 2008-03-19 David Bateman <dbateman@free.fr> |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2 |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
3 * Sparse.h (template <class U, class F> Sparse<U> map (F fcn) |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
4 const): New template function. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
5 * MSparse.h (template <class U, class F> MSparse<U> map (F fcn) |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
6 const): ditto. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
7 * dSparse.cc (SparseMatrix SparseMatrix::map (dmapper) const, |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
8 SparseComplexMatrix SparseMatrix::map (cmapper) const, |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
9 SparseBoolMatrix SparseMatrix::map (bmapper) const): Rewrite in |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
10 terms of the new template functor. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
11 * CSparse.cc (SparseMatrix SparseComplexMatrix::map (dmapper) const, |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
12 SparseComplexMatrix SparseComplexMatrix::map (cmapper) const, |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
13 SparseBoolMatrix SparseComplexMatrix::map (bmapper) const): ditto. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
14 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
15 2008-03-18 David Bateman <dbateman@free.fr> |
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
16 |
7601
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
17 * lo-specfun.cc (Complex xlgamma (const Complex&)): New function. |
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
18 * lo-specfun.h (Complex xlgamma (const Complex&)): Declare it. |
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
19 * randpoison.c (xlgamma): Use lgamma if HAVE_LGAMMA is defined. |
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
20 |
7600
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
21 * 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
|
22 * CNDarray.cc (ComplexNDArray::min, CompelxNDArray::max): ditto. |
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
23 * 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
|
24 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
25 * 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
|
26 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
|
27 |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
28 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
|
29 |
7598
a89b3fa632ee
partial specialization for octave_int_fit_to_range
John W. Eaton <jwe@octave.org>
parents:
7597
diff
changeset
|
30 * 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
|
31 Use partial specialization for double values. |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
32 |
7573
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
33 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
|
34 |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
35 * 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
|
36 * 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
|
37 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
|
38 * idx-vector.cc, idx-vector.h |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
39 (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
|
40 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
|
41 (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
|
42 (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
|
43 (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
|
44 |
7572
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
45 2008-03-07 John W. Eaton <jwe@octave.org> |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
46 |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
47 * 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
|
48 IDX_VEC_REP::idx_vector_rep (const boolNDArray&)): |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
49 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
|
50 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
|
51 (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
|
52 |
7559
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
53 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
|
54 |
7560
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
55 * 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
|
56 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
|
57 * 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
|
58 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
|
59 |
7559
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
60 * dbleCHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
61 * CmplxHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
62 * 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
|
63 * 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
|
64 * 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
|
65 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
66 2008-03-04 Jaroslav Hajek <highegg@gmail.com> |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
67 |
7554
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
68 * dbleCHOL.cc (CHOL::set, CHOL::update, CHOL::downdate): |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
69 New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
70 * dbleCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
71 * CmplxCHOL.cc (ComplexCHOL::set, ComplexCHOL::update, |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
72 ComplexCHOL::downdate): New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
73 * CmplxCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
74 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
75 * 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
|
76 QR::insert_row, QR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
77 (QR::QR (const Matrix&, const MAtrix&)): New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
78 * dbleQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
79 * CmplxQR.cc (ComplexQR::update, ComplexQR::insert_col, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
80 ComplexQR::delete_col, ComplexQR::insert_row, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
81 ComplexQR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
82 (ComplexQR::ComplexQR (const ComplexMatrix&, const ComplexMAtrix&)): |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
83 New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
84 * CmplxQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
85 |
7549
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
86 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
|
87 |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
88 * 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
|
89 of < and > operators. |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
90 |
7546
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
91 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
|
92 |
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
93 * 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
|
94 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
|
95 |
7545 | 96 2008-03-03 Jaroslav Hajek <highegg@gmail.com> |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
97 |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
98 * dMatrix.cc (Matrix::lssolve): Also avoid dgelsd lwork query bug |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
99 in lssolve method that accepts column vector argument. Correct |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
100 calculation of nlvl. |
7545 | 101 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd. |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
102 |
7537
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
103 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
|
104 |
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
105 * 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
|
106 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
107 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
|
108 |
7536 | 109 * oct-rand.cc (get_dist_id): Fix typo. |
110 (get_dist_id, octave_rand::distribution, octave_rand::scalar, | |
111 fill_rand): Improve error messages. | |
112 | |
7535
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
113 * 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
|
114 (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
|
115 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
|
116 (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
|
117 |
7533
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
118 * 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
|
119 (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
|
120 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
|
121 (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
|
122 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
|
123 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
|
124 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
|
125 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
|
126 (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
|
127 (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
|
128 (octave_rand::uniform_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
129 octave_rand::normal_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
130 octave_rand::exponential_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
131 octave_rand::poisson_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
132 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
|
133 (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
|
134 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
|
135 (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
|
136 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
137 * 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
|
138 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd |
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
139 |
7521
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
140 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
|
141 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
142 * 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
|
143 specializations for signed and unsigned types. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
144 (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
|
145 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
|
146 octave_int_helper class. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
147 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
148 * 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
|
149 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
|
150 with "template <>". |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
151 |
7520 | 152 2008-02-22 John W. Eaton <jwe@octave.org> |
153 | |
154 * CSparse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc, | |
155 file-ops.cc, oct-group.cc, oct-shlib.cc, sparse-base-chol.h, | |
156 sparse-dmsolve.cc: Use 0 instead of NULL. | |
157 | |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
158 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
|
159 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
160 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
161 (octave_idx_type) const): New method. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
162 * boolSparse.h (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
163 (octave_idx_type) const): Declare it. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
164 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
165 * 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
|
166 factorization of xGETRF directly. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
167 * 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
|
168 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
|
169 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
|
170 to simulate the retirn of xGETRF. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
171 * 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
|
172 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
|
173 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
|
174 (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
|
175 * 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
|
176 scaling. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
177 * SparseCmplxLU.cc: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
178 * 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
|
179 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
|
180 * SparseCmplxLU.h: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
181 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
182 * 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
|
183 return permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
184 * 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
|
185 * 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
|
186 return row permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
187 (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
|
188 permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
189 * 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
|
190 (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
|
191 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
192 * 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
|
193 |
7505
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
194 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
|
195 |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
196 * 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
|
197 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
|
198 (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
|
199 * 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
|
200 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
|
201 (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
|
202 * 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
|
203 * 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
|
204 |
7503
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
205 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
|
206 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
207 * boolNDArray.h (boolNDArray (const Array2<bool>&)): Delete. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
208 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
209 * Marray2.h (MArray2 (const Array2<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
210 MArray2 (const MArray2<U>&)): New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
211 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
212 * Array2.h (Array2 (const Array<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
213 Array2 (const Array<U>&, const dim_vector&)): |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
214 New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
215 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
216 * CColVector.cc (ComplexColumnVector::map): Forward to MArray::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
217 * dColVector.cc (ColumnVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
218 * CRowVector.cc (ComplexRowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
219 * dRowVector.cc (RowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
220 * CMatrix.cc (ComplexMatrix::map): Forward to MArray2::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
221 * dMatrix.cc (Matrix::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
222 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
223 * dNDArray.cc (NDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
224 * dNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
225 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
226 * CNDArray.cc (ComplexNDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
227 * CNDArray.h: Provide decls. |
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 * MArray2.h (MArray2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
230 * Array2.h (Array2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
231 * MArrayN.h (MArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
232 * ArrayN.h (ArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
233 * Array.h (Array<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
234 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
235 * functor.h: New file. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
236 * Makefile.in (INCLUDES): Add it to the list. |
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 2008-02-20 David Bateman <dbateman@free.fr> |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
239 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
240 * CColVector.h, CColVector.cc (ComplexColumnVector::apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
241 * dColVector.h, dColVector.cc (ColumnVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
242 * CRowVector.h, CRowVector.cc (ComplexRowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
243 * dRowVector.h, dRowVector.cc (RowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
244 * CMatrix.h, CMatrix.cc (ComplexMatrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
245 * dMatrix.h, dMatrix.cc (Matrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
246 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
247 * CSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
248 (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
|
249 * CSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
250 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
251 * dSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
252 (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
|
253 * dSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
254 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
255 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
256 * intNDArray.cc (abs, signum): Two new mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
257 * intNDArray.h (abs, signum): Declare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
258 * 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
|
259 base type. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
260 |
7486
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
261 2008-02-15 John W. Eaton <jwe@octave.org> |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
262 |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
263 * 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
|
264 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
|
265 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
266 |
7482
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
267 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
|
268 |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
269 * 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
|
270 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
|
271 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
|
272 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
|
273 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
|
274 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
|
275 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc: |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
276 Don't check f77_exception_encountered. |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
277 |
7477 | 278 2008-02-12 John W. Eaton <jwe@octave.org> |
279 | |
280 * CMatrix.cc: Declare xilaenv instead of ilaenv. | |
281 (ComplexMatrix::lssolve): Call xilaenv instead of ilaenv. | |
282 | |
7476 | 283 2008-02-12 Jason Riedy <ejr@cs.berkeley.edu> |
284 | |
7480 | 285 * Array.cc (ascending_compare, descending_compare): Remove |
286 non-standard extern in the instantiations. | |
287 | |
288 * oct-sort.cc: Include <cstring> and sprinkle with std:: as needed. | |
289 | |
7476 | 290 * dMatrix.cc (ILAENV): Declare LAPACK Fortran function. |
291 (Matrix::lssolve): Use ILAENV to query smlsiz. And add an ugly | |
292 workaround for DGELSD's broken lwork query. The formula is from | |
293 LAPACK's dgelsd.f source and allocates enough workspace to use an | |
294 efficient algorithm in the short-and-fat case (n > m). | |
295 * CMatrix.cc (ILAENV): Declare LAPACK Fortran function. | |
296 (ComplexMatrix::lssolve): Use ILAENV to query smlsiz. And add an | |
297 ugly workaround for DGELSD's broken lwork query, as with double. | |
298 | |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
299 2008-02-12 John W. Eaton <jwe@octave.org> |
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
300 |
7470
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
301 * sparse-sort.cc: Don't explicitly instantiate |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
302 class octave_sort<octave_idx_vector_sort *>, |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
303 class octave_sort<octave_idx_type>, or |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
304 class octave_sort<octave_sparse_sort_idxl *>. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
305 |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
306 * Sparse.h (INSTANTIATE_SPARSE_SORT): Delete macro. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
307 * 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
|
308 |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
309 * 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
|
310 |
7466
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
311 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
|
312 |
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
313 * 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
|
314 |
7463
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
315 2008-02-08 John W. Eaton <jwe@octave.org> |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
316 |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
317 * oct-sort.h (enum sortmode): Eliminate UNDEFINED. Change all |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
318 uses of UNDEFINED to ASCENDING. |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
319 |
7457 | 320 2008-02-07 John W. Eaton <jwe@octave.org> |
321 | |
7458 | 322 * Range.cc (Range::sort_internal): Rename from sort. New arg, |
323 ASCENDING, with default value of true. | |
324 (Range::sort_internal (Array<octave_idx_type>&, bool)): New function. | |
325 (Range::sort (octave_idx_type, sortmode) const): New function. | |
326 (Range::sort (Array<octave_idx_type>&, octave_idx_type, sortmode) | |
327 const): New function. | |
328 * Range.h: Fix/provide decls. | |
329 | |
7457 | 330 * intNDArray.cc (intNDArray<T>::any (int)): Use != for comparison. |
331 | |
7449 | 332 2008-02-06 John W. Eaton <jwe@octave.org> |
333 | |
334 * Makefile.in ($(OPTS_INC)): Use mv instead of move-if-change. | |
335 (stamp-prereq): Eliminate. | |
336 (clean): Don't remove stamp-prereq. | |
337 (libraries): Don't depend on stamp-prereq. | |
338 (PREREQ): New macro. | |
339 ($(MAKEDEPS)): Depend on $(PREREQ), not stamp-prereq. | |
340 (distclean): Simplify with $(PREREQ). | |
341 (OPT_BASE): New macro. | |
342 (OPT_IN): Rename from OPTS_INC_DATA. Define in terms of OPT_BASE. | |
343 (OPT_INC): Rename from OPTS_INC. Define in terms of OPT_BASE. | |
344 | |
7448 | 345 2008-02-05 John W. Eaton <jwe@octave.org> |
346 | |
347 * Makefile.in: Unconditionally include $(MAKEDEPS). | |
348 Mark $(MAKEDEPS) as .PHONY targets if omit_deps is true. | |
349 | |
7443 | 350 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> |
351 | |
352 * Array.cc (ascending_compare, descending_compare, | |
353 Array<T>::sort): Declare explicit specialization for T=double to | |
354 avoid symbol duplication error at link time. | |
355 * Array-d.cc (ascending_compare, descending_compare): Declare and | |
356 define as nonmember functions, not member functions of Array<T>. | |
357 | |
7442 | 358 2008-02-03 John W. Eaton <jwe@octave.org> |
359 | |
360 * Array-i.cc: Also instantiate Arrays for long long type if it exists. | |
361 | |
362 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> | |
363 | |
364 * Array.cc: Don't include Range.h. | |
365 | |
7433 | 366 2008-01-31 David Bateman <dbateman@free.fr> |
367 | |
368 * oct-sort.cc: conversion of int to octave_idx_type where needed | |
369 for 64-bit builds. | |
370 (IFLT): Allow IFLT macro to be overridden. | |
371 * oct-sort.h: conversion of int to octave_idx_type where needed | |
372 for 64-bit builds. | |
373 (enum sortmode): Type of sort to perform. | |
374 (vec_index): Simple class to aid in indexed sorts. | |
375 | |
376 * Array.h ( Array<T> sort (octave_idx_type, sortmode) const, | |
377 Array<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
378 sortmode) const): Array sorting methods. | |
379 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT): Macros to | |
380 instantiate the array sorting methods. | |
381 * Array.cc (ascending_compare, descending_compare): New template | |
382 functions for generic sort comparison. | |
383 ( Array<T> Array<T>::sort (octave_idx_type, sortmode) const, | |
384 Array<T> Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, | |
385 sortmode) const): Array sorting functions based of octave_sort | |
386 class. | |
387 * Array-C.cc: Instantiate the complex array sort methods. | |
388 (IFLT): New macro to override the one in the | |
389 octave_sort class to avoid need for Complex < and > operators. | |
390 (static double xabs (const Complex&)): Complex abs function | |
391 avoiding std::abs(Inf) returning NaN with some compilers. | |
392 (ascending_compare, descending compare): override template | |
393 functions for complex comparison. | |
394 * Array-d.cc: Instantiate the double array sort methods. | |
395 (Array<double> Array<double>::sort (octave_idx_type, | |
396 sortmode) const, Array<double> Array<double>::sort | |
397 (Array<octave_idx_type> &, octave_idx_type, sortmode) const): | |
398 Array sorting functions based of octave_sort using uint64 sorting | |
399 on IEE754 doubles, for speed and correct sorting of Inf and NaN. | |
400 (ascending_compare, descending compare): override template | |
401 functions for double and uint64 comparison. | |
402 * Array-b.cc, Array-ch.cc, Array-i.cc, Array-s.cc, Array-str.cc: | |
403 Instantiate the array sort methods. | |
404 * Array-idx-vec.cc: Null instantiation of array sort methods. | |
405 * Array2.h, Array3.h, ArrayN.h (sort): 2, 3 and N-dimensional | |
406 versions of the sort methods based on Array<T>::sort. | |
407 | |
408 * CSparse.cc, dSparse.cc: Remove inclusion of octa-sort.h. | |
409 * Sparse.h ( Sparse<T> sort (octave_idx_type, sortmode) const, | |
410 Sparse<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
411 sortmode) const): Sparse sorting methods. | |
412 (INSTANTIATE_ARRAY_SORT): Macro to instantiate the sparse sorting | |
413 methods. | |
414 * Sparse.cc: replace sort with lsort throughout to avoid shadowing | |
415 of new sort method. | |
416 (sparse_ascending_compare, sparse_descending_compare): New template | |
417 functions for generic sort comparison. | |
418 ( Sparse<T> Sparse<T>::sort (octave_idx_type, sortmode) const, | |
419 Sparse<T> Sparse<T>::sort (Sparse<octave_idx_type> &, octave_idx_type, | |
420 sortmode) const): Sparse sorting functions based of octave_sort | |
421 class. | |
422 * Sparse-C.cc: Instantiate the complex sparse sort methods. | |
423 (IFLT): New macro to override the one in the | |
424 octave_sort class to avoid need for Complex < and > operators. | |
425 (static double xabs (const Complex&)): Complex abs function | |
426 avoiding std::abs(Inf) returning NaN with some compilers. | |
427 (sparse_ascending_compare, sparse_descending compare): override | |
428 template functions for complex comparison. | |
429 * Sparse-d.cc: Instantiate the cdouble sparse sort methods. | |
430 (sparse_ascending_compare, sparse_descending compare): override | |
431 template functions for double comparison. | |
432 * Array-b.cc: Instantiate the sparse sort methods. | |
433 | |
7422 | 434 2008-01-25 Jaroslav Hajek <highegg@gmail.com> |
435 | |
436 * idx-vector.h (idx_vector::idx_vector_rep::range_base, | |
437 idx_vector::idx_vector_rep::range_step, | |
438 idx_vector::idx_vector_rep::range_step): New data members. | |
439 (idx_vector::idx_vector_rep::idx_vector_rep): Initialize them. | |
440 * idx-vector.cc (IDX_VEC_REP::sort, IDX_VEC_REP::is_colon_equiv, | |
441 IDX_VEC_REP::init_state, IDX_VEC_REP::operator =, | |
442 IDX_VECTOR_REP::idx_vector_rep): Handle range. | |
443 | |
7416 | 444 2008-01-18 Marco Caliari <marco.caliari@univr.it> |
445 | |
446 * dMatrix.cc (Matrix::expm): Correctly perform reverse permutation. | |
447 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
448 | |
7408 | 449 2008-01-22 Michael Goffioul <michael.goffioul@gmail.com> |
7407 | 450 |
451 * oct-time.cc (octave_base_tim::init): Validate pointer argument; | |
452 this fixes the "localtime(-1)" crash under Windows. | |
453 | |
7400 | 454 2008-01-18 John W. Eaton <jwe@octave.org> |
455 | |
456 * dMatrix.cc (solve_singularity_warning): New function. | |
457 (Matrix::expm): Pass pointer to solve_singularity_warning to | |
458 Matrix::solve method. Exit early if Matrix::solve fails. | |
459 Limit sqpow value to avoid overflowing scale factor. | |
460 * CMatrix.cc (solve_singularity_warning): New function. | |
461 (ComplexMatrix::expm): Pass pointer to solve_singularity_warning to | |
462 ComplexMatrix::solve method. Exit early if ComplexMatrix::solve fails. | |
463 Limit sqpow value to avoid overflowing scale factor. | |
7402 | 464 From Marco Caliari <marco.caliari@univr.it>. |
7400 | 465 |
7356 | 466 2008-01-10 Kim Hansen <kimhanse@gmail.com> |
467 | |
468 * Sparse.cc: New tests for slicing of sparse matrices. | |
469 | |
7350 | 470 2008-01-07 David Bateman <dbateman@free.fr> |
471 | |
472 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Don't break from | |
473 loop if this test succeeds. | |
474 | |
7342 | 475 2008-01-03 David Bateman <dbateman@free.fr> |
476 | |
477 * MSparse.cc (SPARSE_A2A2_OP): If first arg is scalar zero, then | |
478 need unary operator on remaining argument | |
479 * Sparse-op-defs.h (SPARSE_SMSM_BIN_OP_1): ditto. | |
480 | |
7334 | 481 2007-12-21 John W. Eaton <jwe@octave.org> |
482 | |
483 Version 3.0.0 released. | |
484 | |
7322 | 485 2007-12-18 David Bateman <dbateman@free.fr> |
486 | |
487 * Sparse.cc (template <class T> Sparse<T> Sparse<T>::index | |
488 (idx_vector&, int) const): Fix case indexing of non zero scalar | |
489 stored as a sparse matrix. | |
490 (template <class T> Sparse<T> Sparse<T>::index (idx_vector&, | |
491 idx_vector&, int) const): For the non permutated indexing case, | |
492 fix link list calculation and use. | |
493 | |
7321 | 494 2007-12-17 John W. Eaton <jwe@octave.org> |
495 | |
496 * Array.cc (Array<T>::indexN): Correctly handle scalar indexed by | |
497 N-d array. | |
498 | |
7318 | 499 2007-12-17 David Bateman <dbateman@free.fr> |
500 | |
501 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Use ridx for row | |
502 index. | |
503 | |
7299 | 504 2007-12-11 John W. Eaton <jwe@octave.org> |
505 | |
506 * Sparse.cc (Sparse<T>::index (idx_vector&, int) const): | |
507 If indexing scalar with empty matrix, return empty array with same | |
508 size as index. | |
509 | |
7272 | 510 2007-12-10 John W. Eaton <jwe@octave.org> |
511 | |
7279 | 512 * NLEqn.h (NLEqn::fval): New data member. Adjust constructors |
513 and assignment operator. | |
514 (NLEqn::function_value): New function. | |
515 * NLEqn.cc (NLEqn::solve): If solution is successful, compute | |
516 function value. | |
517 | |
7272 | 518 * file-ops.cc (file_ops::concat): New function. |
519 * file-ops.h: Provide decl. | |
520 | |
7270 | 521 2007-12-07 John W. Eaton <jwe@octave.org> |
522 | |
523 * oct-time.cc (octave_base_tm::init): Only assign t->tm_zone if it | |
524 is not 0. | |
525 | |
7269 | 526 2007-12-07 David Bateman <dbateman@free.fr> |
527 | |
528 * Sparse-op-defs.h (SPARSE_SMS_CMP_OP, SPARSE_SMS_BOOL_OP, | |
529 SPARSE_SSM_CMP_OP, SPARSE_SSM_BOOL_OP, SPARSE_SMSM_CMP_OP, | |
530 SPARSE_SMSM_BOOL_OP, SPARSE_BASE_REDUCTION_OP): Use sparse | |
531 indexing where possible rather than the elem method. | |
532 (SPARSE_REDUCTION_OP_ROW_EXPR, SPARSE_REDUCTION_OP_COL_EXPR, | |
533 SPARSE_ANY_ALL_OP_ROW_CODE, SPARSE_ANY_ALL_OP_COL_CODE): | |
534 Replace for new version of SPARSE_BASE_REDUCTION_OP. | |
535 (SPARSE_ALL_OP): Specialize the initial value, and only treat dim | |
536 = 0 directly. | |
537 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::sumsq (int) | |
538 const): Replace ROW_EXPR and COL_EXPR functions for new version of | |
539 SPARSE_BASE_REDUCTION_OP. | |
540 (SparseComplexMatrix SparseComplexMatrix::prod (int) const): | |
541 Specialize the initial value, and only treat dim = 0 directly. | |
542 * dSparse.cc (SparseMatrix SparseMatrix::sumsq (int) const): | |
543 ditto. | |
544 (SparseMatrix SparseMatrix::prod (int) const): ditto. | |
545 | |
7265 | 546 2007-12-06 John W. Eaton <jwe@octave.org> |
547 | |
548 * CMatrix.cc (ComplexMatrix::expm): Update pointers to internal | |
549 data for npp and dpp after assignments. | |
550 * dMatrix.cc (Matrix::expm): Use same method as ComplexMatrix::expm. | |
551 | |
7253 | 552 2007-12-04 John W. Eaton <jwe@octave.org> |
553 | |
554 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
555 Do nothing if one index is empty. | |
556 | |
7246 | 557 2007-12-04 David Bateman <dbateman@free.fr> |
558 | |
559 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
560 Resize matrix as well if one dimension of lhs is zero and the rhs | |
561 index exceeds the lhs index. | |
562 * Sparse.cc (assign1 (Sparse<LT>&, const Sparse<RT>&)): | |
563 Don't resize to a smaller matrix for empty matrices with a max rhs | |
564 index smaller than the non zero lhs index. | |
565 | |
566 2007-12-04 Michael Goffioul <michael.goffioul@gmail.com> | |
567 | |
568 * Array-util.h: Tag permute_vector_compare with OCTAVE_API. | |
569 | |
7241 | 570 2007-12-03 Moritz Borgmann <octave@moriborg.de> |
571 | |
572 * Array-util.cc (permute_vector_compare): Move here from Array.cc. | |
573 * Array-util.h (permute_vector, permute_vector_compare): Provide decls. | |
574 * Array.cc (permute_vector, permute_vector_compare): Delete. | |
575 | |
7238 | 576 2007-12-03 David Bateman <dbateman@free.fr> |
577 | |
578 * Sparse.cc (template <class LT, class RT> int assign | |
579 (Sparse<LT>&, const Sparse<RT>&)): Only set return matrix size to | |
580 rhs values if both no. rows and columns are zero. | |
581 | |
7231 | 582 2007-11-30 John W. Eaton <jwe@octave.org> |
583 | |
7234 | 584 * oct-sort.cc, oct-sort.h: Style fixes. |
585 | |
7231 | 586 * lo-math.h: New file. |
587 * Makefile.in (INCLUDES): Add it to the list. | |
588 * liboctave/Array2.h, liboctave/ArrayN.h, liboctave/CmplxDET.cc, | |
589 liboctave/DASPK.cc, liboctave/DASPK.h, liboctave/DASRT.cc, | |
590 liboctave/DASRT.h, liboctave/DASSL.cc, liboctave/DASSL.h, | |
591 liboctave/LSODE.cc, liboctave/LSODE.h, liboctave/NLEqn.h, | |
592 liboctave/Quad.h, liboctave/Range.cc, liboctave/dbleDET.cc, | |
593 liboctave/lo-cieee.c, liboctave/lo-ieee.cc, | |
594 liboctave/lo-mappers.cc, liboctave/oct-time.cc, | |
595 liboctave/oct-time.h, liboctave/randgamma.c, | |
596 liboctave/randmtzig.c, liboctave/randpoisson.c: Include lo-math.h | |
597 instead of cmath or math.h. | |
598 * lo-mappers.h: Don't include sunmath.h here. | |
599 | |
7198 | 600 2007-11-26 John W. Eaton <jwe@octave.org> |
601 | |
602 * idx-vector.h (idx_vector::idx_vector_rep (const intNDArray<U>&)): | |
603 Eliminate unnecessary second arg from call to tree_to_mat_idx. | |
604 | |
605 * oct-inttypes.h (operator bool, operator char): Delete. | |
606 (bool_value, char_value, double_value, float_value): New functions. | |
607 | |
7189 | 608 2007-11-26 David Bateman <dbateman@free.fr> |
609 | |
610 * intNDArray.cc (template <class T> intNDArray<T> | |
611 intNDArray<T>::max (int) const, template <class T> intNDArray<T> | |
612 intNDArray<T>::max (ArrayN<octave_idx_type>&, int) const, | |
613 template <class T> intNDArray<T> intNDArray<T>::min (int) const, | |
614 template <class T> intNDArray<T> intNDArray<T>::min | |
615 (ArrayN<octave_idx_type>&, int) const): New methods for integer | |
616 classes. | |
617 * intNDArray.h (class intNDArray): Add min/max methods | |
618 * mx-op-defs.h (MIXMAX_DECLS, MINMAX_FCNS, SND_MINMAX_FCN, | |
619 NDS_MINMAX_FCN, NDND_MINMAX_FCN): New macro for instantiation of | |
620 min/max functions. | |
621 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
622 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
623 (MINMAX_DECLS(T)): Declare the min/max functions for integer | |
624 types. | |
625 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
626 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
627 (MINMAX_FCNS(T)): Instantiate the min/max functions for integer | |
628 types. | |
629 | |
630 * Arrayc.cc (Array<T>::index (idx_vector&, idx_vector&, int, | |
631 const T& rfv) const): If ndims != 2 call ND version of index. | |
632 | |
7176 | 633 2007-11-14 John W. Eaton <jwe@octave.org> |
634 | |
7178 | 635 * oct-inttypes.h (opeator T (void) const): New conversion operator. |
636 | |
7176 | 637 * lo-specfun.cc (zbesi): When alpha is negative, don't limit |
638 correction to half-integer values. From Eric Chassande-Mottin | |
639 <echassandemottin@gmail.com>. | |
640 | |
7124 | 641 2007-11-07 Michael Goffioul <michael.goffioul@gmail.com> |
642 | |
643 * dMatrix.cc, CMatrix.cc: Help MSVC compiler to resolve | |
644 ambiguities related to math functions (in C++ mode). | |
645 | |
7102 | 646 2007-11-06 David Bateman <dbateman@free.fr> |
647 | |
7113 | 648 * intNDArray.cc (intNDArray<T> intNDArray<T>::sum (int) const): |
649 New method. | |
650 * intNDarray.h (intNDArray sum (int) const): Declare it. | |
651 * boolNDArray.cc (boolNDArray boolNDArray::sum (int) const): | |
652 New method. | |
653 * boolNDarray.cc (boolNDArray sum (int) const): Declare it. | |
7102 | 654 * MArray-def.h (MARRAY_NORM_BODY): Scale frobenius norm by infinity |
655 norm to avoid issues of over- and underflow. From Rolf Fabian | |
656 <Rolf.Fabian@gmx.de>. | |
657 | |
7081 | 658 2007-10-30 David Bateman <dbateman@free.fr> |
659 | |
660 * DASRT-opts.in, LSODE-opts.in: Doc fixes for small book format. | |
661 | |
7079 | 662 2007-10-30 John W. Eaton <jwe@octave.org> |
663 | |
664 * CMatrix.cc (lssolve): Compute size of rwork and iwork arrays. | |
665 * dMatrix.cc (lssolve): Compute size of iwork array. | |
666 | |
7076 | 667 2007-10-29 David Bateman <dbateman@free.fr> |
668 | |
669 * CMatrix.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 * CMatrix.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 * dMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
688 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
689 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
690 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
691 double& rcond) const, lssolve (const ComplexColumnVector&, | |
692 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
693 declarations. | |
694 * dMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
695 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
696 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
697 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
698 double& rcond) const, lssolve (const ComplexColumnVector&, | |
699 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
700 methods. | |
701 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
702 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
703 octave_idx_type&, double&) const): Also return rcond from the | |
704 singular values returned by XGELSD. | |
705 | |
7072 | 706 2007-10-26 David Bateman <dbateman@free.fr> |
707 | |
708 * dMatrix.cc (Matrix::lssolve): Use xGELSD for rank deficient | |
709 matrices to avoid reliability issues with xGELSY. | |
710 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. | |
7071 | 711 |
7065 | 712 2007-10-25 John W. Eaton <jwe@octave.org> |
713 | |
714 * oct-time.cc (octave_gmtime::init, octave_localtime::init): | |
715 Call unix_time on arg instead of relying on conversion operator. | |
716 | |
717 * oct-time.h (octave_time::double_value): New function. | |
718 (octave_time::operator double () const): Delete. | |
719 (octave_time::operator time_t () const): Delete. | |
720 | |
7058 | 721 2007-10-24 John W. Eaton <jwe@octave.org> |
722 | |
723 * strptime.c: Also compile if OCTAVE_HAVE_BROKEN_STRPTIME is defined. | |
724 | |
7052 | 725 2007-10-23 John W. Eaton <jwe@octave.org> |
726 | |
727 * CRowVector.cc (operator * const ComplexRowVector&, const | |
728 ComplexColumnVector&)): Delete spurious code left from patch. | |
729 | |
7048 | 730 2007-10-22 Kim Hansen <kimhanse@gmail.com> |
731 | |
732 * chMatrix.cc, lo-utils.cc, oct-env.cc, oct-uname.cc, | |
733 sparse-sort.cc: Include <cstring>. | |
734 | |
7036 | 735 2007-10-17 John W. Eaton <jwe@octave.org> |
736 | |
737 * oct-sparse.h: Don't include metis.h. | |
738 | |
739 * dSparse.cc (SparseMatrix::fsolve): Delete special code for METIS. | |
740 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
741 * sparse-base-chol.cc (sparse_base_chol<chol_type, chol_elt, | |
742 p_type>::sparse_base_chol_rep::init): Likewise. | |
743 | |
7033 | 744 2007-10-16 John W. Eaton <jwe@octave.org> |
745 | |
746 * dMatrix.cc (Matrix::inverse): Only check rcond == 0 if the | |
747 matrix is hermitian or calc_cond is true. | |
748 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
749 | |
7016 | 750 2007-10-12 John W. Eaton <jwe@octave.org> |
751 | |
752 * Change copyright notices in all files that are part of Octave to | |
753 GPLv3 or any later version. | |
754 | |
7007 | 755 2007-10-11 Brian Gough <bjg@network-theory.co.uk> |
756 | |
757 * DASSL-opts.in, LSODE-opts.in: Spelling fixes. | |
758 | |
7001 | 759 2007-10-10 Olli Saarela <Olli.Saarela@kcl.fi> |
760 | |
761 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in: Spelling fixes. | |
762 | |
7000 | 763 2007-10-10 John W. Eaton <jwe@octave.org> |
764 | |
765 * LPsolve.h, LPsolve.cc: Delete. | |
766 * Makefile.in: Remove them from the INCLUDES and | |
767 LIBOCTAVE_CXX_SOURCES lists. | |
768 | |
6989 | 769 2007-10-09 John W. Eaton <jwe@octave.org> |
770 | |
6996 | 771 * oct-time.cc (octave_strptime::init): Initialize t.tm_mon to -1 |
772 and t.tm_year to INT_MIN before call to oct_strptime. Adjust | |
773 values to zero after call if they remain unchanged. | |
774 | |
6989 | 775 * dSparse.cc (SparseMatrix::all_elements_are_zero): New function. |
776 * dNDArray.cc (NDArray::all_elements_are_zero): New function. | |
777 | |
6988 | 778 2007-10-09 David Bateman <dbateman@free.fr> |
779 | |
6995 | 780 * oct-time.cc (octave_strptime::init): Only call mktime if mday is |
781 valud and mon and year are also filled in. | |
782 | |
6990 | 783 * Array2.h (Array2<T>::Array2(const dim_vector&), |
784 Array2<T>::Array(const dim_vector&, const T&)): Check that | |
785 dim_vector is 2 dimensional. | |
786 | |
6988 | 787 * Sparse.cc (Sparse<T> Sparse<T>::index (idx_vector&, idx_vector&, |
788 int)): Remove a for loop in the random indexing case at the | |
789 expense of maintaining a set of linked lists of indices that point | |
790 to the same column in the original matrix. | |
791 (int assign (Sparse<LT>&, Sparse<RT>)): Take a const copy of lhs | |
792 and use it on the RHS of expressions to avoid unnecessary calls to | |
793 make_unique. | |
794 | |
6979 | 795 2007-10-08 David Bateman <dbateman@free.fr> |
796 | |
797 * oct-rl-edit. (typedef rl_quoting_fcn_ptr, rl_dequoting_fcn_ptr, | |
798 rl_char_is_quoted_fcn_ptr, rl_command_fcn_ptr): New typedefs | |
799 for readline compatible functions. | |
800 (octave_rl_redisplay): Redisplay the current line of text. | |
801 (octave_rl_newline): Change interface to the same | |
802 as used by the equivalent readline function itself. | |
803 (octave_rl_filename_quoting_desired, | |
804 octave_rl_set_filename_quote_characters, | |
805 octave_rl_set_completer_quote_characters, | |
806 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
807 octave_rl_set_char_is_quoted_function): New functions to control | |
808 readline filename quoting and line acceptace. | |
809 * oct-rl-edit.c (octave_rl_newline): Change interface to the same | |
810 as used by the equivalent readline function itself. | |
811 (octave_rl_redisplay): Redisplay the current line of text. | |
812 (octave_rl_filename_quoting_desired, | |
813 octave_rl_set_filename_quote_characters, | |
814 octave_rl_set_completer_quote_characters, | |
815 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
816 octave_rl_set_char_is_quoted_function): New functions to control | |
817 readline filename quoting and line acceptace. | |
818 * cmd-edit.h (typedef quoting_fcn, typedef dequoting_fcn, | |
819 typedef char_is_quoted_fcn, user_accept_line_fcn): New typedefs | |
820 to map C++ function to readline compatible functions. | |
821 (set_filename_quote_characters): New function to set the | |
822 characters to if they appear in a filename that force the filename | |
823 to be quoted. | |
824 (set_completer_quote_characters): The characters that the readline | |
825 completion function considers as quotation characters. | |
826 (set_quoting_function, set_dequoting_function, | |
827 set_char_is_quoted_function, set_user_accept_line_function): | |
828 Functions to set the Octave functions to perform quoting and the | |
829 acceptance of a line of text by readline. | |
830 (get_quoting_function, get_dequoting_function, | |
831 get_char_is_quoted_function, get_user_accept_line_function): | |
832 Functions to get the above functions. | |
833 (accept_line): New method for the command_editor to accept a line | |
834 of text. | |
835 (file_quoting_desired): Function to set whether readline should | |
836 attempt to quote filenames. | |
837 (do_set_filename_quoting_characters, | |
838 do_set_completer_quote_characters, do_set_quoting_function, | |
839 do_set_dequoting_function, do_set_char_is_quoted_function, | |
840 do_set_user_accept_line_function, do_get_quoting_function, | |
841 do_get_dequoting_function, do_get_char_is_quoted_function, | |
842 do_get_user_accept_line_function, do_filename_quoting_desired): | |
843 Virtual functions to control the behavior of readline quoting and | |
844 acceptance of lines. | |
845 (do_accept_line): Virtual function for the accept line function. | |
846 * cmd-edit.cc (class gnu_readline do_set_filename_quote_characters, | |
847 do_completer_quote_characters, do_set_quoting_function, | |
848 do_set_dequoting_function, do_set_char_is_quoted_function, | |
849 do_set_user_accept_line_function, do_get_quoting_function, | |
850 do_get_dequoting_function, do_get_user_accept_line_function, | |
851 do_accept_line, do_filename_quoting_desired, command_quoter, | |
852 command_dequoter, command_char_is_quoted, command_accept_line): | |
853 New functions in gnu_readline class to control filename quoting | |
854 and line acceptance. | |
855 (quoting_function, dequoting_function, char_is_quoted_function, | |
856 user_accept_line_function): private variable to store functions | |
857 supplied for readline quoting and line acceptance. | |
858 (gnu_readline::gnu_readline): Also set the new function pointers | |
859 to zero. | |
860 (gnu_readline::do_newline): Adapt to new octave_rl_newline | |
861 interface. | |
862 (gnu_readeline::operate_and_get_next): Use new accept_line | |
863 function rather than newline. | |
864 (default_ommand_editor::do_accept_line): New method. | |
865 (class command_editor set_filename_quote_characters, | |
866 set_completer_quote_characters, set_quoting_function, | |
867 set_dequoting_function, set_char_is_quoted_function, | |
868 set_user_accept_line_function, get_quoting_function, | |
869 get_dequoting_function, get_user_accept_line_function, | |
870 accept_line, filename_quoting_desired): New functions checking | |
871 instance before calling virtual function. | |
872 | |
873 * CMatrix.h, dMatrix.h, boolMatrix.h, chMatrix.h, MArray2.h, | |
874 Array2.h: Add dim_vector constructors. | |
875 * charNDArray.h (charNDArray (const dim_vector&)): Add missing | |
876 const to dim_vector constructors. | |
877 * boolMatrix.cc, chMatrix.cc, intNDArray.cc (diag (void), diag | |
878 (octave_idx_type)): New methods to constructor diagonal matrices. | |
879 * boolMatrix.h, chMatrix.h, intNDArray.h (diag (void), diag | |
880 (octave_idx_type)): Declare them. | |
881 | |
882 | |
6969 | 883 2007-10-06 John W. Eaton <jwe@octave.org> |
884 | |
885 * lo-specfun.cc: (zlgamma): Delete. | |
886 (xgamma): Use C library gamma function if available. | |
887 (xlgamma): Use C library lgamma function if available. | |
888 (xlgamma) [! HAVE_LGAMMA]: Allow calculation for any value of X | |
889 other than NaN or Inf. | |
890 | |
6961 | 891 2007-10-05 John W. Eaton <jwe@octave.org> |
892 | |
893 * lo-specfun.cc (zlgamma): New function. | |
894 | |
6959 | 895 2007-10-04 John W. Eaton <jwe@octave.org> |
896 | |
897 * oct-sort.cc (octave_sort<T>::binarysort): Remove register | |
898 qualifiers on local variables. | |
899 | |
6958 | 900 2007-10-04 Marco Caliari <mcaliari@math.unipd.it> |
901 | |
902 * CMatrix.cc (ComplexMatrix::expm): Limit shift to values less | |
903 than log(realmax) to avoid issues with NaN. | |
904 | |
6940 | 905 2007-10-01 John W. Eaton <jwe@octave.org> |
906 | |
6941 | 907 * oct-time.cc (octave_strptime::init): Call mktime to propertly |
908 initialize wday and yday. | |
909 From Matthias Drochner <m.drochner@fz-juelich.de>. | |
910 | |
6940 | 911 * cmd-edit.cc (command_editor::do_decode_prompt_string): Don't |
912 insert extra '\001' when decoding \[ and \]. | |
913 | |
6926 | 914 2007-09-26 David Bateman <dbateman@free.fr> |
915 | |
916 * dMatrix.cc (lssolve): Replace the use of xGELSS with xGELSY with | |
917 is much faster and no less accurate. | |
918 * CMatrix.cc (lssolve): ditto. | |
919 | |
6924 | 920 2007-09-25 David Bateman <dbateman@free.fr> |
921 | |
922 * dMatrix.cc (utsolve, ltsolve, fsolve, lssolve): Allow | |
923 zero dimensioned matrices. | |
924 * CMatrix.cc (utsolve, ltsolve, fsolve, lssolve): ditto. | |
925 * dSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
926 ditto. | |
927 * CSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
928 ditto. | |
929 * SparseQR.cc (SparseQR::SparseQR_rep::C, qrsolve): ditto. | |
930 * SparseCmplxQR.cc (SparseComplexQR::SparseComplexQR_rep::C, | |
931 qrsolve): ditto. | |
932 * sparse-dmsolve.cc (dmsolve): ditto. | |
933 | |
6922 | 934 2007-09-21 John W. Eaton <jwe@octave.org> |
935 | |
936 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): | |
937 Also allow resizing empty LHS if it is 1x0 or 0xN. | |
938 | |
6916 | 939 2007-09-19 John W. Eaton <jwe@octave.org> |
940 | |
941 * cmd-edit.cc (command_editor::remove_startup_hook): | |
942 Fix cut-and-paste error. | |
6917 | 943 (gnu_readline::set_startup_hook): Only set hook function if new |
944 function is different from the current one. | |
6916 | 945 |
6913 | 946 2007-09-18 John W. Eaton <jwe@octave.org> |
947 | |
948 * cmd-edit.h, cmd-edit.cc (command_editor::startup_hook_set, | |
949 command_editor::event_hook_set): New static data. | |
950 (default_command_editor::set_startup_hook, | |
951 gnu_readline::set_startup_hook, | |
952 default_command_editor::restore_startup_hook, | |
953 gnu_readline_restore_event_hook): | |
954 Rename from do_set_startup_hook and do_set_event_hook. | |
955 (gnu_readline::operate_and_get_next): Call | |
956 command_editor::add_startup_hook, not | |
957 command_editor::set_startup_hook. | |
958 (command_editor::startup_handler, command_editor::event_handler): | |
959 New functions. | |
960 (command_editor::add_startup_hook, command_editor::add_event_hook, | |
961 command_editor::remove_startup_hook, | |
962 command_editor::remove_event_hook): Rename from set_startup_hook | |
963 and restore_startup_hook. Handle hook sets here. | |
964 * cmd-edit.cc (gnu_history::do_goto_mark): | |
965 Call remove_startup_hook instead of restore_startup_hook. | |
966 | |
6907 | 967 2007-09-17 John W. Eaton <jwe@octave.org> |
968 | |
969 * lo-utils.cc (octave_read_complex, octave_read_double): Skip | |
970 leading whitespace. | |
971 | |
6897 | 972 2007-09-13 John W. Eaton <jwe@octave.org> |
973 | |
974 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
975 octave_read_complex): Use istream::get instead of >> to read | |
976 individual characters. | |
977 | |
6884 | 978 2007-09-10 John W. Eaton <jwe@octave.org> |
979 | |
980 * Array.cc (assign1): Don't call make_unique for invalid assignment. | |
981 | |
982 2007-09-10 David Bateman <dbateman@free.fr> | |
983 | |
984 * Array.h (Array<T>::make_unique): Make public so that the | |
985 ::assign functions can access it directly. | |
986 * Array.cc (Array<T>::maybe_delete_elements_1(idx_vector&), | |
987 Array<T>::maybe_delete_elements_1(idx_vector&), | |
988 Array<T>::maybe_delete_elements(idx_vector&, idx_vector&), | |
989 Array<T>::maybe_delete_elements(Array<idx_vector>&, const T&)): | |
990 Use xelem for non const RHS to avoid call to make_unique. | |
991 (int assign1 (Array<LT>&, const Array<RT>&, const LT&)): Use | |
992 xelem for LHS and call lhs.make_unique() only once. Special case | |
993 the is_colon index case and use Array<T>::xelem(octave_idx_type) | |
994 rather than Array<T>::xelem(octave_idx_type,octave_idx_type) and | |
995 bring the additional multiplication out of the inner loop. | |
996 (int assign2 (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
997 (int assignN (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
998 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep | |
999 (const Range& r)): Don't use init_state() method but special case | |
1000 as with a Range can avoid exhaustive search. | |
1001 | |
6881 | 1002 2007-09-07 John W. Eaton <jwe@octave.org> |
1003 | |
1004 * Array.cc (Array<T>::fortran_vec): Call make_unique instead of | |
1005 manipulating rep directly. | |
1006 | |
1007 * Array.h (idx, idx_count): Declare mutable. | |
1008 (Array<T>::set_index, Array<T>::clear_index, Array<T>::value): | |
1009 Now const. | |
1010 | |
6867 | 1011 2007-09-06 David Bateman <dbateman@free.fr> |
1012 | |
6868 | 1013 * Array-util.cc (increment_index): dimensions can have singleton |
1014 trailing dimensions. | |
6867 | 1015 * Array.h (range_error, xelem, checkelem, elem, operator ()): |
1016 Modify use of Array<int> to Array<octave_idx_type> and adjust | |
1017 where necessary. | |
1018 * Array.cc (range_error): ditto. | |
1019 * MArrayN.h (permute, ipermute): ditto. | |
1020 * ArrayN.h (permute, ipermute): ditto. | |
1021 * so-array.cc (streamoff_array::compute_index): ditto. | |
1022 * so-array.h (compute_index): ditto. | |
1023 * CMattrix.cc (ComplexMatrix::exmpm): ditto. | |
1024 | |
6840 | 1025 2007-08-29 David Bateman <dbateman@free.fr> |
1026 | |
1027 * dSparse.cc (SparseMatrix SparseMatrix::inverse (MatrixType &, | |
1028 octave_idx_type&, double&, int, int)): Calculate with LU even for | |
1029 matrices marked as singular. | |
1030 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::inverse ( | |
1031 MatrixType &, octave_idx_type&, double&, int, int)): ditto. | |
1032 * dMatrix.cc (Matrix Matrix::inverse (MatrixType &, octave_idx_type&, | |
1033 double&, int, int)): ditto. If rcond==0 force matrix of infinities. | |
1034 * dMatrix.cc (ComplexMatrix ComplexMatrix::inverse (MatrixType &, | |
1035 octave_idx_type&, double&, int, int)): ditto. | |
1036 | |
6838 | 1037 2007-08-27 John W. Eaton <jwe@octave.org> |
1038 | |
1039 * oct-env.cc (octave_env::rooted_relative_pathname, | |
1040 octave_env::do_rooted_relative_pathname): New functions. | |
1041 * oct-env.h: Provide decls. | |
1042 | |
6823 | 1043 2007-08-24 David Bateman <dbateman@free.fr> |
1044 | |
1045 * MSparse.h (MSparse<T>& insert (const Sparse<T>&, | |
1046 const Array<octave_idx_type>&)): New method. | |
1047 (MSparse (const dim_vector&, octave_idx_type)): Ditto. | |
1048 * dSparse.h (SparseMatrix& SparseMatrix::insert (const | |
1049 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
1050 (SparseMatrix (const dim_vector&, octave_idx_type)): ditto. | |
1051 * dSparse.cc (SparseMatrix& SparseMatrix::insert (const | |
1052 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
1053 * boolSparse.h (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
1054 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
1055 * boolSparse.cc (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
1056 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
1057 * CSparse.h (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
1058 SparseMatrix&, const Array<octave_idx_type>&), | |
1059 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
1060 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
1061 (SparseComplexMatrix (const dim_vector&, octave_idx_type)): ditto. | |
1062 * CSparse.cc (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
1063 SparseMatrix&, const Array<octave_idx_type>&), | |
1064 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
1065 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
1066 | |
6817 | 1067 2007-08-19 David Bateman <dbateman@free.fr> |
1068 | |
1069 * Sparse.cc (Sparse<T>::permute): Avoid shadowing warning. | |
1070 | |
6813 | 1071 2007-08-14 John W. Eaton <jwe@octave.org> |
1072 | |
1073 * Sparse.cc (Sparse<T>::permute): permutation vector is zero based. | |
1074 Simplify. | |
6814 | 1075 (Sparse<T>::reshape): Warn about reshaping to N-d array. |
6813 | 1076 |
6810 | 1077 2007-08-10 Michael Goffioul <michael.goffioul@gmail.com> |
1078 | |
1079 * file-stat.cc (file_stat::update_internal) [__WIN32__]: | |
1080 Remove trailing dir separator when stat'ing directory except for | |
1081 root directory. | |
1082 | |
6796 | 1083 2007-07-25 David Bateman <dbateman@free.fr> |
1084 | |
1085 * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" | |
1086 to work. | |
1087 | |
6764 | 1088 2007-06-04 David Bateman <dbateman@free.fr> |
1089 | |
1090 * oct-inttypes.h (octave_int<T>& operator <<= (const T2&), | |
1091 octave_int<T>& operator >>= (const T2&)): Make shift operators | |
1092 perform a twos complement arithmetic shift for both signed and | |
1093 unsigned integers regardless of compiler implementations. | |
1094 | |
6708 | 1095 2007-06-13 Michael Goffioul <michael.goffioul@swing.be> |
1096 | |
6719 | 1097 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): For CXSparse 2.2 and greater |
1098 use cs_complex_t(0,0) for the complex zero. | |
1099 | |
6708 | 1100 * MArray-ch.cc, MArray-d.cc, MArray-i.cc, MArray-s.cc: |
1101 Sprinkle class instantiations with OCTAVE_API as needed. | |
1102 | |
1103 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY, | |
1104 INSTANTIATE_ARRAY_AND_ASSIGN): New arg, API. Change all uses. | |
1105 * MArray-defs.h (MARRAY_OP_ASSIGN_DECL, MARRAY_OP_ASSIGN_DECLS, | |
1106 MARRAY_OP_ASSIGN_FWD_DECLS, MARRAY_OP_ASSIGN_FRIENDS, | |
1107 MARRAY_OP_ASSIGN_DEFS, MARRAY_UNOP, MARRAY_UNOP_DECLS, | |
1108 MARRAY_UNOP_FWD_DECLS, MARRAY_UNOP_FRIENDS, MARRAY_UNOP_DEFS, | |
1109 MARRAY_BINOP_DECL, MARRAY_BINOP_DECLS, MARRAY_AA_BINOP_DECLS, | |
1110 MDIAGARRAY2_DAS_BINOP_DECLS, MDIAGARRAY2_SDA_BINOP_DECLS, | |
1111 MDIAGARRAY2_DADA_BINOP_DECLS, MARRAY_BINOP_FWD_DECLS, | |
1112 MDIAGARRAY2_BINOP_FWD_DECLS, MARRAY_BINOP_FRIENDS, | |
1113 MDIAGARRAY2_BINOP_FRIENDS, MARRAY_BINOP_DEFS, | |
1114 MDIAGARRAY2_BINOP_DEFS, MARRAY_OPS_FORWARD_DECLS, | |
1115 MDIAGARRAY2_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS, | |
1116 MDIAGARRAY2_OPS_FRIEND_DECLS, INSTANTIATE_MARRAY_FRIENDS, | |
1117 INSTANTIATE_MARRAY2_FRIENDS, INSTANTIATE_MARRAYN_FRIENDS, | |
1118 INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. | |
1119 * MSparse-defs.h (SPARSE_OP_ASSIGN_DECL, SPARSE_OP_ASSIGN_DECLS, | |
1120 SPARSE_OP_ASSIGN_FWD_DECLS, SPARSE_OP_ASSIGN_FRIENDS, | |
1121 SPARSE_OP_ASSIGN_DEFS, SPARSE_UNOP, SPARSE_UNOP_DECLS, | |
1122 SPARSE_UNOP_FWD_DECLS, SPARSE_UNOP_FRIENDS, SPARSE_UNOP_DEFS, | |
1123 SPARSE_BINOP_DECL, SPARSE_BINOP_DECLS, SPARSE_AA_BINOP_DECLS, | |
1124 SPARSE_BINOP_FWD_DECLS, SPARSE_BINOP_FRIENDS, SPARSE_BINOP_DEFS, | |
1125 SPARSE_OPS_FORWARD_DECLS, SPARSE_OPS_FRIEND_DECLS, | |
1126 INSTANTIATE_SPARSE_FRIENDS): Ditto. | |
1127 * Sparse-op-defs.h (SPARSE_BIN_OP_DECL, SPARSE_CMP_OP_DECL, | |
1128 SPARSE_BOOL_OP_DECL, SPARSE_SMS_BIN_OP_DECLS, | |
1129 SPARSE_SMS_CMP_OP_DECLS, SPARSE_SMS_EQNE_OP_DECLS, | |
1130 SPARSE_SMS_BOOL_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
1131 SPARSE_SMS_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
1132 SPARSE_SSM_CMP_OP_DECLS, SPARSE_SSM_EQNE_OP_DECLS, | |
1133 SPARSE_SSM_BOOL_OP_DECLS, SPARSE_SSM_OP_DECLS, | |
1134 SPARSE_SMSM_BIN_OP_DECLS, SPARSE_SMSM_CMP_OP_DECLS, | |
1135 SPARSE_SMSM_EQNE_OP_DECLS, SPARSE_SMSM_BOOL_OP_DECLS, | |
1136 SPARSE_SMSM_OP_DECLS, SPARSE_MSM_BIN_OP_DECLS, | |
1137 SPARSE_MSM_CMP_OP_DECLS, SPARSE_MSM_EQNE_OP_DECLS, | |
1138 SPARSE_MSM_BOOL_OP_DECLS, SPARSE_MSM_OP_DECLS, | |
1139 SPARSE_SMM_BIN_OP_DECLS, SPARSE_SMM_CMP_OP_DECLS, | |
1140 SPARSE_SMM_EQNE_OP_DECLS, SPARSE_SMM_BOOL_OP_DECLS, | |
1141 SPARSE_SMM_OP_DECLS): Ditto. | |
1142 * Sparse.h (INSTANTIATE_SPARSE_ASSIGN, INSTANTIATE_SPARSE, | |
1143 INSTANTIATE_SPARSE_AND_ASSIGN): Ditto. | |
1144 * mx-op-defs.h (BIN_OP_DECL, CMP_OP_DECL, NDCMP_OP_DECL, | |
1145 BOOL_OP_DECL, NDBOOL_OP_DECL, VS_BIN_OP_DECLS, VS_OP_DECLS, | |
1146 SV_BIN_OP_DECLS, SV_OP_DECLS, VV_BIN_OP_DECLS, VV_OP_DECLS, | |
1147 MS_BIN_OP_DECLS, MS_CMP_OP_DECLS, MS_BOOL_OP_DECLS, MS_OP_DECLS, | |
1148 SM_BIN_OP_DECLS, SM_CMP_OP_DECLS, SM_BOOL_OP_DECLS, SM_OP_DECLS, | |
1149 MM_BIN_OP_DECLS, MM_CMP_OP_DECLS, MM_BOOL_OP_DECLS, MM_OP_DECLS, | |
1150 NDS_BIN_OP_DECLS, NDS_CMP_OP_DECLS, NDS_BOOL_OP_DECLS, | |
1151 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_CMP_OP_DECLS, | |
1152 SND_BOOL_OP_DECLS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
1153 NDND_CMP_OP_DECLS, NDND_BOOL_OP_DECLS, NDND_OP_DECLS, | |
1154 SDM_BIN_OP_DECLS, SDM_OP_DECLS, DMS_BIN_OP_DECLS, DMS_OP_DECLS, | |
1155 MDM_BIN_OP_DECLS, MDM_OP_DECLS, DMM_BIN_OP_DECLS, DMM_OP_DECLS, | |
1156 DMDM_BIN_OP_DECLS, DMDM_OP_DECLS): Ditto. | |
1157 | |
6699 | 1158 2007-06-12 John W. Eaton <jwe@octave.org> |
1159 | |
1160 * dMatrix.cc (Matrix::expm): Special case for scalar arg. | |
1161 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6697 | 1162 |
6693 | 1163 2007-06-06 Michael Goffioul <michael.goffioul@swing.be> |
1164 | |
6709 | 1165 * file-ops.cc (tilde_find_suffix, isolate_tilde_prefix, |
1166 tilde_expand_word): Use file_ops::is_dir_sep instead of comparing | |
1167 with file_ops::dir_sep_char. | |
6694 | 1168 |
6693 | 1169 * MArray-C.cc: Sprinkle with OCTINTERP_API as needed. |
1170 | |
6689 | 1171 2007-06-04 David Bateman <dbateman@free.fr> |
1172 | |
6699 | 1173 * file-ops.cc: Typo. |
1174 | |
6689 | 1175 * Sparse.cc (Sparse<T> Sparse<T>::reshape): If length of new |
1176 dimensions is greater than 2, collapse to 2-D. | |
1177 | |
6685 | 1178 2007-06-02 David Bateman <dbateman@free.fr> |
1179 | |
1180 * SparseCmplxQR.cc: Changes to support CXSparse 2.2.0. | |
1181 | |
6680 | 1182 2007-05-31 John W. Eaton <jwe@octave.org> |
1183 | |
1184 * Array.cc (Array::get_size): Throw std::bad_alloc exception if | |
1185 the computed size is too large for the size of Octave's index type. | |
1186 | |
6662 | 1187 2007-05-23 John W. Eaton <jwe@octave.org> |
1188 | |
1189 * oct-sparse.h: Don't surround included files with extern "C" { ... }. | |
1190 | |
6629 | 1191 2007-05-16 David Bateman <dbateman@free.fr> |
1192 | |
1193 * dRowVector.cc (linspace): Return second argument if fewer than | |
1194 two values are requested. | |
1195 * CRowVector.cc (linspace): Likewise. | |
1196 | |
6596 | 1197 2007-04-27 John W. Eaton <jwe@octave.org> |
1198 | |
1199 * lo-mappers.cc (signum (const Complex&)): Special case for (0, 0). | |
1200 | |
6583 | 1201 2007-04-25 John W. Eaton <jwe@octave.org> |
1202 | |
1203 * oct-fftw.h (octave_fftw): Tag with OCTAVE_API. | |
1204 | |
6553 | 1205 2007-04-20 John W. Eaton <jwe@octave.org> |
1206 | |
1207 * Array.cc (assign1): For x(:) = RHS, require rhs_len == lhs_len, | |
1208 not rhs_len == 1. | |
1209 | |
6536 | 1210 2007-04-18 Michael Goffioul <michael.goffioul@swing.be> |
1211 | |
1212 * oct-md5.h (oct_md5, oct_md5_file): Tag decls with OCTAVE_API. | |
1213 | |
6525 | 1214 2007-04-13 John W. Eaton <jwe@octave.org> |
1215 | |
1216 * Array.cc (Array<T>::maybe_delete_elements_2): Don't return early | |
1217 for empty matrix. Only check for colon index equivalence if not empty. | |
1218 | |
6513 | 1219 2007-04-10 John W. Eaton <jwe@octave.org> |
1220 | |
1221 * SparseCmplxQR.cc | |
1222 (SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep): | |
1223 Move GCC_ATTR_UNUSED before the parameter decl. | |
1224 From Luis Ortiz <lortiz@interactivesupercomputing.com>. | |
1225 | |
6508 | 1226 2007-04-06 John W. Eaton <jwe@octave.org> |
1227 | |
1228 * MArray-defs.h (MARRAY_NORM_BODY): New macro. | |
1229 * MArray.h (MArray<T>::norm): New function. | |
1230 * MArray.cc: Provide decl. | |
1231 * MArray-d.cc (MArray<double>::norm): Define double specialization. | |
1232 * MArray-C.cc (MArray<Complex>::norm): Define Complex specialization. | |
1233 | |
6490 | 1234 2007-04-04 John W. Eaton <jwe@octave.org> |
1235 | |
1236 * Range.cc (Range::nelem_internal): Likewise. | |
1237 * lo-utils.cc (NINT): Use numeric_limits<int> instead of INT_MAX. | |
1238 (NINTbig): Use numeric_limits<octave_idx_type> instead of INT_MAX. | |
1239 From Scott Pakin <pakin@lanl.gov>. | |
1240 | |
6486 | 1241 2007-04-04 David Bateman <dbateman@free.fr> |
1242 | |
1243 * dMatrix.cc (Matrix::inverse): If calc_cond is true, calculate | |
1244 the condition number for positive definite matrices. | |
1245 * CMatrix.cc (ComplexMatrix::inverse): Ditto. | |
1246 * dbleChol.h (CHOL(const Matrix&, bool)): New arg, calc_cond. | |
1247 (CHOL(const Matrix&, octave_idx_type&, bool): Ditto. | |
1248 (octave_idx_type init (const Matrix&, bool)): Ditto. | |
1249 (CHOL(const CHOL&)): Copy xrcond. | |
1250 (CHOL& operator = (const CHOL&)): Copy xrcond. | |
1251 (xrcond): New private data member. | |
1252 * CmplxCHOL.h (ComplexCHOL(const ComplexMatrix&, bool)): New arg, | |
1253 calc_cond. | |
1254 (ComplexCHOL(const ComplexMatrix&, octave_idx_type&, bool): Ditto | |
1255 (octave_idx_type init (const ComplexMatrix&, bool)): Ditto. | |
1256 (ComplexCHOL(const ComplexCHOL&)): Copy xrcond. | |
1257 (ComplexCHOL& operator = (const ComplexCHOL&)): Copy xrcond. | |
1258 (xrcond): New private data member. | |
1259 * dbleCHOL.cc (CHOL::init(const Matrix&, bool)): If calc_cond is | |
1260 true, calculate the condition number with dpocon. | |
1261 * CmplxCHOL.cc (ComplexCHOL::init(const ComplexMatrix&, bool)): If | |
1262 calc_cond is true, calculate the condition number with zpocon. | |
1263 | |
6481 | 1264 2007-04-03 John W. Eaton <jwe@octave.org> |
1265 | |
6482 | 1266 * intNDArray.cc (intNDArray): Delete spurious semicolon. |
1267 | |
1268 * CMatrix.cc (ComplexMatrix::tinverse): Use Array<T> and | |
1269 fortran_vec method instead of OCTAVE_LOCAL_BUFFER to avoid | |
1270 "maybe clobbered by vfork" warning. | |
1271 | |
6483 | 1272 * Sparse-op-defs.h (SPARSE_CUMSUM): Add braces to avoid ambiguous |
6482 | 1273 if/else. |
1274 | |
1275 * oct-spparms.h (octave_sparse_params): Define copy constructor | |
1276 and destructor. | |
1277 | |
6481 | 1278 * Array.cc (assignN): Don't resize dimension if corresponding |
1279 index is empty. | |
1280 | |
6479 | 1281 2007-04-02 John W. Eaton <jwe@octave.org> |
1282 | |
1283 * dMatrix.h (Matrix::inverse): Reinstate versions without | |
1284 MatrixType argument. | |
1285 * CMatrix.h (ComplexMatrix::inverse): Likewise. | |
1286 | |
6467 | 1287 2007-03-27 John W. Eaton <jwe@octave.org> |
1288 | |
1289 * Makefile.in (DISTDIRS): Delete variable. | |
1290 (dist): Delete action for DISTDIRS. Use ln instead of $(LN_S). | |
1291 | |
6460 | 1292 2007-03-26 David Bateman <dbateman@free.fr> |
1293 | |
1294 * MatrixType.cc: Replace all uses of the method | |
1295 octave_sparse_params::get_key ("bandden") with | |
1296 octave_sparse_params::get_bandden (void). | |
1297 (MatrixType::MatrixType (void)): Undo previous change but use | |
1298 octave_sparse_params::get_bandden (void). | |
1299 * oct-spparms.cc (get_bandden(void), do_get_bandden(void)): New | |
1300 methods. | |
1301 * oct-spparms.h (get_bandden(void), do_get_bandden(void)): | |
1302 Declare them. | |
1303 | |
6458 | 1304 2007-03-26 Luis Ortiz <lortiz@interactivesupercomputing.com> |
1305 David Bateman <dbateman@free.fr> | |
1306 | |
1307 * idx-vector.h.cc (IDX_VEC_REP::idx_vector_rep (const Range&)): | |
1308 Check that all elements are ints before doing anything. Simplify | |
1309 calculation of index values. | |
1310 | |
6457 | 1311 2007-03-26 David Bateman <dbateman@free.fr> |
1312 | |
1313 * Range.cc (Range::all_elements_are_ints): Improve check. | |
1314 | |
6456 | 1315 2007-03-26 John W. Eaton <jwe@octave.org> |
1316 | |
1317 * chNDArray.cc, chMatrix.cc: Also generate comparison and bool ops. | |
1318 * chNDArray.h, chMatrix.h: Provide decls. | |
1319 | |
1320 2007-03-24 Luis Ortiz <lortiz@interactivesupercomputing.com> | |
1321 | |
1322 * MatrixType.cc (MatrixType::MatrixType (void)): Initialize | |
1323 sp_bandden to zero for performance reasons as it's not used. | |
6452 | 1324 |
6435 | 1325 2007-03-23 David Bateman <dbateman@free.fr> |
1326 | |
1327 * oct-rand.cc (octave_rand::seed): Seed differently for big and | |
1328 little endian. | |
1329 | |
6414 | 1330 2007-03-15 John W. Eaton <jwe@octave.org> |
1331 | |
1332 * lo-mappers.cc (acos): Use formula similar to what we use for asin. | |
1333 From Alexander Barth <abarth@marine.usf.edu>. | |
1334 | |
6402 | 1335 2007-03-12 John W. Eaton <jwe@octave.org> |
1336 | |
1337 * oct-inttypes.h (octave_int::octave_int (double)): | |
1338 New Specialization. Round arg. | |
1339 (operator / (const octave_int<T1>&, const octave_int<T2>&)): | |
1340 Round result before converting type. | |
1341 | |
6388 | 1342 2007-03-07 John W. Eaton <jwe@octave.org> |
1343 | |
6392 | 1344 * Array.cc (assign1): Avoid resizing if there is an error. |
1345 | |
6390 | 1346 * dMatrix.cc, CMatrix.cc (operator *): Only check |
1347 f77_exception_encountered immediately after calls that use F77_XFCN. | |
1348 | |
6389 | 1349 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
1350 Only allow resizing empty LHS if it is 0x0. | |
1351 | |
6388 | 1352 * Array.cc (Array<T>::maybe_delete_elements (Array<idx_vector>&, |
1353 const T&)): Handle case of more indices than dimensions. | |
1354 (assign (Array<LT>&, const Array<RT>&, const LT&)): Allow more | |
1355 cases to be handled by assignN. | |
1356 (assignN (Array<LT>&, const Array<RT>&, const LT&)): | |
1357 Special cases for 2-d array assignments for speed. | |
1358 Improve handling of scalar RHS and empty indices. | |
6384 | 1359 |
6383 | 1360 2007-03-05 David Bateman <dbateman@free.fr> |
1361 | |
1362 * oct-md5.c (oct_md5_file (const std::string&)): New function. | |
1363 * oct-md5.h (oct_md5_file (const std::string&)): Declare it. | |
1364 | |
6379 | 1365 2007-03-02 John W. Eaton <jwe@octave.org> |
1366 | |
1367 * str-vec.h (string_vector::empty): Return bool, not int. | |
1368 | |
6375 | 1369 2007-03-01 David Bateman <dbateman@free.fr> |
1370 | |
1371 * md5.h, md5.c: New files from libmd5-rfc sourceforge project for | |
1372 an independent implementation of RFC1321. | |
1373 * oct-md5.h, oct-md5: New files for treating std::string class | |
1374 with MD5. | |
1375 * Makefile.in (INCLUDES): Add md5.h and oct-md5.h | |
1376 (LIBOCTAVE_CXX_SOURCES): Add oct-md5.cc | |
1377 (LIBOCTAVE_C_SOURCES): Add md5.c | |
1378 | |
6366 | 1379 2007-02-27 John W. Eaton <jwe@octave.org> |
1380 | |
1381 * Makefile.in (uninstall): Delete files listed in | |
1382 $(INCLUDES_FOR_INSTALL), instead of $(INCLUDES). | |
1383 From Thomas Treichl <Thomas.Treichl@gmx.net>. | |
1384 | |
6536 | 1385 2007-02-27 Michael Goffioul <michael.goffioul@swing.be> |
6363 | 1386 |
1387 * file-ops.cc (file_ops::recursive_rmdir): | |
1388 Close dir_entry object before calling rmdir. | |
1389 | |
6536 | 1390 2007-02-26 Michael Goffioul <michael.goffioul@swing.be> |
6358 | 1391 |
1392 * Makefile.in: Use $(LN_S) instead of ln or ln -s. | |
1393 | |
6359 | 1394 * sparse-util.h (SparseCholPrint, SparseCholError): |
1395 Tag with OCTAVE_API. | |
1396 | |
6326 | 1397 2007-02-18 David Bateman <dbateman@free.fr> |
1398 | |
1399 * oct-rand.cc (do_old_initialization()): call setcgn(1) prior to | |
1400 calling setall and reset to the current generator after. | |
1401 | |
6323 | 1402 2007-02-16 John W. Eaton <jwe@octave.org> |
1403 | |
1404 * oct-shlib.h (octave_shlib::relative): New data member. | |
1405 (octave_shlib::mark_relative, octave_shlib::is_relative): | |
1406 New functions. | |
1407 | |
6321 | 1408 2007-02-16 Michael Goffioul <michael.goffioul@swing.be> |
1409 | |
1410 * lo-sysdep.cc (octave_popen2): New function to simulate popen2 on | |
1411 windows platform. | |
1412 * lo-sysdep.h (octave_popen2): Declare it. | |
1413 * oct-syscalls.cc (octave_syscalls::popen2): New function. | |
1414 * oct-syscalls.h (octave_syscalls::popen2): Declare it. | |
1415 | |
6306 | 1416 2007-02-14 John W. Eaton <jwe@octave.org> |
1417 | |
1418 * kpse.cc (expand_elt): Omit special treatment for //. | |
1419 | |
6273 | 1420 2007-02-06 John W. Eaton <jwe@octave.org> |
1421 | |
1422 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_REALPATH]: | |
1423 Don't delete value returned from realpath. | |
1424 | |
6271 | 1425 2007-02-05 Thomas Treichl <Thomas.Treichl@gmx.net> |
1426 | |
1427 * file-ops.cc (file_ops::canonicalize_file_name): | |
1428 Provide implementation if realpath function is available. | |
1429 | |
6256 | 1430 2007-01-29 Michael Goffioul <michael.goffioul@swing.be> |
1431 | |
1432 * oct-fftw.h: Sprinkle with OCTAVE_API as needed. | |
1433 | |
6244 | 1434 2007-01-17 Michael Goffioul <michael.goffioul@swing.be> |
1435 | |
1436 * lo-sysdep.cc (octave_chdir): Handle directory names like "C:" on | |
1437 Windows systems. | |
1438 | |
6242 | 1439 2007-01-16 John W. Eaton <jwe@octave.org> |
1440 | |
1441 * dSparse.cc: Fix dgbtrf decl for --enable-64. | |
1442 (SparseMatrix::bsolve): Fix call to dgbtrf for --enable-64 | |
1443 | |
1444 * oct-fftw.h (fftw_planner): Provide decl. | |
1445 | |
6241 | 1446 2007-01-11 Michael Goffioul <michael.goffioul@swing.be> |
1447 | |
1448 * Makefile.in (LINK_DEPS): Include $(CAMD_LIBS) in the list. | |
1449 | |
6236 | 1450 2007-01-10 John W. Eaton <jwe@octave.org> |
1451 | |
1452 * oct-sparse.h: Use HAVE_CHOLMOD_CHOLMOD_H, not | |
1453 HAVE_UMFPACK_CHOLMOD_H for case of "cholmod/cholmod.h". | |
1454 | |
6231 | 1455 2007-01-08 David Bateman <dbateman@free.fr> |
1456 | |
1457 * oct-sparse.h: Replace sparsesuite with suitesparse and | |
1458 SPARSESUITE with SUITESPARSE to match upstream name. | |
1459 | |
6228 | 1460 2007-01-05 David Bateman <dbateman@free.fr> |
1461 | |
1462 * oct-fftw.cc: (octave_fftw_planner::method (void), | |
1463 octave_fftw_planner (FftwMethod)): New methods to interrogate and | |
1464 set the FFTW wisdom method used. | |
1465 (octave_fftw_planner::create_plan) Modify to allow different | |
1466 methods to be used. | |
1467 (octave_fftw_planner): Move class definition from here. | |
1468 * oct-fftw.h (octave_fftw_planner): To here. Add method methods | |
1469 and FftwMethod enum. | |
1470 | |
6221 | 1471 2007-01-03 David Bateman <dbateman@free.fr> |
1472 | |
1473 * MSparse.cc (SPARSE_A2A2_OP, SPARSE_A2A2_FCN_1, | |
1474 SPARSE_A2A2_FCN_1): Modify macros so that scalars stored as | |
1475 sparse matrices are special cased. | |
1476 | |
1477 * Sparse-op-defs.h: Include mx-ops.h to have access to mixed | |
1478 matrix, sparse matrix operations. | |
1479 (SPARSE_SMSM_BIN_OP_1, SPARSE_SMSM_BIN_OP_2, SPARSE_SMSM_BIN_OP_3, | |
1480 SPARSE_SMSM_CMP_OP, SPARSE_SMSM_BOOL_OP, SPARSE_MSM_BIN_OP_1, | |
1481 SPARSE_MSM_BIN_OP_2, SPARSE_MSM_CMP_OP, SPARSE_MSM_BOOL_OP, | |
1482 SPARSE_SMM_BIN_OP_1, SPARSE_SMM_BIN_OP_2, SPARSE_SMM_CMP_OP, | |
1483 SPARSE_SMM_BOOL_OP, SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, | |
1484 FULL_SPARSE_MUL): Modify macros so that scalars stored as | |
1485 sparse matrices are special cased. | |
1486 | |
6217 | 1487 2006-12-22 David Bateman <dbateman@free.fr> |
1488 | |
1489 * boolSparse.cc (SparseBoolMatrix::operator !): Fix off-by-one error. | |
1490 | |
6216 | 1491 2006-12-22 John W. Eaton <jwe@octave.org> |
1492 | |
1493 * dim-vector.h (dim_vector::dim_vector): Always start with at | |
1494 least 2 dimensions. | |
1495 (dim_vector::resize): Don't allow resizing to fewer than 2 dimensions. | |
1496 | |
6208 | 1497 2006-12-06 Michael Goffioul <michael.goffioul@swing.be> |
1498 | |
1499 * lo-sysdep.cc (opendir): Avoid passing \\* to FindFirstFile. | |
1500 | |
1501 * file-ops.cc (ops::canonicalize_file_name): Provide partial | |
6217 | 1502 implementation for Windows. |
6208 | 1503 |
6207 | 1504 2006-12-06 David Bateman <dbateman@free.fr> |
1505 | |
6208 | 1506 * dSparse.cc (SparseMatrix::is_symmetric): Faster implementation. |
1507 * CSparse.cc (SparseComplexMatrix::is_symmetric): Ditto. | |
6207 | 1508 |
1509 * dMatrrix.cc (finverse): Old inverse method renamed inverse. | |
1510 (tinverse): New method for triangular matrices. | |
1511 (inverse): New function with matrix type probing. | |
1512 * dMatrix.h (finverse, tinverse, inverse): New and modified | |
1513 declarations. | |
6208 | 1514 * CMatrix.cc: Ditto. |
1515 * CMatrix.h: Ditto. | |
6207 | 1516 |
6205 | 1517 2006-12-06 John W. Eaton <jwe@octave.org> |
1518 | |
1519 * strptime.c (day_of_the_week): Use code from current glibc sources. | |
1520 | |
6202 | 1521 2006-12-05 John W. Eaton <jwe@octave.org> |
1522 | |
1523 * lo-utils.cc (octave_read_double): If we see '+' or '-' but not | |
1524 followed by 'I' or 'i', try reading number after putting | |
1525 characters back on input stream. | |
1526 | |
6198 | 1527 2006-12-05 Paul Kienzle <pkienzle@users.sf.net> |
1528 | |
1529 * randpoisson.c (oct_fill_randp): For lambda > 1e8, upper limit of | |
1530 loop is n, not L. | |
1531 | |
6194 | 1532 2006-11-30 John W. Eaton <jwe@octave.org> |
1533 | |
1534 * lo-utils.cc (octave_read_double, read_inf_nan_na): | |
1535 Also recognize [+-][Ii]nf. | |
1536 | |
6187 | 1537 2006-11-28 David Bateman <dbateman@free.fr> |
6186 | 1538 |
1539 * oct-sparse.h: Allow sparse headers to also be in a sparsesuite | |
1540 sub-directory. | |
1541 | |
6204 | 1542 * dSparse.cc (SparseMatrix::inverse): Transpose the matrix type as |
1543 well when calling tinverse for lower triangular matrices. | |
1544 * CSparse.cc (SparseComplexMatrix::inverse): | |
1545 Ditto. | |
6185 | 1546 |
6183 | 1547 2006-11-21 John W. Eaton <jwe@octave.org> |
1548 | |
1549 * oct-env.cc (do_absolute_pathname): Undo previous change. | |
1550 | |
6182 | 1551 2006-11-20 John W. Eaton <jwe@octave.org> |
1552 | |
1553 * oct-env.cc (octave_env::do_absolute_pathname): Also return true | |
1554 for ".", and names beginning with "./" or "../". | |
1555 | |
6162 | 1556 2006-11-14 Luis F. Ortiz <lortiz@interactivesupercomputing.com> |
1557 | |
1558 * CMatrix.cc, dMatrix.cc: New tests. | |
1559 | |
6153 | 1560 2006-11-13 Michael Goffioul <michael.goffioul@swing.be> |
1561 | |
1562 * Array-d.cc, dDiagMatrix.h: Sprinkle with OCTAVE_API as needed. | |
1563 | |
6152 | 1564 2006-11-11 John W. Eaton <jwe@octave.org> |
1565 | |
1566 * Makefile.in ($(OPTS_INC), mx-ops.h): | |
1567 Use $(simple-move-if-change-rule) here. | |
1568 | |
6148 | 1569 2006-11-09 David Bateman <dbateman@free.fr> |
1570 | |
1571 * sparse-base-chol.cc (sparse_base_chol_rep::Q): Cast perms(i) to | |
1572 octave_idx_type, not int. | |
1573 | |
6145 | 1574 2006-11-08 John W. Eaton <jwe@octave.org> |
1575 | |
1576 * dir-ops.cc (dir_entry::read): Avoid rewinddir. | |
1577 | |
6141 | 1578 2006-11-06 John W. Eaton <jwe@octave.org> |
1579 | |
1580 * Array.cc (assignN): Exit early if invalid indices are found. | |
1581 | |
6140 | 1582 2006-11-03 Michael Goffioul <michael.goffioul@swing.be> |
1583 | |
1584 * strftime.c [HAVE_TZNAME]: Tag tzname with OCTAVE_IMPORT. | |
1585 | |
6137 | 1586 2006-11-03 John W. Eaton <jwe@octave.org> |
1587 | |
1588 * Makefile.in (DLL_CXXDEFS): Rename from XTRA_CXXDEFS. | |
1589 (DLL_CDEFS): Rename from XTRA_CDEFS. | |
1590 Substitute OCTAVE_DLL_DEFS, not XTRA_OCTAVE_DEFS. | |
1591 | |
6123 | 1592 2006-10-28 Michael Goffioul <michael.goffioul@swing.be> |
1593 | |
1594 * oct-shlib.cc: Undefine min and max after including windows.h. | |
1595 * oct-syscalls.cc (syscalls::pipe (int *)): Avoid infinite recursion. | |
1596 * lo-sysdep.h: Move opendir, readdir, etc. decls here from | |
1597 lo-sysdep.cc. | |
1598 | |
6113 | 1599 2006-10-27 John W. Eaton <jwe@octave.org> |
1600 | |
6119 | 1601 * oct-time.cc [! HAVE_STRFTIME]: Declare strftime. |
1602 | |
1603 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> | |
1604 | |
1605 * mx-op-defs.h (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, | |
1606 NDS_CMP_OPS2): New macros. | |
6113 | 1607 |
6111 | 1608 2006-10-26 John W. Eaton <jwe@octave.org> |
1609 | |
6119 | 1610 * mx-ops (core-type): New field for integer types. |
1611 * mk-ops.awk: Handle core-type for integer comparison ops. | |
1612 | |
6111 | 1613 * lo-cutils.c (octave_strcasecmp, octave-strncasecmp): |
1614 Move here from src/cutils.c. | |
1615 * lo-utils.h: Provide decls. | |
1616 * strcasecmp.c: Move here from src/strcasecmp.c. | |
1617 * strncase.c: Move here from src/strncase.c. | |
1618 * Makefile.in (LIBOCTAVE_C_SOURCES): Add them to the list. | |
1619 | |
6106 | 1620 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
1621 | |
1622 * kpse.cc [! MSVC]: Don't include win32lib.h. | |
1623 | |
6708 | 1624 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-util.h, |
1625 Array.h, CColVector.h, CMatrix.h, CNDArray.h, CRowVector.h, | |
1626 CSparse.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, | |
1627 CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, | |
1628 CollocWt.h, DAE.h, DASPK.h, DASRT.h, DASSL.h, EIG.h, LSODE.h, | |
1629 MArray-C.cc, MArray-defs.h, MSparse-C.cc, MSparse-d.cc, | |
1630 MSparse-defs.h, MatrixType.h, NLEqn.h, Quad.h, Range.h, | |
1631 Sparse-op-defs.h, Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, | |
1632 SparseCmplxQR.h, SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, | |
1633 boolMatrix.h, boolNDArray.h, boolSparse.h, chMatrix.h, | |
1634 chNDArray.h, cmd-edit.h, cmd-hist.h, dColVector.h, dDiagMatrix.h, | |
1635 dMatrix.h, dNDArray.h, dRowVector.h, dSparse.h, data-conv.h, | |
1636 dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, dbleLU.h, | |
1637 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, dir-ops.h, | |
1638 file-ops.h, file-stat.h, glob-match.h, idx-vector.h, | |
1639 int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, | |
1640 lo-cutils.c, lo-ieee.h, lo-mappers.h, lo-specfun.h, lo-utils.h, | |
1641 mach-info.h, mx-op-defs.h, oct-alloc.h, oct-env.h, oct-group.h, | |
1642 oct-inttypes.cc, oct-inttypes.h, oct-passwd.h, oct-rand.h, | |
1643 oct-shlib.h, oct-spparms.h, oct-syscalls.h, oct-time.h, | |
1644 oct-uname.h, pathsearch.h, prog-args.h, so-array.h, str-vec.h, | |
1645 uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc, | |
1646 uint8NDArray.cc: Sprinkle with OCTAVE_API as needed. | |
6108 | 1647 |
6105 | 1648 2006-10-26 John W. Eaton <jwe@octave.org> |
1649 | |
1650 * oct-inttypes.cc (INSTANTIATE_INTTYPE_BIN_OP): Provide explicit | |
1651 type qualification for OP. | |
1652 | |
6101 | 1653 2006-10-26 David Bateman <dbateman@free.fr> |
1654 | |
1655 * Sparse.cc (Sparse<T>::resize_no_fill (octave_idx_type, | |
1656 octave_idx_type)): Be more careful with the size of the input | |
1657 matrix, and therefore don't create or read non existent data. | |
1658 | |
6092 | 1659 2006-10-25 John W. Eaton <jwe@octave.org> |
1660 | |
1661 * Sparse.cc (assign): Clear lhs index after error. | |
1662 | |
6093 | 1663 2006-10-25 David Bateman <dbateman@free.fr> |
6092 | 1664 |
1665 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1666 Fix previous patch so it works. | |
1667 | |
6087 | 1668 2006-10-25 Michael Goffioul <michael.goffioul@swing.be> |
1669 | |
6095 | 1670 * glob-match.h (glob_match::glob_match (const std::string&, |
1671 unsigned int)): Delete initializer for first arg. | |
1672 | |
6093 | 1673 * lo-sysdep.cc (opendir, readdir, rewinddir, closedir): |
1674 New functions. | |
1675 | |
6087 | 1676 * Makefile.in (XTRA_CDEFS, XTRA_CXXDEFS): Substitute here. |
1677 | |
6096 | 1678 * oct-env.cc (octave_env::do_get_home_directory) [_MSC_VER]: Use |
1679 same code as __MINGW32__. | |
1680 * syswait.h [_MSC_VER]: Define HAVE_WAITPID, WAITPID, and WNOHANG | |
1681 the same as for __MINGW32__. | |
1682 | |
1683 * randpoisson.c: Undefine INFINITE before redefining. | |
1684 | |
6079 | 1685 2006-10-24 David Bateman <dbateman@free.fr> |
1686 | |
1687 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Resize the | |
1688 lhs at the point we know the assignment can succeed if the lhs is | |
1689 empty. | |
1690 | |
6072 | 1691 2006-10-23 John W. Eaton <jwe@octave.org> |
1692 | |
1693 * Array.cc (assign2): Don't require vector assignments to be oriented. | |
1694 | |
6061 | 1695 2006-10-17 John W. Eaton <jwe@octave.org> |
1696 | |
1697 * lo-cieee.c: If isnan is not available but _isnan is, then define | |
1698 isnan to be _isnan, and define HAVE_ISNAN. Likewise for _finite | |
1699 and _copysign. | |
1700 | |
6059 | 1701 2006-10-17 Michael Goffioul <michael.goffioul@swing.be> |
6051 | 1702 |
6061 | 1703 * oct-syscalls.cc (syscalls::waitpid): Always declare and define retval. |
1704 | |
6708 | 1705 * CMatrix.cc (ComplexMatrix::solve): Avoid infinite recursion. |
1706 * CSparse.cc (SparseComplexMatrix::insert): Likewise. | |
6061 | 1707 |
6058 | 1708 * oct-types.h.in: Include limits.h, for CHAR_BIT. |
1709 | |
6059 | 1710 2006-10-13 Michael Goffioul <michael.goffioul@swing.be> |
1711 | |
6051 | 1712 * Makefile.in: Adapt rules to use $(LIBPRE). |
1713 | |
6027 | 1714 2006-10-03 David Bateman <dbateman@free.fr> |
1715 | |
1716 * MatrixType.cc (MatrixType::MatrixType): Avoid crash if np == 0 | |
1717 or p == 0. | |
1718 | |
6018 | 1719 2006-10-02 John W. Eaton <jwe@octave.org> |
1720 | |
1721 * dbleDET.cc (DET::initialize2): Ensure arg to log10 is double. | |
1722 * CmplxDET.cc (ComplexDET::initialize2): Likewise. | |
1723 | |
5996 | 1724 2006-09-22 David Bateman <dbateman@free.fr> |
1725 | |
1726 * MatrixType.h (MatrixType::MatrixType(const SparseComplexMatrix&)): | |
5997 | 1727 Remove spurious warning. |
5996 | 1728 |
5992 | 1729 2006-09-15 John W. Eaton <jwe@octave.org> |
1730 | |
1731 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&) const): | |
1732 Handle resizing. | |
1733 | |
1734 * intNDArray.h (intNDArray<T>:elt_type): New typedef. | |
1735 | |
5983 | 1736 2006-09-11 John W. Eaton <jwe@octave.org> |
1737 | |
1738 * dMatrix.cc (operator * (const Matrix&, const Matrix&))): | |
1739 Handle M*v and rv*cv special cases. | |
1740 * CMatrix.cc (operator * (const ComplexMatrix&, const | |
1741 ComplexMatrix&))): Likewise. | |
1742 From Luis F. Ortiz <lortiz@interactivesupercomputing.com>. | |
1743 | |
1744 * dRowVector.cc (operator * (const RowVector&, const | |
1745 ColumnVector&)): Call xddot here instead of using a Fortran | |
1746 function directly. | |
1747 * CRowVector.cc (operator * (const ComplexRowVector&, const | |
1748 ComplexColumnVector&)): Call xzdotu here. | |
1749 | |
1750 2006-09-05 John W. Eaton <jwe@octave.org> | |
1751 | |
1752 * chNDArray.cc (charNDArray::any, charNDArray::all): Compare | |
1753 elements to '\0', not ' '. | |
1754 | |
5972 | 1755 2006-08-25 John W. Eaton <jwe@octave.org> |
1756 | |
1757 * mx-inlines.cc (MX_ND_REDUCTION): Special case for 0x0 arrays. | |
1758 | |
5958 | 1759 2006-08-23 John W. Eaton <jwe@octave.org> |
1760 | |
1761 * dMatrix.cc, dMatrix.h (Matrix::save_ascii): Delete function and decl. | |
1762 * CMatrix.cc, CMatrix.h (ComplexMatrix::save_ascii): Likewise. | |
1763 | |
5955 | 1764 2006-08-22 John W. Eaton <jwe@octave.org> |
1765 | |
5956 | 1766 * CMatrix.cc (ComplexMatrix::save_ascii): New function. |
1767 * dMatrix.cc (Matrix::save_ascii): New function. | |
1768 | |
5955 | 1769 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Correctly detect empty arrays. |
1770 If array is empty, return value is same size as array. | |
1771 (MX_ND_REDUCTION): Correctly detect empty arrays. | |
1772 If array is empty, produce correctly sized return value. | |
1773 | |
5940 | 1774 2006-08-18 John W. Eaton <jwe@octave.org> |
1775 | |
5943 | 1776 * dMatrix.cc (Matrix::any_element_not_one_or_zero): New function. |
1777 * dMatrix.h: Provide decl. | |
1778 * dNDArray.cc (NDArray::any_element_not_one_or_zero): New function. | |
1779 * dNDArray.h: Provide decl. | |
1780 * intNDArray.cc (intNDArray<T>::any_element_not_one_or_zero): | |
1781 New function. | |
1782 * intNDArray.h: Provide decl. | |
1783 | |
5940 | 1784 * Array.cc (Array<T>::permute): Only rearrange values if array is |
1785 not empty. | |
1786 | |
5904 | 1787 2006-07-26 John W. Eaton <jwe@octave.org> |
1788 | |
1789 * dbleDET.cc (DET::initialize10, DET::value_will_underflow, | |
1790 DET::value_will_overflow): Use xlog2 instead of log2. | |
1791 (DET::initialize2, DET::initialize10): Use xround instead of round. | |
1792 (DET::initialize2, DET::value): Use xexp2 instead of exp2. | |
1793 * CmplxDET.cc (ComplexDET::initialize10, | |
1794 ComplexDET::value_will_underflow, | |
1795 ComplexDET::value_will_overflow): Use xlog2 instead of log2. | |
1796 (ComplexDET::initialize2, ComplexDET::initialize10): | |
1797 Use xround instead of round. | |
1798 (ComplexDET::initialize2, ComplexDET::value): | |
1799 Use xexp2 instead of exp2. | |
1800 | |
1801 * lo-mappers.cc (M_LOG10E): Delete unused macro. | |
1802 (xlog2, xexp2): New functions. | |
1803 * lo-mappers.h: Provide decls. | |
1804 | |
5900 | 1805 2006-07-22 John W. Eaton <jwe@octave.org> |
1806 | |
1807 * Sparse.h (Sparse<T>::mex_get_data, Sparse<T>::mex_get_ir, | |
1808 Sparse<T>::mex_get_jc): New functions. | |
1809 | |
1810 2006-07-21 John W. Eaton <jwe@octave.org> | |
1811 | |
1812 * oct-inttypes.h (octave_int<T>::mex_get_data): New function. | |
1813 * Array.h (Array<T>::mex_get_data): New function. | |
1814 | |
5898 | 1815 2006-07-19 John W. Eaton <jwe@octave.org> |
1816 | |
1817 * oct-inttypes.h (octave_int::operator bool (void)): New function. | |
1818 | |
5893 | 1819 2006-07-16 John W. Eaton <jwe@octave.org> |
1820 | |
1821 * oct-spparms.h, oct-spparms.cc (class octave_sparse_params): | |
1822 Rename from SparseParams. Use same implementation method as other | |
1823 singleton classes in Octave. Change all uses of | |
1824 Voctave_sparse_controls to use static functions from | |
1825 octave_sparse_params class instead. | |
1826 | |
1827 * oct-spparms.h, oct-spparms.cc (SparseParams::set_key, | |
1828 SparseParams::get_key): Pass std::string arg by const reference, | |
1829 not const value. | |
1830 | |
5892 | 1831 2006-07-15 John W. Eaton <jwe@octave.org> |
1832 | |
1833 * data-conv.cc: Instantiante swap_bytes templates here. | |
1834 | |
1835 * MatrixType.cc (MatrixType::MatrixType): | |
1836 Use complete initializer lists in constructors. | |
1837 | |
5880 | 1838 2006-07-06 John W. Eaton <jwe@octave.org> |
1839 | |
1840 * str-vec.cc (string_vector::string_vector (std::list<std::string>&)): | |
1841 New constructor. | |
1842 * str-vec.h: Provide decl. | |
1843 | |
5876 | 1844 2006-07-01 David Bateman <dbateman@free.fr> |
1845 | |
1846 * dSparse.cc (tinverse): Check for rows with no elements and zero | |
1847 elements on the diagonal. Allow both Upper and Lower triangular | |
1848 matrices to be treated. | |
1849 * CSparse.cc (tinverse): ditto. | |
1850 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Take into account 64-bit | |
1851 constant assignment. | |
1852 | |
5870 | 1853 2006-06-30 John W. Eaton <jwe@octave.org> |
1854 | |
5872 | 1855 * lo-sysdep.cc (octave_chdir): Perform tilde expansion here. |
1856 * cmd-edit.cc (editor::read_init_file): Ditto. | |
1857 * dir-ops.cc (dir_entry::open): Ditto. | |
5871 | 1858 * file-stat.cc (stat::update_internal): Ditto. |
5872 | 1859 * cmd-hist.cc (command_history::set_file): Ditto. |
5871 | 1860 |
5870 | 1861 * data-conv.cc (data_conv::string_to_data_type): |
1862 Correctly handle leading "*". | |
1863 | |
5869 | 1864 2006-06-29 Atsushi Kajita <a-kajita@mizar.freemail.ne.jp> |
1865 | |
1866 * Sparse.cc (Sparse<T>::SparseRep::elem): Avoid out of bounds | |
1867 array access. | |
1868 | |
5866 | 1869 2006-06-27 John W. Eaton <jwe@octave.org> |
1870 | |
1871 * Makefile.in: Finish renaming of OBJECTS -> LIBOCTAVE_OBJECTS. | |
1872 | |
5864 | 1873 2006-06-21 John W. Eaton <jwe@octave.org> |
1874 | |
1875 * oct-shlib.cc (octave_dlopen_shlib::close, | |
1876 octave_shl_load_shlib::close, octave_w32_shlib::close): | |
1877 Skip do_close_hook if cl_hook is 0. | |
1878 | |
5863 | 1879 2006-06-16 John W. Eaton <jwe@octave.org> |
1880 | |
1881 * oct-sort.h: Don't include config.h, lo-mappers.h, or quit.h. | |
1882 * randmtzig.h: Don't inlcude config.h. | |
1883 | |
5837 | 1884 2006-05-31 David Bateman <dbateman@free.fr> |
1885 | |
1886 * Array.cc (assignN): Maybe reshape LHS before doing assignment. | |
1887 | |
5828 | 1888 2006-05-23 John W. Eaton <jwe@octave.org> |
1889 | |
1890 * oct-types.h.in: Include stdint.h or inttypes.h for integer | |
1891 typedefs, or define them if those files are not available. | |
1892 * oct-inttypes.h (octave_int8_t, octave_int16_t, octave_int32_t, | |
1893 octave_int64_t, octave_uint8_t, octave_uint16_t, octave_uint32_t, | |
1894 octave_uint64_t): Delete typedefs. Replace all uses of these | |
1895 types with int8_t, int16_t, etc. | |
1896 * data-conv.h (TWO_BYTE_INT, FOUR_BYTE_INT, EIGHT_BYTE_INT): | |
1897 Delete definitions. Replace all uses of these macros with int8_t, | |
1898 int16_t, etc. | |
1899 * randmtzig.h: Delete integer typedefs. | |
1900 | |
5822 | 1901 2006-05-18 John W. Eaton <jwe@octave.org> |
1902 | |
1903 * EIG.cc (EIG::init): Trap Inf and NaN values here. | |
1904 From Keith Goodman <kwgoodman@gmail.com>. | |
1905 | |
5813 | 1906 2006-05-08 David Bateman <dbateman@free.fr> |
1907 | |
1908 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): fix bug in previous | |
1909 modification. | |
1910 | |
5797 | 1911 2006-05-09 David Bateman <dbateman@free.fr> |
1912 | |
1913 * sparse-dmsolve.cc: Remove reference to ov-re-sparse.h, | |
1914 ov-cx-sparse. and error_state. | |
1915 * SparseQR.cc, SparseCmplxQR.cc (qrsolve): Return info = -1 on error. | |
1916 | |
5795 | 1917 2006-05-08 David Bateman <dbateman@free.fr> |
1918 | |
1919 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Set column pointers in | |
1920 first pass and use to determine which algorithm to use on a | |
1921 column-by-column basis. | |
1922 | |
5792 | 1923 2006-05-04 David Bateman <dbateman@free.fr> |
1924 | |
1925 * SparseQR.cc, SparseQR.h, SparseCmplxQR.cc, SparseCmplxQR.h, | |
1926 sparse-dmsolve.cc : Allow compilation with versions v2.0.0 of | |
1927 CXSparse or later | |
1928 | |
5785 | 1929 2006-05-03 David Bateman <dbateman@free.fr> |
1930 | |
1931 * CMatrix.cc (zpotrf, zpocon, zpotrs, ztrcon, ztrtrs): | |
1932 External declaration of lapack triangular and Cholesky codes. | |
1933 (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, | |
1934 ComplexMatrix::fsolve): New private solver codes for | |
1935 upper, lower and LU/Cholesky solvers. | |
1936 (ComplexMatrix::solve): New versions for cached matrix | |
1937 type. Adapt old versions to call new versions | |
1938 * CMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
1939 new solvers. | |
1940 (solve): New versions for cached matrix type. | |
1941 * dMatrix.cc (dpotrf, dpocon, dpotrs, dtrcon, dtrtrs): | |
1942 External declaration of lapack triangular and Cholesky codes. | |
1943 (Matrix::utsolve, Matrix::ltsolve, | |
1944 Matrix::fsolve): New private solver codes for | |
1945 upper, lower and LU/Cholesky solvers. | |
1946 (Matrix::solve): New versions for cached matrix | |
1947 type. Adapt old versions to call new versions | |
1948 * dMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
1949 new solvers. | |
1950 (solve): New versions for cached matrix type. | |
1951 * CSparse.cc: Replace all uses of SparseType with MatrixType. | |
1952 * CSparse.h: ditto. | |
1953 * dSparse.cc: ditto. | |
1954 * dSparse.h: ditto. | |
1955 * SparseCmplxCHOL.cc: ditto. | |
1956 * SparsedbleCHOL.cc: ditto. | |
1957 * sparse-dmsolve.cc: ditto. | |
1958 * SparseType.cc, SparseType.h: delete. | |
1959 * MatrixType.cc: New file for class to cache matrix type, based on | |
1960 old SparseType class but caching matrix and sparse types. | |
1961 * MatrixType.h: ditto. | |
1962 * Makefile.in (MATRIX_INC, MATRIX_SRC): Add MatrixType.h and | |
1963 MatrixType.cc respectively. Delete SparseType.h and SparseType.cc | |
1964 respectively. | |
1965 * mx-base.h: Include MatrixTye.h as header file. | |
1966 | |
5781 | 1967 2006-05-01 John W. Eaton <jwe@octave.org> |
1968 | |
1969 * oct-shlib.h (octave_shlib::octave_shlib, octave_shlib::open): | |
1970 Delete WARN_FUTURE arg. Change all uses. | |
1971 * oct-shlib.cc (octave_base_shlib::stamp_time): Delete arg. | |
1972 Change all uses. Use current_liboctave_warning_with_id_handler. | |
1973 (octave_base_shlib::open): Delete arg. Change all derived classes | |
1974 and uses. | |
1975 | |
1976 2006-04-29 John W. Eaton <jwe@octave.org> | |
1977 | |
1978 * Array-flags.cc, Array-flags.h: Delete. | |
1979 * Makefile.in (MATRIX_SRC): Remove Array-flags.cc from the list. | |
1980 (MATRIX_INC): Remove Array-flags.h from the list. | |
1981 | |
1982 * idx-vector.cc (IDX_VEC_REP::freeze): Delete warn_resize arg. | |
1983 Use current_liboctave_warning_with_id_handler | |
1984 with warning ID Octave:resize-on-range-error. | |
1985 * idx-vector.h: Fix decl. | |
1986 * Array.cc, Sparse.cc: Change all callers. | |
1987 | |
1988 * Array.cc (Array<T>::maybe_delete_elements, Array<T>::index2, | |
1989 assign2, assignN): Use current_liboctave_warning_with_id_handler | |
1990 with warning ID Octave:fortran-indexing instead of | |
1991 liboctave_wfi_flag. | |
1992 * Sparse.cc (assign, Sparse<T>::index): Likewise. | |
1993 | |
5777 | 1994 2006-04-26 John W. Eaton <jwe@octave.org> |
1995 | |
1996 * pathsearch.cc (dir_path::path_sep_char, dir_path::path_sep_str): | |
1997 New static data. | |
1998 * pathsearch.h: Provide decls. | |
1999 (dir_path::is_path_sep): New function. | |
2000 | |
5766 | 2001 2006-04-18 John W. Eaton <jwe@octave.org> |
2002 | |
2003 * randmtzig.c (randmt, randi53, randi54, randi64, randu32, randu53): | |
2004 Omit inline from decl. | |
2005 | |
2006 * Sparse.cc (Sparse<T>::index): Use std::vector<bool> to avoid | |
2007 local array with variable dimension. | |
2008 | |
5764 | 2009 2006-04-16 John W. Eaton <jwe@octave.org> |
2010 | |
5765 | 2011 * lo-sstream.h: Delete. |
2012 * Makefile.in (INCLUDES): Remove it from the list. | |
2013 | |
2014 * dim-vector.h (dim_vector::str): Use std::ostringstream directly. | |
2015 * Sparse.cc (Sparse::range_error): Likewise. | |
2016 * DASSL.cc (DASSL::error_message): Likewise. | |
2017 * LSODE.cc (LSODE::error_message): Likewise. | |
2018 * DASRT.cc (DASRT::error_message): Likewise. | |
2019 * DASPK.cc (DASPK::error_message): Likewise. | |
2020 * Array.cc (Array::range_error): Likewise. | |
2021 | |
5764 | 2022 * kpse.cc (kpse_hash): Rename from hash. |
2023 (hash_lookup): Call kpse_hash instead of hash. | |
2024 | |
2025 * SparseType.cc (SparseType::SparseType): Use std::vector<bool> | |
2026 to avoid local array with variable dimension. | |
2027 | |
5760 | 2028 2006-04-13 David Bateman <dbateman@free.fr> |
2029 | |
2030 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
2031 Optimize assignment. | |
2032 | |
2033 2006-04-13 John W. Eaton <jwe@octave.org> | |
2034 | |
2035 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
2036 Eliminate unnecessary casts. | |
2037 * SparsedbleLU.cc (SparseLU::SparseLU): Likewise. | |
2038 | |
2039 * kpse.cc (fopen): Use reinterpret_cast instead of C-style cast. | |
2040 (log_search, dir_links): Use static_cast instead of C-style cast. | |
2041 | |
2042 * prog-args.cc (args::getopt): Use reinterpret_cast instead of X_CAST. | |
2043 * oct-alloc.cc (allocator::grow): Likewise. | |
2044 * CSparse.cc (SparseComplexMatrix::determinant, | |
2045 SparseComplexMatrix::factorize, SparseComplexMatrix::fsolve): | |
2046 Likewise. | |
2047 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU): Likewise. | |
2048 | |
2049 * oct-sort.cc (roundupsize, octave_sort<T>::merge_getmem): | |
2050 Use static_cast instead of C-style cast. | |
2051 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
2052 * dSparse.cc (SparseMatrix::fsolve): Likewise. | |
2053 | |
2054 * data-conv.cc (LS_DO_WRITE): Use static_cast for value conversion. | |
2055 Use OCTAVE_LOCAL_BUFFER instead of new/delete. | |
2056 (LS_DO_READ): Allocate local buffer to avoid pointer tricks. | |
2057 (write_doubles, read_doubles, LS_DO_WRITE, LS_DO_READ): | |
2058 Use reinterpret_cast instead of X_CAST. | |
2059 | |
2060 * DiagArray2.h (DiagArray2::Proxy::operator&): No need to cast | |
2061 return value here. | |
2062 | |
5752 | 2063 2006-04-12 Rafael Laboissiere <rafael@debian.org> |
2064 | |
2065 * ArrayN.h (ArrayN::ArrayN): Qualify fill with Array<T> base class. | |
2066 * DiagArray2.h (DiagArray2::DiagArray2): Likewise. | |
2067 | |
5730 | 2068 2006-04-03 David Bateman <dbateman@free.fr> |
2069 | |
5731 | 2070 * Sparse.cc (Sparse<T>::resize): Use xcidx rather than cdix, etc |
2071 to avoid copy of original matrix. | |
2072 | |
5730 | 2073 * Makefile.in (INCLUDES): Add randgamma.h, randpoisson.h and |
2074 randmtzig.h to the list. | |
2075 (LIBOCTAVE_C_SOURCES): Add randgamma.c, randpoisson.c and | |
2076 randmtzig.c to the list. | |
2077 * oct-rand.cc (do_old_initialization): Rename from do_initialization. | |
2078 (use_old_generators): New variable. | |
2079 (old_initialized): Rename from initialized. | |
2080 (new_initialized): New variable. | |
2081 (oct_init_by_entropy): New function. | |
2082 (maybe_initialize): Initialize new or old generator depending on | |
2083 value of use_old_generators. | |
2084 (octave_rand::state): New functions. | |
2085 (octave_rand::distribution): Add gamma, exponential and poisson | |
2086 distributions. | |
2087 (octave_rand::exponential_distribution, | |
2088 octave_rand::poisson_distribution, | |
2089 octave_rand::gamma_distribution): New methods to select | |
2090 exponential, poisson or gamma distribution. | |
2091 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
2092 octave_rand::vector): Add new distributions. | |
2093 * oct-rand.h: Provide decls for new functions. | |
2094 (octave_rand::matrix, octave_rand::scalar, octave_rand:: | |
2095 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
2096 octave_rand::vector): New arg A, for gamma and poisson distributions. | |
2097 * randpoisson.c, randpoisson.h, randgamma.c, randmtzig.c, | |
2098 randmtzig.h: New files. | |
2099 | |
5717 | 2100 2006-03-24 John W. Eaton <jwe@octave.org> |
2101 | |
2102 * dSparse.cc (SparseMatrix::bsolve): Integer work vector is | |
2103 Array<octave_idx_type>, so fortran_vec returns pointer to | |
2104 octave_idx_type, not pointer to int. | |
2105 | |
2106 * CMatrix.cc, CMatrix.h (ComplexMatrix::row (char*), | |
2107 ComplexMatrix::column (char*)): Delete. | |
2108 * dMatrix.cc, dMatrix.h (Matrix::row (char*), | |
2109 Matrix::column (char*)): Delete. | |
2110 | |
5713 | 2111 2006-03-21 David Bateman <dbateman@free.fr> |
2112 | |
2113 * SparseQR.h: Publish externally used friends. | |
2114 * SparseCmplxQR.h: ditto. | |
2115 | |
5700 | 2116 2006-03-21 John W. Eaton <jwe@octave.org> |
2117 | |
2118 * lo-specfun.cc (betainc): Use F77_XFCN instead of F77_FUNC for | |
2119 call to xdbetai. | |
2120 | |
5697 | 2121 2006-03-21 David Bateman <dbateman@free.fr> |
2122 | |
5701 | 2123 * lo-specfun.cc (xlgamma, xgamma): Trap special values. |
2124 (xlgamma): Use F77_XFCN instead of F77_FUNC for call to dlgams. | |
5700 | 2125 |
2126 * dSparse.cc (solve): Add argument singular_fallback, to allow | |
2127 fallback to QR solvers to be optional. | |
2128 * CSparse.cc (solve): Ditto. | |
2129 * dSparse.h (solve): update declaration for new argument. | |
2130 * CSparse.h (solve): Ditto. | |
2131 * sparse-dmsolve.cc (dmsolve): Use singular_fallback argument | |
2132 to bypass QR solvers when solving the well determined part of | |
2133 the problem. | |
5697 | 2134 |
5690 | 2135 2006-03-17 John W. Eaton <jwe@octave.org> |
2136 | |
2137 * str-vec.cc (vector::list_in_columns): New optional arg, width. | |
2138 | |
5681 | 2139 2006-03-16 David Bateman <dbateman@free.fr> |
2140 | |
2141 * CSparse.cc: Change use of nzmax to nnz to allow automatic | |
2142 reduction of matrix size, except for a couple of cases where nzmax | |
2143 is needed. | |
2144 (zpbcon): Correct declaration of lapack zpbcon function. | |
2145 (dsolve, utsolve, ltsolve, trisolve, bsolve, factorize, fsolve): Add | |
2146 an argument to allow the calculation of condition number to be | |
2147 optional. | |
2148 (bsolve): Add code for the calculation of the condition number | |
2149 using zpbcon and zgbcon. | |
2150 (dsolve): Bug fix for rectangular matrices with sparse RHS. | |
2151 (utsolve, ltsolve, trisolve, bsolve, fsolve): Mark matrix type as | |
2152 singular if singularity is detected. | |
2153 (solve): Use optional argument to disable calculation of | |
2154 condition number for all but fsolve, for speed. Add code to | |
2155 allow rectnagular matrices or matrices identified as singular | |
2156 to be treated. | |
2157 (lssolve): delete. | |
2158 (operator *): Don't recast real matrices as complex, but | |
2159 rather use the macro directly on the real data. | |
2160 * dSparse.cc: ditto. | |
2161 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, | |
2162 fsolve, factorize): Update declaration for new argument to | |
2163 calculate the condition number. | |
2164 (lssolve): delete. | |
2165 * dSparse.h: ditto. | |
2166 * Msparse.h: Change use of nxmax to nnz to allow automatic | |
2167 reduction of matrix size, except for a couple of cases where | |
2168 nzmax is needed. | |
2169 * Sparse.cc: Change use of nxmax to nnz to allow automatic | |
2170 reduction of matrix size, except for a couple of cases where | |
2171 nzmax is needed. | |
2172 (Sparse<T>::index (idx_vector&, idx_vector&, int) const): | |
2173 Special case strict permutations for speed. | |
2174 * Sparse-op-defs.h: Change use of nxmax to nnz to allow automatic | |
2175 reduction of matrix size, except for a couple of cases where | |
2176 nzmax is needed. | |
2177 (SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, FULL_SPARSE_MUL): Update | |
2178 macros to allow mixed complex/real arguments. | |
2179 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): New macro for C99 zero | |
2180 value. | |
2181 (qrsolve): Use it to zero temporary buffers used bt CXSPARSE. | |
2182 * SparseType.cc (SparseType::SparseType ()): Correct detection | |
2183 of permutated triangular matrices to avoid seg-faults. Disable | |
2184 detection of underdetermined lower and over-determined upper | |
2185 matrix due to problems with non minimum norm solutions. | |
2186 * sparse-dmsolve.cc: New file for Dulmage-Mendelsohn solver. | |
2187 * Makefile.in: add sparse-dmsolve.cc to targets. | |
2188 | |
5675 | 2189 2006-03-15 William Poetra Yoga Hadisoeseno <williampoetra@gmail.com> |
2190 | |
2191 * oct-time.cc (octave_strptime::init): Return useful character count. | |
2192 | |
5648 | 2193 2006-03-08 David Bateman <dbateman@free.fr> |
2194 | |
2195 * SparseCmplxQR.cc: Updates for new upstream CXSPARSE release. Fix for | |
2196 g++ 4.x stl_vector.h issue with C99 double _Complex type. | |
2197 * SparseCmplxQR.h: Updates for new upstream CXSPARSE release. | |
2198 * SparseQR.cc: ditto. | |
2199 * SparseQR.h: ditto. | |
2200 * oct-sparse.h: ditto. | |
2201 * sparse-base-chol.cc (sparse_base_chol<>::sparse_base_chol_rep::init): | |
2202 Declare info variable as volatile. | |
2203 | |
2204 * Sparse.cc (Sparse<T>::transpose (void) const): Accelerate algorithm. | |
2205 * CSparse.cc (SparseComplexMatrix::transpose (void) const): ditto. | |
2206 | |
5634 | 2207 2006-03-01 John W. Eaton <jwe@octave.org> |
2208 | |
2209 * CMatrix.cc (ComplexMatrix::determinant): | |
2210 Scale result by factors of 2, not 10. | |
2211 * dMatrix.cc (Matrix::determinant): Likewise. | |
2212 | |
2213 * dbleDET.h (DET::DET): Use initializer list. | |
2214 (DET::coefficient2, DET::coefficient10, DET::exponent2, | |
2215 DET::exponent10): New functions. | |
2216 (DET::det): Delete. | |
2217 (DET::c2, DET::c10, DET::e2, DET::e10, DET::base2): New data members. | |
2218 Store value internally with double and int instead of 2-element | |
2219 double vector. | |
2220 (DET::initialize2, DET::initialize10): Provide decls. | |
2221 * dbleDET.cc (DET::value_will_overflow, DET::value_will_underflow): | |
2222 Return bool value, not int. | |
2223 (DET::initialize2, DET::initialize10): New functions. | |
2224 | |
2225 * CmplxDET.h (ComplexDET::ComplexDET): Use initializer list. | |
2226 (ComplexDET::coefficient2, ComplexDET::coefficient10, | |
2227 ComplexDET::exponent2, ComplexDET::exponent10): New functions. | |
2228 (ComplexDET::det): Delete. | |
2229 (ComplexDET::c2, ComplexDET::c10, ComplexDET::e2, ComplexDET::e10, | |
2230 ComplexDET::base2): New data members. | |
2231 Store value internally with Complex and int instead of 2-element | |
2232 Complex vector. | |
2233 (ComplexDET::initialize2, ComplexDET::initialize10): Provide decls. | |
2234 * dbleComplexDET.cc (ComplexDET::value_will_overflow, | |
2235 ComplexDET::value_will_underflow): Return bool value, not int. | |
2236 (ComplexDET::initialize2, ComplexDET::initialize10): New functions. | |
2237 | |
5632 | 2238 2006-02-24 John W. Eaton <jwe@octave.org> |
2239 | |
2240 * Array.cc (assignN): Clear index before reshaping. | |
2241 | |
2242 * Array.h (Array<T>::operator =): Don't set idx to 0 if copying self. | |
2243 | |
5630 | 2244 2006-02-20 David Bateman <dbateman@free.fr> |
2245 | |
2246 * dSparse.cc (dsolve, utsolve, ltsolve): Remove restriction that | |
2247 matrix must be square in diagonal, permuted diagonal, triangular | |
2248 and permuted triangular back/forward substitution code. Change | |
2249 ambiguous use of no. rows and columns. | |
2250 * CSParse.cc (dsolve, utsolve, ltsolve): ditto. | |
2251 * SparseType.cc (SparseType::SparseType(const SparseMatrix&), | |
2252 SparseType::SparseType(const SparseComplexMatrix&)): Recognize | |
2253 rectangular diagonal, permuted diagonal, triangular and permuted | |
2254 triangular matrices. | |
2255 * Sparse.cc (Sparse<T>::Sparse (octave_idx_type, octave_idx_type, T)): | |
2256 Treat case where third argument is zero. | |
2257 | |
5621 | 2258 2006-02-15 John W. Eaton <jwe@octave.org> |
2259 | |
5622 | 2260 * kpse.cc: Do define ST_NLINK_TRICK for Cygwin systems. |
2261 (do_subdir) [ST_NLINK_TRICK]: Check links != 2 instead of links > 2. | |
2262 | |
5621 | 2263 * getopt.c: Use __CYGWIN__ instead of __CYGWIN32__. |
2264 | |
5619 | 2265 2006-02-13 David Bateman <dbateman@free.fr> |
2266 | |
2267 * Makefile.in (LINK_DEPS): Add missing dependencies on colamd, | |
2268 ccolamd and cxsparse | |
2269 | |
5617 | 2270 2006-02-13 John W. Eaton <jwe@octave.org> |
2271 | |
5618 | 2272 * kpse.cc (kpse_path_iterator::next): Reverse order of tests in |
2273 while loop condition. | |
2274 (kpse_path_iterator::operator =): Declare as private function but | |
2275 don't define to prevent attempts to use assignment operator. | |
2276 Don't define ST_NLINK_TRICK for Cygwin systems. | |
5617 | 2277 |
5615 | 2278 2006-02-10 John W. Eaton <jwe@octave.org> |
2279 | |
2280 * mx-inlines.cc (MX_ND_REDUCTION): Store in cummulative | |
2281 product of all dimensions in CP_SZ. | |
2282 | |
5611 | 2283 2006-02-09 John W. Eaton <jwe@octave.org> |
2284 | |
2285 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Store in cummulative | |
5615 | 2286 product of all dimensions in CP_SZ. |
5611 | 2287 |
5610 | 2288 2006-02-09 David Bateman <dbateman@free.fr> |
2289 | |
2290 * SparseQR.cc: new file for real sparse QR class. | |
2291 * SparseQR.h: declaration. | |
2292 * SparseCmplxQR.cc: new file for complex sparse QR class. | |
2293 * SparseCmplxQR.h: declaration. | |
2294 * dSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
2295 (factorize, fsolve): Enable code code lssolve. | |
2296 (lssolve): disable unused args, write based in above sparse QR class. | |
2297 * CSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
2298 (factorize, fsolve): Enable code code lssolve. | |
2299 (lssolve): disable unused args, write based in above sparse QR class. | |
2300 * oct-sparse.h: fix location of colamd, ccolamd and metis headers. | |
2301 Include CXSparse headers. | |
2302 * Makefile.in (MATRIX_INC): Include SparseQR.h and SparseCmplxQR.h. | |
2303 (MATRIX_SRC): Include SparseQR.cc and SparseCmplxQR.cc. | |
2304 | |
5607 | 2305 2006-02-08 John W. Eaton <jwe@octave.org> |
2306 | |
2307 * Array-util.h (calc_permutated_idx): Delete. | |
2308 * Array.cc (permute_vector): New data structure. | |
2309 (permute_vector_compare): New function. | |
2310 (Array<T>::permute): Rewrite to avoid calc_permutated_index for | |
2311 improved performance. | |
2312 | |
5606 | 2313 2006-02-04 David Bateman <dbateman@free.fr> |
2314 | |
2315 * COLAMD: Remove all files, as now unused. | |
2316 | |
5604 | 2317 2006-01-31 John W. Eaton <jwe@octave.org> |
2318 | |
2319 * Sparse.h (Sparse<T>::nzmax): New function. | |
2320 (Sparse<T>::nnz): Rename from nonzero. | |
2321 Change all uses of old nnz function to be nzmax. Change all uses | |
2322 of nonzero to be nnz. | |
2323 (Sparse<T>::nzmx): Rename from nnz (data member). Change all uses. | |
2324 | |
5603 | 2325 2006-01-21 David Bateman <dbateman@free.fr> |
2326 | |
2327 * sparse-sort.cc (bool octave_sparse_sidxl_comp): 64-bit fix. | |
2328 (bool octave_idx_vector_comp): New function. | |
2329 (template class octave_sort<octave_idx_vector_sort *>): Instantiate | |
2330 indexed idx_vector sorting function. | |
2331 * sparse-sort.h (class octave_sparse_sort_idxl): 64-bit fix. | |
2332 (class octave_idx_vector_sort): New class for indexed idx_vector | |
2333 sorting. | |
2334 (bool octave_idx_vector_comp): Declaration. | |
2335 * Sparse.cc (int assign1(Sparse<LT>&, Sparse<RT>&)): Treat cases of | |
2336 unordered LHS indexes in assignment using new octave_idx_vector_sort | |
2337 class. | |
2338 (int assign(Sparse<LT>&, Sparse<RT>&)): ditto. | |
2339 | |
5602 | 2340 2006-01-30 John W. Eaton <jwe@octave.org> |
2341 | |
2342 * so-array.h (streamoff_array::nnz): New funtion. | |
2343 * boolNDArray.h (boolNDArray::nnz): New function. | |
2344 * MArrayN.h (MArrayN<T>::nnz): New function. | |
2345 * MArray.h (MArray<T>::nnz): New function. | |
2346 | |
5587 | 2347 2006-01-04 David Bateman <dbateman@free.fr> |
2348 | |
2349 * Spars-op-defs.h (SPARSE_SPARSE_MUL): Previous change resulted in | |
2350 elements not being sorted in return matrix. Sort them, and make | |
2351 solver select between two algorithms to further improve the | |
2352 performance. | |
2353 * dSparse.cc: include oct-sort.h. | |
2354 * CSparse.cc: ditto. | |
2355 * sparse-sort.cc: Instantiate octave_sort<octave_idx_type>. | |
2356 | |
5586 | 2357 2005-12-28 David Bateman <dbateman@free.fr> |
2358 | |
5587 | 2359 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Improved algorithm that is |
2360 faster in all cases, and significantly so for low density or small | |
2361 order problems. | |
5586 | 2362 |
5552 | 2363 2005-11-30 John W. Eaton <jwe@octave.org> |
2364 | |
2365 * LSODE.cc (LSODE::do_integrate (double)): Resize iwork and rwork | |
2366 before setting any values in either array. | |
2367 | |
5547 | 2368 2005-11-29 John W. Eaton <jwe@octave.org> |
2369 | |
2370 * oct-uname.h, oct-uname.cc: New files. | |
2371 * Makefile.in: Add them to the appropriate lists. | |
2372 | |
5535 | 2373 2005-11-11 John W. Eaton <jwe@octave.org> |
2374 | |
2375 * Array.cc (Array<T>::indexN): Simplify. | |
2376 | |
5533 | 2377 2005-11-09 John W. Eaton <jwe@octave.org> |
2378 | |
2379 * oct-inttypes.h (octave_int::operator char (void) const): | |
2380 New conversion op. | |
2381 | |
5527 | 2382 2005-11-01 John W. Eaton <jwe@octave.org> |
2383 | |
2384 * Makefile.in (distclean): Also remove oct-types.h. | |
2385 From Quentin Spencer <qspencer@ieee.org>. | |
2386 | |
5526 | 2387 2005-10-31 David Bateman <dbateman@free.fr> |
2388 | |
2389 * dSparse.cc, CSparse.cc: Use C++ true/false instead of | |
2390 preprocessor defined TRUE/FALSE. | |
2391 | |
5523 | 2392 2005-10-30 John W. Eaton <jwe@octave.org> |
2393 | |
2394 * mx-inlines.cc (MX_ND_REDUCTION): Iterate in direction of DIM. | |
2395 (MX_ND_CUMULATIVE_OP): Likewise. | |
2396 | |
5519 | 2397 2005-10-29 John W. Eaton <jwe@octave.org> |
2398 | |
5520 | 2399 * mx-inlines.cc (MX_ND_REDUCTION): Avoid increment_index to speed |
2400 things up. Simplify. | |
2401 | |
5519 | 2402 * Array.cc (Array<T>::indexN): Simplify. Delete separate special |
2403 case for "vector_equivalent". | |
2404 | |
2405 * Array-util.cc (vector_equivalent): Arg is now dim_vector. | |
2406 | |
5518 | 2407 2005-10-28 John W. Eaton <jwe@octave.org> |
2408 | |
2409 * oct-sparse.h: Fix typo in HAVE_UFSPARSE_UMFPACK_H. | |
2410 From Quentin Spencer <qspencer@ieee.org>. | |
2411 | |
2412 * sparse-base-chol.cc: Use C++ true/false instead of | |
2413 preprocessor defined TRUE/FALSE. Use 0 instead of NULL. | |
2414 | |
5516 | 2415 2005-10-27 John W. Eaton <jwe@octave.org> |
2416 | |
2417 * Array.cc (assignN): Reshape to final size instead of resizing. | |
2418 | |
5512 | 2419 2005-10-26 John W. Eaton <jwe@octave.org> |
2420 | |
2421 * oct-sparse.h: New file. | |
2422 * oct-sparse.h.in: Delete. | |
2423 | |
5511 | 2424 2005-10-26 David Bateman <dbateman@free.fr> |
2425 | |
2426 * sparse-base-chol.h: Include cholmod specific code in HAVE_CHOLMOD | |
2427 * sparse-base-chol.cc: ditto. | |
2428 | |
5508 | 2429 2005-10-26 John W. Eaton <jwe@octave.org> |
2430 | |
2431 Changes for GCC 4.1, tip from Arno J. Klaassen | |
2432 <arno@heho.snv.jussieu.fr>: | |
2433 | |
5509 | 2434 * dSparse.h (real (const SparseComplexMatrix&)): |
2435 Publish externally used friend function. | |
2436 (imag (const SparseComplexMatrix&)): Likewise. | |
2437 | |
5508 | 2438 * dColVector.h (real (const ComplexColumnVector&)): |
2439 Publish externally used friend function. | |
2440 (imag (const ComplexColumnVector&)): Likewise. | |
2441 | |
2442 * dNDArray.h (real (const ComplexNDArray&)): | |
2443 Publish externally used friend function. | |
2444 (imag (const ComplexNDArray&)): Likewise. | |
2445 | |
2446 * dMatrix.h (operator * (const ComplexMatrix&)): | |
2447 Move decl outside class. No need to be friend. | |
2448 (real (const ComplexMatrix&)): Publish externally used friend function. | |
2449 (imag (const ComplexMatrix&)): Likewise. | |
2450 | |
2451 * CMatrix.h: (operator * (const ColumnVector&, const | |
2452 ComplexRowVector&)): Move decl outside class. No need to be friend. | |
2453 (operator * (const ComplexColumnVector&, const RowVector&)): Likewise. | |
2454 (operator * (const ComplexColumnVector&, const ComplexRowVector& b)): | |
2455 Likewise. | |
2456 | |
5506 | 2457 2005-10-23 David Bateman <dbateman@free.fr> |
2458 | |
2459 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Check whether trailing zero | |
2460 elements need to be removed. | |
2461 | |
2462 * oct-sparse.h.in: Include metis headers and some macros for long/int | |
2463 versions of cholmod. | |
2464 | |
2465 * CSparse.cc (tinverse): New private function for the inversion of | |
2466 an upper triangular matrix. | |
2467 (dinverse): ditto for diagonal matrices. | |
2468 (inverse): Add SparseType as an argument. Implement matrix inverse | |
2469 using tinverse and dinverse. | |
2470 (fsolve): Use cholmod to implement Cholesky solver. | |
2471 * CSparse.h (tinverse, dinverse): Declarations | |
2472 (inverse): Alter declaration to include SparseType. | |
2473 | |
2474 * dSparse.cc (tinverse, dinverse, inverse, fsolve): ditto. | |
2475 * dSparse.h (tinverse, dinverse, inverse): ditto. | |
2476 | |
2477 * SparseType.cc: Fix complex constructor for hermitian matrices. | |
2478 | |
2479 * sparse-util.cc: New file for sparse utility functions. | |
2480 * sparse-util.h: New file with declarations of sparse utility | |
2481 functions. | |
2482 | |
2483 * sparse-base-chol.cc: New file with sparse cholesky class based | |
2484 on cholmod. | |
2485 * sparse-base-chol.h: New file with declaration of sparse cholesky | |
2486 class based on cholmod. | |
2487 | |
2488 * SparseCmplxCHOL.cc: Instantiate sparse cholesky class for Complex. | |
2489 * SparseCmplxCHOL.h: Declaration of sparse cholesky class. | |
2490 | |
2491 * SparsedbleCHOL.cc: ditto. | |
2492 * SparsedbleCHOL.h: ditto. | |
2493 | |
2494 * Makefile.in (MATRIX_INC): Include sparse-base-chol.h. | |
2495 (INCLUDES): Include sparse-util.h | |
2496 (TEMPLATE_SRC): Include sparse-base-chol.cc | |
2497 (MATRIX_SRC): Include SparseCmplxCHOL.cc and SparsedbleCHOL.cc | |
2498 | |
5489 | 2499 2005-10-12 John W. Eaton <jwe@octave.org> |
2500 | |
2501 * oct-env.cc (octave_env::have_x11_display): New function. | |
2502 * oct-env.h: Provide decl. | |
2503 | |
5476 | 2504 2005-09-29 John W. Eaton <jwe@octave.org> |
2505 | |
2506 * file-stat.h (file_stat::mode): New function. | |
2507 | |
2508 * file-stat.cc (file_stat::is_blk, file_stat::is_chr, | |
2509 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
2510 file_stat::is_reg, file_stat::is_sock): New static functions. | |
2511 * file-stat.h: Provide decls. | |
2512 | |
2513 2005-09-28 John W. Eaton <jwe@octave.org> | |
2514 | |
2515 * file-ops.cc (file_ops::recursive_rmdir): New function. | |
2516 * file-ops.h: Provide decl. | |
2517 | |
5454 | 2518 2005-09-19 David Bateman <dbateman@free.fr> |
2519 | |
2520 * oct-env.cc (octave_env::do_get_home_directory): | |
2521 Also check HOMEDRIVE under mingw. | |
2522 | |
5455 | 2523 * Makefile.in (LINK_DEPS): Include UFsparse libraries. |
2524 | |
5453 | 2525 2005-09-16 John W. Eaton <jwe@octave.org> |
2526 | |
2527 * oct-syscalls.cc: Include lo-utils.h here. | |
2528 (octave_syscalls::waitpid): Call octave_waitpid here. | |
2529 | |
2530 * lo-cutils.c (octave_waitpid): New function. | |
2531 * lo-utils.h: Provide decl. Include syswait.h here, not in | |
2532 oct-syscalls.cc | |
2533 | |
2534 | |
2535 * syswait.h [__MINGW32__]: Define WAITPID here instead of defining | |
2536 waitpid in src/sysdep.h. Make this header C-compatible. | |
2537 | |
2538 * oct-syscalls.cc (octave_syscalls::waitpid): New arg, status. | |
2539 Change all uses. | |
2540 | |
5451 | 2541 2005-09-15 John W. Eaton <jwe@octave.org> |
2542 | |
2543 * Makefile.in (MAKEDEPS_2): Omit unnecessary variable. | |
2544 | |
2545 * oct-sparse.h.in: New file. | |
2546 * Makefile.in (DISTFILES): Include it in the list. | |
2547 (INCLUDES): Add oct-sparse.h to the list. | |
2548 | |
2549 2005-09-15 David Bateman <dbateman@free.fr> | |
2550 | |
2551 * dSparse.cc : Include oct-sparse.h for probed umfpack, colamd etc | |
2552 headers. Remove include of umfpack.h. | |
2553 * CSparse.cc : ditto. | |
2554 * SparsedbleLU.cc : ditto. | |
2555 * SparseCmplxLU.cc : ditto. | |
2556 | |
2557 * COLAMD : Remove colamd files from octave. | |
2558 * COLAMD.files : delete. | |
2559 * COLAMD.README : delete. | |
2560 * Makefile.in: Remove COLAMD. Add LIBGLOB. | |
2561 (LN_S): Change to DESTDIR before LN_S to avoid lack of symlinks | |
2562 under mingw. | |
2563 | |
2564 * kpse.cc (ENV_SEP, ENV_SEP_STRING): Use SEPCHAR and SEPCHAR_STR | |
2565 in definition. | |
2566 * lo-cutils.c (octave_w32_library_search): Call GetProcAddress with | |
2567 change of cast not allowed under g++ 3.x. | |
2568 * lo-utils.h (octave_w32_library_search): Declaration. | |
2569 * oct-env.cc (do_get_home_directory): Also check HOMEPATH under mingw. | |
2570 * oct-shlib.cc (octave_w32_shlib::search): Use octave_w32_library_search. | |
2571 | |
5442 | 2572 2005-09-07 John W. Eaton <jwe@octave.org> |
2573 | |
2574 * cmd-edit.cc (command_editor::do_decode_prompt_string): Update | |
2575 based on current code in Bash. Handle a few more escape | |
2576 sequences. Do a better job of decoding \W. | |
2577 | |
5438 | 2578 2005-09-04 David Bateman <dbateman@free.fr> |
2579 | |
2580 * COLAMD: Update version of colamd to v2.4. | |
2581 * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of | |
2582 colamd.c for long version. | |
2583 | |
5429 | 2584 2005-08-25 David Bateman <dbateman@free.fr> |
2585 | |
2586 * Sparse-op-defs.h (FULL_SPARSE_MUL, SPARSE_FULL_MUL): Macro for | |
2587 mixed sparse/full multiply. | |
2588 * dSparse.cc (operator *), CSparse.cc (operator *): New operators for | |
2589 mixed sparse/full multiply. | |
2590 * dSparse.h (operator *), CSparse.h (operator *): Declaration of | |
2591 mixed sparse/full multiply operators. | |
2592 | |
5420 | 2593 2005-07-25 Erik de Castro Lopo <erikd@zip.com.au> |
2594 | |
2595 * oct-inttypes.h (OCTAVE_S_US_FTR): Compare <= 0 instead of < 0 to | |
2596 avoid warnings for unsigned types. | |
2597 | |
5404 | 2598 2005-07-07 John W. Eaton <jwe@octave.org> |
2599 | |
2600 * dSparse.cc (SparseMatrix::factorize): Initialize Numeric to 0. | |
2601 * CSparse.cc (SparseComplexMatrix::factorize:) Likewise. | |
2602 | |
5392 | 2603 2005-06-15 John W. Eaton <jwe@octave.org> |
2604 | |
5394 | 2605 * oct-rl-edit.c (flush_stdout): Rename from no_redisplay. |
2606 Flush stdout here. | |
2607 (octave_rl_clear_screen): Set rl_redisplay_function to flush_stdout. | |
2608 | |
5392 | 2609 * Array.h (Array::resize): Change int args to octave_idx_type. |
2610 | |
5386 | 2611 2005-06-14 John W. Eaton <jwe@octave.org> |
2612 | |
5389 | 2613 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
2614 dSparse.cc, lo-cieee.c, lo-mappers.cc: Change all uses of | |
2615 octave_is_NaN_or_NA to xisnan. | |
2616 | |
2617 * lo-mappers.h (octave_is_NaN_or_NA): Mark with GCC_ATTR_DEPRECATED. | |
2618 * lo-ieee.h (lo_ieee_is_NaN_or_NA): Likewise. | |
2619 | |
2620 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Now just a wrapper for | |
2621 lo_ieee_isnan. | |
2622 | |
5387 | 2623 * dMatrix.cc (Matrix::too_large_for_float): Only check if abs |
2624 value is greater than FLT_MAX. | |
2625 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
2626 * dNDArray.cc (NDArray::too_large_for_float): Ditto. | |
2627 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
2628 | |
2629 * dMatrix.cc (Matrix::too_large_for_float): Special case Inf | |
2630 values too. | |
2631 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
2632 | |
2633 * dNDArray.cc (NDArray::too_large_for_float): Likewise for NaN, | |
2634 NA, Inf values. | |
2635 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
5386 | 2636 |
5385 | 2637 2005-06-14 David Bateman <dbateman@free.fr> |
2638 | |
5387 | 2639 * dMatrix.cc (Matrix::too_large_for_float): Special case NaN and |
2640 NA values. | |
2641 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
5385 | 2642 |
5379 | 2643 2005-06-02 John W. Eaton <jwe@octave.org> |
2644 | |
2645 * Array.cc (assignN): Try harder to correctly resize previously | |
2646 empty LHS. | |
2647 | |
5351 | 2648 2005-05-16 David Bateman <dbateman@free.fr> |
2649 | |
2650 * dSparse.h: Change UMFPACK_LONG_IDX to IDX_TYPE_LONG. | |
2651 * CSparse.h: ditto. | |
2652 | |
5346 | 2653 2005-05-10 David Bateman <dbateman@free.fr> |
2654 | |
2655 * dSparse.cc (determinant): Free numeric factorization after | |
2656 sucessful calculation. | |
2657 * CSparse.cc (determinant): ditto. | |
2658 | |
5340 | 2659 2005-05-06 John W. Eaton <jwe@octave.org> |
2660 | |
2661 * dbleCHOL.cc (CHOL::init): Use xelem instead of elem for indexing | |
2662 chol_mat. | |
2663 (chol2mat_internal, chol2mat, CHOL::inverse): New functions. | |
2664 * dbleCHOL.h (chol2mat_internal, chol2mat, CHOL::inverse): | |
2665 Provide decls. | |
2666 | |
2667 * CmplxChol.cc (ComplexCHOL::init): Use xelem instead of elem for | |
2668 indexing chol_mat. | |
2669 (chol2mat_internal, chol2mat, ComplexCHOL::inverse): New functions. | |
2670 * CmplxCHOL.h (chol2mat_internal, chol2mat, CmplxCHOL::inverse): | |
2671 Provide decls. | |
2672 | |
5338 | 2673 2005-05-05 John W. Eaton <jwe@octave.org> |
2674 | |
2675 * Array.cc (Array<T>::permute): Call chop_trailing_singletons on | |
2676 retval before return. | |
2677 | |
5336 | 2678 2005-05-04 John W. Eaton <jwe@octave.org> |
2679 | |
2680 * cmd-edit.cc (gnu_readline::do_readline): Extract const char* | |
2681 from prompt outside of INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE block. | |
2682 | |
5330 | 2683 2005-05-02 John W. Eaton <jwe@octave.org> |
2684 | |
2685 * Makefile.in (LINK_DEPS): List $(UMFPACK_LIBS) ahead of $(BLAS_LIBS). | |
2686 From Dmitri A. Sergatskov <dasergatskov@gmail.com>. | |
2687 | |
5322 | 2688 2005-04-29 David Bateman <dbateman@free.fr> |
2689 | |
5330 | 2690 * dSparse.cc (trisolve): Diagonal passed to lapack zptsv is type |
2691 double. Correct indexing for upper diagonal elements for sparse | |
2692 tridiagonal. | |
5322 | 2693 * CSparse.cc (trisolve): ditto. |
2694 | |
5330 | 2695 * CSparse.h (UMFPACK_ZNAME): Define macro to pick version of |
2696 UMFPACK for 64-bit. | |
5322 | 2697 * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with |
2698 UMFPACK_ZNAME(*). | |
2699 * SparseCmplxLU.cc (UMFPACK_ZNAME): ditto | |
2700 | |
5330 | 2701 * dSparse.h (UMFPACK_DNAME): Define macro to pick version of |
2702 UMFPACK for 64-bit. | |
5322 | 2703 * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with |
2704 UMFPACK_DNAME(*). | |
2705 * SparsedbleLU.cc (UMFPACK_DNAME): ditto | |
2706 | |
5330 | 2707 * dSparse.cc (ltsolve, utsolve): Correct permuted upper/lower |
2708 triangular back/forward substitution code. | |
5322 | 2709 * CSparse.cc (ltsolve, utsolve): ditto. |
2710 | |
5330 | 2711 * dSparse.cc (solve): Use mattype.type (false) to force messaging |
2712 from spparms("spumoni",1). | |
5322 | 2713 * CSparse.cc (solve): ditto |
2714 | |
5330 | 2715 * SparseType.cc (SparseType(void)): Print info for |
2716 spparms("spumoni",1). | |
5322 | 2717 (SparseType(const matrix_type), SparseType(const matrix_type, const |
2718 octave_idx_type, const octave_idx_type*), SparseType(const matrix_type, | |
2719 const octave_idx_type, const octave_idx_type)): New constructors. | |
2720 (SparseType (const SparseMatrix&), SparseType (SparseComplexMatrix&)): | |
5330 | 2721 Detect row permuted lower triangular and column permuted upper |
2722 triangular matrices. Remove one of the permutation vectors.. | |
5322 | 2723 |
2724 * SparseType.h: Simplify the permutation code. | |
2725 (SparseType(const matrix_type), SparseType | |
2726 (const matrix_type, const octave_idx_type, const octave_idx_type*), | |
2727 SparseType(const matrix_type, const octave_idx_type, | |
2728 const octave_idx_type)): Declarations. | |
2729 | |
5304 | 2730 2005-04-25 John W. Eaton <jwe@octave.org> |
2731 | |
2732 * str-vec.cc (string_vector::delete_c_str_vec): Correctly free | |
2733 array and its contents. | |
2734 | |
5303 | 2735 2005-04-22 John W. Eaton <jwe@octave.org> |
2736 | |
2737 * oct-rl-edit.c (octave_rl_set_terminal_name): Don't cast away | |
2738 const here now that rl_terminal_name is declared const char*. | |
2739 | |
5294 | 2740 2005-04-21 John W. Eaton <jwe@octave.org> |
2741 | |
2742 * Makefile.in (DISTFILES): Include oct-types.h.in in the list. | |
2743 | |
5285 | 2744 2005-04-19 John W. Eaton <jwe@octave.org> |
2745 | |
2746 * Array.cc (assignN): Don't crash if the index list is empty. | |
2747 | |
5282 | 2748 2005-04-14 David Bateman <dbateman@free.fr> |
2749 | |
2750 * SparseCmplxLU.cc: Add flags for incomplete factorization. | |
2751 * SparsedbleLU.cc: Ditto. | |
2752 * SparseCmplxLU.h: Definition. | |
2753 * SparsedbleLU.h: ditto. | |
2754 | |
2755 * SparseType.cc (transpose): New function. | |
2756 * SparseType.h (transpose): Definition. | |
2757 | |
5278 | 2758 2005-04-11 John W. Eaton <jwe@octave.org> |
2759 | |
2760 * lo-specfun.cc: Use F77_XFCN instead of F77_FUNC for calls to | |
2761 fortran code that could end up calling XSTOPX. | |
2762 | |
5277 | 2763 2005-04-10 David Bateman <dbateman@free.fr> |
2764 | |
2765 * Makefile.in: include oct-types in INCLUDES so that it is | |
2766 installed | |
2767 | |
5275 | 2768 2005-04-08 John W. Eaton <jwe@octave.org> |
2769 | |
5276 | 2770 * Makefile.in (clean): Use exact filenames instead of *.xxx. |
2771 | |
5275 | 2772 * Initial merge of 64-bit changes from Clinton Chee: |
2773 | |
2774 2005-04-07 John W. Eaton <jwe@octave.org> | |
2775 | |
2776 * MArray-i.cc, Array-i.cc: Instantiate Array<long> and MArray<long>. | |
2777 | |
2778 * CSparse.cc, CSparse.h, MSparse.cc, MSparse.h, Sparse-op-defs.h, | |
2779 Sparse.cc, Sparse.h, SparseCmplxLU.cc, SparseType.cc, | |
2780 SparseType.h, SparsedbleLU.cc, boolSparse.cc, boolSparse.h, | |
2781 dSparse.cc, dSparse.h, sparse-base-lu.cc: | |
2782 Use octave_idx_type instead of int where needed. | |
2783 | |
2784 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
2785 | |
2786 * Array-util.cc, Array-util.h, Array.cc,Array.h, Array2.h, | |
2787 Array3.h, ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
2788 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
2789 CMatrix.h, CNDArray.cc, CNDArray.h, CRowVector.cc, CRowVector.h, | |
2790 CmplxAEPBAL.cc, CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, | |
2791 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
2792 CmplxSCHUR.cc, CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, | |
2793 CollocWt.h, DAEFunc.h, DASPK-opts.in,DASPK.cc,DASPK.h, | |
2794 DASRT-opts.in, DASRT.cc, DASRT.h, DASSL-opts.in, DASSL.cc, | |
2795 DASSL.h, DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, | |
2796 FEGrid.h, LPsolve.cc, LPsolve.h, LSODE-opts.in, LSODE.cc, LSODE.h, | |
2797 MArray-defs.h, MArray.cc, MArray.h, MArray2.cc, MArray2.h, | |
2798 MArrayN.cc, MDiagArray2.cc, MDiagArray2.h, NLConst.h, NLEqn.cc, | |
2799 NLEqn.h, Quad.cc, Quad.h, Range.cc,Range.cc, Range.h, base-de.h, | |
2800 base-lu.cc, base-lu.h, base-min.h, boolMatrix.cc, boolMatrix.h, | |
2801 boolNDArray.cc, boolNDArray.h, chMatrix.cc, chMatrix.h, | |
2802 chNDArray.cc, chNDArray.h, dColVector.cc, dColVector.h, | |
2803 dDiagMatrix.cc, dDiagMatrix.h, dMatrix.cc, dMatrix.h, | |
2804 dNDArray.cc,dNDArray.cc, dNDArray.h, dRowVector.cc, dRowVector.h, | |
2805 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleHESS.cc, | |
2806 dbleHESS.h, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
2807 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, dim-vector.h, idx-vector.cc, | |
2808 idx-vector.h, intNDArray.cc, intNDArray.h, lo-specfun.cc, | |
2809 lo-specfun.h, mach-info.cc, mx-inlines.cc, oct-fftw.cc, | |
2810 oct-fftw.h, oct-rand.cc, oct-rand.h, so-array.cc, so-array.h, | |
2811 str-vec.cc, str-vec.h: | |
2812 Use octave_idx_type instead of int where needed. | |
2813 | |
2814 2005-04-01 John W. Eaton <jwe@octave.org> | |
2815 | |
2816 * dim-vector.h, lo-utils.h: Include oct-types.h. | |
2817 | |
2818 * oct-types.h.in: New file. | |
2819 | |
2820 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
2821 | |
2822 * lo-utils.cc (NINTbig): New function. | |
2823 * lo-utils.h: Provide decl. | |
2824 | |
5269 | 2825 2005-04-06 David Bateman <dbateman@free.fr> |
2826 | |
2827 * Makefile.in: Link to UMFPACK_LIBS. | |
2828 | |
5265 | 2829 2005-04-05 John W. Eaton <jwe@octave.org> |
2830 | |
2831 * Array.cc (assignN): Avoid shadowed declaration in previous change. | |
2832 | |
5264 | 2833 2005-04-01 John W. Eaton <jwe@octave.org> |
2834 | |
2835 * Array.cc (assignN): For A(IDX-LIST) = RHS with A previously | |
2836 undefined, correctly match colons in IDX-LIST with RHS dimensions | |
2837 when resizing A. When performing the assignment, just check that | |
2838 the number of elements in RHS matches the number of elements | |
2839 indexed by IDX-LIST. | |
2840 | |
5260 | 2841 2005-03-30 John W. Eaton <jwe@octave.org> |
2842 | |
5261 | 2843 * lo-mappers.cc (log10, tan, tanh): Delete functions. |
2844 * lo-mappers.h (log10, tan, tanh): Delete decls. | |
2845 | |
2846 * CColVector.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, | |
2847 dSparse.cc: Use std:: for Complex functions instead of relying on | |
2848 wrappers from oct-cmplx.h. | |
5260 | 2849 |
2850 * oct-cmplx.h: Provide typedef only. | |
2851 | |
2852 * DiagArray2.cc (xelem): Don't use initializer for static data. | |
2853 * DiagArray2.h (DiagArray<T>::Proxy::operator T ()): | |
2854 Likewise. | |
2855 | |
5247 | 2856 2005-03-26 John W. Eaton <jwe@octave.org> |
2857 | |
2858 * cmd-edit.cc (do_readline): Wrap call to ::octave_rl_readline | |
2859 with {BEGIN,END}_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE. | |
2860 | |
5209 | 2861 2005-03-15 John W. Eaton <jwe@octave.org> |
2862 | |
2863 * Makefile.in (MATRIX_INC): Remove oct-spparms.h from the list. | |
2864 | |
5203 | 2865 2005-03-14 John W. Eaton <jwe@octave.org> |
2866 | |
2867 * Makefile.in (DISTFILES): Don't include $(UMFPACK_EXTRAS). | |
2868 (DISTDIRS): Don't include UMFPACK. | |
2869 (LIBOCTAVE_OBJECTS): Don't include $(UMFPACK_OBJ). | |
2870 (UMFPACK_SPECIAL_1, UMFPACK_SPECIAL): No need for special include | |
2871 flags for these files. | |
2872 Don't include include $(srcdir)/UMFPACK.files. | |
2873 Don't include include $(srcdir)/UMFPACK.rules. | |
2874 | |
2875 * UMFPACK.README, UMFPACK.files, UMFPACK.patch, UMFPACK.rules: | |
2876 Delete files. | |
2877 * UMFPACK: Delete directory tree. | |
2878 | |
2879 * dSparse.cc: Include <umfpack/umfpack.h> instead of just "umfpack.h". | |
2880 * CSparse.cc: Likewise. | |
2881 * SparsedbleLU.cc: Likewise. | |
2882 * SparseCmplxLU.cc: Likewise. | |
2883 | |
2884 2005-03-14 David Bateman <dbateman@free.org> | |
2885 | |
2886 * CSParse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc: | |
2887 Allow compilation to succeed if UMFPACK is not available. | |
2888 | |
5196 | 2889 2005-03-09 John W. Eaton <jwe@octave.org> |
2890 | |
2891 * Makefile.in (bin-dist): Delete target. | |
2892 (BINDISTLIBS, BINDISTFILES): Delete variables. | |
2893 | |
5173 | 2894 2005-03-01 John W. Eaton <jwe@octave.org> |
2895 | |
2896 * ODESSA.h, ODESSA.cc, ODESSA-opts.in: Delete. | |
2897 * Makefile.in: Remove them from the lists. | |
2898 | |
5169 | 2899 2005-02-28 John W. Eaton <jwe@octave.org> |
2900 | |
2901 * Makefile.in (LINK_DEPS): Remove -lglob from the list. | |
2902 | |
5167 | 2903 2005-02-27 David Bateman <dbateman@free.org> |
2904 | |
5169 | 2905 * Sparse.cc (Sparse<T>::reshape): Set cidx for the N last elements |
2906 in the sparse matrix. | |
5167 | 2907 |
5164 | 2908 2005-02-25 John W. Eaton <jwe@octave.org> |
2909 | |
2910 Sparse merge. | |
2911 | |
2912 2005-02-13 David Bateman <dbateman@free.fr> | |
2913 | |
2914 * CSparse.cc (SparseComplexMatrix:dsolve, SparseComplexMatrix:utsolve, | |
2915 SparseComplexMatrix::ltsolve, SparseComplexMatrix::trisolve, | |
2916 SparseComplexMatrix::bsolve, SparseComplexMatrix:fsolve): Split sparse | |
2917 solver into separate functions for the diagonal, upper, lower | |
2918 triangular, tridiagonal, banded and full cases. | |
2919 (SparseComplexMatrix::solve): rewrite to call the above function. One | |
2920 version that probes the matrix type and another that assumes the type | |
2921 is passed. | |
2922 | |
2923 * dSparse.cc (SparseMatrix:dsolve, SparseMatrix:utsolve, | |
2924 SparseMatrix::ltsolve, SparseMatrix::trisolve, | |
2925 SparseMatrix::bsolve, SparseMatrix:fsolve): Likewise | |
2926 (SparseMatrix::solve): Likewise | |
2927 | |
2928 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
2929 Declaration of new functions | |
2930 * dSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
2931 Likewise | |
2932 | |
2933 * CSparse.cc (operator !): Reverse the sense of the test. | |
2934 * dSpase.cc (operator !): Likewise | |
2935 | |
2936 * dSparse.h (type, band_size, is_dense, triangular_row_perm, | |
2937 triangular_col_perm, sparse_info): Remove matrix type code | |
2938 * CSparse.h (type, band_size, is_dense, triangular_row_perm, | |
2939 triangular_col_perm, sparse_info): Likewise | |
2940 * boolSparse.h (type, band_size, is_dense, triangular_row_perm, | |
2941 triangular_col_perm, sparse_info): Likewise | |
2942 * MSparse.h (type, band_size, is_dense, triangular_row_perm, | |
2943 triangular_col_perm, sparse_info): Likewise | |
2944 * Sparse.h (type, band_size, is_dense, triangular_row_perm, | |
2945 triangular_col_perm, sparse_info, matrix_type): Likewise | |
2946 | |
2947 * Sparse.cc (type, sparse_info, band_size): Remove type code | |
2948 | |
2949 * SparseType.h: New class for the matrix type used in solvers | |
2950 * SparseType.cc: methods of sparse matrix type class | |
2951 | |
2952 * Makefile.in: Add SparseType.cc | |
2953 | |
2954 2005-02-01 David Bateman <dbateman@free.fr> | |
2955 | |
2956 * UMFPACK: Update to version 4.4 | |
2957 * UMFPACK.patch: Version 4.4 contains most of the previous patch. Only | |
2958 keep octave specific test files | |
2959 | |
2960 2005-01-23 David Bateman <dbateman@free.fr> | |
2961 | |
2962 * dSparse.cc (SparseMatrix::solve): Include tridiagonal, cholesky | |
2963 tridiagonal and banded cholesky solvers. Remove calculation of | |
2964 condition number for banded solvers. | |
2965 * CSparse.cc (SparseComplexMatrix::solve): ditto. | |
2966 | |
2967 * Sparse.h (int type (int) const, bool is_dense (void) const): | |
2968 new functions. | |
2969 * MSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
2970 * dSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
2971 * CSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
2972 * boolSparse.h (int type (int) const, bool is_dense (void) const): | |
2973 ditto | |
2974 | |
2975 * Sparse.cc (int Sparse<T>::type (int) const, | |
2976 bool Sparse<T>::is_dense (void) const): New functions definition | |
2977 | |
2978 * Sparse.h (matrix_type typ): Move caching of matrix type to SparseRep, | |
2979 so it actually is cached, but disable | |
2980 | |
2981 * oct-spparms.cc (SparseParams::init_keys): Change spmoni to spumoni | |
2982 for compatiability | |
2983 | |
2984 2005-01-18 David Bateman <dbateman@free.fr> | |
2985 | |
2986 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
2987 Modify calculation of number elements to skip between copied blocks. | |
2988 | |
2989 2005-01-07 David Bateman <dbateman@free.fr> | |
2990 | |
2991 * Sparse.h : Reverse definitions of numel and nelem. | |
2992 * Sparse.cc (assign1): Use numel and not nelem | |
2993 * Sparse-op-def.h: Replace all uses of nelem with numel | |
2994 | |
2995 2005-01-07 David Bateman <dbateman@free.fr> | |
2996 | |
2997 * dbleDET.h: Make SparseMatrix a friend of the class DET | |
2998 * CmplexDET.h: Make SparseComplexMatrix a friend of the class | |
2999 ComplexDET | |
3000 * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET | |
3001 by DET | |
3002 * dSparse.h (determinant): ditto | |
3003 * CSparse.cc (SparseComplexMatrix::determinant): Replace use of | |
3004 SparseComplexDET by ComplexDET | |
3005 * CSparse.h (determinant): ditto | |
3006 * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, | |
3007 SparseCmplxDET.cc: delete files | |
3008 * Makefile.in: Delete reference to SparsedbleDET.h, SparsedbleDET.cc, | |
3009 SparseCmplxDET.h andSparseCmplxDET.cc. | |
3010 | |
3011 * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in | |
3012 local variable to avoid variable shadowing. | |
3013 * dSparse.cc (SparseMatrix::solve): ditto. | |
3014 | |
3015 * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc | |
3016 dSparse.h MSparse.cc MSparse-C.cc MSparse-d.cc MSparse-defs.h | |
3017 MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc | |
3018 Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc | |
3019 SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc | |
3020 sparse-sort.h: Remove additional licensing clause with authors | |
3021 permission. | |
3022 | |
3023 2004-12-30 John W. Eaton <jwe@octave.org> | |
3024 | |
3025 * MSparse.cc (SPARSE_A2S_OP_2, SPARSE_SA2_OP_2): | |
3026 Loop counter is int, not size_t. | |
3027 | |
3028 * oct-spparms.cc (SparseParams::operator =): Return *this. | |
3029 | |
3030 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Delete unused variable tmpval. | |
3031 | |
3032 * dSparse.cc (operator << (ostream&, const SparseMatrix&), atan2): | |
3033 Delete unused variables. | |
3034 (SparseMatrix::solve): Avoid warnings about uninitialized | |
3035 variables and variables that might be clobbered by longjmp. | |
3036 | |
3037 * CSparse.cc (operator << (ostream&, const SparseComplexMatrix&), | |
3038 min, max): Delete unused variables. | |
3039 (SparseComplexMatrix::solve): Avoid warnings about uninitialized | |
3040 variables and variables that might be clobbered by longjmp. | |
3041 | |
3042 * Makefile.in (UMFPACK_SPECIAL): Include .d files in the list. | |
3043 | |
3044 * Sparse-op-defs.h (SPARSE_SMS_BIN_OP_2, SPARSE_SSM_BIN_OP_2): | |
3045 Loop counter is int, not size_t. | |
3046 | |
3047 * CSparse.cc (SparseComplexMatrix::hermitian): Avoid shadow warnings. | |
3048 * Sparse.cc (Sparse<T>::Sparse, Sparse<T>::type, assign): Likewise. | |
3049 | |
3050 * Sparse.h (Sparse::SparseRep): Order data members and initializer | |
3051 lists consistently. | |
3052 | |
3053 * mx-base.h: Include boolSparse.h, dSparse.h, and CSparse.h. | |
3054 | |
3055 2004-12-29 John W. Eaton <jwe@octave.org> | |
3056 | |
3057 * COLAMD.files (COLAMD_EXTRAS): New variable. | |
3058 * UMFPACK.files (UMFPACK_EXTRAS): New variable. | |
3059 * Makefile.in (DISTFILES): Add $(COLAMD_EXTRAS) and | |
3060 $(UMFPACK_EXTRAS) to the list. | |
3061 (DISTDIRS): New variable. | |
3062 (dist): Handle $(DISTDIRS). | |
3063 | |
3064 Merge of sparse code from David Bateman <dbateman@free.fr> and | |
3065 Andy Adler <adler@site.uottawa.ca>. | |
3066 | |
3067 * Makefile.in (VPATH): ADD @srcdir@/COLAMD to the list. | |
3068 | |
3069 * Makefile.in (MAKEDEPS): Include $(COLAMD_SRC) and $(UMFPACK_SRC) | |
3070 without directory prefix. | |
3071 | |
3072 * Makefile.in (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJ) and | |
3073 $(UMFPACK_OBJ) to the list. | |
3074 | |
3075 * COLAMD: New directory. | |
3076 * COLAMD.files: New file. | |
3077 * Makefile.in: Include COLAMD.files. | |
3078 (SOURCES): Add $(COLAMD_SOURCES) to the list. | |
3079 (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJECTS) to the list. | |
3080 (INCLUDES): Add $(COLAMD_INCLUDES) to the list. | |
3081 | |
3082 * UMFPACK: New directory. | |
3083 * UMFPACK.patch, UMFPACK.README, UMFPACK.files, UMFPACK.rules: | |
3084 New files. | |
3085 * Makefile.in: Include UMFPACK.files and UMFPACK.rules. | |
3086 (SOURCES): Add $(UMFPACK_SOURCES) to the list. | |
3087 (LIBOCTAVE_OBJECTS): Add $(UMFPACK_OBJECTS) to the list. | |
3088 (INCLUDES): Add $(UMFPACK_INCLUDES) to the list. | |
3089 | |
3090 * Makefile.in (SPARSE_MX_OP_INC): New variable. | |
3091 (INCLUDES): Add it to the list. | |
3092 (SPARSE_MX_OP_SRC): New variable. | |
3093 (LIBOCTAVE_CXX_SOURCES): Add it to the list. | |
3094 (distclean): Remove $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
3095 (stamp-prereq): Depend on $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
3096 | |
3097 * sparse-mk-ops.awk, sparse-mx-ops: New files. | |
3098 * Makefile.in (DISTFILES): Add them to the lists. | |
3099 | |
3100 * oct-spparms.h, sparse-sort.h: New files. | |
3101 * Makefile.in (INCLUDES): Add them to the list. | |
3102 | |
3103 * oct-spparms.cc, sparse-sort.cc: New files. | |
3104 * Makefile.in (LIBOCTAVE_CXX_SOURCES): Add them to the list. | |
3105 | |
3106 * sparse-base-lu.cc: New file. | |
3107 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
3108 | |
3109 * boolSparse.cc, CSparse.cc, dSparse.cc, MSparse.cc, Sparse.cc, | |
3110 SparseCmplxDET.cc, SparseCmplxLU.cc, SparsedbleDET.cc, | |
3111 SparsedbleLU.cc: New files. | |
3112 * Makefile.in (MATRIX_SRC): Add them to the list. | |
3113 | |
3114 * boolSparse.h, CSparse.h, dSparse.h, MSparse-defs.h, MSparse.h, | |
3115 Sparse.h, oct-spparms.h, sparse-base-lu.h, SparseCmplxDET.h, | |
3116 SparseCmplxLU.h, SparsedbleDET.h, SparsedbleLU.h, | |
3117 Sparse-op-defs.h: New files. | |
3118 * Makefile.in (MATRIX_INC): Add them to the appropriate lists. | |
3119 | |
3120 * MSparse-d.cc, MSparse-C.cc, Sparse-b.cc, Sparse-d.cc, | |
3121 Sparse-C.cc: New files. | |
3122 * Makefile.in (TI_SRC): Add them to the list. | |
3123 | |
5149 | 3124 2005-02-18 John W. Eaton <jwe@octave.org> |
3125 | |
3126 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_RESOLVEPATH]: | |
3127 Pass current directory to octave_env::make_absolute. | |
3128 Save value returned from octave_env::make_absolute in local var. | |
3129 Pass const char*, not std::string as first arg of resolvepath. | |
3130 Provide decl for resolved_len. | |
3131 | |
5148 | 3132 2005-02-18 John W. Eaton <jwe@octave.org> |
3133 | |
3134 * Array.cc (Array<T>::permute): Allow permutation vector longer | |
3135 than number of dimenensions of permuted matrix. | |
3136 | |
3137 * Array.cc (Array<T>::permute): Use zero-based indexing for perm_vec. | |
3138 * Array-util.cc (calc_permutated_idx): Likewise. | |
3139 | |
5139 | 3140 2005-02-10 David Bateman <dbateman@free.fr> |
3141 | |
3142 * CNDArray.cc (ComplexNDarray::operator !): Change sense of test. | |
3143 * CMatrix.cc (ComplexMatrix::operator !): Likewise. | |
3144 | |
5137 | 3145 2005-02-09 John W. Eaton <jwe@octave.org> |
3146 | |
5138 | 3147 * file-ops.cc (file_ops::canonicalize_file_name): New functions. |
3148 * file-ops.h: Provide decls. | |
3149 | |
5137 | 3150 * kpse.cc (kpse_tilde_expand): Simply return NAME if it is empty. |
3151 | |
5136 | 3152 2005-02-08 John W. Eaton <jwe@octave.org> |
3153 | |
3154 * Array-util.cc (freeze): Improve error message. | |
3155 | |
5120 | 3156 2005-01-26 David Bateman <dbateman@free.fr> |
3157 | |
5121 | 3158 * Array.cc (Array<T>::insert): Handle generic case, not just |
3159 special case for fast concatenation. | |
5120 | 3160 |
5110 | 3161 2005-01-18 John W. Eaton <jwe@octave.org> |
3162 | |
3163 * mx-inlines.cc (MX_ND_REDUCTION): Delete RET_ELT_TYPE arg. | |
3164 Change all uses. Use VAL instead of RET_ELT_TYPE when resizing. | |
3165 | |
3166 * dNDArray.cc (NDArray::any): NaN does not count as a nonzero value. | |
3167 * CNDArray.cc (ComplexNDArray::any): Likewise. | |
3168 | |
5108 | 3169 2005-01-18 David Bateman <dbateman@free.fr> |
3170 | |
3171 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
3172 Modify calculation of number elements to skip between copied blocks. | |
3173 | |
3174 2005-01-18 John W. Eaton <jwe@octave.org> | |
3175 | |
3176 * idx-vector.cc (IDX_VEC_REP::freeze): Call warning handler, not | |
3177 error handler, to warn about resizing. | |
3178 | |
5105 | 3179 2004-12-27 Martin Dalecki <martin@dalecki.de> |
3180 | |
3181 * Array.cc, ArrayN.cc, base-lu.cc, boolMatrix.cc, boolNDArray.cc, | |
3182 Bounds.cc, CColVector.cc, CDiagMatrix.cc, chMatrix.cc, | |
3183 chNDArray.cc, CMatrix.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, | |
3184 CmplxDET.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
3185 CmplxSCHUR.cc, CmplxSVD.cc, CNDArray.cc, CollocWt.cc, | |
3186 CRowVector.cc, DASPK.cc, DASRT.cc, DASSL.cc, dbleAEPBAL.cc, | |
3187 dbleCHOL.cc, dbleDET.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, | |
3188 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, dColVector.cc, | |
3189 dDiagMatrix.cc, DiagArray2.cc, dMatrix.cc, dNDArray.cc, | |
3190 dRowVector.cc, EIG.cc, FEGrid.cc, idx-vector.cc, int16NDArray.cc, | |
3191 int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, intNDArray.cc, | |
3192 LinConst.cc, LPsolve.cc, LSODE.cc, MArray2.cc, MArray.cc, | |
3193 MArrayN.cc, MDiagArray2.cc, NLEqn.cc, oct-alloc.cc, ODES.cc, | |
3194 ODESSA.cc, Quad.cc, Range.cc, so-array.cc, uint16NDArray.cc, | |
3195 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: | |
3196 Delete #pragma implementation. | |
3197 | |
3198 * Array2.h, Array3.h, Array.h, ArrayN.h, base-lu.h, boolMatrix.h, | |
3199 boolNDArray.h, Bounds.h, CColVector.h, CDiagMatrix.h, chMatrix.h, | |
3200 chNDArray.h, CMatrix.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, | |
3201 CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, | |
3202 CmplxSVD.h, CNDArray.h, CollocWt.h, CRowVector.h, DASPK.h, | |
3203 DASRT.h, DASSL.h, dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, | |
3204 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, | |
3205 dColVector.h, dDiagMatrix.h, DiagArray2.h, dim-vector.h, | |
3206 dMatrix.h, dNDArray.h, dRowVector.h, EIG.h, FEGrid.h, | |
3207 idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
3208 int8NDArray.h, intNDArray.h, LinConst.h, LPsolve.h, LSODE.h, | |
3209 MArray2.h, MArray.h, MArrayN.h, MDiagArray2.h, NLConst.h, NLEqn.h, | |
3210 ODES.h, ODESSA.h, Quad.h, Range.h, so-array.h, uint16NDArray.h, | |
3211 uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: | |
3212 Delete #pragma interface. | |
3213 | |
5098 | 3214 2004-12-17 John W. Eaton <jwe@octave.org> |
3215 | |
3216 * lo-cieee.c (lo_ieee_signbit): New function. | |
3217 * lo-ieee.h: Provide decl. | |
3218 Don't define lo_ieee_signbit as a macro here. | |
3219 From Orion Poplawski <orion@cora.nwra.com>. | |
3220 | |
5085 | 3221 2004-11-18 John W. Eaton <jwe@octave.org> |
3222 | |
3223 * int32NDArray.cc (pow): Delete instantiation. | |
3224 * int16NDArray.cc (pow): Likewise. | |
3225 * int8NDArray.cc (pow): Likewise. | |
3226 * uint32NDArray.cc (pow): Likewise. | |
3227 * uint16NDArray.cc (pow): Likewise. | |
3228 * uint8NDArray.cc (pow): Likewise. | |
3229 | |
5081 | 3230 2004-11-17 John W. Eaton <jwe@octave.org> |
3231 | |
5085 | 3232 * kpse.cc (str_llist_float, str_llist_add, kpse_var_expand): |
3233 Now static. | |
3234 (DB_ENVS, DB_HASH_SIZE, DB_NAME, ALIAS_NAME, ALIAS_HASH_SIZE, | |
3235 DEFAULT_TEXMFDBS): Delete unused macros. | |
3236 | |
5081 | 3237 * Array.cc (Array<T>::index): Call generic N-d indexing function |
3238 if idx_arg is N-d. | |
3239 | |
5073 | 3240 2004-11-09 David Bateman <dbateman@free.fr> |
3241 | |
3242 * dNDArray.cc (concat): Delete. | |
3243 (NDArray::concat): New methods. | |
3244 * dNDArray.h: Provide decls. | |
3245 | |
3246 * CNDArray.cc (concat): Delete. | |
3247 (ComplexNDArray::concat): New methods. | |
3248 * CNDArray.h: Provide decls. | |
3249 | |
3250 * boolNDArray.cc (concat): Delete. | |
3251 (boolNDArray::concat): New methods. | |
3252 * boolNDArray.h: Provide decls. | |
3253 | |
3254 * chNDArray.cc (concat): Delete. | |
3255 (charNDArray::concat): New methods. | |
3256 * chNDArray.h: Provide decls. | |
3257 | |
3258 * oct-inttypes.h (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): | |
3259 Delete macros. | |
3260 | |
3261 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
3262 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
3263 (OCTAVE_INT_CONCAT_DECL): Delete use of macro. | |
3264 | |
3265 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
3266 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
3267 (OCTAVE_INT_CONCAT_FN): Delete use of macro. | |
3268 | |
3269 * intNDArray.cc (intNDArray<T>::concat): New method. | |
3270 * intNDArray.h: Provide decl. | |
3271 | |
5072 | 3272 2004-11-08 John W. Eaton <jwe@octave.org> |
3273 | |
3274 * oct-inttypes.cc: New file. | |
3275 * Makefile.in (TI_SRC): Add it to the list. | |
3276 * oct-inttypes.h (OCTAVE_US_TYPE1_CMP_OP, OCTAVE_US_TYPE1_CMP_OPS, | |
3277 OCTAVE_SU_TYPE1_CMP_OP, OCTAVE_SU_TYPE1_CMP_OPS, | |
3278 OCTAVE_TYPE1_CMP_OPS, OCTAVE_US_TYPE2_CMP_OP, | |
3279 OCTAVE_US_TYPE2_CMP_OPS, OCTAVE_SU_TYPE2_CMP_OP, | |
3280 OCTAVE_SU_TYPE2_CMP_OPS, OCTAVE_TYPE2_CMP_OPS): | |
3281 New macros for comparison operations. Avoid potential | |
3282 problems with default conversions when comparing signed and | |
3283 unsigned values. | |
3284 | |
5061 | 3285 2004-11-03 John W. Eaton <jwe@octave.org> |
3286 | |
3287 * dMatrix.cc (Matrix::inverse): Return info == -1 for any failure. | |
3288 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
3289 | |
5052 | 3290 2004-10-19 John W. Eaton <jwe@octave.org> |
3291 | |
3292 * Array.cc (assignN): Avoid resizing if assignment will fail. | |
3293 | |
5047 | 3294 2004-10-18 John W. Eaton <jwe@octave.org> |
3295 | |
3296 * Array.cc (assign2): Save result of squeeze operation. | |
3297 Squeeze if ndims is > 2, not if length of RHS vector is > 2. | |
3298 | |
5095 | 3299 2004-10-11 David Bateman <dbateman@free.fr> |
5044 | 3300 |
3301 * oct-fftw.cc (class octave_fftw_planner): Add inplace[2] to | |
3302 flag whether transform in- or out-of-place. | |
3303 (octave_fftw_planner::octave_fftw_planner): Initialize it. | |
3304 (octave_fftw_planner::create_plan): Use it. | |
3305 | |
5039 | 3306 2004-09-24 John W. Eaton <jwe@octave.org> |
3307 | |
3308 * Array.cc (assign2, assignN): If index is empty, allow RHS to be | |
3309 any empty matrix, not just []. | |
3310 | |
5030 | 3311 2004-09-23 John W. Eaton <jwe@octave.org> |
3312 | |
3313 * mx-ops: Include scalar zero value in type definitions. | |
3314 Delete zero information from ops section. | |
3315 * mk-ops.awk: Use type-specific zero info. | |
3316 | |
3317 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, | |
3318 SND_BOOL_OP, NDND_BOOL_OP): Args now include zero values for both | |
3319 LHS and RHS. | |
3320 (MS_BOOL_OPS2, SM_BOOL_OPS2, MM_BOOL_OPS2, NDS_BOOL_OPS2, | |
3321 SND_BOOL_OPS2, NDND_BOOL_OPS2): New macros. | |
3322 (MS_BOOL_OPS, SM_BOOL_OPS, MM_BOOL_OPS, NDS_BOOL_OPS, | |
3323 SND_BOOL_OPS, NDND_BOOL_OPS): Define in terms of 2-zero versions. | |
3324 | |
3325 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const | |
3326 intNDArray<U>&)): Use explicit as_double () conversion in call to | |
3327 tree_to_mat_idx. | |
3328 | |
3329 * oct-inttypes.h (octave_int<T>::operator float): New conversion. | |
3330 (pow): Instead of "if (b_val)", use "if (b_val != zero)". | |
3331 Likewise for the "if (b_val & one)" test. | |
3332 (operator <<, operator >>): Type of retval is octave_int<T1>, not T1. | |
3333 | |
5029 | 3334 2004-09-23 David Bateman <dbateman@free.fr> |
3335 | |
3336 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): | |
3337 New macros. Use them to define mixed intX-double and double-intX ops. | |
3338 | |
5021 | 3339 2004-09-22 Federico Zenith <zenith@chemeng.ntnu.no> |
3340 | |
3341 * DASPK-opts.in, DASRT-opts.in, ODESSA-opts.in: | |
3342 Fix doc string layout to avoid overfull hbox in printed output. | |
3343 | |
5015 | 3344 2004-09-21 John W. Eaton <jwe@octave.org> |
3345 | |
3346 * mach-info.h (octave_mach_info::flt_fmt_native): Delete. | |
3347 * mach-info.cc (octave_mach_info::string_to_float_format): | |
3348 For "native", set actual native format. | |
3349 (octave_mach_info::float_format_as_string): Delete flt_fmt_native case. | |
3350 | |
5008 | 3351 2004-09-17 David Bateman <dbateman@free.fr> |
3352 | |
3353 * CmplxSCHUR.cc (CmplxSCHUR::init): New arg, calc_unitary to make the | |
3354 calculation of the unitary matrix optional. | |
3355 * dbleSCHUR.cc (SCHUR::init): Ditto. | |
3356 * CmplxSCHUR.h, dbleSCHUR.h: Update decls. | |
3357 | |
4998 | 3358 2004-09-15 David Bateman <dbateman@free.fr> |
3359 | |
3360 * oct-sort.h (octave_sort<T>::set_compare (bool (*comp) (T, T))): | |
3361 New function to set the comparison function for the sort. | |
3362 | |
4985 | 3363 2004-09-10 John W. Eaton <jwe@octave.org> |
3364 | |
3365 * lo-mappers.cc (xround): Fix typo. | |
3366 | |
4979 | 3367 2004-09-08 John W. Eaton <jwe@octave.org> |
3368 | |
3369 * Array.h (Array::~Array): Declare virtual. | |
3370 | |
3371 * idx-vector.h (idx_vector::idx_vector): Initialize rep in member | |
3372 initializaion list. Don't set rep->count since the rep | |
3373 constructor does that. | |
3374 | |
4968 | 3375 2004-09-07 John W. Eaton <jwe@octave.org> |
3376 | |
4970 | 3377 * data-conv.cc (oct_data_conv::string_to_data_type): Handle dt_logical. |
3378 (oct_data_conv::data_type_as_string): Likewise. | |
3379 | |
3380 * data-conv.h (oct_data_conv::data_type): Add dt_logical to list. | |
3381 | |
4968 | 3382 * Range.cc (round): Delete unused function. |
3383 | |
3384 * lo-mappers.cc (xround): Rename from round. Change all uses. | |
3385 If HAVE_ROUND, call round, otherwise fake with floor and ceil. | |
3386 | |
3387 * oct-inttypes.h: Include <cmath> here. | |
3388 | |
4964 | 3389 2004-09-03 David Bateman <dbateman@free.fr> |
3390 | |
3391 * boolNDArray.cc (boolNDArray::concat, boolNDArray::insert): | |
3392 New functions for boolean matrix concatenation. | |
3393 * boolNDArray.h: Provide decls. | |
3394 | |
4963 | 3395 2004-09-03 John W. Eaton <jwe@octave.org> |
3396 | |
4964 | 3397 * oct-inttpes.h (OCTAVE_INT_CMP_OP): Convert operarands to double |
3398 to avoid signed/unsigned int comparison problems. | |
3399 | |
3400 * mx-ops: Generate CMP and BOOL ops for mixed integer types and | |
3401 for mixed integer and double types. | |
3402 | |
3403 * mk-ops.awk: Output BIN_OP_DECLS, CMP_OP_DECLS, and BOOL_OP_DECLS | |
3404 separately, and only if needed. | |
3405 | |
4963 | 3406 * oct-inttypes.h (octave_fit_to_range): Use constructor instead of |
3407 static_cast for type conversion. | |
3408 | |
4953 | 3409 2004-09-01 John W. Eaton <jwe@octave.org> |
3410 | |
3411 * oct-inttypes.h (pow, operator +, operator -, operator *, | |
3412 operator /): Handle mixed integer/double ops. If op generates a | |
3413 NaN, set result to 0. | |
3414 (octave_int::operator - (void)): Convert to double, then negate, | |
3415 then fit to range. | |
3416 | |
3417 * mx-ops: Define integer types. Include declarations for mixed | |
3418 integer/double ops. | |
3419 | |
4952 | 3420 2004-08-31 John W. Eaton <jwe@octave.org> |
3421 | |
3422 * oct-inttypes.h (pow): Args now const reference. | |
3423 (octave_int<T>::operator *=, octave_int<T>::operator /=, | |
3424 octave_int<T>::operator <<=, octave_int<T>::operator >>=): | |
3425 New member functions. | |
3426 (OCTAVE_INT_BITSHIFT_OP): Delete macro. | |
3427 (operator >> (const octave_int<T1>& x, const T2& y)): | |
3428 Define in terms of >>=. | |
3429 (operator << (const octave_int<T1>& x, const T2& y)): | |
3430 Define in terms of <<=. | |
3431 (bitshift): Operate on octave_int<T> objects, not the values, so | |
3432 we get proper saturation properties. | |
3433 | |
3434 2004-08-31 David Bateman <dbateman@free.fr> | |
3435 | |
3436 * oct-inttypes.h (pow (constT, T)): New template. | |
3437 | |
3438 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, | |
3439 uint16NDArray.cc, uint32NDArray.cc: Instantiate power function. | |
3440 | |
4949 | 3441 2004-08-31 John W. Eaton <jwe@octave.org> |
3442 | |
3443 * oct-inttypes.h (octave_int::byte_size): New function. | |
3444 | |
4944 | 3445 2004-08-31 John W. Eaton <jwe@octave.org> |
3446 | |
4946 | 3447 * Makefile.in (EXTRAS): Add intNDArray.cc to the list. |
3448 | |
4944 | 3449 * data-conv.h (oct_data_conv::data_type): Include sized types. |
3450 Explicitly number enum elements. | |
3451 | |
3452 * data-conv.cc (oct_data_conv::string_to_data_type (const | |
3453 std::string&, int&, oct_data_conv::data_type&, | |
3454 oct_data_conv::data_type&)): New function. | |
3455 (oct_data_conv::string_to_data_type (const std::string&, int&, | |
3456 oct_data_conv::data_type&)): New function. | |
3457 (oct_data_conv::data_type_as_string): New function. | |
3458 | |
3459 * dMatrix.cc (read_int, do_read, Matrix::read): Delete. | |
3460 (write_int, do_write, Matrix::write): Delete. | |
3461 * dMatrix.h (Matrix::read, Matrix::write): Delete decls. | |
3462 | |
3463 * byte-swap.h: Use template functions and specialization. | |
3464 Change all uses. | |
3465 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
3466 | |
4943 | 3467 2004-08-30 John W. Eaton <jwe@octave.org> |
3468 | |
3469 * oct-inttypes.h (octave_int_fit_to_range): Use template | |
3470 specializations to avoid warnings about signed/unsigned comparisons. | |
3471 | |
3472 2004-08-28 John W. Eaton <jwe@octave.org> | |
3473 | |
3474 * data-conv.cc (do_float_format_conversion (unsigned char *, | |
3475 size_t, int, oct_mach_info::float_format)): New function. | |
3476 (GET_SIZED_INT_TYPE): New macro. | |
3477 (string_to_data_type): Use it to return sized types corresponding | |
3478 to Octave array data types. | |
3479 (strip_spaces): New function. | |
3480 (do_double_format_conversion, do_float_format_conversion): Pass | |
3481 from_fmt and to_fmt. Don't always assume the to_fmt is the native | |
3482 float format. | |
3483 (do_double_format_conversion, | |
3484 IEEE_big_double_to_IEEE_little_double, | |
3485 VAX_D_double_to_IEEE_little_double, | |
3486 VAX_G_double_to_IEEE_little_double, Cray_to_IEEE_little_double, | |
3487 IEEE_little_double_to_IEEE_big_double, | |
3488 VAX_D_double_to_IEEE_big_double, VAX_G_double_to_IEEE_big_double, | |
3489 Cray_to_IEEE_big_double, IEEE_little_double_to_VAX_D_double, | |
3490 IEEE_big_double_to_VAX_D_double, VAX_G_double_to_VAX_D_double, | |
3491 Cray_to_VAX_D_double, IEEE_little_double_to_VAX_G_double, | |
3492 IEEE_big_double_to_VAX_G_double, VAX_D_double_to_VAX_G_double, | |
3493 Cray_to_VAX_G_double): | |
3494 Pass data as void*, not double*. | |
3495 (do_float_format_conversion, IEEE_big_float_to_IEEE_little_float, | |
3496 VAX_D_float_to_IEEE_little_float, | |
3497 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, | |
3498 IEEE_little_float_to_IEEE_big_float, | |
3499 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, | |
3500 Cray_to_IEEE_big_float, IEEE_little_float_to_VAX_D_float, | |
3501 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, | |
3502 Cray_to_VAX_D_float, IEEE_little_float_to_VAX_G_float, | |
3503 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, | |
3504 Cray_to_VAX_G_float): | |
3505 Pass data as void*, not float*. | |
3506 | |
3507 2004-08-27 John W. Eaton <jwe@octave.org> | |
3508 | |
3509 * byte-swap.h (swap_bytes): New template versions, with | |
3510 specializations. | |
3511 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
3512 Change all uses. | |
3513 | |
4940 | 3514 2004-08-24 David Bateman <dbateman@free.fr> |
3515 | |
3516 * chNDArray.cc (concat): Check whether matrix to be inserted is | |
3517 empty instead of checking final matrix. | |
3518 * dNDArray.cc (concat): Likewise. | |
3519 * CNDArray.cc (concat): Likewise. | |
3520 | |
3521 2004-08-23 David Bateman <dbateman@free.fr> | |
3522 | |
3523 * dim-vector.h (dim_vector::concat): Correct incrementation for | |
3524 non-existent dimensions. | |
3525 | |
4938 | 3526 2004-08-09 John W. Eaton <jwe@octave.org> |
3527 | |
3528 * idx-vector.h (idx_vector::idx_vector_rep::tree_to_mat_idx | |
3529 (const octave_int<U>&)): New member function. | |
3530 (idx_vector::idx_vector_rep::tree_to_mat_idx (double, bool&), | |
3531 idx_vector::idx_vector_rep::tree_to_mat_idx (int)): | |
3532 Now member functions instead of static in idx-vector.cc. | |
3533 (idx_vector::idx_vector_rep::idx_vector_rep (const octave_int<U>&), | |
3534 idx_vector::idx_vector_rep::idx_vector_rep (const intNDArray<U>&)): | |
3535 New template constructors. | |
3536 | |
4932 | 3537 2004-08-05 John W. Eaton <jwe@octave.org> |
3538 | |
4933 | 3539 * EIG.cc (EIG::init): Add volatile qualifier to nvr decl. |
3540 | |
4932 | 3541 * intNDArray.cc (intNDArray<T>::operator !, intNDArray<T>::all, |
3542 intNDArray<T>::any): Sprinkle with this-> as needed. | |
3543 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): Likewise. | |
3544 | |
4929 | 3545 2004-08-03 John W. Eaton <jwe@octave.org> |
3546 | |
3547 * Array.cc (Array<T>::squeeze): Do nothing for 2-d arrays. For | |
3548 arrays with more than two dimensions and only one non-singleton | |
3549 dimension, return a column vector. | |
3550 | |
4921 | 3551 2004-07-28 John W. Eaton <jwe@octave.org> |
3552 | |
3553 * oct-cmplx.h (pow (const Complex&, const double&): | |
3554 Convert second arg to complex to avoid libstdc++ bug. | |
3555 | |
4920 | 3556 2004-07-27 John W. Eaton <jwe@octave.org> |
3557 | |
3558 * oct-inttypes.h (bitshift): New arg, MASK. | |
3559 (OCTAVE_INT_BITSHIFT_OP): Bitshift does not saturate. | |
3560 | |
4916 | 3561 2004-07-23 John W. Eaton <jwe@octave.org> |
3562 | |
3563 * Array.cc (Array<T>::reshape): Return *this if no change in size. | |
3564 | |
4915 | 3565 2004-07-23 David Bateman <dbateman@free.fr> |
3566 | |
3567 * Array.cc, Array.h (cat_ra): Delete. | |
3568 * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc | |
3569 (INSTANTIATE_ARRAY_CAT): Delete. | |
3570 | |
3571 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
3572 chNDArray.h, intNDArray.cc, intNDArray.h (cat): Delete. | |
3573 | |
3574 * Array.cc (Array<T>::insert): Copy data in NDArray version. | |
3575 | |
3576 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
3577 chNDArray.h (concat): New function used for concatenation that does | |
3578 an indexed copy of one array into another. | |
3579 | |
3580 * dim-vector.h (concat): New function to concatenate dim_vectors. | |
3581 | |
3582 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
3583 chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for | |
3584 insertion of one NDArray into another. | |
3585 | |
3586 * oct-inttype.cc (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): New | |
3587 macros to define the int/uint concatenation functions. | |
3588 | |
3589 * uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
3590 int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc | |
3591 (OCTAVE_INT_CONCAT_FN): Instantiate the concatenation function . | |
3592 | |
3593 * uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
3594 int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h | |
3595 (OCTAVE_INT_CONCAT_DECL): Declare the int/uint concatentaion | |
3596 functions. | |
3597 | |
4911 | 3598 2004-07-22 David Bateman <dbateman@free.fr> |
3599 | |
3600 * oct-sort.h: Don't include oct-obj.h. | |
3601 | |
3602 * lo-specfun.cc (is_integer_value): New function. | |
3603 (zbesj, zbesi, zbesy): Special case negative integer or half | |
3604 integer orders that cause overflow for small arguments. | |
3605 | |
4909 | 3606 2004-07-12 John W. Eaton <jwe@octave.org> |
3607 | |
3608 * oct-inttypes.h (octave_int<T>::nbits): New function. | |
3609 (bitshift (const octave_int<T>&, int)): New function. | |
3610 | |
4902 | 3611 2004-06-14 John W. Eaton <jwe@octave.org> |
3612 | |
3613 * mx-base.h: Include headers for new int types. | |
3614 | |
3615 * dNDArray.h, dNDArray.cc (NDArray::NDArray (const boolNDArray&), | |
3616 NDArray::NDArray (const charNDArray&)): Delete. | |
3617 (template <class U> explicit NDArray (const intNDArray<U>&)): New | |
3618 constructor. | |
3619 (NDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
3620 | |
3621 * chMatrix.h (CharMatrix::transpose): New forwarding functions for | |
3622 return type conversion. | |
3623 | |
3624 * ComplexNDArray.h, ComplexNDArray.cc | |
3625 (ComplexNDArray::ComplexNDArray (const ArrayN<Complex>&), | |
3626 (ComplexNDArray::ComplexNDArray (const NDArray&), | |
3627 (ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
3628 (ComplexNDArray::ComplexNDArray (const charNDArray&)): Delete. | |
3629 | |
3630 (ComplexNDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
3631 | |
3632 * MArrayN.h: | |
3633 (template <class U> explicit MArrayN<T>::MArrayN (const Array2<U>&), | |
3634 (template <class U> MArrayN<T>::MArrayN (const ArrayN<U>&), | |
3635 (template <class U> explicit MArrayN<T>::MArrayN (const MArray<U>&)): | |
3636 New constructors. | |
3637 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
3638 ArrayN<T>::squeeze): | |
3639 New forwarding functions for return type conversion. | |
3640 | |
3641 * ArrayN.h: | |
3642 (template <class U> explicit ArrayN<T>::ArrayN (const Array2<U>&), | |
3643 (template <class U> explicit ArrayN<T>::ArrayN (const ArrayN<U>&), | |
3644 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&), | |
3645 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&, | |
3646 const dim_vector&)): New constructors. | |
3647 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
3648 ArrayN<T>::transpose): | |
3649 New forwarding functions for return type conversion. | |
3650 | |
3651 * Array.h (template <class U> Array<T>::Array (const Array<U>&)): | |
3652 New constructor. | |
3653 (Array<T>::coerce, Array<T>::byte_size): New functions. | |
3654 | |
3655 * Array-i.cc, MArray-i.cc: Instantiate new integer types. | |
3656 | |
3657 * oct-inttypes.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
3658 int8NDArray.h , intNDArray.h, uint16NDArray.h, uint32NDArray.h, | |
3659 uint64NDArray.h, uint8NDArray.h, int16NDArray.cc, int32NDArray.cc, | |
3660 int64NDArray.cc, int8NDArray.cc, intNDArray.cc, uint16NDArray.cc, | |
3661 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: New files. | |
3662 * Makefile.in: Add them to the appropriate lists. | |
3663 | |
4899 | 3664 2004-06-04 John W. Eaton <jwe@octave.org> |
3665 | |
3666 * mx-inlines.cc (MX_ND_REDUCTION): New arg, RET_ELT_TYPE. Use | |
3667 "RET_ELT_TYPE ()" rather than "false" as fill value for retval | |
3668 resize op. Change all uses. | |
3669 | |
4898 | 3670 2004-06-03 David Bateman <dbateman@free.fr> |
3671 | |
3672 * Array.cc (assignN): Allow magic colon for dimensions lvalue | |
3673 greater than the existing number of dimensions in lvalue. | |
3674 | |
4887 | 3675 2004-04-30 David Bateman <dbateman@free.fr> |
3676 | |
3677 * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): | |
3678 New arg, fill_value. | |
3679 (dim_vector::resize): Allow optional fill_value argument. | |
3680 | |
3681 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
3682 Don't chop trailing dimensions of Array<idx_vector> if there is | |
3683 more than one element in idx_vector. Resize the return value to | |
3684 the size of Array<idx_vector>. | |
3685 | |
3686 * Array-util.cc (short_freeze): Better freeze of last dimension of | |
3687 idx_vector that is shorter than a dim_vector. | |
3688 | |
4882 | 3689 2004-04-23 John W. Eaton <jwe@octave.org> |
3690 | |
3691 * oct-sort.cc: Don't include oct-obj.h. | |
3692 | |
4876 | 3693 2004-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
3694 | |
3695 * Array.cc (Array<T>::index2, Array<T>::indexN): | |
3696 Don't set invalid dimensions on return value. | |
3697 | |
4871 | 3698 2004-04-21 John W. Eaton <jwe@octave.org> |
3699 | |
3700 * mx-inlines.cc (MX_ND_REDUCTION): Chop trailing singletons. | |
3701 | |
4850 | 3702 2004-04-06 David Bateman <dbateman@free.fr> |
3703 | |
4870 | 3704 * Array.cc (Array<T>::resize_no_fill (const dim_vector& dv), |
3705 Array<T>::resize_and_fill (const dim_vector& dv, const T& val)): | |
3706 Make their behavior equivalent except for filling vs. not filling. | |
3707 | |
4850 | 3708 * oct-sort.cc: New template class for arbitrary sorting. |
3709 * oct-sort.h: Declaration of sort class. | |
3710 * Makefile: Add them to the appropriate lists. | |
3711 | |
4845 | 3712 2004-04-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
3713 | |
3714 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Fix off-by-one error. | |
3715 | |
4844 | 3716 2004-04-02 David Bateman <dbateman@free.fr> |
3717 | |
3718 * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, | |
3719 besselh2, airy, biry, betainc, gammainc, do_bessel): | |
4852 | 3720 New N-d array versions. |
4844 | 3721 (SN_BESSEL, NS_BESSEL, NN_BESSEL): New macros. |
3722 * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, | |
3723 besselh2, airy, biry, betainc, gammainc): Provide decls. | |
3724 | |
3725 * dNDArray.cc (NDArray::min, NDArray::max, min, max): | |
3726 New functions. | |
3727 * dNDArray.h (NDArray::min, NDArray::max, min, max): Provide decls. | |
3728 | |
3729 * CNDArray.cc (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
3730 New functions. | |
3731 * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
3732 Provide decls. | |
3733 | |
4842 | 3734 2004-03-17 David Hoover <jazzdaq@yahoo.com> |
3735 | |
3736 * DASPK.cc (DASPK::do_integrate): Always add n*n elements to the | |
3737 work vector, not just when using a numerical Jacobian. | |
3738 | |
4834 | 3739 2004-03-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
3740 | |
4835 | 3741 * so-array.cc (SND_CMP_OP, NDS_CMP_OP, NDND_CMP_OP): |
3742 Omit empty result args. | |
3743 | |
4834 | 3744 * Array.cc (Array<T>::Array (const Array<T>&, const dim_vector&)): |
3745 Move here from Array.h, check that size of array arg is not | |
3746 smaller than the size defined by the new dimensions. | |
3747 | |
4832 | 3748 2004-03-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
3749 | |
3750 * Array.cc (Array<T>::index2): Allow result to be N-d if indexing | |
3751 a scalar or vector with an N-d array. | |
3752 | |
4826 | 3753 2004-03-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
3754 | |
4828 | 3755 * Array.cc (Array<T>::index2): If scalar or vector is indexed by |
3756 matrix, return object that is the same size as the index. | |
3757 | |
4826 | 3758 * mx-op-defs.h (NDND_CMP_OP, MM_CMP_OP): Require dimensions to agree. |
3759 Eliminate MT_RESULT args. Return value is always size of args. | |
3760 (MS_CMP_OP, SM_CMP_OP, NDS_CMP_OP, SND_CMP_OP): | |
3761 Eliminate EMPTY_RESULT arg. | |
3762 Return value is always size of matrix or N-d array arg. | |
3763 (TBM, FBM, NBM): Delete unused macros. | |
3764 | |
4821 | 3765 2004-03-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
3766 | |
3767 * Array.cc (Array<T>::maybe_delete_elements): Return immediately | |
3768 if all LHS dimensions are zero. For one index case, freeze and | |
3769 sort idx_vec before checking length, and do nothing if | |
3770 num_to_delete is zero. | |
4822 | 3771 (Array<T>::maybe_delete_elements_2): Omit Fortran-indexing warning. |
4821 | 3772 |
4816 | 3773 2004-03-04 David Bateman <dbateman@free.fr> |
3774 | |
3775 * dNDArray.cc (NDArray::ifourier): Arg is int, not const int. | |
3776 * CNDArray.cc (ComplexNDArray::ifourier): Likewise. | |
3777 | |
4811 | 3778 2004-03-03 Hans Ekkehard Plesser <hans.ekkehard.plesser@nlh.no> |
3779 | |
3780 * base-lu.cc (base_lu<>::L): Check bounds before setting diagonal | |
3781 element. | |
3782 | |
3783 2004-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> | |
3784 | |
3785 * Range.h (Range::Range): Add cache to member initialization list. | |
3786 (Range::clear_cache): New private function. | |
3787 | |
3788 * Range.h (Range::set_base, Range::set_limit, Range::set_inc): | |
3789 Use clear cache. Don't do anything if range does not change. | |
3790 * Range.cc (Range::sort): Likewise. | |
3791 | |
4810 | 3792 2004-03-02 Paul Kienzle <pkienzle@users.sf.net> |
3793 | |
3794 * Range.cc (Range::matrix_value): Cache result. | |
3795 (Range::sort): Clear cache. | |
3796 * Range.h (Range::cache): New data member. | |
3797 (Range::set_base, Range::set_limit, Range::set_inc): Clear cache. | |
3798 (Range::print_range): Delete. | |
4808 | 3799 |
3800 2004-03-02 David Bateman <dbateman@free.fr> | |
3801 | |
3802 * oct-fftw.cc: Only two versions of plan, and avoid endless | |
3803 changes between them. Faster for small fft's. | |
3804 (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): | |
3805 New member variables. | |
3806 (octave_fftw_planner::ialign, octave_fftw_planner::oalign, | |
3807 octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. | |
3808 Change all uses. | |
3809 (CHECK_SIMD_ALIGNMENT): New macro. | |
3810 (octave_fftw_planner::create_plan): Use it. | |
3811 | |
4806 | 3812 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> |
3813 | |
3814 * Array.cc (Array<T>::insertN): Eliminate N-d indexing. | |
3815 | |
3816 * mx-inlines.cc (MX_ND_CAT): Delete macro. | |
3817 | |
3818 * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. | |
3819 * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. | |
3820 * chNDArray.cc (charNDArray<T>::cat): Ditto. | |
3821 * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. | |
3822 | |
3823 * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. | |
3824 * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. | |
3825 | |
4800 | 3826 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
3827 | |
4802 | 3828 * oct-rl-edit.c (octave_rl_set_startup_hook, |
3829 octave_rl_get_startup_hook, octave_rl_set_event_hook, | |
3830 octave_rl_get_event_hook): Omit casts. | |
3831 * oct-rl-edit.h (rl_startup_hook_fcn_ptr, rl_event_hook_fcn_ptr): | |
3832 Return value for function pointer typedef is now int. | |
3833 * cmd-edit.h (command_editor::startup_hook_fcn, | |
3834 command_editor::event_hook_fcn): Likewise. | |
3835 * cmd-hist.cc, cmd-hist.h (command_history::goto_mark, | |
3836 command_history::do_goto_mark, gnu_history::do_goto_mark): | |
3837 Return type is now int. Return 0. | |
3838 | |
4800 | 3839 * EIG.cc (EIG::init, EIG::symmetric_init): |
3840 Query Lapack for workspace size. | |
3841 | |
4796 | 3842 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
3843 | |
3844 * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): | |
3845 Fix thinko in extending dimensions. | |
3846 | |
4791 | 3847 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
3848 | |
3849 * Range.cc (Range::matrix_value, Range::min, Range::max): | |
3850 Don't compute values beyond the limits of the range. | |
3851 (operator << (std::ostream&, const Range&)): Likewise. | |
3852 | |
4786 | 3853 2004-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
3854 | |
4788 | 3855 * oct-fftw.cc (octave_fftw_planner::create_plan): |
3856 Cast IN and OUT args to ptrdiff_t instead of long before masking. | |
3857 From Paul Kienzle <pkienzle@users.sf.net>. | |
3858 | |
4786 | 3859 * Array.cc (Array<T>::insertN (const Array<T>&, int, int)): |
3860 Rename from Array<T>::insert. | |
3861 (Array<T>::insert2 (const Array<T>&, int, int)): | |
3862 Reinstate old Array<T>::insert function under this name. | |
3863 (Array<T>::insert (const Array<T>&, int, int)): | |
3864 New function. Dispatch to insert2 or insertN as appropriate. | |
3865 | |
4785 | 3866 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
3867 | |
3868 * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): | |
3869 Sprinkle with OCTAVE_QUIT. | |
3870 | |
5095 | 3871 2004-02-16 David Bateman <dbateman@free.fr> |
4773 | 3872 |
3873 * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): | |
3874 Add support for FFTW 3.x. Include the ability to | |
3875 use the real to complex transform for fft's of real matrices | |
3876 (octave_fftw_planner::create_plan2d): Delete. | |
3877 (octave_fftw::fft2d): Delete. | |
3878 (convert_packcomplex_1d, convert_packcomplex_Nd): | |
3879 New static functions. | |
3880 * oct-fftw.h: Update decls. | |
3881 | |
3882 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
3883 Matrix::fourier2d, Matrix::ifourier2d): FFT's use real to complex | |
3884 transforms. 1D FFT of a matrix done as single call rather than | |
3885 loop. Update for FFTW 3.x | |
3886 * CMatrix.cc (ComplexMatrix::fourier, ComplexMatrix::ifourier, | |
3887 ComplexMatrix::fourier2d, ComplexMatrix::ifourier2d): 1D fft of a | |
3888 matrix done as single call rather than loop. Update for FFTW 3.x. | |
3889 | |
3890 * dNDArray.cc (NDArray::fourier, NDArray::ifourier, | |
3891 NDArray::fourierNd, NDArray::ifouriourNd): New fourier transform | |
3892 functions for Nd arrays. | |
3893 * dNArray.h Provide decls. | |
3894 * CNDArray.cc (ComplexNDArray::fourier, ComplexNDArray::ifourier, | |
3895 ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New | |
3896 fourier transform functions for complex Nd arrays. | |
3897 * CNArray.h: Provide decls. | |
3898 | |
4765 | 3899 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> |
3900 | |
3901 * Array.cc (Array<T>::insert (const Array<T>&, int, int)): | |
3902 Make it work for N-d arrays. | |
3903 | |
3904 * ArrayN.h (ArrayN<T>::insert (const ArrayN<T>& a, int, int)): | |
3905 New function. | |
3906 | |
3907 * CNDArray.cc (ComplexNDArray::insert (const NDArray&, int, int), | |
3908 ComplexNDArray::insert (const ComplexNDArray&, int, int)): | |
3909 New functions. | |
3910 * CNDArray.h: Provide decls. | |
3911 | |
4759 | 3912 2004-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
3913 | |
4760 | 3914 * Makefile.in (LINK_DEPS): Always define. |
3915 | |
4759 | 3916 * Array.cc (Array<T>::squeeze): Always return an array with at |
3917 least two dimensions. | |
3918 | |
4758 | 3919 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
3920 | |
3921 * mx-inlines.cc (MX_ND_CAT): New macro. | |
3922 * dNDArray.cc (NDArray::cat): New function. | |
3923 * dNDArray.h: Provide decls. | |
3924 * CNDArray.cc (complexNDArray::cat): New function. | |
3925 * CNDArray.h: Provide decls. | |
3926 * chNDArray.cc (charNDArray::cat): New function. | |
3927 * chNDArray.h: Provide decls. | |
3928 | |
4756 | 3929 2004-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
3930 | |
3931 * Array.cc (maybe_delete_elements_2): Allow X(n) = [] for 2-d X. | |
3932 (Array<T>assign2): Also call maybe_delete_elements for single | |
3933 index when rows and columns or LHS are both greater than 1. | |
3934 | |
4755 | 3935 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
3936 | |
3937 * Array.cc (Array<T>::maybe_delete_elements): | |
3938 Check for index out of bounds. Handle one index. | |
3939 | |
3940 * Array.cc (Array<T>::indexN): Use dim_vector (0, 0) instead of | |
3941 dim_vector (0) to create empty return vector. | |
3942 | |
4749 | 3943 2004-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
3944 | |
3945 * Array.cc (Array<T>::assignN): Don't crash if trying to resize a | |
3946 non-empty LHS when the number of lhs dimensions is less than the | |
3947 number of indices. Detect error if attempting to resize non-empty | |
3948 LHS with colon indices. | |
3949 | |
4745 | 3950 2004-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
3951 | |
4747 | 3952 * Array.cc (Array<T>::resize_and_fill): Don't bother to assign any |
3953 values unless the length of the new array is greater than 0. | |
3954 (Array<T>::resize_no_fill): Likewise. | |
3955 | |
3956 * Array-util.cc (index_in_bounds): Also return false if ra_idx(i) | |
3957 is equal to dimensions(i). | |
3958 | |
3959 * Array-util.h, Array-util.cc (equal_arrays, any_zero_len, | |
3960 get_zero_len_size, number_of_elements): | |
3961 Delete unused functions. | |
3962 | |
3963 * Array-util.cc (get_ra_idx): Use dim_vector::numel instead of | |
3964 number_of_elements function. | |
3965 * Array.cc (Array<T>::indexN): Likewise. | |
3966 | |
3967 * Array.cc (Array<T>::indexN): Use dim_vector::operator == instead | |
3968 of equal_arrays function. | |
3969 (Array<T>::index, Array<T>::indexN, Array<T>::assignN) Use | |
3970 dim_vector::any_zero instead of any_zero_len function. | |
3971 | |
3972 * Array.cc (Array<T>::assignN): Eliminate special case for empty index. | |
3973 Don't skip reshaping and resizing if RHS is empty. | |
3974 | |
4746 | 3975 * Array.cc (Array<T>::assignN): Simplify loop for array assignment. |
3976 Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. | |
4747 | 3977 Delete unused variables is_colon and is_colon_equiv. |
4746 | 3978 Correctly resize for expressions like x(:,:,2) = ones(3,3) when |
3979 LHS is not yet defined. | |
4745 | 3980 Error for resizing if number of indices is less than number of LHS |
3981 dimensions. | |
3982 | |
4746 | 3983 * Array.cc (Array<T>::maybe_delete_elements): Maybe warn about |
3984 Fortran-style indexing. | |
3985 | |
4743 | 3986 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
3987 | |
3988 * Array.cc (Array<T>::assignN): Simplify. | |
3989 Allow assignments to succeed if number if indices is less than the | |
3990 number of RHS dimensions. | |
3991 | |
4738 | 3992 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
3993 | |
4741 | 3994 * Array.cc (Array<T>::maybe_delete_elements): Reshape LHS |
3995 when number of indices is less than number of dimensions. | |
3996 | |
3997 * Array.cc (Array<T>::assignN, Array<T>::maybe_delete_elements): | |
3998 Remove unsued variable lhs_inc. | |
3999 | |
4740 | 4000 * Array.cc (Array<T>::maybe_delete_elements): Declare idx_is_colon |
4001 and idx_is_colon_equiv Array<int> instead of dim_vector. | |
4002 | |
4003 * Array.cc (Array<T>::assignN): Compute new dims in a cleaner way. | |
4004 | |
4738 | 4005 * Array.cc (Array<T>::index): Check for frozen_lengths.length () |
4006 == n_dims before checking to see if all indices are colon_equiv. | |
4007 | |
4736 | 4008 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
4009 | |
4010 * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for | |
4011 deleting elements. | |
4737 | 4012 (Array<T>::index): Remove trailing singletons in ra_idx, but leave |
4013 at least ndims elements. | |
4736 | 4014 |
4735 | 4015 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
4016 | |
4017 * Array.cc (Array<T>::assignN): Accept assignment of a vector | |
4018 oriented differently from the index. | |
4019 | |
4020 * dim-vector.h (dim_vector::squeeze): Return value always has at | |
4021 least two dimensions. | |
4022 | |
4733 | 4023 2004-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
4024 | |
4735 | 4025 * dim-vector.h (dim_vector::squeeze): New function. |
4026 (Array<T>::assignN): Use it instead of chop_trailing_singltons for | |
4027 deciding whether the assignment conforms. | |
4028 | |
4733 | 4029 * Array.cc (Array<T>::assignN): Simplify dimension check by |
4030 comparing rhs_dims and frozen_len sans trailing singletons. | |
4031 | |
4732 | 4032 2004-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
4033 | |
4034 * idx-vector.cc (tree_to_mat_idx): New arg, conversion_error. | |
4035 Call error handler and return conversion_error == true if arg is | |
4036 not integer. | |
4037 (IDX_VEC_REP::idx_vector_rep): Exit early if conversion_error. | |
4038 | |
4730 | 4039 2004-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
4040 | |
4041 * boolNDArray.h (boolNDArray::boolNDArray): Declare dim_vector | |
4042 reference arg const. | |
4043 | |
4044 2004-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4045 | |
4046 * Array-flags.cc: Include Array-flags.h, not Array.h. Doh. | |
4047 | |
4729 | 4048 2004-01-30 Jakub Bogusz <qboosh@pld-linux.org> |
4049 | |
4050 * Array-flags.h (liboctave_wfi_flag, liboctave_wrore_flag): | |
4051 Now bool, to match definition in Array-flags.cc. | |
4052 | |
4725 | 4053 2004-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4054 | |
4726 | 4055 * file-ops.cc: Include <vector> instead of <memory> for new |
4056 definition of OCTAVE_LOCAL_BUFFER. | |
4057 | |
4725 | 4058 * EIG.cc, EIG.h (EIG::init, EIG::symmetric_init, EIG::hermitian_init): |
4059 New arg, calc_eigenvectors. | |
4060 * EIG.h (EIG:EIG): New optional arg, calc_eigenvectors. | |
4061 Based on patch from David Bateman <dbateman@free.fr>. | |
4062 | |
4716 | 4063 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
4064 | |
4065 * Array.cc (Array<T>::assign2, Array<T>::assignN): | |
4066 For X(I) = RHS, don't restrict I to fewer elements than X. | |
4067 | |
4068 * Array.cc (Array<T>::assign2): Simplify indexing for X(I) = RHS case. | |
4069 | |
4711 | 4070 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
4071 | |
4714 | 4072 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): |
4073 Simplify calculation of number of elements in retval. | |
4074 | |
4711 | 4075 * Array.cc (Array<T>::assignN): Eliminate unnecessray code for |
4076 filling when RHS is scalar and dimension lengths agree. | |
4077 | |
4710 | 4078 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
4079 | |
4713 | 4080 * Makefile.in (distclean): Remove mx-ops.h, $(MX_OP_INC), |
4081 $(VX_OP_INC), $(MX_OP_SRC), $(VX_OP_SRC), and $(OPTS_INC). | |
4710 | 4082 |
4707 | 4083 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
4084 | |
4709 | 4085 * Array.cc (Array<T>::resize_and_fill): Correctly copy old elements. |
4086 (Array<T>::assign2): Check for RHS dimensions larger than 2. | |
4707 | 4087 |
4702 | 4088 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> |
4089 | |
4703 | 4090 * Array.h (Array<T>::chop_trailing_singletons): New function. |
4091 * Array.cc (Array<T>::assignN): Use it on LHS. | |
4092 | |
4093 * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. | |
4702 | 4094 Retrieve scalar element by passin 0 instead of an index array. |
4703 | 4095 Check for singleton dimensions where RHS is matrix or higher dimension. |
4096 Make sure index is in bounds. | |
4702 | 4097 |
4698 | 4098 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
4099 | |
4100 * lo-ieee.cc (octave_ieee_init): Ensure that octave_Inf, | |
4101 octave_NaN, and octav_NA values are always initialized. Check | |
4102 floating point format, not HAVE_ISINF, HAVE_FINITE, or HAVE_ISNAN | |
4103 to decide whether to do IEEE initialization. | |
4104 | |
4687 | 4105 2004-01-06 David Bateman <dbateman@free.fr> |
4106 | |
4107 * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, | |
4108 ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, | |
4109 ComplexNDArray::too_large_for_float): New functions | |
4110 | |
4111 * CNDArray.cc (operator <<, operator >>): New IO operators. | |
4112 * CNDArray.h: Provide decls. | |
4113 * dNDArray.cc (operator <<, operator >>): New IO operators. | |
4114 * dNDArray.h: Provide decls. | |
4115 | |
4673 | 4116 2003-12-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4117 | |
4674 | 4118 * mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since |
4119 they are already defined in boolNDArray.cc. | |
4120 | |
4673 | 4121 * Array-util.cc (get_zero_len_size): Delete. |
4122 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
4123 Handle zero-length result dimensions the same as empty original | |
4124 indices. | |
4125 | |
4126 2003-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4127 | |
4128 * dim-vector.h (dim_vector::chop_trailing_singleton_dims, | |
4129 dim_vector::dim_vector_rep::chop_trailing_singleton_dims): | |
4130 New functions. | |
4131 * Array.cc (ArrayN<T>::indexN): Use it. | |
4132 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): Likewise. | |
4133 | |
4669 | 4134 2003-11-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
4135 | |
4136 * boolNDArray.cc: Define BOOL ops. Define mixed CMP ops. | |
4137 * boolNDArray.h: Declare BOOL ops. Declare mixed CMP ops. | |
4138 | |
4139 2003-11-25 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4140 | |
4141 * mk-ops.awk: Also emit #include "Array-util.h". | |
4142 | |
4143 * mx-ops: Add bool, boolMatrix, and boolNDarray types. | |
4144 Add bnda x bnda, b x bnda, and bnda x b ops. | |
4145 | |
4146 * MArray-misc.cc: Delete. | |
4147 * Makefile.in (MATRIX_SRC): Remove it from the list. | |
4148 | |
4149 * Array-util.h, Array-util.cc (gripe_nonconformant): Move here from | |
4150 MArray.h, MArray2.h, MArrayN.h, and MArray-misc.cc. | |
4151 | |
4655 | 4152 2003-11-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4153 | |
4663 | 4154 * dbleQR.cc (QR::init): Use separate pwork pointers. |
4155 * CmplxQR.cc (ComplexQR::init): Likewise. | |
4156 | |
4157 * oct-group.cc (octave_group::getgrnam): Pass correct args to | |
4158 two-arg getgrnam version. | |
4159 | |
4657 | 4160 * Array.cc (assignN): Allow single indexing to work. |
4661 | 4161 (Array<T>::range_error (const char*, const Array<int>&)): |
4162 Report index values. | |
4163 | |
4164 * Array.cc (Array<T>::index): Delete unused arg names. | |
4662 | 4165 * ODESSA.cc (odessa_j): Likewise. |
4166 * DASRT.cc (ddasrt_f, ddasrt_g): Likewise. | |
4167 * DASPK.cc (ddaspk_psol): Likewise. | |
4168 * lo-mappers.cc (imag): Likewise. | |
4663 | 4169 * Array-util.cc (get_zero_len_size): Likewise. |
4170 * kpse.cc (path_search, path_find_first_of): Likewise. | |
4171 * cmd-edit.cc (do_generate_filename_completions): Likewise. | |
4656 | 4172 |
4655 | 4173 * dim-vector.h (dim_vector::all_ones): New function. |
4174 | |
4646 | 4175 2003-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4176 | |
4653 | 4177 * idx-vector.h (idx_vector::orig_empty): Check orig_dims for |
4178 zeros, not orig_rows or orig_columns. | |
4179 (idx_vector::idx_vector_rep::orig_rows): Define using orig_dims. | |
4180 (idx_vector::idx_vector_rep::orig_columns): Likewise. | |
4181 | |
4182 * idx-vector.cc (idx_vector::idx_vector_rep::orig_nr, | |
4183 (idx_vector::idx_vector_rep::orig_nc): Delete. | |
4184 | |
4185 * idx-vector.cc (idx_vector::idx_vector_rep): | |
4186 Use initialization lists for constructors. | |
4187 | |
4651 | 4188 * Array.cc (Array<T>::indexN): Correctly handle single colon index. |
4189 Omit special case for ra_idx.capacity () == 1. | |
4190 Always allow single index for matrix args with optional warning. | |
4191 | |
4650 | 4192 * idx-vector.h, idx-vector.cc: Convert boolMatrix functions to use |
4193 boolNDArray. Likewise, convert Matrix functions to use NDArray. | |
4194 | |
4648 | 4195 * Array-so.cc: New file. Move instantiations here from so-array.h. |
4196 * Makefile.in (TI_SRC): Add it to the list. | |
4197 | |
4646 | 4198 * MArray-defs.h (DO_VS_OP2, DO_VV_OP2): Accept args for element |
4199 type and the names of the left and right operands. Change all uses. | |
4200 | |
4201 * so-array.cc, so-array.h: New files. Move streamoff_array here | |
4202 from src/ov-streamoff.h and src/ov-streamoff.cc. | |
4203 | |
4645 | 4204 2003-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
4205 | |
4206 * MArrayN.cc (operator -=, operator +=): Check dimensions, not | |
4207 just length. | |
4208 | |
4209 * Array2.h, Array3.h, DiagArray2.h, DiagArray2.cc, MDiagArray2.h, | |
4210 ArrayN.h: Add this-> or Base:: qualifiers for references to | |
4211 non-dependent member functions and data as needed. | |
4212 | |
4213 * DiagArray2.h, DiagArray2.cc: Delete unused code. | |
4214 | |
4215 * Array2.h (Array2<T>::operator =): Don't copy dimensions here. | |
4216 * Array3.h (Array3<T>::operator =): Likewise. | |
4217 * DiagArray2.h (DiagArray2<T>::operator =): Likewise. | |
4218 Include Array.h, not Array2.h. | |
4219 | |
4634 | 4220 2003-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
4221 | |
4636 | 4222 * str-vec.cc (list_in_columns): Fix previous change. |
4223 | |
4635 | 4224 * dim-vector.h (dim_vector::num_ones): New function. |
4225 * Array.cc (maybe_delete_elements): Use it instead of | |
4226 num_ones (const Array<int>&). | |
4227 | |
4228 * Array.cc (assignN): Omit dubious check of singleton dimensions. | |
4229 | |
4634 | 4230 * dNDArray.cc (NDArray::all_elements_are_int_or_inf_or_nan, |
4231 NDArray::any_element_is_inf_or_nan, NDArray::too_large_for_float): | |
4232 New functions. | |
4233 * dNDArray.h: Provide decls. | |
4234 | |
4235 * dMatrix.h (Matrix::any_element_is_negative, | |
4236 Matrix::any_element_is_inf_or_nan, Matrix::too_large_for_float, | |
4237 Matrix::all_elements_are_int_or_inf_or_nan, Matrix::all_integers): | |
4238 Simplify. | |
4239 | |
4240 * dNDArray.cc (NDArray::abs): Make it work for N-d arrays. | |
4241 * CNDArray.cc (ComplexNDArray::abs): Likewise. | |
4242 | |
4243 * dNDArray.cc (real, imag): New functions. | |
4244 * dNDArray.h: Provide decls. | |
4245 | |
4630 | 4246 2003-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4247 | |
4248 * Makefile.in (TEMPLATE_SRC): Move MArrayN.cc here from MATRIX_SRC. | |
4249 | |
4625 | 4250 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
4251 | |
4252 * Array.h (Array<T>::resize (int, const T&)): Reinstate. | |
4253 * MArray.h (resize): Delete. | |
4254 * MArray2.h (resize): Delete. | |
4255 * DASRT.cc (DASRT::integrate): Use resize, not resize_and_fill. | |
4256 * ODESSA (ODESSA::integrate): Likewise. | |
4257 | |
4616 | 4258 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4259 | |
4260 * Makefile.in (dist): Depend on stamp-prereq. | |
4261 | |
4605 | 4262 2003-11-12 John Eaton <jwe@bevo.che.wisc.edu> |
4263 | |
4264 * mach-info.c (oct_mach_info::init_float_format) [CRAY]: | |
4265 Kluge to make it work. | |
4604 | 4266 |
4267 * lo-ieee.cc (octave_ieee_init): Set octave_Inf, octave_NaN, and | |
4268 octave_NA to DBL_MAX if native float format is vaxd, vaxg, or cray. | |
4269 | |
4270 * cmd-edit.cc (gnu_readline::do_generate_filename_completions, | |
4271 default_command_editor::do_generate_filename_completions, | |
4272 command_editor::generate_filename_completions): New functions. | |
4273 * cmd-edit.h: Provide decls. | |
4274 * oct-rl-edit.c (octave_rl_filename_completion_function): New | |
4275 function. | |
4276 * oct-rl-edit.h: Provide decl. | |
4277 | |
4593 | 4278 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4279 | |
4594 | 4280 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY_AND_ASSIGN, |
4281 INSTANTIATE_ARRAY): New macros. | |
4282 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
4283 Array-idx-vec.cc, Array-s.cc, Array-str.cc, ODESSA.cc: Use them. | |
4284 | |
4593 | 4285 * Array.h (Array<T>::ipermute): New function. |
4286 | |
4287 2003-11-11 Petter Risholm <risholm@stud.ntnu.no> | |
4288 | |
4289 * Array.cc (Array<T>::permute): New function. | |
4290 * Array.h: Provide decl. | |
4291 | |
4292 * Array-util.cc (calc_permutated_idx): New function. | |
4293 * Array-util.h: Provide decl. | |
4294 | |
4587 | 4295 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4296 | |
4592 | 4297 * Array.cc (Array<T>::index2): Return value has orientation of |
4298 indexed value if indexing a vector with a bool matrix. | |
4299 | |
4589 | 4300 * ArrayN.h (ArrayN<T>::get_size): Delete. |
4301 | |
4588 | 4302 * Array.cc, ArrayN.cc, dNDArray.cc, CNDArray.cc, boolNDArray.cc, |
4303 chNDArray.cc: Include Array-util.h instead of ArrayN-inline.h. | |
4304 | |
4305 * ArrayN-inline.h: Delete. | |
4306 * Array-util.h, Array-util.cc: New files, from ArrayN-inline.h. | |
4307 * Makefile.in: Fix the appropriate lists. | |
4308 | |
4587 | 4309 * Array.cc, Array.h, ArrayN.h, CMatrix.cc, CNDArray.h, |
4310 CRowVector.cc, CmplxQR.cc, CollocWt.h, DASPK.h, DASRT.h, DASSL.h, | |
4311 FEGrid.cc, LP.h, LSODE.h, MArrayN.h, ODE.h, ODES.h, ODESSA.cc, | |
4312 boolNDArray.h, chNDArray.h, dMatrix.cc, dNDArray.h, dRowVector.cc, | |
4313 dbleQR.cc, kpse.cc, oct-rl-hist.c, str-vec.cc, str-vec.h: | |
4314 Avoid -Wshadow warnings. | |
4315 | |
4316 2003-11-08 John Eaton <jwe@bevo.che.wisc.edu> | |
4585 | 4317 |
4318 * Array.h (Array<T>::nil_rep): Qualify return type with typename. | |
4319 | |
4320 * mk-ops.awk: Delete elements of bool_headers array individually. | |
4321 | |
4322 2003-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4323 | |
4324 * Array.cc (maybe_delete_elements): Rename arg idx to ra_idx. | |
4325 | |
4584 | 4326 2003-10-31 Petter Risholm <risholm@stud.ntnu.no> |
4327 | |
4328 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): New macro. | |
4329 | |
4330 * CNDArray.cc, CNDArray.h (ComplexNDArray::cumsum, | |
4331 ComplexNDArray::cumprod): Return ComplexNDArray. Handle N-d arrays. | |
4332 * dNDArray.cc, dNDArray.h (NDArray::cumsum, NDArray::cumprod): | |
4333 Return NDArray. Handle N-d arrays. | |
4334 | |
4575 | 4335 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
4336 | |
4583 | 4337 * LSODE.cc (LSODE::do_integrate): Avoid name conflict on systems |
4338 that upcase Fortran names by calling dlsode instead of lsode. | |
4339 | |
4340 * ODESSA.cc (ODESSA::do_integrate): Avoid name conflict on systems | |
4341 that upcase Fortran names by calling dodessa instead of odessa. | |
4342 | |
4577 | 4343 * file-ops.cc (file_ops::symlink): Cope with systems that expect |
4344 non-const args for symlink system call. | |
4345 (file_ops::readlink): Likewise, for readlink. | |
4346 | |
4575 | 4347 * DASRT.cc (DASRT::integrate): Fix typo in Fortran function name. |
4348 | |
4574 | 4349 2003-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4350 | |
4351 * mach-info.h (oct_mach_info): Prefix enum elements with flt_fmt_. | |
4352 Change all uses. | |
4353 | |
4569 | 4354 2003-10-29 Petter Risholm <risholm@stud.ntnu.no> |
4355 | |
4356 * dNDArray.cc (NDArray::cumprod, NDArray::cumsum, NDArray::prod, | |
4357 NDArray::sum, NDArray::sumsq, NDArray::abs): New functions. | |
4358 * dNDArray.h: Provide decls. | |
4359 * CNDArray.cc (ComplexNDArray::cumprod, ComplexNDArray::cumsum, | |
4360 ComplexNDArray::prod, ComplexNDArray::sum, ComplexNDArray::sumsq, | |
4361 ComplexNDArray::abs): New functions. | |
4362 * CNDArray.h: Provide decls. | |
4363 | |
4364 * mx-inlines.cc (MX_ND_REDUCTION): Rename from MX_ND_ANY_ALL. | |
4365 Generalize to handle other reduction operations. | |
4366 (MX_ND_REAL_OP_REDUCTION, MX_ND_COMPLEX_OP_REDUCTION, | |
4367 MX_ND_ALL_ANY_REDUCTION): New macros. | |
4368 | |
4565 | 4369 2003-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
4370 | |
4567 | 4371 * Array.cc (Array<T>::reshape): New function. |
4372 * Array.h: Provide decl. | |
4373 | |
4374 * dim-vector.h (dim_vector::numel): New function. | |
4375 | |
4565 | 4376 * dim-vector.h (dim_vector_rep::dim_vector_rep (int, const |
4377 dim_vector&)): Correctly handle case of n < dv->ndims. | |
4378 | |
4559 | 4379 2003-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
4380 | |
4381 * dim-vector.h (dim_vector::any_zero): New function. | |
4382 (dim_vector::str): New default arg, sep. | |
4383 | |
4384 * Array.h (Array<T>::numel): New function. | |
4385 | |
4556 | 4386 2003-10-27 Petter Risholm <risholm@stud.ntnu.no> |
4387 | |
4388 * mx-inlines.cc (MX_ND_ALL_EXPR, MX_ND_ANY_EXPR, | |
4389 MX_ND_ALL_EVAL, MX_ND_ANY_EVAL, MX_ND_ALL_ANY): New macros. | |
4390 * dNDArray.h (NDArray::all, NDArray::any): Return type now boolNDArray. | |
4391 * CNDArray.h (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
4392 * boolNDArray.h (boolNDArray::all, boolNDArray::any): Likewise. | |
4393 * chNDArray.h (charNDArray::all, charNDArray::any): Likewise. | |
4394 * dNDArray.cc (NDArray::all, NDArray::any): Make them work. | |
4395 * CNDArray.cc (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
4396 * boolNDArray.cc (boolNDArray::all, boolNDArray::any): Likewise. | |
4397 * chNDArray.cc (charNDArray::all, charNDArray::any): Likewise. | |
4398 | |
4552 | 4399 2003-10-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
4400 | |
4553 | 4401 * Array.cc (Array<T>::resize_and_fill): Allow number of dimensions |
4402 to change. From Petter Risholm <risholm@stud.ntnu.no>. | |
4403 | |
4552 | 4404 * oct-rand.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, |
4405 CmplxAEPBAL.cc CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
4406 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, | |
4407 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, ODESSA.cc, | |
4408 Quad.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
4409 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
4410 dbleSCHUR.cc, dbleSVD.cc, lo-specfun.cc: | |
4411 Use new F77 arg macros in declarations of external Fortran | |
4412 subroutines and for calling them. | |
4413 | |
4548 | 4414 2003-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
4415 | |
4416 * Array.cc (Array<T>::resize_no_fill (const dim_vector&)): | |
4417 Allow number of dimensions to change. | |
4418 (Array<T>::resize_no_fill (int, int)): Require ndims to be 0 or 2. | |
4419 (Array<T>::resize_and_fill (int, int, const T&)): Likewise. | |
4420 (Array<T>::resize_no_fill (int, int, int)): Require ndims to be 0 or 3. | |
4421 (Array<T>::resize_and_fill (int, int, int, const T&)): Likewise. | |
4422 (Array<T>::transpose): Require ndims to be 2. | |
4423 (Array<T>::index2): Likewise. | |
4424 (Array<T>::index (idx_vector&, idx_vector&, int, const T&)): Likewise. | |
4425 (Array<T>::maybe_delete_elements_2): Likewise. | |
4426 (Array<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Likewise. | |
4427 (Array<T>::index1): Use resize_and_fill. | |
4428 (MAYBE_RESIZE_ND_DIMS): Likewise. | |
4429 | |
4430 * ODESSA.cc (ODESSA::integrate): Use resize_and_fill for x_s_out. | |
4431 | |
4432 * MArray2.h (MArray2<T>::resize (int, int)): New function. | |
4433 (MArray2<T>::resize (int, int, const T&)): New function. | |
4434 | |
4435 * MArray.h (MArray<T>::resize (int)): New function. | |
4436 (MArray<T>::resize (int, const T&)): New function. | |
4437 | |
4438 * DASRT.cc (DASRT::integrate): Use resize_and_fill for jroot. | |
4439 | |
4440 * DASPK-opts.in: Use single-arg resize for initial condition | |
4441 heuristics. | |
4442 | |
4443 * dim-vector.h (class dim_vector): Now reference counted. | |
4444 (dim_vector_rep::elem): Use assert to check that index is in bounds. | |
4445 | |
4544 | 4446 2003-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4447 | |
4545 | 4448 * Array.cc (Array<T>::squeeze): Delete redundant retval decl. |
4449 | |
4544 | 4450 * mx-cdm-cm.cc, mx-cdm-cm.h, mx-cdm-cs.cc, mx-cdm-cs.h, |
4451 mx-cdm-dm.cc, mx-cdm-dm.h, mx-cdm-m.cc, mx-cdm-m.h, mx-cdm-s.cc, | |
4452 mx-cdm-s.h, mx-cm-cdm.cc, mx-cm-cdm.h, mx-cm-dm.cc, mx-cm-dm.h, | |
4453 mx-cm-m.cc, mx-cm-m.h, mx-cm-s.cc, mx-cm-s.h, mx-cs-cdm.cc, | |
4454 mx-cs-cdm.h, mx-cs-dm.cc, mx-cs-dm.h, mx-cs-m.cc, mx-cs-m.h, | |
4455 mx-dm-cdm.cc, mx-dm-cdm.h, mx-dm-cm.cc, mx-dm-cm.h, mx-dm-cs.cc, | |
4456 mx-dm-cs.h, mx-dm-m.cc, mx-dm-m.h, mx-dm-s.cc, mx-dm-s.h, | |
4457 mx-m-cdm.cc, mx-m-cdm.h, mx-m-cm.cc, mx-m-cm.h, mx-m-cs.cc, | |
4458 mx-m-cs.h, mx-m-dm.cc, mx-m-dm.h, mx-ops.h, mx-s-cdm.cc, | |
4459 mx-s-cdm.h, mx-s-cm.cc, mx-s-cm.h, mx-s-dm.cc, mx-s-dm.h, | |
4460 vx-ccv-cv.cc, vx-ccv-cv.h, vx-ccv-s.cc, vx-ccv-s.h, vx-crv-rv.cc, | |
4461 vx-crv-rv.h, vx-crv-s.cc, vx-crv-s.h, vx-cs-cv.cc, vx-cs-cv.h, | |
4462 vx-cs-rv.cc, vx-cs-rv.h, vx-cv-ccv.cc, vx-cv-ccv.h, vx-cv-cs.cc, | |
4463 vx-cv-cs.h, vx-rv-crv.cc, vx-rv-crv.h, vx-rv-cs.cc, vx-rv-cs.h, | |
4464 vx-s-ccv.cc, vx-s-ccv.h, vx-s-crv.cc, vx-s-crv.h: Delete. These | |
4465 files are now automatically generated. | |
4466 | |
4467 * Makefile.in ($(VX_OP_INC), $(VX_OP_SRC), $(MX_OP_INC), | |
4468 $(MX_OP_SRC)): Generate lists with new mk-ops.awk script. | |
4469 Add rules to generate these files and mx-ops.h. | |
4470 (stamp-prereq): Depend on these files. | |
4471 | |
4472 * mx-ops, vx-ops, mk-ops.awk: New files. | |
4473 * Makefile.in (DISTFILES): Add them to the list. | |
4474 | |
4543 | 4475 2003-10-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
4476 | |
4477 * NDArray.cc (NDArray::NDArray (const boolNDArray), | |
4478 NDArray::NDArray (const charNDArray)): New constructors. | |
4479 (NDArray::operator !): New function. | |
4480 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
4481 NDND_CMP_OPS, NDND_BOOL_OPS. | |
4482 | |
4483 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const NDArray&), | |
4484 ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
4485 ComplexNDArray::ComplexNDArray (const charNDArray&)): | |
4486 New constructors. | |
4487 (ComplexNDArray::operator !): New function. | |
4488 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
4489 NDND_CMP_OPS, NDND_BOOL_OPS. | |
4490 | |
4491 * ArrayN.h (resize (const dim_vector&)): Fix typo. | |
4492 | |
4493 * boolNDArray.cc (boolNDArray::operator !): New function. | |
4494 Provide NDND_CMP_OPS. | |
4495 | |
4496 * MArrayN.cc (operator +=, operator -=): New functions. | |
4497 Provide product and quotient functions. | |
4498 | |
4499 * MArray-misc.cc (gripe_nonconformant (const char *, dim_vector&, | |
4500 dim_vector&)): New function. | |
4501 | |
4502 * dim-vector.h (dim_vector::str, dim_vector::all_zero, | |
4503 operator ==, operator !=): New functions. | |
4504 * ArrayN.cc (operator <<): Use dim_vector::str here. | |
4505 | |
4506 * Array.cc (Array<T>::resize_no_fill, Array<T>::resize_and_fill): | |
4507 No need to save old dimensions. | |
4508 | |
4509 * oct-rand.cc (MAKE_RAND_ND_ARRAY): New macro. | |
4510 (octave_rand::nd_array): New function. | |
4511 * oct-rand.h (octave_rand::nd_array): Provide decl. | |
4512 | |
4513 * mx-op-defs.h (NDCMP_OP_DECL, NDBOOL_OP_DECL, NDS_BIN_OP_DECLS, | |
4514 NDS_BIN_OP, NDS_BIN_OPS, NDS_CMP_OP_DECLS, NDS_CMP_OP, | |
4515 NDS_CMP_OPS, NDS_BOOL_OP_DECLS, NDS_BOOL_OP, NDS_BOOL_OPS, | |
4516 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_BIN_OP, SND_BIN_OPS, | |
4517 SND_CMP_OP_DECLS, SND_CMP_OP, SND_CMP_OPS, SND_BOOL_OP_DECLS, | |
4518 SND_BOOL_OP, SND_BOOL_OPS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
4519 NDND_BIN_OP, NDND_BIN_OPS, NDND_CMP_OP_DECLS, NDND_CMP_OP, | |
4520 NDND_CMP_OPS, NDND_BOOL_OP_DECLS, NDND_BOOL_OP, NDND_BOOL_OPS, | |
4521 NDND_OP_DECLS): New macros. | |
4522 * mx-cm-m.h, mx-cm-s.h, mx-cs-m.h, mx-m-cm.h, mx-m-cs.h, | |
4523 mx-s-cm.h, mx-cm-m.cc, mx-cm-s.cc, mx-cs-m.cc, mx-m-cm.cc, | |
4524 mx-m-cs.cc, mx-s-cm.cc: Use them. | |
4525 | |
4526 * mx-defs.h (class NDArray, class ComplexNDArray, class | |
4527 boolNDArray, class charNDArray): New forward decls. | |
4528 | |
4534 | 4529 2003-10-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
4530 | |
4531 * Array.cc (assign2): No error (but don't do anything either) for | |
4532 expressions like x([],j) = scalar. | |
4533 | |
4532 | 4534 2003-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
4535 | |
4533 | 4536 * Array.cc (assignN): Allow lhs(:) = scalar. |
4537 | |
4532 | 4538 * CNDArray.cc (ComplexNDArray::increment_index): New function. |
4539 * dNDArray.cc (NDArray::increment_index): Likewise. | |
4540 * boolNDArray.cc (boolNDArray::increment_index): Likewise. | |
4541 * chNDArray.cc (charNDArray::increment_index): Likewise. | |
4542 | |
4543 * dim-vector.h (rows, cols): Delete unused data members. | |
4544 | |
4545 * Array.cc (Array<T>::get_size): Fix thinko. | |
4546 | |
4547 2003-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4548 | |
4549 * Array.cc (Array<T>::squeeze): New function. | |
4550 * CNDArray.h (ComplexNDArray::squeeze): Likewise. | |
4551 * dNDArray.h (NDArray::squeeze): Likewise. | |
4552 * boolNDArray.h (boolNDArray::squeeze): Likewise. | |
4553 * chNDArray.h (charNDArray::squeeze): Likewise. | |
4554 | |
4530 | 4555 2003-10-06 Petter Risholm <risholm@stud.ntnu.no> |
4556 | |
4557 * Array.cc (ArrayN<T>::indexN): New definition. | |
4558 * Array.h (Array<T>::indexN): Provide decl. | |
4559 * Array.cc (ArrayN<T>::index (idx_vector&, int, const T&): | |
4560 Call indexN if more than 2 indices. | |
4561 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): | |
4562 Make it (mostly) work. | |
4563 * ArrayN-inline.h (number_of_elements, get_ra_idx, short_freeze): | |
4564 New functions. | |
4565 | |
4527 | 4566 2003-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
4567 | |
4568 * cmd-edit.cc (do_readline): Pass eof to octave_fgetl. | |
4569 * lo-utils.cc (octave_fgets, octave_fgetl): New overloaded | |
4570 versions with eof arg. | |
4571 | |
4518 | 4572 2003-09-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
4573 | |
4574 * Array.h (dimensions): Now public. | |
4575 template <class LT, class RT> | |
4576 (assign (Array<LT>&, const Array<RT>&, const LT&), | |
4577 assign1 (Array<LT>&, const Array<RT>&, const LT&), | |
4578 assign2 (Array<LT>&, const Array<RT>&, const LT&), | |
4579 assignN (Array<LT>&, const Array<RT>&, const LT&), | |
4580 resize_no_fill (int), | |
4581 resize_no_fill (int, int), | |
4582 resize_no_fill (int, int, int), | |
4583 resize_no_fill (const dim_vector&), | |
4584 resize_and_fill (int, const T&), | |
4585 resize_and_fill (int, int, const T&), | |
4586 resize_and_fill (int, int, int, const T&), | |
4587 resize_and_fill (const dim_vector&, const T&)): Now public. | |
4588 | |
4589 * Array.cc: Include <climits>. | |
4590 | |
4513 | 4591 2003-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
4592 | |
4517 | 4593 * Array.cc: Merge Array-idx.h. |
4594 * Array-idx.h: Delete. | |
4595 | |
4514 | 4596 * chNDArray.h, chNDArray.cc, boolNDArray.h, boolNDArray.cc: New files. |
4597 | |
4513 | 4598 * Array.h, Array-idx.h, Array.cc: Fold all N-d functionality here. |
4599 Turn inheritance hierarchy upside down (2-d and 3-d arrays are now | |
4600 just special cases of the general purpose N-d Array object). | |
4601 | |
4602 * dim-vector.h: New file. Use dim_vector objects instead of | |
4603 ints or Array<int> objects to represent the size of Array | |
4604 objects. | |
4605 | |
4606 * MArray-defs.h (INSTANTIATE_MARRAYN_FRIENDS): New macro. | |
4607 | |
4608 * Array2-idx.h, Array3-idx.h, Array2.cc, Array3.cc: Delete. | |
4609 | |
4610 * mx-base.h: Include NDArray header files. | |
4611 | |
4612 * MArray-C.cc, MArray-d.cc: Also instantiate ArrayN objects. | |
4613 | |
4614 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
4615 Array-s.cc: Also instantiate ArrayN objects. | |
4616 Don't instantiate assign funcitons for Array2 objects. | |
4617 | |
4618 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Signal error with | |
4619 liboctave_error_handler, not cerr. | |
4620 * CMatrix.cc (ComplexMatrix::diag): Likewise. | |
4621 * dDiagMatrix.cc (DiagMatrix::diag): Likewise. | |
4622 * dMatrix.cc (Matrix::diag): Likewise. | |
4623 | |
4624 * Array-flags.cc, Array.cc, Array.h, Array2.h, Array3.h, ArrayN.h: | |
4625 Omit checks for HEAVYWEIGHT_INDEXING. | |
4626 | |
4627 2003-09-12 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4628 | |
4629 * mx-base.h: Include CNDarray.h. Include dNDArray.h, not NDArray.h. | |
4630 | |
4631 * CNDARray.h, CNDArray.cc: New files. | |
4632 * Makefile.in: Add them to the appropriate lists. | |
4633 | |
4634 * dNDArray.h: Rename from NDArray.h. | |
4635 * dNDArray.cc: Rename from NDArray.cc. | |
4636 * Makefile.in: Rename them here too. | |
4637 | |
4507 | 4638 2003-09-10 Petter Risholm <risholm@stud.ntnu.no> |
4639 | |
4640 * mx-base.h: Include NDArray.h, not ArrayN.h. | |
4641 | |
4642 * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. | |
4643 * Makefile.in: Add them to the appropriate lists. | |
4644 | |
5095 | 4645 2003-09-09 David Bateman <dbateman@free.fr> |
4506 | 4646 |
4647 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, | |
4648 biry): Always request scaled results from AMOS functions and | |
4649 perform reverse scaling on results if scaled result not requested | |
4650 by user. | |
4651 | |
4652 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4653 | |
4654 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
4655 | |
4505 | 4656 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
4657 | |
4658 * Array-d.cc: Instantiate assign functions. | |
4659 | |
4504 | 4660 2003-09-09 Petter Risholm <risholm@stud.ntnu.no> |
4661 | |
4662 * ArrayN-idx.h (vector_equivalent, equal_arrays): New functions. | |
4663 (get_elt_idx): Index ra_idx correctly. | |
4664 | |
4665 * ArrayN-inline.h (index_in_bounds): Index is also condidered in | |
4666 bounds if it is exactly on the bound. | |
4667 | |
4668 * ArrayN.cc (ArrayN<T>::maybe_delete_dims): New function. | |
4669 * ArrayN.h: Provide decl. | |
4670 | |
4671 * ArrayN.h (ArrayN<T>::ArrayN<T> (const Matrix&)): New constructor. | |
4672 | |
4673 * idx-vector.h (idx_vector::orig_dims): New member variable. | |
4674 (idx_vector::idx_vector_rep::orig_dimensions): New function. | |
4675 (idx_vector::orig_dimensions): New function. | |
4676 | |
4497 | 4677 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
4678 | |
4679 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
4680 | |
4496 | 4681 2003-09-04 Petter Risholm <risholm@stud.ntnu.no> |
4682 | |
4683 * ArrayN-idx.h (maybe_delete_elements): Implement function. | |
4684 (is_in, how_many_lgt, all_ones): New functions. | |
4685 | |
4493 | 4686 2003-09-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
4687 | |
4688 * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. | |
4689 | |
4690 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> | |
4691 | |
4692 * ArrayN-inline.h: New file. | |
4693 (index_in_bounds, increment_index): Move here. | |
4694 * ArrayN.cc: From here. | |
4695 | |
4696 * ArrayN.h (maybe_delete_elements): New arg, resize_fill_value. | |
4697 * ArrayN-idx.h (assign): New function. | |
4698 | |
4490 | 4699 2003-08-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
4700 | |
4701 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, airy, biry): | |
4702 Also zero imaginary part of result if real part of input value is | |
4703 zero. | |
4704 | |
4478 | 4705 2003-07-30 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4706 | |
4707 * mx-base.h: Include ArrayN.h. | |
4708 | |
4476 | 4709 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4710 | |
4711 * ArrayN.cc (operator <<): Corrected output. | |
4712 | |
4474 | 4713 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4714 | |
4715 * ArrayN.cc (increment_index): New arg, start_dimension. | |
4716 | |
5095 | 4717 2003-07-29 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4473 | 4718 |
4719 * ArrayN.cc (operator <<): Improve output readability. | |
4720 | |
4493 | 4721 2003-07-29 Petter Risholm <risholm@stud.ntnu.no> |
4473 | 4722 |
4723 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&, const T&)): | |
4724 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&)): | |
4725 Initialize old_len before changing size. | |
4726 | |
4472 | 4727 2003-07-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
4728 | |
4729 * Makefile.in (install-lib): Use $(INSTALL), not | |
4473 | 4730 $(INSTALL_PROGRAM) for $(SHLLIB) files. |
4472 | 4731 |
4469 | 4732 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
4733 | |
4734 * lo-mappers.cc (xmin, xmax): Handle NaN in a Matlab-compatible | |
4735 way. Handle NA in an R-compatible way. | |
4736 | |
4737 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Also check for lo_ieee_is_NA. | |
4738 (lo_ieee_is_NA): Don't call isnan unless HAVE_ISNAN is defined. | |
4739 | |
4740 * lo-mappers.h (octave_is_NA (const Complex&)): Provide decl. | |
4741 (octave_is_NaN_or_NA (const Complex&)): Likewise. | |
4742 | |
4743 * dMatrix.cc (Matrix::row_min, Matrix::row_max, | |
4744 Matrix::column_min, Matrix::column_max): Ignore NaNs. | |
4745 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_max, | |
4746 ComplexMatrix::column_min, ComplexMatrix::column_max): Likewise. | |
4747 | |
4461 | 4748 2003-07-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4749 | |
4750 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
4751 Pass true for resize_ok arg to freeze. | |
4752 * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
4753 Likewise. | |
4754 | |
4755 * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; | |
4756 resize_ok arg is now bool. | |
4757 * idx-vector.h (idx_vector::freeze): Likewise. | |
4758 | |
4759 * Array-flags.cc, Array-flags.h (liboctave_wrore_flag): | |
4760 Rename from liboctave_rre_flag. Now bool. | |
4761 (liboctave_wfi_flag): Now bool. | |
4762 | |
4763 * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. | |
4764 | |
5095 | 4765 2003-07-11 Russell Standish <R.Standish@unsw.edu.au> |
4459 | 4766 |
4767 * Array.h (resize_fill_value): Now a top-level template function. | |
4768 Accept object as argument. Change all uses. | |
4769 | |
4455 | 4770 2003-07-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
4771 | |
4772 * Array-flags.cc, Array-flags.h (liboctave_pcv_flag): Delete. | |
4773 | |
4774 * Array2-idx.h (Array2<T>::index): Use liboctave_wfi_flag, not | |
4775 liboctave_dfi_flag. | |
4776 (assign): Likewise. For indexed assignments like X(I) = RHS with | |
4777 X undefined or empty, always create a row vector. | |
4778 | |
4779 * Array-flags.cc (liboctave_wfi_flag): Rename from liboctave_dfi_flag. | |
4780 * Array-flags.h (liboctave_wfi_flag): Ditto. | |
4781 | |
4437 | 4782 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4783 | |
4784 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
4785 Magic colon indexing always produces an object with one column. | |
4786 | |
5095 | 4787 2003-06-21 Paul Kienzle <pkienzle@users.sf.net> |
4433 | 4788 |
4789 * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. | |
4790 | |
4791 * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. | |
4792 | |
4431 | 4793 2003-06-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4794 | |
4795 * dMatrix.cc (any_element_is_negative): If new optional arg | |
4796 neg_zero is true, also return true for negative zero. | |
4797 | |
4429 | 4798 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
4799 | |
4800 * DASSL.cc (DASSL::do_integrate): Set liw to 21 + n, not 20 + n. | |
4801 Handle step limit. | |
4802 * DASSL-opts.in: New option for step limit. | |
4803 | |
5095 | 4804 2003-06-16 Per Persson <persquare@mac.com> |
4429 | 4805 |
4806 * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. | |
4807 | |
4428 | 4808 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
4809 | |
4810 * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. | |
4811 Store step limit in iwork(20), not iwork(18). | |
4812 | |
5095 | 4813 2003-05-16 Paul Kienzle <pkienzle@users.sf.net> |
4415 | 4814 |
4815 * oct-rand.cc: Use liboctave's clock layer instead of the system clock. | |
4816 | |
4412 | 4817 2003-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4818 | |
4413 | 4819 * Makefile.in: Handle DESTDIR. |
4820 | |
4412 | 4821 * kpse.cc (kpse_path_iterator::next): Skip consecutive colons here. |
4822 (kpse_path_iterator::set_end): Don't miss last element when not | |
4823 followed by a colon. | |
4824 | |
4409 | 4825 2003-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4826 | |
4827 * Array-idx.h (Array<T>::index): Fix off-by-one error. | |
4828 | |
4829 2003-05-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4830 | |
4831 * kpse.cc (kpse_absolute_p): Fix typo in translation. | |
4832 (find_first_of): Also do an absolute search on each | |
4833 name before looking in the path. | |
4834 | |
4407 | 4835 2003-05-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
4836 | |
4837 * kpse.cc (dir_list_add): Ensure that directory ends with a | |
4838 directory separator. | |
4839 | |
4399 | 4840 2003-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4841 | |
4842 * pathsearch.cc: Include kpse.cc here. | |
4843 | |
4844 * kpse.cc: All functions are now static. Massive surgery to | |
4845 condense kpathsearch library to a single file of just the | |
4846 essentials for Octave and convert to using C++ strings (no more | |
4847 calls to malloc, very few calls to new, so there should be much | |
4848 less potential for introducing memory leaks now). | |
4849 | |
4850 * Makefile.in (EXTRAS): Move kpse.cc here from | |
4851 LIBOCT_PATHSEARCH_CXX_SOURCES. | |
4852 | |
4853 * kpse.h, kpse-config.h: Delete. | |
4854 * Makefile.in (INCLUDES): Delete them from the list. | |
4855 | |
4392 | 4856 2003-04-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
4857 | |
4858 * str-vec.cc (string_vector::append (const std::string&), | |
4859 string_vector::append (const string_vector&)): New methods. | |
4860 | |
4386 | 4861 2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4862 | |
4389 | 4863 * kpse.cc, kpse.h: Replace fn_type with std::string. |
4864 | |
4387 | 4865 * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. |
4866 | |
4386 | 4867 * kpse.cc (xclosedir): Don't define or declare for Windows. |
4868 (READABLE): Now a static function to avoid warnings from MinGW | |
4869 compiler. | |
4870 | |
4384 | 4871 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4872 | |
4385 | 4873 * kpse.cc: Move most functions from kpse-xfns.c here and make |
4874 static. Include most of kpse-xfns.h directly, removing | |
4875 unnecessary bits. | |
4876 | |
4384 | 4877 * dMatrix.cc (Matrix::pseudo_inverse): Now const. |
4878 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
4879 | |
4378 | 4880 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4881 | |
4882 * getopt.c, getopt1.c, getopt.h: Move here from kpathsea. | |
4883 * Makefile.in: Add them to the appropriates lists. | |
4884 | |
4885 * oct-getopt.c: Include "getopt.h", not <kpathsea/getopt.h>. | |
4886 | |
4887 * Makefile.in (liboctave.$(LIBEXT), liboctave.$(SHLEXT)): Adjust | |
4888 for new locations of kpathsea objects. | |
4889 Delete kpathsea targets. | |
4890 | |
4891 * pathsearch.cc (dir_path::set_program_name): Delete. | |
4892 | |
4893 * kpse.cc: New file. | |
4894 * Makefile.in (LIBOCT_PATHSEARCH_CXX_SOURCES): Add it to the list. | |
4895 | |
4896 * kpse.c: New file. | |
4897 * Makefile.in (LIBOCT_PATHSEARCH_C_SOURCES): Add it to the list. | |
4898 | |
4899 * kpse.h, kpse-config.h, kpse-xfns.h: New files. | |
4900 * Makefile.in (INCLUDES): Add them to the list. | |
4901 | |
4902 * oct-kpse.h: Delete. | |
4903 * Makefile.in (INCLUDES): Delete it from the list. | |
4904 | |
4374 | 4905 2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
4906 | |
4907 * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. | |
4908 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): | |
4909 Likewise. | |
4910 From Quentin H. Spencer <qspencer@ieee.org>. | |
4911 | |
4365 | 4912 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
4913 | |
4914 * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h". | |
4915 | |
4349 | 4916 2003-02-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
4917 | |
4352 | 4918 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Handle systems with or |
4919 without placement delete. | |
4920 | |
4349 | 4921 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Don't lose -0 |
4922 imaginary parts. | |
4923 | |
4924 * lo-ieee.h (lo_ieee_signbit): New macro. | |
4925 | |
5095 | 4926 2003-02-18 David Bateman <dbateman@free.fr> |
4329 | 4927 |
4928 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
4929 Use Lapack instead of Linpack. | |
5315 | 4930 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
4329 | 4931 ComplexMatrix::solve): Likewise. |
4932 | |
4933 * dMatrix.cc (Matrix::determinant, Matrix::inverse): New arg, | |
4934 calc_cond. If 0, skip condition number calculation. | |
4935 * CMatrix.cc (ComplexMatrix::determinant, ComplexMatrix::inverse): | |
4936 Likewise. | |
4937 | |
4938 * CmplxLU.cc (ComplexLU::ComplexLU): Allow non-square matrices. | |
4939 * dbleLU.cc (LU::LU): Likewise. | |
4940 * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. | |
4941 | |
4942 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4943 | |
4944 * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: | |
4945 | |
4323 | 4946 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4947 | |
4948 * Array2-idx.h (Array2<T>::index): Fix thinko. | |
4949 Additional compatibility fix. | |
4950 | |
4951 2003-02-13 Arno Klaassen <arno@scito.com> | |
4952 | |
4953 * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
4954 ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: | |
4955 Sprinkle with Array<T>:: as necessary for gcc 3.4. | |
4956 | |
4322 | 4957 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
4958 | |
4959 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
4960 Compatibility fix. | |
4961 | |
4316 | 4962 2003-02-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4963 | |
4964 * CColVector.cc (ComplexColumnVector::extract_n): New function. | |
4965 * CRowVector.cc (ComplexRowVector::extract_n): Likewise. | |
4966 * CMatrix.cc (ComplexMatrix::extract_n): Likewise. | |
4967 * dColVector.cc (ColumnVector::extract_n): Likewise. | |
4968 * dRowVector.cc (RowVector::extract_n): Likewise. | |
4969 * dMatrix.cc (Matrix::extract_n): Likewise. | |
4970 | |
4971 * CColVector.cc (ComplexColumnVector::insert): Improve efficiency | |
4972 with make_unique and xelem. | |
4973 * CRowVector.cc (ComplexRowVector::insert): Likewise. | |
4974 * CMatrix.cc (ComplexMatrix::insert, ComplexMatrix::fill, | |
4975 ComplexMatrix::extract, ComplexMatrix::row, | |
4976 ComplexMatrix::column): Likewise. | |
4977 * dColVector.cc (ColumnVector::insert): Likewise. | |
4978 * dRowVector.cc (RowVector::insert): Likewise. | |
4979 * dMatrix.cc (Matrix::insert, Matrix::fill, Matrix::extract, | |
4980 Matrix::row, Matrix::column): Likewise. | |
4981 | |
4313 | 4982 2003-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4983 | |
4984 * lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN. | |
4985 | |
4309 | 4986 2003-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
4987 | |
4988 * CMatrix.cc, dMatrix.cc: Move min and max functions here, from | |
4989 src/DLD-FUNCTIONS/minmax.cc, and make them extern. | |
4990 * CMatrix.h, dMatrix.h: Provide decls. | |
4991 | |
4307 | 4992 2003-01-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4993 | |
4994 * oct-rand.h, oct-rand.cc: New files. | |
4995 * Makefile.in: Add them to the appropriate lists. | |
4996 | |
4306 | 4997 2003-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4998 | |
4999 * Array2-idx.h (Array2<T>::index): Fix off-by-one error. | |
5000 | |
4299 | 5001 2003-01-16 Mumit Khan <khan@nanotech.wisc.edu> |
5002 | |
5003 * oct-syscalls.cc: Include signal.h. | |
5004 | |
4294 | 5005 2003-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5006 | |
5007 * oct-syscalls.cc (octave_syscalls::kill): New function. | |
5008 * oct-syscalls.h: Provide decl. | |
5009 | |
5010 | |
4293 | 5011 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5012 | |
5013 * dMatrix.cc (Matrix::read): Set size and return immediately if | |
5014 there is nothing to read. | |
5015 | |
4290 | 5016 2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
5017 | |
5018 * lo-cutils.c: Define _XOPEN_SOURCE. | |
5019 | |
4286 | 5020 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5021 | |
4288 | 5022 * getopt.h: Update to version from kpathsearch, so we will install |
5023 the version that we are using. | |
5024 | |
5025 * getopt.c, getopt1.c: Delete. | |
5026 (INCLUDES): Delete them from the list. We'll get these files from | |
5027 kpathsearch. | |
5028 | |
4286 | 5029 * Makefile.in (liboctave.$(LIBEXT)): Link directly to |
5030 ../kpathsea/STATIC/*.o. | |
5031 (liboctave.$(SHLEXT)): Link directly to ../kpathsea/SHARED/*.o. | |
5032 | |
4270 | 5033 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5034 | |
4282 | 5035 * dMatrix.cc (read_int, write_int): Avoid warnings about |
5036 unreachable code. | |
5037 | |
4279 | 5038 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete |
5039 to correspond to placement new operator. | |
5040 | |
4278 | 5041 * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. |
5042 (DET::value_will_underflow): Likewise. | |
5043 * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. | |
5044 (ComplexDET::value_will_underflow): Likewise. | |
5045 | |
4276 | 5046 * Makefile.in (distclean): Also remove stamp-prereq. |
5047 | |
4306 | 5048 * Array2-idx.h (Array2<T>::assign): If assignment conforms but the |
5049 RHS and index are empty matrices, don't do anything. | |
4270 | 5050 |
4242 | 5051 2002-12-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
5052 | |
5053 * pathsearch.cc (make_retval, free_c_array, make_c_names, | |
5054 delete_c_names): New helper functions. | |
5055 (dir_path::find_first_of): New function. | |
5056 (dir_path::find_all_first_of): Likewise. | |
5057 * pathsearch.h: Provide decls. | |
5058 | |
5059 * oct-kpse.c (octave_kpse_path_find_first_of): New function. | |
5060 (octave_kpse_all_path_find_first_of): Likewise. | |
5061 * oct-kpse.h: Provide decls. | |
5062 | |
4231 | 5063 2002-12-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5064 | |
5065 * ODESSA.cc (ODESSA::integrate): Handle maxord. | |
5066 * ODESSA-opts.in: Likewise. | |
5067 | |
5068 * LSODE.cc (ODESSA::integrate): Handle maxord. | |
5069 * LSODE-opts.in: Likewise. | |
5070 | |
4229 | 5071 2002-12-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5072 | |
4230 | 5073 * ODESSA.cc (ODESSA::ODESSA): Initialize "initialized" data member |
5074 in all constructors. | |
5075 | |
4229 | 5076 * Makefile.in (liboctave.$(SHLEXT)): Include $(LIBKPATHSEA) here. |
5077 (LINK_DEPS): Not here. | |
5078 | |
4219 | 5079 2002-12-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5080 | |
4220 | 5081 * str-vec.cc (string_vector::compare): New static member function. |
5082 * str-vec.h: Provide decl. | |
5083 (string_vector::sort): Use it. | |
5084 (str_vec_compare): Delete static function. | |
5085 | |
4219 | 5086 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Also declare and define |
5087 a placement operator new. | |
5088 | |
4209 | 5089 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5090 | |
4210 | 5091 * Matrix.h: Include mx-ops.h too. |
4209 | 5092 * mx-ops.h: New file. |
5093 | |
4192 | 5094 2002-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5095 | |
5096 * DASRT.cc, DASRT.h, Array.cc, ArrayN.h, Array.h, Array2.cc, | |
5097 Array2.h, Array3.cc, Array3.h, Bounds.cc, Bounds.h, CRowVector.h, | |
5098 CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, CMatrix.h, | |
5099 CRowVector.cc, CColVector.h, ChangeLog, CmplxAEPBAL.cc, | |
5100 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
5101 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
5102 CmplxQR.h, CmplxQRP.cc, ArrayN.cc, CmplxQRP.h, CmplxSCHUR.cc, | |
5103 CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, dMatrix.cc, | |
5104 CollocWt.h, EIG.h, DASSL.cc, FEGrid.h, DASSL.h, DiagArray2.cc, | |
5105 DiagArray2.h, EIG.cc, FEGrid.cc, LSODE.cc, LPsolve.cc, LPsolve.h, | |
5106 LSODE.h, LinConst.cc, LinConst.h, MArray.h, MArray.cc, MArray2.cc, | |
5107 MArray2.h, MDiagArray2.cc, MDiagArray2.h, Range.cc, NLConst.h, | |
5108 NLEqn.cc, Range.h, NLEqn.h, Quad.cc, dbleQR.h, Quad.h, base-lu.cc, | |
5109 base-lu.h, boolMatrix.cc, boolMatrix.h, dColVector.cc, | |
5110 dColVector.h, dDiagMatrix.cc, dDiagMatrix.h, dMatrix.h, | |
5111 dRowVector.cc, dRowVector.h, dbleAEPBAL.cc, dbleAEPBAL.h, | |
5112 dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, dbleDET.h, dbleHESS.cc, | |
5113 dbleHESS.h, dbleLU.cc, dbleLU.h, dbleQR.cc, dbleQRP.cc, dbleQRP.h, | |
5114 dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, | |
5115 idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, | |
5116 ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: | |
5117 Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of | |
5118 "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". | |
5119 | |
4184 | 5120 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5121 | |
5122 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_GLOBAL too. | |
5123 From Remy Bruno <remy.bruno@libertysurf.fr> | |
5124 | |
4180 | 5125 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5126 | |
5127 * lo-specfun.cc: Use F77_FUNC instead of F77_XFCN for calls to | |
5128 fortran code that should run fast enough that it is not worth all | |
5129 the setup costs of F77_XFCN. | |
5130 | |
5131 * Quad.cc (user_function): Surround body of function with | |
5132 BEGIN_INTERRUPT_WITH_EXCEPTIONS, END_INTERRUPT_WITH_EXCEPTIONS. | |
5133 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Likewise. | |
5134 * NLEqn.cc (hybrd1_fcn, hybrj1_fcn): Likewise. | |
5135 * LSODE.cc (lsode_f, lsode_j): Likewise. | |
5136 * DASSL.cc (ddassl_f, ddassl_j): Likewise. | |
5137 * DASRT.cc (ddasrt_f, ddasrt_j, ddasrt_g): Likewise. | |
5138 * DASPK.cc (ddaspk_f, ddaspk_psol, ddaspk_j): Likewise. | |
5139 | |
4164 | 5140 2002-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5141 | |
5142 * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead | |
5143 of ! defined (linux). | |
5144 | |
5095 | 5145 2002-11-09 Per Persson <persquare@mac.com> |
4162 | 5146 |
5147 * oct-shlib.cc (octave_dyld_shlib): New class. | |
5148 (make_shlib): Instantiate octave_dyld_shlib. | |
5149 | |
4152 | 5150 2002-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5151 | |
4153 | 5152 * CMatrix.cc, dMatrix.cc: Sprinkle with OCTAVE_QUIT. |
5153 | |
4152 | 5154 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Abort on error. |
5155 | |
5156 * Array.h: Include <cstddef> here. | |
5157 | |
4142 | 5158 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
5159 | |
4144 | 5160 * DASPK.cc (DASPK::do_integrate): Resize rwork and iwork before |
5161 using them. Accept inequality contraint option of 0. Assign | |
5162 pabs_tol and prel_tol before calling DASPK. Don't redeclare | |
5163 abs_tol and rel_tol. | |
5164 | |
4143 | 5165 * cmd-edit.h (command_editor::filename_completion_desired): New |
5166 static function. | |
5167 (command_editor::do_filename_completion_desired): New virtual function. | |
5168 * oct-rl-edit.c (octave_rl_filename_completion_desired): New function. | |
5169 * oct-rl-edit.h: Provide decl. | |
5170 | |
4142 | 5171 * Array2.cc (Array2<T>::get_size): #define MALLOC_OVERHEAD to |
5172 avoid OS X linker bug. | |
5173 * ArrayN.cc (ArrayN<T>::get_size): Likewise. | |
5174 | |
4139 | 5175 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
5176 | |
4141 | 5177 * ODESFunc.h (ODESFunc::ODES_fsub, ODESFunc::ODES_bsub, |
5178 ODESFunc::ODES_jsub): Reorder args for consistency with other | |
5179 solvers. | |
5180 * ODESSA.cc: Fix all callers. | |
5181 | |
4139 | 5182 * mx-inlines.cc (MX_BASE_REDUCTION_OP): Also return scalar |
5183 MT_RESULT if nr == 1 && nc == 0 && dim == -1 (i.e., | |
5184 sum(zeros(1,0)) returns 0, not [](1x0)). | |
5185 | |
4136 | 5186 2002-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5187 | |
5188 * Makefile.in (LINK_DEPS): Include $(FLIBS) here too. | |
5189 | |
4132 | 5190 2002-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5191 | |
4133 | 5192 * DASRT.cc (DASRT::integrate): Fix computation of lrw |
5193 (ddasrt_f): Combine loops. | |
5194 | |
4132 | 5195 * NLEqn.cc (NLEqn::solve): Return current estimate of solution |
5196 instead of empty vector if user termninates iteration. | |
5197 | |
4130 | 5198 2002-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5199 | |
5200 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
5201 octave_read_complex, octave_write_double, octave_write_complex): | |
5202 New functions. | |
5203 * CMatrix.cc (operator << (std::ostream&, const ComplexMatrix&)): | |
5204 Use octave_write_complex. | |
5205 (operator >> (std::istream&, const ComplexMatrix&)): | |
5206 Use octave_read_complex. | |
5207 * dMatrix.cc (operator << (std::ostream&, double)): | |
5208 Use octave_write_double. | |
5209 (operator >> (std::istream&, double)): Use octave_read_double. | |
5210 | |
4126 | 5211 2002-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5212 | |
5213 * oct-kpse.c (octave_kpse_clear_dir_cache): Delete. | |
5214 * oct-kpse.h: Delete decl. | |
5215 * pathsearch.cc (dir_path::init): Delete unnecessary call to | |
5216 ::octave_kpse_clear_dir_cache. | |
5217 | |
4123 | 5218 2002-10-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5219 | |
4124 | 5220 * lo-sstream.h: Undef HAVE_SSTREAM if using a version of g++ |
5221 earlier than 3.0. | |
5222 | |
4123 | 5223 * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. |
5224 (liboctave.$(SHLEXT)): Not here. | |
5225 | |
5095 | 5226 2002-10-17 Paul Kienzle <pkienzle@users.sf.net> |
4110 | 5227 |
5228 * oct-shlib.cc (octave_w32_shlib): New class to support Windows. | |
5229 | |
4108 | 5230 2002-10-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5231 | |
5232 * Makefile.in (install-lib): Don't bother with versions for | |
5233 $(SHLBIN) files. | |
5234 | |
5095 | 5235 2002-10-16 Paul Kienzle <pkienzle@users.sf.net> |
4105 | 5236 |
5237 * Makefile.in (LIB_DEPS): Include $(LIBS). | |
5238 | |
4102 | 5239 2002-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5240 | |
5241 * lo-cieee.c: Move everything but lo_ieee_init here. | |
5242 (lo_ieee_Inf_value, lo_ieee_NA_value, lo_ieee_NaN_value): | |
5243 New functions. | |
5244 | |
5245 * Makefile.in (install): No need to use cd to create links. | |
5246 (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. | |
5247 | |
5095 | 5248 2002-10-14 Paul Kienzle <pkienzle@users.sf.net> |
4102 | 5249 |
5250 * Makefile.in: Merge liboctave with liboct-readline and | |
5251 liboct-pathsearch. | |
5252 Use link dependencies for shared libs if INCLUDE_LINK_DEPS. | |
5253 (libraries): Depend on versioned library. | |
5254 (liboctave.$(SHLEXT), liboctave.$(SHLEXT_VER)): Reverse actions -- | |
5255 build unversioned library, symbolic link adds version info. | |
5256 (install, uninstall): Handle link and load forms of the library | |
5257 separately. | |
5258 | |
4101 | 5259 2002-10-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5260 | |
5261 * oct-time.cc: Use OCTAVE_USE_WINDOWS_API instead of __WIN32__ and | |
5262 __CYGWIN__. | |
5263 | |
5264 * file-ops.cc (file_ops::dir_sep_char, file_ops::dir_sep_str, | |
5265 file_ops::dir_sep_chars): New static functions to replace | |
5266 OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS. | |
5267 | |
5268 * oct-env.cc (octave_env::do_set_program_name): | |
5269 Use file_ops::dir_sep_chars instead of OCTAVE_DIR_SEP_CHARS. | |
5270 (octave_env::do_base_pathname): Likewise. | |
5271 (octave_env::do_make_absolute): Likewise. | |
5272 | |
5273 * oct-env.cc (octave_env::do_make_absolute): | |
5274 Use file_ops::dir_sep_str instead of OCTAVE_DIR_SEP_STR. | |
5275 (octave_env::do_get_home_directory): Likewise. | |
5276 | |
5277 * file-ops.cc (is_dir_sep): Use dir_sep_chars instead of embedding | |
5278 that information here too. | |
5279 (tilde_find_suffix, isolate_tilde_prefix, tilde_expand_word): | |
5280 Use file_ops::dir_sep_char instead of OCTAVE_DIR_SEP_CHAR. | |
5281 | |
5282 * file-ops.h: Use OCTAVE_HAVE_WINDOWS_FILESYSTEM and | |
5283 OCTAVE_HAVE_POSIX_FILESYSTEM instead of __WIN32__ and __CYGWIN__. | |
5284 | |
4097 | 5285 2002-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5286 | |
5287 * oct-env.h (octave_env::current_directory): Now mutable. | |
5288 (octave_env:do_getcwd): Now const. | |
5289 | |
5290 * file-ops.h, file-ops.cc (file_ops::is_dir_sep): New function. | |
5291 (OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS, | |
5292 OCTAVE_CURRENT_DIR_STR): New macros. | |
5293 * oct-env.cc (is_dir_sep): Delete. | |
5294 (octave_env::do_base_pathname): Look for OCTAVE_DIR_SEP_CHARS, not '/'. | |
5295 (octave_env::do_set_program_name): Likewise. | |
5296 (octave_env::do_polite_directory_format): Use file_ops::is_dir_sep | |
5297 instead of checking for '/'. | |
5298 (octave_env::pathname_backup): Likewise. | |
5299 (octave_env::do_absolute_pathname): Likewise. | |
5300 (octave_env::do_make_absolute): Likewise. | |
5301 If dot_path is empty, use getcwd to set current_dir. | |
5302 (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR | |
5303 instead of "/". | |
5304 | |
5095 | 5305 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 5306 |
5307 * lo-cutils.c: On non-Posix Windows systems, include winsock.h. | |
5308 | |
5095 | 5309 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 5310 |
5311 * oct-env.cc (octave_env::do_absolute_pathname): Recognize | |
5312 absolute path names under MinGW as well. | |
5313 | |
5314 2002-10-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5315 | |
5316 * oct-env.cc: Include <cctype> too. | |
5317 | |
4087 | 5318 2002-10-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5319 | |
5320 * oct-env.cc (octave_env::do_absolute_pathname): Handle Windows | |
5321 filenames. | |
5322 (octave_env::do_make_absolute): Check for absolute name with | |
5323 do_absolute_path. | |
4088 | 5324 (octave_env::do_chdir): Likewise. |
5325 (is_dir_sep): New function. | |
4087 | 5326 |
5095 | 5327 2002-10-03 Paul Kienzle <pkienzle@users.sf.net> |
4085 | 5328 |
4086 | 5329 * oct-time.cc (octave_time::stamp): Better resolution for Windows |
5330 systems. | |
4085 | 5331 |
4083 | 5332 2002-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5333 | |
5334 * dMatrix.cc (Matrix::read): Clean up error handling logic. | |
5335 | |
4080 | 5336 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5337 | |
4081 | 5338 * file-ops.cc (file_ops::mkdir): Handle one-arg mkdir here. |
5339 | |
4080 | 5340 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
5341 | |
5095 | 5342 2002-09-27 Per Persson <persquare@mac.com> |
4076 | 5343 |
5344 * oct-group.cc (octave_group::octave_group): Dont' forget to set | |
5345 gr_gid too. | |
5346 | |
4072 | 5347 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
5348 | |
4074 | 5349 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
5350 lo_ieee_* functions. | |
4072 | 5351 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074 | 5352 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
5353 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. | |
4072 | 5354 * lo-cieee.c: New file. |
4074 | 5355 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072 | 5356 * lo-ieee.h: Now all extern "C". |
4074 | 5357 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
5358 lo-mappers.cc and rename from xisnan, xfinite, xisinf. | |
5359 | |
4072 | 5360 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
5361 Now extern. | |
5362 | |
4066 | 5363 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
5364 | |
5365 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
5366 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
5367 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
5368 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
5369 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
5370 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
5371 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
5372 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
5373 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
5374 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
5375 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
5376 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
5377 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
5378 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
5379 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
5380 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
5381 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
5382 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
5383 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
5384 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
5385 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
5386 oct-alloc.cc: | |
5387 If __GNUG__, use pragma interface/implementation. Allow this to | |
5388 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. | |
5389 | |
5095 | 5390 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
4064 | 5391 |
4066 | 5392 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
5393 system readlink function is not available. | |
5394 | |
4065 | 5395 * lo-mappers.cc (xerf, xerfc): Delete. |
5396 * lo-mappers.h (xerf, xerfc): Delete decls. | |
5397 | |
4064 | 5398 * lo-mappers.cc: Remove unused #define M_PI. |
5399 * lo-specfun.cc: Add #define M_PI if needed. | |
5400 | |
4062 | 5401 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5402 | |
5403 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility | |
5404 that geteuid doesn't exist. | |
5405 | |
5406 * LP.h: Rename LP class to octave_LP. | |
5407 LPsolve.h: Change all uses. | |
5408 | |
5409 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove | |
5410 incorrect token-pasting op. | |
5411 | |
5412 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to | |
5413 define lstat. | |
5414 | |
4061 | 5415 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5416 | |
5417 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
5418 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
5419 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
5420 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
5421 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
5422 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
5423 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
5424 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
5425 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
5426 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
5427 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
5428 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
5429 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
5430 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
5431 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
5432 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
5433 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
5434 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
5435 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
5436 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
5437 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
5438 oct-alloc.cc: | |
5439 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ | |
5440 to decide whether to use the interface/implementation pragmas. | |
5441 | |
4058 | 5442 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5443 | |
5444 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. | |
5445 | |
4055 | 5446 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
5447 | |
5448 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use | |
5449 qualified names. | |
5450 | |
4051 | 5451 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5452 | |
4054 | 5453 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
5454 ArrayN.cc: Add typename where needed. | |
4053 | 5455 |
4051 | 5456 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
5457 strstream classes directly. | |
5458 * DASRT.cc: Likewise. | |
5459 * DASSL.cc: Likewise. | |
5460 * LSODE.cc: Likewise. | |
5461 * ODESSA.cc: Likewise. | |
5462 | |
5463 * cmd-hist.cc: Don't include <strstream>. | |
5464 * oct-shlib.cc: Likewise. | |
5465 | |
5466 * lo-sstream.h: New file. | |
5467 | |
4049 | 5468 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5469 | |
5470 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): | |
5471 New data members. | |
5472 (LSODE::sanity_checked): Delete unused data member. | |
5473 | |
5474 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, | |
5475 prel_tol, pinfo, piwork, prwork): New data members. | |
5476 * DASSL.h (DASSL): Likewise. | |
5477 | |
5478 * DASRT.h (DASRT::sanity_checked): Delete unused data member. | |
5479 | |
5480 * DASRT.cc (DASRT::integrate (double)): Better handling of | |
5481 initialization, changes in options, etc. | |
5482 * DASPK.cc (DASPK::do_integrate): Likewise. | |
5483 * DASSL.cc (DASSL::do_integrate): Likewise. | |
5484 * LSODE.cc (LSODE::do_integrate): Likewise. | |
5485 | |
4047 | 5486 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5487 | |
4049 | 5488 * DAEFunc.h (DAEFunc::reset): New data member. |
5489 * DAERTFunc.h (DAERTFunc::reset): Likewise. | |
5490 | |
5491 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. | |
5492 (base_diff_eqn::clear_stop_time): Likewise. | |
5493 | |
4047 | 5494 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
5495 * DASPK.cc (DASPK::do_integrate (double)): Likewise. | |
5496 | |
5095 | 5497 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
4044 | 5498 |
5499 * DASPK-opts.in, DASPK.h: Move include to .in file. | |
5500 * DASRT-opts.in, DASRT.h: Likewise. | |
5501 * DASSL-opts.in, DASSL.h: Likewise. | |
5502 * LSODE-opts.in, LSODE.h: Likewise. | |
5503 * NLEqn-opts.in, NLEqn.h: Likewise. | |
5504 * ODESSA-opts.in, ODESSA.h: Likewise. | |
5505 | |
4038 | 5506 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5507 | |
4042 | 5508 * LSODE.cc (LSODE::error_message): Also return current T on |
5509 failures when that makes sense. | |
4043 | 5510 * DASSL.cc (DASSL::error_message): Likewise. |
5511 * DASRT.cc (DASRT::error_message): Likewise. | |
5512 * DASPK.cc (DASPK::error_message): Likewise. | |
5513 * ODESSA.cc (ODESSA:error_message): Likewise. | |
4042 | 5514 |
4038 | 5515 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
5516 $(LIBKPATHSEA) here. | |
5517 | |
4025 | 5518 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5519 | |
5520 * lo-ieee.cc (lo_ieee_is_NA): New function. | |
5521 (lo_ieee_is_NaN_or_NA): New function. | |
5522 (octave_NA): New global value. | |
5523 (octave_ieee_init): Initialize it. | |
5524 * lo-mappers.cc (octave_is_NA): New function. | |
5525 (octave_is_NaN_or_NA): New function. | |
5526 (xisnan): Return false if NaN looks like a missing value. | |
5527 (xisnan (const Complex&)): Use xisnan here. | |
5528 | |
4015 | 5529 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5530 | |
4017 | 5531 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
5532 ComplexMatrix::cumprod, ComplexMatrix::cumsum, | |
5533 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): | |
5534 Default value for dim is -1, not 0. | |
5535 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, | |
5536 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. | |
5537 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. | |
5538 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. | |
5539 | |
4015 | 5540 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
5541 New macros. | |
5542 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and | |
5543 MX_BASE_REDUCTION_OP. | |
5544 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. | |
5545 | |
4014 | 5546 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
5547 | |
4015 | 5548 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
5549 Return boolMatrix, not Matrix. | |
5550 | |
5551 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. | |
5552 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. | |
5553 (Matrix::all): Replace guts with MX_ALL_OP. | |
5554 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. | |
5555 (ComplexMatrix::all): Replace guts with MX_ALL_OP. | |
5556 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. | |
5557 (boolMatrix::all): Replace guts with MX_ALL_OP. | |
5558 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. | |
5559 (charMatrix::all): Replace guts with MX_ALL_OP. | |
5560 | |
5561 * dMatrix.h (Matrix::any): New arg, dim. | |
5562 (Matrix::all): Likewise. | |
5563 * CMatrix.h (ComplexMatrix::any): Likewise. | |
5564 (ComplexMatrix::all): Likewise. | |
5565 * boolMatrix.h (boolMatrix::any): Likewise. | |
5566 (boolMatrix::all): Likewise. | |
5567 * chMatrix.h (charMatrix::any): Likewise. | |
5568 (charMatrix::all): Likewise. | |
5569 | |
4014 | 5570 * Makefile.in: Use $@-t instead of $@.t. |
5571 | |
4004 | 5572 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5573 | |
5574 * lo-specfun.cc (gammainc): New arg, err, for scalar version. | |
5575 Use it in matrix versions to avoid spewing multiple errors. | |
5576 Call xgammainc instead of dgamit. | |
5577 | |
3998 | 5578 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5579 | |
5580 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): | |
5581 Get rows and columns right in loop. | |
5582 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. | |
5583 | |
5584 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5585 | |
5586 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. | |
5587 * DASRT.cc (DASRT::integrate): Likewise. | |
5588 * DASSL.cc (DASSL::do_integrate): Likewise. | |
5589 | |
5590 * Quad.cc: Don't pass tolerances in constructors. | |
5591 | |
5592 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, | |
5593 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. | |
5594 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, | |
5595 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically | |
5596 from corresponding .in files. | |
5597 * LSODE.h, Quad.h: Replace options class definitions with included | |
5598 file. | |
5599 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to | |
5600 create OPTS_INC files from OPTS_INC_SRC files. | |
5601 (stamp-prereq): New target. | |
5602 (libraries): Depend on stamp-prereq. | |
5603 Include stamp-prereq along with $(MAKEDEPS). | |
5604 | |
3997 | 5605 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5606 | |
5607 * base-de.h (base_diff_eqn::istate): New data member. | |
5608 (base_diff_eqn::integration_state): New member function. | |
5609 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding | |
5610 data members and functions. | |
5611 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. | |
5612 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. | |
5613 | |
3990 | 5614 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5615 | |
3995 | 5616 * base-de.h (base_diff_eqn::stop_time, |
5617 base_diff_eqn::stop_time_set, base_diff_eqn::restart, | |
5618 base_diff_eqn::integration_error): New data members. | |
5619 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, | |
5620 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, | |
5621 base_diff_eqn::error_message): New member functions. | |
5622 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, | |
5623 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data | |
5624 members and functions. | |
5625 | |
3992 | 5626 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
5627 * DASRT.cc (DASRT::DASRT): Set ng here. | |
3993 | 5628 (DASRT::integrate): Don't forget to set nn. |
3992 | 5629 |
3991 | 5630 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
5631 * DASSL.cc (ddassl_j): Make it work. | |
5632 * DASPK.cc (ddaspk_j): Likewise. | |
5633 | |
3990 | 5634 * DAE.cc: Delete. |
5635 | |
5636 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE | |
5637 solving with root finding. | |
5638 * Makefile.in: Add them to the appropriate lists. | |
5639 | |
5640 * base-dae.h: New file. | |
5641 * Makefile.in (INCLUDES): Add it to the list. | |
5642 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. | |
5643 | |
3984 | 5644 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5645 | |
5646 * ODE.h: Move integrate and do_integrate method declarations and | |
5647 definitions here. | |
5648 * base-de.h: From here. | |
5649 | |
5650 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. | |
5651 * Makefile.in: Add them to the appropriate lists. | |
5652 (LIBOCTAVE_CXX_SOURCES): | |
5653 | |
3971 | 5654 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5655 | |
5656 * NLEqn.cc (NLEqn::error_message): New function. | |
5657 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. | |
5658 | |
3970 | 5659 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
5660 | |
5661 * lo-utils.cc (octave_fgetl): New function. | |
5662 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. | |
5663 | |
3959 | 5664 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5665 | |
5666 * LSODE.cc (LSODE::error_message): New function. | |
5667 * LSODE.h: Provide decl. | |
5668 (LSODE::integration_state): New function. | |
5669 (LSODE::integration_ok): New function. | |
5670 | |
3952 | 5671 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5672 | |
3955 | 5673 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
5674 (LSODE_options::set_integration_method, | |
5675 LSODE_options::integration_method): New functions. | |
3954 | 5676 |
3952 | 5677 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
5678 Change all uses. | |
5679 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. | |
5680 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): | |
5681 New function. | |
5682 | |
5683 * Array.h (Array::fortran_vec): New const version. | |
5684 | |
3951 | 5685 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5686 | |
5687 * cmd-edit.cc (gnu_readline::history_search_backward): New function. | |
5688 (gnu_readline::history_search_forward): Likewise. | |
5689 (gnu_readline::gnu_readline): Use them instead of passing pointers | |
5690 to extern "C" functions to octave_rl_ad_defun. | |
5691 | |
5095 | 5692 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
3946 | 5693 |
5694 * DASPK.cc (ddaspk_psol): Return value. | |
5695 * oct-rl-edit.c: Use /* ... */ to comment. | |
5696 | |
3945 | 5697 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5698 | |
5699 * DASSL.h (DASSL_options::init): Undo previous change. | |
5700 (DASSL_options::set_absolute_tolerance): Likewise. | |
5701 * LSODE.h (LSODE_options::init): Likewise. | |
5702 (LSODE_options::set_absolute_tolerance): Likewise. | |
5703 | |
5704 * DASPK.h (DASPK_options::init): Use default absolute tolerance of | |
5705 sqrt(eps), not eps^2. | |
5706 DASPK_options::set_absolute_tolerance): Likewise. | |
5707 | |
5095 | 5708 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
3944 | 5709 |
5710 * Array.h (Array<T>::resize_fill_value): Return default initialized | |
5711 object. | |
5712 | |
3933 | 5713 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5714 | |
5715 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. | |
5716 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. | |
5717 (octave_rl_set_basic_word_break_characters, | |
5718 octave_rl_set_completer_word_break_characters): New functions. | |
5719 * oct-rl-edit.h: Provide decls. | |
5720 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, | |
5721 gnu_readline::do_set_completer_word_break_characters): New functions. | |
5722 (command_editor::set_basic_quote_characters, | |
5723 command_editor::set_completion_append_character): New static functions. | |
5724 * cmd-edit.h: Provide decls. | |
5725 (command_editor::do_set_basic_word_break_characters, | |
5726 command_editor::do_set_completer_word_break_characters): | |
5727 New virtual functions. | |
5728 | |
5729 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h | |
5730 (resize_fill_value): New static function. | |
5731 | |
5732 * Array-idx.h (Array<T>::index): New args, resize_ok and | |
5733 resize_fill_value. | |
5734 * Array2-idx.h (Array2<T>::index): Likewise. | |
5735 * ArrayN-idx.h (ArrayN<T>::index): Likewise. | |
5736 | |
5737 * Array2.cc (Array<T>::print_info): New function. | |
5738 * Array2.h: Provide decl. | |
5739 | |
5740 * Array.cc (Array<T>::print_info): New function. | |
5741 * Array.h: Provide decl. | |
5742 | |
3928 | 5743 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5744 | |
5745 * idx-vector.h (idx_vector::idx_vector (int)): New function. | |
5746 (idx_vector_rep::idx_vector_rep (int)): New decl. | |
5747 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. | |
5748 | |
5749 * Array.h (Array<T>::resize_fill_value (void)): New static function. | |
5750 (assign (Array<LT>&, const Array<RT>&)): Use it. | |
5751 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. | |
5752 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. | |
5753 | |
5095 | 5754 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
3928 | 5755 |
5756 * Array3.h (Array3<T>::checkelem): Improve error message. | |
5757 * ArrayN.h (ArrayN<T>::range_error): Likewise. | |
5758 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. | |
5759 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. | |
5760 | |
3919 | 5761 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5762 | |
5763 * DASSL.h (DASSL_options::init): Undo previous change. | |
5764 (DASSL_options::set_absolute_tolerance): Likewise. | |
5765 | |
3912 | 5766 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
5767 | |
5768 * DASPK.h, DASPK.cc: New files. | |
5769 * Makefile.in: Add them to the appropriate lists. | |
5770 | |
3904 | 5771 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5772 | |
5773 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): | |
5774 Simplify indexing when one or both of the indices are empty. | |
5775 | |
3896 | 5776 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5777 | |
5778 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. | |
5779 (DASSL_options::set_absolute_tolerance): Likewise. | |
5780 * LSODE.h (LSODE_options::init): Likewise. | |
5781 (LSODE_options::set_absolute_tolerance): Likewise. | |
5782 | |
5095 | 5783 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
3887 | 5784 |
5785 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. | |
5786 * file-stat.cc (file_stat::update_internal, file_stat::copy): | |
5787 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. | |
5788 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. | |
5789 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. | |
5790 * file-stat.h: Likewise. | |
5791 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, | |
5792 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE | |
5793 instead of HAVE_STRUCT_TM_TM_ZONE. | |
5794 * strftime.c: Likewise. | |
5795 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, | |
5796 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, | |
5797 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, | |
5798 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, | |
5799 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
5800 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
5801 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. | |
5802 | |
5095 | 5803 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
3883 | 5804 |
5805 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition | |
5806 internally when the user requests it. | |
5807 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
5808 * dbleQR.cc (QR::init): Ditto. | |
5809 * dbleQRP.cc (QRP::init): Ditto. | |
5810 | |
3874 | 5811 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5812 | |
5813 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a | |
5814 definition for NULL by passing 0 as the last arg to fftwnd_one. | |
5815 (octave_fftw::ifft2d): Likewise. | |
5816 | |
5095 | 5817 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
3873 | 5818 |
5819 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). | |
5820 | |
3867 | 5821 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5822 | |
5823 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. | |
5824 (LS_DO_WRITE): Likewise. | |
5825 | |
3864 | 5826 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5827 | |
5828 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. | |
5829 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. | |
5830 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. | |
5831 | |
5832 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, | |
5833 MX_REDUCTION_OP_ROW_EXPR): New macros. | |
5834 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. | |
5835 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. | |
5836 | |
5837 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. | |
5838 DIM == -1 now means no orientation for vector sums. | |
5839 * dMatrix.cc (ComplexMatrix::sumsq): Use it. | |
5840 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. | |
5841 | |
3858 | 5842 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5843 | |
5844 * Range.cc (Range::nelem_internal): Special case ranges that must | |
5845 have zero elements. | |
5846 | |
3854 | 5847 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5848 | |
3857 | 5849 * Makefile.in: Split out readline and pathsearch functionality |
5850 into separate liboct-readline and liboct-pathsearch libraries. | |
5851 | |
3854 | 5852 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857 | 5853 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
5854 to do nothing for this call to rl_clear_screen. | |
3854 | 5855 |
3849 | 5856 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5857 | |
5858 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied | |
5859 function. | |
5860 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. | |
5861 | |
3838 | 5862 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
5863 | |
5864 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, | |
5865 Matrix::inverse): Handle the case of rcond being a NaN the same as | |
5866 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. | |
5867 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, | |
5868 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. | |
5869 | |
3836 | 5870 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
5871 | |
5872 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. | |
5873 | |
5874 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, | |
5875 Array-b.cc: Instantiate three arg assign functions. | |
5876 | |
5877 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): | |
5878 New arg, resize_fill_value. | |
5879 * ArrayN.h: Provide declaration. | |
5880 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling | |
5881 three arg version. | |
5882 | |
5883 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): | |
5884 New arg, resize_fill_value. | |
5885 * Array3.h: Provide declaration. | |
5886 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling | |
5887 three arg version. | |
5888 | |
5889 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
5890 New arg, resize_fill_value. | |
5891 * Array2.h: Provide declaration. | |
5892 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling | |
5893 three arg version. | |
5894 | |
5895 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
5896 New arg, resize_fill_value. | |
5897 * Array.h: Provide declaration. | |
5898 (assign (Array<LT>&, const Array<RT>&): Define here by calling | |
5899 three arg version. | |
5900 | |
3833 | 5901 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5902 | |
5903 * pathsearch.cc (dir_path::set_program_name): Set the environment | |
5904 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS | |
5905 to the empty string. | |
5906 | |
3832 | 5907 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5908 | |
5909 * Array2.h (Array2<T>::operator = (const Array2<T>&)): | |
5910 Don't check for rep != a.rep. | |
5911 | |
3827 | 5912 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
5913 | |
5914 * oct-fftw.h, oct-fftw.cc: New files. | |
5915 * Makefile.in (INCLUDES, SOURCES): Add new files. | |
5916 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, | |
5917 ifourier2d}): Use fftw if available. | |
5918 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): | |
5919 Likewise. | |
5920 | |
3821 | 5921 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5922 | |
5923 * Makefile.in (install-lib): Don't use mk-libdir-link. | |
5924 (install-inc): Don't use mk-includedir-link. | |
5925 | |
3803 | 5926 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5927 | |
5928 * lo-cutils.c (octave_gethostname): New function. | |
5929 * lo-utils.h: Provide declaration. | |
5930 * oct-env.cc (octave_env::do_get_host_name): | |
5931 Call octave_gethostname, instead of gethostname. | |
5932 | |
5933 * lo-cutils.c (gethostname): Define here. | |
5934 * lo-sysdep.cc: Not here. | |
5935 | |
3786 | 5936 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
5937 | |
5938 * lo-cutils.c: Don't declare strptime. | |
5939 (oct_strptime): Cast return type of strptime to char*. | |
5940 | |
3777 | 5941 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5942 | |
3779 | 5943 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
5944 (octave_rl_set_name): call rl_re_read_init_file with two args. | |
5945 (octave_rl_read_init_file): Ditto. | |
5946 (octave_rl_clear_undo_list): Call rl_free_undo_list, not | |
5947 free_undo_list. | |
5948 (octave_rl_completion_matches): Call rl_completion_matches, not | |
5949 completion_matches. | |
5950 (octave_rl_enable_paren_matching): New function. | |
5951 (octave_rl_set_blink_matching_paren_flag): Delete. | |
5952 (octave_rl_get_blink_matching_paren_flag): Delete. | |
5953 | |
3777 | 5954 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
5955 tanh (const Complex&)): Declare and define if not | |
5956 CXX_ISO_COMPLIANT_LIBRARY. | |
5957 | |
3776 | 5958 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
5959 | |
5960 * lo-mappers.h (tanh (const Complex&)): Only declare if not | |
5961 CXX_ISO_COMPLIANT_LIBRARY. | |
5962 | |
3775 | 5963 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
5964 | |
3776 | 5965 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
5966 CXX_ISO_COMPLIANT_LIBRARY. | |
5967 | |
3775 | 5968 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
5969 archive libraries containing templates. | |
5970 | |
5971 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, | |
5972 get_zero_len_size, all_colon_equiv): Inline. | |
5973 (ArrayN<T>::index): Rename idx to arr_idx. | |
5974 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, | |
5975 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, | |
5976 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. | |
5977 | |
5978 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5979 | |
5980 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), | |
5981 log10 (const Complex&)): Delete. | |
5982 | |
5983 * oct-cmplx.h: Define forwarding functions for real, imag, abs, | |
5984 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, | |
5985 sinh, sqrt, tan, and tanh. | |
5986 | |
3769 | 5987 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
5988 | |
5989 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: | |
5990 Add std:: namespace qualifier as needed. | |
5991 | |
5992 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. | |
5993 Change all uses to match. | |
5994 | |
3767 | 5995 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5996 | |
5997 * lo-cutils.c: Don't delcare strptime. | |
5998 | |
3760 | 5999 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6000 | |
6001 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): | |
6002 Return correct size result for empty matrix case. | |
6003 | |
3757 | 6004 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
6005 | |
6006 * lo-mappers.cc (xmin (const Complex&, const Complex& y): | |
6007 If args are equal in magnitude, return first arg instead of | |
6008 second. | |
6009 | |
3752 | 6010 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
6011 | |
3755 | 6012 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
6013 then try harder to compute correct number of elements. | |
3753 | 6014 |
3752 | 6015 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
6016 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. | |
6017 | |
3750 | 6018 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
6019 | |
3751 | 6020 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
6021 Rename n_intervals to be n_elt. | |
6022 | |
3750 | 6023 * strptime.c: Surround everything after including config.h in |
6024 #ifndef HAVE_STRPTIME ... #endif. | |
6025 | |
3742 | 6026 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6027 | |
6028 * Array-idx.h (assign): When resizing, cast fill value to LT. | |
6029 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. | |
6030 | |
3741 | 6031 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6032 | |
6033 * MArray-defs.h: Protect against multiple inclusion. | |
6034 | |
3739 | 6035 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6036 | |
6037 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the | |
6038 end of the list, to be compatible with previous versions of Octave. | |
6039 | |
3736 | 6040 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
6041 | |
6042 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, | |
6043 since mktime is supposed to `normalize' the results for us. | |
6044 | |
3731 | 6045 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
6046 | |
6047 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices | |
3732 | 6048 and vectors. Use xelem for faster access to elements when copying. |
3731 | 6049 |
3726 | 6050 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6051 | |
6052 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): | |
6053 Correct indexing for operation across rows. | |
6054 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. | |
6055 | |
3725 | 6056 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
6057 | |
6058 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying | |
6059 elements if arg is a colon. | |
6060 | |
5095 | 6061 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
3723 | 6062 |
3795 | 6063 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723 | 6064 (Matrix::cumsum (int) const): Likewise. |
6065 (Matrix::prod (int) const): Likewise. | |
6066 (Matrix::sum (int) const): Likewise. | |
6067 (Matrix::sumsq (int) const): Likewise. | |
6068 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. | |
6069 (ComplexMatrix::cumsum (int) const): Likewise. | |
6070 (ComplexMatrix::prod (int) const): Likewise. | |
6071 (ComplexMatrix::sum (int) const): Likewise. | |
6072 (ComplexMatrix::sumsq (int) const): Likewise. | |
6073 | |
3722 | 6074 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6075 | |
6076 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set | |
6077 size if Array<T>::index returns an empty array. | |
6078 | |
3710 | 6079 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6080 | |
6081 * file-ops.cc (file_ops::link, file_ops::symlink, | |
6082 file_ops::readlink): New functions. | |
6083 | |
3709 | 6084 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6085 | |
6086 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is | |
6087 indexed, always return an object the same size as the index arg. | |
6088 | |
6089 * oct-time.cc (octave_base_tm::strftime): Return empty string for | |
6090 empty format. | |
6091 | |
3706 | 6092 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6093 | |
6094 * lo-cutils.c (oct_strptime): New function. | |
6095 * oct-time.cc (octave_strptime::init): Call it instead of strptime. | |
6096 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. | |
6097 | |
3702 | 6098 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6099 | |
3703 | 6100 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
6101 | |
3702 | 6102 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
6103 | |
3689 | 6104 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6105 | |
6106 * dMatrix.h (read_int): Provide declaration. | |
6107 | |
3688 | 6108 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
6109 | |
6110 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. | |
6111 (write_doubles): Ditto. | |
6112 * data-conv.h: Ditto. | |
6113 (enum save_type): New values, LS_U_LONG and LS_LONG. | |
6114 | |
3685 | 6115 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
6116 | |
6117 * boolMatrix.h: Declare MM_CMP_OPS here. | |
6118 * boolMatrix.cc: Define them here. | |
6119 | |
3680 | 6120 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6121 | |
6122 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is | |
6123 previously undefined and set size of x to size of bool index. | |
6124 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): | |
6125 Allow z_len to be zero. | |
6126 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. | |
6127 If frozen, don't assert that frozen_at_z_len == z_len. | |
6128 | |
3670 | 6129 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6130 | |
6131 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen | |
6132 instead of rl_clear_screen. | |
6133 | |
3665 | 6134 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6135 | |
6136 * Array-d.cc: Instantiate ArrayN<double> here too. | |
6137 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. | |
6138 * Makefile.in: Add them to the appropriate lists. | |
6139 | |
3657 | 6140 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6141 | |
6142 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. | |
6143 | |
3635 | 6144 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6145 | |
6146 * lo-sysdep.h: octave_chdir returns int, not bool. | |
6147 | |
3615 | 6148 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
6149 | |
6150 * Makefile.in (liboctave.$(SHLEXT)): Delete target | |
6151 before rebuilding. | |
6152 | |
5095 | 6153 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
3615 | 6154 |
5261 | 6155 * Makefile.in (liboctave.$(LIBEXT)): New target. |
3615 | 6156 (libraries): Depend only on library targets, not archive members. |
6157 | |
3613 | 6158 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6159 | |
6160 * Makefile.in: (objects): New target. | |
6161 | |
6162 * lo-cutils.c: New file. | |
6163 * Makefile.in (SOURCES): Add it to the list. | |
6164 * lo-utils.h: Declare octave_qsort here. | |
6165 * Array.h (Array::qsort): Use it here. | |
6166 | |
3607 | 6167 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6168 | |
6169 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. | |
6170 | |
3598 | 6171 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6172 | |
6173 * oct-rl-hist.c (octave_history_list): Do something when not | |
6174 printing line numbers. Fix reallocation of retval. | |
6175 | |
3597 | 6176 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6177 | |
6178 * Makefile.in (install-inc): Install files in | |
6179 $(octincludedir)/octave. | |
6180 (uninstall): Remove them from the correct directory too. | |
6181 | |
6182 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if | |
6183 they are not already defined. | |
6184 | |
3588 | 6185 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6186 | |
6187 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: | |
6188 Delete declarations and definitions of mixed-type vector-vector ops. | |
6189 | |
3585 | 6190 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6191 | |
6192 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS | |
6193 matrix and vector objects. | |
6194 | |
6195 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to | |
6196 return type from second arg type. | |
6197 (MDM_BIN_OP): Likewise, for first arg type. | |
6198 | |
6199 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
6200 Matrix::fourier2d, Matrix::ifourier2d): Likewise. | |
6201 | |
6202 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly | |
6203 request ColumnVector to ComplexColumnVector, and Matrix to | |
6204 ComplexMatrix conversions. | |
6205 | |
6206 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its | |
6207 initial value using ComplexMatrix constructor. | |
6208 | |
6209 * CColVector.cc (product, quotient, | |
6210 operator * (const DiagMatrix&, const ComplexColumnVetor&)): | |
6211 Fix type of returned value. | |
6212 * CDiagMatrix.cc (ComplexDiagMatrix::row, | |
6213 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. | |
6214 | |
6215 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, | |
6216 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, | |
6217 dRowVector.h: Declare some constructors explicit, to disallow | |
6218 potentially problematic automatic type conversions. | |
6219 | |
3580 | 6220 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
6221 | |
3582 | 6222 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
6223 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: | |
6224 More new files. | |
6225 * Makefile.in: Add them to the appropriate lists. | |
6226 | |
6227 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, | |
6228 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, | |
6229 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, | |
6230 vx-s-crv.cc:, New files. | |
6231 * Makefile.in: Add them to the appropriate lists. | |
6232 | |
6233 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: | |
6234 Delete scalar by vector and vector by scalar binary ops. | |
6235 | |
3580 | 6236 * MArray-defs.h: More new macros to handle MDiagArray operators. |
6237 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. | |
6238 | |
3573 | 6239 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
6240 | |
3578 | 6241 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
6242 rl_event_hook before casting to void **. | |
6243 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. | |
6244 | |
3574 | 6245 * MArray-defs.h: Many new macros to make declaration and |
6246 definition of operators more consistent. | |
6247 | |
6248 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, | |
6249 CRowVector.h, dMatrix.h, CMatrix.h: Use them. | |
3573 | 6250 |
3569 | 6251 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6252 | |
3572 | 6253 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
6254 (Matrix::ifourier2d): Likewise. | |
6255 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. | |
6256 (ComplexMatrix::ifourier2d): Likewise. | |
6257 | |
3569 | 6258 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
6259 | |
3504 | 6260 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6261 | |
3519 | 6262 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
6263 readline library. | |
6264 * Makefile.in: Add them to the appropriate lists. | |
6265 | |
6266 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU | |
6267 readline history library. | |
6268 * Makefile.in: Add them to the appropriate lists. | |
6269 | |
3517 | 6270 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
6271 (LS_DO_READ): Likewise, for istream::read. | |
3518 | 6272 (write_doubles): Likewise. |
6273 (read_doubles): Likewise. | |
3517 | 6274 |
3516 | 6275 * oct-env.cc (octave_env::do_polite_directory_format): |
6276 Use operator== and substr method to do limited-length string | |
6277 comparison. | |
6278 | |
3513 | 6279 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512 | 6280 |
3511 | 6281 * Quad.h: Use do_integrate as name of pure virtual function. |
6282 | |
3508 | 6283 * base-de.h: Use tt instead of t as arg names. |
3511 | 6284 Add method with tcrit arg. |
6285 | |
3509 | 6286 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508 | 6287 |
3507 | 6288 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
6289 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. | |
6290 * Quad.cc (quad_fcn_ptr): Ditto. | |
6291 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. | |
6292 | |
3505 | 6293 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519 | 6294 * Makefile.in: Add them to the appropriate lists. |
3505 | 6295 |
6296 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. | |
3519 | 6297 * Makefile.in: Add them to the appropriate lists. |
3505 | 6298 |
3504 | 6299 * dMatrix.cc (write_int, read_int): No longer declared static. |
6300 | |
6301 * CDiagMatrix.h: Delete decls for friend operators that are | |
6302 handled by MDiagArray2 class. Move others outside class decl and | |
6303 strip friend status. | |
6304 * dDiagMatrix.h: Likewise. | |
6305 | |
6306 * MArray.h: Delete decls for friend operators inside class decl. | |
6307 * MArray2.h: Ditto. | |
6308 * MDiagArray2.h: Ditto. | |
6309 | |
6310 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all | |
6311 necessary parameters. Don't allocate memory in the macro. Change | |
6312 all uses. | |
6313 | |
6314 * dMatrix.h (class Matrix): Delete `friend class' decls. | |
6315 * CMatrix.h (class ComplexMatrix): Ditto. | |
6316 | |
6317 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, | |
6318 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, | |
6319 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to | |
6320 avoid type conflicts. Change all uses. | |
6321 | |
6322 * strptime.c (__mon_yday): Fix size of array decl. | |
6323 | |
6324 * mx-inlines.cc: Use `xnot' instead of `not' for function name. | |
6325 | |
6326 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous | |
6327 default value for second arg. | |
6328 | |
6329 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to | |
6330 references to ArrayRep. | |
6331 | |
3503 | 6332 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
6333 | |
3504 | 6334 * Array.h (Array::ArrayRep): Now protected, not private. |
3503 | 6335 |
6336 * All source files: Include iostream, fstream, strstream, | |
6337 etc. as needed instead of using forward declarations for these | |
3504 | 6338 classes. Add std:: qualifier as needed. |
3503 | 6339 |
3498 | 6340 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6341 | |
6342 * oct-time.cc: Declare strptime extern "C". | |
6343 | |
3496 | 6344 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6345 | |
6346 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. | |
6347 | |
3488 | 6348 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6349 | |
3492 | 6350 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
6351 * Array3.h, Array3.cc: Use it in constructors and resize methods | |
6352 to get total size to be allocated. | |
6353 | |
3488 | 6354 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
6355 as bool, not int. | |
6356 | |
3482 | 6357 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6358 | |
6359 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
6360 Allow A(idx) = RHS if idx is a boolean index with the same shape | |
6361 as A, even when do_fortran_indexing is not enabled. | |
6362 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). | |
6363 | |
3473 | 6364 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6365 | |
3480 | 6366 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
6367 function pointer as final arg. Passed function (if any) will be | |
6368 called for singularity errors. | |
6369 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. | |
6370 | |
6371 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. | |
6372 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
6373 | |
3475 | 6374 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
6375 No longer bother with infinity or quiet_nan. | |
6376 | |
3473 | 6377 * Array2.cc (Array2<T>::get_size): New function. |
6378 (Array2<T>::Array2, Array2<T>::resize): Use it. | |
6379 | |
3472 | 6380 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6381 | |
6382 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): | |
6383 New function. | |
6384 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
6385 Use it when indexing with one arg instead of faking a second one. | |
6386 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): | |
6387 Return empty matrices with the correct dimensions for A(:,:) = [] | |
6388 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all | |
6389 rows or columns. | |
6390 | |
6391 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool | |
6392 vector that is all true values with a length equal to n as colon | |
6393 equivalent. | |
6394 | |
3470 | 6395 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6396 | |
6397 * strptime.c: Only include langinfo.h if _LIBC is defined. | |
6398 | |
5095 | 6399 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468 | 6400 |
6401 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling | |
6402 operations directly in step 2 and reverse step 2. | |
6403 * dMatrix.cc (Matrix::expm): Apply permutation and scaling | |
6404 operations directly in step 2 and reverse step 2. | |
6405 | |
3465 | 6406 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6407 | |
6408 * oct-time.h, oct-time.cc (octave_strptime): New class. | |
6409 | |
6410 * strptime.c: New file, from glibc 2.1.2. | |
6411 * Makefile.in (SOURCES): Add strptime.c to the list. | |
6412 | |
3419 | 6413 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6414 | |
6415 * MArray.h (MArray <const Array<T>&)): New constructor. | |
6416 | |
3415 | 6417 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6418 | |
6419 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing | |
6420 NULL directory list returned from kpse_element_dirs | |
6421 | |
3375 | 6422 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6423 | |
6424 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. | |
6425 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF | |
6426 directly, instead of calling ZGESV. | |
6427 | |
3358 | 6428 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6429 | |
6430 * data-conv.cc (init_sized_type_lookup_table): New function. | |
6431 (string_to_data_type): Use it to improve lookup of data types. | |
6432 | |
3354 | 6433 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6434 | |
6435 * dMatrix.cc (is_symmetric): Move here from Array2.cc. | |
6436 * Array2.h (is_symmetric): Delete declaration. | |
6437 | |
3347 | 6438 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6439 | |
6440 * oct-env.cc (do_get_user_name): Reverse sense of test. | |
6441 | |
3344 | 6442 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6443 | |
6444 * oct-time.cc (Fstrftime): Undo previous change. | |
6445 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
6446 | |
3334 | 6447 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6448 | |
3336 | 6449 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
6450 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. | |
6451 | |
3334 | 6452 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
6453 Don't forget to pass length of third string argument to dgeesx. | |
6454 | |
6455 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length | |
6456 of third string argument to zgeesx. | |
6457 | |
3333 | 6458 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6459 | |
6460 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): | |
6461 On errors, simply return `T ()'. | |
6462 (DiagArray2<T>::checkelem (int, int)): Likewise. | |
6463 | |
5095 | 6464 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3331 | 6465 |
6466 * dMatrix.cc (Matrix::expm): Do balancing here instead of using | |
6467 AEPBALANCE class. | |
6468 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6469 | |
3325 | 6470 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6471 | |
6472 * oct-shlib.cc, oct-shlib.h: New files. | |
6473 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
6474 | |
3322 | 6475 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6476 | |
6477 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. | |
6478 * dRowVector.cc (linspace): Ditto. | |
6479 | |
6480 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. | |
6481 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
6482 | |
3312 | 6483 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
6484 | |
6485 * DASSL.cc (DASSL::do_integrate (double)): If we have a function | |
6486 to evaluate the Jacobian, set info(4), not iwork(4). | |
6487 Set rwork(1) to the maximum step size, not rwork(2). | |
6488 | |
3290 | 6489 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6490 | |
6491 * oct-time.cc: Include <climits>. | |
6492 | |
3281 | 6493 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
6494 | |
6495 * cmd-edit.h (command_editor::do_resize_terminal): New function. | |
6496 * cmd-edit.cc (command_editor::resize_terminal): New function. | |
6497 (gnu_readline::do_resize_terminal): New function. | |
6498 | |
3268 | 6499 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6500 | |
6501 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. | |
6502 * lo-ieee.c: Likewise. | |
6503 Delete extern "C" declarations for infinity and quiet_nan. | |
6504 | |
3262 | 6505 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6506 | |
3263 | 6507 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
6508 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions | |
6509 `inline', not `static inline'. | |
6510 | |
3262 | 6511 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
6512 then cast to const int * to compare. | |
6513 | |
3257 | 6514 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6515 | |
6516 * DAEFunc.h: Remove useless preprocessor conditional. | |
6517 | |
3255 | 6518 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6519 | |
3257 | 6520 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
6521 Use octave_time object instead of time_t. | |
6522 | |
6523 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, | |
6524 file_stat::fs_ctime): Now octave_time objects. | |
6525 (file_stat::atime, file_stat::mtime, file_stat::ctime): | |
6526 Return octave_time objects. | |
6527 (file_stat::is_newer): Args are now octave_time objects instead of | |
6528 time_t. | |
6529 | |
3255 | 6530 * oct-time.h (octave_time::as_double): Delete. |
6531 (octave_time::operator double ()): New function. | |
6532 (octave_time::operator time_t ()): New function. | |
6533 (octave_time::ctime): New function. | |
6534 (octave_base_tm::strftime): Renamed from format_as_string. | |
6535 (octave_base_tm::asctime): New function. | |
6536 (operator == (const octave_time&, const octave_time&), | |
6537 operator != (const octave_time&, const octave_time&), | |
6538 operator < (const octave_time&, const octave_time&), | |
6539 operator <= (const octave_time&, const octave_time&), | |
6540 operator > (const octave_time&, const octave_time&), | |
6541 operator >= (const octave_time&, const octave_time&)): | |
6542 New comparison functions. | |
6543 | |
6544 * strftime.c: Move here from src directory. | |
6545 * Makefile.in (SOURCES): Add it to the list. | |
6546 | |
6547 * oct-time.h (octave_time::octave_time (time_t)): New constructor. | |
6548 | |
3253 | 6549 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6550 | |
6551 * oct-time.h, oct-time.cc: New files. | |
6552 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
6553 | |
6554 * systime.h: Move here from src directory. | |
6555 * Makefile.in (INCLUDES): Add it to the list. | |
6556 | |
3248 | 6557 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6558 | |
6559 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. | |
6560 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. | |
6561 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. | |
6562 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. | |
6563 | |
6564 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. | |
6565 | |
3243 | 6566 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6567 | |
6568 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. | |
6569 | |
6570 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6571 | |
6572 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a | |
6573 column vector for A(:), for compatibility with Matlab. | |
6574 | |
6575 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6576 | |
6577 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set | |
6578 iopt when there are optional inputs in rwork or iwork. | |
6579 | |
3238 | 6580 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6581 | |
6582 * Makefile.in (libraries): Use the libfoo.a(objects) method of | |
6583 creating static libs. | |
6584 | |
5095 | 6585 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
3238 | 6586 |
6587 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 | |
6588 and uint32 data types. | |
6589 | |
6590 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6591 | |
6592 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code | |
6593 for Linux. Remove old Linux-specific code. | |
6594 | |
3233 | 6595 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6596 | |
6597 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): | |
6598 Don't require lengths to be equal. | |
6599 * CMatrix.cc (operator * (const ComplexColumnVector& v, const | |
6600 ComplexRowVector& a)): Likewise | |
6601 | |
5095 | 6602 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
3225 | 6603 |
6604 * statdefs.h: Only define mode_t if not already defined. | |
6605 | |
5095 | 6606 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
3225 | 6607 |
6608 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero | |
6609 when appropriate. | |
6610 | |
6611 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6612 | |
6613 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name | |
6614 before calling rl_initialize. | |
6615 | |
3220 | 6616 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6617 | |
6618 * lo-specfun.cc (besselh, airy, biry): New functions. | |
6619 Update Bessel function support to use library by D. E. Amos. | |
6620 | |
3219 | 6621 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6622 | |
6623 * cmd-edit.h (command_editor::readline): Add new variation that | |
6624 allows EOF information to be passed back to caller. | |
6625 | |
6626 * dMatrix.cc (Matrix::read): Do the right thing for EOF when | |
6627 amount of data to read is unspecified. | |
6628 | |
3215 | 6629 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6630 | |
3219 | 6631 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
6632 (DEFINE_OCTAVE_ALLOCATOR): Ditto. | |
6633 | |
3215 | 6634 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
6635 Add volatile qualifier to void* arg. | |
6636 Cast volatile void* arg to volatile char*. | |
6637 | |
6638 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6639 | |
6640 * cmd-edit.h (command_editor::do_set_event_hook): New function. | |
6641 (command_editor::do_restore_event_hook): Ditto. | |
6642 * cmd-edit.cc (command_editor::set_event_hook): Ditto. | |
6643 (command_editor::restore_event_hook): Ditto. | |
6644 (gnu_readline::do_set_event_hook): Ditto. | |
6645 (gnu_readline::do_restore_event_hook): Ditto. | |
6646 (gnu_readline::previous_event_hook): New data member. | |
6647 (gnu_readline::gnu_readline): Initialize previous_event_hook. | |
6648 | |
3206 | 6649 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6650 | |
6651 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. | |
6652 | |
6653 * Makefile.in (stmp-pic): New target. | |
6654 ($(PICOBJ)): Depend on stmp-pic, not pic. | |
6655 (clean): Remove stmp-pic | |
6656 | |
6657 * Makefile.in: Undo previous change to avoid optmization when | |
6658 compiling lo-ieee.cc. | |
6659 | |
6660 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6661 | |
6662 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and | |
6663 imaginary parts. | |
6664 (xisinf): Define in terms of xisinf for real and imaginary parts. | |
6665 | |
3203 | 6666 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6667 | |
6668 * boolMatrix.cc (boolMatrix::operator !): New function. | |
6669 | |
3196 | 6670 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6671 | |
6672 * pathsearch.h (dir_path::default_path): New data member. | |
6673 * pathsearch.cc (dir_path::init): Use it. | |
6674 | |
6675 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. | |
6676 | |
3189 | 6677 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6678 | |
6679 * chMatrix.cc (charMatrix::extract): New function. | |
6680 (charMatrix::charMatrix (char c)): New constructor. | |
6681 | |
6682 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6683 | |
6684 * cmd-edit.h: (command_editor::do_read_init_file): New function. | |
6685 * cmd-edit.cc (command_editor::read_init_file): New function. | |
6686 (gnu_readline::do_read_init_file): Likewise. | |
6687 | |
3185 | 6688 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6689 | |
6690 * oct-env.cc (octave_env::do_get_home_directory): | |
6691 If HOME can't be found, set it to "/". | |
6692 (octave_env::do_get_user_name) | |
6693 If user name can't be found, set it to "unknown". | |
6694 (octave_env::do_get_host_name) | |
6695 If host name can't be found, set it to "unknown". | |
6696 | |
6697 * pathsearch.h (dir_path::rehash): New function. | |
6698 * pathsearch.cc (dir_path::init): Clear kpathsea's internal | |
6699 diretcory cache before doing initialization. | |
6700 | |
3180 | 6701 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6702 | |
3185 | 6703 * dMatrix.cc (Qzval): Delete. |
6704 (qzhes, qzit, qzval): Delete F77_FCN declarations. | |
6705 * dMatrix.h (Qzval): Delete declaration. | |
6706 | |
6707 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. | |
6708 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. | |
6709 * mx-ext.h: Don't include dbleGEPBAL. | |
6710 | |
3180 | 6711 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
6712 static_cast. | |
6713 | |
6714 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6715 | |
6716 * dMatrix.cc (Matrix::read): Skip after reading, not before. | |
6717 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. | |
6718 | |
6719 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6720 | |
6721 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on | |
6722 HUGE_VAL and NAN. | |
6723 | |
6724 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6725 | |
6726 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
6727 Handle x(i) = scalar for do_fortran_indexing == 1. | |
6728 | |
6729 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6730 | |
6731 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): | |
6732 Alloctate space before attempting to use it. | |
6733 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. | |
6734 | |
5095 | 6735 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
3178 | 6736 |
6737 * EIG.cc (EIG::init): Move invariant code outside loop. | |
6738 | |
6739 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6740 | |
6741 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result | |
6742 have the same size as the operands. | |
6743 | |
6744 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6745 | |
6746 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the | |
6747 call to ddassl, set integration_error to 1 before calling the | |
6748 error handler and returning. | |
6749 * LSODE.cc (LSODE::do_integrate): Likewise. | |
6750 | |
3177 | 6751 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6752 | |
6753 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if | |
6754 do_fortran_indexing is set, A([]) = scalar. | |
6755 * Array-idx.h (assign): Allow A([]) = scalar. | |
6756 | |
3176 | 6757 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6758 | |
6759 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not | |
6760 if dm_nc == 0. | |
6761 | |
3174 | 6762 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6763 | |
6764 * pathsearch.h (dir_path::p_orig): New field. | |
6765 * pathsearch.cc (dir_path::init): Perform variable and tilde | |
6766 expansion on the original path here. | |
6767 (dir_path::find_all): Don't do anything if not initialized. | |
6768 | |
3164 | 6769 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6770 | |
6771 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing | |
6772 is not set. | |
6773 (index): Allow x = zeros (2, 0); x(1,:) to work. | |
6774 | |
6775 * lo-specfun.cc (gammainc): Use dgamit to compute | |
6776 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just | |
6777 \int_0^x exp(-t) t^(a-1) dt. | |
6778 | |
6779 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6780 | |
6781 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, | |
6782 Array-s.cc: Change return types of all `assign' explicit | |
6783 instantiations to be int, not void, to match the template decl in | |
6784 Array.h. | |
6785 | |
3162 | 6786 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6787 | |
6788 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. | |
6789 | |
3156 | 6790 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6791 | |
6792 * lo-specfun.cc (xgamma, xlgamma): Define here. | |
6793 * lo-mappers.cc: Not here. | |
6794 | |
6795 * lo-specfun.h: Declare xgamma and xlgamma here. | |
6796 * lo-mappers.h: Not here. | |
6797 | |
6798 * lo-specfun.h: Never declare gamma or lgamma. | |
6799 | |
3154 | 6800 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6801 | |
6802 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an | |
6803 empty matrix of any dimension. | |
6804 | |
3145 | 6805 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6806 | |
3147 | 6807 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
6808 | |
3146 | 6809 * lo-specfun.cc: Don't include dbleBessel.h. |
6810 | |
6811 * Makefile.in (INCLUDES): Delete oct-math.h from the list. | |
6812 | |
3145 | 6813 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
6814 * file-stat.h (file_stat::operator bool ()): Likewise. | |
6815 * idx-vector.h (idx_vector::operator bool ()): Likewise. | |
6816 * oct-group.h (octave_group::operator bool ()): Likewise. | |
6817 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. | |
6818 | |
6819 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): | |
6820 Don't cast arg in call to swap_8_bytes. | |
6821 (IEEE_big_double_to_IEEE_little_double): Ditto | |
6822 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to | |
6823 swap_4_bytes. | |
6824 (IEEE_little_float_to_IEEE_big_float): Ditto | |
6825 | |
6826 * oct-alloc.cc (grow): Use X_CAST, not static_cast. | |
6827 * prog-args.cc (prog_args::getopt): Likewise. | |
6828 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. | |
6829 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. | |
6830 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): | |
6831 Likewise. | |
6832 | |
6833 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, | |
6834 swap_8_bytes): Declare ptr arg as void*, then use cast. | |
6835 | |
3141 | 6836 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6837 | |
6838 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). | |
6839 Use $(mk-libdir-link). | |
6840 | |
6841 * file-stat.cc (file_stat::update_internal): Use stat and lstat, | |
6842 not SAFE_STAT and SAFE_LSTAT. | |
6843 (lstat): New function, defined if HAVE_LSTAT is not defined. | |
6844 * safe-xstat.hin, safe-xstat.cin: Delete. | |
6845 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, | |
6846 safe-lstat.h, and safe-lstat.cc. | |
6847 | |
3136 | 6848 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6849 | |
6850 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. | |
6851 | |
3130 | 6852 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6853 | |
6854 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the | |
6855 trace is negative. | |
6856 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if | |
6857 the real part of the trace is negative. | |
6858 | |
6859 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6860 | |
6861 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. | |
6862 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. | |
6863 | |
6864 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] | |
6865 to succeed. | |
6866 | |
3125 | 6867 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6868 | |
6869 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. | |
6870 (make_uniq): Likewise. | |
6871 | |
6872 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6873 | |
6874 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. | |
6875 | |
3119 | 6876 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6877 | |
3121 | 6878 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
6879 | |
6880 * lo-specfun.h, lo-specfun.cc: New files. | |
3119 | 6881 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
6882 | |
3121 | 6883 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
6884 oct-math.h: Delete. | |
6885 * Makefile.in (SOURCES): Delete them from the list. | |
6886 | |
3112 | 6887 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6888 | |
6889 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. | |
6890 | |
5095 | 6891 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
3107 | 6892 |
6893 Changes to make support egcs snapshots that implement explicit | |
6894 specification of template functions according to CD2. | |
6895 | |
6896 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit | |
6897 template function specs for template friends. | |
6898 * MArray2.h: Likewise. | |
6899 * MDiagArray2.h: Likewise. | |
6900 | |
3095 | 6901 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6902 | |
6903 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) | |
6904 | |
3092 | 6905 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
6906 | |
6907 * CRowVector.cc (linspace): Removed attempt for implicit conversion | |
6908 to complex<double>(int) instead of complex<double>(double). | |
6909 | |
6910 * lo-mappers.cc (atanh): Ditto. | |
6911 | |
3079 | 6912 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6913 | |
6914 * idx-vector.cc (IDX_VEC_REP::sort): New function. | |
6915 * idx-vector.h (idx_vector::sort): Ditto. | |
6916 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before | |
6917 trying to delete elements specified by the index vectors. | |
6918 | |
3075 | 6919 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6920 | |
6921 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. | |
6922 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. | |
6923 | |
3074 | 6924 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6925 | |
6926 * file-ops.cc (tilde_expand_word): Fix off-by-one error. | |
6927 | |
3069 | 6928 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6929 | |
6930 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. | |
6931 Call error handler if we can't find the current directory. | |
6932 | |
3068 | 6933 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6934 | |
3069 | 6935 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
6936 (xfinite (double)): Ditto. | |
6937 | |
3068 | 6938 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
6939 * CmplxQR.cc (ComplexQR::init): Ditto. | |
6940 | |
3056 | 6941 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6942 | |
6943 * lo-mappers.cc (acos (const Complex&)): Select branch that is | |
6944 compatible with Matlab. | |
6945 | |
3050 | 6946 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6947 | |
6948 * Array2-idx.h: Correctly handle empty matrices indexed by a | |
6949 single colon. | |
6950 | |
3040 | 6951 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6952 | |
3049 | 6953 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
6954 (xgamma): Likewise, for calling xdgamma. | |
6955 | |
3042 | 6956 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
6957 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. | |
6958 | |
3040 | 6959 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
6960 to do better job expanding tildes. | |
6961 | |
6962 * str-vec.cc (string_vector::string_vector (const char * const *): | |
6963 Use temporary variable to compute length. | |
6964 | |
3029 | 6965 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6966 | |
3034 | 6967 * Makefile.in: Make building of static library optional. |
3036 | 6968 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034 | 6969 |
3029 | 6970 * Makefile.in (stamp-picdir): Delete. |
6971 (pic): New target. Don't worry so much about creating pic | |
6972 directory only when it is really needed. | |
6973 (stamp-interp): Delete. | |
6974 (libraries): New target. Depend on shared library directly. | |
6975 | |
3024 | 6976 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6977 | |
6978 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): | |
6979 New static function. | |
6980 | |
3012 | 6981 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6982 | |
6983 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. | |
6984 | |
3004 | 6985 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6986 | |
6987 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to | |
6988 set_basic_quote_characters, to match new version of readline. | |
6989 | |
6990 * cmd-edit.cc (do_restore_terminal_state): Call readline function | |
6991 for restoring terminal state through rl_deprep_term_function, now | |
6992 declared in readline.h | |
6993 (rl_deprep_terminal): Delete declaration. | |
6994 | |
2993 | 6995 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6996 | |
6997 * Makefile.in (install-in): Use new mk-includedir-link macro. | |
6998 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. | |
6999 | |
2968 | 7000 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7001 | |
7002 * cmd-edit.cc (command_editor::increment_current_command_number): | |
7003 New static function. | |
7004 | |
2964 | 7005 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7006 | |
2966 | 7007 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
7008 the vector is not sorted. | |
7009 | |
2964 | 7010 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
7011 * dMatrix.cc (Matrix::operator !): Likewise | |
7012 | |
2941 | 7013 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7014 | |
7015 * oct-syscalls.h, oct-syscalls.cc: New files. | |
7016 | |
7017 * cmd-edit.h, cmd-edit.cc: Handle completion function. | |
7018 | |
7019 * str-vec.h, str-vec.cc (string_vector::uniq): New function. | |
7020 | |
2938 | 7021 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7022 | |
2941 | 7023 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
7024 (install-inc): Use it. | |
7025 | |
2938 | 7026 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
7027 Handle errors and missing functions consistently. | |
7028 | |
7029 * oct-group.h, oct-group.cc: New files. | |
7030 | |
7031 * oct-passwd.cc: Handle errors and missing functions consistently. | |
7032 | |
7033 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. | |
7034 | |
2934 | 7035 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7036 | |
7037 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. | |
7038 * oct-env.cc (octave_env::do_get_user_name): Likewise. | |
7039 | |
7040 * oct-passwd.h, oct-passwd.cc: New files. | |
7041 | |
2926 | 7042 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7043 | |
7044 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. | |
7045 | |
7046 * mach-info.h, mach-info.cc: Add missing const qualifiers. | |
7047 (instance_ok ()): New function. | |
7048 | |
7049 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. | |
7050 | |
7051 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. | |
7052 | |
7053 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from | |
7054 src/utils.h and src/utils.cc. | |
7055 (octave_fgets): New function, extracted from src/input.cc. | |
7056 | |
7057 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for | |
7058 GNU readline, and allow Octave to work without GNU readline. | |
7059 | |
7060 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous | |
7061 system-dependent functions. | |
7062 | |
7063 * oct-env.h, oct-env.cc: New files for process environment stuff. | |
7064 | |
7065 * file-stat.h, file-stat.cc: New files. Extract file_stat class | |
7066 from file-ops.h and file-ops.cc and move here. | |
7067 | |
7068 * file-ops.h, file-ops.cc: Wrap functions in struct. Move | |
7069 tilde_expand functions here from src/dirfns.cc. | |
7070 | |
7071 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7072 | |
7073 * pathlen.h: New file, from ../src. | |
7074 | |
2917 | 7075 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7076 | |
7077 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent | |
7078 out-of-bounds indexing of the index array. | |
7079 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. | |
7080 | |
2850 | 7081 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7082 | |
7083 * LSODE.h (x_step_limit): New field. | |
7084 (LSODE_options::init): Initialize it. | |
7085 (LSODE_options::copy): Copy it. | |
7086 (LSODE_options::set_step_limit, LSODE_options::step_limit): | |
7087 New functions. | |
7088 (LSODE::working_too_hard): Delete. | |
7089 * LSODE.cc (LSODE::do_integrate): Handle step limit. | |
7090 | |
2844 | 7091 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7092 | |
7093 * MArray-b.cc: Delete. | |
7094 * Makefile.in: Delete it from the lists. | |
7095 | |
7096 * boolMatrix.h (class bboolMatrix): Derive from Array2, not | |
7097 MArray2, since most of the numeric ops don't really make sense. | |
7098 | |
2829 | 7099 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7100 | |
2832 | 7101 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
7102 | |
7103 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. | |
7104 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. | |
7105 | |
2830 | 7106 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
7107 idx_vector::freeze): Delete prefer_zero_one arg. | |
7108 * Array-idx.h, Array2-idx.h: Change all callers. | |
7109 | |
7110 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. | |
7111 | |
2829 | 7112 * mx-op-defs.h: New file for operator definitions. |
7113 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, | |
7114 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, | |
7115 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, | |
7116 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, | |
7117 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, | |
7118 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, | |
7119 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, | |
7120 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, | |
7121 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, | |
7122 mx-s-cm.cc, mx-s-dm.cc: | |
7123 New files for mixed-type operations. | |
7124 * Makefiles.in: Add them to the appropriate lists. | |
7125 | |
7126 * mx-inlines.cc: Add bool by bool EQ ops. | |
7127 | |
7128 * idx-vector.h, idx-vector.cc: Add constructors for bool and | |
7129 boolMatrix types. | |
7130 (idx_vector::maybe_convert_one_zero_to_idx, | |
7131 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): | |
7132 Delete second arg, prefer_zero_one. Change all callers. | |
7133 | |
7134 * boolMatrix.h, boolMatrix.cc: New files. | |
7135 * mx-base.h: Include boolMatrix.h here. | |
7136 * mx-defs.h: Provide forward declaration for boolMatrix here. | |
7137 | |
7138 * chMatrix.h, chMatrix.cc: Delete unused junk. | |
7139 | |
7140 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, | |
7141 operator-, operator*, product, and quotient functions. | |
7142 Add constructor for boolMatrix type. | |
7143 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, | |
7144 product, and quotient functions. | |
7145 | |
7146 * CDiagMatrix.h: Delete friend declarations for operator+, | |
7147 operator-, and product functions. | |
7148 * CDiagMatrix.h: Delete operator+, operator-, and product functions. | |
7149 | |
7150 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. | |
7151 | |
2815 | 7152 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7153 | |
7154 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. | |
7155 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. | |
7156 (EIG::symmetric_init (const Matrix&)): New function. | |
7157 (EIG::init (const Matrix&)): Call it if arg is symmetric. | |
7158 | |
7159 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. | |
7160 | |
7161 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7162 | |
7163 * Array2.cc (is_symmetric): New function. | |
7164 * Array2.h (is_square): New function. | |
7165 | |
2811 | 7166 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7167 | |
7168 * Makefile.in (install-strip): New target. | |
7169 | |
2804 | 7170 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7171 | |
7172 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
7173 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, | |
7174 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
7175 dbleSVD.cc: Don't include mx-inlines.cc. | |
7176 | |
7177 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of | |
7178 duplicate code. | |
7179 | |
2800 | 7180 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7181 | |
2804 | 7182 * dbleQR.h (QR): Delete extra comma at end of list. |
7183 | |
7184 * prog-args.cc (prog_args::getopt): Add missing const in cast. | |
7185 | |
7186 * dbleSVD.h (SVD::type): Delete extra comma at end of list. | |
7187 | |
7188 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and | |
7189 idx_vecotr_rep:: qualifiers. | |
7190 | |
7191 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. | |
7192 | |
7193 * data-conv.h (save_type): Delete extra comma at end of list. | |
7194 | |
2800 | 7195 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
7196 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, | |
7197 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of | |
7198 old C-style `(T) val' casts. | |
7199 | |
2795 | 7200 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7201 | |
7202 * dMatrix.cc (operator >>): Return if an error occurs instead of | |
7203 just breaking out of the innermost loop. | |
7204 * CMatrix.cc (operator >>): Likewise. | |
7205 | |
2779 | 7206 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775 | 7207 |
7208 * Version 2.0.5 released. | |
7209 | |
2767 | 7210 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7211 | |
7212 * CmplxQR.cc (ComplexQR::init): New function. | |
7213 (ComplexQR::ComplexQR): Use it. Use initializer list too. | |
7214 * CmplxQRP.cc (ComplexQRP::init): New function. | |
7215 Get sizes right in all cases. | |
7216 (ComplexQR::ComplexQRP): Use it. Use initializer list too. | |
7217 | |
7218 * dbleQR.cc (QR::init): New function. | |
7219 (QR::QR): Use it. Use initializer list too. | |
7220 * dbleQRP.cc (QRP::init): New function. | |
7221 Get sizes right in all cases. | |
7222 (QR::QRP): Use it. Use initializer list too. | |
7223 | |
2759 | 7224 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7225 | |
7226 * mach-info.cc (oct_mach_info::string_to_float_format): | |
7227 Recognize "vaxg", not "vax_g". | |
7228 | |
2713 | 7229 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7230 | |
2714 | 7231 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
7232 dimension in check for colon equivalent index. | |
7233 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element | |
7234 index whose value is 0 is also colon eqivalent for n == 1. | |
7235 | |
2713 | 7236 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
7237 system-specific tests first. | |
7238 | |
2709 | 7239 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702 | 7240 |
7241 * Version 2.0.4 released. | |
7242 | |
7243 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7244 | |
7245 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. | |
7246 | |
2693 | 7247 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690 | 7248 |
7249 * Version 2.0.3 released. | |
7250 | |
2686 | 7251 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7252 | |
7253 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. | |
7254 | |
2673 | 7255 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7256 | |
2676 | 7257 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
7258 (all): Don't depend on stamp-prereq or stamp-picdir. | |
7259 (liboctave.a, stamp-shared): Do depend on stamp-prereq. | |
7260 (stamp-picdir): Silence noise about making pic. | |
7261 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. | |
7262 | |
2673 | 7263 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
7264 Fix typo in last change. | |
7265 | |
7266 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): | |
7267 Convert from friend (moved from dColVector.cc). | |
7268 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): | |
7269 Likewise (moved from dMatrix.cc). | |
7270 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): | |
7271 Likewise (moved from dRowVector.cc). | |
7272 | |
7273 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. | |
7274 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. | |
7275 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. | |
7276 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. | |
7277 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. | |
7278 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. | |
7279 | |
7280 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. | |
7281 * dMatrix.cc (Matrix::apply): Likewise. | |
7282 * dRowVector.cc (RowVector::apply): Likewise. | |
7283 * CColVector.cc (ComplexColumnVector::apply): Likewise. | |
7284 * CMatrix.cc (ComplexMatrix::apply): Likewise. | |
7285 * CRowVector.cc (ComplexRowVector::apply): Likewise. | |
7286 | |
2668 | 7287 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7288 | |
7289 * lo-ieee.cc: Declare quiet_nan() and infinity(). | |
7290 | |
7291 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7292 | |
7293 * file-ops.cc (oct_unlink (const string&, string&)): | |
7294 New two-arg version. | |
7295 (oct_rmdir (const string&, string&)): New two-arg version. | |
7296 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. | |
7297 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. | |
7298 (oct_rename (const string&, const string&, string&)): | |
7299 New three-arg version. | |
7300 | |
2663 | 7301 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7302 | |
7303 * idx-vector.h (idx_vector::orig_empty): New function. | |
7304 | |
7305 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): | |
7306 Don't always resize to [](0x0) if one of the indices is empty or | |
7307 zero. | |
7308 | |
2658 | 7309 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7310 | |
7311 * cmd-hist.cc (command_history::read): New arg, must_exist. | |
7312 Set line_in_file here too. | |
7313 (command_history::read_range): New arg, must_exist. | |
7314 | |
2651 | 7315 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7316 | |
7317 * f2c-main.c: Change C++-style comments to C-style comments. | |
7318 | |
2638 | 7319 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7320 | |
7321 * Makefile.in (install-inc): Create a relative symbolic link. | |
7322 | |
2634 | 7323 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7324 | |
7325 * Version 2.0.2 released. | |
7326 | |
2624 | 7327 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7328 | |
7329 * Makefile.in (bin-dist): New target. | |
7330 | |
2621 | 7331 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7332 | |
7333 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. | |
7334 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. | |
7335 | |
2613 | 7336 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7337 | |
7338 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
7339 If the number of columns is zero, also set the number of rows to zero. | |
7340 (charMatrix::charMatrix (const char *)): Likewise. | |
7341 | |
2602 | 7342 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7343 | |
7344 * Version 2.0.1 released. | |
7345 | |
2601 | 7346 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7347 | |
7348 * dMatrix.cc (Matrix::read): Correctly compute the number of | |
7349 columns for resizing when the number of rows is specified but the | |
7350 number of columns is not. | |
7351 | |
2598 | 7352 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7353 | |
2599 | 7354 * Range.cc (operator -): New function. |
7355 | |
2598 | 7356 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
7357 | |
2589 | 7358 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7359 | |
7360 * Array2-idx.h (assign): Delay resizing left hand side until we | |
7361 know if the assignment conforms. | |
7362 | |
2583 | 7363 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7364 | |
7365 * Version 2.0 released. | |
7366 | |
2570 | 7367 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7368 | |
2575 | 7369 * Array2-idx.h (assign): If index is a colon, set number of |
7370 elements to the lhs dimension if the lhs dimension is greater than | |
7371 zero. Otherwise, set it to the rhs dimension. | |
7372 | |
7373 * Version 1.94. | |
7374 | |
2570 | 7375 * Array2-idx.h (assign): Test for rhs scalar case first. |
7376 If index is colon, set number of elements to lhs dimension, not | |
7377 rhs dimension. | |
7378 | |
2563 | 7379 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7380 | |
2566 | 7381 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
7382 * sun-utils.cc: Delete. | |
7383 * f2c-main.c: New file | |
7384 | |
7385 * Makefile.in: Fix file name lists. | |
7386 | |
2563 | 7387 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
7388 | |
2561 | 7389 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7390 | |
7391 * dMatrix.cc (Qzval): Don't try to use same memory three times. | |
7392 Create result using Complex constructor, not multiplication. | |
7393 Order elements as they are returned from Eispack. | |
7394 | |
2559 | 7395 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7396 | |
2560 | 7397 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
7398 Only include nan.h if SCO is defined. Define _IEEE before | |
7399 including it and undefine it afterward. | |
7400 [SCO] (isnan): Don't mistake Inf as NaN. | |
7401 | |
2559 | 7402 * Array-idx.h (assign): Only resize if assignment conforms. |
7403 | |
2551 | 7404 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7405 | |
7406 * Makefile.in (INCLUDES): Delete lo-error.h. | |
7407 * lo-error.h: Delete (moved to libcruft/misc). | |
7408 | |
7409 * Version 1.93. | |
7410 | |
2546 | 7411 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7412 | |
2549 | 7413 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
7414 be the same as they are in fnmatch.h. | |
7415 | |
2546 | 7416 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
7417 | |
7418 * Makefile.in (INCLUDES): Delete f77-fcn.h. | |
7419 (SOURCES): Delete f77-fcn.c. | |
7420 | |
2522 | 7421 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7422 | |
7423 * lo-ieee.h: [SCO]: Declare isinf and isnan. | |
7424 | |
2512 | 7425 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7426 | |
7427 * Version 1.92. | |
7428 | |
2508 | 7429 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7430 | |
2512 | 7431 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
7432 lines that have only carriage return or newline. | |
7433 | |
2508 | 7434 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
7435 | |
2500 | 7436 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7437 | |
7438 * idx-vector.cc (idx_is_inf_or_nan): New function. | |
7439 (IDX_VEC_REP::idx_vector_rep): Use it. | |
7440 | |
2493 | 7441 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7442 | |
7443 * str-vec.h, str-vec.cc: Add constructors to make string vectors | |
7444 from vectors of C strings. | |
7445 | |
7446 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string | |
7447 vector. | |
7448 (glob_match::match): Allow match string to be a string vector. | |
7449 (glob_match::glob): New function. | |
7450 | |
7451 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. | |
7452 | |
7453 * Array-b.cc: New file. | |
7454 * Makefile.in (TI_SRC): Add it to the list. | |
7455 | |
2492 | 7456 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7457 | |
7458 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h | |
7459 and safe-stat.h, to avoid getting them from $srcdir when we really | |
7460 want the version from the build directory. (Maybe this should be | |
7461 done for all the include files, not just those that are | |
7462 auto-generated? Hmm.) | |
7463 | |
2481 | 7464 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7465 | |
2482 | 7466 * Version 1.91. |
7467 | |
2481 | 7468 * Array3.cc (Array3<T>::resize): Make it work. |
7469 | |
7470 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7471 | |
7472 * oct-alloc.h, oct-alloc.cc: New files. | |
7473 * Makefile.in: Add them to the lists. | |
7474 | |
7475 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7476 | |
7477 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. | |
7478 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. | |
7479 | |
2466 | 7480 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7481 | |
7482 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, | |
7483 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
7484 file_stat::is_reg, file_stat::is_sock): Just return false if the | |
7485 underlying macro is not defined. | |
7486 | |
7487 * oct-math.h (lgamma, gamma): Delete declarations. | |
7488 (asinh, acosh, atanh, erf, erfc): Declare arg types too. | |
7489 Protect declarations with #ifdef HAVE_*. | |
7490 | |
2440 | 7491 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7492 | |
2452 | 7493 * Version 1.90. |
7494 | |
7495 * Makefile.in (DISTFILES): Add ChangeLog. | |
7496 | |
2444 | 7497 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
7498 | |
7499 * Matrix-ext.cc: Include <cfloat>, not <float.h>. | |
7500 | |
2443 | 7501 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444 | 7502 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
7503 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. | |
2443 | 7504 |
2440 | 7505 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
7506 since that is now accepatble syntax, even for built-in types. | |
7507 * Array2.h (T Array2<T>::checkelem): Likewise | |
7508 | |
2433 | 7509 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7510 | |
7511 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error | |
7512 message and return -1. | |
7513 | |
2428 | 7514 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7515 | |
2431 | 7516 * str-vec.h (str_vec_compare): Declare args as const void *, then |
7517 cast them to const string * in the body of the function. | |
7518 | |
7519 * file-ops.cc (file_stat::mode_as_string): Explicitly construct | |
7520 string from buf. | |
7521 | |
2428 | 7522 * Array3.h (Array3::checkelem): Tag bogus return value with |
7523 GCC_ATTRIBUTE_UNUSED. | |
7524 * Array2.h (Array2::checkelem): Likewise. | |
7525 | |
2424 | 7526 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7527 | |
7528 * Quad.h (Quad): Define virtual destructor. | |
7529 | |
2408 | 7530 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7531 | |
7532 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. | |
7533 | |
2401 | 7534 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7535 | |
7536 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ | |
7537 and MAIN__ extern "C". | |
7538 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. | |
7539 | |
2391 | 7540 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7541 | |
7542 * MArray-misc.cc: New file. | |
7543 * Makefile.in (MATRIX_SRC): Add it to the list. | |
7544 | |
7545 * mx-inlines.cc (equal): Return bool, not int. | |
7546 | |
7547 * idx-vector.h (idx_vector (double)): New constructor. | |
7548 | |
7549 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, | |
7550 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, | |
7551 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, | |
7552 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, | |
7553 CRowVector.cc: Logical operators return bool, not int. | |
7554 | |
7555 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): | |
7556 New function. | |
7557 | |
7558 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, | |
7559 Matrix::any_element_is_inf_or_nan, Matrix::abs, | |
7560 Matrix::all_elements_are_inf_or_nan): New functions. | |
7561 | |
7562 * Range.h, Range.cc (Range::all_elements_are_ints): New function. | |
7563 | |
7564 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant | |
7565 for errors. Simplify macros by converting FCN to string for error | |
7566 messages. | |
7567 | |
7568 * Array-idx.h (Array<T>::index): New function. Don't call | |
7569 clear_index() here. | |
7570 (Array<T>::value): Call it, do call clear_index() here. | |
7571 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for | |
7572 one and two arg index functions. | |
7573 | |
7574 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7575 | |
7576 * DAEFunc.h: Delete #pragma interface since there is no longer a | |
7577 separate implementation file. | |
7578 | |
2354 | 7579 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7580 | |
2358 | 7581 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
7582 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. | |
7583 | |
2356 | 7584 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
7585 sort_uniq. If sort_uniq is nonzero, sort the elements and make | |
7586 them uniq. | |
7587 | |
2354 | 7588 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
7589 ComplexMatrix::column_max, ComplexMatrix::column_min): | |
7590 Rewrite. Also return index as a reference arg. | |
7591 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, | |
7592 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): | |
7593 Delete. | |
7594 | |
7595 * dMatrix.cc (Matrix::row_max, Matrix::row_min, | |
7596 Matrix::column_max, Matrix::column_min): | |
7597 Rewrite. Also return index as a reference arg. | |
7598 (Matrix::row_max_loc, Matrix::row_min_loc, | |
7599 Matrix::column_max_loc, Matrix::column_min_loc): Delete. | |
7600 | |
7601 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7602 | |
7603 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, | |
7604 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, | |
7605 Matrix::column_min_loc, Matrix::column_max, | |
7606 Matrix::column_max_loc): Ignore leading NaNs. | |
7607 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, | |
7608 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, | |
7609 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, | |
7610 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore | |
7611 leading NaNs. | |
7612 | |
2352 | 7613 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7614 | |
7615 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds | |
7616 starting at n, not 0. | |
7617 | |
2349 | 7618 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7619 | |
7620 * dMatrix.cc (Matrix::Matrix (const RowVector&), | |
7621 Matrix::Matrix (const ColumnVector&)): New constructors. | |
7622 | |
7623 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), | |
7624 ComplexMatrix::ComplexMatrix (const ColumnVector&), | |
7625 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), | |
7626 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): | |
7627 New constructors. | |
7628 | |
7629 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): | |
7630 New constructor. | |
7631 | |
2343 | 7632 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7633 | |
7634 * LSODE.cc (do_integrate): Check to make sure that the state and | |
7635 derivative vectors are the same size. | |
2344 | 7636 * DASSL.cc (do_integrate): Likewise. |
2343 | 7637 |
2330 | 7638 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7639 | |
7640 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use | |
7641 iostreams and handler data format conversions. Delete old methods | |
7642 that used stdio. | |
7643 | |
7644 * data-conv.h, data-conv.cc (oct_data_conv): New class. | |
7645 | |
7646 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7647 | |
7648 * mach-info.h: Rename from float-fmt.h. | |
7649 * mach-info.cc: Rename from float-fmt.cc. | |
7650 Handle machine information using a singlton class. | |
7651 * Makefile.in: Update appropriate lists. | |
7652 | |
7653 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7654 | |
7655 * Array-flags.cc: Provide definitions for the flags even if | |
7656 OCTAVE_SOURCE is not defined. | |
7657 | |
7658 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects | |
7659 operator(), not elem(). | |
7660 * Array3.h: Move indexing methods here from Array3.cc. | |
7661 | |
7662 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7663 | |
7664 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). | |
7665 | |
7666 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of | |
7667 INSTALL_DATA for shared libs. | |
7668 | |
7669 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7670 | |
7671 * Quad.cc: Include lo-error.h here too. | |
7672 | |
7673 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7674 | |
7675 * file-ops.h: Include sys/types.h here. | |
7676 | |
7677 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7678 | |
7679 * chMatrix.cc (charMatrix::transpose): Provide definition. | |
7680 | |
7681 * Array-idx.h (maybe_delete_elements): Correctly compute number of | |
7682 elements in result. | |
7683 * Array2-idx.h (maybe_delete_elements): Likewise for number of | |
7684 rows and columns in result. | |
7685 | |
7686 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7687 | |
7688 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. | |
7689 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. | |
7690 | |
7691 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7692 | |
7693 * Makefile.in (install-inc): Install in octincludedir, not includedir. | |
7694 | |
7695 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7696 | |
7697 * Makefile.in (uninstall): Also delete shared library. | |
7698 Split install into install-libs and install-includes. | |
7699 (install-inc): If linkdir is a directory, leave it alone. | |
7700 | |
7701 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. | |
7702 | |
7703 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7704 | |
7705 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. | |
7706 * Array2-idx.h (assign): Likewise. | |
7707 | |
7708 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7709 | |
7710 * Array2.cc (Array2<T>::range_error): New functions. | |
7711 | |
7712 * Array.h (class Array<T>): elem() and operator() are now | |
7713 equivalent, and do bounds checking by default. | |
7714 * Array2.cc (class Array2<T>): Likewise. | |
7715 | |
7716 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7717 | |
7718 * Makefile.in (maintainer-clean, distclean): Also delete | |
7719 stamp-picdir, stamp-shared, and pic directory. | |
7720 (stamp-prereq): New target. | |
7721 | |
7722 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7723 | |
7724 * NPSOL.h (NPSOL_options::set_option (const char *, int)): | |
7725 New function. | |
7726 | |
7727 * Array.h, Array.cc (Array<T>::range_error ()): New functions. | |
7728 * Array.h (Array<T>::checkelem): Use them. | |
7729 | |
7730 * base-lu.h, base-lu.cc: Parameterize based on types of matrix | |
7731 elements too. | |
7732 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. | |
7733 | |
7734 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. | |
7735 | |
7736 * Makefile.in (distclean): Delete so_locations, which is created | |
7737 on DEC Alpha systems. | |
7738 | |
7739 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7740 | |
7741 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not | |
7742 already defined. | |
7743 | |
7744 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7745 | |
7746 * pathsearch.cc: Include config.h. | |
7747 | |
7748 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7749 | |
7750 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't | |
7751 allow M(I, J) = scalar if I or J is empty. | |
7752 | |
7753 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h | |
7754 and Array3-idx.h). | |
7755 | |
7756 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7757 | |
7758 * lo-error.h: Make comments C friendly. | |
7759 | |
7760 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7761 | |
7762 * Array2.h (make_unique): Move all indexing functions here. | |
7763 * Array2.cc: From here. | |
7764 | |
7765 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control | |
7766 whether operator() calls elem or checkelem. | |
7767 | |
7768 * Array.h (make_unique): New private function. | |
7769 Move all indexing functions here. | |
7770 * Array.cc: From here. | |
7771 | |
7772 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference | |
7773 it too. | |
7774 | |
7775 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, | |
7776 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, | |
7777 MArray-C.cc: Include config.h. | |
7778 | |
7779 * Array.h, Array2.h, DiagArray2.h, Array3.h: | |
7780 Don't define HEAVYWEIGHT_INDEXING here. | |
7781 | |
7782 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7783 | |
7784 * base-lu.h, base-lu.cc: New files. | |
7785 * Makefile.in: Add them to the appropriate lists. | |
7786 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. | |
7787 | |
7788 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7789 | |
7790 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h | |
7791 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h | |
7792 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. | |
7793 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. | |
7794 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. | |
7795 | |
7796 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. | |
7797 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. | |
7798 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. | |
7799 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: | |
7800 Simplify using new macros. | |
7801 | |
7802 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7803 | |
7804 * Makefile.in (install): If $(includedir) ends in version string, | |
7805 make link to name that does not include version info. | |
7806 | |
7807 * lo-ieee.cc: Include <cmath> here. | |
7808 | |
7809 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7810 | |
7811 * lo-ieee.cc, lo-ieee.h: New files. | |
7812 * lo-mappers.cc, lo-mappers.h: New files. | |
7813 * lo-utils.cc, lo-utils.h: New files. | |
7814 * Makefile.in: Add them to the appropriate lists. | |
7815 | |
7816 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7817 | |
7818 * dMatrix.cc (all_integers, too_large_for_float): New functions. | |
7819 * CMatrix.cc (all_integers, too_large_for_float): New functions. | |
7820 | |
7821 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, | |
7822 float-fmt.cc: New files. | |
7823 * Makefile.in: Include them in the appropriate lists. | |
7824 | |
7825 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7826 | |
7827 * dMatrix.cc (Qzval): New function. | |
7828 | |
7829 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7830 | |
7831 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not | |
7832 char*. | |
7833 | |
7834 * DASSL.h, DASSL.cc: Do better management of temporary workspace. | |
7835 Use F77_XFCN to call Fortran subroutine. | |
7836 * dColVector.cc, CColVector.cc: Likewise. | |
7837 * dRowVector.cc, CRowVector.cc: Likewise. | |
7838 * NPSOL.h, NPSOL.cc: Likewise. | |
7839 * CmplxCHOL.cc: Likewise. | |
7840 * dbleCHOL.cc: Likewise. | |
7841 * CMatrix.cc: Likewise. | |
7842 * dMatrix.cc: Likewise. | |
7843 * QPSOL.cc: Likewise. | |
7844 * LSODE.cc: Likewise. | |
7845 | |
7846 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7847 | |
7848 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. | |
7849 | |
7850 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary | |
7851 workspace. Use F77_XFCN to call Fortran subroutine. | |
7852 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. | |
7853 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. | |
7854 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. | |
7855 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. | |
7856 * CmplxHESS.h, CmplxHESS.cc: Likewise. | |
7857 * CmplxSVD.h, CmplxSVD.cc: Likewise. | |
7858 * dbleHESS.h, dbleHESS.cc: Likewise. | |
7859 * dbleSVD.h, dbleSVD.cc: Likewise. | |
7860 * EIG.h, EIG.cc; Likewise. | |
7861 * CollocWt.cc: Likewise. | |
7862 * NLEqn.cc: Likewise. | |
7863 * Quad.cc: Likewise. | |
7864 | |
7865 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7866 | |
7867 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. | |
7868 Use F77_XFCN to call Fortran subroutine. | |
7869 * CmplxLU.h, CmplxLU.cc: Ditto. | |
7870 * dbleQR.h, dbleQR.cc: Ditto. | |
7871 * CmplxQR.h, CmplxQR.cc: Ditto. | |
7872 * dbleQRP.h, dbleQRP.cc: Ditto. | |
7873 * CmplxQRP.h, CmplxQRP.cc: Ditto. | |
7874 | |
7875 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. | |
7876 (struct DIR): delete forward declaration. | |
7877 (dir_entry::operator = (const dir_entry$)): Protect against | |
7878 copying same object. | |
7879 * dir-ops.cc: Cast dir appropriately. | |
7880 | |
7881 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7882 | |
7883 * lo-error.cc: Moved to libcruft/misc. | |
7884 * Makefile.in: Delete it from the list. | |
7885 | |
7886 * f77-fcn.c (f77_context, f77_exception_encountered): Delete | |
7887 definitions (they have been moved to libcruft/misc/f77-extern.cc). | |
7888 | |
7889 * Array-flags.h: New file. | |
7890 * Array-idx.h: Include it here. | |
7891 * Makefile.in (MATRIX_INC): Add it to the list. | |
7892 | |
7893 * Array-flags.cc: Renamed from Array-ext.cc. | |
7894 (liboctave_dfi_flag): Renamed from dfi_flag. | |
7895 (liboctave_pcv_flag): Renamed from pcv_flag. | |
7896 (liboctave_pzo_flag): Renamed from pzo_flag. | |
7897 (liboctave_rre_flag): Renamed from rre_flag. | |
7898 * Array-idx.h: Change all uses of dfi_flag, etc. | |
7899 * Makefile.in (MATRIX_SRC): Change file name here too. | |
7900 | |
7901 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. | |
7902 (stamp-shared): Use them here. | |
7903 | |
7904 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7905 | |
7906 * cmd-hist.cc (command_history::ignore_entries): Delete default | |
7907 argument value. | |
7908 | |
7909 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7910 | |
7911 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, | |
7912 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, | |
7913 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, | |
7914 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: | |
7915 Clean up constructors, assigment operator. | |
7916 | |
7917 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7918 | |
7919 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. | |
7920 Check f77_exception_encountered on return. | |
7921 | |
7922 * f77-fcn.c (f77_exception_encountered): New variable. | |
7923 (F77_XFCN): Set it. | |
7924 * f77-fcn.h: Provide declaration. | |
7925 | |
7926 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). | |
7927 | |
7928 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). | |
7929 | |
7930 * NLEqn.h (NLEqn_options::set_options): New function. | |
7931 * Quad.h (Quad_options::set_options): Likewise. | |
7932 | |
7933 * LP.h (class LP): Add accessors for LP data. | |
7934 | |
7935 * NLEqn.h (NLEqn::n): Delete. | |
7936 | |
7937 * NLEqn.h (class NLEqn::n): Likewise. | |
7938 | |
7939 * NLP.h (class NLP): Add accessors for NLP data. | |
7940 | |
7941 * NPSOL.h (class NPSOL_options): Move constructors, set, and | |
7942 access functions here. | |
7943 * NPSOL.cc.cc: From here. | |
7944 | |
7945 * QLD.h (class QLD): Add destructor definition. | |
7946 * Objective.h (class Objective): Likewise. | |
7947 * ODEFunc.h (class ODEFunc): Likewise. | |
7948 * NLFunc.h (class NLFunc): Likewise. | |
7949 * NLEqn.h (class NLEqn): Likewise. | |
7950 * NLConst.h (class NLConst): Likewise. | |
7951 * LinConst.h (class LinConst): Likewise. | |
7952 * LSODE.h (class LSODE_options): Likewise. | |
7953 * CollocWt.h (class CollocWt): Likewise. | |
7954 * Bounds.h (class Bounds): Likewise. | |
7955 | |
7956 * QLD.cc (QLD::set_default_options): Delete. | |
7957 | |
7958 * QP.h (QP): Add accessors for QP data. | |
7959 Add copy constructor, operator =, and destructor definitions. | |
7960 | |
7961 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, | |
7962 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, | |
7963 DAEFunc.h, CollocWt.h, Bounds.h: | |
7964 Clean up constructors, assigment operator. | |
7965 | |
7966 * dRowVector.cc (RowVector::transpose): Use magic of reference | |
7967 counting to avoid duplicating the data immediately. | |
7968 * dColVector.cc (ColumnVector::transpose): Likewise. | |
7969 * CRowVector.cc (ComplexrowVector::transpose): Likewise. | |
7970 * CColVector.cc (ComplexColumnVector::transpose): Likewise. | |
7971 | |
7972 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7973 | |
7974 * prog-args.h (prog_args::option_argument): New enum. | |
7975 | |
7976 * f77-fcn.h: Rename from f77-uscore.h. | |
7977 (F77_XFCN_ERROR, F77_XFCN): New macros. | |
7978 * f77-fcn.c: New file. | |
7979 * Makefile.in (SOURCES): Add it to the list. | |
7980 | |
7981 * ODEFunc.h: Clean up. | |
7982 | |
7983 * DASSL.cc, DASSL.h: New files. | |
7984 * Makefile.in: Add them to the appropriate lists. | |
7985 | |
7986 * LSODE.cc, LSODE.h: New files. | |
7987 * Makefile.in: Add them to the appropriate lists. | |
7988 | |
7989 * ODE.cc: Delete. | |
7990 * Makefile.in (SOURCES): Remove from list. | |
7991 | |
7992 * base-de.h, DAE.cc: New files. | |
7993 * Makefile.in: Add them to the appropriate lists. | |
7994 * ODE.h: Only define interface for ODE classes. | |
7995 * DAE.h: Only define interface for ODE classes. | |
7996 | |
7997 * LPsolve.cc (do_minimize): Print sorry not implemented message. | |
7998 (LPsolve::set_default_options)): Delete | |
7999 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and | |
8000 destructor. | |
8001 | |
8002 * LP.h (class LP): Add operator =, copy constructor, and destructor. | |
8003 | |
8004 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. | |
8005 (QPSOL::operator =): Call base class operator = instead of assuming | |
8006 we know what to copy. | |
8007 | |
8008 * base-min.h (size): New function. | |
8009 | |
8010 * NLP.h (NLP::size): Delete. | |
8011 (NLP::NLP (const NLP&)): New constructor. | |
8012 (NLP::operator =): Call base class operator = instead of assuming | |
8013 we know what to copy. | |
8014 | |
8015 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. | |
8016 (class NPSOL): Add operator = and destructor. | |
8017 | |
8018 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. | |
8019 | |
8020 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8021 | |
8022 * Makefile.in (liboctave.a): Depend on $(PICOBJ). | |
8023 | |
8024 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8025 | |
8026 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. | |
8027 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. | |
8028 | |
8029 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8030 | |
8031 * prog-args.h, prog-args.cc: New files. | |
8032 * Makefile.in: Add them to lists. | |
8033 | |
8034 * getopt.h, getopt.c, getopt1.c: New files. | |
8035 * Makefile.in: Add them to the lists. | |
8036 | |
8037 * oct-term.h, oct-term.cc: New files. | |
8038 * Makefile.in: Add them to the lists. | |
8039 | |
8040 * str-vec.cc: New file. | |
8041 * Makefile.in (SOURCES): Add it to the list. | |
8042 | |
8043 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. | |
8044 | |
8045 * tempname.c, tempnam.c: Move here from src directory. | |
8046 * Makefile.in: Add to lists. | |
8047 | |
8048 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8049 | |
8050 * cmd-hist.h, cmd-hist.cc: New files. | |
8051 * Makefile.in: Add them to lists. | |
8052 | |
8053 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8054 | |
8055 * oct-glob.h, oct-glob.cc: New files. | |
8056 * Makefile.in: Add them to lists. | |
8057 | |
8058 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8059 | |
8060 * pathsearch.h, pathsearch.cc: New files. | |
8061 * Makefile.in: Add them to lists. | |
8062 | |
8063 * dir-ops.h, dir-ops.cc: New files. | |
8064 * sysdir.h: Move here from src directory. | |
8065 * Makefile.in: Add them to lists. | |
8066 | |
8067 * Array.h (Array::qsort): Return *this, not void. | |
8068 * str-vec.h (string_vector::qsort): Likewise. | |
8069 | |
8070 * chMatrix.cc (row_as_string): Resize result to eliminate | |
8071 unnecessary NULs. | |
8072 | |
8073 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8074 | |
8075 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, | |
8076 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: | |
8077 Files moved here from src directory. | |
8078 * Makefile.in: Add them to lists. Include appropriate rules. | |
8079 | |
8080 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
8081 Use pointers, not references (this is C code!). | |
8082 | |
8083 * oct-math.h: New file. | |
8084 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
8085 Files moved here from src directory. | |
8086 * Makefile.in: Add them to lists. | |
8087 | |
8088 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8089 | |
8090 * idx-vector.cc (make_uniq): Fix major brain-o. | |
8091 | |
8092 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: | |
8093 Convert to use string class instead of char*. | |
8094 | |
8095 * str-vec.h, Array-str.cc: New files. | |
8096 | |
8097 * Array.h (Array::qsort): New function. | |
8098 | |
8099 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8100 | |
8101 * Array.h: Nest ArrayRep class inside Array class. | |
8102 Refer to ArrayRep, not ArrayRep<T>. | |
8103 Move all ArrayRep functions inline. | |
8104 Don't declare other Array classes as friends of ArrayRep. | |
8105 * Array.cc: Delete ArrayRep functions. | |
8106 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. | |
8107 | |
8108 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: | |
8109 Don't instantiate ArrayRep objects. | |
8110 | |
8111 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8112 | |
8113 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
8114 New constructor. | |
8115 | |
8116 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8117 | |
8118 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* | |
8119 for balance_job arg. | |
8120 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. | |
8121 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. | |
8122 | |
8123 * chMatrix.cc (row_as_string): Return string, not const char*. | |
8124 | |
8125 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8126 | |
8127 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. | |
8128 | |
8129 * chMatrix.cc (row_as_string): Undo previous change. | |
8130 | |
8131 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8132 | |
8133 * chMatrix.cc (row_as_string): Do memory management here. Caller | |
8134 is expected to save string if necessary. | |
8135 | |
8136 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8137 | |
8138 * Array.h (class DiagArray): Enable nested Proxy class for all | |
8139 platforms. | |
8140 | |
8141 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == | |
8142 a.rep, don't mess with count. | |
8143 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, | |
8144 don't do anything if reps are the same. | |
8145 (Array3<T>& operator = (const Array3<T>&) | |
8146 | |
8147 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): | |
8148 Declare private with no definition to prevent misuse. | |
8149 | |
8150 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): | |
8151 Get range check right. | |
8152 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. | |
8153 (Matrix::insert (const ColumnVector&, int, int)): Ditto. | |
8154 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. | |
8155 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. | |
8156 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. | |
8157 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. | |
8158 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. | |
8159 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. | |
8160 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. | |
8161 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. | |
8162 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. | |
8163 * dColVector.cc | |
8164 (ColumnVector::insert (const ColumnVector&, int)): Ditto. | |
8165 * CRowVector.cc | |
8166 (ComplexRowVector::insert (const RowVector&, int)): Ditto. | |
8167 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. | |
8168 * CColVector.cc | |
8169 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. | |
8170 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. | |
8171 | |
8172 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): | |
8173 Also fill in zeros, not just the diagonal. | |
8174 | |
8175 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): | |
8176 Use END parameter properly. | |
8177 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. | |
8178 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. | |
8179 | |
8180 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. | |
8181 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. | |
8182 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): | |
8183 Don't copy count. Set it to 1. | |
8184 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. | |
8185 | |
8186 * Array.h (Array<T>::Array (T *, int)): After constructing rep, | |
8187 don't set rep->count to 1 here (now handled by ArrayRep | |
8188 constructors). | |
8189 (Array<T>::Array (void)): Ditto. | |
8190 (Array<T>::Array (int)): Ditto. | |
8191 (Array<T>::T& elem (int)): Ditto. | |
8192 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. | |
8193 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. | |
8194 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. | |
8195 (Array<T>::resize (int)): Ditto. | |
8196 (Array<T>::resize (int, const T&)) :Ditto. | |
8197 (Array<T>::fortran_vec (void)): Ditto. | |
8198 (Array2<T>::resize (int, int)): Ditto. | |
8199 (Array2<T>::resize (int, int, const T&)): Ditto. | |
8200 (DiagArray<T>::resize (int, int)): Ditto. | |
8201 (DiagArray<T>::resize (int, int, const T&)): Ditto. | |
8202 | |
8203 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8204 | |
8205 * Array-ch.cc: Rename from Array-c.cc. | |
8206 * MArray-ch.cc: Rename from MArray-c.cc. | |
8207 * chMatrix.cc: Rename from cMatrix.cc. | |
8208 * chMatrix.h: Rename from cMatrix.h. | |
8209 * Makefile.in (TI_SRC): Use new names here. | |
8210 * mx-base.h: Likewise. | |
8211 | |
8212 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8213 | |
8214 * Makefile.in: Handle shared libraries. | |
8215 | |
8216 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8217 | |
8218 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): | |
8219 Correctly compute length of return value. Correct rows and | |
8220 columns in zgemv call. | |
8221 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. | |
8222 | |
8223 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8224 | |
8225 * Makefile.in (stamp-picdir): New target. | |
8226 (all): Depend on it. | |
8227 | |
8228 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8229 | |
8230 * Makefile.in (INCLUDES): Remove QLD.h. | |
8231 (SOURCES): Remove QLD.cc. | |
8232 | |
8233 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8234 | |
8235 * dMatrix.cc (Matrix::inverse): New arg, force. | |
8236 If force is nonzero, invert even if matrix is singular. | |
8237 (ComplexMatrix::inverse): Likewise. | |
8238 | |
8239 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, | |
8240 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, | |
8241 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: | |
8242 Include "oct-cmplx.h" instead of <Complex.h>. | |
8243 | |
8244 * mx-defs.h: Include oct-cmplx.h in place of forward declaration | |
8245 for class Complex. | |
8246 | |
8247 * oct-cmplx.h: New file. | |
8248 * Makefile.in (INCLUDES): Add it to the list. | |
8249 | |
8250 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. | |
8251 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. | |
8252 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. | |
8253 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): | |
8254 Avoid g++ bugs. | |
8255 | |
8256 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8257 | |
8258 * Array-idx.h (maybe_delete_elements): Give useful error message. | |
8259 | |
8260 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. | |
8261 | |
8262 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8263 | |
8264 * CDiagMatrix.cc (inverse): Return retval, not *this. | |
8265 * dDiagMatrix.cc (inverse): Use same method as for Complex case. | |
8266 | |
8267 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8268 | |
8269 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep | |
8270 index vector object with Array, not ArrayRep. | |
8271 | |
8272 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8273 | |
8274 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail | |
8275 if index is a colon and resizing is maybe needed. | |
8276 | |
8277 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8278 | |
8279 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true | |
8280 if we have a vector of 1's. | |
8281 | |
8282 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no | |
8283 current orientation, require index and rhs to conform unless | |
8284 do_fortran_indexing flag is set. | |
8285 | |
8286 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8287 | |
8288 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, | |
8289 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, | |
8290 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, | |
8291 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, | |
8292 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: | |
8293 Massive changes to support additional data types. Only charMatrix | |
8294 is currently used in Octave. | |
8295 | |
8296 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8297 | |
8298 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. | |
8299 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): | |
8300 Simply call Array2<Complex> version. | |
8301 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just | |
8302 call Array2<double> version. | |
8303 | |
8304 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. | |
8305 | |
8306 * Array.h, Array.cc: Massive overhaul to support new way of | |
8307 handling indexing. | |
8308 * idx-vector.h, idx-vector.cc: Likewise. | |
8309 * Array-ext.cc, Array-idx.h: New files. | |
8310 * Makefile.in: Add them to the appropriate lists. | |
8311 | |
8312 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8313 | |
8314 * Range.cc (nelem_internal): Use tfloor here, not round. | |
8315 | |
8316 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8317 | |
8318 * idx-vector.h, idx-vector.cc: New files, moved from ../src. | |
8319 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. | |
8320 | |
8321 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8322 | |
8323 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. | |
8324 | |
8325 * Array.h: Move simple member functions here. | |
8326 * Array.cc: From here. | |
8327 | |
8328 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8329 | |
8330 * Range.cc (tfloor, tceil, round): New static functions. | |
8331 (Range::nelem_internal): Rewrite to use better method. | |
8332 | |
8333 * dbleSVD.h (SVD::type): New item, sigma_only. | |
8334 (type_computed): New var. | |
8335 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): | |
8336 Handle possible error condition. | |
8337 (init): Allow for SVD::sigma_only, save type computed. | |
8338 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): | |
8339 Handle possible error condition. | |
8340 (init): Allow for SVD::sigma_only, save type computed. | |
8341 | |
8342 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8343 | |
8344 * Nearly all non-matrix .h and .cc files: | |
8345 Move short function bodies into class declarations for inlining. | |
8346 Generally clean up. | |
8347 | |
8348 * base-min.h: New file. | |
8349 * LP.h (class LP): Derive from base_minimizer. | |
8350 * QLP.h (class QLP): Derive from base_minimizer. | |
8351 * NLP.h (class NLP): Derive from base_minimizer. | |
8352 * Makefile.in (INCLUDES): Add base-min.h to the list. | |
8353 | |
8354 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, | |
8355 NLFunc.cc, Objective.cc and QP.cc from list. | |
8356 | |
8357 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8358 | |
8359 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. | |
8360 (SCHUR::SCHUR): Delete unused parameter ord. | |
8361 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. | |
8362 | |
8363 * CRowVector.cc | |
8364 (ComplexRowVector::operator+ (const Complex&, const RowVector&), | |
8365 (ComplexRowVector::operator- (const Complex&, const RowVector&), | |
8366 (ComplexRowVector::operator* (const Complex&, const RowVector&), | |
8367 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): | |
8368 Actually do something. | |
8369 | |
8370 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. | |
8371 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. | |
8372 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. | |
8373 | |
8374 * Quad.cc (Quad_options::Quad_options (double, double)): New function. | |
8375 * (Quad::Quad (integrand_fcn, double, double): Properly initialize | |
8376 tolerances. | |
8377 | |
8378 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. | |
8379 * LPsolve.cc (LPsolve::minimize): Likewise. | |
8380 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. | |
8381 * ODE.cc (lsode_f, lsode_j): Likewise. | |
8382 * QPSOL.cc (qphess): Likewise. | |
8383 | |
8384 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8385 | |
8386 * dMatrix.cc: Include <cstring>. | |
8387 | |
8388 * Array.cc: Try harder to avoid warnings from gcc in functions | |
8389 that return bogus values after calling the error handler. | |
8390 | |
8391 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8392 | |
8393 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. | |
8394 | |
8395 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. | |
8396 | |
8397 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8398 | |
8399 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. | |
8400 (dassl_j): Likewise. | |
8401 | |
8402 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, | |
8403 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, | |
8404 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: | |
8405 Update for change in for loop variable scope for gcc 2.7.0. | |
8406 | |
8407 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8408 | |
8409 * Makefile.in: Only include dependency files if $(omit_deps) is | |
8410 not set. | |
8411 | |
8412 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) | |
8413 | |
8414 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h | |
8415 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h | |
8416 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h | |
8417 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h | |
8418 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h | |
8419 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h | |
8420 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h | |
8421 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h | |
8422 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc | |
8423 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc | |
8424 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc | |
8425 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc | |
8426 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc | |
8427 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc | |
8428 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc | |
8429 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc | |
8430 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc | |
8431 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h | |
8432 NLP.h: Use pragma interface/implementation. Don't surround | |
8433 contents in extern "C++". | |
8434 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". | |
8435 | |
8436 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8437 | |
8438 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase | |
8439 identifiers. | |
8440 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
8441 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
8442 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
8443 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
8444 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
8445 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
8446 Quad.cc: Change usage of F77_FCN to match new definition | |
8447 | |
8448 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
8449 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
8450 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
8451 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
8452 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
8453 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
8454 Quad.cc: Where appropriate, declare Fortran subroutines to take | |
8455 args by reference instead of pointer. Change all callers. | |
8456 | |
8457 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8458 | |
8459 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New | |
8460 functions. Make += and -= operators friend functions. | |
8461 | |
8462 * Array.h (Array2::~Array2, Array3::~Array3, | |
8463 DiagArray::~DiagArray): New functions. | |
8464 | |
8465 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8466 | |
8467 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. | |
8468 (MATRIX_INC): Don't distribute mx-kludge.h. | |
8469 | |
8470 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
8471 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
8472 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
8473 dRowVector.h dRowVector.cc: | |
8474 Derive classes from MArray, MArray2, and MDiagArray, not Array, | |
8475 Array2, and DiagArray2. | |
8476 Don't use functions defined in mx-kludge.cc for arithmetic | |
8477 like-type operations on arrays. | |
8478 | |
8479 * MArray.cc: Use the classes defined here like-type mathematical | |
8480 operations on Array objects. Abuse CPP more. | |
8481 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
8482 (EXTRAS): Delete it from this list. | |
8483 | |
8484 * MArray-C.cc, MArray-d.cc: New files. | |
8485 * Makefile.in (TI_SRC): Add them to the list. | |
8486 | |
8487 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8488 | |
8489 * mx-kludge.cc: Abuse CPP even more. | |
8490 | |
8491 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8492 | |
8493 * Objective.h (objective_function): Add missing const. | |
8494 (gradient_function): Likewise. | |
8495 | |
8496 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
8497 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
8498 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
8499 dRowVector.h dRowVector.cc: | |
8500 Reorganize to declare and define friends where they should be, | |
8501 based on the use of private constructors. | |
8502 | |
8503 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8504 | |
8505 * CRowVector.h (linspace): Add declaration. | |
8506 * dRowVector.h (linspace): Likewise. | |
8507 | |
8508 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
8509 Force result of rcond + 1.0 to be stored. | |
8510 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, | |
8511 ComplexMatrix::solve): Likewise. | |
8512 | |
8513 See ChangeLog.1 in the top level directory for earlier changes. |