Mercurial > hg > octave-nkf
annotate liboctave/ChangeLog @ 7554:40574114c514
implement Cholesky factorization updating
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Tue, 04 Mar 2008 22:25:50 -0500 |
parents | 56be6f31dd4e |
children | 07522d7dcdf8 |
rev | line source |
---|---|
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1 2008-03-04 Jaroslav Hajek <highegg@gmail.com> |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2 |
7554
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
3 * dbleCHOL.cc (CHOL::set, CHOL::update, CHOL::downdate): |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
4 New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
5 * dbleCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
6 * CmplxCHOL.cc (ComplexCHOL::set, ComplexCHOL::update, |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
7 ComplexCHOL::downdate): New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
8 * CmplxCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
9 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
10 * 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
|
11 QR::insert_row, QR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
12 (QR::QR (const Matrix&, const MAtrix&)): New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
13 * dbleQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
14 * CmplxQR.cc (ComplexQR::update, ComplexQR::insert_col, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
15 ComplexQR::delete_col, ComplexQR::insert_row, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
16 ComplexQR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
17 (ComplexQR::ComplexQR (const ComplexMatrix&, const ComplexMAtrix&)): |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
18 New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
19 * CmplxQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
20 |
7549
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
21 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
|
22 |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
23 * 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
|
24 of < and > operators. |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
25 |
7546
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
26 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
|
27 |
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
28 * 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
|
29 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
|
30 |
7545 | 31 2008-03-03 Jaroslav Hajek <highegg@gmail.com> |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
32 |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
33 * dMatrix.cc (Matrix::lssolve): Also avoid dgelsd lwork query bug |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
34 in lssolve method that accepts column vector argument. Correct |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
35 calculation of nlvl. |
7545 | 36 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd. |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
37 |
7537
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
38 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
|
39 |
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
40 * 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
|
41 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
42 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
|
43 |
7536 | 44 * oct-rand.cc (get_dist_id): Fix typo. |
45 (get_dist_id, octave_rand::distribution, octave_rand::scalar, | |
46 fill_rand): Improve error messages. | |
47 | |
7535
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
48 * 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
|
49 (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
|
50 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
|
51 (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
|
52 |
7533
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
53 * 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
|
54 (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
|
55 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
|
56 (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
|
57 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
|
58 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
|
59 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
|
60 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
|
61 (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
|
62 (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
|
63 (octave_rand::uniform_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
64 octave_rand::normal_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
65 octave_rand::exponential_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
66 octave_rand::poisson_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
67 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
|
68 (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
|
69 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
|
70 (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
|
71 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
72 * 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
|
73 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd |
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
74 |
7521
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
75 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
|
76 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
77 * 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
|
78 specializations for signed and unsigned types. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
79 (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
|
80 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
|
81 octave_int_helper class. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
82 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
83 * 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
|
84 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
|
85 with "template <>". |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
86 |
7520 | 87 2008-02-22 John W. Eaton <jwe@octave.org> |
88 | |
89 * CSparse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc, | |
90 file-ops.cc, oct-group.cc, oct-shlib.cc, sparse-base-chol.h, | |
91 sparse-dmsolve.cc: Use 0 instead of NULL. | |
92 | |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
93 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
|
94 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
95 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
96 (octave_idx_type) const): New method. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
97 * boolSparse.h (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
98 (octave_idx_type) const): Declare it. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
99 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
100 * 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
|
101 factorization of xGETRF directly. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
102 * 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
|
103 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
|
104 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
|
105 to simulate the retirn of xGETRF. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
106 * 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
|
107 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
|
108 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
|
109 (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
|
110 * 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
|
111 scaling. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
112 * SparseCmplxLU.cc: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
113 * 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
|
114 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
|
115 * SparseCmplxLU.h: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
116 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
117 * 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
|
118 return permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
119 * 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
|
120 * 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
|
121 return row permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
122 (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
|
123 permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
124 * 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
|
125 (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
|
126 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
127 * 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
|
128 |
7505
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
129 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
|
130 |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
131 * 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
|
132 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
|
133 (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
|
134 * 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
|
135 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
|
136 (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
|
137 * 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
|
138 * 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
|
139 |
7503
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
140 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
|
141 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
142 * boolNDArray.h (boolNDArray (const Array2<bool>&)): Delete. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
143 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
144 * Marray2.h (MArray2 (const Array2<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
145 MArray2 (const MArray2<U>&)): New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
146 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
147 * Array2.h (Array2 (const Array<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
148 Array2 (const Array<U>&, const dim_vector&)): |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
149 New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
150 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
151 * CColVector.cc (ComplexColumnVector::map): Forward to MArray::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
152 * dColVector.cc (ColumnVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
153 * CRowVector.cc (ComplexRowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
154 * dRowVector.cc (RowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
155 * CMatrix.cc (ComplexMatrix::map): Forward to MArray2::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
156 * dMatrix.cc (Matrix::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
157 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
158 * dNDArray.cc (NDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
159 * dNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
160 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
161 * CNDArray.cc (ComplexNDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
162 * CNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
163 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
164 * MArray2.h (MArray2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
165 * Array2.h (Array2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
166 * MArrayN.h (MArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
167 * ArrayN.h (ArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
168 * Array.h (Array<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
169 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
170 * functor.h: New file. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
171 * Makefile.in (INCLUDES): Add it to the list. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
172 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
173 2008-02-20 David Bateman <dbateman@free.fr> |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
174 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
175 * CColVector.h, CColVector.cc (ComplexColumnVector::apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
176 * dColVector.h, dColVector.cc (ColumnVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
177 * CRowVector.h, CRowVector.cc (ComplexRowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
178 * dRowVector.h, dRowVector.cc (RowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
179 * CMatrix.h, CMatrix.cc (ComplexMatrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
180 * dMatrix.h, dMatrix.cc (Matrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
181 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
182 * CSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
183 (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
|
184 * CSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
185 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
186 * dSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
187 (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
|
188 * dSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
189 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
190 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
191 * intNDArray.cc (abs, signum): Two new mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
192 * intNDArray.h (abs, signum): Declare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
193 * 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
|
194 base type. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
195 |
7486
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
196 2008-02-15 John W. Eaton <jwe@octave.org> |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
197 |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
198 * 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
|
199 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
|
200 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
201 |
7482
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
202 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
|
203 |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
204 * 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
|
205 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
|
206 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
|
207 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
|
208 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
|
209 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
|
210 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc: |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
211 Don't check f77_exception_encountered. |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
212 |
7477 | 213 2008-02-12 John W. Eaton <jwe@octave.org> |
214 | |
215 * CMatrix.cc: Declare xilaenv instead of ilaenv. | |
216 (ComplexMatrix::lssolve): Call xilaenv instead of ilaenv. | |
217 | |
7476 | 218 2008-02-12 Jason Riedy <ejr@cs.berkeley.edu> |
219 | |
7480 | 220 * Array.cc (ascending_compare, descending_compare): Remove |
221 non-standard extern in the instantiations. | |
222 | |
223 * oct-sort.cc: Include <cstring> and sprinkle with std:: as needed. | |
224 | |
7476 | 225 * dMatrix.cc (ILAENV): Declare LAPACK Fortran function. |
226 (Matrix::lssolve): Use ILAENV to query smlsiz. And add an ugly | |
227 workaround for DGELSD's broken lwork query. The formula is from | |
228 LAPACK's dgelsd.f source and allocates enough workspace to use an | |
229 efficient algorithm in the short-and-fat case (n > m). | |
230 * CMatrix.cc (ILAENV): Declare LAPACK Fortran function. | |
231 (ComplexMatrix::lssolve): Use ILAENV to query smlsiz. And add an | |
232 ugly workaround for DGELSD's broken lwork query, as with double. | |
233 | |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
234 2008-02-12 John W. Eaton <jwe@octave.org> |
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
235 |
7470
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
236 * sparse-sort.cc: Don't explicitly instantiate |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
237 class octave_sort<octave_idx_vector_sort *>, |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
238 class octave_sort<octave_idx_type>, or |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
239 class octave_sort<octave_sparse_sort_idxl *>. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
240 |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
241 * Sparse.h (INSTANTIATE_SPARSE_SORT): Delete macro. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
242 * 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
|
243 |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
244 * 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
|
245 |
7466
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
246 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
|
247 |
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
248 * 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
|
249 |
7463
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
250 2008-02-08 John W. Eaton <jwe@octave.org> |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
251 |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
252 * oct-sort.h (enum sortmode): Eliminate UNDEFINED. Change all |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
253 uses of UNDEFINED to ASCENDING. |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
254 |
7457 | 255 2008-02-07 John W. Eaton <jwe@octave.org> |
256 | |
7458 | 257 * Range.cc (Range::sort_internal): Rename from sort. New arg, |
258 ASCENDING, with default value of true. | |
259 (Range::sort_internal (Array<octave_idx_type>&, bool)): New function. | |
260 (Range::sort (octave_idx_type, sortmode) const): New function. | |
261 (Range::sort (Array<octave_idx_type>&, octave_idx_type, sortmode) | |
262 const): New function. | |
263 * Range.h: Fix/provide decls. | |
264 | |
7457 | 265 * intNDArray.cc (intNDArray<T>::any (int)): Use != for comparison. |
266 | |
7449 | 267 2008-02-06 John W. Eaton <jwe@octave.org> |
268 | |
269 * Makefile.in ($(OPTS_INC)): Use mv instead of move-if-change. | |
270 (stamp-prereq): Eliminate. | |
271 (clean): Don't remove stamp-prereq. | |
272 (libraries): Don't depend on stamp-prereq. | |
273 (PREREQ): New macro. | |
274 ($(MAKEDEPS)): Depend on $(PREREQ), not stamp-prereq. | |
275 (distclean): Simplify with $(PREREQ). | |
276 (OPT_BASE): New macro. | |
277 (OPT_IN): Rename from OPTS_INC_DATA. Define in terms of OPT_BASE. | |
278 (OPT_INC): Rename from OPTS_INC. Define in terms of OPT_BASE. | |
279 | |
7448 | 280 2008-02-05 John W. Eaton <jwe@octave.org> |
281 | |
282 * Makefile.in: Unconditionally include $(MAKEDEPS). | |
283 Mark $(MAKEDEPS) as .PHONY targets if omit_deps is true. | |
284 | |
7443 | 285 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> |
286 | |
287 * Array.cc (ascending_compare, descending_compare, | |
288 Array<T>::sort): Declare explicit specialization for T=double to | |
289 avoid symbol duplication error at link time. | |
290 * Array-d.cc (ascending_compare, descending_compare): Declare and | |
291 define as nonmember functions, not member functions of Array<T>. | |
292 | |
7442 | 293 2008-02-03 John W. Eaton <jwe@octave.org> |
294 | |
295 * Array-i.cc: Also instantiate Arrays for long long type if it exists. | |
296 | |
297 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> | |
298 | |
299 * Array.cc: Don't include Range.h. | |
300 | |
7433 | 301 2008-01-31 David Bateman <dbateman@free.fr> |
302 | |
303 * oct-sort.cc: conversion of int to octave_idx_type where needed | |
304 for 64-bit builds. | |
305 (IFLT): Allow IFLT macro to be overridden. | |
306 * oct-sort.h: conversion of int to octave_idx_type where needed | |
307 for 64-bit builds. | |
308 (enum sortmode): Type of sort to perform. | |
309 (vec_index): Simple class to aid in indexed sorts. | |
310 | |
311 * Array.h ( Array<T> sort (octave_idx_type, sortmode) const, | |
312 Array<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
313 sortmode) const): Array sorting methods. | |
314 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT): Macros to | |
315 instantiate the array sorting methods. | |
316 * Array.cc (ascending_compare, descending_compare): New template | |
317 functions for generic sort comparison. | |
318 ( Array<T> Array<T>::sort (octave_idx_type, sortmode) const, | |
319 Array<T> Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, | |
320 sortmode) const): Array sorting functions based of octave_sort | |
321 class. | |
322 * Array-C.cc: Instantiate the complex array sort methods. | |
323 (IFLT): New macro to override the one in the | |
324 octave_sort class to avoid need for Complex < and > operators. | |
325 (static double xabs (const Complex&)): Complex abs function | |
326 avoiding std::abs(Inf) returning NaN with some compilers. | |
327 (ascending_compare, descending compare): override template | |
328 functions for complex comparison. | |
329 * Array-d.cc: Instantiate the double array sort methods. | |
330 (Array<double> Array<double>::sort (octave_idx_type, | |
331 sortmode) const, Array<double> Array<double>::sort | |
332 (Array<octave_idx_type> &, octave_idx_type, sortmode) const): | |
333 Array sorting functions based of octave_sort using uint64 sorting | |
334 on IEE754 doubles, for speed and correct sorting of Inf and NaN. | |
335 (ascending_compare, descending compare): override template | |
336 functions for double and uint64 comparison. | |
337 * Array-b.cc, Array-ch.cc, Array-i.cc, Array-s.cc, Array-str.cc: | |
338 Instantiate the array sort methods. | |
339 * Array-idx-vec.cc: Null instantiation of array sort methods. | |
340 * Array2.h, Array3.h, ArrayN.h (sort): 2, 3 and N-dimensional | |
341 versions of the sort methods based on Array<T>::sort. | |
342 | |
343 * CSparse.cc, dSparse.cc: Remove inclusion of octa-sort.h. | |
344 * Sparse.h ( Sparse<T> sort (octave_idx_type, sortmode) const, | |
345 Sparse<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
346 sortmode) const): Sparse sorting methods. | |
347 (INSTANTIATE_ARRAY_SORT): Macro to instantiate the sparse sorting | |
348 methods. | |
349 * Sparse.cc: replace sort with lsort throughout to avoid shadowing | |
350 of new sort method. | |
351 (sparse_ascending_compare, sparse_descending_compare): New template | |
352 functions for generic sort comparison. | |
353 ( Sparse<T> Sparse<T>::sort (octave_idx_type, sortmode) const, | |
354 Sparse<T> Sparse<T>::sort (Sparse<octave_idx_type> &, octave_idx_type, | |
355 sortmode) const): Sparse sorting functions based of octave_sort | |
356 class. | |
357 * Sparse-C.cc: Instantiate the complex sparse sort methods. | |
358 (IFLT): New macro to override the one in the | |
359 octave_sort class to avoid need for Complex < and > operators. | |
360 (static double xabs (const Complex&)): Complex abs function | |
361 avoiding std::abs(Inf) returning NaN with some compilers. | |
362 (sparse_ascending_compare, sparse_descending compare): override | |
363 template functions for complex comparison. | |
364 * Sparse-d.cc: Instantiate the cdouble sparse sort methods. | |
365 (sparse_ascending_compare, sparse_descending compare): override | |
366 template functions for double comparison. | |
367 * Array-b.cc: Instantiate the sparse sort methods. | |
368 | |
7422 | 369 2008-01-25 Jaroslav Hajek <highegg@gmail.com> |
370 | |
371 * idx-vector.h (idx_vector::idx_vector_rep::range_base, | |
372 idx_vector::idx_vector_rep::range_step, | |
373 idx_vector::idx_vector_rep::range_step): New data members. | |
374 (idx_vector::idx_vector_rep::idx_vector_rep): Initialize them. | |
375 * idx-vector.cc (IDX_VEC_REP::sort, IDX_VEC_REP::is_colon_equiv, | |
376 IDX_VEC_REP::init_state, IDX_VEC_REP::operator =, | |
377 IDX_VECTOR_REP::idx_vector_rep): Handle range. | |
378 | |
7416 | 379 2008-01-18 Marco Caliari <marco.caliari@univr.it> |
380 | |
381 * dMatrix.cc (Matrix::expm): Correctly perform reverse permutation. | |
382 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
383 | |
7408 | 384 2008-01-22 Michael Goffioul <michael.goffioul@gmail.com> |
7407 | 385 |
386 * oct-time.cc (octave_base_tim::init): Validate pointer argument; | |
387 this fixes the "localtime(-1)" crash under Windows. | |
388 | |
7400 | 389 2008-01-18 John W. Eaton <jwe@octave.org> |
390 | |
391 * dMatrix.cc (solve_singularity_warning): New function. | |
392 (Matrix::expm): Pass pointer to solve_singularity_warning to | |
393 Matrix::solve method. Exit early if Matrix::solve fails. | |
394 Limit sqpow value to avoid overflowing scale factor. | |
395 * CMatrix.cc (solve_singularity_warning): New function. | |
396 (ComplexMatrix::expm): Pass pointer to solve_singularity_warning to | |
397 ComplexMatrix::solve method. Exit early if ComplexMatrix::solve fails. | |
398 Limit sqpow value to avoid overflowing scale factor. | |
7402 | 399 From Marco Caliari <marco.caliari@univr.it>. |
7400 | 400 |
7356 | 401 2008-01-10 Kim Hansen <kimhanse@gmail.com> |
402 | |
403 * Sparse.cc: New tests for slicing of sparse matrices. | |
404 | |
7350 | 405 2008-01-07 David Bateman <dbateman@free.fr> |
406 | |
407 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Don't break from | |
408 loop if this test succeeds. | |
409 | |
7342 | 410 2008-01-03 David Bateman <dbateman@free.fr> |
411 | |
412 * MSparse.cc (SPARSE_A2A2_OP): If first arg is scalar zero, then | |
413 need unary operator on remaining argument | |
414 * Sparse-op-defs.h (SPARSE_SMSM_BIN_OP_1): ditto. | |
415 | |
7334 | 416 2007-12-21 John W. Eaton <jwe@octave.org> |
417 | |
418 Version 3.0.0 released. | |
419 | |
7322 | 420 2007-12-18 David Bateman <dbateman@free.fr> |
421 | |
422 * Sparse.cc (template <class T> Sparse<T> Sparse<T>::index | |
423 (idx_vector&, int) const): Fix case indexing of non zero scalar | |
424 stored as a sparse matrix. | |
425 (template <class T> Sparse<T> Sparse<T>::index (idx_vector&, | |
426 idx_vector&, int) const): For the non permutated indexing case, | |
427 fix link list calculation and use. | |
428 | |
7321 | 429 2007-12-17 John W. Eaton <jwe@octave.org> |
430 | |
431 * Array.cc (Array<T>::indexN): Correctly handle scalar indexed by | |
432 N-d array. | |
433 | |
7318 | 434 2007-12-17 David Bateman <dbateman@free.fr> |
435 | |
436 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Use ridx for row | |
437 index. | |
438 | |
7299 | 439 2007-12-11 John W. Eaton <jwe@octave.org> |
440 | |
441 * Sparse.cc (Sparse<T>::index (idx_vector&, int) const): | |
442 If indexing scalar with empty matrix, return empty array with same | |
443 size as index. | |
444 | |
7272 | 445 2007-12-10 John W. Eaton <jwe@octave.org> |
446 | |
7279 | 447 * NLEqn.h (NLEqn::fval): New data member. Adjust constructors |
448 and assignment operator. | |
449 (NLEqn::function_value): New function. | |
450 * NLEqn.cc (NLEqn::solve): If solution is successful, compute | |
451 function value. | |
452 | |
7272 | 453 * file-ops.cc (file_ops::concat): New function. |
454 * file-ops.h: Provide decl. | |
455 | |
7270 | 456 2007-12-07 John W. Eaton <jwe@octave.org> |
457 | |
458 * oct-time.cc (octave_base_tm::init): Only assign t->tm_zone if it | |
459 is not 0. | |
460 | |
7269 | 461 2007-12-07 David Bateman <dbateman@free.fr> |
462 | |
463 * Sparse-op-defs.h (SPARSE_SMS_CMP_OP, SPARSE_SMS_BOOL_OP, | |
464 SPARSE_SSM_CMP_OP, SPARSE_SSM_BOOL_OP, SPARSE_SMSM_CMP_OP, | |
465 SPARSE_SMSM_BOOL_OP, SPARSE_BASE_REDUCTION_OP): Use sparse | |
466 indexing where possible rather than the elem method. | |
467 (SPARSE_REDUCTION_OP_ROW_EXPR, SPARSE_REDUCTION_OP_COL_EXPR, | |
468 SPARSE_ANY_ALL_OP_ROW_CODE, SPARSE_ANY_ALL_OP_COL_CODE): | |
469 Replace for new version of SPARSE_BASE_REDUCTION_OP. | |
470 (SPARSE_ALL_OP): Specialize the initial value, and only treat dim | |
471 = 0 directly. | |
472 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::sumsq (int) | |
473 const): Replace ROW_EXPR and COL_EXPR functions for new version of | |
474 SPARSE_BASE_REDUCTION_OP. | |
475 (SparseComplexMatrix SparseComplexMatrix::prod (int) const): | |
476 Specialize the initial value, and only treat dim = 0 directly. | |
477 * dSparse.cc (SparseMatrix SparseMatrix::sumsq (int) const): | |
478 ditto. | |
479 (SparseMatrix SparseMatrix::prod (int) const): ditto. | |
480 | |
7265 | 481 2007-12-06 John W. Eaton <jwe@octave.org> |
482 | |
483 * CMatrix.cc (ComplexMatrix::expm): Update pointers to internal | |
484 data for npp and dpp after assignments. | |
485 * dMatrix.cc (Matrix::expm): Use same method as ComplexMatrix::expm. | |
486 | |
7253 | 487 2007-12-04 John W. Eaton <jwe@octave.org> |
488 | |
489 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
490 Do nothing if one index is empty. | |
491 | |
7246 | 492 2007-12-04 David Bateman <dbateman@free.fr> |
493 | |
494 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
495 Resize matrix as well if one dimension of lhs is zero and the rhs | |
496 index exceeds the lhs index. | |
497 * Sparse.cc (assign1 (Sparse<LT>&, const Sparse<RT>&)): | |
498 Don't resize to a smaller matrix for empty matrices with a max rhs | |
499 index smaller than the non zero lhs index. | |
500 | |
501 2007-12-04 Michael Goffioul <michael.goffioul@gmail.com> | |
502 | |
503 * Array-util.h: Tag permute_vector_compare with OCTAVE_API. | |
504 | |
7241 | 505 2007-12-03 Moritz Borgmann <octave@moriborg.de> |
506 | |
507 * Array-util.cc (permute_vector_compare): Move here from Array.cc. | |
508 * Array-util.h (permute_vector, permute_vector_compare): Provide decls. | |
509 * Array.cc (permute_vector, permute_vector_compare): Delete. | |
510 | |
7238 | 511 2007-12-03 David Bateman <dbateman@free.fr> |
512 | |
513 * Sparse.cc (template <class LT, class RT> int assign | |
514 (Sparse<LT>&, const Sparse<RT>&)): Only set return matrix size to | |
515 rhs values if both no. rows and columns are zero. | |
516 | |
7231 | 517 2007-11-30 John W. Eaton <jwe@octave.org> |
518 | |
7234 | 519 * oct-sort.cc, oct-sort.h: Style fixes. |
520 | |
7231 | 521 * lo-math.h: New file. |
522 * Makefile.in (INCLUDES): Add it to the list. | |
523 * liboctave/Array2.h, liboctave/ArrayN.h, liboctave/CmplxDET.cc, | |
524 liboctave/DASPK.cc, liboctave/DASPK.h, liboctave/DASRT.cc, | |
525 liboctave/DASRT.h, liboctave/DASSL.cc, liboctave/DASSL.h, | |
526 liboctave/LSODE.cc, liboctave/LSODE.h, liboctave/NLEqn.h, | |
527 liboctave/Quad.h, liboctave/Range.cc, liboctave/dbleDET.cc, | |
528 liboctave/lo-cieee.c, liboctave/lo-ieee.cc, | |
529 liboctave/lo-mappers.cc, liboctave/oct-time.cc, | |
530 liboctave/oct-time.h, liboctave/randgamma.c, | |
531 liboctave/randmtzig.c, liboctave/randpoisson.c: Include lo-math.h | |
532 instead of cmath or math.h. | |
533 * lo-mappers.h: Don't include sunmath.h here. | |
534 | |
7198 | 535 2007-11-26 John W. Eaton <jwe@octave.org> |
536 | |
537 * idx-vector.h (idx_vector::idx_vector_rep (const intNDArray<U>&)): | |
538 Eliminate unnecessary second arg from call to tree_to_mat_idx. | |
539 | |
540 * oct-inttypes.h (operator bool, operator char): Delete. | |
541 (bool_value, char_value, double_value, float_value): New functions. | |
542 | |
7189 | 543 2007-11-26 David Bateman <dbateman@free.fr> |
544 | |
545 * intNDArray.cc (template <class T> intNDArray<T> | |
546 intNDArray<T>::max (int) const, template <class T> intNDArray<T> | |
547 intNDArray<T>::max (ArrayN<octave_idx_type>&, int) const, | |
548 template <class T> intNDArray<T> intNDArray<T>::min (int) const, | |
549 template <class T> intNDArray<T> intNDArray<T>::min | |
550 (ArrayN<octave_idx_type>&, int) const): New methods for integer | |
551 classes. | |
552 * intNDArray.h (class intNDArray): Add min/max methods | |
553 * mx-op-defs.h (MIXMAX_DECLS, MINMAX_FCNS, SND_MINMAX_FCN, | |
554 NDS_MINMAX_FCN, NDND_MINMAX_FCN): New macro for instantiation of | |
555 min/max functions. | |
556 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
557 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
558 (MINMAX_DECLS(T)): Declare the min/max functions for integer | |
559 types. | |
560 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
561 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
562 (MINMAX_FCNS(T)): Instantiate the min/max functions for integer | |
563 types. | |
564 | |
565 * Arrayc.cc (Array<T>::index (idx_vector&, idx_vector&, int, | |
566 const T& rfv) const): If ndims != 2 call ND version of index. | |
567 | |
7176 | 568 2007-11-14 John W. Eaton <jwe@octave.org> |
569 | |
7178 | 570 * oct-inttypes.h (opeator T (void) const): New conversion operator. |
571 | |
7176 | 572 * lo-specfun.cc (zbesi): When alpha is negative, don't limit |
573 correction to half-integer values. From Eric Chassande-Mottin | |
574 <echassandemottin@gmail.com>. | |
575 | |
7124 | 576 2007-11-07 Michael Goffioul <michael.goffioul@gmail.com> |
577 | |
578 * dMatrix.cc, CMatrix.cc: Help MSVC compiler to resolve | |
579 ambiguities related to math functions (in C++ mode). | |
580 | |
7102 | 581 2007-11-06 David Bateman <dbateman@free.fr> |
582 | |
7113 | 583 * intNDArray.cc (intNDArray<T> intNDArray<T>::sum (int) const): |
584 New method. | |
585 * intNDarray.h (intNDArray sum (int) const): Declare it. | |
586 * boolNDArray.cc (boolNDArray boolNDArray::sum (int) const): | |
587 New method. | |
588 * boolNDarray.cc (boolNDArray sum (int) const): Declare it. | |
7102 | 589 * MArray-def.h (MARRAY_NORM_BODY): Scale frobenius norm by infinity |
590 norm to avoid issues of over- and underflow. From Rolf Fabian | |
591 <Rolf.Fabian@gmx.de>. | |
592 | |
7081 | 593 2007-10-30 David Bateman <dbateman@free.fr> |
594 | |
595 * DASRT-opts.in, LSODE-opts.in: Doc fixes for small book format. | |
596 | |
7079 | 597 2007-10-30 John W. Eaton <jwe@octave.org> |
598 | |
599 * CMatrix.cc (lssolve): Compute size of rwork and iwork arrays. | |
600 * dMatrix.cc (lssolve): Compute size of iwork array. | |
601 | |
7076 | 602 2007-10-29 David Bateman <dbateman@free.fr> |
603 | |
604 * CMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
605 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
606 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
607 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
608 double& rcond) const, lssolve (const ComplexColumnVector&, | |
609 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
610 declarations. | |
611 * CMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
612 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
613 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
614 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
615 double& rcond) const, lssolve (const ComplexColumnVector&, | |
616 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
617 methods. | |
618 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
619 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
620 octave_idx_type&, double&) const): Also return rcond from the | |
621 singular values returned by XGELSD. | |
622 * dMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
623 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
624 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
625 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
626 double& rcond) const, lssolve (const ComplexColumnVector&, | |
627 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
628 declarations. | |
629 * dMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
630 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
631 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
632 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
633 double& rcond) const, lssolve (const ComplexColumnVector&, | |
634 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
635 methods. | |
636 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
637 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
638 octave_idx_type&, double&) const): Also return rcond from the | |
639 singular values returned by XGELSD. | |
640 | |
7072 | 641 2007-10-26 David Bateman <dbateman@free.fr> |
642 | |
643 * dMatrix.cc (Matrix::lssolve): Use xGELSD for rank deficient | |
644 matrices to avoid reliability issues with xGELSY. | |
645 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. | |
7071 | 646 |
7065 | 647 2007-10-25 John W. Eaton <jwe@octave.org> |
648 | |
649 * oct-time.cc (octave_gmtime::init, octave_localtime::init): | |
650 Call unix_time on arg instead of relying on conversion operator. | |
651 | |
652 * oct-time.h (octave_time::double_value): New function. | |
653 (octave_time::operator double () const): Delete. | |
654 (octave_time::operator time_t () const): Delete. | |
655 | |
7058 | 656 2007-10-24 John W. Eaton <jwe@octave.org> |
657 | |
658 * strptime.c: Also compile if OCTAVE_HAVE_BROKEN_STRPTIME is defined. | |
659 | |
7052 | 660 2007-10-23 John W. Eaton <jwe@octave.org> |
661 | |
662 * CRowVector.cc (operator * const ComplexRowVector&, const | |
663 ComplexColumnVector&)): Delete spurious code left from patch. | |
664 | |
7048 | 665 2007-10-22 Kim Hansen <kimhanse@gmail.com> |
666 | |
667 * chMatrix.cc, lo-utils.cc, oct-env.cc, oct-uname.cc, | |
668 sparse-sort.cc: Include <cstring>. | |
669 | |
7036 | 670 2007-10-17 John W. Eaton <jwe@octave.org> |
671 | |
672 * oct-sparse.h: Don't include metis.h. | |
673 | |
674 * dSparse.cc (SparseMatrix::fsolve): Delete special code for METIS. | |
675 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
676 * sparse-base-chol.cc (sparse_base_chol<chol_type, chol_elt, | |
677 p_type>::sparse_base_chol_rep::init): Likewise. | |
678 | |
7033 | 679 2007-10-16 John W. Eaton <jwe@octave.org> |
680 | |
681 * dMatrix.cc (Matrix::inverse): Only check rcond == 0 if the | |
682 matrix is hermitian or calc_cond is true. | |
683 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
684 | |
7016 | 685 2007-10-12 John W. Eaton <jwe@octave.org> |
686 | |
687 * Change copyright notices in all files that are part of Octave to | |
688 GPLv3 or any later version. | |
689 | |
7007 | 690 2007-10-11 Brian Gough <bjg@network-theory.co.uk> |
691 | |
692 * DASSL-opts.in, LSODE-opts.in: Spelling fixes. | |
693 | |
7001 | 694 2007-10-10 Olli Saarela <Olli.Saarela@kcl.fi> |
695 | |
696 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in: Spelling fixes. | |
697 | |
7000 | 698 2007-10-10 John W. Eaton <jwe@octave.org> |
699 | |
700 * LPsolve.h, LPsolve.cc: Delete. | |
701 * Makefile.in: Remove them from the INCLUDES and | |
702 LIBOCTAVE_CXX_SOURCES lists. | |
703 | |
6989 | 704 2007-10-09 John W. Eaton <jwe@octave.org> |
705 | |
6996 | 706 * oct-time.cc (octave_strptime::init): Initialize t.tm_mon to -1 |
707 and t.tm_year to INT_MIN before call to oct_strptime. Adjust | |
708 values to zero after call if they remain unchanged. | |
709 | |
6989 | 710 * dSparse.cc (SparseMatrix::all_elements_are_zero): New function. |
711 * dNDArray.cc (NDArray::all_elements_are_zero): New function. | |
712 | |
6988 | 713 2007-10-09 David Bateman <dbateman@free.fr> |
714 | |
6995 | 715 * oct-time.cc (octave_strptime::init): Only call mktime if mday is |
716 valud and mon and year are also filled in. | |
717 | |
6990 | 718 * Array2.h (Array2<T>::Array2(const dim_vector&), |
719 Array2<T>::Array(const dim_vector&, const T&)): Check that | |
720 dim_vector is 2 dimensional. | |
721 | |
6988 | 722 * Sparse.cc (Sparse<T> Sparse<T>::index (idx_vector&, idx_vector&, |
723 int)): Remove a for loop in the random indexing case at the | |
724 expense of maintaining a set of linked lists of indices that point | |
725 to the same column in the original matrix. | |
726 (int assign (Sparse<LT>&, Sparse<RT>)): Take a const copy of lhs | |
727 and use it on the RHS of expressions to avoid unnecessary calls to | |
728 make_unique. | |
729 | |
6979 | 730 2007-10-08 David Bateman <dbateman@free.fr> |
731 | |
732 * oct-rl-edit. (typedef rl_quoting_fcn_ptr, rl_dequoting_fcn_ptr, | |
733 rl_char_is_quoted_fcn_ptr, rl_command_fcn_ptr): New typedefs | |
734 for readline compatible functions. | |
735 (octave_rl_redisplay): Redisplay the current line of text. | |
736 (octave_rl_newline): Change interface to the same | |
737 as used by the equivalent readline function itself. | |
738 (octave_rl_filename_quoting_desired, | |
739 octave_rl_set_filename_quote_characters, | |
740 octave_rl_set_completer_quote_characters, | |
741 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
742 octave_rl_set_char_is_quoted_function): New functions to control | |
743 readline filename quoting and line acceptace. | |
744 * oct-rl-edit.c (octave_rl_newline): Change interface to the same | |
745 as used by the equivalent readline function itself. | |
746 (octave_rl_redisplay): Redisplay the current line of text. | |
747 (octave_rl_filename_quoting_desired, | |
748 octave_rl_set_filename_quote_characters, | |
749 octave_rl_set_completer_quote_characters, | |
750 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
751 octave_rl_set_char_is_quoted_function): New functions to control | |
752 readline filename quoting and line acceptace. | |
753 * cmd-edit.h (typedef quoting_fcn, typedef dequoting_fcn, | |
754 typedef char_is_quoted_fcn, user_accept_line_fcn): New typedefs | |
755 to map C++ function to readline compatible functions. | |
756 (set_filename_quote_characters): New function to set the | |
757 characters to if they appear in a filename that force the filename | |
758 to be quoted. | |
759 (set_completer_quote_characters): The characters that the readline | |
760 completion function considers as quotation characters. | |
761 (set_quoting_function, set_dequoting_function, | |
762 set_char_is_quoted_function, set_user_accept_line_function): | |
763 Functions to set the Octave functions to perform quoting and the | |
764 acceptance of a line of text by readline. | |
765 (get_quoting_function, get_dequoting_function, | |
766 get_char_is_quoted_function, get_user_accept_line_function): | |
767 Functions to get the above functions. | |
768 (accept_line): New method for the command_editor to accept a line | |
769 of text. | |
770 (file_quoting_desired): Function to set whether readline should | |
771 attempt to quote filenames. | |
772 (do_set_filename_quoting_characters, | |
773 do_set_completer_quote_characters, do_set_quoting_function, | |
774 do_set_dequoting_function, do_set_char_is_quoted_function, | |
775 do_set_user_accept_line_function, do_get_quoting_function, | |
776 do_get_dequoting_function, do_get_char_is_quoted_function, | |
777 do_get_user_accept_line_function, do_filename_quoting_desired): | |
778 Virtual functions to control the behavior of readline quoting and | |
779 acceptance of lines. | |
780 (do_accept_line): Virtual function for the accept line function. | |
781 * cmd-edit.cc (class gnu_readline do_set_filename_quote_characters, | |
782 do_completer_quote_characters, do_set_quoting_function, | |
783 do_set_dequoting_function, do_set_char_is_quoted_function, | |
784 do_set_user_accept_line_function, do_get_quoting_function, | |
785 do_get_dequoting_function, do_get_user_accept_line_function, | |
786 do_accept_line, do_filename_quoting_desired, command_quoter, | |
787 command_dequoter, command_char_is_quoted, command_accept_line): | |
788 New functions in gnu_readline class to control filename quoting | |
789 and line acceptance. | |
790 (quoting_function, dequoting_function, char_is_quoted_function, | |
791 user_accept_line_function): private variable to store functions | |
792 supplied for readline quoting and line acceptance. | |
793 (gnu_readline::gnu_readline): Also set the new function pointers | |
794 to zero. | |
795 (gnu_readline::do_newline): Adapt to new octave_rl_newline | |
796 interface. | |
797 (gnu_readeline::operate_and_get_next): Use new accept_line | |
798 function rather than newline. | |
799 (default_ommand_editor::do_accept_line): New method. | |
800 (class command_editor set_filename_quote_characters, | |
801 set_completer_quote_characters, set_quoting_function, | |
802 set_dequoting_function, set_char_is_quoted_function, | |
803 set_user_accept_line_function, get_quoting_function, | |
804 get_dequoting_function, get_user_accept_line_function, | |
805 accept_line, filename_quoting_desired): New functions checking | |
806 instance before calling virtual function. | |
807 | |
808 * CMatrix.h, dMatrix.h, boolMatrix.h, chMatrix.h, MArray2.h, | |
809 Array2.h: Add dim_vector constructors. | |
810 * charNDArray.h (charNDArray (const dim_vector&)): Add missing | |
811 const to dim_vector constructors. | |
812 * boolMatrix.cc, chMatrix.cc, intNDArray.cc (diag (void), diag | |
813 (octave_idx_type)): New methods to constructor diagonal matrices. | |
814 * boolMatrix.h, chMatrix.h, intNDArray.h (diag (void), diag | |
815 (octave_idx_type)): Declare them. | |
816 | |
817 | |
6969 | 818 2007-10-06 John W. Eaton <jwe@octave.org> |
819 | |
820 * lo-specfun.cc: (zlgamma): Delete. | |
821 (xgamma): Use C library gamma function if available. | |
822 (xlgamma): Use C library lgamma function if available. | |
823 (xlgamma) [! HAVE_LGAMMA]: Allow calculation for any value of X | |
824 other than NaN or Inf. | |
825 | |
6961 | 826 2007-10-05 John W. Eaton <jwe@octave.org> |
827 | |
828 * lo-specfun.cc (zlgamma): New function. | |
829 | |
6959 | 830 2007-10-04 John W. Eaton <jwe@octave.org> |
831 | |
832 * oct-sort.cc (octave_sort<T>::binarysort): Remove register | |
833 qualifiers on local variables. | |
834 | |
6958 | 835 2007-10-04 Marco Caliari <mcaliari@math.unipd.it> |
836 | |
837 * CMatrix.cc (ComplexMatrix::expm): Limit shift to values less | |
838 than log(realmax) to avoid issues with NaN. | |
839 | |
6940 | 840 2007-10-01 John W. Eaton <jwe@octave.org> |
841 | |
6941 | 842 * oct-time.cc (octave_strptime::init): Call mktime to propertly |
843 initialize wday and yday. | |
844 From Matthias Drochner <m.drochner@fz-juelich.de>. | |
845 | |
6940 | 846 * cmd-edit.cc (command_editor::do_decode_prompt_string): Don't |
847 insert extra '\001' when decoding \[ and \]. | |
848 | |
6926 | 849 2007-09-26 David Bateman <dbateman@free.fr> |
850 | |
851 * dMatrix.cc (lssolve): Replace the use of xGELSS with xGELSY with | |
852 is much faster and no less accurate. | |
853 * CMatrix.cc (lssolve): ditto. | |
854 | |
6924 | 855 2007-09-25 David Bateman <dbateman@free.fr> |
856 | |
857 * dMatrix.cc (utsolve, ltsolve, fsolve, lssolve): Allow | |
858 zero dimensioned matrices. | |
859 * CMatrix.cc (utsolve, ltsolve, fsolve, lssolve): ditto. | |
860 * dSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
861 ditto. | |
862 * CSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
863 ditto. | |
864 * SparseQR.cc (SparseQR::SparseQR_rep::C, qrsolve): ditto. | |
865 * SparseCmplxQR.cc (SparseComplexQR::SparseComplexQR_rep::C, | |
866 qrsolve): ditto. | |
867 * sparse-dmsolve.cc (dmsolve): ditto. | |
868 | |
6922 | 869 2007-09-21 John W. Eaton <jwe@octave.org> |
870 | |
871 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): | |
872 Also allow resizing empty LHS if it is 1x0 or 0xN. | |
873 | |
6916 | 874 2007-09-19 John W. Eaton <jwe@octave.org> |
875 | |
876 * cmd-edit.cc (command_editor::remove_startup_hook): | |
877 Fix cut-and-paste error. | |
6917 | 878 (gnu_readline::set_startup_hook): Only set hook function if new |
879 function is different from the current one. | |
6916 | 880 |
6913 | 881 2007-09-18 John W. Eaton <jwe@octave.org> |
882 | |
883 * cmd-edit.h, cmd-edit.cc (command_editor::startup_hook_set, | |
884 command_editor::event_hook_set): New static data. | |
885 (default_command_editor::set_startup_hook, | |
886 gnu_readline::set_startup_hook, | |
887 default_command_editor::restore_startup_hook, | |
888 gnu_readline_restore_event_hook): | |
889 Rename from do_set_startup_hook and do_set_event_hook. | |
890 (gnu_readline::operate_and_get_next): Call | |
891 command_editor::add_startup_hook, not | |
892 command_editor::set_startup_hook. | |
893 (command_editor::startup_handler, command_editor::event_handler): | |
894 New functions. | |
895 (command_editor::add_startup_hook, command_editor::add_event_hook, | |
896 command_editor::remove_startup_hook, | |
897 command_editor::remove_event_hook): Rename from set_startup_hook | |
898 and restore_startup_hook. Handle hook sets here. | |
899 * cmd-edit.cc (gnu_history::do_goto_mark): | |
900 Call remove_startup_hook instead of restore_startup_hook. | |
901 | |
6907 | 902 2007-09-17 John W. Eaton <jwe@octave.org> |
903 | |
904 * lo-utils.cc (octave_read_complex, octave_read_double): Skip | |
905 leading whitespace. | |
906 | |
6897 | 907 2007-09-13 John W. Eaton <jwe@octave.org> |
908 | |
909 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
910 octave_read_complex): Use istream::get instead of >> to read | |
911 individual characters. | |
912 | |
6884 | 913 2007-09-10 John W. Eaton <jwe@octave.org> |
914 | |
915 * Array.cc (assign1): Don't call make_unique for invalid assignment. | |
916 | |
917 2007-09-10 David Bateman <dbateman@free.fr> | |
918 | |
919 * Array.h (Array<T>::make_unique): Make public so that the | |
920 ::assign functions can access it directly. | |
921 * Array.cc (Array<T>::maybe_delete_elements_1(idx_vector&), | |
922 Array<T>::maybe_delete_elements_1(idx_vector&), | |
923 Array<T>::maybe_delete_elements(idx_vector&, idx_vector&), | |
924 Array<T>::maybe_delete_elements(Array<idx_vector>&, const T&)): | |
925 Use xelem for non const RHS to avoid call to make_unique. | |
926 (int assign1 (Array<LT>&, const Array<RT>&, const LT&)): Use | |
927 xelem for LHS and call lhs.make_unique() only once. Special case | |
928 the is_colon index case and use Array<T>::xelem(octave_idx_type) | |
929 rather than Array<T>::xelem(octave_idx_type,octave_idx_type) and | |
930 bring the additional multiplication out of the inner loop. | |
931 (int assign2 (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
932 (int assignN (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
933 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep | |
934 (const Range& r)): Don't use init_state() method but special case | |
935 as with a Range can avoid exhaustive search. | |
936 | |
6881 | 937 2007-09-07 John W. Eaton <jwe@octave.org> |
938 | |
939 * Array.cc (Array<T>::fortran_vec): Call make_unique instead of | |
940 manipulating rep directly. | |
941 | |
942 * Array.h (idx, idx_count): Declare mutable. | |
943 (Array<T>::set_index, Array<T>::clear_index, Array<T>::value): | |
944 Now const. | |
945 | |
6867 | 946 2007-09-06 David Bateman <dbateman@free.fr> |
947 | |
6868 | 948 * Array-util.cc (increment_index): dimensions can have singleton |
949 trailing dimensions. | |
6867 | 950 * Array.h (range_error, xelem, checkelem, elem, operator ()): |
951 Modify use of Array<int> to Array<octave_idx_type> and adjust | |
952 where necessary. | |
953 * Array.cc (range_error): ditto. | |
954 * MArrayN.h (permute, ipermute): ditto. | |
955 * ArrayN.h (permute, ipermute): ditto. | |
956 * so-array.cc (streamoff_array::compute_index): ditto. | |
957 * so-array.h (compute_index): ditto. | |
958 * CMattrix.cc (ComplexMatrix::exmpm): ditto. | |
959 | |
6840 | 960 2007-08-29 David Bateman <dbateman@free.fr> |
961 | |
962 * dSparse.cc (SparseMatrix SparseMatrix::inverse (MatrixType &, | |
963 octave_idx_type&, double&, int, int)): Calculate with LU even for | |
964 matrices marked as singular. | |
965 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::inverse ( | |
966 MatrixType &, octave_idx_type&, double&, int, int)): ditto. | |
967 * dMatrix.cc (Matrix Matrix::inverse (MatrixType &, octave_idx_type&, | |
968 double&, int, int)): ditto. If rcond==0 force matrix of infinities. | |
969 * dMatrix.cc (ComplexMatrix ComplexMatrix::inverse (MatrixType &, | |
970 octave_idx_type&, double&, int, int)): ditto. | |
971 | |
6838 | 972 2007-08-27 John W. Eaton <jwe@octave.org> |
973 | |
974 * oct-env.cc (octave_env::rooted_relative_pathname, | |
975 octave_env::do_rooted_relative_pathname): New functions. | |
976 * oct-env.h: Provide decls. | |
977 | |
6823 | 978 2007-08-24 David Bateman <dbateman@free.fr> |
979 | |
980 * MSparse.h (MSparse<T>& insert (const Sparse<T>&, | |
981 const Array<octave_idx_type>&)): New method. | |
982 (MSparse (const dim_vector&, octave_idx_type)): Ditto. | |
983 * dSparse.h (SparseMatrix& SparseMatrix::insert (const | |
984 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
985 (SparseMatrix (const dim_vector&, octave_idx_type)): ditto. | |
986 * dSparse.cc (SparseMatrix& SparseMatrix::insert (const | |
987 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
988 * boolSparse.h (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
989 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
990 * boolSparse.cc (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
991 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
992 * CSparse.h (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
993 SparseMatrix&, const Array<octave_idx_type>&), | |
994 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
995 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
996 (SparseComplexMatrix (const dim_vector&, octave_idx_type)): ditto. | |
997 * CSparse.cc (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
998 SparseMatrix&, const Array<octave_idx_type>&), | |
999 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
1000 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
1001 | |
6817 | 1002 2007-08-19 David Bateman <dbateman@free.fr> |
1003 | |
1004 * Sparse.cc (Sparse<T>::permute): Avoid shadowing warning. | |
1005 | |
6813 | 1006 2007-08-14 John W. Eaton <jwe@octave.org> |
1007 | |
1008 * Sparse.cc (Sparse<T>::permute): permutation vector is zero based. | |
1009 Simplify. | |
6814 | 1010 (Sparse<T>::reshape): Warn about reshaping to N-d array. |
6813 | 1011 |
6810 | 1012 2007-08-10 Michael Goffioul <michael.goffioul@gmail.com> |
1013 | |
1014 * file-stat.cc (file_stat::update_internal) [__WIN32__]: | |
1015 Remove trailing dir separator when stat'ing directory except for | |
1016 root directory. | |
1017 | |
6796 | 1018 2007-07-25 David Bateman <dbateman@free.fr> |
1019 | |
1020 * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" | |
1021 to work. | |
1022 | |
6764 | 1023 2007-06-04 David Bateman <dbateman@free.fr> |
1024 | |
1025 * oct-inttypes.h (octave_int<T>& operator <<= (const T2&), | |
1026 octave_int<T>& operator >>= (const T2&)): Make shift operators | |
1027 perform a twos complement arithmetic shift for both signed and | |
1028 unsigned integers regardless of compiler implementations. | |
1029 | |
6708 | 1030 2007-06-13 Michael Goffioul <michael.goffioul@swing.be> |
1031 | |
6719 | 1032 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): For CXSparse 2.2 and greater |
1033 use cs_complex_t(0,0) for the complex zero. | |
1034 | |
6708 | 1035 * MArray-ch.cc, MArray-d.cc, MArray-i.cc, MArray-s.cc: |
1036 Sprinkle class instantiations with OCTAVE_API as needed. | |
1037 | |
1038 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY, | |
1039 INSTANTIATE_ARRAY_AND_ASSIGN): New arg, API. Change all uses. | |
1040 * MArray-defs.h (MARRAY_OP_ASSIGN_DECL, MARRAY_OP_ASSIGN_DECLS, | |
1041 MARRAY_OP_ASSIGN_FWD_DECLS, MARRAY_OP_ASSIGN_FRIENDS, | |
1042 MARRAY_OP_ASSIGN_DEFS, MARRAY_UNOP, MARRAY_UNOP_DECLS, | |
1043 MARRAY_UNOP_FWD_DECLS, MARRAY_UNOP_FRIENDS, MARRAY_UNOP_DEFS, | |
1044 MARRAY_BINOP_DECL, MARRAY_BINOP_DECLS, MARRAY_AA_BINOP_DECLS, | |
1045 MDIAGARRAY2_DAS_BINOP_DECLS, MDIAGARRAY2_SDA_BINOP_DECLS, | |
1046 MDIAGARRAY2_DADA_BINOP_DECLS, MARRAY_BINOP_FWD_DECLS, | |
1047 MDIAGARRAY2_BINOP_FWD_DECLS, MARRAY_BINOP_FRIENDS, | |
1048 MDIAGARRAY2_BINOP_FRIENDS, MARRAY_BINOP_DEFS, | |
1049 MDIAGARRAY2_BINOP_DEFS, MARRAY_OPS_FORWARD_DECLS, | |
1050 MDIAGARRAY2_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS, | |
1051 MDIAGARRAY2_OPS_FRIEND_DECLS, INSTANTIATE_MARRAY_FRIENDS, | |
1052 INSTANTIATE_MARRAY2_FRIENDS, INSTANTIATE_MARRAYN_FRIENDS, | |
1053 INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. | |
1054 * MSparse-defs.h (SPARSE_OP_ASSIGN_DECL, SPARSE_OP_ASSIGN_DECLS, | |
1055 SPARSE_OP_ASSIGN_FWD_DECLS, SPARSE_OP_ASSIGN_FRIENDS, | |
1056 SPARSE_OP_ASSIGN_DEFS, SPARSE_UNOP, SPARSE_UNOP_DECLS, | |
1057 SPARSE_UNOP_FWD_DECLS, SPARSE_UNOP_FRIENDS, SPARSE_UNOP_DEFS, | |
1058 SPARSE_BINOP_DECL, SPARSE_BINOP_DECLS, SPARSE_AA_BINOP_DECLS, | |
1059 SPARSE_BINOP_FWD_DECLS, SPARSE_BINOP_FRIENDS, SPARSE_BINOP_DEFS, | |
1060 SPARSE_OPS_FORWARD_DECLS, SPARSE_OPS_FRIEND_DECLS, | |
1061 INSTANTIATE_SPARSE_FRIENDS): Ditto. | |
1062 * Sparse-op-defs.h (SPARSE_BIN_OP_DECL, SPARSE_CMP_OP_DECL, | |
1063 SPARSE_BOOL_OP_DECL, SPARSE_SMS_BIN_OP_DECLS, | |
1064 SPARSE_SMS_CMP_OP_DECLS, SPARSE_SMS_EQNE_OP_DECLS, | |
1065 SPARSE_SMS_BOOL_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
1066 SPARSE_SMS_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
1067 SPARSE_SSM_CMP_OP_DECLS, SPARSE_SSM_EQNE_OP_DECLS, | |
1068 SPARSE_SSM_BOOL_OP_DECLS, SPARSE_SSM_OP_DECLS, | |
1069 SPARSE_SMSM_BIN_OP_DECLS, SPARSE_SMSM_CMP_OP_DECLS, | |
1070 SPARSE_SMSM_EQNE_OP_DECLS, SPARSE_SMSM_BOOL_OP_DECLS, | |
1071 SPARSE_SMSM_OP_DECLS, SPARSE_MSM_BIN_OP_DECLS, | |
1072 SPARSE_MSM_CMP_OP_DECLS, SPARSE_MSM_EQNE_OP_DECLS, | |
1073 SPARSE_MSM_BOOL_OP_DECLS, SPARSE_MSM_OP_DECLS, | |
1074 SPARSE_SMM_BIN_OP_DECLS, SPARSE_SMM_CMP_OP_DECLS, | |
1075 SPARSE_SMM_EQNE_OP_DECLS, SPARSE_SMM_BOOL_OP_DECLS, | |
1076 SPARSE_SMM_OP_DECLS): Ditto. | |
1077 * Sparse.h (INSTANTIATE_SPARSE_ASSIGN, INSTANTIATE_SPARSE, | |
1078 INSTANTIATE_SPARSE_AND_ASSIGN): Ditto. | |
1079 * mx-op-defs.h (BIN_OP_DECL, CMP_OP_DECL, NDCMP_OP_DECL, | |
1080 BOOL_OP_DECL, NDBOOL_OP_DECL, VS_BIN_OP_DECLS, VS_OP_DECLS, | |
1081 SV_BIN_OP_DECLS, SV_OP_DECLS, VV_BIN_OP_DECLS, VV_OP_DECLS, | |
1082 MS_BIN_OP_DECLS, MS_CMP_OP_DECLS, MS_BOOL_OP_DECLS, MS_OP_DECLS, | |
1083 SM_BIN_OP_DECLS, SM_CMP_OP_DECLS, SM_BOOL_OP_DECLS, SM_OP_DECLS, | |
1084 MM_BIN_OP_DECLS, MM_CMP_OP_DECLS, MM_BOOL_OP_DECLS, MM_OP_DECLS, | |
1085 NDS_BIN_OP_DECLS, NDS_CMP_OP_DECLS, NDS_BOOL_OP_DECLS, | |
1086 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_CMP_OP_DECLS, | |
1087 SND_BOOL_OP_DECLS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
1088 NDND_CMP_OP_DECLS, NDND_BOOL_OP_DECLS, NDND_OP_DECLS, | |
1089 SDM_BIN_OP_DECLS, SDM_OP_DECLS, DMS_BIN_OP_DECLS, DMS_OP_DECLS, | |
1090 MDM_BIN_OP_DECLS, MDM_OP_DECLS, DMM_BIN_OP_DECLS, DMM_OP_DECLS, | |
1091 DMDM_BIN_OP_DECLS, DMDM_OP_DECLS): Ditto. | |
1092 | |
6699 | 1093 2007-06-12 John W. Eaton <jwe@octave.org> |
1094 | |
1095 * dMatrix.cc (Matrix::expm): Special case for scalar arg. | |
1096 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6697 | 1097 |
6693 | 1098 2007-06-06 Michael Goffioul <michael.goffioul@swing.be> |
1099 | |
6709 | 1100 * file-ops.cc (tilde_find_suffix, isolate_tilde_prefix, |
1101 tilde_expand_word): Use file_ops::is_dir_sep instead of comparing | |
1102 with file_ops::dir_sep_char. | |
6694 | 1103 |
6693 | 1104 * MArray-C.cc: Sprinkle with OCTINTERP_API as needed. |
1105 | |
6689 | 1106 2007-06-04 David Bateman <dbateman@free.fr> |
1107 | |
6699 | 1108 * file-ops.cc: Typo. |
1109 | |
6689 | 1110 * Sparse.cc (Sparse<T> Sparse<T>::reshape): If length of new |
1111 dimensions is greater than 2, collapse to 2-D. | |
1112 | |
6685 | 1113 2007-06-02 David Bateman <dbateman@free.fr> |
1114 | |
1115 * SparseCmplxQR.cc: Changes to support CXSparse 2.2.0. | |
1116 | |
6680 | 1117 2007-05-31 John W. Eaton <jwe@octave.org> |
1118 | |
1119 * Array.cc (Array::get_size): Throw std::bad_alloc exception if | |
1120 the computed size is too large for the size of Octave's index type. | |
1121 | |
6662 | 1122 2007-05-23 John W. Eaton <jwe@octave.org> |
1123 | |
1124 * oct-sparse.h: Don't surround included files with extern "C" { ... }. | |
1125 | |
6629 | 1126 2007-05-16 David Bateman <dbateman@free.fr> |
1127 | |
1128 * dRowVector.cc (linspace): Return second argument if fewer than | |
1129 two values are requested. | |
1130 * CRowVector.cc (linspace): Likewise. | |
1131 | |
6596 | 1132 2007-04-27 John W. Eaton <jwe@octave.org> |
1133 | |
1134 * lo-mappers.cc (signum (const Complex&)): Special case for (0, 0). | |
1135 | |
6583 | 1136 2007-04-25 John W. Eaton <jwe@octave.org> |
1137 | |
1138 * oct-fftw.h (octave_fftw): Tag with OCTAVE_API. | |
1139 | |
6553 | 1140 2007-04-20 John W. Eaton <jwe@octave.org> |
1141 | |
1142 * Array.cc (assign1): For x(:) = RHS, require rhs_len == lhs_len, | |
1143 not rhs_len == 1. | |
1144 | |
6536 | 1145 2007-04-18 Michael Goffioul <michael.goffioul@swing.be> |
1146 | |
1147 * oct-md5.h (oct_md5, oct_md5_file): Tag decls with OCTAVE_API. | |
1148 | |
6525 | 1149 2007-04-13 John W. Eaton <jwe@octave.org> |
1150 | |
1151 * Array.cc (Array<T>::maybe_delete_elements_2): Don't return early | |
1152 for empty matrix. Only check for colon index equivalence if not empty. | |
1153 | |
6513 | 1154 2007-04-10 John W. Eaton <jwe@octave.org> |
1155 | |
1156 * SparseCmplxQR.cc | |
1157 (SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep): | |
1158 Move GCC_ATTR_UNUSED before the parameter decl. | |
1159 From Luis Ortiz <lortiz@interactivesupercomputing.com>. | |
1160 | |
6508 | 1161 2007-04-06 John W. Eaton <jwe@octave.org> |
1162 | |
1163 * MArray-defs.h (MARRAY_NORM_BODY): New macro. | |
1164 * MArray.h (MArray<T>::norm): New function. | |
1165 * MArray.cc: Provide decl. | |
1166 * MArray-d.cc (MArray<double>::norm): Define double specialization. | |
1167 * MArray-C.cc (MArray<Complex>::norm): Define Complex specialization. | |
1168 | |
6490 | 1169 2007-04-04 John W. Eaton <jwe@octave.org> |
1170 | |
1171 * Range.cc (Range::nelem_internal): Likewise. | |
1172 * lo-utils.cc (NINT): Use numeric_limits<int> instead of INT_MAX. | |
1173 (NINTbig): Use numeric_limits<octave_idx_type> instead of INT_MAX. | |
1174 From Scott Pakin <pakin@lanl.gov>. | |
1175 | |
6486 | 1176 2007-04-04 David Bateman <dbateman@free.fr> |
1177 | |
1178 * dMatrix.cc (Matrix::inverse): If calc_cond is true, calculate | |
1179 the condition number for positive definite matrices. | |
1180 * CMatrix.cc (ComplexMatrix::inverse): Ditto. | |
1181 * dbleChol.h (CHOL(const Matrix&, bool)): New arg, calc_cond. | |
1182 (CHOL(const Matrix&, octave_idx_type&, bool): Ditto. | |
1183 (octave_idx_type init (const Matrix&, bool)): Ditto. | |
1184 (CHOL(const CHOL&)): Copy xrcond. | |
1185 (CHOL& operator = (const CHOL&)): Copy xrcond. | |
1186 (xrcond): New private data member. | |
1187 * CmplxCHOL.h (ComplexCHOL(const ComplexMatrix&, bool)): New arg, | |
1188 calc_cond. | |
1189 (ComplexCHOL(const ComplexMatrix&, octave_idx_type&, bool): Ditto | |
1190 (octave_idx_type init (const ComplexMatrix&, bool)): Ditto. | |
1191 (ComplexCHOL(const ComplexCHOL&)): Copy xrcond. | |
1192 (ComplexCHOL& operator = (const ComplexCHOL&)): Copy xrcond. | |
1193 (xrcond): New private data member. | |
1194 * dbleCHOL.cc (CHOL::init(const Matrix&, bool)): If calc_cond is | |
1195 true, calculate the condition number with dpocon. | |
1196 * CmplxCHOL.cc (ComplexCHOL::init(const ComplexMatrix&, bool)): If | |
1197 calc_cond is true, calculate the condition number with zpocon. | |
1198 | |
6481 | 1199 2007-04-03 John W. Eaton <jwe@octave.org> |
1200 | |
6482 | 1201 * intNDArray.cc (intNDArray): Delete spurious semicolon. |
1202 | |
1203 * CMatrix.cc (ComplexMatrix::tinverse): Use Array<T> and | |
1204 fortran_vec method instead of OCTAVE_LOCAL_BUFFER to avoid | |
1205 "maybe clobbered by vfork" warning. | |
1206 | |
6483 | 1207 * Sparse-op-defs.h (SPARSE_CUMSUM): Add braces to avoid ambiguous |
6482 | 1208 if/else. |
1209 | |
1210 * oct-spparms.h (octave_sparse_params): Define copy constructor | |
1211 and destructor. | |
1212 | |
6481 | 1213 * Array.cc (assignN): Don't resize dimension if corresponding |
1214 index is empty. | |
1215 | |
6479 | 1216 2007-04-02 John W. Eaton <jwe@octave.org> |
1217 | |
1218 * dMatrix.h (Matrix::inverse): Reinstate versions without | |
1219 MatrixType argument. | |
1220 * CMatrix.h (ComplexMatrix::inverse): Likewise. | |
1221 | |
6467 | 1222 2007-03-27 John W. Eaton <jwe@octave.org> |
1223 | |
1224 * Makefile.in (DISTDIRS): Delete variable. | |
1225 (dist): Delete action for DISTDIRS. Use ln instead of $(LN_S). | |
1226 | |
6460 | 1227 2007-03-26 David Bateman <dbateman@free.fr> |
1228 | |
1229 * MatrixType.cc: Replace all uses of the method | |
1230 octave_sparse_params::get_key ("bandden") with | |
1231 octave_sparse_params::get_bandden (void). | |
1232 (MatrixType::MatrixType (void)): Undo previous change but use | |
1233 octave_sparse_params::get_bandden (void). | |
1234 * oct-spparms.cc (get_bandden(void), do_get_bandden(void)): New | |
1235 methods. | |
1236 * oct-spparms.h (get_bandden(void), do_get_bandden(void)): | |
1237 Declare them. | |
1238 | |
6458 | 1239 2007-03-26 Luis Ortiz <lortiz@interactivesupercomputing.com> |
1240 David Bateman <dbateman@free.fr> | |
1241 | |
1242 * idx-vector.h.cc (IDX_VEC_REP::idx_vector_rep (const Range&)): | |
1243 Check that all elements are ints before doing anything. Simplify | |
1244 calculation of index values. | |
1245 | |
6457 | 1246 2007-03-26 David Bateman <dbateman@free.fr> |
1247 | |
1248 * Range.cc (Range::all_elements_are_ints): Improve check. | |
1249 | |
6456 | 1250 2007-03-26 John W. Eaton <jwe@octave.org> |
1251 | |
1252 * chNDArray.cc, chMatrix.cc: Also generate comparison and bool ops. | |
1253 * chNDArray.h, chMatrix.h: Provide decls. | |
1254 | |
1255 2007-03-24 Luis Ortiz <lortiz@interactivesupercomputing.com> | |
1256 | |
1257 * MatrixType.cc (MatrixType::MatrixType (void)): Initialize | |
1258 sp_bandden to zero for performance reasons as it's not used. | |
6452 | 1259 |
6435 | 1260 2007-03-23 David Bateman <dbateman@free.fr> |
1261 | |
1262 * oct-rand.cc (octave_rand::seed): Seed differently for big and | |
1263 little endian. | |
1264 | |
6414 | 1265 2007-03-15 John W. Eaton <jwe@octave.org> |
1266 | |
1267 * lo-mappers.cc (acos): Use formula similar to what we use for asin. | |
1268 From Alexander Barth <abarth@marine.usf.edu>. | |
1269 | |
6402 | 1270 2007-03-12 John W. Eaton <jwe@octave.org> |
1271 | |
1272 * oct-inttypes.h (octave_int::octave_int (double)): | |
1273 New Specialization. Round arg. | |
1274 (operator / (const octave_int<T1>&, const octave_int<T2>&)): | |
1275 Round result before converting type. | |
1276 | |
6388 | 1277 2007-03-07 John W. Eaton <jwe@octave.org> |
1278 | |
6392 | 1279 * Array.cc (assign1): Avoid resizing if there is an error. |
1280 | |
6390 | 1281 * dMatrix.cc, CMatrix.cc (operator *): Only check |
1282 f77_exception_encountered immediately after calls that use F77_XFCN. | |
1283 | |
6389 | 1284 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
1285 Only allow resizing empty LHS if it is 0x0. | |
1286 | |
6388 | 1287 * Array.cc (Array<T>::maybe_delete_elements (Array<idx_vector>&, |
1288 const T&)): Handle case of more indices than dimensions. | |
1289 (assign (Array<LT>&, const Array<RT>&, const LT&)): Allow more | |
1290 cases to be handled by assignN. | |
1291 (assignN (Array<LT>&, const Array<RT>&, const LT&)): | |
1292 Special cases for 2-d array assignments for speed. | |
1293 Improve handling of scalar RHS and empty indices. | |
6384 | 1294 |
6383 | 1295 2007-03-05 David Bateman <dbateman@free.fr> |
1296 | |
1297 * oct-md5.c (oct_md5_file (const std::string&)): New function. | |
1298 * oct-md5.h (oct_md5_file (const std::string&)): Declare it. | |
1299 | |
6379 | 1300 2007-03-02 John W. Eaton <jwe@octave.org> |
1301 | |
1302 * str-vec.h (string_vector::empty): Return bool, not int. | |
1303 | |
6375 | 1304 2007-03-01 David Bateman <dbateman@free.fr> |
1305 | |
1306 * md5.h, md5.c: New files from libmd5-rfc sourceforge project for | |
1307 an independent implementation of RFC1321. | |
1308 * oct-md5.h, oct-md5: New files for treating std::string class | |
1309 with MD5. | |
1310 * Makefile.in (INCLUDES): Add md5.h and oct-md5.h | |
1311 (LIBOCTAVE_CXX_SOURCES): Add oct-md5.cc | |
1312 (LIBOCTAVE_C_SOURCES): Add md5.c | |
1313 | |
6366 | 1314 2007-02-27 John W. Eaton <jwe@octave.org> |
1315 | |
1316 * Makefile.in (uninstall): Delete files listed in | |
1317 $(INCLUDES_FOR_INSTALL), instead of $(INCLUDES). | |
1318 From Thomas Treichl <Thomas.Treichl@gmx.net>. | |
1319 | |
6536 | 1320 2007-02-27 Michael Goffioul <michael.goffioul@swing.be> |
6363 | 1321 |
1322 * file-ops.cc (file_ops::recursive_rmdir): | |
1323 Close dir_entry object before calling rmdir. | |
1324 | |
6536 | 1325 2007-02-26 Michael Goffioul <michael.goffioul@swing.be> |
6358 | 1326 |
1327 * Makefile.in: Use $(LN_S) instead of ln or ln -s. | |
1328 | |
6359 | 1329 * sparse-util.h (SparseCholPrint, SparseCholError): |
1330 Tag with OCTAVE_API. | |
1331 | |
6326 | 1332 2007-02-18 David Bateman <dbateman@free.fr> |
1333 | |
1334 * oct-rand.cc (do_old_initialization()): call setcgn(1) prior to | |
1335 calling setall and reset to the current generator after. | |
1336 | |
6323 | 1337 2007-02-16 John W. Eaton <jwe@octave.org> |
1338 | |
1339 * oct-shlib.h (octave_shlib::relative): New data member. | |
1340 (octave_shlib::mark_relative, octave_shlib::is_relative): | |
1341 New functions. | |
1342 | |
6321 | 1343 2007-02-16 Michael Goffioul <michael.goffioul@swing.be> |
1344 | |
1345 * lo-sysdep.cc (octave_popen2): New function to simulate popen2 on | |
1346 windows platform. | |
1347 * lo-sysdep.h (octave_popen2): Declare it. | |
1348 * oct-syscalls.cc (octave_syscalls::popen2): New function. | |
1349 * oct-syscalls.h (octave_syscalls::popen2): Declare it. | |
1350 | |
6306 | 1351 2007-02-14 John W. Eaton <jwe@octave.org> |
1352 | |
1353 * kpse.cc (expand_elt): Omit special treatment for //. | |
1354 | |
6273 | 1355 2007-02-06 John W. Eaton <jwe@octave.org> |
1356 | |
1357 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_REALPATH]: | |
1358 Don't delete value returned from realpath. | |
1359 | |
6271 | 1360 2007-02-05 Thomas Treichl <Thomas.Treichl@gmx.net> |
1361 | |
1362 * file-ops.cc (file_ops::canonicalize_file_name): | |
1363 Provide implementation if realpath function is available. | |
1364 | |
6256 | 1365 2007-01-29 Michael Goffioul <michael.goffioul@swing.be> |
1366 | |
1367 * oct-fftw.h: Sprinkle with OCTAVE_API as needed. | |
1368 | |
6244 | 1369 2007-01-17 Michael Goffioul <michael.goffioul@swing.be> |
1370 | |
1371 * lo-sysdep.cc (octave_chdir): Handle directory names like "C:" on | |
1372 Windows systems. | |
1373 | |
6242 | 1374 2007-01-16 John W. Eaton <jwe@octave.org> |
1375 | |
1376 * dSparse.cc: Fix dgbtrf decl for --enable-64. | |
1377 (SparseMatrix::bsolve): Fix call to dgbtrf for --enable-64 | |
1378 | |
1379 * oct-fftw.h (fftw_planner): Provide decl. | |
1380 | |
6241 | 1381 2007-01-11 Michael Goffioul <michael.goffioul@swing.be> |
1382 | |
1383 * Makefile.in (LINK_DEPS): Include $(CAMD_LIBS) in the list. | |
1384 | |
6236 | 1385 2007-01-10 John W. Eaton <jwe@octave.org> |
1386 | |
1387 * oct-sparse.h: Use HAVE_CHOLMOD_CHOLMOD_H, not | |
1388 HAVE_UMFPACK_CHOLMOD_H for case of "cholmod/cholmod.h". | |
1389 | |
6231 | 1390 2007-01-08 David Bateman <dbateman@free.fr> |
1391 | |
1392 * oct-sparse.h: Replace sparsesuite with suitesparse and | |
1393 SPARSESUITE with SUITESPARSE to match upstream name. | |
1394 | |
6228 | 1395 2007-01-05 David Bateman <dbateman@free.fr> |
1396 | |
1397 * oct-fftw.cc: (octave_fftw_planner::method (void), | |
1398 octave_fftw_planner (FftwMethod)): New methods to interrogate and | |
1399 set the FFTW wisdom method used. | |
1400 (octave_fftw_planner::create_plan) Modify to allow different | |
1401 methods to be used. | |
1402 (octave_fftw_planner): Move class definition from here. | |
1403 * oct-fftw.h (octave_fftw_planner): To here. Add method methods | |
1404 and FftwMethod enum. | |
1405 | |
6221 | 1406 2007-01-03 David Bateman <dbateman@free.fr> |
1407 | |
1408 * MSparse.cc (SPARSE_A2A2_OP, SPARSE_A2A2_FCN_1, | |
1409 SPARSE_A2A2_FCN_1): Modify macros so that scalars stored as | |
1410 sparse matrices are special cased. | |
1411 | |
1412 * Sparse-op-defs.h: Include mx-ops.h to have access to mixed | |
1413 matrix, sparse matrix operations. | |
1414 (SPARSE_SMSM_BIN_OP_1, SPARSE_SMSM_BIN_OP_2, SPARSE_SMSM_BIN_OP_3, | |
1415 SPARSE_SMSM_CMP_OP, SPARSE_SMSM_BOOL_OP, SPARSE_MSM_BIN_OP_1, | |
1416 SPARSE_MSM_BIN_OP_2, SPARSE_MSM_CMP_OP, SPARSE_MSM_BOOL_OP, | |
1417 SPARSE_SMM_BIN_OP_1, SPARSE_SMM_BIN_OP_2, SPARSE_SMM_CMP_OP, | |
1418 SPARSE_SMM_BOOL_OP, SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, | |
1419 FULL_SPARSE_MUL): Modify macros so that scalars stored as | |
1420 sparse matrices are special cased. | |
1421 | |
6217 | 1422 2006-12-22 David Bateman <dbateman@free.fr> |
1423 | |
1424 * boolSparse.cc (SparseBoolMatrix::operator !): Fix off-by-one error. | |
1425 | |
6216 | 1426 2006-12-22 John W. Eaton <jwe@octave.org> |
1427 | |
1428 * dim-vector.h (dim_vector::dim_vector): Always start with at | |
1429 least 2 dimensions. | |
1430 (dim_vector::resize): Don't allow resizing to fewer than 2 dimensions. | |
1431 | |
6208 | 1432 2006-12-06 Michael Goffioul <michael.goffioul@swing.be> |
1433 | |
1434 * lo-sysdep.cc (opendir): Avoid passing \\* to FindFirstFile. | |
1435 | |
1436 * file-ops.cc (ops::canonicalize_file_name): Provide partial | |
6217 | 1437 implementation for Windows. |
6208 | 1438 |
6207 | 1439 2006-12-06 David Bateman <dbateman@free.fr> |
1440 | |
6208 | 1441 * dSparse.cc (SparseMatrix::is_symmetric): Faster implementation. |
1442 * CSparse.cc (SparseComplexMatrix::is_symmetric): Ditto. | |
6207 | 1443 |
1444 * dMatrrix.cc (finverse): Old inverse method renamed inverse. | |
1445 (tinverse): New method for triangular matrices. | |
1446 (inverse): New function with matrix type probing. | |
1447 * dMatrix.h (finverse, tinverse, inverse): New and modified | |
1448 declarations. | |
6208 | 1449 * CMatrix.cc: Ditto. |
1450 * CMatrix.h: Ditto. | |
6207 | 1451 |
6205 | 1452 2006-12-06 John W. Eaton <jwe@octave.org> |
1453 | |
1454 * strptime.c (day_of_the_week): Use code from current glibc sources. | |
1455 | |
6202 | 1456 2006-12-05 John W. Eaton <jwe@octave.org> |
1457 | |
1458 * lo-utils.cc (octave_read_double): If we see '+' or '-' but not | |
1459 followed by 'I' or 'i', try reading number after putting | |
1460 characters back on input stream. | |
1461 | |
6198 | 1462 2006-12-05 Paul Kienzle <pkienzle@users.sf.net> |
1463 | |
1464 * randpoisson.c (oct_fill_randp): For lambda > 1e8, upper limit of | |
1465 loop is n, not L. | |
1466 | |
6194 | 1467 2006-11-30 John W. Eaton <jwe@octave.org> |
1468 | |
1469 * lo-utils.cc (octave_read_double, read_inf_nan_na): | |
1470 Also recognize [+-][Ii]nf. | |
1471 | |
6187 | 1472 2006-11-28 David Bateman <dbateman@free.fr> |
6186 | 1473 |
1474 * oct-sparse.h: Allow sparse headers to also be in a sparsesuite | |
1475 sub-directory. | |
1476 | |
6204 | 1477 * dSparse.cc (SparseMatrix::inverse): Transpose the matrix type as |
1478 well when calling tinverse for lower triangular matrices. | |
1479 * CSparse.cc (SparseComplexMatrix::inverse): | |
1480 Ditto. | |
6185 | 1481 |
6183 | 1482 2006-11-21 John W. Eaton <jwe@octave.org> |
1483 | |
1484 * oct-env.cc (do_absolute_pathname): Undo previous change. | |
1485 | |
6182 | 1486 2006-11-20 John W. Eaton <jwe@octave.org> |
1487 | |
1488 * oct-env.cc (octave_env::do_absolute_pathname): Also return true | |
1489 for ".", and names beginning with "./" or "../". | |
1490 | |
6162 | 1491 2006-11-14 Luis F. Ortiz <lortiz@interactivesupercomputing.com> |
1492 | |
1493 * CMatrix.cc, dMatrix.cc: New tests. | |
1494 | |
6153 | 1495 2006-11-13 Michael Goffioul <michael.goffioul@swing.be> |
1496 | |
1497 * Array-d.cc, dDiagMatrix.h: Sprinkle with OCTAVE_API as needed. | |
1498 | |
6152 | 1499 2006-11-11 John W. Eaton <jwe@octave.org> |
1500 | |
1501 * Makefile.in ($(OPTS_INC), mx-ops.h): | |
1502 Use $(simple-move-if-change-rule) here. | |
1503 | |
6148 | 1504 2006-11-09 David Bateman <dbateman@free.fr> |
1505 | |
1506 * sparse-base-chol.cc (sparse_base_chol_rep::Q): Cast perms(i) to | |
1507 octave_idx_type, not int. | |
1508 | |
6145 | 1509 2006-11-08 John W. Eaton <jwe@octave.org> |
1510 | |
1511 * dir-ops.cc (dir_entry::read): Avoid rewinddir. | |
1512 | |
6141 | 1513 2006-11-06 John W. Eaton <jwe@octave.org> |
1514 | |
1515 * Array.cc (assignN): Exit early if invalid indices are found. | |
1516 | |
6140 | 1517 2006-11-03 Michael Goffioul <michael.goffioul@swing.be> |
1518 | |
1519 * strftime.c [HAVE_TZNAME]: Tag tzname with OCTAVE_IMPORT. | |
1520 | |
6137 | 1521 2006-11-03 John W. Eaton <jwe@octave.org> |
1522 | |
1523 * Makefile.in (DLL_CXXDEFS): Rename from XTRA_CXXDEFS. | |
1524 (DLL_CDEFS): Rename from XTRA_CDEFS. | |
1525 Substitute OCTAVE_DLL_DEFS, not XTRA_OCTAVE_DEFS. | |
1526 | |
6123 | 1527 2006-10-28 Michael Goffioul <michael.goffioul@swing.be> |
1528 | |
1529 * oct-shlib.cc: Undefine min and max after including windows.h. | |
1530 * oct-syscalls.cc (syscalls::pipe (int *)): Avoid infinite recursion. | |
1531 * lo-sysdep.h: Move opendir, readdir, etc. decls here from | |
1532 lo-sysdep.cc. | |
1533 | |
6113 | 1534 2006-10-27 John W. Eaton <jwe@octave.org> |
1535 | |
6119 | 1536 * oct-time.cc [! HAVE_STRFTIME]: Declare strftime. |
1537 | |
1538 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> | |
1539 | |
1540 * mx-op-defs.h (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, | |
1541 NDS_CMP_OPS2): New macros. | |
6113 | 1542 |
6111 | 1543 2006-10-26 John W. Eaton <jwe@octave.org> |
1544 | |
6119 | 1545 * mx-ops (core-type): New field for integer types. |
1546 * mk-ops.awk: Handle core-type for integer comparison ops. | |
1547 | |
6111 | 1548 * lo-cutils.c (octave_strcasecmp, octave-strncasecmp): |
1549 Move here from src/cutils.c. | |
1550 * lo-utils.h: Provide decls. | |
1551 * strcasecmp.c: Move here from src/strcasecmp.c. | |
1552 * strncase.c: Move here from src/strncase.c. | |
1553 * Makefile.in (LIBOCTAVE_C_SOURCES): Add them to the list. | |
1554 | |
6106 | 1555 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
1556 | |
1557 * kpse.cc [! MSVC]: Don't include win32lib.h. | |
1558 | |
6708 | 1559 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-util.h, |
1560 Array.h, CColVector.h, CMatrix.h, CNDArray.h, CRowVector.h, | |
1561 CSparse.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, | |
1562 CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, | |
1563 CollocWt.h, DAE.h, DASPK.h, DASRT.h, DASSL.h, EIG.h, LSODE.h, | |
1564 MArray-C.cc, MArray-defs.h, MSparse-C.cc, MSparse-d.cc, | |
1565 MSparse-defs.h, MatrixType.h, NLEqn.h, Quad.h, Range.h, | |
1566 Sparse-op-defs.h, Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, | |
1567 SparseCmplxQR.h, SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, | |
1568 boolMatrix.h, boolNDArray.h, boolSparse.h, chMatrix.h, | |
1569 chNDArray.h, cmd-edit.h, cmd-hist.h, dColVector.h, dDiagMatrix.h, | |
1570 dMatrix.h, dNDArray.h, dRowVector.h, dSparse.h, data-conv.h, | |
1571 dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, dbleLU.h, | |
1572 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, dir-ops.h, | |
1573 file-ops.h, file-stat.h, glob-match.h, idx-vector.h, | |
1574 int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, | |
1575 lo-cutils.c, lo-ieee.h, lo-mappers.h, lo-specfun.h, lo-utils.h, | |
1576 mach-info.h, mx-op-defs.h, oct-alloc.h, oct-env.h, oct-group.h, | |
1577 oct-inttypes.cc, oct-inttypes.h, oct-passwd.h, oct-rand.h, | |
1578 oct-shlib.h, oct-spparms.h, oct-syscalls.h, oct-time.h, | |
1579 oct-uname.h, pathsearch.h, prog-args.h, so-array.h, str-vec.h, | |
1580 uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc, | |
1581 uint8NDArray.cc: Sprinkle with OCTAVE_API as needed. | |
6108 | 1582 |
6105 | 1583 2006-10-26 John W. Eaton <jwe@octave.org> |
1584 | |
1585 * oct-inttypes.cc (INSTANTIATE_INTTYPE_BIN_OP): Provide explicit | |
1586 type qualification for OP. | |
1587 | |
6101 | 1588 2006-10-26 David Bateman <dbateman@free.fr> |
1589 | |
1590 * Sparse.cc (Sparse<T>::resize_no_fill (octave_idx_type, | |
1591 octave_idx_type)): Be more careful with the size of the input | |
1592 matrix, and therefore don't create or read non existent data. | |
1593 | |
6092 | 1594 2006-10-25 John W. Eaton <jwe@octave.org> |
1595 | |
1596 * Sparse.cc (assign): Clear lhs index after error. | |
1597 | |
6093 | 1598 2006-10-25 David Bateman <dbateman@free.fr> |
6092 | 1599 |
1600 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1601 Fix previous patch so it works. | |
1602 | |
6087 | 1603 2006-10-25 Michael Goffioul <michael.goffioul@swing.be> |
1604 | |
6095 | 1605 * glob-match.h (glob_match::glob_match (const std::string&, |
1606 unsigned int)): Delete initializer for first arg. | |
1607 | |
6093 | 1608 * lo-sysdep.cc (opendir, readdir, rewinddir, closedir): |
1609 New functions. | |
1610 | |
6087 | 1611 * Makefile.in (XTRA_CDEFS, XTRA_CXXDEFS): Substitute here. |
1612 | |
6096 | 1613 * oct-env.cc (octave_env::do_get_home_directory) [_MSC_VER]: Use |
1614 same code as __MINGW32__. | |
1615 * syswait.h [_MSC_VER]: Define HAVE_WAITPID, WAITPID, and WNOHANG | |
1616 the same as for __MINGW32__. | |
1617 | |
1618 * randpoisson.c: Undefine INFINITE before redefining. | |
1619 | |
6079 | 1620 2006-10-24 David Bateman <dbateman@free.fr> |
1621 | |
1622 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Resize the | |
1623 lhs at the point we know the assignment can succeed if the lhs is | |
1624 empty. | |
1625 | |
6072 | 1626 2006-10-23 John W. Eaton <jwe@octave.org> |
1627 | |
1628 * Array.cc (assign2): Don't require vector assignments to be oriented. | |
1629 | |
6061 | 1630 2006-10-17 John W. Eaton <jwe@octave.org> |
1631 | |
1632 * lo-cieee.c: If isnan is not available but _isnan is, then define | |
1633 isnan to be _isnan, and define HAVE_ISNAN. Likewise for _finite | |
1634 and _copysign. | |
1635 | |
6059 | 1636 2006-10-17 Michael Goffioul <michael.goffioul@swing.be> |
6051 | 1637 |
6061 | 1638 * oct-syscalls.cc (syscalls::waitpid): Always declare and define retval. |
1639 | |
6708 | 1640 * CMatrix.cc (ComplexMatrix::solve): Avoid infinite recursion. |
1641 * CSparse.cc (SparseComplexMatrix::insert): Likewise. | |
6061 | 1642 |
6058 | 1643 * oct-types.h.in: Include limits.h, for CHAR_BIT. |
1644 | |
6059 | 1645 2006-10-13 Michael Goffioul <michael.goffioul@swing.be> |
1646 | |
6051 | 1647 * Makefile.in: Adapt rules to use $(LIBPRE). |
1648 | |
6027 | 1649 2006-10-03 David Bateman <dbateman@free.fr> |
1650 | |
1651 * MatrixType.cc (MatrixType::MatrixType): Avoid crash if np == 0 | |
1652 or p == 0. | |
1653 | |
6018 | 1654 2006-10-02 John W. Eaton <jwe@octave.org> |
1655 | |
1656 * dbleDET.cc (DET::initialize2): Ensure arg to log10 is double. | |
1657 * CmplxDET.cc (ComplexDET::initialize2): Likewise. | |
1658 | |
5996 | 1659 2006-09-22 David Bateman <dbateman@free.fr> |
1660 | |
1661 * MatrixType.h (MatrixType::MatrixType(const SparseComplexMatrix&)): | |
5997 | 1662 Remove spurious warning. |
5996 | 1663 |
5992 | 1664 2006-09-15 John W. Eaton <jwe@octave.org> |
1665 | |
1666 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&) const): | |
1667 Handle resizing. | |
1668 | |
1669 * intNDArray.h (intNDArray<T>:elt_type): New typedef. | |
1670 | |
5983 | 1671 2006-09-11 John W. Eaton <jwe@octave.org> |
1672 | |
1673 * dMatrix.cc (operator * (const Matrix&, const Matrix&))): | |
1674 Handle M*v and rv*cv special cases. | |
1675 * CMatrix.cc (operator * (const ComplexMatrix&, const | |
1676 ComplexMatrix&))): Likewise. | |
1677 From Luis F. Ortiz <lortiz@interactivesupercomputing.com>. | |
1678 | |
1679 * dRowVector.cc (operator * (const RowVector&, const | |
1680 ColumnVector&)): Call xddot here instead of using a Fortran | |
1681 function directly. | |
1682 * CRowVector.cc (operator * (const ComplexRowVector&, const | |
1683 ComplexColumnVector&)): Call xzdotu here. | |
1684 | |
1685 2006-09-05 John W. Eaton <jwe@octave.org> | |
1686 | |
1687 * chNDArray.cc (charNDArray::any, charNDArray::all): Compare | |
1688 elements to '\0', not ' '. | |
1689 | |
5972 | 1690 2006-08-25 John W. Eaton <jwe@octave.org> |
1691 | |
1692 * mx-inlines.cc (MX_ND_REDUCTION): Special case for 0x0 arrays. | |
1693 | |
5958 | 1694 2006-08-23 John W. Eaton <jwe@octave.org> |
1695 | |
1696 * dMatrix.cc, dMatrix.h (Matrix::save_ascii): Delete function and decl. | |
1697 * CMatrix.cc, CMatrix.h (ComplexMatrix::save_ascii): Likewise. | |
1698 | |
5955 | 1699 2006-08-22 John W. Eaton <jwe@octave.org> |
1700 | |
5956 | 1701 * CMatrix.cc (ComplexMatrix::save_ascii): New function. |
1702 * dMatrix.cc (Matrix::save_ascii): New function. | |
1703 | |
5955 | 1704 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Correctly detect empty arrays. |
1705 If array is empty, return value is same size as array. | |
1706 (MX_ND_REDUCTION): Correctly detect empty arrays. | |
1707 If array is empty, produce correctly sized return value. | |
1708 | |
5940 | 1709 2006-08-18 John W. Eaton <jwe@octave.org> |
1710 | |
5943 | 1711 * dMatrix.cc (Matrix::any_element_not_one_or_zero): New function. |
1712 * dMatrix.h: Provide decl. | |
1713 * dNDArray.cc (NDArray::any_element_not_one_or_zero): New function. | |
1714 * dNDArray.h: Provide decl. | |
1715 * intNDArray.cc (intNDArray<T>::any_element_not_one_or_zero): | |
1716 New function. | |
1717 * intNDArray.h: Provide decl. | |
1718 | |
5940 | 1719 * Array.cc (Array<T>::permute): Only rearrange values if array is |
1720 not empty. | |
1721 | |
5904 | 1722 2006-07-26 John W. Eaton <jwe@octave.org> |
1723 | |
1724 * dbleDET.cc (DET::initialize10, DET::value_will_underflow, | |
1725 DET::value_will_overflow): Use xlog2 instead of log2. | |
1726 (DET::initialize2, DET::initialize10): Use xround instead of round. | |
1727 (DET::initialize2, DET::value): Use xexp2 instead of exp2. | |
1728 * CmplxDET.cc (ComplexDET::initialize10, | |
1729 ComplexDET::value_will_underflow, | |
1730 ComplexDET::value_will_overflow): Use xlog2 instead of log2. | |
1731 (ComplexDET::initialize2, ComplexDET::initialize10): | |
1732 Use xround instead of round. | |
1733 (ComplexDET::initialize2, ComplexDET::value): | |
1734 Use xexp2 instead of exp2. | |
1735 | |
1736 * lo-mappers.cc (M_LOG10E): Delete unused macro. | |
1737 (xlog2, xexp2): New functions. | |
1738 * lo-mappers.h: Provide decls. | |
1739 | |
5900 | 1740 2006-07-22 John W. Eaton <jwe@octave.org> |
1741 | |
1742 * Sparse.h (Sparse<T>::mex_get_data, Sparse<T>::mex_get_ir, | |
1743 Sparse<T>::mex_get_jc): New functions. | |
1744 | |
1745 2006-07-21 John W. Eaton <jwe@octave.org> | |
1746 | |
1747 * oct-inttypes.h (octave_int<T>::mex_get_data): New function. | |
1748 * Array.h (Array<T>::mex_get_data): New function. | |
1749 | |
5898 | 1750 2006-07-19 John W. Eaton <jwe@octave.org> |
1751 | |
1752 * oct-inttypes.h (octave_int::operator bool (void)): New function. | |
1753 | |
5893 | 1754 2006-07-16 John W. Eaton <jwe@octave.org> |
1755 | |
1756 * oct-spparms.h, oct-spparms.cc (class octave_sparse_params): | |
1757 Rename from SparseParams. Use same implementation method as other | |
1758 singleton classes in Octave. Change all uses of | |
1759 Voctave_sparse_controls to use static functions from | |
1760 octave_sparse_params class instead. | |
1761 | |
1762 * oct-spparms.h, oct-spparms.cc (SparseParams::set_key, | |
1763 SparseParams::get_key): Pass std::string arg by const reference, | |
1764 not const value. | |
1765 | |
5892 | 1766 2006-07-15 John W. Eaton <jwe@octave.org> |
1767 | |
1768 * data-conv.cc: Instantiante swap_bytes templates here. | |
1769 | |
1770 * MatrixType.cc (MatrixType::MatrixType): | |
1771 Use complete initializer lists in constructors. | |
1772 | |
5880 | 1773 2006-07-06 John W. Eaton <jwe@octave.org> |
1774 | |
1775 * str-vec.cc (string_vector::string_vector (std::list<std::string>&)): | |
1776 New constructor. | |
1777 * str-vec.h: Provide decl. | |
1778 | |
5876 | 1779 2006-07-01 David Bateman <dbateman@free.fr> |
1780 | |
1781 * dSparse.cc (tinverse): Check for rows with no elements and zero | |
1782 elements on the diagonal. Allow both Upper and Lower triangular | |
1783 matrices to be treated. | |
1784 * CSparse.cc (tinverse): ditto. | |
1785 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Take into account 64-bit | |
1786 constant assignment. | |
1787 | |
5870 | 1788 2006-06-30 John W. Eaton <jwe@octave.org> |
1789 | |
5872 | 1790 * lo-sysdep.cc (octave_chdir): Perform tilde expansion here. |
1791 * cmd-edit.cc (editor::read_init_file): Ditto. | |
1792 * dir-ops.cc (dir_entry::open): Ditto. | |
5871 | 1793 * file-stat.cc (stat::update_internal): Ditto. |
5872 | 1794 * cmd-hist.cc (command_history::set_file): Ditto. |
5871 | 1795 |
5870 | 1796 * data-conv.cc (data_conv::string_to_data_type): |
1797 Correctly handle leading "*". | |
1798 | |
5869 | 1799 2006-06-29 Atsushi Kajita <a-kajita@mizar.freemail.ne.jp> |
1800 | |
1801 * Sparse.cc (Sparse<T>::SparseRep::elem): Avoid out of bounds | |
1802 array access. | |
1803 | |
5866 | 1804 2006-06-27 John W. Eaton <jwe@octave.org> |
1805 | |
1806 * Makefile.in: Finish renaming of OBJECTS -> LIBOCTAVE_OBJECTS. | |
1807 | |
5864 | 1808 2006-06-21 John W. Eaton <jwe@octave.org> |
1809 | |
1810 * oct-shlib.cc (octave_dlopen_shlib::close, | |
1811 octave_shl_load_shlib::close, octave_w32_shlib::close): | |
1812 Skip do_close_hook if cl_hook is 0. | |
1813 | |
5863 | 1814 2006-06-16 John W. Eaton <jwe@octave.org> |
1815 | |
1816 * oct-sort.h: Don't include config.h, lo-mappers.h, or quit.h. | |
1817 * randmtzig.h: Don't inlcude config.h. | |
1818 | |
5837 | 1819 2006-05-31 David Bateman <dbateman@free.fr> |
1820 | |
1821 * Array.cc (assignN): Maybe reshape LHS before doing assignment. | |
1822 | |
5828 | 1823 2006-05-23 John W. Eaton <jwe@octave.org> |
1824 | |
1825 * oct-types.h.in: Include stdint.h or inttypes.h for integer | |
1826 typedefs, or define them if those files are not available. | |
1827 * oct-inttypes.h (octave_int8_t, octave_int16_t, octave_int32_t, | |
1828 octave_int64_t, octave_uint8_t, octave_uint16_t, octave_uint32_t, | |
1829 octave_uint64_t): Delete typedefs. Replace all uses of these | |
1830 types with int8_t, int16_t, etc. | |
1831 * data-conv.h (TWO_BYTE_INT, FOUR_BYTE_INT, EIGHT_BYTE_INT): | |
1832 Delete definitions. Replace all uses of these macros with int8_t, | |
1833 int16_t, etc. | |
1834 * randmtzig.h: Delete integer typedefs. | |
1835 | |
5822 | 1836 2006-05-18 John W. Eaton <jwe@octave.org> |
1837 | |
1838 * EIG.cc (EIG::init): Trap Inf and NaN values here. | |
1839 From Keith Goodman <kwgoodman@gmail.com>. | |
1840 | |
5813 | 1841 2006-05-08 David Bateman <dbateman@free.fr> |
1842 | |
1843 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): fix bug in previous | |
1844 modification. | |
1845 | |
5797 | 1846 2006-05-09 David Bateman <dbateman@free.fr> |
1847 | |
1848 * sparse-dmsolve.cc: Remove reference to ov-re-sparse.h, | |
1849 ov-cx-sparse. and error_state. | |
1850 * SparseQR.cc, SparseCmplxQR.cc (qrsolve): Return info = -1 on error. | |
1851 | |
5795 | 1852 2006-05-08 David Bateman <dbateman@free.fr> |
1853 | |
1854 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Set column pointers in | |
1855 first pass and use to determine which algorithm to use on a | |
1856 column-by-column basis. | |
1857 | |
5792 | 1858 2006-05-04 David Bateman <dbateman@free.fr> |
1859 | |
1860 * SparseQR.cc, SparseQR.h, SparseCmplxQR.cc, SparseCmplxQR.h, | |
1861 sparse-dmsolve.cc : Allow compilation with versions v2.0.0 of | |
1862 CXSparse or later | |
1863 | |
5785 | 1864 2006-05-03 David Bateman <dbateman@free.fr> |
1865 | |
1866 * CMatrix.cc (zpotrf, zpocon, zpotrs, ztrcon, ztrtrs): | |
1867 External declaration of lapack triangular and Cholesky codes. | |
1868 (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, | |
1869 ComplexMatrix::fsolve): New private solver codes for | |
1870 upper, lower and LU/Cholesky solvers. | |
1871 (ComplexMatrix::solve): New versions for cached matrix | |
1872 type. Adapt old versions to call new versions | |
1873 * CMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
1874 new solvers. | |
1875 (solve): New versions for cached matrix type. | |
1876 * dMatrix.cc (dpotrf, dpocon, dpotrs, dtrcon, dtrtrs): | |
1877 External declaration of lapack triangular and Cholesky codes. | |
1878 (Matrix::utsolve, Matrix::ltsolve, | |
1879 Matrix::fsolve): New private solver codes for | |
1880 upper, lower and LU/Cholesky solvers. | |
1881 (Matrix::solve): New versions for cached matrix | |
1882 type. Adapt old versions to call new versions | |
1883 * dMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
1884 new solvers. | |
1885 (solve): New versions for cached matrix type. | |
1886 * CSparse.cc: Replace all uses of SparseType with MatrixType. | |
1887 * CSparse.h: ditto. | |
1888 * dSparse.cc: ditto. | |
1889 * dSparse.h: ditto. | |
1890 * SparseCmplxCHOL.cc: ditto. | |
1891 * SparsedbleCHOL.cc: ditto. | |
1892 * sparse-dmsolve.cc: ditto. | |
1893 * SparseType.cc, SparseType.h: delete. | |
1894 * MatrixType.cc: New file for class to cache matrix type, based on | |
1895 old SparseType class but caching matrix and sparse types. | |
1896 * MatrixType.h: ditto. | |
1897 * Makefile.in (MATRIX_INC, MATRIX_SRC): Add MatrixType.h and | |
1898 MatrixType.cc respectively. Delete SparseType.h and SparseType.cc | |
1899 respectively. | |
1900 * mx-base.h: Include MatrixTye.h as header file. | |
1901 | |
5781 | 1902 2006-05-01 John W. Eaton <jwe@octave.org> |
1903 | |
1904 * oct-shlib.h (octave_shlib::octave_shlib, octave_shlib::open): | |
1905 Delete WARN_FUTURE arg. Change all uses. | |
1906 * oct-shlib.cc (octave_base_shlib::stamp_time): Delete arg. | |
1907 Change all uses. Use current_liboctave_warning_with_id_handler. | |
1908 (octave_base_shlib::open): Delete arg. Change all derived classes | |
1909 and uses. | |
1910 | |
1911 2006-04-29 John W. Eaton <jwe@octave.org> | |
1912 | |
1913 * Array-flags.cc, Array-flags.h: Delete. | |
1914 * Makefile.in (MATRIX_SRC): Remove Array-flags.cc from the list. | |
1915 (MATRIX_INC): Remove Array-flags.h from the list. | |
1916 | |
1917 * idx-vector.cc (IDX_VEC_REP::freeze): Delete warn_resize arg. | |
1918 Use current_liboctave_warning_with_id_handler | |
1919 with warning ID Octave:resize-on-range-error. | |
1920 * idx-vector.h: Fix decl. | |
1921 * Array.cc, Sparse.cc: Change all callers. | |
1922 | |
1923 * Array.cc (Array<T>::maybe_delete_elements, Array<T>::index2, | |
1924 assign2, assignN): Use current_liboctave_warning_with_id_handler | |
1925 with warning ID Octave:fortran-indexing instead of | |
1926 liboctave_wfi_flag. | |
1927 * Sparse.cc (assign, Sparse<T>::index): Likewise. | |
1928 | |
5777 | 1929 2006-04-26 John W. Eaton <jwe@octave.org> |
1930 | |
1931 * pathsearch.cc (dir_path::path_sep_char, dir_path::path_sep_str): | |
1932 New static data. | |
1933 * pathsearch.h: Provide decls. | |
1934 (dir_path::is_path_sep): New function. | |
1935 | |
5766 | 1936 2006-04-18 John W. Eaton <jwe@octave.org> |
1937 | |
1938 * randmtzig.c (randmt, randi53, randi54, randi64, randu32, randu53): | |
1939 Omit inline from decl. | |
1940 | |
1941 * Sparse.cc (Sparse<T>::index): Use std::vector<bool> to avoid | |
1942 local array with variable dimension. | |
1943 | |
5764 | 1944 2006-04-16 John W. Eaton <jwe@octave.org> |
1945 | |
5765 | 1946 * lo-sstream.h: Delete. |
1947 * Makefile.in (INCLUDES): Remove it from the list. | |
1948 | |
1949 * dim-vector.h (dim_vector::str): Use std::ostringstream directly. | |
1950 * Sparse.cc (Sparse::range_error): Likewise. | |
1951 * DASSL.cc (DASSL::error_message): Likewise. | |
1952 * LSODE.cc (LSODE::error_message): Likewise. | |
1953 * DASRT.cc (DASRT::error_message): Likewise. | |
1954 * DASPK.cc (DASPK::error_message): Likewise. | |
1955 * Array.cc (Array::range_error): Likewise. | |
1956 | |
5764 | 1957 * kpse.cc (kpse_hash): Rename from hash. |
1958 (hash_lookup): Call kpse_hash instead of hash. | |
1959 | |
1960 * SparseType.cc (SparseType::SparseType): Use std::vector<bool> | |
1961 to avoid local array with variable dimension. | |
1962 | |
5760 | 1963 2006-04-13 David Bateman <dbateman@free.fr> |
1964 | |
1965 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1966 Optimize assignment. | |
1967 | |
1968 2006-04-13 John W. Eaton <jwe@octave.org> | |
1969 | |
1970 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1971 Eliminate unnecessary casts. | |
1972 * SparsedbleLU.cc (SparseLU::SparseLU): Likewise. | |
1973 | |
1974 * kpse.cc (fopen): Use reinterpret_cast instead of C-style cast. | |
1975 (log_search, dir_links): Use static_cast instead of C-style cast. | |
1976 | |
1977 * prog-args.cc (args::getopt): Use reinterpret_cast instead of X_CAST. | |
1978 * oct-alloc.cc (allocator::grow): Likewise. | |
1979 * CSparse.cc (SparseComplexMatrix::determinant, | |
1980 SparseComplexMatrix::factorize, SparseComplexMatrix::fsolve): | |
1981 Likewise. | |
1982 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU): Likewise. | |
1983 | |
1984 * oct-sort.cc (roundupsize, octave_sort<T>::merge_getmem): | |
1985 Use static_cast instead of C-style cast. | |
1986 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
1987 * dSparse.cc (SparseMatrix::fsolve): Likewise. | |
1988 | |
1989 * data-conv.cc (LS_DO_WRITE): Use static_cast for value conversion. | |
1990 Use OCTAVE_LOCAL_BUFFER instead of new/delete. | |
1991 (LS_DO_READ): Allocate local buffer to avoid pointer tricks. | |
1992 (write_doubles, read_doubles, LS_DO_WRITE, LS_DO_READ): | |
1993 Use reinterpret_cast instead of X_CAST. | |
1994 | |
1995 * DiagArray2.h (DiagArray2::Proxy::operator&): No need to cast | |
1996 return value here. | |
1997 | |
5752 | 1998 2006-04-12 Rafael Laboissiere <rafael@debian.org> |
1999 | |
2000 * ArrayN.h (ArrayN::ArrayN): Qualify fill with Array<T> base class. | |
2001 * DiagArray2.h (DiagArray2::DiagArray2): Likewise. | |
2002 | |
5730 | 2003 2006-04-03 David Bateman <dbateman@free.fr> |
2004 | |
5731 | 2005 * Sparse.cc (Sparse<T>::resize): Use xcidx rather than cdix, etc |
2006 to avoid copy of original matrix. | |
2007 | |
5730 | 2008 * Makefile.in (INCLUDES): Add randgamma.h, randpoisson.h and |
2009 randmtzig.h to the list. | |
2010 (LIBOCTAVE_C_SOURCES): Add randgamma.c, randpoisson.c and | |
2011 randmtzig.c to the list. | |
2012 * oct-rand.cc (do_old_initialization): Rename from do_initialization. | |
2013 (use_old_generators): New variable. | |
2014 (old_initialized): Rename from initialized. | |
2015 (new_initialized): New variable. | |
2016 (oct_init_by_entropy): New function. | |
2017 (maybe_initialize): Initialize new or old generator depending on | |
2018 value of use_old_generators. | |
2019 (octave_rand::state): New functions. | |
2020 (octave_rand::distribution): Add gamma, exponential and poisson | |
2021 distributions. | |
2022 (octave_rand::exponential_distribution, | |
2023 octave_rand::poisson_distribution, | |
2024 octave_rand::gamma_distribution): New methods to select | |
2025 exponential, poisson or gamma distribution. | |
2026 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
2027 octave_rand::vector): Add new distributions. | |
2028 * oct-rand.h: Provide decls for new functions. | |
2029 (octave_rand::matrix, octave_rand::scalar, octave_rand:: | |
2030 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
2031 octave_rand::vector): New arg A, for gamma and poisson distributions. | |
2032 * randpoisson.c, randpoisson.h, randgamma.c, randmtzig.c, | |
2033 randmtzig.h: New files. | |
2034 | |
5717 | 2035 2006-03-24 John W. Eaton <jwe@octave.org> |
2036 | |
2037 * dSparse.cc (SparseMatrix::bsolve): Integer work vector is | |
2038 Array<octave_idx_type>, so fortran_vec returns pointer to | |
2039 octave_idx_type, not pointer to int. | |
2040 | |
2041 * CMatrix.cc, CMatrix.h (ComplexMatrix::row (char*), | |
2042 ComplexMatrix::column (char*)): Delete. | |
2043 * dMatrix.cc, dMatrix.h (Matrix::row (char*), | |
2044 Matrix::column (char*)): Delete. | |
2045 | |
5713 | 2046 2006-03-21 David Bateman <dbateman@free.fr> |
2047 | |
2048 * SparseQR.h: Publish externally used friends. | |
2049 * SparseCmplxQR.h: ditto. | |
2050 | |
5700 | 2051 2006-03-21 John W. Eaton <jwe@octave.org> |
2052 | |
2053 * lo-specfun.cc (betainc): Use F77_XFCN instead of F77_FUNC for | |
2054 call to xdbetai. | |
2055 | |
5697 | 2056 2006-03-21 David Bateman <dbateman@free.fr> |
2057 | |
5701 | 2058 * lo-specfun.cc (xlgamma, xgamma): Trap special values. |
2059 (xlgamma): Use F77_XFCN instead of F77_FUNC for call to dlgams. | |
5700 | 2060 |
2061 * dSparse.cc (solve): Add argument singular_fallback, to allow | |
2062 fallback to QR solvers to be optional. | |
2063 * CSparse.cc (solve): Ditto. | |
2064 * dSparse.h (solve): update declaration for new argument. | |
2065 * CSparse.h (solve): Ditto. | |
2066 * sparse-dmsolve.cc (dmsolve): Use singular_fallback argument | |
2067 to bypass QR solvers when solving the well determined part of | |
2068 the problem. | |
5697 | 2069 |
5690 | 2070 2006-03-17 John W. Eaton <jwe@octave.org> |
2071 | |
2072 * str-vec.cc (vector::list_in_columns): New optional arg, width. | |
2073 | |
5681 | 2074 2006-03-16 David Bateman <dbateman@free.fr> |
2075 | |
2076 * CSparse.cc: Change use of nzmax to nnz to allow automatic | |
2077 reduction of matrix size, except for a couple of cases where nzmax | |
2078 is needed. | |
2079 (zpbcon): Correct declaration of lapack zpbcon function. | |
2080 (dsolve, utsolve, ltsolve, trisolve, bsolve, factorize, fsolve): Add | |
2081 an argument to allow the calculation of condition number to be | |
2082 optional. | |
2083 (bsolve): Add code for the calculation of the condition number | |
2084 using zpbcon and zgbcon. | |
2085 (dsolve): Bug fix for rectangular matrices with sparse RHS. | |
2086 (utsolve, ltsolve, trisolve, bsolve, fsolve): Mark matrix type as | |
2087 singular if singularity is detected. | |
2088 (solve): Use optional argument to disable calculation of | |
2089 condition number for all but fsolve, for speed. Add code to | |
2090 allow rectnagular matrices or matrices identified as singular | |
2091 to be treated. | |
2092 (lssolve): delete. | |
2093 (operator *): Don't recast real matrices as complex, but | |
2094 rather use the macro directly on the real data. | |
2095 * dSparse.cc: ditto. | |
2096 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, | |
2097 fsolve, factorize): Update declaration for new argument to | |
2098 calculate the condition number. | |
2099 (lssolve): delete. | |
2100 * dSparse.h: ditto. | |
2101 * Msparse.h: Change use of nxmax to nnz to allow automatic | |
2102 reduction of matrix size, except for a couple of cases where | |
2103 nzmax is needed. | |
2104 * Sparse.cc: Change use of nxmax to nnz to allow automatic | |
2105 reduction of matrix size, except for a couple of cases where | |
2106 nzmax is needed. | |
2107 (Sparse<T>::index (idx_vector&, idx_vector&, int) const): | |
2108 Special case strict permutations for speed. | |
2109 * Sparse-op-defs.h: Change use of nxmax to nnz to allow automatic | |
2110 reduction of matrix size, except for a couple of cases where | |
2111 nzmax is needed. | |
2112 (SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, FULL_SPARSE_MUL): Update | |
2113 macros to allow mixed complex/real arguments. | |
2114 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): New macro for C99 zero | |
2115 value. | |
2116 (qrsolve): Use it to zero temporary buffers used bt CXSPARSE. | |
2117 * SparseType.cc (SparseType::SparseType ()): Correct detection | |
2118 of permutated triangular matrices to avoid seg-faults. Disable | |
2119 detection of underdetermined lower and over-determined upper | |
2120 matrix due to problems with non minimum norm solutions. | |
2121 * sparse-dmsolve.cc: New file for Dulmage-Mendelsohn solver. | |
2122 * Makefile.in: add sparse-dmsolve.cc to targets. | |
2123 | |
5675 | 2124 2006-03-15 William Poetra Yoga Hadisoeseno <williampoetra@gmail.com> |
2125 | |
2126 * oct-time.cc (octave_strptime::init): Return useful character count. | |
2127 | |
5648 | 2128 2006-03-08 David Bateman <dbateman@free.fr> |
2129 | |
2130 * SparseCmplxQR.cc: Updates for new upstream CXSPARSE release. Fix for | |
2131 g++ 4.x stl_vector.h issue with C99 double _Complex type. | |
2132 * SparseCmplxQR.h: Updates for new upstream CXSPARSE release. | |
2133 * SparseQR.cc: ditto. | |
2134 * SparseQR.h: ditto. | |
2135 * oct-sparse.h: ditto. | |
2136 * sparse-base-chol.cc (sparse_base_chol<>::sparse_base_chol_rep::init): | |
2137 Declare info variable as volatile. | |
2138 | |
2139 * Sparse.cc (Sparse<T>::transpose (void) const): Accelerate algorithm. | |
2140 * CSparse.cc (SparseComplexMatrix::transpose (void) const): ditto. | |
2141 | |
5634 | 2142 2006-03-01 John W. Eaton <jwe@octave.org> |
2143 | |
2144 * CMatrix.cc (ComplexMatrix::determinant): | |
2145 Scale result by factors of 2, not 10. | |
2146 * dMatrix.cc (Matrix::determinant): Likewise. | |
2147 | |
2148 * dbleDET.h (DET::DET): Use initializer list. | |
2149 (DET::coefficient2, DET::coefficient10, DET::exponent2, | |
2150 DET::exponent10): New functions. | |
2151 (DET::det): Delete. | |
2152 (DET::c2, DET::c10, DET::e2, DET::e10, DET::base2): New data members. | |
2153 Store value internally with double and int instead of 2-element | |
2154 double vector. | |
2155 (DET::initialize2, DET::initialize10): Provide decls. | |
2156 * dbleDET.cc (DET::value_will_overflow, DET::value_will_underflow): | |
2157 Return bool value, not int. | |
2158 (DET::initialize2, DET::initialize10): New functions. | |
2159 | |
2160 * CmplxDET.h (ComplexDET::ComplexDET): Use initializer list. | |
2161 (ComplexDET::coefficient2, ComplexDET::coefficient10, | |
2162 ComplexDET::exponent2, ComplexDET::exponent10): New functions. | |
2163 (ComplexDET::det): Delete. | |
2164 (ComplexDET::c2, ComplexDET::c10, ComplexDET::e2, ComplexDET::e10, | |
2165 ComplexDET::base2): New data members. | |
2166 Store value internally with Complex and int instead of 2-element | |
2167 Complex vector. | |
2168 (ComplexDET::initialize2, ComplexDET::initialize10): Provide decls. | |
2169 * dbleComplexDET.cc (ComplexDET::value_will_overflow, | |
2170 ComplexDET::value_will_underflow): Return bool value, not int. | |
2171 (ComplexDET::initialize2, ComplexDET::initialize10): New functions. | |
2172 | |
5632 | 2173 2006-02-24 John W. Eaton <jwe@octave.org> |
2174 | |
2175 * Array.cc (assignN): Clear index before reshaping. | |
2176 | |
2177 * Array.h (Array<T>::operator =): Don't set idx to 0 if copying self. | |
2178 | |
5630 | 2179 2006-02-20 David Bateman <dbateman@free.fr> |
2180 | |
2181 * dSparse.cc (dsolve, utsolve, ltsolve): Remove restriction that | |
2182 matrix must be square in diagonal, permuted diagonal, triangular | |
2183 and permuted triangular back/forward substitution code. Change | |
2184 ambiguous use of no. rows and columns. | |
2185 * CSParse.cc (dsolve, utsolve, ltsolve): ditto. | |
2186 * SparseType.cc (SparseType::SparseType(const SparseMatrix&), | |
2187 SparseType::SparseType(const SparseComplexMatrix&)): Recognize | |
2188 rectangular diagonal, permuted diagonal, triangular and permuted | |
2189 triangular matrices. | |
2190 * Sparse.cc (Sparse<T>::Sparse (octave_idx_type, octave_idx_type, T)): | |
2191 Treat case where third argument is zero. | |
2192 | |
5621 | 2193 2006-02-15 John W. Eaton <jwe@octave.org> |
2194 | |
5622 | 2195 * kpse.cc: Do define ST_NLINK_TRICK for Cygwin systems. |
2196 (do_subdir) [ST_NLINK_TRICK]: Check links != 2 instead of links > 2. | |
2197 | |
5621 | 2198 * getopt.c: Use __CYGWIN__ instead of __CYGWIN32__. |
2199 | |
5619 | 2200 2006-02-13 David Bateman <dbateman@free.fr> |
2201 | |
2202 * Makefile.in (LINK_DEPS): Add missing dependencies on colamd, | |
2203 ccolamd and cxsparse | |
2204 | |
5617 | 2205 2006-02-13 John W. Eaton <jwe@octave.org> |
2206 | |
5618 | 2207 * kpse.cc (kpse_path_iterator::next): Reverse order of tests in |
2208 while loop condition. | |
2209 (kpse_path_iterator::operator =): Declare as private function but | |
2210 don't define to prevent attempts to use assignment operator. | |
2211 Don't define ST_NLINK_TRICK for Cygwin systems. | |
5617 | 2212 |
5615 | 2213 2006-02-10 John W. Eaton <jwe@octave.org> |
2214 | |
2215 * mx-inlines.cc (MX_ND_REDUCTION): Store in cummulative | |
2216 product of all dimensions in CP_SZ. | |
2217 | |
5611 | 2218 2006-02-09 John W. Eaton <jwe@octave.org> |
2219 | |
2220 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Store in cummulative | |
5615 | 2221 product of all dimensions in CP_SZ. |
5611 | 2222 |
5610 | 2223 2006-02-09 David Bateman <dbateman@free.fr> |
2224 | |
2225 * SparseQR.cc: new file for real sparse QR class. | |
2226 * SparseQR.h: declaration. | |
2227 * SparseCmplxQR.cc: new file for complex sparse QR class. | |
2228 * SparseCmplxQR.h: declaration. | |
2229 * dSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
2230 (factorize, fsolve): Enable code code lssolve. | |
2231 (lssolve): disable unused args, write based in above sparse QR class. | |
2232 * CSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
2233 (factorize, fsolve): Enable code code lssolve. | |
2234 (lssolve): disable unused args, write based in above sparse QR class. | |
2235 * oct-sparse.h: fix location of colamd, ccolamd and metis headers. | |
2236 Include CXSparse headers. | |
2237 * Makefile.in (MATRIX_INC): Include SparseQR.h and SparseCmplxQR.h. | |
2238 (MATRIX_SRC): Include SparseQR.cc and SparseCmplxQR.cc. | |
2239 | |
5607 | 2240 2006-02-08 John W. Eaton <jwe@octave.org> |
2241 | |
2242 * Array-util.h (calc_permutated_idx): Delete. | |
2243 * Array.cc (permute_vector): New data structure. | |
2244 (permute_vector_compare): New function. | |
2245 (Array<T>::permute): Rewrite to avoid calc_permutated_index for | |
2246 improved performance. | |
2247 | |
5606 | 2248 2006-02-04 David Bateman <dbateman@free.fr> |
2249 | |
2250 * COLAMD: Remove all files, as now unused. | |
2251 | |
5604 | 2252 2006-01-31 John W. Eaton <jwe@octave.org> |
2253 | |
2254 * Sparse.h (Sparse<T>::nzmax): New function. | |
2255 (Sparse<T>::nnz): Rename from nonzero. | |
2256 Change all uses of old nnz function to be nzmax. Change all uses | |
2257 of nonzero to be nnz. | |
2258 (Sparse<T>::nzmx): Rename from nnz (data member). Change all uses. | |
2259 | |
5603 | 2260 2006-01-21 David Bateman <dbateman@free.fr> |
2261 | |
2262 * sparse-sort.cc (bool octave_sparse_sidxl_comp): 64-bit fix. | |
2263 (bool octave_idx_vector_comp): New function. | |
2264 (template class octave_sort<octave_idx_vector_sort *>): Instantiate | |
2265 indexed idx_vector sorting function. | |
2266 * sparse-sort.h (class octave_sparse_sort_idxl): 64-bit fix. | |
2267 (class octave_idx_vector_sort): New class for indexed idx_vector | |
2268 sorting. | |
2269 (bool octave_idx_vector_comp): Declaration. | |
2270 * Sparse.cc (int assign1(Sparse<LT>&, Sparse<RT>&)): Treat cases of | |
2271 unordered LHS indexes in assignment using new octave_idx_vector_sort | |
2272 class. | |
2273 (int assign(Sparse<LT>&, Sparse<RT>&)): ditto. | |
2274 | |
5602 | 2275 2006-01-30 John W. Eaton <jwe@octave.org> |
2276 | |
2277 * so-array.h (streamoff_array::nnz): New funtion. | |
2278 * boolNDArray.h (boolNDArray::nnz): New function. | |
2279 * MArrayN.h (MArrayN<T>::nnz): New function. | |
2280 * MArray.h (MArray<T>::nnz): New function. | |
2281 | |
5587 | 2282 2006-01-04 David Bateman <dbateman@free.fr> |
2283 | |
2284 * Spars-op-defs.h (SPARSE_SPARSE_MUL): Previous change resulted in | |
2285 elements not being sorted in return matrix. Sort them, and make | |
2286 solver select between two algorithms to further improve the | |
2287 performance. | |
2288 * dSparse.cc: include oct-sort.h. | |
2289 * CSparse.cc: ditto. | |
2290 * sparse-sort.cc: Instantiate octave_sort<octave_idx_type>. | |
2291 | |
5586 | 2292 2005-12-28 David Bateman <dbateman@free.fr> |
2293 | |
5587 | 2294 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Improved algorithm that is |
2295 faster in all cases, and significantly so for low density or small | |
2296 order problems. | |
5586 | 2297 |
5552 | 2298 2005-11-30 John W. Eaton <jwe@octave.org> |
2299 | |
2300 * LSODE.cc (LSODE::do_integrate (double)): Resize iwork and rwork | |
2301 before setting any values in either array. | |
2302 | |
5547 | 2303 2005-11-29 John W. Eaton <jwe@octave.org> |
2304 | |
2305 * oct-uname.h, oct-uname.cc: New files. | |
2306 * Makefile.in: Add them to the appropriate lists. | |
2307 | |
5535 | 2308 2005-11-11 John W. Eaton <jwe@octave.org> |
2309 | |
2310 * Array.cc (Array<T>::indexN): Simplify. | |
2311 | |
5533 | 2312 2005-11-09 John W. Eaton <jwe@octave.org> |
2313 | |
2314 * oct-inttypes.h (octave_int::operator char (void) const): | |
2315 New conversion op. | |
2316 | |
5527 | 2317 2005-11-01 John W. Eaton <jwe@octave.org> |
2318 | |
2319 * Makefile.in (distclean): Also remove oct-types.h. | |
2320 From Quentin Spencer <qspencer@ieee.org>. | |
2321 | |
5526 | 2322 2005-10-31 David Bateman <dbateman@free.fr> |
2323 | |
2324 * dSparse.cc, CSparse.cc: Use C++ true/false instead of | |
2325 preprocessor defined TRUE/FALSE. | |
2326 | |
5523 | 2327 2005-10-30 John W. Eaton <jwe@octave.org> |
2328 | |
2329 * mx-inlines.cc (MX_ND_REDUCTION): Iterate in direction of DIM. | |
2330 (MX_ND_CUMULATIVE_OP): Likewise. | |
2331 | |
5519 | 2332 2005-10-29 John W. Eaton <jwe@octave.org> |
2333 | |
5520 | 2334 * mx-inlines.cc (MX_ND_REDUCTION): Avoid increment_index to speed |
2335 things up. Simplify. | |
2336 | |
5519 | 2337 * Array.cc (Array<T>::indexN): Simplify. Delete separate special |
2338 case for "vector_equivalent". | |
2339 | |
2340 * Array-util.cc (vector_equivalent): Arg is now dim_vector. | |
2341 | |
5518 | 2342 2005-10-28 John W. Eaton <jwe@octave.org> |
2343 | |
2344 * oct-sparse.h: Fix typo in HAVE_UFSPARSE_UMFPACK_H. | |
2345 From Quentin Spencer <qspencer@ieee.org>. | |
2346 | |
2347 * sparse-base-chol.cc: Use C++ true/false instead of | |
2348 preprocessor defined TRUE/FALSE. Use 0 instead of NULL. | |
2349 | |
5516 | 2350 2005-10-27 John W. Eaton <jwe@octave.org> |
2351 | |
2352 * Array.cc (assignN): Reshape to final size instead of resizing. | |
2353 | |
5512 | 2354 2005-10-26 John W. Eaton <jwe@octave.org> |
2355 | |
2356 * oct-sparse.h: New file. | |
2357 * oct-sparse.h.in: Delete. | |
2358 | |
5511 | 2359 2005-10-26 David Bateman <dbateman@free.fr> |
2360 | |
2361 * sparse-base-chol.h: Include cholmod specific code in HAVE_CHOLMOD | |
2362 * sparse-base-chol.cc: ditto. | |
2363 | |
5508 | 2364 2005-10-26 John W. Eaton <jwe@octave.org> |
2365 | |
2366 Changes for GCC 4.1, tip from Arno J. Klaassen | |
2367 <arno@heho.snv.jussieu.fr>: | |
2368 | |
5509 | 2369 * dSparse.h (real (const SparseComplexMatrix&)): |
2370 Publish externally used friend function. | |
2371 (imag (const SparseComplexMatrix&)): Likewise. | |
2372 | |
5508 | 2373 * dColVector.h (real (const ComplexColumnVector&)): |
2374 Publish externally used friend function. | |
2375 (imag (const ComplexColumnVector&)): Likewise. | |
2376 | |
2377 * dNDArray.h (real (const ComplexNDArray&)): | |
2378 Publish externally used friend function. | |
2379 (imag (const ComplexNDArray&)): Likewise. | |
2380 | |
2381 * dMatrix.h (operator * (const ComplexMatrix&)): | |
2382 Move decl outside class. No need to be friend. | |
2383 (real (const ComplexMatrix&)): Publish externally used friend function. | |
2384 (imag (const ComplexMatrix&)): Likewise. | |
2385 | |
2386 * CMatrix.h: (operator * (const ColumnVector&, const | |
2387 ComplexRowVector&)): Move decl outside class. No need to be friend. | |
2388 (operator * (const ComplexColumnVector&, const RowVector&)): Likewise. | |
2389 (operator * (const ComplexColumnVector&, const ComplexRowVector& b)): | |
2390 Likewise. | |
2391 | |
5506 | 2392 2005-10-23 David Bateman <dbateman@free.fr> |
2393 | |
2394 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Check whether trailing zero | |
2395 elements need to be removed. | |
2396 | |
2397 * oct-sparse.h.in: Include metis headers and some macros for long/int | |
2398 versions of cholmod. | |
2399 | |
2400 * CSparse.cc (tinverse): New private function for the inversion of | |
2401 an upper triangular matrix. | |
2402 (dinverse): ditto for diagonal matrices. | |
2403 (inverse): Add SparseType as an argument. Implement matrix inverse | |
2404 using tinverse and dinverse. | |
2405 (fsolve): Use cholmod to implement Cholesky solver. | |
2406 * CSparse.h (tinverse, dinverse): Declarations | |
2407 (inverse): Alter declaration to include SparseType. | |
2408 | |
2409 * dSparse.cc (tinverse, dinverse, inverse, fsolve): ditto. | |
2410 * dSparse.h (tinverse, dinverse, inverse): ditto. | |
2411 | |
2412 * SparseType.cc: Fix complex constructor for hermitian matrices. | |
2413 | |
2414 * sparse-util.cc: New file for sparse utility functions. | |
2415 * sparse-util.h: New file with declarations of sparse utility | |
2416 functions. | |
2417 | |
2418 * sparse-base-chol.cc: New file with sparse cholesky class based | |
2419 on cholmod. | |
2420 * sparse-base-chol.h: New file with declaration of sparse cholesky | |
2421 class based on cholmod. | |
2422 | |
2423 * SparseCmplxCHOL.cc: Instantiate sparse cholesky class for Complex. | |
2424 * SparseCmplxCHOL.h: Declaration of sparse cholesky class. | |
2425 | |
2426 * SparsedbleCHOL.cc: ditto. | |
2427 * SparsedbleCHOL.h: ditto. | |
2428 | |
2429 * Makefile.in (MATRIX_INC): Include sparse-base-chol.h. | |
2430 (INCLUDES): Include sparse-util.h | |
2431 (TEMPLATE_SRC): Include sparse-base-chol.cc | |
2432 (MATRIX_SRC): Include SparseCmplxCHOL.cc and SparsedbleCHOL.cc | |
2433 | |
5489 | 2434 2005-10-12 John W. Eaton <jwe@octave.org> |
2435 | |
2436 * oct-env.cc (octave_env::have_x11_display): New function. | |
2437 * oct-env.h: Provide decl. | |
2438 | |
5476 | 2439 2005-09-29 John W. Eaton <jwe@octave.org> |
2440 | |
2441 * file-stat.h (file_stat::mode): New function. | |
2442 | |
2443 * file-stat.cc (file_stat::is_blk, file_stat::is_chr, | |
2444 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
2445 file_stat::is_reg, file_stat::is_sock): New static functions. | |
2446 * file-stat.h: Provide decls. | |
2447 | |
2448 2005-09-28 John W. Eaton <jwe@octave.org> | |
2449 | |
2450 * file-ops.cc (file_ops::recursive_rmdir): New function. | |
2451 * file-ops.h: Provide decl. | |
2452 | |
5454 | 2453 2005-09-19 David Bateman <dbateman@free.fr> |
2454 | |
2455 * oct-env.cc (octave_env::do_get_home_directory): | |
2456 Also check HOMEDRIVE under mingw. | |
2457 | |
5455 | 2458 * Makefile.in (LINK_DEPS): Include UFsparse libraries. |
2459 | |
5453 | 2460 2005-09-16 John W. Eaton <jwe@octave.org> |
2461 | |
2462 * oct-syscalls.cc: Include lo-utils.h here. | |
2463 (octave_syscalls::waitpid): Call octave_waitpid here. | |
2464 | |
2465 * lo-cutils.c (octave_waitpid): New function. | |
2466 * lo-utils.h: Provide decl. Include syswait.h here, not in | |
2467 oct-syscalls.cc | |
2468 | |
2469 | |
2470 * syswait.h [__MINGW32__]: Define WAITPID here instead of defining | |
2471 waitpid in src/sysdep.h. Make this header C-compatible. | |
2472 | |
2473 * oct-syscalls.cc (octave_syscalls::waitpid): New arg, status. | |
2474 Change all uses. | |
2475 | |
5451 | 2476 2005-09-15 John W. Eaton <jwe@octave.org> |
2477 | |
2478 * Makefile.in (MAKEDEPS_2): Omit unnecessary variable. | |
2479 | |
2480 * oct-sparse.h.in: New file. | |
2481 * Makefile.in (DISTFILES): Include it in the list. | |
2482 (INCLUDES): Add oct-sparse.h to the list. | |
2483 | |
2484 2005-09-15 David Bateman <dbateman@free.fr> | |
2485 | |
2486 * dSparse.cc : Include oct-sparse.h for probed umfpack, colamd etc | |
2487 headers. Remove include of umfpack.h. | |
2488 * CSparse.cc : ditto. | |
2489 * SparsedbleLU.cc : ditto. | |
2490 * SparseCmplxLU.cc : ditto. | |
2491 | |
2492 * COLAMD : Remove colamd files from octave. | |
2493 * COLAMD.files : delete. | |
2494 * COLAMD.README : delete. | |
2495 * Makefile.in: Remove COLAMD. Add LIBGLOB. | |
2496 (LN_S): Change to DESTDIR before LN_S to avoid lack of symlinks | |
2497 under mingw. | |
2498 | |
2499 * kpse.cc (ENV_SEP, ENV_SEP_STRING): Use SEPCHAR and SEPCHAR_STR | |
2500 in definition. | |
2501 * lo-cutils.c (octave_w32_library_search): Call GetProcAddress with | |
2502 change of cast not allowed under g++ 3.x. | |
2503 * lo-utils.h (octave_w32_library_search): Declaration. | |
2504 * oct-env.cc (do_get_home_directory): Also check HOMEPATH under mingw. | |
2505 * oct-shlib.cc (octave_w32_shlib::search): Use octave_w32_library_search. | |
2506 | |
5442 | 2507 2005-09-07 John W. Eaton <jwe@octave.org> |
2508 | |
2509 * cmd-edit.cc (command_editor::do_decode_prompt_string): Update | |
2510 based on current code in Bash. Handle a few more escape | |
2511 sequences. Do a better job of decoding \W. | |
2512 | |
5438 | 2513 2005-09-04 David Bateman <dbateman@free.fr> |
2514 | |
2515 * COLAMD: Update version of colamd to v2.4. | |
2516 * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of | |
2517 colamd.c for long version. | |
2518 | |
5429 | 2519 2005-08-25 David Bateman <dbateman@free.fr> |
2520 | |
2521 * Sparse-op-defs.h (FULL_SPARSE_MUL, SPARSE_FULL_MUL): Macro for | |
2522 mixed sparse/full multiply. | |
2523 * dSparse.cc (operator *), CSparse.cc (operator *): New operators for | |
2524 mixed sparse/full multiply. | |
2525 * dSparse.h (operator *), CSparse.h (operator *): Declaration of | |
2526 mixed sparse/full multiply operators. | |
2527 | |
5420 | 2528 2005-07-25 Erik de Castro Lopo <erikd@zip.com.au> |
2529 | |
2530 * oct-inttypes.h (OCTAVE_S_US_FTR): Compare <= 0 instead of < 0 to | |
2531 avoid warnings for unsigned types. | |
2532 | |
5404 | 2533 2005-07-07 John W. Eaton <jwe@octave.org> |
2534 | |
2535 * dSparse.cc (SparseMatrix::factorize): Initialize Numeric to 0. | |
2536 * CSparse.cc (SparseComplexMatrix::factorize:) Likewise. | |
2537 | |
5392 | 2538 2005-06-15 John W. Eaton <jwe@octave.org> |
2539 | |
5394 | 2540 * oct-rl-edit.c (flush_stdout): Rename from no_redisplay. |
2541 Flush stdout here. | |
2542 (octave_rl_clear_screen): Set rl_redisplay_function to flush_stdout. | |
2543 | |
5392 | 2544 * Array.h (Array::resize): Change int args to octave_idx_type. |
2545 | |
5386 | 2546 2005-06-14 John W. Eaton <jwe@octave.org> |
2547 | |
5389 | 2548 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
2549 dSparse.cc, lo-cieee.c, lo-mappers.cc: Change all uses of | |
2550 octave_is_NaN_or_NA to xisnan. | |
2551 | |
2552 * lo-mappers.h (octave_is_NaN_or_NA): Mark with GCC_ATTR_DEPRECATED. | |
2553 * lo-ieee.h (lo_ieee_is_NaN_or_NA): Likewise. | |
2554 | |
2555 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Now just a wrapper for | |
2556 lo_ieee_isnan. | |
2557 | |
5387 | 2558 * dMatrix.cc (Matrix::too_large_for_float): Only check if abs |
2559 value is greater than FLT_MAX. | |
2560 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
2561 * dNDArray.cc (NDArray::too_large_for_float): Ditto. | |
2562 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
2563 | |
2564 * dMatrix.cc (Matrix::too_large_for_float): Special case Inf | |
2565 values too. | |
2566 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
2567 | |
2568 * dNDArray.cc (NDArray::too_large_for_float): Likewise for NaN, | |
2569 NA, Inf values. | |
2570 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
5386 | 2571 |
5385 | 2572 2005-06-14 David Bateman <dbateman@free.fr> |
2573 | |
5387 | 2574 * dMatrix.cc (Matrix::too_large_for_float): Special case NaN and |
2575 NA values. | |
2576 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
5385 | 2577 |
5379 | 2578 2005-06-02 John W. Eaton <jwe@octave.org> |
2579 | |
2580 * Array.cc (assignN): Try harder to correctly resize previously | |
2581 empty LHS. | |
2582 | |
5351 | 2583 2005-05-16 David Bateman <dbateman@free.fr> |
2584 | |
2585 * dSparse.h: Change UMFPACK_LONG_IDX to IDX_TYPE_LONG. | |
2586 * CSparse.h: ditto. | |
2587 | |
5346 | 2588 2005-05-10 David Bateman <dbateman@free.fr> |
2589 | |
2590 * dSparse.cc (determinant): Free numeric factorization after | |
2591 sucessful calculation. | |
2592 * CSparse.cc (determinant): ditto. | |
2593 | |
5340 | 2594 2005-05-06 John W. Eaton <jwe@octave.org> |
2595 | |
2596 * dbleCHOL.cc (CHOL::init): Use xelem instead of elem for indexing | |
2597 chol_mat. | |
2598 (chol2mat_internal, chol2mat, CHOL::inverse): New functions. | |
2599 * dbleCHOL.h (chol2mat_internal, chol2mat, CHOL::inverse): | |
2600 Provide decls. | |
2601 | |
2602 * CmplxChol.cc (ComplexCHOL::init): Use xelem instead of elem for | |
2603 indexing chol_mat. | |
2604 (chol2mat_internal, chol2mat, ComplexCHOL::inverse): New functions. | |
2605 * CmplxCHOL.h (chol2mat_internal, chol2mat, CmplxCHOL::inverse): | |
2606 Provide decls. | |
2607 | |
5338 | 2608 2005-05-05 John W. Eaton <jwe@octave.org> |
2609 | |
2610 * Array.cc (Array<T>::permute): Call chop_trailing_singletons on | |
2611 retval before return. | |
2612 | |
5336 | 2613 2005-05-04 John W. Eaton <jwe@octave.org> |
2614 | |
2615 * cmd-edit.cc (gnu_readline::do_readline): Extract const char* | |
2616 from prompt outside of INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE block. | |
2617 | |
5330 | 2618 2005-05-02 John W. Eaton <jwe@octave.org> |
2619 | |
2620 * Makefile.in (LINK_DEPS): List $(UMFPACK_LIBS) ahead of $(BLAS_LIBS). | |
2621 From Dmitri A. Sergatskov <dasergatskov@gmail.com>. | |
2622 | |
5322 | 2623 2005-04-29 David Bateman <dbateman@free.fr> |
2624 | |
5330 | 2625 * dSparse.cc (trisolve): Diagonal passed to lapack zptsv is type |
2626 double. Correct indexing for upper diagonal elements for sparse | |
2627 tridiagonal. | |
5322 | 2628 * CSparse.cc (trisolve): ditto. |
2629 | |
5330 | 2630 * CSparse.h (UMFPACK_ZNAME): Define macro to pick version of |
2631 UMFPACK for 64-bit. | |
5322 | 2632 * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with |
2633 UMFPACK_ZNAME(*). | |
2634 * SparseCmplxLU.cc (UMFPACK_ZNAME): ditto | |
2635 | |
5330 | 2636 * dSparse.h (UMFPACK_DNAME): Define macro to pick version of |
2637 UMFPACK for 64-bit. | |
5322 | 2638 * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with |
2639 UMFPACK_DNAME(*). | |
2640 * SparsedbleLU.cc (UMFPACK_DNAME): ditto | |
2641 | |
5330 | 2642 * dSparse.cc (ltsolve, utsolve): Correct permuted upper/lower |
2643 triangular back/forward substitution code. | |
5322 | 2644 * CSparse.cc (ltsolve, utsolve): ditto. |
2645 | |
5330 | 2646 * dSparse.cc (solve): Use mattype.type (false) to force messaging |
2647 from spparms("spumoni",1). | |
5322 | 2648 * CSparse.cc (solve): ditto |
2649 | |
5330 | 2650 * SparseType.cc (SparseType(void)): Print info for |
2651 spparms("spumoni",1). | |
5322 | 2652 (SparseType(const matrix_type), SparseType(const matrix_type, const |
2653 octave_idx_type, const octave_idx_type*), SparseType(const matrix_type, | |
2654 const octave_idx_type, const octave_idx_type)): New constructors. | |
2655 (SparseType (const SparseMatrix&), SparseType (SparseComplexMatrix&)): | |
5330 | 2656 Detect row permuted lower triangular and column permuted upper |
2657 triangular matrices. Remove one of the permutation vectors.. | |
5322 | 2658 |
2659 * SparseType.h: Simplify the permutation code. | |
2660 (SparseType(const matrix_type), SparseType | |
2661 (const matrix_type, const octave_idx_type, const octave_idx_type*), | |
2662 SparseType(const matrix_type, const octave_idx_type, | |
2663 const octave_idx_type)): Declarations. | |
2664 | |
5304 | 2665 2005-04-25 John W. Eaton <jwe@octave.org> |
2666 | |
2667 * str-vec.cc (string_vector::delete_c_str_vec): Correctly free | |
2668 array and its contents. | |
2669 | |
5303 | 2670 2005-04-22 John W. Eaton <jwe@octave.org> |
2671 | |
2672 * oct-rl-edit.c (octave_rl_set_terminal_name): Don't cast away | |
2673 const here now that rl_terminal_name is declared const char*. | |
2674 | |
5294 | 2675 2005-04-21 John W. Eaton <jwe@octave.org> |
2676 | |
2677 * Makefile.in (DISTFILES): Include oct-types.h.in in the list. | |
2678 | |
5285 | 2679 2005-04-19 John W. Eaton <jwe@octave.org> |
2680 | |
2681 * Array.cc (assignN): Don't crash if the index list is empty. | |
2682 | |
5282 | 2683 2005-04-14 David Bateman <dbateman@free.fr> |
2684 | |
2685 * SparseCmplxLU.cc: Add flags for incomplete factorization. | |
2686 * SparsedbleLU.cc: Ditto. | |
2687 * SparseCmplxLU.h: Definition. | |
2688 * SparsedbleLU.h: ditto. | |
2689 | |
2690 * SparseType.cc (transpose): New function. | |
2691 * SparseType.h (transpose): Definition. | |
2692 | |
5278 | 2693 2005-04-11 John W. Eaton <jwe@octave.org> |
2694 | |
2695 * lo-specfun.cc: Use F77_XFCN instead of F77_FUNC for calls to | |
2696 fortran code that could end up calling XSTOPX. | |
2697 | |
5277 | 2698 2005-04-10 David Bateman <dbateman@free.fr> |
2699 | |
2700 * Makefile.in: include oct-types in INCLUDES so that it is | |
2701 installed | |
2702 | |
5275 | 2703 2005-04-08 John W. Eaton <jwe@octave.org> |
2704 | |
5276 | 2705 * Makefile.in (clean): Use exact filenames instead of *.xxx. |
2706 | |
5275 | 2707 * Initial merge of 64-bit changes from Clinton Chee: |
2708 | |
2709 2005-04-07 John W. Eaton <jwe@octave.org> | |
2710 | |
2711 * MArray-i.cc, Array-i.cc: Instantiate Array<long> and MArray<long>. | |
2712 | |
2713 * CSparse.cc, CSparse.h, MSparse.cc, MSparse.h, Sparse-op-defs.h, | |
2714 Sparse.cc, Sparse.h, SparseCmplxLU.cc, SparseType.cc, | |
2715 SparseType.h, SparsedbleLU.cc, boolSparse.cc, boolSparse.h, | |
2716 dSparse.cc, dSparse.h, sparse-base-lu.cc: | |
2717 Use octave_idx_type instead of int where needed. | |
2718 | |
2719 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
2720 | |
2721 * Array-util.cc, Array-util.h, Array.cc,Array.h, Array2.h, | |
2722 Array3.h, ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
2723 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
2724 CMatrix.h, CNDArray.cc, CNDArray.h, CRowVector.cc, CRowVector.h, | |
2725 CmplxAEPBAL.cc, CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, | |
2726 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
2727 CmplxSCHUR.cc, CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, | |
2728 CollocWt.h, DAEFunc.h, DASPK-opts.in,DASPK.cc,DASPK.h, | |
2729 DASRT-opts.in, DASRT.cc, DASRT.h, DASSL-opts.in, DASSL.cc, | |
2730 DASSL.h, DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, | |
2731 FEGrid.h, LPsolve.cc, LPsolve.h, LSODE-opts.in, LSODE.cc, LSODE.h, | |
2732 MArray-defs.h, MArray.cc, MArray.h, MArray2.cc, MArray2.h, | |
2733 MArrayN.cc, MDiagArray2.cc, MDiagArray2.h, NLConst.h, NLEqn.cc, | |
2734 NLEqn.h, Quad.cc, Quad.h, Range.cc,Range.cc, Range.h, base-de.h, | |
2735 base-lu.cc, base-lu.h, base-min.h, boolMatrix.cc, boolMatrix.h, | |
2736 boolNDArray.cc, boolNDArray.h, chMatrix.cc, chMatrix.h, | |
2737 chNDArray.cc, chNDArray.h, dColVector.cc, dColVector.h, | |
2738 dDiagMatrix.cc, dDiagMatrix.h, dMatrix.cc, dMatrix.h, | |
2739 dNDArray.cc,dNDArray.cc, dNDArray.h, dRowVector.cc, dRowVector.h, | |
2740 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleHESS.cc, | |
2741 dbleHESS.h, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
2742 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, dim-vector.h, idx-vector.cc, | |
2743 idx-vector.h, intNDArray.cc, intNDArray.h, lo-specfun.cc, | |
2744 lo-specfun.h, mach-info.cc, mx-inlines.cc, oct-fftw.cc, | |
2745 oct-fftw.h, oct-rand.cc, oct-rand.h, so-array.cc, so-array.h, | |
2746 str-vec.cc, str-vec.h: | |
2747 Use octave_idx_type instead of int where needed. | |
2748 | |
2749 2005-04-01 John W. Eaton <jwe@octave.org> | |
2750 | |
2751 * dim-vector.h, lo-utils.h: Include oct-types.h. | |
2752 | |
2753 * oct-types.h.in: New file. | |
2754 | |
2755 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
2756 | |
2757 * lo-utils.cc (NINTbig): New function. | |
2758 * lo-utils.h: Provide decl. | |
2759 | |
5269 | 2760 2005-04-06 David Bateman <dbateman@free.fr> |
2761 | |
2762 * Makefile.in: Link to UMFPACK_LIBS. | |
2763 | |
5265 | 2764 2005-04-05 John W. Eaton <jwe@octave.org> |
2765 | |
2766 * Array.cc (assignN): Avoid shadowed declaration in previous change. | |
2767 | |
5264 | 2768 2005-04-01 John W. Eaton <jwe@octave.org> |
2769 | |
2770 * Array.cc (assignN): For A(IDX-LIST) = RHS with A previously | |
2771 undefined, correctly match colons in IDX-LIST with RHS dimensions | |
2772 when resizing A. When performing the assignment, just check that | |
2773 the number of elements in RHS matches the number of elements | |
2774 indexed by IDX-LIST. | |
2775 | |
5260 | 2776 2005-03-30 John W. Eaton <jwe@octave.org> |
2777 | |
5261 | 2778 * lo-mappers.cc (log10, tan, tanh): Delete functions. |
2779 * lo-mappers.h (log10, tan, tanh): Delete decls. | |
2780 | |
2781 * CColVector.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, | |
2782 dSparse.cc: Use std:: for Complex functions instead of relying on | |
2783 wrappers from oct-cmplx.h. | |
5260 | 2784 |
2785 * oct-cmplx.h: Provide typedef only. | |
2786 | |
2787 * DiagArray2.cc (xelem): Don't use initializer for static data. | |
2788 * DiagArray2.h (DiagArray<T>::Proxy::operator T ()): | |
2789 Likewise. | |
2790 | |
5247 | 2791 2005-03-26 John W. Eaton <jwe@octave.org> |
2792 | |
2793 * cmd-edit.cc (do_readline): Wrap call to ::octave_rl_readline | |
2794 with {BEGIN,END}_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE. | |
2795 | |
5209 | 2796 2005-03-15 John W. Eaton <jwe@octave.org> |
2797 | |
2798 * Makefile.in (MATRIX_INC): Remove oct-spparms.h from the list. | |
2799 | |
5203 | 2800 2005-03-14 John W. Eaton <jwe@octave.org> |
2801 | |
2802 * Makefile.in (DISTFILES): Don't include $(UMFPACK_EXTRAS). | |
2803 (DISTDIRS): Don't include UMFPACK. | |
2804 (LIBOCTAVE_OBJECTS): Don't include $(UMFPACK_OBJ). | |
2805 (UMFPACK_SPECIAL_1, UMFPACK_SPECIAL): No need for special include | |
2806 flags for these files. | |
2807 Don't include include $(srcdir)/UMFPACK.files. | |
2808 Don't include include $(srcdir)/UMFPACK.rules. | |
2809 | |
2810 * UMFPACK.README, UMFPACK.files, UMFPACK.patch, UMFPACK.rules: | |
2811 Delete files. | |
2812 * UMFPACK: Delete directory tree. | |
2813 | |
2814 * dSparse.cc: Include <umfpack/umfpack.h> instead of just "umfpack.h". | |
2815 * CSparse.cc: Likewise. | |
2816 * SparsedbleLU.cc: Likewise. | |
2817 * SparseCmplxLU.cc: Likewise. | |
2818 | |
2819 2005-03-14 David Bateman <dbateman@free.org> | |
2820 | |
2821 * CSParse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc: | |
2822 Allow compilation to succeed if UMFPACK is not available. | |
2823 | |
5196 | 2824 2005-03-09 John W. Eaton <jwe@octave.org> |
2825 | |
2826 * Makefile.in (bin-dist): Delete target. | |
2827 (BINDISTLIBS, BINDISTFILES): Delete variables. | |
2828 | |
5173 | 2829 2005-03-01 John W. Eaton <jwe@octave.org> |
2830 | |
2831 * ODESSA.h, ODESSA.cc, ODESSA-opts.in: Delete. | |
2832 * Makefile.in: Remove them from the lists. | |
2833 | |
5169 | 2834 2005-02-28 John W. Eaton <jwe@octave.org> |
2835 | |
2836 * Makefile.in (LINK_DEPS): Remove -lglob from the list. | |
2837 | |
5167 | 2838 2005-02-27 David Bateman <dbateman@free.org> |
2839 | |
5169 | 2840 * Sparse.cc (Sparse<T>::reshape): Set cidx for the N last elements |
2841 in the sparse matrix. | |
5167 | 2842 |
5164 | 2843 2005-02-25 John W. Eaton <jwe@octave.org> |
2844 | |
2845 Sparse merge. | |
2846 | |
2847 2005-02-13 David Bateman <dbateman@free.fr> | |
2848 | |
2849 * CSparse.cc (SparseComplexMatrix:dsolve, SparseComplexMatrix:utsolve, | |
2850 SparseComplexMatrix::ltsolve, SparseComplexMatrix::trisolve, | |
2851 SparseComplexMatrix::bsolve, SparseComplexMatrix:fsolve): Split sparse | |
2852 solver into separate functions for the diagonal, upper, lower | |
2853 triangular, tridiagonal, banded and full cases. | |
2854 (SparseComplexMatrix::solve): rewrite to call the above function. One | |
2855 version that probes the matrix type and another that assumes the type | |
2856 is passed. | |
2857 | |
2858 * dSparse.cc (SparseMatrix:dsolve, SparseMatrix:utsolve, | |
2859 SparseMatrix::ltsolve, SparseMatrix::trisolve, | |
2860 SparseMatrix::bsolve, SparseMatrix:fsolve): Likewise | |
2861 (SparseMatrix::solve): Likewise | |
2862 | |
2863 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
2864 Declaration of new functions | |
2865 * dSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
2866 Likewise | |
2867 | |
2868 * CSparse.cc (operator !): Reverse the sense of the test. | |
2869 * dSpase.cc (operator !): Likewise | |
2870 | |
2871 * dSparse.h (type, band_size, is_dense, triangular_row_perm, | |
2872 triangular_col_perm, sparse_info): Remove matrix type code | |
2873 * CSparse.h (type, band_size, is_dense, triangular_row_perm, | |
2874 triangular_col_perm, sparse_info): Likewise | |
2875 * boolSparse.h (type, band_size, is_dense, triangular_row_perm, | |
2876 triangular_col_perm, sparse_info): Likewise | |
2877 * MSparse.h (type, band_size, is_dense, triangular_row_perm, | |
2878 triangular_col_perm, sparse_info): Likewise | |
2879 * Sparse.h (type, band_size, is_dense, triangular_row_perm, | |
2880 triangular_col_perm, sparse_info, matrix_type): Likewise | |
2881 | |
2882 * Sparse.cc (type, sparse_info, band_size): Remove type code | |
2883 | |
2884 * SparseType.h: New class for the matrix type used in solvers | |
2885 * SparseType.cc: methods of sparse matrix type class | |
2886 | |
2887 * Makefile.in: Add SparseType.cc | |
2888 | |
2889 2005-02-01 David Bateman <dbateman@free.fr> | |
2890 | |
2891 * UMFPACK: Update to version 4.4 | |
2892 * UMFPACK.patch: Version 4.4 contains most of the previous patch. Only | |
2893 keep octave specific test files | |
2894 | |
2895 2005-01-23 David Bateman <dbateman@free.fr> | |
2896 | |
2897 * dSparse.cc (SparseMatrix::solve): Include tridiagonal, cholesky | |
2898 tridiagonal and banded cholesky solvers. Remove calculation of | |
2899 condition number for banded solvers. | |
2900 * CSparse.cc (SparseComplexMatrix::solve): ditto. | |
2901 | |
2902 * Sparse.h (int type (int) const, bool is_dense (void) const): | |
2903 new functions. | |
2904 * MSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
2905 * dSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
2906 * CSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
2907 * boolSparse.h (int type (int) const, bool is_dense (void) const): | |
2908 ditto | |
2909 | |
2910 * Sparse.cc (int Sparse<T>::type (int) const, | |
2911 bool Sparse<T>::is_dense (void) const): New functions definition | |
2912 | |
2913 * Sparse.h (matrix_type typ): Move caching of matrix type to SparseRep, | |
2914 so it actually is cached, but disable | |
2915 | |
2916 * oct-spparms.cc (SparseParams::init_keys): Change spmoni to spumoni | |
2917 for compatiability | |
2918 | |
2919 2005-01-18 David Bateman <dbateman@free.fr> | |
2920 | |
2921 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
2922 Modify calculation of number elements to skip between copied blocks. | |
2923 | |
2924 2005-01-07 David Bateman <dbateman@free.fr> | |
2925 | |
2926 * Sparse.h : Reverse definitions of numel and nelem. | |
2927 * Sparse.cc (assign1): Use numel and not nelem | |
2928 * Sparse-op-def.h: Replace all uses of nelem with numel | |
2929 | |
2930 2005-01-07 David Bateman <dbateman@free.fr> | |
2931 | |
2932 * dbleDET.h: Make SparseMatrix a friend of the class DET | |
2933 * CmplexDET.h: Make SparseComplexMatrix a friend of the class | |
2934 ComplexDET | |
2935 * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET | |
2936 by DET | |
2937 * dSparse.h (determinant): ditto | |
2938 * CSparse.cc (SparseComplexMatrix::determinant): Replace use of | |
2939 SparseComplexDET by ComplexDET | |
2940 * CSparse.h (determinant): ditto | |
2941 * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, | |
2942 SparseCmplxDET.cc: delete files | |
2943 * Makefile.in: Delete reference to SparsedbleDET.h, SparsedbleDET.cc, | |
2944 SparseCmplxDET.h andSparseCmplxDET.cc. | |
2945 | |
2946 * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in | |
2947 local variable to avoid variable shadowing. | |
2948 * dSparse.cc (SparseMatrix::solve): ditto. | |
2949 | |
2950 * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc | |
2951 dSparse.h MSparse.cc MSparse-C.cc MSparse-d.cc MSparse-defs.h | |
2952 MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc | |
2953 Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc | |
2954 SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc | |
2955 sparse-sort.h: Remove additional licensing clause with authors | |
2956 permission. | |
2957 | |
2958 2004-12-30 John W. Eaton <jwe@octave.org> | |
2959 | |
2960 * MSparse.cc (SPARSE_A2S_OP_2, SPARSE_SA2_OP_2): | |
2961 Loop counter is int, not size_t. | |
2962 | |
2963 * oct-spparms.cc (SparseParams::operator =): Return *this. | |
2964 | |
2965 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Delete unused variable tmpval. | |
2966 | |
2967 * dSparse.cc (operator << (ostream&, const SparseMatrix&), atan2): | |
2968 Delete unused variables. | |
2969 (SparseMatrix::solve): Avoid warnings about uninitialized | |
2970 variables and variables that might be clobbered by longjmp. | |
2971 | |
2972 * CSparse.cc (operator << (ostream&, const SparseComplexMatrix&), | |
2973 min, max): Delete unused variables. | |
2974 (SparseComplexMatrix::solve): Avoid warnings about uninitialized | |
2975 variables and variables that might be clobbered by longjmp. | |
2976 | |
2977 * Makefile.in (UMFPACK_SPECIAL): Include .d files in the list. | |
2978 | |
2979 * Sparse-op-defs.h (SPARSE_SMS_BIN_OP_2, SPARSE_SSM_BIN_OP_2): | |
2980 Loop counter is int, not size_t. | |
2981 | |
2982 * CSparse.cc (SparseComplexMatrix::hermitian): Avoid shadow warnings. | |
2983 * Sparse.cc (Sparse<T>::Sparse, Sparse<T>::type, assign): Likewise. | |
2984 | |
2985 * Sparse.h (Sparse::SparseRep): Order data members and initializer | |
2986 lists consistently. | |
2987 | |
2988 * mx-base.h: Include boolSparse.h, dSparse.h, and CSparse.h. | |
2989 | |
2990 2004-12-29 John W. Eaton <jwe@octave.org> | |
2991 | |
2992 * COLAMD.files (COLAMD_EXTRAS): New variable. | |
2993 * UMFPACK.files (UMFPACK_EXTRAS): New variable. | |
2994 * Makefile.in (DISTFILES): Add $(COLAMD_EXTRAS) and | |
2995 $(UMFPACK_EXTRAS) to the list. | |
2996 (DISTDIRS): New variable. | |
2997 (dist): Handle $(DISTDIRS). | |
2998 | |
2999 Merge of sparse code from David Bateman <dbateman@free.fr> and | |
3000 Andy Adler <adler@site.uottawa.ca>. | |
3001 | |
3002 * Makefile.in (VPATH): ADD @srcdir@/COLAMD to the list. | |
3003 | |
3004 * Makefile.in (MAKEDEPS): Include $(COLAMD_SRC) and $(UMFPACK_SRC) | |
3005 without directory prefix. | |
3006 | |
3007 * Makefile.in (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJ) and | |
3008 $(UMFPACK_OBJ) to the list. | |
3009 | |
3010 * COLAMD: New directory. | |
3011 * COLAMD.files: New file. | |
3012 * Makefile.in: Include COLAMD.files. | |
3013 (SOURCES): Add $(COLAMD_SOURCES) to the list. | |
3014 (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJECTS) to the list. | |
3015 (INCLUDES): Add $(COLAMD_INCLUDES) to the list. | |
3016 | |
3017 * UMFPACK: New directory. | |
3018 * UMFPACK.patch, UMFPACK.README, UMFPACK.files, UMFPACK.rules: | |
3019 New files. | |
3020 * Makefile.in: Include UMFPACK.files and UMFPACK.rules. | |
3021 (SOURCES): Add $(UMFPACK_SOURCES) to the list. | |
3022 (LIBOCTAVE_OBJECTS): Add $(UMFPACK_OBJECTS) to the list. | |
3023 (INCLUDES): Add $(UMFPACK_INCLUDES) to the list. | |
3024 | |
3025 * Makefile.in (SPARSE_MX_OP_INC): New variable. | |
3026 (INCLUDES): Add it to the list. | |
3027 (SPARSE_MX_OP_SRC): New variable. | |
3028 (LIBOCTAVE_CXX_SOURCES): Add it to the list. | |
3029 (distclean): Remove $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
3030 (stamp-prereq): Depend on $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
3031 | |
3032 * sparse-mk-ops.awk, sparse-mx-ops: New files. | |
3033 * Makefile.in (DISTFILES): Add them to the lists. | |
3034 | |
3035 * oct-spparms.h, sparse-sort.h: New files. | |
3036 * Makefile.in (INCLUDES): Add them to the list. | |
3037 | |
3038 * oct-spparms.cc, sparse-sort.cc: New files. | |
3039 * Makefile.in (LIBOCTAVE_CXX_SOURCES): Add them to the list. | |
3040 | |
3041 * sparse-base-lu.cc: New file. | |
3042 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
3043 | |
3044 * boolSparse.cc, CSparse.cc, dSparse.cc, MSparse.cc, Sparse.cc, | |
3045 SparseCmplxDET.cc, SparseCmplxLU.cc, SparsedbleDET.cc, | |
3046 SparsedbleLU.cc: New files. | |
3047 * Makefile.in (MATRIX_SRC): Add them to the list. | |
3048 | |
3049 * boolSparse.h, CSparse.h, dSparse.h, MSparse-defs.h, MSparse.h, | |
3050 Sparse.h, oct-spparms.h, sparse-base-lu.h, SparseCmplxDET.h, | |
3051 SparseCmplxLU.h, SparsedbleDET.h, SparsedbleLU.h, | |
3052 Sparse-op-defs.h: New files. | |
3053 * Makefile.in (MATRIX_INC): Add them to the appropriate lists. | |
3054 | |
3055 * MSparse-d.cc, MSparse-C.cc, Sparse-b.cc, Sparse-d.cc, | |
3056 Sparse-C.cc: New files. | |
3057 * Makefile.in (TI_SRC): Add them to the list. | |
3058 | |
5149 | 3059 2005-02-18 John W. Eaton <jwe@octave.org> |
3060 | |
3061 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_RESOLVEPATH]: | |
3062 Pass current directory to octave_env::make_absolute. | |
3063 Save value returned from octave_env::make_absolute in local var. | |
3064 Pass const char*, not std::string as first arg of resolvepath. | |
3065 Provide decl for resolved_len. | |
3066 | |
5148 | 3067 2005-02-18 John W. Eaton <jwe@octave.org> |
3068 | |
3069 * Array.cc (Array<T>::permute): Allow permutation vector longer | |
3070 than number of dimenensions of permuted matrix. | |
3071 | |
3072 * Array.cc (Array<T>::permute): Use zero-based indexing for perm_vec. | |
3073 * Array-util.cc (calc_permutated_idx): Likewise. | |
3074 | |
5139 | 3075 2005-02-10 David Bateman <dbateman@free.fr> |
3076 | |
3077 * CNDArray.cc (ComplexNDarray::operator !): Change sense of test. | |
3078 * CMatrix.cc (ComplexMatrix::operator !): Likewise. | |
3079 | |
5137 | 3080 2005-02-09 John W. Eaton <jwe@octave.org> |
3081 | |
5138 | 3082 * file-ops.cc (file_ops::canonicalize_file_name): New functions. |
3083 * file-ops.h: Provide decls. | |
3084 | |
5137 | 3085 * kpse.cc (kpse_tilde_expand): Simply return NAME if it is empty. |
3086 | |
5136 | 3087 2005-02-08 John W. Eaton <jwe@octave.org> |
3088 | |
3089 * Array-util.cc (freeze): Improve error message. | |
3090 | |
5120 | 3091 2005-01-26 David Bateman <dbateman@free.fr> |
3092 | |
5121 | 3093 * Array.cc (Array<T>::insert): Handle generic case, not just |
3094 special case for fast concatenation. | |
5120 | 3095 |
5110 | 3096 2005-01-18 John W. Eaton <jwe@octave.org> |
3097 | |
3098 * mx-inlines.cc (MX_ND_REDUCTION): Delete RET_ELT_TYPE arg. | |
3099 Change all uses. Use VAL instead of RET_ELT_TYPE when resizing. | |
3100 | |
3101 * dNDArray.cc (NDArray::any): NaN does not count as a nonzero value. | |
3102 * CNDArray.cc (ComplexNDArray::any): Likewise. | |
3103 | |
5108 | 3104 2005-01-18 David Bateman <dbateman@free.fr> |
3105 | |
3106 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
3107 Modify calculation of number elements to skip between copied blocks. | |
3108 | |
3109 2005-01-18 John W. Eaton <jwe@octave.org> | |
3110 | |
3111 * idx-vector.cc (IDX_VEC_REP::freeze): Call warning handler, not | |
3112 error handler, to warn about resizing. | |
3113 | |
5105 | 3114 2004-12-27 Martin Dalecki <martin@dalecki.de> |
3115 | |
3116 * Array.cc, ArrayN.cc, base-lu.cc, boolMatrix.cc, boolNDArray.cc, | |
3117 Bounds.cc, CColVector.cc, CDiagMatrix.cc, chMatrix.cc, | |
3118 chNDArray.cc, CMatrix.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, | |
3119 CmplxDET.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
3120 CmplxSCHUR.cc, CmplxSVD.cc, CNDArray.cc, CollocWt.cc, | |
3121 CRowVector.cc, DASPK.cc, DASRT.cc, DASSL.cc, dbleAEPBAL.cc, | |
3122 dbleCHOL.cc, dbleDET.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, | |
3123 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, dColVector.cc, | |
3124 dDiagMatrix.cc, DiagArray2.cc, dMatrix.cc, dNDArray.cc, | |
3125 dRowVector.cc, EIG.cc, FEGrid.cc, idx-vector.cc, int16NDArray.cc, | |
3126 int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, intNDArray.cc, | |
3127 LinConst.cc, LPsolve.cc, LSODE.cc, MArray2.cc, MArray.cc, | |
3128 MArrayN.cc, MDiagArray2.cc, NLEqn.cc, oct-alloc.cc, ODES.cc, | |
3129 ODESSA.cc, Quad.cc, Range.cc, so-array.cc, uint16NDArray.cc, | |
3130 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: | |
3131 Delete #pragma implementation. | |
3132 | |
3133 * Array2.h, Array3.h, Array.h, ArrayN.h, base-lu.h, boolMatrix.h, | |
3134 boolNDArray.h, Bounds.h, CColVector.h, CDiagMatrix.h, chMatrix.h, | |
3135 chNDArray.h, CMatrix.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, | |
3136 CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, | |
3137 CmplxSVD.h, CNDArray.h, CollocWt.h, CRowVector.h, DASPK.h, | |
3138 DASRT.h, DASSL.h, dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, | |
3139 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, | |
3140 dColVector.h, dDiagMatrix.h, DiagArray2.h, dim-vector.h, | |
3141 dMatrix.h, dNDArray.h, dRowVector.h, EIG.h, FEGrid.h, | |
3142 idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
3143 int8NDArray.h, intNDArray.h, LinConst.h, LPsolve.h, LSODE.h, | |
3144 MArray2.h, MArray.h, MArrayN.h, MDiagArray2.h, NLConst.h, NLEqn.h, | |
3145 ODES.h, ODESSA.h, Quad.h, Range.h, so-array.h, uint16NDArray.h, | |
3146 uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: | |
3147 Delete #pragma interface. | |
3148 | |
5098 | 3149 2004-12-17 John W. Eaton <jwe@octave.org> |
3150 | |
3151 * lo-cieee.c (lo_ieee_signbit): New function. | |
3152 * lo-ieee.h: Provide decl. | |
3153 Don't define lo_ieee_signbit as a macro here. | |
3154 From Orion Poplawski <orion@cora.nwra.com>. | |
3155 | |
5085 | 3156 2004-11-18 John W. Eaton <jwe@octave.org> |
3157 | |
3158 * int32NDArray.cc (pow): Delete instantiation. | |
3159 * int16NDArray.cc (pow): Likewise. | |
3160 * int8NDArray.cc (pow): Likewise. | |
3161 * uint32NDArray.cc (pow): Likewise. | |
3162 * uint16NDArray.cc (pow): Likewise. | |
3163 * uint8NDArray.cc (pow): Likewise. | |
3164 | |
5081 | 3165 2004-11-17 John W. Eaton <jwe@octave.org> |
3166 | |
5085 | 3167 * kpse.cc (str_llist_float, str_llist_add, kpse_var_expand): |
3168 Now static. | |
3169 (DB_ENVS, DB_HASH_SIZE, DB_NAME, ALIAS_NAME, ALIAS_HASH_SIZE, | |
3170 DEFAULT_TEXMFDBS): Delete unused macros. | |
3171 | |
5081 | 3172 * Array.cc (Array<T>::index): Call generic N-d indexing function |
3173 if idx_arg is N-d. | |
3174 | |
5073 | 3175 2004-11-09 David Bateman <dbateman@free.fr> |
3176 | |
3177 * dNDArray.cc (concat): Delete. | |
3178 (NDArray::concat): New methods. | |
3179 * dNDArray.h: Provide decls. | |
3180 | |
3181 * CNDArray.cc (concat): Delete. | |
3182 (ComplexNDArray::concat): New methods. | |
3183 * CNDArray.h: Provide decls. | |
3184 | |
3185 * boolNDArray.cc (concat): Delete. | |
3186 (boolNDArray::concat): New methods. | |
3187 * boolNDArray.h: Provide decls. | |
3188 | |
3189 * chNDArray.cc (concat): Delete. | |
3190 (charNDArray::concat): New methods. | |
3191 * chNDArray.h: Provide decls. | |
3192 | |
3193 * oct-inttypes.h (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): | |
3194 Delete macros. | |
3195 | |
3196 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
3197 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
3198 (OCTAVE_INT_CONCAT_DECL): Delete use of macro. | |
3199 | |
3200 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
3201 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
3202 (OCTAVE_INT_CONCAT_FN): Delete use of macro. | |
3203 | |
3204 * intNDArray.cc (intNDArray<T>::concat): New method. | |
3205 * intNDArray.h: Provide decl. | |
3206 | |
5072 | 3207 2004-11-08 John W. Eaton <jwe@octave.org> |
3208 | |
3209 * oct-inttypes.cc: New file. | |
3210 * Makefile.in (TI_SRC): Add it to the list. | |
3211 * oct-inttypes.h (OCTAVE_US_TYPE1_CMP_OP, OCTAVE_US_TYPE1_CMP_OPS, | |
3212 OCTAVE_SU_TYPE1_CMP_OP, OCTAVE_SU_TYPE1_CMP_OPS, | |
3213 OCTAVE_TYPE1_CMP_OPS, OCTAVE_US_TYPE2_CMP_OP, | |
3214 OCTAVE_US_TYPE2_CMP_OPS, OCTAVE_SU_TYPE2_CMP_OP, | |
3215 OCTAVE_SU_TYPE2_CMP_OPS, OCTAVE_TYPE2_CMP_OPS): | |
3216 New macros for comparison operations. Avoid potential | |
3217 problems with default conversions when comparing signed and | |
3218 unsigned values. | |
3219 | |
5061 | 3220 2004-11-03 John W. Eaton <jwe@octave.org> |
3221 | |
3222 * dMatrix.cc (Matrix::inverse): Return info == -1 for any failure. | |
3223 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
3224 | |
5052 | 3225 2004-10-19 John W. Eaton <jwe@octave.org> |
3226 | |
3227 * Array.cc (assignN): Avoid resizing if assignment will fail. | |
3228 | |
5047 | 3229 2004-10-18 John W. Eaton <jwe@octave.org> |
3230 | |
3231 * Array.cc (assign2): Save result of squeeze operation. | |
3232 Squeeze if ndims is > 2, not if length of RHS vector is > 2. | |
3233 | |
5095 | 3234 2004-10-11 David Bateman <dbateman@free.fr> |
5044 | 3235 |
3236 * oct-fftw.cc (class octave_fftw_planner): Add inplace[2] to | |
3237 flag whether transform in- or out-of-place. | |
3238 (octave_fftw_planner::octave_fftw_planner): Initialize it. | |
3239 (octave_fftw_planner::create_plan): Use it. | |
3240 | |
5039 | 3241 2004-09-24 John W. Eaton <jwe@octave.org> |
3242 | |
3243 * Array.cc (assign2, assignN): If index is empty, allow RHS to be | |
3244 any empty matrix, not just []. | |
3245 | |
5030 | 3246 2004-09-23 John W. Eaton <jwe@octave.org> |
3247 | |
3248 * mx-ops: Include scalar zero value in type definitions. | |
3249 Delete zero information from ops section. | |
3250 * mk-ops.awk: Use type-specific zero info. | |
3251 | |
3252 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, | |
3253 SND_BOOL_OP, NDND_BOOL_OP): Args now include zero values for both | |
3254 LHS and RHS. | |
3255 (MS_BOOL_OPS2, SM_BOOL_OPS2, MM_BOOL_OPS2, NDS_BOOL_OPS2, | |
3256 SND_BOOL_OPS2, NDND_BOOL_OPS2): New macros. | |
3257 (MS_BOOL_OPS, SM_BOOL_OPS, MM_BOOL_OPS, NDS_BOOL_OPS, | |
3258 SND_BOOL_OPS, NDND_BOOL_OPS): Define in terms of 2-zero versions. | |
3259 | |
3260 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const | |
3261 intNDArray<U>&)): Use explicit as_double () conversion in call to | |
3262 tree_to_mat_idx. | |
3263 | |
3264 * oct-inttypes.h (octave_int<T>::operator float): New conversion. | |
3265 (pow): Instead of "if (b_val)", use "if (b_val != zero)". | |
3266 Likewise for the "if (b_val & one)" test. | |
3267 (operator <<, operator >>): Type of retval is octave_int<T1>, not T1. | |
3268 | |
5029 | 3269 2004-09-23 David Bateman <dbateman@free.fr> |
3270 | |
3271 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): | |
3272 New macros. Use them to define mixed intX-double and double-intX ops. | |
3273 | |
5021 | 3274 2004-09-22 Federico Zenith <zenith@chemeng.ntnu.no> |
3275 | |
3276 * DASPK-opts.in, DASRT-opts.in, ODESSA-opts.in: | |
3277 Fix doc string layout to avoid overfull hbox in printed output. | |
3278 | |
5015 | 3279 2004-09-21 John W. Eaton <jwe@octave.org> |
3280 | |
3281 * mach-info.h (octave_mach_info::flt_fmt_native): Delete. | |
3282 * mach-info.cc (octave_mach_info::string_to_float_format): | |
3283 For "native", set actual native format. | |
3284 (octave_mach_info::float_format_as_string): Delete flt_fmt_native case. | |
3285 | |
5008 | 3286 2004-09-17 David Bateman <dbateman@free.fr> |
3287 | |
3288 * CmplxSCHUR.cc (CmplxSCHUR::init): New arg, calc_unitary to make the | |
3289 calculation of the unitary matrix optional. | |
3290 * dbleSCHUR.cc (SCHUR::init): Ditto. | |
3291 * CmplxSCHUR.h, dbleSCHUR.h: Update decls. | |
3292 | |
4998 | 3293 2004-09-15 David Bateman <dbateman@free.fr> |
3294 | |
3295 * oct-sort.h (octave_sort<T>::set_compare (bool (*comp) (T, T))): | |
3296 New function to set the comparison function for the sort. | |
3297 | |
4985 | 3298 2004-09-10 John W. Eaton <jwe@octave.org> |
3299 | |
3300 * lo-mappers.cc (xround): Fix typo. | |
3301 | |
4979 | 3302 2004-09-08 John W. Eaton <jwe@octave.org> |
3303 | |
3304 * Array.h (Array::~Array): Declare virtual. | |
3305 | |
3306 * idx-vector.h (idx_vector::idx_vector): Initialize rep in member | |
3307 initializaion list. Don't set rep->count since the rep | |
3308 constructor does that. | |
3309 | |
4968 | 3310 2004-09-07 John W. Eaton <jwe@octave.org> |
3311 | |
4970 | 3312 * data-conv.cc (oct_data_conv::string_to_data_type): Handle dt_logical. |
3313 (oct_data_conv::data_type_as_string): Likewise. | |
3314 | |
3315 * data-conv.h (oct_data_conv::data_type): Add dt_logical to list. | |
3316 | |
4968 | 3317 * Range.cc (round): Delete unused function. |
3318 | |
3319 * lo-mappers.cc (xround): Rename from round. Change all uses. | |
3320 If HAVE_ROUND, call round, otherwise fake with floor and ceil. | |
3321 | |
3322 * oct-inttypes.h: Include <cmath> here. | |
3323 | |
4964 | 3324 2004-09-03 David Bateman <dbateman@free.fr> |
3325 | |
3326 * boolNDArray.cc (boolNDArray::concat, boolNDArray::insert): | |
3327 New functions for boolean matrix concatenation. | |
3328 * boolNDArray.h: Provide decls. | |
3329 | |
4963 | 3330 2004-09-03 John W. Eaton <jwe@octave.org> |
3331 | |
4964 | 3332 * oct-inttpes.h (OCTAVE_INT_CMP_OP): Convert operarands to double |
3333 to avoid signed/unsigned int comparison problems. | |
3334 | |
3335 * mx-ops: Generate CMP and BOOL ops for mixed integer types and | |
3336 for mixed integer and double types. | |
3337 | |
3338 * mk-ops.awk: Output BIN_OP_DECLS, CMP_OP_DECLS, and BOOL_OP_DECLS | |
3339 separately, and only if needed. | |
3340 | |
4963 | 3341 * oct-inttypes.h (octave_fit_to_range): Use constructor instead of |
3342 static_cast for type conversion. | |
3343 | |
4953 | 3344 2004-09-01 John W. Eaton <jwe@octave.org> |
3345 | |
3346 * oct-inttypes.h (pow, operator +, operator -, operator *, | |
3347 operator /): Handle mixed integer/double ops. If op generates a | |
3348 NaN, set result to 0. | |
3349 (octave_int::operator - (void)): Convert to double, then negate, | |
3350 then fit to range. | |
3351 | |
3352 * mx-ops: Define integer types. Include declarations for mixed | |
3353 integer/double ops. | |
3354 | |
4952 | 3355 2004-08-31 John W. Eaton <jwe@octave.org> |
3356 | |
3357 * oct-inttypes.h (pow): Args now const reference. | |
3358 (octave_int<T>::operator *=, octave_int<T>::operator /=, | |
3359 octave_int<T>::operator <<=, octave_int<T>::operator >>=): | |
3360 New member functions. | |
3361 (OCTAVE_INT_BITSHIFT_OP): Delete macro. | |
3362 (operator >> (const octave_int<T1>& x, const T2& y)): | |
3363 Define in terms of >>=. | |
3364 (operator << (const octave_int<T1>& x, const T2& y)): | |
3365 Define in terms of <<=. | |
3366 (bitshift): Operate on octave_int<T> objects, not the values, so | |
3367 we get proper saturation properties. | |
3368 | |
3369 2004-08-31 David Bateman <dbateman@free.fr> | |
3370 | |
3371 * oct-inttypes.h (pow (constT, T)): New template. | |
3372 | |
3373 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, | |
3374 uint16NDArray.cc, uint32NDArray.cc: Instantiate power function. | |
3375 | |
4949 | 3376 2004-08-31 John W. Eaton <jwe@octave.org> |
3377 | |
3378 * oct-inttypes.h (octave_int::byte_size): New function. | |
3379 | |
4944 | 3380 2004-08-31 John W. Eaton <jwe@octave.org> |
3381 | |
4946 | 3382 * Makefile.in (EXTRAS): Add intNDArray.cc to the list. |
3383 | |
4944 | 3384 * data-conv.h (oct_data_conv::data_type): Include sized types. |
3385 Explicitly number enum elements. | |
3386 | |
3387 * data-conv.cc (oct_data_conv::string_to_data_type (const | |
3388 std::string&, int&, oct_data_conv::data_type&, | |
3389 oct_data_conv::data_type&)): New function. | |
3390 (oct_data_conv::string_to_data_type (const std::string&, int&, | |
3391 oct_data_conv::data_type&)): New function. | |
3392 (oct_data_conv::data_type_as_string): New function. | |
3393 | |
3394 * dMatrix.cc (read_int, do_read, Matrix::read): Delete. | |
3395 (write_int, do_write, Matrix::write): Delete. | |
3396 * dMatrix.h (Matrix::read, Matrix::write): Delete decls. | |
3397 | |
3398 * byte-swap.h: Use template functions and specialization. | |
3399 Change all uses. | |
3400 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
3401 | |
4943 | 3402 2004-08-30 John W. Eaton <jwe@octave.org> |
3403 | |
3404 * oct-inttypes.h (octave_int_fit_to_range): Use template | |
3405 specializations to avoid warnings about signed/unsigned comparisons. | |
3406 | |
3407 2004-08-28 John W. Eaton <jwe@octave.org> | |
3408 | |
3409 * data-conv.cc (do_float_format_conversion (unsigned char *, | |
3410 size_t, int, oct_mach_info::float_format)): New function. | |
3411 (GET_SIZED_INT_TYPE): New macro. | |
3412 (string_to_data_type): Use it to return sized types corresponding | |
3413 to Octave array data types. | |
3414 (strip_spaces): New function. | |
3415 (do_double_format_conversion, do_float_format_conversion): Pass | |
3416 from_fmt and to_fmt. Don't always assume the to_fmt is the native | |
3417 float format. | |
3418 (do_double_format_conversion, | |
3419 IEEE_big_double_to_IEEE_little_double, | |
3420 VAX_D_double_to_IEEE_little_double, | |
3421 VAX_G_double_to_IEEE_little_double, Cray_to_IEEE_little_double, | |
3422 IEEE_little_double_to_IEEE_big_double, | |
3423 VAX_D_double_to_IEEE_big_double, VAX_G_double_to_IEEE_big_double, | |
3424 Cray_to_IEEE_big_double, IEEE_little_double_to_VAX_D_double, | |
3425 IEEE_big_double_to_VAX_D_double, VAX_G_double_to_VAX_D_double, | |
3426 Cray_to_VAX_D_double, IEEE_little_double_to_VAX_G_double, | |
3427 IEEE_big_double_to_VAX_G_double, VAX_D_double_to_VAX_G_double, | |
3428 Cray_to_VAX_G_double): | |
3429 Pass data as void*, not double*. | |
3430 (do_float_format_conversion, IEEE_big_float_to_IEEE_little_float, | |
3431 VAX_D_float_to_IEEE_little_float, | |
3432 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, | |
3433 IEEE_little_float_to_IEEE_big_float, | |
3434 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, | |
3435 Cray_to_IEEE_big_float, IEEE_little_float_to_VAX_D_float, | |
3436 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, | |
3437 Cray_to_VAX_D_float, IEEE_little_float_to_VAX_G_float, | |
3438 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, | |
3439 Cray_to_VAX_G_float): | |
3440 Pass data as void*, not float*. | |
3441 | |
3442 2004-08-27 John W. Eaton <jwe@octave.org> | |
3443 | |
3444 * byte-swap.h (swap_bytes): New template versions, with | |
3445 specializations. | |
3446 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
3447 Change all uses. | |
3448 | |
4940 | 3449 2004-08-24 David Bateman <dbateman@free.fr> |
3450 | |
3451 * chNDArray.cc (concat): Check whether matrix to be inserted is | |
3452 empty instead of checking final matrix. | |
3453 * dNDArray.cc (concat): Likewise. | |
3454 * CNDArray.cc (concat): Likewise. | |
3455 | |
3456 2004-08-23 David Bateman <dbateman@free.fr> | |
3457 | |
3458 * dim-vector.h (dim_vector::concat): Correct incrementation for | |
3459 non-existent dimensions. | |
3460 | |
4938 | 3461 2004-08-09 John W. Eaton <jwe@octave.org> |
3462 | |
3463 * idx-vector.h (idx_vector::idx_vector_rep::tree_to_mat_idx | |
3464 (const octave_int<U>&)): New member function. | |
3465 (idx_vector::idx_vector_rep::tree_to_mat_idx (double, bool&), | |
3466 idx_vector::idx_vector_rep::tree_to_mat_idx (int)): | |
3467 Now member functions instead of static in idx-vector.cc. | |
3468 (idx_vector::idx_vector_rep::idx_vector_rep (const octave_int<U>&), | |
3469 idx_vector::idx_vector_rep::idx_vector_rep (const intNDArray<U>&)): | |
3470 New template constructors. | |
3471 | |
4932 | 3472 2004-08-05 John W. Eaton <jwe@octave.org> |
3473 | |
4933 | 3474 * EIG.cc (EIG::init): Add volatile qualifier to nvr decl. |
3475 | |
4932 | 3476 * intNDArray.cc (intNDArray<T>::operator !, intNDArray<T>::all, |
3477 intNDArray<T>::any): Sprinkle with this-> as needed. | |
3478 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): Likewise. | |
3479 | |
4929 | 3480 2004-08-03 John W. Eaton <jwe@octave.org> |
3481 | |
3482 * Array.cc (Array<T>::squeeze): Do nothing for 2-d arrays. For | |
3483 arrays with more than two dimensions and only one non-singleton | |
3484 dimension, return a column vector. | |
3485 | |
4921 | 3486 2004-07-28 John W. Eaton <jwe@octave.org> |
3487 | |
3488 * oct-cmplx.h (pow (const Complex&, const double&): | |
3489 Convert second arg to complex to avoid libstdc++ bug. | |
3490 | |
4920 | 3491 2004-07-27 John W. Eaton <jwe@octave.org> |
3492 | |
3493 * oct-inttypes.h (bitshift): New arg, MASK. | |
3494 (OCTAVE_INT_BITSHIFT_OP): Bitshift does not saturate. | |
3495 | |
4916 | 3496 2004-07-23 John W. Eaton <jwe@octave.org> |
3497 | |
3498 * Array.cc (Array<T>::reshape): Return *this if no change in size. | |
3499 | |
4915 | 3500 2004-07-23 David Bateman <dbateman@free.fr> |
3501 | |
3502 * Array.cc, Array.h (cat_ra): Delete. | |
3503 * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc | |
3504 (INSTANTIATE_ARRAY_CAT): Delete. | |
3505 | |
3506 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
3507 chNDArray.h, intNDArray.cc, intNDArray.h (cat): Delete. | |
3508 | |
3509 * Array.cc (Array<T>::insert): Copy data in NDArray version. | |
3510 | |
3511 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
3512 chNDArray.h (concat): New function used for concatenation that does | |
3513 an indexed copy of one array into another. | |
3514 | |
3515 * dim-vector.h (concat): New function to concatenate dim_vectors. | |
3516 | |
3517 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
3518 chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for | |
3519 insertion of one NDArray into another. | |
3520 | |
3521 * oct-inttype.cc (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): New | |
3522 macros to define the int/uint concatenation functions. | |
3523 | |
3524 * uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
3525 int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc | |
3526 (OCTAVE_INT_CONCAT_FN): Instantiate the concatenation function . | |
3527 | |
3528 * uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
3529 int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h | |
3530 (OCTAVE_INT_CONCAT_DECL): Declare the int/uint concatentaion | |
3531 functions. | |
3532 | |
4911 | 3533 2004-07-22 David Bateman <dbateman@free.fr> |
3534 | |
3535 * oct-sort.h: Don't include oct-obj.h. | |
3536 | |
3537 * lo-specfun.cc (is_integer_value): New function. | |
3538 (zbesj, zbesi, zbesy): Special case negative integer or half | |
3539 integer orders that cause overflow for small arguments. | |
3540 | |
4909 | 3541 2004-07-12 John W. Eaton <jwe@octave.org> |
3542 | |
3543 * oct-inttypes.h (octave_int<T>::nbits): New function. | |
3544 (bitshift (const octave_int<T>&, int)): New function. | |
3545 | |
4902 | 3546 2004-06-14 John W. Eaton <jwe@octave.org> |
3547 | |
3548 * mx-base.h: Include headers for new int types. | |
3549 | |
3550 * dNDArray.h, dNDArray.cc (NDArray::NDArray (const boolNDArray&), | |
3551 NDArray::NDArray (const charNDArray&)): Delete. | |
3552 (template <class U> explicit NDArray (const intNDArray<U>&)): New | |
3553 constructor. | |
3554 (NDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
3555 | |
3556 * chMatrix.h (CharMatrix::transpose): New forwarding functions for | |
3557 return type conversion. | |
3558 | |
3559 * ComplexNDArray.h, ComplexNDArray.cc | |
3560 (ComplexNDArray::ComplexNDArray (const ArrayN<Complex>&), | |
3561 (ComplexNDArray::ComplexNDArray (const NDArray&), | |
3562 (ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
3563 (ComplexNDArray::ComplexNDArray (const charNDArray&)): Delete. | |
3564 | |
3565 (ComplexNDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
3566 | |
3567 * MArrayN.h: | |
3568 (template <class U> explicit MArrayN<T>::MArrayN (const Array2<U>&), | |
3569 (template <class U> MArrayN<T>::MArrayN (const ArrayN<U>&), | |
3570 (template <class U> explicit MArrayN<T>::MArrayN (const MArray<U>&)): | |
3571 New constructors. | |
3572 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
3573 ArrayN<T>::squeeze): | |
3574 New forwarding functions for return type conversion. | |
3575 | |
3576 * ArrayN.h: | |
3577 (template <class U> explicit ArrayN<T>::ArrayN (const Array2<U>&), | |
3578 (template <class U> explicit ArrayN<T>::ArrayN (const ArrayN<U>&), | |
3579 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&), | |
3580 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&, | |
3581 const dim_vector&)): New constructors. | |
3582 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
3583 ArrayN<T>::transpose): | |
3584 New forwarding functions for return type conversion. | |
3585 | |
3586 * Array.h (template <class U> Array<T>::Array (const Array<U>&)): | |
3587 New constructor. | |
3588 (Array<T>::coerce, Array<T>::byte_size): New functions. | |
3589 | |
3590 * Array-i.cc, MArray-i.cc: Instantiate new integer types. | |
3591 | |
3592 * oct-inttypes.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
3593 int8NDArray.h , intNDArray.h, uint16NDArray.h, uint32NDArray.h, | |
3594 uint64NDArray.h, uint8NDArray.h, int16NDArray.cc, int32NDArray.cc, | |
3595 int64NDArray.cc, int8NDArray.cc, intNDArray.cc, uint16NDArray.cc, | |
3596 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: New files. | |
3597 * Makefile.in: Add them to the appropriate lists. | |
3598 | |
4899 | 3599 2004-06-04 John W. Eaton <jwe@octave.org> |
3600 | |
3601 * mx-inlines.cc (MX_ND_REDUCTION): New arg, RET_ELT_TYPE. Use | |
3602 "RET_ELT_TYPE ()" rather than "false" as fill value for retval | |
3603 resize op. Change all uses. | |
3604 | |
4898 | 3605 2004-06-03 David Bateman <dbateman@free.fr> |
3606 | |
3607 * Array.cc (assignN): Allow magic colon for dimensions lvalue | |
3608 greater than the existing number of dimensions in lvalue. | |
3609 | |
4887 | 3610 2004-04-30 David Bateman <dbateman@free.fr> |
3611 | |
3612 * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): | |
3613 New arg, fill_value. | |
3614 (dim_vector::resize): Allow optional fill_value argument. | |
3615 | |
3616 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
3617 Don't chop trailing dimensions of Array<idx_vector> if there is | |
3618 more than one element in idx_vector. Resize the return value to | |
3619 the size of Array<idx_vector>. | |
3620 | |
3621 * Array-util.cc (short_freeze): Better freeze of last dimension of | |
3622 idx_vector that is shorter than a dim_vector. | |
3623 | |
4882 | 3624 2004-04-23 John W. Eaton <jwe@octave.org> |
3625 | |
3626 * oct-sort.cc: Don't include oct-obj.h. | |
3627 | |
4876 | 3628 2004-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
3629 | |
3630 * Array.cc (Array<T>::index2, Array<T>::indexN): | |
3631 Don't set invalid dimensions on return value. | |
3632 | |
4871 | 3633 2004-04-21 John W. Eaton <jwe@octave.org> |
3634 | |
3635 * mx-inlines.cc (MX_ND_REDUCTION): Chop trailing singletons. | |
3636 | |
4850 | 3637 2004-04-06 David Bateman <dbateman@free.fr> |
3638 | |
4870 | 3639 * Array.cc (Array<T>::resize_no_fill (const dim_vector& dv), |
3640 Array<T>::resize_and_fill (const dim_vector& dv, const T& val)): | |
3641 Make their behavior equivalent except for filling vs. not filling. | |
3642 | |
4850 | 3643 * oct-sort.cc: New template class for arbitrary sorting. |
3644 * oct-sort.h: Declaration of sort class. | |
3645 * Makefile: Add them to the appropriate lists. | |
3646 | |
4845 | 3647 2004-04-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
3648 | |
3649 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Fix off-by-one error. | |
3650 | |
4844 | 3651 2004-04-02 David Bateman <dbateman@free.fr> |
3652 | |
3653 * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, | |
3654 besselh2, airy, biry, betainc, gammainc, do_bessel): | |
4852 | 3655 New N-d array versions. |
4844 | 3656 (SN_BESSEL, NS_BESSEL, NN_BESSEL): New macros. |
3657 * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, | |
3658 besselh2, airy, biry, betainc, gammainc): Provide decls. | |
3659 | |
3660 * dNDArray.cc (NDArray::min, NDArray::max, min, max): | |
3661 New functions. | |
3662 * dNDArray.h (NDArray::min, NDArray::max, min, max): Provide decls. | |
3663 | |
3664 * CNDArray.cc (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
3665 New functions. | |
3666 * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
3667 Provide decls. | |
3668 | |
4842 | 3669 2004-03-17 David Hoover <jazzdaq@yahoo.com> |
3670 | |
3671 * DASPK.cc (DASPK::do_integrate): Always add n*n elements to the | |
3672 work vector, not just when using a numerical Jacobian. | |
3673 | |
4834 | 3674 2004-03-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
3675 | |
4835 | 3676 * so-array.cc (SND_CMP_OP, NDS_CMP_OP, NDND_CMP_OP): |
3677 Omit empty result args. | |
3678 | |
4834 | 3679 * Array.cc (Array<T>::Array (const Array<T>&, const dim_vector&)): |
3680 Move here from Array.h, check that size of array arg is not | |
3681 smaller than the size defined by the new dimensions. | |
3682 | |
4832 | 3683 2004-03-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
3684 | |
3685 * Array.cc (Array<T>::index2): Allow result to be N-d if indexing | |
3686 a scalar or vector with an N-d array. | |
3687 | |
4826 | 3688 2004-03-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
3689 | |
4828 | 3690 * Array.cc (Array<T>::index2): If scalar or vector is indexed by |
3691 matrix, return object that is the same size as the index. | |
3692 | |
4826 | 3693 * mx-op-defs.h (NDND_CMP_OP, MM_CMP_OP): Require dimensions to agree. |
3694 Eliminate MT_RESULT args. Return value is always size of args. | |
3695 (MS_CMP_OP, SM_CMP_OP, NDS_CMP_OP, SND_CMP_OP): | |
3696 Eliminate EMPTY_RESULT arg. | |
3697 Return value is always size of matrix or N-d array arg. | |
3698 (TBM, FBM, NBM): Delete unused macros. | |
3699 | |
4821 | 3700 2004-03-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
3701 | |
3702 * Array.cc (Array<T>::maybe_delete_elements): Return immediately | |
3703 if all LHS dimensions are zero. For one index case, freeze and | |
3704 sort idx_vec before checking length, and do nothing if | |
3705 num_to_delete is zero. | |
4822 | 3706 (Array<T>::maybe_delete_elements_2): Omit Fortran-indexing warning. |
4821 | 3707 |
4816 | 3708 2004-03-04 David Bateman <dbateman@free.fr> |
3709 | |
3710 * dNDArray.cc (NDArray::ifourier): Arg is int, not const int. | |
3711 * CNDArray.cc (ComplexNDArray::ifourier): Likewise. | |
3712 | |
4811 | 3713 2004-03-03 Hans Ekkehard Plesser <hans.ekkehard.plesser@nlh.no> |
3714 | |
3715 * base-lu.cc (base_lu<>::L): Check bounds before setting diagonal | |
3716 element. | |
3717 | |
3718 2004-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> | |
3719 | |
3720 * Range.h (Range::Range): Add cache to member initialization list. | |
3721 (Range::clear_cache): New private function. | |
3722 | |
3723 * Range.h (Range::set_base, Range::set_limit, Range::set_inc): | |
3724 Use clear cache. Don't do anything if range does not change. | |
3725 * Range.cc (Range::sort): Likewise. | |
3726 | |
4810 | 3727 2004-03-02 Paul Kienzle <pkienzle@users.sf.net> |
3728 | |
3729 * Range.cc (Range::matrix_value): Cache result. | |
3730 (Range::sort): Clear cache. | |
3731 * Range.h (Range::cache): New data member. | |
3732 (Range::set_base, Range::set_limit, Range::set_inc): Clear cache. | |
3733 (Range::print_range): Delete. | |
4808 | 3734 |
3735 2004-03-02 David Bateman <dbateman@free.fr> | |
3736 | |
3737 * oct-fftw.cc: Only two versions of plan, and avoid endless | |
3738 changes between them. Faster for small fft's. | |
3739 (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): | |
3740 New member variables. | |
3741 (octave_fftw_planner::ialign, octave_fftw_planner::oalign, | |
3742 octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. | |
3743 Change all uses. | |
3744 (CHECK_SIMD_ALIGNMENT): New macro. | |
3745 (octave_fftw_planner::create_plan): Use it. | |
3746 | |
4806 | 3747 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> |
3748 | |
3749 * Array.cc (Array<T>::insertN): Eliminate N-d indexing. | |
3750 | |
3751 * mx-inlines.cc (MX_ND_CAT): Delete macro. | |
3752 | |
3753 * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. | |
3754 * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. | |
3755 * chNDArray.cc (charNDArray<T>::cat): Ditto. | |
3756 * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. | |
3757 | |
3758 * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. | |
3759 * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. | |
3760 | |
4800 | 3761 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
3762 | |
4802 | 3763 * oct-rl-edit.c (octave_rl_set_startup_hook, |
3764 octave_rl_get_startup_hook, octave_rl_set_event_hook, | |
3765 octave_rl_get_event_hook): Omit casts. | |
3766 * oct-rl-edit.h (rl_startup_hook_fcn_ptr, rl_event_hook_fcn_ptr): | |
3767 Return value for function pointer typedef is now int. | |
3768 * cmd-edit.h (command_editor::startup_hook_fcn, | |
3769 command_editor::event_hook_fcn): Likewise. | |
3770 * cmd-hist.cc, cmd-hist.h (command_history::goto_mark, | |
3771 command_history::do_goto_mark, gnu_history::do_goto_mark): | |
3772 Return type is now int. Return 0. | |
3773 | |
4800 | 3774 * EIG.cc (EIG::init, EIG::symmetric_init): |
3775 Query Lapack for workspace size. | |
3776 | |
4796 | 3777 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
3778 | |
3779 * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): | |
3780 Fix thinko in extending dimensions. | |
3781 | |
4791 | 3782 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
3783 | |
3784 * Range.cc (Range::matrix_value, Range::min, Range::max): | |
3785 Don't compute values beyond the limits of the range. | |
3786 (operator << (std::ostream&, const Range&)): Likewise. | |
3787 | |
4786 | 3788 2004-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
3789 | |
4788 | 3790 * oct-fftw.cc (octave_fftw_planner::create_plan): |
3791 Cast IN and OUT args to ptrdiff_t instead of long before masking. | |
3792 From Paul Kienzle <pkienzle@users.sf.net>. | |
3793 | |
4786 | 3794 * Array.cc (Array<T>::insertN (const Array<T>&, int, int)): |
3795 Rename from Array<T>::insert. | |
3796 (Array<T>::insert2 (const Array<T>&, int, int)): | |
3797 Reinstate old Array<T>::insert function under this name. | |
3798 (Array<T>::insert (const Array<T>&, int, int)): | |
3799 New function. Dispatch to insert2 or insertN as appropriate. | |
3800 | |
4785 | 3801 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
3802 | |
3803 * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): | |
3804 Sprinkle with OCTAVE_QUIT. | |
3805 | |
5095 | 3806 2004-02-16 David Bateman <dbateman@free.fr> |
4773 | 3807 |
3808 * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): | |
3809 Add support for FFTW 3.x. Include the ability to | |
3810 use the real to complex transform for fft's of real matrices | |
3811 (octave_fftw_planner::create_plan2d): Delete. | |
3812 (octave_fftw::fft2d): Delete. | |
3813 (convert_packcomplex_1d, convert_packcomplex_Nd): | |
3814 New static functions. | |
3815 * oct-fftw.h: Update decls. | |
3816 | |
3817 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
3818 Matrix::fourier2d, Matrix::ifourier2d): FFT's use real to complex | |
3819 transforms. 1D FFT of a matrix done as single call rather than | |
3820 loop. Update for FFTW 3.x | |
3821 * CMatrix.cc (ComplexMatrix::fourier, ComplexMatrix::ifourier, | |
3822 ComplexMatrix::fourier2d, ComplexMatrix::ifourier2d): 1D fft of a | |
3823 matrix done as single call rather than loop. Update for FFTW 3.x. | |
3824 | |
3825 * dNDArray.cc (NDArray::fourier, NDArray::ifourier, | |
3826 NDArray::fourierNd, NDArray::ifouriourNd): New fourier transform | |
3827 functions for Nd arrays. | |
3828 * dNArray.h Provide decls. | |
3829 * CNDArray.cc (ComplexNDArray::fourier, ComplexNDArray::ifourier, | |
3830 ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New | |
3831 fourier transform functions for complex Nd arrays. | |
3832 * CNArray.h: Provide decls. | |
3833 | |
4765 | 3834 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> |
3835 | |
3836 * Array.cc (Array<T>::insert (const Array<T>&, int, int)): | |
3837 Make it work for N-d arrays. | |
3838 | |
3839 * ArrayN.h (ArrayN<T>::insert (const ArrayN<T>& a, int, int)): | |
3840 New function. | |
3841 | |
3842 * CNDArray.cc (ComplexNDArray::insert (const NDArray&, int, int), | |
3843 ComplexNDArray::insert (const ComplexNDArray&, int, int)): | |
3844 New functions. | |
3845 * CNDArray.h: Provide decls. | |
3846 | |
4759 | 3847 2004-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
3848 | |
4760 | 3849 * Makefile.in (LINK_DEPS): Always define. |
3850 | |
4759 | 3851 * Array.cc (Array<T>::squeeze): Always return an array with at |
3852 least two dimensions. | |
3853 | |
4758 | 3854 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
3855 | |
3856 * mx-inlines.cc (MX_ND_CAT): New macro. | |
3857 * dNDArray.cc (NDArray::cat): New function. | |
3858 * dNDArray.h: Provide decls. | |
3859 * CNDArray.cc (complexNDArray::cat): New function. | |
3860 * CNDArray.h: Provide decls. | |
3861 * chNDArray.cc (charNDArray::cat): New function. | |
3862 * chNDArray.h: Provide decls. | |
3863 | |
4756 | 3864 2004-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
3865 | |
3866 * Array.cc (maybe_delete_elements_2): Allow X(n) = [] for 2-d X. | |
3867 (Array<T>assign2): Also call maybe_delete_elements for single | |
3868 index when rows and columns or LHS are both greater than 1. | |
3869 | |
4755 | 3870 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
3871 | |
3872 * Array.cc (Array<T>::maybe_delete_elements): | |
3873 Check for index out of bounds. Handle one index. | |
3874 | |
3875 * Array.cc (Array<T>::indexN): Use dim_vector (0, 0) instead of | |
3876 dim_vector (0) to create empty return vector. | |
3877 | |
4749 | 3878 2004-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
3879 | |
3880 * Array.cc (Array<T>::assignN): Don't crash if trying to resize a | |
3881 non-empty LHS when the number of lhs dimensions is less than the | |
3882 number of indices. Detect error if attempting to resize non-empty | |
3883 LHS with colon indices. | |
3884 | |
4745 | 3885 2004-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
3886 | |
4747 | 3887 * Array.cc (Array<T>::resize_and_fill): Don't bother to assign any |
3888 values unless the length of the new array is greater than 0. | |
3889 (Array<T>::resize_no_fill): Likewise. | |
3890 | |
3891 * Array-util.cc (index_in_bounds): Also return false if ra_idx(i) | |
3892 is equal to dimensions(i). | |
3893 | |
3894 * Array-util.h, Array-util.cc (equal_arrays, any_zero_len, | |
3895 get_zero_len_size, number_of_elements): | |
3896 Delete unused functions. | |
3897 | |
3898 * Array-util.cc (get_ra_idx): Use dim_vector::numel instead of | |
3899 number_of_elements function. | |
3900 * Array.cc (Array<T>::indexN): Likewise. | |
3901 | |
3902 * Array.cc (Array<T>::indexN): Use dim_vector::operator == instead | |
3903 of equal_arrays function. | |
3904 (Array<T>::index, Array<T>::indexN, Array<T>::assignN) Use | |
3905 dim_vector::any_zero instead of any_zero_len function. | |
3906 | |
3907 * Array.cc (Array<T>::assignN): Eliminate special case for empty index. | |
3908 Don't skip reshaping and resizing if RHS is empty. | |
3909 | |
4746 | 3910 * Array.cc (Array<T>::assignN): Simplify loop for array assignment. |
3911 Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. | |
4747 | 3912 Delete unused variables is_colon and is_colon_equiv. |
4746 | 3913 Correctly resize for expressions like x(:,:,2) = ones(3,3) when |
3914 LHS is not yet defined. | |
4745 | 3915 Error for resizing if number of indices is less than number of LHS |
3916 dimensions. | |
3917 | |
4746 | 3918 * Array.cc (Array<T>::maybe_delete_elements): Maybe warn about |
3919 Fortran-style indexing. | |
3920 | |
4743 | 3921 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
3922 | |
3923 * Array.cc (Array<T>::assignN): Simplify. | |
3924 Allow assignments to succeed if number if indices is less than the | |
3925 number of RHS dimensions. | |
3926 | |
4738 | 3927 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
3928 | |
4741 | 3929 * Array.cc (Array<T>::maybe_delete_elements): Reshape LHS |
3930 when number of indices is less than number of dimensions. | |
3931 | |
3932 * Array.cc (Array<T>::assignN, Array<T>::maybe_delete_elements): | |
3933 Remove unsued variable lhs_inc. | |
3934 | |
4740 | 3935 * Array.cc (Array<T>::maybe_delete_elements): Declare idx_is_colon |
3936 and idx_is_colon_equiv Array<int> instead of dim_vector. | |
3937 | |
3938 * Array.cc (Array<T>::assignN): Compute new dims in a cleaner way. | |
3939 | |
4738 | 3940 * Array.cc (Array<T>::index): Check for frozen_lengths.length () |
3941 == n_dims before checking to see if all indices are colon_equiv. | |
3942 | |
4736 | 3943 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
3944 | |
3945 * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for | |
3946 deleting elements. | |
4737 | 3947 (Array<T>::index): Remove trailing singletons in ra_idx, but leave |
3948 at least ndims elements. | |
4736 | 3949 |
4735 | 3950 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
3951 | |
3952 * Array.cc (Array<T>::assignN): Accept assignment of a vector | |
3953 oriented differently from the index. | |
3954 | |
3955 * dim-vector.h (dim_vector::squeeze): Return value always has at | |
3956 least two dimensions. | |
3957 | |
4733 | 3958 2004-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
3959 | |
4735 | 3960 * dim-vector.h (dim_vector::squeeze): New function. |
3961 (Array<T>::assignN): Use it instead of chop_trailing_singltons for | |
3962 deciding whether the assignment conforms. | |
3963 | |
4733 | 3964 * Array.cc (Array<T>::assignN): Simplify dimension check by |
3965 comparing rhs_dims and frozen_len sans trailing singletons. | |
3966 | |
4732 | 3967 2004-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
3968 | |
3969 * idx-vector.cc (tree_to_mat_idx): New arg, conversion_error. | |
3970 Call error handler and return conversion_error == true if arg is | |
3971 not integer. | |
3972 (IDX_VEC_REP::idx_vector_rep): Exit early if conversion_error. | |
3973 | |
4730 | 3974 2004-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
3975 | |
3976 * boolNDArray.h (boolNDArray::boolNDArray): Declare dim_vector | |
3977 reference arg const. | |
3978 | |
3979 2004-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> | |
3980 | |
3981 * Array-flags.cc: Include Array-flags.h, not Array.h. Doh. | |
3982 | |
4729 | 3983 2004-01-30 Jakub Bogusz <qboosh@pld-linux.org> |
3984 | |
3985 * Array-flags.h (liboctave_wfi_flag, liboctave_wrore_flag): | |
3986 Now bool, to match definition in Array-flags.cc. | |
3987 | |
4725 | 3988 2004-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
3989 | |
4726 | 3990 * file-ops.cc: Include <vector> instead of <memory> for new |
3991 definition of OCTAVE_LOCAL_BUFFER. | |
3992 | |
4725 | 3993 * EIG.cc, EIG.h (EIG::init, EIG::symmetric_init, EIG::hermitian_init): |
3994 New arg, calc_eigenvectors. | |
3995 * EIG.h (EIG:EIG): New optional arg, calc_eigenvectors. | |
3996 Based on patch from David Bateman <dbateman@free.fr>. | |
3997 | |
4716 | 3998 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
3999 | |
4000 * Array.cc (Array<T>::assign2, Array<T>::assignN): | |
4001 For X(I) = RHS, don't restrict I to fewer elements than X. | |
4002 | |
4003 * Array.cc (Array<T>::assign2): Simplify indexing for X(I) = RHS case. | |
4004 | |
4711 | 4005 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
4006 | |
4714 | 4007 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): |
4008 Simplify calculation of number of elements in retval. | |
4009 | |
4711 | 4010 * Array.cc (Array<T>::assignN): Eliminate unnecessray code for |
4011 filling when RHS is scalar and dimension lengths agree. | |
4012 | |
4710 | 4013 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
4014 | |
4713 | 4015 * Makefile.in (distclean): Remove mx-ops.h, $(MX_OP_INC), |
4016 $(VX_OP_INC), $(MX_OP_SRC), $(VX_OP_SRC), and $(OPTS_INC). | |
4710 | 4017 |
4707 | 4018 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
4019 | |
4709 | 4020 * Array.cc (Array<T>::resize_and_fill): Correctly copy old elements. |
4021 (Array<T>::assign2): Check for RHS dimensions larger than 2. | |
4707 | 4022 |
4702 | 4023 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> |
4024 | |
4703 | 4025 * Array.h (Array<T>::chop_trailing_singletons): New function. |
4026 * Array.cc (Array<T>::assignN): Use it on LHS. | |
4027 | |
4028 * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. | |
4702 | 4029 Retrieve scalar element by passin 0 instead of an index array. |
4703 | 4030 Check for singleton dimensions where RHS is matrix or higher dimension. |
4031 Make sure index is in bounds. | |
4702 | 4032 |
4698 | 4033 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
4034 | |
4035 * lo-ieee.cc (octave_ieee_init): Ensure that octave_Inf, | |
4036 octave_NaN, and octav_NA values are always initialized. Check | |
4037 floating point format, not HAVE_ISINF, HAVE_FINITE, or HAVE_ISNAN | |
4038 to decide whether to do IEEE initialization. | |
4039 | |
4687 | 4040 2004-01-06 David Bateman <dbateman@free.fr> |
4041 | |
4042 * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, | |
4043 ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, | |
4044 ComplexNDArray::too_large_for_float): New functions | |
4045 | |
4046 * CNDArray.cc (operator <<, operator >>): New IO operators. | |
4047 * CNDArray.h: Provide decls. | |
4048 * dNDArray.cc (operator <<, operator >>): New IO operators. | |
4049 * dNDArray.h: Provide decls. | |
4050 | |
4673 | 4051 2003-12-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4052 | |
4674 | 4053 * mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since |
4054 they are already defined in boolNDArray.cc. | |
4055 | |
4673 | 4056 * Array-util.cc (get_zero_len_size): Delete. |
4057 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
4058 Handle zero-length result dimensions the same as empty original | |
4059 indices. | |
4060 | |
4061 2003-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4062 | |
4063 * dim-vector.h (dim_vector::chop_trailing_singleton_dims, | |
4064 dim_vector::dim_vector_rep::chop_trailing_singleton_dims): | |
4065 New functions. | |
4066 * Array.cc (ArrayN<T>::indexN): Use it. | |
4067 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): Likewise. | |
4068 | |
4669 | 4069 2003-11-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
4070 | |
4071 * boolNDArray.cc: Define BOOL ops. Define mixed CMP ops. | |
4072 * boolNDArray.h: Declare BOOL ops. Declare mixed CMP ops. | |
4073 | |
4074 2003-11-25 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4075 | |
4076 * mk-ops.awk: Also emit #include "Array-util.h". | |
4077 | |
4078 * mx-ops: Add bool, boolMatrix, and boolNDarray types. | |
4079 Add bnda x bnda, b x bnda, and bnda x b ops. | |
4080 | |
4081 * MArray-misc.cc: Delete. | |
4082 * Makefile.in (MATRIX_SRC): Remove it from the list. | |
4083 | |
4084 * Array-util.h, Array-util.cc (gripe_nonconformant): Move here from | |
4085 MArray.h, MArray2.h, MArrayN.h, and MArray-misc.cc. | |
4086 | |
4655 | 4087 2003-11-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4088 | |
4663 | 4089 * dbleQR.cc (QR::init): Use separate pwork pointers. |
4090 * CmplxQR.cc (ComplexQR::init): Likewise. | |
4091 | |
4092 * oct-group.cc (octave_group::getgrnam): Pass correct args to | |
4093 two-arg getgrnam version. | |
4094 | |
4657 | 4095 * Array.cc (assignN): Allow single indexing to work. |
4661 | 4096 (Array<T>::range_error (const char*, const Array<int>&)): |
4097 Report index values. | |
4098 | |
4099 * Array.cc (Array<T>::index): Delete unused arg names. | |
4662 | 4100 * ODESSA.cc (odessa_j): Likewise. |
4101 * DASRT.cc (ddasrt_f, ddasrt_g): Likewise. | |
4102 * DASPK.cc (ddaspk_psol): Likewise. | |
4103 * lo-mappers.cc (imag): Likewise. | |
4663 | 4104 * Array-util.cc (get_zero_len_size): Likewise. |
4105 * kpse.cc (path_search, path_find_first_of): Likewise. | |
4106 * cmd-edit.cc (do_generate_filename_completions): Likewise. | |
4656 | 4107 |
4655 | 4108 * dim-vector.h (dim_vector::all_ones): New function. |
4109 | |
4646 | 4110 2003-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4111 | |
4653 | 4112 * idx-vector.h (idx_vector::orig_empty): Check orig_dims for |
4113 zeros, not orig_rows or orig_columns. | |
4114 (idx_vector::idx_vector_rep::orig_rows): Define using orig_dims. | |
4115 (idx_vector::idx_vector_rep::orig_columns): Likewise. | |
4116 | |
4117 * idx-vector.cc (idx_vector::idx_vector_rep::orig_nr, | |
4118 (idx_vector::idx_vector_rep::orig_nc): Delete. | |
4119 | |
4120 * idx-vector.cc (idx_vector::idx_vector_rep): | |
4121 Use initialization lists for constructors. | |
4122 | |
4651 | 4123 * Array.cc (Array<T>::indexN): Correctly handle single colon index. |
4124 Omit special case for ra_idx.capacity () == 1. | |
4125 Always allow single index for matrix args with optional warning. | |
4126 | |
4650 | 4127 * idx-vector.h, idx-vector.cc: Convert boolMatrix functions to use |
4128 boolNDArray. Likewise, convert Matrix functions to use NDArray. | |
4129 | |
4648 | 4130 * Array-so.cc: New file. Move instantiations here from so-array.h. |
4131 * Makefile.in (TI_SRC): Add it to the list. | |
4132 | |
4646 | 4133 * MArray-defs.h (DO_VS_OP2, DO_VV_OP2): Accept args for element |
4134 type and the names of the left and right operands. Change all uses. | |
4135 | |
4136 * so-array.cc, so-array.h: New files. Move streamoff_array here | |
4137 from src/ov-streamoff.h and src/ov-streamoff.cc. | |
4138 | |
4645 | 4139 2003-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
4140 | |
4141 * MArrayN.cc (operator -=, operator +=): Check dimensions, not | |
4142 just length. | |
4143 | |
4144 * Array2.h, Array3.h, DiagArray2.h, DiagArray2.cc, MDiagArray2.h, | |
4145 ArrayN.h: Add this-> or Base:: qualifiers for references to | |
4146 non-dependent member functions and data as needed. | |
4147 | |
4148 * DiagArray2.h, DiagArray2.cc: Delete unused code. | |
4149 | |
4150 * Array2.h (Array2<T>::operator =): Don't copy dimensions here. | |
4151 * Array3.h (Array3<T>::operator =): Likewise. | |
4152 * DiagArray2.h (DiagArray2<T>::operator =): Likewise. | |
4153 Include Array.h, not Array2.h. | |
4154 | |
4634 | 4155 2003-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
4156 | |
4636 | 4157 * str-vec.cc (list_in_columns): Fix previous change. |
4158 | |
4635 | 4159 * dim-vector.h (dim_vector::num_ones): New function. |
4160 * Array.cc (maybe_delete_elements): Use it instead of | |
4161 num_ones (const Array<int>&). | |
4162 | |
4163 * Array.cc (assignN): Omit dubious check of singleton dimensions. | |
4164 | |
4634 | 4165 * dNDArray.cc (NDArray::all_elements_are_int_or_inf_or_nan, |
4166 NDArray::any_element_is_inf_or_nan, NDArray::too_large_for_float): | |
4167 New functions. | |
4168 * dNDArray.h: Provide decls. | |
4169 | |
4170 * dMatrix.h (Matrix::any_element_is_negative, | |
4171 Matrix::any_element_is_inf_or_nan, Matrix::too_large_for_float, | |
4172 Matrix::all_elements_are_int_or_inf_or_nan, Matrix::all_integers): | |
4173 Simplify. | |
4174 | |
4175 * dNDArray.cc (NDArray::abs): Make it work for N-d arrays. | |
4176 * CNDArray.cc (ComplexNDArray::abs): Likewise. | |
4177 | |
4178 * dNDArray.cc (real, imag): New functions. | |
4179 * dNDArray.h: Provide decls. | |
4180 | |
4630 | 4181 2003-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4182 | |
4183 * Makefile.in (TEMPLATE_SRC): Move MArrayN.cc here from MATRIX_SRC. | |
4184 | |
4625 | 4185 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
4186 | |
4187 * Array.h (Array<T>::resize (int, const T&)): Reinstate. | |
4188 * MArray.h (resize): Delete. | |
4189 * MArray2.h (resize): Delete. | |
4190 * DASRT.cc (DASRT::integrate): Use resize, not resize_and_fill. | |
4191 * ODESSA (ODESSA::integrate): Likewise. | |
4192 | |
4616 | 4193 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4194 | |
4195 * Makefile.in (dist): Depend on stamp-prereq. | |
4196 | |
4605 | 4197 2003-11-12 John Eaton <jwe@bevo.che.wisc.edu> |
4198 | |
4199 * mach-info.c (oct_mach_info::init_float_format) [CRAY]: | |
4200 Kluge to make it work. | |
4604 | 4201 |
4202 * lo-ieee.cc (octave_ieee_init): Set octave_Inf, octave_NaN, and | |
4203 octave_NA to DBL_MAX if native float format is vaxd, vaxg, or cray. | |
4204 | |
4205 * cmd-edit.cc (gnu_readline::do_generate_filename_completions, | |
4206 default_command_editor::do_generate_filename_completions, | |
4207 command_editor::generate_filename_completions): New functions. | |
4208 * cmd-edit.h: Provide decls. | |
4209 * oct-rl-edit.c (octave_rl_filename_completion_function): New | |
4210 function. | |
4211 * oct-rl-edit.h: Provide decl. | |
4212 | |
4593 | 4213 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4214 | |
4594 | 4215 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY_AND_ASSIGN, |
4216 INSTANTIATE_ARRAY): New macros. | |
4217 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
4218 Array-idx-vec.cc, Array-s.cc, Array-str.cc, ODESSA.cc: Use them. | |
4219 | |
4593 | 4220 * Array.h (Array<T>::ipermute): New function. |
4221 | |
4222 2003-11-11 Petter Risholm <risholm@stud.ntnu.no> | |
4223 | |
4224 * Array.cc (Array<T>::permute): New function. | |
4225 * Array.h: Provide decl. | |
4226 | |
4227 * Array-util.cc (calc_permutated_idx): New function. | |
4228 * Array-util.h: Provide decl. | |
4229 | |
4587 | 4230 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4231 | |
4592 | 4232 * Array.cc (Array<T>::index2): Return value has orientation of |
4233 indexed value if indexing a vector with a bool matrix. | |
4234 | |
4589 | 4235 * ArrayN.h (ArrayN<T>::get_size): Delete. |
4236 | |
4588 | 4237 * Array.cc, ArrayN.cc, dNDArray.cc, CNDArray.cc, boolNDArray.cc, |
4238 chNDArray.cc: Include Array-util.h instead of ArrayN-inline.h. | |
4239 | |
4240 * ArrayN-inline.h: Delete. | |
4241 * Array-util.h, Array-util.cc: New files, from ArrayN-inline.h. | |
4242 * Makefile.in: Fix the appropriate lists. | |
4243 | |
4587 | 4244 * Array.cc, Array.h, ArrayN.h, CMatrix.cc, CNDArray.h, |
4245 CRowVector.cc, CmplxQR.cc, CollocWt.h, DASPK.h, DASRT.h, DASSL.h, | |
4246 FEGrid.cc, LP.h, LSODE.h, MArrayN.h, ODE.h, ODES.h, ODESSA.cc, | |
4247 boolNDArray.h, chNDArray.h, dMatrix.cc, dNDArray.h, dRowVector.cc, | |
4248 dbleQR.cc, kpse.cc, oct-rl-hist.c, str-vec.cc, str-vec.h: | |
4249 Avoid -Wshadow warnings. | |
4250 | |
4251 2003-11-08 John Eaton <jwe@bevo.che.wisc.edu> | |
4585 | 4252 |
4253 * Array.h (Array<T>::nil_rep): Qualify return type with typename. | |
4254 | |
4255 * mk-ops.awk: Delete elements of bool_headers array individually. | |
4256 | |
4257 2003-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4258 | |
4259 * Array.cc (maybe_delete_elements): Rename arg idx to ra_idx. | |
4260 | |
4584 | 4261 2003-10-31 Petter Risholm <risholm@stud.ntnu.no> |
4262 | |
4263 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): New macro. | |
4264 | |
4265 * CNDArray.cc, CNDArray.h (ComplexNDArray::cumsum, | |
4266 ComplexNDArray::cumprod): Return ComplexNDArray. Handle N-d arrays. | |
4267 * dNDArray.cc, dNDArray.h (NDArray::cumsum, NDArray::cumprod): | |
4268 Return NDArray. Handle N-d arrays. | |
4269 | |
4575 | 4270 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
4271 | |
4583 | 4272 * LSODE.cc (LSODE::do_integrate): Avoid name conflict on systems |
4273 that upcase Fortran names by calling dlsode instead of lsode. | |
4274 | |
4275 * ODESSA.cc (ODESSA::do_integrate): Avoid name conflict on systems | |
4276 that upcase Fortran names by calling dodessa instead of odessa. | |
4277 | |
4577 | 4278 * file-ops.cc (file_ops::symlink): Cope with systems that expect |
4279 non-const args for symlink system call. | |
4280 (file_ops::readlink): Likewise, for readlink. | |
4281 | |
4575 | 4282 * DASRT.cc (DASRT::integrate): Fix typo in Fortran function name. |
4283 | |
4574 | 4284 2003-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4285 | |
4286 * mach-info.h (oct_mach_info): Prefix enum elements with flt_fmt_. | |
4287 Change all uses. | |
4288 | |
4569 | 4289 2003-10-29 Petter Risholm <risholm@stud.ntnu.no> |
4290 | |
4291 * dNDArray.cc (NDArray::cumprod, NDArray::cumsum, NDArray::prod, | |
4292 NDArray::sum, NDArray::sumsq, NDArray::abs): New functions. | |
4293 * dNDArray.h: Provide decls. | |
4294 * CNDArray.cc (ComplexNDArray::cumprod, ComplexNDArray::cumsum, | |
4295 ComplexNDArray::prod, ComplexNDArray::sum, ComplexNDArray::sumsq, | |
4296 ComplexNDArray::abs): New functions. | |
4297 * CNDArray.h: Provide decls. | |
4298 | |
4299 * mx-inlines.cc (MX_ND_REDUCTION): Rename from MX_ND_ANY_ALL. | |
4300 Generalize to handle other reduction operations. | |
4301 (MX_ND_REAL_OP_REDUCTION, MX_ND_COMPLEX_OP_REDUCTION, | |
4302 MX_ND_ALL_ANY_REDUCTION): New macros. | |
4303 | |
4565 | 4304 2003-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
4305 | |
4567 | 4306 * Array.cc (Array<T>::reshape): New function. |
4307 * Array.h: Provide decl. | |
4308 | |
4309 * dim-vector.h (dim_vector::numel): New function. | |
4310 | |
4565 | 4311 * dim-vector.h (dim_vector_rep::dim_vector_rep (int, const |
4312 dim_vector&)): Correctly handle case of n < dv->ndims. | |
4313 | |
4559 | 4314 2003-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
4315 | |
4316 * dim-vector.h (dim_vector::any_zero): New function. | |
4317 (dim_vector::str): New default arg, sep. | |
4318 | |
4319 * Array.h (Array<T>::numel): New function. | |
4320 | |
4556 | 4321 2003-10-27 Petter Risholm <risholm@stud.ntnu.no> |
4322 | |
4323 * mx-inlines.cc (MX_ND_ALL_EXPR, MX_ND_ANY_EXPR, | |
4324 MX_ND_ALL_EVAL, MX_ND_ANY_EVAL, MX_ND_ALL_ANY): New macros. | |
4325 * dNDArray.h (NDArray::all, NDArray::any): Return type now boolNDArray. | |
4326 * CNDArray.h (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
4327 * boolNDArray.h (boolNDArray::all, boolNDArray::any): Likewise. | |
4328 * chNDArray.h (charNDArray::all, charNDArray::any): Likewise. | |
4329 * dNDArray.cc (NDArray::all, NDArray::any): Make them work. | |
4330 * CNDArray.cc (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
4331 * boolNDArray.cc (boolNDArray::all, boolNDArray::any): Likewise. | |
4332 * chNDArray.cc (charNDArray::all, charNDArray::any): Likewise. | |
4333 | |
4552 | 4334 2003-10-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
4335 | |
4553 | 4336 * Array.cc (Array<T>::resize_and_fill): Allow number of dimensions |
4337 to change. From Petter Risholm <risholm@stud.ntnu.no>. | |
4338 | |
4552 | 4339 * oct-rand.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, |
4340 CmplxAEPBAL.cc CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
4341 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, | |
4342 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, ODESSA.cc, | |
4343 Quad.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
4344 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
4345 dbleSCHUR.cc, dbleSVD.cc, lo-specfun.cc: | |
4346 Use new F77 arg macros in declarations of external Fortran | |
4347 subroutines and for calling them. | |
4348 | |
4548 | 4349 2003-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
4350 | |
4351 * Array.cc (Array<T>::resize_no_fill (const dim_vector&)): | |
4352 Allow number of dimensions to change. | |
4353 (Array<T>::resize_no_fill (int, int)): Require ndims to be 0 or 2. | |
4354 (Array<T>::resize_and_fill (int, int, const T&)): Likewise. | |
4355 (Array<T>::resize_no_fill (int, int, int)): Require ndims to be 0 or 3. | |
4356 (Array<T>::resize_and_fill (int, int, int, const T&)): Likewise. | |
4357 (Array<T>::transpose): Require ndims to be 2. | |
4358 (Array<T>::index2): Likewise. | |
4359 (Array<T>::index (idx_vector&, idx_vector&, int, const T&)): Likewise. | |
4360 (Array<T>::maybe_delete_elements_2): Likewise. | |
4361 (Array<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Likewise. | |
4362 (Array<T>::index1): Use resize_and_fill. | |
4363 (MAYBE_RESIZE_ND_DIMS): Likewise. | |
4364 | |
4365 * ODESSA.cc (ODESSA::integrate): Use resize_and_fill for x_s_out. | |
4366 | |
4367 * MArray2.h (MArray2<T>::resize (int, int)): New function. | |
4368 (MArray2<T>::resize (int, int, const T&)): New function. | |
4369 | |
4370 * MArray.h (MArray<T>::resize (int)): New function. | |
4371 (MArray<T>::resize (int, const T&)): New function. | |
4372 | |
4373 * DASRT.cc (DASRT::integrate): Use resize_and_fill for jroot. | |
4374 | |
4375 * DASPK-opts.in: Use single-arg resize for initial condition | |
4376 heuristics. | |
4377 | |
4378 * dim-vector.h (class dim_vector): Now reference counted. | |
4379 (dim_vector_rep::elem): Use assert to check that index is in bounds. | |
4380 | |
4544 | 4381 2003-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4382 | |
4545 | 4383 * Array.cc (Array<T>::squeeze): Delete redundant retval decl. |
4384 | |
4544 | 4385 * mx-cdm-cm.cc, mx-cdm-cm.h, mx-cdm-cs.cc, mx-cdm-cs.h, |
4386 mx-cdm-dm.cc, mx-cdm-dm.h, mx-cdm-m.cc, mx-cdm-m.h, mx-cdm-s.cc, | |
4387 mx-cdm-s.h, mx-cm-cdm.cc, mx-cm-cdm.h, mx-cm-dm.cc, mx-cm-dm.h, | |
4388 mx-cm-m.cc, mx-cm-m.h, mx-cm-s.cc, mx-cm-s.h, mx-cs-cdm.cc, | |
4389 mx-cs-cdm.h, mx-cs-dm.cc, mx-cs-dm.h, mx-cs-m.cc, mx-cs-m.h, | |
4390 mx-dm-cdm.cc, mx-dm-cdm.h, mx-dm-cm.cc, mx-dm-cm.h, mx-dm-cs.cc, | |
4391 mx-dm-cs.h, mx-dm-m.cc, mx-dm-m.h, mx-dm-s.cc, mx-dm-s.h, | |
4392 mx-m-cdm.cc, mx-m-cdm.h, mx-m-cm.cc, mx-m-cm.h, mx-m-cs.cc, | |
4393 mx-m-cs.h, mx-m-dm.cc, mx-m-dm.h, mx-ops.h, mx-s-cdm.cc, | |
4394 mx-s-cdm.h, mx-s-cm.cc, mx-s-cm.h, mx-s-dm.cc, mx-s-dm.h, | |
4395 vx-ccv-cv.cc, vx-ccv-cv.h, vx-ccv-s.cc, vx-ccv-s.h, vx-crv-rv.cc, | |
4396 vx-crv-rv.h, vx-crv-s.cc, vx-crv-s.h, vx-cs-cv.cc, vx-cs-cv.h, | |
4397 vx-cs-rv.cc, vx-cs-rv.h, vx-cv-ccv.cc, vx-cv-ccv.h, vx-cv-cs.cc, | |
4398 vx-cv-cs.h, vx-rv-crv.cc, vx-rv-crv.h, vx-rv-cs.cc, vx-rv-cs.h, | |
4399 vx-s-ccv.cc, vx-s-ccv.h, vx-s-crv.cc, vx-s-crv.h: Delete. These | |
4400 files are now automatically generated. | |
4401 | |
4402 * Makefile.in ($(VX_OP_INC), $(VX_OP_SRC), $(MX_OP_INC), | |
4403 $(MX_OP_SRC)): Generate lists with new mk-ops.awk script. | |
4404 Add rules to generate these files and mx-ops.h. | |
4405 (stamp-prereq): Depend on these files. | |
4406 | |
4407 * mx-ops, vx-ops, mk-ops.awk: New files. | |
4408 * Makefile.in (DISTFILES): Add them to the list. | |
4409 | |
4543 | 4410 2003-10-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
4411 | |
4412 * NDArray.cc (NDArray::NDArray (const boolNDArray), | |
4413 NDArray::NDArray (const charNDArray)): New constructors. | |
4414 (NDArray::operator !): New function. | |
4415 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
4416 NDND_CMP_OPS, NDND_BOOL_OPS. | |
4417 | |
4418 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const NDArray&), | |
4419 ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
4420 ComplexNDArray::ComplexNDArray (const charNDArray&)): | |
4421 New constructors. | |
4422 (ComplexNDArray::operator !): New function. | |
4423 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
4424 NDND_CMP_OPS, NDND_BOOL_OPS. | |
4425 | |
4426 * ArrayN.h (resize (const dim_vector&)): Fix typo. | |
4427 | |
4428 * boolNDArray.cc (boolNDArray::operator !): New function. | |
4429 Provide NDND_CMP_OPS. | |
4430 | |
4431 * MArrayN.cc (operator +=, operator -=): New functions. | |
4432 Provide product and quotient functions. | |
4433 | |
4434 * MArray-misc.cc (gripe_nonconformant (const char *, dim_vector&, | |
4435 dim_vector&)): New function. | |
4436 | |
4437 * dim-vector.h (dim_vector::str, dim_vector::all_zero, | |
4438 operator ==, operator !=): New functions. | |
4439 * ArrayN.cc (operator <<): Use dim_vector::str here. | |
4440 | |
4441 * Array.cc (Array<T>::resize_no_fill, Array<T>::resize_and_fill): | |
4442 No need to save old dimensions. | |
4443 | |
4444 * oct-rand.cc (MAKE_RAND_ND_ARRAY): New macro. | |
4445 (octave_rand::nd_array): New function. | |
4446 * oct-rand.h (octave_rand::nd_array): Provide decl. | |
4447 | |
4448 * mx-op-defs.h (NDCMP_OP_DECL, NDBOOL_OP_DECL, NDS_BIN_OP_DECLS, | |
4449 NDS_BIN_OP, NDS_BIN_OPS, NDS_CMP_OP_DECLS, NDS_CMP_OP, | |
4450 NDS_CMP_OPS, NDS_BOOL_OP_DECLS, NDS_BOOL_OP, NDS_BOOL_OPS, | |
4451 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_BIN_OP, SND_BIN_OPS, | |
4452 SND_CMP_OP_DECLS, SND_CMP_OP, SND_CMP_OPS, SND_BOOL_OP_DECLS, | |
4453 SND_BOOL_OP, SND_BOOL_OPS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
4454 NDND_BIN_OP, NDND_BIN_OPS, NDND_CMP_OP_DECLS, NDND_CMP_OP, | |
4455 NDND_CMP_OPS, NDND_BOOL_OP_DECLS, NDND_BOOL_OP, NDND_BOOL_OPS, | |
4456 NDND_OP_DECLS): New macros. | |
4457 * mx-cm-m.h, mx-cm-s.h, mx-cs-m.h, mx-m-cm.h, mx-m-cs.h, | |
4458 mx-s-cm.h, mx-cm-m.cc, mx-cm-s.cc, mx-cs-m.cc, mx-m-cm.cc, | |
4459 mx-m-cs.cc, mx-s-cm.cc: Use them. | |
4460 | |
4461 * mx-defs.h (class NDArray, class ComplexNDArray, class | |
4462 boolNDArray, class charNDArray): New forward decls. | |
4463 | |
4534 | 4464 2003-10-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
4465 | |
4466 * Array.cc (assign2): No error (but don't do anything either) for | |
4467 expressions like x([],j) = scalar. | |
4468 | |
4532 | 4469 2003-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
4470 | |
4533 | 4471 * Array.cc (assignN): Allow lhs(:) = scalar. |
4472 | |
4532 | 4473 * CNDArray.cc (ComplexNDArray::increment_index): New function. |
4474 * dNDArray.cc (NDArray::increment_index): Likewise. | |
4475 * boolNDArray.cc (boolNDArray::increment_index): Likewise. | |
4476 * chNDArray.cc (charNDArray::increment_index): Likewise. | |
4477 | |
4478 * dim-vector.h (rows, cols): Delete unused data members. | |
4479 | |
4480 * Array.cc (Array<T>::get_size): Fix thinko. | |
4481 | |
4482 2003-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4483 | |
4484 * Array.cc (Array<T>::squeeze): New function. | |
4485 * CNDArray.h (ComplexNDArray::squeeze): Likewise. | |
4486 * dNDArray.h (NDArray::squeeze): Likewise. | |
4487 * boolNDArray.h (boolNDArray::squeeze): Likewise. | |
4488 * chNDArray.h (charNDArray::squeeze): Likewise. | |
4489 | |
4530 | 4490 2003-10-06 Petter Risholm <risholm@stud.ntnu.no> |
4491 | |
4492 * Array.cc (ArrayN<T>::indexN): New definition. | |
4493 * Array.h (Array<T>::indexN): Provide decl. | |
4494 * Array.cc (ArrayN<T>::index (idx_vector&, int, const T&): | |
4495 Call indexN if more than 2 indices. | |
4496 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): | |
4497 Make it (mostly) work. | |
4498 * ArrayN-inline.h (number_of_elements, get_ra_idx, short_freeze): | |
4499 New functions. | |
4500 | |
4527 | 4501 2003-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
4502 | |
4503 * cmd-edit.cc (do_readline): Pass eof to octave_fgetl. | |
4504 * lo-utils.cc (octave_fgets, octave_fgetl): New overloaded | |
4505 versions with eof arg. | |
4506 | |
4518 | 4507 2003-09-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
4508 | |
4509 * Array.h (dimensions): Now public. | |
4510 template <class LT, class RT> | |
4511 (assign (Array<LT>&, const Array<RT>&, const LT&), | |
4512 assign1 (Array<LT>&, const Array<RT>&, const LT&), | |
4513 assign2 (Array<LT>&, const Array<RT>&, const LT&), | |
4514 assignN (Array<LT>&, const Array<RT>&, const LT&), | |
4515 resize_no_fill (int), | |
4516 resize_no_fill (int, int), | |
4517 resize_no_fill (int, int, int), | |
4518 resize_no_fill (const dim_vector&), | |
4519 resize_and_fill (int, const T&), | |
4520 resize_and_fill (int, int, const T&), | |
4521 resize_and_fill (int, int, int, const T&), | |
4522 resize_and_fill (const dim_vector&, const T&)): Now public. | |
4523 | |
4524 * Array.cc: Include <climits>. | |
4525 | |
4513 | 4526 2003-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
4527 | |
4517 | 4528 * Array.cc: Merge Array-idx.h. |
4529 * Array-idx.h: Delete. | |
4530 | |
4514 | 4531 * chNDArray.h, chNDArray.cc, boolNDArray.h, boolNDArray.cc: New files. |
4532 | |
4513 | 4533 * Array.h, Array-idx.h, Array.cc: Fold all N-d functionality here. |
4534 Turn inheritance hierarchy upside down (2-d and 3-d arrays are now | |
4535 just special cases of the general purpose N-d Array object). | |
4536 | |
4537 * dim-vector.h: New file. Use dim_vector objects instead of | |
4538 ints or Array<int> objects to represent the size of Array | |
4539 objects. | |
4540 | |
4541 * MArray-defs.h (INSTANTIATE_MARRAYN_FRIENDS): New macro. | |
4542 | |
4543 * Array2-idx.h, Array3-idx.h, Array2.cc, Array3.cc: Delete. | |
4544 | |
4545 * mx-base.h: Include NDArray header files. | |
4546 | |
4547 * MArray-C.cc, MArray-d.cc: Also instantiate ArrayN objects. | |
4548 | |
4549 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
4550 Array-s.cc: Also instantiate ArrayN objects. | |
4551 Don't instantiate assign funcitons for Array2 objects. | |
4552 | |
4553 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Signal error with | |
4554 liboctave_error_handler, not cerr. | |
4555 * CMatrix.cc (ComplexMatrix::diag): Likewise. | |
4556 * dDiagMatrix.cc (DiagMatrix::diag): Likewise. | |
4557 * dMatrix.cc (Matrix::diag): Likewise. | |
4558 | |
4559 * Array-flags.cc, Array.cc, Array.h, Array2.h, Array3.h, ArrayN.h: | |
4560 Omit checks for HEAVYWEIGHT_INDEXING. | |
4561 | |
4562 2003-09-12 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4563 | |
4564 * mx-base.h: Include CNDarray.h. Include dNDArray.h, not NDArray.h. | |
4565 | |
4566 * CNDARray.h, CNDArray.cc: New files. | |
4567 * Makefile.in: Add them to the appropriate lists. | |
4568 | |
4569 * dNDArray.h: Rename from NDArray.h. | |
4570 * dNDArray.cc: Rename from NDArray.cc. | |
4571 * Makefile.in: Rename them here too. | |
4572 | |
4507 | 4573 2003-09-10 Petter Risholm <risholm@stud.ntnu.no> |
4574 | |
4575 * mx-base.h: Include NDArray.h, not ArrayN.h. | |
4576 | |
4577 * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. | |
4578 * Makefile.in: Add them to the appropriate lists. | |
4579 | |
5095 | 4580 2003-09-09 David Bateman <dbateman@free.fr> |
4506 | 4581 |
4582 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, | |
4583 biry): Always request scaled results from AMOS functions and | |
4584 perform reverse scaling on results if scaled result not requested | |
4585 by user. | |
4586 | |
4587 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4588 | |
4589 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
4590 | |
4505 | 4591 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
4592 | |
4593 * Array-d.cc: Instantiate assign functions. | |
4594 | |
4504 | 4595 2003-09-09 Petter Risholm <risholm@stud.ntnu.no> |
4596 | |
4597 * ArrayN-idx.h (vector_equivalent, equal_arrays): New functions. | |
4598 (get_elt_idx): Index ra_idx correctly. | |
4599 | |
4600 * ArrayN-inline.h (index_in_bounds): Index is also condidered in | |
4601 bounds if it is exactly on the bound. | |
4602 | |
4603 * ArrayN.cc (ArrayN<T>::maybe_delete_dims): New function. | |
4604 * ArrayN.h: Provide decl. | |
4605 | |
4606 * ArrayN.h (ArrayN<T>::ArrayN<T> (const Matrix&)): New constructor. | |
4607 | |
4608 * idx-vector.h (idx_vector::orig_dims): New member variable. | |
4609 (idx_vector::idx_vector_rep::orig_dimensions): New function. | |
4610 (idx_vector::orig_dimensions): New function. | |
4611 | |
4497 | 4612 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
4613 | |
4614 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
4615 | |
4496 | 4616 2003-09-04 Petter Risholm <risholm@stud.ntnu.no> |
4617 | |
4618 * ArrayN-idx.h (maybe_delete_elements): Implement function. | |
4619 (is_in, how_many_lgt, all_ones): New functions. | |
4620 | |
4493 | 4621 2003-09-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
4622 | |
4623 * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. | |
4624 | |
4625 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> | |
4626 | |
4627 * ArrayN-inline.h: New file. | |
4628 (index_in_bounds, increment_index): Move here. | |
4629 * ArrayN.cc: From here. | |
4630 | |
4631 * ArrayN.h (maybe_delete_elements): New arg, resize_fill_value. | |
4632 * ArrayN-idx.h (assign): New function. | |
4633 | |
4490 | 4634 2003-08-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
4635 | |
4636 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, airy, biry): | |
4637 Also zero imaginary part of result if real part of input value is | |
4638 zero. | |
4639 | |
4478 | 4640 2003-07-30 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4641 | |
4642 * mx-base.h: Include ArrayN.h. | |
4643 | |
4476 | 4644 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4645 | |
4646 * ArrayN.cc (operator <<): Corrected output. | |
4647 | |
4474 | 4648 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4649 | |
4650 * ArrayN.cc (increment_index): New arg, start_dimension. | |
4651 | |
5095 | 4652 2003-07-29 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4473 | 4653 |
4654 * ArrayN.cc (operator <<): Improve output readability. | |
4655 | |
4493 | 4656 2003-07-29 Petter Risholm <risholm@stud.ntnu.no> |
4473 | 4657 |
4658 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&, const T&)): | |
4659 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&)): | |
4660 Initialize old_len before changing size. | |
4661 | |
4472 | 4662 2003-07-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
4663 | |
4664 * Makefile.in (install-lib): Use $(INSTALL), not | |
4473 | 4665 $(INSTALL_PROGRAM) for $(SHLLIB) files. |
4472 | 4666 |
4469 | 4667 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
4668 | |
4669 * lo-mappers.cc (xmin, xmax): Handle NaN in a Matlab-compatible | |
4670 way. Handle NA in an R-compatible way. | |
4671 | |
4672 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Also check for lo_ieee_is_NA. | |
4673 (lo_ieee_is_NA): Don't call isnan unless HAVE_ISNAN is defined. | |
4674 | |
4675 * lo-mappers.h (octave_is_NA (const Complex&)): Provide decl. | |
4676 (octave_is_NaN_or_NA (const Complex&)): Likewise. | |
4677 | |
4678 * dMatrix.cc (Matrix::row_min, Matrix::row_max, | |
4679 Matrix::column_min, Matrix::column_max): Ignore NaNs. | |
4680 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_max, | |
4681 ComplexMatrix::column_min, ComplexMatrix::column_max): Likewise. | |
4682 | |
4461 | 4683 2003-07-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4684 | |
4685 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
4686 Pass true for resize_ok arg to freeze. | |
4687 * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
4688 Likewise. | |
4689 | |
4690 * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; | |
4691 resize_ok arg is now bool. | |
4692 * idx-vector.h (idx_vector::freeze): Likewise. | |
4693 | |
4694 * Array-flags.cc, Array-flags.h (liboctave_wrore_flag): | |
4695 Rename from liboctave_rre_flag. Now bool. | |
4696 (liboctave_wfi_flag): Now bool. | |
4697 | |
4698 * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. | |
4699 | |
5095 | 4700 2003-07-11 Russell Standish <R.Standish@unsw.edu.au> |
4459 | 4701 |
4702 * Array.h (resize_fill_value): Now a top-level template function. | |
4703 Accept object as argument. Change all uses. | |
4704 | |
4455 | 4705 2003-07-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
4706 | |
4707 * Array-flags.cc, Array-flags.h (liboctave_pcv_flag): Delete. | |
4708 | |
4709 * Array2-idx.h (Array2<T>::index): Use liboctave_wfi_flag, not | |
4710 liboctave_dfi_flag. | |
4711 (assign): Likewise. For indexed assignments like X(I) = RHS with | |
4712 X undefined or empty, always create a row vector. | |
4713 | |
4714 * Array-flags.cc (liboctave_wfi_flag): Rename from liboctave_dfi_flag. | |
4715 * Array-flags.h (liboctave_wfi_flag): Ditto. | |
4716 | |
4437 | 4717 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4718 | |
4719 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
4720 Magic colon indexing always produces an object with one column. | |
4721 | |
5095 | 4722 2003-06-21 Paul Kienzle <pkienzle@users.sf.net> |
4433 | 4723 |
4724 * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. | |
4725 | |
4726 * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. | |
4727 | |
4431 | 4728 2003-06-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4729 | |
4730 * dMatrix.cc (any_element_is_negative): If new optional arg | |
4731 neg_zero is true, also return true for negative zero. | |
4732 | |
4429 | 4733 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
4734 | |
4735 * DASSL.cc (DASSL::do_integrate): Set liw to 21 + n, not 20 + n. | |
4736 Handle step limit. | |
4737 * DASSL-opts.in: New option for step limit. | |
4738 | |
5095 | 4739 2003-06-16 Per Persson <persquare@mac.com> |
4429 | 4740 |
4741 * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. | |
4742 | |
4428 | 4743 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
4744 | |
4745 * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. | |
4746 Store step limit in iwork(20), not iwork(18). | |
4747 | |
5095 | 4748 2003-05-16 Paul Kienzle <pkienzle@users.sf.net> |
4415 | 4749 |
4750 * oct-rand.cc: Use liboctave's clock layer instead of the system clock. | |
4751 | |
4412 | 4752 2003-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4753 | |
4413 | 4754 * Makefile.in: Handle DESTDIR. |
4755 | |
4412 | 4756 * kpse.cc (kpse_path_iterator::next): Skip consecutive colons here. |
4757 (kpse_path_iterator::set_end): Don't miss last element when not | |
4758 followed by a colon. | |
4759 | |
4409 | 4760 2003-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4761 | |
4762 * Array-idx.h (Array<T>::index): Fix off-by-one error. | |
4763 | |
4764 2003-05-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4765 | |
4766 * kpse.cc (kpse_absolute_p): Fix typo in translation. | |
4767 (find_first_of): Also do an absolute search on each | |
4768 name before looking in the path. | |
4769 | |
4407 | 4770 2003-05-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
4771 | |
4772 * kpse.cc (dir_list_add): Ensure that directory ends with a | |
4773 directory separator. | |
4774 | |
4399 | 4775 2003-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4776 | |
4777 * pathsearch.cc: Include kpse.cc here. | |
4778 | |
4779 * kpse.cc: All functions are now static. Massive surgery to | |
4780 condense kpathsearch library to a single file of just the | |
4781 essentials for Octave and convert to using C++ strings (no more | |
4782 calls to malloc, very few calls to new, so there should be much | |
4783 less potential for introducing memory leaks now). | |
4784 | |
4785 * Makefile.in (EXTRAS): Move kpse.cc here from | |
4786 LIBOCT_PATHSEARCH_CXX_SOURCES. | |
4787 | |
4788 * kpse.h, kpse-config.h: Delete. | |
4789 * Makefile.in (INCLUDES): Delete them from the list. | |
4790 | |
4392 | 4791 2003-04-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
4792 | |
4793 * str-vec.cc (string_vector::append (const std::string&), | |
4794 string_vector::append (const string_vector&)): New methods. | |
4795 | |
4386 | 4796 2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4797 | |
4389 | 4798 * kpse.cc, kpse.h: Replace fn_type with std::string. |
4799 | |
4387 | 4800 * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. |
4801 | |
4386 | 4802 * kpse.cc (xclosedir): Don't define or declare for Windows. |
4803 (READABLE): Now a static function to avoid warnings from MinGW | |
4804 compiler. | |
4805 | |
4384 | 4806 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4807 | |
4385 | 4808 * kpse.cc: Move most functions from kpse-xfns.c here and make |
4809 static. Include most of kpse-xfns.h directly, removing | |
4810 unnecessary bits. | |
4811 | |
4384 | 4812 * dMatrix.cc (Matrix::pseudo_inverse): Now const. |
4813 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
4814 | |
4378 | 4815 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4816 | |
4817 * getopt.c, getopt1.c, getopt.h: Move here from kpathsea. | |
4818 * Makefile.in: Add them to the appropriates lists. | |
4819 | |
4820 * oct-getopt.c: Include "getopt.h", not <kpathsea/getopt.h>. | |
4821 | |
4822 * Makefile.in (liboctave.$(LIBEXT), liboctave.$(SHLEXT)): Adjust | |
4823 for new locations of kpathsea objects. | |
4824 Delete kpathsea targets. | |
4825 | |
4826 * pathsearch.cc (dir_path::set_program_name): Delete. | |
4827 | |
4828 * kpse.cc: New file. | |
4829 * Makefile.in (LIBOCT_PATHSEARCH_CXX_SOURCES): Add it to the list. | |
4830 | |
4831 * kpse.c: New file. | |
4832 * Makefile.in (LIBOCT_PATHSEARCH_C_SOURCES): Add it to the list. | |
4833 | |
4834 * kpse.h, kpse-config.h, kpse-xfns.h: New files. | |
4835 * Makefile.in (INCLUDES): Add them to the list. | |
4836 | |
4837 * oct-kpse.h: Delete. | |
4838 * Makefile.in (INCLUDES): Delete it from the list. | |
4839 | |
4374 | 4840 2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
4841 | |
4842 * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. | |
4843 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): | |
4844 Likewise. | |
4845 From Quentin H. Spencer <qspencer@ieee.org>. | |
4846 | |
4365 | 4847 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
4848 | |
4849 * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h". | |
4850 | |
4349 | 4851 2003-02-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
4852 | |
4352 | 4853 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Handle systems with or |
4854 without placement delete. | |
4855 | |
4349 | 4856 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Don't lose -0 |
4857 imaginary parts. | |
4858 | |
4859 * lo-ieee.h (lo_ieee_signbit): New macro. | |
4860 | |
5095 | 4861 2003-02-18 David Bateman <dbateman@free.fr> |
4329 | 4862 |
4863 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
4864 Use Lapack instead of Linpack. | |
5315 | 4865 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
4329 | 4866 ComplexMatrix::solve): Likewise. |
4867 | |
4868 * dMatrix.cc (Matrix::determinant, Matrix::inverse): New arg, | |
4869 calc_cond. If 0, skip condition number calculation. | |
4870 * CMatrix.cc (ComplexMatrix::determinant, ComplexMatrix::inverse): | |
4871 Likewise. | |
4872 | |
4873 * CmplxLU.cc (ComplexLU::ComplexLU): Allow non-square matrices. | |
4874 * dbleLU.cc (LU::LU): Likewise. | |
4875 * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. | |
4876 | |
4877 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4878 | |
4879 * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: | |
4880 | |
4323 | 4881 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4882 | |
4883 * Array2-idx.h (Array2<T>::index): Fix thinko. | |
4884 Additional compatibility fix. | |
4885 | |
4886 2003-02-13 Arno Klaassen <arno@scito.com> | |
4887 | |
4888 * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
4889 ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: | |
4890 Sprinkle with Array<T>:: as necessary for gcc 3.4. | |
4891 | |
4322 | 4892 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
4893 | |
4894 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
4895 Compatibility fix. | |
4896 | |
4316 | 4897 2003-02-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4898 | |
4899 * CColVector.cc (ComplexColumnVector::extract_n): New function. | |
4900 * CRowVector.cc (ComplexRowVector::extract_n): Likewise. | |
4901 * CMatrix.cc (ComplexMatrix::extract_n): Likewise. | |
4902 * dColVector.cc (ColumnVector::extract_n): Likewise. | |
4903 * dRowVector.cc (RowVector::extract_n): Likewise. | |
4904 * dMatrix.cc (Matrix::extract_n): Likewise. | |
4905 | |
4906 * CColVector.cc (ComplexColumnVector::insert): Improve efficiency | |
4907 with make_unique and xelem. | |
4908 * CRowVector.cc (ComplexRowVector::insert): Likewise. | |
4909 * CMatrix.cc (ComplexMatrix::insert, ComplexMatrix::fill, | |
4910 ComplexMatrix::extract, ComplexMatrix::row, | |
4911 ComplexMatrix::column): Likewise. | |
4912 * dColVector.cc (ColumnVector::insert): Likewise. | |
4913 * dRowVector.cc (RowVector::insert): Likewise. | |
4914 * dMatrix.cc (Matrix::insert, Matrix::fill, Matrix::extract, | |
4915 Matrix::row, Matrix::column): Likewise. | |
4916 | |
4313 | 4917 2003-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4918 | |
4919 * lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN. | |
4920 | |
4309 | 4921 2003-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
4922 | |
4923 * CMatrix.cc, dMatrix.cc: Move min and max functions here, from | |
4924 src/DLD-FUNCTIONS/minmax.cc, and make them extern. | |
4925 * CMatrix.h, dMatrix.h: Provide decls. | |
4926 | |
4307 | 4927 2003-01-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4928 | |
4929 * oct-rand.h, oct-rand.cc: New files. | |
4930 * Makefile.in: Add them to the appropriate lists. | |
4931 | |
4306 | 4932 2003-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4933 | |
4934 * Array2-idx.h (Array2<T>::index): Fix off-by-one error. | |
4935 | |
4299 | 4936 2003-01-16 Mumit Khan <khan@nanotech.wisc.edu> |
4937 | |
4938 * oct-syscalls.cc: Include signal.h. | |
4939 | |
4294 | 4940 2003-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4941 | |
4942 * oct-syscalls.cc (octave_syscalls::kill): New function. | |
4943 * oct-syscalls.h: Provide decl. | |
4944 | |
4945 | |
4293 | 4946 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
4947 | |
4948 * dMatrix.cc (Matrix::read): Set size and return immediately if | |
4949 there is nothing to read. | |
4950 | |
4290 | 4951 2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
4952 | |
4953 * lo-cutils.c: Define _XOPEN_SOURCE. | |
4954 | |
4286 | 4955 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
4956 | |
4288 | 4957 * getopt.h: Update to version from kpathsearch, so we will install |
4958 the version that we are using. | |
4959 | |
4960 * getopt.c, getopt1.c: Delete. | |
4961 (INCLUDES): Delete them from the list. We'll get these files from | |
4962 kpathsearch. | |
4963 | |
4286 | 4964 * Makefile.in (liboctave.$(LIBEXT)): Link directly to |
4965 ../kpathsea/STATIC/*.o. | |
4966 (liboctave.$(SHLEXT)): Link directly to ../kpathsea/SHARED/*.o. | |
4967 | |
4270 | 4968 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
4969 | |
4282 | 4970 * dMatrix.cc (read_int, write_int): Avoid warnings about |
4971 unreachable code. | |
4972 | |
4279 | 4973 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete |
4974 to correspond to placement new operator. | |
4975 | |
4278 | 4976 * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. |
4977 (DET::value_will_underflow): Likewise. | |
4978 * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. | |
4979 (ComplexDET::value_will_underflow): Likewise. | |
4980 | |
4276 | 4981 * Makefile.in (distclean): Also remove stamp-prereq. |
4982 | |
4306 | 4983 * Array2-idx.h (Array2<T>::assign): If assignment conforms but the |
4984 RHS and index are empty matrices, don't do anything. | |
4270 | 4985 |
4242 | 4986 2002-12-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
4987 | |
4988 * pathsearch.cc (make_retval, free_c_array, make_c_names, | |
4989 delete_c_names): New helper functions. | |
4990 (dir_path::find_first_of): New function. | |
4991 (dir_path::find_all_first_of): Likewise. | |
4992 * pathsearch.h: Provide decls. | |
4993 | |
4994 * oct-kpse.c (octave_kpse_path_find_first_of): New function. | |
4995 (octave_kpse_all_path_find_first_of): Likewise. | |
4996 * oct-kpse.h: Provide decls. | |
4997 | |
4231 | 4998 2002-12-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
4999 | |
5000 * ODESSA.cc (ODESSA::integrate): Handle maxord. | |
5001 * ODESSA-opts.in: Likewise. | |
5002 | |
5003 * LSODE.cc (ODESSA::integrate): Handle maxord. | |
5004 * LSODE-opts.in: Likewise. | |
5005 | |
4229 | 5006 2002-12-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5007 | |
4230 | 5008 * ODESSA.cc (ODESSA::ODESSA): Initialize "initialized" data member |
5009 in all constructors. | |
5010 | |
4229 | 5011 * Makefile.in (liboctave.$(SHLEXT)): Include $(LIBKPATHSEA) here. |
5012 (LINK_DEPS): Not here. | |
5013 | |
4219 | 5014 2002-12-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5015 | |
4220 | 5016 * str-vec.cc (string_vector::compare): New static member function. |
5017 * str-vec.h: Provide decl. | |
5018 (string_vector::sort): Use it. | |
5019 (str_vec_compare): Delete static function. | |
5020 | |
4219 | 5021 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Also declare and define |
5022 a placement operator new. | |
5023 | |
4209 | 5024 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5025 | |
4210 | 5026 * Matrix.h: Include mx-ops.h too. |
4209 | 5027 * mx-ops.h: New file. |
5028 | |
4192 | 5029 2002-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5030 | |
5031 * DASRT.cc, DASRT.h, Array.cc, ArrayN.h, Array.h, Array2.cc, | |
5032 Array2.h, Array3.cc, Array3.h, Bounds.cc, Bounds.h, CRowVector.h, | |
5033 CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, CMatrix.h, | |
5034 CRowVector.cc, CColVector.h, ChangeLog, CmplxAEPBAL.cc, | |
5035 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
5036 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
5037 CmplxQR.h, CmplxQRP.cc, ArrayN.cc, CmplxQRP.h, CmplxSCHUR.cc, | |
5038 CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, dMatrix.cc, | |
5039 CollocWt.h, EIG.h, DASSL.cc, FEGrid.h, DASSL.h, DiagArray2.cc, | |
5040 DiagArray2.h, EIG.cc, FEGrid.cc, LSODE.cc, LPsolve.cc, LPsolve.h, | |
5041 LSODE.h, LinConst.cc, LinConst.h, MArray.h, MArray.cc, MArray2.cc, | |
5042 MArray2.h, MDiagArray2.cc, MDiagArray2.h, Range.cc, NLConst.h, | |
5043 NLEqn.cc, Range.h, NLEqn.h, Quad.cc, dbleQR.h, Quad.h, base-lu.cc, | |
5044 base-lu.h, boolMatrix.cc, boolMatrix.h, dColVector.cc, | |
5045 dColVector.h, dDiagMatrix.cc, dDiagMatrix.h, dMatrix.h, | |
5046 dRowVector.cc, dRowVector.h, dbleAEPBAL.cc, dbleAEPBAL.h, | |
5047 dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, dbleDET.h, dbleHESS.cc, | |
5048 dbleHESS.h, dbleLU.cc, dbleLU.h, dbleQR.cc, dbleQRP.cc, dbleQRP.h, | |
5049 dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, | |
5050 idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, | |
5051 ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: | |
5052 Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of | |
5053 "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". | |
5054 | |
4184 | 5055 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5056 | |
5057 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_GLOBAL too. | |
5058 From Remy Bruno <remy.bruno@libertysurf.fr> | |
5059 | |
4180 | 5060 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5061 | |
5062 * lo-specfun.cc: Use F77_FUNC instead of F77_XFCN for calls to | |
5063 fortran code that should run fast enough that it is not worth all | |
5064 the setup costs of F77_XFCN. | |
5065 | |
5066 * Quad.cc (user_function): Surround body of function with | |
5067 BEGIN_INTERRUPT_WITH_EXCEPTIONS, END_INTERRUPT_WITH_EXCEPTIONS. | |
5068 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Likewise. | |
5069 * NLEqn.cc (hybrd1_fcn, hybrj1_fcn): Likewise. | |
5070 * LSODE.cc (lsode_f, lsode_j): Likewise. | |
5071 * DASSL.cc (ddassl_f, ddassl_j): Likewise. | |
5072 * DASRT.cc (ddasrt_f, ddasrt_j, ddasrt_g): Likewise. | |
5073 * DASPK.cc (ddaspk_f, ddaspk_psol, ddaspk_j): Likewise. | |
5074 | |
4164 | 5075 2002-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5076 | |
5077 * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead | |
5078 of ! defined (linux). | |
5079 | |
5095 | 5080 2002-11-09 Per Persson <persquare@mac.com> |
4162 | 5081 |
5082 * oct-shlib.cc (octave_dyld_shlib): New class. | |
5083 (make_shlib): Instantiate octave_dyld_shlib. | |
5084 | |
4152 | 5085 2002-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5086 | |
4153 | 5087 * CMatrix.cc, dMatrix.cc: Sprinkle with OCTAVE_QUIT. |
5088 | |
4152 | 5089 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Abort on error. |
5090 | |
5091 * Array.h: Include <cstddef> here. | |
5092 | |
4142 | 5093 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
5094 | |
4144 | 5095 * DASPK.cc (DASPK::do_integrate): Resize rwork and iwork before |
5096 using them. Accept inequality contraint option of 0. Assign | |
5097 pabs_tol and prel_tol before calling DASPK. Don't redeclare | |
5098 abs_tol and rel_tol. | |
5099 | |
4143 | 5100 * cmd-edit.h (command_editor::filename_completion_desired): New |
5101 static function. | |
5102 (command_editor::do_filename_completion_desired): New virtual function. | |
5103 * oct-rl-edit.c (octave_rl_filename_completion_desired): New function. | |
5104 * oct-rl-edit.h: Provide decl. | |
5105 | |
4142 | 5106 * Array2.cc (Array2<T>::get_size): #define MALLOC_OVERHEAD to |
5107 avoid OS X linker bug. | |
5108 * ArrayN.cc (ArrayN<T>::get_size): Likewise. | |
5109 | |
4139 | 5110 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
5111 | |
4141 | 5112 * ODESFunc.h (ODESFunc::ODES_fsub, ODESFunc::ODES_bsub, |
5113 ODESFunc::ODES_jsub): Reorder args for consistency with other | |
5114 solvers. | |
5115 * ODESSA.cc: Fix all callers. | |
5116 | |
4139 | 5117 * mx-inlines.cc (MX_BASE_REDUCTION_OP): Also return scalar |
5118 MT_RESULT if nr == 1 && nc == 0 && dim == -1 (i.e., | |
5119 sum(zeros(1,0)) returns 0, not [](1x0)). | |
5120 | |
4136 | 5121 2002-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5122 | |
5123 * Makefile.in (LINK_DEPS): Include $(FLIBS) here too. | |
5124 | |
4132 | 5125 2002-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5126 | |
4133 | 5127 * DASRT.cc (DASRT::integrate): Fix computation of lrw |
5128 (ddasrt_f): Combine loops. | |
5129 | |
4132 | 5130 * NLEqn.cc (NLEqn::solve): Return current estimate of solution |
5131 instead of empty vector if user termninates iteration. | |
5132 | |
4130 | 5133 2002-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5134 | |
5135 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
5136 octave_read_complex, octave_write_double, octave_write_complex): | |
5137 New functions. | |
5138 * CMatrix.cc (operator << (std::ostream&, const ComplexMatrix&)): | |
5139 Use octave_write_complex. | |
5140 (operator >> (std::istream&, const ComplexMatrix&)): | |
5141 Use octave_read_complex. | |
5142 * dMatrix.cc (operator << (std::ostream&, double)): | |
5143 Use octave_write_double. | |
5144 (operator >> (std::istream&, double)): Use octave_read_double. | |
5145 | |
4126 | 5146 2002-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5147 | |
5148 * oct-kpse.c (octave_kpse_clear_dir_cache): Delete. | |
5149 * oct-kpse.h: Delete decl. | |
5150 * pathsearch.cc (dir_path::init): Delete unnecessary call to | |
5151 ::octave_kpse_clear_dir_cache. | |
5152 | |
4123 | 5153 2002-10-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5154 | |
4124 | 5155 * lo-sstream.h: Undef HAVE_SSTREAM if using a version of g++ |
5156 earlier than 3.0. | |
5157 | |
4123 | 5158 * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. |
5159 (liboctave.$(SHLEXT)): Not here. | |
5160 | |
5095 | 5161 2002-10-17 Paul Kienzle <pkienzle@users.sf.net> |
4110 | 5162 |
5163 * oct-shlib.cc (octave_w32_shlib): New class to support Windows. | |
5164 | |
4108 | 5165 2002-10-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5166 | |
5167 * Makefile.in (install-lib): Don't bother with versions for | |
5168 $(SHLBIN) files. | |
5169 | |
5095 | 5170 2002-10-16 Paul Kienzle <pkienzle@users.sf.net> |
4105 | 5171 |
5172 * Makefile.in (LIB_DEPS): Include $(LIBS). | |
5173 | |
4102 | 5174 2002-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5175 | |
5176 * lo-cieee.c: Move everything but lo_ieee_init here. | |
5177 (lo_ieee_Inf_value, lo_ieee_NA_value, lo_ieee_NaN_value): | |
5178 New functions. | |
5179 | |
5180 * Makefile.in (install): No need to use cd to create links. | |
5181 (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. | |
5182 | |
5095 | 5183 2002-10-14 Paul Kienzle <pkienzle@users.sf.net> |
4102 | 5184 |
5185 * Makefile.in: Merge liboctave with liboct-readline and | |
5186 liboct-pathsearch. | |
5187 Use link dependencies for shared libs if INCLUDE_LINK_DEPS. | |
5188 (libraries): Depend on versioned library. | |
5189 (liboctave.$(SHLEXT), liboctave.$(SHLEXT_VER)): Reverse actions -- | |
5190 build unversioned library, symbolic link adds version info. | |
5191 (install, uninstall): Handle link and load forms of the library | |
5192 separately. | |
5193 | |
4101 | 5194 2002-10-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5195 | |
5196 * oct-time.cc: Use OCTAVE_USE_WINDOWS_API instead of __WIN32__ and | |
5197 __CYGWIN__. | |
5198 | |
5199 * file-ops.cc (file_ops::dir_sep_char, file_ops::dir_sep_str, | |
5200 file_ops::dir_sep_chars): New static functions to replace | |
5201 OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS. | |
5202 | |
5203 * oct-env.cc (octave_env::do_set_program_name): | |
5204 Use file_ops::dir_sep_chars instead of OCTAVE_DIR_SEP_CHARS. | |
5205 (octave_env::do_base_pathname): Likewise. | |
5206 (octave_env::do_make_absolute): Likewise. | |
5207 | |
5208 * oct-env.cc (octave_env::do_make_absolute): | |
5209 Use file_ops::dir_sep_str instead of OCTAVE_DIR_SEP_STR. | |
5210 (octave_env::do_get_home_directory): Likewise. | |
5211 | |
5212 * file-ops.cc (is_dir_sep): Use dir_sep_chars instead of embedding | |
5213 that information here too. | |
5214 (tilde_find_suffix, isolate_tilde_prefix, tilde_expand_word): | |
5215 Use file_ops::dir_sep_char instead of OCTAVE_DIR_SEP_CHAR. | |
5216 | |
5217 * file-ops.h: Use OCTAVE_HAVE_WINDOWS_FILESYSTEM and | |
5218 OCTAVE_HAVE_POSIX_FILESYSTEM instead of __WIN32__ and __CYGWIN__. | |
5219 | |
4097 | 5220 2002-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5221 | |
5222 * oct-env.h (octave_env::current_directory): Now mutable. | |
5223 (octave_env:do_getcwd): Now const. | |
5224 | |
5225 * file-ops.h, file-ops.cc (file_ops::is_dir_sep): New function. | |
5226 (OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS, | |
5227 OCTAVE_CURRENT_DIR_STR): New macros. | |
5228 * oct-env.cc (is_dir_sep): Delete. | |
5229 (octave_env::do_base_pathname): Look for OCTAVE_DIR_SEP_CHARS, not '/'. | |
5230 (octave_env::do_set_program_name): Likewise. | |
5231 (octave_env::do_polite_directory_format): Use file_ops::is_dir_sep | |
5232 instead of checking for '/'. | |
5233 (octave_env::pathname_backup): Likewise. | |
5234 (octave_env::do_absolute_pathname): Likewise. | |
5235 (octave_env::do_make_absolute): Likewise. | |
5236 If dot_path is empty, use getcwd to set current_dir. | |
5237 (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR | |
5238 instead of "/". | |
5239 | |
5095 | 5240 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 5241 |
5242 * lo-cutils.c: On non-Posix Windows systems, include winsock.h. | |
5243 | |
5095 | 5244 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 5245 |
5246 * oct-env.cc (octave_env::do_absolute_pathname): Recognize | |
5247 absolute path names under MinGW as well. | |
5248 | |
5249 2002-10-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5250 | |
5251 * oct-env.cc: Include <cctype> too. | |
5252 | |
4087 | 5253 2002-10-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5254 | |
5255 * oct-env.cc (octave_env::do_absolute_pathname): Handle Windows | |
5256 filenames. | |
5257 (octave_env::do_make_absolute): Check for absolute name with | |
5258 do_absolute_path. | |
4088 | 5259 (octave_env::do_chdir): Likewise. |
5260 (is_dir_sep): New function. | |
4087 | 5261 |
5095 | 5262 2002-10-03 Paul Kienzle <pkienzle@users.sf.net> |
4085 | 5263 |
4086 | 5264 * oct-time.cc (octave_time::stamp): Better resolution for Windows |
5265 systems. | |
4085 | 5266 |
4083 | 5267 2002-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5268 | |
5269 * dMatrix.cc (Matrix::read): Clean up error handling logic. | |
5270 | |
4080 | 5271 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5272 | |
4081 | 5273 * file-ops.cc (file_ops::mkdir): Handle one-arg mkdir here. |
5274 | |
4080 | 5275 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
5276 | |
5095 | 5277 2002-09-27 Per Persson <persquare@mac.com> |
4076 | 5278 |
5279 * oct-group.cc (octave_group::octave_group): Dont' forget to set | |
5280 gr_gid too. | |
5281 | |
4072 | 5282 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
5283 | |
4074 | 5284 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
5285 lo_ieee_* functions. | |
4072 | 5286 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074 | 5287 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
5288 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. | |
4072 | 5289 * lo-cieee.c: New file. |
4074 | 5290 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072 | 5291 * lo-ieee.h: Now all extern "C". |
4074 | 5292 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
5293 lo-mappers.cc and rename from xisnan, xfinite, xisinf. | |
5294 | |
4072 | 5295 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
5296 Now extern. | |
5297 | |
4066 | 5298 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
5299 | |
5300 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
5301 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
5302 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
5303 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
5304 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
5305 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
5306 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
5307 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
5308 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
5309 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
5310 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
5311 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
5312 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
5313 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
5314 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
5315 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
5316 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
5317 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
5318 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
5319 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
5320 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
5321 oct-alloc.cc: | |
5322 If __GNUG__, use pragma interface/implementation. Allow this to | |
5323 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. | |
5324 | |
5095 | 5325 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
4064 | 5326 |
4066 | 5327 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
5328 system readlink function is not available. | |
5329 | |
4065 | 5330 * lo-mappers.cc (xerf, xerfc): Delete. |
5331 * lo-mappers.h (xerf, xerfc): Delete decls. | |
5332 | |
4064 | 5333 * lo-mappers.cc: Remove unused #define M_PI. |
5334 * lo-specfun.cc: Add #define M_PI if needed. | |
5335 | |
4062 | 5336 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5337 | |
5338 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility | |
5339 that geteuid doesn't exist. | |
5340 | |
5341 * LP.h: Rename LP class to octave_LP. | |
5342 LPsolve.h: Change all uses. | |
5343 | |
5344 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove | |
5345 incorrect token-pasting op. | |
5346 | |
5347 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to | |
5348 define lstat. | |
5349 | |
4061 | 5350 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5351 | |
5352 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
5353 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
5354 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
5355 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
5356 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
5357 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
5358 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
5359 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
5360 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
5361 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
5362 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
5363 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
5364 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
5365 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
5366 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
5367 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
5368 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
5369 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
5370 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
5371 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
5372 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
5373 oct-alloc.cc: | |
5374 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ | |
5375 to decide whether to use the interface/implementation pragmas. | |
5376 | |
4058 | 5377 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5378 | |
5379 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. | |
5380 | |
4055 | 5381 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
5382 | |
5383 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use | |
5384 qualified names. | |
5385 | |
4051 | 5386 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5387 | |
4054 | 5388 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
5389 ArrayN.cc: Add typename where needed. | |
4053 | 5390 |
4051 | 5391 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
5392 strstream classes directly. | |
5393 * DASRT.cc: Likewise. | |
5394 * DASSL.cc: Likewise. | |
5395 * LSODE.cc: Likewise. | |
5396 * ODESSA.cc: Likewise. | |
5397 | |
5398 * cmd-hist.cc: Don't include <strstream>. | |
5399 * oct-shlib.cc: Likewise. | |
5400 | |
5401 * lo-sstream.h: New file. | |
5402 | |
4049 | 5403 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5404 | |
5405 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): | |
5406 New data members. | |
5407 (LSODE::sanity_checked): Delete unused data member. | |
5408 | |
5409 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, | |
5410 prel_tol, pinfo, piwork, prwork): New data members. | |
5411 * DASSL.h (DASSL): Likewise. | |
5412 | |
5413 * DASRT.h (DASRT::sanity_checked): Delete unused data member. | |
5414 | |
5415 * DASRT.cc (DASRT::integrate (double)): Better handling of | |
5416 initialization, changes in options, etc. | |
5417 * DASPK.cc (DASPK::do_integrate): Likewise. | |
5418 * DASSL.cc (DASSL::do_integrate): Likewise. | |
5419 * LSODE.cc (LSODE::do_integrate): Likewise. | |
5420 | |
4047 | 5421 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5422 | |
4049 | 5423 * DAEFunc.h (DAEFunc::reset): New data member. |
5424 * DAERTFunc.h (DAERTFunc::reset): Likewise. | |
5425 | |
5426 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. | |
5427 (base_diff_eqn::clear_stop_time): Likewise. | |
5428 | |
4047 | 5429 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
5430 * DASPK.cc (DASPK::do_integrate (double)): Likewise. | |
5431 | |
5095 | 5432 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
4044 | 5433 |
5434 * DASPK-opts.in, DASPK.h: Move include to .in file. | |
5435 * DASRT-opts.in, DASRT.h: Likewise. | |
5436 * DASSL-opts.in, DASSL.h: Likewise. | |
5437 * LSODE-opts.in, LSODE.h: Likewise. | |
5438 * NLEqn-opts.in, NLEqn.h: Likewise. | |
5439 * ODESSA-opts.in, ODESSA.h: Likewise. | |
5440 | |
4038 | 5441 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5442 | |
4042 | 5443 * LSODE.cc (LSODE::error_message): Also return current T on |
5444 failures when that makes sense. | |
4043 | 5445 * DASSL.cc (DASSL::error_message): Likewise. |
5446 * DASRT.cc (DASRT::error_message): Likewise. | |
5447 * DASPK.cc (DASPK::error_message): Likewise. | |
5448 * ODESSA.cc (ODESSA:error_message): Likewise. | |
4042 | 5449 |
4038 | 5450 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
5451 $(LIBKPATHSEA) here. | |
5452 | |
4025 | 5453 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5454 | |
5455 * lo-ieee.cc (lo_ieee_is_NA): New function. | |
5456 (lo_ieee_is_NaN_or_NA): New function. | |
5457 (octave_NA): New global value. | |
5458 (octave_ieee_init): Initialize it. | |
5459 * lo-mappers.cc (octave_is_NA): New function. | |
5460 (octave_is_NaN_or_NA): New function. | |
5461 (xisnan): Return false if NaN looks like a missing value. | |
5462 (xisnan (const Complex&)): Use xisnan here. | |
5463 | |
4015 | 5464 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5465 | |
4017 | 5466 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
5467 ComplexMatrix::cumprod, ComplexMatrix::cumsum, | |
5468 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): | |
5469 Default value for dim is -1, not 0. | |
5470 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, | |
5471 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. | |
5472 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. | |
5473 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. | |
5474 | |
4015 | 5475 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
5476 New macros. | |
5477 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and | |
5478 MX_BASE_REDUCTION_OP. | |
5479 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. | |
5480 | |
4014 | 5481 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
5482 | |
4015 | 5483 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
5484 Return boolMatrix, not Matrix. | |
5485 | |
5486 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. | |
5487 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. | |
5488 (Matrix::all): Replace guts with MX_ALL_OP. | |
5489 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. | |
5490 (ComplexMatrix::all): Replace guts with MX_ALL_OP. | |
5491 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. | |
5492 (boolMatrix::all): Replace guts with MX_ALL_OP. | |
5493 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. | |
5494 (charMatrix::all): Replace guts with MX_ALL_OP. | |
5495 | |
5496 * dMatrix.h (Matrix::any): New arg, dim. | |
5497 (Matrix::all): Likewise. | |
5498 * CMatrix.h (ComplexMatrix::any): Likewise. | |
5499 (ComplexMatrix::all): Likewise. | |
5500 * boolMatrix.h (boolMatrix::any): Likewise. | |
5501 (boolMatrix::all): Likewise. | |
5502 * chMatrix.h (charMatrix::any): Likewise. | |
5503 (charMatrix::all): Likewise. | |
5504 | |
4014 | 5505 * Makefile.in: Use $@-t instead of $@.t. |
5506 | |
4004 | 5507 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5508 | |
5509 * lo-specfun.cc (gammainc): New arg, err, for scalar version. | |
5510 Use it in matrix versions to avoid spewing multiple errors. | |
5511 Call xgammainc instead of dgamit. | |
5512 | |
3998 | 5513 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5514 | |
5515 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): | |
5516 Get rows and columns right in loop. | |
5517 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. | |
5518 | |
5519 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5520 | |
5521 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. | |
5522 * DASRT.cc (DASRT::integrate): Likewise. | |
5523 * DASSL.cc (DASSL::do_integrate): Likewise. | |
5524 | |
5525 * Quad.cc: Don't pass tolerances in constructors. | |
5526 | |
5527 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, | |
5528 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. | |
5529 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, | |
5530 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically | |
5531 from corresponding .in files. | |
5532 * LSODE.h, Quad.h: Replace options class definitions with included | |
5533 file. | |
5534 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to | |
5535 create OPTS_INC files from OPTS_INC_SRC files. | |
5536 (stamp-prereq): New target. | |
5537 (libraries): Depend on stamp-prereq. | |
5538 Include stamp-prereq along with $(MAKEDEPS). | |
5539 | |
3997 | 5540 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5541 | |
5542 * base-de.h (base_diff_eqn::istate): New data member. | |
5543 (base_diff_eqn::integration_state): New member function. | |
5544 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding | |
5545 data members and functions. | |
5546 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. | |
5547 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. | |
5548 | |
3990 | 5549 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5550 | |
3995 | 5551 * base-de.h (base_diff_eqn::stop_time, |
5552 base_diff_eqn::stop_time_set, base_diff_eqn::restart, | |
5553 base_diff_eqn::integration_error): New data members. | |
5554 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, | |
5555 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, | |
5556 base_diff_eqn::error_message): New member functions. | |
5557 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, | |
5558 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data | |
5559 members and functions. | |
5560 | |
3992 | 5561 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
5562 * DASRT.cc (DASRT::DASRT): Set ng here. | |
3993 | 5563 (DASRT::integrate): Don't forget to set nn. |
3992 | 5564 |
3991 | 5565 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
5566 * DASSL.cc (ddassl_j): Make it work. | |
5567 * DASPK.cc (ddaspk_j): Likewise. | |
5568 | |
3990 | 5569 * DAE.cc: Delete. |
5570 | |
5571 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE | |
5572 solving with root finding. | |
5573 * Makefile.in: Add them to the appropriate lists. | |
5574 | |
5575 * base-dae.h: New file. | |
5576 * Makefile.in (INCLUDES): Add it to the list. | |
5577 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. | |
5578 | |
3984 | 5579 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5580 | |
5581 * ODE.h: Move integrate and do_integrate method declarations and | |
5582 definitions here. | |
5583 * base-de.h: From here. | |
5584 | |
5585 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. | |
5586 * Makefile.in: Add them to the appropriate lists. | |
5587 (LIBOCTAVE_CXX_SOURCES): | |
5588 | |
3971 | 5589 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5590 | |
5591 * NLEqn.cc (NLEqn::error_message): New function. | |
5592 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. | |
5593 | |
3970 | 5594 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
5595 | |
5596 * lo-utils.cc (octave_fgetl): New function. | |
5597 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. | |
5598 | |
3959 | 5599 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5600 | |
5601 * LSODE.cc (LSODE::error_message): New function. | |
5602 * LSODE.h: Provide decl. | |
5603 (LSODE::integration_state): New function. | |
5604 (LSODE::integration_ok): New function. | |
5605 | |
3952 | 5606 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5607 | |
3955 | 5608 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
5609 (LSODE_options::set_integration_method, | |
5610 LSODE_options::integration_method): New functions. | |
3954 | 5611 |
3952 | 5612 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
5613 Change all uses. | |
5614 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. | |
5615 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): | |
5616 New function. | |
5617 | |
5618 * Array.h (Array::fortran_vec): New const version. | |
5619 | |
3951 | 5620 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5621 | |
5622 * cmd-edit.cc (gnu_readline::history_search_backward): New function. | |
5623 (gnu_readline::history_search_forward): Likewise. | |
5624 (gnu_readline::gnu_readline): Use them instead of passing pointers | |
5625 to extern "C" functions to octave_rl_ad_defun. | |
5626 | |
5095 | 5627 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
3946 | 5628 |
5629 * DASPK.cc (ddaspk_psol): Return value. | |
5630 * oct-rl-edit.c: Use /* ... */ to comment. | |
5631 | |
3945 | 5632 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5633 | |
5634 * DASSL.h (DASSL_options::init): Undo previous change. | |
5635 (DASSL_options::set_absolute_tolerance): Likewise. | |
5636 * LSODE.h (LSODE_options::init): Likewise. | |
5637 (LSODE_options::set_absolute_tolerance): Likewise. | |
5638 | |
5639 * DASPK.h (DASPK_options::init): Use default absolute tolerance of | |
5640 sqrt(eps), not eps^2. | |
5641 DASPK_options::set_absolute_tolerance): Likewise. | |
5642 | |
5095 | 5643 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
3944 | 5644 |
5645 * Array.h (Array<T>::resize_fill_value): Return default initialized | |
5646 object. | |
5647 | |
3933 | 5648 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5649 | |
5650 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. | |
5651 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. | |
5652 (octave_rl_set_basic_word_break_characters, | |
5653 octave_rl_set_completer_word_break_characters): New functions. | |
5654 * oct-rl-edit.h: Provide decls. | |
5655 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, | |
5656 gnu_readline::do_set_completer_word_break_characters): New functions. | |
5657 (command_editor::set_basic_quote_characters, | |
5658 command_editor::set_completion_append_character): New static functions. | |
5659 * cmd-edit.h: Provide decls. | |
5660 (command_editor::do_set_basic_word_break_characters, | |
5661 command_editor::do_set_completer_word_break_characters): | |
5662 New virtual functions. | |
5663 | |
5664 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h | |
5665 (resize_fill_value): New static function. | |
5666 | |
5667 * Array-idx.h (Array<T>::index): New args, resize_ok and | |
5668 resize_fill_value. | |
5669 * Array2-idx.h (Array2<T>::index): Likewise. | |
5670 * ArrayN-idx.h (ArrayN<T>::index): Likewise. | |
5671 | |
5672 * Array2.cc (Array<T>::print_info): New function. | |
5673 * Array2.h: Provide decl. | |
5674 | |
5675 * Array.cc (Array<T>::print_info): New function. | |
5676 * Array.h: Provide decl. | |
5677 | |
3928 | 5678 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5679 | |
5680 * idx-vector.h (idx_vector::idx_vector (int)): New function. | |
5681 (idx_vector_rep::idx_vector_rep (int)): New decl. | |
5682 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. | |
5683 | |
5684 * Array.h (Array<T>::resize_fill_value (void)): New static function. | |
5685 (assign (Array<LT>&, const Array<RT>&)): Use it. | |
5686 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. | |
5687 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. | |
5688 | |
5095 | 5689 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
3928 | 5690 |
5691 * Array3.h (Array3<T>::checkelem): Improve error message. | |
5692 * ArrayN.h (ArrayN<T>::range_error): Likewise. | |
5693 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. | |
5694 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. | |
5695 | |
3919 | 5696 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5697 | |
5698 * DASSL.h (DASSL_options::init): Undo previous change. | |
5699 (DASSL_options::set_absolute_tolerance): Likewise. | |
5700 | |
3912 | 5701 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
5702 | |
5703 * DASPK.h, DASPK.cc: New files. | |
5704 * Makefile.in: Add them to the appropriate lists. | |
5705 | |
3904 | 5706 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5707 | |
5708 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): | |
5709 Simplify indexing when one or both of the indices are empty. | |
5710 | |
3896 | 5711 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5712 | |
5713 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. | |
5714 (DASSL_options::set_absolute_tolerance): Likewise. | |
5715 * LSODE.h (LSODE_options::init): Likewise. | |
5716 (LSODE_options::set_absolute_tolerance): Likewise. | |
5717 | |
5095 | 5718 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
3887 | 5719 |
5720 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. | |
5721 * file-stat.cc (file_stat::update_internal, file_stat::copy): | |
5722 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. | |
5723 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. | |
5724 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. | |
5725 * file-stat.h: Likewise. | |
5726 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, | |
5727 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE | |
5728 instead of HAVE_STRUCT_TM_TM_ZONE. | |
5729 * strftime.c: Likewise. | |
5730 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, | |
5731 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, | |
5732 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, | |
5733 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, | |
5734 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
5735 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
5736 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. | |
5737 | |
5095 | 5738 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
3883 | 5739 |
5740 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition | |
5741 internally when the user requests it. | |
5742 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
5743 * dbleQR.cc (QR::init): Ditto. | |
5744 * dbleQRP.cc (QRP::init): Ditto. | |
5745 | |
3874 | 5746 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5747 | |
5748 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a | |
5749 definition for NULL by passing 0 as the last arg to fftwnd_one. | |
5750 (octave_fftw::ifft2d): Likewise. | |
5751 | |
5095 | 5752 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
3873 | 5753 |
5754 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). | |
5755 | |
3867 | 5756 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5757 | |
5758 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. | |
5759 (LS_DO_WRITE): Likewise. | |
5760 | |
3864 | 5761 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5762 | |
5763 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. | |
5764 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. | |
5765 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. | |
5766 | |
5767 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, | |
5768 MX_REDUCTION_OP_ROW_EXPR): New macros. | |
5769 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. | |
5770 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. | |
5771 | |
5772 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. | |
5773 DIM == -1 now means no orientation for vector sums. | |
5774 * dMatrix.cc (ComplexMatrix::sumsq): Use it. | |
5775 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. | |
5776 | |
3858 | 5777 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5778 | |
5779 * Range.cc (Range::nelem_internal): Special case ranges that must | |
5780 have zero elements. | |
5781 | |
3854 | 5782 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5783 | |
3857 | 5784 * Makefile.in: Split out readline and pathsearch functionality |
5785 into separate liboct-readline and liboct-pathsearch libraries. | |
5786 | |
3854 | 5787 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857 | 5788 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
5789 to do nothing for this call to rl_clear_screen. | |
3854 | 5790 |
3849 | 5791 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5792 | |
5793 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied | |
5794 function. | |
5795 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. | |
5796 | |
3838 | 5797 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
5798 | |
5799 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, | |
5800 Matrix::inverse): Handle the case of rcond being a NaN the same as | |
5801 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. | |
5802 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, | |
5803 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. | |
5804 | |
3836 | 5805 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
5806 | |
5807 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. | |
5808 | |
5809 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, | |
5810 Array-b.cc: Instantiate three arg assign functions. | |
5811 | |
5812 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): | |
5813 New arg, resize_fill_value. | |
5814 * ArrayN.h: Provide declaration. | |
5815 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling | |
5816 three arg version. | |
5817 | |
5818 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): | |
5819 New arg, resize_fill_value. | |
5820 * Array3.h: Provide declaration. | |
5821 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling | |
5822 three arg version. | |
5823 | |
5824 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
5825 New arg, resize_fill_value. | |
5826 * Array2.h: Provide declaration. | |
5827 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling | |
5828 three arg version. | |
5829 | |
5830 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
5831 New arg, resize_fill_value. | |
5832 * Array.h: Provide declaration. | |
5833 (assign (Array<LT>&, const Array<RT>&): Define here by calling | |
5834 three arg version. | |
5835 | |
3833 | 5836 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5837 | |
5838 * pathsearch.cc (dir_path::set_program_name): Set the environment | |
5839 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS | |
5840 to the empty string. | |
5841 | |
3832 | 5842 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5843 | |
5844 * Array2.h (Array2<T>::operator = (const Array2<T>&)): | |
5845 Don't check for rep != a.rep. | |
5846 | |
3827 | 5847 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
5848 | |
5849 * oct-fftw.h, oct-fftw.cc: New files. | |
5850 * Makefile.in (INCLUDES, SOURCES): Add new files. | |
5851 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, | |
5852 ifourier2d}): Use fftw if available. | |
5853 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): | |
5854 Likewise. | |
5855 | |
3821 | 5856 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5857 | |
5858 * Makefile.in (install-lib): Don't use mk-libdir-link. | |
5859 (install-inc): Don't use mk-includedir-link. | |
5860 | |
3803 | 5861 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5862 | |
5863 * lo-cutils.c (octave_gethostname): New function. | |
5864 * lo-utils.h: Provide declaration. | |
5865 * oct-env.cc (octave_env::do_get_host_name): | |
5866 Call octave_gethostname, instead of gethostname. | |
5867 | |
5868 * lo-cutils.c (gethostname): Define here. | |
5869 * lo-sysdep.cc: Not here. | |
5870 | |
3786 | 5871 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
5872 | |
5873 * lo-cutils.c: Don't declare strptime. | |
5874 (oct_strptime): Cast return type of strptime to char*. | |
5875 | |
3777 | 5876 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5877 | |
3779 | 5878 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
5879 (octave_rl_set_name): call rl_re_read_init_file with two args. | |
5880 (octave_rl_read_init_file): Ditto. | |
5881 (octave_rl_clear_undo_list): Call rl_free_undo_list, not | |
5882 free_undo_list. | |
5883 (octave_rl_completion_matches): Call rl_completion_matches, not | |
5884 completion_matches. | |
5885 (octave_rl_enable_paren_matching): New function. | |
5886 (octave_rl_set_blink_matching_paren_flag): Delete. | |
5887 (octave_rl_get_blink_matching_paren_flag): Delete. | |
5888 | |
3777 | 5889 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
5890 tanh (const Complex&)): Declare and define if not | |
5891 CXX_ISO_COMPLIANT_LIBRARY. | |
5892 | |
3776 | 5893 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
5894 | |
5895 * lo-mappers.h (tanh (const Complex&)): Only declare if not | |
5896 CXX_ISO_COMPLIANT_LIBRARY. | |
5897 | |
3775 | 5898 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
5899 | |
3776 | 5900 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
5901 CXX_ISO_COMPLIANT_LIBRARY. | |
5902 | |
3775 | 5903 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
5904 archive libraries containing templates. | |
5905 | |
5906 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, | |
5907 get_zero_len_size, all_colon_equiv): Inline. | |
5908 (ArrayN<T>::index): Rename idx to arr_idx. | |
5909 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, | |
5910 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, | |
5911 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. | |
5912 | |
5913 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5914 | |
5915 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), | |
5916 log10 (const Complex&)): Delete. | |
5917 | |
5918 * oct-cmplx.h: Define forwarding functions for real, imag, abs, | |
5919 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, | |
5920 sinh, sqrt, tan, and tanh. | |
5921 | |
3769 | 5922 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
5923 | |
5924 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: | |
5925 Add std:: namespace qualifier as needed. | |
5926 | |
5927 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. | |
5928 Change all uses to match. | |
5929 | |
3767 | 5930 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5931 | |
5932 * lo-cutils.c: Don't delcare strptime. | |
5933 | |
3760 | 5934 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5935 | |
5936 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): | |
5937 Return correct size result for empty matrix case. | |
5938 | |
3757 | 5939 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5940 | |
5941 * lo-mappers.cc (xmin (const Complex&, const Complex& y): | |
5942 If args are equal in magnitude, return first arg instead of | |
5943 second. | |
5944 | |
3752 | 5945 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
5946 | |
3755 | 5947 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
5948 then try harder to compute correct number of elements. | |
3753 | 5949 |
3752 | 5950 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
5951 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. | |
5952 | |
3750 | 5953 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5954 | |
3751 | 5955 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
5956 Rename n_intervals to be n_elt. | |
5957 | |
3750 | 5958 * strptime.c: Surround everything after including config.h in |
5959 #ifndef HAVE_STRPTIME ... #endif. | |
5960 | |
3742 | 5961 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5962 | |
5963 * Array-idx.h (assign): When resizing, cast fill value to LT. | |
5964 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. | |
5965 | |
3741 | 5966 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5967 | |
5968 * MArray-defs.h: Protect against multiple inclusion. | |
5969 | |
3739 | 5970 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5971 | |
5972 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the | |
5973 end of the list, to be compatible with previous versions of Octave. | |
5974 | |
3736 | 5975 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
5976 | |
5977 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, | |
5978 since mktime is supposed to `normalize' the results for us. | |
5979 | |
3731 | 5980 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
5981 | |
5982 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices | |
3732 | 5983 and vectors. Use xelem for faster access to elements when copying. |
3731 | 5984 |
3726 | 5985 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5986 | |
5987 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): | |
5988 Correct indexing for operation across rows. | |
5989 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. | |
5990 | |
3725 | 5991 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
5992 | |
5993 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying | |
5994 elements if arg is a colon. | |
5995 | |
5095 | 5996 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
3723 | 5997 |
3795 | 5998 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723 | 5999 (Matrix::cumsum (int) const): Likewise. |
6000 (Matrix::prod (int) const): Likewise. | |
6001 (Matrix::sum (int) const): Likewise. | |
6002 (Matrix::sumsq (int) const): Likewise. | |
6003 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. | |
6004 (ComplexMatrix::cumsum (int) const): Likewise. | |
6005 (ComplexMatrix::prod (int) const): Likewise. | |
6006 (ComplexMatrix::sum (int) const): Likewise. | |
6007 (ComplexMatrix::sumsq (int) const): Likewise. | |
6008 | |
3722 | 6009 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6010 | |
6011 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set | |
6012 size if Array<T>::index returns an empty array. | |
6013 | |
3710 | 6014 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6015 | |
6016 * file-ops.cc (file_ops::link, file_ops::symlink, | |
6017 file_ops::readlink): New functions. | |
6018 | |
3709 | 6019 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6020 | |
6021 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is | |
6022 indexed, always return an object the same size as the index arg. | |
6023 | |
6024 * oct-time.cc (octave_base_tm::strftime): Return empty string for | |
6025 empty format. | |
6026 | |
3706 | 6027 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6028 | |
6029 * lo-cutils.c (oct_strptime): New function. | |
6030 * oct-time.cc (octave_strptime::init): Call it instead of strptime. | |
6031 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. | |
6032 | |
3702 | 6033 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6034 | |
3703 | 6035 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
6036 | |
3702 | 6037 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
6038 | |
3689 | 6039 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6040 | |
6041 * dMatrix.h (read_int): Provide declaration. | |
6042 | |
3688 | 6043 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
6044 | |
6045 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. | |
6046 (write_doubles): Ditto. | |
6047 * data-conv.h: Ditto. | |
6048 (enum save_type): New values, LS_U_LONG and LS_LONG. | |
6049 | |
3685 | 6050 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
6051 | |
6052 * boolMatrix.h: Declare MM_CMP_OPS here. | |
6053 * boolMatrix.cc: Define them here. | |
6054 | |
3680 | 6055 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6056 | |
6057 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is | |
6058 previously undefined and set size of x to size of bool index. | |
6059 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): | |
6060 Allow z_len to be zero. | |
6061 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. | |
6062 If frozen, don't assert that frozen_at_z_len == z_len. | |
6063 | |
3670 | 6064 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6065 | |
6066 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen | |
6067 instead of rl_clear_screen. | |
6068 | |
3665 | 6069 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6070 | |
6071 * Array-d.cc: Instantiate ArrayN<double> here too. | |
6072 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. | |
6073 * Makefile.in: Add them to the appropriate lists. | |
6074 | |
3657 | 6075 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6076 | |
6077 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. | |
6078 | |
3635 | 6079 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6080 | |
6081 * lo-sysdep.h: octave_chdir returns int, not bool. | |
6082 | |
3615 | 6083 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
6084 | |
6085 * Makefile.in (liboctave.$(SHLEXT)): Delete target | |
6086 before rebuilding. | |
6087 | |
5095 | 6088 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
3615 | 6089 |
5261 | 6090 * Makefile.in (liboctave.$(LIBEXT)): New target. |
3615 | 6091 (libraries): Depend only on library targets, not archive members. |
6092 | |
3613 | 6093 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6094 | |
6095 * Makefile.in: (objects): New target. | |
6096 | |
6097 * lo-cutils.c: New file. | |
6098 * Makefile.in (SOURCES): Add it to the list. | |
6099 * lo-utils.h: Declare octave_qsort here. | |
6100 * Array.h (Array::qsort): Use it here. | |
6101 | |
3607 | 6102 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6103 | |
6104 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. | |
6105 | |
3598 | 6106 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6107 | |
6108 * oct-rl-hist.c (octave_history_list): Do something when not | |
6109 printing line numbers. Fix reallocation of retval. | |
6110 | |
3597 | 6111 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6112 | |
6113 * Makefile.in (install-inc): Install files in | |
6114 $(octincludedir)/octave. | |
6115 (uninstall): Remove them from the correct directory too. | |
6116 | |
6117 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if | |
6118 they are not already defined. | |
6119 | |
3588 | 6120 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6121 | |
6122 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: | |
6123 Delete declarations and definitions of mixed-type vector-vector ops. | |
6124 | |
3585 | 6125 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6126 | |
6127 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS | |
6128 matrix and vector objects. | |
6129 | |
6130 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to | |
6131 return type from second arg type. | |
6132 (MDM_BIN_OP): Likewise, for first arg type. | |
6133 | |
6134 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
6135 Matrix::fourier2d, Matrix::ifourier2d): Likewise. | |
6136 | |
6137 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly | |
6138 request ColumnVector to ComplexColumnVector, and Matrix to | |
6139 ComplexMatrix conversions. | |
6140 | |
6141 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its | |
6142 initial value using ComplexMatrix constructor. | |
6143 | |
6144 * CColVector.cc (product, quotient, | |
6145 operator * (const DiagMatrix&, const ComplexColumnVetor&)): | |
6146 Fix type of returned value. | |
6147 * CDiagMatrix.cc (ComplexDiagMatrix::row, | |
6148 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. | |
6149 | |
6150 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, | |
6151 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, | |
6152 dRowVector.h: Declare some constructors explicit, to disallow | |
6153 potentially problematic automatic type conversions. | |
6154 | |
3580 | 6155 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
6156 | |
3582 | 6157 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
6158 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: | |
6159 More new files. | |
6160 * Makefile.in: Add them to the appropriate lists. | |
6161 | |
6162 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, | |
6163 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, | |
6164 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, | |
6165 vx-s-crv.cc:, New files. | |
6166 * Makefile.in: Add them to the appropriate lists. | |
6167 | |
6168 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: | |
6169 Delete scalar by vector and vector by scalar binary ops. | |
6170 | |
3580 | 6171 * MArray-defs.h: More new macros to handle MDiagArray operators. |
6172 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. | |
6173 | |
3573 | 6174 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
6175 | |
3578 | 6176 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
6177 rl_event_hook before casting to void **. | |
6178 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. | |
6179 | |
3574 | 6180 * MArray-defs.h: Many new macros to make declaration and |
6181 definition of operators more consistent. | |
6182 | |
6183 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, | |
6184 CRowVector.h, dMatrix.h, CMatrix.h: Use them. | |
3573 | 6185 |
3569 | 6186 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6187 | |
3572 | 6188 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
6189 (Matrix::ifourier2d): Likewise. | |
6190 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. | |
6191 (ComplexMatrix::ifourier2d): Likewise. | |
6192 | |
3569 | 6193 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
6194 | |
3504 | 6195 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6196 | |
3519 | 6197 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
6198 readline library. | |
6199 * Makefile.in: Add them to the appropriate lists. | |
6200 | |
6201 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU | |
6202 readline history library. | |
6203 * Makefile.in: Add them to the appropriate lists. | |
6204 | |
3517 | 6205 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
6206 (LS_DO_READ): Likewise, for istream::read. | |
3518 | 6207 (write_doubles): Likewise. |
6208 (read_doubles): Likewise. | |
3517 | 6209 |
3516 | 6210 * oct-env.cc (octave_env::do_polite_directory_format): |
6211 Use operator== and substr method to do limited-length string | |
6212 comparison. | |
6213 | |
3513 | 6214 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512 | 6215 |
3511 | 6216 * Quad.h: Use do_integrate as name of pure virtual function. |
6217 | |
3508 | 6218 * base-de.h: Use tt instead of t as arg names. |
3511 | 6219 Add method with tcrit arg. |
6220 | |
3509 | 6221 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508 | 6222 |
3507 | 6223 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
6224 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. | |
6225 * Quad.cc (quad_fcn_ptr): Ditto. | |
6226 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. | |
6227 | |
3505 | 6228 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519 | 6229 * Makefile.in: Add them to the appropriate lists. |
3505 | 6230 |
6231 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. | |
3519 | 6232 * Makefile.in: Add them to the appropriate lists. |
3505 | 6233 |
3504 | 6234 * dMatrix.cc (write_int, read_int): No longer declared static. |
6235 | |
6236 * CDiagMatrix.h: Delete decls for friend operators that are | |
6237 handled by MDiagArray2 class. Move others outside class decl and | |
6238 strip friend status. | |
6239 * dDiagMatrix.h: Likewise. | |
6240 | |
6241 * MArray.h: Delete decls for friend operators inside class decl. | |
6242 * MArray2.h: Ditto. | |
6243 * MDiagArray2.h: Ditto. | |
6244 | |
6245 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all | |
6246 necessary parameters. Don't allocate memory in the macro. Change | |
6247 all uses. | |
6248 | |
6249 * dMatrix.h (class Matrix): Delete `friend class' decls. | |
6250 * CMatrix.h (class ComplexMatrix): Ditto. | |
6251 | |
6252 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, | |
6253 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, | |
6254 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to | |
6255 avoid type conflicts. Change all uses. | |
6256 | |
6257 * strptime.c (__mon_yday): Fix size of array decl. | |
6258 | |
6259 * mx-inlines.cc: Use `xnot' instead of `not' for function name. | |
6260 | |
6261 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous | |
6262 default value for second arg. | |
6263 | |
6264 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to | |
6265 references to ArrayRep. | |
6266 | |
3503 | 6267 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
6268 | |
3504 | 6269 * Array.h (Array::ArrayRep): Now protected, not private. |
3503 | 6270 |
6271 * All source files: Include iostream, fstream, strstream, | |
6272 etc. as needed instead of using forward declarations for these | |
3504 | 6273 classes. Add std:: qualifier as needed. |
3503 | 6274 |
3498 | 6275 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6276 | |
6277 * oct-time.cc: Declare strptime extern "C". | |
6278 | |
3496 | 6279 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6280 | |
6281 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. | |
6282 | |
3488 | 6283 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6284 | |
3492 | 6285 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
6286 * Array3.h, Array3.cc: Use it in constructors and resize methods | |
6287 to get total size to be allocated. | |
6288 | |
3488 | 6289 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
6290 as bool, not int. | |
6291 | |
3482 | 6292 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6293 | |
6294 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
6295 Allow A(idx) = RHS if idx is a boolean index with the same shape | |
6296 as A, even when do_fortran_indexing is not enabled. | |
6297 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). | |
6298 | |
3473 | 6299 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6300 | |
3480 | 6301 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
6302 function pointer as final arg. Passed function (if any) will be | |
6303 called for singularity errors. | |
6304 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. | |
6305 | |
6306 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. | |
6307 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
6308 | |
3475 | 6309 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
6310 No longer bother with infinity or quiet_nan. | |
6311 | |
3473 | 6312 * Array2.cc (Array2<T>::get_size): New function. |
6313 (Array2<T>::Array2, Array2<T>::resize): Use it. | |
6314 | |
3472 | 6315 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6316 | |
6317 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): | |
6318 New function. | |
6319 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
6320 Use it when indexing with one arg instead of faking a second one. | |
6321 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): | |
6322 Return empty matrices with the correct dimensions for A(:,:) = [] | |
6323 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all | |
6324 rows or columns. | |
6325 | |
6326 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool | |
6327 vector that is all true values with a length equal to n as colon | |
6328 equivalent. | |
6329 | |
3470 | 6330 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6331 | |
6332 * strptime.c: Only include langinfo.h if _LIBC is defined. | |
6333 | |
5095 | 6334 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468 | 6335 |
6336 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling | |
6337 operations directly in step 2 and reverse step 2. | |
6338 * dMatrix.cc (Matrix::expm): Apply permutation and scaling | |
6339 operations directly in step 2 and reverse step 2. | |
6340 | |
3465 | 6341 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6342 | |
6343 * oct-time.h, oct-time.cc (octave_strptime): New class. | |
6344 | |
6345 * strptime.c: New file, from glibc 2.1.2. | |
6346 * Makefile.in (SOURCES): Add strptime.c to the list. | |
6347 | |
3419 | 6348 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6349 | |
6350 * MArray.h (MArray <const Array<T>&)): New constructor. | |
6351 | |
3415 | 6352 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6353 | |
6354 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing | |
6355 NULL directory list returned from kpse_element_dirs | |
6356 | |
3375 | 6357 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6358 | |
6359 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. | |
6360 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF | |
6361 directly, instead of calling ZGESV. | |
6362 | |
3358 | 6363 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6364 | |
6365 * data-conv.cc (init_sized_type_lookup_table): New function. | |
6366 (string_to_data_type): Use it to improve lookup of data types. | |
6367 | |
3354 | 6368 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6369 | |
6370 * dMatrix.cc (is_symmetric): Move here from Array2.cc. | |
6371 * Array2.h (is_symmetric): Delete declaration. | |
6372 | |
3347 | 6373 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6374 | |
6375 * oct-env.cc (do_get_user_name): Reverse sense of test. | |
6376 | |
3344 | 6377 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6378 | |
6379 * oct-time.cc (Fstrftime): Undo previous change. | |
6380 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
6381 | |
3334 | 6382 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6383 | |
3336 | 6384 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
6385 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. | |
6386 | |
3334 | 6387 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
6388 Don't forget to pass length of third string argument to dgeesx. | |
6389 | |
6390 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length | |
6391 of third string argument to zgeesx. | |
6392 | |
3333 | 6393 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6394 | |
6395 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): | |
6396 On errors, simply return `T ()'. | |
6397 (DiagArray2<T>::checkelem (int, int)): Likewise. | |
6398 | |
5095 | 6399 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3331 | 6400 |
6401 * dMatrix.cc (Matrix::expm): Do balancing here instead of using | |
6402 AEPBALANCE class. | |
6403 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6404 | |
3325 | 6405 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6406 | |
6407 * oct-shlib.cc, oct-shlib.h: New files. | |
6408 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
6409 | |
3322 | 6410 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6411 | |
6412 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. | |
6413 * dRowVector.cc (linspace): Ditto. | |
6414 | |
6415 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. | |
6416 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
6417 | |
3312 | 6418 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
6419 | |
6420 * DASSL.cc (DASSL::do_integrate (double)): If we have a function | |
6421 to evaluate the Jacobian, set info(4), not iwork(4). | |
6422 Set rwork(1) to the maximum step size, not rwork(2). | |
6423 | |
3290 | 6424 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6425 | |
6426 * oct-time.cc: Include <climits>. | |
6427 | |
3281 | 6428 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
6429 | |
6430 * cmd-edit.h (command_editor::do_resize_terminal): New function. | |
6431 * cmd-edit.cc (command_editor::resize_terminal): New function. | |
6432 (gnu_readline::do_resize_terminal): New function. | |
6433 | |
3268 | 6434 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6435 | |
6436 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. | |
6437 * lo-ieee.c: Likewise. | |
6438 Delete extern "C" declarations for infinity and quiet_nan. | |
6439 | |
3262 | 6440 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6441 | |
3263 | 6442 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
6443 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions | |
6444 `inline', not `static inline'. | |
6445 | |
3262 | 6446 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
6447 then cast to const int * to compare. | |
6448 | |
3257 | 6449 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6450 | |
6451 * DAEFunc.h: Remove useless preprocessor conditional. | |
6452 | |
3255 | 6453 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6454 | |
3257 | 6455 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
6456 Use octave_time object instead of time_t. | |
6457 | |
6458 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, | |
6459 file_stat::fs_ctime): Now octave_time objects. | |
6460 (file_stat::atime, file_stat::mtime, file_stat::ctime): | |
6461 Return octave_time objects. | |
6462 (file_stat::is_newer): Args are now octave_time objects instead of | |
6463 time_t. | |
6464 | |
3255 | 6465 * oct-time.h (octave_time::as_double): Delete. |
6466 (octave_time::operator double ()): New function. | |
6467 (octave_time::operator time_t ()): New function. | |
6468 (octave_time::ctime): New function. | |
6469 (octave_base_tm::strftime): Renamed from format_as_string. | |
6470 (octave_base_tm::asctime): New function. | |
6471 (operator == (const octave_time&, const octave_time&), | |
6472 operator != (const octave_time&, const octave_time&), | |
6473 operator < (const octave_time&, const octave_time&), | |
6474 operator <= (const octave_time&, const octave_time&), | |
6475 operator > (const octave_time&, const octave_time&), | |
6476 operator >= (const octave_time&, const octave_time&)): | |
6477 New comparison functions. | |
6478 | |
6479 * strftime.c: Move here from src directory. | |
6480 * Makefile.in (SOURCES): Add it to the list. | |
6481 | |
6482 * oct-time.h (octave_time::octave_time (time_t)): New constructor. | |
6483 | |
3253 | 6484 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6485 | |
6486 * oct-time.h, oct-time.cc: New files. | |
6487 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
6488 | |
6489 * systime.h: Move here from src directory. | |
6490 * Makefile.in (INCLUDES): Add it to the list. | |
6491 | |
3248 | 6492 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6493 | |
6494 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. | |
6495 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. | |
6496 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. | |
6497 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. | |
6498 | |
6499 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. | |
6500 | |
3243 | 6501 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6502 | |
6503 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. | |
6504 | |
6505 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6506 | |
6507 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a | |
6508 column vector for A(:), for compatibility with Matlab. | |
6509 | |
6510 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6511 | |
6512 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set | |
6513 iopt when there are optional inputs in rwork or iwork. | |
6514 | |
3238 | 6515 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6516 | |
6517 * Makefile.in (libraries): Use the libfoo.a(objects) method of | |
6518 creating static libs. | |
6519 | |
5095 | 6520 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
3238 | 6521 |
6522 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 | |
6523 and uint32 data types. | |
6524 | |
6525 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6526 | |
6527 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code | |
6528 for Linux. Remove old Linux-specific code. | |
6529 | |
3233 | 6530 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6531 | |
6532 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): | |
6533 Don't require lengths to be equal. | |
6534 * CMatrix.cc (operator * (const ComplexColumnVector& v, const | |
6535 ComplexRowVector& a)): Likewise | |
6536 | |
5095 | 6537 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
3225 | 6538 |
6539 * statdefs.h: Only define mode_t if not already defined. | |
6540 | |
5095 | 6541 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
3225 | 6542 |
6543 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero | |
6544 when appropriate. | |
6545 | |
6546 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6547 | |
6548 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name | |
6549 before calling rl_initialize. | |
6550 | |
3220 | 6551 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6552 | |
6553 * lo-specfun.cc (besselh, airy, biry): New functions. | |
6554 Update Bessel function support to use library by D. E. Amos. | |
6555 | |
3219 | 6556 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6557 | |
6558 * cmd-edit.h (command_editor::readline): Add new variation that | |
6559 allows EOF information to be passed back to caller. | |
6560 | |
6561 * dMatrix.cc (Matrix::read): Do the right thing for EOF when | |
6562 amount of data to read is unspecified. | |
6563 | |
3215 | 6564 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6565 | |
3219 | 6566 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
6567 (DEFINE_OCTAVE_ALLOCATOR): Ditto. | |
6568 | |
3215 | 6569 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
6570 Add volatile qualifier to void* arg. | |
6571 Cast volatile void* arg to volatile char*. | |
6572 | |
6573 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6574 | |
6575 * cmd-edit.h (command_editor::do_set_event_hook): New function. | |
6576 (command_editor::do_restore_event_hook): Ditto. | |
6577 * cmd-edit.cc (command_editor::set_event_hook): Ditto. | |
6578 (command_editor::restore_event_hook): Ditto. | |
6579 (gnu_readline::do_set_event_hook): Ditto. | |
6580 (gnu_readline::do_restore_event_hook): Ditto. | |
6581 (gnu_readline::previous_event_hook): New data member. | |
6582 (gnu_readline::gnu_readline): Initialize previous_event_hook. | |
6583 | |
3206 | 6584 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6585 | |
6586 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. | |
6587 | |
6588 * Makefile.in (stmp-pic): New target. | |
6589 ($(PICOBJ)): Depend on stmp-pic, not pic. | |
6590 (clean): Remove stmp-pic | |
6591 | |
6592 * Makefile.in: Undo previous change to avoid optmization when | |
6593 compiling lo-ieee.cc. | |
6594 | |
6595 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6596 | |
6597 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and | |
6598 imaginary parts. | |
6599 (xisinf): Define in terms of xisinf for real and imaginary parts. | |
6600 | |
3203 | 6601 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6602 | |
6603 * boolMatrix.cc (boolMatrix::operator !): New function. | |
6604 | |
3196 | 6605 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6606 | |
6607 * pathsearch.h (dir_path::default_path): New data member. | |
6608 * pathsearch.cc (dir_path::init): Use it. | |
6609 | |
6610 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. | |
6611 | |
3189 | 6612 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6613 | |
6614 * chMatrix.cc (charMatrix::extract): New function. | |
6615 (charMatrix::charMatrix (char c)): New constructor. | |
6616 | |
6617 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6618 | |
6619 * cmd-edit.h: (command_editor::do_read_init_file): New function. | |
6620 * cmd-edit.cc (command_editor::read_init_file): New function. | |
6621 (gnu_readline::do_read_init_file): Likewise. | |
6622 | |
3185 | 6623 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6624 | |
6625 * oct-env.cc (octave_env::do_get_home_directory): | |
6626 If HOME can't be found, set it to "/". | |
6627 (octave_env::do_get_user_name) | |
6628 If user name can't be found, set it to "unknown". | |
6629 (octave_env::do_get_host_name) | |
6630 If host name can't be found, set it to "unknown". | |
6631 | |
6632 * pathsearch.h (dir_path::rehash): New function. | |
6633 * pathsearch.cc (dir_path::init): Clear kpathsea's internal | |
6634 diretcory cache before doing initialization. | |
6635 | |
3180 | 6636 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6637 | |
3185 | 6638 * dMatrix.cc (Qzval): Delete. |
6639 (qzhes, qzit, qzval): Delete F77_FCN declarations. | |
6640 * dMatrix.h (Qzval): Delete declaration. | |
6641 | |
6642 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. | |
6643 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. | |
6644 * mx-ext.h: Don't include dbleGEPBAL. | |
6645 | |
3180 | 6646 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
6647 static_cast. | |
6648 | |
6649 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6650 | |
6651 * dMatrix.cc (Matrix::read): Skip after reading, not before. | |
6652 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. | |
6653 | |
6654 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6655 | |
6656 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on | |
6657 HUGE_VAL and NAN. | |
6658 | |
6659 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6660 | |
6661 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
6662 Handle x(i) = scalar for do_fortran_indexing == 1. | |
6663 | |
6664 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6665 | |
6666 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): | |
6667 Alloctate space before attempting to use it. | |
6668 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. | |
6669 | |
5095 | 6670 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
3178 | 6671 |
6672 * EIG.cc (EIG::init): Move invariant code outside loop. | |
6673 | |
6674 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6675 | |
6676 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result | |
6677 have the same size as the operands. | |
6678 | |
6679 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6680 | |
6681 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the | |
6682 call to ddassl, set integration_error to 1 before calling the | |
6683 error handler and returning. | |
6684 * LSODE.cc (LSODE::do_integrate): Likewise. | |
6685 | |
3177 | 6686 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6687 | |
6688 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if | |
6689 do_fortran_indexing is set, A([]) = scalar. | |
6690 * Array-idx.h (assign): Allow A([]) = scalar. | |
6691 | |
3176 | 6692 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6693 | |
6694 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not | |
6695 if dm_nc == 0. | |
6696 | |
3174 | 6697 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6698 | |
6699 * pathsearch.h (dir_path::p_orig): New field. | |
6700 * pathsearch.cc (dir_path::init): Perform variable and tilde | |
6701 expansion on the original path here. | |
6702 (dir_path::find_all): Don't do anything if not initialized. | |
6703 | |
3164 | 6704 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6705 | |
6706 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing | |
6707 is not set. | |
6708 (index): Allow x = zeros (2, 0); x(1,:) to work. | |
6709 | |
6710 * lo-specfun.cc (gammainc): Use dgamit to compute | |
6711 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just | |
6712 \int_0^x exp(-t) t^(a-1) dt. | |
6713 | |
6714 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6715 | |
6716 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, | |
6717 Array-s.cc: Change return types of all `assign' explicit | |
6718 instantiations to be int, not void, to match the template decl in | |
6719 Array.h. | |
6720 | |
3162 | 6721 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6722 | |
6723 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. | |
6724 | |
3156 | 6725 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6726 | |
6727 * lo-specfun.cc (xgamma, xlgamma): Define here. | |
6728 * lo-mappers.cc: Not here. | |
6729 | |
6730 * lo-specfun.h: Declare xgamma and xlgamma here. | |
6731 * lo-mappers.h: Not here. | |
6732 | |
6733 * lo-specfun.h: Never declare gamma or lgamma. | |
6734 | |
3154 | 6735 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6736 | |
6737 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an | |
6738 empty matrix of any dimension. | |
6739 | |
3145 | 6740 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6741 | |
3147 | 6742 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
6743 | |
3146 | 6744 * lo-specfun.cc: Don't include dbleBessel.h. |
6745 | |
6746 * Makefile.in (INCLUDES): Delete oct-math.h from the list. | |
6747 | |
3145 | 6748 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
6749 * file-stat.h (file_stat::operator bool ()): Likewise. | |
6750 * idx-vector.h (idx_vector::operator bool ()): Likewise. | |
6751 * oct-group.h (octave_group::operator bool ()): Likewise. | |
6752 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. | |
6753 | |
6754 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): | |
6755 Don't cast arg in call to swap_8_bytes. | |
6756 (IEEE_big_double_to_IEEE_little_double): Ditto | |
6757 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to | |
6758 swap_4_bytes. | |
6759 (IEEE_little_float_to_IEEE_big_float): Ditto | |
6760 | |
6761 * oct-alloc.cc (grow): Use X_CAST, not static_cast. | |
6762 * prog-args.cc (prog_args::getopt): Likewise. | |
6763 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. | |
6764 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. | |
6765 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): | |
6766 Likewise. | |
6767 | |
6768 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, | |
6769 swap_8_bytes): Declare ptr arg as void*, then use cast. | |
6770 | |
3141 | 6771 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6772 | |
6773 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). | |
6774 Use $(mk-libdir-link). | |
6775 | |
6776 * file-stat.cc (file_stat::update_internal): Use stat and lstat, | |
6777 not SAFE_STAT and SAFE_LSTAT. | |
6778 (lstat): New function, defined if HAVE_LSTAT is not defined. | |
6779 * safe-xstat.hin, safe-xstat.cin: Delete. | |
6780 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, | |
6781 safe-lstat.h, and safe-lstat.cc. | |
6782 | |
3136 | 6783 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6784 | |
6785 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. | |
6786 | |
3130 | 6787 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6788 | |
6789 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the | |
6790 trace is negative. | |
6791 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if | |
6792 the real part of the trace is negative. | |
6793 | |
6794 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6795 | |
6796 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. | |
6797 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. | |
6798 | |
6799 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] | |
6800 to succeed. | |
6801 | |
3125 | 6802 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6803 | |
6804 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. | |
6805 (make_uniq): Likewise. | |
6806 | |
6807 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6808 | |
6809 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. | |
6810 | |
3119 | 6811 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6812 | |
3121 | 6813 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
6814 | |
6815 * lo-specfun.h, lo-specfun.cc: New files. | |
3119 | 6816 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
6817 | |
3121 | 6818 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
6819 oct-math.h: Delete. | |
6820 * Makefile.in (SOURCES): Delete them from the list. | |
6821 | |
3112 | 6822 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6823 | |
6824 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. | |
6825 | |
5095 | 6826 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
3107 | 6827 |
6828 Changes to make support egcs snapshots that implement explicit | |
6829 specification of template functions according to CD2. | |
6830 | |
6831 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit | |
6832 template function specs for template friends. | |
6833 * MArray2.h: Likewise. | |
6834 * MDiagArray2.h: Likewise. | |
6835 | |
3095 | 6836 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6837 | |
6838 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) | |
6839 | |
3092 | 6840 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
6841 | |
6842 * CRowVector.cc (linspace): Removed attempt for implicit conversion | |
6843 to complex<double>(int) instead of complex<double>(double). | |
6844 | |
6845 * lo-mappers.cc (atanh): Ditto. | |
6846 | |
3079 | 6847 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6848 | |
6849 * idx-vector.cc (IDX_VEC_REP::sort): New function. | |
6850 * idx-vector.h (idx_vector::sort): Ditto. | |
6851 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before | |
6852 trying to delete elements specified by the index vectors. | |
6853 | |
3075 | 6854 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6855 | |
6856 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. | |
6857 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. | |
6858 | |
3074 | 6859 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6860 | |
6861 * file-ops.cc (tilde_expand_word): Fix off-by-one error. | |
6862 | |
3069 | 6863 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6864 | |
6865 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. | |
6866 Call error handler if we can't find the current directory. | |
6867 | |
3068 | 6868 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6869 | |
3069 | 6870 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
6871 (xfinite (double)): Ditto. | |
6872 | |
3068 | 6873 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
6874 * CmplxQR.cc (ComplexQR::init): Ditto. | |
6875 | |
3056 | 6876 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6877 | |
6878 * lo-mappers.cc (acos (const Complex&)): Select branch that is | |
6879 compatible with Matlab. | |
6880 | |
3050 | 6881 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6882 | |
6883 * Array2-idx.h: Correctly handle empty matrices indexed by a | |
6884 single colon. | |
6885 | |
3040 | 6886 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6887 | |
3049 | 6888 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
6889 (xgamma): Likewise, for calling xdgamma. | |
6890 | |
3042 | 6891 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
6892 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. | |
6893 | |
3040 | 6894 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
6895 to do better job expanding tildes. | |
6896 | |
6897 * str-vec.cc (string_vector::string_vector (const char * const *): | |
6898 Use temporary variable to compute length. | |
6899 | |
3029 | 6900 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6901 | |
3034 | 6902 * Makefile.in: Make building of static library optional. |
3036 | 6903 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034 | 6904 |
3029 | 6905 * Makefile.in (stamp-picdir): Delete. |
6906 (pic): New target. Don't worry so much about creating pic | |
6907 directory only when it is really needed. | |
6908 (stamp-interp): Delete. | |
6909 (libraries): New target. Depend on shared library directly. | |
6910 | |
3024 | 6911 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6912 | |
6913 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): | |
6914 New static function. | |
6915 | |
3012 | 6916 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6917 | |
6918 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. | |
6919 | |
3004 | 6920 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6921 | |
6922 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to | |
6923 set_basic_quote_characters, to match new version of readline. | |
6924 | |
6925 * cmd-edit.cc (do_restore_terminal_state): Call readline function | |
6926 for restoring terminal state through rl_deprep_term_function, now | |
6927 declared in readline.h | |
6928 (rl_deprep_terminal): Delete declaration. | |
6929 | |
2993 | 6930 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6931 | |
6932 * Makefile.in (install-in): Use new mk-includedir-link macro. | |
6933 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. | |
6934 | |
2968 | 6935 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6936 | |
6937 * cmd-edit.cc (command_editor::increment_current_command_number): | |
6938 New static function. | |
6939 | |
2964 | 6940 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6941 | |
2966 | 6942 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
6943 the vector is not sorted. | |
6944 | |
2964 | 6945 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
6946 * dMatrix.cc (Matrix::operator !): Likewise | |
6947 | |
2941 | 6948 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6949 | |
6950 * oct-syscalls.h, oct-syscalls.cc: New files. | |
6951 | |
6952 * cmd-edit.h, cmd-edit.cc: Handle completion function. | |
6953 | |
6954 * str-vec.h, str-vec.cc (string_vector::uniq): New function. | |
6955 | |
2938 | 6956 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6957 | |
2941 | 6958 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
6959 (install-inc): Use it. | |
6960 | |
2938 | 6961 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
6962 Handle errors and missing functions consistently. | |
6963 | |
6964 * oct-group.h, oct-group.cc: New files. | |
6965 | |
6966 * oct-passwd.cc: Handle errors and missing functions consistently. | |
6967 | |
6968 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. | |
6969 | |
2934 | 6970 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6971 | |
6972 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. | |
6973 * oct-env.cc (octave_env::do_get_user_name): Likewise. | |
6974 | |
6975 * oct-passwd.h, oct-passwd.cc: New files. | |
6976 | |
2926 | 6977 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6978 | |
6979 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. | |
6980 | |
6981 * mach-info.h, mach-info.cc: Add missing const qualifiers. | |
6982 (instance_ok ()): New function. | |
6983 | |
6984 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. | |
6985 | |
6986 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. | |
6987 | |
6988 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from | |
6989 src/utils.h and src/utils.cc. | |
6990 (octave_fgets): New function, extracted from src/input.cc. | |
6991 | |
6992 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for | |
6993 GNU readline, and allow Octave to work without GNU readline. | |
6994 | |
6995 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous | |
6996 system-dependent functions. | |
6997 | |
6998 * oct-env.h, oct-env.cc: New files for process environment stuff. | |
6999 | |
7000 * file-stat.h, file-stat.cc: New files. Extract file_stat class | |
7001 from file-ops.h and file-ops.cc and move here. | |
7002 | |
7003 * file-ops.h, file-ops.cc: Wrap functions in struct. Move | |
7004 tilde_expand functions here from src/dirfns.cc. | |
7005 | |
7006 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7007 | |
7008 * pathlen.h: New file, from ../src. | |
7009 | |
2917 | 7010 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7011 | |
7012 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent | |
7013 out-of-bounds indexing of the index array. | |
7014 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. | |
7015 | |
2850 | 7016 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7017 | |
7018 * LSODE.h (x_step_limit): New field. | |
7019 (LSODE_options::init): Initialize it. | |
7020 (LSODE_options::copy): Copy it. | |
7021 (LSODE_options::set_step_limit, LSODE_options::step_limit): | |
7022 New functions. | |
7023 (LSODE::working_too_hard): Delete. | |
7024 * LSODE.cc (LSODE::do_integrate): Handle step limit. | |
7025 | |
2844 | 7026 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7027 | |
7028 * MArray-b.cc: Delete. | |
7029 * Makefile.in: Delete it from the lists. | |
7030 | |
7031 * boolMatrix.h (class bboolMatrix): Derive from Array2, not | |
7032 MArray2, since most of the numeric ops don't really make sense. | |
7033 | |
2829 | 7034 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7035 | |
2832 | 7036 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
7037 | |
7038 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. | |
7039 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. | |
7040 | |
2830 | 7041 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
7042 idx_vector::freeze): Delete prefer_zero_one arg. | |
7043 * Array-idx.h, Array2-idx.h: Change all callers. | |
7044 | |
7045 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. | |
7046 | |
2829 | 7047 * mx-op-defs.h: New file for operator definitions. |
7048 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, | |
7049 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, | |
7050 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, | |
7051 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, | |
7052 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, | |
7053 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, | |
7054 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, | |
7055 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, | |
7056 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, | |
7057 mx-s-cm.cc, mx-s-dm.cc: | |
7058 New files for mixed-type operations. | |
7059 * Makefiles.in: Add them to the appropriate lists. | |
7060 | |
7061 * mx-inlines.cc: Add bool by bool EQ ops. | |
7062 | |
7063 * idx-vector.h, idx-vector.cc: Add constructors for bool and | |
7064 boolMatrix types. | |
7065 (idx_vector::maybe_convert_one_zero_to_idx, | |
7066 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): | |
7067 Delete second arg, prefer_zero_one. Change all callers. | |
7068 | |
7069 * boolMatrix.h, boolMatrix.cc: New files. | |
7070 * mx-base.h: Include boolMatrix.h here. | |
7071 * mx-defs.h: Provide forward declaration for boolMatrix here. | |
7072 | |
7073 * chMatrix.h, chMatrix.cc: Delete unused junk. | |
7074 | |
7075 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, | |
7076 operator-, operator*, product, and quotient functions. | |
7077 Add constructor for boolMatrix type. | |
7078 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, | |
7079 product, and quotient functions. | |
7080 | |
7081 * CDiagMatrix.h: Delete friend declarations for operator+, | |
7082 operator-, and product functions. | |
7083 * CDiagMatrix.h: Delete operator+, operator-, and product functions. | |
7084 | |
7085 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. | |
7086 | |
2815 | 7087 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7088 | |
7089 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. | |
7090 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. | |
7091 (EIG::symmetric_init (const Matrix&)): New function. | |
7092 (EIG::init (const Matrix&)): Call it if arg is symmetric. | |
7093 | |
7094 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. | |
7095 | |
7096 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7097 | |
7098 * Array2.cc (is_symmetric): New function. | |
7099 * Array2.h (is_square): New function. | |
7100 | |
2811 | 7101 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7102 | |
7103 * Makefile.in (install-strip): New target. | |
7104 | |
2804 | 7105 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7106 | |
7107 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
7108 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, | |
7109 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
7110 dbleSVD.cc: Don't include mx-inlines.cc. | |
7111 | |
7112 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of | |
7113 duplicate code. | |
7114 | |
2800 | 7115 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7116 | |
2804 | 7117 * dbleQR.h (QR): Delete extra comma at end of list. |
7118 | |
7119 * prog-args.cc (prog_args::getopt): Add missing const in cast. | |
7120 | |
7121 * dbleSVD.h (SVD::type): Delete extra comma at end of list. | |
7122 | |
7123 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and | |
7124 idx_vecotr_rep:: qualifiers. | |
7125 | |
7126 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. | |
7127 | |
7128 * data-conv.h (save_type): Delete extra comma at end of list. | |
7129 | |
2800 | 7130 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
7131 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, | |
7132 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of | |
7133 old C-style `(T) val' casts. | |
7134 | |
2795 | 7135 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7136 | |
7137 * dMatrix.cc (operator >>): Return if an error occurs instead of | |
7138 just breaking out of the innermost loop. | |
7139 * CMatrix.cc (operator >>): Likewise. | |
7140 | |
2779 | 7141 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775 | 7142 |
7143 * Version 2.0.5 released. | |
7144 | |
2767 | 7145 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7146 | |
7147 * CmplxQR.cc (ComplexQR::init): New function. | |
7148 (ComplexQR::ComplexQR): Use it. Use initializer list too. | |
7149 * CmplxQRP.cc (ComplexQRP::init): New function. | |
7150 Get sizes right in all cases. | |
7151 (ComplexQR::ComplexQRP): Use it. Use initializer list too. | |
7152 | |
7153 * dbleQR.cc (QR::init): New function. | |
7154 (QR::QR): Use it. Use initializer list too. | |
7155 * dbleQRP.cc (QRP::init): New function. | |
7156 Get sizes right in all cases. | |
7157 (QR::QRP): Use it. Use initializer list too. | |
7158 | |
2759 | 7159 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7160 | |
7161 * mach-info.cc (oct_mach_info::string_to_float_format): | |
7162 Recognize "vaxg", not "vax_g". | |
7163 | |
2713 | 7164 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7165 | |
2714 | 7166 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
7167 dimension in check for colon equivalent index. | |
7168 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element | |
7169 index whose value is 0 is also colon eqivalent for n == 1. | |
7170 | |
2713 | 7171 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
7172 system-specific tests first. | |
7173 | |
2709 | 7174 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702 | 7175 |
7176 * Version 2.0.4 released. | |
7177 | |
7178 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7179 | |
7180 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. | |
7181 | |
2693 | 7182 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690 | 7183 |
7184 * Version 2.0.3 released. | |
7185 | |
2686 | 7186 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7187 | |
7188 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. | |
7189 | |
2673 | 7190 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7191 | |
2676 | 7192 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
7193 (all): Don't depend on stamp-prereq or stamp-picdir. | |
7194 (liboctave.a, stamp-shared): Do depend on stamp-prereq. | |
7195 (stamp-picdir): Silence noise about making pic. | |
7196 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. | |
7197 | |
2673 | 7198 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
7199 Fix typo in last change. | |
7200 | |
7201 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): | |
7202 Convert from friend (moved from dColVector.cc). | |
7203 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): | |
7204 Likewise (moved from dMatrix.cc). | |
7205 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): | |
7206 Likewise (moved from dRowVector.cc). | |
7207 | |
7208 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. | |
7209 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. | |
7210 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. | |
7211 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. | |
7212 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. | |
7213 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. | |
7214 | |
7215 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. | |
7216 * dMatrix.cc (Matrix::apply): Likewise. | |
7217 * dRowVector.cc (RowVector::apply): Likewise. | |
7218 * CColVector.cc (ComplexColumnVector::apply): Likewise. | |
7219 * CMatrix.cc (ComplexMatrix::apply): Likewise. | |
7220 * CRowVector.cc (ComplexRowVector::apply): Likewise. | |
7221 | |
2668 | 7222 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7223 | |
7224 * lo-ieee.cc: Declare quiet_nan() and infinity(). | |
7225 | |
7226 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7227 | |
7228 * file-ops.cc (oct_unlink (const string&, string&)): | |
7229 New two-arg version. | |
7230 (oct_rmdir (const string&, string&)): New two-arg version. | |
7231 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. | |
7232 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. | |
7233 (oct_rename (const string&, const string&, string&)): | |
7234 New three-arg version. | |
7235 | |
2663 | 7236 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7237 | |
7238 * idx-vector.h (idx_vector::orig_empty): New function. | |
7239 | |
7240 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): | |
7241 Don't always resize to [](0x0) if one of the indices is empty or | |
7242 zero. | |
7243 | |
2658 | 7244 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7245 | |
7246 * cmd-hist.cc (command_history::read): New arg, must_exist. | |
7247 Set line_in_file here too. | |
7248 (command_history::read_range): New arg, must_exist. | |
7249 | |
2651 | 7250 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7251 | |
7252 * f2c-main.c: Change C++-style comments to C-style comments. | |
7253 | |
2638 | 7254 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7255 | |
7256 * Makefile.in (install-inc): Create a relative symbolic link. | |
7257 | |
2634 | 7258 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7259 | |
7260 * Version 2.0.2 released. | |
7261 | |
2624 | 7262 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7263 | |
7264 * Makefile.in (bin-dist): New target. | |
7265 | |
2621 | 7266 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7267 | |
7268 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. | |
7269 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. | |
7270 | |
2613 | 7271 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7272 | |
7273 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
7274 If the number of columns is zero, also set the number of rows to zero. | |
7275 (charMatrix::charMatrix (const char *)): Likewise. | |
7276 | |
2602 | 7277 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7278 | |
7279 * Version 2.0.1 released. | |
7280 | |
2601 | 7281 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7282 | |
7283 * dMatrix.cc (Matrix::read): Correctly compute the number of | |
7284 columns for resizing when the number of rows is specified but the | |
7285 number of columns is not. | |
7286 | |
2598 | 7287 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7288 | |
2599 | 7289 * Range.cc (operator -): New function. |
7290 | |
2598 | 7291 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
7292 | |
2589 | 7293 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7294 | |
7295 * Array2-idx.h (assign): Delay resizing left hand side until we | |
7296 know if the assignment conforms. | |
7297 | |
2583 | 7298 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7299 | |
7300 * Version 2.0 released. | |
7301 | |
2570 | 7302 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7303 | |
2575 | 7304 * Array2-idx.h (assign): If index is a colon, set number of |
7305 elements to the lhs dimension if the lhs dimension is greater than | |
7306 zero. Otherwise, set it to the rhs dimension. | |
7307 | |
7308 * Version 1.94. | |
7309 | |
2570 | 7310 * Array2-idx.h (assign): Test for rhs scalar case first. |
7311 If index is colon, set number of elements to lhs dimension, not | |
7312 rhs dimension. | |
7313 | |
2563 | 7314 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7315 | |
2566 | 7316 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
7317 * sun-utils.cc: Delete. | |
7318 * f2c-main.c: New file | |
7319 | |
7320 * Makefile.in: Fix file name lists. | |
7321 | |
2563 | 7322 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
7323 | |
2561 | 7324 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7325 | |
7326 * dMatrix.cc (Qzval): Don't try to use same memory three times. | |
7327 Create result using Complex constructor, not multiplication. | |
7328 Order elements as they are returned from Eispack. | |
7329 | |
2559 | 7330 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7331 | |
2560 | 7332 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
7333 Only include nan.h if SCO is defined. Define _IEEE before | |
7334 including it and undefine it afterward. | |
7335 [SCO] (isnan): Don't mistake Inf as NaN. | |
7336 | |
2559 | 7337 * Array-idx.h (assign): Only resize if assignment conforms. |
7338 | |
2551 | 7339 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7340 | |
7341 * Makefile.in (INCLUDES): Delete lo-error.h. | |
7342 * lo-error.h: Delete (moved to libcruft/misc). | |
7343 | |
7344 * Version 1.93. | |
7345 | |
2546 | 7346 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7347 | |
2549 | 7348 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
7349 be the same as they are in fnmatch.h. | |
7350 | |
2546 | 7351 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
7352 | |
7353 * Makefile.in (INCLUDES): Delete f77-fcn.h. | |
7354 (SOURCES): Delete f77-fcn.c. | |
7355 | |
2522 | 7356 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7357 | |
7358 * lo-ieee.h: [SCO]: Declare isinf and isnan. | |
7359 | |
2512 | 7360 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7361 | |
7362 * Version 1.92. | |
7363 | |
2508 | 7364 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7365 | |
2512 | 7366 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
7367 lines that have only carriage return or newline. | |
7368 | |
2508 | 7369 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
7370 | |
2500 | 7371 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7372 | |
7373 * idx-vector.cc (idx_is_inf_or_nan): New function. | |
7374 (IDX_VEC_REP::idx_vector_rep): Use it. | |
7375 | |
2493 | 7376 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7377 | |
7378 * str-vec.h, str-vec.cc: Add constructors to make string vectors | |
7379 from vectors of C strings. | |
7380 | |
7381 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string | |
7382 vector. | |
7383 (glob_match::match): Allow match string to be a string vector. | |
7384 (glob_match::glob): New function. | |
7385 | |
7386 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. | |
7387 | |
7388 * Array-b.cc: New file. | |
7389 * Makefile.in (TI_SRC): Add it to the list. | |
7390 | |
2492 | 7391 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7392 | |
7393 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h | |
7394 and safe-stat.h, to avoid getting them from $srcdir when we really | |
7395 want the version from the build directory. (Maybe this should be | |
7396 done for all the include files, not just those that are | |
7397 auto-generated? Hmm.) | |
7398 | |
2481 | 7399 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7400 | |
2482 | 7401 * Version 1.91. |
7402 | |
2481 | 7403 * Array3.cc (Array3<T>::resize): Make it work. |
7404 | |
7405 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7406 | |
7407 * oct-alloc.h, oct-alloc.cc: New files. | |
7408 * Makefile.in: Add them to the lists. | |
7409 | |
7410 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7411 | |
7412 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. | |
7413 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. | |
7414 | |
2466 | 7415 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7416 | |
7417 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, | |
7418 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
7419 file_stat::is_reg, file_stat::is_sock): Just return false if the | |
7420 underlying macro is not defined. | |
7421 | |
7422 * oct-math.h (lgamma, gamma): Delete declarations. | |
7423 (asinh, acosh, atanh, erf, erfc): Declare arg types too. | |
7424 Protect declarations with #ifdef HAVE_*. | |
7425 | |
2440 | 7426 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7427 | |
2452 | 7428 * Version 1.90. |
7429 | |
7430 * Makefile.in (DISTFILES): Add ChangeLog. | |
7431 | |
2444 | 7432 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
7433 | |
7434 * Matrix-ext.cc: Include <cfloat>, not <float.h>. | |
7435 | |
2443 | 7436 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444 | 7437 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
7438 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. | |
2443 | 7439 |
2440 | 7440 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
7441 since that is now accepatble syntax, even for built-in types. | |
7442 * Array2.h (T Array2<T>::checkelem): Likewise | |
7443 | |
2433 | 7444 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7445 | |
7446 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error | |
7447 message and return -1. | |
7448 | |
2428 | 7449 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7450 | |
2431 | 7451 * str-vec.h (str_vec_compare): Declare args as const void *, then |
7452 cast them to const string * in the body of the function. | |
7453 | |
7454 * file-ops.cc (file_stat::mode_as_string): Explicitly construct | |
7455 string from buf. | |
7456 | |
2428 | 7457 * Array3.h (Array3::checkelem): Tag bogus return value with |
7458 GCC_ATTRIBUTE_UNUSED. | |
7459 * Array2.h (Array2::checkelem): Likewise. | |
7460 | |
2424 | 7461 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7462 | |
7463 * Quad.h (Quad): Define virtual destructor. | |
7464 | |
2408 | 7465 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7466 | |
7467 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. | |
7468 | |
2401 | 7469 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7470 | |
7471 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ | |
7472 and MAIN__ extern "C". | |
7473 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. | |
7474 | |
2391 | 7475 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7476 | |
7477 * MArray-misc.cc: New file. | |
7478 * Makefile.in (MATRIX_SRC): Add it to the list. | |
7479 | |
7480 * mx-inlines.cc (equal): Return bool, not int. | |
7481 | |
7482 * idx-vector.h (idx_vector (double)): New constructor. | |
7483 | |
7484 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, | |
7485 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, | |
7486 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, | |
7487 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, | |
7488 CRowVector.cc: Logical operators return bool, not int. | |
7489 | |
7490 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): | |
7491 New function. | |
7492 | |
7493 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, | |
7494 Matrix::any_element_is_inf_or_nan, Matrix::abs, | |
7495 Matrix::all_elements_are_inf_or_nan): New functions. | |
7496 | |
7497 * Range.h, Range.cc (Range::all_elements_are_ints): New function. | |
7498 | |
7499 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant | |
7500 for errors. Simplify macros by converting FCN to string for error | |
7501 messages. | |
7502 | |
7503 * Array-idx.h (Array<T>::index): New function. Don't call | |
7504 clear_index() here. | |
7505 (Array<T>::value): Call it, do call clear_index() here. | |
7506 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for | |
7507 one and two arg index functions. | |
7508 | |
7509 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7510 | |
7511 * DAEFunc.h: Delete #pragma interface since there is no longer a | |
7512 separate implementation file. | |
7513 | |
2354 | 7514 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7515 | |
2358 | 7516 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
7517 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. | |
7518 | |
2356 | 7519 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
7520 sort_uniq. If sort_uniq is nonzero, sort the elements and make | |
7521 them uniq. | |
7522 | |
2354 | 7523 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
7524 ComplexMatrix::column_max, ComplexMatrix::column_min): | |
7525 Rewrite. Also return index as a reference arg. | |
7526 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, | |
7527 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): | |
7528 Delete. | |
7529 | |
7530 * dMatrix.cc (Matrix::row_max, Matrix::row_min, | |
7531 Matrix::column_max, Matrix::column_min): | |
7532 Rewrite. Also return index as a reference arg. | |
7533 (Matrix::row_max_loc, Matrix::row_min_loc, | |
7534 Matrix::column_max_loc, Matrix::column_min_loc): Delete. | |
7535 | |
7536 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7537 | |
7538 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, | |
7539 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, | |
7540 Matrix::column_min_loc, Matrix::column_max, | |
7541 Matrix::column_max_loc): Ignore leading NaNs. | |
7542 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, | |
7543 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, | |
7544 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, | |
7545 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore | |
7546 leading NaNs. | |
7547 | |
2352 | 7548 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7549 | |
7550 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds | |
7551 starting at n, not 0. | |
7552 | |
2349 | 7553 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7554 | |
7555 * dMatrix.cc (Matrix::Matrix (const RowVector&), | |
7556 Matrix::Matrix (const ColumnVector&)): New constructors. | |
7557 | |
7558 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), | |
7559 ComplexMatrix::ComplexMatrix (const ColumnVector&), | |
7560 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), | |
7561 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): | |
7562 New constructors. | |
7563 | |
7564 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): | |
7565 New constructor. | |
7566 | |
2343 | 7567 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7568 | |
7569 * LSODE.cc (do_integrate): Check to make sure that the state and | |
7570 derivative vectors are the same size. | |
2344 | 7571 * DASSL.cc (do_integrate): Likewise. |
2343 | 7572 |
2330 | 7573 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7574 | |
7575 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use | |
7576 iostreams and handler data format conversions. Delete old methods | |
7577 that used stdio. | |
7578 | |
7579 * data-conv.h, data-conv.cc (oct_data_conv): New class. | |
7580 | |
7581 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7582 | |
7583 * mach-info.h: Rename from float-fmt.h. | |
7584 * mach-info.cc: Rename from float-fmt.cc. | |
7585 Handle machine information using a singlton class. | |
7586 * Makefile.in: Update appropriate lists. | |
7587 | |
7588 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7589 | |
7590 * Array-flags.cc: Provide definitions for the flags even if | |
7591 OCTAVE_SOURCE is not defined. | |
7592 | |
7593 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects | |
7594 operator(), not elem(). | |
7595 * Array3.h: Move indexing methods here from Array3.cc. | |
7596 | |
7597 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7598 | |
7599 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). | |
7600 | |
7601 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of | |
7602 INSTALL_DATA for shared libs. | |
7603 | |
7604 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7605 | |
7606 * Quad.cc: Include lo-error.h here too. | |
7607 | |
7608 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7609 | |
7610 * file-ops.h: Include sys/types.h here. | |
7611 | |
7612 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7613 | |
7614 * chMatrix.cc (charMatrix::transpose): Provide definition. | |
7615 | |
7616 * Array-idx.h (maybe_delete_elements): Correctly compute number of | |
7617 elements in result. | |
7618 * Array2-idx.h (maybe_delete_elements): Likewise for number of | |
7619 rows and columns in result. | |
7620 | |
7621 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7622 | |
7623 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. | |
7624 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. | |
7625 | |
7626 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7627 | |
7628 * Makefile.in (install-inc): Install in octincludedir, not includedir. | |
7629 | |
7630 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7631 | |
7632 * Makefile.in (uninstall): Also delete shared library. | |
7633 Split install into install-libs and install-includes. | |
7634 (install-inc): If linkdir is a directory, leave it alone. | |
7635 | |
7636 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. | |
7637 | |
7638 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7639 | |
7640 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. | |
7641 * Array2-idx.h (assign): Likewise. | |
7642 | |
7643 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7644 | |
7645 * Array2.cc (Array2<T>::range_error): New functions. | |
7646 | |
7647 * Array.h (class Array<T>): elem() and operator() are now | |
7648 equivalent, and do bounds checking by default. | |
7649 * Array2.cc (class Array2<T>): Likewise. | |
7650 | |
7651 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7652 | |
7653 * Makefile.in (maintainer-clean, distclean): Also delete | |
7654 stamp-picdir, stamp-shared, and pic directory. | |
7655 (stamp-prereq): New target. | |
7656 | |
7657 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7658 | |
7659 * NPSOL.h (NPSOL_options::set_option (const char *, int)): | |
7660 New function. | |
7661 | |
7662 * Array.h, Array.cc (Array<T>::range_error ()): New functions. | |
7663 * Array.h (Array<T>::checkelem): Use them. | |
7664 | |
7665 * base-lu.h, base-lu.cc: Parameterize based on types of matrix | |
7666 elements too. | |
7667 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. | |
7668 | |
7669 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. | |
7670 | |
7671 * Makefile.in (distclean): Delete so_locations, which is created | |
7672 on DEC Alpha systems. | |
7673 | |
7674 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7675 | |
7676 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not | |
7677 already defined. | |
7678 | |
7679 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7680 | |
7681 * pathsearch.cc: Include config.h. | |
7682 | |
7683 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7684 | |
7685 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't | |
7686 allow M(I, J) = scalar if I or J is empty. | |
7687 | |
7688 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h | |
7689 and Array3-idx.h). | |
7690 | |
7691 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7692 | |
7693 * lo-error.h: Make comments C friendly. | |
7694 | |
7695 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7696 | |
7697 * Array2.h (make_unique): Move all indexing functions here. | |
7698 * Array2.cc: From here. | |
7699 | |
7700 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control | |
7701 whether operator() calls elem or checkelem. | |
7702 | |
7703 * Array.h (make_unique): New private function. | |
7704 Move all indexing functions here. | |
7705 * Array.cc: From here. | |
7706 | |
7707 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference | |
7708 it too. | |
7709 | |
7710 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, | |
7711 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, | |
7712 MArray-C.cc: Include config.h. | |
7713 | |
7714 * Array.h, Array2.h, DiagArray2.h, Array3.h: | |
7715 Don't define HEAVYWEIGHT_INDEXING here. | |
7716 | |
7717 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7718 | |
7719 * base-lu.h, base-lu.cc: New files. | |
7720 * Makefile.in: Add them to the appropriate lists. | |
7721 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. | |
7722 | |
7723 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7724 | |
7725 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h | |
7726 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h | |
7727 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. | |
7728 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. | |
7729 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. | |
7730 | |
7731 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. | |
7732 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. | |
7733 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. | |
7734 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: | |
7735 Simplify using new macros. | |
7736 | |
7737 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7738 | |
7739 * Makefile.in (install): If $(includedir) ends in version string, | |
7740 make link to name that does not include version info. | |
7741 | |
7742 * lo-ieee.cc: Include <cmath> here. | |
7743 | |
7744 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7745 | |
7746 * lo-ieee.cc, lo-ieee.h: New files. | |
7747 * lo-mappers.cc, lo-mappers.h: New files. | |
7748 * lo-utils.cc, lo-utils.h: New files. | |
7749 * Makefile.in: Add them to the appropriate lists. | |
7750 | |
7751 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7752 | |
7753 * dMatrix.cc (all_integers, too_large_for_float): New functions. | |
7754 * CMatrix.cc (all_integers, too_large_for_float): New functions. | |
7755 | |
7756 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, | |
7757 float-fmt.cc: New files. | |
7758 * Makefile.in: Include them in the appropriate lists. | |
7759 | |
7760 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7761 | |
7762 * dMatrix.cc (Qzval): New function. | |
7763 | |
7764 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7765 | |
7766 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not | |
7767 char*. | |
7768 | |
7769 * DASSL.h, DASSL.cc: Do better management of temporary workspace. | |
7770 Use F77_XFCN to call Fortran subroutine. | |
7771 * dColVector.cc, CColVector.cc: Likewise. | |
7772 * dRowVector.cc, CRowVector.cc: Likewise. | |
7773 * NPSOL.h, NPSOL.cc: Likewise. | |
7774 * CmplxCHOL.cc: Likewise. | |
7775 * dbleCHOL.cc: Likewise. | |
7776 * CMatrix.cc: Likewise. | |
7777 * dMatrix.cc: Likewise. | |
7778 * QPSOL.cc: Likewise. | |
7779 * LSODE.cc: Likewise. | |
7780 | |
7781 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7782 | |
7783 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. | |
7784 | |
7785 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary | |
7786 workspace. Use F77_XFCN to call Fortran subroutine. | |
7787 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. | |
7788 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. | |
7789 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. | |
7790 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. | |
7791 * CmplxHESS.h, CmplxHESS.cc: Likewise. | |
7792 * CmplxSVD.h, CmplxSVD.cc: Likewise. | |
7793 * dbleHESS.h, dbleHESS.cc: Likewise. | |
7794 * dbleSVD.h, dbleSVD.cc: Likewise. | |
7795 * EIG.h, EIG.cc; Likewise. | |
7796 * CollocWt.cc: Likewise. | |
7797 * NLEqn.cc: Likewise. | |
7798 * Quad.cc: Likewise. | |
7799 | |
7800 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7801 | |
7802 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. | |
7803 Use F77_XFCN to call Fortran subroutine. | |
7804 * CmplxLU.h, CmplxLU.cc: Ditto. | |
7805 * dbleQR.h, dbleQR.cc: Ditto. | |
7806 * CmplxQR.h, CmplxQR.cc: Ditto. | |
7807 * dbleQRP.h, dbleQRP.cc: Ditto. | |
7808 * CmplxQRP.h, CmplxQRP.cc: Ditto. | |
7809 | |
7810 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. | |
7811 (struct DIR): delete forward declaration. | |
7812 (dir_entry::operator = (const dir_entry$)): Protect against | |
7813 copying same object. | |
7814 * dir-ops.cc: Cast dir appropriately. | |
7815 | |
7816 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7817 | |
7818 * lo-error.cc: Moved to libcruft/misc. | |
7819 * Makefile.in: Delete it from the list. | |
7820 | |
7821 * f77-fcn.c (f77_context, f77_exception_encountered): Delete | |
7822 definitions (they have been moved to libcruft/misc/f77-extern.cc). | |
7823 | |
7824 * Array-flags.h: New file. | |
7825 * Array-idx.h: Include it here. | |
7826 * Makefile.in (MATRIX_INC): Add it to the list. | |
7827 | |
7828 * Array-flags.cc: Renamed from Array-ext.cc. | |
7829 (liboctave_dfi_flag): Renamed from dfi_flag. | |
7830 (liboctave_pcv_flag): Renamed from pcv_flag. | |
7831 (liboctave_pzo_flag): Renamed from pzo_flag. | |
7832 (liboctave_rre_flag): Renamed from rre_flag. | |
7833 * Array-idx.h: Change all uses of dfi_flag, etc. | |
7834 * Makefile.in (MATRIX_SRC): Change file name here too. | |
7835 | |
7836 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. | |
7837 (stamp-shared): Use them here. | |
7838 | |
7839 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7840 | |
7841 * cmd-hist.cc (command_history::ignore_entries): Delete default | |
7842 argument value. | |
7843 | |
7844 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7845 | |
7846 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, | |
7847 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, | |
7848 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, | |
7849 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: | |
7850 Clean up constructors, assigment operator. | |
7851 | |
7852 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7853 | |
7854 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. | |
7855 Check f77_exception_encountered on return. | |
7856 | |
7857 * f77-fcn.c (f77_exception_encountered): New variable. | |
7858 (F77_XFCN): Set it. | |
7859 * f77-fcn.h: Provide declaration. | |
7860 | |
7861 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). | |
7862 | |
7863 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). | |
7864 | |
7865 * NLEqn.h (NLEqn_options::set_options): New function. | |
7866 * Quad.h (Quad_options::set_options): Likewise. | |
7867 | |
7868 * LP.h (class LP): Add accessors for LP data. | |
7869 | |
7870 * NLEqn.h (NLEqn::n): Delete. | |
7871 | |
7872 * NLEqn.h (class NLEqn::n): Likewise. | |
7873 | |
7874 * NLP.h (class NLP): Add accessors for NLP data. | |
7875 | |
7876 * NPSOL.h (class NPSOL_options): Move constructors, set, and | |
7877 access functions here. | |
7878 * NPSOL.cc.cc: From here. | |
7879 | |
7880 * QLD.h (class QLD): Add destructor definition. | |
7881 * Objective.h (class Objective): Likewise. | |
7882 * ODEFunc.h (class ODEFunc): Likewise. | |
7883 * NLFunc.h (class NLFunc): Likewise. | |
7884 * NLEqn.h (class NLEqn): Likewise. | |
7885 * NLConst.h (class NLConst): Likewise. | |
7886 * LinConst.h (class LinConst): Likewise. | |
7887 * LSODE.h (class LSODE_options): Likewise. | |
7888 * CollocWt.h (class CollocWt): Likewise. | |
7889 * Bounds.h (class Bounds): Likewise. | |
7890 | |
7891 * QLD.cc (QLD::set_default_options): Delete. | |
7892 | |
7893 * QP.h (QP): Add accessors for QP data. | |
7894 Add copy constructor, operator =, and destructor definitions. | |
7895 | |
7896 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, | |
7897 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, | |
7898 DAEFunc.h, CollocWt.h, Bounds.h: | |
7899 Clean up constructors, assigment operator. | |
7900 | |
7901 * dRowVector.cc (RowVector::transpose): Use magic of reference | |
7902 counting to avoid duplicating the data immediately. | |
7903 * dColVector.cc (ColumnVector::transpose): Likewise. | |
7904 * CRowVector.cc (ComplexrowVector::transpose): Likewise. | |
7905 * CColVector.cc (ComplexColumnVector::transpose): Likewise. | |
7906 | |
7907 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7908 | |
7909 * prog-args.h (prog_args::option_argument): New enum. | |
7910 | |
7911 * f77-fcn.h: Rename from f77-uscore.h. | |
7912 (F77_XFCN_ERROR, F77_XFCN): New macros. | |
7913 * f77-fcn.c: New file. | |
7914 * Makefile.in (SOURCES): Add it to the list. | |
7915 | |
7916 * ODEFunc.h: Clean up. | |
7917 | |
7918 * DASSL.cc, DASSL.h: New files. | |
7919 * Makefile.in: Add them to the appropriate lists. | |
7920 | |
7921 * LSODE.cc, LSODE.h: New files. | |
7922 * Makefile.in: Add them to the appropriate lists. | |
7923 | |
7924 * ODE.cc: Delete. | |
7925 * Makefile.in (SOURCES): Remove from list. | |
7926 | |
7927 * base-de.h, DAE.cc: New files. | |
7928 * Makefile.in: Add them to the appropriate lists. | |
7929 * ODE.h: Only define interface for ODE classes. | |
7930 * DAE.h: Only define interface for ODE classes. | |
7931 | |
7932 * LPsolve.cc (do_minimize): Print sorry not implemented message. | |
7933 (LPsolve::set_default_options)): Delete | |
7934 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and | |
7935 destructor. | |
7936 | |
7937 * LP.h (class LP): Add operator =, copy constructor, and destructor. | |
7938 | |
7939 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. | |
7940 (QPSOL::operator =): Call base class operator = instead of assuming | |
7941 we know what to copy. | |
7942 | |
7943 * base-min.h (size): New function. | |
7944 | |
7945 * NLP.h (NLP::size): Delete. | |
7946 (NLP::NLP (const NLP&)): New constructor. | |
7947 (NLP::operator =): Call base class operator = instead of assuming | |
7948 we know what to copy. | |
7949 | |
7950 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. | |
7951 (class NPSOL): Add operator = and destructor. | |
7952 | |
7953 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. | |
7954 | |
7955 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7956 | |
7957 * Makefile.in (liboctave.a): Depend on $(PICOBJ). | |
7958 | |
7959 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7960 | |
7961 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. | |
7962 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. | |
7963 | |
7964 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7965 | |
7966 * prog-args.h, prog-args.cc: New files. | |
7967 * Makefile.in: Add them to lists. | |
7968 | |
7969 * getopt.h, getopt.c, getopt1.c: New files. | |
7970 * Makefile.in: Add them to the lists. | |
7971 | |
7972 * oct-term.h, oct-term.cc: New files. | |
7973 * Makefile.in: Add them to the lists. | |
7974 | |
7975 * str-vec.cc: New file. | |
7976 * Makefile.in (SOURCES): Add it to the list. | |
7977 | |
7978 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. | |
7979 | |
7980 * tempname.c, tempnam.c: Move here from src directory. | |
7981 * Makefile.in: Add to lists. | |
7982 | |
7983 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7984 | |
7985 * cmd-hist.h, cmd-hist.cc: New files. | |
7986 * Makefile.in: Add them to lists. | |
7987 | |
7988 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7989 | |
7990 * oct-glob.h, oct-glob.cc: New files. | |
7991 * Makefile.in: Add them to lists. | |
7992 | |
7993 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7994 | |
7995 * pathsearch.h, pathsearch.cc: New files. | |
7996 * Makefile.in: Add them to lists. | |
7997 | |
7998 * dir-ops.h, dir-ops.cc: New files. | |
7999 * sysdir.h: Move here from src directory. | |
8000 * Makefile.in: Add them to lists. | |
8001 | |
8002 * Array.h (Array::qsort): Return *this, not void. | |
8003 * str-vec.h (string_vector::qsort): Likewise. | |
8004 | |
8005 * chMatrix.cc (row_as_string): Resize result to eliminate | |
8006 unnecessary NULs. | |
8007 | |
8008 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8009 | |
8010 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, | |
8011 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: | |
8012 Files moved here from src directory. | |
8013 * Makefile.in: Add them to lists. Include appropriate rules. | |
8014 | |
8015 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
8016 Use pointers, not references (this is C code!). | |
8017 | |
8018 * oct-math.h: New file. | |
8019 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
8020 Files moved here from src directory. | |
8021 * Makefile.in: Add them to lists. | |
8022 | |
8023 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8024 | |
8025 * idx-vector.cc (make_uniq): Fix major brain-o. | |
8026 | |
8027 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: | |
8028 Convert to use string class instead of char*. | |
8029 | |
8030 * str-vec.h, Array-str.cc: New files. | |
8031 | |
8032 * Array.h (Array::qsort): New function. | |
8033 | |
8034 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8035 | |
8036 * Array.h: Nest ArrayRep class inside Array class. | |
8037 Refer to ArrayRep, not ArrayRep<T>. | |
8038 Move all ArrayRep functions inline. | |
8039 Don't declare other Array classes as friends of ArrayRep. | |
8040 * Array.cc: Delete ArrayRep functions. | |
8041 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. | |
8042 | |
8043 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: | |
8044 Don't instantiate ArrayRep objects. | |
8045 | |
8046 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8047 | |
8048 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
8049 New constructor. | |
8050 | |
8051 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8052 | |
8053 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* | |
8054 for balance_job arg. | |
8055 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. | |
8056 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. | |
8057 | |
8058 * chMatrix.cc (row_as_string): Return string, not const char*. | |
8059 | |
8060 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8061 | |
8062 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. | |
8063 | |
8064 * chMatrix.cc (row_as_string): Undo previous change. | |
8065 | |
8066 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8067 | |
8068 * chMatrix.cc (row_as_string): Do memory management here. Caller | |
8069 is expected to save string if necessary. | |
8070 | |
8071 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8072 | |
8073 * Array.h (class DiagArray): Enable nested Proxy class for all | |
8074 platforms. | |
8075 | |
8076 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == | |
8077 a.rep, don't mess with count. | |
8078 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, | |
8079 don't do anything if reps are the same. | |
8080 (Array3<T>& operator = (const Array3<T>&) | |
8081 | |
8082 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): | |
8083 Declare private with no definition to prevent misuse. | |
8084 | |
8085 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): | |
8086 Get range check right. | |
8087 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. | |
8088 (Matrix::insert (const ColumnVector&, int, int)): Ditto. | |
8089 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. | |
8090 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. | |
8091 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. | |
8092 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. | |
8093 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. | |
8094 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. | |
8095 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. | |
8096 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. | |
8097 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. | |
8098 * dColVector.cc | |
8099 (ColumnVector::insert (const ColumnVector&, int)): Ditto. | |
8100 * CRowVector.cc | |
8101 (ComplexRowVector::insert (const RowVector&, int)): Ditto. | |
8102 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. | |
8103 * CColVector.cc | |
8104 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. | |
8105 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. | |
8106 | |
8107 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): | |
8108 Also fill in zeros, not just the diagonal. | |
8109 | |
8110 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): | |
8111 Use END parameter properly. | |
8112 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. | |
8113 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. | |
8114 | |
8115 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. | |
8116 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. | |
8117 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): | |
8118 Don't copy count. Set it to 1. | |
8119 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. | |
8120 | |
8121 * Array.h (Array<T>::Array (T *, int)): After constructing rep, | |
8122 don't set rep->count to 1 here (now handled by ArrayRep | |
8123 constructors). | |
8124 (Array<T>::Array (void)): Ditto. | |
8125 (Array<T>::Array (int)): Ditto. | |
8126 (Array<T>::T& elem (int)): Ditto. | |
8127 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. | |
8128 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. | |
8129 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. | |
8130 (Array<T>::resize (int)): Ditto. | |
8131 (Array<T>::resize (int, const T&)) :Ditto. | |
8132 (Array<T>::fortran_vec (void)): Ditto. | |
8133 (Array2<T>::resize (int, int)): Ditto. | |
8134 (Array2<T>::resize (int, int, const T&)): Ditto. | |
8135 (DiagArray<T>::resize (int, int)): Ditto. | |
8136 (DiagArray<T>::resize (int, int, const T&)): Ditto. | |
8137 | |
8138 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8139 | |
8140 * Array-ch.cc: Rename from Array-c.cc. | |
8141 * MArray-ch.cc: Rename from MArray-c.cc. | |
8142 * chMatrix.cc: Rename from cMatrix.cc. | |
8143 * chMatrix.h: Rename from cMatrix.h. | |
8144 * Makefile.in (TI_SRC): Use new names here. | |
8145 * mx-base.h: Likewise. | |
8146 | |
8147 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8148 | |
8149 * Makefile.in: Handle shared libraries. | |
8150 | |
8151 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8152 | |
8153 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): | |
8154 Correctly compute length of return value. Correct rows and | |
8155 columns in zgemv call. | |
8156 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. | |
8157 | |
8158 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8159 | |
8160 * Makefile.in (stamp-picdir): New target. | |
8161 (all): Depend on it. | |
8162 | |
8163 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8164 | |
8165 * Makefile.in (INCLUDES): Remove QLD.h. | |
8166 (SOURCES): Remove QLD.cc. | |
8167 | |
8168 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8169 | |
8170 * dMatrix.cc (Matrix::inverse): New arg, force. | |
8171 If force is nonzero, invert even if matrix is singular. | |
8172 (ComplexMatrix::inverse): Likewise. | |
8173 | |
8174 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, | |
8175 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, | |
8176 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: | |
8177 Include "oct-cmplx.h" instead of <Complex.h>. | |
8178 | |
8179 * mx-defs.h: Include oct-cmplx.h in place of forward declaration | |
8180 for class Complex. | |
8181 | |
8182 * oct-cmplx.h: New file. | |
8183 * Makefile.in (INCLUDES): Add it to the list. | |
8184 | |
8185 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. | |
8186 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. | |
8187 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. | |
8188 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): | |
8189 Avoid g++ bugs. | |
8190 | |
8191 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8192 | |
8193 * Array-idx.h (maybe_delete_elements): Give useful error message. | |
8194 | |
8195 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. | |
8196 | |
8197 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8198 | |
8199 * CDiagMatrix.cc (inverse): Return retval, not *this. | |
8200 * dDiagMatrix.cc (inverse): Use same method as for Complex case. | |
8201 | |
8202 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8203 | |
8204 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep | |
8205 index vector object with Array, not ArrayRep. | |
8206 | |
8207 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8208 | |
8209 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail | |
8210 if index is a colon and resizing is maybe needed. | |
8211 | |
8212 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8213 | |
8214 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true | |
8215 if we have a vector of 1's. | |
8216 | |
8217 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no | |
8218 current orientation, require index and rhs to conform unless | |
8219 do_fortran_indexing flag is set. | |
8220 | |
8221 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8222 | |
8223 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, | |
8224 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, | |
8225 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, | |
8226 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, | |
8227 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: | |
8228 Massive changes to support additional data types. Only charMatrix | |
8229 is currently used in Octave. | |
8230 | |
8231 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8232 | |
8233 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. | |
8234 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): | |
8235 Simply call Array2<Complex> version. | |
8236 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just | |
8237 call Array2<double> version. | |
8238 | |
8239 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. | |
8240 | |
8241 * Array.h, Array.cc: Massive overhaul to support new way of | |
8242 handling indexing. | |
8243 * idx-vector.h, idx-vector.cc: Likewise. | |
8244 * Array-ext.cc, Array-idx.h: New files. | |
8245 * Makefile.in: Add them to the appropriate lists. | |
8246 | |
8247 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8248 | |
8249 * Range.cc (nelem_internal): Use tfloor here, not round. | |
8250 | |
8251 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8252 | |
8253 * idx-vector.h, idx-vector.cc: New files, moved from ../src. | |
8254 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. | |
8255 | |
8256 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8257 | |
8258 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. | |
8259 | |
8260 * Array.h: Move simple member functions here. | |
8261 * Array.cc: From here. | |
8262 | |
8263 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8264 | |
8265 * Range.cc (tfloor, tceil, round): New static functions. | |
8266 (Range::nelem_internal): Rewrite to use better method. | |
8267 | |
8268 * dbleSVD.h (SVD::type): New item, sigma_only. | |
8269 (type_computed): New var. | |
8270 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): | |
8271 Handle possible error condition. | |
8272 (init): Allow for SVD::sigma_only, save type computed. | |
8273 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): | |
8274 Handle possible error condition. | |
8275 (init): Allow for SVD::sigma_only, save type computed. | |
8276 | |
8277 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8278 | |
8279 * Nearly all non-matrix .h and .cc files: | |
8280 Move short function bodies into class declarations for inlining. | |
8281 Generally clean up. | |
8282 | |
8283 * base-min.h: New file. | |
8284 * LP.h (class LP): Derive from base_minimizer. | |
8285 * QLP.h (class QLP): Derive from base_minimizer. | |
8286 * NLP.h (class NLP): Derive from base_minimizer. | |
8287 * Makefile.in (INCLUDES): Add base-min.h to the list. | |
8288 | |
8289 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, | |
8290 NLFunc.cc, Objective.cc and QP.cc from list. | |
8291 | |
8292 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8293 | |
8294 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. | |
8295 (SCHUR::SCHUR): Delete unused parameter ord. | |
8296 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. | |
8297 | |
8298 * CRowVector.cc | |
8299 (ComplexRowVector::operator+ (const Complex&, const RowVector&), | |
8300 (ComplexRowVector::operator- (const Complex&, const RowVector&), | |
8301 (ComplexRowVector::operator* (const Complex&, const RowVector&), | |
8302 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): | |
8303 Actually do something. | |
8304 | |
8305 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. | |
8306 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. | |
8307 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. | |
8308 | |
8309 * Quad.cc (Quad_options::Quad_options (double, double)): New function. | |
8310 * (Quad::Quad (integrand_fcn, double, double): Properly initialize | |
8311 tolerances. | |
8312 | |
8313 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. | |
8314 * LPsolve.cc (LPsolve::minimize): Likewise. | |
8315 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. | |
8316 * ODE.cc (lsode_f, lsode_j): Likewise. | |
8317 * QPSOL.cc (qphess): Likewise. | |
8318 | |
8319 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8320 | |
8321 * dMatrix.cc: Include <cstring>. | |
8322 | |
8323 * Array.cc: Try harder to avoid warnings from gcc in functions | |
8324 that return bogus values after calling the error handler. | |
8325 | |
8326 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8327 | |
8328 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. | |
8329 | |
8330 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. | |
8331 | |
8332 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8333 | |
8334 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. | |
8335 (dassl_j): Likewise. | |
8336 | |
8337 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, | |
8338 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, | |
8339 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: | |
8340 Update for change in for loop variable scope for gcc 2.7.0. | |
8341 | |
8342 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8343 | |
8344 * Makefile.in: Only include dependency files if $(omit_deps) is | |
8345 not set. | |
8346 | |
8347 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) | |
8348 | |
8349 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h | |
8350 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h | |
8351 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h | |
8352 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h | |
8353 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h | |
8354 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h | |
8355 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h | |
8356 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h | |
8357 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc | |
8358 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc | |
8359 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc | |
8360 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc | |
8361 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc | |
8362 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc | |
8363 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc | |
8364 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc | |
8365 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc | |
8366 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h | |
8367 NLP.h: Use pragma interface/implementation. Don't surround | |
8368 contents in extern "C++". | |
8369 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". | |
8370 | |
8371 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8372 | |
8373 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase | |
8374 identifiers. | |
8375 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
8376 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
8377 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
8378 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
8379 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
8380 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
8381 Quad.cc: Change usage of F77_FCN to match new definition | |
8382 | |
8383 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
8384 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
8385 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
8386 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
8387 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
8388 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
8389 Quad.cc: Where appropriate, declare Fortran subroutines to take | |
8390 args by reference instead of pointer. Change all callers. | |
8391 | |
8392 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8393 | |
8394 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New | |
8395 functions. Make += and -= operators friend functions. | |
8396 | |
8397 * Array.h (Array2::~Array2, Array3::~Array3, | |
8398 DiagArray::~DiagArray): New functions. | |
8399 | |
8400 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8401 | |
8402 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. | |
8403 (MATRIX_INC): Don't distribute mx-kludge.h. | |
8404 | |
8405 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
8406 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
8407 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
8408 dRowVector.h dRowVector.cc: | |
8409 Derive classes from MArray, MArray2, and MDiagArray, not Array, | |
8410 Array2, and DiagArray2. | |
8411 Don't use functions defined in mx-kludge.cc for arithmetic | |
8412 like-type operations on arrays. | |
8413 | |
8414 * MArray.cc: Use the classes defined here like-type mathematical | |
8415 operations on Array objects. Abuse CPP more. | |
8416 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
8417 (EXTRAS): Delete it from this list. | |
8418 | |
8419 * MArray-C.cc, MArray-d.cc: New files. | |
8420 * Makefile.in (TI_SRC): Add them to the list. | |
8421 | |
8422 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8423 | |
8424 * mx-kludge.cc: Abuse CPP even more. | |
8425 | |
8426 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8427 | |
8428 * Objective.h (objective_function): Add missing const. | |
8429 (gradient_function): Likewise. | |
8430 | |
8431 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
8432 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
8433 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
8434 dRowVector.h dRowVector.cc: | |
8435 Reorganize to declare and define friends where they should be, | |
8436 based on the use of private constructors. | |
8437 | |
8438 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8439 | |
8440 * CRowVector.h (linspace): Add declaration. | |
8441 * dRowVector.h (linspace): Likewise. | |
8442 | |
8443 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
8444 Force result of rcond + 1.0 to be stored. | |
8445 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, | |
8446 ComplexMatrix::solve): Likewise. | |
8447 | |
8448 See ChangeLog.1 in the top level directory for earlier changes. |