Mercurial > hg > octave-lojdl
annotate liboctave/ChangeLog @ 8987:542015fada9e
Eliminate the workspace in sparse transpose.
The output's cidx (column start offset array) can serve as the
workspace, so the routines operate in the space of their output.
author | Jason Riedy <jason@acm.org> |
---|---|
date | Mon, 16 Mar 2009 17:03:07 -0400 |
parents | e781ab1aee39 |
children | 1b097d86a61a |
rev | line source |
---|---|
8987
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
1 2009-03-16 Jason Riedy <jason@acm.org> |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
2 |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
3 * Sparse.cc (transpose): Eliminate the workspace by computing in |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
4 retval.xcidx. |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
5 * CSparse.cc (hermitian): Eliminate the workspace by computing in |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
6 retval.xcidx. |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
7 |
8982
dc6bda6f9994
implement compound logical ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8981
diff
changeset
|
8 2009-03-14 Jaroslav Hajek <highegg@gmail.com> |
dc6bda6f9994
implement compound logical ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8981
diff
changeset
|
9 |
8983
e781ab1aee39
optimize comparison ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8982
diff
changeset
|
10 * mx-op-decl.h (NDS_BOOL_OP_DECLS, SND_BOOL_OP_DECLS, NDND_BOOL_OP_DECLS): Support compound binary ops. |
e781ab1aee39
optimize comparison ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8982
diff
changeset
|
11 * mx-op-defs.h (NDS_BOOL_OPS, SND_BOOL_OPS, NDND_BOOL_OPS): Ditto. Optimize. |
e781ab1aee39
optimize comparison ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8982
diff
changeset
|
12 * mx-op-defs.h (NDS_CMP_OP, SND_CMP_OP, NDND_CMP_OP): Optimize. |
8982
dc6bda6f9994
implement compound logical ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8981
diff
changeset
|
13 |
8981
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
14 2009-03-14 Jaroslav Hajek <highegg@gmail.com> |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
15 |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
16 * fNDArray.h (FloatMatrix::matrix_value): Fix return type. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
17 * dNDArray.cc (Matrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
18 * fNDArray.cc (FloatMatrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
19 * CNDArray.cc (ComplexMatrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
20 * fCNDArray.cc (FloatComplexMatrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
21 |
8971 | 22 2009-03-13 Jaroslav Hajek <highegg@gmail.com> |
23 | |
24 * Range.h (Range::Range (double, double, octave_idx_type)): Remove | |
25 constructor body. | |
26 * Range.cc: Move it here. Check for invalid range op results. | |
27 (all operators): Validate cache for invalid range op results. | |
8972
5fa53d1b6247
more indexing optimizations
Jaroslav Hajek <highegg@gmail.com>
parents:
8971
diff
changeset
|
28 * idx-vector.h (idx_vector::index): Optimize zero-step range case. |
5fa53d1b6247
more indexing optimizations
Jaroslav Hajek <highegg@gmail.com>
parents:
8971
diff
changeset
|
29 * idx-vector.cc (idx_vector::maybe_reduce): Always reduce colon in |
5fa53d1b6247
more indexing optimizations
Jaroslav Hajek <highegg@gmail.com>
parents:
8971
diff
changeset
|
30 singleton dimension. |
8971 | 31 |
8969
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
32 2009-03-10 Jason Riedy <jason@acm.org> |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
33 |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
34 * sparse-base-lu.cc (Pr_mat): New member function. Return the row |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
35 permutation as a PermMatrix. |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
36 (Pc_mat): New member function. Return the col permutation as a |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
37 PermMatrix. |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
38 |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
39 * sparse-base-lu.h (sparse_base_lu): Declare Pc_mat and Pr_mat |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
40 member functions. |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
41 |
8966
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
42 2009-03-09 Jason Riedy <jason@acm.org> |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
43 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
44 * Sparse-diag-op-defs.h (octave_impl::inner_do_add_sm_dm): New |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
45 template function. Implementation for adding sparse and diagonal |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
46 matrices. Takes two functional arguments, opa and opd, to |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
47 generate both subtraction variants. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
48 (octave_impl::do_commutative_add_dm_sm): New template function. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
49 Ensure A+D and D+A use the same generated code. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
50 (octave_impl::do_add_dm_sm): New template function. Check |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
51 arguments for diag + sparse and call inner routine. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
52 (octave_impl::do_sub_dm_sm): New template function. Check |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
53 arguments for diag - sparse and call inner routine. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
54 (octave_impl::do_add_sm_dm): New template function. Check |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
55 arguments for sparse + diag and call inner routine. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
56 (octave_impl::do_sub_sm_dm): New template function. Check |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
57 arguments for sparse - diag and call inner routine. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
58 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
59 * dSparse.h (operator +): Declare overrides for real diag + |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
60 sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
61 (operator -): Declare overrides for real diag - sparse, sparse - |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
62 diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
63 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
64 * dSparse.cc (operator +): Define overrides for real diag + |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
65 sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
66 (operator -): Define overrides for real diag - sparse, sparse - |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
67 diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
68 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
69 * CSparse.h (operator +): Declare overrides for complex and real |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
70 combinations of diag + sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
71 (operator -): Declare overrides for complex and real combinations |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
72 of diag - sparse, sparse - diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
73 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
74 * CSparse.cc (operator +): Define overrides for complex and real |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
75 combinations of diag + sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
76 (operator -): Define overrides for complex and real combinations |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
77 of diag - sparse, sparse - diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
78 |
8964
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
79 2009-03-08 Jason Riedy <jason@acm.org> |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
80 |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
81 * Sparse-diag-op-defs.h (octave_impl::do_mul_dm_sm) |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
82 (octave_impl::do_mul_sm_dm): New template |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
83 functions. Implementations for sparse * diag and diag * sparse. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
84 |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
85 * CSparse.h (operator *, trans_mul, herm_mul): Add overloads for |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
86 DiagMatrix and ComplexDiagMatrix. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
87 * CSparse.cc (operator *, trans_mul, herm_mul): Implement |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
88 operations by calling approprate functions in |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
89 Sparse-diag-op-defs.h. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
90 * dSparse.h (operator *, trans_mul): Add overloads for DiagMatrix. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
91 * dSparse.cc (operator *, trans_mul): Implement operations by |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
92 calling approprate functions in Sparse-diag-op-defs.h. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
93 |
8963
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
94 2009-03-12 John W. Eaton <jwe@octave.org> |
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
95 |
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
96 * oct-inttypes.h (bitshift): Apply mask even if not shifting. |
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
97 From Seb Astien <se6astien2@googlemail.com>. |
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
98 |
8958
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
99 2009-03-11 Jaroslav Hajek <highegg@gmail.com> |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
100 |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
101 * PermMatrix.cc (PermMatrix::power): New method. |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
102 * PermMatrix.h: Declare it. |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
103 |
8956
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
104 2009-03-11 Jaroslav Hajek <highegg@gmail.com> |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
105 |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
106 * dNDArray.cc (NDArray::NDArray (const charNDArray&)): New |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
107 constructor. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
108 * fNDArray.cc (FloatNDArray::FloatNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
109 Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
110 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
111 Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
112 * fCNDArray.cc (FloatComplexNDArray::FloatComplexNDArray |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
113 (const charNDArray&)): Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
114 |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
115 * dNDArray.h (NDArray::NDArray (const charNDArray&)): Declare. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
116 * fNDArray.h (FloatNDArray::FloatNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
117 Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
118 * CNDArray.h (ComplexNDArray::ComplexNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
119 Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
120 * fCNDArray.h (FloatComplexNDArray::FloatComplexNDArray |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
121 (const charNDArray&)): Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
122 |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
123 * dMatrix.cc (Matrix::Matrix (const charMatrix&)): Cast to unsigned |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
124 chars. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
125 * fMatrix.cc (FloatMatrix::FloatMatrix (const charMatrix&)): Likewise. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
126 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
127 Likewise. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
128 * fCMatrix.cc (FloatComplexMatrix::FloatComplexMatrix |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
129 (const charMatrix&)): Likewise. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
130 |
8954
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
131 2009-03-10 Jason Riedy <jason@acm.org> |
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
132 |
8968
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
133 * Sparse-perm-op-defs.h (octinternal_do_mul_colpm_sm): New |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
134 template function. Logic for the column permutation * sparse |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
135 matrix operator. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
136 (octinternal_do_mul_pm_sm): New template function. Logic for the |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
137 permutation matrix * sparse matrix operator. Note that there is |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
138 no special row perm * sparse routine; the permutation is inverted |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
139 and the col perm routine is called. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
140 (octinternal_do_mul_sm_rowpm): New template function. Logic for |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
141 the sparse matrix * row permutation operator. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
142 (octinternal_do_mul_sm_colpm): New template function. Logic for |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
143 the sparse matrix * column permutation operator. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
144 (octinternal_do_mul_sm_pm): New template function. Logic for the |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
145 sparse matrix * permutation matrix operator. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
146 |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
147 * dSparse.h (operator *): Declare sparse * permutation and |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
148 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
149 * dSparse.cc (operator *): Define sparse * permutation and |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
150 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
151 |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
152 * CSparse.h (operator *): Declare sparse * permutation and |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
153 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
154 * CSparse.cc (operator *): Define sparse * permutation and |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
155 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
156 |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
157 2009-03-10 Jason Riedy <jason@acm.org> |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
158 |
8954
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
159 * sparse-base-lu.cc (Pc_vec): The column permutation should be |
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
160 Ufact.cols ()-long, not Lfact.rows ()-long. |
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
161 |
8951
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
162 2009-03-10 Jason Riedy <jason@acm.org> |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
163 |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
164 * dSparse.cc (SparseMatrix::SparseMatrix (const PermMatrix&)): |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
165 Fix conversion to add values to the matrix as well as getting |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
166 structure correct. |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
167 |
8950
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
168 2009-03-10 John W. Eaton <jwe@octave.org> |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
169 |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
170 * Array.h, ArrayN.h, Bounds.h, CmplxAEPBAL.h, CmplxCHOL.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
171 CmplxGEPBAL.h, CmplxHESS.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
172 CmplxSVD.h, CollocWt.h, EIG.h, FEGrid.h, LinConst.h, Range.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
173 Sparse.h, SparseCmplxQR.h, SparseQR.h, dbleAEPBAL.h, dbleCHOL.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
174 dbleGEPBAL.h, dbleHESS.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
175 dbleSVD.h, dim-vector.h, fCmplxAEPBAL.h, fCmplxCHOL.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
176 fCmplxGEPBAL.h, fCmplxHESS.h, fCmplxQR.h, fCmplxQRP.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
177 fCmplxSCHUR.h, fCmplxSVD.h, fEIG.h, floatAEPBAL.h, floatCHOL.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
178 floatGEPBAL.h, floatHESS.h, floatQR.h, floatQRP.h, floatSCHUR.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
179 floatSVD.h, idx-vector.h, lo-utils.h, oct-inttypes.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
180 oct-spparms.h, str-vec.h: Include <iosfwd> instead of <iosstream>. |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
181 |
8949
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
182 2009-03-10 Jaroslav Hajek <highegg@gmail.com> |
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
183 |
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
184 * mx-inlines.cc (OP_CUMMINMAX_FCN2): r -> r0 where appropriate. |
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
185 |
8934
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
186 2009-03-08 Jaroslav Hajek <highegg@gmail.com> |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
187 |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
188 * idx-vector.h (idx_vector::bloop): loop --> bloop. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
189 (idx_vector::loop): New method. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
190 * MArray.cc (MArray<T>::idx_add (cons idx_vector&, T)) |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
191 (MArray<T>::idx_add (cons idx_vector&, const MArray<T>&)): New methods. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
192 * MArray.h: Declare them. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
193 |
8918
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
194 2009-03-05 Jason Riedy <jason@acm.org> |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
195 |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
196 * Sparse.h (Sparse<T>::elt_type): Remove typedef, replace with: |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
197 * Sparse.h (Sparse<T>::element_type): Add typedef to be consistent |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
198 with Array.h |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
199 * DiagArray2.h (DiagArray2<T>::elt_type): Likewise, removed. |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
200 * DiagArray2.h (DiagArray2<T>::element_type): Define by using |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
201 Array<T>::element_type. |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
202 * intNDArray.h (intNDArray<T>::element_type): Remove, inherited |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
203 from MArrayN<T>. |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
204 |
8910
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
205 2009-03-05 Jaroslav Hajek <highegg@gmail.com> |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
206 |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
207 * dSparse.h (SparseMatrix::SparseMatrix(const PermMatrix&)): New |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
208 constructor. |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
209 (SparseMatrix::SparseMatrix(const DiagMatrix&)): Fix implementation. |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
210 * CSparse.h (SparseComplexMatrix::SparseComplexMatrix(const ComplexDiagMatrix&)): |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
211 Fix implementation. |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
212 |
8908
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
213 2009-03-04 Jaroslav Hajek <highegg@gmail.com> |
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
214 |
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
215 * PermMatrix.h (PermMatrix::elem): Fix comparisons. |
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
216 |
8904
4de5544a1d1d
simplify also float version of xmin/xmax
Jaroslav Hajek <highegg@gmail.com>
parents:
8897
diff
changeset
|
217 2009-03-03 Jaroslav Hajek <highegg@gmail.com> |
4de5544a1d1d
simplify also float version of xmin/xmax
Jaroslav Hajek <highegg@gmail.com>
parents:
8897
diff
changeset
|
218 |
4de5544a1d1d
simplify also float version of xmin/xmax
Jaroslav Hajek <highegg@gmail.com>
parents:
8897
diff
changeset
|
219 * lo-mappers.cc (xmin (float, float), xmax (float, float)): Simplify. |
4de5544a1d1d
simplify also float version of xmin/xmax
Jaroslav Hajek <highegg@gmail.com>
parents:
8897
diff
changeset
|
220 |
8897 | 221 2009-03-02 Jaroslav Hajek <highegg@gmail.com> |
222 | |
223 * mx-inlines.cc: Add missing #include. | |
224 | |
8873
e258715b2e78
fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents:
8864
diff
changeset
|
225 2009-02-25 John W. Eaton <jwe@octave.org> |
e258715b2e78
fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents:
8864
diff
changeset
|
226 |
e258715b2e78
fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents:
8864
diff
changeset
|
227 * Makefile.in: Make maintainer-clean and distclean the same. |
e258715b2e78
fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents:
8864
diff
changeset
|
228 |
8864 | 229 2009-02-25 Jaroslav Hajek <highegg@gmail.com> |
230 | |
231 * oct-inttypes.cc (pow (const octave_int<T>&, const octave_int<T>&)): | |
232 Simplify. | |
233 | |
8856
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
234 2009-02-23 Jaroslav Hajek <highegg@gmail.com> |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
235 |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
236 * oct-inttypes.h (octave_int_cmp_op::mop): Implement as simple |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
237 forwarders when OCTAVE_INT_USE_LONG_DOUBLE is not defined. |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
238 (octave_int_cmp_op::emulate_mop): New static overloaded template |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
239 member function. |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
240 * oct-inttypes.cc: Turn the octave_int_cmp_op::mop definitions into |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
241 defs for octave_int_cmp_op::emulate_mop. |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
242 (INSTANTIATE_INT64_DOUBLE_CMP_OP0): Instantiate |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
243 octave_int_cmp_op::emulate_op instead. |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
244 |
8840
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
245 2009-02-23 Jaroslav Hajek <highegg@gmail.com> |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
246 |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
247 * dDiagMatrix.cc (DiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
248 * dDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
249 * fDiagMatrix.cc (FloatDiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
250 * fDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
251 * CDiagMatrix.cc (ComplexDiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
252 * CDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
253 * fCDiagMatrix.cc (FloatComplexDiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
254 * fCDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
255 |
8820
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
256 2009-02-20 Jaroslav Hajek <highegg@gmail.com> |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
257 |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
258 * oct-sort.h (octave_sort<T>::MergeState::MergeState): New |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
259 constructor. |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
260 (octave_sort<T>::MergeState::~MergeState): New destructor. |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
261 (octave_sort<T>::MergeState::reset, |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
262 octave_sort<T>::MergeState::getmem, |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
263 octave_sort<T>::MergeState::getmemi): New methods. |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
264 (octave_sort<T>::sort, |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
265 octave_sort<T>::merge_lo, octave_sort<T>::merge_hi |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
266 octave_sort<T>::merge_at): Reflect change. |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
267 |
8814
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
268 2009-02-19 Jaroslav Hajek <highegg@gmail.com> |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
269 |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
270 * oct-types.h (sortmode): Move enum here. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
271 * oct-sort.h (octave_sort<T>::ms): Declare as pointer. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
272 (octave_sort<T>::lookup): New overloaded method. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
273 * oct-sort.cc: Reflect change to ms. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
274 (octave_sort<T>::lookup): New overloaded method. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
275 (out_of_range_pred): New helper class. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
276 (out_of_range): New helper function. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
277 * oct-lookup.h: Remove file. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
278 * Array.cc (Array<T>::lookup): New overloaded method. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
279 * Array.h: Declare it. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
280 |
8801
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
281 2009-02-18 John W. Eaton <jwe@octave.org> |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
282 |
8811 | 283 * dbleQR.cc (QR::init, QR::form): Cast int to octave_idx_type in |
284 call to std::max. | |
285 * floatQR.cc (FloatQR::init, FloatQR::form): Ditto. | |
286 * CmplxQR.cc (ComplexQR::init, ComplexQR::form): Ditto. | |
287 * fCmplxQR.cc (FloatComplexQR::init, FloatComplexQR::form): Ditto. | |
288 | |
289 * dbleQRP.cc (QRP::init): Cast int to octave_idx_type in call to | |
290 std::max and as operand to -= operator. | |
291 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
292 * floatQRP.cc (FloatQRP::init): Ditto. | |
293 * fCmplxQRP.cc (FloatComplexQRP::init): Ditto. | |
294 | |
295 * CDiagMatrix.cc, CDiagMatrix.h (ComplexDiagMatrix::inverse): | |
296 Declare info as octave_idx_type, not int. | |
297 * dDiagMatrix.cc, dDiagMatrix.h (DiagMatrix::inverse): Ditto. | |
298 * fDiagMatrix.cc, fCDiagMatrix.h (FloatDiagMatrix::inverse): Ditto. | |
299 * fCDiagMatrix.cc, fCDiagMatrix.h (FloatComplexDiagMatrix::inverse): | |
300 Ditto. | |
301 | |
8806 | 302 * dMatrix.cc (Matrix::determinant): |
303 Declare local variables volatile as needed to avoid "maybe | |
304 clobbered by vfork" warning from GCC. | |
305 * fMatrix.cc (FloatMatrix::determinant): Likewise. | |
306 * CMatrix.cc (ComplexMatrix::determinant): Likewise. | |
307 * fCMatrix.cc (FloatComplexMatrix::determinant): Likewise. | |
308 * dbleQR.cc (QR::update, QR::insert_col, QR::delete_col): Likewise. | |
309 * floatQR.cc (FloatQR::update, FloatQR::insert_col, | |
310 FloatQR::delete_col): Likewise. | |
311 * CmplxQR.cc (ComplexQR::update, ComplexQR::insert_col, | |
312 ComplexQR::delete_col): Likewise. | |
313 * fCmplxQR.cc (FloatComplexQR::update, FloatComplexQR::insert_col, | |
314 FloatComplexQR::delete_col): Likewise. | |
315 | |
8801
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
316 * dMatrix.cc (padec, solve_singularity_warning): Delete unused |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
317 static variable and function. |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
318 * CMatrix.cc (padec, solve_singularity_warning): Ditto. |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
319 * fMatrix.cc (padec, solve_singularity_warning): Ditto. |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
320 * fCMatrix.cc (padec, solve_singularity_warning): Ditto. |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
321 |
8799
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
322 2009-02-18 Jaroslav Hajek <highegg@gmail.com> |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
323 |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
324 * Array.cc (Array<T>::resize (const dim_vector&)): Check for negative |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
325 dimensions. |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
326 |
8797
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
327 2009-02-18 Jaroslav Hajek <highegg@gmail.com> |
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
328 |
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
329 * oct-inttypes.cc (pow (const octave_int<T>&, const octave_int<T>&)): |
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
330 Use octave_int comparisons to avoid warning for unsigned types. |
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
331 |
8784
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
332 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
333 |
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
334 * Array.cc (Array<T>::resize (const dim_vector&)): Remove dead branch. |
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
335 |
8780
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
336 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
337 |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
338 * mx-inlines.cc (OP_CUM_FCN, OP_CUM_FCN2, OP_CUM_FCNN): |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
339 Add TSRC/TRES parameters. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
340 (mx_inline_cumcount): New function. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
341 * intNDArray.cc (intNDArray::cumsum): New method. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
342 * intNDArray.h: Declare it. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
343 * boolNDArray.cc (boolNDArray::cumsum): New method. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
344 * boolNDArray.h: Declare it. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
345 |
8777
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
346 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
347 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
348 * mx-inlines.cc (OP_CUMMINMAX_FCN, OP_CUMMINMAX_FCN2, |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
349 OP_CUMMINMAX_FCNN): New macros. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
350 (mx_inline_cummax, mx_inline_cummin, do_mx_cumminmax_op): |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
351 New overloaded template functions. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
352 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
353 * dNDArray.cc (NDArray::cummin, NDArray::cummax): New methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
354 * dNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
355 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
356 * fNDArray.cc (FloatNDArray::cummin, FloatNDArray::cummax): New |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
357 methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
358 * fNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
359 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
360 * CNDArray.cc (ComplexNDArray::cummin, ComplexNDArray::cummax): New |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
361 methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
362 * CNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
363 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
364 * fCNDArray.cc (FloatComplexNDArray::cummin, |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
365 FloatComplexNDArray::cummax): New methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
366 * fCNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
367 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
368 * intNDArray.cc (intNDArray::cummin, intNDArray::cummax): New methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
369 * intNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
370 |
8776
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
371 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
372 |
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
373 * mx-inlines.cc (OP_MINMAX_FCN): Correct behaviour with NaNs. |
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
374 |
8774
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
375 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
376 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
377 * MArray-defs.h: Move declarative part to MArray-decl.h |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
378 * MArray-decl.h: New source. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
379 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
380 * mx-op-defs.h: Move declarative part to mx-op-decl.h. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
381 * mx-op-decl.h: New source. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
382 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
383 * Makefile.in: Include new sources in build. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
384 * mk-ops.awk: Include mx-op-decl.h in headers, mx-op-defs in .cc |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
385 files. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
386 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
387 * CMatrix.cc, CMatrix.h, CNDArray.cc, CNDArray.h, MArray.h, MArray2.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
388 MArrayN.h, MDiagArray2.h, boolMatrix.cc, boolMatrix.h, boolNDArray.cc, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
389 boolNDArray.h, chMatrix.cc, chMatrix.h, chNDArray.cc, chNDArray.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
390 dMatrix.cc, dMatrix.h, dNDArray.cc, dNDArray.h, fCMatrix.cc, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
391 fCMatrix.h, fCNDArray.cc, fCNDArray.h, fMatrix.cc, fMatrix.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
392 fNDArray.cc, fNDArray.h, int16NDArray.cc, int16NDArray.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
393 int32NDArray.cc, int32NDArray.h, int64NDArray.cc, int64NDArray.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
394 int8NDArray.cc, int8NDArray.h, uint16NDArray.cc, uint16NDArray.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
395 uint32NDArray.cc, uint32NDArray.h, uint64NDArray.cc, uint64NDArray.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
396 uint8NDArray.cc, uint8NDArray.h: Ditto. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
397 |
8760
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
398 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
399 |
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
400 * Array.cc (Array<T>::assign (const idx_vector& i, |
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
401 const idx_vector& j,...)): Fix invalid dimension inquiry. |
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
402 |
8758
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
403 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
404 |
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
405 * mx-inlines.cc (OP_ROW_SHORT_CIRCUIT): New macro. |
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
406 (mx_inline_any, mx_inline_all): Override row-reduction case. |
8759
c32a08dccae6
remove unused macros from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8758
diff
changeset
|
407 (MX_CUMULATIVE_OP, MX_BASE_REDUCTION_OP, MX_REDUCTION_OP, |
c32a08dccae6
remove unused macros from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8758
diff
changeset
|
408 MX_ANY_OP, MX_ALL_OP, MX_ND_ANY_ALL, MX_ND_REDUCTION, |
c32a08dccae6
remove unused macros from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8758
diff
changeset
|
409 MX_ND_COMPLEX_OP_REDUCTION, MX_ND_CUMULATIVE_OP, |
c32a08dccae6
remove unused macros from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8758
diff
changeset
|
410 MX_ND_ANY_EVAL, MX_ND_ALL_EVAL, MX_ND_REAL_OP_REDUCTION): |
c32a08dccae6
remove unused macros from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8758
diff
changeset
|
411 Remove unused macros. |
8758
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
412 |
8756
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
413 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
414 |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
415 * mx-inlines.cc (OP_RED_FCNN): Use explicit type qualification. |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
416 (mx_inline_count): New overloaded template function. |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
417 * boolNDArray.h (boolNDArray::sum): Return NDArray. |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
418 * boolNDArray.cc (boolNDArray::sum): Return NDArray, use do_mx-red_op. |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
419 |
8752
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
420 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
421 |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
422 * Array-C.cc, Array-fC.cc: Don't redefine complex comparison. |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
423 * Sparse.cc (Sparse::sort): Don't use vec_index. |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
424 * Sparse-C.cc, Sparse-d.cc, Sparse-b.cc: Don't reinstantiate |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
425 octave_sort, reflect changes. |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
426 * sparse-sort.cc: Explicitly instantiate octave_sort for requested |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
427 pointer types. |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
428 |
8751
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
429 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
430 |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
431 * oct-cmplx.h (operator <, operator >): New operators. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
432 * mx-inlines.cc (OP_MINMAX_FCN, OP_MINMAX_FCN2, OP_MINMAX_FCNN): |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
433 New macros. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
434 (mx_inline_min, mx_inline_max, do_mx_minmax_op): New overloaded |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
435 template functions. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
436 * dNDArray (NDArray::min, NDArray::max): Use do_mx_minmax_op. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
437 * fNDArray (FloatNDArray::min, FloatNDArray::max): Ditto. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
438 * CNDArray (ComplexNDArray::min, ComplexNDArray::max): Ditto. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
439 * fCNDArray (FloatComplexNDArray::min, FloatComplexNDArray::max): |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
440 Ditto. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
441 |
8750
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
442 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
443 |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
444 * chMatrix.cc (charMatrix::all, charMatrix::any): Use do_mx_red_op. |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
445 * chNDArray.cc (charNDArray::all, charNDArray::any): Ditto. |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
446 |
8749
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
447 2009-02-16 John W. Eaton <jwe@octave.org> |
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
448 |
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
449 * cmd-edit.cc (default_command_editor::do_readline): |
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
450 Use fputs instead of fprintf. |
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
451 |
8743
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
452 2009-02-14 Jaroslav Hajek <highegg@gmail.com> |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
453 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
454 * mx-inlines.cc (OP_RED_FCN, OP_RED_FCN2, OP_RED_FCNN, OP_CUM_FCN, |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
455 OP_CUM_FCN2, OP_CUM_FCNN): Include TRET parameter. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
456 (OP_RED_ANYC, OP_RED_ANYR, OP_RED_ALLC, OP_RED_ALLR): New macros. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
457 (is_true, is_false): New template functions. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
458 (mx_inline_any, mx_inline_all): New template functions. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
459 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
460 * dMatrix.cc (Matrix::any, Matrix::all): Use do_mx_red_op and |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
461 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
462 * fMatrix.cc (FloatMatrix::any, FloatMatrix::all): Use do_mx_red_op |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
463 and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
464 * CMatrix.cc (ComplexMatrix::any, ComplexMatrix::all): Use |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
465 do_mx_red_op and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
466 * fCMatrix.cc (FloatComplexMatrix::any, FloatComplexMatrix::all): Use |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
467 do_mx_red_op and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
468 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
469 * dNDArray.cc (NDArray::any, NDArray::all): Use do_mx_red_op and |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
470 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
471 * fNDArray.cc (FloatNDArray::any, FloatNDArray::all): Use do_mx_red_op |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
472 and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
473 * CNDArray.cc (ComplexNDArray::any, ComplexNDArray::all): Use |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
474 do_mx_red_op and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
475 * fCNDArray.cc (FloatComplexNDArray::any, FloatComplexNDArray::all): |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
476 Use do_mx_red_op and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
477 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
478 * intNDArray.cc (intNDArray::any, intNDArray::all): Use do_mx_red_op and |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
479 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
480 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
481 * boolNDArray.cc (boolNDArray::any, boolNDArray::all): Use do_mx_red_op and |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
482 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
483 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
484 * boolMatrix.cc (boolMatrix::any, boolMatrix::all): Use do_mx_red_op and |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
485 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
486 |
8741
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
487 2009-02-14 Jaroslav Hajek <highegg@gmail.com> |
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
488 |
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
489 * intNDArray.cc: include mx-inlines.cc. |
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
490 (intNDArray::sum): Use mx_do_red_op (..., mx_inline_sum). |
8742
d2b06871afac
add missing return statement
Jaroslav Hajek <highegg@gmail.com>
parents:
8741
diff
changeset
|
491 * Range.cc (Range::is_sorted): Add missing return statement. |
8741
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
492 |
8736
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
493 2009-02-13 Jaroslav Hajek <highegg@gmail.com> |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
494 |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
495 * mx-inlines.cc (OP_RED_SUM, OP_RED_PROD, OP_RED_SUMSQ, OP_RED_SUMSQC, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
496 OP_RED_FCN, OP_RED_FCN2, OP_RED_FCNN, OP_CUM_FCN, OP_CUM_FCN2, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
497 OP_CUM_FCNN): New macros. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
498 (mx_inline_sum, mx_inline_prod, mx_inline_sumsq, mx_inline_cumsum, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
499 mx_inline_cumprod, get_extent_triplet, do_mx_red_op, do_mx_cum_op): |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
500 New template functions. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
501 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum, Matrix::prod, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
502 Matrix::sum, Matrix::sumsq): Use do_mx_red_op and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
503 * fMatrix.cc (FloatMatrix::cumprod, FloatMatrix::cumsum, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
504 FloatMatrix::prod, FloatMatrix::sum, FloatMatrix::sumsq): Use |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
505 do_mx_red_op and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
506 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
507 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): Use |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
508 do_mx_red_op and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
509 * fCMatrix.cc (FloatComplexMatrix::cumprod, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
510 FloatComplexMatrix::cumsum, FloatComplexMatrix::prod, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
511 FloatComplexMatrix::sum, FloatComplexMatrix::sumsq): Use do_mx_red_op |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
512 and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
513 |
8731
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
514 2009-02-12 Jaroslav Hajek <highegg@gmail.com> |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
515 |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
516 * oct-inttypes.h (if_else_type): Remove |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
517 (octave_int_base::truncate_int): Use if_then_else. |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
518 |
8725 | 519 2009-02-12 John W. Eaton <jwe@octave.org> |
520 | |
521 * lo-traits.h: New file. | |
522 * Makefile.in (INCLUDES): Add it to the list. | |
523 | |
524 * Array.h (compare_fcn_type): New typedef. | |
525 * oct-sort.h (compare_fcn_type): Ditto. | |
526 | |
527 * oct-sort.h, oct-sort.cc (octave_sort<T>::octave_sort, | |
528 octave_sort<T>::set_compare, octave_sort<T>::compare): | |
529 Use typedef to simplify decl. | |
530 (octave_sort<T>::ascending_compare, | |
531 octave_sort<T>::descending_compare): | |
532 Use ref_param<T>::type for parameter decl. | |
533 | |
534 * Array.cc (sort_isnan): Use ref_param<T>::type for parameter decl. | |
535 (Array<T>::sort): Use explicit template parameter for sort_isnan calls. | |
536 | |
537 * Array.cc, Array-C.cc, Array-fC.cc, Array-d.cc, Array-f.cc | |
538 (sortrows_comparator): Rename from _sortrows_comparator. Change | |
539 all uses. Use typedef for return value to simplify decl. | |
540 (sort_isnan): Rename from _sort_isnan. Change all uses. | |
541 (NO_INSTANTIATE_ARRAY_SORT): Use typedef to simplify instantiation | |
542 of sortrows_comparator. | |
543 | |
544 * Array-C.cc, Array-fC.cc (sort_isnan, ascending_compare, | |
545 descending_compare, nan_ascending_compare, | |
546 nan_descending_compare): | |
547 | |
8721
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
548 2009-02-11 Jaroslav Hajek <highegg@gmail.com> |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
549 |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
550 * oct-sort.cc (octave_sort<T>::is_sorted, octave_sort<T>::sort_rows, |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
551 octave_sort<T>::is_sorted_rows): New methods. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
552 * oct-sort.h: Declare them. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
553 |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
554 * Array.cc (Array<T>::is_sorted): New method. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
555 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT, |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
556 INSTANTIATE_ARRAY_AND_ASSIGN, INSTANTIATE_ARRAY): Move macros here. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
557 * Array.h: Reflect changes. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
558 |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
559 * dim-vector.h (dim_vector::is_vector): New method. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
560 * Array-C.cc, Array-fC.cc: Override _sort_isnan, don't check for |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
561 NaN in default comparators. Provide NaN-safe comparators, override |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
562 _sortrows_comparator. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
563 * Array-d.cc, Array-f.cc: Provide NaN-safe comparators, override |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
564 _sortrows_comparator. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
565 * Range.cc (Range::is_sorted): New method. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
566 * Range.h: Declare it. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
567 |
8700 | 568 2009-02-09 Jaroslav Hajek <highegg@gmail.com> |
569 | |
570 * oct-sort.cc (octave_sort<T>): Rewrite for optimizations. Allow | |
571 inlined comparison functor and by-the-way indexed sorting. | |
572 * oct-sort.h (octave_sort<T>): Update interface. | |
573 * Array.cc (Array<T>::sort): Reflect changes. Use copy & partition | |
574 mechanism. | |
575 * Array-d.cc, Array-f.cc, Array-C.cc, Array-fC.cc, Array-s.cc, | |
576 Array-i.cc: Reflect changes. | |
577 | |
8689
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
578 2009-02-05 John W. Eaton <jwe@octave.org> |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
579 |
8690
6e9887f9cf9f
file-stat.cc: use EXISTS instead of OK in previuos change
John W. Eaton <jwe@octave.org>
parents:
8689
diff
changeset
|
580 * file-stat.cc (base_file_stat::is_sock): |
6e9887f9cf9f
file-stat.cc: use EXISTS instead of OK in previuos change
John W. Eaton <jwe@octave.org>
parents:
8689
diff
changeset
|
581 Use EXISTS instead of OK in previous change. |
6e9887f9cf9f
file-stat.cc: use EXISTS instead of OK in previuos change
John W. Eaton <jwe@octave.org>
parents:
8689
diff
changeset
|
582 |
8689
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
583 * file-stat.cc (base_file_stat::is_blk, base_file_stat::is_chr, |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
584 base_file_stat::is_dir, base_file_stat::is_fifo, |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
585 base_file_stat::is_lnk, base_file_stat::is_reg, |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
586 base_file_stat::is_sock): Return false if object is not initialized. |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
587 From Rafael Laboissiere <rafael@debian.org>. |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
588 |
8681
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
589 2009-02-05 Jaroslav Hajek <highegg@gmail.com> |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
590 |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
591 * idx-vector.h (idx_vector::idx_colon_rep, |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
592 idx_vector::idx_scalar_rep, idx_vector::idx_range_rep, |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
593 idx_vector::idx_vector_rep): Declare allocators. |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
594 * idx-vector.cc: Define them. |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
595 |
8678
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
596 2009-02-05 Jaroslav Hajek <highegg@gmail.com> |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
597 |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
598 * str-vec.h (string_vector::sort): Remove implementation. |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
599 * str-vec.cc (string_vector::sort): Move here. Use in-place sorting. |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
600 * Array-str.cc: Fix order of header files. |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
601 * oct-sort.cc (octave_sort<T>::merge_hi): std::copy -> |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
602 std::copy_backward where appropriate. |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
603 |
8677
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
604 2009-02-05 John W. Eaton <jwe@octave.org> |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
605 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
606 * Array-util.cc (zero_dims_inquire): Eliminate unused variable MATCH. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
607 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
608 * Sparse.cc (assign (Sparse<LT>& lhs, const Sparse<RT>& rhs)): |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
609 Eliminate unused variable N. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
610 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
611 * MArray-f.cc (MArray<float>::norm (float p) const, |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
612 MArray<FloatComplex>::norm (float p) const): Pass P to xnorm. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
613 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
614 * eigs-base.cc (EigsRealNonSymmetricFunc, EigsRealSymmetricFunc) |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
615 (EigsComplexNonSymmetricFunc): Avoid unused parameter warning. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
616 * idx-vector.cc (idx_vector::freeze): Likewise. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
617 |
8660
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
618 2009-02-04 Jaroslav Hajek <highegg@gmail.com> |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
619 |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
620 * oct-locbuf.h: Specialize OCTAVE_LOCAL_BUFFER to use chunked |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
621 allocation for pointers and const pointers. |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
622 |
8655
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
623 2009-02-03 Benjamin Lindner <lindnerben@gmx.net> |
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
624 |
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
625 * Makefile.in: Add missing library reference. |
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
626 |
8651
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
627 2009-02-03 Jaroslav Hajek <highegg@gmail.com> |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
628 |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
629 * Array.cc (Array<T>::sort (octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
630 Copy array on-the-fly. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
631 (Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
632 Copy array on-the-fly, use bare pointers rather than vec_index. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
633 |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
634 * Array-d.cc (Array<double>::sort (octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
635 Copy array on-the-fly. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
636 (Array<double>::sort (Array<octave_idx_type> &, octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
637 Copy array on-the-fly, use bare pointers rather than vec_index. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
638 |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
639 * Array-f.cc (Array<float>::sort (octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
640 Copy array on-the-fly. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
641 (Array<float>::sort (Array<octave_idx_type> &, octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
642 Copy array on-the-fly, use bare pointers rather than vec_index. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
643 |
8650
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
644 2009-02-02 Jaroslav Hajek <highegg@gmail.com> |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
645 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
646 * mx-inlines.cc (mx_inline_fabs_dup, mx_inline_cabs_dup): New funcs. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
647 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
648 * dMatrix.cc (real, imag, Matrix::abs): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
649 * fMatrix.cc (real, imag, FloatMatrix::abs): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
650 * CMatrix.cc (ComplexMatrix::abs, ComplexMatrix::conj): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
651 * fCMatrix.cc (FloatComplexMatrix::abs, FloatComplexMatrix::conj): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
652 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
653 * CMatrix.h, fCMatrix.h (conj): Add missing decl. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
654 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
655 * dNDArray.cc (real, imag, NDArray::abs): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
656 * fNDArray.cc (real, imag, FloatNDArray::abs): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
657 * CNDArray.cc (ComplexNDArray::abs, ComplexNDArray::conj): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
658 * fCNDArray.cc (FloatComplexNDArray::abs, FloatComplexNDArray::conj): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
659 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
660 * CMatrix.h, fCMatrix.h (conj): New decl. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
661 |
8626
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
662 2009-01-29 John W. Eaton <jwe@octave.org> |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
663 |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
664 * intNDArray.h (intNDArray<T>:any_element_is_nan): New function. |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
665 * boolNDArrah.h (boolNDArray::any_element_is_nan): New function. |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
666 * chNDArray.h (charNDArray::any_element_is_nan): New function. |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
667 |
8618
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
668 2009-01-28 John W. Eaton <jwe@octave.org> |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
669 |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
670 * Makefile.in (LIBRARIES, install, uninstall): Use SHLLIBPRE |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
671 and SHLBINPRE library prefixes. |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
672 From Marco Atzeri <marco_atzeri@yahoo.it>. |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
673 |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
674 2009-01-28 Jaroslav Hajek <highegg@gmail.com> |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
675 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
676 * dMatrix.cc (Matrix::Matrix (const RowVector&)): Use shallow copy. |
8628 | 677 (Matrix::Matrix (const ColumnVector&)): Ditto. |
678 (Matrix::row): Ditto. | |
679 (Matrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
680 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
681 * fMatrix.cc (FloatMatrix::FloatMatrix (const FloatRowVector&)): Use |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
682 shallow copy. |
8628 | 683 (FloatMatrix::FloatMatrix (const FloatColumnVector&)): Ditto. |
684 (FloatMatrix::row): Ditto. | |
685 (FloatMatrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
686 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
687 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const ComplexRowVector&)): |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
688 Use shallow copy. |
8628 | 689 (ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): Ditto. |
690 (ComplexMatrix::row): Ditto. | |
691 (ComplexMatrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
692 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
693 * fCMatrix.cc (FloatComplexMatrix::FloatComplexMatrix (const FloatComplexRowVector&)): |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
694 Use shallow copy. |
8628 | 695 (FloatComplexMatrix::FloatComplexMatrix (const FloatComplexColumnVector&)): Ditto. |
696 (FloatComplexMatrix::row): Ditto. | |
697 (FloatComplexMatrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
698 |
8607
08331c2fb00f
add -lregex to REGEX_LIBS at configure stage, add ARPACK_LIBS, REGEX_LIBS to liboctave's link deps
Benjamin Lindner <lindnerb@users.sourceforge.net>
parents:
8597
diff
changeset
|
699 2009-01-27 Benjamin Lindner <lindnerb@users.sourceforge.net> |
08331c2fb00f
add -lregex to REGEX_LIBS at configure stage, add ARPACK_LIBS, REGEX_LIBS to liboctave's link deps
Benjamin Lindner <lindnerb@users.sourceforge.net>
parents:
8597
diff
changeset
|
700 |
08331c2fb00f
add -lregex to REGEX_LIBS at configure stage, add ARPACK_LIBS, REGEX_LIBS to liboctave's link deps
Benjamin Lindner <lindnerb@users.sourceforge.net>
parents:
8597
diff
changeset
|
701 * Makefile.in (LINK_DEPS): Include ARPACK_LIBS and REGEX_LIBS in |
08331c2fb00f
add -lregex to REGEX_LIBS at configure stage, add ARPACK_LIBS, REGEX_LIBS to liboctave's link deps
Benjamin Lindner <lindnerb@users.sourceforge.net>
parents:
8597
diff
changeset
|
702 the list. |
08331c2fb00f
add -lregex to REGEX_LIBS at configure stage, add ARPACK_LIBS, REGEX_LIBS to liboctave's link deps
Benjamin Lindner <lindnerb@users.sourceforge.net>
parents:
8597
diff
changeset
|
703 |
8597
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
704 2009-01-27 Jaroslav Hajek <highegg@gmail.com> |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
705 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
706 * dbleQR.cc (QR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
707 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
708 (QR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
709 * dbleQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
710 * dbleQRP.cc (QRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
711 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
712 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
713 * floatQR.cc (FloatQR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
714 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
715 (FloatQR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
716 * floatQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
717 * floatQRP.cc (FloatQRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
718 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
719 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
720 * CmplxQR.cc (ComplexQR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
721 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
722 (ComplexQR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
723 * CmplxQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
724 * CmplxQRP.cc (ComplexQRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
725 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
726 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
727 * fCmplxQR.cc (FloatComplexQR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
728 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
729 (FloatComplexQR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
730 * fCmplxQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
731 * fCmplxQRP.cc (FloatComplexQRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
732 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
733 |
8580
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
734 2009-01-23 Jaroslav Hajek <highegg@gmail.com> |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
735 |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
736 * Array.cc (Array<T>::assign (const idx_vector&, const Array<T>&)): |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
737 Optimize assignment to an empty array. |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
738 (Array<T>::assign (const idx_vector&, const idx_vector&, const Array<T>&)): |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
739 Optimize assignment to an empty array. |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
740 |
8579
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
741 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
742 |
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
743 * Array2.h (Array2<T>::index): Declare resize_ok as bool. |
8628 | 744 * ArrayN.h (ArrayN<T>::index): Ditto. Declare index vectors as const |
8579
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
745 refs. |
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
746 |
8565 | 747 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
748 | |
749 * Range.cc (sort_internal): Add missing test. | |
750 | |
8563
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
751 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
752 |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
753 * Array.cc (Array<T>::index (..., bool resize_ok)): |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
754 Optimize the all-scalar-indices cases. |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
755 |
8562
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
756 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
757 |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
758 * dbleQR.h: Optionally declare warn_qrupdate_once. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
759 * dbleQR.cc: Define it. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
760 * (CmplxQR.h, dbleQR.h, fCmplxQR.h, floatQR.h): Declare replacement |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
761 methods unconditionally. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
762 * (CmplxQR.cc, dbleQR.cc, fCmplxQR.cc, floatQR.cc): Define |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
763 updating replacement methods. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
764 * (CmplxCHOL.h, dbleCHOL.h, fCmplxCHOL.h, floatCHOL.h): Declare |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
765 replacement methods unconditionally. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
766 * (CmplxCHOL.cc, dbleCHOL.cc, fCmplxCHOL.cc, floatCHOL.cc): Define |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
767 updating replacement methods. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
768 |
8553
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
769 2009-01-21 Jaroslav Hajek <highegg@gmail.com> |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
770 |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
771 * Range.cc ( operator + (double x, const Range& r), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
772 operator + (const Range& r, double x), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
773 operator - (double x, const Range& r), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
774 operator - (const Range& r, double x), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
775 operator * (double x, const Range& r), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
776 operator * (const Range& r, double x)): New operators. |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
777 * Range.h: Declare them. |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
778 |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
779 |
8549 | 780 2009-01-20 John W. Eaton <jwe@octave.org> |
781 | |
782 * file-stat.h, file-stat.cc (class base_file_stat): New base class. | |
783 (class file_stat): Derive from base_file_stat. | |
784 (class file_fstat): New class, derived from base_file_stat. | |
785 | |
8547
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
786 2009-01-17 Jaroslav Hajek <highegg@gmail.com> |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
787 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
788 * floatQR.h (FloatQR::update, FloatQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
789 FloatQR::insert_row, FloatQR::delete_col, FloatQR::delete_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
790 FloatQR::shift_col): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
791 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
792 * floatQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
793 (FloatQR::update, FloatQR::insert_col, FloatQR::insert_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
794 FloatQR::delete_col, FloatQR::delete_row, FloatQR::shift_col): Reflect |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
795 changes in qrupdate interfaces, implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
796 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
797 * dbleQR.h (QR::update, QR::insert_col, QR::insert_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
798 QR::delete_col, QR::delete_row, QR::shift_col): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
799 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
800 * dbleQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
801 (QR::update, QR::insert_col, QR::insert_row, QR::delete_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
802 QR::delete_row, QR::shift_col): Reflect changes in qrupdate |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
803 interfaces, implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
804 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
805 * fCmplxQR.h (FloatComplexQR::update, FloatComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
806 FloatComplexQR::insert_row, FloatComplexQR::delete_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
807 FloatComplexQR::delete_row, FloatComplexQR::shift_col): Update |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
808 interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
809 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
810 * fCmplxQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
811 (FloatComplexQR::update, FloatComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
812 FloatComplexQR::insert_row, FloatComplexQR::delete_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
813 FloatComplexQR::delete_row, FloatComplexQR::shift_col): Reflect |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
814 changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
815 implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
816 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
817 * CmplxQR.h (ComplexQR::update, ComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
818 ComplexQR::insert_row, ComplexQR::delete_col, ComplexQR::delete_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
819 ComplexQR::shift_col): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
820 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
821 * CmplxQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
822 (ComplexQR::update, ComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
823 ComplexQR::insert_row, ComplexQR::delete_col, ComplexQR::delete_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
824 ComplexQR::shift_col): Reflect changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
825 implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
826 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
827 * floatCHOL.h (FloatCHOL::update, FloatCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
828 FloatCHOL::insert_sym): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
829 * floatCHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
830 (FloatCHOL::update, FloatCHOL::downdate, FloatCHOL::insert_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
831 FloatCHOL::delete_sym, FloatCHOL::shift_sym): Reflect changes in |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
832 qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
833 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
834 * CHOL.h (CHOL::update, CHOL::downdate, CHOL::insert_sym): Update |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
835 interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
836 * CHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
837 (CHOL::update, CHOL::downdate, CHOL::insert_sym, CHOL::delete_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
838 CHOL::shift_sym): Reflect changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
839 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
840 * fCmplxCHOL.h (FloatComplexCHOL::update, FloatComplexCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
841 FloatComplexCHOL::insert_sym): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
842 * fCmplxCHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
843 (FloatComplexCHOL::update, FloatComplexCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
844 FloatComplexCHOL::insert_sym, FloatComplexCHOL::delete_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
845 FloatComplexCHOL::shift_sym): Reflect changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
846 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
847 * CmplxCHOL.h (ComplexCHOL::update, ComplexCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
848 ComplexCHOL::insert_sym): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
849 * CmplxCHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
850 (ComplexCHOL::update, ComplexCHOL::downdate, ComplexCHOL::insert_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
851 ComplexCHOL::delete_sym, ComplexCHOL::shift_sym): Reflect changes in |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
852 qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
853 |
8531
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
854 2009-01-17 Jaroslav Hajek <highegg@gmail.com> |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
855 |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
856 * Array.h (Array<T>): Document internal use of slice_data and |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
857 slice_len. |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
858 |
8526
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
859 2009-01-15 John W. Eaton <jwe@octave.org> |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
860 |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
861 * Sparse.cc (Sparse<T>::reshape): Include mismatched dimensions in |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
862 error message. |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
863 * Array.cc (Array<T>::reshape): Likewise. |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
864 From Robert Millan <rmh@aybabtu.com>. |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
865 |
8524
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
866 2009-01-14 Jaroslav Hajek <highegg@gmail.com> |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
867 |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
868 * Array.h (Array<T>::rep, Array<T>::dimensions): Make protected. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
869 * Array.cc (Array<T>::make_unique): Move implementation here. |
8628 | 870 (Array<T>::fill): Ditto. |
8524
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
871 * DiagArray2.h (DiagArray2<T>): Reimplement without abusing |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
872 Array<T> internals. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
873 (DiagArray2<T>::operator Array2<T>): New method. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
874 * DiagArray2.cc (DiagArray2<T>): Update methods. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
875 * MDiagArray2.h (MDiagArray2<T>::operator Array2<T>): Simplify. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
876 * PermMatrix.h (PermMatrix): Reimplement without abusing |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
877 Array<T> internals. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
878 * PermMatrix.cc (PermMatrix): Update methods. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
879 |
8523
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
880 2009-01-14 Jaroslav Hajek <highegg@gmail.com> |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
881 |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
882 * Array.cc, Array.h (all Array<T> constructors): Handle slice_data and |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
883 slice_len. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
884 (Array<T>::Array<T> (const Array<T>&, const dim_vector&, |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
885 octave_idx_type, octave_idx_type)): New constructor. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
886 (Array<T>::index): Use shallow copy when index reduces to a contiguous |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
887 range. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
888 (Array<T>::make_unique): Rewrite. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
889 (Array<T>::ArrayRep): Delete redundant methods. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
890 (rec_index_helper::is_cont_range): New method. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
891 (Array<T>::maybe_economize): New method. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
892 * DiagArray2.cc (DiagArray2<T>::resize): Fix the mess. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
893 |
8521 | 894 2008-01-15 Rafael Laboissiere <rafael@debian.org> |
895 | |
896 * oct-md5.cc: Include <cstdio>. | |
897 | |
8503
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
898 2009-01-13 Jaroslav Hajek <highegg@gmail.com> |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
899 |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
900 * Array.h (Array::ArrayRep::qsort): Remove. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
901 (Array::qsort): Remove. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
902 * glob-match.cc (glob_match::glob): qsort -> sort. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
903 * str-vec.cc (string_vector::compare): Remove. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
904 * str-vec.h (string_vector::compare): Remove decl. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
905 (string_vector::qsort): Rename to sort, call Array::sort. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
906 |
8417
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
907 2008-12-23 David Bateman <dbateman@free.fr> |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
908 |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
909 * eigs-base.cc: New file with template wrapper for ARPACK. |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
910 * Makefile.in (TEMPLATE_SRC): Add it here. |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
911 |
8410 | 912 2008-12-16 Jaroslav Hajek <highegg@gmail.com> |
913 | |
914 * Array.cc (rec_permute_helper): New class. | |
915 (Array<T>::permute): Rewrite using the recursive algorithm. | |
916 | |
8403 | 917 2008-12-12 David Bateman <dbateman@free.fr> |
918 | |
919 * sparse-base-chol.cc (inverse): Fix inversion based on cholesky | |
920 factorization. | |
921 | |
8400
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
922 2008-12-12 Jaroslav Hajek <highegg@gmail.com> |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
923 |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
924 * oct-locbuf.cc: New source. |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
925 * oct-locbuf.h (octave_chunk_buffer): New class. |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
926 (octave_local_buffer): Subclass from octave_chunk_buffer for selected |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
927 POD types. |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
928 |
8397 | 929 2008-12-11 Jaroslav Hajek <highegg@gmail.com> |
930 | |
931 * mx-op-defs.h (DMDM_BIN_OP): Fix invalid buffer length. | |
932 | |
8392
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
933 2008-12-10 Jaroslav Hajek <highegg@gmail.com> |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
934 |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
935 * dMatrix.h, dMatrix.cc (Matrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
936 * fMatrix.h, fMatrix.cc (FloatMatrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
937 * CMatrix.h, CMatrix.cc (ComplexMatrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
938 * fCMatrix.h, fCMatrix.cc (FloatComplexMatrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
939 |
8386
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
940 2008-12-09 Jaroslav Hajek <highegg@gmail.com> |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
941 |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
942 * base-aepbal.h: New source. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
943 * dbleAEPBAL.h, dbleAEPBAL.cc: Rebase AEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
944 * floatAEPBAL.h, floatAEPBAL.cc: Rebase FloatAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
945 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Rebase ComplexAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
946 * fCmplxAEPBAL.h, fCmplxAEPBAL.cc: Rebase FloatComplexAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
947 |
8384
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
948 2008-12-08 Jaroslav Hajek <highegg@gmail.com> |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
949 |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
950 * idx-vector.cc (idx_vector::idx_vector_rep::idx_vector_rep (const |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
951 Sparse<bool>&)): New constructor. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
952 * idx_vector.h: Declare it. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
953 (idx_vector::idx_vector (const Sparse<bool>&)): New constructor. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
954 * idx-vector.cc (idx_vector::idx_vector_rep::idx_vector_rep (const |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
955 Array<bool>&)): Fix extent calculation. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
956 |
8385
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
957 2008-12-09 David Bateman <dbateman@free.fr> |
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
958 |
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
959 * Makefile.in (INCLUDES): Add oct-locbuf.h |
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
960 |
8380
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
961 2008-12-07 Jaroslav Hajek <highegg@gmail.com> |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
962 |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
963 * mx-inlines.cc (mx_inline_fill_vs): New template function. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
964 * mx-op-defs.h (everywhere): Replace int by octave_idx_type. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
965 (MDM_MULTIPLY_OP): Use mx_inline_mul_vs and mx_inline_fill_vs. |
8628 | 966 (DMM_MULTIPLY_OP): Ditto. |
8380
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
967 * fDiagMatrix.cc (operator *): Remove redundant ifs. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
968 * fCDiagMatrix.cc (operator *): Remove redundant ifs. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
969 |
8379
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
970 2008-12-06 Jaroslav Hajek <highegg@gmail.com> |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
971 |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
972 * oct-locbuf.h (OCTAVE_LOCAL_BUFFER_INIT): New macro. |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
973 |
8377
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
974 2008-10-29 Jaroslav Hajek <highegg@gmail.com> |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
975 |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
976 * oct-locbuf.h: New header file. |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
977 * Array-d.cc, Array-f.cc, Array.cc, CMatrix.cc, CNDArray.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
978 CSparse.cc, CmplxCHOL.cc, CmplxGEPBAL.cc, MatrixType.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
979 Sparse-op-defs.h, Sparse.cc, SparseCmplxLU.cc, SparseCmplxQR.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
980 SparseQR.cc, SparsedbleLU.cc, dMatrix.cc, dNDArray.cc, dSparse.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
981 data-conv.cc, dbleCHOL.cc, dbleGEPBAL.cc, fCMatrix.cc, fCNDArray.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
982 fCmplxCHOL.cc, fCmplxGEPBAL.cc, fMatrix.cc, fNDArray.cc, file-ops.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
983 floatCHOL.cc, floatGEPBAL.cc, lo-sysdep.cc, oct-fftw.cc, oct-md5.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
984 oct-rand.cc, regex-match.cc, sparse-dmsolve.cc: Include oct-locbuf.h. |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
985 |
8375
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
986 2008-12-04 Jaroslav Hajek <highegg@gmail.com> |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
987 |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
988 * DiagArray2.h (DiagArray2<T>): Inherit Array<T> privately. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
989 (DiagArray2<T>::dim1, dim2, rows, columns, cols, length, |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
990 nelem, numel, byte_size, dims): New methods. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
991 (DiagArray2<T>::diag): New method decl. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
992 * DiagArray2.cc (DiagArray2<T>::diag): New method. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
993 * MDiagArray2.h (MDiagArray2<T>::diag): New method. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
994 * dDiagMatrix.cc (DiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
995 * fDiagMatrix.cc (FloatDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
996 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
997 * fCDiagMatrix.cc (FloatComplexDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
998 |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
999 * PermMatrix.h (PermMatrix): Inherit Array<octave_idx_type> privately. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1000 (PermMatrix::dim1, dim2, rows, columns, cols, length, |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1001 nelem, numel, byte_size, dims): New methods. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1002 |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1003 |
8371
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1004 2008-12-04 Jaroslav Hajek <highegg@gmail.com> |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1005 |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1006 * dDiagMatrix.cc (DiagMatrix::determinant, DiagMatrix::rcond): New |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1007 method. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1008 * dDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1009 * fDiagMatrix.cc (FloatDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1010 FloatDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1011 * fDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1012 * CDiagMatrix.cc (ComplexDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1013 ComplexDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1014 * CDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1015 * fCDiagMatrix.cc (FloatComplexDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1016 FloatComplexDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1017 * fCDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1018 |
8369 | 1019 2008-12-04 Jaroslav Hajek <highegg@gmail.com> |
1020 | |
1021 * idx-vector.cc (idx-vector::complement): Add missing delete. | |
1022 | |
8368
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
1023 2008-12-04 Jaroslav Hajek <highegg@gmail.com> |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
1024 |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
1025 * dbleQRP.cc (QRP::QRP): Call DGEQP3 rather than DGEQPF. |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
1026 * floatQRP.cc (FloatQRP::FloatQRP): Call SGEQP3 rather than SGEQPF. |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
1027 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Call ZGEQP3 rather than ZGEQPF. |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
1028 * fCmplxQRP.cc (FloatComplexQRP::FloatComplexQRP): Call CGEQP3 rather than CGEQPF. |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
1029 |
8367
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1030 2008-12-03 Jaroslav Hajek <highegg@gmail.com> |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1031 |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1032 * PermMatrix.h, PermMatrix.cc: New sources. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1033 * MDiagArray2.cc (MDiagArray2<T>::is_multiple_of_identity): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1034 * MDiagArray2.h (MDiagArray2<T>::is_multiple_of_identity): Declare it. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1035 * idx-vector.cc (idx_vector::is_permutation): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1036 * idx-vector.h (idx_vector::is_permutation): Declare it. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1037 * base-lu.cc (base_lu::getp): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1038 (base_lu::P): Call getp. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1039 (base_lu::Pvec): Call getp. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1040 * base-lu.h (base_lu): Delcare P as PermMatrix. Remove unused template |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1041 params. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1042 * dbleQRP.cc (dbleQRP::dbleQRP): Construct a permutation matrix. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1043 (dbleQRP::Pvec): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1044 * dbleQRP.h: Declare new method. Declare P as PermMatrix. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1045 * CmplxQRP.cc (ComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1046 * CmplxQRP.h (ComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1047 * floatQRP.cc (FloatQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1048 * floatQRP.h (FloatQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1049 * fCmplxQRP.cc (FloatComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1050 * fCmplxQRP.h (FloatComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1051 |
8366
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1052 2008-12-01 Jaroslav Hajek <highegg@gmail.com> |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1053 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1054 * DiagArray2.h (DiagArray2<T>::DiagArray2<T> (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1055 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1056 (DiagArray2<T>::elem, xelem, operator ()): Move to header file to |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1057 enable inlining. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1058 * DiagArray2.cc (DiagArray2<T>::elem, xelem, operator ()): Remove |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1059 implementations. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1060 * MDiagArray2.h (MDiagArray2<T>::MDiagArray2<T> (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1061 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1062 (MDiagArray2<T>::nnz): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1063 * MDiagArray2.cc (MDiagArray2<T>::nnz): Implement it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1064 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1065 * dDiagMatrix.h (DiagMatrix::DiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1066 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1067 (DiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1068 (real (const ComplexDiagMatrix&), imag (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1069 New decls. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1070 * dDiagMatrix.cc (DiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1071 (operator *(const DiagMatrix&, const DiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1072 (real (const ComplexDiagMatrix&), imag (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1073 New functions. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1074 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1075 * fDiagMatrix.h (FloatDiagMatrix::FloatDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1076 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1077 (FloatDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1078 (real (const FloatComplexDiagMatrix&), imag (const FloatComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1079 New decls. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1080 * fDiagMatrix.cc (FloatDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1081 (operator *(const FloatDiagMatrix&, const FloatDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1082 (real (const FloatComplexDiagMatrix&), imag (const FloatComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1083 New functions. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1084 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1085 * CDiagMatrix.h (ComplexDiagMatrix::ComplexDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1086 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1087 (ComplexDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1088 (conj (const ComplexDiagMatrix&)): Add missing decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1089 (ComplexDiagMatrix::all_elements_are_real): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1090 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1091 * CDiagMatrix.cc (CDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1092 (operator *(const DiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1093 (operator *(const ComplexDiagMatrix&, const DiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1094 (operator *(const ComplexDiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1095 (ComplexDiagMatrix::all_elements_are_real): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1096 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1097 * fCDiagMatrix.h (FloatComplexDiagMatrix::FloatComplexDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1098 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1099 (FloatComplexDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1100 (conj (const FloatComplexDiagMatrix&)): Add missing decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1101 (FloatComplexDiagMatrix::all_elements_are_real): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1102 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1103 * fCDiagMatrix.cc (CDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1104 (operator *(const FloatDiagMatrix&, const FloatComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1105 (operator *(const FloatComplexDiagMatrix&, const FloatDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1106 (operator *(const ComplexDiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1107 (FloatComplexDiagMatrix::all_elements_are_real): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1108 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1109 * dSparse.cc (SparseMatrix::SparseMatrix (const DiagMatrix&)): New |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1110 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1111 * dSparse.h (SparseMatrix::SparseMatrix (const DiagMatrix&)): Declare |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1112 it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1113 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1114 * CSparse.cc (SparseComplexMatrix::SparseComplexMatrix (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1115 New constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1116 * CSparse.h (SparseComplexMatrix::SparseComplexMatrix (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1117 Declare it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1118 * mx-op-defs.h (DMM_MULTIPLY_OP, MDM_MULTIPLY_OP): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1119 |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1120 2008-11-21 Jarkko Kaleva <d3roga@gmail.com> |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1121 |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1122 * EIG.h (EIG::EIG (const Matrix& a, const Matrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1123 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1124 (EIG::EIG (const Matrix& a, const Matrix& b, octave_idx_type& info, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1125 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1126 (EIG::EIG (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1127 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1128 (EIG::EIG (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1129 octave_idx_type& info, bool calc_eigenvectors = true)): New |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1130 constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1131 * EIG.cc (EIG::init (const Matrix& a, const Matrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1132 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1133 (EIG::init (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1134 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1135 (EIG::symmetric_init (const Matrix& a, const Matrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1136 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1137 (EIG::hermitian_init (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1138 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1139 * fEIG.h (fEIG::fEIG (const FloatMatrix& a, const FloatMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1140 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1141 (fEIG::fEIG (const FloatMatrix& a, const FloatMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1142 octave_idx_type& info, bool calc_eigenvectors = true)): New |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1143 constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1144 (fEIG::fEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1145 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1146 (fEIG::fEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1147 octave_idx_type& info, bool calc_eigenvectors = true)): New |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1148 constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1149 (fEIG::init (const FloatMatrix& a, const FloatMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1150 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1151 (fEIG::init (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1152 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1153 (fEIG::symmetric_init (const FloatMatrix& a, const FloatMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1154 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1155 (fEIG::hermitian_init (const FloatComplexMatrix& a, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1156 const FloatComplexMatrix& b, bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1157 |
8337
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
1158 2008-11-19 Jaroslav Hajek <highegg@gmail.com> |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
1159 |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
1160 * dMatrix.cc (Matrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
1161 fMatrix.cc (FloatMatrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
1162 CMatrix.cc (ComplexMatrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
1163 fCMatrix.cc (FloatComplexMatrix::determinant): |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
1164 Use atmp(i,i) instead of elem(i,i). |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
1165 |
8336
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1166 2008-11-19 Jaroslav Hajek <highegg@gmail.com> |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1167 |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1168 * DET.h (base_det<T>::square): New member function. |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1169 * dMatrix.cc (Matrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1170 fMatrix.cc (FloatMatrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1171 CMatrix.cc (ComplexMatrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1172 fCMatrix.cc (FloatComplexMatrix::determinant): |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1173 Allow taking MatrixType argument. |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1174 * dMatrix.h, fMatrix.h, CMatrix.h, fCMatrix.h: Update decls. |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1175 |
8335 | 1176 2008-11-19 Jaroslav Hajek <highegg@gmail.com> |
1177 | |
1178 * DET.h: New source. | |
1179 * CmplxDET.cc, CmplxDET.h, dbleDET.cc, dbleDET.h, fCmplxDET.cc, | |
1180 fCmplxDET.h, floatDET.cc, floatDET.h: Remove. | |
1181 * Makefile.in: Reflect changes. | |
1182 * mx-defs.h: Remove DET decls. | |
1183 * mx-ext.h, dMatrix.h, fMatrix.h, CMatrix.h, fCMatrix.h, | |
1184 dSparse.h, CSparse.h: Include only DET.h. | |
1185 * dMatrix.cc (Matrix::determinant), | |
1186 fMatrix.cc (FloatMatrix::determinant), | |
1187 CMatrix.cc (ComplexMatrix::determinant), | |
1188 fCMatrix.cc (FloatComplexMatrix::determinant), | |
1189 dSparse.cc (SparseMatrix::determinant), | |
1190 CSparse.cc (SparseComplexMatrix::determinant): Use new class. | |
1191 | |
8328
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
1192 2008-11-18 David Bateman <dbateman@free.fr> |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
1193 |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
1194 * file-ops.cc (std::string file_ops::tilde_expand (const |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
1195 std::string&)): Check if the string contains a tilde and fast |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
1196 return if not. |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
1197 |
8326
545b9f62adcf
dir-ops.cc (dir_entry::read): use std::list<std::string> to cache names before converting to string_vector
John W. Eaton <jwe@octave.org>
parents:
8324
diff
changeset
|
1198 2008-11-17 John W. Eaton <jwe@octave.org> |
545b9f62adcf
dir-ops.cc (dir_entry::read): use std::list<std::string> to cache names before converting to string_vector
John W. Eaton <jwe@octave.org>
parents:
8324
diff
changeset
|
1199 |
545b9f62adcf
dir-ops.cc (dir_entry::read): use std::list<std::string> to cache names before converting to string_vector
John W. Eaton <jwe@octave.org>
parents:
8324
diff
changeset
|
1200 * dir-ops.cc (dir_entry::read): Use std::list<std::string> to |
545b9f62adcf
dir-ops.cc (dir_entry::read): use std::list<std::string> to cache names before converting to string_vector
John W. Eaton <jwe@octave.org>
parents:
8324
diff
changeset
|
1201 cache names before converting to string_vector. |
545b9f62adcf
dir-ops.cc (dir_entry::read): use std::list<std::string> to cache names before converting to string_vector
John W. Eaton <jwe@octave.org>
parents:
8324
diff
changeset
|
1202 |
8324 | 1203 2008-11-14 David Bateman <dbateman@free.fr> |
1204 | |
1205 * Array2.h (Array2<T> Array2<T>::index): Correct use of | |
1206 resize_fill_value. | |
1207 | |
8319
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1208 2008-11-12 Michael Goffioul <michael.goffioul@gmail.com> |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1209 |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1210 * MArray-C.cc, MArray-d.cc, MArray-f.cc, MArray-fC.cc: Declare |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1211 MArray<T>::norm specialization before implicit MArray<T> implicit |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1212 instantiation. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1213 * idx-vector.h (class idx_vector::idx_base_rep, class |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1214 idx_vector::idx_range_rep, class idx_vector::idx_colon_rep, class |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1215 idx_vector::idx_scalar_rep, class idx_vector::idx_vector_rep): Add |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1216 OCTAVE_API tag. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1217 * idx-vector.cc (idx_vector::idx_scalar_rep::idx_scalar_rep(T), |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1218 idx_vector::idx_vector_rep::idx_vector_rep(const Array<T>&)): Ditto. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1219 * oct-inttypes.cc (octave_int<T>::type_name): Ditto. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1220 * oct-inttypes.cc (powf(const octave_int<T>&,const float&)): Cast 'b' |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1221 to double. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1222 * oct-inttypes.h: Undefine min/max. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1223 * oct-norm.h (xnorm, xfrobnorm, xcolnorms, xrownorms): Add OCTAVE_API |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1224 tag. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1225 * oct-norm.cc (xnorm, xfrobnorm, xcolnorms, xrownorms): Ditto. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1226 |
8314
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
1227 2008-11-12 Jaroslav Hajek <highegg@gmail.com> |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
1228 |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
1229 * DiagArray2.h (DiagArray2<T>::maybe_delete_elements): Remove |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
1230 declaration. |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
1231 |
8308
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
1232 2008-11-09 Jaroslav Hajek <highegg@gmail.com> |
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
1233 |
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
1234 * oct-norm.cc: Don't include Array.cc. |
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
1235 (column_norms (const MArray2<T>&, ...)): Use std::vector instead of Array<T> for |
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
1236 accumulator containers. Use empty constructor instead of |
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
1237 Array<T>::resize. |
8628 | 1238 (row_norms (const MArray2<T>&, ...)): Ditto. |
1239 (column_norms (const MSparse2<T>&, ...)): Ditto. | |
1240 (row_norms (const MSparse2<T>&, ...)): Ditto. | |
8308
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
1241 |
8303
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1242 2008-10-31 Jaroslav Hajek <highegg@gmail.com> |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1243 |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1244 * oct-norm.h: New header file. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1245 * oct-norm.cc: New source. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1246 * CSparse.cc (SparseComplexMatrix::row, SparseComplexMatrix::column): |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1247 New member functions. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1248 * CSparse.h (SparseComplexMatrix): Declare them. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1249 * dSparse.cc (SparseMatrix::row, SparseMatrix::column): |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1250 New member functions. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1251 * dSparse.h (SparseMatrix): Declare them. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1252 * MArray-C.cc (MArray<Complex>::norm), |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1253 MArray-d.cc (MArray<double>::norm), |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1254 MArray-fC.cc (MArray<FloatComplex>::norm), |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1255 MArray-f.cc (MArray<float>::norm): Wrap a call to xnorm. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1256 |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1257 * MArray-defs.h (MARRAY_NORM_BODY): Remove. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1258 |
8301
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
1259 2008-11-02 Jaroslav Hajek <highegg@gmail.com> |
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
1260 |
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
1261 * idx-vector.cc (idx_vector::is_complement): Set resulting extent |
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
1262 correctly. |
8302
f2e050b62199
fix dim check in Array<T>::delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8301
diff
changeset
|
1263 * Array.cc (Array<T>::delete_elements (int, const idx_vector&)): |
f2e050b62199
fix dim check in Array<T>::delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8301
diff
changeset
|
1264 Fix check for invalid dim. |
8301
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
1265 |
8298
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
1266 2008-10-31 Jaroslav Hajek <highegg@gmail.com> |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
1267 |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
1268 * idx-vector.h (idx_vector::idx_range_rep::extent): Don't change |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
1269 extent when len is zero. |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
1270 * idx-vector.h (idx_vector::idx_range_rep::idx_range_rep (void)): |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
1271 Create empty range by default. |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
1272 |
8293
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
1273 2008-10-30 Jaroslav Hajek <highegg@gmail.com> |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
1274 |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
1275 * oct-inttypes.h (octave_int_abs): New function. |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
1276 (octave_int_arith_base<T, true>::div): Use octave_int_abs instead of |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
1277 std::abs. |
8628 | 1278 * oct-inttypes.cc (octave_int_arith_base<int64_t, true>): Ditto. |
8293
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
1279 |
8290
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1280 2008-10-28 Jaroslav Hajek <highegg@gmail.com> |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1281 |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1282 * Array-C.cc Array-d.cc Array-f.cc Array-fC.cc Array-i.cc Array-s.cc: |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1283 Don't use semicolon after INSTANTIATE_ARRAY_ASSIGN. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1284 * Array-util.h (zero_dims_inquire): New declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1285 (is_in, how_many_lgt, short_freeze): Remove declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1286 * Array-util.cc (zero_dims_inquire): New functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1287 (is_in, how_many_lgt, short_freeze): Remove functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1288 * Array.cc (Array<T>::index, Array<T>::resize_fill, Array<T>::resize, |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1289 Array<T>::assign, Array<T>::delete_elements): |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1290 Rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1291 * Array.h (Array<T>::index, Array<T>::resize_fill, Array<T>::resize, |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1292 Array<T>::assign, Array<T>::delete_elements): |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1293 Rewrite interfaces. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1294 * Array2.h (Array2<T>::resize): Call Array<T>::resize_fill. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1295 * Array3.h (Array3<T>::resize): Call Array<T>::resize_fill. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1296 * ArrayN.h (ArrayN<T>::resize): Remove declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1297 (ArrayN<T>::index): Fix call to resize_fill_value. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1298 * Sparse.cc (assign, assign1): Use zero-based indices. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1299 * chMatrix.h: Include mx-op-defs.h |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1300 * dim-vector.h (dim_vector::any_neg, dim_vector::chop_all_singletons, |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1301 dim_vector::redim): New member functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1302 * idx-vector.cc: Mostly rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1303 * idx-vector.h: Mostly rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1304 |
8288
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
1305 2008-10-29 Michael Goffioul <michael.goffioul@gmail.com> |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
1306 |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
1307 * lo-specfun.cc (cbesj, cbesy, cbesi, cbesk, cbesh1, cbesh2): Do not |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
1308 use std::complex::real() and std::complex::imag() as l-value, this is |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
1309 not supported under MSVC. |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
1310 |
8279
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
1311 2008-10-28 John W. Eaton <jwe@octave.org> |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
1312 |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
1313 * lo-specfun.cc: Fix prototypes for the Fortran subroutines cbesh, |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
1314 cbesi, cbesj, cbesk, and cbesy. |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
1315 (cbesh, cbesi, cbesj, cbesk, cbesy): Fix calls to Fortran |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
1316 subroutines. |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
1317 |
8278
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
1318 2008-10-28 Brian Gough <bjg@gnu.org> |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
1319 |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
1320 * lo-specfun.cc (zbesi): Fix scaling factor for negative alpha. |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
1321 (cbesi): Likewise. |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
1322 |
8272
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
1323 2008-10-23 John Swensen <jpswensen@comcast.net> |
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
1324 |
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
1325 * oct-shlib.cc (octave_dyld_shlib::open): Call NSLinkEditError to |
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
1326 get better diagnostic if NSLinkModule fails. |
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
1327 |
8271
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
1328 2008-10-23 John W. Eaton <jwe@octave.org> |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
1329 |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
1330 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_NOW instead |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
1331 of RTLD_LAZY. |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
1332 |
8211
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
1333 2008-10-12 Jaroslav Hajek <highegg@gmail.com> |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
1334 |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
1335 * CSparse.cc (ComplexMatrix::expm): Improve inverse preconditioning |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
1336 according to Marco Caliari. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
1337 * dSparse.cc (Matrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
1338 * fCSparse.cc (FloatComplexMatrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
1339 * fSparse.cc (FloatMatrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
1340 |
8207
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
1341 2008-10-10 Jaroslav Hajek <highegg@gmail.com> |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
1342 |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
1343 * sparse-util.h (SparseCholPrint): Change char * argument to const |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
1344 char *. |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
1345 * sparse-util.cc (SparseCholPrint): Likewise. |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
1346 |
8206
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
1347 2008-10-09 Jaroslav Hajek <highegg@gmail.com> |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
1348 |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
1349 * oct-sort.cc (octave_sort<T>::merge_getmem, |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
1350 octave_sort<T>::merge_freemem): Replace malloc -> new [], free -> |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
1351 delete []. |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
1352 (octave_sort<T>::merge_lo, octave_sort<T>::merge_hi): Replace |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
1353 std::memcpy and std::memmove with std::copy. |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
1354 |
8198 | 1355 2008-10-08 John W. Eaton <jwe@octave.org> |
1356 | |
1357 * Sparse-op-defs.h (SPARSE_SMSM_BOOL_OPS): Duplicate code for scalar | |
1358 sparse arguments rather than rely on extern function. | |
1359 | |
8193
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
1360 2008-10-08 Jaroslav Hajek <highegg@gmail.com> |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
1361 |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
1362 * oct-inttypes.h (octave_base_int<T>::compute_threshold): Return |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
1363 exclusive bounds rather than inclusive, be resistant to compiler |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
1364 optimizations. |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
1365 (octave_base_int<T>::convert_real): Use exclusive bounds. |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
1366 |
8191
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
1367 2008-10-07 Jaroslav Hajek <highegg@gmail.com> |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
1368 |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
1369 * oct-inttypes.h (OCTAVE_INT_DOUBLE_BIN_OP): Change octave_int64 to |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
1370 octave_uint64 where appropriate. |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
1371 |
8187 | 1372 2008-10-06 David Bateman <dbateman@free.fr> |
1373 | |
1374 * Sparse-op-defs.h (SPARSE_SMSM_CMP_OPS): Duplicate code for scalar | |
1375 sparse arguments rather than rely on extern function. | |
1376 | |
8186
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
1377 2008-10-06 John W. Eaton <jwe@octave.org> |
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
1378 |
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
1379 * Spasre-op-defs.h: Undo previous change. |
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
1380 |
8185
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1381 2008-10-01 Jaroslav Hajek <highegg@gmail.com> |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1382 |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1383 * oct-inttypes.h (octave_int<T>::one, octave_int<T>::zero): Declare |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1384 constants. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1385 * oct-inttypes.cc: Define them. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1386 * oct-inttypes.h: Define mixed operations via long double if possible. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1387 * oct-inttypes.cc: Define alternative implementations for 64-bit |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1388 multiplication and mixed operations. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1389 * mx-ops: Instantiate all 64-bit integer operations. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1390 |
8180
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
1391 2008-10-06 Jaroslav Hajek <highegg@gmail.com> |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
1392 |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
1393 * oct-lookup.h: Mark functions inline. Add missing std:: qualifiers. |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
1394 |
8181
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
1395 2008-10-06 John W. Eaton <jwe@octave.org> |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
1396 |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
1397 * Sparse.h (Sparse<T>::elt_type): New typedef. |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
1398 * Sparse-op-defs.h (SPARSE_SMSM_BOOL_OP, SPARSE_MSM_CMP_OP): |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
1399 Use it to call sparse-matrix/scalar operator instead of attempting |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
1400 to instantiate mixed-type sparse-matrix/scalar operators. |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
1401 |
8179
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
1402 2008-10-03 Jaroslav Hajek <highegg@gmail.com> |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
1403 |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
1404 * Array.h (Array<T>::maybe_delete_elements): Remove rfv argument from |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
1405 declaration. |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
1406 * Array.cc (Array<T>::maybe_delete_elements): Remove all usages of |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
1407 rfv. |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
1408 |
8178
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
1409 2008-10-03 Jaroslav Hajek <highegg@gmail.com> |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
1410 |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
1411 * Array.cc (assignN): Do not call maybe_delete_elements when |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
1412 for empty matrix. |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
1413 |
8182 | 1414 2008-09-30 Jaroslav Hajek <highegg@gmail.com> |
8169
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
1415 |
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
1416 * oct-inttypes.h: Mostly rewrite. |
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
1417 * oct-inttypes.cc: Modstly rewrite. |
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
1418 |
8157
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
1419 2008-09-29 Jaroslav Hajek <highegg@gmail.com> |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
1420 |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
1421 * Array.cc (Array<T>::maybe_delete_elements_2(idx_vector&)): Return on |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
1422 empty index vector. |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
1423 |
8150
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1424 2008-09-26 Jaroslav Hajek <highegg@gmail.com> |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1425 |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1426 * Array.cc (assign1, assign2, assignN): Do not call |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1427 maybe_delete_elements. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1428 (maybe_delete_elements (Array<idx_vector>&)): Call the 1D and 2D |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1429 special handlers if possible. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1430 * Sparse.cc (assign1, assign2, assignN): Do not call |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1431 maybe_delete_elements. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1432 |
8124
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
1433 2008-09-22 Brian Gough <bjg@gnu.org> |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
1434 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
1435 * oct-rand.cc (initialize_mersenne_twister): Use separate |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
1436 initializations for each generator to avoid correlation. |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
1437 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
1438 2008-09-12 Jaroslav Hajek <highegg@gmail.com> |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
1439 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
1440 * oct-inttypes.h (pow (const octave_int<T>&, const octave_int<T>&)): |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
1441 |
8121
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
1442 2008-09-19 John W. Eaton <jwe@octave.org> |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
1443 |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
1444 * Array.cc (assign1, assign2, assignN): |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
1445 Clear lhs index before throwing error. |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
1446 (Array<T>::value): Clear index before throwing error. |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
1447 |
8119
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
1448 2008-09-18 Jaroslav Hajek <highegg@gmail.com> |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
1449 |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
1450 * Array.cc (maybe_delete_elements_2 (idx_vector&)): Fix tests to get |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
1451 better Matlab compatibility. |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
1452 (maybe_delete_elements (idx_vector&, idx_vector&)): Fix tests to get |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
1453 better Matlab compatibility, simplify, gripe on invalid 2-D deletion. |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
1454 |
8118
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
1455 2008-09-18 Jaroslav Hajek <highegg@gmail.com> |
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
1456 |
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
1457 * Array.h (Array<T>::coerce): Use octave_idx_type instead of int. |
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
1458 |
8104
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
1459 2008-09-12 Jaroslav Hajek <highegg@gmail.com> |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
1460 |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
1461 * oct-inttypes.h (pow (const octave_int<T>&, const octave_int<T>&)): |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
1462 Handle negative exponent correctly. |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
1463 |
8039
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1464 2008-08-19 David Bateman <dbateman@free.fr> |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1465 |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1466 * oct-inttypes.h (template <class T1, class T2> inline T2 |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1467 octave_int_fit_to_range (const T1&, const T2&, const T2&), |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1468 template <typename T> inline T octave_int_fit_to_range (const |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1469 double&, const T&, const T&), template <> inline T2 |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1470 octave_int_fit_to_range<T1, T2> (const T1&, const T2&, const T2&), |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1471 OCTAVE_S_US_FTR): Check and flag integer trunctation. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1472 (OCTAVE_INT_FIT_TO_RANGE, OCTAVE_INT_FIT_TO_RANGE2): Adapt for the |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1473 above change. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1474 (OCTAVE_INT_CONV_FIT_TO_RANGE): New macro for conversion to |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1475 integer types. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1476 (octave_int<T>::conv_error_type): New enum to flag conversion and |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1477 math warnings. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1478 (octave_int<T>::octave_int (U i), octave_int<T>::octave_int |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1479 (double i), octave_int<>::octave_int (const octave_int<U>& i)): |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1480 Flag conversion and math errors other than integer truncation. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1481 (octave_int<T> octave_int<T>::operator - (void)): Flag truncation |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1482 error. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1483 (static bool get_trunc_flag (void), static bool clear_trunc_flag |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1484 (void, static bool trunc_flag)): Delete. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1485 (static int get_conv_flag (void), static bool get_trunc_flag (void), |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1486 static bool get_nan_flag (void), static bool get_non_int_flag (void), |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1487 static bool get_math_trunc_flag (void), static void |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1488 clear_conv_flag (void)): New functions to query and reset |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1489 conversion and mathw arning state. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1490 (static int cov_flag): New parameter holding current conversion |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1491 and math warning state. Set it to zero. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1492 (template <class T> octave_int<T> powf (float, const |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1493 octave_int<T>&), template <class T> octave_int<T> powf (const |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1494 octave_int<T>&, float)): New functions. |
8040 | 1495 |
1496 2008-08-12 Jaroslav Hajek <highegg@gmail.com> | |
8029
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
1497 |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
1498 * lo-ieee.cc (octave_ieee_init): Try to ensure that octave_NaN is |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
1499 classified as positive by lo_ieee_signbit. |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
1500 |
8040 | 1501 2008-08-11 Jaroslav Hajek <highegg@gmail.com> |
8028
f0fbf47c914c
avoid null pointer call in Array<T>::hermitian
Jaroslav Hajek <highegg@gmail.com>
parents:
8022
diff
changeset
|
1502 |
f0fbf47c914c
avoid null pointer call in Array<T>::hermitian
Jaroslav Hajek <highegg@gmail.com>
parents:
8022
diff
changeset
|
1503 * Array.cc (no_op_fcn): New static function. |
f0fbf47c914c
avoid null pointer call in Array<T>::hermitian
Jaroslav Hajek <highegg@gmail.com>
parents:
8022
diff
changeset
|
1504 (Array<T>::hermitian): If fcn is null, set to no_op_fcn. |
f0fbf47c914c
avoid null pointer call in Array<T>::hermitian
Jaroslav Hajek <highegg@gmail.com>
parents:
8022
diff
changeset
|
1505 |
8018
8487847eb092
fCmplxLU.h, CmplxLU.h: fix typo in definition of multiple-inclusion guard macro
John W. Eaton <jwe@octave.org>
parents:
8009
diff
changeset
|
1506 2008-08-07 John W. Eaton <jwe@octave.org> |
8487847eb092
fCmplxLU.h, CmplxLU.h: fix typo in definition of multiple-inclusion guard macro
John W. Eaton <jwe@octave.org>
parents:
8009
diff
changeset
|
1507 |
8022
9708674ab85d
don't include config.h in other header files
John W. Eaton <jwe@octave.org>
parents:
8019
diff
changeset
|
1508 * sprse-base-chol.h, oct-sparse.h: Don't include config.h. |
9708674ab85d
don't include config.h in other header files
John W. Eaton <jwe@octave.org>
parents:
8019
diff
changeset
|
1509 |
8019
0ef13e15319b
replace NPOS with std::string::npos
John W. Eaton <jwe@octave.org>
parents:
8018
diff
changeset
|
1510 * cmd-edit.cc, file-ops.h, kpse.cc, oct-env.cc, pathsearch.cc: |
0ef13e15319b
replace NPOS with std::string::npos
John W. Eaton <jwe@octave.org>
parents:
8018
diff
changeset
|
1511 Replace all uses of NPOS with std::string::npos. |
0ef13e15319b
replace NPOS with std::string::npos
John W. Eaton <jwe@octave.org>
parents:
8018
diff
changeset
|
1512 |
8018
8487847eb092
fCmplxLU.h, CmplxLU.h: fix typo in definition of multiple-inclusion guard macro
John W. Eaton <jwe@octave.org>
parents:
8009
diff
changeset
|
1513 * fCmplxLU.h, CmplxLU.h: Fix typo in definition of |
8487847eb092
fCmplxLU.h, CmplxLU.h: fix typo in definition of multiple-inclusion guard macro
John W. Eaton <jwe@octave.org>
parents:
8009
diff
changeset
|
1514 multiple-inclusion guard macro. |
8487847eb092
fCmplxLU.h, CmplxLU.h: fix typo in definition of multiple-inclusion guard macro
John W. Eaton <jwe@octave.org>
parents:
8009
diff
changeset
|
1515 |
8008
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
1516 2008-08-05 John W. Eaton <jwe@octave.org> |
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
1517 |
8009
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
1518 * file-ops.h, file-ops.cc (file_ops::static_members): |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
1519 New singleton class for static members of file_ops. |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
1520 |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
1521 * pathsearch.h, pathsearch.cc (class dir_path::static_members): |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
1522 New singleton class for static members of dir_path. |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
1523 |
8008
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
1524 * pathsearch.cc (dir_path::init): Move octave_kpathsea_initialized |
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
1525 here from file scope. |
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
1526 |
8006
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
1527 2008-08-04 John W. Eaton <jwe@octave.org> |
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
1528 |
8007
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1529 * oct-env.cc (octave_env::do_set_program_name, |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1530 octave_env::do_base_pathname): Fix usage of |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1531 file_ops::dir_sep_chars. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1532 (octave_env::do_make_absolute): Fix usage of |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1533 file_ops::dir_sep_chars and file_ops::dir_sep_str. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1534 (octave_env::do_get_home_directory): Fix usage of |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1535 file_ops::dir_sep_str. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1536 |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1537 * file-ops.h (file_ops::do_is_dir_sep): New function. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1538 (file_ops_::is_dir_sep): Call it. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1539 * file-ops.cc (class file_ops): Make it a proper singleton object. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1540 (file_ops::file_ops): New constructor. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1541 (file_ops::instance_ok): New function. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1542 (file_ops::xdir_sep_char): Now private. No longer static. Rename |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1543 from dir_sep_char. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1544 (file_ops::xdir_sep_str): Likewise, from dir_sep_str. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1545 (file_ops::xdir_sep_chars): Likewise, from dir_sep_chars. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1546 (file_ops::dir_sep_char, file_ops::dir_sep_str, |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1547 file_ops::dir_sep_chars): New functions. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1548 (file_ops::recursive_rmdir): Fix usage of file_ops::dir_sep_str. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1549 (file_ops::concat): Fix usage of file_ops::dir_sep_char. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1550 |
8006
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
1551 * oct-env.cc (octave_env::instance_ok): Fix typo in error message. |
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
1552 |
7999 | 1553 2008-07-30 John W. Eaton <jwe@octave.org> |
1554 | |
1555 * oct-inttypes.h: Style fixes. | |
1556 | |
8040 | 1557 2008-07-30 Jaroslav Hajek <highegg@gmail.com> |
7997
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
1558 |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
1559 * oct-inttypes.h (octave_int<T>::trunc_flag): New member static field. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
1560 (octave_int<T>::get_trunc_flag, octave_int<T>::clear_trunc_flag): New |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
1561 member functions. |
7999 | 1562 (octave_int<T>::octave_int (const octave_int<U>&)): set trunc_flag |
1563 on truncation. | |
7997
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
1564 (SPECIALIZE_WIDENING_CONVERSION): New macro. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
1565 (DECLARE_OCTAVE_INT_TYPENAME): New macro. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
1566 |
7991
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1567 2008-07-29 David Bateman <dbateman@free.fr> |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1568 |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1569 * lo-ieee.h (LO_IEEE_NA_HW, LO_IEEE_NA_LW, LO_IEEE_NA_FLOAT): |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1570 Change definition so cast from single to double and visa versa |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1571 maintains NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1572 (LO_IEEE_NA_HW_OLD, LO_IEEE_NA_LW_OLD): Keep old values. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1573 (extern OCTAVE_API int __lo_ieee_is_old_NA (double)): Function to |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1574 detect old NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1575 (extern OCTAVE_API double __lo_ieee_replace_old_NA (double)): |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1576 Function to replace old NA value with new new. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1577 * lo-cieee.c (int __lo_ieee_is_old_NA (double)): Function to |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1578 detect old NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1579 (double __lo_ieee_replace_old_NA (double)): Function to replace |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1580 old NA value with new new. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1581 * data-conv.cc (void read_doubles(std::istream&, double *, |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1582 save_type, int, bool, octave_mach_info::float_format)): Test if |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1583 loaded NA values is the old representation and replace it. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1584 |
8040 | 1585 2008-07-28 Jaroslav Hajek <highegg@gmail.com> |
7979 | 1586 |
1587 * lo-math.h: Ensure log2 is undefined from cmath in C++ mode. | |
1588 | |
7957
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
1589 2008-07-21 Michael Goffioul <michael.goffioul@gmail.com> |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
1590 |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
1591 * oct-mutex.h (octave_base_mutex::octave_base_mutex): Initialize |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
1592 count to 1, not -1. |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
1593 |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
1594 * oct-mutex.cc (octave_base_mutex::lock, octave_base_mutex::unlock): |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
1595 Replace error calls with (*current_liboctave_error_handler). |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
1596 |
7955
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
1597 2008-07-21 John W. Eaton <jwe@octave.org> |
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
1598 |
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
1599 * regex-match.cc (regex_match::init): Initialize err to 0. |
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
1600 |
7952
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
1601 2008-07-19 John W. Eaton <jwe@octave.org> |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
1602 |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
1603 * oct-mutex.h (class octave_base_mutex): New class. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
1604 (class octave_mutex): Don't use union for rep and count. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
1605 (octave_mutex::rep): Declare as octave_base_mutex. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
1606 (octave_mutex::count): Delete. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
1607 (octave_mutex::lock, octave_mutex::unlock): No longer virtual. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
1608 (octave_mutex::~octave_mutex): No need to check that rep is |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
1609 valid or set rep to zero after deleting. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
1610 (octave_mutex::operator =): No need to check that rep is valid. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
1611 * oct-mutex.cc (octave_w32_mutex, octave_pthread_mutex): Derive |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
1612 from octave_base_mutex, not octave_mutex. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
1613 |
7943
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
1614 2008-07-18 John W. Eaton <jwe@octave.org> |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
1615 |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
1616 * oct-mutex.h (octave_mutex::octave_mutex (int)): Initialize rep |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
1617 to 0, not count. |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
1618 * oct-mutex.cc (octave_mutex::octave_mutex (void)): Set rep->count |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
1619 to 1 instead of incrementing it. |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
1620 |
7941
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
1621 2008-07-17 Michael Goffioul <michael.goffioul@gmail.com> |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
1622 |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
1623 * dNDArray.cc: Do not include ctor NDArray(Array<octave_idx_type>, |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
1624 bool, bool) into conditional HAVE_FFTW3 preprocessor statement. |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
1625 |
7936
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1626 2008-07-16 John W. Eaton <jwe@octave.org> |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1627 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1628 * oct-mutex.h (octave_autolock::octave_autolock (void), |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1629 octave_autolock (const octave_autolock&), |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1630 octave_autolock::operator = (const octave_autolock&)): |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1631 Delete definitions. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1632 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1633 2008-07-16 Michael Goffioul <michael.goffioul@gmail.com> |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1634 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1635 * cmd-edit.cc (event_hook_lock): New static mutex variable. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1636 (command_editor::event_handler): Lock and copy event_hook_set before |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1637 executing handlers. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1638 (command_editor::add_event_hook, command_editor::remove_event_hook): |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1639 Autolock event_hook_lock. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1640 |
7934 | 1641 2008-07-15 Michael Goffioul <michael.goffioul@gmail.com> |
1642 | |
1643 * oct-mutex.h, oct-mutex.cc: New files. | |
1644 * Makefile.in: Add them to appropriate lists. | |
1645 | |
7929 | 1646 2008-07-15 John W. Eaton <jwe@octave.org> |
1647 | |
1648 * oct-sort.cc, oct-sort.h (octave_sort<T>::count_run): Declare | |
1649 descending arg as bool&. | |
1650 (octave_sort<T>::sort): Pass bool to count_run for descending arg. | |
1651 | |
7922
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1652 2008-07-11 John W. Eaton <jwe@octave.org> |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1653 |
7924 | 1654 * dDiagMatrix.cc (DiagMatrix::diag): Return empty ColumnVector if |
1655 number of rows or columns is 0. | |
1656 * fDiagMatrix.cc (FloatDiagMatrix::diag): Likewise. | |
1657 | |
1658 * Array-util.cc (is_vector): Avoid GCC warning. | |
1659 * Array-f.cc (Array<float>::sort): Likewise. | |
1660 * Array-d.cc (Array<double>::sort): Likewise. | |
1661 * dbleQR.cc (QR::QR (const Matrix&, const Matrix&)): Likewise. | |
1662 * CmplxQR.cc (ComplexQR::ComplexQR (const ComplexMatrix&, const | |
1663 ComplexMatrix&)): Likewise. | |
1664 * floatQR.cc (FloatQR::FloatQR (const FloatMatrix&, const | |
1665 FloatMatrix&)): Likewise. | |
1666 * fCmplxQR.cc (FloatComplexQR::FloatComplexQR (const | |
1667 FloatComplexMatrix&, const FloatComplexMatrix&)): Likewise. | |
1668 * Quad.cc (IndefQuad::do_integrate (octave_idx_type&, | |
1669 octave_idx_type&, float&), FloatIndefQuad::do_integrate, | |
1670 DefQuad::do_integrate octave_idx_type&, octave_idx_type&, float&, | |
1671 FloatIndefQuad::do_integrate): Likewise. | |
1672 | |
7922
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1673 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1674 SND_BOOL_OP, NDND_BOOL_OP): Detect NaN values. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1675 * Array-util.cc (gripe_nan_to_logical_conversion): New function. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1676 * Array-util.h: Provide decl. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1677 * oct-inttypes.h (xisnan (octave_int<T>)): New function. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1678 * lo-mappers.h (xisnan (bool), xisnan (char)): New inline functions. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1679 |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1680 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1681 dSparse.cc, fCMatrix.cc, fCNDArray.cc, fMatrix.cc, fNDArray.cc: |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1682 New member function, any_element_is_nan. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1683 * CMatrix.h, CNDArray.h, CSparse.h, dMatrix.h, dNDArray.h, |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1684 dSparse.h, fCMatrix.h, fCNDArray.h, fMatrix.h, fNDArray.h: |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1685 Provide decl. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1686 |
7919
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
1687 2008-07-10 David Bateman <dbateman@free.fr> |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
1688 |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
1689 * dNDArray.cc (NDArray::NDArray (const Array<octave_idx_type>&, |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
1690 bool, bool)): New constructor. |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
1691 * dNDArray.h: Provide decl. |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
1692 |
7914
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
1693 2008-07-10 Michael Goffioul <michael.goffioul@gmail.com> |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
1694 |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
1695 * lo-specfun.h: Fix typo in erff/erfcf declaration. |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
1696 * lo-specfun.cc: Ditto. Add atanhf implementation. |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
1697 |
8040 | 1698 2008-06-20 Jaroslav Hajek <highegg@gmail.com> |
7894
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
1699 |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
1700 * MatrixType.h: Add missing include statement. |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
1701 |
7889
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
1702 2008-06-13 Michael Goffioul <michael.goffioul@gmail.com> |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
1703 |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
1704 * lo-mappers.cc (arg): Remove ambiguity about atan2(float,float) usage. |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
1705 * fCmplxDET.cc (FloatComplexDET::initialize10): Likewise, for pow. |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
1706 |
7885 | 1707 2008-06-11 John W. Eaton <jwe@octave.org> |
1708 | |
1709 * so-array.h, so-array.cc, Array-so.cc: Delete. | |
1710 * Makefile.in: Remove them from the lists. | |
1711 | |
7872 | 1712 2008-06-05 John W. Eaton <jwe@octave.org> |
1713 | |
1714 * oct-shlib.cc (octave_base_shlib::remove): Only dereference | |
1715 counter if iterator is valid. | |
1716 | |
7814
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1717 2008-06-02 David Bateman <dbateman@free.fr> |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1718 |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1719 * fCmplxDET.cc (FloatComplexDET::value_will_overflow, |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1720 FloatComplexDET:value_will_underflow): Replace DBL_MIN and DBL_MAX |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1721 with FLT_MIN and FLT_MAX. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1722 * floatDET.cc ((FloatDET::value_will_overflow, |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1723 FloatDET:value_will_underflow): Ditto. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1724 * lo-cieee.c (__lo_ieee_float_is_NA): Check only a sngle word for |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1725 float NA value. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1726 (lo_ieee_float_inf_value): Return correct float Infinity value. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1727 (lo_ieee_float_NA_value): Return correct float NA value. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1728 (lo_ieee_float_NaN_value): Return correct float NaN value. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1729 * lo-ieee.cc (octave_ieee_init): Set float NA value correctly. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1730 * lo-ieee.h (lo_ieee_float): value of union is of type float. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1731 (LO_IEEE_NA_FLOAT): Make NA value a valid float NaN. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1732 (LO_IEEE_NA_FLOAT_LW): Delete. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1733 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
1734 2008-06-02 David Bateman <dbateman@free.fr> |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
1735 |
7810
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
1736 * fCmplxLU.cc (class FloatComplexLU): Correct error in instantiation. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
1737 * floatLU.cc (class FloatLU): ditto. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
1738 * floatLU.h (class FloatLU): ditto. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
1739 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
1740 * floatAEPBAL.cc (octave_idx_type FloatAEPBALANCE::init (const |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
1741 FloatMatrix&, const std::string&)): Use FloatMatrix to initialize |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
1742 balancing_mat. |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
1743 |
7809
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
1744 * Makefile.in (MATRIX_INC): Add fCmplxAEPBAL.h and floatAEPBAL.h. |
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
1745 (MATRIX_SRC): Add fCmplxAEPBAL.cc and floatAEPBAL.cc. |
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
1746 |
7805
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1747 2008-05-21 David Bateman <dbateman@free.fr> |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1748 |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1749 * Quad-opts.in: Handle single precision tolerances. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1750 * Quad.cc (float_user_fcn): New static variable. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1751 (quad_float_fcn_ptr): New typedef. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1752 (qagp, quagi): New QUADPACK decls. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1753 (float_user_function): New function. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1754 (DefQuad::do_integrate, IndefQuad::do_integrate): Float versions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1755 (FloatDefQuad::do_integrate, FloatIndefQuad::do_integrate): |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1756 New functions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1757 * Quad.h (class Quad): Handle float type. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1758 (class FloatDefQuad, class FloatIndefQuad): New classes. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1759 |
8040 | 1760 2008-05-21 Jaroslav Hajek <highegg@gmail.com> |
7799 | 1761 |
7804
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1762 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1763 (xcdotc, csyrk, cherk): New F77 decls. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1764 * fMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1765 (operator * (const FloatMatrix&, const FloatMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1766 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1767 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1768 (ssyrk): New F77 decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1769 * fCMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1770 (operator * (const FloatComplexMatrix&, const |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1771 FloatComplexMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1772 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1773 |
7803 | 1774 * dMatrix.cc, CMatrix.cc, Sparse-op-defs.h: Add missing copyright. |
1775 | |
7802
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
1776 * Sparse-op-defs.h (SPARSE_FULL_MUL): Simplify scalar*matrix case. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
1777 Correct indenting. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
1778 (SPARSE_FULL_TRANS_MUL): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
1779 (FULL_SPARSE_MUL): Simplify scalar*matrix case. Correct indenting. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
1780 Move OCTAVE_QUIT one level up. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
1781 (FULL_SPARSE_MUL_TRANS): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
1782 * dSparse.h (mul_trans, trans_mul): Provide decl. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
1783 * dSparse.cc (mul_trans, trans_mul): New functions. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
1784 * CSparse.h (mul_trans, trans_mul, mul_herm, herm_mul): Provide decl. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
1785 * CSparse.cc (mul_trans, trans_mul, mul_herm, herm_mul): New functions. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
1786 |
7800
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
1787 * dMatrix.h (xgemm): Provide decl. |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
1788 * dMatrix.cc (xgemm): New function. |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
1789 (operator * (const Matrix&, const Matrix&)): Simplify. |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
1790 (get_blas_trans_arg): New function. |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
1791 * CMatrix.h (xgemm): Provide decl. |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
1792 * CMatrix.cc (xgemm): New function. |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
1793 (operator * (const ComplexMatrix&, const ComplexMatrix&)): Simplify. |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
1794 (get_blas_trans_arg): New function. |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
1795 |
7799 | 1796 * MatrixType.cc (matrix_real_probe, matrix_complex_probe): |
1797 New template functions. | |
1798 (MatrixType::MatrixType (const Matrix&), | |
1799 MatrixType::MatrixType (const FloatMatrix&)): | |
1800 just call matrix_real_probe. | |
1801 (MatrixType::MatrixType (const ComplexMatrix&), | |
1802 MatrixType::MatrixType (const FloatComplexMatrix&)): | |
1803 just call matrix_complex_probe. | |
1804 | |
1805 * MatrixType.cc (MatrixType::MatrixType (matrix_type, bool)): | |
1806 add missing test for Unknown. | |
1807 | |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1808 2008-05-21 David Bateman <dbateman@free.fr> |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1809 |
7797
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1810 * fCMatrix.cc (float rcond): Replace with float rcon everywhere |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1811 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1812 (float ComplexMatrix::rcond (void) const): New method for |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1813 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1814 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1815 * fCMatrix.h (float rcond): Replace with float rcon everywhere |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1816 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1817 (float ComplexMatrix::rcond (void) const): New method for |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1818 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1819 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1820 * fMatrix.cc (float rcond): Replace with float rcon everywhere |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1821 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1822 (float Matrix::rcond (void) const): New method for |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1823 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1824 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1825 * fMatrix.h (float rcond): Replace with float rcon everywhere |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1826 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1827 (float Matrix::rcond (void) const): New method for |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1828 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1829 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1830 |
7796
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
1831 * Array.cc: Fix transpose tests. |
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
1832 |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1833 * CmplxGEBAL.cc (ComplexGEPBALANCE), dbleGEPBAL.cc (GEPBALANCE), |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1834 fCmplxGEPBAL.cc (FloatComplexGEPBALANCE), floatGEPBAL.cc |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1835 (FloatGEPBALANCE): New class for generalized eigenvalue balancing. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1836 * CmplxGEBAL.h (ComplexGEPBALANCE), dbleGEPBAL.h (GEPBALANCE), |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1837 fCmplxGEPBAL.h (FloatComplexGEPBALANCE), floatGEPBAL.h |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1838 (FloatGEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1839 * Makefile.in (MATRIX_INC): Include them here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1840 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1841 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1842 * floatAEPBAL.cc (FloatAEPBALANCE), fCmplxAEPBAL.cc |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1843 (FloatComplexAEPBALANCE): New classes for single precision |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1844 Algebraic eignvalue balancing. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1845 * floatAEPBAL.h (FloatAEPBALANCE), fCmplxAEPBAL.h |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1846 (FloatComplexAEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1847 * Makefile.in (MATRIX_INC): Include them here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1848 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1849 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1850 * floatHESS.cc (FloatHESS), fCmplxHESS.cc (FloatComplexHESS): New |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1851 classes for single precision Hessenberg decomposition. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1852 * floatHESS.h (FloatHESS), fCmplxHESS.h (FloatComplexHESS): |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1853 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1854 * Makefile.in (MATRIX_INC): Include them here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1855 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1856 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1857 * floatQR.cc (FloatQR), fCmplxQR.cc (FloatComplexQR): New |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1858 classes for single precision QR decomposition. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1859 * floatQR.h (FloatQR), fCmplxQR.h (FloatComplexQR): |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1860 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1861 * Makefile.in (MATRIX_INC): Include them here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1862 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1863 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1864 * floatQRP.cc (FloatQRP), fCmplxQRP.cc (FloatComplexQRP): New |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1865 classes for single precision permuted QR decomposition. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1866 * floatQRP.h (FloatQRP), fCmplxQRP.h (FloatComplexQRP): |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1867 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1868 * Makefile.in (MATRIX_INC): Include them here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1869 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1870 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1871 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1872 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1873 FloatHESS, FloatComplexHESS, FloatQR, FloatComplexQR, QRP, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1874 ComplexQRP, FloatQRP, FloatComplexQRP): Declare classes. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1875 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1876 2008-05-20 David Bateman <dbateman@free.fr> |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1877 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1878 * Array.cc (Array<T> Array<T>::transpose () const): Modify for tiled |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1879 transpose to limit the number of cache misses. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1880 (Array<T> Array<T>::hermitian (T (*)(const&)) const): New method |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1881 for matrix conjugate transpose. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1882 * Array.h (Array<T> hermitian (T (*)(const&)) const): Declare it. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1883 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1884 * DiagArray2.cc (DiagArray2<T> DiagArray2<T>::transpose () const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1885 Specialization for diagonal arrays. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1886 (DiagArray2<T> DiagArray2<T>::transpose (T (*) (const&)) const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1887 Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1888 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1889 * MArray.h (MArray<T> hermitian <T (*) (const&)) const): New method. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1890 (MArray<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1891 * MArray2.h (MArray2<T> hermitian <T (*) (const&)) const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1892 * Array2.h (Array2<T> hermitian <T (*) (const&)) const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1893 * ArrayN.h (ArrayN<T> hermitian <T (*) (const&)) const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1894 * MDiagArray2.h (MDiagArray2<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1895 (MDiagArray<T> hermitian <T (*) (const&)) const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1896 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1897 * CColVector.cc (transpose, hermitian): Define in terms of base class. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1898 * CRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1899 * dColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1900 * dRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1901 * CDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1902 * dDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1903 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1904 * fCColVector.cc (transpose, hermitian): Define in terms of base class. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1905 * fCRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1906 * fColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1907 * fRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1908 * fCDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1909 * fDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1910 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1911 * CDiagMatrix.cc (ComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1912 ComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1913 * dDiagMatrix.cc (DiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1914 * CMatrix.cc (ComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1915 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1916 * fCDiagMatrix.cc (FloatComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1917 FloatComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1918 * fDiagMatrix.cc (FloatDiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1919 * fCMatrix.cc (FloatComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1920 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1921 * lo-mappers.cc (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1922 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1923 New mapper functions for single precion values. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1924 * lo-mappers.h (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1925 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1926 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1927 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1928 * CmplxGEBAL.cc (ComplexGEPBALANCE), dbleGEPBAL.cc (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1929 fCmplxGEPBAL.cc (FloatComplexGEPBALANCE), floatGEPBAL.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1930 (FloatGEPBALANCE): New class for generalized eigenvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1931 * CmplxGEBAL.h (ComplexGEPBALANCE), dbleGEPBAL.h (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1932 fCmplxGEPBAL.h (FloatComplexGEPBALANCE), floatGEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1933 (FloatGEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1934 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1935 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1936 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1937 * floatAEPBAL.cc (FloatAEPBALANCE), fCmplxAEPBAL.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1938 (FloatComplexAEPBALANCE): New classes for single precision |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1939 Algebraic eignvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1940 * floatAEPBAL.h (FloatAEPBALANCE), fCmplxAEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1941 (FloatComplexAEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1942 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1943 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1944 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1945 * floatHESS.cc (FloatHESS), fCmplxHESS.cc (FloatComplexHESS): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1946 classes for single precision Hessenberg decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1947 * floatHESS.h (FloatHESS), fCmplxHESS.h (FloatComplexHESS): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1948 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1949 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1950 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1951 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1952 * floatQR.cc (FloatQR), fCmplxQR.cc (FloatComplexQR): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1953 classes for single precision QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1954 * floatQR.h (FloatQR), fCmplxQR.h (FloatComplexQR): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1955 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1956 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1957 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1958 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1959 * floatQRP.cc (FloatQRP), fCmplxQRP.cc (FloatComplexQRP): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1960 classes for single precision permuted QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1961 * floatQRP.h (FloatQRP), fCmplxQRP.h (FloatComplexQRP): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1962 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1963 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1964 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1965 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1966 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1967 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1968 FloatHESS, FloatComplexHESS, FloatQR, FloatComplexQR, QRP, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1969 ComplexQRP, FloatQRP, FloatComplexQRP): Declare classes. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1970 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1971 * Array-f.cc, Array-fC.cc, MArray-f.cc, MArray-fC.cc, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1972 fCColVector.cc, fCColVector.h, fCDiagMatrix.cc, fCDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1973 fCMatrix.cc, fCMatrix.h, fCNDArray.cc, fCNDArray.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1974 fCRowVector.cc, fCRowVector.h, fCmplxCHOL.cc, fCmplxCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1975 fCmplxDET.cc, fCmplxDET.h, fCmplxLU.cc, fCmplxLU.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1976 fCmplxSCHUR.cc, fCmplxSCHUR.h, fCmplxSVD.cc, fCmplxSVD.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1977 fColVector.cc, fColVector.h, fDiagMatrix.cc, fDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1978 fEIG.cc, fEIG.h, fMatrix.cc, fMatrix.h, fNDArray.cc, fNDArray.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1979 fRowVector.cc, fRowVector.h, floatCHOL.cc, floatCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1980 floatDET.cc, floatDET.h, floatLU.cc, floatLU.h, floatSCHUR.cc, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1981 floatSCHUR.h, floatSVD.cc, floatSVD.h: New files. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1982 * Makefile.in (MATRIC_INC, TI_SRC, MATRIX_SRC): Add them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1983 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1984 * CMatrix.cc, CMatrix.h, CNDArray.cc, CNDArray.h, CmplxDET.cc, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1985 MArray-C.cc, MArray-d.cc, MArray-defs.h, MArray.cc, MArray.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1986 MatrixType.cc, MatrixType.h, SparseCmplxQR.cc, SparseCmplxQR.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1987 SparseQR.cc, SparseQR.h, dMatrix.cc, dMatrix.h, dNDArray.cc, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1988 dNDArray.h, data-conv.cc, data-conv.h, dbleDET.cc, dbleSVD.cc, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1989 lo-cieee.c, lo-ieee.cc, lo-ieee.h, lo-mappers.cc, lo-mappers.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1990 lo-specfun.cc, lo-specfun.h, lo-utils.cc, lo-utils.h, mx-base.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1991 mx-defs.h, mx-ext.h, mx-inlines.cc, mx-op-defs.h, mx-ops, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1992 oct-cmplx.h, oct-fftw.cc, oct-fftw.h, oct-inttypes.h, vx-ops: |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1993 Allow single precision types. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1994 |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
1995 2008-05-20 David Bateman <dbateman@free.fr> |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
1996 |
7788 | 1997 * CMatrix.cc (double rcond): Replace with double rcon everywhere |
1998 to avoid shadowed variable warning | |
1999 (double ComplexMatrix::rcond (void) const): New method for | |
2000 reciprocal condition number calculation. | |
2001 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
2002 * CMatrix.h (double rcond): Replace with double rcon everywhere | |
2003 to avoid shadowed variable warning | |
2004 (double ComplexMatrix::rcond (void) const): New method for | |
2005 reciprocal condition number calculation. | |
2006 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
2007 * dMatrix.cc (double rcond): Replace with double rcon everywhere | |
2008 to avoid shadowed variable warning | |
2009 (double Matrix::rcond (void) const): New method for | |
2010 reciprocal condition number calculation. | |
2011 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
2012 * dMatrix.h (double rcond): Replace with double rcon everywhere | |
2013 to avoid shadowed variable warning | |
2014 (double Matrix::rcond (void) const): New method for | |
2015 reciprocal condition number calculation. | |
2016 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
2017 | |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
2018 * regex-match.cc, regex-match.h: New class for simple regular |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
2019 expression matching |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
2020 * Makefile.in (INCLUDES): Add regex-match.h here, and |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
2021 (LIBOCTAVE_CXX_SOURCES): regex-match.cc here. |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
2022 |
7776 | 2023 2008-05-19 David Bateman <dbateman@free.fr> |
2024 | |
2025 * dSparse.cc: Replace some DGBCON with GPBCON where they are | |
2026 incorrectly used. | |
2027 | |
7774
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
2028 2008-05-13 David Bateman <dbateman@free.fr> |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
2029 |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
2030 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep (const boolNDArray&)): |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
2031 If len is zero size the index vector in the same manner as if len |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
2032 is not zero. |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
2033 |
7758
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
2034 2008-05-05 John W. Eaton <jwe@octave.org> |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
2035 |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
2036 * cmd-edit.cc (command_editor::re_read_init_file, |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
2037 gnu_readline::do_re_read_init_file): New functions. |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
2038 * cmd-edit.h (command_editor::re_read_init_file): Provide decl. |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
2039 (command_editor::do_re_read_init_file): New function. |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
2040 * oct-rl-edit.c (octave_rl_re_read_init_file): New function. |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
2041 * oct-rl-edit.h: Provide decl. |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
2042 |
7757
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
2043 2008-05-05 Rafael Laboissiere <rafael@debian.org> |
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
2044 |
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
2045 * oct-rl-edit.c (octave_read_init_file): Simply call rl_read_init_file. |
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
2046 |
7749
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2047 2008-05-01 John W. Eaton <jwe@octave.org> |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2048 |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2049 * oct-shlib.h (octave_shlib::number_of_functions_loaded): |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2050 Return size_t instead of int value. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2051 * oct-shlib.cc (octave_base_shlib::number_of_functions_loaded): |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2052 Likewise. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2053 (octave_base_shlib::fcn_names): Now a std::map object. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2054 Adjust all uses. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2055 (octave_base_shlib::fcn_names_iterator, |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2056 octave_base_shlib::fcn_names_const_iterator): New typedefs. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2057 (octave_base_shlib::add_to_fcn_names, octave_base_shlib::remove): |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2058 Perform reference counting for functions accessed. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2059 |
8040 | 2060 2008-04-30 Jaroslav Hajek <highegg@gmail.com> |
7740 | 2061 |
2062 * lo-mappers.cc (xlog2 (double)): Compute log (2), not log2 (2). | |
2063 (xlog2 (Complex), xlog2 (double, int&), xlog2 (Complex, int&)): | |
2064 New functions. | |
2065 * lo-mappers.h: Provide decls. | |
2066 | |
7735
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
2067 2008-04-25 Michael Goffioul <michael.goffioul@gmail.com> |
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
2068 |
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
2069 * oct-lookup.h (seq_lookup): Do not use output value of fill_n (MSVC |
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
2070 does not support it). |
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
2071 |
7732
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
2072 2008-04-24 Michael Goffioul <michael.goffioul@gmail.com> |
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
2073 |
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
2074 * lo-sysdep.cc (octave_popen2): Don't set PIPE_NOWAIT for parentWrite. |
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
2075 |
7727
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
2076 2008-04-21 John W. Eaton <jwe@octave.org> |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
2077 |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
2078 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep (const boolNDArray&)): |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
2079 Fix for-loop condition. |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
2080 |
8040 | 2081 2008-04-19 Jaroslav Hajek <highegg@gmail.com> |
7725
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
2082 |
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
2083 * CmplxCHOL.cc, CmplxQR.cc, dbleCHOL.cc, dbleQR.cc: Fix calls to error() |
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
2084 |
7717
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2085 2008-04-16 David Bateman <dbateman@free.fr> |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2086 |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2087 * Sparse.h (Sparse<T>& operator = (Sparse<T>&)): Move definition |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2088 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2089 * Sparse.cc (Sparse<T>& Sparse<T>::operator = (Sparse<T>&)): To |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2090 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2091 * Array.h (Array<T>& operator = (Array<T>&)): Move definition |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2092 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2093 * Array.cc (Array<T>& Array<T>::operator = (Array<T>&)): To |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2094 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2095 |
7707
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
2096 2008-04-09 Michael Goffioul <michael.goffioul@gmail.com> |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
2097 |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
2098 * lo-mappers.cc (xround): Avoid floating-point overflow when input |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
2099 value is equal to bitmax implementation taken from gnulib). |
7705
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
2100 |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
2101 * file-stat.cc (file_stat::update_internal): Do not strip trailing |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
2102 file separator when path length is equal to 1 (handle case '\') under |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
2103 __WIN32__ platforms. |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
2104 |
8040 | 2105 2008-04-07 Jaroslav Hajek <highegg@gmail.com> |
7700
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2106 |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2107 * dbleQR.h, dbleQR.cc (QR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2108 * CmplxQR.h, CmplxQR.cc (ComplexQR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2109 * dbleCHOL.h, dbleCHOL.cc (CHOL::insert_sym, CHOL::delete_sym, |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2110 CHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2111 * CmplxCHOL.h, CmplxCHOL.cc (ComplexCHOL::insert_sym, |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2112 ComplexCHOL::delete_sym, ComplexCHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2113 |
7695
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
2114 2008-04-03 John W. Eaton <jwe@octave.org> |
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
2115 |
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
2116 * lo-sysdep.cc [__WIN32__ && ! __CYGWIN__]: Include windows.h. |
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
2117 |
7671
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
2118 2008-03-27 Jaroslav Hajek <highegg@gmail.com> |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
2119 |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
2120 * oct-lookup.h: New file. |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
2121 |
7646
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
2122 2008-03-26 David Bateman <dbateman@feee.fr> |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
2123 |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
2124 * Array.cc (assignN): Additional fix for vector assignments. |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
2125 |
7642
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
2126 2008-03-25 David Bateman <dbateman@feee.fr> |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
2127 |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
2128 * Array.cc (assignN): refactor calculation of new dimensions when |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
2129 original matrix is empty. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
2130 * Array-util.cc (bool is_vector (const dim_vector&)): New |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
2131 function. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
2132 * Array-util.h (bool is_vector (const dim_vector&)): declare it. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
2133 |
7637
2be056f03720
Fix fall back from sparse cholesky factorization to LU when matrix detected as not being positive definite
David Bateman <dbateman@free.fr>
parents:
7636
diff
changeset
|
2134 2008-03-25 David Bateman <dbateman@free.fr> |
2be056f03720
Fix fall back from sparse cholesky factorization to LU when matrix detected as not being positive definite
David Bateman <dbateman@free.fr>
parents:
7636
diff
changeset
|
2135 |
2be056f03720
Fix fall back from sparse cholesky factorization to LU when matrix detected as not being positive definite
David Bateman <dbateman@free.fr>
parents:
7636
diff
changeset
|
2136 * sparse-base-chol.h (sparse_base_chol_rep::~sparse_base_chol_rep |
2be056f03720
Fix fall back from sparse cholesky factorization to LU when matrix detected as not being positive definite
David Bateman <dbateman@free.fr>
parents:
7636
diff
changeset
|
2137 (void)): Only free the factorization if it was created |
2be056f03720
Fix fall back from sparse cholesky factorization to LU when matrix detected as not being positive definite
David Bateman <dbateman@free.fr>
parents:
7636
diff
changeset
|
2138 * spase-base-chol.cc (sparse_base_chol_rep::init): Don't attempt |
2be056f03720
Fix fall back from sparse cholesky factorization to LU when matrix detected as not being positive definite
David Bateman <dbateman@free.fr>
parents:
7636
diff
changeset
|
2139 to factorize a matrix that has been flagged as not being positive |
2be056f03720
Fix fall back from sparse cholesky factorization to LU when matrix detected as not being positive definite
David Bateman <dbateman@free.fr>
parents:
7636
diff
changeset
|
2140 definite. |
2be056f03720
Fix fall back from sparse cholesky factorization to LU when matrix detected as not being positive definite
David Bateman <dbateman@free.fr>
parents:
7636
diff
changeset
|
2141 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2142 2008-03-25 John W. Eaton <jwe@octave.org> |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2143 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2144 * lo-mappers.cc (xtrunc): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2145 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2146 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2147 2008-03-25 Jaroslav Hajek <highegg@gmail.com> |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2148 |
7638
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
2149 * lo-specfun.cc (expm1, log1p): New functions. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
2150 * lo-specfun.h: Provide decls. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
2151 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2152 * lo-mappers.cc (xroundb): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2153 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2154 |
7625
43e3efb2cbc2
Add integer el_div and el_ldiv operators to the binops that were missing them
David Bateman <dbateman@free.fr>
parents:
7620
diff
changeset
|
2155 2008-03-23 David Bateman <dbateman@free.fr> |
43e3efb2cbc2
Add integer el_div and el_ldiv operators to the binops that were missing them
David Bateman <dbateman@free.fr>
parents:
7620
diff
changeset
|
2156 |
43e3efb2cbc2
Add integer el_div and el_ldiv operators to the binops that were missing them
David Bateman <dbateman@free.fr>
parents:
7620
diff
changeset
|
2157 * mx-ops: Definite binary operators for mixed integer array + |
43e3efb2cbc2
Add integer el_div and el_ldiv operators to the binops that were missing them
David Bateman <dbateman@free.fr>
parents:
7620
diff
changeset
|
2158 array case, except for 64bit cases. |
43e3efb2cbc2
Add integer el_div and el_ldiv operators to the binops that were missing them
David Bateman <dbateman@free.fr>
parents:
7620
diff
changeset
|
2159 |
7619 | 2160 2008-03-21 David Bateman <dbateman@free.fr> |
2161 | |
2162 * oct-sparse.h: Add headers for amd.h. | |
2163 | |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2164 2008-03-20 David Bateman <dbateman@free.fr> |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2165 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2166 * Array.cc (Array<T> Array<T>::diag (octave_idx_type) const): New |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2167 method for diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2168 * Array.h (Array<T> diag (octave_idx_type) const): Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2169 * Array2.h (Array2<T> diag (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2170 * MArray2.h (MArray2<T> diag (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2171 * ArrayN.h (ArrayN<T> diag (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2172 * MArrayN.h (MArrayN<T> diag (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2173 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2174 * Sparse.cc (Sparse<T> Sparse<T>::diag (octave_idx_type) const): |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2175 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2176 * Sparse.h (Sparse<T> diag (octave_idx_type) const): Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2177 * MSparse.h (MSparse<T> diag (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2178 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2179 * Range.cc (Matrix Range::diag (octave_idx_type) const): |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2180 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2181 * Range.h (Matrix diag (octave_idx_type) const): Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2182 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2183 * CDiagMatrix.cc (ComplexColumnVector ComplexDiagMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2184 (void) const): delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2185 * dDiagMatrix.cc (ColumnVector DiagMatrix::diag (void) const): delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2186 * dDiagMatrix.h (ColumnVector diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2187 * CMatrix.cc (ComplexColumnVector ComplexMatrix::diag (void) const): |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2188 delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2189 * CMatrix.h (ComplexColumnVector diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2190 * dMatrix.cc (ColumnVector Matrix::diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2191 * dMatrix.h (ColumnVector diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2192 * boolMatrix.cc (boolMatrix boolMatrix::diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2193 * boolMatrix.h (boolMatrix diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2194 * chMatrix.cc (charMatrix charMatrix::diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2195 * chMatrix.h (charMatrix diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2196 * intNDArray.cc (intNDArray<T> intNDArray<T>::diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2197 * intNDArray.h (intNDArray<T> diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2198 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2199 * CMatrix.cc (ComplexMatrix ComplexMatrix::diag (octave_idx_type) |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2200 const): Rewrite in terms of template classes function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2201 * CMatrix.h (ComplexMatrix diag (octave_idx_type)const ): Change |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2202 return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2203 * dMatrix.cc (Matrix Matrix::diag (octave_idx_type) const): Rewrite in |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2204 terms of template classes function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2205 * dMatrix.h (Matrix diag (octave_idx_type) const): Change return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2206 * boolMatrix.cc (boolMatrix boolMatrix::diag (octave_idx_type) const): |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2207 Rewrite in terms of template classes function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2208 * boolMatrix.h (boolMatrix diag (octave_idx_type) const): Change |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2209 return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2210 * chMatrix.cc (charMatrix charMatrix::diag (octave_idx_type) |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2211 const): Rewrite in terms of template classes function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2212 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2213 * dSparse.cc (SparseMatrix SparseMatrix::diag (octave_idx_type) const): |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2214 Rewrite in terms of template classes function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2215 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2216 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2217 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2218 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2219 * intNDArray.cc (intNDArray<T> intNDArray<T>::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2220 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2221 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2222 * CNDArray.cc (ComplexNDArray ComplexNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2223 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2224 * CNDArray.h (ComplexNDArray diag (octave_idx_type) const): |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2225 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2226 * dNDArray.cc (NDArray NDArray::diag (octave_idx_type) const): New |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2227 method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2228 * dNDArray.h (NDArray diag (octave_idx_type) const): Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2229 * chNDArray.cc (charNDArray charNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2230 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2231 * chNDArray.h (charNDArray diag (octave_idx_type) const): |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2232 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2233 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2234 |
7609
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
2235 2008-03-19 John W. Eaton <jwe@octave.org> |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
2236 |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
2237 * oct-env.cc (octave_env::do_base_pathname): Also handle rooted |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
2238 relative filenames. |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
2239 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2240 2008-03-19 David Bateman <dbateman@free.fr> |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2241 |
7605
48488cca0006
Fix for array indexing if original matrix is empty
David Bateman <dbateman@free.fr>
parents:
7602
diff
changeset
|
2242 * Array.cc (assignN): If orig_empty allow assignment like |
48488cca0006
Fix for array indexing if original matrix is empty
David Bateman <dbateman@free.fr>
parents:
7602
diff
changeset
|
2243 a(1:10,1)=1:10 |
48488cca0006
Fix for array indexing if original matrix is empty
David Bateman <dbateman@free.fr>
parents:
7602
diff
changeset
|
2244 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2245 * Sparse.h (template <class U, class F> Sparse<U> map (F fcn) |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2246 const): New template function. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2247 * MSparse.h (template <class U, class F> MSparse<U> map (F fcn) |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2248 const): ditto. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2249 * dSparse.cc (SparseMatrix SparseMatrix::map (dmapper) const, |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2250 SparseComplexMatrix SparseMatrix::map (cmapper) const, |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2251 SparseBoolMatrix SparseMatrix::map (bmapper) const): Rewrite in |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2252 terms of the new template functor. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2253 * CSparse.cc (SparseMatrix SparseComplexMatrix::map (dmapper) const, |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2254 SparseComplexMatrix SparseComplexMatrix::map (cmapper) const, |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2255 SparseBoolMatrix SparseComplexMatrix::map (bmapper) const): ditto. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2256 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
2257 2008-03-18 David Bateman <dbateman@free.fr> |
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
2258 |
7601
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
2259 * lo-specfun.cc (Complex xlgamma (const Complex&)): New function. |
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
2260 * lo-specfun.h (Complex xlgamma (const Complex&)): Declare it. |
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
2261 * randpoison.c (xlgamma): Use lgamma if HAVE_LGAMMA is defined. |
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
2262 |
7600
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
2263 * dNDArray.cc (NDArray::min, NDArraymax): chop trailing singletons. |
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
2264 * CNDarray.cc (ComplexNDArray::min, CompelxNDArray::max): ditto. |
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
2265 * intNDarray.cc (intNDArray<T>::min, intNDArray<T>::max): ditto. |
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
2266 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
2267 * Array.cc (Array<T>::index): Don't short_freeze on index with |
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
2268 fewer dimensions than the array only if the last dimension is empty. |
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
2269 |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
2270 2008-03-18 John W. Eaton <jwe@octave.org> |
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
2271 |
7598
a89b3fa632ee
partial specialization for octave_int_fit_to_range
John W. Eaton <jwe@octave.org>
parents:
7597
diff
changeset
|
2272 * oct-inttypes.h (octave_int_fit_to_range): |
a89b3fa632ee
partial specialization for octave_int_fit_to_range
John W. Eaton <jwe@octave.org>
parents:
7597
diff
changeset
|
2273 Use partial specialization for double values. |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
2274 |
7573
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
2275 2008-03-08 John W. Eaton <jwe@octave.org> |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
2276 |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
2277 * Sparse.cc (Sparse<T>::index, assign): Likewise. |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
2278 * Array.cc (Array<T>::index1, Array<T>::index2, Array<T>::indexN, |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
2279 assign2): Eliminate use of idx_vector::is_one_zero method. |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
2280 * idx-vector.cc, idx-vector.h |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
2281 (idx_vector::maybe_convert_one_zero_to_idx, |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
2282 IDX_VEC_REP::maybe_convert_one_zero_to_idx): Delete unused function. |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
2283 (IDX_VEC_REP::one_zero): Delete data member. |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
2284 (IDX_VEC_REP::is_colon_equiv): Delete one_zero check. |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
2285 (idx_vector::is_one_zero, IDX_VEC_REP::is_one_zero): Delete function. |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
2286 |
7572
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
2287 2008-03-07 John W. Eaton <jwe@octave.org> |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
2288 |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
2289 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep (bool), |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
2290 IDX_VEC_REP::idx_vector_rep (const boolNDArray&)): |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
2291 Simply perform the equivalent of "find" on the bool argument here, |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
2292 set one_zero to 0 and orig_dims to size of resulting index vector. |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
2293 (IDX_VEC_REP::freeze): Don't call maybe_convert_one_zero_to_idx here. |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
2294 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2295 2008-03-05 Jaroslav Hajek <highegg@gmail.com> |
7559
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
2296 |
7560
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
2297 * dbleQR.cc (QR::insert_col, QR::insert_row, |
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
2298 QR::delete_col, QR::delete_row): Use 0-based indexing. |
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
2299 * CmplxQR.cc (ComplexQR::insert_col, ComplexQR::insert_row, |
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
2300 ComplexQR::delete_col, ComplexQR::delete_row): Likewise. |
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
2301 |
7559
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
2302 * dbleCHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
2303 * CmplxHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
2304 * CmplxQR.cc (ComplexQR::ComplexQR): Adjust code to match dbleQR.cc. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
2305 * dbleQR.cc (QR::delete_row): Fix incorrect test. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
2306 * CmplxQR.cc (ComplexQR::delete_row): Fix incorrect test. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
2307 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2308 2008-03-04 Jaroslav Hajek <highegg@gmail.com> |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2309 |
7554
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
2310 * dbleCHOL.cc (CHOL::set, CHOL::update, CHOL::downdate): |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
2311 New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
2312 * dbleCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
2313 * CmplxCHOL.cc (ComplexCHOL::set, ComplexCHOL::update, |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
2314 ComplexCHOL::downdate): New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
2315 * CmplxCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
2316 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2317 * 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
|
2318 QR::insert_row, QR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2319 (QR::QR (const Matrix&, const MAtrix&)): New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2320 * dbleQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2321 * CmplxQR.cc (ComplexQR::update, ComplexQR::insert_col, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2322 ComplexQR::delete_col, ComplexQR::insert_row, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2323 ComplexQR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2324 (ComplexQR::ComplexQR (const ComplexMatrix&, const ComplexMAtrix&)): |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2325 New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2326 * CmplxQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2327 |
7549
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
2328 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
|
2329 |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
2330 * 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
|
2331 of < and > operators. |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
2332 |
7546
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
2333 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
|
2334 |
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
2335 * 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
|
2336 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
|
2337 |
7545 | 2338 2008-03-03 Jaroslav Hajek <highegg@gmail.com> |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
2339 |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
2340 * dMatrix.cc (Matrix::lssolve): Also avoid dgelsd lwork query bug |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
2341 in lssolve method that accepts column vector argument. Correct |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
2342 calculation of nlvl. |
7545 | 2343 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd. |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
2344 |
7537
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
2345 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
|
2346 |
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
2347 * 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
|
2348 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
2349 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
|
2350 |
7536 | 2351 * oct-rand.cc (get_dist_id): Fix typo. |
2352 (get_dist_id, octave_rand::distribution, octave_rand::scalar, | |
2353 fill_rand): Improve error messages. | |
2354 | |
7535
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
2355 * 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
|
2356 (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
|
2357 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
|
2358 (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
|
2359 |
7533
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
2360 * 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
|
2361 (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
|
2362 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
|
2363 (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
|
2364 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
|
2365 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
|
2366 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
|
2367 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
|
2368 (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
|
2369 (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
|
2370 (octave_rand::uniform_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
2371 octave_rand::normal_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
2372 octave_rand::exponential_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
2373 octave_rand::poisson_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
2374 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
|
2375 (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
|
2376 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
|
2377 (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
|
2378 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
2379 * 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
|
2380 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd |
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
2381 |
7521
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
2382 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
|
2383 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
2384 * 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
|
2385 specializations for signed and unsigned types. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
2386 (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
|
2387 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
|
2388 octave_int_helper class. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
2389 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
2390 * 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
|
2391 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
|
2392 with "template <>". |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
2393 |
7520 | 2394 2008-02-22 John W. Eaton <jwe@octave.org> |
2395 | |
2396 * CSparse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc, | |
2397 file-ops.cc, oct-group.cc, oct-shlib.cc, sparse-base-chol.h, | |
2398 sparse-dmsolve.cc: Use 0 instead of NULL. | |
2399 | |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2400 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
|
2401 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2402 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2403 (octave_idx_type) const): New method. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2404 * boolSparse.h (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2405 (octave_idx_type) const): Declare it. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2406 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2407 * 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
|
2408 factorization of xGETRF directly. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2409 * 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
|
2410 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
|
2411 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
|
2412 to simulate the retirn of xGETRF. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2413 * 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
|
2414 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
|
2415 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
|
2416 (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
|
2417 * 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
|
2418 scaling. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2419 * SparseCmplxLU.cc: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2420 * 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
|
2421 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
|
2422 * SparseCmplxLU.h: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2423 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2424 * 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
|
2425 return permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2426 * 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
|
2427 * 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
|
2428 return row permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2429 (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
|
2430 permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2431 * 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
|
2432 (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
|
2433 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2434 * 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
|
2435 |
7505
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
2436 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
|
2437 |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
2438 * 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
|
2439 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
|
2440 (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
|
2441 * 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
|
2442 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
|
2443 (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
|
2444 * 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
|
2445 * 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
|
2446 |
7503
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2447 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
|
2448 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2449 * boolNDArray.h (boolNDArray (const Array2<bool>&)): Delete. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2450 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2451 * Marray2.h (MArray2 (const Array2<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2452 MArray2 (const MArray2<U>&)): New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2453 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2454 * Array2.h (Array2 (const Array<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2455 Array2 (const Array<U>&, const dim_vector&)): |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2456 New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2457 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2458 * CColVector.cc (ComplexColumnVector::map): Forward to MArray::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2459 * dColVector.cc (ColumnVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2460 * CRowVector.cc (ComplexRowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2461 * dRowVector.cc (RowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2462 * CMatrix.cc (ComplexMatrix::map): Forward to MArray2::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2463 * dMatrix.cc (Matrix::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2464 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2465 * dNDArray.cc (NDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2466 * dNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2467 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2468 * CNDArray.cc (ComplexNDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2469 * CNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2470 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2471 * MArray2.h (MArray2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2472 * Array2.h (Array2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2473 * MArrayN.h (MArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2474 * ArrayN.h (ArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2475 * Array.h (Array<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2476 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2477 * functor.h: New file. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2478 * Makefile.in (INCLUDES): Add it to the list. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2479 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2480 2008-02-20 David Bateman <dbateman@free.fr> |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2481 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2482 * CColVector.h, CColVector.cc (ComplexColumnVector::apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2483 * dColVector.h, dColVector.cc (ColumnVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2484 * CRowVector.h, CRowVector.cc (ComplexRowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2485 * dRowVector.h, dRowVector.cc (RowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2486 * CMatrix.h, CMatrix.cc (ComplexMatrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2487 * dMatrix.h, dMatrix.cc (Matrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2488 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2489 * CSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2490 (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
|
2491 * CSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2492 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2493 * dSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2494 (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
|
2495 * dSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2496 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2497 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2498 * intNDArray.cc (abs, signum): Two new mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2499 * intNDArray.h (abs, signum): Declare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2500 * 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
|
2501 base type. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2502 |
7486
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
2503 2008-02-15 John W. Eaton <jwe@octave.org> |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
2504 |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
2505 * 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
|
2506 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
|
2507 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
2508 |
7482
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
2509 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
|
2510 |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
2511 * 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
|
2512 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
|
2513 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
|
2514 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
|
2515 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
|
2516 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
|
2517 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc: |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
2518 Don't check f77_exception_encountered. |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
2519 |
7477 | 2520 2008-02-12 John W. Eaton <jwe@octave.org> |
2521 | |
2522 * CMatrix.cc: Declare xilaenv instead of ilaenv. | |
2523 (ComplexMatrix::lssolve): Call xilaenv instead of ilaenv. | |
2524 | |
7476 | 2525 2008-02-12 Jason Riedy <ejr@cs.berkeley.edu> |
2526 | |
7480 | 2527 * Array.cc (ascending_compare, descending_compare): Remove |
2528 non-standard extern in the instantiations. | |
2529 | |
2530 * oct-sort.cc: Include <cstring> and sprinkle with std:: as needed. | |
2531 | |
7476 | 2532 * dMatrix.cc (ILAENV): Declare LAPACK Fortran function. |
2533 (Matrix::lssolve): Use ILAENV to query smlsiz. And add an ugly | |
2534 workaround for DGELSD's broken lwork query. The formula is from | |
2535 LAPACK's dgelsd.f source and allocates enough workspace to use an | |
2536 efficient algorithm in the short-and-fat case (n > m). | |
2537 * CMatrix.cc (ILAENV): Declare LAPACK Fortran function. | |
2538 (ComplexMatrix::lssolve): Use ILAENV to query smlsiz. And add an | |
2539 ugly workaround for DGELSD's broken lwork query, as with double. | |
2540 | |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
2541 2008-02-12 John W. Eaton <jwe@octave.org> |
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
2542 |
7470
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
2543 * sparse-sort.cc: Don't explicitly instantiate |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
2544 class octave_sort<octave_idx_vector_sort *>, |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
2545 class octave_sort<octave_idx_type>, or |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
2546 class octave_sort<octave_sparse_sort_idxl *>. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
2547 |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
2548 * Sparse.h (INSTANTIATE_SPARSE_SORT): Delete macro. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
2549 * 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
|
2550 |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
2551 * 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
|
2552 |
7466
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
2553 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
|
2554 |
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
2555 * 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
|
2556 |
7463
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
2557 2008-02-08 John W. Eaton <jwe@octave.org> |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
2558 |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
2559 * oct-sort.h (enum sortmode): Eliminate UNDEFINED. Change all |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
2560 uses of UNDEFINED to ASCENDING. |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
2561 |
7457 | 2562 2008-02-07 John W. Eaton <jwe@octave.org> |
2563 | |
7458 | 2564 * Range.cc (Range::sort_internal): Rename from sort. New arg, |
2565 ASCENDING, with default value of true. | |
2566 (Range::sort_internal (Array<octave_idx_type>&, bool)): New function. | |
2567 (Range::sort (octave_idx_type, sortmode) const): New function. | |
2568 (Range::sort (Array<octave_idx_type>&, octave_idx_type, sortmode) | |
2569 const): New function. | |
2570 * Range.h: Fix/provide decls. | |
2571 | |
7457 | 2572 * intNDArray.cc (intNDArray<T>::any (int)): Use != for comparison. |
2573 | |
7449 | 2574 2008-02-06 John W. Eaton <jwe@octave.org> |
2575 | |
2576 * Makefile.in ($(OPTS_INC)): Use mv instead of move-if-change. | |
2577 (stamp-prereq): Eliminate. | |
2578 (clean): Don't remove stamp-prereq. | |
2579 (libraries): Don't depend on stamp-prereq. | |
2580 (PREREQ): New macro. | |
2581 ($(MAKEDEPS)): Depend on $(PREREQ), not stamp-prereq. | |
2582 (distclean): Simplify with $(PREREQ). | |
2583 (OPT_BASE): New macro. | |
2584 (OPT_IN): Rename from OPTS_INC_DATA. Define in terms of OPT_BASE. | |
2585 (OPT_INC): Rename from OPTS_INC. Define in terms of OPT_BASE. | |
2586 | |
7448 | 2587 2008-02-05 John W. Eaton <jwe@octave.org> |
2588 | |
2589 * Makefile.in: Unconditionally include $(MAKEDEPS). | |
2590 Mark $(MAKEDEPS) as .PHONY targets if omit_deps is true. | |
2591 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2592 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> |
7443 | 2593 |
2594 * Array.cc (ascending_compare, descending_compare, | |
2595 Array<T>::sort): Declare explicit specialization for T=double to | |
2596 avoid symbol duplication error at link time. | |
2597 * Array-d.cc (ascending_compare, descending_compare): Declare and | |
2598 define as nonmember functions, not member functions of Array<T>. | |
2599 | |
7442 | 2600 2008-02-03 John W. Eaton <jwe@octave.org> |
2601 | |
2602 * Array-i.cc: Also instantiate Arrays for long long type if it exists. | |
2603 | |
2604 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> | |
2605 | |
2606 * Array.cc: Don't include Range.h. | |
2607 | |
7433 | 2608 2008-01-31 David Bateman <dbateman@free.fr> |
2609 | |
2610 * oct-sort.cc: conversion of int to octave_idx_type where needed | |
2611 for 64-bit builds. | |
2612 (IFLT): Allow IFLT macro to be overridden. | |
2613 * oct-sort.h: conversion of int to octave_idx_type where needed | |
2614 for 64-bit builds. | |
2615 (enum sortmode): Type of sort to perform. | |
2616 (vec_index): Simple class to aid in indexed sorts. | |
2617 | |
2618 * Array.h ( Array<T> sort (octave_idx_type, sortmode) const, | |
2619 Array<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
2620 sortmode) const): Array sorting methods. | |
2621 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT): Macros to | |
2622 instantiate the array sorting methods. | |
2623 * Array.cc (ascending_compare, descending_compare): New template | |
2624 functions for generic sort comparison. | |
2625 ( Array<T> Array<T>::sort (octave_idx_type, sortmode) const, | |
2626 Array<T> Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, | |
2627 sortmode) const): Array sorting functions based of octave_sort | |
2628 class. | |
2629 * Array-C.cc: Instantiate the complex array sort methods. | |
2630 (IFLT): New macro to override the one in the | |
2631 octave_sort class to avoid need for Complex < and > operators. | |
2632 (static double xabs (const Complex&)): Complex abs function | |
2633 avoiding std::abs(Inf) returning NaN with some compilers. | |
2634 (ascending_compare, descending compare): override template | |
2635 functions for complex comparison. | |
2636 * Array-d.cc: Instantiate the double array sort methods. | |
2637 (Array<double> Array<double>::sort (octave_idx_type, | |
2638 sortmode) const, Array<double> Array<double>::sort | |
2639 (Array<octave_idx_type> &, octave_idx_type, sortmode) const): | |
2640 Array sorting functions based of octave_sort using uint64 sorting | |
2641 on IEE754 doubles, for speed and correct sorting of Inf and NaN. | |
2642 (ascending_compare, descending compare): override template | |
2643 functions for double and uint64 comparison. | |
2644 * Array-b.cc, Array-ch.cc, Array-i.cc, Array-s.cc, Array-str.cc: | |
2645 Instantiate the array sort methods. | |
2646 * Array-idx-vec.cc: Null instantiation of array sort methods. | |
2647 * Array2.h, Array3.h, ArrayN.h (sort): 2, 3 and N-dimensional | |
2648 versions of the sort methods based on Array<T>::sort. | |
2649 | |
2650 * CSparse.cc, dSparse.cc: Remove inclusion of octa-sort.h. | |
2651 * Sparse.h ( Sparse<T> sort (octave_idx_type, sortmode) const, | |
2652 Sparse<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
2653 sortmode) const): Sparse sorting methods. | |
2654 (INSTANTIATE_ARRAY_SORT): Macro to instantiate the sparse sorting | |
2655 methods. | |
2656 * Sparse.cc: replace sort with lsort throughout to avoid shadowing | |
2657 of new sort method. | |
2658 (sparse_ascending_compare, sparse_descending_compare): New template | |
2659 functions for generic sort comparison. | |
2660 ( Sparse<T> Sparse<T>::sort (octave_idx_type, sortmode) const, | |
2661 Sparse<T> Sparse<T>::sort (Sparse<octave_idx_type> &, octave_idx_type, | |
2662 sortmode) const): Sparse sorting functions based of octave_sort | |
2663 class. | |
2664 * Sparse-C.cc: Instantiate the complex sparse sort methods. | |
2665 (IFLT): New macro to override the one in the | |
2666 octave_sort class to avoid need for Complex < and > operators. | |
2667 (static double xabs (const Complex&)): Complex abs function | |
2668 avoiding std::abs(Inf) returning NaN with some compilers. | |
2669 (sparse_ascending_compare, sparse_descending compare): override | |
2670 template functions for complex comparison. | |
2671 * Sparse-d.cc: Instantiate the cdouble sparse sort methods. | |
2672 (sparse_ascending_compare, sparse_descending compare): override | |
2673 template functions for double comparison. | |
2674 * Array-b.cc: Instantiate the sparse sort methods. | |
2675 | |
7422 | 2676 2008-01-25 Jaroslav Hajek <highegg@gmail.com> |
2677 | |
2678 * idx-vector.h (idx_vector::idx_vector_rep::range_base, | |
2679 idx_vector::idx_vector_rep::range_step, | |
2680 idx_vector::idx_vector_rep::range_step): New data members. | |
2681 (idx_vector::idx_vector_rep::idx_vector_rep): Initialize them. | |
2682 * idx-vector.cc (IDX_VEC_REP::sort, IDX_VEC_REP::is_colon_equiv, | |
2683 IDX_VEC_REP::init_state, IDX_VEC_REP::operator =, | |
2684 IDX_VECTOR_REP::idx_vector_rep): Handle range. | |
2685 | |
7416 | 2686 2008-01-18 Marco Caliari <marco.caliari@univr.it> |
2687 | |
2688 * dMatrix.cc (Matrix::expm): Correctly perform reverse permutation. | |
2689 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
2690 | |
7408 | 2691 2008-01-22 Michael Goffioul <michael.goffioul@gmail.com> |
7407 | 2692 |
2693 * oct-time.cc (octave_base_tim::init): Validate pointer argument; | |
2694 this fixes the "localtime(-1)" crash under Windows. | |
2695 | |
7400 | 2696 2008-01-18 John W. Eaton <jwe@octave.org> |
2697 | |
2698 * dMatrix.cc (solve_singularity_warning): New function. | |
2699 (Matrix::expm): Pass pointer to solve_singularity_warning to | |
2700 Matrix::solve method. Exit early if Matrix::solve fails. | |
2701 Limit sqpow value to avoid overflowing scale factor. | |
2702 * CMatrix.cc (solve_singularity_warning): New function. | |
2703 (ComplexMatrix::expm): Pass pointer to solve_singularity_warning to | |
2704 ComplexMatrix::solve method. Exit early if ComplexMatrix::solve fails. | |
2705 Limit sqpow value to avoid overflowing scale factor. | |
7402 | 2706 From Marco Caliari <marco.caliari@univr.it>. |
7400 | 2707 |
7356 | 2708 2008-01-10 Kim Hansen <kimhanse@gmail.com> |
2709 | |
2710 * Sparse.cc: New tests for slicing of sparse matrices. | |
2711 | |
7350 | 2712 2008-01-07 David Bateman <dbateman@free.fr> |
2713 | |
2714 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Don't break from | |
2715 loop if this test succeeds. | |
2716 | |
7342 | 2717 2008-01-03 David Bateman <dbateman@free.fr> |
2718 | |
2719 * MSparse.cc (SPARSE_A2A2_OP): If first arg is scalar zero, then | |
2720 need unary operator on remaining argument | |
2721 * Sparse-op-defs.h (SPARSE_SMSM_BIN_OP_1): ditto. | |
2722 | |
7334 | 2723 2007-12-21 John W. Eaton <jwe@octave.org> |
2724 | |
2725 Version 3.0.0 released. | |
2726 | |
7322 | 2727 2007-12-18 David Bateman <dbateman@free.fr> |
2728 | |
2729 * Sparse.cc (template <class T> Sparse<T> Sparse<T>::index | |
2730 (idx_vector&, int) const): Fix case indexing of non zero scalar | |
2731 stored as a sparse matrix. | |
2732 (template <class T> Sparse<T> Sparse<T>::index (idx_vector&, | |
2733 idx_vector&, int) const): For the non permutated indexing case, | |
2734 fix link list calculation and use. | |
2735 | |
7321 | 2736 2007-12-17 John W. Eaton <jwe@octave.org> |
2737 | |
2738 * Array.cc (Array<T>::indexN): Correctly handle scalar indexed by | |
2739 N-d array. | |
2740 | |
7318 | 2741 2007-12-17 David Bateman <dbateman@free.fr> |
2742 | |
2743 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Use ridx for row | |
2744 index. | |
2745 | |
7299 | 2746 2007-12-11 John W. Eaton <jwe@octave.org> |
2747 | |
2748 * Sparse.cc (Sparse<T>::index (idx_vector&, int) const): | |
2749 If indexing scalar with empty matrix, return empty array with same | |
2750 size as index. | |
2751 | |
7272 | 2752 2007-12-10 John W. Eaton <jwe@octave.org> |
2753 | |
7279 | 2754 * NLEqn.h (NLEqn::fval): New data member. Adjust constructors |
2755 and assignment operator. | |
2756 (NLEqn::function_value): New function. | |
2757 * NLEqn.cc (NLEqn::solve): If solution is successful, compute | |
2758 function value. | |
2759 | |
7272 | 2760 * file-ops.cc (file_ops::concat): New function. |
2761 * file-ops.h: Provide decl. | |
2762 | |
7270 | 2763 2007-12-07 John W. Eaton <jwe@octave.org> |
2764 | |
2765 * oct-time.cc (octave_base_tm::init): Only assign t->tm_zone if it | |
2766 is not 0. | |
2767 | |
7269 | 2768 2007-12-07 David Bateman <dbateman@free.fr> |
2769 | |
2770 * Sparse-op-defs.h (SPARSE_SMS_CMP_OP, SPARSE_SMS_BOOL_OP, | |
2771 SPARSE_SSM_CMP_OP, SPARSE_SSM_BOOL_OP, SPARSE_SMSM_CMP_OP, | |
2772 SPARSE_SMSM_BOOL_OP, SPARSE_BASE_REDUCTION_OP): Use sparse | |
2773 indexing where possible rather than the elem method. | |
2774 (SPARSE_REDUCTION_OP_ROW_EXPR, SPARSE_REDUCTION_OP_COL_EXPR, | |
2775 SPARSE_ANY_ALL_OP_ROW_CODE, SPARSE_ANY_ALL_OP_COL_CODE): | |
2776 Replace for new version of SPARSE_BASE_REDUCTION_OP. | |
2777 (SPARSE_ALL_OP): Specialize the initial value, and only treat dim | |
2778 = 0 directly. | |
2779 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::sumsq (int) | |
2780 const): Replace ROW_EXPR and COL_EXPR functions for new version of | |
2781 SPARSE_BASE_REDUCTION_OP. | |
2782 (SparseComplexMatrix SparseComplexMatrix::prod (int) const): | |
2783 Specialize the initial value, and only treat dim = 0 directly. | |
2784 * dSparse.cc (SparseMatrix SparseMatrix::sumsq (int) const): | |
2785 ditto. | |
2786 (SparseMatrix SparseMatrix::prod (int) const): ditto. | |
2787 | |
7265 | 2788 2007-12-06 John W. Eaton <jwe@octave.org> |
2789 | |
2790 * CMatrix.cc (ComplexMatrix::expm): Update pointers to internal | |
2791 data for npp and dpp after assignments. | |
2792 * dMatrix.cc (Matrix::expm): Use same method as ComplexMatrix::expm. | |
2793 | |
7253 | 2794 2007-12-04 John W. Eaton <jwe@octave.org> |
2795 | |
2796 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
2797 Do nothing if one index is empty. | |
2798 | |
7246 | 2799 2007-12-04 David Bateman <dbateman@free.fr> |
2800 | |
2801 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
2802 Resize matrix as well if one dimension of lhs is zero and the rhs | |
2803 index exceeds the lhs index. | |
2804 * Sparse.cc (assign1 (Sparse<LT>&, const Sparse<RT>&)): | |
2805 Don't resize to a smaller matrix for empty matrices with a max rhs | |
2806 index smaller than the non zero lhs index. | |
2807 | |
2808 2007-12-04 Michael Goffioul <michael.goffioul@gmail.com> | |
2809 | |
2810 * Array-util.h: Tag permute_vector_compare with OCTAVE_API. | |
2811 | |
7241 | 2812 2007-12-03 Moritz Borgmann <octave@moriborg.de> |
2813 | |
2814 * Array-util.cc (permute_vector_compare): Move here from Array.cc. | |
2815 * Array-util.h (permute_vector, permute_vector_compare): Provide decls. | |
2816 * Array.cc (permute_vector, permute_vector_compare): Delete. | |
2817 | |
7238 | 2818 2007-12-03 David Bateman <dbateman@free.fr> |
2819 | |
2820 * Sparse.cc (template <class LT, class RT> int assign | |
2821 (Sparse<LT>&, const Sparse<RT>&)): Only set return matrix size to | |
2822 rhs values if both no. rows and columns are zero. | |
2823 | |
7231 | 2824 2007-11-30 John W. Eaton <jwe@octave.org> |
2825 | |
7234 | 2826 * oct-sort.cc, oct-sort.h: Style fixes. |
2827 | |
7231 | 2828 * lo-math.h: New file. |
2829 * Makefile.in (INCLUDES): Add it to the list. | |
2830 * liboctave/Array2.h, liboctave/ArrayN.h, liboctave/CmplxDET.cc, | |
2831 liboctave/DASPK.cc, liboctave/DASPK.h, liboctave/DASRT.cc, | |
2832 liboctave/DASRT.h, liboctave/DASSL.cc, liboctave/DASSL.h, | |
2833 liboctave/LSODE.cc, liboctave/LSODE.h, liboctave/NLEqn.h, | |
2834 liboctave/Quad.h, liboctave/Range.cc, liboctave/dbleDET.cc, | |
2835 liboctave/lo-cieee.c, liboctave/lo-ieee.cc, | |
2836 liboctave/lo-mappers.cc, liboctave/oct-time.cc, | |
2837 liboctave/oct-time.h, liboctave/randgamma.c, | |
2838 liboctave/randmtzig.c, liboctave/randpoisson.c: Include lo-math.h | |
2839 instead of cmath or math.h. | |
2840 * lo-mappers.h: Don't include sunmath.h here. | |
2841 | |
7198 | 2842 2007-11-26 John W. Eaton <jwe@octave.org> |
2843 | |
2844 * idx-vector.h (idx_vector::idx_vector_rep (const intNDArray<U>&)): | |
2845 Eliminate unnecessary second arg from call to tree_to_mat_idx. | |
2846 | |
2847 * oct-inttypes.h (operator bool, operator char): Delete. | |
2848 (bool_value, char_value, double_value, float_value): New functions. | |
2849 | |
7189 | 2850 2007-11-26 David Bateman <dbateman@free.fr> |
2851 | |
2852 * intNDArray.cc (template <class T> intNDArray<T> | |
2853 intNDArray<T>::max (int) const, template <class T> intNDArray<T> | |
2854 intNDArray<T>::max (ArrayN<octave_idx_type>&, int) const, | |
2855 template <class T> intNDArray<T> intNDArray<T>::min (int) const, | |
2856 template <class T> intNDArray<T> intNDArray<T>::min | |
2857 (ArrayN<octave_idx_type>&, int) const): New methods for integer | |
2858 classes. | |
2859 * intNDArray.h (class intNDArray): Add min/max methods | |
2860 * mx-op-defs.h (MIXMAX_DECLS, MINMAX_FCNS, SND_MINMAX_FCN, | |
2861 NDS_MINMAX_FCN, NDND_MINMAX_FCN): New macro for instantiation of | |
2862 min/max functions. | |
2863 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
2864 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
2865 (MINMAX_DECLS(T)): Declare the min/max functions for integer | |
2866 types. | |
2867 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
2868 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
2869 (MINMAX_FCNS(T)): Instantiate the min/max functions for integer | |
2870 types. | |
2871 | |
2872 * Arrayc.cc (Array<T>::index (idx_vector&, idx_vector&, int, | |
2873 const T& rfv) const): If ndims != 2 call ND version of index. | |
2874 | |
7176 | 2875 2007-11-14 John W. Eaton <jwe@octave.org> |
2876 | |
7178 | 2877 * oct-inttypes.h (opeator T (void) const): New conversion operator. |
2878 | |
7176 | 2879 * lo-specfun.cc (zbesi): When alpha is negative, don't limit |
2880 correction to half-integer values. From Eric Chassande-Mottin | |
2881 <echassandemottin@gmail.com>. | |
2882 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2883 2007-11-07 Michael Goffioul <michael.goffioul@gmail.com> |
7124 | 2884 |
2885 * dMatrix.cc, CMatrix.cc: Help MSVC compiler to resolve | |
2886 ambiguities related to math functions (in C++ mode). | |
2887 | |
7102 | 2888 2007-11-06 David Bateman <dbateman@free.fr> |
2889 | |
7113 | 2890 * intNDArray.cc (intNDArray<T> intNDArray<T>::sum (int) const): |
2891 New method. | |
2892 * intNDarray.h (intNDArray sum (int) const): Declare it. | |
2893 * boolNDArray.cc (boolNDArray boolNDArray::sum (int) const): | |
2894 New method. | |
2895 * boolNDarray.cc (boolNDArray sum (int) const): Declare it. | |
7102 | 2896 * MArray-def.h (MARRAY_NORM_BODY): Scale frobenius norm by infinity |
2897 norm to avoid issues of over- and underflow. From Rolf Fabian | |
2898 <Rolf.Fabian@gmx.de>. | |
2899 | |
7081 | 2900 2007-10-30 David Bateman <dbateman@free.fr> |
2901 | |
2902 * DASRT-opts.in, LSODE-opts.in: Doc fixes for small book format. | |
2903 | |
7079 | 2904 2007-10-30 John W. Eaton <jwe@octave.org> |
2905 | |
2906 * CMatrix.cc (lssolve): Compute size of rwork and iwork arrays. | |
2907 * dMatrix.cc (lssolve): Compute size of iwork array. | |
2908 | |
7076 | 2909 2007-10-29 David Bateman <dbateman@free.fr> |
2910 | |
2911 * CMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
2912 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
2913 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
2914 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
2915 double& rcond) const, lssolve (const ComplexColumnVector&, | |
2916 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
2917 declarations. | |
2918 * CMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
2919 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
2920 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
2921 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
2922 double& rcond) const, lssolve (const ComplexColumnVector&, | |
2923 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
2924 methods. | |
2925 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
2926 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
2927 octave_idx_type&, double&) const): Also return rcond from the | |
2928 singular values returned by XGELSD. | |
2929 * dMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
2930 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
2931 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
2932 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
2933 double& rcond) const, lssolve (const ComplexColumnVector&, | |
2934 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
2935 declarations. | |
2936 * dMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
2937 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
2938 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
2939 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
2940 double& rcond) const, lssolve (const ComplexColumnVector&, | |
2941 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
2942 methods. | |
2943 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
2944 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
2945 octave_idx_type&, double&) const): Also return rcond from the | |
2946 singular values returned by XGELSD. | |
2947 | |
7072 | 2948 2007-10-26 David Bateman <dbateman@free.fr> |
2949 | |
2950 * dMatrix.cc (Matrix::lssolve): Use xGELSD for rank deficient | |
2951 matrices to avoid reliability issues with xGELSY. | |
2952 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. | |
7071 | 2953 |
7065 | 2954 2007-10-25 John W. Eaton <jwe@octave.org> |
2955 | |
2956 * oct-time.cc (octave_gmtime::init, octave_localtime::init): | |
2957 Call unix_time on arg instead of relying on conversion operator. | |
2958 | |
2959 * oct-time.h (octave_time::double_value): New function. | |
2960 (octave_time::operator double () const): Delete. | |
2961 (octave_time::operator time_t () const): Delete. | |
2962 | |
7058 | 2963 2007-10-24 John W. Eaton <jwe@octave.org> |
2964 | |
2965 * strptime.c: Also compile if OCTAVE_HAVE_BROKEN_STRPTIME is defined. | |
2966 | |
7052 | 2967 2007-10-23 John W. Eaton <jwe@octave.org> |
2968 | |
2969 * CRowVector.cc (operator * const ComplexRowVector&, const | |
2970 ComplexColumnVector&)): Delete spurious code left from patch. | |
2971 | |
7048 | 2972 2007-10-22 Kim Hansen <kimhanse@gmail.com> |
2973 | |
2974 * chMatrix.cc, lo-utils.cc, oct-env.cc, oct-uname.cc, | |
2975 sparse-sort.cc: Include <cstring>. | |
2976 | |
7036 | 2977 2007-10-17 John W. Eaton <jwe@octave.org> |
2978 | |
2979 * oct-sparse.h: Don't include metis.h. | |
2980 | |
2981 * dSparse.cc (SparseMatrix::fsolve): Delete special code for METIS. | |
2982 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
2983 * sparse-base-chol.cc (sparse_base_chol<chol_type, chol_elt, | |
2984 p_type>::sparse_base_chol_rep::init): Likewise. | |
2985 | |
7033 | 2986 2007-10-16 John W. Eaton <jwe@octave.org> |
2987 | |
2988 * dMatrix.cc (Matrix::inverse): Only check rcond == 0 if the | |
2989 matrix is hermitian or calc_cond is true. | |
2990 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
2991 | |
7016 | 2992 2007-10-12 John W. Eaton <jwe@octave.org> |
2993 | |
2994 * Change copyright notices in all files that are part of Octave to | |
2995 GPLv3 or any later version. | |
2996 | |
7007 | 2997 2007-10-11 Brian Gough <bjg@network-theory.co.uk> |
2998 | |
2999 * DASSL-opts.in, LSODE-opts.in: Spelling fixes. | |
3000 | |
7001 | 3001 2007-10-10 Olli Saarela <Olli.Saarela@kcl.fi> |
3002 | |
3003 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in: Spelling fixes. | |
3004 | |
7000 | 3005 2007-10-10 John W. Eaton <jwe@octave.org> |
3006 | |
3007 * LPsolve.h, LPsolve.cc: Delete. | |
3008 * Makefile.in: Remove them from the INCLUDES and | |
3009 LIBOCTAVE_CXX_SOURCES lists. | |
3010 | |
6989 | 3011 2007-10-09 John W. Eaton <jwe@octave.org> |
3012 | |
6996 | 3013 * oct-time.cc (octave_strptime::init): Initialize t.tm_mon to -1 |
3014 and t.tm_year to INT_MIN before call to oct_strptime. Adjust | |
3015 values to zero after call if they remain unchanged. | |
3016 | |
6989 | 3017 * dSparse.cc (SparseMatrix::all_elements_are_zero): New function. |
3018 * dNDArray.cc (NDArray::all_elements_are_zero): New function. | |
3019 | |
6988 | 3020 2007-10-09 David Bateman <dbateman@free.fr> |
3021 | |
6995 | 3022 * oct-time.cc (octave_strptime::init): Only call mktime if mday is |
3023 valud and mon and year are also filled in. | |
3024 | |
6990 | 3025 * Array2.h (Array2<T>::Array2(const dim_vector&), |
3026 Array2<T>::Array(const dim_vector&, const T&)): Check that | |
3027 dim_vector is 2 dimensional. | |
3028 | |
6988 | 3029 * Sparse.cc (Sparse<T> Sparse<T>::index (idx_vector&, idx_vector&, |
3030 int)): Remove a for loop in the random indexing case at the | |
3031 expense of maintaining a set of linked lists of indices that point | |
3032 to the same column in the original matrix. | |
3033 (int assign (Sparse<LT>&, Sparse<RT>)): Take a const copy of lhs | |
3034 and use it on the RHS of expressions to avoid unnecessary calls to | |
3035 make_unique. | |
3036 | |
6979 | 3037 2007-10-08 David Bateman <dbateman@free.fr> |
3038 | |
3039 * oct-rl-edit. (typedef rl_quoting_fcn_ptr, rl_dequoting_fcn_ptr, | |
3040 rl_char_is_quoted_fcn_ptr, rl_command_fcn_ptr): New typedefs | |
3041 for readline compatible functions. | |
3042 (octave_rl_redisplay): Redisplay the current line of text. | |
3043 (octave_rl_newline): Change interface to the same | |
3044 as used by the equivalent readline function itself. | |
3045 (octave_rl_filename_quoting_desired, | |
3046 octave_rl_set_filename_quote_characters, | |
3047 octave_rl_set_completer_quote_characters, | |
3048 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
3049 octave_rl_set_char_is_quoted_function): New functions to control | |
3050 readline filename quoting and line acceptace. | |
3051 * oct-rl-edit.c (octave_rl_newline): Change interface to the same | |
3052 as used by the equivalent readline function itself. | |
3053 (octave_rl_redisplay): Redisplay the current line of text. | |
3054 (octave_rl_filename_quoting_desired, | |
3055 octave_rl_set_filename_quote_characters, | |
3056 octave_rl_set_completer_quote_characters, | |
3057 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
3058 octave_rl_set_char_is_quoted_function): New functions to control | |
3059 readline filename quoting and line acceptace. | |
3060 * cmd-edit.h (typedef quoting_fcn, typedef dequoting_fcn, | |
3061 typedef char_is_quoted_fcn, user_accept_line_fcn): New typedefs | |
3062 to map C++ function to readline compatible functions. | |
3063 (set_filename_quote_characters): New function to set the | |
3064 characters to if they appear in a filename that force the filename | |
3065 to be quoted. | |
3066 (set_completer_quote_characters): The characters that the readline | |
3067 completion function considers as quotation characters. | |
3068 (set_quoting_function, set_dequoting_function, | |
3069 set_char_is_quoted_function, set_user_accept_line_function): | |
3070 Functions to set the Octave functions to perform quoting and the | |
3071 acceptance of a line of text by readline. | |
3072 (get_quoting_function, get_dequoting_function, | |
3073 get_char_is_quoted_function, get_user_accept_line_function): | |
3074 Functions to get the above functions. | |
3075 (accept_line): New method for the command_editor to accept a line | |
3076 of text. | |
3077 (file_quoting_desired): Function to set whether readline should | |
3078 attempt to quote filenames. | |
3079 (do_set_filename_quoting_characters, | |
3080 do_set_completer_quote_characters, do_set_quoting_function, | |
3081 do_set_dequoting_function, do_set_char_is_quoted_function, | |
3082 do_set_user_accept_line_function, do_get_quoting_function, | |
3083 do_get_dequoting_function, do_get_char_is_quoted_function, | |
3084 do_get_user_accept_line_function, do_filename_quoting_desired): | |
3085 Virtual functions to control the behavior of readline quoting and | |
3086 acceptance of lines. | |
3087 (do_accept_line): Virtual function for the accept line function. | |
3088 * cmd-edit.cc (class gnu_readline do_set_filename_quote_characters, | |
3089 do_completer_quote_characters, do_set_quoting_function, | |
3090 do_set_dequoting_function, do_set_char_is_quoted_function, | |
3091 do_set_user_accept_line_function, do_get_quoting_function, | |
3092 do_get_dequoting_function, do_get_user_accept_line_function, | |
3093 do_accept_line, do_filename_quoting_desired, command_quoter, | |
3094 command_dequoter, command_char_is_quoted, command_accept_line): | |
3095 New functions in gnu_readline class to control filename quoting | |
3096 and line acceptance. | |
3097 (quoting_function, dequoting_function, char_is_quoted_function, | |
3098 user_accept_line_function): private variable to store functions | |
3099 supplied for readline quoting and line acceptance. | |
3100 (gnu_readline::gnu_readline): Also set the new function pointers | |
3101 to zero. | |
3102 (gnu_readline::do_newline): Adapt to new octave_rl_newline | |
3103 interface. | |
3104 (gnu_readeline::operate_and_get_next): Use new accept_line | |
3105 function rather than newline. | |
3106 (default_ommand_editor::do_accept_line): New method. | |
3107 (class command_editor set_filename_quote_characters, | |
3108 set_completer_quote_characters, set_quoting_function, | |
3109 set_dequoting_function, set_char_is_quoted_function, | |
3110 set_user_accept_line_function, get_quoting_function, | |
3111 get_dequoting_function, get_user_accept_line_function, | |
3112 accept_line, filename_quoting_desired): New functions checking | |
3113 instance before calling virtual function. | |
3114 | |
3115 * CMatrix.h, dMatrix.h, boolMatrix.h, chMatrix.h, MArray2.h, | |
3116 Array2.h: Add dim_vector constructors. | |
3117 * charNDArray.h (charNDArray (const dim_vector&)): Add missing | |
3118 const to dim_vector constructors. | |
3119 * boolMatrix.cc, chMatrix.cc, intNDArray.cc (diag (void), diag | |
3120 (octave_idx_type)): New methods to constructor diagonal matrices. | |
3121 * boolMatrix.h, chMatrix.h, intNDArray.h (diag (void), diag | |
3122 (octave_idx_type)): Declare them. | |
3123 | |
3124 | |
6969 | 3125 2007-10-06 John W. Eaton <jwe@octave.org> |
3126 | |
3127 * lo-specfun.cc: (zlgamma): Delete. | |
3128 (xgamma): Use C library gamma function if available. | |
3129 (xlgamma): Use C library lgamma function if available. | |
3130 (xlgamma) [! HAVE_LGAMMA]: Allow calculation for any value of X | |
3131 other than NaN or Inf. | |
3132 | |
6961 | 3133 2007-10-05 John W. Eaton <jwe@octave.org> |
3134 | |
3135 * lo-specfun.cc (zlgamma): New function. | |
3136 | |
6959 | 3137 2007-10-04 John W. Eaton <jwe@octave.org> |
3138 | |
3139 * oct-sort.cc (octave_sort<T>::binarysort): Remove register | |
3140 qualifiers on local variables. | |
3141 | |
6958 | 3142 2007-10-04 Marco Caliari <mcaliari@math.unipd.it> |
3143 | |
3144 * CMatrix.cc (ComplexMatrix::expm): Limit shift to values less | |
3145 than log(realmax) to avoid issues with NaN. | |
3146 | |
6940 | 3147 2007-10-01 John W. Eaton <jwe@octave.org> |
3148 | |
6941 | 3149 * oct-time.cc (octave_strptime::init): Call mktime to propertly |
3150 initialize wday and yday. | |
3151 From Matthias Drochner <m.drochner@fz-juelich.de>. | |
3152 | |
6940 | 3153 * cmd-edit.cc (command_editor::do_decode_prompt_string): Don't |
3154 insert extra '\001' when decoding \[ and \]. | |
3155 | |
6926 | 3156 2007-09-26 David Bateman <dbateman@free.fr> |
3157 | |
3158 * dMatrix.cc (lssolve): Replace the use of xGELSS with xGELSY with | |
3159 is much faster and no less accurate. | |
3160 * CMatrix.cc (lssolve): ditto. | |
3161 | |
6924 | 3162 2007-09-25 David Bateman <dbateman@free.fr> |
3163 | |
3164 * dMatrix.cc (utsolve, ltsolve, fsolve, lssolve): Allow | |
3165 zero dimensioned matrices. | |
3166 * CMatrix.cc (utsolve, ltsolve, fsolve, lssolve): ditto. | |
3167 * dSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
3168 ditto. | |
3169 * CSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
3170 ditto. | |
3171 * SparseQR.cc (SparseQR::SparseQR_rep::C, qrsolve): ditto. | |
3172 * SparseCmplxQR.cc (SparseComplexQR::SparseComplexQR_rep::C, | |
3173 qrsolve): ditto. | |
3174 * sparse-dmsolve.cc (dmsolve): ditto. | |
3175 | |
6922 | 3176 2007-09-21 John W. Eaton <jwe@octave.org> |
3177 | |
3178 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): | |
3179 Also allow resizing empty LHS if it is 1x0 or 0xN. | |
3180 | |
6916 | 3181 2007-09-19 John W. Eaton <jwe@octave.org> |
3182 | |
3183 * cmd-edit.cc (command_editor::remove_startup_hook): | |
3184 Fix cut-and-paste error. | |
6917 | 3185 (gnu_readline::set_startup_hook): Only set hook function if new |
3186 function is different from the current one. | |
6916 | 3187 |
6913 | 3188 2007-09-18 John W. Eaton <jwe@octave.org> |
3189 | |
3190 * cmd-edit.h, cmd-edit.cc (command_editor::startup_hook_set, | |
3191 command_editor::event_hook_set): New static data. | |
3192 (default_command_editor::set_startup_hook, | |
3193 gnu_readline::set_startup_hook, | |
3194 default_command_editor::restore_startup_hook, | |
3195 gnu_readline_restore_event_hook): | |
3196 Rename from do_set_startup_hook and do_set_event_hook. | |
3197 (gnu_readline::operate_and_get_next): Call | |
3198 command_editor::add_startup_hook, not | |
3199 command_editor::set_startup_hook. | |
3200 (command_editor::startup_handler, command_editor::event_handler): | |
3201 New functions. | |
3202 (command_editor::add_startup_hook, command_editor::add_event_hook, | |
3203 command_editor::remove_startup_hook, | |
3204 command_editor::remove_event_hook): Rename from set_startup_hook | |
3205 and restore_startup_hook. Handle hook sets here. | |
3206 * cmd-edit.cc (gnu_history::do_goto_mark): | |
3207 Call remove_startup_hook instead of restore_startup_hook. | |
3208 | |
6907 | 3209 2007-09-17 John W. Eaton <jwe@octave.org> |
3210 | |
3211 * lo-utils.cc (octave_read_complex, octave_read_double): Skip | |
3212 leading whitespace. | |
3213 | |
6897 | 3214 2007-09-13 John W. Eaton <jwe@octave.org> |
3215 | |
3216 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
3217 octave_read_complex): Use istream::get instead of >> to read | |
3218 individual characters. | |
3219 | |
6884 | 3220 2007-09-10 John W. Eaton <jwe@octave.org> |
3221 | |
3222 * Array.cc (assign1): Don't call make_unique for invalid assignment. | |
3223 | |
3224 2007-09-10 David Bateman <dbateman@free.fr> | |
3225 | |
3226 * Array.h (Array<T>::make_unique): Make public so that the | |
3227 ::assign functions can access it directly. | |
3228 * Array.cc (Array<T>::maybe_delete_elements_1(idx_vector&), | |
3229 Array<T>::maybe_delete_elements_1(idx_vector&), | |
3230 Array<T>::maybe_delete_elements(idx_vector&, idx_vector&), | |
3231 Array<T>::maybe_delete_elements(Array<idx_vector>&, const T&)): | |
3232 Use xelem for non const RHS to avoid call to make_unique. | |
3233 (int assign1 (Array<LT>&, const Array<RT>&, const LT&)): Use | |
3234 xelem for LHS and call lhs.make_unique() only once. Special case | |
3235 the is_colon index case and use Array<T>::xelem(octave_idx_type) | |
3236 rather than Array<T>::xelem(octave_idx_type,octave_idx_type) and | |
3237 bring the additional multiplication out of the inner loop. | |
3238 (int assign2 (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
3239 (int assignN (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
3240 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep | |
3241 (const Range& r)): Don't use init_state() method but special case | |
3242 as with a Range can avoid exhaustive search. | |
3243 | |
6881 | 3244 2007-09-07 John W. Eaton <jwe@octave.org> |
3245 | |
3246 * Array.cc (Array<T>::fortran_vec): Call make_unique instead of | |
3247 manipulating rep directly. | |
3248 | |
3249 * Array.h (idx, idx_count): Declare mutable. | |
3250 (Array<T>::set_index, Array<T>::clear_index, Array<T>::value): | |
3251 Now const. | |
3252 | |
6867 | 3253 2007-09-06 David Bateman <dbateman@free.fr> |
3254 | |
6868 | 3255 * Array-util.cc (increment_index): dimensions can have singleton |
3256 trailing dimensions. | |
6867 | 3257 * Array.h (range_error, xelem, checkelem, elem, operator ()): |
3258 Modify use of Array<int> to Array<octave_idx_type> and adjust | |
3259 where necessary. | |
3260 * Array.cc (range_error): ditto. | |
3261 * MArrayN.h (permute, ipermute): ditto. | |
3262 * ArrayN.h (permute, ipermute): ditto. | |
3263 * so-array.cc (streamoff_array::compute_index): ditto. | |
3264 * so-array.h (compute_index): ditto. | |
3265 * CMattrix.cc (ComplexMatrix::exmpm): ditto. | |
3266 | |
6840 | 3267 2007-08-29 David Bateman <dbateman@free.fr> |
3268 | |
3269 * dSparse.cc (SparseMatrix SparseMatrix::inverse (MatrixType &, | |
3270 octave_idx_type&, double&, int, int)): Calculate with LU even for | |
3271 matrices marked as singular. | |
3272 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::inverse ( | |
3273 MatrixType &, octave_idx_type&, double&, int, int)): ditto. | |
3274 * dMatrix.cc (Matrix Matrix::inverse (MatrixType &, octave_idx_type&, | |
3275 double&, int, int)): ditto. If rcond==0 force matrix of infinities. | |
3276 * dMatrix.cc (ComplexMatrix ComplexMatrix::inverse (MatrixType &, | |
3277 octave_idx_type&, double&, int, int)): ditto. | |
3278 | |
6838 | 3279 2007-08-27 John W. Eaton <jwe@octave.org> |
3280 | |
3281 * oct-env.cc (octave_env::rooted_relative_pathname, | |
3282 octave_env::do_rooted_relative_pathname): New functions. | |
3283 * oct-env.h: Provide decls. | |
3284 | |
6823 | 3285 2007-08-24 David Bateman <dbateman@free.fr> |
3286 | |
3287 * MSparse.h (MSparse<T>& insert (const Sparse<T>&, | |
3288 const Array<octave_idx_type>&)): New method. | |
3289 (MSparse (const dim_vector&, octave_idx_type)): Ditto. | |
3290 * dSparse.h (SparseMatrix& SparseMatrix::insert (const | |
3291 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
3292 (SparseMatrix (const dim_vector&, octave_idx_type)): ditto. | |
3293 * dSparse.cc (SparseMatrix& SparseMatrix::insert (const | |
3294 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
3295 * boolSparse.h (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
3296 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
3297 * boolSparse.cc (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
3298 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
3299 * CSparse.h (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
3300 SparseMatrix&, const Array<octave_idx_type>&), | |
3301 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
3302 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
3303 (SparseComplexMatrix (const dim_vector&, octave_idx_type)): ditto. | |
3304 * CSparse.cc (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
3305 SparseMatrix&, const Array<octave_idx_type>&), | |
3306 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
3307 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
3308 | |
6817 | 3309 2007-08-19 David Bateman <dbateman@free.fr> |
3310 | |
3311 * Sparse.cc (Sparse<T>::permute): Avoid shadowing warning. | |
3312 | |
6813 | 3313 2007-08-14 John W. Eaton <jwe@octave.org> |
3314 | |
3315 * Sparse.cc (Sparse<T>::permute): permutation vector is zero based. | |
3316 Simplify. | |
6814 | 3317 (Sparse<T>::reshape): Warn about reshaping to N-d array. |
6813 | 3318 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3319 2007-08-10 Michael Goffioul <michael.goffioul@gmail.com> |
6810 | 3320 |
3321 * file-stat.cc (file_stat::update_internal) [__WIN32__]: | |
3322 Remove trailing dir separator when stat'ing directory except for | |
3323 root directory. | |
3324 | |
6796 | 3325 2007-07-25 David Bateman <dbateman@free.fr> |
3326 | |
3327 * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" | |
3328 to work. | |
3329 | |
6764 | 3330 2007-06-04 David Bateman <dbateman@free.fr> |
3331 | |
3332 * oct-inttypes.h (octave_int<T>& operator <<= (const T2&), | |
3333 octave_int<T>& operator >>= (const T2&)): Make shift operators | |
3334 perform a twos complement arithmetic shift for both signed and | |
3335 unsigned integers regardless of compiler implementations. | |
3336 | |
6708 | 3337 2007-06-13 Michael Goffioul <michael.goffioul@swing.be> |
3338 | |
6719 | 3339 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): For CXSparse 2.2 and greater |
3340 use cs_complex_t(0,0) for the complex zero. | |
3341 | |
6708 | 3342 * MArray-ch.cc, MArray-d.cc, MArray-i.cc, MArray-s.cc: |
3343 Sprinkle class instantiations with OCTAVE_API as needed. | |
3344 | |
3345 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY, | |
3346 INSTANTIATE_ARRAY_AND_ASSIGN): New arg, API. Change all uses. | |
3347 * MArray-defs.h (MARRAY_OP_ASSIGN_DECL, MARRAY_OP_ASSIGN_DECLS, | |
3348 MARRAY_OP_ASSIGN_FWD_DECLS, MARRAY_OP_ASSIGN_FRIENDS, | |
3349 MARRAY_OP_ASSIGN_DEFS, MARRAY_UNOP, MARRAY_UNOP_DECLS, | |
3350 MARRAY_UNOP_FWD_DECLS, MARRAY_UNOP_FRIENDS, MARRAY_UNOP_DEFS, | |
3351 MARRAY_BINOP_DECL, MARRAY_BINOP_DECLS, MARRAY_AA_BINOP_DECLS, | |
3352 MDIAGARRAY2_DAS_BINOP_DECLS, MDIAGARRAY2_SDA_BINOP_DECLS, | |
3353 MDIAGARRAY2_DADA_BINOP_DECLS, MARRAY_BINOP_FWD_DECLS, | |
3354 MDIAGARRAY2_BINOP_FWD_DECLS, MARRAY_BINOP_FRIENDS, | |
3355 MDIAGARRAY2_BINOP_FRIENDS, MARRAY_BINOP_DEFS, | |
3356 MDIAGARRAY2_BINOP_DEFS, MARRAY_OPS_FORWARD_DECLS, | |
3357 MDIAGARRAY2_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS, | |
3358 MDIAGARRAY2_OPS_FRIEND_DECLS, INSTANTIATE_MARRAY_FRIENDS, | |
3359 INSTANTIATE_MARRAY2_FRIENDS, INSTANTIATE_MARRAYN_FRIENDS, | |
3360 INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. | |
3361 * MSparse-defs.h (SPARSE_OP_ASSIGN_DECL, SPARSE_OP_ASSIGN_DECLS, | |
3362 SPARSE_OP_ASSIGN_FWD_DECLS, SPARSE_OP_ASSIGN_FRIENDS, | |
3363 SPARSE_OP_ASSIGN_DEFS, SPARSE_UNOP, SPARSE_UNOP_DECLS, | |
3364 SPARSE_UNOP_FWD_DECLS, SPARSE_UNOP_FRIENDS, SPARSE_UNOP_DEFS, | |
3365 SPARSE_BINOP_DECL, SPARSE_BINOP_DECLS, SPARSE_AA_BINOP_DECLS, | |
3366 SPARSE_BINOP_FWD_DECLS, SPARSE_BINOP_FRIENDS, SPARSE_BINOP_DEFS, | |
3367 SPARSE_OPS_FORWARD_DECLS, SPARSE_OPS_FRIEND_DECLS, | |
3368 INSTANTIATE_SPARSE_FRIENDS): Ditto. | |
3369 * Sparse-op-defs.h (SPARSE_BIN_OP_DECL, SPARSE_CMP_OP_DECL, | |
3370 SPARSE_BOOL_OP_DECL, SPARSE_SMS_BIN_OP_DECLS, | |
3371 SPARSE_SMS_CMP_OP_DECLS, SPARSE_SMS_EQNE_OP_DECLS, | |
3372 SPARSE_SMS_BOOL_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
3373 SPARSE_SMS_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
3374 SPARSE_SSM_CMP_OP_DECLS, SPARSE_SSM_EQNE_OP_DECLS, | |
3375 SPARSE_SSM_BOOL_OP_DECLS, SPARSE_SSM_OP_DECLS, | |
3376 SPARSE_SMSM_BIN_OP_DECLS, SPARSE_SMSM_CMP_OP_DECLS, | |
3377 SPARSE_SMSM_EQNE_OP_DECLS, SPARSE_SMSM_BOOL_OP_DECLS, | |
3378 SPARSE_SMSM_OP_DECLS, SPARSE_MSM_BIN_OP_DECLS, | |
3379 SPARSE_MSM_CMP_OP_DECLS, SPARSE_MSM_EQNE_OP_DECLS, | |
3380 SPARSE_MSM_BOOL_OP_DECLS, SPARSE_MSM_OP_DECLS, | |
3381 SPARSE_SMM_BIN_OP_DECLS, SPARSE_SMM_CMP_OP_DECLS, | |
3382 SPARSE_SMM_EQNE_OP_DECLS, SPARSE_SMM_BOOL_OP_DECLS, | |
3383 SPARSE_SMM_OP_DECLS): Ditto. | |
3384 * Sparse.h (INSTANTIATE_SPARSE_ASSIGN, INSTANTIATE_SPARSE, | |
3385 INSTANTIATE_SPARSE_AND_ASSIGN): Ditto. | |
3386 * mx-op-defs.h (BIN_OP_DECL, CMP_OP_DECL, NDCMP_OP_DECL, | |
3387 BOOL_OP_DECL, NDBOOL_OP_DECL, VS_BIN_OP_DECLS, VS_OP_DECLS, | |
3388 SV_BIN_OP_DECLS, SV_OP_DECLS, VV_BIN_OP_DECLS, VV_OP_DECLS, | |
3389 MS_BIN_OP_DECLS, MS_CMP_OP_DECLS, MS_BOOL_OP_DECLS, MS_OP_DECLS, | |
3390 SM_BIN_OP_DECLS, SM_CMP_OP_DECLS, SM_BOOL_OP_DECLS, SM_OP_DECLS, | |
3391 MM_BIN_OP_DECLS, MM_CMP_OP_DECLS, MM_BOOL_OP_DECLS, MM_OP_DECLS, | |
3392 NDS_BIN_OP_DECLS, NDS_CMP_OP_DECLS, NDS_BOOL_OP_DECLS, | |
3393 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_CMP_OP_DECLS, | |
3394 SND_BOOL_OP_DECLS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
3395 NDND_CMP_OP_DECLS, NDND_BOOL_OP_DECLS, NDND_OP_DECLS, | |
3396 SDM_BIN_OP_DECLS, SDM_OP_DECLS, DMS_BIN_OP_DECLS, DMS_OP_DECLS, | |
3397 MDM_BIN_OP_DECLS, MDM_OP_DECLS, DMM_BIN_OP_DECLS, DMM_OP_DECLS, | |
3398 DMDM_BIN_OP_DECLS, DMDM_OP_DECLS): Ditto. | |
3399 | |
6699 | 3400 2007-06-12 John W. Eaton <jwe@octave.org> |
3401 | |
3402 * dMatrix.cc (Matrix::expm): Special case for scalar arg. | |
3403 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6697 | 3404 |
6693 | 3405 2007-06-06 Michael Goffioul <michael.goffioul@swing.be> |
3406 | |
6709 | 3407 * file-ops.cc (tilde_find_suffix, isolate_tilde_prefix, |
3408 tilde_expand_word): Use file_ops::is_dir_sep instead of comparing | |
3409 with file_ops::dir_sep_char. | |
6694 | 3410 |
6693 | 3411 * MArray-C.cc: Sprinkle with OCTINTERP_API as needed. |
3412 | |
6689 | 3413 2007-06-04 David Bateman <dbateman@free.fr> |
3414 | |
6699 | 3415 * file-ops.cc: Typo. |
3416 | |
6689 | 3417 * Sparse.cc (Sparse<T> Sparse<T>::reshape): If length of new |
3418 dimensions is greater than 2, collapse to 2-D. | |
3419 | |
6685 | 3420 2007-06-02 David Bateman <dbateman@free.fr> |
3421 | |
3422 * SparseCmplxQR.cc: Changes to support CXSparse 2.2.0. | |
3423 | |
6680 | 3424 2007-05-31 John W. Eaton <jwe@octave.org> |
3425 | |
3426 * Array.cc (Array::get_size): Throw std::bad_alloc exception if | |
3427 the computed size is too large for the size of Octave's index type. | |
3428 | |
6662 | 3429 2007-05-23 John W. Eaton <jwe@octave.org> |
3430 | |
3431 * oct-sparse.h: Don't surround included files with extern "C" { ... }. | |
3432 | |
6629 | 3433 2007-05-16 David Bateman <dbateman@free.fr> |
3434 | |
3435 * dRowVector.cc (linspace): Return second argument if fewer than | |
3436 two values are requested. | |
3437 * CRowVector.cc (linspace): Likewise. | |
3438 | |
6596 | 3439 2007-04-27 John W. Eaton <jwe@octave.org> |
3440 | |
3441 * lo-mappers.cc (signum (const Complex&)): Special case for (0, 0). | |
3442 | |
6583 | 3443 2007-04-25 John W. Eaton <jwe@octave.org> |
3444 | |
3445 * oct-fftw.h (octave_fftw): Tag with OCTAVE_API. | |
3446 | |
6553 | 3447 2007-04-20 John W. Eaton <jwe@octave.org> |
3448 | |
3449 * Array.cc (assign1): For x(:) = RHS, require rhs_len == lhs_len, | |
3450 not rhs_len == 1. | |
3451 | |
6536 | 3452 2007-04-18 Michael Goffioul <michael.goffioul@swing.be> |
3453 | |
3454 * oct-md5.h (oct_md5, oct_md5_file): Tag decls with OCTAVE_API. | |
3455 | |
6525 | 3456 2007-04-13 John W. Eaton <jwe@octave.org> |
3457 | |
3458 * Array.cc (Array<T>::maybe_delete_elements_2): Don't return early | |
3459 for empty matrix. Only check for colon index equivalence if not empty. | |
3460 | |
6513 | 3461 2007-04-10 John W. Eaton <jwe@octave.org> |
3462 | |
3463 * SparseCmplxQR.cc | |
3464 (SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep): | |
3465 Move GCC_ATTR_UNUSED before the parameter decl. | |
3466 From Luis Ortiz <lortiz@interactivesupercomputing.com>. | |
3467 | |
6508 | 3468 2007-04-06 John W. Eaton <jwe@octave.org> |
3469 | |
3470 * MArray-defs.h (MARRAY_NORM_BODY): New macro. | |
3471 * MArray.h (MArray<T>::norm): New function. | |
3472 * MArray.cc: Provide decl. | |
3473 * MArray-d.cc (MArray<double>::norm): Define double specialization. | |
3474 * MArray-C.cc (MArray<Complex>::norm): Define Complex specialization. | |
3475 | |
6490 | 3476 2007-04-04 John W. Eaton <jwe@octave.org> |
3477 | |
3478 * Range.cc (Range::nelem_internal): Likewise. | |
3479 * lo-utils.cc (NINT): Use numeric_limits<int> instead of INT_MAX. | |
3480 (NINTbig): Use numeric_limits<octave_idx_type> instead of INT_MAX. | |
3481 From Scott Pakin <pakin@lanl.gov>. | |
3482 | |
6486 | 3483 2007-04-04 David Bateman <dbateman@free.fr> |
3484 | |
3485 * dMatrix.cc (Matrix::inverse): If calc_cond is true, calculate | |
3486 the condition number for positive definite matrices. | |
3487 * CMatrix.cc (ComplexMatrix::inverse): Ditto. | |
3488 * dbleChol.h (CHOL(const Matrix&, bool)): New arg, calc_cond. | |
3489 (CHOL(const Matrix&, octave_idx_type&, bool): Ditto. | |
3490 (octave_idx_type init (const Matrix&, bool)): Ditto. | |
3491 (CHOL(const CHOL&)): Copy xrcond. | |
3492 (CHOL& operator = (const CHOL&)): Copy xrcond. | |
3493 (xrcond): New private data member. | |
3494 * CmplxCHOL.h (ComplexCHOL(const ComplexMatrix&, bool)): New arg, | |
3495 calc_cond. | |
3496 (ComplexCHOL(const ComplexMatrix&, octave_idx_type&, bool): Ditto | |
3497 (octave_idx_type init (const ComplexMatrix&, bool)): Ditto. | |
3498 (ComplexCHOL(const ComplexCHOL&)): Copy xrcond. | |
3499 (ComplexCHOL& operator = (const ComplexCHOL&)): Copy xrcond. | |
3500 (xrcond): New private data member. | |
3501 * dbleCHOL.cc (CHOL::init(const Matrix&, bool)): If calc_cond is | |
3502 true, calculate the condition number with dpocon. | |
3503 * CmplxCHOL.cc (ComplexCHOL::init(const ComplexMatrix&, bool)): If | |
3504 calc_cond is true, calculate the condition number with zpocon. | |
3505 | |
6481 | 3506 2007-04-03 John W. Eaton <jwe@octave.org> |
3507 | |
6482 | 3508 * intNDArray.cc (intNDArray): Delete spurious semicolon. |
3509 | |
3510 * CMatrix.cc (ComplexMatrix::tinverse): Use Array<T> and | |
3511 fortran_vec method instead of OCTAVE_LOCAL_BUFFER to avoid | |
3512 "maybe clobbered by vfork" warning. | |
3513 | |
6483 | 3514 * Sparse-op-defs.h (SPARSE_CUMSUM): Add braces to avoid ambiguous |
6482 | 3515 if/else. |
3516 | |
3517 * oct-spparms.h (octave_sparse_params): Define copy constructor | |
3518 and destructor. | |
3519 | |
6481 | 3520 * Array.cc (assignN): Don't resize dimension if corresponding |
3521 index is empty. | |
3522 | |
6479 | 3523 2007-04-02 John W. Eaton <jwe@octave.org> |
3524 | |
3525 * dMatrix.h (Matrix::inverse): Reinstate versions without | |
3526 MatrixType argument. | |
3527 * CMatrix.h (ComplexMatrix::inverse): Likewise. | |
3528 | |
6467 | 3529 2007-03-27 John W. Eaton <jwe@octave.org> |
3530 | |
3531 * Makefile.in (DISTDIRS): Delete variable. | |
3532 (dist): Delete action for DISTDIRS. Use ln instead of $(LN_S). | |
3533 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3534 2007-03-26 David Bateman <dbateman@free.fr> |
6460 | 3535 |
3536 * MatrixType.cc: Replace all uses of the method | |
3537 octave_sparse_params::get_key ("bandden") with | |
3538 octave_sparse_params::get_bandden (void). | |
3539 (MatrixType::MatrixType (void)): Undo previous change but use | |
3540 octave_sparse_params::get_bandden (void). | |
3541 * oct-spparms.cc (get_bandden(void), do_get_bandden(void)): New | |
3542 methods. | |
3543 * oct-spparms.h (get_bandden(void), do_get_bandden(void)): | |
3544 Declare them. | |
3545 | |
6458 | 3546 2007-03-26 Luis Ortiz <lortiz@interactivesupercomputing.com> |
3547 David Bateman <dbateman@free.fr> | |
3548 | |
3549 * idx-vector.h.cc (IDX_VEC_REP::idx_vector_rep (const Range&)): | |
3550 Check that all elements are ints before doing anything. Simplify | |
3551 calculation of index values. | |
3552 | |
6457 | 3553 2007-03-26 David Bateman <dbateman@free.fr> |
3554 | |
3555 * Range.cc (Range::all_elements_are_ints): Improve check. | |
3556 | |
6456 | 3557 2007-03-26 John W. Eaton <jwe@octave.org> |
3558 | |
3559 * chNDArray.cc, chMatrix.cc: Also generate comparison and bool ops. | |
3560 * chNDArray.h, chMatrix.h: Provide decls. | |
3561 | |
3562 2007-03-24 Luis Ortiz <lortiz@interactivesupercomputing.com> | |
3563 | |
3564 * MatrixType.cc (MatrixType::MatrixType (void)): Initialize | |
3565 sp_bandden to zero for performance reasons as it's not used. | |
6452 | 3566 |
6435 | 3567 2007-03-23 David Bateman <dbateman@free.fr> |
3568 | |
3569 * oct-rand.cc (octave_rand::seed): Seed differently for big and | |
3570 little endian. | |
3571 | |
6414 | 3572 2007-03-15 John W. Eaton <jwe@octave.org> |
3573 | |
3574 * lo-mappers.cc (acos): Use formula similar to what we use for asin. | |
3575 From Alexander Barth <abarth@marine.usf.edu>. | |
3576 | |
6402 | 3577 2007-03-12 John W. Eaton <jwe@octave.org> |
3578 | |
3579 * oct-inttypes.h (octave_int::octave_int (double)): | |
3580 New Specialization. Round arg. | |
3581 (operator / (const octave_int<T1>&, const octave_int<T2>&)): | |
3582 Round result before converting type. | |
3583 | |
6388 | 3584 2007-03-07 John W. Eaton <jwe@octave.org> |
3585 | |
6392 | 3586 * Array.cc (assign1): Avoid resizing if there is an error. |
3587 | |
6390 | 3588 * dMatrix.cc, CMatrix.cc (operator *): Only check |
3589 f77_exception_encountered immediately after calls that use F77_XFCN. | |
3590 | |
6389 | 3591 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
3592 Only allow resizing empty LHS if it is 0x0. | |
3593 | |
6388 | 3594 * Array.cc (Array<T>::maybe_delete_elements (Array<idx_vector>&, |
3595 const T&)): Handle case of more indices than dimensions. | |
3596 (assign (Array<LT>&, const Array<RT>&, const LT&)): Allow more | |
3597 cases to be handled by assignN. | |
3598 (assignN (Array<LT>&, const Array<RT>&, const LT&)): | |
3599 Special cases for 2-d array assignments for speed. | |
3600 Improve handling of scalar RHS and empty indices. | |
6384 | 3601 |
6383 | 3602 2007-03-05 David Bateman <dbateman@free.fr> |
3603 | |
3604 * oct-md5.c (oct_md5_file (const std::string&)): New function. | |
3605 * oct-md5.h (oct_md5_file (const std::string&)): Declare it. | |
3606 | |
6379 | 3607 2007-03-02 John W. Eaton <jwe@octave.org> |
3608 | |
3609 * str-vec.h (string_vector::empty): Return bool, not int. | |
3610 | |
6375 | 3611 2007-03-01 David Bateman <dbateman@free.fr> |
3612 | |
3613 * md5.h, md5.c: New files from libmd5-rfc sourceforge project for | |
3614 an independent implementation of RFC1321. | |
3615 * oct-md5.h, oct-md5: New files for treating std::string class | |
3616 with MD5. | |
3617 * Makefile.in (INCLUDES): Add md5.h and oct-md5.h | |
3618 (LIBOCTAVE_CXX_SOURCES): Add oct-md5.cc | |
3619 (LIBOCTAVE_C_SOURCES): Add md5.c | |
3620 | |
6366 | 3621 2007-02-27 John W. Eaton <jwe@octave.org> |
3622 | |
3623 * Makefile.in (uninstall): Delete files listed in | |
3624 $(INCLUDES_FOR_INSTALL), instead of $(INCLUDES). | |
3625 From Thomas Treichl <Thomas.Treichl@gmx.net>. | |
3626 | |
6536 | 3627 2007-02-27 Michael Goffioul <michael.goffioul@swing.be> |
6363 | 3628 |
3629 * file-ops.cc (file_ops::recursive_rmdir): | |
3630 Close dir_entry object before calling rmdir. | |
3631 | |
6536 | 3632 2007-02-26 Michael Goffioul <michael.goffioul@swing.be> |
6358 | 3633 |
3634 * Makefile.in: Use $(LN_S) instead of ln or ln -s. | |
3635 | |
6359 | 3636 * sparse-util.h (SparseCholPrint, SparseCholError): |
3637 Tag with OCTAVE_API. | |
3638 | |
6326 | 3639 2007-02-18 David Bateman <dbateman@free.fr> |
3640 | |
3641 * oct-rand.cc (do_old_initialization()): call setcgn(1) prior to | |
3642 calling setall and reset to the current generator after. | |
3643 | |
6323 | 3644 2007-02-16 John W. Eaton <jwe@octave.org> |
3645 | |
3646 * oct-shlib.h (octave_shlib::relative): New data member. | |
3647 (octave_shlib::mark_relative, octave_shlib::is_relative): | |
3648 New functions. | |
3649 | |
6321 | 3650 2007-02-16 Michael Goffioul <michael.goffioul@swing.be> |
3651 | |
3652 * lo-sysdep.cc (octave_popen2): New function to simulate popen2 on | |
3653 windows platform. | |
3654 * lo-sysdep.h (octave_popen2): Declare it. | |
3655 * oct-syscalls.cc (octave_syscalls::popen2): New function. | |
3656 * oct-syscalls.h (octave_syscalls::popen2): Declare it. | |
3657 | |
6306 | 3658 2007-02-14 John W. Eaton <jwe@octave.org> |
3659 | |
3660 * kpse.cc (expand_elt): Omit special treatment for //. | |
3661 | |
6273 | 3662 2007-02-06 John W. Eaton <jwe@octave.org> |
3663 | |
3664 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_REALPATH]: | |
3665 Don't delete value returned from realpath. | |
3666 | |
6271 | 3667 2007-02-05 Thomas Treichl <Thomas.Treichl@gmx.net> |
3668 | |
3669 * file-ops.cc (file_ops::canonicalize_file_name): | |
3670 Provide implementation if realpath function is available. | |
3671 | |
6256 | 3672 2007-01-29 Michael Goffioul <michael.goffioul@swing.be> |
3673 | |
3674 * oct-fftw.h: Sprinkle with OCTAVE_API as needed. | |
3675 | |
6244 | 3676 2007-01-17 Michael Goffioul <michael.goffioul@swing.be> |
3677 | |
3678 * lo-sysdep.cc (octave_chdir): Handle directory names like "C:" on | |
3679 Windows systems. | |
3680 | |
6242 | 3681 2007-01-16 John W. Eaton <jwe@octave.org> |
3682 | |
3683 * dSparse.cc: Fix dgbtrf decl for --enable-64. | |
3684 (SparseMatrix::bsolve): Fix call to dgbtrf for --enable-64 | |
3685 | |
3686 * oct-fftw.h (fftw_planner): Provide decl. | |
3687 | |
6241 | 3688 2007-01-11 Michael Goffioul <michael.goffioul@swing.be> |
3689 | |
3690 * Makefile.in (LINK_DEPS): Include $(CAMD_LIBS) in the list. | |
3691 | |
6236 | 3692 2007-01-10 John W. Eaton <jwe@octave.org> |
3693 | |
3694 * oct-sparse.h: Use HAVE_CHOLMOD_CHOLMOD_H, not | |
3695 HAVE_UMFPACK_CHOLMOD_H for case of "cholmod/cholmod.h". | |
3696 | |
6231 | 3697 2007-01-08 David Bateman <dbateman@free.fr> |
3698 | |
3699 * oct-sparse.h: Replace sparsesuite with suitesparse and | |
3700 SPARSESUITE with SUITESPARSE to match upstream name. | |
3701 | |
6228 | 3702 2007-01-05 David Bateman <dbateman@free.fr> |
3703 | |
3704 * oct-fftw.cc: (octave_fftw_planner::method (void), | |
3705 octave_fftw_planner (FftwMethod)): New methods to interrogate and | |
3706 set the FFTW wisdom method used. | |
3707 (octave_fftw_planner::create_plan) Modify to allow different | |
3708 methods to be used. | |
3709 (octave_fftw_planner): Move class definition from here. | |
3710 * oct-fftw.h (octave_fftw_planner): To here. Add method methods | |
3711 and FftwMethod enum. | |
3712 | |
6221 | 3713 2007-01-03 David Bateman <dbateman@free.fr> |
3714 | |
3715 * MSparse.cc (SPARSE_A2A2_OP, SPARSE_A2A2_FCN_1, | |
3716 SPARSE_A2A2_FCN_1): Modify macros so that scalars stored as | |
3717 sparse matrices are special cased. | |
3718 | |
3719 * Sparse-op-defs.h: Include mx-ops.h to have access to mixed | |
3720 matrix, sparse matrix operations. | |
3721 (SPARSE_SMSM_BIN_OP_1, SPARSE_SMSM_BIN_OP_2, SPARSE_SMSM_BIN_OP_3, | |
3722 SPARSE_SMSM_CMP_OP, SPARSE_SMSM_BOOL_OP, SPARSE_MSM_BIN_OP_1, | |
3723 SPARSE_MSM_BIN_OP_2, SPARSE_MSM_CMP_OP, SPARSE_MSM_BOOL_OP, | |
3724 SPARSE_SMM_BIN_OP_1, SPARSE_SMM_BIN_OP_2, SPARSE_SMM_CMP_OP, | |
3725 SPARSE_SMM_BOOL_OP, SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, | |
3726 FULL_SPARSE_MUL): Modify macros so that scalars stored as | |
3727 sparse matrices are special cased. | |
3728 | |
6217 | 3729 2006-12-22 David Bateman <dbateman@free.fr> |
3730 | |
3731 * boolSparse.cc (SparseBoolMatrix::operator !): Fix off-by-one error. | |
3732 | |
6216 | 3733 2006-12-22 John W. Eaton <jwe@octave.org> |
3734 | |
3735 * dim-vector.h (dim_vector::dim_vector): Always start with at | |
3736 least 2 dimensions. | |
3737 (dim_vector::resize): Don't allow resizing to fewer than 2 dimensions. | |
3738 | |
6208 | 3739 2006-12-06 Michael Goffioul <michael.goffioul@swing.be> |
3740 | |
3741 * lo-sysdep.cc (opendir): Avoid passing \\* to FindFirstFile. | |
3742 | |
3743 * file-ops.cc (ops::canonicalize_file_name): Provide partial | |
6217 | 3744 implementation for Windows. |
6208 | 3745 |
6207 | 3746 2006-12-06 David Bateman <dbateman@free.fr> |
3747 | |
6208 | 3748 * dSparse.cc (SparseMatrix::is_symmetric): Faster implementation. |
3749 * CSparse.cc (SparseComplexMatrix::is_symmetric): Ditto. | |
6207 | 3750 |
3751 * dMatrrix.cc (finverse): Old inverse method renamed inverse. | |
3752 (tinverse): New method for triangular matrices. | |
3753 (inverse): New function with matrix type probing. | |
3754 * dMatrix.h (finverse, tinverse, inverse): New and modified | |
3755 declarations. | |
6208 | 3756 * CMatrix.cc: Ditto. |
3757 * CMatrix.h: Ditto. | |
6207 | 3758 |
6205 | 3759 2006-12-06 John W. Eaton <jwe@octave.org> |
3760 | |
3761 * strptime.c (day_of_the_week): Use code from current glibc sources. | |
3762 | |
6202 | 3763 2006-12-05 John W. Eaton <jwe@octave.org> |
3764 | |
3765 * lo-utils.cc (octave_read_double): If we see '+' or '-' but not | |
3766 followed by 'I' or 'i', try reading number after putting | |
3767 characters back on input stream. | |
3768 | |
6198 | 3769 2006-12-05 Paul Kienzle <pkienzle@users.sf.net> |
3770 | |
3771 * randpoisson.c (oct_fill_randp): For lambda > 1e8, upper limit of | |
3772 loop is n, not L. | |
3773 | |
6194 | 3774 2006-11-30 John W. Eaton <jwe@octave.org> |
3775 | |
3776 * lo-utils.cc (octave_read_double, read_inf_nan_na): | |
3777 Also recognize [+-][Ii]nf. | |
3778 | |
6187 | 3779 2006-11-28 David Bateman <dbateman@free.fr> |
6186 | 3780 |
3781 * oct-sparse.h: Allow sparse headers to also be in a sparsesuite | |
3782 sub-directory. | |
3783 | |
6204 | 3784 * dSparse.cc (SparseMatrix::inverse): Transpose the matrix type as |
3785 well when calling tinverse for lower triangular matrices. | |
3786 * CSparse.cc (SparseComplexMatrix::inverse): | |
3787 Ditto. | |
6185 | 3788 |
6183 | 3789 2006-11-21 John W. Eaton <jwe@octave.org> |
3790 | |
3791 * oct-env.cc (do_absolute_pathname): Undo previous change. | |
3792 | |
6182 | 3793 2006-11-20 John W. Eaton <jwe@octave.org> |
3794 | |
3795 * oct-env.cc (octave_env::do_absolute_pathname): Also return true | |
3796 for ".", and names beginning with "./" or "../". | |
3797 | |
6162 | 3798 2006-11-14 Luis F. Ortiz <lortiz@interactivesupercomputing.com> |
3799 | |
3800 * CMatrix.cc, dMatrix.cc: New tests. | |
3801 | |
6153 | 3802 2006-11-13 Michael Goffioul <michael.goffioul@swing.be> |
3803 | |
3804 * Array-d.cc, dDiagMatrix.h: Sprinkle with OCTAVE_API as needed. | |
3805 | |
6152 | 3806 2006-11-11 John W. Eaton <jwe@octave.org> |
3807 | |
3808 * Makefile.in ($(OPTS_INC), mx-ops.h): | |
3809 Use $(simple-move-if-change-rule) here. | |
3810 | |
6148 | 3811 2006-11-09 David Bateman <dbateman@free.fr> |
3812 | |
3813 * sparse-base-chol.cc (sparse_base_chol_rep::Q): Cast perms(i) to | |
3814 octave_idx_type, not int. | |
3815 | |
6145 | 3816 2006-11-08 John W. Eaton <jwe@octave.org> |
3817 | |
3818 * dir-ops.cc (dir_entry::read): Avoid rewinddir. | |
3819 | |
6141 | 3820 2006-11-06 John W. Eaton <jwe@octave.org> |
3821 | |
3822 * Array.cc (assignN): Exit early if invalid indices are found. | |
3823 | |
6140 | 3824 2006-11-03 Michael Goffioul <michael.goffioul@swing.be> |
3825 | |
3826 * strftime.c [HAVE_TZNAME]: Tag tzname with OCTAVE_IMPORT. | |
3827 | |
6137 | 3828 2006-11-03 John W. Eaton <jwe@octave.org> |
3829 | |
3830 * Makefile.in (DLL_CXXDEFS): Rename from XTRA_CXXDEFS. | |
3831 (DLL_CDEFS): Rename from XTRA_CDEFS. | |
3832 Substitute OCTAVE_DLL_DEFS, not XTRA_OCTAVE_DEFS. | |
3833 | |
6123 | 3834 2006-10-28 Michael Goffioul <michael.goffioul@swing.be> |
3835 | |
3836 * oct-shlib.cc: Undefine min and max after including windows.h. | |
3837 * oct-syscalls.cc (syscalls::pipe (int *)): Avoid infinite recursion. | |
3838 * lo-sysdep.h: Move opendir, readdir, etc. decls here from | |
3839 lo-sysdep.cc. | |
3840 | |
6113 | 3841 2006-10-27 John W. Eaton <jwe@octave.org> |
3842 | |
6119 | 3843 * oct-time.cc [! HAVE_STRFTIME]: Declare strftime. |
3844 | |
3845 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> | |
3846 | |
3847 * mx-op-defs.h (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, | |
3848 NDS_CMP_OPS2): New macros. | |
6113 | 3849 |
6111 | 3850 2006-10-26 John W. Eaton <jwe@octave.org> |
3851 | |
6119 | 3852 * mx-ops (core-type): New field for integer types. |
3853 * mk-ops.awk: Handle core-type for integer comparison ops. | |
3854 | |
6111 | 3855 * lo-cutils.c (octave_strcasecmp, octave-strncasecmp): |
3856 Move here from src/cutils.c. | |
3857 * lo-utils.h: Provide decls. | |
3858 * strcasecmp.c: Move here from src/strcasecmp.c. | |
3859 * strncase.c: Move here from src/strncase.c. | |
3860 * Makefile.in (LIBOCTAVE_C_SOURCES): Add them to the list. | |
3861 | |
6106 | 3862 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
3863 | |
3864 * kpse.cc [! MSVC]: Don't include win32lib.h. | |
3865 | |
6708 | 3866 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-util.h, |
3867 Array.h, CColVector.h, CMatrix.h, CNDArray.h, CRowVector.h, | |
3868 CSparse.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, | |
3869 CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, | |
3870 CollocWt.h, DAE.h, DASPK.h, DASRT.h, DASSL.h, EIG.h, LSODE.h, | |
3871 MArray-C.cc, MArray-defs.h, MSparse-C.cc, MSparse-d.cc, | |
3872 MSparse-defs.h, MatrixType.h, NLEqn.h, Quad.h, Range.h, | |
3873 Sparse-op-defs.h, Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, | |
3874 SparseCmplxQR.h, SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, | |
3875 boolMatrix.h, boolNDArray.h, boolSparse.h, chMatrix.h, | |
3876 chNDArray.h, cmd-edit.h, cmd-hist.h, dColVector.h, dDiagMatrix.h, | |
3877 dMatrix.h, dNDArray.h, dRowVector.h, dSparse.h, data-conv.h, | |
3878 dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, dbleLU.h, | |
3879 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, dir-ops.h, | |
3880 file-ops.h, file-stat.h, glob-match.h, idx-vector.h, | |
3881 int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, | |
3882 lo-cutils.c, lo-ieee.h, lo-mappers.h, lo-specfun.h, lo-utils.h, | |
3883 mach-info.h, mx-op-defs.h, oct-alloc.h, oct-env.h, oct-group.h, | |
3884 oct-inttypes.cc, oct-inttypes.h, oct-passwd.h, oct-rand.h, | |
3885 oct-shlib.h, oct-spparms.h, oct-syscalls.h, oct-time.h, | |
3886 oct-uname.h, pathsearch.h, prog-args.h, so-array.h, str-vec.h, | |
3887 uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc, | |
3888 uint8NDArray.cc: Sprinkle with OCTAVE_API as needed. | |
6108 | 3889 |
6105 | 3890 2006-10-26 John W. Eaton <jwe@octave.org> |
3891 | |
3892 * oct-inttypes.cc (INSTANTIATE_INTTYPE_BIN_OP): Provide explicit | |
3893 type qualification for OP. | |
3894 | |
6101 | 3895 2006-10-26 David Bateman <dbateman@free.fr> |
3896 | |
3897 * Sparse.cc (Sparse<T>::resize_no_fill (octave_idx_type, | |
3898 octave_idx_type)): Be more careful with the size of the input | |
3899 matrix, and therefore don't create or read non existent data. | |
3900 | |
6092 | 3901 2006-10-25 John W. Eaton <jwe@octave.org> |
3902 | |
3903 * Sparse.cc (assign): Clear lhs index after error. | |
3904 | |
6093 | 3905 2006-10-25 David Bateman <dbateman@free.fr> |
6092 | 3906 |
3907 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
3908 Fix previous patch so it works. | |
3909 | |
6087 | 3910 2006-10-25 Michael Goffioul <michael.goffioul@swing.be> |
3911 | |
6095 | 3912 * glob-match.h (glob_match::glob_match (const std::string&, |
3913 unsigned int)): Delete initializer for first arg. | |
3914 | |
6093 | 3915 * lo-sysdep.cc (opendir, readdir, rewinddir, closedir): |
3916 New functions. | |
3917 | |
6087 | 3918 * Makefile.in (XTRA_CDEFS, XTRA_CXXDEFS): Substitute here. |
3919 | |
6096 | 3920 * oct-env.cc (octave_env::do_get_home_directory) [_MSC_VER]: Use |
3921 same code as __MINGW32__. | |
3922 * syswait.h [_MSC_VER]: Define HAVE_WAITPID, WAITPID, and WNOHANG | |
3923 the same as for __MINGW32__. | |
3924 | |
3925 * randpoisson.c: Undefine INFINITE before redefining. | |
3926 | |
6079 | 3927 2006-10-24 David Bateman <dbateman@free.fr> |
3928 | |
3929 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Resize the | |
3930 lhs at the point we know the assignment can succeed if the lhs is | |
3931 empty. | |
3932 | |
6072 | 3933 2006-10-23 John W. Eaton <jwe@octave.org> |
3934 | |
3935 * Array.cc (assign2): Don't require vector assignments to be oriented. | |
3936 | |
6061 | 3937 2006-10-17 John W. Eaton <jwe@octave.org> |
3938 | |
3939 * lo-cieee.c: If isnan is not available but _isnan is, then define | |
3940 isnan to be _isnan, and define HAVE_ISNAN. Likewise for _finite | |
3941 and _copysign. | |
3942 | |
6059 | 3943 2006-10-17 Michael Goffioul <michael.goffioul@swing.be> |
6051 | 3944 |
6061 | 3945 * oct-syscalls.cc (syscalls::waitpid): Always declare and define retval. |
3946 | |
6708 | 3947 * CMatrix.cc (ComplexMatrix::solve): Avoid infinite recursion. |
3948 * CSparse.cc (SparseComplexMatrix::insert): Likewise. | |
6061 | 3949 |
6058 | 3950 * oct-types.h.in: Include limits.h, for CHAR_BIT. |
3951 | |
6059 | 3952 2006-10-13 Michael Goffioul <michael.goffioul@swing.be> |
3953 | |
6051 | 3954 * Makefile.in: Adapt rules to use $(LIBPRE). |
3955 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3956 2006-10-03 David Bateman <dbateman@free.fr> |
6027 | 3957 |
3958 * MatrixType.cc (MatrixType::MatrixType): Avoid crash if np == 0 | |
3959 or p == 0. | |
3960 | |
6018 | 3961 2006-10-02 John W. Eaton <jwe@octave.org> |
3962 | |
3963 * dbleDET.cc (DET::initialize2): Ensure arg to log10 is double. | |
3964 * CmplxDET.cc (ComplexDET::initialize2): Likewise. | |
3965 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3966 2006-09-22 David Bateman <dbateman@free.fr> |
5996 | 3967 |
3968 * MatrixType.h (MatrixType::MatrixType(const SparseComplexMatrix&)): | |
5997 | 3969 Remove spurious warning. |
5996 | 3970 |
5992 | 3971 2006-09-15 John W. Eaton <jwe@octave.org> |
3972 | |
3973 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&) const): | |
3974 Handle resizing. | |
3975 | |
3976 * intNDArray.h (intNDArray<T>:elt_type): New typedef. | |
3977 | |
5983 | 3978 2006-09-11 John W. Eaton <jwe@octave.org> |
3979 | |
3980 * dMatrix.cc (operator * (const Matrix&, const Matrix&))): | |
3981 Handle M*v and rv*cv special cases. | |
3982 * CMatrix.cc (operator * (const ComplexMatrix&, const | |
3983 ComplexMatrix&))): Likewise. | |
3984 From Luis F. Ortiz <lortiz@interactivesupercomputing.com>. | |
3985 | |
3986 * dRowVector.cc (operator * (const RowVector&, const | |
3987 ColumnVector&)): Call xddot here instead of using a Fortran | |
3988 function directly. | |
3989 * CRowVector.cc (operator * (const ComplexRowVector&, const | |
3990 ComplexColumnVector&)): Call xzdotu here. | |
3991 | |
3992 2006-09-05 John W. Eaton <jwe@octave.org> | |
3993 | |
3994 * chNDArray.cc (charNDArray::any, charNDArray::all): Compare | |
3995 elements to '\0', not ' '. | |
3996 | |
5972 | 3997 2006-08-25 John W. Eaton <jwe@octave.org> |
3998 | |
3999 * mx-inlines.cc (MX_ND_REDUCTION): Special case for 0x0 arrays. | |
4000 | |
5958 | 4001 2006-08-23 John W. Eaton <jwe@octave.org> |
4002 | |
4003 * dMatrix.cc, dMatrix.h (Matrix::save_ascii): Delete function and decl. | |
4004 * CMatrix.cc, CMatrix.h (ComplexMatrix::save_ascii): Likewise. | |
4005 | |
5955 | 4006 2006-08-22 John W. Eaton <jwe@octave.org> |
4007 | |
5956 | 4008 * CMatrix.cc (ComplexMatrix::save_ascii): New function. |
4009 * dMatrix.cc (Matrix::save_ascii): New function. | |
4010 | |
5955 | 4011 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Correctly detect empty arrays. |
4012 If array is empty, return value is same size as array. | |
4013 (MX_ND_REDUCTION): Correctly detect empty arrays. | |
4014 If array is empty, produce correctly sized return value. | |
4015 | |
5940 | 4016 2006-08-18 John W. Eaton <jwe@octave.org> |
4017 | |
5943 | 4018 * dMatrix.cc (Matrix::any_element_not_one_or_zero): New function. |
4019 * dMatrix.h: Provide decl. | |
4020 * dNDArray.cc (NDArray::any_element_not_one_or_zero): New function. | |
4021 * dNDArray.h: Provide decl. | |
4022 * intNDArray.cc (intNDArray<T>::any_element_not_one_or_zero): | |
4023 New function. | |
4024 * intNDArray.h: Provide decl. | |
4025 | |
5940 | 4026 * Array.cc (Array<T>::permute): Only rearrange values if array is |
4027 not empty. | |
4028 | |
5904 | 4029 2006-07-26 John W. Eaton <jwe@octave.org> |
4030 | |
4031 * dbleDET.cc (DET::initialize10, DET::value_will_underflow, | |
4032 DET::value_will_overflow): Use xlog2 instead of log2. | |
4033 (DET::initialize2, DET::initialize10): Use xround instead of round. | |
4034 (DET::initialize2, DET::value): Use xexp2 instead of exp2. | |
4035 * CmplxDET.cc (ComplexDET::initialize10, | |
4036 ComplexDET::value_will_underflow, | |
4037 ComplexDET::value_will_overflow): Use xlog2 instead of log2. | |
4038 (ComplexDET::initialize2, ComplexDET::initialize10): | |
4039 Use xround instead of round. | |
4040 (ComplexDET::initialize2, ComplexDET::value): | |
4041 Use xexp2 instead of exp2. | |
4042 | |
4043 * lo-mappers.cc (M_LOG10E): Delete unused macro. | |
4044 (xlog2, xexp2): New functions. | |
4045 * lo-mappers.h: Provide decls. | |
4046 | |
5900 | 4047 2006-07-22 John W. Eaton <jwe@octave.org> |
4048 | |
4049 * Sparse.h (Sparse<T>::mex_get_data, Sparse<T>::mex_get_ir, | |
4050 Sparse<T>::mex_get_jc): New functions. | |
4051 | |
4052 2006-07-21 John W. Eaton <jwe@octave.org> | |
4053 | |
4054 * oct-inttypes.h (octave_int<T>::mex_get_data): New function. | |
4055 * Array.h (Array<T>::mex_get_data): New function. | |
4056 | |
5898 | 4057 2006-07-19 John W. Eaton <jwe@octave.org> |
4058 | |
4059 * oct-inttypes.h (octave_int::operator bool (void)): New function. | |
4060 | |
5893 | 4061 2006-07-16 John W. Eaton <jwe@octave.org> |
4062 | |
4063 * oct-spparms.h, oct-spparms.cc (class octave_sparse_params): | |
4064 Rename from SparseParams. Use same implementation method as other | |
4065 singleton classes in Octave. Change all uses of | |
4066 Voctave_sparse_controls to use static functions from | |
4067 octave_sparse_params class instead. | |
4068 | |
4069 * oct-spparms.h, oct-spparms.cc (SparseParams::set_key, | |
4070 SparseParams::get_key): Pass std::string arg by const reference, | |
4071 not const value. | |
4072 | |
5892 | 4073 2006-07-15 John W. Eaton <jwe@octave.org> |
4074 | |
4075 * data-conv.cc: Instantiante swap_bytes templates here. | |
4076 | |
4077 * MatrixType.cc (MatrixType::MatrixType): | |
4078 Use complete initializer lists in constructors. | |
4079 | |
5880 | 4080 2006-07-06 John W. Eaton <jwe@octave.org> |
4081 | |
4082 * str-vec.cc (string_vector::string_vector (std::list<std::string>&)): | |
4083 New constructor. | |
4084 * str-vec.h: Provide decl. | |
4085 | |
5876 | 4086 2006-07-01 David Bateman <dbateman@free.fr> |
4087 | |
4088 * dSparse.cc (tinverse): Check for rows with no elements and zero | |
4089 elements on the diagonal. Allow both Upper and Lower triangular | |
4090 matrices to be treated. | |
4091 * CSparse.cc (tinverse): ditto. | |
4092 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Take into account 64-bit | |
4093 constant assignment. | |
4094 | |
5870 | 4095 2006-06-30 John W. Eaton <jwe@octave.org> |
4096 | |
5872 | 4097 * lo-sysdep.cc (octave_chdir): Perform tilde expansion here. |
4098 * cmd-edit.cc (editor::read_init_file): Ditto. | |
4099 * dir-ops.cc (dir_entry::open): Ditto. | |
5871 | 4100 * file-stat.cc (stat::update_internal): Ditto. |
5872 | 4101 * cmd-hist.cc (command_history::set_file): Ditto. |
5871 | 4102 |
5870 | 4103 * data-conv.cc (data_conv::string_to_data_type): |
4104 Correctly handle leading "*". | |
4105 | |
5869 | 4106 2006-06-29 Atsushi Kajita <a-kajita@mizar.freemail.ne.jp> |
4107 | |
4108 * Sparse.cc (Sparse<T>::SparseRep::elem): Avoid out of bounds | |
4109 array access. | |
4110 | |
5866 | 4111 2006-06-27 John W. Eaton <jwe@octave.org> |
4112 | |
4113 * Makefile.in: Finish renaming of OBJECTS -> LIBOCTAVE_OBJECTS. | |
4114 | |
5864 | 4115 2006-06-21 John W. Eaton <jwe@octave.org> |
4116 | |
4117 * oct-shlib.cc (octave_dlopen_shlib::close, | |
4118 octave_shl_load_shlib::close, octave_w32_shlib::close): | |
4119 Skip do_close_hook if cl_hook is 0. | |
4120 | |
5863 | 4121 2006-06-16 John W. Eaton <jwe@octave.org> |
4122 | |
4123 * oct-sort.h: Don't include config.h, lo-mappers.h, or quit.h. | |
4124 * randmtzig.h: Don't inlcude config.h. | |
4125 | |
5837 | 4126 2006-05-31 David Bateman <dbateman@free.fr> |
4127 | |
4128 * Array.cc (assignN): Maybe reshape LHS before doing assignment. | |
4129 | |
5828 | 4130 2006-05-23 John W. Eaton <jwe@octave.org> |
4131 | |
4132 * oct-types.h.in: Include stdint.h or inttypes.h for integer | |
4133 typedefs, or define them if those files are not available. | |
4134 * oct-inttypes.h (octave_int8_t, octave_int16_t, octave_int32_t, | |
4135 octave_int64_t, octave_uint8_t, octave_uint16_t, octave_uint32_t, | |
4136 octave_uint64_t): Delete typedefs. Replace all uses of these | |
4137 types with int8_t, int16_t, etc. | |
4138 * data-conv.h (TWO_BYTE_INT, FOUR_BYTE_INT, EIGHT_BYTE_INT): | |
4139 Delete definitions. Replace all uses of these macros with int8_t, | |
4140 int16_t, etc. | |
4141 * randmtzig.h: Delete integer typedefs. | |
4142 | |
5822 | 4143 2006-05-18 John W. Eaton <jwe@octave.org> |
4144 | |
4145 * EIG.cc (EIG::init): Trap Inf and NaN values here. | |
4146 From Keith Goodman <kwgoodman@gmail.com>. | |
4147 | |
5813 | 4148 2006-05-08 David Bateman <dbateman@free.fr> |
4149 | |
4150 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): fix bug in previous | |
4151 modification. | |
4152 | |
5797 | 4153 2006-05-09 David Bateman <dbateman@free.fr> |
4154 | |
4155 * sparse-dmsolve.cc: Remove reference to ov-re-sparse.h, | |
4156 ov-cx-sparse. and error_state. | |
4157 * SparseQR.cc, SparseCmplxQR.cc (qrsolve): Return info = -1 on error. | |
4158 | |
5795 | 4159 2006-05-08 David Bateman <dbateman@free.fr> |
4160 | |
4161 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Set column pointers in | |
4162 first pass and use to determine which algorithm to use on a | |
4163 column-by-column basis. | |
4164 | |
5792 | 4165 2006-05-04 David Bateman <dbateman@free.fr> |
4166 | |
4167 * SparseQR.cc, SparseQR.h, SparseCmplxQR.cc, SparseCmplxQR.h, | |
4168 sparse-dmsolve.cc : Allow compilation with versions v2.0.0 of | |
4169 CXSparse or later | |
4170 | |
5785 | 4171 2006-05-03 David Bateman <dbateman@free.fr> |
4172 | |
4173 * CMatrix.cc (zpotrf, zpocon, zpotrs, ztrcon, ztrtrs): | |
4174 External declaration of lapack triangular and Cholesky codes. | |
4175 (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, | |
4176 ComplexMatrix::fsolve): New private solver codes for | |
4177 upper, lower and LU/Cholesky solvers. | |
4178 (ComplexMatrix::solve): New versions for cached matrix | |
4179 type. Adapt old versions to call new versions | |
4180 * CMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
4181 new solvers. | |
4182 (solve): New versions for cached matrix type. | |
4183 * dMatrix.cc (dpotrf, dpocon, dpotrs, dtrcon, dtrtrs): | |
4184 External declaration of lapack triangular and Cholesky codes. | |
4185 (Matrix::utsolve, Matrix::ltsolve, | |
4186 Matrix::fsolve): New private solver codes for | |
4187 upper, lower and LU/Cholesky solvers. | |
4188 (Matrix::solve): New versions for cached matrix | |
4189 type. Adapt old versions to call new versions | |
4190 * dMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
4191 new solvers. | |
4192 (solve): New versions for cached matrix type. | |
4193 * CSparse.cc: Replace all uses of SparseType with MatrixType. | |
4194 * CSparse.h: ditto. | |
4195 * dSparse.cc: ditto. | |
4196 * dSparse.h: ditto. | |
4197 * SparseCmplxCHOL.cc: ditto. | |
4198 * SparsedbleCHOL.cc: ditto. | |
4199 * sparse-dmsolve.cc: ditto. | |
4200 * SparseType.cc, SparseType.h: delete. | |
4201 * MatrixType.cc: New file for class to cache matrix type, based on | |
4202 old SparseType class but caching matrix and sparse types. | |
4203 * MatrixType.h: ditto. | |
4204 * Makefile.in (MATRIX_INC, MATRIX_SRC): Add MatrixType.h and | |
4205 MatrixType.cc respectively. Delete SparseType.h and SparseType.cc | |
4206 respectively. | |
4207 * mx-base.h: Include MatrixTye.h as header file. | |
4208 | |
5781 | 4209 2006-05-01 John W. Eaton <jwe@octave.org> |
4210 | |
4211 * oct-shlib.h (octave_shlib::octave_shlib, octave_shlib::open): | |
4212 Delete WARN_FUTURE arg. Change all uses. | |
4213 * oct-shlib.cc (octave_base_shlib::stamp_time): Delete arg. | |
4214 Change all uses. Use current_liboctave_warning_with_id_handler. | |
4215 (octave_base_shlib::open): Delete arg. Change all derived classes | |
4216 and uses. | |
4217 | |
4218 2006-04-29 John W. Eaton <jwe@octave.org> | |
4219 | |
4220 * Array-flags.cc, Array-flags.h: Delete. | |
4221 * Makefile.in (MATRIX_SRC): Remove Array-flags.cc from the list. | |
4222 (MATRIX_INC): Remove Array-flags.h from the list. | |
4223 | |
4224 * idx-vector.cc (IDX_VEC_REP::freeze): Delete warn_resize arg. | |
4225 Use current_liboctave_warning_with_id_handler | |
4226 with warning ID Octave:resize-on-range-error. | |
4227 * idx-vector.h: Fix decl. | |
4228 * Array.cc, Sparse.cc: Change all callers. | |
4229 | |
4230 * Array.cc (Array<T>::maybe_delete_elements, Array<T>::index2, | |
4231 assign2, assignN): Use current_liboctave_warning_with_id_handler | |
4232 with warning ID Octave:fortran-indexing instead of | |
4233 liboctave_wfi_flag. | |
4234 * Sparse.cc (assign, Sparse<T>::index): Likewise. | |
4235 | |
5777 | 4236 2006-04-26 John W. Eaton <jwe@octave.org> |
4237 | |
4238 * pathsearch.cc (dir_path::path_sep_char, dir_path::path_sep_str): | |
4239 New static data. | |
4240 * pathsearch.h: Provide decls. | |
4241 (dir_path::is_path_sep): New function. | |
4242 | |
5766 | 4243 2006-04-18 John W. Eaton <jwe@octave.org> |
4244 | |
4245 * randmtzig.c (randmt, randi53, randi54, randi64, randu32, randu53): | |
4246 Omit inline from decl. | |
4247 | |
4248 * Sparse.cc (Sparse<T>::index): Use std::vector<bool> to avoid | |
4249 local array with variable dimension. | |
4250 | |
5764 | 4251 2006-04-16 John W. Eaton <jwe@octave.org> |
4252 | |
5765 | 4253 * lo-sstream.h: Delete. |
4254 * Makefile.in (INCLUDES): Remove it from the list. | |
4255 | |
4256 * dim-vector.h (dim_vector::str): Use std::ostringstream directly. | |
4257 * Sparse.cc (Sparse::range_error): Likewise. | |
4258 * DASSL.cc (DASSL::error_message): Likewise. | |
4259 * LSODE.cc (LSODE::error_message): Likewise. | |
4260 * DASRT.cc (DASRT::error_message): Likewise. | |
4261 * DASPK.cc (DASPK::error_message): Likewise. | |
4262 * Array.cc (Array::range_error): Likewise. | |
4263 | |
5764 | 4264 * kpse.cc (kpse_hash): Rename from hash. |
4265 (hash_lookup): Call kpse_hash instead of hash. | |
4266 | |
4267 * SparseType.cc (SparseType::SparseType): Use std::vector<bool> | |
4268 to avoid local array with variable dimension. | |
4269 | |
5760 | 4270 2006-04-13 David Bateman <dbateman@free.fr> |
4271 | |
4272 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
4273 Optimize assignment. | |
4274 | |
4275 2006-04-13 John W. Eaton <jwe@octave.org> | |
4276 | |
4277 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
4278 Eliminate unnecessary casts. | |
4279 * SparsedbleLU.cc (SparseLU::SparseLU): Likewise. | |
4280 | |
4281 * kpse.cc (fopen): Use reinterpret_cast instead of C-style cast. | |
4282 (log_search, dir_links): Use static_cast instead of C-style cast. | |
4283 | |
4284 * prog-args.cc (args::getopt): Use reinterpret_cast instead of X_CAST. | |
4285 * oct-alloc.cc (allocator::grow): Likewise. | |
4286 * CSparse.cc (SparseComplexMatrix::determinant, | |
4287 SparseComplexMatrix::factorize, SparseComplexMatrix::fsolve): | |
4288 Likewise. | |
4289 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU): Likewise. | |
4290 | |
4291 * oct-sort.cc (roundupsize, octave_sort<T>::merge_getmem): | |
4292 Use static_cast instead of C-style cast. | |
4293 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
4294 * dSparse.cc (SparseMatrix::fsolve): Likewise. | |
4295 | |
4296 * data-conv.cc (LS_DO_WRITE): Use static_cast for value conversion. | |
4297 Use OCTAVE_LOCAL_BUFFER instead of new/delete. | |
4298 (LS_DO_READ): Allocate local buffer to avoid pointer tricks. | |
4299 (write_doubles, read_doubles, LS_DO_WRITE, LS_DO_READ): | |
4300 Use reinterpret_cast instead of X_CAST. | |
4301 | |
4302 * DiagArray2.h (DiagArray2::Proxy::operator&): No need to cast | |
4303 return value here. | |
4304 | |
5752 | 4305 2006-04-12 Rafael Laboissiere <rafael@debian.org> |
4306 | |
4307 * ArrayN.h (ArrayN::ArrayN): Qualify fill with Array<T> base class. | |
4308 * DiagArray2.h (DiagArray2::DiagArray2): Likewise. | |
4309 | |
5730 | 4310 2006-04-03 David Bateman <dbateman@free.fr> |
4311 | |
5731 | 4312 * Sparse.cc (Sparse<T>::resize): Use xcidx rather than cdix, etc |
4313 to avoid copy of original matrix. | |
4314 | |
5730 | 4315 * Makefile.in (INCLUDES): Add randgamma.h, randpoisson.h and |
4316 randmtzig.h to the list. | |
4317 (LIBOCTAVE_C_SOURCES): Add randgamma.c, randpoisson.c and | |
4318 randmtzig.c to the list. | |
4319 * oct-rand.cc (do_old_initialization): Rename from do_initialization. | |
4320 (use_old_generators): New variable. | |
4321 (old_initialized): Rename from initialized. | |
4322 (new_initialized): New variable. | |
4323 (oct_init_by_entropy): New function. | |
4324 (maybe_initialize): Initialize new or old generator depending on | |
4325 value of use_old_generators. | |
4326 (octave_rand::state): New functions. | |
4327 (octave_rand::distribution): Add gamma, exponential and poisson | |
4328 distributions. | |
4329 (octave_rand::exponential_distribution, | |
4330 octave_rand::poisson_distribution, | |
4331 octave_rand::gamma_distribution): New methods to select | |
4332 exponential, poisson or gamma distribution. | |
4333 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
4334 octave_rand::vector): Add new distributions. | |
4335 * oct-rand.h: Provide decls for new functions. | |
4336 (octave_rand::matrix, octave_rand::scalar, octave_rand:: | |
4337 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
4338 octave_rand::vector): New arg A, for gamma and poisson distributions. | |
4339 * randpoisson.c, randpoisson.h, randgamma.c, randmtzig.c, | |
4340 randmtzig.h: New files. | |
4341 | |
5717 | 4342 2006-03-24 John W. Eaton <jwe@octave.org> |
4343 | |
4344 * dSparse.cc (SparseMatrix::bsolve): Integer work vector is | |
4345 Array<octave_idx_type>, so fortran_vec returns pointer to | |
4346 octave_idx_type, not pointer to int. | |
4347 | |
4348 * CMatrix.cc, CMatrix.h (ComplexMatrix::row (char*), | |
4349 ComplexMatrix::column (char*)): Delete. | |
4350 * dMatrix.cc, dMatrix.h (Matrix::row (char*), | |
4351 Matrix::column (char*)): Delete. | |
4352 | |
5713 | 4353 2006-03-21 David Bateman <dbateman@free.fr> |
4354 | |
4355 * SparseQR.h: Publish externally used friends. | |
4356 * SparseCmplxQR.h: ditto. | |
4357 | |
5700 | 4358 2006-03-21 John W. Eaton <jwe@octave.org> |
4359 | |
4360 * lo-specfun.cc (betainc): Use F77_XFCN instead of F77_FUNC for | |
4361 call to xdbetai. | |
4362 | |
5697 | 4363 2006-03-21 David Bateman <dbateman@free.fr> |
4364 | |
5701 | 4365 * lo-specfun.cc (xlgamma, xgamma): Trap special values. |
4366 (xlgamma): Use F77_XFCN instead of F77_FUNC for call to dlgams. | |
5700 | 4367 |
4368 * dSparse.cc (solve): Add argument singular_fallback, to allow | |
4369 fallback to QR solvers to be optional. | |
4370 * CSparse.cc (solve): Ditto. | |
4371 * dSparse.h (solve): update declaration for new argument. | |
4372 * CSparse.h (solve): Ditto. | |
4373 * sparse-dmsolve.cc (dmsolve): Use singular_fallback argument | |
4374 to bypass QR solvers when solving the well determined part of | |
4375 the problem. | |
5697 | 4376 |
5690 | 4377 2006-03-17 John W. Eaton <jwe@octave.org> |
4378 | |
4379 * str-vec.cc (vector::list_in_columns): New optional arg, width. | |
4380 | |
5681 | 4381 2006-03-16 David Bateman <dbateman@free.fr> |
4382 | |
4383 * CSparse.cc: Change use of nzmax to nnz to allow automatic | |
4384 reduction of matrix size, except for a couple of cases where nzmax | |
4385 is needed. | |
4386 (zpbcon): Correct declaration of lapack zpbcon function. | |
4387 (dsolve, utsolve, ltsolve, trisolve, bsolve, factorize, fsolve): Add | |
4388 an argument to allow the calculation of condition number to be | |
4389 optional. | |
4390 (bsolve): Add code for the calculation of the condition number | |
4391 using zpbcon and zgbcon. | |
4392 (dsolve): Bug fix for rectangular matrices with sparse RHS. | |
4393 (utsolve, ltsolve, trisolve, bsolve, fsolve): Mark matrix type as | |
4394 singular if singularity is detected. | |
4395 (solve): Use optional argument to disable calculation of | |
4396 condition number for all but fsolve, for speed. Add code to | |
4397 allow rectnagular matrices or matrices identified as singular | |
4398 to be treated. | |
4399 (lssolve): delete. | |
4400 (operator *): Don't recast real matrices as complex, but | |
4401 rather use the macro directly on the real data. | |
4402 * dSparse.cc: ditto. | |
4403 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, | |
4404 fsolve, factorize): Update declaration for new argument to | |
4405 calculate the condition number. | |
4406 (lssolve): delete. | |
4407 * dSparse.h: ditto. | |
4408 * Msparse.h: Change use of nxmax to nnz to allow automatic | |
4409 reduction of matrix size, except for a couple of cases where | |
4410 nzmax is needed. | |
4411 * Sparse.cc: Change use of nxmax to nnz to allow automatic | |
4412 reduction of matrix size, except for a couple of cases where | |
4413 nzmax is needed. | |
4414 (Sparse<T>::index (idx_vector&, idx_vector&, int) const): | |
4415 Special case strict permutations for speed. | |
4416 * Sparse-op-defs.h: Change use of nxmax to nnz to allow automatic | |
4417 reduction of matrix size, except for a couple of cases where | |
4418 nzmax is needed. | |
4419 (SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, FULL_SPARSE_MUL): Update | |
4420 macros to allow mixed complex/real arguments. | |
4421 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): New macro for C99 zero | |
4422 value. | |
4423 (qrsolve): Use it to zero temporary buffers used bt CXSPARSE. | |
4424 * SparseType.cc (SparseType::SparseType ()): Correct detection | |
4425 of permutated triangular matrices to avoid seg-faults. Disable | |
4426 detection of underdetermined lower and over-determined upper | |
4427 matrix due to problems with non minimum norm solutions. | |
4428 * sparse-dmsolve.cc: New file for Dulmage-Mendelsohn solver. | |
4429 * Makefile.in: add sparse-dmsolve.cc to targets. | |
4430 | |
5675 | 4431 2006-03-15 William Poetra Yoga Hadisoeseno <williampoetra@gmail.com> |
4432 | |
4433 * oct-time.cc (octave_strptime::init): Return useful character count. | |
4434 | |
5648 | 4435 2006-03-08 David Bateman <dbateman@free.fr> |
4436 | |
4437 * SparseCmplxQR.cc: Updates for new upstream CXSPARSE release. Fix for | |
4438 g++ 4.x stl_vector.h issue with C99 double _Complex type. | |
4439 * SparseCmplxQR.h: Updates for new upstream CXSPARSE release. | |
4440 * SparseQR.cc: ditto. | |
4441 * SparseQR.h: ditto. | |
4442 * oct-sparse.h: ditto. | |
4443 * sparse-base-chol.cc (sparse_base_chol<>::sparse_base_chol_rep::init): | |
4444 Declare info variable as volatile. | |
4445 | |
4446 * Sparse.cc (Sparse<T>::transpose (void) const): Accelerate algorithm. | |
4447 * CSparse.cc (SparseComplexMatrix::transpose (void) const): ditto. | |
4448 | |
5634 | 4449 2006-03-01 John W. Eaton <jwe@octave.org> |
4450 | |
4451 * CMatrix.cc (ComplexMatrix::determinant): | |
4452 Scale result by factors of 2, not 10. | |
4453 * dMatrix.cc (Matrix::determinant): Likewise. | |
4454 | |
4455 * dbleDET.h (DET::DET): Use initializer list. | |
4456 (DET::coefficient2, DET::coefficient10, DET::exponent2, | |
4457 DET::exponent10): New functions. | |
4458 (DET::det): Delete. | |
4459 (DET::c2, DET::c10, DET::e2, DET::e10, DET::base2): New data members. | |
4460 Store value internally with double and int instead of 2-element | |
4461 double vector. | |
4462 (DET::initialize2, DET::initialize10): Provide decls. | |
4463 * dbleDET.cc (DET::value_will_overflow, DET::value_will_underflow): | |
4464 Return bool value, not int. | |
4465 (DET::initialize2, DET::initialize10): New functions. | |
4466 | |
4467 * CmplxDET.h (ComplexDET::ComplexDET): Use initializer list. | |
4468 (ComplexDET::coefficient2, ComplexDET::coefficient10, | |
4469 ComplexDET::exponent2, ComplexDET::exponent10): New functions. | |
4470 (ComplexDET::det): Delete. | |
4471 (ComplexDET::c2, ComplexDET::c10, ComplexDET::e2, ComplexDET::e10, | |
4472 ComplexDET::base2): New data members. | |
4473 Store value internally with Complex and int instead of 2-element | |
4474 Complex vector. | |
4475 (ComplexDET::initialize2, ComplexDET::initialize10): Provide decls. | |
4476 * dbleComplexDET.cc (ComplexDET::value_will_overflow, | |
4477 ComplexDET::value_will_underflow): Return bool value, not int. | |
4478 (ComplexDET::initialize2, ComplexDET::initialize10): New functions. | |
4479 | |
5632 | 4480 2006-02-24 John W. Eaton <jwe@octave.org> |
4481 | |
4482 * Array.cc (assignN): Clear index before reshaping. | |
4483 | |
4484 * Array.h (Array<T>::operator =): Don't set idx to 0 if copying self. | |
4485 | |
5630 | 4486 2006-02-20 David Bateman <dbateman@free.fr> |
4487 | |
4488 * dSparse.cc (dsolve, utsolve, ltsolve): Remove restriction that | |
4489 matrix must be square in diagonal, permuted diagonal, triangular | |
4490 and permuted triangular back/forward substitution code. Change | |
4491 ambiguous use of no. rows and columns. | |
4492 * CSParse.cc (dsolve, utsolve, ltsolve): ditto. | |
4493 * SparseType.cc (SparseType::SparseType(const SparseMatrix&), | |
4494 SparseType::SparseType(const SparseComplexMatrix&)): Recognize | |
4495 rectangular diagonal, permuted diagonal, triangular and permuted | |
4496 triangular matrices. | |
4497 * Sparse.cc (Sparse<T>::Sparse (octave_idx_type, octave_idx_type, T)): | |
4498 Treat case where third argument is zero. | |
4499 | |
5621 | 4500 2006-02-15 John W. Eaton <jwe@octave.org> |
4501 | |
5622 | 4502 * kpse.cc: Do define ST_NLINK_TRICK for Cygwin systems. |
4503 (do_subdir) [ST_NLINK_TRICK]: Check links != 2 instead of links > 2. | |
4504 | |
5621 | 4505 * getopt.c: Use __CYGWIN__ instead of __CYGWIN32__. |
4506 | |
5619 | 4507 2006-02-13 David Bateman <dbateman@free.fr> |
4508 | |
4509 * Makefile.in (LINK_DEPS): Add missing dependencies on colamd, | |
4510 ccolamd and cxsparse | |
4511 | |
5617 | 4512 2006-02-13 John W. Eaton <jwe@octave.org> |
4513 | |
5618 | 4514 * kpse.cc (kpse_path_iterator::next): Reverse order of tests in |
4515 while loop condition. | |
4516 (kpse_path_iterator::operator =): Declare as private function but | |
4517 don't define to prevent attempts to use assignment operator. | |
4518 Don't define ST_NLINK_TRICK for Cygwin systems. | |
5617 | 4519 |
5615 | 4520 2006-02-10 John W. Eaton <jwe@octave.org> |
4521 | |
4522 * mx-inlines.cc (MX_ND_REDUCTION): Store in cummulative | |
4523 product of all dimensions in CP_SZ. | |
4524 | |
5611 | 4525 2006-02-09 John W. Eaton <jwe@octave.org> |
4526 | |
4527 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Store in cummulative | |
5615 | 4528 product of all dimensions in CP_SZ. |
5611 | 4529 |
5610 | 4530 2006-02-09 David Bateman <dbateman@free.fr> |
4531 | |
4532 * SparseQR.cc: new file for real sparse QR class. | |
4533 * SparseQR.h: declaration. | |
4534 * SparseCmplxQR.cc: new file for complex sparse QR class. | |
4535 * SparseCmplxQR.h: declaration. | |
4536 * dSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
4537 (factorize, fsolve): Enable code code lssolve. | |
4538 (lssolve): disable unused args, write based in above sparse QR class. | |
4539 * CSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
4540 (factorize, fsolve): Enable code code lssolve. | |
4541 (lssolve): disable unused args, write based in above sparse QR class. | |
4542 * oct-sparse.h: fix location of colamd, ccolamd and metis headers. | |
4543 Include CXSparse headers. | |
4544 * Makefile.in (MATRIX_INC): Include SparseQR.h and SparseCmplxQR.h. | |
4545 (MATRIX_SRC): Include SparseQR.cc and SparseCmplxQR.cc. | |
4546 | |
5607 | 4547 2006-02-08 John W. Eaton <jwe@octave.org> |
4548 | |
4549 * Array-util.h (calc_permutated_idx): Delete. | |
4550 * Array.cc (permute_vector): New data structure. | |
4551 (permute_vector_compare): New function. | |
4552 (Array<T>::permute): Rewrite to avoid calc_permutated_index for | |
4553 improved performance. | |
4554 | |
5606 | 4555 2006-02-04 David Bateman <dbateman@free.fr> |
4556 | |
4557 * COLAMD: Remove all files, as now unused. | |
4558 | |
5604 | 4559 2006-01-31 John W. Eaton <jwe@octave.org> |
4560 | |
4561 * Sparse.h (Sparse<T>::nzmax): New function. | |
4562 (Sparse<T>::nnz): Rename from nonzero. | |
4563 Change all uses of old nnz function to be nzmax. Change all uses | |
4564 of nonzero to be nnz. | |
4565 (Sparse<T>::nzmx): Rename from nnz (data member). Change all uses. | |
4566 | |
5603 | 4567 2006-01-21 David Bateman <dbateman@free.fr> |
4568 | |
4569 * sparse-sort.cc (bool octave_sparse_sidxl_comp): 64-bit fix. | |
4570 (bool octave_idx_vector_comp): New function. | |
4571 (template class octave_sort<octave_idx_vector_sort *>): Instantiate | |
4572 indexed idx_vector sorting function. | |
4573 * sparse-sort.h (class octave_sparse_sort_idxl): 64-bit fix. | |
4574 (class octave_idx_vector_sort): New class for indexed idx_vector | |
4575 sorting. | |
4576 (bool octave_idx_vector_comp): Declaration. | |
4577 * Sparse.cc (int assign1(Sparse<LT>&, Sparse<RT>&)): Treat cases of | |
4578 unordered LHS indexes in assignment using new octave_idx_vector_sort | |
4579 class. | |
4580 (int assign(Sparse<LT>&, Sparse<RT>&)): ditto. | |
4581 | |
5602 | 4582 2006-01-30 John W. Eaton <jwe@octave.org> |
4583 | |
4584 * so-array.h (streamoff_array::nnz): New funtion. | |
4585 * boolNDArray.h (boolNDArray::nnz): New function. | |
4586 * MArrayN.h (MArrayN<T>::nnz): New function. | |
4587 * MArray.h (MArray<T>::nnz): New function. | |
4588 | |
5587 | 4589 2006-01-04 David Bateman <dbateman@free.fr> |
4590 | |
4591 * Spars-op-defs.h (SPARSE_SPARSE_MUL): Previous change resulted in | |
4592 elements not being sorted in return matrix. Sort them, and make | |
4593 solver select between two algorithms to further improve the | |
4594 performance. | |
4595 * dSparse.cc: include oct-sort.h. | |
4596 * CSparse.cc: ditto. | |
4597 * sparse-sort.cc: Instantiate octave_sort<octave_idx_type>. | |
4598 | |
5586 | 4599 2005-12-28 David Bateman <dbateman@free.fr> |
4600 | |
5587 | 4601 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Improved algorithm that is |
4602 faster in all cases, and significantly so for low density or small | |
4603 order problems. | |
5586 | 4604 |
5552 | 4605 2005-11-30 John W. Eaton <jwe@octave.org> |
4606 | |
4607 * LSODE.cc (LSODE::do_integrate (double)): Resize iwork and rwork | |
4608 before setting any values in either array. | |
4609 | |
5547 | 4610 2005-11-29 John W. Eaton <jwe@octave.org> |
4611 | |
4612 * oct-uname.h, oct-uname.cc: New files. | |
4613 * Makefile.in: Add them to the appropriate lists. | |
4614 | |
5535 | 4615 2005-11-11 John W. Eaton <jwe@octave.org> |
4616 | |
4617 * Array.cc (Array<T>::indexN): Simplify. | |
4618 | |
5533 | 4619 2005-11-09 John W. Eaton <jwe@octave.org> |
4620 | |
4621 * oct-inttypes.h (octave_int::operator char (void) const): | |
4622 New conversion op. | |
4623 | |
5527 | 4624 2005-11-01 John W. Eaton <jwe@octave.org> |
4625 | |
4626 * Makefile.in (distclean): Also remove oct-types.h. | |
4627 From Quentin Spencer <qspencer@ieee.org>. | |
4628 | |
5526 | 4629 2005-10-31 David Bateman <dbateman@free.fr> |
4630 | |
4631 * dSparse.cc, CSparse.cc: Use C++ true/false instead of | |
4632 preprocessor defined TRUE/FALSE. | |
4633 | |
5523 | 4634 2005-10-30 John W. Eaton <jwe@octave.org> |
4635 | |
4636 * mx-inlines.cc (MX_ND_REDUCTION): Iterate in direction of DIM. | |
4637 (MX_ND_CUMULATIVE_OP): Likewise. | |
4638 | |
5519 | 4639 2005-10-29 John W. Eaton <jwe@octave.org> |
4640 | |
5520 | 4641 * mx-inlines.cc (MX_ND_REDUCTION): Avoid increment_index to speed |
4642 things up. Simplify. | |
4643 | |
5519 | 4644 * Array.cc (Array<T>::indexN): Simplify. Delete separate special |
4645 case for "vector_equivalent". | |
4646 | |
4647 * Array-util.cc (vector_equivalent): Arg is now dim_vector. | |
4648 | |
5518 | 4649 2005-10-28 John W. Eaton <jwe@octave.org> |
4650 | |
4651 * oct-sparse.h: Fix typo in HAVE_UFSPARSE_UMFPACK_H. | |
4652 From Quentin Spencer <qspencer@ieee.org>. | |
4653 | |
4654 * sparse-base-chol.cc: Use C++ true/false instead of | |
4655 preprocessor defined TRUE/FALSE. Use 0 instead of NULL. | |
4656 | |
5516 | 4657 2005-10-27 John W. Eaton <jwe@octave.org> |
4658 | |
4659 * Array.cc (assignN): Reshape to final size instead of resizing. | |
4660 | |
5512 | 4661 2005-10-26 John W. Eaton <jwe@octave.org> |
4662 | |
4663 * oct-sparse.h: New file. | |
4664 * oct-sparse.h.in: Delete. | |
4665 | |
5511 | 4666 2005-10-26 David Bateman <dbateman@free.fr> |
4667 | |
4668 * sparse-base-chol.h: Include cholmod specific code in HAVE_CHOLMOD | |
4669 * sparse-base-chol.cc: ditto. | |
4670 | |
5508 | 4671 2005-10-26 John W. Eaton <jwe@octave.org> |
4672 | |
4673 Changes for GCC 4.1, tip from Arno J. Klaassen | |
4674 <arno@heho.snv.jussieu.fr>: | |
4675 | |
5509 | 4676 * dSparse.h (real (const SparseComplexMatrix&)): |
4677 Publish externally used friend function. | |
4678 (imag (const SparseComplexMatrix&)): Likewise. | |
4679 | |
5508 | 4680 * dColVector.h (real (const ComplexColumnVector&)): |
4681 Publish externally used friend function. | |
4682 (imag (const ComplexColumnVector&)): Likewise. | |
4683 | |
4684 * dNDArray.h (real (const ComplexNDArray&)): | |
4685 Publish externally used friend function. | |
4686 (imag (const ComplexNDArray&)): Likewise. | |
4687 | |
4688 * dMatrix.h (operator * (const ComplexMatrix&)): | |
4689 Move decl outside class. No need to be friend. | |
4690 (real (const ComplexMatrix&)): Publish externally used friend function. | |
4691 (imag (const ComplexMatrix&)): Likewise. | |
4692 | |
4693 * CMatrix.h: (operator * (const ColumnVector&, const | |
4694 ComplexRowVector&)): Move decl outside class. No need to be friend. | |
4695 (operator * (const ComplexColumnVector&, const RowVector&)): Likewise. | |
4696 (operator * (const ComplexColumnVector&, const ComplexRowVector& b)): | |
4697 Likewise. | |
4698 | |
5506 | 4699 2005-10-23 David Bateman <dbateman@free.fr> |
4700 | |
4701 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Check whether trailing zero | |
4702 elements need to be removed. | |
4703 | |
4704 * oct-sparse.h.in: Include metis headers and some macros for long/int | |
4705 versions of cholmod. | |
4706 | |
4707 * CSparse.cc (tinverse): New private function for the inversion of | |
4708 an upper triangular matrix. | |
4709 (dinverse): ditto for diagonal matrices. | |
4710 (inverse): Add SparseType as an argument. Implement matrix inverse | |
4711 using tinverse and dinverse. | |
4712 (fsolve): Use cholmod to implement Cholesky solver. | |
4713 * CSparse.h (tinverse, dinverse): Declarations | |
4714 (inverse): Alter declaration to include SparseType. | |
4715 | |
4716 * dSparse.cc (tinverse, dinverse, inverse, fsolve): ditto. | |
4717 * dSparse.h (tinverse, dinverse, inverse): ditto. | |
4718 | |
4719 * SparseType.cc: Fix complex constructor for hermitian matrices. | |
4720 | |
4721 * sparse-util.cc: New file for sparse utility functions. | |
4722 * sparse-util.h: New file with declarations of sparse utility | |
4723 functions. | |
4724 | |
4725 * sparse-base-chol.cc: New file with sparse cholesky class based | |
4726 on cholmod. | |
4727 * sparse-base-chol.h: New file with declaration of sparse cholesky | |
4728 class based on cholmod. | |
4729 | |
4730 * SparseCmplxCHOL.cc: Instantiate sparse cholesky class for Complex. | |
4731 * SparseCmplxCHOL.h: Declaration of sparse cholesky class. | |
4732 | |
4733 * SparsedbleCHOL.cc: ditto. | |
4734 * SparsedbleCHOL.h: ditto. | |
4735 | |
4736 * Makefile.in (MATRIX_INC): Include sparse-base-chol.h. | |
4737 (INCLUDES): Include sparse-util.h | |
4738 (TEMPLATE_SRC): Include sparse-base-chol.cc | |
4739 (MATRIX_SRC): Include SparseCmplxCHOL.cc and SparsedbleCHOL.cc | |
4740 | |
5489 | 4741 2005-10-12 John W. Eaton <jwe@octave.org> |
4742 | |
4743 * oct-env.cc (octave_env::have_x11_display): New function. | |
4744 * oct-env.h: Provide decl. | |
4745 | |
5476 | 4746 2005-09-29 John W. Eaton <jwe@octave.org> |
4747 | |
4748 * file-stat.h (file_stat::mode): New function. | |
4749 | |
4750 * file-stat.cc (file_stat::is_blk, file_stat::is_chr, | |
4751 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
4752 file_stat::is_reg, file_stat::is_sock): New static functions. | |
4753 * file-stat.h: Provide decls. | |
4754 | |
4755 2005-09-28 John W. Eaton <jwe@octave.org> | |
4756 | |
4757 * file-ops.cc (file_ops::recursive_rmdir): New function. | |
4758 * file-ops.h: Provide decl. | |
4759 | |
5454 | 4760 2005-09-19 David Bateman <dbateman@free.fr> |
4761 | |
4762 * oct-env.cc (octave_env::do_get_home_directory): | |
4763 Also check HOMEDRIVE under mingw. | |
4764 | |
5455 | 4765 * Makefile.in (LINK_DEPS): Include UFsparse libraries. |
4766 | |
5453 | 4767 2005-09-16 John W. Eaton <jwe@octave.org> |
4768 | |
4769 * oct-syscalls.cc: Include lo-utils.h here. | |
4770 (octave_syscalls::waitpid): Call octave_waitpid here. | |
4771 | |
4772 * lo-cutils.c (octave_waitpid): New function. | |
4773 * lo-utils.h: Provide decl. Include syswait.h here, not in | |
4774 oct-syscalls.cc | |
4775 | |
4776 | |
4777 * syswait.h [__MINGW32__]: Define WAITPID here instead of defining | |
4778 waitpid in src/sysdep.h. Make this header C-compatible. | |
4779 | |
4780 * oct-syscalls.cc (octave_syscalls::waitpid): New arg, status. | |
4781 Change all uses. | |
4782 | |
5451 | 4783 2005-09-15 John W. Eaton <jwe@octave.org> |
4784 | |
4785 * Makefile.in (MAKEDEPS_2): Omit unnecessary variable. | |
4786 | |
4787 * oct-sparse.h.in: New file. | |
4788 * Makefile.in (DISTFILES): Include it in the list. | |
4789 (INCLUDES): Add oct-sparse.h to the list. | |
4790 | |
4791 2005-09-15 David Bateman <dbateman@free.fr> | |
4792 | |
4793 * dSparse.cc : Include oct-sparse.h for probed umfpack, colamd etc | |
4794 headers. Remove include of umfpack.h. | |
4795 * CSparse.cc : ditto. | |
4796 * SparsedbleLU.cc : ditto. | |
4797 * SparseCmplxLU.cc : ditto. | |
4798 | |
4799 * COLAMD : Remove colamd files from octave. | |
4800 * COLAMD.files : delete. | |
4801 * COLAMD.README : delete. | |
4802 * Makefile.in: Remove COLAMD. Add LIBGLOB. | |
4803 (LN_S): Change to DESTDIR before LN_S to avoid lack of symlinks | |
4804 under mingw. | |
4805 | |
4806 * kpse.cc (ENV_SEP, ENV_SEP_STRING): Use SEPCHAR and SEPCHAR_STR | |
4807 in definition. | |
4808 * lo-cutils.c (octave_w32_library_search): Call GetProcAddress with | |
4809 change of cast not allowed under g++ 3.x. | |
4810 * lo-utils.h (octave_w32_library_search): Declaration. | |
4811 * oct-env.cc (do_get_home_directory): Also check HOMEPATH under mingw. | |
4812 * oct-shlib.cc (octave_w32_shlib::search): Use octave_w32_library_search. | |
4813 | |
5442 | 4814 2005-09-07 John W. Eaton <jwe@octave.org> |
4815 | |
4816 * cmd-edit.cc (command_editor::do_decode_prompt_string): Update | |
4817 based on current code in Bash. Handle a few more escape | |
4818 sequences. Do a better job of decoding \W. | |
4819 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4820 2005-09-04 David Bateman <dbateman@free.fr> |
5438 | 4821 |
4822 * COLAMD: Update version of colamd to v2.4. | |
4823 * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of | |
4824 colamd.c for long version. | |
4825 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4826 2005-08-25 David Bateman <dbateman@free.fr> |
5429 | 4827 |
4828 * Sparse-op-defs.h (FULL_SPARSE_MUL, SPARSE_FULL_MUL): Macro for | |
4829 mixed sparse/full multiply. | |
4830 * dSparse.cc (operator *), CSparse.cc (operator *): New operators for | |
4831 mixed sparse/full multiply. | |
4832 * dSparse.h (operator *), CSparse.h (operator *): Declaration of | |
4833 mixed sparse/full multiply operators. | |
4834 | |
5420 | 4835 2005-07-25 Erik de Castro Lopo <erikd@zip.com.au> |
4836 | |
4837 * oct-inttypes.h (OCTAVE_S_US_FTR): Compare <= 0 instead of < 0 to | |
4838 avoid warnings for unsigned types. | |
4839 | |
5404 | 4840 2005-07-07 John W. Eaton <jwe@octave.org> |
4841 | |
4842 * dSparse.cc (SparseMatrix::factorize): Initialize Numeric to 0. | |
4843 * CSparse.cc (SparseComplexMatrix::factorize:) Likewise. | |
4844 | |
5392 | 4845 2005-06-15 John W. Eaton <jwe@octave.org> |
4846 | |
5394 | 4847 * oct-rl-edit.c (flush_stdout): Rename from no_redisplay. |
4848 Flush stdout here. | |
4849 (octave_rl_clear_screen): Set rl_redisplay_function to flush_stdout. | |
4850 | |
5392 | 4851 * Array.h (Array::resize): Change int args to octave_idx_type. |
4852 | |
5386 | 4853 2005-06-14 John W. Eaton <jwe@octave.org> |
4854 | |
5389 | 4855 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
4856 dSparse.cc, lo-cieee.c, lo-mappers.cc: Change all uses of | |
4857 octave_is_NaN_or_NA to xisnan. | |
4858 | |
4859 * lo-mappers.h (octave_is_NaN_or_NA): Mark with GCC_ATTR_DEPRECATED. | |
4860 * lo-ieee.h (lo_ieee_is_NaN_or_NA): Likewise. | |
4861 | |
4862 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Now just a wrapper for | |
4863 lo_ieee_isnan. | |
4864 | |
5387 | 4865 * dMatrix.cc (Matrix::too_large_for_float): Only check if abs |
4866 value is greater than FLT_MAX. | |
4867 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
4868 * dNDArray.cc (NDArray::too_large_for_float): Ditto. | |
4869 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
4870 | |
4871 * dMatrix.cc (Matrix::too_large_for_float): Special case Inf | |
4872 values too. | |
4873 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
4874 | |
4875 * dNDArray.cc (NDArray::too_large_for_float): Likewise for NaN, | |
4876 NA, Inf values. | |
4877 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
5386 | 4878 |
5385 | 4879 2005-06-14 David Bateman <dbateman@free.fr> |
4880 | |
5387 | 4881 * dMatrix.cc (Matrix::too_large_for_float): Special case NaN and |
4882 NA values. | |
4883 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
5385 | 4884 |
5379 | 4885 2005-06-02 John W. Eaton <jwe@octave.org> |
4886 | |
4887 * Array.cc (assignN): Try harder to correctly resize previously | |
4888 empty LHS. | |
4889 | |
5351 | 4890 2005-05-16 David Bateman <dbateman@free.fr> |
4891 | |
4892 * dSparse.h: Change UMFPACK_LONG_IDX to IDX_TYPE_LONG. | |
4893 * CSparse.h: ditto. | |
4894 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4895 2005-05-10 David Bateman <dbateman@free.fr> |
5346 | 4896 |
4897 * dSparse.cc (determinant): Free numeric factorization after | |
4898 sucessful calculation. | |
4899 * CSparse.cc (determinant): ditto. | |
4900 | |
5340 | 4901 2005-05-06 John W. Eaton <jwe@octave.org> |
4902 | |
4903 * dbleCHOL.cc (CHOL::init): Use xelem instead of elem for indexing | |
4904 chol_mat. | |
4905 (chol2mat_internal, chol2mat, CHOL::inverse): New functions. | |
4906 * dbleCHOL.h (chol2mat_internal, chol2mat, CHOL::inverse): | |
4907 Provide decls. | |
4908 | |
4909 * CmplxChol.cc (ComplexCHOL::init): Use xelem instead of elem for | |
4910 indexing chol_mat. | |
4911 (chol2mat_internal, chol2mat, ComplexCHOL::inverse): New functions. | |
4912 * CmplxCHOL.h (chol2mat_internal, chol2mat, CmplxCHOL::inverse): | |
4913 Provide decls. | |
4914 | |
5338 | 4915 2005-05-05 John W. Eaton <jwe@octave.org> |
4916 | |
4917 * Array.cc (Array<T>::permute): Call chop_trailing_singletons on | |
4918 retval before return. | |
4919 | |
5336 | 4920 2005-05-04 John W. Eaton <jwe@octave.org> |
4921 | |
4922 * cmd-edit.cc (gnu_readline::do_readline): Extract const char* | |
4923 from prompt outside of INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE block. | |
4924 | |
5330 | 4925 2005-05-02 John W. Eaton <jwe@octave.org> |
4926 | |
4927 * Makefile.in (LINK_DEPS): List $(UMFPACK_LIBS) ahead of $(BLAS_LIBS). | |
4928 From Dmitri A. Sergatskov <dasergatskov@gmail.com>. | |
4929 | |
5322 | 4930 2005-04-29 David Bateman <dbateman@free.fr> |
4931 | |
5330 | 4932 * dSparse.cc (trisolve): Diagonal passed to lapack zptsv is type |
4933 double. Correct indexing for upper diagonal elements for sparse | |
4934 tridiagonal. | |
5322 | 4935 * CSparse.cc (trisolve): ditto. |
4936 | |
5330 | 4937 * CSparse.h (UMFPACK_ZNAME): Define macro to pick version of |
4938 UMFPACK for 64-bit. | |
5322 | 4939 * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with |
4940 UMFPACK_ZNAME(*). | |
4941 * SparseCmplxLU.cc (UMFPACK_ZNAME): ditto | |
4942 | |
5330 | 4943 * dSparse.h (UMFPACK_DNAME): Define macro to pick version of |
4944 UMFPACK for 64-bit. | |
5322 | 4945 * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with |
4946 UMFPACK_DNAME(*). | |
4947 * SparsedbleLU.cc (UMFPACK_DNAME): ditto | |
4948 | |
5330 | 4949 * dSparse.cc (ltsolve, utsolve): Correct permuted upper/lower |
4950 triangular back/forward substitution code. | |
5322 | 4951 * CSparse.cc (ltsolve, utsolve): ditto. |
4952 | |
5330 | 4953 * dSparse.cc (solve): Use mattype.type (false) to force messaging |
4954 from spparms("spumoni",1). | |
5322 | 4955 * CSparse.cc (solve): ditto |
4956 | |
5330 | 4957 * SparseType.cc (SparseType(void)): Print info for |
4958 spparms("spumoni",1). | |
5322 | 4959 (SparseType(const matrix_type), SparseType(const matrix_type, const |
4960 octave_idx_type, const octave_idx_type*), SparseType(const matrix_type, | |
4961 const octave_idx_type, const octave_idx_type)): New constructors. | |
4962 (SparseType (const SparseMatrix&), SparseType (SparseComplexMatrix&)): | |
5330 | 4963 Detect row permuted lower triangular and column permuted upper |
4964 triangular matrices. Remove one of the permutation vectors.. | |
5322 | 4965 |
4966 * SparseType.h: Simplify the permutation code. | |
4967 (SparseType(const matrix_type), SparseType | |
4968 (const matrix_type, const octave_idx_type, const octave_idx_type*), | |
4969 SparseType(const matrix_type, const octave_idx_type, | |
4970 const octave_idx_type)): Declarations. | |
4971 | |
5304 | 4972 2005-04-25 John W. Eaton <jwe@octave.org> |
4973 | |
4974 * str-vec.cc (string_vector::delete_c_str_vec): Correctly free | |
4975 array and its contents. | |
4976 | |
5303 | 4977 2005-04-22 John W. Eaton <jwe@octave.org> |
4978 | |
4979 * oct-rl-edit.c (octave_rl_set_terminal_name): Don't cast away | |
4980 const here now that rl_terminal_name is declared const char*. | |
4981 | |
5294 | 4982 2005-04-21 John W. Eaton <jwe@octave.org> |
4983 | |
4984 * Makefile.in (DISTFILES): Include oct-types.h.in in the list. | |
4985 | |
5285 | 4986 2005-04-19 John W. Eaton <jwe@octave.org> |
4987 | |
4988 * Array.cc (assignN): Don't crash if the index list is empty. | |
4989 | |
5282 | 4990 2005-04-14 David Bateman <dbateman@free.fr> |
4991 | |
4992 * SparseCmplxLU.cc: Add flags for incomplete factorization. | |
4993 * SparsedbleLU.cc: Ditto. | |
4994 * SparseCmplxLU.h: Definition. | |
4995 * SparsedbleLU.h: ditto. | |
4996 | |
4997 * SparseType.cc (transpose): New function. | |
4998 * SparseType.h (transpose): Definition. | |
4999 | |
5278 | 5000 2005-04-11 John W. Eaton <jwe@octave.org> |
5001 | |
5002 * lo-specfun.cc: Use F77_XFCN instead of F77_FUNC for calls to | |
5003 fortran code that could end up calling XSTOPX. | |
5004 | |
5277 | 5005 2005-04-10 David Bateman <dbateman@free.fr> |
5006 | |
5007 * Makefile.in: include oct-types in INCLUDES so that it is | |
5008 installed | |
5009 | |
5275 | 5010 2005-04-08 John W. Eaton <jwe@octave.org> |
5011 | |
5276 | 5012 * Makefile.in (clean): Use exact filenames instead of *.xxx. |
5013 | |
5275 | 5014 * Initial merge of 64-bit changes from Clinton Chee: |
5015 | |
5016 2005-04-07 John W. Eaton <jwe@octave.org> | |
5017 | |
5018 * MArray-i.cc, Array-i.cc: Instantiate Array<long> and MArray<long>. | |
5019 | |
5020 * CSparse.cc, CSparse.h, MSparse.cc, MSparse.h, Sparse-op-defs.h, | |
5021 Sparse.cc, Sparse.h, SparseCmplxLU.cc, SparseType.cc, | |
5022 SparseType.h, SparsedbleLU.cc, boolSparse.cc, boolSparse.h, | |
5023 dSparse.cc, dSparse.h, sparse-base-lu.cc: | |
5024 Use octave_idx_type instead of int where needed. | |
5025 | |
5026 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
5027 | |
5028 * Array-util.cc, Array-util.h, Array.cc,Array.h, Array2.h, | |
5029 Array3.h, ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
5030 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
5031 CMatrix.h, CNDArray.cc, CNDArray.h, CRowVector.cc, CRowVector.h, | |
5032 CmplxAEPBAL.cc, CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, | |
5033 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
5034 CmplxSCHUR.cc, CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, | |
5035 CollocWt.h, DAEFunc.h, DASPK-opts.in,DASPK.cc,DASPK.h, | |
5036 DASRT-opts.in, DASRT.cc, DASRT.h, DASSL-opts.in, DASSL.cc, | |
5037 DASSL.h, DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, | |
5038 FEGrid.h, LPsolve.cc, LPsolve.h, LSODE-opts.in, LSODE.cc, LSODE.h, | |
5039 MArray-defs.h, MArray.cc, MArray.h, MArray2.cc, MArray2.h, | |
5040 MArrayN.cc, MDiagArray2.cc, MDiagArray2.h, NLConst.h, NLEqn.cc, | |
5041 NLEqn.h, Quad.cc, Quad.h, Range.cc,Range.cc, Range.h, base-de.h, | |
5042 base-lu.cc, base-lu.h, base-min.h, boolMatrix.cc, boolMatrix.h, | |
5043 boolNDArray.cc, boolNDArray.h, chMatrix.cc, chMatrix.h, | |
5044 chNDArray.cc, chNDArray.h, dColVector.cc, dColVector.h, | |
5045 dDiagMatrix.cc, dDiagMatrix.h, dMatrix.cc, dMatrix.h, | |
5046 dNDArray.cc,dNDArray.cc, dNDArray.h, dRowVector.cc, dRowVector.h, | |
5047 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleHESS.cc, | |
5048 dbleHESS.h, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
5049 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, dim-vector.h, idx-vector.cc, | |
5050 idx-vector.h, intNDArray.cc, intNDArray.h, lo-specfun.cc, | |
5051 lo-specfun.h, mach-info.cc, mx-inlines.cc, oct-fftw.cc, | |
5052 oct-fftw.h, oct-rand.cc, oct-rand.h, so-array.cc, so-array.h, | |
5053 str-vec.cc, str-vec.h: | |
5054 Use octave_idx_type instead of int where needed. | |
5055 | |
5056 2005-04-01 John W. Eaton <jwe@octave.org> | |
5057 | |
5058 * dim-vector.h, lo-utils.h: Include oct-types.h. | |
5059 | |
5060 * oct-types.h.in: New file. | |
5061 | |
5062 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
5063 | |
5064 * lo-utils.cc (NINTbig): New function. | |
5065 * lo-utils.h: Provide decl. | |
5066 | |
5269 | 5067 2005-04-06 David Bateman <dbateman@free.fr> |
5068 | |
5069 * Makefile.in: Link to UMFPACK_LIBS. | |
5070 | |
5265 | 5071 2005-04-05 John W. Eaton <jwe@octave.org> |
5072 | |
5073 * Array.cc (assignN): Avoid shadowed declaration in previous change. | |
5074 | |
5264 | 5075 2005-04-01 John W. Eaton <jwe@octave.org> |
5076 | |
5077 * Array.cc (assignN): For A(IDX-LIST) = RHS with A previously | |
5078 undefined, correctly match colons in IDX-LIST with RHS dimensions | |
5079 when resizing A. When performing the assignment, just check that | |
5080 the number of elements in RHS matches the number of elements | |
5081 indexed by IDX-LIST. | |
5082 | |
5260 | 5083 2005-03-30 John W. Eaton <jwe@octave.org> |
5084 | |
5261 | 5085 * lo-mappers.cc (log10, tan, tanh): Delete functions. |
5086 * lo-mappers.h (log10, tan, tanh): Delete decls. | |
5087 | |
5088 * CColVector.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, | |
5089 dSparse.cc: Use std:: for Complex functions instead of relying on | |
5090 wrappers from oct-cmplx.h. | |
5260 | 5091 |
5092 * oct-cmplx.h: Provide typedef only. | |
5093 | |
5094 * DiagArray2.cc (xelem): Don't use initializer for static data. | |
5095 * DiagArray2.h (DiagArray<T>::Proxy::operator T ()): | |
5096 Likewise. | |
5097 | |
5247 | 5098 2005-03-26 John W. Eaton <jwe@octave.org> |
5099 | |
5100 * cmd-edit.cc (do_readline): Wrap call to ::octave_rl_readline | |
5101 with {BEGIN,END}_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE. | |
5102 | |
5209 | 5103 2005-03-15 John W. Eaton <jwe@octave.org> |
5104 | |
5105 * Makefile.in (MATRIX_INC): Remove oct-spparms.h from the list. | |
5106 | |
5203 | 5107 2005-03-14 John W. Eaton <jwe@octave.org> |
5108 | |
5109 * Makefile.in (DISTFILES): Don't include $(UMFPACK_EXTRAS). | |
5110 (DISTDIRS): Don't include UMFPACK. | |
5111 (LIBOCTAVE_OBJECTS): Don't include $(UMFPACK_OBJ). | |
5112 (UMFPACK_SPECIAL_1, UMFPACK_SPECIAL): No need for special include | |
5113 flags for these files. | |
5114 Don't include include $(srcdir)/UMFPACK.files. | |
5115 Don't include include $(srcdir)/UMFPACK.rules. | |
5116 | |
5117 * UMFPACK.README, UMFPACK.files, UMFPACK.patch, UMFPACK.rules: | |
5118 Delete files. | |
5119 * UMFPACK: Delete directory tree. | |
5120 | |
5121 * dSparse.cc: Include <umfpack/umfpack.h> instead of just "umfpack.h". | |
5122 * CSparse.cc: Likewise. | |
5123 * SparsedbleLU.cc: Likewise. | |
5124 * SparseCmplxLU.cc: Likewise. | |
5125 | |
5126 2005-03-14 David Bateman <dbateman@free.org> | |
5127 | |
5128 * CSParse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc: | |
5129 Allow compilation to succeed if UMFPACK is not available. | |
5130 | |
5196 | 5131 2005-03-09 John W. Eaton <jwe@octave.org> |
5132 | |
5133 * Makefile.in (bin-dist): Delete target. | |
5134 (BINDISTLIBS, BINDISTFILES): Delete variables. | |
5135 | |
5173 | 5136 2005-03-01 John W. Eaton <jwe@octave.org> |
5137 | |
5138 * ODESSA.h, ODESSA.cc, ODESSA-opts.in: Delete. | |
5139 * Makefile.in: Remove them from the lists. | |
5140 | |
5169 | 5141 2005-02-28 John W. Eaton <jwe@octave.org> |
5142 | |
5143 * Makefile.in (LINK_DEPS): Remove -lglob from the list. | |
5144 | |
5167 | 5145 2005-02-27 David Bateman <dbateman@free.org> |
5146 | |
5169 | 5147 * Sparse.cc (Sparse<T>::reshape): Set cidx for the N last elements |
5148 in the sparse matrix. | |
5167 | 5149 |
5164 | 5150 2005-02-25 John W. Eaton <jwe@octave.org> |
5151 | |
5152 Sparse merge. | |
5153 | |
5154 2005-02-13 David Bateman <dbateman@free.fr> | |
5155 | |
5156 * CSparse.cc (SparseComplexMatrix:dsolve, SparseComplexMatrix:utsolve, | |
5157 SparseComplexMatrix::ltsolve, SparseComplexMatrix::trisolve, | |
5158 SparseComplexMatrix::bsolve, SparseComplexMatrix:fsolve): Split sparse | |
5159 solver into separate functions for the diagonal, upper, lower | |
5160 triangular, tridiagonal, banded and full cases. | |
5161 (SparseComplexMatrix::solve): rewrite to call the above function. One | |
5162 version that probes the matrix type and another that assumes the type | |
5163 is passed. | |
5164 | |
5165 * dSparse.cc (SparseMatrix:dsolve, SparseMatrix:utsolve, | |
5166 SparseMatrix::ltsolve, SparseMatrix::trisolve, | |
5167 SparseMatrix::bsolve, SparseMatrix:fsolve): Likewise | |
5168 (SparseMatrix::solve): Likewise | |
5169 | |
5170 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
5171 Declaration of new functions | |
5172 * dSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
5173 Likewise | |
5174 | |
5175 * CSparse.cc (operator !): Reverse the sense of the test. | |
5176 * dSpase.cc (operator !): Likewise | |
5177 | |
5178 * dSparse.h (type, band_size, is_dense, triangular_row_perm, | |
5179 triangular_col_perm, sparse_info): Remove matrix type code | |
5180 * CSparse.h (type, band_size, is_dense, triangular_row_perm, | |
5181 triangular_col_perm, sparse_info): Likewise | |
5182 * boolSparse.h (type, band_size, is_dense, triangular_row_perm, | |
5183 triangular_col_perm, sparse_info): Likewise | |
5184 * MSparse.h (type, band_size, is_dense, triangular_row_perm, | |
5185 triangular_col_perm, sparse_info): Likewise | |
5186 * Sparse.h (type, band_size, is_dense, triangular_row_perm, | |
5187 triangular_col_perm, sparse_info, matrix_type): Likewise | |
5188 | |
5189 * Sparse.cc (type, sparse_info, band_size): Remove type code | |
5190 | |
5191 * SparseType.h: New class for the matrix type used in solvers | |
5192 * SparseType.cc: methods of sparse matrix type class | |
5193 | |
5194 * Makefile.in: Add SparseType.cc | |
5195 | |
5196 2005-02-01 David Bateman <dbateman@free.fr> | |
5197 | |
5198 * UMFPACK: Update to version 4.4 | |
5199 * UMFPACK.patch: Version 4.4 contains most of the previous patch. Only | |
5200 keep octave specific test files | |
5201 | |
5202 2005-01-23 David Bateman <dbateman@free.fr> | |
5203 | |
5204 * dSparse.cc (SparseMatrix::solve): Include tridiagonal, cholesky | |
5205 tridiagonal and banded cholesky solvers. Remove calculation of | |
5206 condition number for banded solvers. | |
5207 * CSparse.cc (SparseComplexMatrix::solve): ditto. | |
5208 | |
5209 * Sparse.h (int type (int) const, bool is_dense (void) const): | |
5210 new functions. | |
5211 * MSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
5212 * dSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
5213 * CSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
5214 * boolSparse.h (int type (int) const, bool is_dense (void) const): | |
5215 ditto | |
5216 | |
5217 * Sparse.cc (int Sparse<T>::type (int) const, | |
5218 bool Sparse<T>::is_dense (void) const): New functions definition | |
5219 | |
5220 * Sparse.h (matrix_type typ): Move caching of matrix type to SparseRep, | |
5221 so it actually is cached, but disable | |
5222 | |
5223 * oct-spparms.cc (SparseParams::init_keys): Change spmoni to spumoni | |
5224 for compatiability | |
5225 | |
5226 2005-01-18 David Bateman <dbateman@free.fr> | |
5227 | |
5228 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
5229 Modify calculation of number elements to skip between copied blocks. | |
5230 | |
5231 2005-01-07 David Bateman <dbateman@free.fr> | |
5232 | |
5233 * Sparse.h : Reverse definitions of numel and nelem. | |
5234 * Sparse.cc (assign1): Use numel and not nelem | |
5235 * Sparse-op-def.h: Replace all uses of nelem with numel | |
5236 | |
5237 2005-01-07 David Bateman <dbateman@free.fr> | |
5238 | |
5239 * dbleDET.h: Make SparseMatrix a friend of the class DET | |
5240 * CmplexDET.h: Make SparseComplexMatrix a friend of the class | |
5241 ComplexDET | |
5242 * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET | |
5243 by DET | |
5244 * dSparse.h (determinant): ditto | |
5245 * CSparse.cc (SparseComplexMatrix::determinant): Replace use of | |
5246 SparseComplexDET by ComplexDET | |
5247 * CSparse.h (determinant): ditto | |
5248 * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, | |
5249 SparseCmplxDET.cc: delete files | |
5250 * Makefile.in: Delete reference to SparsedbleDET.h, SparsedbleDET.cc, | |
5251 SparseCmplxDET.h andSparseCmplxDET.cc. | |
5252 | |
5253 * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in | |
5254 local variable to avoid variable shadowing. | |
5255 * dSparse.cc (SparseMatrix::solve): ditto. | |
5256 | |
5257 * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc | |
5258 dSparse.h MSparse.cc MSparse-C.cc MSparse-d.cc MSparse-defs.h | |
5259 MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc | |
5260 Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc | |
5261 SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc | |
5262 sparse-sort.h: Remove additional licensing clause with authors | |
5263 permission. | |
5264 | |
5265 2004-12-30 John W. Eaton <jwe@octave.org> | |
5266 | |
5267 * MSparse.cc (SPARSE_A2S_OP_2, SPARSE_SA2_OP_2): | |
5268 Loop counter is int, not size_t. | |
5269 | |
5270 * oct-spparms.cc (SparseParams::operator =): Return *this. | |
5271 | |
5272 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Delete unused variable tmpval. | |
5273 | |
5274 * dSparse.cc (operator << (ostream&, const SparseMatrix&), atan2): | |
5275 Delete unused variables. | |
5276 (SparseMatrix::solve): Avoid warnings about uninitialized | |
5277 variables and variables that might be clobbered by longjmp. | |
5278 | |
5279 * CSparse.cc (operator << (ostream&, const SparseComplexMatrix&), | |
5280 min, max): Delete unused variables. | |
5281 (SparseComplexMatrix::solve): Avoid warnings about uninitialized | |
5282 variables and variables that might be clobbered by longjmp. | |
5283 | |
5284 * Makefile.in (UMFPACK_SPECIAL): Include .d files in the list. | |
5285 | |
5286 * Sparse-op-defs.h (SPARSE_SMS_BIN_OP_2, SPARSE_SSM_BIN_OP_2): | |
5287 Loop counter is int, not size_t. | |
5288 | |
5289 * CSparse.cc (SparseComplexMatrix::hermitian): Avoid shadow warnings. | |
5290 * Sparse.cc (Sparse<T>::Sparse, Sparse<T>::type, assign): Likewise. | |
5291 | |
5292 * Sparse.h (Sparse::SparseRep): Order data members and initializer | |
5293 lists consistently. | |
5294 | |
5295 * mx-base.h: Include boolSparse.h, dSparse.h, and CSparse.h. | |
5296 | |
5297 2004-12-29 John W. Eaton <jwe@octave.org> | |
5298 | |
5299 * COLAMD.files (COLAMD_EXTRAS): New variable. | |
5300 * UMFPACK.files (UMFPACK_EXTRAS): New variable. | |
5301 * Makefile.in (DISTFILES): Add $(COLAMD_EXTRAS) and | |
5302 $(UMFPACK_EXTRAS) to the list. | |
5303 (DISTDIRS): New variable. | |
5304 (dist): Handle $(DISTDIRS). | |
5305 | |
5306 Merge of sparse code from David Bateman <dbateman@free.fr> and | |
5307 Andy Adler <adler@site.uottawa.ca>. | |
5308 | |
5309 * Makefile.in (VPATH): ADD @srcdir@/COLAMD to the list. | |
5310 | |
5311 * Makefile.in (MAKEDEPS): Include $(COLAMD_SRC) and $(UMFPACK_SRC) | |
5312 without directory prefix. | |
5313 | |
5314 * Makefile.in (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJ) and | |
5315 $(UMFPACK_OBJ) to the list. | |
5316 | |
5317 * COLAMD: New directory. | |
5318 * COLAMD.files: New file. | |
5319 * Makefile.in: Include COLAMD.files. | |
5320 (SOURCES): Add $(COLAMD_SOURCES) to the list. | |
5321 (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJECTS) to the list. | |
5322 (INCLUDES): Add $(COLAMD_INCLUDES) to the list. | |
5323 | |
5324 * UMFPACK: New directory. | |
5325 * UMFPACK.patch, UMFPACK.README, UMFPACK.files, UMFPACK.rules: | |
5326 New files. | |
5327 * Makefile.in: Include UMFPACK.files and UMFPACK.rules. | |
5328 (SOURCES): Add $(UMFPACK_SOURCES) to the list. | |
5329 (LIBOCTAVE_OBJECTS): Add $(UMFPACK_OBJECTS) to the list. | |
5330 (INCLUDES): Add $(UMFPACK_INCLUDES) to the list. | |
5331 | |
5332 * Makefile.in (SPARSE_MX_OP_INC): New variable. | |
5333 (INCLUDES): Add it to the list. | |
5334 (SPARSE_MX_OP_SRC): New variable. | |
5335 (LIBOCTAVE_CXX_SOURCES): Add it to the list. | |
5336 (distclean): Remove $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
5337 (stamp-prereq): Depend on $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
5338 | |
5339 * sparse-mk-ops.awk, sparse-mx-ops: New files. | |
5340 * Makefile.in (DISTFILES): Add them to the lists. | |
5341 | |
5342 * oct-spparms.h, sparse-sort.h: New files. | |
5343 * Makefile.in (INCLUDES): Add them to the list. | |
5344 | |
5345 * oct-spparms.cc, sparse-sort.cc: New files. | |
5346 * Makefile.in (LIBOCTAVE_CXX_SOURCES): Add them to the list. | |
5347 | |
5348 * sparse-base-lu.cc: New file. | |
5349 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
5350 | |
5351 * boolSparse.cc, CSparse.cc, dSparse.cc, MSparse.cc, Sparse.cc, | |
5352 SparseCmplxDET.cc, SparseCmplxLU.cc, SparsedbleDET.cc, | |
5353 SparsedbleLU.cc: New files. | |
5354 * Makefile.in (MATRIX_SRC): Add them to the list. | |
5355 | |
5356 * boolSparse.h, CSparse.h, dSparse.h, MSparse-defs.h, MSparse.h, | |
5357 Sparse.h, oct-spparms.h, sparse-base-lu.h, SparseCmplxDET.h, | |
5358 SparseCmplxLU.h, SparsedbleDET.h, SparsedbleLU.h, | |
5359 Sparse-op-defs.h: New files. | |
5360 * Makefile.in (MATRIX_INC): Add them to the appropriate lists. | |
5361 | |
5362 * MSparse-d.cc, MSparse-C.cc, Sparse-b.cc, Sparse-d.cc, | |
5363 Sparse-C.cc: New files. | |
5364 * Makefile.in (TI_SRC): Add them to the list. | |
5365 | |
5149 | 5366 2005-02-18 John W. Eaton <jwe@octave.org> |
5367 | |
5368 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_RESOLVEPATH]: | |
5369 Pass current directory to octave_env::make_absolute. | |
5370 Save value returned from octave_env::make_absolute in local var. | |
5371 Pass const char*, not std::string as first arg of resolvepath. | |
5372 Provide decl for resolved_len. | |
5373 | |
5148 | 5374 2005-02-18 John W. Eaton <jwe@octave.org> |
5375 | |
5376 * Array.cc (Array<T>::permute): Allow permutation vector longer | |
5377 than number of dimenensions of permuted matrix. | |
5378 | |
5379 * Array.cc (Array<T>::permute): Use zero-based indexing for perm_vec. | |
5380 * Array-util.cc (calc_permutated_idx): Likewise. | |
5381 | |
5139 | 5382 2005-02-10 David Bateman <dbateman@free.fr> |
5383 | |
5384 * CNDArray.cc (ComplexNDarray::operator !): Change sense of test. | |
5385 * CMatrix.cc (ComplexMatrix::operator !): Likewise. | |
5386 | |
5137 | 5387 2005-02-09 John W. Eaton <jwe@octave.org> |
5388 | |
5138 | 5389 * file-ops.cc (file_ops::canonicalize_file_name): New functions. |
5390 * file-ops.h: Provide decls. | |
5391 | |
5137 | 5392 * kpse.cc (kpse_tilde_expand): Simply return NAME if it is empty. |
5393 | |
5136 | 5394 2005-02-08 John W. Eaton <jwe@octave.org> |
5395 | |
5396 * Array-util.cc (freeze): Improve error message. | |
5397 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
5398 2005-01-26 David Bateman <dbateman@free.fr> |
5120 | 5399 |
5121 | 5400 * Array.cc (Array<T>::insert): Handle generic case, not just |
5401 special case for fast concatenation. | |
5120 | 5402 |
5110 | 5403 2005-01-18 John W. Eaton <jwe@octave.org> |
5404 | |
5405 * mx-inlines.cc (MX_ND_REDUCTION): Delete RET_ELT_TYPE arg. | |
5406 Change all uses. Use VAL instead of RET_ELT_TYPE when resizing. | |
5407 | |
5408 * dNDArray.cc (NDArray::any): NaN does not count as a nonzero value. | |
5409 * CNDArray.cc (ComplexNDArray::any): Likewise. | |
5410 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
5411 2005-01-18 David Bateman <dbateman@free.fr> |
5108 | 5412 |
5413 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
5414 Modify calculation of number elements to skip between copied blocks. | |
5415 | |
5416 2005-01-18 John W. Eaton <jwe@octave.org> | |
5417 | |
5418 * idx-vector.cc (IDX_VEC_REP::freeze): Call warning handler, not | |
5419 error handler, to warn about resizing. | |
5420 | |
5105 | 5421 2004-12-27 Martin Dalecki <martin@dalecki.de> |
5422 | |
5423 * Array.cc, ArrayN.cc, base-lu.cc, boolMatrix.cc, boolNDArray.cc, | |
5424 Bounds.cc, CColVector.cc, CDiagMatrix.cc, chMatrix.cc, | |
5425 chNDArray.cc, CMatrix.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, | |
5426 CmplxDET.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
5427 CmplxSCHUR.cc, CmplxSVD.cc, CNDArray.cc, CollocWt.cc, | |
5428 CRowVector.cc, DASPK.cc, DASRT.cc, DASSL.cc, dbleAEPBAL.cc, | |
5429 dbleCHOL.cc, dbleDET.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, | |
5430 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, dColVector.cc, | |
5431 dDiagMatrix.cc, DiagArray2.cc, dMatrix.cc, dNDArray.cc, | |
5432 dRowVector.cc, EIG.cc, FEGrid.cc, idx-vector.cc, int16NDArray.cc, | |
5433 int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, intNDArray.cc, | |
5434 LinConst.cc, LPsolve.cc, LSODE.cc, MArray2.cc, MArray.cc, | |
5435 MArrayN.cc, MDiagArray2.cc, NLEqn.cc, oct-alloc.cc, ODES.cc, | |
5436 ODESSA.cc, Quad.cc, Range.cc, so-array.cc, uint16NDArray.cc, | |
5437 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: | |
5438 Delete #pragma implementation. | |
5439 | |
5440 * Array2.h, Array3.h, Array.h, ArrayN.h, base-lu.h, boolMatrix.h, | |
5441 boolNDArray.h, Bounds.h, CColVector.h, CDiagMatrix.h, chMatrix.h, | |
5442 chNDArray.h, CMatrix.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, | |
5443 CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, | |
5444 CmplxSVD.h, CNDArray.h, CollocWt.h, CRowVector.h, DASPK.h, | |
5445 DASRT.h, DASSL.h, dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, | |
5446 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, | |
5447 dColVector.h, dDiagMatrix.h, DiagArray2.h, dim-vector.h, | |
5448 dMatrix.h, dNDArray.h, dRowVector.h, EIG.h, FEGrid.h, | |
5449 idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
5450 int8NDArray.h, intNDArray.h, LinConst.h, LPsolve.h, LSODE.h, | |
5451 MArray2.h, MArray.h, MArrayN.h, MDiagArray2.h, NLConst.h, NLEqn.h, | |
5452 ODES.h, ODESSA.h, Quad.h, Range.h, so-array.h, uint16NDArray.h, | |
5453 uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: | |
5454 Delete #pragma interface. | |
5455 | |
5098 | 5456 2004-12-17 John W. Eaton <jwe@octave.org> |
5457 | |
5458 * lo-cieee.c (lo_ieee_signbit): New function. | |
5459 * lo-ieee.h: Provide decl. | |
5460 Don't define lo_ieee_signbit as a macro here. | |
5461 From Orion Poplawski <orion@cora.nwra.com>. | |
5462 | |
5085 | 5463 2004-11-18 John W. Eaton <jwe@octave.org> |
5464 | |
5465 * int32NDArray.cc (pow): Delete instantiation. | |
5466 * int16NDArray.cc (pow): Likewise. | |
5467 * int8NDArray.cc (pow): Likewise. | |
5468 * uint32NDArray.cc (pow): Likewise. | |
5469 * uint16NDArray.cc (pow): Likewise. | |
5470 * uint8NDArray.cc (pow): Likewise. | |
5471 | |
5081 | 5472 2004-11-17 John W. Eaton <jwe@octave.org> |
5473 | |
5085 | 5474 * kpse.cc (str_llist_float, str_llist_add, kpse_var_expand): |
5475 Now static. | |
5476 (DB_ENVS, DB_HASH_SIZE, DB_NAME, ALIAS_NAME, ALIAS_HASH_SIZE, | |
5477 DEFAULT_TEXMFDBS): Delete unused macros. | |
5478 | |
5081 | 5479 * Array.cc (Array<T>::index): Call generic N-d indexing function |
5480 if idx_arg is N-d. | |
5481 | |
5073 | 5482 2004-11-09 David Bateman <dbateman@free.fr> |
5483 | |
5484 * dNDArray.cc (concat): Delete. | |
5485 (NDArray::concat): New methods. | |
5486 * dNDArray.h: Provide decls. | |
5487 | |
5488 * CNDArray.cc (concat): Delete. | |
5489 (ComplexNDArray::concat): New methods. | |
5490 * CNDArray.h: Provide decls. | |
5491 | |
5492 * boolNDArray.cc (concat): Delete. | |
5493 (boolNDArray::concat): New methods. | |
5494 * boolNDArray.h: Provide decls. | |
5495 | |
5496 * chNDArray.cc (concat): Delete. | |
5497 (charNDArray::concat): New methods. | |
5498 * chNDArray.h: Provide decls. | |
5499 | |
5500 * oct-inttypes.h (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): | |
5501 Delete macros. | |
5502 | |
5503 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
5504 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
5505 (OCTAVE_INT_CONCAT_DECL): Delete use of macro. | |
5506 | |
5507 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
5508 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
5509 (OCTAVE_INT_CONCAT_FN): Delete use of macro. | |
5510 | |
5511 * intNDArray.cc (intNDArray<T>::concat): New method. | |
5512 * intNDArray.h: Provide decl. | |
5513 | |
5072 | 5514 2004-11-08 John W. Eaton <jwe@octave.org> |
5515 | |
5516 * oct-inttypes.cc: New file. | |
5517 * Makefile.in (TI_SRC): Add it to the list. | |
5518 * oct-inttypes.h (OCTAVE_US_TYPE1_CMP_OP, OCTAVE_US_TYPE1_CMP_OPS, | |
5519 OCTAVE_SU_TYPE1_CMP_OP, OCTAVE_SU_TYPE1_CMP_OPS, | |
5520 OCTAVE_TYPE1_CMP_OPS, OCTAVE_US_TYPE2_CMP_OP, | |
5521 OCTAVE_US_TYPE2_CMP_OPS, OCTAVE_SU_TYPE2_CMP_OP, | |
5522 OCTAVE_SU_TYPE2_CMP_OPS, OCTAVE_TYPE2_CMP_OPS): | |
5523 New macros for comparison operations. Avoid potential | |
5524 problems with default conversions when comparing signed and | |
5525 unsigned values. | |
5526 | |
5061 | 5527 2004-11-03 John W. Eaton <jwe@octave.org> |
5528 | |
5529 * dMatrix.cc (Matrix::inverse): Return info == -1 for any failure. | |
5530 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
5531 | |
5052 | 5532 2004-10-19 John W. Eaton <jwe@octave.org> |
5533 | |
5534 * Array.cc (assignN): Avoid resizing if assignment will fail. | |
5535 | |
5047 | 5536 2004-10-18 John W. Eaton <jwe@octave.org> |
5537 | |
5538 * Array.cc (assign2): Save result of squeeze operation. | |
5539 Squeeze if ndims is > 2, not if length of RHS vector is > 2. | |
5540 | |
5095 | 5541 2004-10-11 David Bateman <dbateman@free.fr> |
5044 | 5542 |
5543 * oct-fftw.cc (class octave_fftw_planner): Add inplace[2] to | |
5544 flag whether transform in- or out-of-place. | |
5545 (octave_fftw_planner::octave_fftw_planner): Initialize it. | |
5546 (octave_fftw_planner::create_plan): Use it. | |
5547 | |
5039 | 5548 2004-09-24 John W. Eaton <jwe@octave.org> |
5549 | |
5550 * Array.cc (assign2, assignN): If index is empty, allow RHS to be | |
5551 any empty matrix, not just []. | |
5552 | |
5030 | 5553 2004-09-23 John W. Eaton <jwe@octave.org> |
5554 | |
5555 * mx-ops: Include scalar zero value in type definitions. | |
5556 Delete zero information from ops section. | |
5557 * mk-ops.awk: Use type-specific zero info. | |
5558 | |
5559 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, | |
5560 SND_BOOL_OP, NDND_BOOL_OP): Args now include zero values for both | |
5561 LHS and RHS. | |
5562 (MS_BOOL_OPS2, SM_BOOL_OPS2, MM_BOOL_OPS2, NDS_BOOL_OPS2, | |
5563 SND_BOOL_OPS2, NDND_BOOL_OPS2): New macros. | |
5564 (MS_BOOL_OPS, SM_BOOL_OPS, MM_BOOL_OPS, NDS_BOOL_OPS, | |
5565 SND_BOOL_OPS, NDND_BOOL_OPS): Define in terms of 2-zero versions. | |
5566 | |
5567 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const | |
5568 intNDArray<U>&)): Use explicit as_double () conversion in call to | |
5569 tree_to_mat_idx. | |
5570 | |
5571 * oct-inttypes.h (octave_int<T>::operator float): New conversion. | |
5572 (pow): Instead of "if (b_val)", use "if (b_val != zero)". | |
5573 Likewise for the "if (b_val & one)" test. | |
5574 (operator <<, operator >>): Type of retval is octave_int<T1>, not T1. | |
5575 | |
5029 | 5576 2004-09-23 David Bateman <dbateman@free.fr> |
5577 | |
5578 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): | |
5579 New macros. Use them to define mixed intX-double and double-intX ops. | |
5580 | |
5021 | 5581 2004-09-22 Federico Zenith <zenith@chemeng.ntnu.no> |
5582 | |
5583 * DASPK-opts.in, DASRT-opts.in, ODESSA-opts.in: | |
5584 Fix doc string layout to avoid overfull hbox in printed output. | |
5585 | |
5015 | 5586 2004-09-21 John W. Eaton <jwe@octave.org> |
5587 | |
5588 * mach-info.h (octave_mach_info::flt_fmt_native): Delete. | |
5589 * mach-info.cc (octave_mach_info::string_to_float_format): | |
5590 For "native", set actual native format. | |
5591 (octave_mach_info::float_format_as_string): Delete flt_fmt_native case. | |
5592 | |
5008 | 5593 2004-09-17 David Bateman <dbateman@free.fr> |
5594 | |
5595 * CmplxSCHUR.cc (CmplxSCHUR::init): New arg, calc_unitary to make the | |
5596 calculation of the unitary matrix optional. | |
5597 * dbleSCHUR.cc (SCHUR::init): Ditto. | |
5598 * CmplxSCHUR.h, dbleSCHUR.h: Update decls. | |
5599 | |
4998 | 5600 2004-09-15 David Bateman <dbateman@free.fr> |
5601 | |
5602 * oct-sort.h (octave_sort<T>::set_compare (bool (*comp) (T, T))): | |
5603 New function to set the comparison function for the sort. | |
5604 | |
4985 | 5605 2004-09-10 John W. Eaton <jwe@octave.org> |
5606 | |
5607 * lo-mappers.cc (xround): Fix typo. | |
5608 | |
4979 | 5609 2004-09-08 John W. Eaton <jwe@octave.org> |
5610 | |
5611 * Array.h (Array::~Array): Declare virtual. | |
5612 | |
5613 * idx-vector.h (idx_vector::idx_vector): Initialize rep in member | |
5614 initializaion list. Don't set rep->count since the rep | |
5615 constructor does that. | |
5616 | |
4968 | 5617 2004-09-07 John W. Eaton <jwe@octave.org> |
5618 | |
4970 | 5619 * data-conv.cc (oct_data_conv::string_to_data_type): Handle dt_logical. |
5620 (oct_data_conv::data_type_as_string): Likewise. | |
5621 | |
5622 * data-conv.h (oct_data_conv::data_type): Add dt_logical to list. | |
5623 | |
4968 | 5624 * Range.cc (round): Delete unused function. |
5625 | |
5626 * lo-mappers.cc (xround): Rename from round. Change all uses. | |
5627 If HAVE_ROUND, call round, otherwise fake with floor and ceil. | |
5628 | |
5629 * oct-inttypes.h: Include <cmath> here. | |
5630 | |
4964 | 5631 2004-09-03 David Bateman <dbateman@free.fr> |
5632 | |
5633 * boolNDArray.cc (boolNDArray::concat, boolNDArray::insert): | |
5634 New functions for boolean matrix concatenation. | |
5635 * boolNDArray.h: Provide decls. | |
5636 | |
4963 | 5637 2004-09-03 John W. Eaton <jwe@octave.org> |
5638 | |
4964 | 5639 * oct-inttpes.h (OCTAVE_INT_CMP_OP): Convert operarands to double |
5640 to avoid signed/unsigned int comparison problems. | |
5641 | |
5642 * mx-ops: Generate CMP and BOOL ops for mixed integer types and | |
5643 for mixed integer and double types. | |
5644 | |
5645 * mk-ops.awk: Output BIN_OP_DECLS, CMP_OP_DECLS, and BOOL_OP_DECLS | |
5646 separately, and only if needed. | |
5647 | |
4963 | 5648 * oct-inttypes.h (octave_fit_to_range): Use constructor instead of |
5649 static_cast for type conversion. | |
5650 | |
4953 | 5651 2004-09-01 John W. Eaton <jwe@octave.org> |
5652 | |
5653 * oct-inttypes.h (pow, operator +, operator -, operator *, | |
5654 operator /): Handle mixed integer/double ops. If op generates a | |
5655 NaN, set result to 0. | |
5656 (octave_int::operator - (void)): Convert to double, then negate, | |
5657 then fit to range. | |
5658 | |
5659 * mx-ops: Define integer types. Include declarations for mixed | |
5660 integer/double ops. | |
5661 | |
4952 | 5662 2004-08-31 John W. Eaton <jwe@octave.org> |
5663 | |
5664 * oct-inttypes.h (pow): Args now const reference. | |
5665 (octave_int<T>::operator *=, octave_int<T>::operator /=, | |
5666 octave_int<T>::operator <<=, octave_int<T>::operator >>=): | |
5667 New member functions. | |
5668 (OCTAVE_INT_BITSHIFT_OP): Delete macro. | |
5669 (operator >> (const octave_int<T1>& x, const T2& y)): | |
5670 Define in terms of >>=. | |
5671 (operator << (const octave_int<T1>& x, const T2& y)): | |
5672 Define in terms of <<=. | |
5673 (bitshift): Operate on octave_int<T> objects, not the values, so | |
5674 we get proper saturation properties. | |
5675 | |
5676 2004-08-31 David Bateman <dbateman@free.fr> | |
5677 | |
5678 * oct-inttypes.h (pow (constT, T)): New template. | |
5679 | |
5680 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, | |
5681 uint16NDArray.cc, uint32NDArray.cc: Instantiate power function. | |
5682 | |
4949 | 5683 2004-08-31 John W. Eaton <jwe@octave.org> |
5684 | |
5685 * oct-inttypes.h (octave_int::byte_size): New function. | |
5686 | |
4944 | 5687 2004-08-31 John W. Eaton <jwe@octave.org> |
5688 | |
4946 | 5689 * Makefile.in (EXTRAS): Add intNDArray.cc to the list. |
5690 | |
4944 | 5691 * data-conv.h (oct_data_conv::data_type): Include sized types. |
5692 Explicitly number enum elements. | |
5693 | |
5694 * data-conv.cc (oct_data_conv::string_to_data_type (const | |
5695 std::string&, int&, oct_data_conv::data_type&, | |
5696 oct_data_conv::data_type&)): New function. | |
5697 (oct_data_conv::string_to_data_type (const std::string&, int&, | |
5698 oct_data_conv::data_type&)): New function. | |
5699 (oct_data_conv::data_type_as_string): New function. | |
5700 | |
5701 * dMatrix.cc (read_int, do_read, Matrix::read): Delete. | |
5702 (write_int, do_write, Matrix::write): Delete. | |
5703 * dMatrix.h (Matrix::read, Matrix::write): Delete decls. | |
5704 | |
5705 * byte-swap.h: Use template functions and specialization. | |
5706 Change all uses. | |
5707 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
5708 | |
4943 | 5709 2004-08-30 John W. Eaton <jwe@octave.org> |
5710 | |
5711 * oct-inttypes.h (octave_int_fit_to_range): Use template | |
5712 specializations to avoid warnings about signed/unsigned comparisons. | |
5713 | |
5714 2004-08-28 John W. Eaton <jwe@octave.org> | |
5715 | |
5716 * data-conv.cc (do_float_format_conversion (unsigned char *, | |
5717 size_t, int, oct_mach_info::float_format)): New function. | |
5718 (GET_SIZED_INT_TYPE): New macro. | |
5719 (string_to_data_type): Use it to return sized types corresponding | |
5720 to Octave array data types. | |
5721 (strip_spaces): New function. | |
5722 (do_double_format_conversion, do_float_format_conversion): Pass | |
5723 from_fmt and to_fmt. Don't always assume the to_fmt is the native | |
5724 float format. | |
5725 (do_double_format_conversion, | |
5726 IEEE_big_double_to_IEEE_little_double, | |
5727 VAX_D_double_to_IEEE_little_double, | |
5728 VAX_G_double_to_IEEE_little_double, Cray_to_IEEE_little_double, | |
5729 IEEE_little_double_to_IEEE_big_double, | |
5730 VAX_D_double_to_IEEE_big_double, VAX_G_double_to_IEEE_big_double, | |
5731 Cray_to_IEEE_big_double, IEEE_little_double_to_VAX_D_double, | |
5732 IEEE_big_double_to_VAX_D_double, VAX_G_double_to_VAX_D_double, | |
5733 Cray_to_VAX_D_double, IEEE_little_double_to_VAX_G_double, | |
5734 IEEE_big_double_to_VAX_G_double, VAX_D_double_to_VAX_G_double, | |
5735 Cray_to_VAX_G_double): | |
5736 Pass data as void*, not double*. | |
5737 (do_float_format_conversion, IEEE_big_float_to_IEEE_little_float, | |
5738 VAX_D_float_to_IEEE_little_float, | |
5739 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, | |
5740 IEEE_little_float_to_IEEE_big_float, | |
5741 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, | |
5742 Cray_to_IEEE_big_float, IEEE_little_float_to_VAX_D_float, | |
5743 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, | |
5744 Cray_to_VAX_D_float, IEEE_little_float_to_VAX_G_float, | |
5745 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, | |
5746 Cray_to_VAX_G_float): | |
5747 Pass data as void*, not float*. | |
5748 | |
5749 2004-08-27 John W. Eaton <jwe@octave.org> | |
5750 | |
5751 * byte-swap.h (swap_bytes): New template versions, with | |
5752 specializations. | |
5753 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
5754 Change all uses. | |
5755 | |
4940 | 5756 2004-08-24 David Bateman <dbateman@free.fr> |
5757 | |
5758 * chNDArray.cc (concat): Check whether matrix to be inserted is | |
5759 empty instead of checking final matrix. | |
5760 * dNDArray.cc (concat): Likewise. | |
5761 * CNDArray.cc (concat): Likewise. | |
5762 | |
5763 2004-08-23 David Bateman <dbateman@free.fr> | |
5764 | |
5765 * dim-vector.h (dim_vector::concat): Correct incrementation for | |
5766 non-existent dimensions. | |
5767 | |
4938 | 5768 2004-08-09 John W. Eaton <jwe@octave.org> |
5769 | |
5770 * idx-vector.h (idx_vector::idx_vector_rep::tree_to_mat_idx | |
5771 (const octave_int<U>&)): New member function. | |
5772 (idx_vector::idx_vector_rep::tree_to_mat_idx (double, bool&), | |
5773 idx_vector::idx_vector_rep::tree_to_mat_idx (int)): | |
5774 Now member functions instead of static in idx-vector.cc. | |
5775 (idx_vector::idx_vector_rep::idx_vector_rep (const octave_int<U>&), | |
5776 idx_vector::idx_vector_rep::idx_vector_rep (const intNDArray<U>&)): | |
5777 New template constructors. | |
5778 | |
4932 | 5779 2004-08-05 John W. Eaton <jwe@octave.org> |
5780 | |
4933 | 5781 * EIG.cc (EIG::init): Add volatile qualifier to nvr decl. |
5782 | |
4932 | 5783 * intNDArray.cc (intNDArray<T>::operator !, intNDArray<T>::all, |
5784 intNDArray<T>::any): Sprinkle with this-> as needed. | |
5785 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): Likewise. | |
5786 | |
4929 | 5787 2004-08-03 John W. Eaton <jwe@octave.org> |
5788 | |
5789 * Array.cc (Array<T>::squeeze): Do nothing for 2-d arrays. For | |
5790 arrays with more than two dimensions and only one non-singleton | |
5791 dimension, return a column vector. | |
5792 | |
4921 | 5793 2004-07-28 John W. Eaton <jwe@octave.org> |
5794 | |
5795 * oct-cmplx.h (pow (const Complex&, const double&): | |
5796 Convert second arg to complex to avoid libstdc++ bug. | |
5797 | |
4920 | 5798 2004-07-27 John W. Eaton <jwe@octave.org> |
5799 | |
5800 * oct-inttypes.h (bitshift): New arg, MASK. | |
5801 (OCTAVE_INT_BITSHIFT_OP): Bitshift does not saturate. | |
5802 | |
4916 | 5803 2004-07-23 John W. Eaton <jwe@octave.org> |
5804 | |
5805 * Array.cc (Array<T>::reshape): Return *this if no change in size. | |
5806 | |
4915 | 5807 2004-07-23 David Bateman <dbateman@free.fr> |
5808 | |
5809 * Array.cc, Array.h (cat_ra): Delete. | |
5810 * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc | |
5811 (INSTANTIATE_ARRAY_CAT): Delete. | |
5812 | |
5813 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
5814 chNDArray.h, intNDArray.cc, intNDArray.h (cat): Delete. | |
5815 | |
5816 * Array.cc (Array<T>::insert): Copy data in NDArray version. | |
5817 | |
5818 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
5819 chNDArray.h (concat): New function used for concatenation that does | |
5820 an indexed copy of one array into another. | |
5821 | |
5822 * dim-vector.h (concat): New function to concatenate dim_vectors. | |
5823 | |
5824 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
5825 chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for | |
5826 insertion of one NDArray into another. | |
5827 | |
5828 * oct-inttype.cc (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): New | |
5829 macros to define the int/uint concatenation functions. | |
5830 | |
5831 * uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
5832 int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc | |
5833 (OCTAVE_INT_CONCAT_FN): Instantiate the concatenation function . | |
5834 | |
5835 * uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
5836 int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h | |
5837 (OCTAVE_INT_CONCAT_DECL): Declare the int/uint concatentaion | |
5838 functions. | |
5839 | |
4911 | 5840 2004-07-22 David Bateman <dbateman@free.fr> |
5841 | |
5842 * oct-sort.h: Don't include oct-obj.h. | |
5843 | |
5844 * lo-specfun.cc (is_integer_value): New function. | |
5845 (zbesj, zbesi, zbesy): Special case negative integer or half | |
5846 integer orders that cause overflow for small arguments. | |
5847 | |
4909 | 5848 2004-07-12 John W. Eaton <jwe@octave.org> |
5849 | |
5850 * oct-inttypes.h (octave_int<T>::nbits): New function. | |
5851 (bitshift (const octave_int<T>&, int)): New function. | |
5852 | |
4902 | 5853 2004-06-14 John W. Eaton <jwe@octave.org> |
5854 | |
5855 * mx-base.h: Include headers for new int types. | |
5856 | |
5857 * dNDArray.h, dNDArray.cc (NDArray::NDArray (const boolNDArray&), | |
5858 NDArray::NDArray (const charNDArray&)): Delete. | |
5859 (template <class U> explicit NDArray (const intNDArray<U>&)): New | |
5860 constructor. | |
5861 (NDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
5862 | |
5863 * chMatrix.h (CharMatrix::transpose): New forwarding functions for | |
5864 return type conversion. | |
5865 | |
5866 * ComplexNDArray.h, ComplexNDArray.cc | |
5867 (ComplexNDArray::ComplexNDArray (const ArrayN<Complex>&), | |
5868 (ComplexNDArray::ComplexNDArray (const NDArray&), | |
5869 (ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
5870 (ComplexNDArray::ComplexNDArray (const charNDArray&)): Delete. | |
5871 | |
5872 (ComplexNDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
5873 | |
5874 * MArrayN.h: | |
5875 (template <class U> explicit MArrayN<T>::MArrayN (const Array2<U>&), | |
5876 (template <class U> MArrayN<T>::MArrayN (const ArrayN<U>&), | |
5877 (template <class U> explicit MArrayN<T>::MArrayN (const MArray<U>&)): | |
5878 New constructors. | |
5879 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
5880 ArrayN<T>::squeeze): | |
5881 New forwarding functions for return type conversion. | |
5882 | |
5883 * ArrayN.h: | |
5884 (template <class U> explicit ArrayN<T>::ArrayN (const Array2<U>&), | |
5885 (template <class U> explicit ArrayN<T>::ArrayN (const ArrayN<U>&), | |
5886 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&), | |
5887 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&, | |
5888 const dim_vector&)): New constructors. | |
5889 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
5890 ArrayN<T>::transpose): | |
5891 New forwarding functions for return type conversion. | |
5892 | |
5893 * Array.h (template <class U> Array<T>::Array (const Array<U>&)): | |
5894 New constructor. | |
5895 (Array<T>::coerce, Array<T>::byte_size): New functions. | |
5896 | |
5897 * Array-i.cc, MArray-i.cc: Instantiate new integer types. | |
5898 | |
5899 * oct-inttypes.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
5900 int8NDArray.h , intNDArray.h, uint16NDArray.h, uint32NDArray.h, | |
5901 uint64NDArray.h, uint8NDArray.h, int16NDArray.cc, int32NDArray.cc, | |
5902 int64NDArray.cc, int8NDArray.cc, intNDArray.cc, uint16NDArray.cc, | |
5903 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: New files. | |
5904 * Makefile.in: Add them to the appropriate lists. | |
5905 | |
4899 | 5906 2004-06-04 John W. Eaton <jwe@octave.org> |
5907 | |
5908 * mx-inlines.cc (MX_ND_REDUCTION): New arg, RET_ELT_TYPE. Use | |
5909 "RET_ELT_TYPE ()" rather than "false" as fill value for retval | |
5910 resize op. Change all uses. | |
5911 | |
4898 | 5912 2004-06-03 David Bateman <dbateman@free.fr> |
5913 | |
5914 * Array.cc (assignN): Allow magic colon for dimensions lvalue | |
5915 greater than the existing number of dimensions in lvalue. | |
5916 | |
4887 | 5917 2004-04-30 David Bateman <dbateman@free.fr> |
5918 | |
5919 * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): | |
5920 New arg, fill_value. | |
5921 (dim_vector::resize): Allow optional fill_value argument. | |
5922 | |
5923 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
5924 Don't chop trailing dimensions of Array<idx_vector> if there is | |
5925 more than one element in idx_vector. Resize the return value to | |
5926 the size of Array<idx_vector>. | |
5927 | |
5928 * Array-util.cc (short_freeze): Better freeze of last dimension of | |
5929 idx_vector that is shorter than a dim_vector. | |
5930 | |
4882 | 5931 2004-04-23 John W. Eaton <jwe@octave.org> |
5932 | |
5933 * oct-sort.cc: Don't include oct-obj.h. | |
5934 | |
4876 | 5935 2004-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5936 | |
5937 * Array.cc (Array<T>::index2, Array<T>::indexN): | |
5938 Don't set invalid dimensions on return value. | |
5939 | |
4871 | 5940 2004-04-21 John W. Eaton <jwe@octave.org> |
5941 | |
5942 * mx-inlines.cc (MX_ND_REDUCTION): Chop trailing singletons. | |
5943 | |
4850 | 5944 2004-04-06 David Bateman <dbateman@free.fr> |
5945 | |
4870 | 5946 * Array.cc (Array<T>::resize_no_fill (const dim_vector& dv), |
5947 Array<T>::resize_and_fill (const dim_vector& dv, const T& val)): | |
5948 Make their behavior equivalent except for filling vs. not filling. | |
5949 | |
4850 | 5950 * oct-sort.cc: New template class for arbitrary sorting. |
5951 * oct-sort.h: Declaration of sort class. | |
5952 * Makefile: Add them to the appropriate lists. | |
5953 | |
4845 | 5954 2004-04-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5955 | |
5956 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Fix off-by-one error. | |
5957 | |
4844 | 5958 2004-04-02 David Bateman <dbateman@free.fr> |
5959 | |
5960 * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, | |
5961 besselh2, airy, biry, betainc, gammainc, do_bessel): | |
4852 | 5962 New N-d array versions. |
4844 | 5963 (SN_BESSEL, NS_BESSEL, NN_BESSEL): New macros. |
5964 * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, | |
5965 besselh2, airy, biry, betainc, gammainc): Provide decls. | |
5966 | |
5967 * dNDArray.cc (NDArray::min, NDArray::max, min, max): | |
5968 New functions. | |
5969 * dNDArray.h (NDArray::min, NDArray::max, min, max): Provide decls. | |
5970 | |
5971 * CNDArray.cc (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
5972 New functions. | |
5973 * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
5974 Provide decls. | |
5975 | |
4842 | 5976 2004-03-17 David Hoover <jazzdaq@yahoo.com> |
5977 | |
5978 * DASPK.cc (DASPK::do_integrate): Always add n*n elements to the | |
5979 work vector, not just when using a numerical Jacobian. | |
5980 | |
4834 | 5981 2004-03-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5982 | |
4835 | 5983 * so-array.cc (SND_CMP_OP, NDS_CMP_OP, NDND_CMP_OP): |
5984 Omit empty result args. | |
5985 | |
4834 | 5986 * Array.cc (Array<T>::Array (const Array<T>&, const dim_vector&)): |
5987 Move here from Array.h, check that size of array arg is not | |
5988 smaller than the size defined by the new dimensions. | |
5989 | |
4832 | 5990 2004-03-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5991 | |
5992 * Array.cc (Array<T>::index2): Allow result to be N-d if indexing | |
5993 a scalar or vector with an N-d array. | |
5994 | |
4826 | 5995 2004-03-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5996 | |
4828 | 5997 * Array.cc (Array<T>::index2): If scalar or vector is indexed by |
5998 matrix, return object that is the same size as the index. | |
5999 | |
4826 | 6000 * mx-op-defs.h (NDND_CMP_OP, MM_CMP_OP): Require dimensions to agree. |
6001 Eliminate MT_RESULT args. Return value is always size of args. | |
6002 (MS_CMP_OP, SM_CMP_OP, NDS_CMP_OP, SND_CMP_OP): | |
6003 Eliminate EMPTY_RESULT arg. | |
6004 Return value is always size of matrix or N-d array arg. | |
6005 (TBM, FBM, NBM): Delete unused macros. | |
6006 | |
4821 | 6007 2004-03-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
6008 | |
6009 * Array.cc (Array<T>::maybe_delete_elements): Return immediately | |
6010 if all LHS dimensions are zero. For one index case, freeze and | |
6011 sort idx_vec before checking length, and do nothing if | |
6012 num_to_delete is zero. | |
4822 | 6013 (Array<T>::maybe_delete_elements_2): Omit Fortran-indexing warning. |
4821 | 6014 |
4816 | 6015 2004-03-04 David Bateman <dbateman@free.fr> |
6016 | |
6017 * dNDArray.cc (NDArray::ifourier): Arg is int, not const int. | |
6018 * CNDArray.cc (ComplexNDArray::ifourier): Likewise. | |
6019 | |
4811 | 6020 2004-03-03 Hans Ekkehard Plesser <hans.ekkehard.plesser@nlh.no> |
6021 | |
6022 * base-lu.cc (base_lu<>::L): Check bounds before setting diagonal | |
6023 element. | |
6024 | |
6025 2004-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6026 | |
6027 * Range.h (Range::Range): Add cache to member initialization list. | |
6028 (Range::clear_cache): New private function. | |
6029 | |
6030 * Range.h (Range::set_base, Range::set_limit, Range::set_inc): | |
6031 Use clear cache. Don't do anything if range does not change. | |
6032 * Range.cc (Range::sort): Likewise. | |
6033 | |
4810 | 6034 2004-03-02 Paul Kienzle <pkienzle@users.sf.net> |
6035 | |
6036 * Range.cc (Range::matrix_value): Cache result. | |
6037 (Range::sort): Clear cache. | |
6038 * Range.h (Range::cache): New data member. | |
6039 (Range::set_base, Range::set_limit, Range::set_inc): Clear cache. | |
6040 (Range::print_range): Delete. | |
4808 | 6041 |
6042 2004-03-02 David Bateman <dbateman@free.fr> | |
6043 | |
6044 * oct-fftw.cc: Only two versions of plan, and avoid endless | |
6045 changes between them. Faster for small fft's. | |
6046 (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): | |
6047 New member variables. | |
6048 (octave_fftw_planner::ialign, octave_fftw_planner::oalign, | |
6049 octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. | |
6050 Change all uses. | |
6051 (CHECK_SIMD_ALIGNMENT): New macro. | |
6052 (octave_fftw_planner::create_plan): Use it. | |
6053 | |
4806 | 6054 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> |
6055 | |
6056 * Array.cc (Array<T>::insertN): Eliminate N-d indexing. | |
6057 | |
6058 * mx-inlines.cc (MX_ND_CAT): Delete macro. | |
6059 | |
6060 * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. | |
6061 * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. | |
6062 * chNDArray.cc (charNDArray<T>::cat): Ditto. | |
6063 * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. | |
6064 | |
6065 * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. | |
6066 * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. | |
6067 | |
4800 | 6068 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
6069 | |
4802 | 6070 * oct-rl-edit.c (octave_rl_set_startup_hook, |
6071 octave_rl_get_startup_hook, octave_rl_set_event_hook, | |
6072 octave_rl_get_event_hook): Omit casts. | |
6073 * oct-rl-edit.h (rl_startup_hook_fcn_ptr, rl_event_hook_fcn_ptr): | |
6074 Return value for function pointer typedef is now int. | |
6075 * cmd-edit.h (command_editor::startup_hook_fcn, | |
6076 command_editor::event_hook_fcn): Likewise. | |
6077 * cmd-hist.cc, cmd-hist.h (command_history::goto_mark, | |
6078 command_history::do_goto_mark, gnu_history::do_goto_mark): | |
6079 Return type is now int. Return 0. | |
6080 | |
4800 | 6081 * EIG.cc (EIG::init, EIG::symmetric_init): |
6082 Query Lapack for workspace size. | |
6083 | |
4796 | 6084 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6085 | |
6086 * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): | |
6087 Fix thinko in extending dimensions. | |
6088 | |
4791 | 6089 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6090 | |
6091 * Range.cc (Range::matrix_value, Range::min, Range::max): | |
6092 Don't compute values beyond the limits of the range. | |
6093 (operator << (std::ostream&, const Range&)): Likewise. | |
6094 | |
4786 | 6095 2004-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6096 | |
4788 | 6097 * oct-fftw.cc (octave_fftw_planner::create_plan): |
6098 Cast IN and OUT args to ptrdiff_t instead of long before masking. | |
6099 From Paul Kienzle <pkienzle@users.sf.net>. | |
6100 | |
4786 | 6101 * Array.cc (Array<T>::insertN (const Array<T>&, int, int)): |
6102 Rename from Array<T>::insert. | |
6103 (Array<T>::insert2 (const Array<T>&, int, int)): | |
6104 Reinstate old Array<T>::insert function under this name. | |
6105 (Array<T>::insert (const Array<T>&, int, int)): | |
6106 New function. Dispatch to insert2 or insertN as appropriate. | |
6107 | |
4785 | 6108 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6109 | |
6110 * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): | |
6111 Sprinkle with OCTAVE_QUIT. | |
6112 | |
5095 | 6113 2004-02-16 David Bateman <dbateman@free.fr> |
4773 | 6114 |
6115 * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): | |
6116 Add support for FFTW 3.x. Include the ability to | |
6117 use the real to complex transform for fft's of real matrices | |
6118 (octave_fftw_planner::create_plan2d): Delete. | |
6119 (octave_fftw::fft2d): Delete. | |
6120 (convert_packcomplex_1d, convert_packcomplex_Nd): | |
6121 New static functions. | |
6122 * oct-fftw.h: Update decls. | |
6123 | |
6124 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
6125 Matrix::fourier2d, Matrix::ifourier2d): FFT's use real to complex | |
6126 transforms. 1D FFT of a matrix done as single call rather than | |
6127 loop. Update for FFTW 3.x | |
6128 * CMatrix.cc (ComplexMatrix::fourier, ComplexMatrix::ifourier, | |
6129 ComplexMatrix::fourier2d, ComplexMatrix::ifourier2d): 1D fft of a | |
6130 matrix done as single call rather than loop. Update for FFTW 3.x. | |
6131 | |
6132 * dNDArray.cc (NDArray::fourier, NDArray::ifourier, | |
6133 NDArray::fourierNd, NDArray::ifouriourNd): New fourier transform | |
6134 functions for Nd arrays. | |
6135 * dNArray.h Provide decls. | |
6136 * CNDArray.cc (ComplexNDArray::fourier, ComplexNDArray::ifourier, | |
6137 ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New | |
6138 fourier transform functions for complex Nd arrays. | |
6139 * CNArray.h: Provide decls. | |
6140 | |
4765 | 6141 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> |
6142 | |
6143 * Array.cc (Array<T>::insert (const Array<T>&, int, int)): | |
6144 Make it work for N-d arrays. | |
6145 | |
6146 * ArrayN.h (ArrayN<T>::insert (const ArrayN<T>& a, int, int)): | |
6147 New function. | |
6148 | |
6149 * CNDArray.cc (ComplexNDArray::insert (const NDArray&, int, int), | |
6150 ComplexNDArray::insert (const ComplexNDArray&, int, int)): | |
6151 New functions. | |
6152 * CNDArray.h: Provide decls. | |
6153 | |
4759 | 6154 2004-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6155 | |
4760 | 6156 * Makefile.in (LINK_DEPS): Always define. |
6157 | |
4759 | 6158 * Array.cc (Array<T>::squeeze): Always return an array with at |
6159 least two dimensions. | |
6160 | |
4758 | 6161 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
6162 | |
6163 * mx-inlines.cc (MX_ND_CAT): New macro. | |
6164 * dNDArray.cc (NDArray::cat): New function. | |
6165 * dNDArray.h: Provide decls. | |
6166 * CNDArray.cc (complexNDArray::cat): New function. | |
6167 * CNDArray.h: Provide decls. | |
6168 * chNDArray.cc (charNDArray::cat): New function. | |
6169 * chNDArray.h: Provide decls. | |
6170 | |
4756 | 6171 2004-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
6172 | |
6173 * Array.cc (maybe_delete_elements_2): Allow X(n) = [] for 2-d X. | |
6174 (Array<T>assign2): Also call maybe_delete_elements for single | |
6175 index when rows and columns or LHS are both greater than 1. | |
6176 | |
4755 | 6177 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
6178 | |
6179 * Array.cc (Array<T>::maybe_delete_elements): | |
6180 Check for index out of bounds. Handle one index. | |
6181 | |
6182 * Array.cc (Array<T>::indexN): Use dim_vector (0, 0) instead of | |
6183 dim_vector (0) to create empty return vector. | |
6184 | |
4749 | 6185 2004-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6186 | |
6187 * Array.cc (Array<T>::assignN): Don't crash if trying to resize a | |
6188 non-empty LHS when the number of lhs dimensions is less than the | |
6189 number of indices. Detect error if attempting to resize non-empty | |
6190 LHS with colon indices. | |
6191 | |
4745 | 6192 2004-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6193 | |
4747 | 6194 * Array.cc (Array<T>::resize_and_fill): Don't bother to assign any |
6195 values unless the length of the new array is greater than 0. | |
6196 (Array<T>::resize_no_fill): Likewise. | |
6197 | |
6198 * Array-util.cc (index_in_bounds): Also return false if ra_idx(i) | |
6199 is equal to dimensions(i). | |
6200 | |
6201 * Array-util.h, Array-util.cc (equal_arrays, any_zero_len, | |
6202 get_zero_len_size, number_of_elements): | |
6203 Delete unused functions. | |
6204 | |
6205 * Array-util.cc (get_ra_idx): Use dim_vector::numel instead of | |
6206 number_of_elements function. | |
6207 * Array.cc (Array<T>::indexN): Likewise. | |
6208 | |
6209 * Array.cc (Array<T>::indexN): Use dim_vector::operator == instead | |
6210 of equal_arrays function. | |
6211 (Array<T>::index, Array<T>::indexN, Array<T>::assignN) Use | |
6212 dim_vector::any_zero instead of any_zero_len function. | |
6213 | |
6214 * Array.cc (Array<T>::assignN): Eliminate special case for empty index. | |
6215 Don't skip reshaping and resizing if RHS is empty. | |
6216 | |
4746 | 6217 * Array.cc (Array<T>::assignN): Simplify loop for array assignment. |
6218 Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. | |
4747 | 6219 Delete unused variables is_colon and is_colon_equiv. |
4746 | 6220 Correctly resize for expressions like x(:,:,2) = ones(3,3) when |
6221 LHS is not yet defined. | |
4745 | 6222 Error for resizing if number of indices is less than number of LHS |
6223 dimensions. | |
6224 | |
4746 | 6225 * Array.cc (Array<T>::maybe_delete_elements): Maybe warn about |
6226 Fortran-style indexing. | |
6227 | |
4743 | 6228 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
6229 | |
6230 * Array.cc (Array<T>::assignN): Simplify. | |
6231 Allow assignments to succeed if number if indices is less than the | |
6232 number of RHS dimensions. | |
6233 | |
4738 | 6234 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
6235 | |
4741 | 6236 * Array.cc (Array<T>::maybe_delete_elements): Reshape LHS |
6237 when number of indices is less than number of dimensions. | |
6238 | |
6239 * Array.cc (Array<T>::assignN, Array<T>::maybe_delete_elements): | |
6240 Remove unsued variable lhs_inc. | |
6241 | |
4740 | 6242 * Array.cc (Array<T>::maybe_delete_elements): Declare idx_is_colon |
6243 and idx_is_colon_equiv Array<int> instead of dim_vector. | |
6244 | |
6245 * Array.cc (Array<T>::assignN): Compute new dims in a cleaner way. | |
6246 | |
4738 | 6247 * Array.cc (Array<T>::index): Check for frozen_lengths.length () |
6248 == n_dims before checking to see if all indices are colon_equiv. | |
6249 | |
4736 | 6250 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
6251 | |
6252 * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for | |
6253 deleting elements. | |
4737 | 6254 (Array<T>::index): Remove trailing singletons in ra_idx, but leave |
6255 at least ndims elements. | |
4736 | 6256 |
4735 | 6257 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
6258 | |
6259 * Array.cc (Array<T>::assignN): Accept assignment of a vector | |
6260 oriented differently from the index. | |
6261 | |
6262 * dim-vector.h (dim_vector::squeeze): Return value always has at | |
6263 least two dimensions. | |
6264 | |
4733 | 6265 2004-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
6266 | |
4735 | 6267 * dim-vector.h (dim_vector::squeeze): New function. |
6268 (Array<T>::assignN): Use it instead of chop_trailing_singltons for | |
6269 deciding whether the assignment conforms. | |
6270 | |
4733 | 6271 * Array.cc (Array<T>::assignN): Simplify dimension check by |
6272 comparing rhs_dims and frozen_len sans trailing singletons. | |
6273 | |
4732 | 6274 2004-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6275 | |
6276 * idx-vector.cc (tree_to_mat_idx): New arg, conversion_error. | |
6277 Call error handler and return conversion_error == true if arg is | |
6278 not integer. | |
6279 (IDX_VEC_REP::idx_vector_rep): Exit early if conversion_error. | |
6280 | |
4730 | 6281 2004-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6282 | |
6283 * boolNDArray.h (boolNDArray::boolNDArray): Declare dim_vector | |
6284 reference arg const. | |
6285 | |
6286 2004-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6287 | |
6288 * Array-flags.cc: Include Array-flags.h, not Array.h. Doh. | |
6289 | |
4729 | 6290 2004-01-30 Jakub Bogusz <qboosh@pld-linux.org> |
6291 | |
6292 * Array-flags.h (liboctave_wfi_flag, liboctave_wrore_flag): | |
6293 Now bool, to match definition in Array-flags.cc. | |
6294 | |
4725 | 6295 2004-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6296 | |
4726 | 6297 * file-ops.cc: Include <vector> instead of <memory> for new |
6298 definition of OCTAVE_LOCAL_BUFFER. | |
6299 | |
4725 | 6300 * EIG.cc, EIG.h (EIG::init, EIG::symmetric_init, EIG::hermitian_init): |
6301 New arg, calc_eigenvectors. | |
6302 * EIG.h (EIG:EIG): New optional arg, calc_eigenvectors. | |
6303 Based on patch from David Bateman <dbateman@free.fr>. | |
6304 | |
4716 | 6305 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6306 | |
6307 * Array.cc (Array<T>::assign2, Array<T>::assignN): | |
6308 For X(I) = RHS, don't restrict I to fewer elements than X. | |
6309 | |
6310 * Array.cc (Array<T>::assign2): Simplify indexing for X(I) = RHS case. | |
6311 | |
4711 | 6312 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
6313 | |
4714 | 6314 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): |
6315 Simplify calculation of number of elements in retval. | |
6316 | |
4711 | 6317 * Array.cc (Array<T>::assignN): Eliminate unnecessray code for |
6318 filling when RHS is scalar and dimension lengths agree. | |
6319 | |
4710 | 6320 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6321 | |
4713 | 6322 * Makefile.in (distclean): Remove mx-ops.h, $(MX_OP_INC), |
6323 $(VX_OP_INC), $(MX_OP_SRC), $(VX_OP_SRC), and $(OPTS_INC). | |
4710 | 6324 |
4707 | 6325 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
6326 | |
4709 | 6327 * Array.cc (Array<T>::resize_and_fill): Correctly copy old elements. |
6328 (Array<T>::assign2): Check for RHS dimensions larger than 2. | |
4707 | 6329 |
4702 | 6330 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> |
6331 | |
4703 | 6332 * Array.h (Array<T>::chop_trailing_singletons): New function. |
6333 * Array.cc (Array<T>::assignN): Use it on LHS. | |
6334 | |
6335 * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. | |
4702 | 6336 Retrieve scalar element by passin 0 instead of an index array. |
4703 | 6337 Check for singleton dimensions where RHS is matrix or higher dimension. |
6338 Make sure index is in bounds. | |
4702 | 6339 |
4698 | 6340 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
6341 | |
6342 * lo-ieee.cc (octave_ieee_init): Ensure that octave_Inf, | |
6343 octave_NaN, and octav_NA values are always initialized. Check | |
6344 floating point format, not HAVE_ISINF, HAVE_FINITE, or HAVE_ISNAN | |
6345 to decide whether to do IEEE initialization. | |
6346 | |
4687 | 6347 2004-01-06 David Bateman <dbateman@free.fr> |
6348 | |
6349 * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, | |
6350 ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, | |
6351 ComplexNDArray::too_large_for_float): New functions | |
6352 | |
6353 * CNDArray.cc (operator <<, operator >>): New IO operators. | |
6354 * CNDArray.h: Provide decls. | |
6355 * dNDArray.cc (operator <<, operator >>): New IO operators. | |
6356 * dNDArray.h: Provide decls. | |
6357 | |
4673 | 6358 2003-12-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6359 | |
4674 | 6360 * mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since |
6361 they are already defined in boolNDArray.cc. | |
6362 | |
4673 | 6363 * Array-util.cc (get_zero_len_size): Delete. |
6364 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
6365 Handle zero-length result dimensions the same as empty original | |
6366 indices. | |
6367 | |
6368 2003-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6369 | |
6370 * dim-vector.h (dim_vector::chop_trailing_singleton_dims, | |
6371 dim_vector::dim_vector_rep::chop_trailing_singleton_dims): | |
6372 New functions. | |
6373 * Array.cc (ArrayN<T>::indexN): Use it. | |
6374 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): Likewise. | |
6375 | |
4669 | 6376 2003-11-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6377 | |
6378 * boolNDArray.cc: Define BOOL ops. Define mixed CMP ops. | |
6379 * boolNDArray.h: Declare BOOL ops. Declare mixed CMP ops. | |
6380 | |
6381 2003-11-25 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6382 | |
6383 * mk-ops.awk: Also emit #include "Array-util.h". | |
6384 | |
6385 * mx-ops: Add bool, boolMatrix, and boolNDarray types. | |
6386 Add bnda x bnda, b x bnda, and bnda x b ops. | |
6387 | |
6388 * MArray-misc.cc: Delete. | |
6389 * Makefile.in (MATRIX_SRC): Remove it from the list. | |
6390 | |
6391 * Array-util.h, Array-util.cc (gripe_nonconformant): Move here from | |
6392 MArray.h, MArray2.h, MArrayN.h, and MArray-misc.cc. | |
6393 | |
4655 | 6394 2003-11-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
6395 | |
4663 | 6396 * dbleQR.cc (QR::init): Use separate pwork pointers. |
6397 * CmplxQR.cc (ComplexQR::init): Likewise. | |
6398 | |
6399 * oct-group.cc (octave_group::getgrnam): Pass correct args to | |
6400 two-arg getgrnam version. | |
6401 | |
4657 | 6402 * Array.cc (assignN): Allow single indexing to work. |
4661 | 6403 (Array<T>::range_error (const char*, const Array<int>&)): |
6404 Report index values. | |
6405 | |
6406 * Array.cc (Array<T>::index): Delete unused arg names. | |
4662 | 6407 * ODESSA.cc (odessa_j): Likewise. |
6408 * DASRT.cc (ddasrt_f, ddasrt_g): Likewise. | |
6409 * DASPK.cc (ddaspk_psol): Likewise. | |
6410 * lo-mappers.cc (imag): Likewise. | |
4663 | 6411 * Array-util.cc (get_zero_len_size): Likewise. |
6412 * kpse.cc (path_search, path_find_first_of): Likewise. | |
6413 * cmd-edit.cc (do_generate_filename_completions): Likewise. | |
4656 | 6414 |
4655 | 6415 * dim-vector.h (dim_vector::all_ones): New function. |
6416 | |
4646 | 6417 2003-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6418 | |
4653 | 6419 * idx-vector.h (idx_vector::orig_empty): Check orig_dims for |
6420 zeros, not orig_rows or orig_columns. | |
6421 (idx_vector::idx_vector_rep::orig_rows): Define using orig_dims. | |
6422 (idx_vector::idx_vector_rep::orig_columns): Likewise. | |
6423 | |
6424 * idx-vector.cc (idx_vector::idx_vector_rep::orig_nr, | |
6425 (idx_vector::idx_vector_rep::orig_nc): Delete. | |
6426 | |
6427 * idx-vector.cc (idx_vector::idx_vector_rep): | |
6428 Use initialization lists for constructors. | |
6429 | |
4651 | 6430 * Array.cc (Array<T>::indexN): Correctly handle single colon index. |
6431 Omit special case for ra_idx.capacity () == 1. | |
6432 Always allow single index for matrix args with optional warning. | |
6433 | |
4650 | 6434 * idx-vector.h, idx-vector.cc: Convert boolMatrix functions to use |
6435 boolNDArray. Likewise, convert Matrix functions to use NDArray. | |
6436 | |
4648 | 6437 * Array-so.cc: New file. Move instantiations here from so-array.h. |
6438 * Makefile.in (TI_SRC): Add it to the list. | |
6439 | |
4646 | 6440 * MArray-defs.h (DO_VS_OP2, DO_VV_OP2): Accept args for element |
6441 type and the names of the left and right operands. Change all uses. | |
6442 | |
6443 * so-array.cc, so-array.h: New files. Move streamoff_array here | |
6444 from src/ov-streamoff.h and src/ov-streamoff.cc. | |
6445 | |
4645 | 6446 2003-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6447 | |
6448 * MArrayN.cc (operator -=, operator +=): Check dimensions, not | |
6449 just length. | |
6450 | |
6451 * Array2.h, Array3.h, DiagArray2.h, DiagArray2.cc, MDiagArray2.h, | |
6452 ArrayN.h: Add this-> or Base:: qualifiers for references to | |
6453 non-dependent member functions and data as needed. | |
6454 | |
6455 * DiagArray2.h, DiagArray2.cc: Delete unused code. | |
6456 | |
6457 * Array2.h (Array2<T>::operator =): Don't copy dimensions here. | |
6458 * Array3.h (Array3<T>::operator =): Likewise. | |
6459 * DiagArray2.h (DiagArray2<T>::operator =): Likewise. | |
6460 Include Array.h, not Array2.h. | |
6461 | |
4634 | 6462 2003-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
6463 | |
4636 | 6464 * str-vec.cc (list_in_columns): Fix previous change. |
6465 | |
4635 | 6466 * dim-vector.h (dim_vector::num_ones): New function. |
6467 * Array.cc (maybe_delete_elements): Use it instead of | |
6468 num_ones (const Array<int>&). | |
6469 | |
6470 * Array.cc (assignN): Omit dubious check of singleton dimensions. | |
6471 | |
4634 | 6472 * dNDArray.cc (NDArray::all_elements_are_int_or_inf_or_nan, |
6473 NDArray::any_element_is_inf_or_nan, NDArray::too_large_for_float): | |
6474 New functions. | |
6475 * dNDArray.h: Provide decls. | |
6476 | |
6477 * dMatrix.h (Matrix::any_element_is_negative, | |
6478 Matrix::any_element_is_inf_or_nan, Matrix::too_large_for_float, | |
6479 Matrix::all_elements_are_int_or_inf_or_nan, Matrix::all_integers): | |
6480 Simplify. | |
6481 | |
6482 * dNDArray.cc (NDArray::abs): Make it work for N-d arrays. | |
6483 * CNDArray.cc (ComplexNDArray::abs): Likewise. | |
6484 | |
6485 * dNDArray.cc (real, imag): New functions. | |
6486 * dNDArray.h: Provide decls. | |
6487 | |
4630 | 6488 2003-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6489 | |
6490 * Makefile.in (TEMPLATE_SRC): Move MArrayN.cc here from MATRIX_SRC. | |
6491 | |
4625 | 6492 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
6493 | |
6494 * Array.h (Array<T>::resize (int, const T&)): Reinstate. | |
6495 * MArray.h (resize): Delete. | |
6496 * MArray2.h (resize): Delete. | |
6497 * DASRT.cc (DASRT::integrate): Use resize, not resize_and_fill. | |
6498 * ODESSA (ODESSA::integrate): Likewise. | |
6499 | |
4616 | 6500 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6501 | |
6502 * Makefile.in (dist): Depend on stamp-prereq. | |
6503 | |
4605 | 6504 2003-11-12 John Eaton <jwe@bevo.che.wisc.edu> |
6505 | |
6506 * mach-info.c (oct_mach_info::init_float_format) [CRAY]: | |
6507 Kluge to make it work. | |
4604 | 6508 |
6509 * lo-ieee.cc (octave_ieee_init): Set octave_Inf, octave_NaN, and | |
6510 octave_NA to DBL_MAX if native float format is vaxd, vaxg, or cray. | |
6511 | |
6512 * cmd-edit.cc (gnu_readline::do_generate_filename_completions, | |
6513 default_command_editor::do_generate_filename_completions, | |
6514 command_editor::generate_filename_completions): New functions. | |
6515 * cmd-edit.h: Provide decls. | |
6516 * oct-rl-edit.c (octave_rl_filename_completion_function): New | |
6517 function. | |
6518 * oct-rl-edit.h: Provide decl. | |
6519 | |
4593 | 6520 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6521 | |
4594 | 6522 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY_AND_ASSIGN, |
6523 INSTANTIATE_ARRAY): New macros. | |
6524 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
6525 Array-idx-vec.cc, Array-s.cc, Array-str.cc, ODESSA.cc: Use them. | |
6526 | |
4593 | 6527 * Array.h (Array<T>::ipermute): New function. |
6528 | |
6529 2003-11-11 Petter Risholm <risholm@stud.ntnu.no> | |
6530 | |
6531 * Array.cc (Array<T>::permute): New function. | |
6532 * Array.h: Provide decl. | |
6533 | |
6534 * Array-util.cc (calc_permutated_idx): New function. | |
6535 * Array-util.h: Provide decl. | |
6536 | |
4587 | 6537 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6538 | |
4592 | 6539 * Array.cc (Array<T>::index2): Return value has orientation of |
6540 indexed value if indexing a vector with a bool matrix. | |
6541 | |
4589 | 6542 * ArrayN.h (ArrayN<T>::get_size): Delete. |
6543 | |
4588 | 6544 * Array.cc, ArrayN.cc, dNDArray.cc, CNDArray.cc, boolNDArray.cc, |
6545 chNDArray.cc: Include Array-util.h instead of ArrayN-inline.h. | |
6546 | |
6547 * ArrayN-inline.h: Delete. | |
6548 * Array-util.h, Array-util.cc: New files, from ArrayN-inline.h. | |
6549 * Makefile.in: Fix the appropriate lists. | |
6550 | |
4587 | 6551 * Array.cc, Array.h, ArrayN.h, CMatrix.cc, CNDArray.h, |
6552 CRowVector.cc, CmplxQR.cc, CollocWt.h, DASPK.h, DASRT.h, DASSL.h, | |
6553 FEGrid.cc, LP.h, LSODE.h, MArrayN.h, ODE.h, ODES.h, ODESSA.cc, | |
6554 boolNDArray.h, chNDArray.h, dMatrix.cc, dNDArray.h, dRowVector.cc, | |
6555 dbleQR.cc, kpse.cc, oct-rl-hist.c, str-vec.cc, str-vec.h: | |
6556 Avoid -Wshadow warnings. | |
6557 | |
6558 2003-11-08 John Eaton <jwe@bevo.che.wisc.edu> | |
4585 | 6559 |
6560 * Array.h (Array<T>::nil_rep): Qualify return type with typename. | |
6561 | |
6562 * mk-ops.awk: Delete elements of bool_headers array individually. | |
6563 | |
6564 2003-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6565 | |
6566 * Array.cc (maybe_delete_elements): Rename arg idx to ra_idx. | |
6567 | |
4584 | 6568 2003-10-31 Petter Risholm <risholm@stud.ntnu.no> |
6569 | |
6570 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): New macro. | |
6571 | |
6572 * CNDArray.cc, CNDArray.h (ComplexNDArray::cumsum, | |
6573 ComplexNDArray::cumprod): Return ComplexNDArray. Handle N-d arrays. | |
6574 * dNDArray.cc, dNDArray.h (NDArray::cumsum, NDArray::cumprod): | |
6575 Return NDArray. Handle N-d arrays. | |
6576 | |
4575 | 6577 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
6578 | |
4583 | 6579 * LSODE.cc (LSODE::do_integrate): Avoid name conflict on systems |
6580 that upcase Fortran names by calling dlsode instead of lsode. | |
6581 | |
6582 * ODESSA.cc (ODESSA::do_integrate): Avoid name conflict on systems | |
6583 that upcase Fortran names by calling dodessa instead of odessa. | |
6584 | |
4577 | 6585 * file-ops.cc (file_ops::symlink): Cope with systems that expect |
6586 non-const args for symlink system call. | |
6587 (file_ops::readlink): Likewise, for readlink. | |
6588 | |
4575 | 6589 * DASRT.cc (DASRT::integrate): Fix typo in Fortran function name. |
6590 | |
4574 | 6591 2003-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6592 | |
6593 * mach-info.h (oct_mach_info): Prefix enum elements with flt_fmt_. | |
6594 Change all uses. | |
6595 | |
4569 | 6596 2003-10-29 Petter Risholm <risholm@stud.ntnu.no> |
6597 | |
6598 * dNDArray.cc (NDArray::cumprod, NDArray::cumsum, NDArray::prod, | |
6599 NDArray::sum, NDArray::sumsq, NDArray::abs): New functions. | |
6600 * dNDArray.h: Provide decls. | |
6601 * CNDArray.cc (ComplexNDArray::cumprod, ComplexNDArray::cumsum, | |
6602 ComplexNDArray::prod, ComplexNDArray::sum, ComplexNDArray::sumsq, | |
6603 ComplexNDArray::abs): New functions. | |
6604 * CNDArray.h: Provide decls. | |
6605 | |
6606 * mx-inlines.cc (MX_ND_REDUCTION): Rename from MX_ND_ANY_ALL. | |
6607 Generalize to handle other reduction operations. | |
6608 (MX_ND_REAL_OP_REDUCTION, MX_ND_COMPLEX_OP_REDUCTION, | |
6609 MX_ND_ALL_ANY_REDUCTION): New macros. | |
6610 | |
4565 | 6611 2003-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6612 | |
4567 | 6613 * Array.cc (Array<T>::reshape): New function. |
6614 * Array.h: Provide decl. | |
6615 | |
6616 * dim-vector.h (dim_vector::numel): New function. | |
6617 | |
4565 | 6618 * dim-vector.h (dim_vector_rep::dim_vector_rep (int, const |
6619 dim_vector&)): Correctly handle case of n < dv->ndims. | |
6620 | |
4559 | 6621 2003-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6622 | |
6623 * dim-vector.h (dim_vector::any_zero): New function. | |
6624 (dim_vector::str): New default arg, sep. | |
6625 | |
6626 * Array.h (Array<T>::numel): New function. | |
6627 | |
4556 | 6628 2003-10-27 Petter Risholm <risholm@stud.ntnu.no> |
6629 | |
6630 * mx-inlines.cc (MX_ND_ALL_EXPR, MX_ND_ANY_EXPR, | |
6631 MX_ND_ALL_EVAL, MX_ND_ANY_EVAL, MX_ND_ALL_ANY): New macros. | |
6632 * dNDArray.h (NDArray::all, NDArray::any): Return type now boolNDArray. | |
6633 * CNDArray.h (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
6634 * boolNDArray.h (boolNDArray::all, boolNDArray::any): Likewise. | |
6635 * chNDArray.h (charNDArray::all, charNDArray::any): Likewise. | |
6636 * dNDArray.cc (NDArray::all, NDArray::any): Make them work. | |
6637 * CNDArray.cc (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
6638 * boolNDArray.cc (boolNDArray::all, boolNDArray::any): Likewise. | |
6639 * chNDArray.cc (charNDArray::all, charNDArray::any): Likewise. | |
6640 | |
4552 | 6641 2003-10-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
6642 | |
4553 | 6643 * Array.cc (Array<T>::resize_and_fill): Allow number of dimensions |
6644 to change. From Petter Risholm <risholm@stud.ntnu.no>. | |
6645 | |
4552 | 6646 * oct-rand.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, |
6647 CmplxAEPBAL.cc CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
6648 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, | |
6649 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, ODESSA.cc, | |
6650 Quad.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
6651 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
6652 dbleSCHUR.cc, dbleSVD.cc, lo-specfun.cc: | |
6653 Use new F77 arg macros in declarations of external Fortran | |
6654 subroutines and for calling them. | |
6655 | |
4548 | 6656 2003-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6657 | |
6658 * Array.cc (Array<T>::resize_no_fill (const dim_vector&)): | |
6659 Allow number of dimensions to change. | |
6660 (Array<T>::resize_no_fill (int, int)): Require ndims to be 0 or 2. | |
6661 (Array<T>::resize_and_fill (int, int, const T&)): Likewise. | |
6662 (Array<T>::resize_no_fill (int, int, int)): Require ndims to be 0 or 3. | |
6663 (Array<T>::resize_and_fill (int, int, int, const T&)): Likewise. | |
6664 (Array<T>::transpose): Require ndims to be 2. | |
6665 (Array<T>::index2): Likewise. | |
6666 (Array<T>::index (idx_vector&, idx_vector&, int, const T&)): Likewise. | |
6667 (Array<T>::maybe_delete_elements_2): Likewise. | |
6668 (Array<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Likewise. | |
6669 (Array<T>::index1): Use resize_and_fill. | |
6670 (MAYBE_RESIZE_ND_DIMS): Likewise. | |
6671 | |
6672 * ODESSA.cc (ODESSA::integrate): Use resize_and_fill for x_s_out. | |
6673 | |
6674 * MArray2.h (MArray2<T>::resize (int, int)): New function. | |
6675 (MArray2<T>::resize (int, int, const T&)): New function. | |
6676 | |
6677 * MArray.h (MArray<T>::resize (int)): New function. | |
6678 (MArray<T>::resize (int, const T&)): New function. | |
6679 | |
6680 * DASRT.cc (DASRT::integrate): Use resize_and_fill for jroot. | |
6681 | |
6682 * DASPK-opts.in: Use single-arg resize for initial condition | |
6683 heuristics. | |
6684 | |
6685 * dim-vector.h (class dim_vector): Now reference counted. | |
6686 (dim_vector_rep::elem): Use assert to check that index is in bounds. | |
6687 | |
4544 | 6688 2003-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6689 | |
4545 | 6690 * Array.cc (Array<T>::squeeze): Delete redundant retval decl. |
6691 | |
4544 | 6692 * mx-cdm-cm.cc, mx-cdm-cm.h, mx-cdm-cs.cc, mx-cdm-cs.h, |
6693 mx-cdm-dm.cc, mx-cdm-dm.h, mx-cdm-m.cc, mx-cdm-m.h, mx-cdm-s.cc, | |
6694 mx-cdm-s.h, mx-cm-cdm.cc, mx-cm-cdm.h, mx-cm-dm.cc, mx-cm-dm.h, | |
6695 mx-cm-m.cc, mx-cm-m.h, mx-cm-s.cc, mx-cm-s.h, mx-cs-cdm.cc, | |
6696 mx-cs-cdm.h, mx-cs-dm.cc, mx-cs-dm.h, mx-cs-m.cc, mx-cs-m.h, | |
6697 mx-dm-cdm.cc, mx-dm-cdm.h, mx-dm-cm.cc, mx-dm-cm.h, mx-dm-cs.cc, | |
6698 mx-dm-cs.h, mx-dm-m.cc, mx-dm-m.h, mx-dm-s.cc, mx-dm-s.h, | |
6699 mx-m-cdm.cc, mx-m-cdm.h, mx-m-cm.cc, mx-m-cm.h, mx-m-cs.cc, | |
6700 mx-m-cs.h, mx-m-dm.cc, mx-m-dm.h, mx-ops.h, mx-s-cdm.cc, | |
6701 mx-s-cdm.h, mx-s-cm.cc, mx-s-cm.h, mx-s-dm.cc, mx-s-dm.h, | |
6702 vx-ccv-cv.cc, vx-ccv-cv.h, vx-ccv-s.cc, vx-ccv-s.h, vx-crv-rv.cc, | |
6703 vx-crv-rv.h, vx-crv-s.cc, vx-crv-s.h, vx-cs-cv.cc, vx-cs-cv.h, | |
6704 vx-cs-rv.cc, vx-cs-rv.h, vx-cv-ccv.cc, vx-cv-ccv.h, vx-cv-cs.cc, | |
6705 vx-cv-cs.h, vx-rv-crv.cc, vx-rv-crv.h, vx-rv-cs.cc, vx-rv-cs.h, | |
6706 vx-s-ccv.cc, vx-s-ccv.h, vx-s-crv.cc, vx-s-crv.h: Delete. These | |
6707 files are now automatically generated. | |
6708 | |
6709 * Makefile.in ($(VX_OP_INC), $(VX_OP_SRC), $(MX_OP_INC), | |
6710 $(MX_OP_SRC)): Generate lists with new mk-ops.awk script. | |
6711 Add rules to generate these files and mx-ops.h. | |
6712 (stamp-prereq): Depend on these files. | |
6713 | |
6714 * mx-ops, vx-ops, mk-ops.awk: New files. | |
6715 * Makefile.in (DISTFILES): Add them to the list. | |
6716 | |
4543 | 6717 2003-10-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6718 | |
6719 * NDArray.cc (NDArray::NDArray (const boolNDArray), | |
6720 NDArray::NDArray (const charNDArray)): New constructors. | |
6721 (NDArray::operator !): New function. | |
6722 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
6723 NDND_CMP_OPS, NDND_BOOL_OPS. | |
6724 | |
6725 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const NDArray&), | |
6726 ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
6727 ComplexNDArray::ComplexNDArray (const charNDArray&)): | |
6728 New constructors. | |
6729 (ComplexNDArray::operator !): New function. | |
6730 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
6731 NDND_CMP_OPS, NDND_BOOL_OPS. | |
6732 | |
6733 * ArrayN.h (resize (const dim_vector&)): Fix typo. | |
6734 | |
6735 * boolNDArray.cc (boolNDArray::operator !): New function. | |
6736 Provide NDND_CMP_OPS. | |
6737 | |
6738 * MArrayN.cc (operator +=, operator -=): New functions. | |
6739 Provide product and quotient functions. | |
6740 | |
6741 * MArray-misc.cc (gripe_nonconformant (const char *, dim_vector&, | |
6742 dim_vector&)): New function. | |
6743 | |
6744 * dim-vector.h (dim_vector::str, dim_vector::all_zero, | |
6745 operator ==, operator !=): New functions. | |
6746 * ArrayN.cc (operator <<): Use dim_vector::str here. | |
6747 | |
6748 * Array.cc (Array<T>::resize_no_fill, Array<T>::resize_and_fill): | |
6749 No need to save old dimensions. | |
6750 | |
6751 * oct-rand.cc (MAKE_RAND_ND_ARRAY): New macro. | |
6752 (octave_rand::nd_array): New function. | |
6753 * oct-rand.h (octave_rand::nd_array): Provide decl. | |
6754 | |
6755 * mx-op-defs.h (NDCMP_OP_DECL, NDBOOL_OP_DECL, NDS_BIN_OP_DECLS, | |
6756 NDS_BIN_OP, NDS_BIN_OPS, NDS_CMP_OP_DECLS, NDS_CMP_OP, | |
6757 NDS_CMP_OPS, NDS_BOOL_OP_DECLS, NDS_BOOL_OP, NDS_BOOL_OPS, | |
6758 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_BIN_OP, SND_BIN_OPS, | |
6759 SND_CMP_OP_DECLS, SND_CMP_OP, SND_CMP_OPS, SND_BOOL_OP_DECLS, | |
6760 SND_BOOL_OP, SND_BOOL_OPS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
6761 NDND_BIN_OP, NDND_BIN_OPS, NDND_CMP_OP_DECLS, NDND_CMP_OP, | |
6762 NDND_CMP_OPS, NDND_BOOL_OP_DECLS, NDND_BOOL_OP, NDND_BOOL_OPS, | |
6763 NDND_OP_DECLS): New macros. | |
6764 * mx-cm-m.h, mx-cm-s.h, mx-cs-m.h, mx-m-cm.h, mx-m-cs.h, | |
6765 mx-s-cm.h, mx-cm-m.cc, mx-cm-s.cc, mx-cs-m.cc, mx-m-cm.cc, | |
6766 mx-m-cs.cc, mx-s-cm.cc: Use them. | |
6767 | |
6768 * mx-defs.h (class NDArray, class ComplexNDArray, class | |
6769 boolNDArray, class charNDArray): New forward decls. | |
6770 | |
4534 | 6771 2003-10-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
6772 | |
6773 * Array.cc (assign2): No error (but don't do anything either) for | |
6774 expressions like x([],j) = scalar. | |
6775 | |
4532 | 6776 2003-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
6777 | |
4533 | 6778 * Array.cc (assignN): Allow lhs(:) = scalar. |
6779 | |
4532 | 6780 * CNDArray.cc (ComplexNDArray::increment_index): New function. |
6781 * dNDArray.cc (NDArray::increment_index): Likewise. | |
6782 * boolNDArray.cc (boolNDArray::increment_index): Likewise. | |
6783 * chNDArray.cc (charNDArray::increment_index): Likewise. | |
6784 | |
6785 * dim-vector.h (rows, cols): Delete unused data members. | |
6786 | |
6787 * Array.cc (Array<T>::get_size): Fix thinko. | |
6788 | |
6789 2003-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6790 | |
6791 * Array.cc (Array<T>::squeeze): New function. | |
6792 * CNDArray.h (ComplexNDArray::squeeze): Likewise. | |
6793 * dNDArray.h (NDArray::squeeze): Likewise. | |
6794 * boolNDArray.h (boolNDArray::squeeze): Likewise. | |
6795 * chNDArray.h (charNDArray::squeeze): Likewise. | |
6796 | |
4530 | 6797 2003-10-06 Petter Risholm <risholm@stud.ntnu.no> |
6798 | |
6799 * Array.cc (ArrayN<T>::indexN): New definition. | |
6800 * Array.h (Array<T>::indexN): Provide decl. | |
6801 * Array.cc (ArrayN<T>::index (idx_vector&, int, const T&): | |
6802 Call indexN if more than 2 indices. | |
6803 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): | |
6804 Make it (mostly) work. | |
6805 * ArrayN-inline.h (number_of_elements, get_ra_idx, short_freeze): | |
6806 New functions. | |
6807 | |
4527 | 6808 2003-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6809 | |
6810 * cmd-edit.cc (do_readline): Pass eof to octave_fgetl. | |
6811 * lo-utils.cc (octave_fgets, octave_fgetl): New overloaded | |
6812 versions with eof arg. | |
6813 | |
4518 | 6814 2003-09-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6815 | |
6816 * Array.h (dimensions): Now public. | |
6817 template <class LT, class RT> | |
6818 (assign (Array<LT>&, const Array<RT>&, const LT&), | |
6819 assign1 (Array<LT>&, const Array<RT>&, const LT&), | |
6820 assign2 (Array<LT>&, const Array<RT>&, const LT&), | |
6821 assignN (Array<LT>&, const Array<RT>&, const LT&), | |
6822 resize_no_fill (int), | |
6823 resize_no_fill (int, int), | |
6824 resize_no_fill (int, int, int), | |
6825 resize_no_fill (const dim_vector&), | |
6826 resize_and_fill (int, const T&), | |
6827 resize_and_fill (int, int, const T&), | |
6828 resize_and_fill (int, int, int, const T&), | |
6829 resize_and_fill (const dim_vector&, const T&)): Now public. | |
6830 | |
6831 * Array.cc: Include <climits>. | |
6832 | |
4513 | 6833 2003-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
6834 | |
4517 | 6835 * Array.cc: Merge Array-idx.h. |
6836 * Array-idx.h: Delete. | |
6837 | |
4514 | 6838 * chNDArray.h, chNDArray.cc, boolNDArray.h, boolNDArray.cc: New files. |
6839 | |
4513 | 6840 * Array.h, Array-idx.h, Array.cc: Fold all N-d functionality here. |
6841 Turn inheritance hierarchy upside down (2-d and 3-d arrays are now | |
6842 just special cases of the general purpose N-d Array object). | |
6843 | |
6844 * dim-vector.h: New file. Use dim_vector objects instead of | |
6845 ints or Array<int> objects to represent the size of Array | |
6846 objects. | |
6847 | |
6848 * MArray-defs.h (INSTANTIATE_MARRAYN_FRIENDS): New macro. | |
6849 | |
6850 * Array2-idx.h, Array3-idx.h, Array2.cc, Array3.cc: Delete. | |
6851 | |
6852 * mx-base.h: Include NDArray header files. | |
6853 | |
6854 * MArray-C.cc, MArray-d.cc: Also instantiate ArrayN objects. | |
6855 | |
6856 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
6857 Array-s.cc: Also instantiate ArrayN objects. | |
6858 Don't instantiate assign funcitons for Array2 objects. | |
6859 | |
6860 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Signal error with | |
6861 liboctave_error_handler, not cerr. | |
6862 * CMatrix.cc (ComplexMatrix::diag): Likewise. | |
6863 * dDiagMatrix.cc (DiagMatrix::diag): Likewise. | |
6864 * dMatrix.cc (Matrix::diag): Likewise. | |
6865 | |
6866 * Array-flags.cc, Array.cc, Array.h, Array2.h, Array3.h, ArrayN.h: | |
6867 Omit checks for HEAVYWEIGHT_INDEXING. | |
6868 | |
6869 2003-09-12 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6870 | |
6871 * mx-base.h: Include CNDarray.h. Include dNDArray.h, not NDArray.h. | |
6872 | |
6873 * CNDARray.h, CNDArray.cc: New files. | |
6874 * Makefile.in: Add them to the appropriate lists. | |
6875 | |
6876 * dNDArray.h: Rename from NDArray.h. | |
6877 * dNDArray.cc: Rename from NDArray.cc. | |
6878 * Makefile.in: Rename them here too. | |
6879 | |
4507 | 6880 2003-09-10 Petter Risholm <risholm@stud.ntnu.no> |
6881 | |
6882 * mx-base.h: Include NDArray.h, not ArrayN.h. | |
6883 | |
6884 * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. | |
6885 * Makefile.in: Add them to the appropriate lists. | |
6886 | |
5095 | 6887 2003-09-09 David Bateman <dbateman@free.fr> |
4506 | 6888 |
6889 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, | |
6890 biry): Always request scaled results from AMOS functions and | |
6891 perform reverse scaling on results if scaled result not requested | |
6892 by user. | |
6893 | |
6894 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6895 | |
6896 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
6897 | |
4505 | 6898 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
6899 | |
6900 * Array-d.cc: Instantiate assign functions. | |
6901 | |
4504 | 6902 2003-09-09 Petter Risholm <risholm@stud.ntnu.no> |
6903 | |
6904 * ArrayN-idx.h (vector_equivalent, equal_arrays): New functions. | |
6905 (get_elt_idx): Index ra_idx correctly. | |
6906 | |
6907 * ArrayN-inline.h (index_in_bounds): Index is also condidered in | |
6908 bounds if it is exactly on the bound. | |
6909 | |
6910 * ArrayN.cc (ArrayN<T>::maybe_delete_dims): New function. | |
6911 * ArrayN.h: Provide decl. | |
6912 | |
6913 * ArrayN.h (ArrayN<T>::ArrayN<T> (const Matrix&)): New constructor. | |
6914 | |
6915 * idx-vector.h (idx_vector::orig_dims): New member variable. | |
6916 (idx_vector::idx_vector_rep::orig_dimensions): New function. | |
6917 (idx_vector::orig_dimensions): New function. | |
6918 | |
4497 | 6919 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
6920 | |
6921 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
6922 | |
4496 | 6923 2003-09-04 Petter Risholm <risholm@stud.ntnu.no> |
6924 | |
6925 * ArrayN-idx.h (maybe_delete_elements): Implement function. | |
6926 (is_in, how_many_lgt, all_ones): New functions. | |
6927 | |
4493 | 6928 2003-09-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6929 | |
6930 * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. | |
6931 | |
6932 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> | |
6933 | |
6934 * ArrayN-inline.h: New file. | |
6935 (index_in_bounds, increment_index): Move here. | |
6936 * ArrayN.cc: From here. | |
6937 | |
6938 * ArrayN.h (maybe_delete_elements): New arg, resize_fill_value. | |
6939 * ArrayN-idx.h (assign): New function. | |
6940 | |
4490 | 6941 2003-08-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6942 | |
6943 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, airy, biry): | |
6944 Also zero imaginary part of result if real part of input value is | |
6945 zero. | |
6946 | |
4478 | 6947 2003-07-30 Heine Kolltveit <kolltvei@idi.ntnu.no> |
6948 | |
6949 * mx-base.h: Include ArrayN.h. | |
6950 | |
4476 | 6951 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> |
6952 | |
6953 * ArrayN.cc (operator <<): Corrected output. | |
6954 | |
4474 | 6955 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6956 | |
6957 * ArrayN.cc (increment_index): New arg, start_dimension. | |
6958 | |
5095 | 6959 2003-07-29 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4473 | 6960 |
6961 * ArrayN.cc (operator <<): Improve output readability. | |
6962 | |
4493 | 6963 2003-07-29 Petter Risholm <risholm@stud.ntnu.no> |
4473 | 6964 |
6965 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&, const T&)): | |
6966 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&)): | |
6967 Initialize old_len before changing size. | |
6968 | |
4472 | 6969 2003-07-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6970 | |
6971 * Makefile.in (install-lib): Use $(INSTALL), not | |
4473 | 6972 $(INSTALL_PROGRAM) for $(SHLLIB) files. |
4472 | 6973 |
4469 | 6974 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6975 | |
6976 * lo-mappers.cc (xmin, xmax): Handle NaN in a Matlab-compatible | |
6977 way. Handle NA in an R-compatible way. | |
6978 | |
6979 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Also check for lo_ieee_is_NA. | |
6980 (lo_ieee_is_NA): Don't call isnan unless HAVE_ISNAN is defined. | |
6981 | |
6982 * lo-mappers.h (octave_is_NA (const Complex&)): Provide decl. | |
6983 (octave_is_NaN_or_NA (const Complex&)): Likewise. | |
6984 | |
6985 * dMatrix.cc (Matrix::row_min, Matrix::row_max, | |
6986 Matrix::column_min, Matrix::column_max): Ignore NaNs. | |
6987 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_max, | |
6988 ComplexMatrix::column_min, ComplexMatrix::column_max): Likewise. | |
6989 | |
4461 | 6990 2003-07-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6991 | |
6992 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
6993 Pass true for resize_ok arg to freeze. | |
6994 * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
6995 Likewise. | |
6996 | |
6997 * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; | |
6998 resize_ok arg is now bool. | |
6999 * idx-vector.h (idx_vector::freeze): Likewise. | |
7000 | |
7001 * Array-flags.cc, Array-flags.h (liboctave_wrore_flag): | |
7002 Rename from liboctave_rre_flag. Now bool. | |
7003 (liboctave_wfi_flag): Now bool. | |
7004 | |
7005 * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. | |
7006 | |
5095 | 7007 2003-07-11 Russell Standish <R.Standish@unsw.edu.au> |
4459 | 7008 |
7009 * Array.h (resize_fill_value): Now a top-level template function. | |
7010 Accept object as argument. Change all uses. | |
7011 | |
4455 | 7012 2003-07-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
7013 | |
7014 * Array-flags.cc, Array-flags.h (liboctave_pcv_flag): Delete. | |
7015 | |
7016 * Array2-idx.h (Array2<T>::index): Use liboctave_wfi_flag, not | |
7017 liboctave_dfi_flag. | |
7018 (assign): Likewise. For indexed assignments like X(I) = RHS with | |
7019 X undefined or empty, always create a row vector. | |
7020 | |
7021 * Array-flags.cc (liboctave_wfi_flag): Rename from liboctave_dfi_flag. | |
7022 * Array-flags.h (liboctave_wfi_flag): Ditto. | |
7023 | |
4437 | 7024 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
7025 | |
7026 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
7027 Magic colon indexing always produces an object with one column. | |
7028 | |
5095 | 7029 2003-06-21 Paul Kienzle <pkienzle@users.sf.net> |
4433 | 7030 |
7031 * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. | |
7032 | |
7033 * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. | |
7034 | |
4431 | 7035 2003-06-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7036 | |
7037 * dMatrix.cc (any_element_is_negative): If new optional arg | |
7038 neg_zero is true, also return true for negative zero. | |
7039 | |
4429 | 7040 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
7041 | |
7042 * DASSL.cc (DASSL::do_integrate): Set liw to 21 + n, not 20 + n. | |
7043 Handle step limit. | |
7044 * DASSL-opts.in: New option for step limit. | |
7045 | |
5095 | 7046 2003-06-16 Per Persson <persquare@mac.com> |
4429 | 7047 |
7048 * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. | |
7049 | |
4428 | 7050 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
7051 | |
7052 * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. | |
7053 Store step limit in iwork(20), not iwork(18). | |
7054 | |
5095 | 7055 2003-05-16 Paul Kienzle <pkienzle@users.sf.net> |
4415 | 7056 |
7057 * oct-rand.cc: Use liboctave's clock layer instead of the system clock. | |
7058 | |
4412 | 7059 2003-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7060 | |
4413 | 7061 * Makefile.in: Handle DESTDIR. |
7062 | |
4412 | 7063 * kpse.cc (kpse_path_iterator::next): Skip consecutive colons here. |
7064 (kpse_path_iterator::set_end): Don't miss last element when not | |
7065 followed by a colon. | |
7066 | |
4409 | 7067 2003-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7068 | |
7069 * Array-idx.h (Array<T>::index): Fix off-by-one error. | |
7070 | |
7071 2003-05-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7072 | |
7073 * kpse.cc (kpse_absolute_p): Fix typo in translation. | |
7074 (find_first_of): Also do an absolute search on each | |
7075 name before looking in the path. | |
7076 | |
4407 | 7077 2003-05-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
7078 | |
7079 * kpse.cc (dir_list_add): Ensure that directory ends with a | |
7080 directory separator. | |
7081 | |
4399 | 7082 2003-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
7083 | |
7084 * pathsearch.cc: Include kpse.cc here. | |
7085 | |
7086 * kpse.cc: All functions are now static. Massive surgery to | |
7087 condense kpathsearch library to a single file of just the | |
7088 essentials for Octave and convert to using C++ strings (no more | |
7089 calls to malloc, very few calls to new, so there should be much | |
7090 less potential for introducing memory leaks now). | |
7091 | |
7092 * Makefile.in (EXTRAS): Move kpse.cc here from | |
7093 LIBOCT_PATHSEARCH_CXX_SOURCES. | |
7094 | |
7095 * kpse.h, kpse-config.h: Delete. | |
7096 * Makefile.in (INCLUDES): Delete them from the list. | |
7097 | |
4392 | 7098 2003-04-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
7099 | |
7100 * str-vec.cc (string_vector::append (const std::string&), | |
7101 string_vector::append (const string_vector&)): New methods. | |
7102 | |
4386 | 7103 2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
7104 | |
4389 | 7105 * kpse.cc, kpse.h: Replace fn_type with std::string. |
7106 | |
4387 | 7107 * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. |
7108 | |
4386 | 7109 * kpse.cc (xclosedir): Don't define or declare for Windows. |
7110 (READABLE): Now a static function to avoid warnings from MinGW | |
7111 compiler. | |
7112 | |
4384 | 7113 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7114 | |
4385 | 7115 * kpse.cc: Move most functions from kpse-xfns.c here and make |
7116 static. Include most of kpse-xfns.h directly, removing | |
7117 unnecessary bits. | |
7118 | |
4384 | 7119 * dMatrix.cc (Matrix::pseudo_inverse): Now const. |
7120 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
7121 | |
4378 | 7122 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7123 | |
7124 * getopt.c, getopt1.c, getopt.h: Move here from kpathsea. | |
7125 * Makefile.in: Add them to the appropriates lists. | |
7126 | |
7127 * oct-getopt.c: Include "getopt.h", not <kpathsea/getopt.h>. | |
7128 | |
7129 * Makefile.in (liboctave.$(LIBEXT), liboctave.$(SHLEXT)): Adjust | |
7130 for new locations of kpathsea objects. | |
7131 Delete kpathsea targets. | |
7132 | |
7133 * pathsearch.cc (dir_path::set_program_name): Delete. | |
7134 | |
7135 * kpse.cc: New file. | |
7136 * Makefile.in (LIBOCT_PATHSEARCH_CXX_SOURCES): Add it to the list. | |
7137 | |
7138 * kpse.c: New file. | |
7139 * Makefile.in (LIBOCT_PATHSEARCH_C_SOURCES): Add it to the list. | |
7140 | |
7141 * kpse.h, kpse-config.h, kpse-xfns.h: New files. | |
7142 * Makefile.in (INCLUDES): Add them to the list. | |
7143 | |
7144 * oct-kpse.h: Delete. | |
7145 * Makefile.in (INCLUDES): Delete it from the list. | |
7146 | |
4374 | 7147 2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
7148 | |
7149 * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. | |
7150 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): | |
7151 Likewise. | |
7152 From Quentin H. Spencer <qspencer@ieee.org>. | |
7153 | |
4365 | 7154 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
7155 | |
7156 * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h". | |
7157 | |
4349 | 7158 2003-02-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
7159 | |
4352 | 7160 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Handle systems with or |
7161 without placement delete. | |
7162 | |
4349 | 7163 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Don't lose -0 |
7164 imaginary parts. | |
7165 | |
7166 * lo-ieee.h (lo_ieee_signbit): New macro. | |
7167 | |
5095 | 7168 2003-02-18 David Bateman <dbateman@free.fr> |
4329 | 7169 |
7170 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
7171 Use Lapack instead of Linpack. | |
5315 | 7172 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
4329 | 7173 ComplexMatrix::solve): Likewise. |
7174 | |
7175 * dMatrix.cc (Matrix::determinant, Matrix::inverse): New arg, | |
7176 calc_cond. If 0, skip condition number calculation. | |
7177 * CMatrix.cc (ComplexMatrix::determinant, ComplexMatrix::inverse): | |
7178 Likewise. | |
7179 | |
7180 * CmplxLU.cc (ComplexLU::ComplexLU): Allow non-square matrices. | |
7181 * dbleLU.cc (LU::LU): Likewise. | |
7182 * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. | |
7183 | |
7184 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7185 | |
7186 * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: | |
7187 | |
4323 | 7188 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7189 | |
7190 * Array2-idx.h (Array2<T>::index): Fix thinko. | |
7191 Additional compatibility fix. | |
7192 | |
7193 2003-02-13 Arno Klaassen <arno@scito.com> | |
7194 | |
7195 * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
7196 ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: | |
7197 Sprinkle with Array<T>:: as necessary for gcc 3.4. | |
7198 | |
4322 | 7199 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
7200 | |
7201 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
7202 Compatibility fix. | |
7203 | |
4316 | 7204 2003-02-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
7205 | |
7206 * CColVector.cc (ComplexColumnVector::extract_n): New function. | |
7207 * CRowVector.cc (ComplexRowVector::extract_n): Likewise. | |
7208 * CMatrix.cc (ComplexMatrix::extract_n): Likewise. | |
7209 * dColVector.cc (ColumnVector::extract_n): Likewise. | |
7210 * dRowVector.cc (RowVector::extract_n): Likewise. | |
7211 * dMatrix.cc (Matrix::extract_n): Likewise. | |
7212 | |
7213 * CColVector.cc (ComplexColumnVector::insert): Improve efficiency | |
7214 with make_unique and xelem. | |
7215 * CRowVector.cc (ComplexRowVector::insert): Likewise. | |
7216 * CMatrix.cc (ComplexMatrix::insert, ComplexMatrix::fill, | |
7217 ComplexMatrix::extract, ComplexMatrix::row, | |
7218 ComplexMatrix::column): Likewise. | |
7219 * dColVector.cc (ColumnVector::insert): Likewise. | |
7220 * dRowVector.cc (RowVector::insert): Likewise. | |
7221 * dMatrix.cc (Matrix::insert, Matrix::fill, Matrix::extract, | |
7222 Matrix::row, Matrix::column): Likewise. | |
7223 | |
4313 | 7224 2003-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
7225 | |
7226 * lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN. | |
7227 | |
4309 | 7228 2003-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
7229 | |
7230 * CMatrix.cc, dMatrix.cc: Move min and max functions here, from | |
7231 src/DLD-FUNCTIONS/minmax.cc, and make them extern. | |
7232 * CMatrix.h, dMatrix.h: Provide decls. | |
7233 | |
4307 | 7234 2003-01-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
7235 | |
7236 * oct-rand.h, oct-rand.cc: New files. | |
7237 * Makefile.in: Add them to the appropriate lists. | |
7238 | |
4306 | 7239 2003-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7240 | |
7241 * Array2-idx.h (Array2<T>::index): Fix off-by-one error. | |
7242 | |
4299 | 7243 2003-01-16 Mumit Khan <khan@nanotech.wisc.edu> |
7244 | |
7245 * oct-syscalls.cc: Include signal.h. | |
7246 | |
4294 | 7247 2003-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
7248 | |
7249 * oct-syscalls.cc (octave_syscalls::kill): New function. | |
7250 * oct-syscalls.h: Provide decl. | |
7251 | |
7252 | |
4293 | 7253 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
7254 | |
7255 * dMatrix.cc (Matrix::read): Set size and return immediately if | |
7256 there is nothing to read. | |
7257 | |
4290 | 7258 2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
7259 | |
7260 * lo-cutils.c: Define _XOPEN_SOURCE. | |
7261 | |
4286 | 7262 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
7263 | |
4288 | 7264 * getopt.h: Update to version from kpathsearch, so we will install |
7265 the version that we are using. | |
7266 | |
7267 * getopt.c, getopt1.c: Delete. | |
7268 (INCLUDES): Delete them from the list. We'll get these files from | |
7269 kpathsearch. | |
7270 | |
4286 | 7271 * Makefile.in (liboctave.$(LIBEXT)): Link directly to |
7272 ../kpathsea/STATIC/*.o. | |
7273 (liboctave.$(SHLEXT)): Link directly to ../kpathsea/SHARED/*.o. | |
7274 | |
4270 | 7275 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
7276 | |
4282 | 7277 * dMatrix.cc (read_int, write_int): Avoid warnings about |
7278 unreachable code. | |
7279 | |
4279 | 7280 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete |
7281 to correspond to placement new operator. | |
7282 | |
4278 | 7283 * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. |
7284 (DET::value_will_underflow): Likewise. | |
7285 * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. | |
7286 (ComplexDET::value_will_underflow): Likewise. | |
7287 | |
4276 | 7288 * Makefile.in (distclean): Also remove stamp-prereq. |
7289 | |
4306 | 7290 * Array2-idx.h (Array2<T>::assign): If assignment conforms but the |
7291 RHS and index are empty matrices, don't do anything. | |
4270 | 7292 |
4242 | 7293 2002-12-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
7294 | |
7295 * pathsearch.cc (make_retval, free_c_array, make_c_names, | |
7296 delete_c_names): New helper functions. | |
7297 (dir_path::find_first_of): New function. | |
7298 (dir_path::find_all_first_of): Likewise. | |
7299 * pathsearch.h: Provide decls. | |
7300 | |
7301 * oct-kpse.c (octave_kpse_path_find_first_of): New function. | |
7302 (octave_kpse_all_path_find_first_of): Likewise. | |
7303 * oct-kpse.h: Provide decls. | |
7304 | |
4231 | 7305 2002-12-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
7306 | |
7307 * ODESSA.cc (ODESSA::integrate): Handle maxord. | |
7308 * ODESSA-opts.in: Likewise. | |
7309 | |
7310 * LSODE.cc (ODESSA::integrate): Handle maxord. | |
7311 * LSODE-opts.in: Likewise. | |
7312 | |
4229 | 7313 2002-12-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7314 | |
4230 | 7315 * ODESSA.cc (ODESSA::ODESSA): Initialize "initialized" data member |
7316 in all constructors. | |
7317 | |
4229 | 7318 * Makefile.in (liboctave.$(SHLEXT)): Include $(LIBKPATHSEA) here. |
7319 (LINK_DEPS): Not here. | |
7320 | |
4219 | 7321 2002-12-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
7322 | |
4220 | 7323 * str-vec.cc (string_vector::compare): New static member function. |
7324 * str-vec.h: Provide decl. | |
7325 (string_vector::sort): Use it. | |
7326 (str_vec_compare): Delete static function. | |
7327 | |
4219 | 7328 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Also declare and define |
7329 a placement operator new. | |
7330 | |
4209 | 7331 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
7332 | |
4210 | 7333 * Matrix.h: Include mx-ops.h too. |
4209 | 7334 * mx-ops.h: New file. |
7335 | |
4192 | 7336 2002-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
7337 | |
7338 * DASRT.cc, DASRT.h, Array.cc, ArrayN.h, Array.h, Array2.cc, | |
7339 Array2.h, Array3.cc, Array3.h, Bounds.cc, Bounds.h, CRowVector.h, | |
7340 CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, CMatrix.h, | |
7341 CRowVector.cc, CColVector.h, ChangeLog, CmplxAEPBAL.cc, | |
7342 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
7343 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
7344 CmplxQR.h, CmplxQRP.cc, ArrayN.cc, CmplxQRP.h, CmplxSCHUR.cc, | |
7345 CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, dMatrix.cc, | |
7346 CollocWt.h, EIG.h, DASSL.cc, FEGrid.h, DASSL.h, DiagArray2.cc, | |
7347 DiagArray2.h, EIG.cc, FEGrid.cc, LSODE.cc, LPsolve.cc, LPsolve.h, | |
7348 LSODE.h, LinConst.cc, LinConst.h, MArray.h, MArray.cc, MArray2.cc, | |
7349 MArray2.h, MDiagArray2.cc, MDiagArray2.h, Range.cc, NLConst.h, | |
7350 NLEqn.cc, Range.h, NLEqn.h, Quad.cc, dbleQR.h, Quad.h, base-lu.cc, | |
7351 base-lu.h, boolMatrix.cc, boolMatrix.h, dColVector.cc, | |
7352 dColVector.h, dDiagMatrix.cc, dDiagMatrix.h, dMatrix.h, | |
7353 dRowVector.cc, dRowVector.h, dbleAEPBAL.cc, dbleAEPBAL.h, | |
7354 dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, dbleDET.h, dbleHESS.cc, | |
7355 dbleHESS.h, dbleLU.cc, dbleLU.h, dbleQR.cc, dbleQRP.cc, dbleQRP.h, | |
7356 dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, | |
7357 idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, | |
7358 ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: | |
7359 Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of | |
7360 "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". | |
7361 | |
4184 | 7362 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
7363 | |
7364 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_GLOBAL too. | |
7365 From Remy Bruno <remy.bruno@libertysurf.fr> | |
7366 | |
4180 | 7367 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7368 | |
7369 * lo-specfun.cc: Use F77_FUNC instead of F77_XFCN for calls to | |
7370 fortran code that should run fast enough that it is not worth all | |
7371 the setup costs of F77_XFCN. | |
7372 | |
7373 * Quad.cc (user_function): Surround body of function with | |
7374 BEGIN_INTERRUPT_WITH_EXCEPTIONS, END_INTERRUPT_WITH_EXCEPTIONS. | |
7375 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Likewise. | |
7376 * NLEqn.cc (hybrd1_fcn, hybrj1_fcn): Likewise. | |
7377 * LSODE.cc (lsode_f, lsode_j): Likewise. | |
7378 * DASSL.cc (ddassl_f, ddassl_j): Likewise. | |
7379 * DASRT.cc (ddasrt_f, ddasrt_j, ddasrt_g): Likewise. | |
7380 * DASPK.cc (ddaspk_f, ddaspk_psol, ddaspk_j): Likewise. | |
7381 | |
4164 | 7382 2002-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7383 | |
7384 * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead | |
7385 of ! defined (linux). | |
7386 | |
5095 | 7387 2002-11-09 Per Persson <persquare@mac.com> |
4162 | 7388 |
7389 * oct-shlib.cc (octave_dyld_shlib): New class. | |
7390 (make_shlib): Instantiate octave_dyld_shlib. | |
7391 | |
4152 | 7392 2002-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
7393 | |
4153 | 7394 * CMatrix.cc, dMatrix.cc: Sprinkle with OCTAVE_QUIT. |
7395 | |
4152 | 7396 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Abort on error. |
7397 | |
7398 * Array.h: Include <cstddef> here. | |
7399 | |
4142 | 7400 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
7401 | |
4144 | 7402 * DASPK.cc (DASPK::do_integrate): Resize rwork and iwork before |
7403 using them. Accept inequality contraint option of 0. Assign | |
7404 pabs_tol and prel_tol before calling DASPK. Don't redeclare | |
7405 abs_tol and rel_tol. | |
7406 | |
4143 | 7407 * cmd-edit.h (command_editor::filename_completion_desired): New |
7408 static function. | |
7409 (command_editor::do_filename_completion_desired): New virtual function. | |
7410 * oct-rl-edit.c (octave_rl_filename_completion_desired): New function. | |
7411 * oct-rl-edit.h: Provide decl. | |
7412 | |
4142 | 7413 * Array2.cc (Array2<T>::get_size): #define MALLOC_OVERHEAD to |
7414 avoid OS X linker bug. | |
7415 * ArrayN.cc (ArrayN<T>::get_size): Likewise. | |
7416 | |
4139 | 7417 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
7418 | |
4141 | 7419 * ODESFunc.h (ODESFunc::ODES_fsub, ODESFunc::ODES_bsub, |
7420 ODESFunc::ODES_jsub): Reorder args for consistency with other | |
7421 solvers. | |
7422 * ODESSA.cc: Fix all callers. | |
7423 | |
4139 | 7424 * mx-inlines.cc (MX_BASE_REDUCTION_OP): Also return scalar |
7425 MT_RESULT if nr == 1 && nc == 0 && dim == -1 (i.e., | |
7426 sum(zeros(1,0)) returns 0, not [](1x0)). | |
7427 | |
4136 | 7428 2002-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
7429 | |
7430 * Makefile.in (LINK_DEPS): Include $(FLIBS) here too. | |
7431 | |
4132 | 7432 2002-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7433 | |
4133 | 7434 * DASRT.cc (DASRT::integrate): Fix computation of lrw |
7435 (ddasrt_f): Combine loops. | |
7436 | |
4132 | 7437 * NLEqn.cc (NLEqn::solve): Return current estimate of solution |
7438 instead of empty vector if user termninates iteration. | |
7439 | |
4130 | 7440 2002-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
7441 | |
7442 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
7443 octave_read_complex, octave_write_double, octave_write_complex): | |
7444 New functions. | |
7445 * CMatrix.cc (operator << (std::ostream&, const ComplexMatrix&)): | |
7446 Use octave_write_complex. | |
7447 (operator >> (std::istream&, const ComplexMatrix&)): | |
7448 Use octave_read_complex. | |
7449 * dMatrix.cc (operator << (std::ostream&, double)): | |
7450 Use octave_write_double. | |
7451 (operator >> (std::istream&, double)): Use octave_read_double. | |
7452 | |
4126 | 7453 2002-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
7454 | |
7455 * oct-kpse.c (octave_kpse_clear_dir_cache): Delete. | |
7456 * oct-kpse.h: Delete decl. | |
7457 * pathsearch.cc (dir_path::init): Delete unnecessary call to | |
7458 ::octave_kpse_clear_dir_cache. | |
7459 | |
4123 | 7460 2002-10-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
7461 | |
4124 | 7462 * lo-sstream.h: Undef HAVE_SSTREAM if using a version of g++ |
7463 earlier than 3.0. | |
7464 | |
4123 | 7465 * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. |
7466 (liboctave.$(SHLEXT)): Not here. | |
7467 | |
5095 | 7468 2002-10-17 Paul Kienzle <pkienzle@users.sf.net> |
4110 | 7469 |
7470 * oct-shlib.cc (octave_w32_shlib): New class to support Windows. | |
7471 | |
4108 | 7472 2002-10-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
7473 | |
7474 * Makefile.in (install-lib): Don't bother with versions for | |
7475 $(SHLBIN) files. | |
7476 | |
5095 | 7477 2002-10-16 Paul Kienzle <pkienzle@users.sf.net> |
4105 | 7478 |
7479 * Makefile.in (LIB_DEPS): Include $(LIBS). | |
7480 | |
4102 | 7481 2002-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7482 | |
7483 * lo-cieee.c: Move everything but lo_ieee_init here. | |
7484 (lo_ieee_Inf_value, lo_ieee_NA_value, lo_ieee_NaN_value): | |
7485 New functions. | |
7486 | |
7487 * Makefile.in (install): No need to use cd to create links. | |
7488 (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. | |
7489 | |
5095 | 7490 2002-10-14 Paul Kienzle <pkienzle@users.sf.net> |
4102 | 7491 |
7492 * Makefile.in: Merge liboctave with liboct-readline and | |
7493 liboct-pathsearch. | |
7494 Use link dependencies for shared libs if INCLUDE_LINK_DEPS. | |
7495 (libraries): Depend on versioned library. | |
7496 (liboctave.$(SHLEXT), liboctave.$(SHLEXT_VER)): Reverse actions -- | |
7497 build unversioned library, symbolic link adds version info. | |
7498 (install, uninstall): Handle link and load forms of the library | |
7499 separately. | |
7500 | |
4101 | 7501 2002-10-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7502 | |
7503 * oct-time.cc: Use OCTAVE_USE_WINDOWS_API instead of __WIN32__ and | |
7504 __CYGWIN__. | |
7505 | |
7506 * file-ops.cc (file_ops::dir_sep_char, file_ops::dir_sep_str, | |
7507 file_ops::dir_sep_chars): New static functions to replace | |
7508 OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS. | |
7509 | |
7510 * oct-env.cc (octave_env::do_set_program_name): | |
7511 Use file_ops::dir_sep_chars instead of OCTAVE_DIR_SEP_CHARS. | |
7512 (octave_env::do_base_pathname): Likewise. | |
7513 (octave_env::do_make_absolute): Likewise. | |
7514 | |
7515 * oct-env.cc (octave_env::do_make_absolute): | |
7516 Use file_ops::dir_sep_str instead of OCTAVE_DIR_SEP_STR. | |
7517 (octave_env::do_get_home_directory): Likewise. | |
7518 | |
7519 * file-ops.cc (is_dir_sep): Use dir_sep_chars instead of embedding | |
7520 that information here too. | |
7521 (tilde_find_suffix, isolate_tilde_prefix, tilde_expand_word): | |
7522 Use file_ops::dir_sep_char instead of OCTAVE_DIR_SEP_CHAR. | |
7523 | |
7524 * file-ops.h: Use OCTAVE_HAVE_WINDOWS_FILESYSTEM and | |
7525 OCTAVE_HAVE_POSIX_FILESYSTEM instead of __WIN32__ and __CYGWIN__. | |
7526 | |
4097 | 7527 2002-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
7528 | |
7529 * oct-env.h (octave_env::current_directory): Now mutable. | |
7530 (octave_env:do_getcwd): Now const. | |
7531 | |
7532 * file-ops.h, file-ops.cc (file_ops::is_dir_sep): New function. | |
7533 (OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS, | |
7534 OCTAVE_CURRENT_DIR_STR): New macros. | |
7535 * oct-env.cc (is_dir_sep): Delete. | |
7536 (octave_env::do_base_pathname): Look for OCTAVE_DIR_SEP_CHARS, not '/'. | |
7537 (octave_env::do_set_program_name): Likewise. | |
7538 (octave_env::do_polite_directory_format): Use file_ops::is_dir_sep | |
7539 instead of checking for '/'. | |
7540 (octave_env::pathname_backup): Likewise. | |
7541 (octave_env::do_absolute_pathname): Likewise. | |
7542 (octave_env::do_make_absolute): Likewise. | |
7543 If dot_path is empty, use getcwd to set current_dir. | |
7544 (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR | |
7545 instead of "/". | |
7546 | |
5095 | 7547 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 7548 |
7549 * lo-cutils.c: On non-Posix Windows systems, include winsock.h. | |
7550 | |
5095 | 7551 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 7552 |
7553 * oct-env.cc (octave_env::do_absolute_pathname): Recognize | |
7554 absolute path names under MinGW as well. | |
7555 | |
7556 2002-10-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7557 | |
7558 * oct-env.cc: Include <cctype> too. | |
7559 | |
4087 | 7560 2002-10-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
7561 | |
7562 * oct-env.cc (octave_env::do_absolute_pathname): Handle Windows | |
7563 filenames. | |
7564 (octave_env::do_make_absolute): Check for absolute name with | |
7565 do_absolute_path. | |
4088 | 7566 (octave_env::do_chdir): Likewise. |
7567 (is_dir_sep): New function. | |
4087 | 7568 |
5095 | 7569 2002-10-03 Paul Kienzle <pkienzle@users.sf.net> |
4085 | 7570 |
4086 | 7571 * oct-time.cc (octave_time::stamp): Better resolution for Windows |
7572 systems. | |
4085 | 7573 |
4083 | 7574 2002-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
7575 | |
7576 * dMatrix.cc (Matrix::read): Clean up error handling logic. | |
7577 | |
4080 | 7578 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
7579 | |
4081 | 7580 * file-ops.cc (file_ops::mkdir): Handle one-arg mkdir here. |
7581 | |
4080 | 7582 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
7583 | |
5095 | 7584 2002-09-27 Per Persson <persquare@mac.com> |
4076 | 7585 |
7586 * oct-group.cc (octave_group::octave_group): Dont' forget to set | |
7587 gr_gid too. | |
7588 | |
4072 | 7589 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
7590 | |
4074 | 7591 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
7592 lo_ieee_* functions. | |
4072 | 7593 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074 | 7594 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
7595 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. | |
4072 | 7596 * lo-cieee.c: New file. |
4074 | 7597 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072 | 7598 * lo-ieee.h: Now all extern "C". |
4074 | 7599 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
7600 lo-mappers.cc and rename from xisnan, xfinite, xisinf. | |
7601 | |
4072 | 7602 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
7603 Now extern. | |
7604 | |
4066 | 7605 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
7606 | |
7607 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
7608 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
7609 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
7610 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
7611 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
7612 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
7613 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
7614 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
7615 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
7616 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
7617 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
7618 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
7619 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
7620 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
7621 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
7622 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
7623 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
7624 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
7625 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
7626 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
7627 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
7628 oct-alloc.cc: | |
7629 If __GNUG__, use pragma interface/implementation. Allow this to | |
7630 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. | |
7631 | |
5095 | 7632 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
4064 | 7633 |
4066 | 7634 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
7635 system readlink function is not available. | |
7636 | |
4065 | 7637 * lo-mappers.cc (xerf, xerfc): Delete. |
7638 * lo-mappers.h (xerf, xerfc): Delete decls. | |
7639 | |
4064 | 7640 * lo-mappers.cc: Remove unused #define M_PI. |
7641 * lo-specfun.cc: Add #define M_PI if needed. | |
7642 | |
4062 | 7643 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7644 | |
7645 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility | |
7646 that geteuid doesn't exist. | |
7647 | |
7648 * LP.h: Rename LP class to octave_LP. | |
7649 LPsolve.h: Change all uses. | |
7650 | |
7651 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove | |
7652 incorrect token-pasting op. | |
7653 | |
7654 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to | |
7655 define lstat. | |
7656 | |
4061 | 7657 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
7658 | |
7659 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
7660 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
7661 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
7662 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
7663 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
7664 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
7665 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
7666 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
7667 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
7668 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
7669 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
7670 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
7671 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
7672 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
7673 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
7674 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
7675 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
7676 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
7677 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
7678 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
7679 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
7680 oct-alloc.cc: | |
7681 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ | |
7682 to decide whether to use the interface/implementation pragmas. | |
7683 | |
4058 | 7684 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
7685 | |
7686 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. | |
7687 | |
4055 | 7688 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
7689 | |
7690 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use | |
7691 qualified names. | |
7692 | |
4051 | 7693 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
7694 | |
4054 | 7695 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
7696 ArrayN.cc: Add typename where needed. | |
4053 | 7697 |
4051 | 7698 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
7699 strstream classes directly. | |
7700 * DASRT.cc: Likewise. | |
7701 * DASSL.cc: Likewise. | |
7702 * LSODE.cc: Likewise. | |
7703 * ODESSA.cc: Likewise. | |
7704 | |
7705 * cmd-hist.cc: Don't include <strstream>. | |
7706 * oct-shlib.cc: Likewise. | |
7707 | |
7708 * lo-sstream.h: New file. | |
7709 | |
4049 | 7710 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
7711 | |
7712 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): | |
7713 New data members. | |
7714 (LSODE::sanity_checked): Delete unused data member. | |
7715 | |
7716 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, | |
7717 prel_tol, pinfo, piwork, prwork): New data members. | |
7718 * DASSL.h (DASSL): Likewise. | |
7719 | |
7720 * DASRT.h (DASRT::sanity_checked): Delete unused data member. | |
7721 | |
7722 * DASRT.cc (DASRT::integrate (double)): Better handling of | |
7723 initialization, changes in options, etc. | |
7724 * DASPK.cc (DASPK::do_integrate): Likewise. | |
7725 * DASSL.cc (DASSL::do_integrate): Likewise. | |
7726 * LSODE.cc (LSODE::do_integrate): Likewise. | |
7727 | |
4047 | 7728 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
7729 | |
4049 | 7730 * DAEFunc.h (DAEFunc::reset): New data member. |
7731 * DAERTFunc.h (DAERTFunc::reset): Likewise. | |
7732 | |
7733 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. | |
7734 (base_diff_eqn::clear_stop_time): Likewise. | |
7735 | |
4047 | 7736 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
7737 * DASPK.cc (DASPK::do_integrate (double)): Likewise. | |
7738 | |
5095 | 7739 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
4044 | 7740 |
7741 * DASPK-opts.in, DASPK.h: Move include to .in file. | |
7742 * DASRT-opts.in, DASRT.h: Likewise. | |
7743 * DASSL-opts.in, DASSL.h: Likewise. | |
7744 * LSODE-opts.in, LSODE.h: Likewise. | |
7745 * NLEqn-opts.in, NLEqn.h: Likewise. | |
7746 * ODESSA-opts.in, ODESSA.h: Likewise. | |
7747 | |
4038 | 7748 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7749 | |
4042 | 7750 * LSODE.cc (LSODE::error_message): Also return current T on |
7751 failures when that makes sense. | |
4043 | 7752 * DASSL.cc (DASSL::error_message): Likewise. |
7753 * DASRT.cc (DASRT::error_message): Likewise. | |
7754 * DASPK.cc (DASPK::error_message): Likewise. | |
7755 * ODESSA.cc (ODESSA:error_message): Likewise. | |
4042 | 7756 |
4038 | 7757 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
7758 $(LIBKPATHSEA) here. | |
7759 | |
4025 | 7760 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
7761 | |
7762 * lo-ieee.cc (lo_ieee_is_NA): New function. | |
7763 (lo_ieee_is_NaN_or_NA): New function. | |
7764 (octave_NA): New global value. | |
7765 (octave_ieee_init): Initialize it. | |
7766 * lo-mappers.cc (octave_is_NA): New function. | |
7767 (octave_is_NaN_or_NA): New function. | |
7768 (xisnan): Return false if NaN looks like a missing value. | |
7769 (xisnan (const Complex&)): Use xisnan here. | |
7770 | |
4015 | 7771 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
7772 | |
4017 | 7773 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
7774 ComplexMatrix::cumprod, ComplexMatrix::cumsum, | |
7775 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): | |
7776 Default value for dim is -1, not 0. | |
7777 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, | |
7778 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. | |
7779 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. | |
7780 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. | |
7781 | |
4015 | 7782 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
7783 New macros. | |
7784 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and | |
7785 MX_BASE_REDUCTION_OP. | |
7786 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. | |
7787 | |
4014 | 7788 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
7789 | |
4015 | 7790 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
7791 Return boolMatrix, not Matrix. | |
7792 | |
7793 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. | |
7794 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. | |
7795 (Matrix::all): Replace guts with MX_ALL_OP. | |
7796 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. | |
7797 (ComplexMatrix::all): Replace guts with MX_ALL_OP. | |
7798 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. | |
7799 (boolMatrix::all): Replace guts with MX_ALL_OP. | |
7800 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. | |
7801 (charMatrix::all): Replace guts with MX_ALL_OP. | |
7802 | |
7803 * dMatrix.h (Matrix::any): New arg, dim. | |
7804 (Matrix::all): Likewise. | |
7805 * CMatrix.h (ComplexMatrix::any): Likewise. | |
7806 (ComplexMatrix::all): Likewise. | |
7807 * boolMatrix.h (boolMatrix::any): Likewise. | |
7808 (boolMatrix::all): Likewise. | |
7809 * chMatrix.h (charMatrix::any): Likewise. | |
7810 (charMatrix::all): Likewise. | |
7811 | |
4014 | 7812 * Makefile.in: Use $@-t instead of $@.t. |
7813 | |
4004 | 7814 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
7815 | |
7816 * lo-specfun.cc (gammainc): New arg, err, for scalar version. | |
7817 Use it in matrix versions to avoid spewing multiple errors. | |
7818 Call xgammainc instead of dgamit. | |
7819 | |
3998 | 7820 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
7821 | |
7822 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): | |
7823 Get rows and columns right in loop. | |
7824 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. | |
7825 | |
7826 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7827 | |
7828 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. | |
7829 * DASRT.cc (DASRT::integrate): Likewise. | |
7830 * DASSL.cc (DASSL::do_integrate): Likewise. | |
7831 | |
7832 * Quad.cc: Don't pass tolerances in constructors. | |
7833 | |
7834 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, | |
7835 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. | |
7836 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, | |
7837 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically | |
7838 from corresponding .in files. | |
7839 * LSODE.h, Quad.h: Replace options class definitions with included | |
7840 file. | |
7841 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to | |
7842 create OPTS_INC files from OPTS_INC_SRC files. | |
7843 (stamp-prereq): New target. | |
7844 (libraries): Depend on stamp-prereq. | |
7845 Include stamp-prereq along with $(MAKEDEPS). | |
7846 | |
3997 | 7847 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
7848 | |
7849 * base-de.h (base_diff_eqn::istate): New data member. | |
7850 (base_diff_eqn::integration_state): New member function. | |
7851 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding | |
7852 data members and functions. | |
7853 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. | |
7854 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. | |
7855 | |
3990 | 7856 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
7857 | |
3995 | 7858 * base-de.h (base_diff_eqn::stop_time, |
7859 base_diff_eqn::stop_time_set, base_diff_eqn::restart, | |
7860 base_diff_eqn::integration_error): New data members. | |
7861 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, | |
7862 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, | |
7863 base_diff_eqn::error_message): New member functions. | |
7864 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, | |
7865 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data | |
7866 members and functions. | |
7867 | |
3992 | 7868 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
7869 * DASRT.cc (DASRT::DASRT): Set ng here. | |
3993 | 7870 (DASRT::integrate): Don't forget to set nn. |
3992 | 7871 |
3991 | 7872 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
7873 * DASSL.cc (ddassl_j): Make it work. | |
7874 * DASPK.cc (ddaspk_j): Likewise. | |
7875 | |
3990 | 7876 * DAE.cc: Delete. |
7877 | |
7878 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE | |
7879 solving with root finding. | |
7880 * Makefile.in: Add them to the appropriate lists. | |
7881 | |
7882 * base-dae.h: New file. | |
7883 * Makefile.in (INCLUDES): Add it to the list. | |
7884 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. | |
7885 | |
3984 | 7886 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
7887 | |
7888 * ODE.h: Move integrate and do_integrate method declarations and | |
7889 definitions here. | |
7890 * base-de.h: From here. | |
7891 | |
7892 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. | |
7893 * Makefile.in: Add them to the appropriate lists. | |
7894 (LIBOCTAVE_CXX_SOURCES): | |
7895 | |
3971 | 7896 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
7897 | |
7898 * NLEqn.cc (NLEqn::error_message): New function. | |
7899 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. | |
7900 | |
3970 | 7901 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
7902 | |
7903 * lo-utils.cc (octave_fgetl): New function. | |
7904 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. | |
7905 | |
3959 | 7906 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
7907 | |
7908 * LSODE.cc (LSODE::error_message): New function. | |
7909 * LSODE.h: Provide decl. | |
7910 (LSODE::integration_state): New function. | |
7911 (LSODE::integration_ok): New function. | |
7912 | |
3952 | 7913 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7914 | |
3955 | 7915 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
7916 (LSODE_options::set_integration_method, | |
7917 LSODE_options::integration_method): New functions. | |
3954 | 7918 |
3952 | 7919 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
7920 Change all uses. | |
7921 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. | |
7922 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): | |
7923 New function. | |
7924 | |
7925 * Array.h (Array::fortran_vec): New const version. | |
7926 | |
3951 | 7927 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
7928 | |
7929 * cmd-edit.cc (gnu_readline::history_search_backward): New function. | |
7930 (gnu_readline::history_search_forward): Likewise. | |
7931 (gnu_readline::gnu_readline): Use them instead of passing pointers | |
7932 to extern "C" functions to octave_rl_ad_defun. | |
7933 | |
5095 | 7934 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
3946 | 7935 |
7936 * DASPK.cc (ddaspk_psol): Return value. | |
7937 * oct-rl-edit.c: Use /* ... */ to comment. | |
7938 | |
3945 | 7939 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
7940 | |
7941 * DASSL.h (DASSL_options::init): Undo previous change. | |
7942 (DASSL_options::set_absolute_tolerance): Likewise. | |
7943 * LSODE.h (LSODE_options::init): Likewise. | |
7944 (LSODE_options::set_absolute_tolerance): Likewise. | |
7945 | |
7946 * DASPK.h (DASPK_options::init): Use default absolute tolerance of | |
7947 sqrt(eps), not eps^2. | |
7948 DASPK_options::set_absolute_tolerance): Likewise. | |
7949 | |
5095 | 7950 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
3944 | 7951 |
7952 * Array.h (Array<T>::resize_fill_value): Return default initialized | |
7953 object. | |
7954 | |
3933 | 7955 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7956 | |
7957 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. | |
7958 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. | |
7959 (octave_rl_set_basic_word_break_characters, | |
7960 octave_rl_set_completer_word_break_characters): New functions. | |
7961 * oct-rl-edit.h: Provide decls. | |
7962 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, | |
7963 gnu_readline::do_set_completer_word_break_characters): New functions. | |
7964 (command_editor::set_basic_quote_characters, | |
7965 command_editor::set_completion_append_character): New static functions. | |
7966 * cmd-edit.h: Provide decls. | |
7967 (command_editor::do_set_basic_word_break_characters, | |
7968 command_editor::do_set_completer_word_break_characters): | |
7969 New virtual functions. | |
7970 | |
7971 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h | |
7972 (resize_fill_value): New static function. | |
7973 | |
7974 * Array-idx.h (Array<T>::index): New args, resize_ok and | |
7975 resize_fill_value. | |
7976 * Array2-idx.h (Array2<T>::index): Likewise. | |
7977 * ArrayN-idx.h (ArrayN<T>::index): Likewise. | |
7978 | |
7979 * Array2.cc (Array<T>::print_info): New function. | |
7980 * Array2.h: Provide decl. | |
7981 | |
7982 * Array.cc (Array<T>::print_info): New function. | |
7983 * Array.h: Provide decl. | |
7984 | |
3928 | 7985 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
7986 | |
7987 * idx-vector.h (idx_vector::idx_vector (int)): New function. | |
7988 (idx_vector_rep::idx_vector_rep (int)): New decl. | |
7989 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. | |
7990 | |
7991 * Array.h (Array<T>::resize_fill_value (void)): New static function. | |
7992 (assign (Array<LT>&, const Array<RT>&)): Use it. | |
7993 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. | |
7994 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. | |
7995 | |
5095 | 7996 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
3928 | 7997 |
7998 * Array3.h (Array3<T>::checkelem): Improve error message. | |
7999 * ArrayN.h (ArrayN<T>::range_error): Likewise. | |
8000 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. | |
8001 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. | |
8002 | |
3919 | 8003 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
8004 | |
8005 * DASSL.h (DASSL_options::init): Undo previous change. | |
8006 (DASSL_options::set_absolute_tolerance): Likewise. | |
8007 | |
3912 | 8008 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
8009 | |
8010 * DASPK.h, DASPK.cc: New files. | |
8011 * Makefile.in: Add them to the appropriate lists. | |
8012 | |
3904 | 8013 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
8014 | |
8015 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): | |
8016 Simplify indexing when one or both of the indices are empty. | |
8017 | |
3896 | 8018 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
8019 | |
8020 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. | |
8021 (DASSL_options::set_absolute_tolerance): Likewise. | |
8022 * LSODE.h (LSODE_options::init): Likewise. | |
8023 (LSODE_options::set_absolute_tolerance): Likewise. | |
8024 | |
5095 | 8025 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
3887 | 8026 |
8027 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. | |
8028 * file-stat.cc (file_stat::update_internal, file_stat::copy): | |
8029 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. | |
8030 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. | |
8031 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. | |
8032 * file-stat.h: Likewise. | |
8033 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, | |
8034 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE | |
8035 instead of HAVE_STRUCT_TM_TM_ZONE. | |
8036 * strftime.c: Likewise. | |
8037 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, | |
8038 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, | |
8039 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, | |
8040 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, | |
8041 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
8042 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
8043 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. | |
8044 | |
5095 | 8045 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
3883 | 8046 |
8047 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition | |
8048 internally when the user requests it. | |
8049 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
8050 * dbleQR.cc (QR::init): Ditto. | |
8051 * dbleQRP.cc (QRP::init): Ditto. | |
8052 | |
3874 | 8053 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
8054 | |
8055 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a | |
8056 definition for NULL by passing 0 as the last arg to fftwnd_one. | |
8057 (octave_fftw::ifft2d): Likewise. | |
8058 | |
5095 | 8059 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
3873 | 8060 |
8061 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). | |
8062 | |
3867 | 8063 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
8064 | |
8065 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. | |
8066 (LS_DO_WRITE): Likewise. | |
8067 | |
3864 | 8068 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
8069 | |
8070 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. | |
8071 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. | |
8072 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. | |
8073 | |
8074 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, | |
8075 MX_REDUCTION_OP_ROW_EXPR): New macros. | |
8076 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. | |
8077 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. | |
8078 | |
8079 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. | |
8080 DIM == -1 now means no orientation for vector sums. | |
8081 * dMatrix.cc (ComplexMatrix::sumsq): Use it. | |
8082 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. | |
8083 | |
3858 | 8084 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
8085 | |
8086 * Range.cc (Range::nelem_internal): Special case ranges that must | |
8087 have zero elements. | |
8088 | |
3854 | 8089 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
8090 | |
3857 | 8091 * Makefile.in: Split out readline and pathsearch functionality |
8092 into separate liboct-readline and liboct-pathsearch libraries. | |
8093 | |
3854 | 8094 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857 | 8095 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
8096 to do nothing for this call to rl_clear_screen. | |
3854 | 8097 |
3849 | 8098 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
8099 | |
8100 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied | |
8101 function. | |
8102 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. | |
8103 | |
3838 | 8104 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
8105 | |
8106 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, | |
8107 Matrix::inverse): Handle the case of rcond being a NaN the same as | |
8108 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. | |
8109 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, | |
8110 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. | |
8111 | |
3836 | 8112 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
8113 | |
8114 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. | |
8115 | |
8116 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, | |
8117 Array-b.cc: Instantiate three arg assign functions. | |
8118 | |
8119 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): | |
8120 New arg, resize_fill_value. | |
8121 * ArrayN.h: Provide declaration. | |
8122 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling | |
8123 three arg version. | |
8124 | |
8125 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): | |
8126 New arg, resize_fill_value. | |
8127 * Array3.h: Provide declaration. | |
8128 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling | |
8129 three arg version. | |
8130 | |
8131 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
8132 New arg, resize_fill_value. | |
8133 * Array2.h: Provide declaration. | |
8134 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling | |
8135 three arg version. | |
8136 | |
8137 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
8138 New arg, resize_fill_value. | |
8139 * Array.h: Provide declaration. | |
8140 (assign (Array<LT>&, const Array<RT>&): Define here by calling | |
8141 three arg version. | |
8142 | |
3833 | 8143 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
8144 | |
8145 * pathsearch.cc (dir_path::set_program_name): Set the environment | |
8146 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS | |
8147 to the empty string. | |
8148 | |
3832 | 8149 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
8150 | |
8151 * Array2.h (Array2<T>::operator = (const Array2<T>&)): | |
8152 Don't check for rep != a.rep. | |
8153 | |
3827 | 8154 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
8155 | |
8156 * oct-fftw.h, oct-fftw.cc: New files. | |
8157 * Makefile.in (INCLUDES, SOURCES): Add new files. | |
8158 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, | |
8159 ifourier2d}): Use fftw if available. | |
8160 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): | |
8161 Likewise. | |
8162 | |
3821 | 8163 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
8164 | |
8165 * Makefile.in (install-lib): Don't use mk-libdir-link. | |
8166 (install-inc): Don't use mk-includedir-link. | |
8167 | |
3803 | 8168 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
8169 | |
8170 * lo-cutils.c (octave_gethostname): New function. | |
8171 * lo-utils.h: Provide declaration. | |
8172 * oct-env.cc (octave_env::do_get_host_name): | |
8173 Call octave_gethostname, instead of gethostname. | |
8174 | |
8175 * lo-cutils.c (gethostname): Define here. | |
8176 * lo-sysdep.cc: Not here. | |
8177 | |
3786 | 8178 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
8179 | |
8180 * lo-cutils.c: Don't declare strptime. | |
8181 (oct_strptime): Cast return type of strptime to char*. | |
8182 | |
3777 | 8183 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
8184 | |
3779 | 8185 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
8186 (octave_rl_set_name): call rl_re_read_init_file with two args. | |
8187 (octave_rl_read_init_file): Ditto. | |
8188 (octave_rl_clear_undo_list): Call rl_free_undo_list, not | |
8189 free_undo_list. | |
8190 (octave_rl_completion_matches): Call rl_completion_matches, not | |
8191 completion_matches. | |
8192 (octave_rl_enable_paren_matching): New function. | |
8193 (octave_rl_set_blink_matching_paren_flag): Delete. | |
8194 (octave_rl_get_blink_matching_paren_flag): Delete. | |
8195 | |
3777 | 8196 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
8197 tanh (const Complex&)): Declare and define if not | |
8198 CXX_ISO_COMPLIANT_LIBRARY. | |
8199 | |
3776 | 8200 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
8201 | |
8202 * lo-mappers.h (tanh (const Complex&)): Only declare if not | |
8203 CXX_ISO_COMPLIANT_LIBRARY. | |
8204 | |
3775 | 8205 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
8206 | |
3776 | 8207 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
8208 CXX_ISO_COMPLIANT_LIBRARY. | |
8209 | |
3775 | 8210 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
8211 archive libraries containing templates. | |
8212 | |
8213 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, | |
8214 get_zero_len_size, all_colon_equiv): Inline. | |
8215 (ArrayN<T>::index): Rename idx to arr_idx. | |
8216 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, | |
8217 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, | |
8218 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. | |
8219 | |
8220 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8221 | |
8222 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), | |
8223 log10 (const Complex&)): Delete. | |
8224 | |
8225 * oct-cmplx.h: Define forwarding functions for real, imag, abs, | |
8226 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, | |
8227 sinh, sqrt, tan, and tanh. | |
8228 | |
3769 | 8229 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
8230 | |
8231 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: | |
8232 Add std:: namespace qualifier as needed. | |
8233 | |
8234 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. | |
8235 Change all uses to match. | |
8236 | |
3767 | 8237 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
8238 | |
8239 * lo-cutils.c: Don't delcare strptime. | |
8240 | |
3760 | 8241 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
8242 | |
8243 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): | |
8244 Return correct size result for empty matrix case. | |
8245 | |
3757 | 8246 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
8247 | |
8248 * lo-mappers.cc (xmin (const Complex&, const Complex& y): | |
8249 If args are equal in magnitude, return first arg instead of | |
8250 second. | |
8251 | |
3752 | 8252 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
8253 | |
3755 | 8254 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
8255 then try harder to compute correct number of elements. | |
3753 | 8256 |
3752 | 8257 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
8258 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. | |
8259 | |
3750 | 8260 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
8261 | |
3751 | 8262 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
8263 Rename n_intervals to be n_elt. | |
8264 | |
3750 | 8265 * strptime.c: Surround everything after including config.h in |
8266 #ifndef HAVE_STRPTIME ... #endif. | |
8267 | |
3742 | 8268 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
8269 | |
8270 * Array-idx.h (assign): When resizing, cast fill value to LT. | |
8271 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. | |
8272 | |
3741 | 8273 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
8274 | |
8275 * MArray-defs.h: Protect against multiple inclusion. | |
8276 | |
3739 | 8277 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
8278 | |
8279 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the | |
8280 end of the list, to be compatible with previous versions of Octave. | |
8281 | |
3736 | 8282 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
8283 | |
8284 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, | |
8285 since mktime is supposed to `normalize' the results for us. | |
8286 | |
3731 | 8287 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
8288 | |
8289 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices | |
3732 | 8290 and vectors. Use xelem for faster access to elements when copying. |
3731 | 8291 |
3726 | 8292 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
8293 | |
8294 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): | |
8295 Correct indexing for operation across rows. | |
8296 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. | |
8297 | |
3725 | 8298 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
8299 | |
8300 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying | |
8301 elements if arg is a colon. | |
8302 | |
5095 | 8303 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
3723 | 8304 |
3795 | 8305 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723 | 8306 (Matrix::cumsum (int) const): Likewise. |
8307 (Matrix::prod (int) const): Likewise. | |
8308 (Matrix::sum (int) const): Likewise. | |
8309 (Matrix::sumsq (int) const): Likewise. | |
8310 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. | |
8311 (ComplexMatrix::cumsum (int) const): Likewise. | |
8312 (ComplexMatrix::prod (int) const): Likewise. | |
8313 (ComplexMatrix::sum (int) const): Likewise. | |
8314 (ComplexMatrix::sumsq (int) const): Likewise. | |
8315 | |
3722 | 8316 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
8317 | |
8318 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set | |
8319 size if Array<T>::index returns an empty array. | |
8320 | |
3710 | 8321 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
8322 | |
8323 * file-ops.cc (file_ops::link, file_ops::symlink, | |
8324 file_ops::readlink): New functions. | |
8325 | |
3709 | 8326 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
8327 | |
8328 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is | |
8329 indexed, always return an object the same size as the index arg. | |
8330 | |
8331 * oct-time.cc (octave_base_tm::strftime): Return empty string for | |
8332 empty format. | |
8333 | |
3706 | 8334 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
8335 | |
8336 * lo-cutils.c (oct_strptime): New function. | |
8337 * oct-time.cc (octave_strptime::init): Call it instead of strptime. | |
8338 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. | |
8339 | |
3702 | 8340 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
8341 | |
3703 | 8342 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
8343 | |
3702 | 8344 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
8345 | |
3689 | 8346 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
8347 | |
8348 * dMatrix.h (read_int): Provide declaration. | |
8349 | |
3688 | 8350 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
8351 | |
8352 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. | |
8353 (write_doubles): Ditto. | |
8354 * data-conv.h: Ditto. | |
8355 (enum save_type): New values, LS_U_LONG and LS_LONG. | |
8356 | |
3685 | 8357 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
8358 | |
8359 * boolMatrix.h: Declare MM_CMP_OPS here. | |
8360 * boolMatrix.cc: Define them here. | |
8361 | |
3680 | 8362 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
8363 | |
8364 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is | |
8365 previously undefined and set size of x to size of bool index. | |
8366 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): | |
8367 Allow z_len to be zero. | |
8368 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. | |
8369 If frozen, don't assert that frozen_at_z_len == z_len. | |
8370 | |
3670 | 8371 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
8372 | |
8373 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen | |
8374 instead of rl_clear_screen. | |
8375 | |
3665 | 8376 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
8377 | |
8378 * Array-d.cc: Instantiate ArrayN<double> here too. | |
8379 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. | |
8380 * Makefile.in: Add them to the appropriate lists. | |
8381 | |
3657 | 8382 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
8383 | |
8384 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. | |
8385 | |
3635 | 8386 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
8387 | |
8388 * lo-sysdep.h: octave_chdir returns int, not bool. | |
8389 | |
3615 | 8390 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
8391 | |
8392 * Makefile.in (liboctave.$(SHLEXT)): Delete target | |
8393 before rebuilding. | |
8394 | |
5095 | 8395 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
3615 | 8396 |
5261 | 8397 * Makefile.in (liboctave.$(LIBEXT)): New target. |
3615 | 8398 (libraries): Depend only on library targets, not archive members. |
8399 | |
3613 | 8400 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
8401 | |
8402 * Makefile.in: (objects): New target. | |
8403 | |
8404 * lo-cutils.c: New file. | |
8405 * Makefile.in (SOURCES): Add it to the list. | |
8406 * lo-utils.h: Declare octave_qsort here. | |
8407 * Array.h (Array::qsort): Use it here. | |
8408 | |
3607 | 8409 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
8410 | |
8411 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. | |
8412 | |
3598 | 8413 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
8414 | |
8415 * oct-rl-hist.c (octave_history_list): Do something when not | |
8416 printing line numbers. Fix reallocation of retval. | |
8417 | |
3597 | 8418 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
8419 | |
8420 * Makefile.in (install-inc): Install files in | |
8421 $(octincludedir)/octave. | |
8422 (uninstall): Remove them from the correct directory too. | |
8423 | |
8424 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if | |
8425 they are not already defined. | |
8426 | |
3588 | 8427 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
8428 | |
8429 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: | |
8430 Delete declarations and definitions of mixed-type vector-vector ops. | |
8431 | |
3585 | 8432 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
8433 | |
8434 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS | |
8435 matrix and vector objects. | |
8436 | |
8437 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to | |
8438 return type from second arg type. | |
8439 (MDM_BIN_OP): Likewise, for first arg type. | |
8440 | |
8441 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
8442 Matrix::fourier2d, Matrix::ifourier2d): Likewise. | |
8443 | |
8444 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly | |
8445 request ColumnVector to ComplexColumnVector, and Matrix to | |
8446 ComplexMatrix conversions. | |
8447 | |
8448 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its | |
8449 initial value using ComplexMatrix constructor. | |
8450 | |
8451 * CColVector.cc (product, quotient, | |
8452 operator * (const DiagMatrix&, const ComplexColumnVetor&)): | |
8453 Fix type of returned value. | |
8454 * CDiagMatrix.cc (ComplexDiagMatrix::row, | |
8455 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. | |
8456 | |
8457 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, | |
8458 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, | |
8459 dRowVector.h: Declare some constructors explicit, to disallow | |
8460 potentially problematic automatic type conversions. | |
8461 | |
3580 | 8462 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
8463 | |
3582 | 8464 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
8465 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: | |
8466 More new files. | |
8467 * Makefile.in: Add them to the appropriate lists. | |
8468 | |
8469 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, | |
8470 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, | |
8471 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, | |
8472 vx-s-crv.cc:, New files. | |
8473 * Makefile.in: Add them to the appropriate lists. | |
8474 | |
8475 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: | |
8476 Delete scalar by vector and vector by scalar binary ops. | |
8477 | |
3580 | 8478 * MArray-defs.h: More new macros to handle MDiagArray operators. |
8479 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. | |
8480 | |
3573 | 8481 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
8482 | |
3578 | 8483 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
8484 rl_event_hook before casting to void **. | |
8485 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. | |
8486 | |
3574 | 8487 * MArray-defs.h: Many new macros to make declaration and |
8488 definition of operators more consistent. | |
8489 | |
8490 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, | |
8491 CRowVector.h, dMatrix.h, CMatrix.h: Use them. | |
3573 | 8492 |
3569 | 8493 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
8494 | |
3572 | 8495 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
8496 (Matrix::ifourier2d): Likewise. | |
8497 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. | |
8498 (ComplexMatrix::ifourier2d): Likewise. | |
8499 | |
3569 | 8500 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
8501 | |
3504 | 8502 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
8503 | |
3519 | 8504 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
8505 readline library. | |
8506 * Makefile.in: Add them to the appropriate lists. | |
8507 | |
8508 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU | |
8509 readline history library. | |
8510 * Makefile.in: Add them to the appropriate lists. | |
8511 | |
3517 | 8512 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
8513 (LS_DO_READ): Likewise, for istream::read. | |
3518 | 8514 (write_doubles): Likewise. |
8515 (read_doubles): Likewise. | |
3517 | 8516 |
3516 | 8517 * oct-env.cc (octave_env::do_polite_directory_format): |
8518 Use operator== and substr method to do limited-length string | |
8519 comparison. | |
8520 | |
3513 | 8521 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512 | 8522 |
3511 | 8523 * Quad.h: Use do_integrate as name of pure virtual function. |
8524 | |
3508 | 8525 * base-de.h: Use tt instead of t as arg names. |
3511 | 8526 Add method with tcrit arg. |
8527 | |
3509 | 8528 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508 | 8529 |
3507 | 8530 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
8531 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. | |
8532 * Quad.cc (quad_fcn_ptr): Ditto. | |
8533 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. | |
8534 | |
3505 | 8535 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519 | 8536 * Makefile.in: Add them to the appropriate lists. |
3505 | 8537 |
8538 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. | |
3519 | 8539 * Makefile.in: Add them to the appropriate lists. |
3505 | 8540 |
3504 | 8541 * dMatrix.cc (write_int, read_int): No longer declared static. |
8542 | |
8543 * CDiagMatrix.h: Delete decls for friend operators that are | |
8544 handled by MDiagArray2 class. Move others outside class decl and | |
8545 strip friend status. | |
8546 * dDiagMatrix.h: Likewise. | |
8547 | |
8548 * MArray.h: Delete decls for friend operators inside class decl. | |
8549 * MArray2.h: Ditto. | |
8550 * MDiagArray2.h: Ditto. | |
8551 | |
8552 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all | |
8553 necessary parameters. Don't allocate memory in the macro. Change | |
8554 all uses. | |
8555 | |
8556 * dMatrix.h (class Matrix): Delete `friend class' decls. | |
8557 * CMatrix.h (class ComplexMatrix): Ditto. | |
8558 | |
8559 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, | |
8560 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, | |
8561 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to | |
8562 avoid type conflicts. Change all uses. | |
8563 | |
8564 * strptime.c (__mon_yday): Fix size of array decl. | |
8565 | |
8566 * mx-inlines.cc: Use `xnot' instead of `not' for function name. | |
8567 | |
8568 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous | |
8569 default value for second arg. | |
8570 | |
8571 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to | |
8572 references to ArrayRep. | |
8573 | |
3503 | 8574 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
8575 | |
3504 | 8576 * Array.h (Array::ArrayRep): Now protected, not private. |
3503 | 8577 |
8578 * All source files: Include iostream, fstream, strstream, | |
8579 etc. as needed instead of using forward declarations for these | |
3504 | 8580 classes. Add std:: qualifier as needed. |
3503 | 8581 |
3498 | 8582 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
8583 | |
8584 * oct-time.cc: Declare strptime extern "C". | |
8585 | |
3496 | 8586 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
8587 | |
8588 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. | |
8589 | |
3488 | 8590 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
8591 | |
3492 | 8592 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
8593 * Array3.h, Array3.cc: Use it in constructors and resize methods | |
8594 to get total size to be allocated. | |
8595 | |
3488 | 8596 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
8597 as bool, not int. | |
8598 | |
3482 | 8599 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
8600 | |
8601 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
8602 Allow A(idx) = RHS if idx is a boolean index with the same shape | |
8603 as A, even when do_fortran_indexing is not enabled. | |
8604 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). | |
8605 | |
3473 | 8606 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
8607 | |
3480 | 8608 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
8609 function pointer as final arg. Passed function (if any) will be | |
8610 called for singularity errors. | |
8611 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. | |
8612 | |
8613 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. | |
8614 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
8615 | |
3475 | 8616 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
8617 No longer bother with infinity or quiet_nan. | |
8618 | |
3473 | 8619 * Array2.cc (Array2<T>::get_size): New function. |
8620 (Array2<T>::Array2, Array2<T>::resize): Use it. | |
8621 | |
3472 | 8622 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
8623 | |
8624 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): | |
8625 New function. | |
8626 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
8627 Use it when indexing with one arg instead of faking a second one. | |
8628 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): | |
8629 Return empty matrices with the correct dimensions for A(:,:) = [] | |
8630 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all | |
8631 rows or columns. | |
8632 | |
8633 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool | |
8634 vector that is all true values with a length equal to n as colon | |
8635 equivalent. | |
8636 | |
3470 | 8637 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
8638 | |
8639 * strptime.c: Only include langinfo.h if _LIBC is defined. | |
8640 | |
5095 | 8641 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468 | 8642 |
8643 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling | |
8644 operations directly in step 2 and reverse step 2. | |
8645 * dMatrix.cc (Matrix::expm): Apply permutation and scaling | |
8646 operations directly in step 2 and reverse step 2. | |
8647 | |
3465 | 8648 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
8649 | |
8650 * oct-time.h, oct-time.cc (octave_strptime): New class. | |
8651 | |
8652 * strptime.c: New file, from glibc 2.1.2. | |
8653 * Makefile.in (SOURCES): Add strptime.c to the list. | |
8654 | |
3419 | 8655 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
8656 | |
8657 * MArray.h (MArray <const Array<T>&)): New constructor. | |
8658 | |
3415 | 8659 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
8660 | |
8661 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing | |
8662 NULL directory list returned from kpse_element_dirs | |
8663 | |
3375 | 8664 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
8665 | |
8666 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. | |
8667 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF | |
8668 directly, instead of calling ZGESV. | |
8669 | |
3358 | 8670 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
8671 | |
8672 * data-conv.cc (init_sized_type_lookup_table): New function. | |
8673 (string_to_data_type): Use it to improve lookup of data types. | |
8674 | |
3354 | 8675 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
8676 | |
8677 * dMatrix.cc (is_symmetric): Move here from Array2.cc. | |
8678 * Array2.h (is_symmetric): Delete declaration. | |
8679 | |
3347 | 8680 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
8681 | |
8682 * oct-env.cc (do_get_user_name): Reverse sense of test. | |
8683 | |
3344 | 8684 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
8685 | |
8686 * oct-time.cc (Fstrftime): Undo previous change. | |
8687 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
8688 | |
3334 | 8689 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
8690 | |
3336 | 8691 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
8692 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. | |
8693 | |
3334 | 8694 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
8695 Don't forget to pass length of third string argument to dgeesx. | |
8696 | |
8697 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length | |
8698 of third string argument to zgeesx. | |
8699 | |
3333 | 8700 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
8701 | |
8702 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): | |
8703 On errors, simply return `T ()'. | |
8704 (DiagArray2<T>::checkelem (int, int)): Likewise. | |
8705 | |
5095 | 8706 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3331 | 8707 |
8708 * dMatrix.cc (Matrix::expm): Do balancing here instead of using | |
8709 AEPBALANCE class. | |
8710 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
8711 | |
3325 | 8712 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
8713 | |
8714 * oct-shlib.cc, oct-shlib.h: New files. | |
8715 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
8716 | |
3322 | 8717 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
8718 | |
8719 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. | |
8720 * dRowVector.cc (linspace): Ditto. | |
8721 | |
8722 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. | |
8723 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
8724 | |
3312 | 8725 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
8726 | |
8727 * DASSL.cc (DASSL::do_integrate (double)): If we have a function | |
8728 to evaluate the Jacobian, set info(4), not iwork(4). | |
8729 Set rwork(1) to the maximum step size, not rwork(2). | |
8730 | |
3290 | 8731 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
8732 | |
8733 * oct-time.cc: Include <climits>. | |
8734 | |
3281 | 8735 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
8736 | |
8737 * cmd-edit.h (command_editor::do_resize_terminal): New function. | |
8738 * cmd-edit.cc (command_editor::resize_terminal): New function. | |
8739 (gnu_readline::do_resize_terminal): New function. | |
8740 | |
3268 | 8741 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
8742 | |
8743 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. | |
8744 * lo-ieee.c: Likewise. | |
8745 Delete extern "C" declarations for infinity and quiet_nan. | |
8746 | |
3262 | 8747 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
8748 | |
3263 | 8749 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
8750 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions | |
8751 `inline', not `static inline'. | |
8752 | |
3262 | 8753 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
8754 then cast to const int * to compare. | |
8755 | |
3257 | 8756 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
8757 | |
8758 * DAEFunc.h: Remove useless preprocessor conditional. | |
8759 | |
3255 | 8760 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
8761 | |
3257 | 8762 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
8763 Use octave_time object instead of time_t. | |
8764 | |
8765 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, | |
8766 file_stat::fs_ctime): Now octave_time objects. | |
8767 (file_stat::atime, file_stat::mtime, file_stat::ctime): | |
8768 Return octave_time objects. | |
8769 (file_stat::is_newer): Args are now octave_time objects instead of | |
8770 time_t. | |
8771 | |
3255 | 8772 * oct-time.h (octave_time::as_double): Delete. |
8773 (octave_time::operator double ()): New function. | |
8774 (octave_time::operator time_t ()): New function. | |
8775 (octave_time::ctime): New function. | |
8776 (octave_base_tm::strftime): Renamed from format_as_string. | |
8777 (octave_base_tm::asctime): New function. | |
8778 (operator == (const octave_time&, const octave_time&), | |
8779 operator != (const octave_time&, const octave_time&), | |
8780 operator < (const octave_time&, const octave_time&), | |
8781 operator <= (const octave_time&, const octave_time&), | |
8782 operator > (const octave_time&, const octave_time&), | |
8783 operator >= (const octave_time&, const octave_time&)): | |
8784 New comparison functions. | |
8785 | |
8786 * strftime.c: Move here from src directory. | |
8787 * Makefile.in (SOURCES): Add it to the list. | |
8788 | |
8789 * oct-time.h (octave_time::octave_time (time_t)): New constructor. | |
8790 | |
3253 | 8791 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
8792 | |
8793 * oct-time.h, oct-time.cc: New files. | |
8794 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
8795 | |
8796 * systime.h: Move here from src directory. | |
8797 * Makefile.in (INCLUDES): Add it to the list. | |
8798 | |
3248 | 8799 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
8800 | |
8801 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. | |
8802 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. | |
8803 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. | |
8804 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. | |
8805 | |
8806 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. | |
8807 | |
3243 | 8808 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
8809 | |
8810 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. | |
8811 | |
8812 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8813 | |
8814 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a | |
8815 column vector for A(:), for compatibility with Matlab. | |
8816 | |
8817 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8818 | |
8819 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set | |
8820 iopt when there are optional inputs in rwork or iwork. | |
8821 | |
3238 | 8822 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
8823 | |
8824 * Makefile.in (libraries): Use the libfoo.a(objects) method of | |
8825 creating static libs. | |
8826 | |
5095 | 8827 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
3238 | 8828 |
8829 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 | |
8830 and uint32 data types. | |
8831 | |
8832 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8833 | |
8834 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code | |
8835 for Linux. Remove old Linux-specific code. | |
8836 | |
3233 | 8837 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
8838 | |
8839 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): | |
8840 Don't require lengths to be equal. | |
8841 * CMatrix.cc (operator * (const ComplexColumnVector& v, const | |
8842 ComplexRowVector& a)): Likewise | |
8843 | |
5095 | 8844 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
3225 | 8845 |
8846 * statdefs.h: Only define mode_t if not already defined. | |
8847 | |
5095 | 8848 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
3225 | 8849 |
8850 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero | |
8851 when appropriate. | |
8852 | |
8853 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8854 | |
8855 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name | |
8856 before calling rl_initialize. | |
8857 | |
3220 | 8858 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8859 | |
8860 * lo-specfun.cc (besselh, airy, biry): New functions. | |
8861 Update Bessel function support to use library by D. E. Amos. | |
8862 | |
3219 | 8863 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8864 | |
8865 * cmd-edit.h (command_editor::readline): Add new variation that | |
8866 allows EOF information to be passed back to caller. | |
8867 | |
8868 * dMatrix.cc (Matrix::read): Do the right thing for EOF when | |
8869 amount of data to read is unspecified. | |
8870 | |
3215 | 8871 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8872 | |
3219 | 8873 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
8874 (DEFINE_OCTAVE_ALLOCATOR): Ditto. | |
8875 | |
3215 | 8876 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
8877 Add volatile qualifier to void* arg. | |
8878 Cast volatile void* arg to volatile char*. | |
8879 | |
8880 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8881 | |
8882 * cmd-edit.h (command_editor::do_set_event_hook): New function. | |
8883 (command_editor::do_restore_event_hook): Ditto. | |
8884 * cmd-edit.cc (command_editor::set_event_hook): Ditto. | |
8885 (command_editor::restore_event_hook): Ditto. | |
8886 (gnu_readline::do_set_event_hook): Ditto. | |
8887 (gnu_readline::do_restore_event_hook): Ditto. | |
8888 (gnu_readline::previous_event_hook): New data member. | |
8889 (gnu_readline::gnu_readline): Initialize previous_event_hook. | |
8890 | |
3206 | 8891 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8892 | |
8893 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. | |
8894 | |
8895 * Makefile.in (stmp-pic): New target. | |
8896 ($(PICOBJ)): Depend on stmp-pic, not pic. | |
8897 (clean): Remove stmp-pic | |
8898 | |
8899 * Makefile.in: Undo previous change to avoid optmization when | |
8900 compiling lo-ieee.cc. | |
8901 | |
8902 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8903 | |
8904 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and | |
8905 imaginary parts. | |
8906 (xisinf): Define in terms of xisinf for real and imaginary parts. | |
8907 | |
3203 | 8908 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8909 | |
8910 * boolMatrix.cc (boolMatrix::operator !): New function. | |
8911 | |
3196 | 8912 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8913 | |
8914 * pathsearch.h (dir_path::default_path): New data member. | |
8915 * pathsearch.cc (dir_path::init): Use it. | |
8916 | |
8917 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. | |
8918 | |
3189 | 8919 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8920 | |
8921 * chMatrix.cc (charMatrix::extract): New function. | |
8922 (charMatrix::charMatrix (char c)): New constructor. | |
8923 | |
8924 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8925 | |
8926 * cmd-edit.h: (command_editor::do_read_init_file): New function. | |
8927 * cmd-edit.cc (command_editor::read_init_file): New function. | |
8928 (gnu_readline::do_read_init_file): Likewise. | |
8929 | |
3185 | 8930 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8931 | |
8932 * oct-env.cc (octave_env::do_get_home_directory): | |
8933 If HOME can't be found, set it to "/". | |
8934 (octave_env::do_get_user_name) | |
8935 If user name can't be found, set it to "unknown". | |
8936 (octave_env::do_get_host_name) | |
8937 If host name can't be found, set it to "unknown". | |
8938 | |
8939 * pathsearch.h (dir_path::rehash): New function. | |
8940 * pathsearch.cc (dir_path::init): Clear kpathsea's internal | |
8941 diretcory cache before doing initialization. | |
8942 | |
3180 | 8943 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8944 | |
3185 | 8945 * dMatrix.cc (Qzval): Delete. |
8946 (qzhes, qzit, qzval): Delete F77_FCN declarations. | |
8947 * dMatrix.h (Qzval): Delete declaration. | |
8948 | |
8949 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. | |
8950 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. | |
8951 * mx-ext.h: Don't include dbleGEPBAL. | |
8952 | |
3180 | 8953 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
8954 static_cast. | |
8955 | |
8956 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8957 | |
8958 * dMatrix.cc (Matrix::read): Skip after reading, not before. | |
8959 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. | |
8960 | |
8961 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8962 | |
8963 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on | |
8964 HUGE_VAL and NAN. | |
8965 | |
8966 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8967 | |
8968 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
8969 Handle x(i) = scalar for do_fortran_indexing == 1. | |
8970 | |
8971 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8972 | |
8973 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): | |
8974 Alloctate space before attempting to use it. | |
8975 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. | |
8976 | |
5095 | 8977 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
3178 | 8978 |
8979 * EIG.cc (EIG::init): Move invariant code outside loop. | |
8980 | |
8981 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8982 | |
8983 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result | |
8984 have the same size as the operands. | |
8985 | |
8986 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8987 | |
8988 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the | |
8989 call to ddassl, set integration_error to 1 before calling the | |
8990 error handler and returning. | |
8991 * LSODE.cc (LSODE::do_integrate): Likewise. | |
8992 | |
3177 | 8993 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8994 | |
8995 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if | |
8996 do_fortran_indexing is set, A([]) = scalar. | |
8997 * Array-idx.h (assign): Allow A([]) = scalar. | |
8998 | |
3176 | 8999 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9000 | |
9001 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not | |
9002 if dm_nc == 0. | |
9003 | |
3174 | 9004 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9005 | |
9006 * pathsearch.h (dir_path::p_orig): New field. | |
9007 * pathsearch.cc (dir_path::init): Perform variable and tilde | |
9008 expansion on the original path here. | |
9009 (dir_path::find_all): Don't do anything if not initialized. | |
9010 | |
3164 | 9011 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9012 | |
9013 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing | |
9014 is not set. | |
9015 (index): Allow x = zeros (2, 0); x(1,:) to work. | |
9016 | |
9017 * lo-specfun.cc (gammainc): Use dgamit to compute | |
9018 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just | |
9019 \int_0^x exp(-t) t^(a-1) dt. | |
9020 | |
9021 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9022 | |
9023 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, | |
9024 Array-s.cc: Change return types of all `assign' explicit | |
9025 instantiations to be int, not void, to match the template decl in | |
9026 Array.h. | |
9027 | |
3162 | 9028 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9029 | |
9030 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. | |
9031 | |
3156 | 9032 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9033 | |
9034 * lo-specfun.cc (xgamma, xlgamma): Define here. | |
9035 * lo-mappers.cc: Not here. | |
9036 | |
9037 * lo-specfun.h: Declare xgamma and xlgamma here. | |
9038 * lo-mappers.h: Not here. | |
9039 | |
9040 * lo-specfun.h: Never declare gamma or lgamma. | |
9041 | |
3154 | 9042 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9043 | |
9044 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an | |
9045 empty matrix of any dimension. | |
9046 | |
3145 | 9047 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9048 | |
3147 | 9049 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
9050 | |
3146 | 9051 * lo-specfun.cc: Don't include dbleBessel.h. |
9052 | |
9053 * Makefile.in (INCLUDES): Delete oct-math.h from the list. | |
9054 | |
3145 | 9055 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
9056 * file-stat.h (file_stat::operator bool ()): Likewise. | |
9057 * idx-vector.h (idx_vector::operator bool ()): Likewise. | |
9058 * oct-group.h (octave_group::operator bool ()): Likewise. | |
9059 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. | |
9060 | |
9061 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): | |
9062 Don't cast arg in call to swap_8_bytes. | |
9063 (IEEE_big_double_to_IEEE_little_double): Ditto | |
9064 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to | |
9065 swap_4_bytes. | |
9066 (IEEE_little_float_to_IEEE_big_float): Ditto | |
9067 | |
9068 * oct-alloc.cc (grow): Use X_CAST, not static_cast. | |
9069 * prog-args.cc (prog_args::getopt): Likewise. | |
9070 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. | |
9071 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. | |
9072 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): | |
9073 Likewise. | |
9074 | |
9075 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, | |
9076 swap_8_bytes): Declare ptr arg as void*, then use cast. | |
9077 | |
3141 | 9078 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9079 | |
9080 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). | |
9081 Use $(mk-libdir-link). | |
9082 | |
9083 * file-stat.cc (file_stat::update_internal): Use stat and lstat, | |
9084 not SAFE_STAT and SAFE_LSTAT. | |
9085 (lstat): New function, defined if HAVE_LSTAT is not defined. | |
9086 * safe-xstat.hin, safe-xstat.cin: Delete. | |
9087 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, | |
9088 safe-lstat.h, and safe-lstat.cc. | |
9089 | |
3136 | 9090 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9091 | |
9092 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. | |
9093 | |
3130 | 9094 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9095 | |
9096 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the | |
9097 trace is negative. | |
9098 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if | |
9099 the real part of the trace is negative. | |
9100 | |
9101 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9102 | |
9103 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. | |
9104 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. | |
9105 | |
9106 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] | |
9107 to succeed. | |
9108 | |
3125 | 9109 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9110 | |
9111 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. | |
9112 (make_uniq): Likewise. | |
9113 | |
9114 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9115 | |
9116 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. | |
9117 | |
3119 | 9118 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9119 | |
3121 | 9120 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
9121 | |
9122 * lo-specfun.h, lo-specfun.cc: New files. | |
3119 | 9123 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
9124 | |
3121 | 9125 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
9126 oct-math.h: Delete. | |
9127 * Makefile.in (SOURCES): Delete them from the list. | |
9128 | |
3112 | 9129 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9130 | |
9131 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. | |
9132 | |
5095 | 9133 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
3107 | 9134 |
9135 Changes to make support egcs snapshots that implement explicit | |
9136 specification of template functions according to CD2. | |
9137 | |
9138 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit | |
9139 template function specs for template friends. | |
9140 * MArray2.h: Likewise. | |
9141 * MDiagArray2.h: Likewise. | |
9142 | |
3095 | 9143 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9144 | |
9145 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) | |
9146 | |
3092 | 9147 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
9148 | |
9149 * CRowVector.cc (linspace): Removed attempt for implicit conversion | |
9150 to complex<double>(int) instead of complex<double>(double). | |
9151 | |
9152 * lo-mappers.cc (atanh): Ditto. | |
9153 | |
3079 | 9154 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9155 | |
9156 * idx-vector.cc (IDX_VEC_REP::sort): New function. | |
9157 * idx-vector.h (idx_vector::sort): Ditto. | |
9158 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before | |
9159 trying to delete elements specified by the index vectors. | |
9160 | |
3075 | 9161 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9162 | |
9163 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. | |
9164 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. | |
9165 | |
3074 | 9166 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9167 | |
9168 * file-ops.cc (tilde_expand_word): Fix off-by-one error. | |
9169 | |
3069 | 9170 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9171 | |
9172 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. | |
9173 Call error handler if we can't find the current directory. | |
9174 | |
3068 | 9175 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9176 | |
3069 | 9177 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
9178 (xfinite (double)): Ditto. | |
9179 | |
3068 | 9180 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
9181 * CmplxQR.cc (ComplexQR::init): Ditto. | |
9182 | |
3056 | 9183 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9184 | |
9185 * lo-mappers.cc (acos (const Complex&)): Select branch that is | |
9186 compatible with Matlab. | |
9187 | |
3050 | 9188 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9189 | |
9190 * Array2-idx.h: Correctly handle empty matrices indexed by a | |
9191 single colon. | |
9192 | |
3040 | 9193 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9194 | |
3049 | 9195 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
9196 (xgamma): Likewise, for calling xdgamma. | |
9197 | |
3042 | 9198 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
9199 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. | |
9200 | |
3040 | 9201 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
9202 to do better job expanding tildes. | |
9203 | |
9204 * str-vec.cc (string_vector::string_vector (const char * const *): | |
9205 Use temporary variable to compute length. | |
9206 | |
3029 | 9207 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9208 | |
3034 | 9209 * Makefile.in: Make building of static library optional. |
3036 | 9210 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034 | 9211 |
3029 | 9212 * Makefile.in (stamp-picdir): Delete. |
9213 (pic): New target. Don't worry so much about creating pic | |
9214 directory only when it is really needed. | |
9215 (stamp-interp): Delete. | |
9216 (libraries): New target. Depend on shared library directly. | |
9217 | |
3024 | 9218 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9219 | |
9220 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): | |
9221 New static function. | |
9222 | |
3012 | 9223 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9224 | |
9225 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. | |
9226 | |
3004 | 9227 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9228 | |
9229 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to | |
9230 set_basic_quote_characters, to match new version of readline. | |
9231 | |
9232 * cmd-edit.cc (do_restore_terminal_state): Call readline function | |
9233 for restoring terminal state through rl_deprep_term_function, now | |
9234 declared in readline.h | |
9235 (rl_deprep_terminal): Delete declaration. | |
9236 | |
2993 | 9237 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9238 | |
9239 * Makefile.in (install-in): Use new mk-includedir-link macro. | |
9240 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. | |
9241 | |
2968 | 9242 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9243 | |
9244 * cmd-edit.cc (command_editor::increment_current_command_number): | |
9245 New static function. | |
9246 | |
2964 | 9247 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9248 | |
2966 | 9249 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
9250 the vector is not sorted. | |
9251 | |
2964 | 9252 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
9253 * dMatrix.cc (Matrix::operator !): Likewise | |
9254 | |
2941 | 9255 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9256 | |
9257 * oct-syscalls.h, oct-syscalls.cc: New files. | |
9258 | |
9259 * cmd-edit.h, cmd-edit.cc: Handle completion function. | |
9260 | |
9261 * str-vec.h, str-vec.cc (string_vector::uniq): New function. | |
9262 | |
2938 | 9263 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9264 | |
2941 | 9265 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
9266 (install-inc): Use it. | |
9267 | |
2938 | 9268 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
9269 Handle errors and missing functions consistently. | |
9270 | |
9271 * oct-group.h, oct-group.cc: New files. | |
9272 | |
9273 * oct-passwd.cc: Handle errors and missing functions consistently. | |
9274 | |
9275 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. | |
9276 | |
2934 | 9277 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9278 | |
9279 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. | |
9280 * oct-env.cc (octave_env::do_get_user_name): Likewise. | |
9281 | |
9282 * oct-passwd.h, oct-passwd.cc: New files. | |
9283 | |
2926 | 9284 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9285 | |
9286 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. | |
9287 | |
9288 * mach-info.h, mach-info.cc: Add missing const qualifiers. | |
9289 (instance_ok ()): New function. | |
9290 | |
9291 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. | |
9292 | |
9293 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. | |
9294 | |
9295 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from | |
9296 src/utils.h and src/utils.cc. | |
9297 (octave_fgets): New function, extracted from src/input.cc. | |
9298 | |
9299 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for | |
9300 GNU readline, and allow Octave to work without GNU readline. | |
9301 | |
9302 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous | |
9303 system-dependent functions. | |
9304 | |
9305 * oct-env.h, oct-env.cc: New files for process environment stuff. | |
9306 | |
9307 * file-stat.h, file-stat.cc: New files. Extract file_stat class | |
9308 from file-ops.h and file-ops.cc and move here. | |
9309 | |
9310 * file-ops.h, file-ops.cc: Wrap functions in struct. Move | |
9311 tilde_expand functions here from src/dirfns.cc. | |
9312 | |
9313 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9314 | |
9315 * pathlen.h: New file, from ../src. | |
9316 | |
2917 | 9317 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9318 | |
9319 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent | |
9320 out-of-bounds indexing of the index array. | |
9321 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. | |
9322 | |
2850 | 9323 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9324 | |
9325 * LSODE.h (x_step_limit): New field. | |
9326 (LSODE_options::init): Initialize it. | |
9327 (LSODE_options::copy): Copy it. | |
9328 (LSODE_options::set_step_limit, LSODE_options::step_limit): | |
9329 New functions. | |
9330 (LSODE::working_too_hard): Delete. | |
9331 * LSODE.cc (LSODE::do_integrate): Handle step limit. | |
9332 | |
2844 | 9333 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9334 | |
9335 * MArray-b.cc: Delete. | |
9336 * Makefile.in: Delete it from the lists. | |
9337 | |
9338 * boolMatrix.h (class bboolMatrix): Derive from Array2, not | |
9339 MArray2, since most of the numeric ops don't really make sense. | |
9340 | |
2829 | 9341 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9342 | |
2832 | 9343 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
9344 | |
9345 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. | |
9346 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. | |
9347 | |
2830 | 9348 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
9349 idx_vector::freeze): Delete prefer_zero_one arg. | |
9350 * Array-idx.h, Array2-idx.h: Change all callers. | |
9351 | |
9352 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. | |
9353 | |
2829 | 9354 * mx-op-defs.h: New file for operator definitions. |
9355 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, | |
9356 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, | |
9357 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, | |
9358 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, | |
9359 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, | |
9360 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, | |
9361 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, | |
9362 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, | |
9363 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, | |
9364 mx-s-cm.cc, mx-s-dm.cc: | |
9365 New files for mixed-type operations. | |
9366 * Makefiles.in: Add them to the appropriate lists. | |
9367 | |
9368 * mx-inlines.cc: Add bool by bool EQ ops. | |
9369 | |
9370 * idx-vector.h, idx-vector.cc: Add constructors for bool and | |
9371 boolMatrix types. | |
9372 (idx_vector::maybe_convert_one_zero_to_idx, | |
9373 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): | |
9374 Delete second arg, prefer_zero_one. Change all callers. | |
9375 | |
9376 * boolMatrix.h, boolMatrix.cc: New files. | |
9377 * mx-base.h: Include boolMatrix.h here. | |
9378 * mx-defs.h: Provide forward declaration for boolMatrix here. | |
9379 | |
9380 * chMatrix.h, chMatrix.cc: Delete unused junk. | |
9381 | |
9382 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, | |
9383 operator-, operator*, product, and quotient functions. | |
9384 Add constructor for boolMatrix type. | |
9385 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, | |
9386 product, and quotient functions. | |
9387 | |
9388 * CDiagMatrix.h: Delete friend declarations for operator+, | |
9389 operator-, and product functions. | |
9390 * CDiagMatrix.h: Delete operator+, operator-, and product functions. | |
9391 | |
9392 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. | |
9393 | |
2815 | 9394 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9395 | |
9396 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. | |
9397 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. | |
9398 (EIG::symmetric_init (const Matrix&)): New function. | |
9399 (EIG::init (const Matrix&)): Call it if arg is symmetric. | |
9400 | |
9401 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. | |
9402 | |
9403 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9404 | |
9405 * Array2.cc (is_symmetric): New function. | |
9406 * Array2.h (is_square): New function. | |
9407 | |
2811 | 9408 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9409 | |
9410 * Makefile.in (install-strip): New target. | |
9411 | |
2804 | 9412 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9413 | |
9414 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
9415 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, | |
9416 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
9417 dbleSVD.cc: Don't include mx-inlines.cc. | |
9418 | |
9419 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of | |
9420 duplicate code. | |
9421 | |
2800 | 9422 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9423 | |
2804 | 9424 * dbleQR.h (QR): Delete extra comma at end of list. |
9425 | |
9426 * prog-args.cc (prog_args::getopt): Add missing const in cast. | |
9427 | |
9428 * dbleSVD.h (SVD::type): Delete extra comma at end of list. | |
9429 | |
9430 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and | |
9431 idx_vecotr_rep:: qualifiers. | |
9432 | |
9433 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. | |
9434 | |
9435 * data-conv.h (save_type): Delete extra comma at end of list. | |
9436 | |
2800 | 9437 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
9438 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, | |
9439 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of | |
9440 old C-style `(T) val' casts. | |
9441 | |
2795 | 9442 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9443 | |
9444 * dMatrix.cc (operator >>): Return if an error occurs instead of | |
9445 just breaking out of the innermost loop. | |
9446 * CMatrix.cc (operator >>): Likewise. | |
9447 | |
2779 | 9448 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775 | 9449 |
9450 * Version 2.0.5 released. | |
9451 | |
2767 | 9452 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9453 | |
9454 * CmplxQR.cc (ComplexQR::init): New function. | |
9455 (ComplexQR::ComplexQR): Use it. Use initializer list too. | |
9456 * CmplxQRP.cc (ComplexQRP::init): New function. | |
9457 Get sizes right in all cases. | |
9458 (ComplexQR::ComplexQRP): Use it. Use initializer list too. | |
9459 | |
9460 * dbleQR.cc (QR::init): New function. | |
9461 (QR::QR): Use it. Use initializer list too. | |
9462 * dbleQRP.cc (QRP::init): New function. | |
9463 Get sizes right in all cases. | |
9464 (QR::QRP): Use it. Use initializer list too. | |
9465 | |
2759 | 9466 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9467 | |
9468 * mach-info.cc (oct_mach_info::string_to_float_format): | |
9469 Recognize "vaxg", not "vax_g". | |
9470 | |
2713 | 9471 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9472 | |
2714 | 9473 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
9474 dimension in check for colon equivalent index. | |
9475 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element | |
9476 index whose value is 0 is also colon eqivalent for n == 1. | |
9477 | |
2713 | 9478 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
9479 system-specific tests first. | |
9480 | |
2709 | 9481 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702 | 9482 |
9483 * Version 2.0.4 released. | |
9484 | |
9485 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9486 | |
9487 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. | |
9488 | |
2693 | 9489 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690 | 9490 |
9491 * Version 2.0.3 released. | |
9492 | |
2686 | 9493 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9494 | |
9495 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. | |
9496 | |
2673 | 9497 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9498 | |
2676 | 9499 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
9500 (all): Don't depend on stamp-prereq or stamp-picdir. | |
9501 (liboctave.a, stamp-shared): Do depend on stamp-prereq. | |
9502 (stamp-picdir): Silence noise about making pic. | |
9503 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. | |
9504 | |
2673 | 9505 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
9506 Fix typo in last change. | |
9507 | |
9508 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): | |
9509 Convert from friend (moved from dColVector.cc). | |
9510 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): | |
9511 Likewise (moved from dMatrix.cc). | |
9512 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): | |
9513 Likewise (moved from dRowVector.cc). | |
9514 | |
9515 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. | |
9516 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. | |
9517 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. | |
9518 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. | |
9519 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. | |
9520 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. | |
9521 | |
9522 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. | |
9523 * dMatrix.cc (Matrix::apply): Likewise. | |
9524 * dRowVector.cc (RowVector::apply): Likewise. | |
9525 * CColVector.cc (ComplexColumnVector::apply): Likewise. | |
9526 * CMatrix.cc (ComplexMatrix::apply): Likewise. | |
9527 * CRowVector.cc (ComplexRowVector::apply): Likewise. | |
9528 | |
2668 | 9529 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9530 | |
9531 * lo-ieee.cc: Declare quiet_nan() and infinity(). | |
9532 | |
9533 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9534 | |
9535 * file-ops.cc (oct_unlink (const string&, string&)): | |
9536 New two-arg version. | |
9537 (oct_rmdir (const string&, string&)): New two-arg version. | |
9538 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. | |
9539 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. | |
9540 (oct_rename (const string&, const string&, string&)): | |
9541 New three-arg version. | |
9542 | |
2663 | 9543 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9544 | |
9545 * idx-vector.h (idx_vector::orig_empty): New function. | |
9546 | |
9547 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): | |
9548 Don't always resize to [](0x0) if one of the indices is empty or | |
9549 zero. | |
9550 | |
2658 | 9551 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9552 | |
9553 * cmd-hist.cc (command_history::read): New arg, must_exist. | |
9554 Set line_in_file here too. | |
9555 (command_history::read_range): New arg, must_exist. | |
9556 | |
2651 | 9557 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9558 | |
9559 * f2c-main.c: Change C++-style comments to C-style comments. | |
9560 | |
2638 | 9561 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9562 | |
9563 * Makefile.in (install-inc): Create a relative symbolic link. | |
9564 | |
2634 | 9565 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9566 | |
9567 * Version 2.0.2 released. | |
9568 | |
2624 | 9569 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9570 | |
9571 * Makefile.in (bin-dist): New target. | |
9572 | |
2621 | 9573 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9574 | |
9575 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. | |
9576 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. | |
9577 | |
2613 | 9578 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9579 | |
9580 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
9581 If the number of columns is zero, also set the number of rows to zero. | |
9582 (charMatrix::charMatrix (const char *)): Likewise. | |
9583 | |
2602 | 9584 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9585 | |
9586 * Version 2.0.1 released. | |
9587 | |
2601 | 9588 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9589 | |
9590 * dMatrix.cc (Matrix::read): Correctly compute the number of | |
9591 columns for resizing when the number of rows is specified but the | |
9592 number of columns is not. | |
9593 | |
2598 | 9594 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9595 | |
2599 | 9596 * Range.cc (operator -): New function. |
9597 | |
2598 | 9598 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
9599 | |
2589 | 9600 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9601 | |
9602 * Array2-idx.h (assign): Delay resizing left hand side until we | |
9603 know if the assignment conforms. | |
9604 | |
2583 | 9605 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9606 | |
9607 * Version 2.0 released. | |
9608 | |
2570 | 9609 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9610 | |
2575 | 9611 * Array2-idx.h (assign): If index is a colon, set number of |
9612 elements to the lhs dimension if the lhs dimension is greater than | |
9613 zero. Otherwise, set it to the rhs dimension. | |
9614 | |
9615 * Version 1.94. | |
9616 | |
2570 | 9617 * Array2-idx.h (assign): Test for rhs scalar case first. |
9618 If index is colon, set number of elements to lhs dimension, not | |
9619 rhs dimension. | |
9620 | |
2563 | 9621 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9622 | |
2566 | 9623 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
9624 * sun-utils.cc: Delete. | |
9625 * f2c-main.c: New file | |
9626 | |
9627 * Makefile.in: Fix file name lists. | |
9628 | |
2563 | 9629 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
9630 | |
2561 | 9631 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9632 | |
9633 * dMatrix.cc (Qzval): Don't try to use same memory three times. | |
9634 Create result using Complex constructor, not multiplication. | |
9635 Order elements as they are returned from Eispack. | |
9636 | |
2559 | 9637 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9638 | |
2560 | 9639 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
9640 Only include nan.h if SCO is defined. Define _IEEE before | |
9641 including it and undefine it afterward. | |
9642 [SCO] (isnan): Don't mistake Inf as NaN. | |
9643 | |
2559 | 9644 * Array-idx.h (assign): Only resize if assignment conforms. |
9645 | |
2551 | 9646 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9647 | |
9648 * Makefile.in (INCLUDES): Delete lo-error.h. | |
9649 * lo-error.h: Delete (moved to libcruft/misc). | |
9650 | |
9651 * Version 1.93. | |
9652 | |
2546 | 9653 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9654 | |
2549 | 9655 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
9656 be the same as they are in fnmatch.h. | |
9657 | |
2546 | 9658 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
9659 | |
9660 * Makefile.in (INCLUDES): Delete f77-fcn.h. | |
9661 (SOURCES): Delete f77-fcn.c. | |
9662 | |
2522 | 9663 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9664 | |
9665 * lo-ieee.h: [SCO]: Declare isinf and isnan. | |
9666 | |
2512 | 9667 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9668 | |
9669 * Version 1.92. | |
9670 | |
2508 | 9671 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9672 | |
2512 | 9673 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
9674 lines that have only carriage return or newline. | |
9675 | |
2508 | 9676 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
9677 | |
2500 | 9678 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9679 | |
9680 * idx-vector.cc (idx_is_inf_or_nan): New function. | |
9681 (IDX_VEC_REP::idx_vector_rep): Use it. | |
9682 | |
2493 | 9683 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9684 | |
9685 * str-vec.h, str-vec.cc: Add constructors to make string vectors | |
9686 from vectors of C strings. | |
9687 | |
9688 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string | |
9689 vector. | |
9690 (glob_match::match): Allow match string to be a string vector. | |
9691 (glob_match::glob): New function. | |
9692 | |
9693 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. | |
9694 | |
9695 * Array-b.cc: New file. | |
9696 * Makefile.in (TI_SRC): Add it to the list. | |
9697 | |
2492 | 9698 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9699 | |
9700 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h | |
9701 and safe-stat.h, to avoid getting them from $srcdir when we really | |
9702 want the version from the build directory. (Maybe this should be | |
9703 done for all the include files, not just those that are | |
9704 auto-generated? Hmm.) | |
9705 | |
2481 | 9706 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9707 | |
2482 | 9708 * Version 1.91. |
9709 | |
2481 | 9710 * Array3.cc (Array3<T>::resize): Make it work. |
9711 | |
9712 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9713 | |
9714 * oct-alloc.h, oct-alloc.cc: New files. | |
9715 * Makefile.in: Add them to the lists. | |
9716 | |
9717 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9718 | |
9719 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. | |
9720 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. | |
9721 | |
2466 | 9722 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9723 | |
9724 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, | |
9725 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
9726 file_stat::is_reg, file_stat::is_sock): Just return false if the | |
9727 underlying macro is not defined. | |
9728 | |
9729 * oct-math.h (lgamma, gamma): Delete declarations. | |
9730 (asinh, acosh, atanh, erf, erfc): Declare arg types too. | |
9731 Protect declarations with #ifdef HAVE_*. | |
9732 | |
2440 | 9733 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9734 | |
2452 | 9735 * Version 1.90. |
9736 | |
9737 * Makefile.in (DISTFILES): Add ChangeLog. | |
9738 | |
2444 | 9739 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
9740 | |
9741 * Matrix-ext.cc: Include <cfloat>, not <float.h>. | |
9742 | |
2443 | 9743 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444 | 9744 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
9745 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. | |
2443 | 9746 |
2440 | 9747 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
9748 since that is now accepatble syntax, even for built-in types. | |
9749 * Array2.h (T Array2<T>::checkelem): Likewise | |
9750 | |
2433 | 9751 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9752 | |
9753 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error | |
9754 message and return -1. | |
9755 | |
2428 | 9756 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9757 | |
2431 | 9758 * str-vec.h (str_vec_compare): Declare args as const void *, then |
9759 cast them to const string * in the body of the function. | |
9760 | |
9761 * file-ops.cc (file_stat::mode_as_string): Explicitly construct | |
9762 string from buf. | |
9763 | |
2428 | 9764 * Array3.h (Array3::checkelem): Tag bogus return value with |
9765 GCC_ATTRIBUTE_UNUSED. | |
9766 * Array2.h (Array2::checkelem): Likewise. | |
9767 | |
2424 | 9768 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9769 | |
9770 * Quad.h (Quad): Define virtual destructor. | |
9771 | |
2408 | 9772 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9773 | |
9774 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. | |
9775 | |
2401 | 9776 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9777 | |
9778 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ | |
9779 and MAIN__ extern "C". | |
9780 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. | |
9781 | |
2391 | 9782 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9783 | |
9784 * MArray-misc.cc: New file. | |
9785 * Makefile.in (MATRIX_SRC): Add it to the list. | |
9786 | |
9787 * mx-inlines.cc (equal): Return bool, not int. | |
9788 | |
9789 * idx-vector.h (idx_vector (double)): New constructor. | |
9790 | |
9791 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, | |
9792 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, | |
9793 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, | |
9794 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, | |
9795 CRowVector.cc: Logical operators return bool, not int. | |
9796 | |
9797 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): | |
9798 New function. | |
9799 | |
9800 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, | |
9801 Matrix::any_element_is_inf_or_nan, Matrix::abs, | |
9802 Matrix::all_elements_are_inf_or_nan): New functions. | |
9803 | |
9804 * Range.h, Range.cc (Range::all_elements_are_ints): New function. | |
9805 | |
9806 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant | |
9807 for errors. Simplify macros by converting FCN to string for error | |
9808 messages. | |
9809 | |
9810 * Array-idx.h (Array<T>::index): New function. Don't call | |
9811 clear_index() here. | |
9812 (Array<T>::value): Call it, do call clear_index() here. | |
9813 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for | |
9814 one and two arg index functions. | |
9815 | |
9816 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9817 | |
9818 * DAEFunc.h: Delete #pragma interface since there is no longer a | |
9819 separate implementation file. | |
9820 | |
2354 | 9821 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9822 | |
2358 | 9823 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
9824 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. | |
9825 | |
2356 | 9826 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
9827 sort_uniq. If sort_uniq is nonzero, sort the elements and make | |
9828 them uniq. | |
9829 | |
2354 | 9830 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
9831 ComplexMatrix::column_max, ComplexMatrix::column_min): | |
9832 Rewrite. Also return index as a reference arg. | |
9833 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, | |
9834 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): | |
9835 Delete. | |
9836 | |
9837 * dMatrix.cc (Matrix::row_max, Matrix::row_min, | |
9838 Matrix::column_max, Matrix::column_min): | |
9839 Rewrite. Also return index as a reference arg. | |
9840 (Matrix::row_max_loc, Matrix::row_min_loc, | |
9841 Matrix::column_max_loc, Matrix::column_min_loc): Delete. | |
9842 | |
9843 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9844 | |
9845 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, | |
9846 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, | |
9847 Matrix::column_min_loc, Matrix::column_max, | |
9848 Matrix::column_max_loc): Ignore leading NaNs. | |
9849 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, | |
9850 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, | |
9851 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, | |
9852 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore | |
9853 leading NaNs. | |
9854 | |
2352 | 9855 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9856 | |
9857 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds | |
9858 starting at n, not 0. | |
9859 | |
2349 | 9860 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9861 | |
9862 * dMatrix.cc (Matrix::Matrix (const RowVector&), | |
9863 Matrix::Matrix (const ColumnVector&)): New constructors. | |
9864 | |
9865 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), | |
9866 ComplexMatrix::ComplexMatrix (const ColumnVector&), | |
9867 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), | |
9868 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): | |
9869 New constructors. | |
9870 | |
9871 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): | |
9872 New constructor. | |
9873 | |
2343 | 9874 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9875 | |
9876 * LSODE.cc (do_integrate): Check to make sure that the state and | |
9877 derivative vectors are the same size. | |
2344 | 9878 * DASSL.cc (do_integrate): Likewise. |
2343 | 9879 |
2330 | 9880 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9881 | |
9882 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use | |
9883 iostreams and handler data format conversions. Delete old methods | |
9884 that used stdio. | |
9885 | |
9886 * data-conv.h, data-conv.cc (oct_data_conv): New class. | |
9887 | |
9888 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9889 | |
9890 * mach-info.h: Rename from float-fmt.h. | |
9891 * mach-info.cc: Rename from float-fmt.cc. | |
9892 Handle machine information using a singlton class. | |
9893 * Makefile.in: Update appropriate lists. | |
9894 | |
9895 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9896 | |
9897 * Array-flags.cc: Provide definitions for the flags even if | |
9898 OCTAVE_SOURCE is not defined. | |
9899 | |
9900 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects | |
9901 operator(), not elem(). | |
9902 * Array3.h: Move indexing methods here from Array3.cc. | |
9903 | |
9904 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9905 | |
9906 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). | |
9907 | |
9908 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of | |
9909 INSTALL_DATA for shared libs. | |
9910 | |
9911 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9912 | |
9913 * Quad.cc: Include lo-error.h here too. | |
9914 | |
9915 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9916 | |
9917 * file-ops.h: Include sys/types.h here. | |
9918 | |
9919 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9920 | |
9921 * chMatrix.cc (charMatrix::transpose): Provide definition. | |
9922 | |
9923 * Array-idx.h (maybe_delete_elements): Correctly compute number of | |
9924 elements in result. | |
9925 * Array2-idx.h (maybe_delete_elements): Likewise for number of | |
9926 rows and columns in result. | |
9927 | |
9928 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9929 | |
9930 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. | |
9931 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. | |
9932 | |
9933 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9934 | |
9935 * Makefile.in (install-inc): Install in octincludedir, not includedir. | |
9936 | |
9937 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9938 | |
9939 * Makefile.in (uninstall): Also delete shared library. | |
9940 Split install into install-libs and install-includes. | |
9941 (install-inc): If linkdir is a directory, leave it alone. | |
9942 | |
9943 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. | |
9944 | |
9945 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9946 | |
9947 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. | |
9948 * Array2-idx.h (assign): Likewise. | |
9949 | |
9950 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9951 | |
9952 * Array2.cc (Array2<T>::range_error): New functions. | |
9953 | |
9954 * Array.h (class Array<T>): elem() and operator() are now | |
9955 equivalent, and do bounds checking by default. | |
9956 * Array2.cc (class Array2<T>): Likewise. | |
9957 | |
9958 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9959 | |
9960 * Makefile.in (maintainer-clean, distclean): Also delete | |
9961 stamp-picdir, stamp-shared, and pic directory. | |
9962 (stamp-prereq): New target. | |
9963 | |
9964 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9965 | |
9966 * NPSOL.h (NPSOL_options::set_option (const char *, int)): | |
9967 New function. | |
9968 | |
9969 * Array.h, Array.cc (Array<T>::range_error ()): New functions. | |
9970 * Array.h (Array<T>::checkelem): Use them. | |
9971 | |
9972 * base-lu.h, base-lu.cc: Parameterize based on types of matrix | |
9973 elements too. | |
9974 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. | |
9975 | |
9976 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. | |
9977 | |
9978 * Makefile.in (distclean): Delete so_locations, which is created | |
9979 on DEC Alpha systems. | |
9980 | |
9981 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9982 | |
9983 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not | |
9984 already defined. | |
9985 | |
9986 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9987 | |
9988 * pathsearch.cc: Include config.h. | |
9989 | |
9990 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9991 | |
9992 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't | |
9993 allow M(I, J) = scalar if I or J is empty. | |
9994 | |
9995 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h | |
9996 and Array3-idx.h). | |
9997 | |
9998 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9999 | |
10000 * lo-error.h: Make comments C friendly. | |
10001 | |
10002 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10003 | |
10004 * Array2.h (make_unique): Move all indexing functions here. | |
10005 * Array2.cc: From here. | |
10006 | |
10007 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control | |
10008 whether operator() calls elem or checkelem. | |
10009 | |
10010 * Array.h (make_unique): New private function. | |
10011 Move all indexing functions here. | |
10012 * Array.cc: From here. | |
10013 | |
10014 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference | |
10015 it too. | |
10016 | |
10017 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, | |
10018 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, | |
10019 MArray-C.cc: Include config.h. | |
10020 | |
10021 * Array.h, Array2.h, DiagArray2.h, Array3.h: | |
10022 Don't define HEAVYWEIGHT_INDEXING here. | |
10023 | |
10024 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10025 | |
10026 * base-lu.h, base-lu.cc: New files. | |
10027 * Makefile.in: Add them to the appropriate lists. | |
10028 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. | |
10029 | |
10030 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10031 | |
10032 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h | |
10033 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h | |
10034 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. | |
10035 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. | |
10036 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. | |
10037 | |
10038 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. | |
10039 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. | |
10040 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. | |
10041 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: | |
10042 Simplify using new macros. | |
10043 | |
10044 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10045 | |
10046 * Makefile.in (install): If $(includedir) ends in version string, | |
10047 make link to name that does not include version info. | |
10048 | |
10049 * lo-ieee.cc: Include <cmath> here. | |
10050 | |
10051 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10052 | |
10053 * lo-ieee.cc, lo-ieee.h: New files. | |
10054 * lo-mappers.cc, lo-mappers.h: New files. | |
10055 * lo-utils.cc, lo-utils.h: New files. | |
10056 * Makefile.in: Add them to the appropriate lists. | |
10057 | |
10058 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10059 | |
10060 * dMatrix.cc (all_integers, too_large_for_float): New functions. | |
10061 * CMatrix.cc (all_integers, too_large_for_float): New functions. | |
10062 | |
10063 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, | |
10064 float-fmt.cc: New files. | |
10065 * Makefile.in: Include them in the appropriate lists. | |
10066 | |
10067 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10068 | |
10069 * dMatrix.cc (Qzval): New function. | |
10070 | |
10071 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10072 | |
10073 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not | |
10074 char*. | |
10075 | |
10076 * DASSL.h, DASSL.cc: Do better management of temporary workspace. | |
10077 Use F77_XFCN to call Fortran subroutine. | |
10078 * dColVector.cc, CColVector.cc: Likewise. | |
10079 * dRowVector.cc, CRowVector.cc: Likewise. | |
10080 * NPSOL.h, NPSOL.cc: Likewise. | |
10081 * CmplxCHOL.cc: Likewise. | |
10082 * dbleCHOL.cc: Likewise. | |
10083 * CMatrix.cc: Likewise. | |
10084 * dMatrix.cc: Likewise. | |
10085 * QPSOL.cc: Likewise. | |
10086 * LSODE.cc: Likewise. | |
10087 | |
10088 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10089 | |
10090 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. | |
10091 | |
10092 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary | |
10093 workspace. Use F77_XFCN to call Fortran subroutine. | |
10094 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. | |
10095 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. | |
10096 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. | |
10097 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. | |
10098 * CmplxHESS.h, CmplxHESS.cc: Likewise. | |
10099 * CmplxSVD.h, CmplxSVD.cc: Likewise. | |
10100 * dbleHESS.h, dbleHESS.cc: Likewise. | |
10101 * dbleSVD.h, dbleSVD.cc: Likewise. | |
10102 * EIG.h, EIG.cc; Likewise. | |
10103 * CollocWt.cc: Likewise. | |
10104 * NLEqn.cc: Likewise. | |
10105 * Quad.cc: Likewise. | |
10106 | |
10107 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10108 | |
10109 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. | |
10110 Use F77_XFCN to call Fortran subroutine. | |
10111 * CmplxLU.h, CmplxLU.cc: Ditto. | |
10112 * dbleQR.h, dbleQR.cc: Ditto. | |
10113 * CmplxQR.h, CmplxQR.cc: Ditto. | |
10114 * dbleQRP.h, dbleQRP.cc: Ditto. | |
10115 * CmplxQRP.h, CmplxQRP.cc: Ditto. | |
10116 | |
10117 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. | |
10118 (struct DIR): delete forward declaration. | |
10119 (dir_entry::operator = (const dir_entry$)): Protect against | |
10120 copying same object. | |
10121 * dir-ops.cc: Cast dir appropriately. | |
10122 | |
10123 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10124 | |
10125 * lo-error.cc: Moved to libcruft/misc. | |
10126 * Makefile.in: Delete it from the list. | |
10127 | |
10128 * f77-fcn.c (f77_context, f77_exception_encountered): Delete | |
10129 definitions (they have been moved to libcruft/misc/f77-extern.cc). | |
10130 | |
10131 * Array-flags.h: New file. | |
10132 * Array-idx.h: Include it here. | |
10133 * Makefile.in (MATRIX_INC): Add it to the list. | |
10134 | |
10135 * Array-flags.cc: Renamed from Array-ext.cc. | |
10136 (liboctave_dfi_flag): Renamed from dfi_flag. | |
10137 (liboctave_pcv_flag): Renamed from pcv_flag. | |
10138 (liboctave_pzo_flag): Renamed from pzo_flag. | |
10139 (liboctave_rre_flag): Renamed from rre_flag. | |
10140 * Array-idx.h: Change all uses of dfi_flag, etc. | |
10141 * Makefile.in (MATRIX_SRC): Change file name here too. | |
10142 | |
10143 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. | |
10144 (stamp-shared): Use them here. | |
10145 | |
10146 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10147 | |
10148 * cmd-hist.cc (command_history::ignore_entries): Delete default | |
10149 argument value. | |
10150 | |
10151 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10152 | |
10153 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, | |
10154 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, | |
10155 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, | |
10156 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: | |
10157 Clean up constructors, assigment operator. | |
10158 | |
10159 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10160 | |
10161 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. | |
10162 Check f77_exception_encountered on return. | |
10163 | |
10164 * f77-fcn.c (f77_exception_encountered): New variable. | |
10165 (F77_XFCN): Set it. | |
10166 * f77-fcn.h: Provide declaration. | |
10167 | |
10168 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). | |
10169 | |
10170 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). | |
10171 | |
10172 * NLEqn.h (NLEqn_options::set_options): New function. | |
10173 * Quad.h (Quad_options::set_options): Likewise. | |
10174 | |
10175 * LP.h (class LP): Add accessors for LP data. | |
10176 | |
10177 * NLEqn.h (NLEqn::n): Delete. | |
10178 | |
10179 * NLEqn.h (class NLEqn::n): Likewise. | |
10180 | |
10181 * NLP.h (class NLP): Add accessors for NLP data. | |
10182 | |
10183 * NPSOL.h (class NPSOL_options): Move constructors, set, and | |
10184 access functions here. | |
10185 * NPSOL.cc.cc: From here. | |
10186 | |
10187 * QLD.h (class QLD): Add destructor definition. | |
10188 * Objective.h (class Objective): Likewise. | |
10189 * ODEFunc.h (class ODEFunc): Likewise. | |
10190 * NLFunc.h (class NLFunc): Likewise. | |
10191 * NLEqn.h (class NLEqn): Likewise. | |
10192 * NLConst.h (class NLConst): Likewise. | |
10193 * LinConst.h (class LinConst): Likewise. | |
10194 * LSODE.h (class LSODE_options): Likewise. | |
10195 * CollocWt.h (class CollocWt): Likewise. | |
10196 * Bounds.h (class Bounds): Likewise. | |
10197 | |
10198 * QLD.cc (QLD::set_default_options): Delete. | |
10199 | |
10200 * QP.h (QP): Add accessors for QP data. | |
10201 Add copy constructor, operator =, and destructor definitions. | |
10202 | |
10203 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, | |
10204 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, | |
10205 DAEFunc.h, CollocWt.h, Bounds.h: | |
10206 Clean up constructors, assigment operator. | |
10207 | |
10208 * dRowVector.cc (RowVector::transpose): Use magic of reference | |
10209 counting to avoid duplicating the data immediately. | |
10210 * dColVector.cc (ColumnVector::transpose): Likewise. | |
10211 * CRowVector.cc (ComplexrowVector::transpose): Likewise. | |
10212 * CColVector.cc (ComplexColumnVector::transpose): Likewise. | |
10213 | |
10214 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10215 | |
10216 * prog-args.h (prog_args::option_argument): New enum. | |
10217 | |
10218 * f77-fcn.h: Rename from f77-uscore.h. | |
10219 (F77_XFCN_ERROR, F77_XFCN): New macros. | |
10220 * f77-fcn.c: New file. | |
10221 * Makefile.in (SOURCES): Add it to the list. | |
10222 | |
10223 * ODEFunc.h: Clean up. | |
10224 | |
10225 * DASSL.cc, DASSL.h: New files. | |
10226 * Makefile.in: Add them to the appropriate lists. | |
10227 | |
10228 * LSODE.cc, LSODE.h: New files. | |
10229 * Makefile.in: Add them to the appropriate lists. | |
10230 | |
10231 * ODE.cc: Delete. | |
10232 * Makefile.in (SOURCES): Remove from list. | |
10233 | |
10234 * base-de.h, DAE.cc: New files. | |
10235 * Makefile.in: Add them to the appropriate lists. | |
10236 * ODE.h: Only define interface for ODE classes. | |
10237 * DAE.h: Only define interface for ODE classes. | |
10238 | |
10239 * LPsolve.cc (do_minimize): Print sorry not implemented message. | |
10240 (LPsolve::set_default_options)): Delete | |
10241 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and | |
10242 destructor. | |
10243 | |
10244 * LP.h (class LP): Add operator =, copy constructor, and destructor. | |
10245 | |
10246 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. | |
10247 (QPSOL::operator =): Call base class operator = instead of assuming | |
10248 we know what to copy. | |
10249 | |
10250 * base-min.h (size): New function. | |
10251 | |
10252 * NLP.h (NLP::size): Delete. | |
10253 (NLP::NLP (const NLP&)): New constructor. | |
10254 (NLP::operator =): Call base class operator = instead of assuming | |
10255 we know what to copy. | |
10256 | |
10257 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. | |
10258 (class NPSOL): Add operator = and destructor. | |
10259 | |
10260 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. | |
10261 | |
10262 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10263 | |
10264 * Makefile.in (liboctave.a): Depend on $(PICOBJ). | |
10265 | |
10266 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10267 | |
10268 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. | |
10269 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. | |
10270 | |
10271 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10272 | |
10273 * prog-args.h, prog-args.cc: New files. | |
10274 * Makefile.in: Add them to lists. | |
10275 | |
10276 * getopt.h, getopt.c, getopt1.c: New files. | |
10277 * Makefile.in: Add them to the lists. | |
10278 | |
10279 * oct-term.h, oct-term.cc: New files. | |
10280 * Makefile.in: Add them to the lists. | |
10281 | |
10282 * str-vec.cc: New file. | |
10283 * Makefile.in (SOURCES): Add it to the list. | |
10284 | |
10285 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. | |
10286 | |
10287 * tempname.c, tempnam.c: Move here from src directory. | |
10288 * Makefile.in: Add to lists. | |
10289 | |
10290 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10291 | |
10292 * cmd-hist.h, cmd-hist.cc: New files. | |
10293 * Makefile.in: Add them to lists. | |
10294 | |
10295 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10296 | |
10297 * oct-glob.h, oct-glob.cc: New files. | |
10298 * Makefile.in: Add them to lists. | |
10299 | |
10300 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10301 | |
10302 * pathsearch.h, pathsearch.cc: New files. | |
10303 * Makefile.in: Add them to lists. | |
10304 | |
10305 * dir-ops.h, dir-ops.cc: New files. | |
10306 * sysdir.h: Move here from src directory. | |
10307 * Makefile.in: Add them to lists. | |
10308 | |
10309 * Array.h (Array::qsort): Return *this, not void. | |
10310 * str-vec.h (string_vector::qsort): Likewise. | |
10311 | |
10312 * chMatrix.cc (row_as_string): Resize result to eliminate | |
10313 unnecessary NULs. | |
10314 | |
10315 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10316 | |
10317 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, | |
10318 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: | |
10319 Files moved here from src directory. | |
10320 * Makefile.in: Add them to lists. Include appropriate rules. | |
10321 | |
10322 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
10323 Use pointers, not references (this is C code!). | |
10324 | |
10325 * oct-math.h: New file. | |
10326 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
10327 Files moved here from src directory. | |
10328 * Makefile.in: Add them to lists. | |
10329 | |
10330 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10331 | |
10332 * idx-vector.cc (make_uniq): Fix major brain-o. | |
10333 | |
10334 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: | |
10335 Convert to use string class instead of char*. | |
10336 | |
10337 * str-vec.h, Array-str.cc: New files. | |
10338 | |
10339 * Array.h (Array::qsort): New function. | |
10340 | |
10341 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10342 | |
10343 * Array.h: Nest ArrayRep class inside Array class. | |
10344 Refer to ArrayRep, not ArrayRep<T>. | |
10345 Move all ArrayRep functions inline. | |
10346 Don't declare other Array classes as friends of ArrayRep. | |
10347 * Array.cc: Delete ArrayRep functions. | |
10348 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. | |
10349 | |
10350 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: | |
10351 Don't instantiate ArrayRep objects. | |
10352 | |
10353 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10354 | |
10355 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
10356 New constructor. | |
10357 | |
10358 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10359 | |
10360 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* | |
10361 for balance_job arg. | |
10362 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. | |
10363 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. | |
10364 | |
10365 * chMatrix.cc (row_as_string): Return string, not const char*. | |
10366 | |
10367 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10368 | |
10369 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. | |
10370 | |
10371 * chMatrix.cc (row_as_string): Undo previous change. | |
10372 | |
10373 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10374 | |
10375 * chMatrix.cc (row_as_string): Do memory management here. Caller | |
10376 is expected to save string if necessary. | |
10377 | |
10378 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10379 | |
10380 * Array.h (class DiagArray): Enable nested Proxy class for all | |
10381 platforms. | |
10382 | |
10383 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == | |
10384 a.rep, don't mess with count. | |
10385 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, | |
10386 don't do anything if reps are the same. | |
10387 (Array3<T>& operator = (const Array3<T>&) | |
10388 | |
10389 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): | |
10390 Declare private with no definition to prevent misuse. | |
10391 | |
10392 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): | |
10393 Get range check right. | |
10394 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. | |
10395 (Matrix::insert (const ColumnVector&, int, int)): Ditto. | |
10396 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. | |
10397 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. | |
10398 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. | |
10399 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. | |
10400 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. | |
10401 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. | |
10402 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. | |
10403 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. | |
10404 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. | |
10405 * dColVector.cc | |
10406 (ColumnVector::insert (const ColumnVector&, int)): Ditto. | |
10407 * CRowVector.cc | |
10408 (ComplexRowVector::insert (const RowVector&, int)): Ditto. | |
10409 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. | |
10410 * CColVector.cc | |
10411 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. | |
10412 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. | |
10413 | |
10414 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): | |
10415 Also fill in zeros, not just the diagonal. | |
10416 | |
10417 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): | |
10418 Use END parameter properly. | |
10419 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. | |
10420 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. | |
10421 | |
10422 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. | |
10423 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. | |
10424 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): | |
10425 Don't copy count. Set it to 1. | |
10426 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. | |
10427 | |
10428 * Array.h (Array<T>::Array (T *, int)): After constructing rep, | |
10429 don't set rep->count to 1 here (now handled by ArrayRep | |
10430 constructors). | |
10431 (Array<T>::Array (void)): Ditto. | |
10432 (Array<T>::Array (int)): Ditto. | |
10433 (Array<T>::T& elem (int)): Ditto. | |
10434 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. | |
10435 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. | |
10436 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. | |
10437 (Array<T>::resize (int)): Ditto. | |
10438 (Array<T>::resize (int, const T&)) :Ditto. | |
10439 (Array<T>::fortran_vec (void)): Ditto. | |
10440 (Array2<T>::resize (int, int)): Ditto. | |
10441 (Array2<T>::resize (int, int, const T&)): Ditto. | |
10442 (DiagArray<T>::resize (int, int)): Ditto. | |
10443 (DiagArray<T>::resize (int, int, const T&)): Ditto. | |
10444 | |
10445 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10446 | |
10447 * Array-ch.cc: Rename from Array-c.cc. | |
10448 * MArray-ch.cc: Rename from MArray-c.cc. | |
10449 * chMatrix.cc: Rename from cMatrix.cc. | |
10450 * chMatrix.h: Rename from cMatrix.h. | |
10451 * Makefile.in (TI_SRC): Use new names here. | |
10452 * mx-base.h: Likewise. | |
10453 | |
10454 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10455 | |
10456 * Makefile.in: Handle shared libraries. | |
10457 | |
10458 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10459 | |
10460 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): | |
10461 Correctly compute length of return value. Correct rows and | |
10462 columns in zgemv call. | |
10463 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. | |
10464 | |
10465 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10466 | |
10467 * Makefile.in (stamp-picdir): New target. | |
10468 (all): Depend on it. | |
10469 | |
10470 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10471 | |
10472 * Makefile.in (INCLUDES): Remove QLD.h. | |
10473 (SOURCES): Remove QLD.cc. | |
10474 | |
10475 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10476 | |
10477 * dMatrix.cc (Matrix::inverse): New arg, force. | |
10478 If force is nonzero, invert even if matrix is singular. | |
10479 (ComplexMatrix::inverse): Likewise. | |
10480 | |
10481 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, | |
10482 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, | |
10483 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: | |
10484 Include "oct-cmplx.h" instead of <Complex.h>. | |
10485 | |
10486 * mx-defs.h: Include oct-cmplx.h in place of forward declaration | |
10487 for class Complex. | |
10488 | |
10489 * oct-cmplx.h: New file. | |
10490 * Makefile.in (INCLUDES): Add it to the list. | |
10491 | |
10492 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. | |
10493 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. | |
10494 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. | |
10495 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): | |
10496 Avoid g++ bugs. | |
10497 | |
10498 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10499 | |
10500 * Array-idx.h (maybe_delete_elements): Give useful error message. | |
10501 | |
10502 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. | |
10503 | |
10504 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10505 | |
10506 * CDiagMatrix.cc (inverse): Return retval, not *this. | |
10507 * dDiagMatrix.cc (inverse): Use same method as for Complex case. | |
10508 | |
10509 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10510 | |
10511 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep | |
10512 index vector object with Array, not ArrayRep. | |
10513 | |
10514 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10515 | |
10516 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail | |
10517 if index is a colon and resizing is maybe needed. | |
10518 | |
10519 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10520 | |
10521 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true | |
10522 if we have a vector of 1's. | |
10523 | |
10524 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no | |
10525 current orientation, require index and rhs to conform unless | |
10526 do_fortran_indexing flag is set. | |
10527 | |
10528 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10529 | |
10530 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, | |
10531 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, | |
10532 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, | |
10533 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, | |
10534 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: | |
10535 Massive changes to support additional data types. Only charMatrix | |
10536 is currently used in Octave. | |
10537 | |
10538 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10539 | |
10540 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. | |
10541 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): | |
10542 Simply call Array2<Complex> version. | |
10543 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just | |
10544 call Array2<double> version. | |
10545 | |
10546 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. | |
10547 | |
10548 * Array.h, Array.cc: Massive overhaul to support new way of | |
10549 handling indexing. | |
10550 * idx-vector.h, idx-vector.cc: Likewise. | |
10551 * Array-ext.cc, Array-idx.h: New files. | |
10552 * Makefile.in: Add them to the appropriate lists. | |
10553 | |
10554 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10555 | |
10556 * Range.cc (nelem_internal): Use tfloor here, not round. | |
10557 | |
10558 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10559 | |
10560 * idx-vector.h, idx-vector.cc: New files, moved from ../src. | |
10561 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. | |
10562 | |
10563 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10564 | |
10565 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. | |
10566 | |
10567 * Array.h: Move simple member functions here. | |
10568 * Array.cc: From here. | |
10569 | |
10570 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10571 | |
10572 * Range.cc (tfloor, tceil, round): New static functions. | |
10573 (Range::nelem_internal): Rewrite to use better method. | |
10574 | |
10575 * dbleSVD.h (SVD::type): New item, sigma_only. | |
10576 (type_computed): New var. | |
10577 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): | |
10578 Handle possible error condition. | |
10579 (init): Allow for SVD::sigma_only, save type computed. | |
10580 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): | |
10581 Handle possible error condition. | |
10582 (init): Allow for SVD::sigma_only, save type computed. | |
10583 | |
10584 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10585 | |
10586 * Nearly all non-matrix .h and .cc files: | |
10587 Move short function bodies into class declarations for inlining. | |
10588 Generally clean up. | |
10589 | |
10590 * base-min.h: New file. | |
10591 * LP.h (class LP): Derive from base_minimizer. | |
10592 * QLP.h (class QLP): Derive from base_minimizer. | |
10593 * NLP.h (class NLP): Derive from base_minimizer. | |
10594 * Makefile.in (INCLUDES): Add base-min.h to the list. | |
10595 | |
10596 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, | |
10597 NLFunc.cc, Objective.cc and QP.cc from list. | |
10598 | |
10599 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10600 | |
10601 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. | |
10602 (SCHUR::SCHUR): Delete unused parameter ord. | |
10603 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. | |
10604 | |
10605 * CRowVector.cc | |
10606 (ComplexRowVector::operator+ (const Complex&, const RowVector&), | |
10607 (ComplexRowVector::operator- (const Complex&, const RowVector&), | |
10608 (ComplexRowVector::operator* (const Complex&, const RowVector&), | |
10609 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): | |
10610 Actually do something. | |
10611 | |
10612 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. | |
10613 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. | |
10614 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. | |
10615 | |
10616 * Quad.cc (Quad_options::Quad_options (double, double)): New function. | |
10617 * (Quad::Quad (integrand_fcn, double, double): Properly initialize | |
10618 tolerances. | |
10619 | |
10620 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. | |
10621 * LPsolve.cc (LPsolve::minimize): Likewise. | |
10622 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. | |
10623 * ODE.cc (lsode_f, lsode_j): Likewise. | |
10624 * QPSOL.cc (qphess): Likewise. | |
10625 | |
10626 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10627 | |
10628 * dMatrix.cc: Include <cstring>. | |
10629 | |
10630 * Array.cc: Try harder to avoid warnings from gcc in functions | |
10631 that return bogus values after calling the error handler. | |
10632 | |
10633 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10634 | |
10635 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. | |
10636 | |
10637 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. | |
10638 | |
10639 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10640 | |
10641 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. | |
10642 (dassl_j): Likewise. | |
10643 | |
10644 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, | |
10645 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, | |
10646 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: | |
10647 Update for change in for loop variable scope for gcc 2.7.0. | |
10648 | |
10649 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10650 | |
10651 * Makefile.in: Only include dependency files if $(omit_deps) is | |
10652 not set. | |
10653 | |
10654 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) | |
10655 | |
10656 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h | |
10657 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h | |
10658 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h | |
10659 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h | |
10660 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h | |
10661 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h | |
10662 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h | |
10663 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h | |
10664 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc | |
10665 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc | |
10666 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc | |
10667 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc | |
10668 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc | |
10669 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc | |
10670 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc | |
10671 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc | |
10672 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc | |
10673 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h | |
10674 NLP.h: Use pragma interface/implementation. Don't surround | |
10675 contents in extern "C++". | |
10676 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". | |
10677 | |
10678 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
10679 | |
10680 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase | |
10681 identifiers. | |
10682 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
10683 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
10684 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
10685 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
10686 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
10687 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
10688 Quad.cc: Change usage of F77_FCN to match new definition | |
10689 | |
10690 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
10691 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
10692 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
10693 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
10694 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
10695 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
10696 Quad.cc: Where appropriate, declare Fortran subroutines to take | |
10697 args by reference instead of pointer. Change all callers. | |
10698 | |
10699 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
10700 | |
10701 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New | |
10702 functions. Make += and -= operators friend functions. | |
10703 | |
10704 * Array.h (Array2::~Array2, Array3::~Array3, | |
10705 DiagArray::~DiagArray): New functions. | |
10706 | |
10707 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
10708 | |
10709 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. | |
10710 (MATRIX_INC): Don't distribute mx-kludge.h. | |
10711 | |
10712 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
10713 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
10714 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
10715 dRowVector.h dRowVector.cc: | |
10716 Derive classes from MArray, MArray2, and MDiagArray, not Array, | |
10717 Array2, and DiagArray2. | |
10718 Don't use functions defined in mx-kludge.cc for arithmetic | |
10719 like-type operations on arrays. | |
10720 | |
10721 * MArray.cc: Use the classes defined here like-type mathematical | |
10722 operations on Array objects. Abuse CPP more. | |
10723 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
10724 (EXTRAS): Delete it from this list. | |
10725 | |
10726 * MArray-C.cc, MArray-d.cc: New files. | |
10727 * Makefile.in (TI_SRC): Add them to the list. | |
10728 | |
10729 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
10730 | |
10731 * mx-kludge.cc: Abuse CPP even more. | |
10732 | |
10733 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
10734 | |
10735 * Objective.h (objective_function): Add missing const. | |
10736 (gradient_function): Likewise. | |
10737 | |
10738 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
10739 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
10740 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
10741 dRowVector.h dRowVector.cc: | |
10742 Reorganize to declare and define friends where they should be, | |
10743 based on the use of private constructors. | |
10744 | |
10745 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
10746 | |
10747 * CRowVector.h (linspace): Add declaration. | |
10748 * dRowVector.h (linspace): Likewise. | |
10749 | |
10750 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
10751 Force result of rcond + 1.0 to be stored. | |
10752 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, | |
10753 ComplexMatrix::solve): Likewise. | |
10754 | |
10755 See ChangeLog.1 in the top level directory for earlier changes. |