Mercurial > hg > octave-nkf
annotate liboctave/ChangeLog @ 8366:8b1a2555c4e2
implement diagonal matrix objects
* * *
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Wed, 03 Dec 2008 13:32:57 +0100 |
parents | 18c4ded8612a |
children | 445d27d79f4e |
rev | line source |
---|---|
8366
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1 2008-12-01 Jaroslav Hajek <highegg@gmail.com> |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
2 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
3 * 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
|
4 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5 (DiagArray2<T>::elem, xelem, operator ()): Move to header file to |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
6 enable inlining. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
7 * DiagArray2.cc (DiagArray2<T>::elem, xelem, operator ()): Remove |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
8 implementations. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
9 * 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
|
10 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
11 (MDiagArray2<T>::nnz): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
12 * MDiagArray2.cc (MDiagArray2<T>::nnz): Implement it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
13 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
14 * dDiagMatrix.h (DiagMatrix::DiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
15 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
16 (DiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
17 (real (const ComplexDiagMatrix&), imag (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
18 New decls. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
19 * dDiagMatrix.cc (DiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
20 (operator *(const DiagMatrix&, const DiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
21 (real (const ComplexDiagMatrix&), imag (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
22 New functions. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
23 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
24 * fDiagMatrix.h (FloatDiagMatrix::FloatDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
25 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
26 (FloatDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
27 (real (const FloatComplexDiagMatrix&), imag (const FloatComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
28 New decls. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
29 * fDiagMatrix.cc (FloatDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
30 (operator *(const FloatDiagMatrix&, const FloatDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
31 (real (const FloatComplexDiagMatrix&), imag (const FloatComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
32 New functions. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
33 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
34 * CDiagMatrix.h (ComplexDiagMatrix::ComplexDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
35 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
36 (ComplexDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
37 (conj (const ComplexDiagMatrix&)): Add missing decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
38 (ComplexDiagMatrix::all_elements_are_real): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
39 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
40 * CDiagMatrix.cc (CDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
41 (operator *(const DiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
42 (operator *(const ComplexDiagMatrix&, const DiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
43 (operator *(const ComplexDiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
44 (ComplexDiagMatrix::all_elements_are_real): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
45 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
46 * fCDiagMatrix.h (FloatComplexDiagMatrix::FloatComplexDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
47 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
48 (FloatComplexDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
49 (conj (const FloatComplexDiagMatrix&)): Add missing decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
50 (FloatComplexDiagMatrix::all_elements_are_real): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
51 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
52 * fCDiagMatrix.cc (CDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
53 (operator *(const FloatDiagMatrix&, const FloatComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
54 (operator *(const FloatComplexDiagMatrix&, const FloatDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
55 (operator *(const ComplexDiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
56 (FloatComplexDiagMatrix::all_elements_are_real): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
57 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
58 * dSparse.cc (SparseMatrix::SparseMatrix (const DiagMatrix&)): New |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
59 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
60 * dSparse.h (SparseMatrix::SparseMatrix (const DiagMatrix&)): Declare |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
61 it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
62 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
63 * CSparse.cc (SparseComplexMatrix::SparseComplexMatrix (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
64 New constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
65 * CSparse.h (SparseComplexMatrix::SparseComplexMatrix (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
66 Declare it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
67 * 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
|
68 |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
69 2008-11-21 Jarkko Kaleva <d3roga@gmail.com> |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
70 |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
71 * EIG.h (EIG::EIG (const Matrix& a, const Matrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
72 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
73 (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
|
74 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
75 (EIG::EIG (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
76 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
77 (EIG::EIG (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
78 octave_idx_type& info, bool calc_eigenvectors = true)): New |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
79 constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
80 * EIG.cc (EIG::init (const Matrix& a, const Matrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
81 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
82 (EIG::init (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
83 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
84 (EIG::symmetric_init (const Matrix& a, const Matrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
85 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
86 (EIG::hermitian_init (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
87 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
88 * fEIG.h (fEIG::fEIG (const FloatMatrix& a, const FloatMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
89 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
90 (fEIG::fEIG (const FloatMatrix& a, const FloatMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
91 octave_idx_type& info, bool calc_eigenvectors = true)): New |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
92 constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
93 (fEIG::fEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
94 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
95 (fEIG::fEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
96 octave_idx_type& info, bool calc_eigenvectors = true)): New |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
97 constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
98 (fEIG::init (const FloatMatrix& a, const FloatMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
99 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
100 (fEIG::init (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
101 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
102 (fEIG::symmetric_init (const FloatMatrix& a, const FloatMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
103 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
104 (fEIG::hermitian_init (const FloatComplexMatrix& a, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
105 const FloatComplexMatrix& b, bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
106 |
8337
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
107 2008-11-19 Jaroslav Hajek <highegg@gmail.com> |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
108 |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
109 * dMatrix.cc (Matrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
110 fMatrix.cc (FloatMatrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
111 CMatrix.cc (ComplexMatrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
112 fCMatrix.cc (FloatComplexMatrix::determinant): |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
113 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
|
114 |
8336
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
115 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
|
116 |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
117 * 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
|
118 * dMatrix.cc (Matrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
119 fMatrix.cc (FloatMatrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
120 CMatrix.cc (ComplexMatrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
121 fCMatrix.cc (FloatComplexMatrix::determinant): |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
122 Allow taking MatrixType argument. |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
123 * 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
|
124 |
8335 | 125 2008-11-19 Jaroslav Hajek <highegg@gmail.com> |
126 | |
127 * DET.h: New source. | |
128 * CmplxDET.cc, CmplxDET.h, dbleDET.cc, dbleDET.h, fCmplxDET.cc, | |
129 fCmplxDET.h, floatDET.cc, floatDET.h: Remove. | |
130 * Makefile.in: Reflect changes. | |
131 * mx-defs.h: Remove DET decls. | |
132 * mx-ext.h, dMatrix.h, fMatrix.h, CMatrix.h, fCMatrix.h, | |
133 dSparse.h, CSparse.h: Include only DET.h. | |
134 * dMatrix.cc (Matrix::determinant), | |
135 fMatrix.cc (FloatMatrix::determinant), | |
136 CMatrix.cc (ComplexMatrix::determinant), | |
137 fCMatrix.cc (FloatComplexMatrix::determinant), | |
138 dSparse.cc (SparseMatrix::determinant), | |
139 CSparse.cc (SparseComplexMatrix::determinant): Use new class. | |
140 | |
8328
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
141 2008-11-18 David Bateman <dbateman@free.fr> |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
142 |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
143 * file-ops.cc (std::string file_ops::tilde_expand (const |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
144 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
|
145 return if not. |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
146 |
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
|
147 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
|
148 |
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
|
149 * 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
|
150 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
|
151 |
8324 | 152 2008-11-14 David Bateman <dbateman@free.fr> |
153 | |
154 * Array2.h (Array2<T> Array2<T>::index): Correct use of | |
155 resize_fill_value. | |
156 | |
8319
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
157 2008-11-12 Michael Goffioul <michael.goffioul@gmail.com> |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
158 |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
159 * 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
|
160 MArray<T>::norm specialization before implicit MArray<T> implicit |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
161 instantiation. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
162 * 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
|
163 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
|
164 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
|
165 OCTAVE_API tag. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
166 * 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
|
167 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
|
168 * oct-inttypes.cc (octave_int<T>::type_name): Ditto. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
169 * 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
|
170 to double. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
171 * oct-inttypes.h: Undefine min/max. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
172 * 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
|
173 tag. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
174 * oct-norm.cc (xnorm, xfrobnorm, xcolnorms, xrownorms): Ditto. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
175 |
8314
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
176 2008-11-12 Jaroslav Hajek <highegg@gmail.com> |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
177 |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
178 * DiagArray2.h (DiagArray2<T>::maybe_delete_elements): Remove |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
179 declaration. |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
180 |
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
|
181 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
|
182 |
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
|
183 * 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
|
184 (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
|
185 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
|
186 Array<T>::resize. |
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
|
187 (row_norms (const MArray2<T>&, ...)): Dtto. |
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
|
188 (column_norms (const MSparse2<T>&, ...)): Dtto. |
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
|
189 (row_norms (const MSparse2<T>&, ...)): Dtto. |
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
|
190 |
8303
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
191 2008-10-31 Jaroslav Hajek <highegg@gmail.com> |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
192 |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
193 * oct-norm.h: New header file. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
194 * oct-norm.cc: New source. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
195 * CSparse.cc (SparseComplexMatrix::row, SparseComplexMatrix::column): |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
196 New member functions. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
197 * CSparse.h (SparseComplexMatrix): Declare them. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
198 * dSparse.cc (SparseMatrix::row, SparseMatrix::column): |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
199 New member functions. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
200 * dSparse.h (SparseMatrix): Declare them. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
201 * MArray-C.cc (MArray<Complex>::norm), |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
202 MArray-d.cc (MArray<double>::norm), |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
203 MArray-fC.cc (MArray<FloatComplex>::norm), |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
204 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
|
205 |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
206 * MArray-defs.h (MARRAY_NORM_BODY): Remove. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
207 |
8301
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
208 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
|
209 |
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
210 * 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
|
211 correctly. |
8302
f2e050b62199
fix dim check in Array<T>::delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8301
diff
changeset
|
212 * 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
|
213 Fix check for invalid dim. |
8301
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
214 |
8298
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
215 2008-10-31 Jaroslav Hajek <highegg@gmail.com> |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
216 |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
217 * 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
|
218 extent when len is zero. |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
219 * 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
|
220 Create empty range by default. |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
221 |
8293
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
222 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
|
223 |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
224 * 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
|
225 (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
|
226 std::abs. |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
227 * oct-inttypes.cc (octave_int_arith_base<int64_t, true>): Dtto. |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
228 |
8290
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
229 2008-10-28 Jaroslav Hajek <highegg@gmail.com> |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
230 |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
231 * 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
|
232 Don't use semicolon after INSTANTIATE_ARRAY_ASSIGN. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
233 * Array-util.h (zero_dims_inquire): New declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
234 (is_in, how_many_lgt, short_freeze): Remove declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
235 * Array-util.cc (zero_dims_inquire): New functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
236 (is_in, how_many_lgt, short_freeze): Remove functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
237 * 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
|
238 Array<T>::assign, Array<T>::delete_elements): |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
239 Rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
240 * 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
|
241 Array<T>::assign, Array<T>::delete_elements): |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
242 Rewrite interfaces. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
243 * Array2.h (Array2<T>::resize): Call Array<T>::resize_fill. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
244 * Array3.h (Array3<T>::resize): Call Array<T>::resize_fill. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
245 * ArrayN.h (ArrayN<T>::resize): Remove declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
246 (ArrayN<T>::index): Fix call to resize_fill_value. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
247 * Sparse.cc (assign, assign1): Use zero-based indices. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
248 * chMatrix.h: Include mx-op-defs.h |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
249 * 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
|
250 dim_vector::redim): New member functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
251 * idx-vector.cc: Mostly rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
252 * idx-vector.h: Mostly rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
253 |
8288
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
254 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
|
255 |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
256 * 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
|
257 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
|
258 not supported under MSVC. |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
259 |
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
|
260 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
|
261 |
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
|
262 * 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
|
263 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
|
264 (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
|
265 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
|
266 |
8278
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
267 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
|
268 |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
269 * 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
|
270 (cbesi): Likewise. |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
271 |
8272
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
272 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
|
273 |
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
274 * 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
|
275 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
|
276 |
8271
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
277 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
|
278 |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
279 * 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
|
280 of RTLD_LAZY. |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
281 |
8211
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
282 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
|
283 |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
284 * CSparse.cc (ComplexMatrix::expm): Improve inverse preconditioning |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
285 according to Marco Caliari. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
286 * dSparse.cc (Matrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
287 * fCSparse.cc (FloatComplexMatrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
288 * fSparse.cc (FloatMatrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
289 |
8207
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
290 2008-10-10 Jaroslav Hajek <highegg@gmail.com> |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
291 |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
292 * sparse-util.h (SparseCholPrint): Change char * argument to const |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
293 char *. |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
294 * sparse-util.cc (SparseCholPrint): Likewise. |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
295 |
8206
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
296 2008-10-09 Jaroslav Hajek <highegg@gmail.com> |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
297 |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
298 * oct-sort.cc (octave_sort<T>::merge_getmem, |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
299 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
|
300 delete []. |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
301 (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
|
302 std::memcpy and std::memmove with std::copy. |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
303 |
8198 | 304 2008-10-08 John W. Eaton <jwe@octave.org> |
305 | |
306 * Sparse-op-defs.h (SPARSE_SMSM_BOOL_OPS): Duplicate code for scalar | |
307 sparse arguments rather than rely on extern function. | |
308 | |
8193
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
309 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
|
310 |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
311 * 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
|
312 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
|
313 optimizations. |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
314 (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
|
315 |
8191
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
316 2008-10-07 Jaroslav Hajek <highegg@gmail.com> |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
317 |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
318 * 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
|
319 octave_uint64 where appropriate. |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
320 |
8187 | 321 2008-10-06 David Bateman <dbateman@free.fr> |
322 | |
323 * Sparse-op-defs.h (SPARSE_SMSM_CMP_OPS): Duplicate code for scalar | |
324 sparse arguments rather than rely on extern function. | |
325 | |
8186
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
326 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
|
327 |
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
328 * 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
|
329 |
8185
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
330 2008-10-01 Jaroslav Hajek <highegg@gmail.com> |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
331 |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
332 * 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
|
333 constants. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
334 * oct-inttypes.cc: Define them. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
335 * 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
|
336 * oct-inttypes.cc: Define alternative implementations for 64-bit |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
337 multiplication and mixed operations. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
338 * mx-ops: Instantiate all 64-bit integer operations. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
339 |
8180
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
340 2008-10-06 Jaroslav Hajek <highegg@gmail.com> |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
341 |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
342 * 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
|
343 |
8181
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
344 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
|
345 |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
346 * 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
|
347 * 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
|
348 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
|
349 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
|
350 |
8179
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
351 2008-10-03 Jaroslav Hajek <highegg@gmail.com> |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
352 |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
353 * 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
|
354 declaration. |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
355 * 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
|
356 rfv. |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
357 |
8178
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
358 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
|
359 |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
360 * 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
|
361 for empty matrix. |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
362 |
8182 | 363 2008-09-30 Jaroslav Hajek <highegg@gmail.com> |
8169
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
364 |
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
365 * oct-inttypes.h: Mostly rewrite. |
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
366 * oct-inttypes.cc: Modstly rewrite. |
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
367 |
8157
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
368 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
|
369 |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
370 * 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
|
371 empty index vector. |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
372 |
8150
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
373 2008-09-26 Jaroslav Hajek <highegg@gmail.com> |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
374 |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
375 * Array.cc (assign1, assign2, assignN): Do not call |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
376 maybe_delete_elements. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
377 (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
|
378 special handlers if possible. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
379 * Sparse.cc (assign1, assign2, assignN): Do not call |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
380 maybe_delete_elements. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
381 |
8124
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
382 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
|
383 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
384 * 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
|
385 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
|
386 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
387 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
|
388 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
389 * 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
|
390 |
8121
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
391 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
|
392 |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
393 * 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
|
394 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
|
395 (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
|
396 |
8119
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
397 2008-09-18 Jaroslav Hajek <highegg@gmail.com> |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
398 |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
399 * 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
|
400 better Matlab compatibility. |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
401 (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
|
402 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
|
403 |
8118
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
404 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
|
405 |
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
406 * 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
|
407 |
8104
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
408 2008-09-12 Jaroslav Hajek <highegg@gmail.com> |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
409 |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
410 * 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
|
411 Handle negative exponent correctly. |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
412 |
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
|
413 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
|
414 |
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
|
415 * 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
|
416 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
|
417 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
|
418 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
|
419 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
|
420 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
|
421 (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
|
422 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
|
423 (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
|
424 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
|
425 (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
|
426 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
|
427 (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
|
428 (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
|
429 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
|
430 (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
|
431 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
|
432 (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
|
433 (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
|
434 (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
|
435 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
|
436 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
|
437 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
|
438 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
|
439 (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
|
440 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
|
441 (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
|
442 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
|
443 octave_int<T>&, float)): New functions. |
8040 | 444 |
445 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
|
446 |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
447 * 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
|
448 classified as positive by lo_ieee_signbit. |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
449 |
8040 | 450 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
|
451 |
f0fbf47c914c
avoid null pointer call in Array<T>::hermitian
Jaroslav Hajek <highegg@gmail.com>
parents:
8022
diff
changeset
|
452 * 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
|
453 (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
|
454 |
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
|
455 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
|
456 |
8022
9708674ab85d
don't include config.h in other header files
John W. Eaton <jwe@octave.org>
parents:
8019
diff
changeset
|
457 * 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
|
458 |
8019
0ef13e15319b
replace NPOS with std::string::npos
John W. Eaton <jwe@octave.org>
parents:
8018
diff
changeset
|
459 * 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
|
460 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
|
461 |
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
|
462 * 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
|
463 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
|
464 |
8008
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
465 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
|
466 |
8009
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
467 * 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
|
468 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
|
469 |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
470 * 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
|
471 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
|
472 |
8008
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
473 * 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
|
474 here from file scope. |
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
475 |
8006
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
476 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
|
477 |
8007
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
478 * 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
|
479 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
|
480 file_ops::dir_sep_chars. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
481 (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
|
482 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
|
483 (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
|
484 file_ops::dir_sep_str. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
485 |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
486 * 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
|
487 (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
|
488 * 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
|
489 (file_ops::file_ops): New constructor. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
490 (file_ops::instance_ok): New function. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
491 (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
|
492 from dir_sep_char. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
493 (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
|
494 (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
|
495 (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
|
496 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
|
497 (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
|
498 (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
|
499 |
8006
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
500 * 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
|
501 |
7999 | 502 2008-07-30 John W. Eaton <jwe@octave.org> |
503 | |
504 * oct-inttypes.h: Style fixes. | |
505 | |
8040 | 506 2008-07-30 Jaroslav Hajek <highegg@gmail.com> |
7997
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
507 |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
508 * 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
|
509 (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
|
510 member functions. |
7999 | 511 (octave_int<T>::octave_int (const octave_int<U>&)): set trunc_flag |
512 on truncation. | |
7997
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
513 (SPECIALIZE_WIDENING_CONVERSION): New macro. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
514 (DECLARE_OCTAVE_INT_TYPENAME): New macro. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
515 |
7991
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
516 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
|
517 |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
518 * 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
|
519 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
|
520 maintains NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
521 (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
|
522 (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
|
523 detect old NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
524 (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
|
525 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
|
526 * 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
|
527 detect old NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
528 (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
|
529 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
|
530 * 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
|
531 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
|
532 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
|
533 |
8040 | 534 2008-07-28 Jaroslav Hajek <highegg@gmail.com> |
7979 | 535 |
536 * lo-math.h: Ensure log2 is undefined from cmath in C++ mode. | |
537 | |
7957
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
538 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
|
539 |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
540 * 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
|
541 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
|
542 |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
543 * 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
|
544 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
|
545 |
7955
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
546 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
|
547 |
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
548 * 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
|
549 |
7952
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
550 2008-07-19 John W. Eaton <jwe@octave.org> |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
551 |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
552 * oct-mutex.h (class octave_base_mutex): New class. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
553 (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
|
554 (octave_mutex::rep): Declare as octave_base_mutex. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
555 (octave_mutex::count): Delete. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
556 (octave_mutex::lock, octave_mutex::unlock): No longer virtual. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
557 (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
|
558 valid or set rep to zero after deleting. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
559 (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
|
560 * 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
|
561 from octave_base_mutex, not octave_mutex. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
562 |
7943
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
563 2008-07-18 John W. Eaton <jwe@octave.org> |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
564 |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
565 * 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
|
566 to 0, not count. |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
567 * 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
|
568 to 1 instead of incrementing it. |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
569 |
7941
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
570 2008-07-17 Michael Goffioul <michael.goffioul@gmail.com> |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
571 |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
572 * 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
|
573 bool, bool) into conditional HAVE_FFTW3 preprocessor statement. |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
574 |
7936
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
575 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
|
576 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
577 * 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
|
578 octave_autolock (const octave_autolock&), |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
579 octave_autolock::operator = (const octave_autolock&)): |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
580 Delete definitions. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
581 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
582 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
|
583 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
584 * 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
|
585 (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
|
586 executing handlers. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
587 (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
|
588 Autolock event_hook_lock. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
589 |
7934 | 590 2008-07-15 Michael Goffioul <michael.goffioul@gmail.com> |
591 | |
592 * oct-mutex.h, oct-mutex.cc: New files. | |
593 * Makefile.in: Add them to appropriate lists. | |
594 | |
7929 | 595 2008-07-15 John W. Eaton <jwe@octave.org> |
596 | |
597 * oct-sort.cc, oct-sort.h (octave_sort<T>::count_run): Declare | |
598 descending arg as bool&. | |
599 (octave_sort<T>::sort): Pass bool to count_run for descending arg. | |
600 | |
7922
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
601 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
|
602 |
7924 | 603 * dDiagMatrix.cc (DiagMatrix::diag): Return empty ColumnVector if |
604 number of rows or columns is 0. | |
605 * fDiagMatrix.cc (FloatDiagMatrix::diag): Likewise. | |
606 | |
607 * Array-util.cc (is_vector): Avoid GCC warning. | |
608 * Array-f.cc (Array<float>::sort): Likewise. | |
609 * Array-d.cc (Array<double>::sort): Likewise. | |
610 * dbleQR.cc (QR::QR (const Matrix&, const Matrix&)): Likewise. | |
611 * CmplxQR.cc (ComplexQR::ComplexQR (const ComplexMatrix&, const | |
612 ComplexMatrix&)): Likewise. | |
613 * floatQR.cc (FloatQR::FloatQR (const FloatMatrix&, const | |
614 FloatMatrix&)): Likewise. | |
615 * fCmplxQR.cc (FloatComplexQR::FloatComplexQR (const | |
616 FloatComplexMatrix&, const FloatComplexMatrix&)): Likewise. | |
617 * Quad.cc (IndefQuad::do_integrate (octave_idx_type&, | |
618 octave_idx_type&, float&), FloatIndefQuad::do_integrate, | |
619 DefQuad::do_integrate octave_idx_type&, octave_idx_type&, float&, | |
620 FloatIndefQuad::do_integrate): Likewise. | |
621 | |
7922
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
622 * 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
|
623 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
|
624 * 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
|
625 * Array-util.h: Provide decl. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
626 * 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
|
627 * 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
|
628 |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
629 * 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
|
630 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
|
631 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
|
632 * 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
|
633 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
|
634 Provide decl. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
635 |
7919
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
636 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
|
637 |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
638 * 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
|
639 bool, bool)): New constructor. |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
640 * dNDArray.h: Provide decl. |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
641 |
7914
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
642 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
|
643 |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
644 * 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
|
645 * lo-specfun.cc: Ditto. Add atanhf implementation. |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
646 |
8040 | 647 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
|
648 |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
649 * MatrixType.h: Add missing include statement. |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
650 |
7889
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
651 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
|
652 |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
653 * 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
|
654 * fCmplxDET.cc (FloatComplexDET::initialize10): Likewise, for pow. |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
655 |
7885 | 656 2008-06-11 John W. Eaton <jwe@octave.org> |
657 | |
658 * so-array.h, so-array.cc, Array-so.cc: Delete. | |
659 * Makefile.in: Remove them from the lists. | |
660 | |
7872 | 661 2008-06-05 John W. Eaton <jwe@octave.org> |
662 | |
663 * oct-shlib.cc (octave_base_shlib::remove): Only dereference | |
664 counter if iterator is valid. | |
665 | |
7814
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
666 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
|
667 |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
668 * 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
|
669 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
|
670 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
|
671 * 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
|
672 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
|
673 * 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
|
674 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
|
675 (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
|
676 (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
|
677 (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
|
678 * 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
|
679 * 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
|
680 (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
|
681 (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
|
682 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
683 2008-06-02 David Bateman <dbateman@free.fr> |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
684 |
7810
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
685 * fCmplxLU.cc (class FloatComplexLU): Correct error in instantiation. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
686 * floatLU.cc (class FloatLU): ditto. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
687 * floatLU.h (class FloatLU): ditto. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
688 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
689 * floatAEPBAL.cc (octave_idx_type FloatAEPBALANCE::init (const |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
690 FloatMatrix&, const std::string&)): Use FloatMatrix to initialize |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
691 balancing_mat. |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
692 |
7809
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
693 * 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
|
694 (MATRIX_SRC): Add fCmplxAEPBAL.cc and floatAEPBAL.cc. |
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
695 |
7805
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
696 2008-05-21 David Bateman <dbateman@free.fr> |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
697 |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
698 * Quad-opts.in: Handle single precision tolerances. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
699 * Quad.cc (float_user_fcn): New static variable. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
700 (quad_float_fcn_ptr): New typedef. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
701 (qagp, quagi): New QUADPACK decls. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
702 (float_user_function): New function. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
703 (DefQuad::do_integrate, IndefQuad::do_integrate): Float versions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
704 (FloatDefQuad::do_integrate, FloatIndefQuad::do_integrate): |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
705 New functions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
706 * Quad.h (class Quad): Handle float type. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
707 (class FloatDefQuad, class FloatIndefQuad): New classes. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
708 |
8040 | 709 2008-05-21 Jaroslav Hajek <highegg@gmail.com> |
7799 | 710 |
7804
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
711 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
712 (xcdotc, csyrk, cherk): New F77 decls. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
713 * fMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
714 (operator * (const FloatMatrix&, const FloatMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
715 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
716 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
717 (ssyrk): New F77 decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
718 * fCMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
719 (operator * (const FloatComplexMatrix&, const |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
720 FloatComplexMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
721 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
722 |
7803 | 723 * dMatrix.cc, CMatrix.cc, Sparse-op-defs.h: Add missing copyright. |
724 | |
7802
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
725 * 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
|
726 Correct indenting. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
727 (SPARSE_FULL_TRANS_MUL): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
728 (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
|
729 Move OCTAVE_QUIT one level up. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
730 (FULL_SPARSE_MUL_TRANS): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
731 * dSparse.h (mul_trans, trans_mul): Provide decl. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
732 * dSparse.cc (mul_trans, trans_mul): New functions. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
733 * 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
|
734 * 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
|
735 |
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
|
736 * 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
|
737 * 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
|
738 (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
|
739 (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
|
740 * 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
|
741 * 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
|
742 (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
|
743 (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
|
744 |
7799 | 745 * MatrixType.cc (matrix_real_probe, matrix_complex_probe): |
746 New template functions. | |
747 (MatrixType::MatrixType (const Matrix&), | |
748 MatrixType::MatrixType (const FloatMatrix&)): | |
749 just call matrix_real_probe. | |
750 (MatrixType::MatrixType (const ComplexMatrix&), | |
751 MatrixType::MatrixType (const FloatComplexMatrix&)): | |
752 just call matrix_complex_probe. | |
753 | |
754 * MatrixType.cc (MatrixType::MatrixType (matrix_type, bool)): | |
755 add missing test for Unknown. | |
756 | |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
757 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
|
758 |
7797
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
759 * 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
|
760 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
761 (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
|
762 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
763 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
764 * 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
|
765 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
766 (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
|
767 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
768 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
769 * 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
|
770 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
771 (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
|
772 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
773 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
774 * 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
|
775 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
776 (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
|
777 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
778 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
779 |
7796
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
780 * Array.cc: Fix transpose tests. |
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
781 |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
782 * 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
|
783 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
|
784 (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
|
785 * 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
|
786 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
|
787 (FloatGEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
788 * 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
|
789 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
790 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
791 * 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
|
792 (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
|
793 Algebraic eignvalue balancing. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
794 * 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
|
795 (FloatComplexAEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
796 * 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
|
797 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
798 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
799 * 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
|
800 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
|
801 * 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
|
802 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
803 * 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
|
804 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
805 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
806 * 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
|
807 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
|
808 * 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
|
809 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
810 * 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
|
811 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
812 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
813 * 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
|
814 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
|
815 * 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
|
816 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
817 * 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
|
818 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
819 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
820 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
821 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
822 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
|
823 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
|
824 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
825 2008-05-20 David Bateman <dbateman@free.fr> |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
826 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
827 * 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
|
828 transpose to limit the number of cache misses. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
829 (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
|
830 for matrix conjugate transpose. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
831 * 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
|
832 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
833 * DiagArray2.cc (DiagArray2<T> DiagArray2<T>::transpose () const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
834 Specialization for diagonal arrays. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
835 (DiagArray2<T> DiagArray2<T>::transpose (T (*) (const&)) const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
836 Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
837 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
838 * 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
|
839 (MArray<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
840 * 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
|
841 * 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
|
842 * 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
|
843 * MDiagArray2.h (MDiagArray2<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
844 (MDiagArray<T> hermitian <T (*) (const&)) const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
845 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
846 * 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
|
847 * CRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
848 * dColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
849 * dRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
850 * CDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
851 * dDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
852 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
853 * 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
|
854 * fCRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
855 * fColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
856 * fRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
857 * fCDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
858 * fDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
859 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
860 * CDiagMatrix.cc (ComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
861 ComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
862 * dDiagMatrix.cc (DiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
863 * CMatrix.cc (ComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
864 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
865 * fCDiagMatrix.cc (FloatComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
866 FloatComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
867 * fDiagMatrix.cc (FloatDiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
868 * fCMatrix.cc (FloatComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
869 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
870 * lo-mappers.cc (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
871 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
872 New mapper functions for single precion values. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
873 * lo-mappers.h (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
874 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
875 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
876 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
877 * CmplxGEBAL.cc (ComplexGEPBALANCE), dbleGEPBAL.cc (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
878 fCmplxGEPBAL.cc (FloatComplexGEPBALANCE), floatGEPBAL.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
879 (FloatGEPBALANCE): New class for generalized eigenvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
880 * CmplxGEBAL.h (ComplexGEPBALANCE), dbleGEPBAL.h (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
881 fCmplxGEPBAL.h (FloatComplexGEPBALANCE), floatGEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
882 (FloatGEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
883 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
884 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
885 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
886 * floatAEPBAL.cc (FloatAEPBALANCE), fCmplxAEPBAL.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
887 (FloatComplexAEPBALANCE): New classes for single precision |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
888 Algebraic eignvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
889 * floatAEPBAL.h (FloatAEPBALANCE), fCmplxAEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
890 (FloatComplexAEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
891 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
892 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
893 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
894 * floatHESS.cc (FloatHESS), fCmplxHESS.cc (FloatComplexHESS): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
895 classes for single precision Hessenberg decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
896 * floatHESS.h (FloatHESS), fCmplxHESS.h (FloatComplexHESS): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
897 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
898 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
899 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
900 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
901 * floatQR.cc (FloatQR), fCmplxQR.cc (FloatComplexQR): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
902 classes for single precision QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
903 * floatQR.h (FloatQR), fCmplxQR.h (FloatComplexQR): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
904 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
905 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
906 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
907 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
908 * floatQRP.cc (FloatQRP), fCmplxQRP.cc (FloatComplexQRP): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
909 classes for single precision permuted QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
910 * floatQRP.h (FloatQRP), fCmplxQRP.h (FloatComplexQRP): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
911 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
912 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
913 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
914 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
915 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
916 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
917 FloatHESS, FloatComplexHESS, FloatQR, FloatComplexQR, QRP, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
918 ComplexQRP, FloatQRP, FloatComplexQRP): Declare classes. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
919 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
920 * 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
|
921 fCColVector.cc, fCColVector.h, fCDiagMatrix.cc, fCDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
922 fCMatrix.cc, fCMatrix.h, fCNDArray.cc, fCNDArray.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
923 fCRowVector.cc, fCRowVector.h, fCmplxCHOL.cc, fCmplxCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
924 fCmplxDET.cc, fCmplxDET.h, fCmplxLU.cc, fCmplxLU.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
925 fCmplxSCHUR.cc, fCmplxSCHUR.h, fCmplxSVD.cc, fCmplxSVD.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
926 fColVector.cc, fColVector.h, fDiagMatrix.cc, fDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
927 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
|
928 fRowVector.cc, fRowVector.h, floatCHOL.cc, floatCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
929 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
|
930 floatSCHUR.h, floatSVD.cc, floatSVD.h: New files. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
931 * 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
|
932 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
933 * 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
|
934 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
|
935 MatrixType.cc, MatrixType.h, SparseCmplxQR.cc, SparseCmplxQR.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
936 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
|
937 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
|
938 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
|
939 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
|
940 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
|
941 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
|
942 Allow single precision types. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
943 |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
944 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
|
945 |
7788 | 946 * CMatrix.cc (double rcond): Replace with double rcon everywhere |
947 to avoid shadowed variable warning | |
948 (double ComplexMatrix::rcond (void) const): New method for | |
949 reciprocal condition number calculation. | |
950 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
951 * CMatrix.h (double rcond): Replace with double rcon everywhere | |
952 to avoid shadowed variable warning | |
953 (double ComplexMatrix::rcond (void) const): New method for | |
954 reciprocal condition number calculation. | |
955 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
956 * dMatrix.cc (double rcond): Replace with double rcon everywhere | |
957 to avoid shadowed variable warning | |
958 (double Matrix::rcond (void) const): New method for | |
959 reciprocal condition number calculation. | |
960 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
961 * dMatrix.h (double rcond): Replace with double rcon everywhere | |
962 to avoid shadowed variable warning | |
963 (double Matrix::rcond (void) const): New method for | |
964 reciprocal condition number calculation. | |
965 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
966 | |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
967 * 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
|
968 expression matching |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
969 * 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
|
970 (LIBOCTAVE_CXX_SOURCES): regex-match.cc here. |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
971 |
7776 | 972 2008-05-19 David Bateman <dbateman@free.fr> |
973 | |
974 * dSparse.cc: Replace some DGBCON with GPBCON where they are | |
975 incorrectly used. | |
976 | |
7774
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
977 2008-05-13 David Bateman <dbateman@free.fr> |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
978 |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
979 * 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
|
980 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
|
981 is not zero. |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
982 |
7758
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
983 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
|
984 |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
985 * 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
|
986 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
|
987 * 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
|
988 (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
|
989 * 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
|
990 * 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
|
991 |
7757
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
992 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
|
993 |
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
994 * 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
|
995 |
7749
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
996 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
|
997 |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
998 * 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
|
999 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
|
1000 * 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
|
1001 Likewise. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
1002 (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
|
1003 Adjust all uses. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
1004 (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
|
1005 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
|
1006 (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
|
1007 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
|
1008 |
8040 | 1009 2008-04-30 Jaroslav Hajek <highegg@gmail.com> |
7740 | 1010 |
1011 * lo-mappers.cc (xlog2 (double)): Compute log (2), not log2 (2). | |
1012 (xlog2 (Complex), xlog2 (double, int&), xlog2 (Complex, int&)): | |
1013 New functions. | |
1014 * lo-mappers.h: Provide decls. | |
1015 | |
7735
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
1016 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
|
1017 |
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
1018 * 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
|
1019 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
|
1020 |
7732
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
1021 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
|
1022 |
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
1023 * 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
|
1024 |
7727
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
1025 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
|
1026 |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
1027 * 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
|
1028 Fix for-loop condition. |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
1029 |
8040 | 1030 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
|
1031 |
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
1032 * 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
|
1033 |
7717
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
1034 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
|
1035 |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
1036 * 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
|
1037 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
1038 * 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
|
1039 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
1040 * 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
|
1041 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
1042 * 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
|
1043 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
1044 |
7707
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
1045 2008-04-09 Michael Goffioul <michael.goffioul@gmail.com> |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
1046 |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
1047 * lo-mappers.cc (xround): Avoid floating-point overflow when input |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
1048 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
|
1049 |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
1050 * 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
|
1051 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
|
1052 __WIN32__ platforms. |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
1053 |
8040 | 1054 2008-04-07 Jaroslav Hajek <highegg@gmail.com> |
7700
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
1055 |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
1056 * dbleQR.h, dbleQR.cc (QR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
1057 * CmplxQR.h, CmplxQR.cc (ComplexQR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
1058 * 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
|
1059 CHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
1060 * CmplxCHOL.h, CmplxCHOL.cc (ComplexCHOL::insert_sym, |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
1061 ComplexCHOL::delete_sym, ComplexCHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
1062 |
7695
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
1063 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
|
1064 |
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
1065 * 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
|
1066 |
7671
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
1067 2008-03-27 Jaroslav Hajek <highegg@gmail.com> |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
1068 |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
1069 * oct-lookup.h: New file. |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
1070 |
7646
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
1071 2008-03-26 David Bateman <dbateman@feee.fr> |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
1072 |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
1073 * Array.cc (assignN): Additional fix for vector assignments. |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
1074 |
7642
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
1075 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
|
1076 |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
1077 * 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
|
1078 original matrix is empty. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
1079 * 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
|
1080 function. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
1081 * 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
|
1082 |
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
|
1083 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
|
1084 |
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
|
1085 * 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
|
1086 (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
|
1087 * 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
|
1088 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
|
1089 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
|
1090 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
1091 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
|
1092 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
1093 * lo-mappers.cc (xtrunc): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
1094 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
1095 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
1096 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
|
1097 |
7638
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
1098 * lo-specfun.cc (expm1, log1p): New functions. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
1099 * lo-specfun.h: Provide decls. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
1100 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
1101 * lo-mappers.cc (xroundb): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
1102 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
1103 |
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
|
1104 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
|
1105 |
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
|
1106 * 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
|
1107 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
|
1108 |
7619 | 1109 2008-03-21 David Bateman <dbateman@free.fr> |
1110 | |
1111 * oct-sparse.h: Add headers for amd.h. | |
1112 | |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1113 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
|
1114 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1115 * 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
|
1116 method for diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1117 * 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
|
1118 * 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
|
1119 * 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
|
1120 * 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
|
1121 * 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
|
1122 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1123 * 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
|
1124 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1125 * 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
|
1126 * 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
|
1127 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1128 * 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
|
1129 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1130 * 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
|
1131 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1132 * CDiagMatrix.cc (ComplexColumnVector ComplexDiagMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1133 (void) const): delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1134 * 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
|
1135 * 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
|
1136 * 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
|
1137 delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1138 * 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
|
1139 * 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
|
1140 * 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
|
1141 * 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
|
1142 * 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
|
1143 * 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
|
1144 * 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
|
1145 * 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
|
1146 * 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
|
1147 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1148 * 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
|
1149 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
|
1150 * 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
|
1151 return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1152 * 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
|
1153 terms of template classes function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1154 * 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
|
1155 * 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
|
1156 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
|
1157 * 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
|
1158 return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1159 * 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
|
1160 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
|
1161 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1162 * 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
|
1163 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
|
1164 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1165 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1166 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1167 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1168 * 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
|
1169 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1170 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1171 * CNDArray.cc (ComplexNDArray ComplexNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1172 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1173 * 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
|
1174 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1175 * 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
|
1176 method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1177 * 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
|
1178 * chNDArray.cc (charNDArray charNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1179 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1180 * 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
|
1181 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1182 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1183 |
7609
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
1184 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
|
1185 |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
1186 * 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
|
1187 relative filenames. |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
1188 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
1189 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
|
1190 |
7605
48488cca0006
Fix for array indexing if original matrix is empty
David Bateman <dbateman@free.fr>
parents:
7602
diff
changeset
|
1191 * 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
|
1192 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
|
1193 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
1194 * 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
|
1195 const): New template function. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
1196 * 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
|
1197 const): ditto. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
1198 * 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
|
1199 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
|
1200 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
|
1201 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
|
1202 * 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
|
1203 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
|
1204 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
|
1205 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
1206 2008-03-18 David Bateman <dbateman@free.fr> |
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
1207 |
7601
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
1208 * 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
|
1209 * 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
|
1210 * 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
|
1211 |
7600
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
1212 * 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
|
1213 * CNDarray.cc (ComplexNDArray::min, CompelxNDArray::max): ditto. |
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
1214 * 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
|
1215 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
1216 * 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
|
1217 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
|
1218 |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
1219 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
|
1220 |
7598
a89b3fa632ee
partial specialization for octave_int_fit_to_range
John W. Eaton <jwe@octave.org>
parents:
7597
diff
changeset
|
1221 * 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
|
1222 Use partial specialization for double values. |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
1223 |
7573
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
1224 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
|
1225 |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
1226 * 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
|
1227 * 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
|
1228 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
|
1229 * idx-vector.cc, idx-vector.h |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
1230 (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
|
1231 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
|
1232 (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
|
1233 (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
|
1234 (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
|
1235 |
7572
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
1236 2008-03-07 John W. Eaton <jwe@octave.org> |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
1237 |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
1238 * 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
|
1239 IDX_VEC_REP::idx_vector_rep (const boolNDArray&)): |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
1240 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
|
1241 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
|
1242 (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
|
1243 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
1244 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
|
1245 |
7560
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
1246 * 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
|
1247 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
|
1248 * 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
|
1249 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
|
1250 |
7559
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
1251 * dbleCHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
1252 * CmplxHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
1253 * 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
|
1254 * 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
|
1255 * 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
|
1256 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1257 2008-03-04 Jaroslav Hajek <highegg@gmail.com> |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1258 |
7554
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
1259 * dbleCHOL.cc (CHOL::set, CHOL::update, CHOL::downdate): |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
1260 New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
1261 * dbleCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
1262 * CmplxCHOL.cc (ComplexCHOL::set, ComplexCHOL::update, |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
1263 ComplexCHOL::downdate): New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
1264 * CmplxCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
1265 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1266 * 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
|
1267 QR::insert_row, QR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1268 (QR::QR (const Matrix&, const MAtrix&)): New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1269 * dbleQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1270 * CmplxQR.cc (ComplexQR::update, ComplexQR::insert_col, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1271 ComplexQR::delete_col, ComplexQR::insert_row, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1272 ComplexQR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1273 (ComplexQR::ComplexQR (const ComplexMatrix&, const ComplexMAtrix&)): |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1274 New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1275 * CmplxQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1276 |
7549
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
1277 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
|
1278 |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
1279 * 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
|
1280 of < and > operators. |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
1281 |
7546
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
1282 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
|
1283 |
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
1284 * 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
|
1285 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
|
1286 |
7545 | 1287 2008-03-03 Jaroslav Hajek <highegg@gmail.com> |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
1288 |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
1289 * dMatrix.cc (Matrix::lssolve): Also avoid dgelsd lwork query bug |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
1290 in lssolve method that accepts column vector argument. Correct |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
1291 calculation of nlvl. |
7545 | 1292 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd. |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
1293 |
7537
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
1294 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
|
1295 |
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
1296 * 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
|
1297 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
1298 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
|
1299 |
7536 | 1300 * oct-rand.cc (get_dist_id): Fix typo. |
1301 (get_dist_id, octave_rand::distribution, octave_rand::scalar, | |
1302 fill_rand): Improve error messages. | |
1303 | |
7535
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
1304 * 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
|
1305 (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
|
1306 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
|
1307 (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
|
1308 |
7533
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
1309 * 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
|
1310 (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
|
1311 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
|
1312 (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
|
1313 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
|
1314 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
|
1315 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
|
1316 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
|
1317 (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
|
1318 (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
|
1319 (octave_rand::uniform_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
1320 octave_rand::normal_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
1321 octave_rand::exponential_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
1322 octave_rand::poisson_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
1323 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
|
1324 (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
|
1325 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
|
1326 (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
|
1327 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
1328 * 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
|
1329 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd |
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
1330 |
7521
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
1331 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
|
1332 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
1333 * 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
|
1334 specializations for signed and unsigned types. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
1335 (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
|
1336 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
|
1337 octave_int_helper class. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
1338 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
1339 * 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
|
1340 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
|
1341 with "template <>". |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
1342 |
7520 | 1343 2008-02-22 John W. Eaton <jwe@octave.org> |
1344 | |
1345 * CSparse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc, | |
1346 file-ops.cc, oct-group.cc, oct-shlib.cc, sparse-base-chol.h, | |
1347 sparse-dmsolve.cc: Use 0 instead of NULL. | |
1348 | |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1349 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
|
1350 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1351 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1352 (octave_idx_type) const): New method. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1353 * boolSparse.h (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1354 (octave_idx_type) const): Declare it. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1355 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1356 * 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
|
1357 factorization of xGETRF directly. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1358 * 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
|
1359 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
|
1360 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
|
1361 to simulate the retirn of xGETRF. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1362 * 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
|
1363 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
|
1364 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
|
1365 (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
|
1366 * 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
|
1367 scaling. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1368 * SparseCmplxLU.cc: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1369 * 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
|
1370 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
|
1371 * SparseCmplxLU.h: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1372 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1373 * 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
|
1374 return permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1375 * 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
|
1376 * 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
|
1377 return row permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1378 (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
|
1379 permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1380 * 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
|
1381 (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
|
1382 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1383 * 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
|
1384 |
7505
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
1385 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
|
1386 |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
1387 * 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
|
1388 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
|
1389 (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
|
1390 * 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
|
1391 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
|
1392 (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
|
1393 * 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
|
1394 * 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
|
1395 |
7503
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1396 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
|
1397 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1398 * boolNDArray.h (boolNDArray (const Array2<bool>&)): Delete. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1399 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1400 * Marray2.h (MArray2 (const Array2<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1401 MArray2 (const MArray2<U>&)): New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1402 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1403 * Array2.h (Array2 (const Array<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1404 Array2 (const Array<U>&, const dim_vector&)): |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1405 New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1406 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1407 * CColVector.cc (ComplexColumnVector::map): Forward to MArray::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1408 * dColVector.cc (ColumnVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1409 * CRowVector.cc (ComplexRowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1410 * dRowVector.cc (RowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1411 * CMatrix.cc (ComplexMatrix::map): Forward to MArray2::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1412 * dMatrix.cc (Matrix::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1413 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1414 * dNDArray.cc (NDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1415 * dNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1416 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1417 * CNDArray.cc (ComplexNDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1418 * CNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1419 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1420 * MArray2.h (MArray2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1421 * Array2.h (Array2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1422 * MArrayN.h (MArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1423 * ArrayN.h (ArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1424 * Array.h (Array<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1425 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1426 * functor.h: New file. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1427 * Makefile.in (INCLUDES): Add it to the list. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1428 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1429 2008-02-20 David Bateman <dbateman@free.fr> |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1430 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1431 * CColVector.h, CColVector.cc (ComplexColumnVector::apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1432 * dColVector.h, dColVector.cc (ColumnVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1433 * CRowVector.h, CRowVector.cc (ComplexRowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1434 * dRowVector.h, dRowVector.cc (RowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1435 * CMatrix.h, CMatrix.cc (ComplexMatrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1436 * dMatrix.h, dMatrix.cc (Matrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1437 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1438 * CSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1439 (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
|
1440 * CSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1441 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1442 * dSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1443 (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
|
1444 * dSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1445 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1446 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1447 * intNDArray.cc (abs, signum): Two new mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1448 * intNDArray.h (abs, signum): Declare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1449 * 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
|
1450 base type. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1451 |
7486
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
1452 2008-02-15 John W. Eaton <jwe@octave.org> |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
1453 |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
1454 * 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
|
1455 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
|
1456 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
1457 |
7482
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
1458 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
|
1459 |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
1460 * 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
|
1461 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
|
1462 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
|
1463 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
|
1464 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
|
1465 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
|
1466 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc: |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
1467 Don't check f77_exception_encountered. |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
1468 |
7477 | 1469 2008-02-12 John W. Eaton <jwe@octave.org> |
1470 | |
1471 * CMatrix.cc: Declare xilaenv instead of ilaenv. | |
1472 (ComplexMatrix::lssolve): Call xilaenv instead of ilaenv. | |
1473 | |
7476 | 1474 2008-02-12 Jason Riedy <ejr@cs.berkeley.edu> |
1475 | |
7480 | 1476 * Array.cc (ascending_compare, descending_compare): Remove |
1477 non-standard extern in the instantiations. | |
1478 | |
1479 * oct-sort.cc: Include <cstring> and sprinkle with std:: as needed. | |
1480 | |
7476 | 1481 * dMatrix.cc (ILAENV): Declare LAPACK Fortran function. |
1482 (Matrix::lssolve): Use ILAENV to query smlsiz. And add an ugly | |
1483 workaround for DGELSD's broken lwork query. The formula is from | |
1484 LAPACK's dgelsd.f source and allocates enough workspace to use an | |
1485 efficient algorithm in the short-and-fat case (n > m). | |
1486 * CMatrix.cc (ILAENV): Declare LAPACK Fortran function. | |
1487 (ComplexMatrix::lssolve): Use ILAENV to query smlsiz. And add an | |
1488 ugly workaround for DGELSD's broken lwork query, as with double. | |
1489 | |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
1490 2008-02-12 John W. Eaton <jwe@octave.org> |
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
1491 |
7470
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
1492 * sparse-sort.cc: Don't explicitly instantiate |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
1493 class octave_sort<octave_idx_vector_sort *>, |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
1494 class octave_sort<octave_idx_type>, or |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
1495 class octave_sort<octave_sparse_sort_idxl *>. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
1496 |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
1497 * Sparse.h (INSTANTIATE_SPARSE_SORT): Delete macro. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
1498 * 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
|
1499 |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
1500 * 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
|
1501 |
7466
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
1502 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
|
1503 |
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
1504 * 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
|
1505 |
7463
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
1506 2008-02-08 John W. Eaton <jwe@octave.org> |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
1507 |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
1508 * oct-sort.h (enum sortmode): Eliminate UNDEFINED. Change all |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
1509 uses of UNDEFINED to ASCENDING. |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
1510 |
7457 | 1511 2008-02-07 John W. Eaton <jwe@octave.org> |
1512 | |
7458 | 1513 * Range.cc (Range::sort_internal): Rename from sort. New arg, |
1514 ASCENDING, with default value of true. | |
1515 (Range::sort_internal (Array<octave_idx_type>&, bool)): New function. | |
1516 (Range::sort (octave_idx_type, sortmode) const): New function. | |
1517 (Range::sort (Array<octave_idx_type>&, octave_idx_type, sortmode) | |
1518 const): New function. | |
1519 * Range.h: Fix/provide decls. | |
1520 | |
7457 | 1521 * intNDArray.cc (intNDArray<T>::any (int)): Use != for comparison. |
1522 | |
7449 | 1523 2008-02-06 John W. Eaton <jwe@octave.org> |
1524 | |
1525 * Makefile.in ($(OPTS_INC)): Use mv instead of move-if-change. | |
1526 (stamp-prereq): Eliminate. | |
1527 (clean): Don't remove stamp-prereq. | |
1528 (libraries): Don't depend on stamp-prereq. | |
1529 (PREREQ): New macro. | |
1530 ($(MAKEDEPS)): Depend on $(PREREQ), not stamp-prereq. | |
1531 (distclean): Simplify with $(PREREQ). | |
1532 (OPT_BASE): New macro. | |
1533 (OPT_IN): Rename from OPTS_INC_DATA. Define in terms of OPT_BASE. | |
1534 (OPT_INC): Rename from OPTS_INC. Define in terms of OPT_BASE. | |
1535 | |
7448 | 1536 2008-02-05 John W. Eaton <jwe@octave.org> |
1537 | |
1538 * Makefile.in: Unconditionally include $(MAKEDEPS). | |
1539 Mark $(MAKEDEPS) as .PHONY targets if omit_deps is true. | |
1540 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
1541 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> |
7443 | 1542 |
1543 * Array.cc (ascending_compare, descending_compare, | |
1544 Array<T>::sort): Declare explicit specialization for T=double to | |
1545 avoid symbol duplication error at link time. | |
1546 * Array-d.cc (ascending_compare, descending_compare): Declare and | |
1547 define as nonmember functions, not member functions of Array<T>. | |
1548 | |
7442 | 1549 2008-02-03 John W. Eaton <jwe@octave.org> |
1550 | |
1551 * Array-i.cc: Also instantiate Arrays for long long type if it exists. | |
1552 | |
1553 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> | |
1554 | |
1555 * Array.cc: Don't include Range.h. | |
1556 | |
7433 | 1557 2008-01-31 David Bateman <dbateman@free.fr> |
1558 | |
1559 * oct-sort.cc: conversion of int to octave_idx_type where needed | |
1560 for 64-bit builds. | |
1561 (IFLT): Allow IFLT macro to be overridden. | |
1562 * oct-sort.h: conversion of int to octave_idx_type where needed | |
1563 for 64-bit builds. | |
1564 (enum sortmode): Type of sort to perform. | |
1565 (vec_index): Simple class to aid in indexed sorts. | |
1566 | |
1567 * Array.h ( Array<T> sort (octave_idx_type, sortmode) const, | |
1568 Array<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
1569 sortmode) const): Array sorting methods. | |
1570 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT): Macros to | |
1571 instantiate the array sorting methods. | |
1572 * Array.cc (ascending_compare, descending_compare): New template | |
1573 functions for generic sort comparison. | |
1574 ( Array<T> Array<T>::sort (octave_idx_type, sortmode) const, | |
1575 Array<T> Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, | |
1576 sortmode) const): Array sorting functions based of octave_sort | |
1577 class. | |
1578 * Array-C.cc: Instantiate the complex array sort methods. | |
1579 (IFLT): New macro to override the one in the | |
1580 octave_sort class to avoid need for Complex < and > operators. | |
1581 (static double xabs (const Complex&)): Complex abs function | |
1582 avoiding std::abs(Inf) returning NaN with some compilers. | |
1583 (ascending_compare, descending compare): override template | |
1584 functions for complex comparison. | |
1585 * Array-d.cc: Instantiate the double array sort methods. | |
1586 (Array<double> Array<double>::sort (octave_idx_type, | |
1587 sortmode) const, Array<double> Array<double>::sort | |
1588 (Array<octave_idx_type> &, octave_idx_type, sortmode) const): | |
1589 Array sorting functions based of octave_sort using uint64 sorting | |
1590 on IEE754 doubles, for speed and correct sorting of Inf and NaN. | |
1591 (ascending_compare, descending compare): override template | |
1592 functions for double and uint64 comparison. | |
1593 * Array-b.cc, Array-ch.cc, Array-i.cc, Array-s.cc, Array-str.cc: | |
1594 Instantiate the array sort methods. | |
1595 * Array-idx-vec.cc: Null instantiation of array sort methods. | |
1596 * Array2.h, Array3.h, ArrayN.h (sort): 2, 3 and N-dimensional | |
1597 versions of the sort methods based on Array<T>::sort. | |
1598 | |
1599 * CSparse.cc, dSparse.cc: Remove inclusion of octa-sort.h. | |
1600 * Sparse.h ( Sparse<T> sort (octave_idx_type, sortmode) const, | |
1601 Sparse<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
1602 sortmode) const): Sparse sorting methods. | |
1603 (INSTANTIATE_ARRAY_SORT): Macro to instantiate the sparse sorting | |
1604 methods. | |
1605 * Sparse.cc: replace sort with lsort throughout to avoid shadowing | |
1606 of new sort method. | |
1607 (sparse_ascending_compare, sparse_descending_compare): New template | |
1608 functions for generic sort comparison. | |
1609 ( Sparse<T> Sparse<T>::sort (octave_idx_type, sortmode) const, | |
1610 Sparse<T> Sparse<T>::sort (Sparse<octave_idx_type> &, octave_idx_type, | |
1611 sortmode) const): Sparse sorting functions based of octave_sort | |
1612 class. | |
1613 * Sparse-C.cc: Instantiate the complex sparse sort methods. | |
1614 (IFLT): New macro to override the one in the | |
1615 octave_sort class to avoid need for Complex < and > operators. | |
1616 (static double xabs (const Complex&)): Complex abs function | |
1617 avoiding std::abs(Inf) returning NaN with some compilers. | |
1618 (sparse_ascending_compare, sparse_descending compare): override | |
1619 template functions for complex comparison. | |
1620 * Sparse-d.cc: Instantiate the cdouble sparse sort methods. | |
1621 (sparse_ascending_compare, sparse_descending compare): override | |
1622 template functions for double comparison. | |
1623 * Array-b.cc: Instantiate the sparse sort methods. | |
1624 | |
7422 | 1625 2008-01-25 Jaroslav Hajek <highegg@gmail.com> |
1626 | |
1627 * idx-vector.h (idx_vector::idx_vector_rep::range_base, | |
1628 idx_vector::idx_vector_rep::range_step, | |
1629 idx_vector::idx_vector_rep::range_step): New data members. | |
1630 (idx_vector::idx_vector_rep::idx_vector_rep): Initialize them. | |
1631 * idx-vector.cc (IDX_VEC_REP::sort, IDX_VEC_REP::is_colon_equiv, | |
1632 IDX_VEC_REP::init_state, IDX_VEC_REP::operator =, | |
1633 IDX_VECTOR_REP::idx_vector_rep): Handle range. | |
1634 | |
7416 | 1635 2008-01-18 Marco Caliari <marco.caliari@univr.it> |
1636 | |
1637 * dMatrix.cc (Matrix::expm): Correctly perform reverse permutation. | |
1638 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
1639 | |
7408 | 1640 2008-01-22 Michael Goffioul <michael.goffioul@gmail.com> |
7407 | 1641 |
1642 * oct-time.cc (octave_base_tim::init): Validate pointer argument; | |
1643 this fixes the "localtime(-1)" crash under Windows. | |
1644 | |
7400 | 1645 2008-01-18 John W. Eaton <jwe@octave.org> |
1646 | |
1647 * dMatrix.cc (solve_singularity_warning): New function. | |
1648 (Matrix::expm): Pass pointer to solve_singularity_warning to | |
1649 Matrix::solve method. Exit early if Matrix::solve fails. | |
1650 Limit sqpow value to avoid overflowing scale factor. | |
1651 * CMatrix.cc (solve_singularity_warning): New function. | |
1652 (ComplexMatrix::expm): Pass pointer to solve_singularity_warning to | |
1653 ComplexMatrix::solve method. Exit early if ComplexMatrix::solve fails. | |
1654 Limit sqpow value to avoid overflowing scale factor. | |
7402 | 1655 From Marco Caliari <marco.caliari@univr.it>. |
7400 | 1656 |
7356 | 1657 2008-01-10 Kim Hansen <kimhanse@gmail.com> |
1658 | |
1659 * Sparse.cc: New tests for slicing of sparse matrices. | |
1660 | |
7350 | 1661 2008-01-07 David Bateman <dbateman@free.fr> |
1662 | |
1663 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Don't break from | |
1664 loop if this test succeeds. | |
1665 | |
7342 | 1666 2008-01-03 David Bateman <dbateman@free.fr> |
1667 | |
1668 * MSparse.cc (SPARSE_A2A2_OP): If first arg is scalar zero, then | |
1669 need unary operator on remaining argument | |
1670 * Sparse-op-defs.h (SPARSE_SMSM_BIN_OP_1): ditto. | |
1671 | |
7334 | 1672 2007-12-21 John W. Eaton <jwe@octave.org> |
1673 | |
1674 Version 3.0.0 released. | |
1675 | |
7322 | 1676 2007-12-18 David Bateman <dbateman@free.fr> |
1677 | |
1678 * Sparse.cc (template <class T> Sparse<T> Sparse<T>::index | |
1679 (idx_vector&, int) const): Fix case indexing of non zero scalar | |
1680 stored as a sparse matrix. | |
1681 (template <class T> Sparse<T> Sparse<T>::index (idx_vector&, | |
1682 idx_vector&, int) const): For the non permutated indexing case, | |
1683 fix link list calculation and use. | |
1684 | |
7321 | 1685 2007-12-17 John W. Eaton <jwe@octave.org> |
1686 | |
1687 * Array.cc (Array<T>::indexN): Correctly handle scalar indexed by | |
1688 N-d array. | |
1689 | |
7318 | 1690 2007-12-17 David Bateman <dbateman@free.fr> |
1691 | |
1692 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Use ridx for row | |
1693 index. | |
1694 | |
7299 | 1695 2007-12-11 John W. Eaton <jwe@octave.org> |
1696 | |
1697 * Sparse.cc (Sparse<T>::index (idx_vector&, int) const): | |
1698 If indexing scalar with empty matrix, return empty array with same | |
1699 size as index. | |
1700 | |
7272 | 1701 2007-12-10 John W. Eaton <jwe@octave.org> |
1702 | |
7279 | 1703 * NLEqn.h (NLEqn::fval): New data member. Adjust constructors |
1704 and assignment operator. | |
1705 (NLEqn::function_value): New function. | |
1706 * NLEqn.cc (NLEqn::solve): If solution is successful, compute | |
1707 function value. | |
1708 | |
7272 | 1709 * file-ops.cc (file_ops::concat): New function. |
1710 * file-ops.h: Provide decl. | |
1711 | |
7270 | 1712 2007-12-07 John W. Eaton <jwe@octave.org> |
1713 | |
1714 * oct-time.cc (octave_base_tm::init): Only assign t->tm_zone if it | |
1715 is not 0. | |
1716 | |
7269 | 1717 2007-12-07 David Bateman <dbateman@free.fr> |
1718 | |
1719 * Sparse-op-defs.h (SPARSE_SMS_CMP_OP, SPARSE_SMS_BOOL_OP, | |
1720 SPARSE_SSM_CMP_OP, SPARSE_SSM_BOOL_OP, SPARSE_SMSM_CMP_OP, | |
1721 SPARSE_SMSM_BOOL_OP, SPARSE_BASE_REDUCTION_OP): Use sparse | |
1722 indexing where possible rather than the elem method. | |
1723 (SPARSE_REDUCTION_OP_ROW_EXPR, SPARSE_REDUCTION_OP_COL_EXPR, | |
1724 SPARSE_ANY_ALL_OP_ROW_CODE, SPARSE_ANY_ALL_OP_COL_CODE): | |
1725 Replace for new version of SPARSE_BASE_REDUCTION_OP. | |
1726 (SPARSE_ALL_OP): Specialize the initial value, and only treat dim | |
1727 = 0 directly. | |
1728 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::sumsq (int) | |
1729 const): Replace ROW_EXPR and COL_EXPR functions for new version of | |
1730 SPARSE_BASE_REDUCTION_OP. | |
1731 (SparseComplexMatrix SparseComplexMatrix::prod (int) const): | |
1732 Specialize the initial value, and only treat dim = 0 directly. | |
1733 * dSparse.cc (SparseMatrix SparseMatrix::sumsq (int) const): | |
1734 ditto. | |
1735 (SparseMatrix SparseMatrix::prod (int) const): ditto. | |
1736 | |
7265 | 1737 2007-12-06 John W. Eaton <jwe@octave.org> |
1738 | |
1739 * CMatrix.cc (ComplexMatrix::expm): Update pointers to internal | |
1740 data for npp and dpp after assignments. | |
1741 * dMatrix.cc (Matrix::expm): Use same method as ComplexMatrix::expm. | |
1742 | |
7253 | 1743 2007-12-04 John W. Eaton <jwe@octave.org> |
1744 | |
1745 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1746 Do nothing if one index is empty. | |
1747 | |
7246 | 1748 2007-12-04 David Bateman <dbateman@free.fr> |
1749 | |
1750 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1751 Resize matrix as well if one dimension of lhs is zero and the rhs | |
1752 index exceeds the lhs index. | |
1753 * Sparse.cc (assign1 (Sparse<LT>&, const Sparse<RT>&)): | |
1754 Don't resize to a smaller matrix for empty matrices with a max rhs | |
1755 index smaller than the non zero lhs index. | |
1756 | |
1757 2007-12-04 Michael Goffioul <michael.goffioul@gmail.com> | |
1758 | |
1759 * Array-util.h: Tag permute_vector_compare with OCTAVE_API. | |
1760 | |
7241 | 1761 2007-12-03 Moritz Borgmann <octave@moriborg.de> |
1762 | |
1763 * Array-util.cc (permute_vector_compare): Move here from Array.cc. | |
1764 * Array-util.h (permute_vector, permute_vector_compare): Provide decls. | |
1765 * Array.cc (permute_vector, permute_vector_compare): Delete. | |
1766 | |
7238 | 1767 2007-12-03 David Bateman <dbateman@free.fr> |
1768 | |
1769 * Sparse.cc (template <class LT, class RT> int assign | |
1770 (Sparse<LT>&, const Sparse<RT>&)): Only set return matrix size to | |
1771 rhs values if both no. rows and columns are zero. | |
1772 | |
7231 | 1773 2007-11-30 John W. Eaton <jwe@octave.org> |
1774 | |
7234 | 1775 * oct-sort.cc, oct-sort.h: Style fixes. |
1776 | |
7231 | 1777 * lo-math.h: New file. |
1778 * Makefile.in (INCLUDES): Add it to the list. | |
1779 * liboctave/Array2.h, liboctave/ArrayN.h, liboctave/CmplxDET.cc, | |
1780 liboctave/DASPK.cc, liboctave/DASPK.h, liboctave/DASRT.cc, | |
1781 liboctave/DASRT.h, liboctave/DASSL.cc, liboctave/DASSL.h, | |
1782 liboctave/LSODE.cc, liboctave/LSODE.h, liboctave/NLEqn.h, | |
1783 liboctave/Quad.h, liboctave/Range.cc, liboctave/dbleDET.cc, | |
1784 liboctave/lo-cieee.c, liboctave/lo-ieee.cc, | |
1785 liboctave/lo-mappers.cc, liboctave/oct-time.cc, | |
1786 liboctave/oct-time.h, liboctave/randgamma.c, | |
1787 liboctave/randmtzig.c, liboctave/randpoisson.c: Include lo-math.h | |
1788 instead of cmath or math.h. | |
1789 * lo-mappers.h: Don't include sunmath.h here. | |
1790 | |
7198 | 1791 2007-11-26 John W. Eaton <jwe@octave.org> |
1792 | |
1793 * idx-vector.h (idx_vector::idx_vector_rep (const intNDArray<U>&)): | |
1794 Eliminate unnecessary second arg from call to tree_to_mat_idx. | |
1795 | |
1796 * oct-inttypes.h (operator bool, operator char): Delete. | |
1797 (bool_value, char_value, double_value, float_value): New functions. | |
1798 | |
7189 | 1799 2007-11-26 David Bateman <dbateman@free.fr> |
1800 | |
1801 * intNDArray.cc (template <class T> intNDArray<T> | |
1802 intNDArray<T>::max (int) const, template <class T> intNDArray<T> | |
1803 intNDArray<T>::max (ArrayN<octave_idx_type>&, int) const, | |
1804 template <class T> intNDArray<T> intNDArray<T>::min (int) const, | |
1805 template <class T> intNDArray<T> intNDArray<T>::min | |
1806 (ArrayN<octave_idx_type>&, int) const): New methods for integer | |
1807 classes. | |
1808 * intNDArray.h (class intNDArray): Add min/max methods | |
1809 * mx-op-defs.h (MIXMAX_DECLS, MINMAX_FCNS, SND_MINMAX_FCN, | |
1810 NDS_MINMAX_FCN, NDND_MINMAX_FCN): New macro for instantiation of | |
1811 min/max functions. | |
1812 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
1813 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
1814 (MINMAX_DECLS(T)): Declare the min/max functions for integer | |
1815 types. | |
1816 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
1817 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
1818 (MINMAX_FCNS(T)): Instantiate the min/max functions for integer | |
1819 types. | |
1820 | |
1821 * Arrayc.cc (Array<T>::index (idx_vector&, idx_vector&, int, | |
1822 const T& rfv) const): If ndims != 2 call ND version of index. | |
1823 | |
7176 | 1824 2007-11-14 John W. Eaton <jwe@octave.org> |
1825 | |
7178 | 1826 * oct-inttypes.h (opeator T (void) const): New conversion operator. |
1827 | |
7176 | 1828 * lo-specfun.cc (zbesi): When alpha is negative, don't limit |
1829 correction to half-integer values. From Eric Chassande-Mottin | |
1830 <echassandemottin@gmail.com>. | |
1831 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
1832 2007-11-07 Michael Goffioul <michael.goffioul@gmail.com> |
7124 | 1833 |
1834 * dMatrix.cc, CMatrix.cc: Help MSVC compiler to resolve | |
1835 ambiguities related to math functions (in C++ mode). | |
1836 | |
7102 | 1837 2007-11-06 David Bateman <dbateman@free.fr> |
1838 | |
7113 | 1839 * intNDArray.cc (intNDArray<T> intNDArray<T>::sum (int) const): |
1840 New method. | |
1841 * intNDarray.h (intNDArray sum (int) const): Declare it. | |
1842 * boolNDArray.cc (boolNDArray boolNDArray::sum (int) const): | |
1843 New method. | |
1844 * boolNDarray.cc (boolNDArray sum (int) const): Declare it. | |
7102 | 1845 * MArray-def.h (MARRAY_NORM_BODY): Scale frobenius norm by infinity |
1846 norm to avoid issues of over- and underflow. From Rolf Fabian | |
1847 <Rolf.Fabian@gmx.de>. | |
1848 | |
7081 | 1849 2007-10-30 David Bateman <dbateman@free.fr> |
1850 | |
1851 * DASRT-opts.in, LSODE-opts.in: Doc fixes for small book format. | |
1852 | |
7079 | 1853 2007-10-30 John W. Eaton <jwe@octave.org> |
1854 | |
1855 * CMatrix.cc (lssolve): Compute size of rwork and iwork arrays. | |
1856 * dMatrix.cc (lssolve): Compute size of iwork array. | |
1857 | |
7076 | 1858 2007-10-29 David Bateman <dbateman@free.fr> |
1859 | |
1860 * CMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
1861 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1862 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
1863 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
1864 double& rcond) const, lssolve (const ComplexColumnVector&, | |
1865 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
1866 declarations. | |
1867 * CMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
1868 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1869 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
1870 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
1871 double& rcond) const, lssolve (const ComplexColumnVector&, | |
1872 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
1873 methods. | |
1874 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
1875 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
1876 octave_idx_type&, double&) const): Also return rcond from the | |
1877 singular values returned by XGELSD. | |
1878 * dMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
1879 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1880 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
1881 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
1882 double& rcond) const, lssolve (const ComplexColumnVector&, | |
1883 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
1884 declarations. | |
1885 * dMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
1886 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1887 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
1888 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
1889 double& rcond) const, lssolve (const ComplexColumnVector&, | |
1890 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
1891 methods. | |
1892 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
1893 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
1894 octave_idx_type&, double&) const): Also return rcond from the | |
1895 singular values returned by XGELSD. | |
1896 | |
7072 | 1897 2007-10-26 David Bateman <dbateman@free.fr> |
1898 | |
1899 * dMatrix.cc (Matrix::lssolve): Use xGELSD for rank deficient | |
1900 matrices to avoid reliability issues with xGELSY. | |
1901 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. | |
7071 | 1902 |
7065 | 1903 2007-10-25 John W. Eaton <jwe@octave.org> |
1904 | |
1905 * oct-time.cc (octave_gmtime::init, octave_localtime::init): | |
1906 Call unix_time on arg instead of relying on conversion operator. | |
1907 | |
1908 * oct-time.h (octave_time::double_value): New function. | |
1909 (octave_time::operator double () const): Delete. | |
1910 (octave_time::operator time_t () const): Delete. | |
1911 | |
7058 | 1912 2007-10-24 John W. Eaton <jwe@octave.org> |
1913 | |
1914 * strptime.c: Also compile if OCTAVE_HAVE_BROKEN_STRPTIME is defined. | |
1915 | |
7052 | 1916 2007-10-23 John W. Eaton <jwe@octave.org> |
1917 | |
1918 * CRowVector.cc (operator * const ComplexRowVector&, const | |
1919 ComplexColumnVector&)): Delete spurious code left from patch. | |
1920 | |
7048 | 1921 2007-10-22 Kim Hansen <kimhanse@gmail.com> |
1922 | |
1923 * chMatrix.cc, lo-utils.cc, oct-env.cc, oct-uname.cc, | |
1924 sparse-sort.cc: Include <cstring>. | |
1925 | |
7036 | 1926 2007-10-17 John W. Eaton <jwe@octave.org> |
1927 | |
1928 * oct-sparse.h: Don't include metis.h. | |
1929 | |
1930 * dSparse.cc (SparseMatrix::fsolve): Delete special code for METIS. | |
1931 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
1932 * sparse-base-chol.cc (sparse_base_chol<chol_type, chol_elt, | |
1933 p_type>::sparse_base_chol_rep::init): Likewise. | |
1934 | |
7033 | 1935 2007-10-16 John W. Eaton <jwe@octave.org> |
1936 | |
1937 * dMatrix.cc (Matrix::inverse): Only check rcond == 0 if the | |
1938 matrix is hermitian or calc_cond is true. | |
1939 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
1940 | |
7016 | 1941 2007-10-12 John W. Eaton <jwe@octave.org> |
1942 | |
1943 * Change copyright notices in all files that are part of Octave to | |
1944 GPLv3 or any later version. | |
1945 | |
7007 | 1946 2007-10-11 Brian Gough <bjg@network-theory.co.uk> |
1947 | |
1948 * DASSL-opts.in, LSODE-opts.in: Spelling fixes. | |
1949 | |
7001 | 1950 2007-10-10 Olli Saarela <Olli.Saarela@kcl.fi> |
1951 | |
1952 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in: Spelling fixes. | |
1953 | |
7000 | 1954 2007-10-10 John W. Eaton <jwe@octave.org> |
1955 | |
1956 * LPsolve.h, LPsolve.cc: Delete. | |
1957 * Makefile.in: Remove them from the INCLUDES and | |
1958 LIBOCTAVE_CXX_SOURCES lists. | |
1959 | |
6989 | 1960 2007-10-09 John W. Eaton <jwe@octave.org> |
1961 | |
6996 | 1962 * oct-time.cc (octave_strptime::init): Initialize t.tm_mon to -1 |
1963 and t.tm_year to INT_MIN before call to oct_strptime. Adjust | |
1964 values to zero after call if they remain unchanged. | |
1965 | |
6989 | 1966 * dSparse.cc (SparseMatrix::all_elements_are_zero): New function. |
1967 * dNDArray.cc (NDArray::all_elements_are_zero): New function. | |
1968 | |
6988 | 1969 2007-10-09 David Bateman <dbateman@free.fr> |
1970 | |
6995 | 1971 * oct-time.cc (octave_strptime::init): Only call mktime if mday is |
1972 valud and mon and year are also filled in. | |
1973 | |
6990 | 1974 * Array2.h (Array2<T>::Array2(const dim_vector&), |
1975 Array2<T>::Array(const dim_vector&, const T&)): Check that | |
1976 dim_vector is 2 dimensional. | |
1977 | |
6988 | 1978 * Sparse.cc (Sparse<T> Sparse<T>::index (idx_vector&, idx_vector&, |
1979 int)): Remove a for loop in the random indexing case at the | |
1980 expense of maintaining a set of linked lists of indices that point | |
1981 to the same column in the original matrix. | |
1982 (int assign (Sparse<LT>&, Sparse<RT>)): Take a const copy of lhs | |
1983 and use it on the RHS of expressions to avoid unnecessary calls to | |
1984 make_unique. | |
1985 | |
6979 | 1986 2007-10-08 David Bateman <dbateman@free.fr> |
1987 | |
1988 * oct-rl-edit. (typedef rl_quoting_fcn_ptr, rl_dequoting_fcn_ptr, | |
1989 rl_char_is_quoted_fcn_ptr, rl_command_fcn_ptr): New typedefs | |
1990 for readline compatible functions. | |
1991 (octave_rl_redisplay): Redisplay the current line of text. | |
1992 (octave_rl_newline): Change interface to the same | |
1993 as used by the equivalent readline function itself. | |
1994 (octave_rl_filename_quoting_desired, | |
1995 octave_rl_set_filename_quote_characters, | |
1996 octave_rl_set_completer_quote_characters, | |
1997 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
1998 octave_rl_set_char_is_quoted_function): New functions to control | |
1999 readline filename quoting and line acceptace. | |
2000 * oct-rl-edit.c (octave_rl_newline): Change interface to the same | |
2001 as used by the equivalent readline function itself. | |
2002 (octave_rl_redisplay): Redisplay the current line of text. | |
2003 (octave_rl_filename_quoting_desired, | |
2004 octave_rl_set_filename_quote_characters, | |
2005 octave_rl_set_completer_quote_characters, | |
2006 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
2007 octave_rl_set_char_is_quoted_function): New functions to control | |
2008 readline filename quoting and line acceptace. | |
2009 * cmd-edit.h (typedef quoting_fcn, typedef dequoting_fcn, | |
2010 typedef char_is_quoted_fcn, user_accept_line_fcn): New typedefs | |
2011 to map C++ function to readline compatible functions. | |
2012 (set_filename_quote_characters): New function to set the | |
2013 characters to if they appear in a filename that force the filename | |
2014 to be quoted. | |
2015 (set_completer_quote_characters): The characters that the readline | |
2016 completion function considers as quotation characters. | |
2017 (set_quoting_function, set_dequoting_function, | |
2018 set_char_is_quoted_function, set_user_accept_line_function): | |
2019 Functions to set the Octave functions to perform quoting and the | |
2020 acceptance of a line of text by readline. | |
2021 (get_quoting_function, get_dequoting_function, | |
2022 get_char_is_quoted_function, get_user_accept_line_function): | |
2023 Functions to get the above functions. | |
2024 (accept_line): New method for the command_editor to accept a line | |
2025 of text. | |
2026 (file_quoting_desired): Function to set whether readline should | |
2027 attempt to quote filenames. | |
2028 (do_set_filename_quoting_characters, | |
2029 do_set_completer_quote_characters, do_set_quoting_function, | |
2030 do_set_dequoting_function, do_set_char_is_quoted_function, | |
2031 do_set_user_accept_line_function, do_get_quoting_function, | |
2032 do_get_dequoting_function, do_get_char_is_quoted_function, | |
2033 do_get_user_accept_line_function, do_filename_quoting_desired): | |
2034 Virtual functions to control the behavior of readline quoting and | |
2035 acceptance of lines. | |
2036 (do_accept_line): Virtual function for the accept line function. | |
2037 * cmd-edit.cc (class gnu_readline do_set_filename_quote_characters, | |
2038 do_completer_quote_characters, do_set_quoting_function, | |
2039 do_set_dequoting_function, do_set_char_is_quoted_function, | |
2040 do_set_user_accept_line_function, do_get_quoting_function, | |
2041 do_get_dequoting_function, do_get_user_accept_line_function, | |
2042 do_accept_line, do_filename_quoting_desired, command_quoter, | |
2043 command_dequoter, command_char_is_quoted, command_accept_line): | |
2044 New functions in gnu_readline class to control filename quoting | |
2045 and line acceptance. | |
2046 (quoting_function, dequoting_function, char_is_quoted_function, | |
2047 user_accept_line_function): private variable to store functions | |
2048 supplied for readline quoting and line acceptance. | |
2049 (gnu_readline::gnu_readline): Also set the new function pointers | |
2050 to zero. | |
2051 (gnu_readline::do_newline): Adapt to new octave_rl_newline | |
2052 interface. | |
2053 (gnu_readeline::operate_and_get_next): Use new accept_line | |
2054 function rather than newline. | |
2055 (default_ommand_editor::do_accept_line): New method. | |
2056 (class command_editor set_filename_quote_characters, | |
2057 set_completer_quote_characters, set_quoting_function, | |
2058 set_dequoting_function, set_char_is_quoted_function, | |
2059 set_user_accept_line_function, get_quoting_function, | |
2060 get_dequoting_function, get_user_accept_line_function, | |
2061 accept_line, filename_quoting_desired): New functions checking | |
2062 instance before calling virtual function. | |
2063 | |
2064 * CMatrix.h, dMatrix.h, boolMatrix.h, chMatrix.h, MArray2.h, | |
2065 Array2.h: Add dim_vector constructors. | |
2066 * charNDArray.h (charNDArray (const dim_vector&)): Add missing | |
2067 const to dim_vector constructors. | |
2068 * boolMatrix.cc, chMatrix.cc, intNDArray.cc (diag (void), diag | |
2069 (octave_idx_type)): New methods to constructor diagonal matrices. | |
2070 * boolMatrix.h, chMatrix.h, intNDArray.h (diag (void), diag | |
2071 (octave_idx_type)): Declare them. | |
2072 | |
2073 | |
6969 | 2074 2007-10-06 John W. Eaton <jwe@octave.org> |
2075 | |
2076 * lo-specfun.cc: (zlgamma): Delete. | |
2077 (xgamma): Use C library gamma function if available. | |
2078 (xlgamma): Use C library lgamma function if available. | |
2079 (xlgamma) [! HAVE_LGAMMA]: Allow calculation for any value of X | |
2080 other than NaN or Inf. | |
2081 | |
6961 | 2082 2007-10-05 John W. Eaton <jwe@octave.org> |
2083 | |
2084 * lo-specfun.cc (zlgamma): New function. | |
2085 | |
6959 | 2086 2007-10-04 John W. Eaton <jwe@octave.org> |
2087 | |
2088 * oct-sort.cc (octave_sort<T>::binarysort): Remove register | |
2089 qualifiers on local variables. | |
2090 | |
6958 | 2091 2007-10-04 Marco Caliari <mcaliari@math.unipd.it> |
2092 | |
2093 * CMatrix.cc (ComplexMatrix::expm): Limit shift to values less | |
2094 than log(realmax) to avoid issues with NaN. | |
2095 | |
6940 | 2096 2007-10-01 John W. Eaton <jwe@octave.org> |
2097 | |
6941 | 2098 * oct-time.cc (octave_strptime::init): Call mktime to propertly |
2099 initialize wday and yday. | |
2100 From Matthias Drochner <m.drochner@fz-juelich.de>. | |
2101 | |
6940 | 2102 * cmd-edit.cc (command_editor::do_decode_prompt_string): Don't |
2103 insert extra '\001' when decoding \[ and \]. | |
2104 | |
6926 | 2105 2007-09-26 David Bateman <dbateman@free.fr> |
2106 | |
2107 * dMatrix.cc (lssolve): Replace the use of xGELSS with xGELSY with | |
2108 is much faster and no less accurate. | |
2109 * CMatrix.cc (lssolve): ditto. | |
2110 | |
6924 | 2111 2007-09-25 David Bateman <dbateman@free.fr> |
2112 | |
2113 * dMatrix.cc (utsolve, ltsolve, fsolve, lssolve): Allow | |
2114 zero dimensioned matrices. | |
2115 * CMatrix.cc (utsolve, ltsolve, fsolve, lssolve): ditto. | |
2116 * dSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
2117 ditto. | |
2118 * CSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
2119 ditto. | |
2120 * SparseQR.cc (SparseQR::SparseQR_rep::C, qrsolve): ditto. | |
2121 * SparseCmplxQR.cc (SparseComplexQR::SparseComplexQR_rep::C, | |
2122 qrsolve): ditto. | |
2123 * sparse-dmsolve.cc (dmsolve): ditto. | |
2124 | |
6922 | 2125 2007-09-21 John W. Eaton <jwe@octave.org> |
2126 | |
2127 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): | |
2128 Also allow resizing empty LHS if it is 1x0 or 0xN. | |
2129 | |
6916 | 2130 2007-09-19 John W. Eaton <jwe@octave.org> |
2131 | |
2132 * cmd-edit.cc (command_editor::remove_startup_hook): | |
2133 Fix cut-and-paste error. | |
6917 | 2134 (gnu_readline::set_startup_hook): Only set hook function if new |
2135 function is different from the current one. | |
6916 | 2136 |
6913 | 2137 2007-09-18 John W. Eaton <jwe@octave.org> |
2138 | |
2139 * cmd-edit.h, cmd-edit.cc (command_editor::startup_hook_set, | |
2140 command_editor::event_hook_set): New static data. | |
2141 (default_command_editor::set_startup_hook, | |
2142 gnu_readline::set_startup_hook, | |
2143 default_command_editor::restore_startup_hook, | |
2144 gnu_readline_restore_event_hook): | |
2145 Rename from do_set_startup_hook and do_set_event_hook. | |
2146 (gnu_readline::operate_and_get_next): Call | |
2147 command_editor::add_startup_hook, not | |
2148 command_editor::set_startup_hook. | |
2149 (command_editor::startup_handler, command_editor::event_handler): | |
2150 New functions. | |
2151 (command_editor::add_startup_hook, command_editor::add_event_hook, | |
2152 command_editor::remove_startup_hook, | |
2153 command_editor::remove_event_hook): Rename from set_startup_hook | |
2154 and restore_startup_hook. Handle hook sets here. | |
2155 * cmd-edit.cc (gnu_history::do_goto_mark): | |
2156 Call remove_startup_hook instead of restore_startup_hook. | |
2157 | |
6907 | 2158 2007-09-17 John W. Eaton <jwe@octave.org> |
2159 | |
2160 * lo-utils.cc (octave_read_complex, octave_read_double): Skip | |
2161 leading whitespace. | |
2162 | |
6897 | 2163 2007-09-13 John W. Eaton <jwe@octave.org> |
2164 | |
2165 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
2166 octave_read_complex): Use istream::get instead of >> to read | |
2167 individual characters. | |
2168 | |
6884 | 2169 2007-09-10 John W. Eaton <jwe@octave.org> |
2170 | |
2171 * Array.cc (assign1): Don't call make_unique for invalid assignment. | |
2172 | |
2173 2007-09-10 David Bateman <dbateman@free.fr> | |
2174 | |
2175 * Array.h (Array<T>::make_unique): Make public so that the | |
2176 ::assign functions can access it directly. | |
2177 * Array.cc (Array<T>::maybe_delete_elements_1(idx_vector&), | |
2178 Array<T>::maybe_delete_elements_1(idx_vector&), | |
2179 Array<T>::maybe_delete_elements(idx_vector&, idx_vector&), | |
2180 Array<T>::maybe_delete_elements(Array<idx_vector>&, const T&)): | |
2181 Use xelem for non const RHS to avoid call to make_unique. | |
2182 (int assign1 (Array<LT>&, const Array<RT>&, const LT&)): Use | |
2183 xelem for LHS and call lhs.make_unique() only once. Special case | |
2184 the is_colon index case and use Array<T>::xelem(octave_idx_type) | |
2185 rather than Array<T>::xelem(octave_idx_type,octave_idx_type) and | |
2186 bring the additional multiplication out of the inner loop. | |
2187 (int assign2 (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
2188 (int assignN (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
2189 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep | |
2190 (const Range& r)): Don't use init_state() method but special case | |
2191 as with a Range can avoid exhaustive search. | |
2192 | |
6881 | 2193 2007-09-07 John W. Eaton <jwe@octave.org> |
2194 | |
2195 * Array.cc (Array<T>::fortran_vec): Call make_unique instead of | |
2196 manipulating rep directly. | |
2197 | |
2198 * Array.h (idx, idx_count): Declare mutable. | |
2199 (Array<T>::set_index, Array<T>::clear_index, Array<T>::value): | |
2200 Now const. | |
2201 | |
6867 | 2202 2007-09-06 David Bateman <dbateman@free.fr> |
2203 | |
6868 | 2204 * Array-util.cc (increment_index): dimensions can have singleton |
2205 trailing dimensions. | |
6867 | 2206 * Array.h (range_error, xelem, checkelem, elem, operator ()): |
2207 Modify use of Array<int> to Array<octave_idx_type> and adjust | |
2208 where necessary. | |
2209 * Array.cc (range_error): ditto. | |
2210 * MArrayN.h (permute, ipermute): ditto. | |
2211 * ArrayN.h (permute, ipermute): ditto. | |
2212 * so-array.cc (streamoff_array::compute_index): ditto. | |
2213 * so-array.h (compute_index): ditto. | |
2214 * CMattrix.cc (ComplexMatrix::exmpm): ditto. | |
2215 | |
6840 | 2216 2007-08-29 David Bateman <dbateman@free.fr> |
2217 | |
2218 * dSparse.cc (SparseMatrix SparseMatrix::inverse (MatrixType &, | |
2219 octave_idx_type&, double&, int, int)): Calculate with LU even for | |
2220 matrices marked as singular. | |
2221 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::inverse ( | |
2222 MatrixType &, octave_idx_type&, double&, int, int)): ditto. | |
2223 * dMatrix.cc (Matrix Matrix::inverse (MatrixType &, octave_idx_type&, | |
2224 double&, int, int)): ditto. If rcond==0 force matrix of infinities. | |
2225 * dMatrix.cc (ComplexMatrix ComplexMatrix::inverse (MatrixType &, | |
2226 octave_idx_type&, double&, int, int)): ditto. | |
2227 | |
6838 | 2228 2007-08-27 John W. Eaton <jwe@octave.org> |
2229 | |
2230 * oct-env.cc (octave_env::rooted_relative_pathname, | |
2231 octave_env::do_rooted_relative_pathname): New functions. | |
2232 * oct-env.h: Provide decls. | |
2233 | |
6823 | 2234 2007-08-24 David Bateman <dbateman@free.fr> |
2235 | |
2236 * MSparse.h (MSparse<T>& insert (const Sparse<T>&, | |
2237 const Array<octave_idx_type>&)): New method. | |
2238 (MSparse (const dim_vector&, octave_idx_type)): Ditto. | |
2239 * dSparse.h (SparseMatrix& SparseMatrix::insert (const | |
2240 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
2241 (SparseMatrix (const dim_vector&, octave_idx_type)): ditto. | |
2242 * dSparse.cc (SparseMatrix& SparseMatrix::insert (const | |
2243 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
2244 * boolSparse.h (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
2245 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
2246 * boolSparse.cc (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
2247 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
2248 * CSparse.h (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
2249 SparseMatrix&, const Array<octave_idx_type>&), | |
2250 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
2251 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
2252 (SparseComplexMatrix (const dim_vector&, octave_idx_type)): ditto. | |
2253 * CSparse.cc (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
2254 SparseMatrix&, const Array<octave_idx_type>&), | |
2255 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
2256 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
2257 | |
6817 | 2258 2007-08-19 David Bateman <dbateman@free.fr> |
2259 | |
2260 * Sparse.cc (Sparse<T>::permute): Avoid shadowing warning. | |
2261 | |
6813 | 2262 2007-08-14 John W. Eaton <jwe@octave.org> |
2263 | |
2264 * Sparse.cc (Sparse<T>::permute): permutation vector is zero based. | |
2265 Simplify. | |
6814 | 2266 (Sparse<T>::reshape): Warn about reshaping to N-d array. |
6813 | 2267 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2268 2007-08-10 Michael Goffioul <michael.goffioul@gmail.com> |
6810 | 2269 |
2270 * file-stat.cc (file_stat::update_internal) [__WIN32__]: | |
2271 Remove trailing dir separator when stat'ing directory except for | |
2272 root directory. | |
2273 | |
6796 | 2274 2007-07-25 David Bateman <dbateman@free.fr> |
2275 | |
2276 * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" | |
2277 to work. | |
2278 | |
6764 | 2279 2007-06-04 David Bateman <dbateman@free.fr> |
2280 | |
2281 * oct-inttypes.h (octave_int<T>& operator <<= (const T2&), | |
2282 octave_int<T>& operator >>= (const T2&)): Make shift operators | |
2283 perform a twos complement arithmetic shift for both signed and | |
2284 unsigned integers regardless of compiler implementations. | |
2285 | |
6708 | 2286 2007-06-13 Michael Goffioul <michael.goffioul@swing.be> |
2287 | |
6719 | 2288 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): For CXSparse 2.2 and greater |
2289 use cs_complex_t(0,0) for the complex zero. | |
2290 | |
6708 | 2291 * MArray-ch.cc, MArray-d.cc, MArray-i.cc, MArray-s.cc: |
2292 Sprinkle class instantiations with OCTAVE_API as needed. | |
2293 | |
2294 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY, | |
2295 INSTANTIATE_ARRAY_AND_ASSIGN): New arg, API. Change all uses. | |
2296 * MArray-defs.h (MARRAY_OP_ASSIGN_DECL, MARRAY_OP_ASSIGN_DECLS, | |
2297 MARRAY_OP_ASSIGN_FWD_DECLS, MARRAY_OP_ASSIGN_FRIENDS, | |
2298 MARRAY_OP_ASSIGN_DEFS, MARRAY_UNOP, MARRAY_UNOP_DECLS, | |
2299 MARRAY_UNOP_FWD_DECLS, MARRAY_UNOP_FRIENDS, MARRAY_UNOP_DEFS, | |
2300 MARRAY_BINOP_DECL, MARRAY_BINOP_DECLS, MARRAY_AA_BINOP_DECLS, | |
2301 MDIAGARRAY2_DAS_BINOP_DECLS, MDIAGARRAY2_SDA_BINOP_DECLS, | |
2302 MDIAGARRAY2_DADA_BINOP_DECLS, MARRAY_BINOP_FWD_DECLS, | |
2303 MDIAGARRAY2_BINOP_FWD_DECLS, MARRAY_BINOP_FRIENDS, | |
2304 MDIAGARRAY2_BINOP_FRIENDS, MARRAY_BINOP_DEFS, | |
2305 MDIAGARRAY2_BINOP_DEFS, MARRAY_OPS_FORWARD_DECLS, | |
2306 MDIAGARRAY2_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS, | |
2307 MDIAGARRAY2_OPS_FRIEND_DECLS, INSTANTIATE_MARRAY_FRIENDS, | |
2308 INSTANTIATE_MARRAY2_FRIENDS, INSTANTIATE_MARRAYN_FRIENDS, | |
2309 INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. | |
2310 * MSparse-defs.h (SPARSE_OP_ASSIGN_DECL, SPARSE_OP_ASSIGN_DECLS, | |
2311 SPARSE_OP_ASSIGN_FWD_DECLS, SPARSE_OP_ASSIGN_FRIENDS, | |
2312 SPARSE_OP_ASSIGN_DEFS, SPARSE_UNOP, SPARSE_UNOP_DECLS, | |
2313 SPARSE_UNOP_FWD_DECLS, SPARSE_UNOP_FRIENDS, SPARSE_UNOP_DEFS, | |
2314 SPARSE_BINOP_DECL, SPARSE_BINOP_DECLS, SPARSE_AA_BINOP_DECLS, | |
2315 SPARSE_BINOP_FWD_DECLS, SPARSE_BINOP_FRIENDS, SPARSE_BINOP_DEFS, | |
2316 SPARSE_OPS_FORWARD_DECLS, SPARSE_OPS_FRIEND_DECLS, | |
2317 INSTANTIATE_SPARSE_FRIENDS): Ditto. | |
2318 * Sparse-op-defs.h (SPARSE_BIN_OP_DECL, SPARSE_CMP_OP_DECL, | |
2319 SPARSE_BOOL_OP_DECL, SPARSE_SMS_BIN_OP_DECLS, | |
2320 SPARSE_SMS_CMP_OP_DECLS, SPARSE_SMS_EQNE_OP_DECLS, | |
2321 SPARSE_SMS_BOOL_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
2322 SPARSE_SMS_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
2323 SPARSE_SSM_CMP_OP_DECLS, SPARSE_SSM_EQNE_OP_DECLS, | |
2324 SPARSE_SSM_BOOL_OP_DECLS, SPARSE_SSM_OP_DECLS, | |
2325 SPARSE_SMSM_BIN_OP_DECLS, SPARSE_SMSM_CMP_OP_DECLS, | |
2326 SPARSE_SMSM_EQNE_OP_DECLS, SPARSE_SMSM_BOOL_OP_DECLS, | |
2327 SPARSE_SMSM_OP_DECLS, SPARSE_MSM_BIN_OP_DECLS, | |
2328 SPARSE_MSM_CMP_OP_DECLS, SPARSE_MSM_EQNE_OP_DECLS, | |
2329 SPARSE_MSM_BOOL_OP_DECLS, SPARSE_MSM_OP_DECLS, | |
2330 SPARSE_SMM_BIN_OP_DECLS, SPARSE_SMM_CMP_OP_DECLS, | |
2331 SPARSE_SMM_EQNE_OP_DECLS, SPARSE_SMM_BOOL_OP_DECLS, | |
2332 SPARSE_SMM_OP_DECLS): Ditto. | |
2333 * Sparse.h (INSTANTIATE_SPARSE_ASSIGN, INSTANTIATE_SPARSE, | |
2334 INSTANTIATE_SPARSE_AND_ASSIGN): Ditto. | |
2335 * mx-op-defs.h (BIN_OP_DECL, CMP_OP_DECL, NDCMP_OP_DECL, | |
2336 BOOL_OP_DECL, NDBOOL_OP_DECL, VS_BIN_OP_DECLS, VS_OP_DECLS, | |
2337 SV_BIN_OP_DECLS, SV_OP_DECLS, VV_BIN_OP_DECLS, VV_OP_DECLS, | |
2338 MS_BIN_OP_DECLS, MS_CMP_OP_DECLS, MS_BOOL_OP_DECLS, MS_OP_DECLS, | |
2339 SM_BIN_OP_DECLS, SM_CMP_OP_DECLS, SM_BOOL_OP_DECLS, SM_OP_DECLS, | |
2340 MM_BIN_OP_DECLS, MM_CMP_OP_DECLS, MM_BOOL_OP_DECLS, MM_OP_DECLS, | |
2341 NDS_BIN_OP_DECLS, NDS_CMP_OP_DECLS, NDS_BOOL_OP_DECLS, | |
2342 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_CMP_OP_DECLS, | |
2343 SND_BOOL_OP_DECLS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
2344 NDND_CMP_OP_DECLS, NDND_BOOL_OP_DECLS, NDND_OP_DECLS, | |
2345 SDM_BIN_OP_DECLS, SDM_OP_DECLS, DMS_BIN_OP_DECLS, DMS_OP_DECLS, | |
2346 MDM_BIN_OP_DECLS, MDM_OP_DECLS, DMM_BIN_OP_DECLS, DMM_OP_DECLS, | |
2347 DMDM_BIN_OP_DECLS, DMDM_OP_DECLS): Ditto. | |
2348 | |
6699 | 2349 2007-06-12 John W. Eaton <jwe@octave.org> |
2350 | |
2351 * dMatrix.cc (Matrix::expm): Special case for scalar arg. | |
2352 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6697 | 2353 |
6693 | 2354 2007-06-06 Michael Goffioul <michael.goffioul@swing.be> |
2355 | |
6709 | 2356 * file-ops.cc (tilde_find_suffix, isolate_tilde_prefix, |
2357 tilde_expand_word): Use file_ops::is_dir_sep instead of comparing | |
2358 with file_ops::dir_sep_char. | |
6694 | 2359 |
6693 | 2360 * MArray-C.cc: Sprinkle with OCTINTERP_API as needed. |
2361 | |
6689 | 2362 2007-06-04 David Bateman <dbateman@free.fr> |
2363 | |
6699 | 2364 * file-ops.cc: Typo. |
2365 | |
6689 | 2366 * Sparse.cc (Sparse<T> Sparse<T>::reshape): If length of new |
2367 dimensions is greater than 2, collapse to 2-D. | |
2368 | |
6685 | 2369 2007-06-02 David Bateman <dbateman@free.fr> |
2370 | |
2371 * SparseCmplxQR.cc: Changes to support CXSparse 2.2.0. | |
2372 | |
6680 | 2373 2007-05-31 John W. Eaton <jwe@octave.org> |
2374 | |
2375 * Array.cc (Array::get_size): Throw std::bad_alloc exception if | |
2376 the computed size is too large for the size of Octave's index type. | |
2377 | |
6662 | 2378 2007-05-23 John W. Eaton <jwe@octave.org> |
2379 | |
2380 * oct-sparse.h: Don't surround included files with extern "C" { ... }. | |
2381 | |
6629 | 2382 2007-05-16 David Bateman <dbateman@free.fr> |
2383 | |
2384 * dRowVector.cc (linspace): Return second argument if fewer than | |
2385 two values are requested. | |
2386 * CRowVector.cc (linspace): Likewise. | |
2387 | |
6596 | 2388 2007-04-27 John W. Eaton <jwe@octave.org> |
2389 | |
2390 * lo-mappers.cc (signum (const Complex&)): Special case for (0, 0). | |
2391 | |
6583 | 2392 2007-04-25 John W. Eaton <jwe@octave.org> |
2393 | |
2394 * oct-fftw.h (octave_fftw): Tag with OCTAVE_API. | |
2395 | |
6553 | 2396 2007-04-20 John W. Eaton <jwe@octave.org> |
2397 | |
2398 * Array.cc (assign1): For x(:) = RHS, require rhs_len == lhs_len, | |
2399 not rhs_len == 1. | |
2400 | |
6536 | 2401 2007-04-18 Michael Goffioul <michael.goffioul@swing.be> |
2402 | |
2403 * oct-md5.h (oct_md5, oct_md5_file): Tag decls with OCTAVE_API. | |
2404 | |
6525 | 2405 2007-04-13 John W. Eaton <jwe@octave.org> |
2406 | |
2407 * Array.cc (Array<T>::maybe_delete_elements_2): Don't return early | |
2408 for empty matrix. Only check for colon index equivalence if not empty. | |
2409 | |
6513 | 2410 2007-04-10 John W. Eaton <jwe@octave.org> |
2411 | |
2412 * SparseCmplxQR.cc | |
2413 (SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep): | |
2414 Move GCC_ATTR_UNUSED before the parameter decl. | |
2415 From Luis Ortiz <lortiz@interactivesupercomputing.com>. | |
2416 | |
6508 | 2417 2007-04-06 John W. Eaton <jwe@octave.org> |
2418 | |
2419 * MArray-defs.h (MARRAY_NORM_BODY): New macro. | |
2420 * MArray.h (MArray<T>::norm): New function. | |
2421 * MArray.cc: Provide decl. | |
2422 * MArray-d.cc (MArray<double>::norm): Define double specialization. | |
2423 * MArray-C.cc (MArray<Complex>::norm): Define Complex specialization. | |
2424 | |
6490 | 2425 2007-04-04 John W. Eaton <jwe@octave.org> |
2426 | |
2427 * Range.cc (Range::nelem_internal): Likewise. | |
2428 * lo-utils.cc (NINT): Use numeric_limits<int> instead of INT_MAX. | |
2429 (NINTbig): Use numeric_limits<octave_idx_type> instead of INT_MAX. | |
2430 From Scott Pakin <pakin@lanl.gov>. | |
2431 | |
6486 | 2432 2007-04-04 David Bateman <dbateman@free.fr> |
2433 | |
2434 * dMatrix.cc (Matrix::inverse): If calc_cond is true, calculate | |
2435 the condition number for positive definite matrices. | |
2436 * CMatrix.cc (ComplexMatrix::inverse): Ditto. | |
2437 * dbleChol.h (CHOL(const Matrix&, bool)): New arg, calc_cond. | |
2438 (CHOL(const Matrix&, octave_idx_type&, bool): Ditto. | |
2439 (octave_idx_type init (const Matrix&, bool)): Ditto. | |
2440 (CHOL(const CHOL&)): Copy xrcond. | |
2441 (CHOL& operator = (const CHOL&)): Copy xrcond. | |
2442 (xrcond): New private data member. | |
2443 * CmplxCHOL.h (ComplexCHOL(const ComplexMatrix&, bool)): New arg, | |
2444 calc_cond. | |
2445 (ComplexCHOL(const ComplexMatrix&, octave_idx_type&, bool): Ditto | |
2446 (octave_idx_type init (const ComplexMatrix&, bool)): Ditto. | |
2447 (ComplexCHOL(const ComplexCHOL&)): Copy xrcond. | |
2448 (ComplexCHOL& operator = (const ComplexCHOL&)): Copy xrcond. | |
2449 (xrcond): New private data member. | |
2450 * dbleCHOL.cc (CHOL::init(const Matrix&, bool)): If calc_cond is | |
2451 true, calculate the condition number with dpocon. | |
2452 * CmplxCHOL.cc (ComplexCHOL::init(const ComplexMatrix&, bool)): If | |
2453 calc_cond is true, calculate the condition number with zpocon. | |
2454 | |
6481 | 2455 2007-04-03 John W. Eaton <jwe@octave.org> |
2456 | |
6482 | 2457 * intNDArray.cc (intNDArray): Delete spurious semicolon. |
2458 | |
2459 * CMatrix.cc (ComplexMatrix::tinverse): Use Array<T> and | |
2460 fortran_vec method instead of OCTAVE_LOCAL_BUFFER to avoid | |
2461 "maybe clobbered by vfork" warning. | |
2462 | |
6483 | 2463 * Sparse-op-defs.h (SPARSE_CUMSUM): Add braces to avoid ambiguous |
6482 | 2464 if/else. |
2465 | |
2466 * oct-spparms.h (octave_sparse_params): Define copy constructor | |
2467 and destructor. | |
2468 | |
6481 | 2469 * Array.cc (assignN): Don't resize dimension if corresponding |
2470 index is empty. | |
2471 | |
6479 | 2472 2007-04-02 John W. Eaton <jwe@octave.org> |
2473 | |
2474 * dMatrix.h (Matrix::inverse): Reinstate versions without | |
2475 MatrixType argument. | |
2476 * CMatrix.h (ComplexMatrix::inverse): Likewise. | |
2477 | |
6467 | 2478 2007-03-27 John W. Eaton <jwe@octave.org> |
2479 | |
2480 * Makefile.in (DISTDIRS): Delete variable. | |
2481 (dist): Delete action for DISTDIRS. Use ln instead of $(LN_S). | |
2482 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2483 2007-03-26 David Bateman <dbateman@free.fr> |
6460 | 2484 |
2485 * MatrixType.cc: Replace all uses of the method | |
2486 octave_sparse_params::get_key ("bandden") with | |
2487 octave_sparse_params::get_bandden (void). | |
2488 (MatrixType::MatrixType (void)): Undo previous change but use | |
2489 octave_sparse_params::get_bandden (void). | |
2490 * oct-spparms.cc (get_bandden(void), do_get_bandden(void)): New | |
2491 methods. | |
2492 * oct-spparms.h (get_bandden(void), do_get_bandden(void)): | |
2493 Declare them. | |
2494 | |
6458 | 2495 2007-03-26 Luis Ortiz <lortiz@interactivesupercomputing.com> |
2496 David Bateman <dbateman@free.fr> | |
2497 | |
2498 * idx-vector.h.cc (IDX_VEC_REP::idx_vector_rep (const Range&)): | |
2499 Check that all elements are ints before doing anything. Simplify | |
2500 calculation of index values. | |
2501 | |
6457 | 2502 2007-03-26 David Bateman <dbateman@free.fr> |
2503 | |
2504 * Range.cc (Range::all_elements_are_ints): Improve check. | |
2505 | |
6456 | 2506 2007-03-26 John W. Eaton <jwe@octave.org> |
2507 | |
2508 * chNDArray.cc, chMatrix.cc: Also generate comparison and bool ops. | |
2509 * chNDArray.h, chMatrix.h: Provide decls. | |
2510 | |
2511 2007-03-24 Luis Ortiz <lortiz@interactivesupercomputing.com> | |
2512 | |
2513 * MatrixType.cc (MatrixType::MatrixType (void)): Initialize | |
2514 sp_bandden to zero for performance reasons as it's not used. | |
6452 | 2515 |
6435 | 2516 2007-03-23 David Bateman <dbateman@free.fr> |
2517 | |
2518 * oct-rand.cc (octave_rand::seed): Seed differently for big and | |
2519 little endian. | |
2520 | |
6414 | 2521 2007-03-15 John W. Eaton <jwe@octave.org> |
2522 | |
2523 * lo-mappers.cc (acos): Use formula similar to what we use for asin. | |
2524 From Alexander Barth <abarth@marine.usf.edu>. | |
2525 | |
6402 | 2526 2007-03-12 John W. Eaton <jwe@octave.org> |
2527 | |
2528 * oct-inttypes.h (octave_int::octave_int (double)): | |
2529 New Specialization. Round arg. | |
2530 (operator / (const octave_int<T1>&, const octave_int<T2>&)): | |
2531 Round result before converting type. | |
2532 | |
6388 | 2533 2007-03-07 John W. Eaton <jwe@octave.org> |
2534 | |
6392 | 2535 * Array.cc (assign1): Avoid resizing if there is an error. |
2536 | |
6390 | 2537 * dMatrix.cc, CMatrix.cc (operator *): Only check |
2538 f77_exception_encountered immediately after calls that use F77_XFCN. | |
2539 | |
6389 | 2540 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
2541 Only allow resizing empty LHS if it is 0x0. | |
2542 | |
6388 | 2543 * Array.cc (Array<T>::maybe_delete_elements (Array<idx_vector>&, |
2544 const T&)): Handle case of more indices than dimensions. | |
2545 (assign (Array<LT>&, const Array<RT>&, const LT&)): Allow more | |
2546 cases to be handled by assignN. | |
2547 (assignN (Array<LT>&, const Array<RT>&, const LT&)): | |
2548 Special cases for 2-d array assignments for speed. | |
2549 Improve handling of scalar RHS and empty indices. | |
6384 | 2550 |
6383 | 2551 2007-03-05 David Bateman <dbateman@free.fr> |
2552 | |
2553 * oct-md5.c (oct_md5_file (const std::string&)): New function. | |
2554 * oct-md5.h (oct_md5_file (const std::string&)): Declare it. | |
2555 | |
6379 | 2556 2007-03-02 John W. Eaton <jwe@octave.org> |
2557 | |
2558 * str-vec.h (string_vector::empty): Return bool, not int. | |
2559 | |
6375 | 2560 2007-03-01 David Bateman <dbateman@free.fr> |
2561 | |
2562 * md5.h, md5.c: New files from libmd5-rfc sourceforge project for | |
2563 an independent implementation of RFC1321. | |
2564 * oct-md5.h, oct-md5: New files for treating std::string class | |
2565 with MD5. | |
2566 * Makefile.in (INCLUDES): Add md5.h and oct-md5.h | |
2567 (LIBOCTAVE_CXX_SOURCES): Add oct-md5.cc | |
2568 (LIBOCTAVE_C_SOURCES): Add md5.c | |
2569 | |
6366 | 2570 2007-02-27 John W. Eaton <jwe@octave.org> |
2571 | |
2572 * Makefile.in (uninstall): Delete files listed in | |
2573 $(INCLUDES_FOR_INSTALL), instead of $(INCLUDES). | |
2574 From Thomas Treichl <Thomas.Treichl@gmx.net>. | |
2575 | |
6536 | 2576 2007-02-27 Michael Goffioul <michael.goffioul@swing.be> |
6363 | 2577 |
2578 * file-ops.cc (file_ops::recursive_rmdir): | |
2579 Close dir_entry object before calling rmdir. | |
2580 | |
6536 | 2581 2007-02-26 Michael Goffioul <michael.goffioul@swing.be> |
6358 | 2582 |
2583 * Makefile.in: Use $(LN_S) instead of ln or ln -s. | |
2584 | |
6359 | 2585 * sparse-util.h (SparseCholPrint, SparseCholError): |
2586 Tag with OCTAVE_API. | |
2587 | |
6326 | 2588 2007-02-18 David Bateman <dbateman@free.fr> |
2589 | |
2590 * oct-rand.cc (do_old_initialization()): call setcgn(1) prior to | |
2591 calling setall and reset to the current generator after. | |
2592 | |
6323 | 2593 2007-02-16 John W. Eaton <jwe@octave.org> |
2594 | |
2595 * oct-shlib.h (octave_shlib::relative): New data member. | |
2596 (octave_shlib::mark_relative, octave_shlib::is_relative): | |
2597 New functions. | |
2598 | |
6321 | 2599 2007-02-16 Michael Goffioul <michael.goffioul@swing.be> |
2600 | |
2601 * lo-sysdep.cc (octave_popen2): New function to simulate popen2 on | |
2602 windows platform. | |
2603 * lo-sysdep.h (octave_popen2): Declare it. | |
2604 * oct-syscalls.cc (octave_syscalls::popen2): New function. | |
2605 * oct-syscalls.h (octave_syscalls::popen2): Declare it. | |
2606 | |
6306 | 2607 2007-02-14 John W. Eaton <jwe@octave.org> |
2608 | |
2609 * kpse.cc (expand_elt): Omit special treatment for //. | |
2610 | |
6273 | 2611 2007-02-06 John W. Eaton <jwe@octave.org> |
2612 | |
2613 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_REALPATH]: | |
2614 Don't delete value returned from realpath. | |
2615 | |
6271 | 2616 2007-02-05 Thomas Treichl <Thomas.Treichl@gmx.net> |
2617 | |
2618 * file-ops.cc (file_ops::canonicalize_file_name): | |
2619 Provide implementation if realpath function is available. | |
2620 | |
6256 | 2621 2007-01-29 Michael Goffioul <michael.goffioul@swing.be> |
2622 | |
2623 * oct-fftw.h: Sprinkle with OCTAVE_API as needed. | |
2624 | |
6244 | 2625 2007-01-17 Michael Goffioul <michael.goffioul@swing.be> |
2626 | |
2627 * lo-sysdep.cc (octave_chdir): Handle directory names like "C:" on | |
2628 Windows systems. | |
2629 | |
6242 | 2630 2007-01-16 John W. Eaton <jwe@octave.org> |
2631 | |
2632 * dSparse.cc: Fix dgbtrf decl for --enable-64. | |
2633 (SparseMatrix::bsolve): Fix call to dgbtrf for --enable-64 | |
2634 | |
2635 * oct-fftw.h (fftw_planner): Provide decl. | |
2636 | |
6241 | 2637 2007-01-11 Michael Goffioul <michael.goffioul@swing.be> |
2638 | |
2639 * Makefile.in (LINK_DEPS): Include $(CAMD_LIBS) in the list. | |
2640 | |
6236 | 2641 2007-01-10 John W. Eaton <jwe@octave.org> |
2642 | |
2643 * oct-sparse.h: Use HAVE_CHOLMOD_CHOLMOD_H, not | |
2644 HAVE_UMFPACK_CHOLMOD_H for case of "cholmod/cholmod.h". | |
2645 | |
6231 | 2646 2007-01-08 David Bateman <dbateman@free.fr> |
2647 | |
2648 * oct-sparse.h: Replace sparsesuite with suitesparse and | |
2649 SPARSESUITE with SUITESPARSE to match upstream name. | |
2650 | |
6228 | 2651 2007-01-05 David Bateman <dbateman@free.fr> |
2652 | |
2653 * oct-fftw.cc: (octave_fftw_planner::method (void), | |
2654 octave_fftw_planner (FftwMethod)): New methods to interrogate and | |
2655 set the FFTW wisdom method used. | |
2656 (octave_fftw_planner::create_plan) Modify to allow different | |
2657 methods to be used. | |
2658 (octave_fftw_planner): Move class definition from here. | |
2659 * oct-fftw.h (octave_fftw_planner): To here. Add method methods | |
2660 and FftwMethod enum. | |
2661 | |
6221 | 2662 2007-01-03 David Bateman <dbateman@free.fr> |
2663 | |
2664 * MSparse.cc (SPARSE_A2A2_OP, SPARSE_A2A2_FCN_1, | |
2665 SPARSE_A2A2_FCN_1): Modify macros so that scalars stored as | |
2666 sparse matrices are special cased. | |
2667 | |
2668 * Sparse-op-defs.h: Include mx-ops.h to have access to mixed | |
2669 matrix, sparse matrix operations. | |
2670 (SPARSE_SMSM_BIN_OP_1, SPARSE_SMSM_BIN_OP_2, SPARSE_SMSM_BIN_OP_3, | |
2671 SPARSE_SMSM_CMP_OP, SPARSE_SMSM_BOOL_OP, SPARSE_MSM_BIN_OP_1, | |
2672 SPARSE_MSM_BIN_OP_2, SPARSE_MSM_CMP_OP, SPARSE_MSM_BOOL_OP, | |
2673 SPARSE_SMM_BIN_OP_1, SPARSE_SMM_BIN_OP_2, SPARSE_SMM_CMP_OP, | |
2674 SPARSE_SMM_BOOL_OP, SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, | |
2675 FULL_SPARSE_MUL): Modify macros so that scalars stored as | |
2676 sparse matrices are special cased. | |
2677 | |
6217 | 2678 2006-12-22 David Bateman <dbateman@free.fr> |
2679 | |
2680 * boolSparse.cc (SparseBoolMatrix::operator !): Fix off-by-one error. | |
2681 | |
6216 | 2682 2006-12-22 John W. Eaton <jwe@octave.org> |
2683 | |
2684 * dim-vector.h (dim_vector::dim_vector): Always start with at | |
2685 least 2 dimensions. | |
2686 (dim_vector::resize): Don't allow resizing to fewer than 2 dimensions. | |
2687 | |
6208 | 2688 2006-12-06 Michael Goffioul <michael.goffioul@swing.be> |
2689 | |
2690 * lo-sysdep.cc (opendir): Avoid passing \\* to FindFirstFile. | |
2691 | |
2692 * file-ops.cc (ops::canonicalize_file_name): Provide partial | |
6217 | 2693 implementation for Windows. |
6208 | 2694 |
6207 | 2695 2006-12-06 David Bateman <dbateman@free.fr> |
2696 | |
6208 | 2697 * dSparse.cc (SparseMatrix::is_symmetric): Faster implementation. |
2698 * CSparse.cc (SparseComplexMatrix::is_symmetric): Ditto. | |
6207 | 2699 |
2700 * dMatrrix.cc (finverse): Old inverse method renamed inverse. | |
2701 (tinverse): New method for triangular matrices. | |
2702 (inverse): New function with matrix type probing. | |
2703 * dMatrix.h (finverse, tinverse, inverse): New and modified | |
2704 declarations. | |
6208 | 2705 * CMatrix.cc: Ditto. |
2706 * CMatrix.h: Ditto. | |
6207 | 2707 |
6205 | 2708 2006-12-06 John W. Eaton <jwe@octave.org> |
2709 | |
2710 * strptime.c (day_of_the_week): Use code from current glibc sources. | |
2711 | |
6202 | 2712 2006-12-05 John W. Eaton <jwe@octave.org> |
2713 | |
2714 * lo-utils.cc (octave_read_double): If we see '+' or '-' but not | |
2715 followed by 'I' or 'i', try reading number after putting | |
2716 characters back on input stream. | |
2717 | |
6198 | 2718 2006-12-05 Paul Kienzle <pkienzle@users.sf.net> |
2719 | |
2720 * randpoisson.c (oct_fill_randp): For lambda > 1e8, upper limit of | |
2721 loop is n, not L. | |
2722 | |
6194 | 2723 2006-11-30 John W. Eaton <jwe@octave.org> |
2724 | |
2725 * lo-utils.cc (octave_read_double, read_inf_nan_na): | |
2726 Also recognize [+-][Ii]nf. | |
2727 | |
6187 | 2728 2006-11-28 David Bateman <dbateman@free.fr> |
6186 | 2729 |
2730 * oct-sparse.h: Allow sparse headers to also be in a sparsesuite | |
2731 sub-directory. | |
2732 | |
6204 | 2733 * dSparse.cc (SparseMatrix::inverse): Transpose the matrix type as |
2734 well when calling tinverse for lower triangular matrices. | |
2735 * CSparse.cc (SparseComplexMatrix::inverse): | |
2736 Ditto. | |
6185 | 2737 |
6183 | 2738 2006-11-21 John W. Eaton <jwe@octave.org> |
2739 | |
2740 * oct-env.cc (do_absolute_pathname): Undo previous change. | |
2741 | |
6182 | 2742 2006-11-20 John W. Eaton <jwe@octave.org> |
2743 | |
2744 * oct-env.cc (octave_env::do_absolute_pathname): Also return true | |
2745 for ".", and names beginning with "./" or "../". | |
2746 | |
6162 | 2747 2006-11-14 Luis F. Ortiz <lortiz@interactivesupercomputing.com> |
2748 | |
2749 * CMatrix.cc, dMatrix.cc: New tests. | |
2750 | |
6153 | 2751 2006-11-13 Michael Goffioul <michael.goffioul@swing.be> |
2752 | |
2753 * Array-d.cc, dDiagMatrix.h: Sprinkle with OCTAVE_API as needed. | |
2754 | |
6152 | 2755 2006-11-11 John W. Eaton <jwe@octave.org> |
2756 | |
2757 * Makefile.in ($(OPTS_INC), mx-ops.h): | |
2758 Use $(simple-move-if-change-rule) here. | |
2759 | |
6148 | 2760 2006-11-09 David Bateman <dbateman@free.fr> |
2761 | |
2762 * sparse-base-chol.cc (sparse_base_chol_rep::Q): Cast perms(i) to | |
2763 octave_idx_type, not int. | |
2764 | |
6145 | 2765 2006-11-08 John W. Eaton <jwe@octave.org> |
2766 | |
2767 * dir-ops.cc (dir_entry::read): Avoid rewinddir. | |
2768 | |
6141 | 2769 2006-11-06 John W. Eaton <jwe@octave.org> |
2770 | |
2771 * Array.cc (assignN): Exit early if invalid indices are found. | |
2772 | |
6140 | 2773 2006-11-03 Michael Goffioul <michael.goffioul@swing.be> |
2774 | |
2775 * strftime.c [HAVE_TZNAME]: Tag tzname with OCTAVE_IMPORT. | |
2776 | |
6137 | 2777 2006-11-03 John W. Eaton <jwe@octave.org> |
2778 | |
2779 * Makefile.in (DLL_CXXDEFS): Rename from XTRA_CXXDEFS. | |
2780 (DLL_CDEFS): Rename from XTRA_CDEFS. | |
2781 Substitute OCTAVE_DLL_DEFS, not XTRA_OCTAVE_DEFS. | |
2782 | |
6123 | 2783 2006-10-28 Michael Goffioul <michael.goffioul@swing.be> |
2784 | |
2785 * oct-shlib.cc: Undefine min and max after including windows.h. | |
2786 * oct-syscalls.cc (syscalls::pipe (int *)): Avoid infinite recursion. | |
2787 * lo-sysdep.h: Move opendir, readdir, etc. decls here from | |
2788 lo-sysdep.cc. | |
2789 | |
6113 | 2790 2006-10-27 John W. Eaton <jwe@octave.org> |
2791 | |
6119 | 2792 * oct-time.cc [! HAVE_STRFTIME]: Declare strftime. |
2793 | |
2794 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> | |
2795 | |
2796 * mx-op-defs.h (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, | |
2797 NDS_CMP_OPS2): New macros. | |
6113 | 2798 |
6111 | 2799 2006-10-26 John W. Eaton <jwe@octave.org> |
2800 | |
6119 | 2801 * mx-ops (core-type): New field for integer types. |
2802 * mk-ops.awk: Handle core-type for integer comparison ops. | |
2803 | |
6111 | 2804 * lo-cutils.c (octave_strcasecmp, octave-strncasecmp): |
2805 Move here from src/cutils.c. | |
2806 * lo-utils.h: Provide decls. | |
2807 * strcasecmp.c: Move here from src/strcasecmp.c. | |
2808 * strncase.c: Move here from src/strncase.c. | |
2809 * Makefile.in (LIBOCTAVE_C_SOURCES): Add them to the list. | |
2810 | |
6106 | 2811 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
2812 | |
2813 * kpse.cc [! MSVC]: Don't include win32lib.h. | |
2814 | |
6708 | 2815 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-util.h, |
2816 Array.h, CColVector.h, CMatrix.h, CNDArray.h, CRowVector.h, | |
2817 CSparse.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, | |
2818 CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, | |
2819 CollocWt.h, DAE.h, DASPK.h, DASRT.h, DASSL.h, EIG.h, LSODE.h, | |
2820 MArray-C.cc, MArray-defs.h, MSparse-C.cc, MSparse-d.cc, | |
2821 MSparse-defs.h, MatrixType.h, NLEqn.h, Quad.h, Range.h, | |
2822 Sparse-op-defs.h, Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, | |
2823 SparseCmplxQR.h, SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, | |
2824 boolMatrix.h, boolNDArray.h, boolSparse.h, chMatrix.h, | |
2825 chNDArray.h, cmd-edit.h, cmd-hist.h, dColVector.h, dDiagMatrix.h, | |
2826 dMatrix.h, dNDArray.h, dRowVector.h, dSparse.h, data-conv.h, | |
2827 dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, dbleLU.h, | |
2828 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, dir-ops.h, | |
2829 file-ops.h, file-stat.h, glob-match.h, idx-vector.h, | |
2830 int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, | |
2831 lo-cutils.c, lo-ieee.h, lo-mappers.h, lo-specfun.h, lo-utils.h, | |
2832 mach-info.h, mx-op-defs.h, oct-alloc.h, oct-env.h, oct-group.h, | |
2833 oct-inttypes.cc, oct-inttypes.h, oct-passwd.h, oct-rand.h, | |
2834 oct-shlib.h, oct-spparms.h, oct-syscalls.h, oct-time.h, | |
2835 oct-uname.h, pathsearch.h, prog-args.h, so-array.h, str-vec.h, | |
2836 uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc, | |
2837 uint8NDArray.cc: Sprinkle with OCTAVE_API as needed. | |
6108 | 2838 |
6105 | 2839 2006-10-26 John W. Eaton <jwe@octave.org> |
2840 | |
2841 * oct-inttypes.cc (INSTANTIATE_INTTYPE_BIN_OP): Provide explicit | |
2842 type qualification for OP. | |
2843 | |
6101 | 2844 2006-10-26 David Bateman <dbateman@free.fr> |
2845 | |
2846 * Sparse.cc (Sparse<T>::resize_no_fill (octave_idx_type, | |
2847 octave_idx_type)): Be more careful with the size of the input | |
2848 matrix, and therefore don't create or read non existent data. | |
2849 | |
6092 | 2850 2006-10-25 John W. Eaton <jwe@octave.org> |
2851 | |
2852 * Sparse.cc (assign): Clear lhs index after error. | |
2853 | |
6093 | 2854 2006-10-25 David Bateman <dbateman@free.fr> |
6092 | 2855 |
2856 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
2857 Fix previous patch so it works. | |
2858 | |
6087 | 2859 2006-10-25 Michael Goffioul <michael.goffioul@swing.be> |
2860 | |
6095 | 2861 * glob-match.h (glob_match::glob_match (const std::string&, |
2862 unsigned int)): Delete initializer for first arg. | |
2863 | |
6093 | 2864 * lo-sysdep.cc (opendir, readdir, rewinddir, closedir): |
2865 New functions. | |
2866 | |
6087 | 2867 * Makefile.in (XTRA_CDEFS, XTRA_CXXDEFS): Substitute here. |
2868 | |
6096 | 2869 * oct-env.cc (octave_env::do_get_home_directory) [_MSC_VER]: Use |
2870 same code as __MINGW32__. | |
2871 * syswait.h [_MSC_VER]: Define HAVE_WAITPID, WAITPID, and WNOHANG | |
2872 the same as for __MINGW32__. | |
2873 | |
2874 * randpoisson.c: Undefine INFINITE before redefining. | |
2875 | |
6079 | 2876 2006-10-24 David Bateman <dbateman@free.fr> |
2877 | |
2878 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Resize the | |
2879 lhs at the point we know the assignment can succeed if the lhs is | |
2880 empty. | |
2881 | |
6072 | 2882 2006-10-23 John W. Eaton <jwe@octave.org> |
2883 | |
2884 * Array.cc (assign2): Don't require vector assignments to be oriented. | |
2885 | |
6061 | 2886 2006-10-17 John W. Eaton <jwe@octave.org> |
2887 | |
2888 * lo-cieee.c: If isnan is not available but _isnan is, then define | |
2889 isnan to be _isnan, and define HAVE_ISNAN. Likewise for _finite | |
2890 and _copysign. | |
2891 | |
6059 | 2892 2006-10-17 Michael Goffioul <michael.goffioul@swing.be> |
6051 | 2893 |
6061 | 2894 * oct-syscalls.cc (syscalls::waitpid): Always declare and define retval. |
2895 | |
6708 | 2896 * CMatrix.cc (ComplexMatrix::solve): Avoid infinite recursion. |
2897 * CSparse.cc (SparseComplexMatrix::insert): Likewise. | |
6061 | 2898 |
6058 | 2899 * oct-types.h.in: Include limits.h, for CHAR_BIT. |
2900 | |
6059 | 2901 2006-10-13 Michael Goffioul <michael.goffioul@swing.be> |
2902 | |
6051 | 2903 * Makefile.in: Adapt rules to use $(LIBPRE). |
2904 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2905 2006-10-03 David Bateman <dbateman@free.fr> |
6027 | 2906 |
2907 * MatrixType.cc (MatrixType::MatrixType): Avoid crash if np == 0 | |
2908 or p == 0. | |
2909 | |
6018 | 2910 2006-10-02 John W. Eaton <jwe@octave.org> |
2911 | |
2912 * dbleDET.cc (DET::initialize2): Ensure arg to log10 is double. | |
2913 * CmplxDET.cc (ComplexDET::initialize2): Likewise. | |
2914 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2915 2006-09-22 David Bateman <dbateman@free.fr> |
5996 | 2916 |
2917 * MatrixType.h (MatrixType::MatrixType(const SparseComplexMatrix&)): | |
5997 | 2918 Remove spurious warning. |
5996 | 2919 |
5992 | 2920 2006-09-15 John W. Eaton <jwe@octave.org> |
2921 | |
2922 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&) const): | |
2923 Handle resizing. | |
2924 | |
2925 * intNDArray.h (intNDArray<T>:elt_type): New typedef. | |
2926 | |
5983 | 2927 2006-09-11 John W. Eaton <jwe@octave.org> |
2928 | |
2929 * dMatrix.cc (operator * (const Matrix&, const Matrix&))): | |
2930 Handle M*v and rv*cv special cases. | |
2931 * CMatrix.cc (operator * (const ComplexMatrix&, const | |
2932 ComplexMatrix&))): Likewise. | |
2933 From Luis F. Ortiz <lortiz@interactivesupercomputing.com>. | |
2934 | |
2935 * dRowVector.cc (operator * (const RowVector&, const | |
2936 ColumnVector&)): Call xddot here instead of using a Fortran | |
2937 function directly. | |
2938 * CRowVector.cc (operator * (const ComplexRowVector&, const | |
2939 ComplexColumnVector&)): Call xzdotu here. | |
2940 | |
2941 2006-09-05 John W. Eaton <jwe@octave.org> | |
2942 | |
2943 * chNDArray.cc (charNDArray::any, charNDArray::all): Compare | |
2944 elements to '\0', not ' '. | |
2945 | |
5972 | 2946 2006-08-25 John W. Eaton <jwe@octave.org> |
2947 | |
2948 * mx-inlines.cc (MX_ND_REDUCTION): Special case for 0x0 arrays. | |
2949 | |
5958 | 2950 2006-08-23 John W. Eaton <jwe@octave.org> |
2951 | |
2952 * dMatrix.cc, dMatrix.h (Matrix::save_ascii): Delete function and decl. | |
2953 * CMatrix.cc, CMatrix.h (ComplexMatrix::save_ascii): Likewise. | |
2954 | |
5955 | 2955 2006-08-22 John W. Eaton <jwe@octave.org> |
2956 | |
5956 | 2957 * CMatrix.cc (ComplexMatrix::save_ascii): New function. |
2958 * dMatrix.cc (Matrix::save_ascii): New function. | |
2959 | |
5955 | 2960 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Correctly detect empty arrays. |
2961 If array is empty, return value is same size as array. | |
2962 (MX_ND_REDUCTION): Correctly detect empty arrays. | |
2963 If array is empty, produce correctly sized return value. | |
2964 | |
5940 | 2965 2006-08-18 John W. Eaton <jwe@octave.org> |
2966 | |
5943 | 2967 * dMatrix.cc (Matrix::any_element_not_one_or_zero): New function. |
2968 * dMatrix.h: Provide decl. | |
2969 * dNDArray.cc (NDArray::any_element_not_one_or_zero): New function. | |
2970 * dNDArray.h: Provide decl. | |
2971 * intNDArray.cc (intNDArray<T>::any_element_not_one_or_zero): | |
2972 New function. | |
2973 * intNDArray.h: Provide decl. | |
2974 | |
5940 | 2975 * Array.cc (Array<T>::permute): Only rearrange values if array is |
2976 not empty. | |
2977 | |
5904 | 2978 2006-07-26 John W. Eaton <jwe@octave.org> |
2979 | |
2980 * dbleDET.cc (DET::initialize10, DET::value_will_underflow, | |
2981 DET::value_will_overflow): Use xlog2 instead of log2. | |
2982 (DET::initialize2, DET::initialize10): Use xround instead of round. | |
2983 (DET::initialize2, DET::value): Use xexp2 instead of exp2. | |
2984 * CmplxDET.cc (ComplexDET::initialize10, | |
2985 ComplexDET::value_will_underflow, | |
2986 ComplexDET::value_will_overflow): Use xlog2 instead of log2. | |
2987 (ComplexDET::initialize2, ComplexDET::initialize10): | |
2988 Use xround instead of round. | |
2989 (ComplexDET::initialize2, ComplexDET::value): | |
2990 Use xexp2 instead of exp2. | |
2991 | |
2992 * lo-mappers.cc (M_LOG10E): Delete unused macro. | |
2993 (xlog2, xexp2): New functions. | |
2994 * lo-mappers.h: Provide decls. | |
2995 | |
5900 | 2996 2006-07-22 John W. Eaton <jwe@octave.org> |
2997 | |
2998 * Sparse.h (Sparse<T>::mex_get_data, Sparse<T>::mex_get_ir, | |
2999 Sparse<T>::mex_get_jc): New functions. | |
3000 | |
3001 2006-07-21 John W. Eaton <jwe@octave.org> | |
3002 | |
3003 * oct-inttypes.h (octave_int<T>::mex_get_data): New function. | |
3004 * Array.h (Array<T>::mex_get_data): New function. | |
3005 | |
5898 | 3006 2006-07-19 John W. Eaton <jwe@octave.org> |
3007 | |
3008 * oct-inttypes.h (octave_int::operator bool (void)): New function. | |
3009 | |
5893 | 3010 2006-07-16 John W. Eaton <jwe@octave.org> |
3011 | |
3012 * oct-spparms.h, oct-spparms.cc (class octave_sparse_params): | |
3013 Rename from SparseParams. Use same implementation method as other | |
3014 singleton classes in Octave. Change all uses of | |
3015 Voctave_sparse_controls to use static functions from | |
3016 octave_sparse_params class instead. | |
3017 | |
3018 * oct-spparms.h, oct-spparms.cc (SparseParams::set_key, | |
3019 SparseParams::get_key): Pass std::string arg by const reference, | |
3020 not const value. | |
3021 | |
5892 | 3022 2006-07-15 John W. Eaton <jwe@octave.org> |
3023 | |
3024 * data-conv.cc: Instantiante swap_bytes templates here. | |
3025 | |
3026 * MatrixType.cc (MatrixType::MatrixType): | |
3027 Use complete initializer lists in constructors. | |
3028 | |
5880 | 3029 2006-07-06 John W. Eaton <jwe@octave.org> |
3030 | |
3031 * str-vec.cc (string_vector::string_vector (std::list<std::string>&)): | |
3032 New constructor. | |
3033 * str-vec.h: Provide decl. | |
3034 | |
5876 | 3035 2006-07-01 David Bateman <dbateman@free.fr> |
3036 | |
3037 * dSparse.cc (tinverse): Check for rows with no elements and zero | |
3038 elements on the diagonal. Allow both Upper and Lower triangular | |
3039 matrices to be treated. | |
3040 * CSparse.cc (tinverse): ditto. | |
3041 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Take into account 64-bit | |
3042 constant assignment. | |
3043 | |
5870 | 3044 2006-06-30 John W. Eaton <jwe@octave.org> |
3045 | |
5872 | 3046 * lo-sysdep.cc (octave_chdir): Perform tilde expansion here. |
3047 * cmd-edit.cc (editor::read_init_file): Ditto. | |
3048 * dir-ops.cc (dir_entry::open): Ditto. | |
5871 | 3049 * file-stat.cc (stat::update_internal): Ditto. |
5872 | 3050 * cmd-hist.cc (command_history::set_file): Ditto. |
5871 | 3051 |
5870 | 3052 * data-conv.cc (data_conv::string_to_data_type): |
3053 Correctly handle leading "*". | |
3054 | |
5869 | 3055 2006-06-29 Atsushi Kajita <a-kajita@mizar.freemail.ne.jp> |
3056 | |
3057 * Sparse.cc (Sparse<T>::SparseRep::elem): Avoid out of bounds | |
3058 array access. | |
3059 | |
5866 | 3060 2006-06-27 John W. Eaton <jwe@octave.org> |
3061 | |
3062 * Makefile.in: Finish renaming of OBJECTS -> LIBOCTAVE_OBJECTS. | |
3063 | |
5864 | 3064 2006-06-21 John W. Eaton <jwe@octave.org> |
3065 | |
3066 * oct-shlib.cc (octave_dlopen_shlib::close, | |
3067 octave_shl_load_shlib::close, octave_w32_shlib::close): | |
3068 Skip do_close_hook if cl_hook is 0. | |
3069 | |
5863 | 3070 2006-06-16 John W. Eaton <jwe@octave.org> |
3071 | |
3072 * oct-sort.h: Don't include config.h, lo-mappers.h, or quit.h. | |
3073 * randmtzig.h: Don't inlcude config.h. | |
3074 | |
5837 | 3075 2006-05-31 David Bateman <dbateman@free.fr> |
3076 | |
3077 * Array.cc (assignN): Maybe reshape LHS before doing assignment. | |
3078 | |
5828 | 3079 2006-05-23 John W. Eaton <jwe@octave.org> |
3080 | |
3081 * oct-types.h.in: Include stdint.h or inttypes.h for integer | |
3082 typedefs, or define them if those files are not available. | |
3083 * oct-inttypes.h (octave_int8_t, octave_int16_t, octave_int32_t, | |
3084 octave_int64_t, octave_uint8_t, octave_uint16_t, octave_uint32_t, | |
3085 octave_uint64_t): Delete typedefs. Replace all uses of these | |
3086 types with int8_t, int16_t, etc. | |
3087 * data-conv.h (TWO_BYTE_INT, FOUR_BYTE_INT, EIGHT_BYTE_INT): | |
3088 Delete definitions. Replace all uses of these macros with int8_t, | |
3089 int16_t, etc. | |
3090 * randmtzig.h: Delete integer typedefs. | |
3091 | |
5822 | 3092 2006-05-18 John W. Eaton <jwe@octave.org> |
3093 | |
3094 * EIG.cc (EIG::init): Trap Inf and NaN values here. | |
3095 From Keith Goodman <kwgoodman@gmail.com>. | |
3096 | |
5813 | 3097 2006-05-08 David Bateman <dbateman@free.fr> |
3098 | |
3099 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): fix bug in previous | |
3100 modification. | |
3101 | |
5797 | 3102 2006-05-09 David Bateman <dbateman@free.fr> |
3103 | |
3104 * sparse-dmsolve.cc: Remove reference to ov-re-sparse.h, | |
3105 ov-cx-sparse. and error_state. | |
3106 * SparseQR.cc, SparseCmplxQR.cc (qrsolve): Return info = -1 on error. | |
3107 | |
5795 | 3108 2006-05-08 David Bateman <dbateman@free.fr> |
3109 | |
3110 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Set column pointers in | |
3111 first pass and use to determine which algorithm to use on a | |
3112 column-by-column basis. | |
3113 | |
5792 | 3114 2006-05-04 David Bateman <dbateman@free.fr> |
3115 | |
3116 * SparseQR.cc, SparseQR.h, SparseCmplxQR.cc, SparseCmplxQR.h, | |
3117 sparse-dmsolve.cc : Allow compilation with versions v2.0.0 of | |
3118 CXSparse or later | |
3119 | |
5785 | 3120 2006-05-03 David Bateman <dbateman@free.fr> |
3121 | |
3122 * CMatrix.cc (zpotrf, zpocon, zpotrs, ztrcon, ztrtrs): | |
3123 External declaration of lapack triangular and Cholesky codes. | |
3124 (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, | |
3125 ComplexMatrix::fsolve): New private solver codes for | |
3126 upper, lower and LU/Cholesky solvers. | |
3127 (ComplexMatrix::solve): New versions for cached matrix | |
3128 type. Adapt old versions to call new versions | |
3129 * CMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
3130 new solvers. | |
3131 (solve): New versions for cached matrix type. | |
3132 * dMatrix.cc (dpotrf, dpocon, dpotrs, dtrcon, dtrtrs): | |
3133 External declaration of lapack triangular and Cholesky codes. | |
3134 (Matrix::utsolve, Matrix::ltsolve, | |
3135 Matrix::fsolve): New private solver codes for | |
3136 upper, lower and LU/Cholesky solvers. | |
3137 (Matrix::solve): New versions for cached matrix | |
3138 type. Adapt old versions to call new versions | |
3139 * dMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
3140 new solvers. | |
3141 (solve): New versions for cached matrix type. | |
3142 * CSparse.cc: Replace all uses of SparseType with MatrixType. | |
3143 * CSparse.h: ditto. | |
3144 * dSparse.cc: ditto. | |
3145 * dSparse.h: ditto. | |
3146 * SparseCmplxCHOL.cc: ditto. | |
3147 * SparsedbleCHOL.cc: ditto. | |
3148 * sparse-dmsolve.cc: ditto. | |
3149 * SparseType.cc, SparseType.h: delete. | |
3150 * MatrixType.cc: New file for class to cache matrix type, based on | |
3151 old SparseType class but caching matrix and sparse types. | |
3152 * MatrixType.h: ditto. | |
3153 * Makefile.in (MATRIX_INC, MATRIX_SRC): Add MatrixType.h and | |
3154 MatrixType.cc respectively. Delete SparseType.h and SparseType.cc | |
3155 respectively. | |
3156 * mx-base.h: Include MatrixTye.h as header file. | |
3157 | |
5781 | 3158 2006-05-01 John W. Eaton <jwe@octave.org> |
3159 | |
3160 * oct-shlib.h (octave_shlib::octave_shlib, octave_shlib::open): | |
3161 Delete WARN_FUTURE arg. Change all uses. | |
3162 * oct-shlib.cc (octave_base_shlib::stamp_time): Delete arg. | |
3163 Change all uses. Use current_liboctave_warning_with_id_handler. | |
3164 (octave_base_shlib::open): Delete arg. Change all derived classes | |
3165 and uses. | |
3166 | |
3167 2006-04-29 John W. Eaton <jwe@octave.org> | |
3168 | |
3169 * Array-flags.cc, Array-flags.h: Delete. | |
3170 * Makefile.in (MATRIX_SRC): Remove Array-flags.cc from the list. | |
3171 (MATRIX_INC): Remove Array-flags.h from the list. | |
3172 | |
3173 * idx-vector.cc (IDX_VEC_REP::freeze): Delete warn_resize arg. | |
3174 Use current_liboctave_warning_with_id_handler | |
3175 with warning ID Octave:resize-on-range-error. | |
3176 * idx-vector.h: Fix decl. | |
3177 * Array.cc, Sparse.cc: Change all callers. | |
3178 | |
3179 * Array.cc (Array<T>::maybe_delete_elements, Array<T>::index2, | |
3180 assign2, assignN): Use current_liboctave_warning_with_id_handler | |
3181 with warning ID Octave:fortran-indexing instead of | |
3182 liboctave_wfi_flag. | |
3183 * Sparse.cc (assign, Sparse<T>::index): Likewise. | |
3184 | |
5777 | 3185 2006-04-26 John W. Eaton <jwe@octave.org> |
3186 | |
3187 * pathsearch.cc (dir_path::path_sep_char, dir_path::path_sep_str): | |
3188 New static data. | |
3189 * pathsearch.h: Provide decls. | |
3190 (dir_path::is_path_sep): New function. | |
3191 | |
5766 | 3192 2006-04-18 John W. Eaton <jwe@octave.org> |
3193 | |
3194 * randmtzig.c (randmt, randi53, randi54, randi64, randu32, randu53): | |
3195 Omit inline from decl. | |
3196 | |
3197 * Sparse.cc (Sparse<T>::index): Use std::vector<bool> to avoid | |
3198 local array with variable dimension. | |
3199 | |
5764 | 3200 2006-04-16 John W. Eaton <jwe@octave.org> |
3201 | |
5765 | 3202 * lo-sstream.h: Delete. |
3203 * Makefile.in (INCLUDES): Remove it from the list. | |
3204 | |
3205 * dim-vector.h (dim_vector::str): Use std::ostringstream directly. | |
3206 * Sparse.cc (Sparse::range_error): Likewise. | |
3207 * DASSL.cc (DASSL::error_message): Likewise. | |
3208 * LSODE.cc (LSODE::error_message): Likewise. | |
3209 * DASRT.cc (DASRT::error_message): Likewise. | |
3210 * DASPK.cc (DASPK::error_message): Likewise. | |
3211 * Array.cc (Array::range_error): Likewise. | |
3212 | |
5764 | 3213 * kpse.cc (kpse_hash): Rename from hash. |
3214 (hash_lookup): Call kpse_hash instead of hash. | |
3215 | |
3216 * SparseType.cc (SparseType::SparseType): Use std::vector<bool> | |
3217 to avoid local array with variable dimension. | |
3218 | |
5760 | 3219 2006-04-13 David Bateman <dbateman@free.fr> |
3220 | |
3221 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
3222 Optimize assignment. | |
3223 | |
3224 2006-04-13 John W. Eaton <jwe@octave.org> | |
3225 | |
3226 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
3227 Eliminate unnecessary casts. | |
3228 * SparsedbleLU.cc (SparseLU::SparseLU): Likewise. | |
3229 | |
3230 * kpse.cc (fopen): Use reinterpret_cast instead of C-style cast. | |
3231 (log_search, dir_links): Use static_cast instead of C-style cast. | |
3232 | |
3233 * prog-args.cc (args::getopt): Use reinterpret_cast instead of X_CAST. | |
3234 * oct-alloc.cc (allocator::grow): Likewise. | |
3235 * CSparse.cc (SparseComplexMatrix::determinant, | |
3236 SparseComplexMatrix::factorize, SparseComplexMatrix::fsolve): | |
3237 Likewise. | |
3238 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU): Likewise. | |
3239 | |
3240 * oct-sort.cc (roundupsize, octave_sort<T>::merge_getmem): | |
3241 Use static_cast instead of C-style cast. | |
3242 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
3243 * dSparse.cc (SparseMatrix::fsolve): Likewise. | |
3244 | |
3245 * data-conv.cc (LS_DO_WRITE): Use static_cast for value conversion. | |
3246 Use OCTAVE_LOCAL_BUFFER instead of new/delete. | |
3247 (LS_DO_READ): Allocate local buffer to avoid pointer tricks. | |
3248 (write_doubles, read_doubles, LS_DO_WRITE, LS_DO_READ): | |
3249 Use reinterpret_cast instead of X_CAST. | |
3250 | |
3251 * DiagArray2.h (DiagArray2::Proxy::operator&): No need to cast | |
3252 return value here. | |
3253 | |
5752 | 3254 2006-04-12 Rafael Laboissiere <rafael@debian.org> |
3255 | |
3256 * ArrayN.h (ArrayN::ArrayN): Qualify fill with Array<T> base class. | |
3257 * DiagArray2.h (DiagArray2::DiagArray2): Likewise. | |
3258 | |
5730 | 3259 2006-04-03 David Bateman <dbateman@free.fr> |
3260 | |
5731 | 3261 * Sparse.cc (Sparse<T>::resize): Use xcidx rather than cdix, etc |
3262 to avoid copy of original matrix. | |
3263 | |
5730 | 3264 * Makefile.in (INCLUDES): Add randgamma.h, randpoisson.h and |
3265 randmtzig.h to the list. | |
3266 (LIBOCTAVE_C_SOURCES): Add randgamma.c, randpoisson.c and | |
3267 randmtzig.c to the list. | |
3268 * oct-rand.cc (do_old_initialization): Rename from do_initialization. | |
3269 (use_old_generators): New variable. | |
3270 (old_initialized): Rename from initialized. | |
3271 (new_initialized): New variable. | |
3272 (oct_init_by_entropy): New function. | |
3273 (maybe_initialize): Initialize new or old generator depending on | |
3274 value of use_old_generators. | |
3275 (octave_rand::state): New functions. | |
3276 (octave_rand::distribution): Add gamma, exponential and poisson | |
3277 distributions. | |
3278 (octave_rand::exponential_distribution, | |
3279 octave_rand::poisson_distribution, | |
3280 octave_rand::gamma_distribution): New methods to select | |
3281 exponential, poisson or gamma distribution. | |
3282 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
3283 octave_rand::vector): Add new distributions. | |
3284 * oct-rand.h: Provide decls for new functions. | |
3285 (octave_rand::matrix, octave_rand::scalar, octave_rand:: | |
3286 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
3287 octave_rand::vector): New arg A, for gamma and poisson distributions. | |
3288 * randpoisson.c, randpoisson.h, randgamma.c, randmtzig.c, | |
3289 randmtzig.h: New files. | |
3290 | |
5717 | 3291 2006-03-24 John W. Eaton <jwe@octave.org> |
3292 | |
3293 * dSparse.cc (SparseMatrix::bsolve): Integer work vector is | |
3294 Array<octave_idx_type>, so fortran_vec returns pointer to | |
3295 octave_idx_type, not pointer to int. | |
3296 | |
3297 * CMatrix.cc, CMatrix.h (ComplexMatrix::row (char*), | |
3298 ComplexMatrix::column (char*)): Delete. | |
3299 * dMatrix.cc, dMatrix.h (Matrix::row (char*), | |
3300 Matrix::column (char*)): Delete. | |
3301 | |
5713 | 3302 2006-03-21 David Bateman <dbateman@free.fr> |
3303 | |
3304 * SparseQR.h: Publish externally used friends. | |
3305 * SparseCmplxQR.h: ditto. | |
3306 | |
5700 | 3307 2006-03-21 John W. Eaton <jwe@octave.org> |
3308 | |
3309 * lo-specfun.cc (betainc): Use F77_XFCN instead of F77_FUNC for | |
3310 call to xdbetai. | |
3311 | |
5697 | 3312 2006-03-21 David Bateman <dbateman@free.fr> |
3313 | |
5701 | 3314 * lo-specfun.cc (xlgamma, xgamma): Trap special values. |
3315 (xlgamma): Use F77_XFCN instead of F77_FUNC for call to dlgams. | |
5700 | 3316 |
3317 * dSparse.cc (solve): Add argument singular_fallback, to allow | |
3318 fallback to QR solvers to be optional. | |
3319 * CSparse.cc (solve): Ditto. | |
3320 * dSparse.h (solve): update declaration for new argument. | |
3321 * CSparse.h (solve): Ditto. | |
3322 * sparse-dmsolve.cc (dmsolve): Use singular_fallback argument | |
3323 to bypass QR solvers when solving the well determined part of | |
3324 the problem. | |
5697 | 3325 |
5690 | 3326 2006-03-17 John W. Eaton <jwe@octave.org> |
3327 | |
3328 * str-vec.cc (vector::list_in_columns): New optional arg, width. | |
3329 | |
5681 | 3330 2006-03-16 David Bateman <dbateman@free.fr> |
3331 | |
3332 * CSparse.cc: Change use of nzmax to nnz to allow automatic | |
3333 reduction of matrix size, except for a couple of cases where nzmax | |
3334 is needed. | |
3335 (zpbcon): Correct declaration of lapack zpbcon function. | |
3336 (dsolve, utsolve, ltsolve, trisolve, bsolve, factorize, fsolve): Add | |
3337 an argument to allow the calculation of condition number to be | |
3338 optional. | |
3339 (bsolve): Add code for the calculation of the condition number | |
3340 using zpbcon and zgbcon. | |
3341 (dsolve): Bug fix for rectangular matrices with sparse RHS. | |
3342 (utsolve, ltsolve, trisolve, bsolve, fsolve): Mark matrix type as | |
3343 singular if singularity is detected. | |
3344 (solve): Use optional argument to disable calculation of | |
3345 condition number for all but fsolve, for speed. Add code to | |
3346 allow rectnagular matrices or matrices identified as singular | |
3347 to be treated. | |
3348 (lssolve): delete. | |
3349 (operator *): Don't recast real matrices as complex, but | |
3350 rather use the macro directly on the real data. | |
3351 * dSparse.cc: ditto. | |
3352 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, | |
3353 fsolve, factorize): Update declaration for new argument to | |
3354 calculate the condition number. | |
3355 (lssolve): delete. | |
3356 * dSparse.h: ditto. | |
3357 * Msparse.h: Change use of nxmax to nnz to allow automatic | |
3358 reduction of matrix size, except for a couple of cases where | |
3359 nzmax is needed. | |
3360 * Sparse.cc: Change use of nxmax to nnz to allow automatic | |
3361 reduction of matrix size, except for a couple of cases where | |
3362 nzmax is needed. | |
3363 (Sparse<T>::index (idx_vector&, idx_vector&, int) const): | |
3364 Special case strict permutations for speed. | |
3365 * Sparse-op-defs.h: Change use of nxmax to nnz to allow automatic | |
3366 reduction of matrix size, except for a couple of cases where | |
3367 nzmax is needed. | |
3368 (SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, FULL_SPARSE_MUL): Update | |
3369 macros to allow mixed complex/real arguments. | |
3370 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): New macro for C99 zero | |
3371 value. | |
3372 (qrsolve): Use it to zero temporary buffers used bt CXSPARSE. | |
3373 * SparseType.cc (SparseType::SparseType ()): Correct detection | |
3374 of permutated triangular matrices to avoid seg-faults. Disable | |
3375 detection of underdetermined lower and over-determined upper | |
3376 matrix due to problems with non minimum norm solutions. | |
3377 * sparse-dmsolve.cc: New file for Dulmage-Mendelsohn solver. | |
3378 * Makefile.in: add sparse-dmsolve.cc to targets. | |
3379 | |
5675 | 3380 2006-03-15 William Poetra Yoga Hadisoeseno <williampoetra@gmail.com> |
3381 | |
3382 * oct-time.cc (octave_strptime::init): Return useful character count. | |
3383 | |
5648 | 3384 2006-03-08 David Bateman <dbateman@free.fr> |
3385 | |
3386 * SparseCmplxQR.cc: Updates for new upstream CXSPARSE release. Fix for | |
3387 g++ 4.x stl_vector.h issue with C99 double _Complex type. | |
3388 * SparseCmplxQR.h: Updates for new upstream CXSPARSE release. | |
3389 * SparseQR.cc: ditto. | |
3390 * SparseQR.h: ditto. | |
3391 * oct-sparse.h: ditto. | |
3392 * sparse-base-chol.cc (sparse_base_chol<>::sparse_base_chol_rep::init): | |
3393 Declare info variable as volatile. | |
3394 | |
3395 * Sparse.cc (Sparse<T>::transpose (void) const): Accelerate algorithm. | |
3396 * CSparse.cc (SparseComplexMatrix::transpose (void) const): ditto. | |
3397 | |
5634 | 3398 2006-03-01 John W. Eaton <jwe@octave.org> |
3399 | |
3400 * CMatrix.cc (ComplexMatrix::determinant): | |
3401 Scale result by factors of 2, not 10. | |
3402 * dMatrix.cc (Matrix::determinant): Likewise. | |
3403 | |
3404 * dbleDET.h (DET::DET): Use initializer list. | |
3405 (DET::coefficient2, DET::coefficient10, DET::exponent2, | |
3406 DET::exponent10): New functions. | |
3407 (DET::det): Delete. | |
3408 (DET::c2, DET::c10, DET::e2, DET::e10, DET::base2): New data members. | |
3409 Store value internally with double and int instead of 2-element | |
3410 double vector. | |
3411 (DET::initialize2, DET::initialize10): Provide decls. | |
3412 * dbleDET.cc (DET::value_will_overflow, DET::value_will_underflow): | |
3413 Return bool value, not int. | |
3414 (DET::initialize2, DET::initialize10): New functions. | |
3415 | |
3416 * CmplxDET.h (ComplexDET::ComplexDET): Use initializer list. | |
3417 (ComplexDET::coefficient2, ComplexDET::coefficient10, | |
3418 ComplexDET::exponent2, ComplexDET::exponent10): New functions. | |
3419 (ComplexDET::det): Delete. | |
3420 (ComplexDET::c2, ComplexDET::c10, ComplexDET::e2, ComplexDET::e10, | |
3421 ComplexDET::base2): New data members. | |
3422 Store value internally with Complex and int instead of 2-element | |
3423 Complex vector. | |
3424 (ComplexDET::initialize2, ComplexDET::initialize10): Provide decls. | |
3425 * dbleComplexDET.cc (ComplexDET::value_will_overflow, | |
3426 ComplexDET::value_will_underflow): Return bool value, not int. | |
3427 (ComplexDET::initialize2, ComplexDET::initialize10): New functions. | |
3428 | |
5632 | 3429 2006-02-24 John W. Eaton <jwe@octave.org> |
3430 | |
3431 * Array.cc (assignN): Clear index before reshaping. | |
3432 | |
3433 * Array.h (Array<T>::operator =): Don't set idx to 0 if copying self. | |
3434 | |
5630 | 3435 2006-02-20 David Bateman <dbateman@free.fr> |
3436 | |
3437 * dSparse.cc (dsolve, utsolve, ltsolve): Remove restriction that | |
3438 matrix must be square in diagonal, permuted diagonal, triangular | |
3439 and permuted triangular back/forward substitution code. Change | |
3440 ambiguous use of no. rows and columns. | |
3441 * CSParse.cc (dsolve, utsolve, ltsolve): ditto. | |
3442 * SparseType.cc (SparseType::SparseType(const SparseMatrix&), | |
3443 SparseType::SparseType(const SparseComplexMatrix&)): Recognize | |
3444 rectangular diagonal, permuted diagonal, triangular and permuted | |
3445 triangular matrices. | |
3446 * Sparse.cc (Sparse<T>::Sparse (octave_idx_type, octave_idx_type, T)): | |
3447 Treat case where third argument is zero. | |
3448 | |
5621 | 3449 2006-02-15 John W. Eaton <jwe@octave.org> |
3450 | |
5622 | 3451 * kpse.cc: Do define ST_NLINK_TRICK for Cygwin systems. |
3452 (do_subdir) [ST_NLINK_TRICK]: Check links != 2 instead of links > 2. | |
3453 | |
5621 | 3454 * getopt.c: Use __CYGWIN__ instead of __CYGWIN32__. |
3455 | |
5619 | 3456 2006-02-13 David Bateman <dbateman@free.fr> |
3457 | |
3458 * Makefile.in (LINK_DEPS): Add missing dependencies on colamd, | |
3459 ccolamd and cxsparse | |
3460 | |
5617 | 3461 2006-02-13 John W. Eaton <jwe@octave.org> |
3462 | |
5618 | 3463 * kpse.cc (kpse_path_iterator::next): Reverse order of tests in |
3464 while loop condition. | |
3465 (kpse_path_iterator::operator =): Declare as private function but | |
3466 don't define to prevent attempts to use assignment operator. | |
3467 Don't define ST_NLINK_TRICK for Cygwin systems. | |
5617 | 3468 |
5615 | 3469 2006-02-10 John W. Eaton <jwe@octave.org> |
3470 | |
3471 * mx-inlines.cc (MX_ND_REDUCTION): Store in cummulative | |
3472 product of all dimensions in CP_SZ. | |
3473 | |
5611 | 3474 2006-02-09 John W. Eaton <jwe@octave.org> |
3475 | |
3476 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Store in cummulative | |
5615 | 3477 product of all dimensions in CP_SZ. |
5611 | 3478 |
5610 | 3479 2006-02-09 David Bateman <dbateman@free.fr> |
3480 | |
3481 * SparseQR.cc: new file for real sparse QR class. | |
3482 * SparseQR.h: declaration. | |
3483 * SparseCmplxQR.cc: new file for complex sparse QR class. | |
3484 * SparseCmplxQR.h: declaration. | |
3485 * dSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
3486 (factorize, fsolve): Enable code code lssolve. | |
3487 (lssolve): disable unused args, write based in above sparse QR class. | |
3488 * CSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
3489 (factorize, fsolve): Enable code code lssolve. | |
3490 (lssolve): disable unused args, write based in above sparse QR class. | |
3491 * oct-sparse.h: fix location of colamd, ccolamd and metis headers. | |
3492 Include CXSparse headers. | |
3493 * Makefile.in (MATRIX_INC): Include SparseQR.h and SparseCmplxQR.h. | |
3494 (MATRIX_SRC): Include SparseQR.cc and SparseCmplxQR.cc. | |
3495 | |
5607 | 3496 2006-02-08 John W. Eaton <jwe@octave.org> |
3497 | |
3498 * Array-util.h (calc_permutated_idx): Delete. | |
3499 * Array.cc (permute_vector): New data structure. | |
3500 (permute_vector_compare): New function. | |
3501 (Array<T>::permute): Rewrite to avoid calc_permutated_index for | |
3502 improved performance. | |
3503 | |
5606 | 3504 2006-02-04 David Bateman <dbateman@free.fr> |
3505 | |
3506 * COLAMD: Remove all files, as now unused. | |
3507 | |
5604 | 3508 2006-01-31 John W. Eaton <jwe@octave.org> |
3509 | |
3510 * Sparse.h (Sparse<T>::nzmax): New function. | |
3511 (Sparse<T>::nnz): Rename from nonzero. | |
3512 Change all uses of old nnz function to be nzmax. Change all uses | |
3513 of nonzero to be nnz. | |
3514 (Sparse<T>::nzmx): Rename from nnz (data member). Change all uses. | |
3515 | |
5603 | 3516 2006-01-21 David Bateman <dbateman@free.fr> |
3517 | |
3518 * sparse-sort.cc (bool octave_sparse_sidxl_comp): 64-bit fix. | |
3519 (bool octave_idx_vector_comp): New function. | |
3520 (template class octave_sort<octave_idx_vector_sort *>): Instantiate | |
3521 indexed idx_vector sorting function. | |
3522 * sparse-sort.h (class octave_sparse_sort_idxl): 64-bit fix. | |
3523 (class octave_idx_vector_sort): New class for indexed idx_vector | |
3524 sorting. | |
3525 (bool octave_idx_vector_comp): Declaration. | |
3526 * Sparse.cc (int assign1(Sparse<LT>&, Sparse<RT>&)): Treat cases of | |
3527 unordered LHS indexes in assignment using new octave_idx_vector_sort | |
3528 class. | |
3529 (int assign(Sparse<LT>&, Sparse<RT>&)): ditto. | |
3530 | |
5602 | 3531 2006-01-30 John W. Eaton <jwe@octave.org> |
3532 | |
3533 * so-array.h (streamoff_array::nnz): New funtion. | |
3534 * boolNDArray.h (boolNDArray::nnz): New function. | |
3535 * MArrayN.h (MArrayN<T>::nnz): New function. | |
3536 * MArray.h (MArray<T>::nnz): New function. | |
3537 | |
5587 | 3538 2006-01-04 David Bateman <dbateman@free.fr> |
3539 | |
3540 * Spars-op-defs.h (SPARSE_SPARSE_MUL): Previous change resulted in | |
3541 elements not being sorted in return matrix. Sort them, and make | |
3542 solver select between two algorithms to further improve the | |
3543 performance. | |
3544 * dSparse.cc: include oct-sort.h. | |
3545 * CSparse.cc: ditto. | |
3546 * sparse-sort.cc: Instantiate octave_sort<octave_idx_type>. | |
3547 | |
5586 | 3548 2005-12-28 David Bateman <dbateman@free.fr> |
3549 | |
5587 | 3550 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Improved algorithm that is |
3551 faster in all cases, and significantly so for low density or small | |
3552 order problems. | |
5586 | 3553 |
5552 | 3554 2005-11-30 John W. Eaton <jwe@octave.org> |
3555 | |
3556 * LSODE.cc (LSODE::do_integrate (double)): Resize iwork and rwork | |
3557 before setting any values in either array. | |
3558 | |
5547 | 3559 2005-11-29 John W. Eaton <jwe@octave.org> |
3560 | |
3561 * oct-uname.h, oct-uname.cc: New files. | |
3562 * Makefile.in: Add them to the appropriate lists. | |
3563 | |
5535 | 3564 2005-11-11 John W. Eaton <jwe@octave.org> |
3565 | |
3566 * Array.cc (Array<T>::indexN): Simplify. | |
3567 | |
5533 | 3568 2005-11-09 John W. Eaton <jwe@octave.org> |
3569 | |
3570 * oct-inttypes.h (octave_int::operator char (void) const): | |
3571 New conversion op. | |
3572 | |
5527 | 3573 2005-11-01 John W. Eaton <jwe@octave.org> |
3574 | |
3575 * Makefile.in (distclean): Also remove oct-types.h. | |
3576 From Quentin Spencer <qspencer@ieee.org>. | |
3577 | |
5526 | 3578 2005-10-31 David Bateman <dbateman@free.fr> |
3579 | |
3580 * dSparse.cc, CSparse.cc: Use C++ true/false instead of | |
3581 preprocessor defined TRUE/FALSE. | |
3582 | |
5523 | 3583 2005-10-30 John W. Eaton <jwe@octave.org> |
3584 | |
3585 * mx-inlines.cc (MX_ND_REDUCTION): Iterate in direction of DIM. | |
3586 (MX_ND_CUMULATIVE_OP): Likewise. | |
3587 | |
5519 | 3588 2005-10-29 John W. Eaton <jwe@octave.org> |
3589 | |
5520 | 3590 * mx-inlines.cc (MX_ND_REDUCTION): Avoid increment_index to speed |
3591 things up. Simplify. | |
3592 | |
5519 | 3593 * Array.cc (Array<T>::indexN): Simplify. Delete separate special |
3594 case for "vector_equivalent". | |
3595 | |
3596 * Array-util.cc (vector_equivalent): Arg is now dim_vector. | |
3597 | |
5518 | 3598 2005-10-28 John W. Eaton <jwe@octave.org> |
3599 | |
3600 * oct-sparse.h: Fix typo in HAVE_UFSPARSE_UMFPACK_H. | |
3601 From Quentin Spencer <qspencer@ieee.org>. | |
3602 | |
3603 * sparse-base-chol.cc: Use C++ true/false instead of | |
3604 preprocessor defined TRUE/FALSE. Use 0 instead of NULL. | |
3605 | |
5516 | 3606 2005-10-27 John W. Eaton <jwe@octave.org> |
3607 | |
3608 * Array.cc (assignN): Reshape to final size instead of resizing. | |
3609 | |
5512 | 3610 2005-10-26 John W. Eaton <jwe@octave.org> |
3611 | |
3612 * oct-sparse.h: New file. | |
3613 * oct-sparse.h.in: Delete. | |
3614 | |
5511 | 3615 2005-10-26 David Bateman <dbateman@free.fr> |
3616 | |
3617 * sparse-base-chol.h: Include cholmod specific code in HAVE_CHOLMOD | |
3618 * sparse-base-chol.cc: ditto. | |
3619 | |
5508 | 3620 2005-10-26 John W. Eaton <jwe@octave.org> |
3621 | |
3622 Changes for GCC 4.1, tip from Arno J. Klaassen | |
3623 <arno@heho.snv.jussieu.fr>: | |
3624 | |
5509 | 3625 * dSparse.h (real (const SparseComplexMatrix&)): |
3626 Publish externally used friend function. | |
3627 (imag (const SparseComplexMatrix&)): Likewise. | |
3628 | |
5508 | 3629 * dColVector.h (real (const ComplexColumnVector&)): |
3630 Publish externally used friend function. | |
3631 (imag (const ComplexColumnVector&)): Likewise. | |
3632 | |
3633 * dNDArray.h (real (const ComplexNDArray&)): | |
3634 Publish externally used friend function. | |
3635 (imag (const ComplexNDArray&)): Likewise. | |
3636 | |
3637 * dMatrix.h (operator * (const ComplexMatrix&)): | |
3638 Move decl outside class. No need to be friend. | |
3639 (real (const ComplexMatrix&)): Publish externally used friend function. | |
3640 (imag (const ComplexMatrix&)): Likewise. | |
3641 | |
3642 * CMatrix.h: (operator * (const ColumnVector&, const | |
3643 ComplexRowVector&)): Move decl outside class. No need to be friend. | |
3644 (operator * (const ComplexColumnVector&, const RowVector&)): Likewise. | |
3645 (operator * (const ComplexColumnVector&, const ComplexRowVector& b)): | |
3646 Likewise. | |
3647 | |
5506 | 3648 2005-10-23 David Bateman <dbateman@free.fr> |
3649 | |
3650 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Check whether trailing zero | |
3651 elements need to be removed. | |
3652 | |
3653 * oct-sparse.h.in: Include metis headers and some macros for long/int | |
3654 versions of cholmod. | |
3655 | |
3656 * CSparse.cc (tinverse): New private function for the inversion of | |
3657 an upper triangular matrix. | |
3658 (dinverse): ditto for diagonal matrices. | |
3659 (inverse): Add SparseType as an argument. Implement matrix inverse | |
3660 using tinverse and dinverse. | |
3661 (fsolve): Use cholmod to implement Cholesky solver. | |
3662 * CSparse.h (tinverse, dinverse): Declarations | |
3663 (inverse): Alter declaration to include SparseType. | |
3664 | |
3665 * dSparse.cc (tinverse, dinverse, inverse, fsolve): ditto. | |
3666 * dSparse.h (tinverse, dinverse, inverse): ditto. | |
3667 | |
3668 * SparseType.cc: Fix complex constructor for hermitian matrices. | |
3669 | |
3670 * sparse-util.cc: New file for sparse utility functions. | |
3671 * sparse-util.h: New file with declarations of sparse utility | |
3672 functions. | |
3673 | |
3674 * sparse-base-chol.cc: New file with sparse cholesky class based | |
3675 on cholmod. | |
3676 * sparse-base-chol.h: New file with declaration of sparse cholesky | |
3677 class based on cholmod. | |
3678 | |
3679 * SparseCmplxCHOL.cc: Instantiate sparse cholesky class for Complex. | |
3680 * SparseCmplxCHOL.h: Declaration of sparse cholesky class. | |
3681 | |
3682 * SparsedbleCHOL.cc: ditto. | |
3683 * SparsedbleCHOL.h: ditto. | |
3684 | |
3685 * Makefile.in (MATRIX_INC): Include sparse-base-chol.h. | |
3686 (INCLUDES): Include sparse-util.h | |
3687 (TEMPLATE_SRC): Include sparse-base-chol.cc | |
3688 (MATRIX_SRC): Include SparseCmplxCHOL.cc and SparsedbleCHOL.cc | |
3689 | |
5489 | 3690 2005-10-12 John W. Eaton <jwe@octave.org> |
3691 | |
3692 * oct-env.cc (octave_env::have_x11_display): New function. | |
3693 * oct-env.h: Provide decl. | |
3694 | |
5476 | 3695 2005-09-29 John W. Eaton <jwe@octave.org> |
3696 | |
3697 * file-stat.h (file_stat::mode): New function. | |
3698 | |
3699 * file-stat.cc (file_stat::is_blk, file_stat::is_chr, | |
3700 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
3701 file_stat::is_reg, file_stat::is_sock): New static functions. | |
3702 * file-stat.h: Provide decls. | |
3703 | |
3704 2005-09-28 John W. Eaton <jwe@octave.org> | |
3705 | |
3706 * file-ops.cc (file_ops::recursive_rmdir): New function. | |
3707 * file-ops.h: Provide decl. | |
3708 | |
5454 | 3709 2005-09-19 David Bateman <dbateman@free.fr> |
3710 | |
3711 * oct-env.cc (octave_env::do_get_home_directory): | |
3712 Also check HOMEDRIVE under mingw. | |
3713 | |
5455 | 3714 * Makefile.in (LINK_DEPS): Include UFsparse libraries. |
3715 | |
5453 | 3716 2005-09-16 John W. Eaton <jwe@octave.org> |
3717 | |
3718 * oct-syscalls.cc: Include lo-utils.h here. | |
3719 (octave_syscalls::waitpid): Call octave_waitpid here. | |
3720 | |
3721 * lo-cutils.c (octave_waitpid): New function. | |
3722 * lo-utils.h: Provide decl. Include syswait.h here, not in | |
3723 oct-syscalls.cc | |
3724 | |
3725 | |
3726 * syswait.h [__MINGW32__]: Define WAITPID here instead of defining | |
3727 waitpid in src/sysdep.h. Make this header C-compatible. | |
3728 | |
3729 * oct-syscalls.cc (octave_syscalls::waitpid): New arg, status. | |
3730 Change all uses. | |
3731 | |
5451 | 3732 2005-09-15 John W. Eaton <jwe@octave.org> |
3733 | |
3734 * Makefile.in (MAKEDEPS_2): Omit unnecessary variable. | |
3735 | |
3736 * oct-sparse.h.in: New file. | |
3737 * Makefile.in (DISTFILES): Include it in the list. | |
3738 (INCLUDES): Add oct-sparse.h to the list. | |
3739 | |
3740 2005-09-15 David Bateman <dbateman@free.fr> | |
3741 | |
3742 * dSparse.cc : Include oct-sparse.h for probed umfpack, colamd etc | |
3743 headers. Remove include of umfpack.h. | |
3744 * CSparse.cc : ditto. | |
3745 * SparsedbleLU.cc : ditto. | |
3746 * SparseCmplxLU.cc : ditto. | |
3747 | |
3748 * COLAMD : Remove colamd files from octave. | |
3749 * COLAMD.files : delete. | |
3750 * COLAMD.README : delete. | |
3751 * Makefile.in: Remove COLAMD. Add LIBGLOB. | |
3752 (LN_S): Change to DESTDIR before LN_S to avoid lack of symlinks | |
3753 under mingw. | |
3754 | |
3755 * kpse.cc (ENV_SEP, ENV_SEP_STRING): Use SEPCHAR and SEPCHAR_STR | |
3756 in definition. | |
3757 * lo-cutils.c (octave_w32_library_search): Call GetProcAddress with | |
3758 change of cast not allowed under g++ 3.x. | |
3759 * lo-utils.h (octave_w32_library_search): Declaration. | |
3760 * oct-env.cc (do_get_home_directory): Also check HOMEPATH under mingw. | |
3761 * oct-shlib.cc (octave_w32_shlib::search): Use octave_w32_library_search. | |
3762 | |
5442 | 3763 2005-09-07 John W. Eaton <jwe@octave.org> |
3764 | |
3765 * cmd-edit.cc (command_editor::do_decode_prompt_string): Update | |
3766 based on current code in Bash. Handle a few more escape | |
3767 sequences. Do a better job of decoding \W. | |
3768 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3769 2005-09-04 David Bateman <dbateman@free.fr> |
5438 | 3770 |
3771 * COLAMD: Update version of colamd to v2.4. | |
3772 * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of | |
3773 colamd.c for long version. | |
3774 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3775 2005-08-25 David Bateman <dbateman@free.fr> |
5429 | 3776 |
3777 * Sparse-op-defs.h (FULL_SPARSE_MUL, SPARSE_FULL_MUL): Macro for | |
3778 mixed sparse/full multiply. | |
3779 * dSparse.cc (operator *), CSparse.cc (operator *): New operators for | |
3780 mixed sparse/full multiply. | |
3781 * dSparse.h (operator *), CSparse.h (operator *): Declaration of | |
3782 mixed sparse/full multiply operators. | |
3783 | |
5420 | 3784 2005-07-25 Erik de Castro Lopo <erikd@zip.com.au> |
3785 | |
3786 * oct-inttypes.h (OCTAVE_S_US_FTR): Compare <= 0 instead of < 0 to | |
3787 avoid warnings for unsigned types. | |
3788 | |
5404 | 3789 2005-07-07 John W. Eaton <jwe@octave.org> |
3790 | |
3791 * dSparse.cc (SparseMatrix::factorize): Initialize Numeric to 0. | |
3792 * CSparse.cc (SparseComplexMatrix::factorize:) Likewise. | |
3793 | |
5392 | 3794 2005-06-15 John W. Eaton <jwe@octave.org> |
3795 | |
5394 | 3796 * oct-rl-edit.c (flush_stdout): Rename from no_redisplay. |
3797 Flush stdout here. | |
3798 (octave_rl_clear_screen): Set rl_redisplay_function to flush_stdout. | |
3799 | |
5392 | 3800 * Array.h (Array::resize): Change int args to octave_idx_type. |
3801 | |
5386 | 3802 2005-06-14 John W. Eaton <jwe@octave.org> |
3803 | |
5389 | 3804 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
3805 dSparse.cc, lo-cieee.c, lo-mappers.cc: Change all uses of | |
3806 octave_is_NaN_or_NA to xisnan. | |
3807 | |
3808 * lo-mappers.h (octave_is_NaN_or_NA): Mark with GCC_ATTR_DEPRECATED. | |
3809 * lo-ieee.h (lo_ieee_is_NaN_or_NA): Likewise. | |
3810 | |
3811 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Now just a wrapper for | |
3812 lo_ieee_isnan. | |
3813 | |
5387 | 3814 * dMatrix.cc (Matrix::too_large_for_float): Only check if abs |
3815 value is greater than FLT_MAX. | |
3816 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
3817 * dNDArray.cc (NDArray::too_large_for_float): Ditto. | |
3818 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
3819 | |
3820 * dMatrix.cc (Matrix::too_large_for_float): Special case Inf | |
3821 values too. | |
3822 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
3823 | |
3824 * dNDArray.cc (NDArray::too_large_for_float): Likewise for NaN, | |
3825 NA, Inf values. | |
3826 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
5386 | 3827 |
5385 | 3828 2005-06-14 David Bateman <dbateman@free.fr> |
3829 | |
5387 | 3830 * dMatrix.cc (Matrix::too_large_for_float): Special case NaN and |
3831 NA values. | |
3832 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
5385 | 3833 |
5379 | 3834 2005-06-02 John W. Eaton <jwe@octave.org> |
3835 | |
3836 * Array.cc (assignN): Try harder to correctly resize previously | |
3837 empty LHS. | |
3838 | |
5351 | 3839 2005-05-16 David Bateman <dbateman@free.fr> |
3840 | |
3841 * dSparse.h: Change UMFPACK_LONG_IDX to IDX_TYPE_LONG. | |
3842 * CSparse.h: ditto. | |
3843 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3844 2005-05-10 David Bateman <dbateman@free.fr> |
5346 | 3845 |
3846 * dSparse.cc (determinant): Free numeric factorization after | |
3847 sucessful calculation. | |
3848 * CSparse.cc (determinant): ditto. | |
3849 | |
5340 | 3850 2005-05-06 John W. Eaton <jwe@octave.org> |
3851 | |
3852 * dbleCHOL.cc (CHOL::init): Use xelem instead of elem for indexing | |
3853 chol_mat. | |
3854 (chol2mat_internal, chol2mat, CHOL::inverse): New functions. | |
3855 * dbleCHOL.h (chol2mat_internal, chol2mat, CHOL::inverse): | |
3856 Provide decls. | |
3857 | |
3858 * CmplxChol.cc (ComplexCHOL::init): Use xelem instead of elem for | |
3859 indexing chol_mat. | |
3860 (chol2mat_internal, chol2mat, ComplexCHOL::inverse): New functions. | |
3861 * CmplxCHOL.h (chol2mat_internal, chol2mat, CmplxCHOL::inverse): | |
3862 Provide decls. | |
3863 | |
5338 | 3864 2005-05-05 John W. Eaton <jwe@octave.org> |
3865 | |
3866 * Array.cc (Array<T>::permute): Call chop_trailing_singletons on | |
3867 retval before return. | |
3868 | |
5336 | 3869 2005-05-04 John W. Eaton <jwe@octave.org> |
3870 | |
3871 * cmd-edit.cc (gnu_readline::do_readline): Extract const char* | |
3872 from prompt outside of INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE block. | |
3873 | |
5330 | 3874 2005-05-02 John W. Eaton <jwe@octave.org> |
3875 | |
3876 * Makefile.in (LINK_DEPS): List $(UMFPACK_LIBS) ahead of $(BLAS_LIBS). | |
3877 From Dmitri A. Sergatskov <dasergatskov@gmail.com>. | |
3878 | |
5322 | 3879 2005-04-29 David Bateman <dbateman@free.fr> |
3880 | |
5330 | 3881 * dSparse.cc (trisolve): Diagonal passed to lapack zptsv is type |
3882 double. Correct indexing for upper diagonal elements for sparse | |
3883 tridiagonal. | |
5322 | 3884 * CSparse.cc (trisolve): ditto. |
3885 | |
5330 | 3886 * CSparse.h (UMFPACK_ZNAME): Define macro to pick version of |
3887 UMFPACK for 64-bit. | |
5322 | 3888 * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with |
3889 UMFPACK_ZNAME(*). | |
3890 * SparseCmplxLU.cc (UMFPACK_ZNAME): ditto | |
3891 | |
5330 | 3892 * dSparse.h (UMFPACK_DNAME): Define macro to pick version of |
3893 UMFPACK for 64-bit. | |
5322 | 3894 * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with |
3895 UMFPACK_DNAME(*). | |
3896 * SparsedbleLU.cc (UMFPACK_DNAME): ditto | |
3897 | |
5330 | 3898 * dSparse.cc (ltsolve, utsolve): Correct permuted upper/lower |
3899 triangular back/forward substitution code. | |
5322 | 3900 * CSparse.cc (ltsolve, utsolve): ditto. |
3901 | |
5330 | 3902 * dSparse.cc (solve): Use mattype.type (false) to force messaging |
3903 from spparms("spumoni",1). | |
5322 | 3904 * CSparse.cc (solve): ditto |
3905 | |
5330 | 3906 * SparseType.cc (SparseType(void)): Print info for |
3907 spparms("spumoni",1). | |
5322 | 3908 (SparseType(const matrix_type), SparseType(const matrix_type, const |
3909 octave_idx_type, const octave_idx_type*), SparseType(const matrix_type, | |
3910 const octave_idx_type, const octave_idx_type)): New constructors. | |
3911 (SparseType (const SparseMatrix&), SparseType (SparseComplexMatrix&)): | |
5330 | 3912 Detect row permuted lower triangular and column permuted upper |
3913 triangular matrices. Remove one of the permutation vectors.. | |
5322 | 3914 |
3915 * SparseType.h: Simplify the permutation code. | |
3916 (SparseType(const matrix_type), SparseType | |
3917 (const matrix_type, const octave_idx_type, const octave_idx_type*), | |
3918 SparseType(const matrix_type, const octave_idx_type, | |
3919 const octave_idx_type)): Declarations. | |
3920 | |
5304 | 3921 2005-04-25 John W. Eaton <jwe@octave.org> |
3922 | |
3923 * str-vec.cc (string_vector::delete_c_str_vec): Correctly free | |
3924 array and its contents. | |
3925 | |
5303 | 3926 2005-04-22 John W. Eaton <jwe@octave.org> |
3927 | |
3928 * oct-rl-edit.c (octave_rl_set_terminal_name): Don't cast away | |
3929 const here now that rl_terminal_name is declared const char*. | |
3930 | |
5294 | 3931 2005-04-21 John W. Eaton <jwe@octave.org> |
3932 | |
3933 * Makefile.in (DISTFILES): Include oct-types.h.in in the list. | |
3934 | |
5285 | 3935 2005-04-19 John W. Eaton <jwe@octave.org> |
3936 | |
3937 * Array.cc (assignN): Don't crash if the index list is empty. | |
3938 | |
5282 | 3939 2005-04-14 David Bateman <dbateman@free.fr> |
3940 | |
3941 * SparseCmplxLU.cc: Add flags for incomplete factorization. | |
3942 * SparsedbleLU.cc: Ditto. | |
3943 * SparseCmplxLU.h: Definition. | |
3944 * SparsedbleLU.h: ditto. | |
3945 | |
3946 * SparseType.cc (transpose): New function. | |
3947 * SparseType.h (transpose): Definition. | |
3948 | |
5278 | 3949 2005-04-11 John W. Eaton <jwe@octave.org> |
3950 | |
3951 * lo-specfun.cc: Use F77_XFCN instead of F77_FUNC for calls to | |
3952 fortran code that could end up calling XSTOPX. | |
3953 | |
5277 | 3954 2005-04-10 David Bateman <dbateman@free.fr> |
3955 | |
3956 * Makefile.in: include oct-types in INCLUDES so that it is | |
3957 installed | |
3958 | |
5275 | 3959 2005-04-08 John W. Eaton <jwe@octave.org> |
3960 | |
5276 | 3961 * Makefile.in (clean): Use exact filenames instead of *.xxx. |
3962 | |
5275 | 3963 * Initial merge of 64-bit changes from Clinton Chee: |
3964 | |
3965 2005-04-07 John W. Eaton <jwe@octave.org> | |
3966 | |
3967 * MArray-i.cc, Array-i.cc: Instantiate Array<long> and MArray<long>. | |
3968 | |
3969 * CSparse.cc, CSparse.h, MSparse.cc, MSparse.h, Sparse-op-defs.h, | |
3970 Sparse.cc, Sparse.h, SparseCmplxLU.cc, SparseType.cc, | |
3971 SparseType.h, SparsedbleLU.cc, boolSparse.cc, boolSparse.h, | |
3972 dSparse.cc, dSparse.h, sparse-base-lu.cc: | |
3973 Use octave_idx_type instead of int where needed. | |
3974 | |
3975 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
3976 | |
3977 * Array-util.cc, Array-util.h, Array.cc,Array.h, Array2.h, | |
3978 Array3.h, ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
3979 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
3980 CMatrix.h, CNDArray.cc, CNDArray.h, CRowVector.cc, CRowVector.h, | |
3981 CmplxAEPBAL.cc, CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, | |
3982 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
3983 CmplxSCHUR.cc, CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, | |
3984 CollocWt.h, DAEFunc.h, DASPK-opts.in,DASPK.cc,DASPK.h, | |
3985 DASRT-opts.in, DASRT.cc, DASRT.h, DASSL-opts.in, DASSL.cc, | |
3986 DASSL.h, DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, | |
3987 FEGrid.h, LPsolve.cc, LPsolve.h, LSODE-opts.in, LSODE.cc, LSODE.h, | |
3988 MArray-defs.h, MArray.cc, MArray.h, MArray2.cc, MArray2.h, | |
3989 MArrayN.cc, MDiagArray2.cc, MDiagArray2.h, NLConst.h, NLEqn.cc, | |
3990 NLEqn.h, Quad.cc, Quad.h, Range.cc,Range.cc, Range.h, base-de.h, | |
3991 base-lu.cc, base-lu.h, base-min.h, boolMatrix.cc, boolMatrix.h, | |
3992 boolNDArray.cc, boolNDArray.h, chMatrix.cc, chMatrix.h, | |
3993 chNDArray.cc, chNDArray.h, dColVector.cc, dColVector.h, | |
3994 dDiagMatrix.cc, dDiagMatrix.h, dMatrix.cc, dMatrix.h, | |
3995 dNDArray.cc,dNDArray.cc, dNDArray.h, dRowVector.cc, dRowVector.h, | |
3996 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleHESS.cc, | |
3997 dbleHESS.h, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
3998 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, dim-vector.h, idx-vector.cc, | |
3999 idx-vector.h, intNDArray.cc, intNDArray.h, lo-specfun.cc, | |
4000 lo-specfun.h, mach-info.cc, mx-inlines.cc, oct-fftw.cc, | |
4001 oct-fftw.h, oct-rand.cc, oct-rand.h, so-array.cc, so-array.h, | |
4002 str-vec.cc, str-vec.h: | |
4003 Use octave_idx_type instead of int where needed. | |
4004 | |
4005 2005-04-01 John W. Eaton <jwe@octave.org> | |
4006 | |
4007 * dim-vector.h, lo-utils.h: Include oct-types.h. | |
4008 | |
4009 * oct-types.h.in: New file. | |
4010 | |
4011 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
4012 | |
4013 * lo-utils.cc (NINTbig): New function. | |
4014 * lo-utils.h: Provide decl. | |
4015 | |
5269 | 4016 2005-04-06 David Bateman <dbateman@free.fr> |
4017 | |
4018 * Makefile.in: Link to UMFPACK_LIBS. | |
4019 | |
5265 | 4020 2005-04-05 John W. Eaton <jwe@octave.org> |
4021 | |
4022 * Array.cc (assignN): Avoid shadowed declaration in previous change. | |
4023 | |
5264 | 4024 2005-04-01 John W. Eaton <jwe@octave.org> |
4025 | |
4026 * Array.cc (assignN): For A(IDX-LIST) = RHS with A previously | |
4027 undefined, correctly match colons in IDX-LIST with RHS dimensions | |
4028 when resizing A. When performing the assignment, just check that | |
4029 the number of elements in RHS matches the number of elements | |
4030 indexed by IDX-LIST. | |
4031 | |
5260 | 4032 2005-03-30 John W. Eaton <jwe@octave.org> |
4033 | |
5261 | 4034 * lo-mappers.cc (log10, tan, tanh): Delete functions. |
4035 * lo-mappers.h (log10, tan, tanh): Delete decls. | |
4036 | |
4037 * CColVector.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, | |
4038 dSparse.cc: Use std:: for Complex functions instead of relying on | |
4039 wrappers from oct-cmplx.h. | |
5260 | 4040 |
4041 * oct-cmplx.h: Provide typedef only. | |
4042 | |
4043 * DiagArray2.cc (xelem): Don't use initializer for static data. | |
4044 * DiagArray2.h (DiagArray<T>::Proxy::operator T ()): | |
4045 Likewise. | |
4046 | |
5247 | 4047 2005-03-26 John W. Eaton <jwe@octave.org> |
4048 | |
4049 * cmd-edit.cc (do_readline): Wrap call to ::octave_rl_readline | |
4050 with {BEGIN,END}_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE. | |
4051 | |
5209 | 4052 2005-03-15 John W. Eaton <jwe@octave.org> |
4053 | |
4054 * Makefile.in (MATRIX_INC): Remove oct-spparms.h from the list. | |
4055 | |
5203 | 4056 2005-03-14 John W. Eaton <jwe@octave.org> |
4057 | |
4058 * Makefile.in (DISTFILES): Don't include $(UMFPACK_EXTRAS). | |
4059 (DISTDIRS): Don't include UMFPACK. | |
4060 (LIBOCTAVE_OBJECTS): Don't include $(UMFPACK_OBJ). | |
4061 (UMFPACK_SPECIAL_1, UMFPACK_SPECIAL): No need for special include | |
4062 flags for these files. | |
4063 Don't include include $(srcdir)/UMFPACK.files. | |
4064 Don't include include $(srcdir)/UMFPACK.rules. | |
4065 | |
4066 * UMFPACK.README, UMFPACK.files, UMFPACK.patch, UMFPACK.rules: | |
4067 Delete files. | |
4068 * UMFPACK: Delete directory tree. | |
4069 | |
4070 * dSparse.cc: Include <umfpack/umfpack.h> instead of just "umfpack.h". | |
4071 * CSparse.cc: Likewise. | |
4072 * SparsedbleLU.cc: Likewise. | |
4073 * SparseCmplxLU.cc: Likewise. | |
4074 | |
4075 2005-03-14 David Bateman <dbateman@free.org> | |
4076 | |
4077 * CSParse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc: | |
4078 Allow compilation to succeed if UMFPACK is not available. | |
4079 | |
5196 | 4080 2005-03-09 John W. Eaton <jwe@octave.org> |
4081 | |
4082 * Makefile.in (bin-dist): Delete target. | |
4083 (BINDISTLIBS, BINDISTFILES): Delete variables. | |
4084 | |
5173 | 4085 2005-03-01 John W. Eaton <jwe@octave.org> |
4086 | |
4087 * ODESSA.h, ODESSA.cc, ODESSA-opts.in: Delete. | |
4088 * Makefile.in: Remove them from the lists. | |
4089 | |
5169 | 4090 2005-02-28 John W. Eaton <jwe@octave.org> |
4091 | |
4092 * Makefile.in (LINK_DEPS): Remove -lglob from the list. | |
4093 | |
5167 | 4094 2005-02-27 David Bateman <dbateman@free.org> |
4095 | |
5169 | 4096 * Sparse.cc (Sparse<T>::reshape): Set cidx for the N last elements |
4097 in the sparse matrix. | |
5167 | 4098 |
5164 | 4099 2005-02-25 John W. Eaton <jwe@octave.org> |
4100 | |
4101 Sparse merge. | |
4102 | |
4103 2005-02-13 David Bateman <dbateman@free.fr> | |
4104 | |
4105 * CSparse.cc (SparseComplexMatrix:dsolve, SparseComplexMatrix:utsolve, | |
4106 SparseComplexMatrix::ltsolve, SparseComplexMatrix::trisolve, | |
4107 SparseComplexMatrix::bsolve, SparseComplexMatrix:fsolve): Split sparse | |
4108 solver into separate functions for the diagonal, upper, lower | |
4109 triangular, tridiagonal, banded and full cases. | |
4110 (SparseComplexMatrix::solve): rewrite to call the above function. One | |
4111 version that probes the matrix type and another that assumes the type | |
4112 is passed. | |
4113 | |
4114 * dSparse.cc (SparseMatrix:dsolve, SparseMatrix:utsolve, | |
4115 SparseMatrix::ltsolve, SparseMatrix::trisolve, | |
4116 SparseMatrix::bsolve, SparseMatrix:fsolve): Likewise | |
4117 (SparseMatrix::solve): Likewise | |
4118 | |
4119 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
4120 Declaration of new functions | |
4121 * dSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
4122 Likewise | |
4123 | |
4124 * CSparse.cc (operator !): Reverse the sense of the test. | |
4125 * dSpase.cc (operator !): Likewise | |
4126 | |
4127 * dSparse.h (type, band_size, is_dense, triangular_row_perm, | |
4128 triangular_col_perm, sparse_info): Remove matrix type code | |
4129 * CSparse.h (type, band_size, is_dense, triangular_row_perm, | |
4130 triangular_col_perm, sparse_info): Likewise | |
4131 * boolSparse.h (type, band_size, is_dense, triangular_row_perm, | |
4132 triangular_col_perm, sparse_info): Likewise | |
4133 * MSparse.h (type, band_size, is_dense, triangular_row_perm, | |
4134 triangular_col_perm, sparse_info): Likewise | |
4135 * Sparse.h (type, band_size, is_dense, triangular_row_perm, | |
4136 triangular_col_perm, sparse_info, matrix_type): Likewise | |
4137 | |
4138 * Sparse.cc (type, sparse_info, band_size): Remove type code | |
4139 | |
4140 * SparseType.h: New class for the matrix type used in solvers | |
4141 * SparseType.cc: methods of sparse matrix type class | |
4142 | |
4143 * Makefile.in: Add SparseType.cc | |
4144 | |
4145 2005-02-01 David Bateman <dbateman@free.fr> | |
4146 | |
4147 * UMFPACK: Update to version 4.4 | |
4148 * UMFPACK.patch: Version 4.4 contains most of the previous patch. Only | |
4149 keep octave specific test files | |
4150 | |
4151 2005-01-23 David Bateman <dbateman@free.fr> | |
4152 | |
4153 * dSparse.cc (SparseMatrix::solve): Include tridiagonal, cholesky | |
4154 tridiagonal and banded cholesky solvers. Remove calculation of | |
4155 condition number for banded solvers. | |
4156 * CSparse.cc (SparseComplexMatrix::solve): ditto. | |
4157 | |
4158 * Sparse.h (int type (int) const, bool is_dense (void) const): | |
4159 new functions. | |
4160 * MSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
4161 * dSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
4162 * CSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
4163 * boolSparse.h (int type (int) const, bool is_dense (void) const): | |
4164 ditto | |
4165 | |
4166 * Sparse.cc (int Sparse<T>::type (int) const, | |
4167 bool Sparse<T>::is_dense (void) const): New functions definition | |
4168 | |
4169 * Sparse.h (matrix_type typ): Move caching of matrix type to SparseRep, | |
4170 so it actually is cached, but disable | |
4171 | |
4172 * oct-spparms.cc (SparseParams::init_keys): Change spmoni to spumoni | |
4173 for compatiability | |
4174 | |
4175 2005-01-18 David Bateman <dbateman@free.fr> | |
4176 | |
4177 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
4178 Modify calculation of number elements to skip between copied blocks. | |
4179 | |
4180 2005-01-07 David Bateman <dbateman@free.fr> | |
4181 | |
4182 * Sparse.h : Reverse definitions of numel and nelem. | |
4183 * Sparse.cc (assign1): Use numel and not nelem | |
4184 * Sparse-op-def.h: Replace all uses of nelem with numel | |
4185 | |
4186 2005-01-07 David Bateman <dbateman@free.fr> | |
4187 | |
4188 * dbleDET.h: Make SparseMatrix a friend of the class DET | |
4189 * CmplexDET.h: Make SparseComplexMatrix a friend of the class | |
4190 ComplexDET | |
4191 * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET | |
4192 by DET | |
4193 * dSparse.h (determinant): ditto | |
4194 * CSparse.cc (SparseComplexMatrix::determinant): Replace use of | |
4195 SparseComplexDET by ComplexDET | |
4196 * CSparse.h (determinant): ditto | |
4197 * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, | |
4198 SparseCmplxDET.cc: delete files | |
4199 * Makefile.in: Delete reference to SparsedbleDET.h, SparsedbleDET.cc, | |
4200 SparseCmplxDET.h andSparseCmplxDET.cc. | |
4201 | |
4202 * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in | |
4203 local variable to avoid variable shadowing. | |
4204 * dSparse.cc (SparseMatrix::solve): ditto. | |
4205 | |
4206 * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc | |
4207 dSparse.h MSparse.cc MSparse-C.cc MSparse-d.cc MSparse-defs.h | |
4208 MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc | |
4209 Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc | |
4210 SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc | |
4211 sparse-sort.h: Remove additional licensing clause with authors | |
4212 permission. | |
4213 | |
4214 2004-12-30 John W. Eaton <jwe@octave.org> | |
4215 | |
4216 * MSparse.cc (SPARSE_A2S_OP_2, SPARSE_SA2_OP_2): | |
4217 Loop counter is int, not size_t. | |
4218 | |
4219 * oct-spparms.cc (SparseParams::operator =): Return *this. | |
4220 | |
4221 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Delete unused variable tmpval. | |
4222 | |
4223 * dSparse.cc (operator << (ostream&, const SparseMatrix&), atan2): | |
4224 Delete unused variables. | |
4225 (SparseMatrix::solve): Avoid warnings about uninitialized | |
4226 variables and variables that might be clobbered by longjmp. | |
4227 | |
4228 * CSparse.cc (operator << (ostream&, const SparseComplexMatrix&), | |
4229 min, max): Delete unused variables. | |
4230 (SparseComplexMatrix::solve): Avoid warnings about uninitialized | |
4231 variables and variables that might be clobbered by longjmp. | |
4232 | |
4233 * Makefile.in (UMFPACK_SPECIAL): Include .d files in the list. | |
4234 | |
4235 * Sparse-op-defs.h (SPARSE_SMS_BIN_OP_2, SPARSE_SSM_BIN_OP_2): | |
4236 Loop counter is int, not size_t. | |
4237 | |
4238 * CSparse.cc (SparseComplexMatrix::hermitian): Avoid shadow warnings. | |
4239 * Sparse.cc (Sparse<T>::Sparse, Sparse<T>::type, assign): Likewise. | |
4240 | |
4241 * Sparse.h (Sparse::SparseRep): Order data members and initializer | |
4242 lists consistently. | |
4243 | |
4244 * mx-base.h: Include boolSparse.h, dSparse.h, and CSparse.h. | |
4245 | |
4246 2004-12-29 John W. Eaton <jwe@octave.org> | |
4247 | |
4248 * COLAMD.files (COLAMD_EXTRAS): New variable. | |
4249 * UMFPACK.files (UMFPACK_EXTRAS): New variable. | |
4250 * Makefile.in (DISTFILES): Add $(COLAMD_EXTRAS) and | |
4251 $(UMFPACK_EXTRAS) to the list. | |
4252 (DISTDIRS): New variable. | |
4253 (dist): Handle $(DISTDIRS). | |
4254 | |
4255 Merge of sparse code from David Bateman <dbateman@free.fr> and | |
4256 Andy Adler <adler@site.uottawa.ca>. | |
4257 | |
4258 * Makefile.in (VPATH): ADD @srcdir@/COLAMD to the list. | |
4259 | |
4260 * Makefile.in (MAKEDEPS): Include $(COLAMD_SRC) and $(UMFPACK_SRC) | |
4261 without directory prefix. | |
4262 | |
4263 * Makefile.in (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJ) and | |
4264 $(UMFPACK_OBJ) to the list. | |
4265 | |
4266 * COLAMD: New directory. | |
4267 * COLAMD.files: New file. | |
4268 * Makefile.in: Include COLAMD.files. | |
4269 (SOURCES): Add $(COLAMD_SOURCES) to the list. | |
4270 (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJECTS) to the list. | |
4271 (INCLUDES): Add $(COLAMD_INCLUDES) to the list. | |
4272 | |
4273 * UMFPACK: New directory. | |
4274 * UMFPACK.patch, UMFPACK.README, UMFPACK.files, UMFPACK.rules: | |
4275 New files. | |
4276 * Makefile.in: Include UMFPACK.files and UMFPACK.rules. | |
4277 (SOURCES): Add $(UMFPACK_SOURCES) to the list. | |
4278 (LIBOCTAVE_OBJECTS): Add $(UMFPACK_OBJECTS) to the list. | |
4279 (INCLUDES): Add $(UMFPACK_INCLUDES) to the list. | |
4280 | |
4281 * Makefile.in (SPARSE_MX_OP_INC): New variable. | |
4282 (INCLUDES): Add it to the list. | |
4283 (SPARSE_MX_OP_SRC): New variable. | |
4284 (LIBOCTAVE_CXX_SOURCES): Add it to the list. | |
4285 (distclean): Remove $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
4286 (stamp-prereq): Depend on $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
4287 | |
4288 * sparse-mk-ops.awk, sparse-mx-ops: New files. | |
4289 * Makefile.in (DISTFILES): Add them to the lists. | |
4290 | |
4291 * oct-spparms.h, sparse-sort.h: New files. | |
4292 * Makefile.in (INCLUDES): Add them to the list. | |
4293 | |
4294 * oct-spparms.cc, sparse-sort.cc: New files. | |
4295 * Makefile.in (LIBOCTAVE_CXX_SOURCES): Add them to the list. | |
4296 | |
4297 * sparse-base-lu.cc: New file. | |
4298 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
4299 | |
4300 * boolSparse.cc, CSparse.cc, dSparse.cc, MSparse.cc, Sparse.cc, | |
4301 SparseCmplxDET.cc, SparseCmplxLU.cc, SparsedbleDET.cc, | |
4302 SparsedbleLU.cc: New files. | |
4303 * Makefile.in (MATRIX_SRC): Add them to the list. | |
4304 | |
4305 * boolSparse.h, CSparse.h, dSparse.h, MSparse-defs.h, MSparse.h, | |
4306 Sparse.h, oct-spparms.h, sparse-base-lu.h, SparseCmplxDET.h, | |
4307 SparseCmplxLU.h, SparsedbleDET.h, SparsedbleLU.h, | |
4308 Sparse-op-defs.h: New files. | |
4309 * Makefile.in (MATRIX_INC): Add them to the appropriate lists. | |
4310 | |
4311 * MSparse-d.cc, MSparse-C.cc, Sparse-b.cc, Sparse-d.cc, | |
4312 Sparse-C.cc: New files. | |
4313 * Makefile.in (TI_SRC): Add them to the list. | |
4314 | |
5149 | 4315 2005-02-18 John W. Eaton <jwe@octave.org> |
4316 | |
4317 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_RESOLVEPATH]: | |
4318 Pass current directory to octave_env::make_absolute. | |
4319 Save value returned from octave_env::make_absolute in local var. | |
4320 Pass const char*, not std::string as first arg of resolvepath. | |
4321 Provide decl for resolved_len. | |
4322 | |
5148 | 4323 2005-02-18 John W. Eaton <jwe@octave.org> |
4324 | |
4325 * Array.cc (Array<T>::permute): Allow permutation vector longer | |
4326 than number of dimenensions of permuted matrix. | |
4327 | |
4328 * Array.cc (Array<T>::permute): Use zero-based indexing for perm_vec. | |
4329 * Array-util.cc (calc_permutated_idx): Likewise. | |
4330 | |
5139 | 4331 2005-02-10 David Bateman <dbateman@free.fr> |
4332 | |
4333 * CNDArray.cc (ComplexNDarray::operator !): Change sense of test. | |
4334 * CMatrix.cc (ComplexMatrix::operator !): Likewise. | |
4335 | |
5137 | 4336 2005-02-09 John W. Eaton <jwe@octave.org> |
4337 | |
5138 | 4338 * file-ops.cc (file_ops::canonicalize_file_name): New functions. |
4339 * file-ops.h: Provide decls. | |
4340 | |
5137 | 4341 * kpse.cc (kpse_tilde_expand): Simply return NAME if it is empty. |
4342 | |
5136 | 4343 2005-02-08 John W. Eaton <jwe@octave.org> |
4344 | |
4345 * Array-util.cc (freeze): Improve error message. | |
4346 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4347 2005-01-26 David Bateman <dbateman@free.fr> |
5120 | 4348 |
5121 | 4349 * Array.cc (Array<T>::insert): Handle generic case, not just |
4350 special case for fast concatenation. | |
5120 | 4351 |
5110 | 4352 2005-01-18 John W. Eaton <jwe@octave.org> |
4353 | |
4354 * mx-inlines.cc (MX_ND_REDUCTION): Delete RET_ELT_TYPE arg. | |
4355 Change all uses. Use VAL instead of RET_ELT_TYPE when resizing. | |
4356 | |
4357 * dNDArray.cc (NDArray::any): NaN does not count as a nonzero value. | |
4358 * CNDArray.cc (ComplexNDArray::any): Likewise. | |
4359 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4360 2005-01-18 David Bateman <dbateman@free.fr> |
5108 | 4361 |
4362 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
4363 Modify calculation of number elements to skip between copied blocks. | |
4364 | |
4365 2005-01-18 John W. Eaton <jwe@octave.org> | |
4366 | |
4367 * idx-vector.cc (IDX_VEC_REP::freeze): Call warning handler, not | |
4368 error handler, to warn about resizing. | |
4369 | |
5105 | 4370 2004-12-27 Martin Dalecki <martin@dalecki.de> |
4371 | |
4372 * Array.cc, ArrayN.cc, base-lu.cc, boolMatrix.cc, boolNDArray.cc, | |
4373 Bounds.cc, CColVector.cc, CDiagMatrix.cc, chMatrix.cc, | |
4374 chNDArray.cc, CMatrix.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, | |
4375 CmplxDET.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
4376 CmplxSCHUR.cc, CmplxSVD.cc, CNDArray.cc, CollocWt.cc, | |
4377 CRowVector.cc, DASPK.cc, DASRT.cc, DASSL.cc, dbleAEPBAL.cc, | |
4378 dbleCHOL.cc, dbleDET.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, | |
4379 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, dColVector.cc, | |
4380 dDiagMatrix.cc, DiagArray2.cc, dMatrix.cc, dNDArray.cc, | |
4381 dRowVector.cc, EIG.cc, FEGrid.cc, idx-vector.cc, int16NDArray.cc, | |
4382 int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, intNDArray.cc, | |
4383 LinConst.cc, LPsolve.cc, LSODE.cc, MArray2.cc, MArray.cc, | |
4384 MArrayN.cc, MDiagArray2.cc, NLEqn.cc, oct-alloc.cc, ODES.cc, | |
4385 ODESSA.cc, Quad.cc, Range.cc, so-array.cc, uint16NDArray.cc, | |
4386 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: | |
4387 Delete #pragma implementation. | |
4388 | |
4389 * Array2.h, Array3.h, Array.h, ArrayN.h, base-lu.h, boolMatrix.h, | |
4390 boolNDArray.h, Bounds.h, CColVector.h, CDiagMatrix.h, chMatrix.h, | |
4391 chNDArray.h, CMatrix.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, | |
4392 CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, | |
4393 CmplxSVD.h, CNDArray.h, CollocWt.h, CRowVector.h, DASPK.h, | |
4394 DASRT.h, DASSL.h, dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, | |
4395 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, | |
4396 dColVector.h, dDiagMatrix.h, DiagArray2.h, dim-vector.h, | |
4397 dMatrix.h, dNDArray.h, dRowVector.h, EIG.h, FEGrid.h, | |
4398 idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
4399 int8NDArray.h, intNDArray.h, LinConst.h, LPsolve.h, LSODE.h, | |
4400 MArray2.h, MArray.h, MArrayN.h, MDiagArray2.h, NLConst.h, NLEqn.h, | |
4401 ODES.h, ODESSA.h, Quad.h, Range.h, so-array.h, uint16NDArray.h, | |
4402 uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: | |
4403 Delete #pragma interface. | |
4404 | |
5098 | 4405 2004-12-17 John W. Eaton <jwe@octave.org> |
4406 | |
4407 * lo-cieee.c (lo_ieee_signbit): New function. | |
4408 * lo-ieee.h: Provide decl. | |
4409 Don't define lo_ieee_signbit as a macro here. | |
4410 From Orion Poplawski <orion@cora.nwra.com>. | |
4411 | |
5085 | 4412 2004-11-18 John W. Eaton <jwe@octave.org> |
4413 | |
4414 * int32NDArray.cc (pow): Delete instantiation. | |
4415 * int16NDArray.cc (pow): Likewise. | |
4416 * int8NDArray.cc (pow): Likewise. | |
4417 * uint32NDArray.cc (pow): Likewise. | |
4418 * uint16NDArray.cc (pow): Likewise. | |
4419 * uint8NDArray.cc (pow): Likewise. | |
4420 | |
5081 | 4421 2004-11-17 John W. Eaton <jwe@octave.org> |
4422 | |
5085 | 4423 * kpse.cc (str_llist_float, str_llist_add, kpse_var_expand): |
4424 Now static. | |
4425 (DB_ENVS, DB_HASH_SIZE, DB_NAME, ALIAS_NAME, ALIAS_HASH_SIZE, | |
4426 DEFAULT_TEXMFDBS): Delete unused macros. | |
4427 | |
5081 | 4428 * Array.cc (Array<T>::index): Call generic N-d indexing function |
4429 if idx_arg is N-d. | |
4430 | |
5073 | 4431 2004-11-09 David Bateman <dbateman@free.fr> |
4432 | |
4433 * dNDArray.cc (concat): Delete. | |
4434 (NDArray::concat): New methods. | |
4435 * dNDArray.h: Provide decls. | |
4436 | |
4437 * CNDArray.cc (concat): Delete. | |
4438 (ComplexNDArray::concat): New methods. | |
4439 * CNDArray.h: Provide decls. | |
4440 | |
4441 * boolNDArray.cc (concat): Delete. | |
4442 (boolNDArray::concat): New methods. | |
4443 * boolNDArray.h: Provide decls. | |
4444 | |
4445 * chNDArray.cc (concat): Delete. | |
4446 (charNDArray::concat): New methods. | |
4447 * chNDArray.h: Provide decls. | |
4448 | |
4449 * oct-inttypes.h (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): | |
4450 Delete macros. | |
4451 | |
4452 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
4453 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
4454 (OCTAVE_INT_CONCAT_DECL): Delete use of macro. | |
4455 | |
4456 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
4457 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
4458 (OCTAVE_INT_CONCAT_FN): Delete use of macro. | |
4459 | |
4460 * intNDArray.cc (intNDArray<T>::concat): New method. | |
4461 * intNDArray.h: Provide decl. | |
4462 | |
5072 | 4463 2004-11-08 John W. Eaton <jwe@octave.org> |
4464 | |
4465 * oct-inttypes.cc: New file. | |
4466 * Makefile.in (TI_SRC): Add it to the list. | |
4467 * oct-inttypes.h (OCTAVE_US_TYPE1_CMP_OP, OCTAVE_US_TYPE1_CMP_OPS, | |
4468 OCTAVE_SU_TYPE1_CMP_OP, OCTAVE_SU_TYPE1_CMP_OPS, | |
4469 OCTAVE_TYPE1_CMP_OPS, OCTAVE_US_TYPE2_CMP_OP, | |
4470 OCTAVE_US_TYPE2_CMP_OPS, OCTAVE_SU_TYPE2_CMP_OP, | |
4471 OCTAVE_SU_TYPE2_CMP_OPS, OCTAVE_TYPE2_CMP_OPS): | |
4472 New macros for comparison operations. Avoid potential | |
4473 problems with default conversions when comparing signed and | |
4474 unsigned values. | |
4475 | |
5061 | 4476 2004-11-03 John W. Eaton <jwe@octave.org> |
4477 | |
4478 * dMatrix.cc (Matrix::inverse): Return info == -1 for any failure. | |
4479 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
4480 | |
5052 | 4481 2004-10-19 John W. Eaton <jwe@octave.org> |
4482 | |
4483 * Array.cc (assignN): Avoid resizing if assignment will fail. | |
4484 | |
5047 | 4485 2004-10-18 John W. Eaton <jwe@octave.org> |
4486 | |
4487 * Array.cc (assign2): Save result of squeeze operation. | |
4488 Squeeze if ndims is > 2, not if length of RHS vector is > 2. | |
4489 | |
5095 | 4490 2004-10-11 David Bateman <dbateman@free.fr> |
5044 | 4491 |
4492 * oct-fftw.cc (class octave_fftw_planner): Add inplace[2] to | |
4493 flag whether transform in- or out-of-place. | |
4494 (octave_fftw_planner::octave_fftw_planner): Initialize it. | |
4495 (octave_fftw_planner::create_plan): Use it. | |
4496 | |
5039 | 4497 2004-09-24 John W. Eaton <jwe@octave.org> |
4498 | |
4499 * Array.cc (assign2, assignN): If index is empty, allow RHS to be | |
4500 any empty matrix, not just []. | |
4501 | |
5030 | 4502 2004-09-23 John W. Eaton <jwe@octave.org> |
4503 | |
4504 * mx-ops: Include scalar zero value in type definitions. | |
4505 Delete zero information from ops section. | |
4506 * mk-ops.awk: Use type-specific zero info. | |
4507 | |
4508 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, | |
4509 SND_BOOL_OP, NDND_BOOL_OP): Args now include zero values for both | |
4510 LHS and RHS. | |
4511 (MS_BOOL_OPS2, SM_BOOL_OPS2, MM_BOOL_OPS2, NDS_BOOL_OPS2, | |
4512 SND_BOOL_OPS2, NDND_BOOL_OPS2): New macros. | |
4513 (MS_BOOL_OPS, SM_BOOL_OPS, MM_BOOL_OPS, NDS_BOOL_OPS, | |
4514 SND_BOOL_OPS, NDND_BOOL_OPS): Define in terms of 2-zero versions. | |
4515 | |
4516 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const | |
4517 intNDArray<U>&)): Use explicit as_double () conversion in call to | |
4518 tree_to_mat_idx. | |
4519 | |
4520 * oct-inttypes.h (octave_int<T>::operator float): New conversion. | |
4521 (pow): Instead of "if (b_val)", use "if (b_val != zero)". | |
4522 Likewise for the "if (b_val & one)" test. | |
4523 (operator <<, operator >>): Type of retval is octave_int<T1>, not T1. | |
4524 | |
5029 | 4525 2004-09-23 David Bateman <dbateman@free.fr> |
4526 | |
4527 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): | |
4528 New macros. Use them to define mixed intX-double and double-intX ops. | |
4529 | |
5021 | 4530 2004-09-22 Federico Zenith <zenith@chemeng.ntnu.no> |
4531 | |
4532 * DASPK-opts.in, DASRT-opts.in, ODESSA-opts.in: | |
4533 Fix doc string layout to avoid overfull hbox in printed output. | |
4534 | |
5015 | 4535 2004-09-21 John W. Eaton <jwe@octave.org> |
4536 | |
4537 * mach-info.h (octave_mach_info::flt_fmt_native): Delete. | |
4538 * mach-info.cc (octave_mach_info::string_to_float_format): | |
4539 For "native", set actual native format. | |
4540 (octave_mach_info::float_format_as_string): Delete flt_fmt_native case. | |
4541 | |
5008 | 4542 2004-09-17 David Bateman <dbateman@free.fr> |
4543 | |
4544 * CmplxSCHUR.cc (CmplxSCHUR::init): New arg, calc_unitary to make the | |
4545 calculation of the unitary matrix optional. | |
4546 * dbleSCHUR.cc (SCHUR::init): Ditto. | |
4547 * CmplxSCHUR.h, dbleSCHUR.h: Update decls. | |
4548 | |
4998 | 4549 2004-09-15 David Bateman <dbateman@free.fr> |
4550 | |
4551 * oct-sort.h (octave_sort<T>::set_compare (bool (*comp) (T, T))): | |
4552 New function to set the comparison function for the sort. | |
4553 | |
4985 | 4554 2004-09-10 John W. Eaton <jwe@octave.org> |
4555 | |
4556 * lo-mappers.cc (xround): Fix typo. | |
4557 | |
4979 | 4558 2004-09-08 John W. Eaton <jwe@octave.org> |
4559 | |
4560 * Array.h (Array::~Array): Declare virtual. | |
4561 | |
4562 * idx-vector.h (idx_vector::idx_vector): Initialize rep in member | |
4563 initializaion list. Don't set rep->count since the rep | |
4564 constructor does that. | |
4565 | |
4968 | 4566 2004-09-07 John W. Eaton <jwe@octave.org> |
4567 | |
4970 | 4568 * data-conv.cc (oct_data_conv::string_to_data_type): Handle dt_logical. |
4569 (oct_data_conv::data_type_as_string): Likewise. | |
4570 | |
4571 * data-conv.h (oct_data_conv::data_type): Add dt_logical to list. | |
4572 | |
4968 | 4573 * Range.cc (round): Delete unused function. |
4574 | |
4575 * lo-mappers.cc (xround): Rename from round. Change all uses. | |
4576 If HAVE_ROUND, call round, otherwise fake with floor and ceil. | |
4577 | |
4578 * oct-inttypes.h: Include <cmath> here. | |
4579 | |
4964 | 4580 2004-09-03 David Bateman <dbateman@free.fr> |
4581 | |
4582 * boolNDArray.cc (boolNDArray::concat, boolNDArray::insert): | |
4583 New functions for boolean matrix concatenation. | |
4584 * boolNDArray.h: Provide decls. | |
4585 | |
4963 | 4586 2004-09-03 John W. Eaton <jwe@octave.org> |
4587 | |
4964 | 4588 * oct-inttpes.h (OCTAVE_INT_CMP_OP): Convert operarands to double |
4589 to avoid signed/unsigned int comparison problems. | |
4590 | |
4591 * mx-ops: Generate CMP and BOOL ops for mixed integer types and | |
4592 for mixed integer and double types. | |
4593 | |
4594 * mk-ops.awk: Output BIN_OP_DECLS, CMP_OP_DECLS, and BOOL_OP_DECLS | |
4595 separately, and only if needed. | |
4596 | |
4963 | 4597 * oct-inttypes.h (octave_fit_to_range): Use constructor instead of |
4598 static_cast for type conversion. | |
4599 | |
4953 | 4600 2004-09-01 John W. Eaton <jwe@octave.org> |
4601 | |
4602 * oct-inttypes.h (pow, operator +, operator -, operator *, | |
4603 operator /): Handle mixed integer/double ops. If op generates a | |
4604 NaN, set result to 0. | |
4605 (octave_int::operator - (void)): Convert to double, then negate, | |
4606 then fit to range. | |
4607 | |
4608 * mx-ops: Define integer types. Include declarations for mixed | |
4609 integer/double ops. | |
4610 | |
4952 | 4611 2004-08-31 John W. Eaton <jwe@octave.org> |
4612 | |
4613 * oct-inttypes.h (pow): Args now const reference. | |
4614 (octave_int<T>::operator *=, octave_int<T>::operator /=, | |
4615 octave_int<T>::operator <<=, octave_int<T>::operator >>=): | |
4616 New member functions. | |
4617 (OCTAVE_INT_BITSHIFT_OP): Delete macro. | |
4618 (operator >> (const octave_int<T1>& x, const T2& y)): | |
4619 Define in terms of >>=. | |
4620 (operator << (const octave_int<T1>& x, const T2& y)): | |
4621 Define in terms of <<=. | |
4622 (bitshift): Operate on octave_int<T> objects, not the values, so | |
4623 we get proper saturation properties. | |
4624 | |
4625 2004-08-31 David Bateman <dbateman@free.fr> | |
4626 | |
4627 * oct-inttypes.h (pow (constT, T)): New template. | |
4628 | |
4629 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, | |
4630 uint16NDArray.cc, uint32NDArray.cc: Instantiate power function. | |
4631 | |
4949 | 4632 2004-08-31 John W. Eaton <jwe@octave.org> |
4633 | |
4634 * oct-inttypes.h (octave_int::byte_size): New function. | |
4635 | |
4944 | 4636 2004-08-31 John W. Eaton <jwe@octave.org> |
4637 | |
4946 | 4638 * Makefile.in (EXTRAS): Add intNDArray.cc to the list. |
4639 | |
4944 | 4640 * data-conv.h (oct_data_conv::data_type): Include sized types. |
4641 Explicitly number enum elements. | |
4642 | |
4643 * data-conv.cc (oct_data_conv::string_to_data_type (const | |
4644 std::string&, int&, oct_data_conv::data_type&, | |
4645 oct_data_conv::data_type&)): New function. | |
4646 (oct_data_conv::string_to_data_type (const std::string&, int&, | |
4647 oct_data_conv::data_type&)): New function. | |
4648 (oct_data_conv::data_type_as_string): New function. | |
4649 | |
4650 * dMatrix.cc (read_int, do_read, Matrix::read): Delete. | |
4651 (write_int, do_write, Matrix::write): Delete. | |
4652 * dMatrix.h (Matrix::read, Matrix::write): Delete decls. | |
4653 | |
4654 * byte-swap.h: Use template functions and specialization. | |
4655 Change all uses. | |
4656 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
4657 | |
4943 | 4658 2004-08-30 John W. Eaton <jwe@octave.org> |
4659 | |
4660 * oct-inttypes.h (octave_int_fit_to_range): Use template | |
4661 specializations to avoid warnings about signed/unsigned comparisons. | |
4662 | |
4663 2004-08-28 John W. Eaton <jwe@octave.org> | |
4664 | |
4665 * data-conv.cc (do_float_format_conversion (unsigned char *, | |
4666 size_t, int, oct_mach_info::float_format)): New function. | |
4667 (GET_SIZED_INT_TYPE): New macro. | |
4668 (string_to_data_type): Use it to return sized types corresponding | |
4669 to Octave array data types. | |
4670 (strip_spaces): New function. | |
4671 (do_double_format_conversion, do_float_format_conversion): Pass | |
4672 from_fmt and to_fmt. Don't always assume the to_fmt is the native | |
4673 float format. | |
4674 (do_double_format_conversion, | |
4675 IEEE_big_double_to_IEEE_little_double, | |
4676 VAX_D_double_to_IEEE_little_double, | |
4677 VAX_G_double_to_IEEE_little_double, Cray_to_IEEE_little_double, | |
4678 IEEE_little_double_to_IEEE_big_double, | |
4679 VAX_D_double_to_IEEE_big_double, VAX_G_double_to_IEEE_big_double, | |
4680 Cray_to_IEEE_big_double, IEEE_little_double_to_VAX_D_double, | |
4681 IEEE_big_double_to_VAX_D_double, VAX_G_double_to_VAX_D_double, | |
4682 Cray_to_VAX_D_double, IEEE_little_double_to_VAX_G_double, | |
4683 IEEE_big_double_to_VAX_G_double, VAX_D_double_to_VAX_G_double, | |
4684 Cray_to_VAX_G_double): | |
4685 Pass data as void*, not double*. | |
4686 (do_float_format_conversion, IEEE_big_float_to_IEEE_little_float, | |
4687 VAX_D_float_to_IEEE_little_float, | |
4688 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, | |
4689 IEEE_little_float_to_IEEE_big_float, | |
4690 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, | |
4691 Cray_to_IEEE_big_float, IEEE_little_float_to_VAX_D_float, | |
4692 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, | |
4693 Cray_to_VAX_D_float, IEEE_little_float_to_VAX_G_float, | |
4694 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, | |
4695 Cray_to_VAX_G_float): | |
4696 Pass data as void*, not float*. | |
4697 | |
4698 2004-08-27 John W. Eaton <jwe@octave.org> | |
4699 | |
4700 * byte-swap.h (swap_bytes): New template versions, with | |
4701 specializations. | |
4702 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
4703 Change all uses. | |
4704 | |
4940 | 4705 2004-08-24 David Bateman <dbateman@free.fr> |
4706 | |
4707 * chNDArray.cc (concat): Check whether matrix to be inserted is | |
4708 empty instead of checking final matrix. | |
4709 * dNDArray.cc (concat): Likewise. | |
4710 * CNDArray.cc (concat): Likewise. | |
4711 | |
4712 2004-08-23 David Bateman <dbateman@free.fr> | |
4713 | |
4714 * dim-vector.h (dim_vector::concat): Correct incrementation for | |
4715 non-existent dimensions. | |
4716 | |
4938 | 4717 2004-08-09 John W. Eaton <jwe@octave.org> |
4718 | |
4719 * idx-vector.h (idx_vector::idx_vector_rep::tree_to_mat_idx | |
4720 (const octave_int<U>&)): New member function. | |
4721 (idx_vector::idx_vector_rep::tree_to_mat_idx (double, bool&), | |
4722 idx_vector::idx_vector_rep::tree_to_mat_idx (int)): | |
4723 Now member functions instead of static in idx-vector.cc. | |
4724 (idx_vector::idx_vector_rep::idx_vector_rep (const octave_int<U>&), | |
4725 idx_vector::idx_vector_rep::idx_vector_rep (const intNDArray<U>&)): | |
4726 New template constructors. | |
4727 | |
4932 | 4728 2004-08-05 John W. Eaton <jwe@octave.org> |
4729 | |
4933 | 4730 * EIG.cc (EIG::init): Add volatile qualifier to nvr decl. |
4731 | |
4932 | 4732 * intNDArray.cc (intNDArray<T>::operator !, intNDArray<T>::all, |
4733 intNDArray<T>::any): Sprinkle with this-> as needed. | |
4734 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): Likewise. | |
4735 | |
4929 | 4736 2004-08-03 John W. Eaton <jwe@octave.org> |
4737 | |
4738 * Array.cc (Array<T>::squeeze): Do nothing for 2-d arrays. For | |
4739 arrays with more than two dimensions and only one non-singleton | |
4740 dimension, return a column vector. | |
4741 | |
4921 | 4742 2004-07-28 John W. Eaton <jwe@octave.org> |
4743 | |
4744 * oct-cmplx.h (pow (const Complex&, const double&): | |
4745 Convert second arg to complex to avoid libstdc++ bug. | |
4746 | |
4920 | 4747 2004-07-27 John W. Eaton <jwe@octave.org> |
4748 | |
4749 * oct-inttypes.h (bitshift): New arg, MASK. | |
4750 (OCTAVE_INT_BITSHIFT_OP): Bitshift does not saturate. | |
4751 | |
4916 | 4752 2004-07-23 John W. Eaton <jwe@octave.org> |
4753 | |
4754 * Array.cc (Array<T>::reshape): Return *this if no change in size. | |
4755 | |
4915 | 4756 2004-07-23 David Bateman <dbateman@free.fr> |
4757 | |
4758 * Array.cc, Array.h (cat_ra): Delete. | |
4759 * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc | |
4760 (INSTANTIATE_ARRAY_CAT): Delete. | |
4761 | |
4762 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
4763 chNDArray.h, intNDArray.cc, intNDArray.h (cat): Delete. | |
4764 | |
4765 * Array.cc (Array<T>::insert): Copy data in NDArray version. | |
4766 | |
4767 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
4768 chNDArray.h (concat): New function used for concatenation that does | |
4769 an indexed copy of one array into another. | |
4770 | |
4771 * dim-vector.h (concat): New function to concatenate dim_vectors. | |
4772 | |
4773 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
4774 chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for | |
4775 insertion of one NDArray into another. | |
4776 | |
4777 * oct-inttype.cc (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): New | |
4778 macros to define the int/uint concatenation functions. | |
4779 | |
4780 * uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
4781 int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc | |
4782 (OCTAVE_INT_CONCAT_FN): Instantiate the concatenation function . | |
4783 | |
4784 * uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
4785 int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h | |
4786 (OCTAVE_INT_CONCAT_DECL): Declare the int/uint concatentaion | |
4787 functions. | |
4788 | |
4911 | 4789 2004-07-22 David Bateman <dbateman@free.fr> |
4790 | |
4791 * oct-sort.h: Don't include oct-obj.h. | |
4792 | |
4793 * lo-specfun.cc (is_integer_value): New function. | |
4794 (zbesj, zbesi, zbesy): Special case negative integer or half | |
4795 integer orders that cause overflow for small arguments. | |
4796 | |
4909 | 4797 2004-07-12 John W. Eaton <jwe@octave.org> |
4798 | |
4799 * oct-inttypes.h (octave_int<T>::nbits): New function. | |
4800 (bitshift (const octave_int<T>&, int)): New function. | |
4801 | |
4902 | 4802 2004-06-14 John W. Eaton <jwe@octave.org> |
4803 | |
4804 * mx-base.h: Include headers for new int types. | |
4805 | |
4806 * dNDArray.h, dNDArray.cc (NDArray::NDArray (const boolNDArray&), | |
4807 NDArray::NDArray (const charNDArray&)): Delete. | |
4808 (template <class U> explicit NDArray (const intNDArray<U>&)): New | |
4809 constructor. | |
4810 (NDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
4811 | |
4812 * chMatrix.h (CharMatrix::transpose): New forwarding functions for | |
4813 return type conversion. | |
4814 | |
4815 * ComplexNDArray.h, ComplexNDArray.cc | |
4816 (ComplexNDArray::ComplexNDArray (const ArrayN<Complex>&), | |
4817 (ComplexNDArray::ComplexNDArray (const NDArray&), | |
4818 (ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
4819 (ComplexNDArray::ComplexNDArray (const charNDArray&)): Delete. | |
4820 | |
4821 (ComplexNDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
4822 | |
4823 * MArrayN.h: | |
4824 (template <class U> explicit MArrayN<T>::MArrayN (const Array2<U>&), | |
4825 (template <class U> MArrayN<T>::MArrayN (const ArrayN<U>&), | |
4826 (template <class U> explicit MArrayN<T>::MArrayN (const MArray<U>&)): | |
4827 New constructors. | |
4828 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
4829 ArrayN<T>::squeeze): | |
4830 New forwarding functions for return type conversion. | |
4831 | |
4832 * ArrayN.h: | |
4833 (template <class U> explicit ArrayN<T>::ArrayN (const Array2<U>&), | |
4834 (template <class U> explicit ArrayN<T>::ArrayN (const ArrayN<U>&), | |
4835 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&), | |
4836 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&, | |
4837 const dim_vector&)): New constructors. | |
4838 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
4839 ArrayN<T>::transpose): | |
4840 New forwarding functions for return type conversion. | |
4841 | |
4842 * Array.h (template <class U> Array<T>::Array (const Array<U>&)): | |
4843 New constructor. | |
4844 (Array<T>::coerce, Array<T>::byte_size): New functions. | |
4845 | |
4846 * Array-i.cc, MArray-i.cc: Instantiate new integer types. | |
4847 | |
4848 * oct-inttypes.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
4849 int8NDArray.h , intNDArray.h, uint16NDArray.h, uint32NDArray.h, | |
4850 uint64NDArray.h, uint8NDArray.h, int16NDArray.cc, int32NDArray.cc, | |
4851 int64NDArray.cc, int8NDArray.cc, intNDArray.cc, uint16NDArray.cc, | |
4852 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: New files. | |
4853 * Makefile.in: Add them to the appropriate lists. | |
4854 | |
4899 | 4855 2004-06-04 John W. Eaton <jwe@octave.org> |
4856 | |
4857 * mx-inlines.cc (MX_ND_REDUCTION): New arg, RET_ELT_TYPE. Use | |
4858 "RET_ELT_TYPE ()" rather than "false" as fill value for retval | |
4859 resize op. Change all uses. | |
4860 | |
4898 | 4861 2004-06-03 David Bateman <dbateman@free.fr> |
4862 | |
4863 * Array.cc (assignN): Allow magic colon for dimensions lvalue | |
4864 greater than the existing number of dimensions in lvalue. | |
4865 | |
4887 | 4866 2004-04-30 David Bateman <dbateman@free.fr> |
4867 | |
4868 * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): | |
4869 New arg, fill_value. | |
4870 (dim_vector::resize): Allow optional fill_value argument. | |
4871 | |
4872 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
4873 Don't chop trailing dimensions of Array<idx_vector> if there is | |
4874 more than one element in idx_vector. Resize the return value to | |
4875 the size of Array<idx_vector>. | |
4876 | |
4877 * Array-util.cc (short_freeze): Better freeze of last dimension of | |
4878 idx_vector that is shorter than a dim_vector. | |
4879 | |
4882 | 4880 2004-04-23 John W. Eaton <jwe@octave.org> |
4881 | |
4882 * oct-sort.cc: Don't include oct-obj.h. | |
4883 | |
4876 | 4884 2004-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
4885 | |
4886 * Array.cc (Array<T>::index2, Array<T>::indexN): | |
4887 Don't set invalid dimensions on return value. | |
4888 | |
4871 | 4889 2004-04-21 John W. Eaton <jwe@octave.org> |
4890 | |
4891 * mx-inlines.cc (MX_ND_REDUCTION): Chop trailing singletons. | |
4892 | |
4850 | 4893 2004-04-06 David Bateman <dbateman@free.fr> |
4894 | |
4870 | 4895 * Array.cc (Array<T>::resize_no_fill (const dim_vector& dv), |
4896 Array<T>::resize_and_fill (const dim_vector& dv, const T& val)): | |
4897 Make their behavior equivalent except for filling vs. not filling. | |
4898 | |
4850 | 4899 * oct-sort.cc: New template class for arbitrary sorting. |
4900 * oct-sort.h: Declaration of sort class. | |
4901 * Makefile: Add them to the appropriate lists. | |
4902 | |
4845 | 4903 2004-04-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
4904 | |
4905 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Fix off-by-one error. | |
4906 | |
4844 | 4907 2004-04-02 David Bateman <dbateman@free.fr> |
4908 | |
4909 * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, | |
4910 besselh2, airy, biry, betainc, gammainc, do_bessel): | |
4852 | 4911 New N-d array versions. |
4844 | 4912 (SN_BESSEL, NS_BESSEL, NN_BESSEL): New macros. |
4913 * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, | |
4914 besselh2, airy, biry, betainc, gammainc): Provide decls. | |
4915 | |
4916 * dNDArray.cc (NDArray::min, NDArray::max, min, max): | |
4917 New functions. | |
4918 * dNDArray.h (NDArray::min, NDArray::max, min, max): Provide decls. | |
4919 | |
4920 * CNDArray.cc (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
4921 New functions. | |
4922 * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
4923 Provide decls. | |
4924 | |
4842 | 4925 2004-03-17 David Hoover <jazzdaq@yahoo.com> |
4926 | |
4927 * DASPK.cc (DASPK::do_integrate): Always add n*n elements to the | |
4928 work vector, not just when using a numerical Jacobian. | |
4929 | |
4834 | 4930 2004-03-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4931 | |
4835 | 4932 * so-array.cc (SND_CMP_OP, NDS_CMP_OP, NDND_CMP_OP): |
4933 Omit empty result args. | |
4934 | |
4834 | 4935 * Array.cc (Array<T>::Array (const Array<T>&, const dim_vector&)): |
4936 Move here from Array.h, check that size of array arg is not | |
4937 smaller than the size defined by the new dimensions. | |
4938 | |
4832 | 4939 2004-03-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4940 | |
4941 * Array.cc (Array<T>::index2): Allow result to be N-d if indexing | |
4942 a scalar or vector with an N-d array. | |
4943 | |
4826 | 4944 2004-03-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
4945 | |
4828 | 4946 * Array.cc (Array<T>::index2): If scalar or vector is indexed by |
4947 matrix, return object that is the same size as the index. | |
4948 | |
4826 | 4949 * mx-op-defs.h (NDND_CMP_OP, MM_CMP_OP): Require dimensions to agree. |
4950 Eliminate MT_RESULT args. Return value is always size of args. | |
4951 (MS_CMP_OP, SM_CMP_OP, NDS_CMP_OP, SND_CMP_OP): | |
4952 Eliminate EMPTY_RESULT arg. | |
4953 Return value is always size of matrix or N-d array arg. | |
4954 (TBM, FBM, NBM): Delete unused macros. | |
4955 | |
4821 | 4956 2004-03-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
4957 | |
4958 * Array.cc (Array<T>::maybe_delete_elements): Return immediately | |
4959 if all LHS dimensions are zero. For one index case, freeze and | |
4960 sort idx_vec before checking length, and do nothing if | |
4961 num_to_delete is zero. | |
4822 | 4962 (Array<T>::maybe_delete_elements_2): Omit Fortran-indexing warning. |
4821 | 4963 |
4816 | 4964 2004-03-04 David Bateman <dbateman@free.fr> |
4965 | |
4966 * dNDArray.cc (NDArray::ifourier): Arg is int, not const int. | |
4967 * CNDArray.cc (ComplexNDArray::ifourier): Likewise. | |
4968 | |
4811 | 4969 2004-03-03 Hans Ekkehard Plesser <hans.ekkehard.plesser@nlh.no> |
4970 | |
4971 * base-lu.cc (base_lu<>::L): Check bounds before setting diagonal | |
4972 element. | |
4973 | |
4974 2004-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4975 | |
4976 * Range.h (Range::Range): Add cache to member initialization list. | |
4977 (Range::clear_cache): New private function. | |
4978 | |
4979 * Range.h (Range::set_base, Range::set_limit, Range::set_inc): | |
4980 Use clear cache. Don't do anything if range does not change. | |
4981 * Range.cc (Range::sort): Likewise. | |
4982 | |
4810 | 4983 2004-03-02 Paul Kienzle <pkienzle@users.sf.net> |
4984 | |
4985 * Range.cc (Range::matrix_value): Cache result. | |
4986 (Range::sort): Clear cache. | |
4987 * Range.h (Range::cache): New data member. | |
4988 (Range::set_base, Range::set_limit, Range::set_inc): Clear cache. | |
4989 (Range::print_range): Delete. | |
4808 | 4990 |
4991 2004-03-02 David Bateman <dbateman@free.fr> | |
4992 | |
4993 * oct-fftw.cc: Only two versions of plan, and avoid endless | |
4994 changes between them. Faster for small fft's. | |
4995 (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): | |
4996 New member variables. | |
4997 (octave_fftw_planner::ialign, octave_fftw_planner::oalign, | |
4998 octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. | |
4999 Change all uses. | |
5000 (CHECK_SIMD_ALIGNMENT): New macro. | |
5001 (octave_fftw_planner::create_plan): Use it. | |
5002 | |
4806 | 5003 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> |
5004 | |
5005 * Array.cc (Array<T>::insertN): Eliminate N-d indexing. | |
5006 | |
5007 * mx-inlines.cc (MX_ND_CAT): Delete macro. | |
5008 | |
5009 * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. | |
5010 * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. | |
5011 * chNDArray.cc (charNDArray<T>::cat): Ditto. | |
5012 * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. | |
5013 | |
5014 * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. | |
5015 * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. | |
5016 | |
4800 | 5017 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5018 | |
4802 | 5019 * oct-rl-edit.c (octave_rl_set_startup_hook, |
5020 octave_rl_get_startup_hook, octave_rl_set_event_hook, | |
5021 octave_rl_get_event_hook): Omit casts. | |
5022 * oct-rl-edit.h (rl_startup_hook_fcn_ptr, rl_event_hook_fcn_ptr): | |
5023 Return value for function pointer typedef is now int. | |
5024 * cmd-edit.h (command_editor::startup_hook_fcn, | |
5025 command_editor::event_hook_fcn): Likewise. | |
5026 * cmd-hist.cc, cmd-hist.h (command_history::goto_mark, | |
5027 command_history::do_goto_mark, gnu_history::do_goto_mark): | |
5028 Return type is now int. Return 0. | |
5029 | |
4800 | 5030 * EIG.cc (EIG::init, EIG::symmetric_init): |
5031 Query Lapack for workspace size. | |
5032 | |
4796 | 5033 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5034 | |
5035 * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): | |
5036 Fix thinko in extending dimensions. | |
5037 | |
4791 | 5038 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5039 | |
5040 * Range.cc (Range::matrix_value, Range::min, Range::max): | |
5041 Don't compute values beyond the limits of the range. | |
5042 (operator << (std::ostream&, const Range&)): Likewise. | |
5043 | |
4786 | 5044 2004-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5045 | |
4788 | 5046 * oct-fftw.cc (octave_fftw_planner::create_plan): |
5047 Cast IN and OUT args to ptrdiff_t instead of long before masking. | |
5048 From Paul Kienzle <pkienzle@users.sf.net>. | |
5049 | |
4786 | 5050 * Array.cc (Array<T>::insertN (const Array<T>&, int, int)): |
5051 Rename from Array<T>::insert. | |
5052 (Array<T>::insert2 (const Array<T>&, int, int)): | |
5053 Reinstate old Array<T>::insert function under this name. | |
5054 (Array<T>::insert (const Array<T>&, int, int)): | |
5055 New function. Dispatch to insert2 or insertN as appropriate. | |
5056 | |
4785 | 5057 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5058 | |
5059 * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): | |
5060 Sprinkle with OCTAVE_QUIT. | |
5061 | |
5095 | 5062 2004-02-16 David Bateman <dbateman@free.fr> |
4773 | 5063 |
5064 * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): | |
5065 Add support for FFTW 3.x. Include the ability to | |
5066 use the real to complex transform for fft's of real matrices | |
5067 (octave_fftw_planner::create_plan2d): Delete. | |
5068 (octave_fftw::fft2d): Delete. | |
5069 (convert_packcomplex_1d, convert_packcomplex_Nd): | |
5070 New static functions. | |
5071 * oct-fftw.h: Update decls. | |
5072 | |
5073 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
5074 Matrix::fourier2d, Matrix::ifourier2d): FFT's use real to complex | |
5075 transforms. 1D FFT of a matrix done as single call rather than | |
5076 loop. Update for FFTW 3.x | |
5077 * CMatrix.cc (ComplexMatrix::fourier, ComplexMatrix::ifourier, | |
5078 ComplexMatrix::fourier2d, ComplexMatrix::ifourier2d): 1D fft of a | |
5079 matrix done as single call rather than loop. Update for FFTW 3.x. | |
5080 | |
5081 * dNDArray.cc (NDArray::fourier, NDArray::ifourier, | |
5082 NDArray::fourierNd, NDArray::ifouriourNd): New fourier transform | |
5083 functions for Nd arrays. | |
5084 * dNArray.h Provide decls. | |
5085 * CNDArray.cc (ComplexNDArray::fourier, ComplexNDArray::ifourier, | |
5086 ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New | |
5087 fourier transform functions for complex Nd arrays. | |
5088 * CNArray.h: Provide decls. | |
5089 | |
4765 | 5090 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> |
5091 | |
5092 * Array.cc (Array<T>::insert (const Array<T>&, int, int)): | |
5093 Make it work for N-d arrays. | |
5094 | |
5095 * ArrayN.h (ArrayN<T>::insert (const ArrayN<T>& a, int, int)): | |
5096 New function. | |
5097 | |
5098 * CNDArray.cc (ComplexNDArray::insert (const NDArray&, int, int), | |
5099 ComplexNDArray::insert (const ComplexNDArray&, int, int)): | |
5100 New functions. | |
5101 * CNDArray.h: Provide decls. | |
5102 | |
4759 | 5103 2004-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5104 | |
4760 | 5105 * Makefile.in (LINK_DEPS): Always define. |
5106 | |
4759 | 5107 * Array.cc (Array<T>::squeeze): Always return an array with at |
5108 least two dimensions. | |
5109 | |
4758 | 5110 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
5111 | |
5112 * mx-inlines.cc (MX_ND_CAT): New macro. | |
5113 * dNDArray.cc (NDArray::cat): New function. | |
5114 * dNDArray.h: Provide decls. | |
5115 * CNDArray.cc (complexNDArray::cat): New function. | |
5116 * CNDArray.h: Provide decls. | |
5117 * chNDArray.cc (charNDArray::cat): New function. | |
5118 * chNDArray.h: Provide decls. | |
5119 | |
4756 | 5120 2004-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
5121 | |
5122 * Array.cc (maybe_delete_elements_2): Allow X(n) = [] for 2-d X. | |
5123 (Array<T>assign2): Also call maybe_delete_elements for single | |
5124 index when rows and columns or LHS are both greater than 1. | |
5125 | |
4755 | 5126 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
5127 | |
5128 * Array.cc (Array<T>::maybe_delete_elements): | |
5129 Check for index out of bounds. Handle one index. | |
5130 | |
5131 * Array.cc (Array<T>::indexN): Use dim_vector (0, 0) instead of | |
5132 dim_vector (0) to create empty return vector. | |
5133 | |
4749 | 5134 2004-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
5135 | |
5136 * Array.cc (Array<T>::assignN): Don't crash if trying to resize a | |
5137 non-empty LHS when the number of lhs dimensions is less than the | |
5138 number of indices. Detect error if attempting to resize non-empty | |
5139 LHS with colon indices. | |
5140 | |
4745 | 5141 2004-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5142 | |
4747 | 5143 * Array.cc (Array<T>::resize_and_fill): Don't bother to assign any |
5144 values unless the length of the new array is greater than 0. | |
5145 (Array<T>::resize_no_fill): Likewise. | |
5146 | |
5147 * Array-util.cc (index_in_bounds): Also return false if ra_idx(i) | |
5148 is equal to dimensions(i). | |
5149 | |
5150 * Array-util.h, Array-util.cc (equal_arrays, any_zero_len, | |
5151 get_zero_len_size, number_of_elements): | |
5152 Delete unused functions. | |
5153 | |
5154 * Array-util.cc (get_ra_idx): Use dim_vector::numel instead of | |
5155 number_of_elements function. | |
5156 * Array.cc (Array<T>::indexN): Likewise. | |
5157 | |
5158 * Array.cc (Array<T>::indexN): Use dim_vector::operator == instead | |
5159 of equal_arrays function. | |
5160 (Array<T>::index, Array<T>::indexN, Array<T>::assignN) Use | |
5161 dim_vector::any_zero instead of any_zero_len function. | |
5162 | |
5163 * Array.cc (Array<T>::assignN): Eliminate special case for empty index. | |
5164 Don't skip reshaping and resizing if RHS is empty. | |
5165 | |
4746 | 5166 * Array.cc (Array<T>::assignN): Simplify loop for array assignment. |
5167 Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. | |
4747 | 5168 Delete unused variables is_colon and is_colon_equiv. |
4746 | 5169 Correctly resize for expressions like x(:,:,2) = ones(3,3) when |
5170 LHS is not yet defined. | |
4745 | 5171 Error for resizing if number of indices is less than number of LHS |
5172 dimensions. | |
5173 | |
4746 | 5174 * Array.cc (Array<T>::maybe_delete_elements): Maybe warn about |
5175 Fortran-style indexing. | |
5176 | |
4743 | 5177 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
5178 | |
5179 * Array.cc (Array<T>::assignN): Simplify. | |
5180 Allow assignments to succeed if number if indices is less than the | |
5181 number of RHS dimensions. | |
5182 | |
4738 | 5183 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
5184 | |
4741 | 5185 * Array.cc (Array<T>::maybe_delete_elements): Reshape LHS |
5186 when number of indices is less than number of dimensions. | |
5187 | |
5188 * Array.cc (Array<T>::assignN, Array<T>::maybe_delete_elements): | |
5189 Remove unsued variable lhs_inc. | |
5190 | |
4740 | 5191 * Array.cc (Array<T>::maybe_delete_elements): Declare idx_is_colon |
5192 and idx_is_colon_equiv Array<int> instead of dim_vector. | |
5193 | |
5194 * Array.cc (Array<T>::assignN): Compute new dims in a cleaner way. | |
5195 | |
4738 | 5196 * Array.cc (Array<T>::index): Check for frozen_lengths.length () |
5197 == n_dims before checking to see if all indices are colon_equiv. | |
5198 | |
4736 | 5199 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
5200 | |
5201 * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for | |
5202 deleting elements. | |
4737 | 5203 (Array<T>::index): Remove trailing singletons in ra_idx, but leave |
5204 at least ndims elements. | |
4736 | 5205 |
4735 | 5206 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
5207 | |
5208 * Array.cc (Array<T>::assignN): Accept assignment of a vector | |
5209 oriented differently from the index. | |
5210 | |
5211 * dim-vector.h (dim_vector::squeeze): Return value always has at | |
5212 least two dimensions. | |
5213 | |
4733 | 5214 2004-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5215 | |
4735 | 5216 * dim-vector.h (dim_vector::squeeze): New function. |
5217 (Array<T>::assignN): Use it instead of chop_trailing_singltons for | |
5218 deciding whether the assignment conforms. | |
5219 | |
4733 | 5220 * Array.cc (Array<T>::assignN): Simplify dimension check by |
5221 comparing rhs_dims and frozen_len sans trailing singletons. | |
5222 | |
4732 | 5223 2004-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5224 | |
5225 * idx-vector.cc (tree_to_mat_idx): New arg, conversion_error. | |
5226 Call error handler and return conversion_error == true if arg is | |
5227 not integer. | |
5228 (IDX_VEC_REP::idx_vector_rep): Exit early if conversion_error. | |
5229 | |
4730 | 5230 2004-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5231 | |
5232 * boolNDArray.h (boolNDArray::boolNDArray): Declare dim_vector | |
5233 reference arg const. | |
5234 | |
5235 2004-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5236 | |
5237 * Array-flags.cc: Include Array-flags.h, not Array.h. Doh. | |
5238 | |
4729 | 5239 2004-01-30 Jakub Bogusz <qboosh@pld-linux.org> |
5240 | |
5241 * Array-flags.h (liboctave_wfi_flag, liboctave_wrore_flag): | |
5242 Now bool, to match definition in Array-flags.cc. | |
5243 | |
4725 | 5244 2004-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5245 | |
4726 | 5246 * file-ops.cc: Include <vector> instead of <memory> for new |
5247 definition of OCTAVE_LOCAL_BUFFER. | |
5248 | |
4725 | 5249 * EIG.cc, EIG.h (EIG::init, EIG::symmetric_init, EIG::hermitian_init): |
5250 New arg, calc_eigenvectors. | |
5251 * EIG.h (EIG:EIG): New optional arg, calc_eigenvectors. | |
5252 Based on patch from David Bateman <dbateman@free.fr>. | |
5253 | |
4716 | 5254 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5255 | |
5256 * Array.cc (Array<T>::assign2, Array<T>::assignN): | |
5257 For X(I) = RHS, don't restrict I to fewer elements than X. | |
5258 | |
5259 * Array.cc (Array<T>::assign2): Simplify indexing for X(I) = RHS case. | |
5260 | |
4711 | 5261 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
5262 | |
4714 | 5263 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): |
5264 Simplify calculation of number of elements in retval. | |
5265 | |
4711 | 5266 * Array.cc (Array<T>::assignN): Eliminate unnecessray code for |
5267 filling when RHS is scalar and dimension lengths agree. | |
5268 | |
4710 | 5269 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5270 | |
4713 | 5271 * Makefile.in (distclean): Remove mx-ops.h, $(MX_OP_INC), |
5272 $(VX_OP_INC), $(MX_OP_SRC), $(VX_OP_SRC), and $(OPTS_INC). | |
4710 | 5273 |
4707 | 5274 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
5275 | |
4709 | 5276 * Array.cc (Array<T>::resize_and_fill): Correctly copy old elements. |
5277 (Array<T>::assign2): Check for RHS dimensions larger than 2. | |
4707 | 5278 |
4702 | 5279 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> |
5280 | |
4703 | 5281 * Array.h (Array<T>::chop_trailing_singletons): New function. |
5282 * Array.cc (Array<T>::assignN): Use it on LHS. | |
5283 | |
5284 * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. | |
4702 | 5285 Retrieve scalar element by passin 0 instead of an index array. |
4703 | 5286 Check for singleton dimensions where RHS is matrix or higher dimension. |
5287 Make sure index is in bounds. | |
4702 | 5288 |
4698 | 5289 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5290 | |
5291 * lo-ieee.cc (octave_ieee_init): Ensure that octave_Inf, | |
5292 octave_NaN, and octav_NA values are always initialized. Check | |
5293 floating point format, not HAVE_ISINF, HAVE_FINITE, or HAVE_ISNAN | |
5294 to decide whether to do IEEE initialization. | |
5295 | |
4687 | 5296 2004-01-06 David Bateman <dbateman@free.fr> |
5297 | |
5298 * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, | |
5299 ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, | |
5300 ComplexNDArray::too_large_for_float): New functions | |
5301 | |
5302 * CNDArray.cc (operator <<, operator >>): New IO operators. | |
5303 * CNDArray.h: Provide decls. | |
5304 * dNDArray.cc (operator <<, operator >>): New IO operators. | |
5305 * dNDArray.h: Provide decls. | |
5306 | |
4673 | 5307 2003-12-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5308 | |
4674 | 5309 * mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since |
5310 they are already defined in boolNDArray.cc. | |
5311 | |
4673 | 5312 * Array-util.cc (get_zero_len_size): Delete. |
5313 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
5314 Handle zero-length result dimensions the same as empty original | |
5315 indices. | |
5316 | |
5317 2003-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5318 | |
5319 * dim-vector.h (dim_vector::chop_trailing_singleton_dims, | |
5320 dim_vector::dim_vector_rep::chop_trailing_singleton_dims): | |
5321 New functions. | |
5322 * Array.cc (ArrayN<T>::indexN): Use it. | |
5323 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): Likewise. | |
5324 | |
4669 | 5325 2003-11-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
5326 | |
5327 * boolNDArray.cc: Define BOOL ops. Define mixed CMP ops. | |
5328 * boolNDArray.h: Declare BOOL ops. Declare mixed CMP ops. | |
5329 | |
5330 2003-11-25 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5331 | |
5332 * mk-ops.awk: Also emit #include "Array-util.h". | |
5333 | |
5334 * mx-ops: Add bool, boolMatrix, and boolNDarray types. | |
5335 Add bnda x bnda, b x bnda, and bnda x b ops. | |
5336 | |
5337 * MArray-misc.cc: Delete. | |
5338 * Makefile.in (MATRIX_SRC): Remove it from the list. | |
5339 | |
5340 * Array-util.h, Array-util.cc (gripe_nonconformant): Move here from | |
5341 MArray.h, MArray2.h, MArrayN.h, and MArray-misc.cc. | |
5342 | |
4655 | 5343 2003-11-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5344 | |
4663 | 5345 * dbleQR.cc (QR::init): Use separate pwork pointers. |
5346 * CmplxQR.cc (ComplexQR::init): Likewise. | |
5347 | |
5348 * oct-group.cc (octave_group::getgrnam): Pass correct args to | |
5349 two-arg getgrnam version. | |
5350 | |
4657 | 5351 * Array.cc (assignN): Allow single indexing to work. |
4661 | 5352 (Array<T>::range_error (const char*, const Array<int>&)): |
5353 Report index values. | |
5354 | |
5355 * Array.cc (Array<T>::index): Delete unused arg names. | |
4662 | 5356 * ODESSA.cc (odessa_j): Likewise. |
5357 * DASRT.cc (ddasrt_f, ddasrt_g): Likewise. | |
5358 * DASPK.cc (ddaspk_psol): Likewise. | |
5359 * lo-mappers.cc (imag): Likewise. | |
4663 | 5360 * Array-util.cc (get_zero_len_size): Likewise. |
5361 * kpse.cc (path_search, path_find_first_of): Likewise. | |
5362 * cmd-edit.cc (do_generate_filename_completions): Likewise. | |
4656 | 5363 |
4655 | 5364 * dim-vector.h (dim_vector::all_ones): New function. |
5365 | |
4646 | 5366 2003-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5367 | |
4653 | 5368 * idx-vector.h (idx_vector::orig_empty): Check orig_dims for |
5369 zeros, not orig_rows or orig_columns. | |
5370 (idx_vector::idx_vector_rep::orig_rows): Define using orig_dims. | |
5371 (idx_vector::idx_vector_rep::orig_columns): Likewise. | |
5372 | |
5373 * idx-vector.cc (idx_vector::idx_vector_rep::orig_nr, | |
5374 (idx_vector::idx_vector_rep::orig_nc): Delete. | |
5375 | |
5376 * idx-vector.cc (idx_vector::idx_vector_rep): | |
5377 Use initialization lists for constructors. | |
5378 | |
4651 | 5379 * Array.cc (Array<T>::indexN): Correctly handle single colon index. |
5380 Omit special case for ra_idx.capacity () == 1. | |
5381 Always allow single index for matrix args with optional warning. | |
5382 | |
4650 | 5383 * idx-vector.h, idx-vector.cc: Convert boolMatrix functions to use |
5384 boolNDArray. Likewise, convert Matrix functions to use NDArray. | |
5385 | |
4648 | 5386 * Array-so.cc: New file. Move instantiations here from so-array.h. |
5387 * Makefile.in (TI_SRC): Add it to the list. | |
5388 | |
4646 | 5389 * MArray-defs.h (DO_VS_OP2, DO_VV_OP2): Accept args for element |
5390 type and the names of the left and right operands. Change all uses. | |
5391 | |
5392 * so-array.cc, so-array.h: New files. Move streamoff_array here | |
5393 from src/ov-streamoff.h and src/ov-streamoff.cc. | |
5394 | |
4645 | 5395 2003-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5396 | |
5397 * MArrayN.cc (operator -=, operator +=): Check dimensions, not | |
5398 just length. | |
5399 | |
5400 * Array2.h, Array3.h, DiagArray2.h, DiagArray2.cc, MDiagArray2.h, | |
5401 ArrayN.h: Add this-> or Base:: qualifiers for references to | |
5402 non-dependent member functions and data as needed. | |
5403 | |
5404 * DiagArray2.h, DiagArray2.cc: Delete unused code. | |
5405 | |
5406 * Array2.h (Array2<T>::operator =): Don't copy dimensions here. | |
5407 * Array3.h (Array3<T>::operator =): Likewise. | |
5408 * DiagArray2.h (DiagArray2<T>::operator =): Likewise. | |
5409 Include Array.h, not Array2.h. | |
5410 | |
4634 | 5411 2003-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5412 | |
4636 | 5413 * str-vec.cc (list_in_columns): Fix previous change. |
5414 | |
4635 | 5415 * dim-vector.h (dim_vector::num_ones): New function. |
5416 * Array.cc (maybe_delete_elements): Use it instead of | |
5417 num_ones (const Array<int>&). | |
5418 | |
5419 * Array.cc (assignN): Omit dubious check of singleton dimensions. | |
5420 | |
4634 | 5421 * dNDArray.cc (NDArray::all_elements_are_int_or_inf_or_nan, |
5422 NDArray::any_element_is_inf_or_nan, NDArray::too_large_for_float): | |
5423 New functions. | |
5424 * dNDArray.h: Provide decls. | |
5425 | |
5426 * dMatrix.h (Matrix::any_element_is_negative, | |
5427 Matrix::any_element_is_inf_or_nan, Matrix::too_large_for_float, | |
5428 Matrix::all_elements_are_int_or_inf_or_nan, Matrix::all_integers): | |
5429 Simplify. | |
5430 | |
5431 * dNDArray.cc (NDArray::abs): Make it work for N-d arrays. | |
5432 * CNDArray.cc (ComplexNDArray::abs): Likewise. | |
5433 | |
5434 * dNDArray.cc (real, imag): New functions. | |
5435 * dNDArray.h: Provide decls. | |
5436 | |
4630 | 5437 2003-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5438 | |
5439 * Makefile.in (TEMPLATE_SRC): Move MArrayN.cc here from MATRIX_SRC. | |
5440 | |
4625 | 5441 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5442 | |
5443 * Array.h (Array<T>::resize (int, const T&)): Reinstate. | |
5444 * MArray.h (resize): Delete. | |
5445 * MArray2.h (resize): Delete. | |
5446 * DASRT.cc (DASRT::integrate): Use resize, not resize_and_fill. | |
5447 * ODESSA (ODESSA::integrate): Likewise. | |
5448 | |
4616 | 5449 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5450 | |
5451 * Makefile.in (dist): Depend on stamp-prereq. | |
5452 | |
4605 | 5453 2003-11-12 John Eaton <jwe@bevo.che.wisc.edu> |
5454 | |
5455 * mach-info.c (oct_mach_info::init_float_format) [CRAY]: | |
5456 Kluge to make it work. | |
4604 | 5457 |
5458 * lo-ieee.cc (octave_ieee_init): Set octave_Inf, octave_NaN, and | |
5459 octave_NA to DBL_MAX if native float format is vaxd, vaxg, or cray. | |
5460 | |
5461 * cmd-edit.cc (gnu_readline::do_generate_filename_completions, | |
5462 default_command_editor::do_generate_filename_completions, | |
5463 command_editor::generate_filename_completions): New functions. | |
5464 * cmd-edit.h: Provide decls. | |
5465 * oct-rl-edit.c (octave_rl_filename_completion_function): New | |
5466 function. | |
5467 * oct-rl-edit.h: Provide decl. | |
5468 | |
4593 | 5469 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5470 | |
4594 | 5471 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY_AND_ASSIGN, |
5472 INSTANTIATE_ARRAY): New macros. | |
5473 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
5474 Array-idx-vec.cc, Array-s.cc, Array-str.cc, ODESSA.cc: Use them. | |
5475 | |
4593 | 5476 * Array.h (Array<T>::ipermute): New function. |
5477 | |
5478 2003-11-11 Petter Risholm <risholm@stud.ntnu.no> | |
5479 | |
5480 * Array.cc (Array<T>::permute): New function. | |
5481 * Array.h: Provide decl. | |
5482 | |
5483 * Array-util.cc (calc_permutated_idx): New function. | |
5484 * Array-util.h: Provide decl. | |
5485 | |
4587 | 5486 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5487 | |
4592 | 5488 * Array.cc (Array<T>::index2): Return value has orientation of |
5489 indexed value if indexing a vector with a bool matrix. | |
5490 | |
4589 | 5491 * ArrayN.h (ArrayN<T>::get_size): Delete. |
5492 | |
4588 | 5493 * Array.cc, ArrayN.cc, dNDArray.cc, CNDArray.cc, boolNDArray.cc, |
5494 chNDArray.cc: Include Array-util.h instead of ArrayN-inline.h. | |
5495 | |
5496 * ArrayN-inline.h: Delete. | |
5497 * Array-util.h, Array-util.cc: New files, from ArrayN-inline.h. | |
5498 * Makefile.in: Fix the appropriate lists. | |
5499 | |
4587 | 5500 * Array.cc, Array.h, ArrayN.h, CMatrix.cc, CNDArray.h, |
5501 CRowVector.cc, CmplxQR.cc, CollocWt.h, DASPK.h, DASRT.h, DASSL.h, | |
5502 FEGrid.cc, LP.h, LSODE.h, MArrayN.h, ODE.h, ODES.h, ODESSA.cc, | |
5503 boolNDArray.h, chNDArray.h, dMatrix.cc, dNDArray.h, dRowVector.cc, | |
5504 dbleQR.cc, kpse.cc, oct-rl-hist.c, str-vec.cc, str-vec.h: | |
5505 Avoid -Wshadow warnings. | |
5506 | |
5507 2003-11-08 John Eaton <jwe@bevo.che.wisc.edu> | |
4585 | 5508 |
5509 * Array.h (Array<T>::nil_rep): Qualify return type with typename. | |
5510 | |
5511 * mk-ops.awk: Delete elements of bool_headers array individually. | |
5512 | |
5513 2003-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5514 | |
5515 * Array.cc (maybe_delete_elements): Rename arg idx to ra_idx. | |
5516 | |
4584 | 5517 2003-10-31 Petter Risholm <risholm@stud.ntnu.no> |
5518 | |
5519 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): New macro. | |
5520 | |
5521 * CNDArray.cc, CNDArray.h (ComplexNDArray::cumsum, | |
5522 ComplexNDArray::cumprod): Return ComplexNDArray. Handle N-d arrays. | |
5523 * dNDArray.cc, dNDArray.h (NDArray::cumsum, NDArray::cumprod): | |
5524 Return NDArray. Handle N-d arrays. | |
5525 | |
4575 | 5526 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
5527 | |
4583 | 5528 * LSODE.cc (LSODE::do_integrate): Avoid name conflict on systems |
5529 that upcase Fortran names by calling dlsode instead of lsode. | |
5530 | |
5531 * ODESSA.cc (ODESSA::do_integrate): Avoid name conflict on systems | |
5532 that upcase Fortran names by calling dodessa instead of odessa. | |
5533 | |
4577 | 5534 * file-ops.cc (file_ops::symlink): Cope with systems that expect |
5535 non-const args for symlink system call. | |
5536 (file_ops::readlink): Likewise, for readlink. | |
5537 | |
4575 | 5538 * DASRT.cc (DASRT::integrate): Fix typo in Fortran function name. |
5539 | |
4574 | 5540 2003-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5541 | |
5542 * mach-info.h (oct_mach_info): Prefix enum elements with flt_fmt_. | |
5543 Change all uses. | |
5544 | |
4569 | 5545 2003-10-29 Petter Risholm <risholm@stud.ntnu.no> |
5546 | |
5547 * dNDArray.cc (NDArray::cumprod, NDArray::cumsum, NDArray::prod, | |
5548 NDArray::sum, NDArray::sumsq, NDArray::abs): New functions. | |
5549 * dNDArray.h: Provide decls. | |
5550 * CNDArray.cc (ComplexNDArray::cumprod, ComplexNDArray::cumsum, | |
5551 ComplexNDArray::prod, ComplexNDArray::sum, ComplexNDArray::sumsq, | |
5552 ComplexNDArray::abs): New functions. | |
5553 * CNDArray.h: Provide decls. | |
5554 | |
5555 * mx-inlines.cc (MX_ND_REDUCTION): Rename from MX_ND_ANY_ALL. | |
5556 Generalize to handle other reduction operations. | |
5557 (MX_ND_REAL_OP_REDUCTION, MX_ND_COMPLEX_OP_REDUCTION, | |
5558 MX_ND_ALL_ANY_REDUCTION): New macros. | |
5559 | |
4565 | 5560 2003-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5561 | |
4567 | 5562 * Array.cc (Array<T>::reshape): New function. |
5563 * Array.h: Provide decl. | |
5564 | |
5565 * dim-vector.h (dim_vector::numel): New function. | |
5566 | |
4565 | 5567 * dim-vector.h (dim_vector_rep::dim_vector_rep (int, const |
5568 dim_vector&)): Correctly handle case of n < dv->ndims. | |
5569 | |
4559 | 5570 2003-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5571 | |
5572 * dim-vector.h (dim_vector::any_zero): New function. | |
5573 (dim_vector::str): New default arg, sep. | |
5574 | |
5575 * Array.h (Array<T>::numel): New function. | |
5576 | |
4556 | 5577 2003-10-27 Petter Risholm <risholm@stud.ntnu.no> |
5578 | |
5579 * mx-inlines.cc (MX_ND_ALL_EXPR, MX_ND_ANY_EXPR, | |
5580 MX_ND_ALL_EVAL, MX_ND_ANY_EVAL, MX_ND_ALL_ANY): New macros. | |
5581 * dNDArray.h (NDArray::all, NDArray::any): Return type now boolNDArray. | |
5582 * CNDArray.h (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
5583 * boolNDArray.h (boolNDArray::all, boolNDArray::any): Likewise. | |
5584 * chNDArray.h (charNDArray::all, charNDArray::any): Likewise. | |
5585 * dNDArray.cc (NDArray::all, NDArray::any): Make them work. | |
5586 * CNDArray.cc (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
5587 * boolNDArray.cc (boolNDArray::all, boolNDArray::any): Likewise. | |
5588 * chNDArray.cc (charNDArray::all, charNDArray::any): Likewise. | |
5589 | |
4552 | 5590 2003-10-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
5591 | |
4553 | 5592 * Array.cc (Array<T>::resize_and_fill): Allow number of dimensions |
5593 to change. From Petter Risholm <risholm@stud.ntnu.no>. | |
5594 | |
4552 | 5595 * oct-rand.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, |
5596 CmplxAEPBAL.cc CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
5597 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, | |
5598 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, ODESSA.cc, | |
5599 Quad.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
5600 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
5601 dbleSCHUR.cc, dbleSVD.cc, lo-specfun.cc: | |
5602 Use new F77 arg macros in declarations of external Fortran | |
5603 subroutines and for calling them. | |
5604 | |
4548 | 5605 2003-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5606 | |
5607 * Array.cc (Array<T>::resize_no_fill (const dim_vector&)): | |
5608 Allow number of dimensions to change. | |
5609 (Array<T>::resize_no_fill (int, int)): Require ndims to be 0 or 2. | |
5610 (Array<T>::resize_and_fill (int, int, const T&)): Likewise. | |
5611 (Array<T>::resize_no_fill (int, int, int)): Require ndims to be 0 or 3. | |
5612 (Array<T>::resize_and_fill (int, int, int, const T&)): Likewise. | |
5613 (Array<T>::transpose): Require ndims to be 2. | |
5614 (Array<T>::index2): Likewise. | |
5615 (Array<T>::index (idx_vector&, idx_vector&, int, const T&)): Likewise. | |
5616 (Array<T>::maybe_delete_elements_2): Likewise. | |
5617 (Array<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Likewise. | |
5618 (Array<T>::index1): Use resize_and_fill. | |
5619 (MAYBE_RESIZE_ND_DIMS): Likewise. | |
5620 | |
5621 * ODESSA.cc (ODESSA::integrate): Use resize_and_fill for x_s_out. | |
5622 | |
5623 * MArray2.h (MArray2<T>::resize (int, int)): New function. | |
5624 (MArray2<T>::resize (int, int, const T&)): New function. | |
5625 | |
5626 * MArray.h (MArray<T>::resize (int)): New function. | |
5627 (MArray<T>::resize (int, const T&)): New function. | |
5628 | |
5629 * DASRT.cc (DASRT::integrate): Use resize_and_fill for jroot. | |
5630 | |
5631 * DASPK-opts.in: Use single-arg resize for initial condition | |
5632 heuristics. | |
5633 | |
5634 * dim-vector.h (class dim_vector): Now reference counted. | |
5635 (dim_vector_rep::elem): Use assert to check that index is in bounds. | |
5636 | |
4544 | 5637 2003-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5638 | |
4545 | 5639 * Array.cc (Array<T>::squeeze): Delete redundant retval decl. |
5640 | |
4544 | 5641 * mx-cdm-cm.cc, mx-cdm-cm.h, mx-cdm-cs.cc, mx-cdm-cs.h, |
5642 mx-cdm-dm.cc, mx-cdm-dm.h, mx-cdm-m.cc, mx-cdm-m.h, mx-cdm-s.cc, | |
5643 mx-cdm-s.h, mx-cm-cdm.cc, mx-cm-cdm.h, mx-cm-dm.cc, mx-cm-dm.h, | |
5644 mx-cm-m.cc, mx-cm-m.h, mx-cm-s.cc, mx-cm-s.h, mx-cs-cdm.cc, | |
5645 mx-cs-cdm.h, mx-cs-dm.cc, mx-cs-dm.h, mx-cs-m.cc, mx-cs-m.h, | |
5646 mx-dm-cdm.cc, mx-dm-cdm.h, mx-dm-cm.cc, mx-dm-cm.h, mx-dm-cs.cc, | |
5647 mx-dm-cs.h, mx-dm-m.cc, mx-dm-m.h, mx-dm-s.cc, mx-dm-s.h, | |
5648 mx-m-cdm.cc, mx-m-cdm.h, mx-m-cm.cc, mx-m-cm.h, mx-m-cs.cc, | |
5649 mx-m-cs.h, mx-m-dm.cc, mx-m-dm.h, mx-ops.h, mx-s-cdm.cc, | |
5650 mx-s-cdm.h, mx-s-cm.cc, mx-s-cm.h, mx-s-dm.cc, mx-s-dm.h, | |
5651 vx-ccv-cv.cc, vx-ccv-cv.h, vx-ccv-s.cc, vx-ccv-s.h, vx-crv-rv.cc, | |
5652 vx-crv-rv.h, vx-crv-s.cc, vx-crv-s.h, vx-cs-cv.cc, vx-cs-cv.h, | |
5653 vx-cs-rv.cc, vx-cs-rv.h, vx-cv-ccv.cc, vx-cv-ccv.h, vx-cv-cs.cc, | |
5654 vx-cv-cs.h, vx-rv-crv.cc, vx-rv-crv.h, vx-rv-cs.cc, vx-rv-cs.h, | |
5655 vx-s-ccv.cc, vx-s-ccv.h, vx-s-crv.cc, vx-s-crv.h: Delete. These | |
5656 files are now automatically generated. | |
5657 | |
5658 * Makefile.in ($(VX_OP_INC), $(VX_OP_SRC), $(MX_OP_INC), | |
5659 $(MX_OP_SRC)): Generate lists with new mk-ops.awk script. | |
5660 Add rules to generate these files and mx-ops.h. | |
5661 (stamp-prereq): Depend on these files. | |
5662 | |
5663 * mx-ops, vx-ops, mk-ops.awk: New files. | |
5664 * Makefile.in (DISTFILES): Add them to the list. | |
5665 | |
4543 | 5666 2003-10-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5667 | |
5668 * NDArray.cc (NDArray::NDArray (const boolNDArray), | |
5669 NDArray::NDArray (const charNDArray)): New constructors. | |
5670 (NDArray::operator !): New function. | |
5671 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
5672 NDND_CMP_OPS, NDND_BOOL_OPS. | |
5673 | |
5674 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const NDArray&), | |
5675 ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
5676 ComplexNDArray::ComplexNDArray (const charNDArray&)): | |
5677 New constructors. | |
5678 (ComplexNDArray::operator !): New function. | |
5679 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
5680 NDND_CMP_OPS, NDND_BOOL_OPS. | |
5681 | |
5682 * ArrayN.h (resize (const dim_vector&)): Fix typo. | |
5683 | |
5684 * boolNDArray.cc (boolNDArray::operator !): New function. | |
5685 Provide NDND_CMP_OPS. | |
5686 | |
5687 * MArrayN.cc (operator +=, operator -=): New functions. | |
5688 Provide product and quotient functions. | |
5689 | |
5690 * MArray-misc.cc (gripe_nonconformant (const char *, dim_vector&, | |
5691 dim_vector&)): New function. | |
5692 | |
5693 * dim-vector.h (dim_vector::str, dim_vector::all_zero, | |
5694 operator ==, operator !=): New functions. | |
5695 * ArrayN.cc (operator <<): Use dim_vector::str here. | |
5696 | |
5697 * Array.cc (Array<T>::resize_no_fill, Array<T>::resize_and_fill): | |
5698 No need to save old dimensions. | |
5699 | |
5700 * oct-rand.cc (MAKE_RAND_ND_ARRAY): New macro. | |
5701 (octave_rand::nd_array): New function. | |
5702 * oct-rand.h (octave_rand::nd_array): Provide decl. | |
5703 | |
5704 * mx-op-defs.h (NDCMP_OP_DECL, NDBOOL_OP_DECL, NDS_BIN_OP_DECLS, | |
5705 NDS_BIN_OP, NDS_BIN_OPS, NDS_CMP_OP_DECLS, NDS_CMP_OP, | |
5706 NDS_CMP_OPS, NDS_BOOL_OP_DECLS, NDS_BOOL_OP, NDS_BOOL_OPS, | |
5707 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_BIN_OP, SND_BIN_OPS, | |
5708 SND_CMP_OP_DECLS, SND_CMP_OP, SND_CMP_OPS, SND_BOOL_OP_DECLS, | |
5709 SND_BOOL_OP, SND_BOOL_OPS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
5710 NDND_BIN_OP, NDND_BIN_OPS, NDND_CMP_OP_DECLS, NDND_CMP_OP, | |
5711 NDND_CMP_OPS, NDND_BOOL_OP_DECLS, NDND_BOOL_OP, NDND_BOOL_OPS, | |
5712 NDND_OP_DECLS): New macros. | |
5713 * mx-cm-m.h, mx-cm-s.h, mx-cs-m.h, mx-m-cm.h, mx-m-cs.h, | |
5714 mx-s-cm.h, mx-cm-m.cc, mx-cm-s.cc, mx-cs-m.cc, mx-m-cm.cc, | |
5715 mx-m-cs.cc, mx-s-cm.cc: Use them. | |
5716 | |
5717 * mx-defs.h (class NDArray, class ComplexNDArray, class | |
5718 boolNDArray, class charNDArray): New forward decls. | |
5719 | |
4534 | 5720 2003-10-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5721 | |
5722 * Array.cc (assign2): No error (but don't do anything either) for | |
5723 expressions like x([],j) = scalar. | |
5724 | |
4532 | 5725 2003-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5726 | |
4533 | 5727 * Array.cc (assignN): Allow lhs(:) = scalar. |
5728 | |
4532 | 5729 * CNDArray.cc (ComplexNDArray::increment_index): New function. |
5730 * dNDArray.cc (NDArray::increment_index): Likewise. | |
5731 * boolNDArray.cc (boolNDArray::increment_index): Likewise. | |
5732 * chNDArray.cc (charNDArray::increment_index): Likewise. | |
5733 | |
5734 * dim-vector.h (rows, cols): Delete unused data members. | |
5735 | |
5736 * Array.cc (Array<T>::get_size): Fix thinko. | |
5737 | |
5738 2003-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5739 | |
5740 * Array.cc (Array<T>::squeeze): New function. | |
5741 * CNDArray.h (ComplexNDArray::squeeze): Likewise. | |
5742 * dNDArray.h (NDArray::squeeze): Likewise. | |
5743 * boolNDArray.h (boolNDArray::squeeze): Likewise. | |
5744 * chNDArray.h (charNDArray::squeeze): Likewise. | |
5745 | |
4530 | 5746 2003-10-06 Petter Risholm <risholm@stud.ntnu.no> |
5747 | |
5748 * Array.cc (ArrayN<T>::indexN): New definition. | |
5749 * Array.h (Array<T>::indexN): Provide decl. | |
5750 * Array.cc (ArrayN<T>::index (idx_vector&, int, const T&): | |
5751 Call indexN if more than 2 indices. | |
5752 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): | |
5753 Make it (mostly) work. | |
5754 * ArrayN-inline.h (number_of_elements, get_ra_idx, short_freeze): | |
5755 New functions. | |
5756 | |
4527 | 5757 2003-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5758 | |
5759 * cmd-edit.cc (do_readline): Pass eof to octave_fgetl. | |
5760 * lo-utils.cc (octave_fgets, octave_fgetl): New overloaded | |
5761 versions with eof arg. | |
5762 | |
4518 | 5763 2003-09-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5764 | |
5765 * Array.h (dimensions): Now public. | |
5766 template <class LT, class RT> | |
5767 (assign (Array<LT>&, const Array<RT>&, const LT&), | |
5768 assign1 (Array<LT>&, const Array<RT>&, const LT&), | |
5769 assign2 (Array<LT>&, const Array<RT>&, const LT&), | |
5770 assignN (Array<LT>&, const Array<RT>&, const LT&), | |
5771 resize_no_fill (int), | |
5772 resize_no_fill (int, int), | |
5773 resize_no_fill (int, int, int), | |
5774 resize_no_fill (const dim_vector&), | |
5775 resize_and_fill (int, const T&), | |
5776 resize_and_fill (int, int, const T&), | |
5777 resize_and_fill (int, int, int, const T&), | |
5778 resize_and_fill (const dim_vector&, const T&)): Now public. | |
5779 | |
5780 * Array.cc: Include <climits>. | |
5781 | |
4513 | 5782 2003-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5783 | |
4517 | 5784 * Array.cc: Merge Array-idx.h. |
5785 * Array-idx.h: Delete. | |
5786 | |
4514 | 5787 * chNDArray.h, chNDArray.cc, boolNDArray.h, boolNDArray.cc: New files. |
5788 | |
4513 | 5789 * Array.h, Array-idx.h, Array.cc: Fold all N-d functionality here. |
5790 Turn inheritance hierarchy upside down (2-d and 3-d arrays are now | |
5791 just special cases of the general purpose N-d Array object). | |
5792 | |
5793 * dim-vector.h: New file. Use dim_vector objects instead of | |
5794 ints or Array<int> objects to represent the size of Array | |
5795 objects. | |
5796 | |
5797 * MArray-defs.h (INSTANTIATE_MARRAYN_FRIENDS): New macro. | |
5798 | |
5799 * Array2-idx.h, Array3-idx.h, Array2.cc, Array3.cc: Delete. | |
5800 | |
5801 * mx-base.h: Include NDArray header files. | |
5802 | |
5803 * MArray-C.cc, MArray-d.cc: Also instantiate ArrayN objects. | |
5804 | |
5805 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
5806 Array-s.cc: Also instantiate ArrayN objects. | |
5807 Don't instantiate assign funcitons for Array2 objects. | |
5808 | |
5809 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Signal error with | |
5810 liboctave_error_handler, not cerr. | |
5811 * CMatrix.cc (ComplexMatrix::diag): Likewise. | |
5812 * dDiagMatrix.cc (DiagMatrix::diag): Likewise. | |
5813 * dMatrix.cc (Matrix::diag): Likewise. | |
5814 | |
5815 * Array-flags.cc, Array.cc, Array.h, Array2.h, Array3.h, ArrayN.h: | |
5816 Omit checks for HEAVYWEIGHT_INDEXING. | |
5817 | |
5818 2003-09-12 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5819 | |
5820 * mx-base.h: Include CNDarray.h. Include dNDArray.h, not NDArray.h. | |
5821 | |
5822 * CNDARray.h, CNDArray.cc: New files. | |
5823 * Makefile.in: Add them to the appropriate lists. | |
5824 | |
5825 * dNDArray.h: Rename from NDArray.h. | |
5826 * dNDArray.cc: Rename from NDArray.cc. | |
5827 * Makefile.in: Rename them here too. | |
5828 | |
4507 | 5829 2003-09-10 Petter Risholm <risholm@stud.ntnu.no> |
5830 | |
5831 * mx-base.h: Include NDArray.h, not ArrayN.h. | |
5832 | |
5833 * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. | |
5834 * Makefile.in: Add them to the appropriate lists. | |
5835 | |
5095 | 5836 2003-09-09 David Bateman <dbateman@free.fr> |
4506 | 5837 |
5838 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, | |
5839 biry): Always request scaled results from AMOS functions and | |
5840 perform reverse scaling on results if scaled result not requested | |
5841 by user. | |
5842 | |
5843 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5844 | |
5845 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
5846 | |
4505 | 5847 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5848 | |
5849 * Array-d.cc: Instantiate assign functions. | |
5850 | |
4504 | 5851 2003-09-09 Petter Risholm <risholm@stud.ntnu.no> |
5852 | |
5853 * ArrayN-idx.h (vector_equivalent, equal_arrays): New functions. | |
5854 (get_elt_idx): Index ra_idx correctly. | |
5855 | |
5856 * ArrayN-inline.h (index_in_bounds): Index is also condidered in | |
5857 bounds if it is exactly on the bound. | |
5858 | |
5859 * ArrayN.cc (ArrayN<T>::maybe_delete_dims): New function. | |
5860 * ArrayN.h: Provide decl. | |
5861 | |
5862 * ArrayN.h (ArrayN<T>::ArrayN<T> (const Matrix&)): New constructor. | |
5863 | |
5864 * idx-vector.h (idx_vector::orig_dims): New member variable. | |
5865 (idx_vector::idx_vector_rep::orig_dimensions): New function. | |
5866 (idx_vector::orig_dimensions): New function. | |
5867 | |
4497 | 5868 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5869 | |
5870 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
5871 | |
4496 | 5872 2003-09-04 Petter Risholm <risholm@stud.ntnu.no> |
5873 | |
5874 * ArrayN-idx.h (maybe_delete_elements): Implement function. | |
5875 (is_in, how_many_lgt, all_ones): New functions. | |
5876 | |
4493 | 5877 2003-09-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5878 | |
5879 * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. | |
5880 | |
5881 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> | |
5882 | |
5883 * ArrayN-inline.h: New file. | |
5884 (index_in_bounds, increment_index): Move here. | |
5885 * ArrayN.cc: From here. | |
5886 | |
5887 * ArrayN.h (maybe_delete_elements): New arg, resize_fill_value. | |
5888 * ArrayN-idx.h (assign): New function. | |
5889 | |
4490 | 5890 2003-08-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5891 | |
5892 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, airy, biry): | |
5893 Also zero imaginary part of result if real part of input value is | |
5894 zero. | |
5895 | |
4478 | 5896 2003-07-30 Heine Kolltveit <kolltvei@idi.ntnu.no> |
5897 | |
5898 * mx-base.h: Include ArrayN.h. | |
5899 | |
4476 | 5900 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> |
5901 | |
5902 * ArrayN.cc (operator <<): Corrected output. | |
5903 | |
4474 | 5904 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5905 | |
5906 * ArrayN.cc (increment_index): New arg, start_dimension. | |
5907 | |
5095 | 5908 2003-07-29 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4473 | 5909 |
5910 * ArrayN.cc (operator <<): Improve output readability. | |
5911 | |
4493 | 5912 2003-07-29 Petter Risholm <risholm@stud.ntnu.no> |
4473 | 5913 |
5914 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&, const T&)): | |
5915 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&)): | |
5916 Initialize old_len before changing size. | |
5917 | |
4472 | 5918 2003-07-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5919 | |
5920 * Makefile.in (install-lib): Use $(INSTALL), not | |
4473 | 5921 $(INSTALL_PROGRAM) for $(SHLLIB) files. |
4472 | 5922 |
4469 | 5923 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5924 | |
5925 * lo-mappers.cc (xmin, xmax): Handle NaN in a Matlab-compatible | |
5926 way. Handle NA in an R-compatible way. | |
5927 | |
5928 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Also check for lo_ieee_is_NA. | |
5929 (lo_ieee_is_NA): Don't call isnan unless HAVE_ISNAN is defined. | |
5930 | |
5931 * lo-mappers.h (octave_is_NA (const Complex&)): Provide decl. | |
5932 (octave_is_NaN_or_NA (const Complex&)): Likewise. | |
5933 | |
5934 * dMatrix.cc (Matrix::row_min, Matrix::row_max, | |
5935 Matrix::column_min, Matrix::column_max): Ignore NaNs. | |
5936 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_max, | |
5937 ComplexMatrix::column_min, ComplexMatrix::column_max): Likewise. | |
5938 | |
4461 | 5939 2003-07-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5940 | |
5941 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
5942 Pass true for resize_ok arg to freeze. | |
5943 * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
5944 Likewise. | |
5945 | |
5946 * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; | |
5947 resize_ok arg is now bool. | |
5948 * idx-vector.h (idx_vector::freeze): Likewise. | |
5949 | |
5950 * Array-flags.cc, Array-flags.h (liboctave_wrore_flag): | |
5951 Rename from liboctave_rre_flag. Now bool. | |
5952 (liboctave_wfi_flag): Now bool. | |
5953 | |
5954 * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. | |
5955 | |
5095 | 5956 2003-07-11 Russell Standish <R.Standish@unsw.edu.au> |
4459 | 5957 |
5958 * Array.h (resize_fill_value): Now a top-level template function. | |
5959 Accept object as argument. Change all uses. | |
5960 | |
4455 | 5961 2003-07-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5962 | |
5963 * Array-flags.cc, Array-flags.h (liboctave_pcv_flag): Delete. | |
5964 | |
5965 * Array2-idx.h (Array2<T>::index): Use liboctave_wfi_flag, not | |
5966 liboctave_dfi_flag. | |
5967 (assign): Likewise. For indexed assignments like X(I) = RHS with | |
5968 X undefined or empty, always create a row vector. | |
5969 | |
5970 * Array-flags.cc (liboctave_wfi_flag): Rename from liboctave_dfi_flag. | |
5971 * Array-flags.h (liboctave_wfi_flag): Ditto. | |
5972 | |
4437 | 5973 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5974 | |
5975 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
5976 Magic colon indexing always produces an object with one column. | |
5977 | |
5095 | 5978 2003-06-21 Paul Kienzle <pkienzle@users.sf.net> |
4433 | 5979 |
5980 * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. | |
5981 | |
5982 * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. | |
5983 | |
4431 | 5984 2003-06-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5985 | |
5986 * dMatrix.cc (any_element_is_negative): If new optional arg | |
5987 neg_zero is true, also return true for negative zero. | |
5988 | |
4429 | 5989 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5990 | |
5991 * DASSL.cc (DASSL::do_integrate): Set liw to 21 + n, not 20 + n. | |
5992 Handle step limit. | |
5993 * DASSL-opts.in: New option for step limit. | |
5994 | |
5095 | 5995 2003-06-16 Per Persson <persquare@mac.com> |
4429 | 5996 |
5997 * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. | |
5998 | |
4428 | 5999 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6000 | |
6001 * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. | |
6002 Store step limit in iwork(20), not iwork(18). | |
6003 | |
5095 | 6004 2003-05-16 Paul Kienzle <pkienzle@users.sf.net> |
4415 | 6005 |
6006 * oct-rand.cc: Use liboctave's clock layer instead of the system clock. | |
6007 | |
4412 | 6008 2003-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6009 | |
4413 | 6010 * Makefile.in: Handle DESTDIR. |
6011 | |
4412 | 6012 * kpse.cc (kpse_path_iterator::next): Skip consecutive colons here. |
6013 (kpse_path_iterator::set_end): Don't miss last element when not | |
6014 followed by a colon. | |
6015 | |
4409 | 6016 2003-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6017 | |
6018 * Array-idx.h (Array<T>::index): Fix off-by-one error. | |
6019 | |
6020 2003-05-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6021 | |
6022 * kpse.cc (kpse_absolute_p): Fix typo in translation. | |
6023 (find_first_of): Also do an absolute search on each | |
6024 name before looking in the path. | |
6025 | |
4407 | 6026 2003-05-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
6027 | |
6028 * kpse.cc (dir_list_add): Ensure that directory ends with a | |
6029 directory separator. | |
6030 | |
4399 | 6031 2003-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6032 | |
6033 * pathsearch.cc: Include kpse.cc here. | |
6034 | |
6035 * kpse.cc: All functions are now static. Massive surgery to | |
6036 condense kpathsearch library to a single file of just the | |
6037 essentials for Octave and convert to using C++ strings (no more | |
6038 calls to malloc, very few calls to new, so there should be much | |
6039 less potential for introducing memory leaks now). | |
6040 | |
6041 * Makefile.in (EXTRAS): Move kpse.cc here from | |
6042 LIBOCT_PATHSEARCH_CXX_SOURCES. | |
6043 | |
6044 * kpse.h, kpse-config.h: Delete. | |
6045 * Makefile.in (INCLUDES): Delete them from the list. | |
6046 | |
4392 | 6047 2003-04-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6048 | |
6049 * str-vec.cc (string_vector::append (const std::string&), | |
6050 string_vector::append (const string_vector&)): New methods. | |
6051 | |
4386 | 6052 2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
6053 | |
4389 | 6054 * kpse.cc, kpse.h: Replace fn_type with std::string. |
6055 | |
4387 | 6056 * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. |
6057 | |
4386 | 6058 * kpse.cc (xclosedir): Don't define or declare for Windows. |
6059 (READABLE): Now a static function to avoid warnings from MinGW | |
6060 compiler. | |
6061 | |
4384 | 6062 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6063 | |
4385 | 6064 * kpse.cc: Move most functions from kpse-xfns.c here and make |
6065 static. Include most of kpse-xfns.h directly, removing | |
6066 unnecessary bits. | |
6067 | |
4384 | 6068 * dMatrix.cc (Matrix::pseudo_inverse): Now const. |
6069 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
6070 | |
4378 | 6071 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6072 | |
6073 * getopt.c, getopt1.c, getopt.h: Move here from kpathsea. | |
6074 * Makefile.in: Add them to the appropriates lists. | |
6075 | |
6076 * oct-getopt.c: Include "getopt.h", not <kpathsea/getopt.h>. | |
6077 | |
6078 * Makefile.in (liboctave.$(LIBEXT), liboctave.$(SHLEXT)): Adjust | |
6079 for new locations of kpathsea objects. | |
6080 Delete kpathsea targets. | |
6081 | |
6082 * pathsearch.cc (dir_path::set_program_name): Delete. | |
6083 | |
6084 * kpse.cc: New file. | |
6085 * Makefile.in (LIBOCT_PATHSEARCH_CXX_SOURCES): Add it to the list. | |
6086 | |
6087 * kpse.c: New file. | |
6088 * Makefile.in (LIBOCT_PATHSEARCH_C_SOURCES): Add it to the list. | |
6089 | |
6090 * kpse.h, kpse-config.h, kpse-xfns.h: New files. | |
6091 * Makefile.in (INCLUDES): Add them to the list. | |
6092 | |
6093 * oct-kpse.h: Delete. | |
6094 * Makefile.in (INCLUDES): Delete it from the list. | |
6095 | |
4374 | 6096 2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6097 | |
6098 * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. | |
6099 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): | |
6100 Likewise. | |
6101 From Quentin H. Spencer <qspencer@ieee.org>. | |
6102 | |
4365 | 6103 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6104 | |
6105 * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h". | |
6106 | |
4349 | 6107 2003-02-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
6108 | |
4352 | 6109 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Handle systems with or |
6110 without placement delete. | |
6111 | |
4349 | 6112 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Don't lose -0 |
6113 imaginary parts. | |
6114 | |
6115 * lo-ieee.h (lo_ieee_signbit): New macro. | |
6116 | |
5095 | 6117 2003-02-18 David Bateman <dbateman@free.fr> |
4329 | 6118 |
6119 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
6120 Use Lapack instead of Linpack. | |
5315 | 6121 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
4329 | 6122 ComplexMatrix::solve): Likewise. |
6123 | |
6124 * dMatrix.cc (Matrix::determinant, Matrix::inverse): New arg, | |
6125 calc_cond. If 0, skip condition number calculation. | |
6126 * CMatrix.cc (ComplexMatrix::determinant, ComplexMatrix::inverse): | |
6127 Likewise. | |
6128 | |
6129 * CmplxLU.cc (ComplexLU::ComplexLU): Allow non-square matrices. | |
6130 * dbleLU.cc (LU::LU): Likewise. | |
6131 * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. | |
6132 | |
6133 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6134 | |
6135 * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: | |
6136 | |
4323 | 6137 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6138 | |
6139 * Array2-idx.h (Array2<T>::index): Fix thinko. | |
6140 Additional compatibility fix. | |
6141 | |
6142 2003-02-13 Arno Klaassen <arno@scito.com> | |
6143 | |
6144 * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
6145 ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: | |
6146 Sprinkle with Array<T>:: as necessary for gcc 3.4. | |
6147 | |
4322 | 6148 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
6149 | |
6150 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
6151 Compatibility fix. | |
6152 | |
4316 | 6153 2003-02-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6154 | |
6155 * CColVector.cc (ComplexColumnVector::extract_n): New function. | |
6156 * CRowVector.cc (ComplexRowVector::extract_n): Likewise. | |
6157 * CMatrix.cc (ComplexMatrix::extract_n): Likewise. | |
6158 * dColVector.cc (ColumnVector::extract_n): Likewise. | |
6159 * dRowVector.cc (RowVector::extract_n): Likewise. | |
6160 * dMatrix.cc (Matrix::extract_n): Likewise. | |
6161 | |
6162 * CColVector.cc (ComplexColumnVector::insert): Improve efficiency | |
6163 with make_unique and xelem. | |
6164 * CRowVector.cc (ComplexRowVector::insert): Likewise. | |
6165 * CMatrix.cc (ComplexMatrix::insert, ComplexMatrix::fill, | |
6166 ComplexMatrix::extract, ComplexMatrix::row, | |
6167 ComplexMatrix::column): Likewise. | |
6168 * dColVector.cc (ColumnVector::insert): Likewise. | |
6169 * dRowVector.cc (RowVector::insert): Likewise. | |
6170 * dMatrix.cc (Matrix::insert, Matrix::fill, Matrix::extract, | |
6171 Matrix::row, Matrix::column): Likewise. | |
6172 | |
4313 | 6173 2003-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6174 | |
6175 * lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN. | |
6176 | |
4309 | 6177 2003-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6178 | |
6179 * CMatrix.cc, dMatrix.cc: Move min and max functions here, from | |
6180 src/DLD-FUNCTIONS/minmax.cc, and make them extern. | |
6181 * CMatrix.h, dMatrix.h: Provide decls. | |
6182 | |
4307 | 6183 2003-01-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
6184 | |
6185 * oct-rand.h, oct-rand.cc: New files. | |
6186 * Makefile.in: Add them to the appropriate lists. | |
6187 | |
4306 | 6188 2003-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6189 | |
6190 * Array2-idx.h (Array2<T>::index): Fix off-by-one error. | |
6191 | |
4299 | 6192 2003-01-16 Mumit Khan <khan@nanotech.wisc.edu> |
6193 | |
6194 * oct-syscalls.cc: Include signal.h. | |
6195 | |
4294 | 6196 2003-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6197 | |
6198 * oct-syscalls.cc (octave_syscalls::kill): New function. | |
6199 * oct-syscalls.h: Provide decl. | |
6200 | |
6201 | |
4293 | 6202 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6203 | |
6204 * dMatrix.cc (Matrix::read): Set size and return immediately if | |
6205 there is nothing to read. | |
6206 | |
4290 | 6207 2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
6208 | |
6209 * lo-cutils.c: Define _XOPEN_SOURCE. | |
6210 | |
4286 | 6211 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
6212 | |
4288 | 6213 * getopt.h: Update to version from kpathsearch, so we will install |
6214 the version that we are using. | |
6215 | |
6216 * getopt.c, getopt1.c: Delete. | |
6217 (INCLUDES): Delete them from the list. We'll get these files from | |
6218 kpathsearch. | |
6219 | |
4286 | 6220 * Makefile.in (liboctave.$(LIBEXT)): Link directly to |
6221 ../kpathsea/STATIC/*.o. | |
6222 (liboctave.$(SHLEXT)): Link directly to ../kpathsea/SHARED/*.o. | |
6223 | |
4270 | 6224 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6225 | |
4282 | 6226 * dMatrix.cc (read_int, write_int): Avoid warnings about |
6227 unreachable code. | |
6228 | |
4279 | 6229 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete |
6230 to correspond to placement new operator. | |
6231 | |
4278 | 6232 * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. |
6233 (DET::value_will_underflow): Likewise. | |
6234 * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. | |
6235 (ComplexDET::value_will_underflow): Likewise. | |
6236 | |
4276 | 6237 * Makefile.in (distclean): Also remove stamp-prereq. |
6238 | |
4306 | 6239 * Array2-idx.h (Array2<T>::assign): If assignment conforms but the |
6240 RHS and index are empty matrices, don't do anything. | |
4270 | 6241 |
4242 | 6242 2002-12-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6243 | |
6244 * pathsearch.cc (make_retval, free_c_array, make_c_names, | |
6245 delete_c_names): New helper functions. | |
6246 (dir_path::find_first_of): New function. | |
6247 (dir_path::find_all_first_of): Likewise. | |
6248 * pathsearch.h: Provide decls. | |
6249 | |
6250 * oct-kpse.c (octave_kpse_path_find_first_of): New function. | |
6251 (octave_kpse_all_path_find_first_of): Likewise. | |
6252 * oct-kpse.h: Provide decls. | |
6253 | |
4231 | 6254 2002-12-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
6255 | |
6256 * ODESSA.cc (ODESSA::integrate): Handle maxord. | |
6257 * ODESSA-opts.in: Likewise. | |
6258 | |
6259 * LSODE.cc (ODESSA::integrate): Handle maxord. | |
6260 * LSODE-opts.in: Likewise. | |
6261 | |
4229 | 6262 2002-12-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6263 | |
4230 | 6264 * ODESSA.cc (ODESSA::ODESSA): Initialize "initialized" data member |
6265 in all constructors. | |
6266 | |
4229 | 6267 * Makefile.in (liboctave.$(SHLEXT)): Include $(LIBKPATHSEA) here. |
6268 (LINK_DEPS): Not here. | |
6269 | |
4219 | 6270 2002-12-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6271 | |
4220 | 6272 * str-vec.cc (string_vector::compare): New static member function. |
6273 * str-vec.h: Provide decl. | |
6274 (string_vector::sort): Use it. | |
6275 (str_vec_compare): Delete static function. | |
6276 | |
4219 | 6277 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Also declare and define |
6278 a placement operator new. | |
6279 | |
4209 | 6280 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6281 | |
4210 | 6282 * Matrix.h: Include mx-ops.h too. |
4209 | 6283 * mx-ops.h: New file. |
6284 | |
4192 | 6285 2002-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6286 | |
6287 * DASRT.cc, DASRT.h, Array.cc, ArrayN.h, Array.h, Array2.cc, | |
6288 Array2.h, Array3.cc, Array3.h, Bounds.cc, Bounds.h, CRowVector.h, | |
6289 CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, CMatrix.h, | |
6290 CRowVector.cc, CColVector.h, ChangeLog, CmplxAEPBAL.cc, | |
6291 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
6292 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
6293 CmplxQR.h, CmplxQRP.cc, ArrayN.cc, CmplxQRP.h, CmplxSCHUR.cc, | |
6294 CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, dMatrix.cc, | |
6295 CollocWt.h, EIG.h, DASSL.cc, FEGrid.h, DASSL.h, DiagArray2.cc, | |
6296 DiagArray2.h, EIG.cc, FEGrid.cc, LSODE.cc, LPsolve.cc, LPsolve.h, | |
6297 LSODE.h, LinConst.cc, LinConst.h, MArray.h, MArray.cc, MArray2.cc, | |
6298 MArray2.h, MDiagArray2.cc, MDiagArray2.h, Range.cc, NLConst.h, | |
6299 NLEqn.cc, Range.h, NLEqn.h, Quad.cc, dbleQR.h, Quad.h, base-lu.cc, | |
6300 base-lu.h, boolMatrix.cc, boolMatrix.h, dColVector.cc, | |
6301 dColVector.h, dDiagMatrix.cc, dDiagMatrix.h, dMatrix.h, | |
6302 dRowVector.cc, dRowVector.h, dbleAEPBAL.cc, dbleAEPBAL.h, | |
6303 dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, dbleDET.h, dbleHESS.cc, | |
6304 dbleHESS.h, dbleLU.cc, dbleLU.h, dbleQR.cc, dbleQRP.cc, dbleQRP.h, | |
6305 dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, | |
6306 idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, | |
6307 ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: | |
6308 Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of | |
6309 "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". | |
6310 | |
4184 | 6311 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
6312 | |
6313 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_GLOBAL too. | |
6314 From Remy Bruno <remy.bruno@libertysurf.fr> | |
6315 | |
4180 | 6316 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6317 | |
6318 * lo-specfun.cc: Use F77_FUNC instead of F77_XFCN for calls to | |
6319 fortran code that should run fast enough that it is not worth all | |
6320 the setup costs of F77_XFCN. | |
6321 | |
6322 * Quad.cc (user_function): Surround body of function with | |
6323 BEGIN_INTERRUPT_WITH_EXCEPTIONS, END_INTERRUPT_WITH_EXCEPTIONS. | |
6324 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Likewise. | |
6325 * NLEqn.cc (hybrd1_fcn, hybrj1_fcn): Likewise. | |
6326 * LSODE.cc (lsode_f, lsode_j): Likewise. | |
6327 * DASSL.cc (ddassl_f, ddassl_j): Likewise. | |
6328 * DASRT.cc (ddasrt_f, ddasrt_j, ddasrt_g): Likewise. | |
6329 * DASPK.cc (ddaspk_f, ddaspk_psol, ddaspk_j): Likewise. | |
6330 | |
4164 | 6331 2002-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6332 | |
6333 * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead | |
6334 of ! defined (linux). | |
6335 | |
5095 | 6336 2002-11-09 Per Persson <persquare@mac.com> |
4162 | 6337 |
6338 * oct-shlib.cc (octave_dyld_shlib): New class. | |
6339 (make_shlib): Instantiate octave_dyld_shlib. | |
6340 | |
4152 | 6341 2002-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6342 | |
4153 | 6343 * CMatrix.cc, dMatrix.cc: Sprinkle with OCTAVE_QUIT. |
6344 | |
4152 | 6345 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Abort on error. |
6346 | |
6347 * Array.h: Include <cstddef> here. | |
6348 | |
4142 | 6349 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6350 | |
4144 | 6351 * DASPK.cc (DASPK::do_integrate): Resize rwork and iwork before |
6352 using them. Accept inequality contraint option of 0. Assign | |
6353 pabs_tol and prel_tol before calling DASPK. Don't redeclare | |
6354 abs_tol and rel_tol. | |
6355 | |
4143 | 6356 * cmd-edit.h (command_editor::filename_completion_desired): New |
6357 static function. | |
6358 (command_editor::do_filename_completion_desired): New virtual function. | |
6359 * oct-rl-edit.c (octave_rl_filename_completion_desired): New function. | |
6360 * oct-rl-edit.h: Provide decl. | |
6361 | |
4142 | 6362 * Array2.cc (Array2<T>::get_size): #define MALLOC_OVERHEAD to |
6363 avoid OS X linker bug. | |
6364 * ArrayN.cc (ArrayN<T>::get_size): Likewise. | |
6365 | |
4139 | 6366 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
6367 | |
4141 | 6368 * ODESFunc.h (ODESFunc::ODES_fsub, ODESFunc::ODES_bsub, |
6369 ODESFunc::ODES_jsub): Reorder args for consistency with other | |
6370 solvers. | |
6371 * ODESSA.cc: Fix all callers. | |
6372 | |
4139 | 6373 * mx-inlines.cc (MX_BASE_REDUCTION_OP): Also return scalar |
6374 MT_RESULT if nr == 1 && nc == 0 && dim == -1 (i.e., | |
6375 sum(zeros(1,0)) returns 0, not [](1x0)). | |
6376 | |
4136 | 6377 2002-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6378 | |
6379 * Makefile.in (LINK_DEPS): Include $(FLIBS) here too. | |
6380 | |
4132 | 6381 2002-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6382 | |
4133 | 6383 * DASRT.cc (DASRT::integrate): Fix computation of lrw |
6384 (ddasrt_f): Combine loops. | |
6385 | |
4132 | 6386 * NLEqn.cc (NLEqn::solve): Return current estimate of solution |
6387 instead of empty vector if user termninates iteration. | |
6388 | |
4130 | 6389 2002-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6390 | |
6391 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
6392 octave_read_complex, octave_write_double, octave_write_complex): | |
6393 New functions. | |
6394 * CMatrix.cc (operator << (std::ostream&, const ComplexMatrix&)): | |
6395 Use octave_write_complex. | |
6396 (operator >> (std::istream&, const ComplexMatrix&)): | |
6397 Use octave_read_complex. | |
6398 * dMatrix.cc (operator << (std::ostream&, double)): | |
6399 Use octave_write_double. | |
6400 (operator >> (std::istream&, double)): Use octave_read_double. | |
6401 | |
4126 | 6402 2002-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6403 | |
6404 * oct-kpse.c (octave_kpse_clear_dir_cache): Delete. | |
6405 * oct-kpse.h: Delete decl. | |
6406 * pathsearch.cc (dir_path::init): Delete unnecessary call to | |
6407 ::octave_kpse_clear_dir_cache. | |
6408 | |
4123 | 6409 2002-10-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
6410 | |
4124 | 6411 * lo-sstream.h: Undef HAVE_SSTREAM if using a version of g++ |
6412 earlier than 3.0. | |
6413 | |
4123 | 6414 * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. |
6415 (liboctave.$(SHLEXT)): Not here. | |
6416 | |
5095 | 6417 2002-10-17 Paul Kienzle <pkienzle@users.sf.net> |
4110 | 6418 |
6419 * oct-shlib.cc (octave_w32_shlib): New class to support Windows. | |
6420 | |
4108 | 6421 2002-10-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6422 | |
6423 * Makefile.in (install-lib): Don't bother with versions for | |
6424 $(SHLBIN) files. | |
6425 | |
5095 | 6426 2002-10-16 Paul Kienzle <pkienzle@users.sf.net> |
4105 | 6427 |
6428 * Makefile.in (LIB_DEPS): Include $(LIBS). | |
6429 | |
4102 | 6430 2002-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6431 | |
6432 * lo-cieee.c: Move everything but lo_ieee_init here. | |
6433 (lo_ieee_Inf_value, lo_ieee_NA_value, lo_ieee_NaN_value): | |
6434 New functions. | |
6435 | |
6436 * Makefile.in (install): No need to use cd to create links. | |
6437 (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. | |
6438 | |
5095 | 6439 2002-10-14 Paul Kienzle <pkienzle@users.sf.net> |
4102 | 6440 |
6441 * Makefile.in: Merge liboctave with liboct-readline and | |
6442 liboct-pathsearch. | |
6443 Use link dependencies for shared libs if INCLUDE_LINK_DEPS. | |
6444 (libraries): Depend on versioned library. | |
6445 (liboctave.$(SHLEXT), liboctave.$(SHLEXT_VER)): Reverse actions -- | |
6446 build unversioned library, symbolic link adds version info. | |
6447 (install, uninstall): Handle link and load forms of the library | |
6448 separately. | |
6449 | |
4101 | 6450 2002-10-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6451 | |
6452 * oct-time.cc: Use OCTAVE_USE_WINDOWS_API instead of __WIN32__ and | |
6453 __CYGWIN__. | |
6454 | |
6455 * file-ops.cc (file_ops::dir_sep_char, file_ops::dir_sep_str, | |
6456 file_ops::dir_sep_chars): New static functions to replace | |
6457 OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS. | |
6458 | |
6459 * oct-env.cc (octave_env::do_set_program_name): | |
6460 Use file_ops::dir_sep_chars instead of OCTAVE_DIR_SEP_CHARS. | |
6461 (octave_env::do_base_pathname): Likewise. | |
6462 (octave_env::do_make_absolute): Likewise. | |
6463 | |
6464 * oct-env.cc (octave_env::do_make_absolute): | |
6465 Use file_ops::dir_sep_str instead of OCTAVE_DIR_SEP_STR. | |
6466 (octave_env::do_get_home_directory): Likewise. | |
6467 | |
6468 * file-ops.cc (is_dir_sep): Use dir_sep_chars instead of embedding | |
6469 that information here too. | |
6470 (tilde_find_suffix, isolate_tilde_prefix, tilde_expand_word): | |
6471 Use file_ops::dir_sep_char instead of OCTAVE_DIR_SEP_CHAR. | |
6472 | |
6473 * file-ops.h: Use OCTAVE_HAVE_WINDOWS_FILESYSTEM and | |
6474 OCTAVE_HAVE_POSIX_FILESYSTEM instead of __WIN32__ and __CYGWIN__. | |
6475 | |
4097 | 6476 2002-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
6477 | |
6478 * oct-env.h (octave_env::current_directory): Now mutable. | |
6479 (octave_env:do_getcwd): Now const. | |
6480 | |
6481 * file-ops.h, file-ops.cc (file_ops::is_dir_sep): New function. | |
6482 (OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS, | |
6483 OCTAVE_CURRENT_DIR_STR): New macros. | |
6484 * oct-env.cc (is_dir_sep): Delete. | |
6485 (octave_env::do_base_pathname): Look for OCTAVE_DIR_SEP_CHARS, not '/'. | |
6486 (octave_env::do_set_program_name): Likewise. | |
6487 (octave_env::do_polite_directory_format): Use file_ops::is_dir_sep | |
6488 instead of checking for '/'. | |
6489 (octave_env::pathname_backup): Likewise. | |
6490 (octave_env::do_absolute_pathname): Likewise. | |
6491 (octave_env::do_make_absolute): Likewise. | |
6492 If dot_path is empty, use getcwd to set current_dir. | |
6493 (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR | |
6494 instead of "/". | |
6495 | |
5095 | 6496 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 6497 |
6498 * lo-cutils.c: On non-Posix Windows systems, include winsock.h. | |
6499 | |
5095 | 6500 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 6501 |
6502 * oct-env.cc (octave_env::do_absolute_pathname): Recognize | |
6503 absolute path names under MinGW as well. | |
6504 | |
6505 2002-10-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6506 | |
6507 * oct-env.cc: Include <cctype> too. | |
6508 | |
4087 | 6509 2002-10-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
6510 | |
6511 * oct-env.cc (octave_env::do_absolute_pathname): Handle Windows | |
6512 filenames. | |
6513 (octave_env::do_make_absolute): Check for absolute name with | |
6514 do_absolute_path. | |
4088 | 6515 (octave_env::do_chdir): Likewise. |
6516 (is_dir_sep): New function. | |
4087 | 6517 |
5095 | 6518 2002-10-03 Paul Kienzle <pkienzle@users.sf.net> |
4085 | 6519 |
4086 | 6520 * oct-time.cc (octave_time::stamp): Better resolution for Windows |
6521 systems. | |
4085 | 6522 |
4083 | 6523 2002-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6524 | |
6525 * dMatrix.cc (Matrix::read): Clean up error handling logic. | |
6526 | |
4080 | 6527 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6528 | |
4081 | 6529 * file-ops.cc (file_ops::mkdir): Handle one-arg mkdir here. |
6530 | |
4080 | 6531 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
6532 | |
5095 | 6533 2002-09-27 Per Persson <persquare@mac.com> |
4076 | 6534 |
6535 * oct-group.cc (octave_group::octave_group): Dont' forget to set | |
6536 gr_gid too. | |
6537 | |
4072 | 6538 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
6539 | |
4074 | 6540 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
6541 lo_ieee_* functions. | |
4072 | 6542 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074 | 6543 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
6544 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. | |
4072 | 6545 * lo-cieee.c: New file. |
4074 | 6546 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072 | 6547 * lo-ieee.h: Now all extern "C". |
4074 | 6548 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
6549 lo-mappers.cc and rename from xisnan, xfinite, xisinf. | |
6550 | |
4072 | 6551 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
6552 Now extern. | |
6553 | |
4066 | 6554 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6555 | |
6556 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
6557 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
6558 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
6559 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
6560 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
6561 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
6562 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
6563 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
6564 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
6565 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
6566 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
6567 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
6568 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
6569 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
6570 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
6571 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
6572 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
6573 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
6574 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
6575 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
6576 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
6577 oct-alloc.cc: | |
6578 If __GNUG__, use pragma interface/implementation. Allow this to | |
6579 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. | |
6580 | |
5095 | 6581 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
4064 | 6582 |
4066 | 6583 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
6584 system readlink function is not available. | |
6585 | |
4065 | 6586 * lo-mappers.cc (xerf, xerfc): Delete. |
6587 * lo-mappers.h (xerf, xerfc): Delete decls. | |
6588 | |
4064 | 6589 * lo-mappers.cc: Remove unused #define M_PI. |
6590 * lo-specfun.cc: Add #define M_PI if needed. | |
6591 | |
4062 | 6592 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6593 | |
6594 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility | |
6595 that geteuid doesn't exist. | |
6596 | |
6597 * LP.h: Rename LP class to octave_LP. | |
6598 LPsolve.h: Change all uses. | |
6599 | |
6600 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove | |
6601 incorrect token-pasting op. | |
6602 | |
6603 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to | |
6604 define lstat. | |
6605 | |
4061 | 6606 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
6607 | |
6608 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
6609 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
6610 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
6611 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
6612 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
6613 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
6614 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
6615 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
6616 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
6617 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
6618 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
6619 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
6620 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
6621 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
6622 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
6623 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
6624 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
6625 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
6626 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
6627 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
6628 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
6629 oct-alloc.cc: | |
6630 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ | |
6631 to decide whether to use the interface/implementation pragmas. | |
6632 | |
4058 | 6633 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6634 | |
6635 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. | |
6636 | |
4055 | 6637 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
6638 | |
6639 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use | |
6640 qualified names. | |
6641 | |
4051 | 6642 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6643 | |
4054 | 6644 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
6645 ArrayN.cc: Add typename where needed. | |
4053 | 6646 |
4051 | 6647 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
6648 strstream classes directly. | |
6649 * DASRT.cc: Likewise. | |
6650 * DASSL.cc: Likewise. | |
6651 * LSODE.cc: Likewise. | |
6652 * ODESSA.cc: Likewise. | |
6653 | |
6654 * cmd-hist.cc: Don't include <strstream>. | |
6655 * oct-shlib.cc: Likewise. | |
6656 | |
6657 * lo-sstream.h: New file. | |
6658 | |
4049 | 6659 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6660 | |
6661 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): | |
6662 New data members. | |
6663 (LSODE::sanity_checked): Delete unused data member. | |
6664 | |
6665 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, | |
6666 prel_tol, pinfo, piwork, prwork): New data members. | |
6667 * DASSL.h (DASSL): Likewise. | |
6668 | |
6669 * DASRT.h (DASRT::sanity_checked): Delete unused data member. | |
6670 | |
6671 * DASRT.cc (DASRT::integrate (double)): Better handling of | |
6672 initialization, changes in options, etc. | |
6673 * DASPK.cc (DASPK::do_integrate): Likewise. | |
6674 * DASSL.cc (DASSL::do_integrate): Likewise. | |
6675 * LSODE.cc (LSODE::do_integrate): Likewise. | |
6676 | |
4047 | 6677 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
6678 | |
4049 | 6679 * DAEFunc.h (DAEFunc::reset): New data member. |
6680 * DAERTFunc.h (DAERTFunc::reset): Likewise. | |
6681 | |
6682 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. | |
6683 (base_diff_eqn::clear_stop_time): Likewise. | |
6684 | |
4047 | 6685 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
6686 * DASPK.cc (DASPK::do_integrate (double)): Likewise. | |
6687 | |
5095 | 6688 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
4044 | 6689 |
6690 * DASPK-opts.in, DASPK.h: Move include to .in file. | |
6691 * DASRT-opts.in, DASRT.h: Likewise. | |
6692 * DASSL-opts.in, DASSL.h: Likewise. | |
6693 * LSODE-opts.in, LSODE.h: Likewise. | |
6694 * NLEqn-opts.in, NLEqn.h: Likewise. | |
6695 * ODESSA-opts.in, ODESSA.h: Likewise. | |
6696 | |
4038 | 6697 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6698 | |
4042 | 6699 * LSODE.cc (LSODE::error_message): Also return current T on |
6700 failures when that makes sense. | |
4043 | 6701 * DASSL.cc (DASSL::error_message): Likewise. |
6702 * DASRT.cc (DASRT::error_message): Likewise. | |
6703 * DASPK.cc (DASPK::error_message): Likewise. | |
6704 * ODESSA.cc (ODESSA:error_message): Likewise. | |
4042 | 6705 |
4038 | 6706 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
6707 $(LIBKPATHSEA) here. | |
6708 | |
4025 | 6709 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6710 | |
6711 * lo-ieee.cc (lo_ieee_is_NA): New function. | |
6712 (lo_ieee_is_NaN_or_NA): New function. | |
6713 (octave_NA): New global value. | |
6714 (octave_ieee_init): Initialize it. | |
6715 * lo-mappers.cc (octave_is_NA): New function. | |
6716 (octave_is_NaN_or_NA): New function. | |
6717 (xisnan): Return false if NaN looks like a missing value. | |
6718 (xisnan (const Complex&)): Use xisnan here. | |
6719 | |
4015 | 6720 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6721 | |
4017 | 6722 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
6723 ComplexMatrix::cumprod, ComplexMatrix::cumsum, | |
6724 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): | |
6725 Default value for dim is -1, not 0. | |
6726 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, | |
6727 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. | |
6728 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. | |
6729 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. | |
6730 | |
4015 | 6731 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
6732 New macros. | |
6733 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and | |
6734 MX_BASE_REDUCTION_OP. | |
6735 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. | |
6736 | |
4014 | 6737 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6738 | |
4015 | 6739 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
6740 Return boolMatrix, not Matrix. | |
6741 | |
6742 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. | |
6743 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. | |
6744 (Matrix::all): Replace guts with MX_ALL_OP. | |
6745 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. | |
6746 (ComplexMatrix::all): Replace guts with MX_ALL_OP. | |
6747 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. | |
6748 (boolMatrix::all): Replace guts with MX_ALL_OP. | |
6749 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. | |
6750 (charMatrix::all): Replace guts with MX_ALL_OP. | |
6751 | |
6752 * dMatrix.h (Matrix::any): New arg, dim. | |
6753 (Matrix::all): Likewise. | |
6754 * CMatrix.h (ComplexMatrix::any): Likewise. | |
6755 (ComplexMatrix::all): Likewise. | |
6756 * boolMatrix.h (boolMatrix::any): Likewise. | |
6757 (boolMatrix::all): Likewise. | |
6758 * chMatrix.h (charMatrix::any): Likewise. | |
6759 (charMatrix::all): Likewise. | |
6760 | |
4014 | 6761 * Makefile.in: Use $@-t instead of $@.t. |
6762 | |
4004 | 6763 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6764 | |
6765 * lo-specfun.cc (gammainc): New arg, err, for scalar version. | |
6766 Use it in matrix versions to avoid spewing multiple errors. | |
6767 Call xgammainc instead of dgamit. | |
6768 | |
3998 | 6769 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6770 | |
6771 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): | |
6772 Get rows and columns right in loop. | |
6773 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. | |
6774 | |
6775 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6776 | |
6777 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. | |
6778 * DASRT.cc (DASRT::integrate): Likewise. | |
6779 * DASSL.cc (DASSL::do_integrate): Likewise. | |
6780 | |
6781 * Quad.cc: Don't pass tolerances in constructors. | |
6782 | |
6783 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, | |
6784 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. | |
6785 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, | |
6786 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically | |
6787 from corresponding .in files. | |
6788 * LSODE.h, Quad.h: Replace options class definitions with included | |
6789 file. | |
6790 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to | |
6791 create OPTS_INC files from OPTS_INC_SRC files. | |
6792 (stamp-prereq): New target. | |
6793 (libraries): Depend on stamp-prereq. | |
6794 Include stamp-prereq along with $(MAKEDEPS). | |
6795 | |
3997 | 6796 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6797 | |
6798 * base-de.h (base_diff_eqn::istate): New data member. | |
6799 (base_diff_eqn::integration_state): New member function. | |
6800 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding | |
6801 data members and functions. | |
6802 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. | |
6803 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. | |
6804 | |
3990 | 6805 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6806 | |
3995 | 6807 * base-de.h (base_diff_eqn::stop_time, |
6808 base_diff_eqn::stop_time_set, base_diff_eqn::restart, | |
6809 base_diff_eqn::integration_error): New data members. | |
6810 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, | |
6811 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, | |
6812 base_diff_eqn::error_message): New member functions. | |
6813 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, | |
6814 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data | |
6815 members and functions. | |
6816 | |
3992 | 6817 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
6818 * DASRT.cc (DASRT::DASRT): Set ng here. | |
3993 | 6819 (DASRT::integrate): Don't forget to set nn. |
3992 | 6820 |
3991 | 6821 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
6822 * DASSL.cc (ddassl_j): Make it work. | |
6823 * DASPK.cc (ddaspk_j): Likewise. | |
6824 | |
3990 | 6825 * DAE.cc: Delete. |
6826 | |
6827 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE | |
6828 solving with root finding. | |
6829 * Makefile.in: Add them to the appropriate lists. | |
6830 | |
6831 * base-dae.h: New file. | |
6832 * Makefile.in (INCLUDES): Add it to the list. | |
6833 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. | |
6834 | |
3984 | 6835 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6836 | |
6837 * ODE.h: Move integrate and do_integrate method declarations and | |
6838 definitions here. | |
6839 * base-de.h: From here. | |
6840 | |
6841 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. | |
6842 * Makefile.in: Add them to the appropriate lists. | |
6843 (LIBOCTAVE_CXX_SOURCES): | |
6844 | |
3971 | 6845 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6846 | |
6847 * NLEqn.cc (NLEqn::error_message): New function. | |
6848 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. | |
6849 | |
3970 | 6850 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6851 | |
6852 * lo-utils.cc (octave_fgetl): New function. | |
6853 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. | |
6854 | |
3959 | 6855 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
6856 | |
6857 * LSODE.cc (LSODE::error_message): New function. | |
6858 * LSODE.h: Provide decl. | |
6859 (LSODE::integration_state): New function. | |
6860 (LSODE::integration_ok): New function. | |
6861 | |
3952 | 6862 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6863 | |
3955 | 6864 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
6865 (LSODE_options::set_integration_method, | |
6866 LSODE_options::integration_method): New functions. | |
3954 | 6867 |
3952 | 6868 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
6869 Change all uses. | |
6870 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. | |
6871 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): | |
6872 New function. | |
6873 | |
6874 * Array.h (Array::fortran_vec): New const version. | |
6875 | |
3951 | 6876 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6877 | |
6878 * cmd-edit.cc (gnu_readline::history_search_backward): New function. | |
6879 (gnu_readline::history_search_forward): Likewise. | |
6880 (gnu_readline::gnu_readline): Use them instead of passing pointers | |
6881 to extern "C" functions to octave_rl_ad_defun. | |
6882 | |
5095 | 6883 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
3946 | 6884 |
6885 * DASPK.cc (ddaspk_psol): Return value. | |
6886 * oct-rl-edit.c: Use /* ... */ to comment. | |
6887 | |
3945 | 6888 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6889 | |
6890 * DASSL.h (DASSL_options::init): Undo previous change. | |
6891 (DASSL_options::set_absolute_tolerance): Likewise. | |
6892 * LSODE.h (LSODE_options::init): Likewise. | |
6893 (LSODE_options::set_absolute_tolerance): Likewise. | |
6894 | |
6895 * DASPK.h (DASPK_options::init): Use default absolute tolerance of | |
6896 sqrt(eps), not eps^2. | |
6897 DASPK_options::set_absolute_tolerance): Likewise. | |
6898 | |
5095 | 6899 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
3944 | 6900 |
6901 * Array.h (Array<T>::resize_fill_value): Return default initialized | |
6902 object. | |
6903 | |
3933 | 6904 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6905 | |
6906 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. | |
6907 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. | |
6908 (octave_rl_set_basic_word_break_characters, | |
6909 octave_rl_set_completer_word_break_characters): New functions. | |
6910 * oct-rl-edit.h: Provide decls. | |
6911 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, | |
6912 gnu_readline::do_set_completer_word_break_characters): New functions. | |
6913 (command_editor::set_basic_quote_characters, | |
6914 command_editor::set_completion_append_character): New static functions. | |
6915 * cmd-edit.h: Provide decls. | |
6916 (command_editor::do_set_basic_word_break_characters, | |
6917 command_editor::do_set_completer_word_break_characters): | |
6918 New virtual functions. | |
6919 | |
6920 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h | |
6921 (resize_fill_value): New static function. | |
6922 | |
6923 * Array-idx.h (Array<T>::index): New args, resize_ok and | |
6924 resize_fill_value. | |
6925 * Array2-idx.h (Array2<T>::index): Likewise. | |
6926 * ArrayN-idx.h (ArrayN<T>::index): Likewise. | |
6927 | |
6928 * Array2.cc (Array<T>::print_info): New function. | |
6929 * Array2.h: Provide decl. | |
6930 | |
6931 * Array.cc (Array<T>::print_info): New function. | |
6932 * Array.h: Provide decl. | |
6933 | |
3928 | 6934 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6935 | |
6936 * idx-vector.h (idx_vector::idx_vector (int)): New function. | |
6937 (idx_vector_rep::idx_vector_rep (int)): New decl. | |
6938 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. | |
6939 | |
6940 * Array.h (Array<T>::resize_fill_value (void)): New static function. | |
6941 (assign (Array<LT>&, const Array<RT>&)): Use it. | |
6942 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. | |
6943 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. | |
6944 | |
5095 | 6945 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
3928 | 6946 |
6947 * Array3.h (Array3<T>::checkelem): Improve error message. | |
6948 * ArrayN.h (ArrayN<T>::range_error): Likewise. | |
6949 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. | |
6950 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. | |
6951 | |
3919 | 6952 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6953 | |
6954 * DASSL.h (DASSL_options::init): Undo previous change. | |
6955 (DASSL_options::set_absolute_tolerance): Likewise. | |
6956 | |
3912 | 6957 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
6958 | |
6959 * DASPK.h, DASPK.cc: New files. | |
6960 * Makefile.in: Add them to the appropriate lists. | |
6961 | |
3904 | 6962 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6963 | |
6964 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): | |
6965 Simplify indexing when one or both of the indices are empty. | |
6966 | |
3896 | 6967 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6968 | |
6969 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. | |
6970 (DASSL_options::set_absolute_tolerance): Likewise. | |
6971 * LSODE.h (LSODE_options::init): Likewise. | |
6972 (LSODE_options::set_absolute_tolerance): Likewise. | |
6973 | |
5095 | 6974 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
3887 | 6975 |
6976 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. | |
6977 * file-stat.cc (file_stat::update_internal, file_stat::copy): | |
6978 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. | |
6979 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. | |
6980 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. | |
6981 * file-stat.h: Likewise. | |
6982 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, | |
6983 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE | |
6984 instead of HAVE_STRUCT_TM_TM_ZONE. | |
6985 * strftime.c: Likewise. | |
6986 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, | |
6987 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, | |
6988 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, | |
6989 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, | |
6990 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
6991 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
6992 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. | |
6993 | |
5095 | 6994 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
3883 | 6995 |
6996 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition | |
6997 internally when the user requests it. | |
6998 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
6999 * dbleQR.cc (QR::init): Ditto. | |
7000 * dbleQRP.cc (QRP::init): Ditto. | |
7001 | |
3874 | 7002 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
7003 | |
7004 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a | |
7005 definition for NULL by passing 0 as the last arg to fftwnd_one. | |
7006 (octave_fftw::ifft2d): Likewise. | |
7007 | |
5095 | 7008 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
3873 | 7009 |
7010 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). | |
7011 | |
3867 | 7012 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
7013 | |
7014 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. | |
7015 (LS_DO_WRITE): Likewise. | |
7016 | |
3864 | 7017 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
7018 | |
7019 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. | |
7020 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. | |
7021 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. | |
7022 | |
7023 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, | |
7024 MX_REDUCTION_OP_ROW_EXPR): New macros. | |
7025 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. | |
7026 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. | |
7027 | |
7028 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. | |
7029 DIM == -1 now means no orientation for vector sums. | |
7030 * dMatrix.cc (ComplexMatrix::sumsq): Use it. | |
7031 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. | |
7032 | |
3858 | 7033 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
7034 | |
7035 * Range.cc (Range::nelem_internal): Special case ranges that must | |
7036 have zero elements. | |
7037 | |
3854 | 7038 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
7039 | |
3857 | 7040 * Makefile.in: Split out readline and pathsearch functionality |
7041 into separate liboct-readline and liboct-pathsearch libraries. | |
7042 | |
3854 | 7043 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857 | 7044 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
7045 to do nothing for this call to rl_clear_screen. | |
3854 | 7046 |
3849 | 7047 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
7048 | |
7049 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied | |
7050 function. | |
7051 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. | |
7052 | |
3838 | 7053 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
7054 | |
7055 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, | |
7056 Matrix::inverse): Handle the case of rcond being a NaN the same as | |
7057 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. | |
7058 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, | |
7059 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. | |
7060 | |
3836 | 7061 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
7062 | |
7063 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. | |
7064 | |
7065 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, | |
7066 Array-b.cc: Instantiate three arg assign functions. | |
7067 | |
7068 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): | |
7069 New arg, resize_fill_value. | |
7070 * ArrayN.h: Provide declaration. | |
7071 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling | |
7072 three arg version. | |
7073 | |
7074 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): | |
7075 New arg, resize_fill_value. | |
7076 * Array3.h: Provide declaration. | |
7077 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling | |
7078 three arg version. | |
7079 | |
7080 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
7081 New arg, resize_fill_value. | |
7082 * Array2.h: Provide declaration. | |
7083 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling | |
7084 three arg version. | |
7085 | |
7086 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
7087 New arg, resize_fill_value. | |
7088 * Array.h: Provide declaration. | |
7089 (assign (Array<LT>&, const Array<RT>&): Define here by calling | |
7090 three arg version. | |
7091 | |
3833 | 7092 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
7093 | |
7094 * pathsearch.cc (dir_path::set_program_name): Set the environment | |
7095 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS | |
7096 to the empty string. | |
7097 | |
3832 | 7098 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
7099 | |
7100 * Array2.h (Array2<T>::operator = (const Array2<T>&)): | |
7101 Don't check for rep != a.rep. | |
7102 | |
3827 | 7103 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
7104 | |
7105 * oct-fftw.h, oct-fftw.cc: New files. | |
7106 * Makefile.in (INCLUDES, SOURCES): Add new files. | |
7107 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, | |
7108 ifourier2d}): Use fftw if available. | |
7109 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): | |
7110 Likewise. | |
7111 | |
3821 | 7112 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
7113 | |
7114 * Makefile.in (install-lib): Don't use mk-libdir-link. | |
7115 (install-inc): Don't use mk-includedir-link. | |
7116 | |
3803 | 7117 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
7118 | |
7119 * lo-cutils.c (octave_gethostname): New function. | |
7120 * lo-utils.h: Provide declaration. | |
7121 * oct-env.cc (octave_env::do_get_host_name): | |
7122 Call octave_gethostname, instead of gethostname. | |
7123 | |
7124 * lo-cutils.c (gethostname): Define here. | |
7125 * lo-sysdep.cc: Not here. | |
7126 | |
3786 | 7127 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
7128 | |
7129 * lo-cutils.c: Don't declare strptime. | |
7130 (oct_strptime): Cast return type of strptime to char*. | |
7131 | |
3777 | 7132 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
7133 | |
3779 | 7134 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
7135 (octave_rl_set_name): call rl_re_read_init_file with two args. | |
7136 (octave_rl_read_init_file): Ditto. | |
7137 (octave_rl_clear_undo_list): Call rl_free_undo_list, not | |
7138 free_undo_list. | |
7139 (octave_rl_completion_matches): Call rl_completion_matches, not | |
7140 completion_matches. | |
7141 (octave_rl_enable_paren_matching): New function. | |
7142 (octave_rl_set_blink_matching_paren_flag): Delete. | |
7143 (octave_rl_get_blink_matching_paren_flag): Delete. | |
7144 | |
3777 | 7145 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
7146 tanh (const Complex&)): Declare and define if not | |
7147 CXX_ISO_COMPLIANT_LIBRARY. | |
7148 | |
3776 | 7149 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
7150 | |
7151 * lo-mappers.h (tanh (const Complex&)): Only declare if not | |
7152 CXX_ISO_COMPLIANT_LIBRARY. | |
7153 | |
3775 | 7154 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
7155 | |
3776 | 7156 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
7157 CXX_ISO_COMPLIANT_LIBRARY. | |
7158 | |
3775 | 7159 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
7160 archive libraries containing templates. | |
7161 | |
7162 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, | |
7163 get_zero_len_size, all_colon_equiv): Inline. | |
7164 (ArrayN<T>::index): Rename idx to arr_idx. | |
7165 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, | |
7166 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, | |
7167 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. | |
7168 | |
7169 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7170 | |
7171 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), | |
7172 log10 (const Complex&)): Delete. | |
7173 | |
7174 * oct-cmplx.h: Define forwarding functions for real, imag, abs, | |
7175 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, | |
7176 sinh, sqrt, tan, and tanh. | |
7177 | |
3769 | 7178 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
7179 | |
7180 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: | |
7181 Add std:: namespace qualifier as needed. | |
7182 | |
7183 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. | |
7184 Change all uses to match. | |
7185 | |
3767 | 7186 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7187 | |
7188 * lo-cutils.c: Don't delcare strptime. | |
7189 | |
3760 | 7190 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
7191 | |
7192 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): | |
7193 Return correct size result for empty matrix case. | |
7194 | |
3757 | 7195 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
7196 | |
7197 * lo-mappers.cc (xmin (const Complex&, const Complex& y): | |
7198 If args are equal in magnitude, return first arg instead of | |
7199 second. | |
7200 | |
3752 | 7201 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
7202 | |
3755 | 7203 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
7204 then try harder to compute correct number of elements. | |
3753 | 7205 |
3752 | 7206 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
7207 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. | |
7208 | |
3750 | 7209 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
7210 | |
3751 | 7211 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
7212 Rename n_intervals to be n_elt. | |
7213 | |
3750 | 7214 * strptime.c: Surround everything after including config.h in |
7215 #ifndef HAVE_STRPTIME ... #endif. | |
7216 | |
3742 | 7217 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7218 | |
7219 * Array-idx.h (assign): When resizing, cast fill value to LT. | |
7220 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. | |
7221 | |
3741 | 7222 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
7223 | |
7224 * MArray-defs.h: Protect against multiple inclusion. | |
7225 | |
3739 | 7226 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
7227 | |
7228 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the | |
7229 end of the list, to be compatible with previous versions of Octave. | |
7230 | |
3736 | 7231 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
7232 | |
7233 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, | |
7234 since mktime is supposed to `normalize' the results for us. | |
7235 | |
3731 | 7236 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
7237 | |
7238 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices | |
3732 | 7239 and vectors. Use xelem for faster access to elements when copying. |
3731 | 7240 |
3726 | 7241 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7242 | |
7243 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): | |
7244 Correct indexing for operation across rows. | |
7245 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. | |
7246 | |
3725 | 7247 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
7248 | |
7249 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying | |
7250 elements if arg is a colon. | |
7251 | |
5095 | 7252 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
3723 | 7253 |
3795 | 7254 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723 | 7255 (Matrix::cumsum (int) const): Likewise. |
7256 (Matrix::prod (int) const): Likewise. | |
7257 (Matrix::sum (int) const): Likewise. | |
7258 (Matrix::sumsq (int) const): Likewise. | |
7259 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. | |
7260 (ComplexMatrix::cumsum (int) const): Likewise. | |
7261 (ComplexMatrix::prod (int) const): Likewise. | |
7262 (ComplexMatrix::sum (int) const): Likewise. | |
7263 (ComplexMatrix::sumsq (int) const): Likewise. | |
7264 | |
3722 | 7265 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
7266 | |
7267 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set | |
7268 size if Array<T>::index returns an empty array. | |
7269 | |
3710 | 7270 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
7271 | |
7272 * file-ops.cc (file_ops::link, file_ops::symlink, | |
7273 file_ops::readlink): New functions. | |
7274 | |
3709 | 7275 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
7276 | |
7277 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is | |
7278 indexed, always return an object the same size as the index arg. | |
7279 | |
7280 * oct-time.cc (octave_base_tm::strftime): Return empty string for | |
7281 empty format. | |
7282 | |
3706 | 7283 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
7284 | |
7285 * lo-cutils.c (oct_strptime): New function. | |
7286 * oct-time.cc (octave_strptime::init): Call it instead of strptime. | |
7287 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. | |
7288 | |
3702 | 7289 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7290 | |
3703 | 7291 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
7292 | |
3702 | 7293 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
7294 | |
3689 | 7295 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7296 | |
7297 * dMatrix.h (read_int): Provide declaration. | |
7298 | |
3688 | 7299 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
7300 | |
7301 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. | |
7302 (write_doubles): Ditto. | |
7303 * data-conv.h: Ditto. | |
7304 (enum save_type): New values, LS_U_LONG and LS_LONG. | |
7305 | |
3685 | 7306 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
7307 | |
7308 * boolMatrix.h: Declare MM_CMP_OPS here. | |
7309 * boolMatrix.cc: Define them here. | |
7310 | |
3680 | 7311 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
7312 | |
7313 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is | |
7314 previously undefined and set size of x to size of bool index. | |
7315 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): | |
7316 Allow z_len to be zero. | |
7317 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. | |
7318 If frozen, don't assert that frozen_at_z_len == z_len. | |
7319 | |
3670 | 7320 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
7321 | |
7322 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen | |
7323 instead of rl_clear_screen. | |
7324 | |
3665 | 7325 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7326 | |
7327 * Array-d.cc: Instantiate ArrayN<double> here too. | |
7328 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. | |
7329 * Makefile.in: Add them to the appropriate lists. | |
7330 | |
3657 | 7331 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
7332 | |
7333 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. | |
7334 | |
3635 | 7335 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7336 | |
7337 * lo-sysdep.h: octave_chdir returns int, not bool. | |
7338 | |
3615 | 7339 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
7340 | |
7341 * Makefile.in (liboctave.$(SHLEXT)): Delete target | |
7342 before rebuilding. | |
7343 | |
5095 | 7344 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
3615 | 7345 |
5261 | 7346 * Makefile.in (liboctave.$(LIBEXT)): New target. |
3615 | 7347 (libraries): Depend only on library targets, not archive members. |
7348 | |
3613 | 7349 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
7350 | |
7351 * Makefile.in: (objects): New target. | |
7352 | |
7353 * lo-cutils.c: New file. | |
7354 * Makefile.in (SOURCES): Add it to the list. | |
7355 * lo-utils.h: Declare octave_qsort here. | |
7356 * Array.h (Array::qsort): Use it here. | |
7357 | |
3607 | 7358 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
7359 | |
7360 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. | |
7361 | |
3598 | 7362 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7363 | |
7364 * oct-rl-hist.c (octave_history_list): Do something when not | |
7365 printing line numbers. Fix reallocation of retval. | |
7366 | |
3597 | 7367 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7368 | |
7369 * Makefile.in (install-inc): Install files in | |
7370 $(octincludedir)/octave. | |
7371 (uninstall): Remove them from the correct directory too. | |
7372 | |
7373 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if | |
7374 they are not already defined. | |
7375 | |
3588 | 7376 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
7377 | |
7378 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: | |
7379 Delete declarations and definitions of mixed-type vector-vector ops. | |
7380 | |
3585 | 7381 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
7382 | |
7383 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS | |
7384 matrix and vector objects. | |
7385 | |
7386 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to | |
7387 return type from second arg type. | |
7388 (MDM_BIN_OP): Likewise, for first arg type. | |
7389 | |
7390 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
7391 Matrix::fourier2d, Matrix::ifourier2d): Likewise. | |
7392 | |
7393 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly | |
7394 request ColumnVector to ComplexColumnVector, and Matrix to | |
7395 ComplexMatrix conversions. | |
7396 | |
7397 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its | |
7398 initial value using ComplexMatrix constructor. | |
7399 | |
7400 * CColVector.cc (product, quotient, | |
7401 operator * (const DiagMatrix&, const ComplexColumnVetor&)): | |
7402 Fix type of returned value. | |
7403 * CDiagMatrix.cc (ComplexDiagMatrix::row, | |
7404 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. | |
7405 | |
7406 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, | |
7407 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, | |
7408 dRowVector.h: Declare some constructors explicit, to disallow | |
7409 potentially problematic automatic type conversions. | |
7410 | |
3580 | 7411 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
7412 | |
3582 | 7413 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
7414 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: | |
7415 More new files. | |
7416 * Makefile.in: Add them to the appropriate lists. | |
7417 | |
7418 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, | |
7419 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, | |
7420 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, | |
7421 vx-s-crv.cc:, New files. | |
7422 * Makefile.in: Add them to the appropriate lists. | |
7423 | |
7424 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: | |
7425 Delete scalar by vector and vector by scalar binary ops. | |
7426 | |
3580 | 7427 * MArray-defs.h: More new macros to handle MDiagArray operators. |
7428 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. | |
7429 | |
3573 | 7430 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
7431 | |
3578 | 7432 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
7433 rl_event_hook before casting to void **. | |
7434 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. | |
7435 | |
3574 | 7436 * MArray-defs.h: Many new macros to make declaration and |
7437 definition of operators more consistent. | |
7438 | |
7439 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, | |
7440 CRowVector.h, dMatrix.h, CMatrix.h: Use them. | |
3573 | 7441 |
3569 | 7442 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
7443 | |
3572 | 7444 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
7445 (Matrix::ifourier2d): Likewise. | |
7446 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. | |
7447 (ComplexMatrix::ifourier2d): Likewise. | |
7448 | |
3569 | 7449 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
7450 | |
3504 | 7451 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
7452 | |
3519 | 7453 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
7454 readline library. | |
7455 * Makefile.in: Add them to the appropriate lists. | |
7456 | |
7457 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU | |
7458 readline history library. | |
7459 * Makefile.in: Add them to the appropriate lists. | |
7460 | |
3517 | 7461 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
7462 (LS_DO_READ): Likewise, for istream::read. | |
3518 | 7463 (write_doubles): Likewise. |
7464 (read_doubles): Likewise. | |
3517 | 7465 |
3516 | 7466 * oct-env.cc (octave_env::do_polite_directory_format): |
7467 Use operator== and substr method to do limited-length string | |
7468 comparison. | |
7469 | |
3513 | 7470 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512 | 7471 |
3511 | 7472 * Quad.h: Use do_integrate as name of pure virtual function. |
7473 | |
3508 | 7474 * base-de.h: Use tt instead of t as arg names. |
3511 | 7475 Add method with tcrit arg. |
7476 | |
3509 | 7477 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508 | 7478 |
3507 | 7479 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
7480 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. | |
7481 * Quad.cc (quad_fcn_ptr): Ditto. | |
7482 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. | |
7483 | |
3505 | 7484 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519 | 7485 * Makefile.in: Add them to the appropriate lists. |
3505 | 7486 |
7487 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. | |
3519 | 7488 * Makefile.in: Add them to the appropriate lists. |
3505 | 7489 |
3504 | 7490 * dMatrix.cc (write_int, read_int): No longer declared static. |
7491 | |
7492 * CDiagMatrix.h: Delete decls for friend operators that are | |
7493 handled by MDiagArray2 class. Move others outside class decl and | |
7494 strip friend status. | |
7495 * dDiagMatrix.h: Likewise. | |
7496 | |
7497 * MArray.h: Delete decls for friend operators inside class decl. | |
7498 * MArray2.h: Ditto. | |
7499 * MDiagArray2.h: Ditto. | |
7500 | |
7501 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all | |
7502 necessary parameters. Don't allocate memory in the macro. Change | |
7503 all uses. | |
7504 | |
7505 * dMatrix.h (class Matrix): Delete `friend class' decls. | |
7506 * CMatrix.h (class ComplexMatrix): Ditto. | |
7507 | |
7508 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, | |
7509 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, | |
7510 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to | |
7511 avoid type conflicts. Change all uses. | |
7512 | |
7513 * strptime.c (__mon_yday): Fix size of array decl. | |
7514 | |
7515 * mx-inlines.cc: Use `xnot' instead of `not' for function name. | |
7516 | |
7517 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous | |
7518 default value for second arg. | |
7519 | |
7520 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to | |
7521 references to ArrayRep. | |
7522 | |
3503 | 7523 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
7524 | |
3504 | 7525 * Array.h (Array::ArrayRep): Now protected, not private. |
3503 | 7526 |
7527 * All source files: Include iostream, fstream, strstream, | |
7528 etc. as needed instead of using forward declarations for these | |
3504 | 7529 classes. Add std:: qualifier as needed. |
3503 | 7530 |
3498 | 7531 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
7532 | |
7533 * oct-time.cc: Declare strptime extern "C". | |
7534 | |
3496 | 7535 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7536 | |
7537 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. | |
7538 | |
3488 | 7539 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
7540 | |
3492 | 7541 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
7542 * Array3.h, Array3.cc: Use it in constructors and resize methods | |
7543 to get total size to be allocated. | |
7544 | |
3488 | 7545 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
7546 as bool, not int. | |
7547 | |
3482 | 7548 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
7549 | |
7550 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
7551 Allow A(idx) = RHS if idx is a boolean index with the same shape | |
7552 as A, even when do_fortran_indexing is not enabled. | |
7553 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). | |
7554 | |
3473 | 7555 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
7556 | |
3480 | 7557 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
7558 function pointer as final arg. Passed function (if any) will be | |
7559 called for singularity errors. | |
7560 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. | |
7561 | |
7562 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. | |
7563 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
7564 | |
3475 | 7565 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
7566 No longer bother with infinity or quiet_nan. | |
7567 | |
3473 | 7568 * Array2.cc (Array2<T>::get_size): New function. |
7569 (Array2<T>::Array2, Array2<T>::resize): Use it. | |
7570 | |
3472 | 7571 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7572 | |
7573 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): | |
7574 New function. | |
7575 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
7576 Use it when indexing with one arg instead of faking a second one. | |
7577 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): | |
7578 Return empty matrices with the correct dimensions for A(:,:) = [] | |
7579 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all | |
7580 rows or columns. | |
7581 | |
7582 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool | |
7583 vector that is all true values with a length equal to n as colon | |
7584 equivalent. | |
7585 | |
3470 | 7586 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
7587 | |
7588 * strptime.c: Only include langinfo.h if _LIBC is defined. | |
7589 | |
5095 | 7590 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468 | 7591 |
7592 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling | |
7593 operations directly in step 2 and reverse step 2. | |
7594 * dMatrix.cc (Matrix::expm): Apply permutation and scaling | |
7595 operations directly in step 2 and reverse step 2. | |
7596 | |
3465 | 7597 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
7598 | |
7599 * oct-time.h, oct-time.cc (octave_strptime): New class. | |
7600 | |
7601 * strptime.c: New file, from glibc 2.1.2. | |
7602 * Makefile.in (SOURCES): Add strptime.c to the list. | |
7603 | |
3419 | 7604 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7605 | |
7606 * MArray.h (MArray <const Array<T>&)): New constructor. | |
7607 | |
3415 | 7608 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
7609 | |
7610 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing | |
7611 NULL directory list returned from kpse_element_dirs | |
7612 | |
3375 | 7613 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
7614 | |
7615 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. | |
7616 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF | |
7617 directly, instead of calling ZGESV. | |
7618 | |
3358 | 7619 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7620 | |
7621 * data-conv.cc (init_sized_type_lookup_table): New function. | |
7622 (string_to_data_type): Use it to improve lookup of data types. | |
7623 | |
3354 | 7624 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
7625 | |
7626 * dMatrix.cc (is_symmetric): Move here from Array2.cc. | |
7627 * Array2.h (is_symmetric): Delete declaration. | |
7628 | |
3347 | 7629 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
7630 | |
7631 * oct-env.cc (do_get_user_name): Reverse sense of test. | |
7632 | |
3344 | 7633 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
7634 | |
7635 * oct-time.cc (Fstrftime): Undo previous change. | |
7636 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
7637 | |
3334 | 7638 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
7639 | |
3336 | 7640 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
7641 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. | |
7642 | |
3334 | 7643 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
7644 Don't forget to pass length of third string argument to dgeesx. | |
7645 | |
7646 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length | |
7647 of third string argument to zgeesx. | |
7648 | |
3333 | 7649 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
7650 | |
7651 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): | |
7652 On errors, simply return `T ()'. | |
7653 (DiagArray2<T>::checkelem (int, int)): Likewise. | |
7654 | |
5095 | 7655 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3331 | 7656 |
7657 * dMatrix.cc (Matrix::expm): Do balancing here instead of using | |
7658 AEPBALANCE class. | |
7659 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
7660 | |
3325 | 7661 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7662 | |
7663 * oct-shlib.cc, oct-shlib.h: New files. | |
7664 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
7665 | |
3322 | 7666 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
7667 | |
7668 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. | |
7669 * dRowVector.cc (linspace): Ditto. | |
7670 | |
7671 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. | |
7672 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
7673 | |
3312 | 7674 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
7675 | |
7676 * DASSL.cc (DASSL::do_integrate (double)): If we have a function | |
7677 to evaluate the Jacobian, set info(4), not iwork(4). | |
7678 Set rwork(1) to the maximum step size, not rwork(2). | |
7679 | |
3290 | 7680 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7681 | |
7682 * oct-time.cc: Include <climits>. | |
7683 | |
3281 | 7684 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
7685 | |
7686 * cmd-edit.h (command_editor::do_resize_terminal): New function. | |
7687 * cmd-edit.cc (command_editor::resize_terminal): New function. | |
7688 (gnu_readline::do_resize_terminal): New function. | |
7689 | |
3268 | 7690 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7691 | |
7692 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. | |
7693 * lo-ieee.c: Likewise. | |
7694 Delete extern "C" declarations for infinity and quiet_nan. | |
7695 | |
3262 | 7696 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7697 | |
3263 | 7698 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
7699 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions | |
7700 `inline', not `static inline'. | |
7701 | |
3262 | 7702 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
7703 then cast to const int * to compare. | |
7704 | |
3257 | 7705 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7706 | |
7707 * DAEFunc.h: Remove useless preprocessor conditional. | |
7708 | |
3255 | 7709 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7710 | |
3257 | 7711 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
7712 Use octave_time object instead of time_t. | |
7713 | |
7714 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, | |
7715 file_stat::fs_ctime): Now octave_time objects. | |
7716 (file_stat::atime, file_stat::mtime, file_stat::ctime): | |
7717 Return octave_time objects. | |
7718 (file_stat::is_newer): Args are now octave_time objects instead of | |
7719 time_t. | |
7720 | |
3255 | 7721 * oct-time.h (octave_time::as_double): Delete. |
7722 (octave_time::operator double ()): New function. | |
7723 (octave_time::operator time_t ()): New function. | |
7724 (octave_time::ctime): New function. | |
7725 (octave_base_tm::strftime): Renamed from format_as_string. | |
7726 (octave_base_tm::asctime): New function. | |
7727 (operator == (const octave_time&, const octave_time&), | |
7728 operator != (const octave_time&, const octave_time&), | |
7729 operator < (const octave_time&, const octave_time&), | |
7730 operator <= (const octave_time&, const octave_time&), | |
7731 operator > (const octave_time&, const octave_time&), | |
7732 operator >= (const octave_time&, const octave_time&)): | |
7733 New comparison functions. | |
7734 | |
7735 * strftime.c: Move here from src directory. | |
7736 * Makefile.in (SOURCES): Add it to the list. | |
7737 | |
7738 * oct-time.h (octave_time::octave_time (time_t)): New constructor. | |
7739 | |
3253 | 7740 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7741 | |
7742 * oct-time.h, oct-time.cc: New files. | |
7743 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
7744 | |
7745 * systime.h: Move here from src directory. | |
7746 * Makefile.in (INCLUDES): Add it to the list. | |
7747 | |
3248 | 7748 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7749 | |
7750 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. | |
7751 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. | |
7752 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. | |
7753 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. | |
7754 | |
7755 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. | |
7756 | |
3243 | 7757 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7758 | |
7759 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. | |
7760 | |
7761 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7762 | |
7763 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a | |
7764 column vector for A(:), for compatibility with Matlab. | |
7765 | |
7766 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7767 | |
7768 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set | |
7769 iopt when there are optional inputs in rwork or iwork. | |
7770 | |
3238 | 7771 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7772 | |
7773 * Makefile.in (libraries): Use the libfoo.a(objects) method of | |
7774 creating static libs. | |
7775 | |
5095 | 7776 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
3238 | 7777 |
7778 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 | |
7779 and uint32 data types. | |
7780 | |
7781 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7782 | |
7783 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code | |
7784 for Linux. Remove old Linux-specific code. | |
7785 | |
3233 | 7786 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7787 | |
7788 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): | |
7789 Don't require lengths to be equal. | |
7790 * CMatrix.cc (operator * (const ComplexColumnVector& v, const | |
7791 ComplexRowVector& a)): Likewise | |
7792 | |
5095 | 7793 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
3225 | 7794 |
7795 * statdefs.h: Only define mode_t if not already defined. | |
7796 | |
5095 | 7797 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
3225 | 7798 |
7799 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero | |
7800 when appropriate. | |
7801 | |
7802 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7803 | |
7804 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name | |
7805 before calling rl_initialize. | |
7806 | |
3220 | 7807 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7808 | |
7809 * lo-specfun.cc (besselh, airy, biry): New functions. | |
7810 Update Bessel function support to use library by D. E. Amos. | |
7811 | |
3219 | 7812 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7813 | |
7814 * cmd-edit.h (command_editor::readline): Add new variation that | |
7815 allows EOF information to be passed back to caller. | |
7816 | |
7817 * dMatrix.cc (Matrix::read): Do the right thing for EOF when | |
7818 amount of data to read is unspecified. | |
7819 | |
3215 | 7820 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7821 | |
3219 | 7822 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
7823 (DEFINE_OCTAVE_ALLOCATOR): Ditto. | |
7824 | |
3215 | 7825 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
7826 Add volatile qualifier to void* arg. | |
7827 Cast volatile void* arg to volatile char*. | |
7828 | |
7829 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7830 | |
7831 * cmd-edit.h (command_editor::do_set_event_hook): New function. | |
7832 (command_editor::do_restore_event_hook): Ditto. | |
7833 * cmd-edit.cc (command_editor::set_event_hook): Ditto. | |
7834 (command_editor::restore_event_hook): Ditto. | |
7835 (gnu_readline::do_set_event_hook): Ditto. | |
7836 (gnu_readline::do_restore_event_hook): Ditto. | |
7837 (gnu_readline::previous_event_hook): New data member. | |
7838 (gnu_readline::gnu_readline): Initialize previous_event_hook. | |
7839 | |
3206 | 7840 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7841 | |
7842 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. | |
7843 | |
7844 * Makefile.in (stmp-pic): New target. | |
7845 ($(PICOBJ)): Depend on stmp-pic, not pic. | |
7846 (clean): Remove stmp-pic | |
7847 | |
7848 * Makefile.in: Undo previous change to avoid optmization when | |
7849 compiling lo-ieee.cc. | |
7850 | |
7851 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7852 | |
7853 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and | |
7854 imaginary parts. | |
7855 (xisinf): Define in terms of xisinf for real and imaginary parts. | |
7856 | |
3203 | 7857 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7858 | |
7859 * boolMatrix.cc (boolMatrix::operator !): New function. | |
7860 | |
3196 | 7861 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7862 | |
7863 * pathsearch.h (dir_path::default_path): New data member. | |
7864 * pathsearch.cc (dir_path::init): Use it. | |
7865 | |
7866 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. | |
7867 | |
3189 | 7868 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7869 | |
7870 * chMatrix.cc (charMatrix::extract): New function. | |
7871 (charMatrix::charMatrix (char c)): New constructor. | |
7872 | |
7873 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7874 | |
7875 * cmd-edit.h: (command_editor::do_read_init_file): New function. | |
7876 * cmd-edit.cc (command_editor::read_init_file): New function. | |
7877 (gnu_readline::do_read_init_file): Likewise. | |
7878 | |
3185 | 7879 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7880 | |
7881 * oct-env.cc (octave_env::do_get_home_directory): | |
7882 If HOME can't be found, set it to "/". | |
7883 (octave_env::do_get_user_name) | |
7884 If user name can't be found, set it to "unknown". | |
7885 (octave_env::do_get_host_name) | |
7886 If host name can't be found, set it to "unknown". | |
7887 | |
7888 * pathsearch.h (dir_path::rehash): New function. | |
7889 * pathsearch.cc (dir_path::init): Clear kpathsea's internal | |
7890 diretcory cache before doing initialization. | |
7891 | |
3180 | 7892 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7893 | |
3185 | 7894 * dMatrix.cc (Qzval): Delete. |
7895 (qzhes, qzit, qzval): Delete F77_FCN declarations. | |
7896 * dMatrix.h (Qzval): Delete declaration. | |
7897 | |
7898 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. | |
7899 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. | |
7900 * mx-ext.h: Don't include dbleGEPBAL. | |
7901 | |
3180 | 7902 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
7903 static_cast. | |
7904 | |
7905 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7906 | |
7907 * dMatrix.cc (Matrix::read): Skip after reading, not before. | |
7908 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. | |
7909 | |
7910 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7911 | |
7912 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on | |
7913 HUGE_VAL and NAN. | |
7914 | |
7915 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7916 | |
7917 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
7918 Handle x(i) = scalar for do_fortran_indexing == 1. | |
7919 | |
7920 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7921 | |
7922 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): | |
7923 Alloctate space before attempting to use it. | |
7924 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. | |
7925 | |
5095 | 7926 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
3178 | 7927 |
7928 * EIG.cc (EIG::init): Move invariant code outside loop. | |
7929 | |
7930 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7931 | |
7932 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result | |
7933 have the same size as the operands. | |
7934 | |
7935 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7936 | |
7937 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the | |
7938 call to ddassl, set integration_error to 1 before calling the | |
7939 error handler and returning. | |
7940 * LSODE.cc (LSODE::do_integrate): Likewise. | |
7941 | |
3177 | 7942 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7943 | |
7944 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if | |
7945 do_fortran_indexing is set, A([]) = scalar. | |
7946 * Array-idx.h (assign): Allow A([]) = scalar. | |
7947 | |
3176 | 7948 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7949 | |
7950 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not | |
7951 if dm_nc == 0. | |
7952 | |
3174 | 7953 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7954 | |
7955 * pathsearch.h (dir_path::p_orig): New field. | |
7956 * pathsearch.cc (dir_path::init): Perform variable and tilde | |
7957 expansion on the original path here. | |
7958 (dir_path::find_all): Don't do anything if not initialized. | |
7959 | |
3164 | 7960 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7961 | |
7962 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing | |
7963 is not set. | |
7964 (index): Allow x = zeros (2, 0); x(1,:) to work. | |
7965 | |
7966 * lo-specfun.cc (gammainc): Use dgamit to compute | |
7967 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just | |
7968 \int_0^x exp(-t) t^(a-1) dt. | |
7969 | |
7970 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7971 | |
7972 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, | |
7973 Array-s.cc: Change return types of all `assign' explicit | |
7974 instantiations to be int, not void, to match the template decl in | |
7975 Array.h. | |
7976 | |
3162 | 7977 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7978 | |
7979 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. | |
7980 | |
3156 | 7981 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7982 | |
7983 * lo-specfun.cc (xgamma, xlgamma): Define here. | |
7984 * lo-mappers.cc: Not here. | |
7985 | |
7986 * lo-specfun.h: Declare xgamma and xlgamma here. | |
7987 * lo-mappers.h: Not here. | |
7988 | |
7989 * lo-specfun.h: Never declare gamma or lgamma. | |
7990 | |
3154 | 7991 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7992 | |
7993 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an | |
7994 empty matrix of any dimension. | |
7995 | |
3145 | 7996 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7997 | |
3147 | 7998 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
7999 | |
3146 | 8000 * lo-specfun.cc: Don't include dbleBessel.h. |
8001 | |
8002 * Makefile.in (INCLUDES): Delete oct-math.h from the list. | |
8003 | |
3145 | 8004 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
8005 * file-stat.h (file_stat::operator bool ()): Likewise. | |
8006 * idx-vector.h (idx_vector::operator bool ()): Likewise. | |
8007 * oct-group.h (octave_group::operator bool ()): Likewise. | |
8008 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. | |
8009 | |
8010 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): | |
8011 Don't cast arg in call to swap_8_bytes. | |
8012 (IEEE_big_double_to_IEEE_little_double): Ditto | |
8013 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to | |
8014 swap_4_bytes. | |
8015 (IEEE_little_float_to_IEEE_big_float): Ditto | |
8016 | |
8017 * oct-alloc.cc (grow): Use X_CAST, not static_cast. | |
8018 * prog-args.cc (prog_args::getopt): Likewise. | |
8019 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. | |
8020 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. | |
8021 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): | |
8022 Likewise. | |
8023 | |
8024 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, | |
8025 swap_8_bytes): Declare ptr arg as void*, then use cast. | |
8026 | |
3141 | 8027 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8028 | |
8029 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). | |
8030 Use $(mk-libdir-link). | |
8031 | |
8032 * file-stat.cc (file_stat::update_internal): Use stat and lstat, | |
8033 not SAFE_STAT and SAFE_LSTAT. | |
8034 (lstat): New function, defined if HAVE_LSTAT is not defined. | |
8035 * safe-xstat.hin, safe-xstat.cin: Delete. | |
8036 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, | |
8037 safe-lstat.h, and safe-lstat.cc. | |
8038 | |
3136 | 8039 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8040 | |
8041 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. | |
8042 | |
3130 | 8043 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8044 | |
8045 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the | |
8046 trace is negative. | |
8047 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if | |
8048 the real part of the trace is negative. | |
8049 | |
8050 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8051 | |
8052 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. | |
8053 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. | |
8054 | |
8055 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] | |
8056 to succeed. | |
8057 | |
3125 | 8058 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8059 | |
8060 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. | |
8061 (make_uniq): Likewise. | |
8062 | |
8063 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8064 | |
8065 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. | |
8066 | |
3119 | 8067 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8068 | |
3121 | 8069 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
8070 | |
8071 * lo-specfun.h, lo-specfun.cc: New files. | |
3119 | 8072 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
8073 | |
3121 | 8074 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
8075 oct-math.h: Delete. | |
8076 * Makefile.in (SOURCES): Delete them from the list. | |
8077 | |
3112 | 8078 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8079 | |
8080 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. | |
8081 | |
5095 | 8082 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
3107 | 8083 |
8084 Changes to make support egcs snapshots that implement explicit | |
8085 specification of template functions according to CD2. | |
8086 | |
8087 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit | |
8088 template function specs for template friends. | |
8089 * MArray2.h: Likewise. | |
8090 * MDiagArray2.h: Likewise. | |
8091 | |
3095 | 8092 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8093 | |
8094 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) | |
8095 | |
3092 | 8096 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
8097 | |
8098 * CRowVector.cc (linspace): Removed attempt for implicit conversion | |
8099 to complex<double>(int) instead of complex<double>(double). | |
8100 | |
8101 * lo-mappers.cc (atanh): Ditto. | |
8102 | |
3079 | 8103 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8104 | |
8105 * idx-vector.cc (IDX_VEC_REP::sort): New function. | |
8106 * idx-vector.h (idx_vector::sort): Ditto. | |
8107 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before | |
8108 trying to delete elements specified by the index vectors. | |
8109 | |
3075 | 8110 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8111 | |
8112 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. | |
8113 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. | |
8114 | |
3074 | 8115 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8116 | |
8117 * file-ops.cc (tilde_expand_word): Fix off-by-one error. | |
8118 | |
3069 | 8119 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8120 | |
8121 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. | |
8122 Call error handler if we can't find the current directory. | |
8123 | |
3068 | 8124 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8125 | |
3069 | 8126 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
8127 (xfinite (double)): Ditto. | |
8128 | |
3068 | 8129 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
8130 * CmplxQR.cc (ComplexQR::init): Ditto. | |
8131 | |
3056 | 8132 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8133 | |
8134 * lo-mappers.cc (acos (const Complex&)): Select branch that is | |
8135 compatible with Matlab. | |
8136 | |
3050 | 8137 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8138 | |
8139 * Array2-idx.h: Correctly handle empty matrices indexed by a | |
8140 single colon. | |
8141 | |
3040 | 8142 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8143 | |
3049 | 8144 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
8145 (xgamma): Likewise, for calling xdgamma. | |
8146 | |
3042 | 8147 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
8148 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. | |
8149 | |
3040 | 8150 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
8151 to do better job expanding tildes. | |
8152 | |
8153 * str-vec.cc (string_vector::string_vector (const char * const *): | |
8154 Use temporary variable to compute length. | |
8155 | |
3029 | 8156 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8157 | |
3034 | 8158 * Makefile.in: Make building of static library optional. |
3036 | 8159 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034 | 8160 |
3029 | 8161 * Makefile.in (stamp-picdir): Delete. |
8162 (pic): New target. Don't worry so much about creating pic | |
8163 directory only when it is really needed. | |
8164 (stamp-interp): Delete. | |
8165 (libraries): New target. Depend on shared library directly. | |
8166 | |
3024 | 8167 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8168 | |
8169 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): | |
8170 New static function. | |
8171 | |
3012 | 8172 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8173 | |
8174 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. | |
8175 | |
3004 | 8176 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8177 | |
8178 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to | |
8179 set_basic_quote_characters, to match new version of readline. | |
8180 | |
8181 * cmd-edit.cc (do_restore_terminal_state): Call readline function | |
8182 for restoring terminal state through rl_deprep_term_function, now | |
8183 declared in readline.h | |
8184 (rl_deprep_terminal): Delete declaration. | |
8185 | |
2993 | 8186 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8187 | |
8188 * Makefile.in (install-in): Use new mk-includedir-link macro. | |
8189 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. | |
8190 | |
2968 | 8191 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8192 | |
8193 * cmd-edit.cc (command_editor::increment_current_command_number): | |
8194 New static function. | |
8195 | |
2964 | 8196 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8197 | |
2966 | 8198 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
8199 the vector is not sorted. | |
8200 | |
2964 | 8201 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
8202 * dMatrix.cc (Matrix::operator !): Likewise | |
8203 | |
2941 | 8204 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8205 | |
8206 * oct-syscalls.h, oct-syscalls.cc: New files. | |
8207 | |
8208 * cmd-edit.h, cmd-edit.cc: Handle completion function. | |
8209 | |
8210 * str-vec.h, str-vec.cc (string_vector::uniq): New function. | |
8211 | |
2938 | 8212 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8213 | |
2941 | 8214 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
8215 (install-inc): Use it. | |
8216 | |
2938 | 8217 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
8218 Handle errors and missing functions consistently. | |
8219 | |
8220 * oct-group.h, oct-group.cc: New files. | |
8221 | |
8222 * oct-passwd.cc: Handle errors and missing functions consistently. | |
8223 | |
8224 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. | |
8225 | |
2934 | 8226 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8227 | |
8228 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. | |
8229 * oct-env.cc (octave_env::do_get_user_name): Likewise. | |
8230 | |
8231 * oct-passwd.h, oct-passwd.cc: New files. | |
8232 | |
2926 | 8233 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8234 | |
8235 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. | |
8236 | |
8237 * mach-info.h, mach-info.cc: Add missing const qualifiers. | |
8238 (instance_ok ()): New function. | |
8239 | |
8240 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. | |
8241 | |
8242 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. | |
8243 | |
8244 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from | |
8245 src/utils.h and src/utils.cc. | |
8246 (octave_fgets): New function, extracted from src/input.cc. | |
8247 | |
8248 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for | |
8249 GNU readline, and allow Octave to work without GNU readline. | |
8250 | |
8251 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous | |
8252 system-dependent functions. | |
8253 | |
8254 * oct-env.h, oct-env.cc: New files for process environment stuff. | |
8255 | |
8256 * file-stat.h, file-stat.cc: New files. Extract file_stat class | |
8257 from file-ops.h and file-ops.cc and move here. | |
8258 | |
8259 * file-ops.h, file-ops.cc: Wrap functions in struct. Move | |
8260 tilde_expand functions here from src/dirfns.cc. | |
8261 | |
8262 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8263 | |
8264 * pathlen.h: New file, from ../src. | |
8265 | |
2917 | 8266 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8267 | |
8268 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent | |
8269 out-of-bounds indexing of the index array. | |
8270 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. | |
8271 | |
2850 | 8272 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8273 | |
8274 * LSODE.h (x_step_limit): New field. | |
8275 (LSODE_options::init): Initialize it. | |
8276 (LSODE_options::copy): Copy it. | |
8277 (LSODE_options::set_step_limit, LSODE_options::step_limit): | |
8278 New functions. | |
8279 (LSODE::working_too_hard): Delete. | |
8280 * LSODE.cc (LSODE::do_integrate): Handle step limit. | |
8281 | |
2844 | 8282 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8283 | |
8284 * MArray-b.cc: Delete. | |
8285 * Makefile.in: Delete it from the lists. | |
8286 | |
8287 * boolMatrix.h (class bboolMatrix): Derive from Array2, not | |
8288 MArray2, since most of the numeric ops don't really make sense. | |
8289 | |
2829 | 8290 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8291 | |
2832 | 8292 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
8293 | |
8294 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. | |
8295 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. | |
8296 | |
2830 | 8297 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
8298 idx_vector::freeze): Delete prefer_zero_one arg. | |
8299 * Array-idx.h, Array2-idx.h: Change all callers. | |
8300 | |
8301 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. | |
8302 | |
2829 | 8303 * mx-op-defs.h: New file for operator definitions. |
8304 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, | |
8305 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, | |
8306 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, | |
8307 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, | |
8308 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, | |
8309 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, | |
8310 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, | |
8311 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, | |
8312 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, | |
8313 mx-s-cm.cc, mx-s-dm.cc: | |
8314 New files for mixed-type operations. | |
8315 * Makefiles.in: Add them to the appropriate lists. | |
8316 | |
8317 * mx-inlines.cc: Add bool by bool EQ ops. | |
8318 | |
8319 * idx-vector.h, idx-vector.cc: Add constructors for bool and | |
8320 boolMatrix types. | |
8321 (idx_vector::maybe_convert_one_zero_to_idx, | |
8322 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): | |
8323 Delete second arg, prefer_zero_one. Change all callers. | |
8324 | |
8325 * boolMatrix.h, boolMatrix.cc: New files. | |
8326 * mx-base.h: Include boolMatrix.h here. | |
8327 * mx-defs.h: Provide forward declaration for boolMatrix here. | |
8328 | |
8329 * chMatrix.h, chMatrix.cc: Delete unused junk. | |
8330 | |
8331 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, | |
8332 operator-, operator*, product, and quotient functions. | |
8333 Add constructor for boolMatrix type. | |
8334 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, | |
8335 product, and quotient functions. | |
8336 | |
8337 * CDiagMatrix.h: Delete friend declarations for operator+, | |
8338 operator-, and product functions. | |
8339 * CDiagMatrix.h: Delete operator+, operator-, and product functions. | |
8340 | |
8341 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. | |
8342 | |
2815 | 8343 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8344 | |
8345 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. | |
8346 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. | |
8347 (EIG::symmetric_init (const Matrix&)): New function. | |
8348 (EIG::init (const Matrix&)): Call it if arg is symmetric. | |
8349 | |
8350 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. | |
8351 | |
8352 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8353 | |
8354 * Array2.cc (is_symmetric): New function. | |
8355 * Array2.h (is_square): New function. | |
8356 | |
2811 | 8357 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8358 | |
8359 * Makefile.in (install-strip): New target. | |
8360 | |
2804 | 8361 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8362 | |
8363 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
8364 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, | |
8365 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
8366 dbleSVD.cc: Don't include mx-inlines.cc. | |
8367 | |
8368 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of | |
8369 duplicate code. | |
8370 | |
2800 | 8371 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8372 | |
2804 | 8373 * dbleQR.h (QR): Delete extra comma at end of list. |
8374 | |
8375 * prog-args.cc (prog_args::getopt): Add missing const in cast. | |
8376 | |
8377 * dbleSVD.h (SVD::type): Delete extra comma at end of list. | |
8378 | |
8379 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and | |
8380 idx_vecotr_rep:: qualifiers. | |
8381 | |
8382 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. | |
8383 | |
8384 * data-conv.h (save_type): Delete extra comma at end of list. | |
8385 | |
2800 | 8386 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
8387 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, | |
8388 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of | |
8389 old C-style `(T) val' casts. | |
8390 | |
2795 | 8391 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8392 | |
8393 * dMatrix.cc (operator >>): Return if an error occurs instead of | |
8394 just breaking out of the innermost loop. | |
8395 * CMatrix.cc (operator >>): Likewise. | |
8396 | |
2779 | 8397 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775 | 8398 |
8399 * Version 2.0.5 released. | |
8400 | |
2767 | 8401 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8402 | |
8403 * CmplxQR.cc (ComplexQR::init): New function. | |
8404 (ComplexQR::ComplexQR): Use it. Use initializer list too. | |
8405 * CmplxQRP.cc (ComplexQRP::init): New function. | |
8406 Get sizes right in all cases. | |
8407 (ComplexQR::ComplexQRP): Use it. Use initializer list too. | |
8408 | |
8409 * dbleQR.cc (QR::init): New function. | |
8410 (QR::QR): Use it. Use initializer list too. | |
8411 * dbleQRP.cc (QRP::init): New function. | |
8412 Get sizes right in all cases. | |
8413 (QR::QRP): Use it. Use initializer list too. | |
8414 | |
2759 | 8415 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8416 | |
8417 * mach-info.cc (oct_mach_info::string_to_float_format): | |
8418 Recognize "vaxg", not "vax_g". | |
8419 | |
2713 | 8420 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8421 | |
2714 | 8422 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
8423 dimension in check for colon equivalent index. | |
8424 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element | |
8425 index whose value is 0 is also colon eqivalent for n == 1. | |
8426 | |
2713 | 8427 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
8428 system-specific tests first. | |
8429 | |
2709 | 8430 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702 | 8431 |
8432 * Version 2.0.4 released. | |
8433 | |
8434 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8435 | |
8436 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. | |
8437 | |
2693 | 8438 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690 | 8439 |
8440 * Version 2.0.3 released. | |
8441 | |
2686 | 8442 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8443 | |
8444 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. | |
8445 | |
2673 | 8446 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8447 | |
2676 | 8448 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
8449 (all): Don't depend on stamp-prereq or stamp-picdir. | |
8450 (liboctave.a, stamp-shared): Do depend on stamp-prereq. | |
8451 (stamp-picdir): Silence noise about making pic. | |
8452 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. | |
8453 | |
2673 | 8454 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
8455 Fix typo in last change. | |
8456 | |
8457 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): | |
8458 Convert from friend (moved from dColVector.cc). | |
8459 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): | |
8460 Likewise (moved from dMatrix.cc). | |
8461 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): | |
8462 Likewise (moved from dRowVector.cc). | |
8463 | |
8464 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. | |
8465 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. | |
8466 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. | |
8467 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. | |
8468 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. | |
8469 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. | |
8470 | |
8471 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. | |
8472 * dMatrix.cc (Matrix::apply): Likewise. | |
8473 * dRowVector.cc (RowVector::apply): Likewise. | |
8474 * CColVector.cc (ComplexColumnVector::apply): Likewise. | |
8475 * CMatrix.cc (ComplexMatrix::apply): Likewise. | |
8476 * CRowVector.cc (ComplexRowVector::apply): Likewise. | |
8477 | |
2668 | 8478 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8479 | |
8480 * lo-ieee.cc: Declare quiet_nan() and infinity(). | |
8481 | |
8482 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8483 | |
8484 * file-ops.cc (oct_unlink (const string&, string&)): | |
8485 New two-arg version. | |
8486 (oct_rmdir (const string&, string&)): New two-arg version. | |
8487 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. | |
8488 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. | |
8489 (oct_rename (const string&, const string&, string&)): | |
8490 New three-arg version. | |
8491 | |
2663 | 8492 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8493 | |
8494 * idx-vector.h (idx_vector::orig_empty): New function. | |
8495 | |
8496 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): | |
8497 Don't always resize to [](0x0) if one of the indices is empty or | |
8498 zero. | |
8499 | |
2658 | 8500 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8501 | |
8502 * cmd-hist.cc (command_history::read): New arg, must_exist. | |
8503 Set line_in_file here too. | |
8504 (command_history::read_range): New arg, must_exist. | |
8505 | |
2651 | 8506 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8507 | |
8508 * f2c-main.c: Change C++-style comments to C-style comments. | |
8509 | |
2638 | 8510 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8511 | |
8512 * Makefile.in (install-inc): Create a relative symbolic link. | |
8513 | |
2634 | 8514 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8515 | |
8516 * Version 2.0.2 released. | |
8517 | |
2624 | 8518 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8519 | |
8520 * Makefile.in (bin-dist): New target. | |
8521 | |
2621 | 8522 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8523 | |
8524 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. | |
8525 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. | |
8526 | |
2613 | 8527 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8528 | |
8529 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
8530 If the number of columns is zero, also set the number of rows to zero. | |
8531 (charMatrix::charMatrix (const char *)): Likewise. | |
8532 | |
2602 | 8533 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8534 | |
8535 * Version 2.0.1 released. | |
8536 | |
2601 | 8537 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8538 | |
8539 * dMatrix.cc (Matrix::read): Correctly compute the number of | |
8540 columns for resizing when the number of rows is specified but the | |
8541 number of columns is not. | |
8542 | |
2598 | 8543 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8544 | |
2599 | 8545 * Range.cc (operator -): New function. |
8546 | |
2598 | 8547 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
8548 | |
2589 | 8549 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8550 | |
8551 * Array2-idx.h (assign): Delay resizing left hand side until we | |
8552 know if the assignment conforms. | |
8553 | |
2583 | 8554 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8555 | |
8556 * Version 2.0 released. | |
8557 | |
2570 | 8558 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8559 | |
2575 | 8560 * Array2-idx.h (assign): If index is a colon, set number of |
8561 elements to the lhs dimension if the lhs dimension is greater than | |
8562 zero. Otherwise, set it to the rhs dimension. | |
8563 | |
8564 * Version 1.94. | |
8565 | |
2570 | 8566 * Array2-idx.h (assign): Test for rhs scalar case first. |
8567 If index is colon, set number of elements to lhs dimension, not | |
8568 rhs dimension. | |
8569 | |
2563 | 8570 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8571 | |
2566 | 8572 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
8573 * sun-utils.cc: Delete. | |
8574 * f2c-main.c: New file | |
8575 | |
8576 * Makefile.in: Fix file name lists. | |
8577 | |
2563 | 8578 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
8579 | |
2561 | 8580 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8581 | |
8582 * dMatrix.cc (Qzval): Don't try to use same memory three times. | |
8583 Create result using Complex constructor, not multiplication. | |
8584 Order elements as they are returned from Eispack. | |
8585 | |
2559 | 8586 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8587 | |
2560 | 8588 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
8589 Only include nan.h if SCO is defined. Define _IEEE before | |
8590 including it and undefine it afterward. | |
8591 [SCO] (isnan): Don't mistake Inf as NaN. | |
8592 | |
2559 | 8593 * Array-idx.h (assign): Only resize if assignment conforms. |
8594 | |
2551 | 8595 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8596 | |
8597 * Makefile.in (INCLUDES): Delete lo-error.h. | |
8598 * lo-error.h: Delete (moved to libcruft/misc). | |
8599 | |
8600 * Version 1.93. | |
8601 | |
2546 | 8602 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8603 | |
2549 | 8604 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
8605 be the same as they are in fnmatch.h. | |
8606 | |
2546 | 8607 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
8608 | |
8609 * Makefile.in (INCLUDES): Delete f77-fcn.h. | |
8610 (SOURCES): Delete f77-fcn.c. | |
8611 | |
2522 | 8612 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8613 | |
8614 * lo-ieee.h: [SCO]: Declare isinf and isnan. | |
8615 | |
2512 | 8616 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8617 | |
8618 * Version 1.92. | |
8619 | |
2508 | 8620 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8621 | |
2512 | 8622 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
8623 lines that have only carriage return or newline. | |
8624 | |
2508 | 8625 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
8626 | |
2500 | 8627 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8628 | |
8629 * idx-vector.cc (idx_is_inf_or_nan): New function. | |
8630 (IDX_VEC_REP::idx_vector_rep): Use it. | |
8631 | |
2493 | 8632 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8633 | |
8634 * str-vec.h, str-vec.cc: Add constructors to make string vectors | |
8635 from vectors of C strings. | |
8636 | |
8637 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string | |
8638 vector. | |
8639 (glob_match::match): Allow match string to be a string vector. | |
8640 (glob_match::glob): New function. | |
8641 | |
8642 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. | |
8643 | |
8644 * Array-b.cc: New file. | |
8645 * Makefile.in (TI_SRC): Add it to the list. | |
8646 | |
2492 | 8647 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8648 | |
8649 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h | |
8650 and safe-stat.h, to avoid getting them from $srcdir when we really | |
8651 want the version from the build directory. (Maybe this should be | |
8652 done for all the include files, not just those that are | |
8653 auto-generated? Hmm.) | |
8654 | |
2481 | 8655 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8656 | |
2482 | 8657 * Version 1.91. |
8658 | |
2481 | 8659 * Array3.cc (Array3<T>::resize): Make it work. |
8660 | |
8661 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8662 | |
8663 * oct-alloc.h, oct-alloc.cc: New files. | |
8664 * Makefile.in: Add them to the lists. | |
8665 | |
8666 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8667 | |
8668 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. | |
8669 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. | |
8670 | |
2466 | 8671 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8672 | |
8673 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, | |
8674 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
8675 file_stat::is_reg, file_stat::is_sock): Just return false if the | |
8676 underlying macro is not defined. | |
8677 | |
8678 * oct-math.h (lgamma, gamma): Delete declarations. | |
8679 (asinh, acosh, atanh, erf, erfc): Declare arg types too. | |
8680 Protect declarations with #ifdef HAVE_*. | |
8681 | |
2440 | 8682 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8683 | |
2452 | 8684 * Version 1.90. |
8685 | |
8686 * Makefile.in (DISTFILES): Add ChangeLog. | |
8687 | |
2444 | 8688 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
8689 | |
8690 * Matrix-ext.cc: Include <cfloat>, not <float.h>. | |
8691 | |
2443 | 8692 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444 | 8693 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
8694 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. | |
2443 | 8695 |
2440 | 8696 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
8697 since that is now accepatble syntax, even for built-in types. | |
8698 * Array2.h (T Array2<T>::checkelem): Likewise | |
8699 | |
2433 | 8700 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8701 | |
8702 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error | |
8703 message and return -1. | |
8704 | |
2428 | 8705 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8706 | |
2431 | 8707 * str-vec.h (str_vec_compare): Declare args as const void *, then |
8708 cast them to const string * in the body of the function. | |
8709 | |
8710 * file-ops.cc (file_stat::mode_as_string): Explicitly construct | |
8711 string from buf. | |
8712 | |
2428 | 8713 * Array3.h (Array3::checkelem): Tag bogus return value with |
8714 GCC_ATTRIBUTE_UNUSED. | |
8715 * Array2.h (Array2::checkelem): Likewise. | |
8716 | |
2424 | 8717 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8718 | |
8719 * Quad.h (Quad): Define virtual destructor. | |
8720 | |
2408 | 8721 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8722 | |
8723 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. | |
8724 | |
2401 | 8725 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8726 | |
8727 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ | |
8728 and MAIN__ extern "C". | |
8729 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. | |
8730 | |
2391 | 8731 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8732 | |
8733 * MArray-misc.cc: New file. | |
8734 * Makefile.in (MATRIX_SRC): Add it to the list. | |
8735 | |
8736 * mx-inlines.cc (equal): Return bool, not int. | |
8737 | |
8738 * idx-vector.h (idx_vector (double)): New constructor. | |
8739 | |
8740 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, | |
8741 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, | |
8742 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, | |
8743 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, | |
8744 CRowVector.cc: Logical operators return bool, not int. | |
8745 | |
8746 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): | |
8747 New function. | |
8748 | |
8749 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, | |
8750 Matrix::any_element_is_inf_or_nan, Matrix::abs, | |
8751 Matrix::all_elements_are_inf_or_nan): New functions. | |
8752 | |
8753 * Range.h, Range.cc (Range::all_elements_are_ints): New function. | |
8754 | |
8755 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant | |
8756 for errors. Simplify macros by converting FCN to string for error | |
8757 messages. | |
8758 | |
8759 * Array-idx.h (Array<T>::index): New function. Don't call | |
8760 clear_index() here. | |
8761 (Array<T>::value): Call it, do call clear_index() here. | |
8762 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for | |
8763 one and two arg index functions. | |
8764 | |
8765 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8766 | |
8767 * DAEFunc.h: Delete #pragma interface since there is no longer a | |
8768 separate implementation file. | |
8769 | |
2354 | 8770 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8771 | |
2358 | 8772 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
8773 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. | |
8774 | |
2356 | 8775 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
8776 sort_uniq. If sort_uniq is nonzero, sort the elements and make | |
8777 them uniq. | |
8778 | |
2354 | 8779 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
8780 ComplexMatrix::column_max, ComplexMatrix::column_min): | |
8781 Rewrite. Also return index as a reference arg. | |
8782 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, | |
8783 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): | |
8784 Delete. | |
8785 | |
8786 * dMatrix.cc (Matrix::row_max, Matrix::row_min, | |
8787 Matrix::column_max, Matrix::column_min): | |
8788 Rewrite. Also return index as a reference arg. | |
8789 (Matrix::row_max_loc, Matrix::row_min_loc, | |
8790 Matrix::column_max_loc, Matrix::column_min_loc): Delete. | |
8791 | |
8792 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8793 | |
8794 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, | |
8795 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, | |
8796 Matrix::column_min_loc, Matrix::column_max, | |
8797 Matrix::column_max_loc): Ignore leading NaNs. | |
8798 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, | |
8799 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, | |
8800 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, | |
8801 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore | |
8802 leading NaNs. | |
8803 | |
2352 | 8804 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8805 | |
8806 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds | |
8807 starting at n, not 0. | |
8808 | |
2349 | 8809 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8810 | |
8811 * dMatrix.cc (Matrix::Matrix (const RowVector&), | |
8812 Matrix::Matrix (const ColumnVector&)): New constructors. | |
8813 | |
8814 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), | |
8815 ComplexMatrix::ComplexMatrix (const ColumnVector&), | |
8816 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), | |
8817 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): | |
8818 New constructors. | |
8819 | |
8820 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): | |
8821 New constructor. | |
8822 | |
2343 | 8823 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8824 | |
8825 * LSODE.cc (do_integrate): Check to make sure that the state and | |
8826 derivative vectors are the same size. | |
2344 | 8827 * DASSL.cc (do_integrate): Likewise. |
2343 | 8828 |
2330 | 8829 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8830 | |
8831 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use | |
8832 iostreams and handler data format conversions. Delete old methods | |
8833 that used stdio. | |
8834 | |
8835 * data-conv.h, data-conv.cc (oct_data_conv): New class. | |
8836 | |
8837 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8838 | |
8839 * mach-info.h: Rename from float-fmt.h. | |
8840 * mach-info.cc: Rename from float-fmt.cc. | |
8841 Handle machine information using a singlton class. | |
8842 * Makefile.in: Update appropriate lists. | |
8843 | |
8844 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8845 | |
8846 * Array-flags.cc: Provide definitions for the flags even if | |
8847 OCTAVE_SOURCE is not defined. | |
8848 | |
8849 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects | |
8850 operator(), not elem(). | |
8851 * Array3.h: Move indexing methods here from Array3.cc. | |
8852 | |
8853 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8854 | |
8855 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). | |
8856 | |
8857 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of | |
8858 INSTALL_DATA for shared libs. | |
8859 | |
8860 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8861 | |
8862 * Quad.cc: Include lo-error.h here too. | |
8863 | |
8864 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8865 | |
8866 * file-ops.h: Include sys/types.h here. | |
8867 | |
8868 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8869 | |
8870 * chMatrix.cc (charMatrix::transpose): Provide definition. | |
8871 | |
8872 * Array-idx.h (maybe_delete_elements): Correctly compute number of | |
8873 elements in result. | |
8874 * Array2-idx.h (maybe_delete_elements): Likewise for number of | |
8875 rows and columns in result. | |
8876 | |
8877 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8878 | |
8879 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. | |
8880 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. | |
8881 | |
8882 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8883 | |
8884 * Makefile.in (install-inc): Install in octincludedir, not includedir. | |
8885 | |
8886 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8887 | |
8888 * Makefile.in (uninstall): Also delete shared library. | |
8889 Split install into install-libs and install-includes. | |
8890 (install-inc): If linkdir is a directory, leave it alone. | |
8891 | |
8892 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. | |
8893 | |
8894 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8895 | |
8896 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. | |
8897 * Array2-idx.h (assign): Likewise. | |
8898 | |
8899 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8900 | |
8901 * Array2.cc (Array2<T>::range_error): New functions. | |
8902 | |
8903 * Array.h (class Array<T>): elem() and operator() are now | |
8904 equivalent, and do bounds checking by default. | |
8905 * Array2.cc (class Array2<T>): Likewise. | |
8906 | |
8907 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8908 | |
8909 * Makefile.in (maintainer-clean, distclean): Also delete | |
8910 stamp-picdir, stamp-shared, and pic directory. | |
8911 (stamp-prereq): New target. | |
8912 | |
8913 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8914 | |
8915 * NPSOL.h (NPSOL_options::set_option (const char *, int)): | |
8916 New function. | |
8917 | |
8918 * Array.h, Array.cc (Array<T>::range_error ()): New functions. | |
8919 * Array.h (Array<T>::checkelem): Use them. | |
8920 | |
8921 * base-lu.h, base-lu.cc: Parameterize based on types of matrix | |
8922 elements too. | |
8923 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. | |
8924 | |
8925 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. | |
8926 | |
8927 * Makefile.in (distclean): Delete so_locations, which is created | |
8928 on DEC Alpha systems. | |
8929 | |
8930 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8931 | |
8932 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not | |
8933 already defined. | |
8934 | |
8935 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8936 | |
8937 * pathsearch.cc: Include config.h. | |
8938 | |
8939 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8940 | |
8941 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't | |
8942 allow M(I, J) = scalar if I or J is empty. | |
8943 | |
8944 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h | |
8945 and Array3-idx.h). | |
8946 | |
8947 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8948 | |
8949 * lo-error.h: Make comments C friendly. | |
8950 | |
8951 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8952 | |
8953 * Array2.h (make_unique): Move all indexing functions here. | |
8954 * Array2.cc: From here. | |
8955 | |
8956 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control | |
8957 whether operator() calls elem or checkelem. | |
8958 | |
8959 * Array.h (make_unique): New private function. | |
8960 Move all indexing functions here. | |
8961 * Array.cc: From here. | |
8962 | |
8963 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference | |
8964 it too. | |
8965 | |
8966 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, | |
8967 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, | |
8968 MArray-C.cc: Include config.h. | |
8969 | |
8970 * Array.h, Array2.h, DiagArray2.h, Array3.h: | |
8971 Don't define HEAVYWEIGHT_INDEXING here. | |
8972 | |
8973 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8974 | |
8975 * base-lu.h, base-lu.cc: New files. | |
8976 * Makefile.in: Add them to the appropriate lists. | |
8977 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. | |
8978 | |
8979 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8980 | |
8981 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h | |
8982 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h | |
8983 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. | |
8984 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. | |
8985 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. | |
8986 | |
8987 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. | |
8988 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. | |
8989 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. | |
8990 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: | |
8991 Simplify using new macros. | |
8992 | |
8993 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8994 | |
8995 * Makefile.in (install): If $(includedir) ends in version string, | |
8996 make link to name that does not include version info. | |
8997 | |
8998 * lo-ieee.cc: Include <cmath> here. | |
8999 | |
9000 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9001 | |
9002 * lo-ieee.cc, lo-ieee.h: New files. | |
9003 * lo-mappers.cc, lo-mappers.h: New files. | |
9004 * lo-utils.cc, lo-utils.h: New files. | |
9005 * Makefile.in: Add them to the appropriate lists. | |
9006 | |
9007 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9008 | |
9009 * dMatrix.cc (all_integers, too_large_for_float): New functions. | |
9010 * CMatrix.cc (all_integers, too_large_for_float): New functions. | |
9011 | |
9012 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, | |
9013 float-fmt.cc: New files. | |
9014 * Makefile.in: Include them in the appropriate lists. | |
9015 | |
9016 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9017 | |
9018 * dMatrix.cc (Qzval): New function. | |
9019 | |
9020 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9021 | |
9022 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not | |
9023 char*. | |
9024 | |
9025 * DASSL.h, DASSL.cc: Do better management of temporary workspace. | |
9026 Use F77_XFCN to call Fortran subroutine. | |
9027 * dColVector.cc, CColVector.cc: Likewise. | |
9028 * dRowVector.cc, CRowVector.cc: Likewise. | |
9029 * NPSOL.h, NPSOL.cc: Likewise. | |
9030 * CmplxCHOL.cc: Likewise. | |
9031 * dbleCHOL.cc: Likewise. | |
9032 * CMatrix.cc: Likewise. | |
9033 * dMatrix.cc: Likewise. | |
9034 * QPSOL.cc: Likewise. | |
9035 * LSODE.cc: Likewise. | |
9036 | |
9037 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9038 | |
9039 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. | |
9040 | |
9041 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary | |
9042 workspace. Use F77_XFCN to call Fortran subroutine. | |
9043 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. | |
9044 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. | |
9045 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. | |
9046 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. | |
9047 * CmplxHESS.h, CmplxHESS.cc: Likewise. | |
9048 * CmplxSVD.h, CmplxSVD.cc: Likewise. | |
9049 * dbleHESS.h, dbleHESS.cc: Likewise. | |
9050 * dbleSVD.h, dbleSVD.cc: Likewise. | |
9051 * EIG.h, EIG.cc; Likewise. | |
9052 * CollocWt.cc: Likewise. | |
9053 * NLEqn.cc: Likewise. | |
9054 * Quad.cc: Likewise. | |
9055 | |
9056 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9057 | |
9058 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. | |
9059 Use F77_XFCN to call Fortran subroutine. | |
9060 * CmplxLU.h, CmplxLU.cc: Ditto. | |
9061 * dbleQR.h, dbleQR.cc: Ditto. | |
9062 * CmplxQR.h, CmplxQR.cc: Ditto. | |
9063 * dbleQRP.h, dbleQRP.cc: Ditto. | |
9064 * CmplxQRP.h, CmplxQRP.cc: Ditto. | |
9065 | |
9066 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. | |
9067 (struct DIR): delete forward declaration. | |
9068 (dir_entry::operator = (const dir_entry$)): Protect against | |
9069 copying same object. | |
9070 * dir-ops.cc: Cast dir appropriately. | |
9071 | |
9072 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9073 | |
9074 * lo-error.cc: Moved to libcruft/misc. | |
9075 * Makefile.in: Delete it from the list. | |
9076 | |
9077 * f77-fcn.c (f77_context, f77_exception_encountered): Delete | |
9078 definitions (they have been moved to libcruft/misc/f77-extern.cc). | |
9079 | |
9080 * Array-flags.h: New file. | |
9081 * Array-idx.h: Include it here. | |
9082 * Makefile.in (MATRIX_INC): Add it to the list. | |
9083 | |
9084 * Array-flags.cc: Renamed from Array-ext.cc. | |
9085 (liboctave_dfi_flag): Renamed from dfi_flag. | |
9086 (liboctave_pcv_flag): Renamed from pcv_flag. | |
9087 (liboctave_pzo_flag): Renamed from pzo_flag. | |
9088 (liboctave_rre_flag): Renamed from rre_flag. | |
9089 * Array-idx.h: Change all uses of dfi_flag, etc. | |
9090 * Makefile.in (MATRIX_SRC): Change file name here too. | |
9091 | |
9092 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. | |
9093 (stamp-shared): Use them here. | |
9094 | |
9095 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9096 | |
9097 * cmd-hist.cc (command_history::ignore_entries): Delete default | |
9098 argument value. | |
9099 | |
9100 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9101 | |
9102 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, | |
9103 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, | |
9104 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, | |
9105 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: | |
9106 Clean up constructors, assigment operator. | |
9107 | |
9108 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9109 | |
9110 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. | |
9111 Check f77_exception_encountered on return. | |
9112 | |
9113 * f77-fcn.c (f77_exception_encountered): New variable. | |
9114 (F77_XFCN): Set it. | |
9115 * f77-fcn.h: Provide declaration. | |
9116 | |
9117 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). | |
9118 | |
9119 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). | |
9120 | |
9121 * NLEqn.h (NLEqn_options::set_options): New function. | |
9122 * Quad.h (Quad_options::set_options): Likewise. | |
9123 | |
9124 * LP.h (class LP): Add accessors for LP data. | |
9125 | |
9126 * NLEqn.h (NLEqn::n): Delete. | |
9127 | |
9128 * NLEqn.h (class NLEqn::n): Likewise. | |
9129 | |
9130 * NLP.h (class NLP): Add accessors for NLP data. | |
9131 | |
9132 * NPSOL.h (class NPSOL_options): Move constructors, set, and | |
9133 access functions here. | |
9134 * NPSOL.cc.cc: From here. | |
9135 | |
9136 * QLD.h (class QLD): Add destructor definition. | |
9137 * Objective.h (class Objective): Likewise. | |
9138 * ODEFunc.h (class ODEFunc): Likewise. | |
9139 * NLFunc.h (class NLFunc): Likewise. | |
9140 * NLEqn.h (class NLEqn): Likewise. | |
9141 * NLConst.h (class NLConst): Likewise. | |
9142 * LinConst.h (class LinConst): Likewise. | |
9143 * LSODE.h (class LSODE_options): Likewise. | |
9144 * CollocWt.h (class CollocWt): Likewise. | |
9145 * Bounds.h (class Bounds): Likewise. | |
9146 | |
9147 * QLD.cc (QLD::set_default_options): Delete. | |
9148 | |
9149 * QP.h (QP): Add accessors for QP data. | |
9150 Add copy constructor, operator =, and destructor definitions. | |
9151 | |
9152 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, | |
9153 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, | |
9154 DAEFunc.h, CollocWt.h, Bounds.h: | |
9155 Clean up constructors, assigment operator. | |
9156 | |
9157 * dRowVector.cc (RowVector::transpose): Use magic of reference | |
9158 counting to avoid duplicating the data immediately. | |
9159 * dColVector.cc (ColumnVector::transpose): Likewise. | |
9160 * CRowVector.cc (ComplexrowVector::transpose): Likewise. | |
9161 * CColVector.cc (ComplexColumnVector::transpose): Likewise. | |
9162 | |
9163 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9164 | |
9165 * prog-args.h (prog_args::option_argument): New enum. | |
9166 | |
9167 * f77-fcn.h: Rename from f77-uscore.h. | |
9168 (F77_XFCN_ERROR, F77_XFCN): New macros. | |
9169 * f77-fcn.c: New file. | |
9170 * Makefile.in (SOURCES): Add it to the list. | |
9171 | |
9172 * ODEFunc.h: Clean up. | |
9173 | |
9174 * DASSL.cc, DASSL.h: New files. | |
9175 * Makefile.in: Add them to the appropriate lists. | |
9176 | |
9177 * LSODE.cc, LSODE.h: New files. | |
9178 * Makefile.in: Add them to the appropriate lists. | |
9179 | |
9180 * ODE.cc: Delete. | |
9181 * Makefile.in (SOURCES): Remove from list. | |
9182 | |
9183 * base-de.h, DAE.cc: New files. | |
9184 * Makefile.in: Add them to the appropriate lists. | |
9185 * ODE.h: Only define interface for ODE classes. | |
9186 * DAE.h: Only define interface for ODE classes. | |
9187 | |
9188 * LPsolve.cc (do_minimize): Print sorry not implemented message. | |
9189 (LPsolve::set_default_options)): Delete | |
9190 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and | |
9191 destructor. | |
9192 | |
9193 * LP.h (class LP): Add operator =, copy constructor, and destructor. | |
9194 | |
9195 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. | |
9196 (QPSOL::operator =): Call base class operator = instead of assuming | |
9197 we know what to copy. | |
9198 | |
9199 * base-min.h (size): New function. | |
9200 | |
9201 * NLP.h (NLP::size): Delete. | |
9202 (NLP::NLP (const NLP&)): New constructor. | |
9203 (NLP::operator =): Call base class operator = instead of assuming | |
9204 we know what to copy. | |
9205 | |
9206 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. | |
9207 (class NPSOL): Add operator = and destructor. | |
9208 | |
9209 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. | |
9210 | |
9211 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9212 | |
9213 * Makefile.in (liboctave.a): Depend on $(PICOBJ). | |
9214 | |
9215 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9216 | |
9217 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. | |
9218 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. | |
9219 | |
9220 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9221 | |
9222 * prog-args.h, prog-args.cc: New files. | |
9223 * Makefile.in: Add them to lists. | |
9224 | |
9225 * getopt.h, getopt.c, getopt1.c: New files. | |
9226 * Makefile.in: Add them to the lists. | |
9227 | |
9228 * oct-term.h, oct-term.cc: New files. | |
9229 * Makefile.in: Add them to the lists. | |
9230 | |
9231 * str-vec.cc: New file. | |
9232 * Makefile.in (SOURCES): Add it to the list. | |
9233 | |
9234 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. | |
9235 | |
9236 * tempname.c, tempnam.c: Move here from src directory. | |
9237 * Makefile.in: Add to lists. | |
9238 | |
9239 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9240 | |
9241 * cmd-hist.h, cmd-hist.cc: New files. | |
9242 * Makefile.in: Add them to lists. | |
9243 | |
9244 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9245 | |
9246 * oct-glob.h, oct-glob.cc: New files. | |
9247 * Makefile.in: Add them to lists. | |
9248 | |
9249 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9250 | |
9251 * pathsearch.h, pathsearch.cc: New files. | |
9252 * Makefile.in: Add them to lists. | |
9253 | |
9254 * dir-ops.h, dir-ops.cc: New files. | |
9255 * sysdir.h: Move here from src directory. | |
9256 * Makefile.in: Add them to lists. | |
9257 | |
9258 * Array.h (Array::qsort): Return *this, not void. | |
9259 * str-vec.h (string_vector::qsort): Likewise. | |
9260 | |
9261 * chMatrix.cc (row_as_string): Resize result to eliminate | |
9262 unnecessary NULs. | |
9263 | |
9264 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9265 | |
9266 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, | |
9267 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: | |
9268 Files moved here from src directory. | |
9269 * Makefile.in: Add them to lists. Include appropriate rules. | |
9270 | |
9271 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
9272 Use pointers, not references (this is C code!). | |
9273 | |
9274 * oct-math.h: New file. | |
9275 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
9276 Files moved here from src directory. | |
9277 * Makefile.in: Add them to lists. | |
9278 | |
9279 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9280 | |
9281 * idx-vector.cc (make_uniq): Fix major brain-o. | |
9282 | |
9283 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: | |
9284 Convert to use string class instead of char*. | |
9285 | |
9286 * str-vec.h, Array-str.cc: New files. | |
9287 | |
9288 * Array.h (Array::qsort): New function. | |
9289 | |
9290 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9291 | |
9292 * Array.h: Nest ArrayRep class inside Array class. | |
9293 Refer to ArrayRep, not ArrayRep<T>. | |
9294 Move all ArrayRep functions inline. | |
9295 Don't declare other Array classes as friends of ArrayRep. | |
9296 * Array.cc: Delete ArrayRep functions. | |
9297 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. | |
9298 | |
9299 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: | |
9300 Don't instantiate ArrayRep objects. | |
9301 | |
9302 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9303 | |
9304 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
9305 New constructor. | |
9306 | |
9307 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9308 | |
9309 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* | |
9310 for balance_job arg. | |
9311 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. | |
9312 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. | |
9313 | |
9314 * chMatrix.cc (row_as_string): Return string, not const char*. | |
9315 | |
9316 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9317 | |
9318 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. | |
9319 | |
9320 * chMatrix.cc (row_as_string): Undo previous change. | |
9321 | |
9322 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9323 | |
9324 * chMatrix.cc (row_as_string): Do memory management here. Caller | |
9325 is expected to save string if necessary. | |
9326 | |
9327 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9328 | |
9329 * Array.h (class DiagArray): Enable nested Proxy class for all | |
9330 platforms. | |
9331 | |
9332 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == | |
9333 a.rep, don't mess with count. | |
9334 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, | |
9335 don't do anything if reps are the same. | |
9336 (Array3<T>& operator = (const Array3<T>&) | |
9337 | |
9338 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): | |
9339 Declare private with no definition to prevent misuse. | |
9340 | |
9341 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): | |
9342 Get range check right. | |
9343 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. | |
9344 (Matrix::insert (const ColumnVector&, int, int)): Ditto. | |
9345 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. | |
9346 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. | |
9347 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. | |
9348 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. | |
9349 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. | |
9350 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. | |
9351 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. | |
9352 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. | |
9353 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. | |
9354 * dColVector.cc | |
9355 (ColumnVector::insert (const ColumnVector&, int)): Ditto. | |
9356 * CRowVector.cc | |
9357 (ComplexRowVector::insert (const RowVector&, int)): Ditto. | |
9358 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. | |
9359 * CColVector.cc | |
9360 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. | |
9361 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. | |
9362 | |
9363 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): | |
9364 Also fill in zeros, not just the diagonal. | |
9365 | |
9366 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): | |
9367 Use END parameter properly. | |
9368 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. | |
9369 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. | |
9370 | |
9371 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. | |
9372 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. | |
9373 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): | |
9374 Don't copy count. Set it to 1. | |
9375 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. | |
9376 | |
9377 * Array.h (Array<T>::Array (T *, int)): After constructing rep, | |
9378 don't set rep->count to 1 here (now handled by ArrayRep | |
9379 constructors). | |
9380 (Array<T>::Array (void)): Ditto. | |
9381 (Array<T>::Array (int)): Ditto. | |
9382 (Array<T>::T& elem (int)): Ditto. | |
9383 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. | |
9384 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. | |
9385 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. | |
9386 (Array<T>::resize (int)): Ditto. | |
9387 (Array<T>::resize (int, const T&)) :Ditto. | |
9388 (Array<T>::fortran_vec (void)): Ditto. | |
9389 (Array2<T>::resize (int, int)): Ditto. | |
9390 (Array2<T>::resize (int, int, const T&)): Ditto. | |
9391 (DiagArray<T>::resize (int, int)): Ditto. | |
9392 (DiagArray<T>::resize (int, int, const T&)): Ditto. | |
9393 | |
9394 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9395 | |
9396 * Array-ch.cc: Rename from Array-c.cc. | |
9397 * MArray-ch.cc: Rename from MArray-c.cc. | |
9398 * chMatrix.cc: Rename from cMatrix.cc. | |
9399 * chMatrix.h: Rename from cMatrix.h. | |
9400 * Makefile.in (TI_SRC): Use new names here. | |
9401 * mx-base.h: Likewise. | |
9402 | |
9403 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9404 | |
9405 * Makefile.in: Handle shared libraries. | |
9406 | |
9407 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9408 | |
9409 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): | |
9410 Correctly compute length of return value. Correct rows and | |
9411 columns in zgemv call. | |
9412 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. | |
9413 | |
9414 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9415 | |
9416 * Makefile.in (stamp-picdir): New target. | |
9417 (all): Depend on it. | |
9418 | |
9419 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9420 | |
9421 * Makefile.in (INCLUDES): Remove QLD.h. | |
9422 (SOURCES): Remove QLD.cc. | |
9423 | |
9424 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9425 | |
9426 * dMatrix.cc (Matrix::inverse): New arg, force. | |
9427 If force is nonzero, invert even if matrix is singular. | |
9428 (ComplexMatrix::inverse): Likewise. | |
9429 | |
9430 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, | |
9431 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, | |
9432 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: | |
9433 Include "oct-cmplx.h" instead of <Complex.h>. | |
9434 | |
9435 * mx-defs.h: Include oct-cmplx.h in place of forward declaration | |
9436 for class Complex. | |
9437 | |
9438 * oct-cmplx.h: New file. | |
9439 * Makefile.in (INCLUDES): Add it to the list. | |
9440 | |
9441 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. | |
9442 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. | |
9443 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. | |
9444 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): | |
9445 Avoid g++ bugs. | |
9446 | |
9447 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9448 | |
9449 * Array-idx.h (maybe_delete_elements): Give useful error message. | |
9450 | |
9451 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. | |
9452 | |
9453 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9454 | |
9455 * CDiagMatrix.cc (inverse): Return retval, not *this. | |
9456 * dDiagMatrix.cc (inverse): Use same method as for Complex case. | |
9457 | |
9458 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9459 | |
9460 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep | |
9461 index vector object with Array, not ArrayRep. | |
9462 | |
9463 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9464 | |
9465 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail | |
9466 if index is a colon and resizing is maybe needed. | |
9467 | |
9468 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9469 | |
9470 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true | |
9471 if we have a vector of 1's. | |
9472 | |
9473 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no | |
9474 current orientation, require index and rhs to conform unless | |
9475 do_fortran_indexing flag is set. | |
9476 | |
9477 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9478 | |
9479 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, | |
9480 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, | |
9481 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, | |
9482 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, | |
9483 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: | |
9484 Massive changes to support additional data types. Only charMatrix | |
9485 is currently used in Octave. | |
9486 | |
9487 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9488 | |
9489 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. | |
9490 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): | |
9491 Simply call Array2<Complex> version. | |
9492 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just | |
9493 call Array2<double> version. | |
9494 | |
9495 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. | |
9496 | |
9497 * Array.h, Array.cc: Massive overhaul to support new way of | |
9498 handling indexing. | |
9499 * idx-vector.h, idx-vector.cc: Likewise. | |
9500 * Array-ext.cc, Array-idx.h: New files. | |
9501 * Makefile.in: Add them to the appropriate lists. | |
9502 | |
9503 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9504 | |
9505 * Range.cc (nelem_internal): Use tfloor here, not round. | |
9506 | |
9507 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9508 | |
9509 * idx-vector.h, idx-vector.cc: New files, moved from ../src. | |
9510 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. | |
9511 | |
9512 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9513 | |
9514 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. | |
9515 | |
9516 * Array.h: Move simple member functions here. | |
9517 * Array.cc: From here. | |
9518 | |
9519 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9520 | |
9521 * Range.cc (tfloor, tceil, round): New static functions. | |
9522 (Range::nelem_internal): Rewrite to use better method. | |
9523 | |
9524 * dbleSVD.h (SVD::type): New item, sigma_only. | |
9525 (type_computed): New var. | |
9526 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): | |
9527 Handle possible error condition. | |
9528 (init): Allow for SVD::sigma_only, save type computed. | |
9529 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): | |
9530 Handle possible error condition. | |
9531 (init): Allow for SVD::sigma_only, save type computed. | |
9532 | |
9533 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9534 | |
9535 * Nearly all non-matrix .h and .cc files: | |
9536 Move short function bodies into class declarations for inlining. | |
9537 Generally clean up. | |
9538 | |
9539 * base-min.h: New file. | |
9540 * LP.h (class LP): Derive from base_minimizer. | |
9541 * QLP.h (class QLP): Derive from base_minimizer. | |
9542 * NLP.h (class NLP): Derive from base_minimizer. | |
9543 * Makefile.in (INCLUDES): Add base-min.h to the list. | |
9544 | |
9545 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, | |
9546 NLFunc.cc, Objective.cc and QP.cc from list. | |
9547 | |
9548 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9549 | |
9550 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. | |
9551 (SCHUR::SCHUR): Delete unused parameter ord. | |
9552 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. | |
9553 | |
9554 * CRowVector.cc | |
9555 (ComplexRowVector::operator+ (const Complex&, const RowVector&), | |
9556 (ComplexRowVector::operator- (const Complex&, const RowVector&), | |
9557 (ComplexRowVector::operator* (const Complex&, const RowVector&), | |
9558 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): | |
9559 Actually do something. | |
9560 | |
9561 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. | |
9562 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. | |
9563 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. | |
9564 | |
9565 * Quad.cc (Quad_options::Quad_options (double, double)): New function. | |
9566 * (Quad::Quad (integrand_fcn, double, double): Properly initialize | |
9567 tolerances. | |
9568 | |
9569 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. | |
9570 * LPsolve.cc (LPsolve::minimize): Likewise. | |
9571 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. | |
9572 * ODE.cc (lsode_f, lsode_j): Likewise. | |
9573 * QPSOL.cc (qphess): Likewise. | |
9574 | |
9575 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9576 | |
9577 * dMatrix.cc: Include <cstring>. | |
9578 | |
9579 * Array.cc: Try harder to avoid warnings from gcc in functions | |
9580 that return bogus values after calling the error handler. | |
9581 | |
9582 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9583 | |
9584 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. | |
9585 | |
9586 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. | |
9587 | |
9588 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9589 | |
9590 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. | |
9591 (dassl_j): Likewise. | |
9592 | |
9593 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, | |
9594 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, | |
9595 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: | |
9596 Update for change in for loop variable scope for gcc 2.7.0. | |
9597 | |
9598 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9599 | |
9600 * Makefile.in: Only include dependency files if $(omit_deps) is | |
9601 not set. | |
9602 | |
9603 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) | |
9604 | |
9605 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h | |
9606 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h | |
9607 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h | |
9608 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h | |
9609 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h | |
9610 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h | |
9611 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h | |
9612 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h | |
9613 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc | |
9614 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc | |
9615 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc | |
9616 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc | |
9617 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc | |
9618 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc | |
9619 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc | |
9620 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc | |
9621 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc | |
9622 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h | |
9623 NLP.h: Use pragma interface/implementation. Don't surround | |
9624 contents in extern "C++". | |
9625 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". | |
9626 | |
9627 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9628 | |
9629 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase | |
9630 identifiers. | |
9631 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
9632 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
9633 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
9634 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
9635 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
9636 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
9637 Quad.cc: Change usage of F77_FCN to match new definition | |
9638 | |
9639 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
9640 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
9641 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
9642 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
9643 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
9644 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
9645 Quad.cc: Where appropriate, declare Fortran subroutines to take | |
9646 args by reference instead of pointer. Change all callers. | |
9647 | |
9648 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9649 | |
9650 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New | |
9651 functions. Make += and -= operators friend functions. | |
9652 | |
9653 * Array.h (Array2::~Array2, Array3::~Array3, | |
9654 DiagArray::~DiagArray): New functions. | |
9655 | |
9656 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9657 | |
9658 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. | |
9659 (MATRIX_INC): Don't distribute mx-kludge.h. | |
9660 | |
9661 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
9662 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
9663 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
9664 dRowVector.h dRowVector.cc: | |
9665 Derive classes from MArray, MArray2, and MDiagArray, not Array, | |
9666 Array2, and DiagArray2. | |
9667 Don't use functions defined in mx-kludge.cc for arithmetic | |
9668 like-type operations on arrays. | |
9669 | |
9670 * MArray.cc: Use the classes defined here like-type mathematical | |
9671 operations on Array objects. Abuse CPP more. | |
9672 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
9673 (EXTRAS): Delete it from this list. | |
9674 | |
9675 * MArray-C.cc, MArray-d.cc: New files. | |
9676 * Makefile.in (TI_SRC): Add them to the list. | |
9677 | |
9678 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9679 | |
9680 * mx-kludge.cc: Abuse CPP even more. | |
9681 | |
9682 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9683 | |
9684 * Objective.h (objective_function): Add missing const. | |
9685 (gradient_function): Likewise. | |
9686 | |
9687 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
9688 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
9689 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
9690 dRowVector.h dRowVector.cc: | |
9691 Reorganize to declare and define friends where they should be, | |
9692 based on the use of private constructors. | |
9693 | |
9694 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9695 | |
9696 * CRowVector.h (linspace): Add declaration. | |
9697 * dRowVector.h (linspace): Likewise. | |
9698 | |
9699 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
9700 Force result of rcond + 1.0 to be stored. | |
9701 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, | |
9702 ComplexMatrix::solve): Likewise. | |
9703 | |
9704 See ChangeLog.1 in the top level directory for earlier changes. |