Mercurial > hg > octave-nkf
annotate liboctave/ChangeLog @ 7885:f336dd8e96d0
eliminate streamoff type
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 12 Jun 2008 10:42:56 -0400 |
parents | 1b63f8da772d |
children | 76142609e8d2 |
rev | line source |
---|---|
7885 | 1 2008-06-11 John W. Eaton <jwe@octave.org> |
2 | |
3 * so-array.h, so-array.cc, Array-so.cc: Delete. | |
4 * Makefile.in: Remove them from the lists. | |
5 | |
7872 | 6 2008-06-05 John W. Eaton <jwe@octave.org> |
7 | |
8 * oct-shlib.cc (octave_base_shlib::remove): Only dereference | |
9 counter if iterator is valid. | |
10 | |
7814
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
11 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
|
12 |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
13 * 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
|
14 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
|
15 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
|
16 * 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
|
17 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
|
18 * 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
|
19 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
|
20 (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
|
21 (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
|
22 (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
|
23 * 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
|
24 * 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
|
25 (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
|
26 (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
|
27 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
28 2008-06-02 David Bateman <dbateman@free.fr> |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
29 |
7810
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
30 * fCmplxLU.cc (class FloatComplexLU): Correct error in instantiation. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
31 * floatLU.cc (class FloatLU): ditto. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
32 * floatLU.h (class FloatLU): ditto. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
33 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
34 * floatAEPBAL.cc (octave_idx_type FloatAEPBALANCE::init (const |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
35 FloatMatrix&, const std::string&)): Use FloatMatrix to initialize |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
36 balancing_mat. |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
37 |
7809
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
38 * 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
|
39 (MATRIX_SRC): Add fCmplxAEPBAL.cc and floatAEPBAL.cc. |
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
40 |
7805
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
41 2008-05-21 David Bateman <dbateman@free.fr> |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
42 |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
43 * Quad-opts.in: Handle single precision tolerances. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
44 * Quad.cc (float_user_fcn): New static variable. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
45 (quad_float_fcn_ptr): New typedef. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
46 (qagp, quagi): New QUADPACK decls. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
47 (float_user_function): New function. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
48 (DefQuad::do_integrate, IndefQuad::do_integrate): Float versions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
49 (FloatDefQuad::do_integrate, FloatIndefQuad::do_integrate): |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
50 New functions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
51 * Quad.h (class Quad): Handle float type. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
52 (class FloatDefQuad, class FloatIndefQuad): New classes. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
53 |
7799 | 54 2008-05-21 Jaroslav Hajek <highegg@gmail.com> |
55 | |
7804
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
56 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
57 (xcdotc, csyrk, cherk): New F77 decls. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
58 * fMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
59 (operator * (const FloatMatrix&, const FloatMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
60 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
61 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
62 (ssyrk): New F77 decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
63 * fCMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
64 (operator * (const FloatComplexMatrix&, const |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
65 FloatComplexMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
66 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
67 |
7803 | 68 * dMatrix.cc, CMatrix.cc, Sparse-op-defs.h: Add missing copyright. |
69 | |
7802
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
70 * 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
|
71 Correct indenting. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
72 (SPARSE_FULL_TRANS_MUL): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
73 (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
|
74 Move OCTAVE_QUIT one level up. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
75 (FULL_SPARSE_MUL_TRANS): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
76 * dSparse.h (mul_trans, trans_mul): Provide decl. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
77 * dSparse.cc (mul_trans, trans_mul): New functions. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
78 * 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
|
79 * 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
|
80 |
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
|
81 * 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
|
82 * 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
|
83 (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
|
84 (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
|
85 * 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
|
86 * 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
|
87 (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
|
88 (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
|
89 |
7799 | 90 * MatrixType.cc (matrix_real_probe, matrix_complex_probe): |
91 New template functions. | |
92 (MatrixType::MatrixType (const Matrix&), | |
93 MatrixType::MatrixType (const FloatMatrix&)): | |
94 just call matrix_real_probe. | |
95 (MatrixType::MatrixType (const ComplexMatrix&), | |
96 MatrixType::MatrixType (const FloatComplexMatrix&)): | |
97 just call matrix_complex_probe. | |
98 | |
99 * MatrixType.cc (MatrixType::MatrixType (matrix_type, bool)): | |
100 add missing test for Unknown. | |
101 | |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
102 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
|
103 |
7797
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
104 * 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
|
105 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
106 (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
|
107 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
108 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
109 * 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
|
110 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
111 (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
|
112 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
113 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
114 * 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
|
115 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
116 (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
|
117 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
118 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
119 * 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
|
120 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
121 (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
|
122 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
123 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
124 |
7796
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
125 * Array.cc: Fix transpose tests. |
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
126 |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
127 * 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
|
128 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
|
129 (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
|
130 * 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
|
131 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
|
132 (FloatGEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
133 * 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
|
134 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
135 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
136 * 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
|
137 (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
|
138 Algebraic eignvalue balancing. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
139 * 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
|
140 (FloatComplexAEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
141 * 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
|
142 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
143 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
144 * 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
|
145 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
|
146 * 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
|
147 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
148 * 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
|
149 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
150 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
151 * 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
|
152 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
|
153 * 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
|
154 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
155 * 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
|
156 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
157 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
158 * 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
|
159 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
|
160 * 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
|
161 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
162 * 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
|
163 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
164 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
165 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
166 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
167 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
|
168 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
|
169 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
170 2008-05-20 David Bateman <dbateman@free.fr> |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
171 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
172 * 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
|
173 transpose to limit the number of cache misses. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
174 (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
|
175 for matrix conjugate transpose. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
176 * 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
|
177 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
178 * DiagArray2.cc (DiagArray2<T> DiagArray2<T>::transpose () const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
179 Specialization for diagonal arrays. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
180 (DiagArray2<T> DiagArray2<T>::transpose (T (*) (const&)) const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
181 Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
182 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
183 * 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
|
184 (MArray<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
185 * 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
|
186 * 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
|
187 * 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
|
188 * MDiagArray2.h (MDiagArray2<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
189 (MDiagArray<T> hermitian <T (*) (const&)) const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
190 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
191 * 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
|
192 * CRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
193 * dColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
194 * dRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
195 * CDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
196 * dDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
197 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
198 * 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
|
199 * fCRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
200 * fColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
201 * fRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
202 * fCDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
203 * fDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
204 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
205 * CDiagMatrix.cc (ComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
206 ComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
207 * dDiagMatrix.cc (DiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
208 * CMatrix.cc (ComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
209 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
210 * fCDiagMatrix.cc (FloatComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
211 FloatComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
212 * fDiagMatrix.cc (FloatDiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
213 * fCMatrix.cc (FloatComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
214 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
215 * lo-mappers.cc (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
216 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
217 New mapper functions for single precion values. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
218 * lo-mappers.h (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
219 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
220 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
221 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
222 * CmplxGEBAL.cc (ComplexGEPBALANCE), dbleGEPBAL.cc (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
223 fCmplxGEPBAL.cc (FloatComplexGEPBALANCE), floatGEPBAL.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
224 (FloatGEPBALANCE): New class for generalized eigenvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
225 * CmplxGEBAL.h (ComplexGEPBALANCE), dbleGEPBAL.h (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
226 fCmplxGEPBAL.h (FloatComplexGEPBALANCE), floatGEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
227 (FloatGEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
228 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
229 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
230 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
231 * floatAEPBAL.cc (FloatAEPBALANCE), fCmplxAEPBAL.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
232 (FloatComplexAEPBALANCE): New classes for single precision |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
233 Algebraic eignvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
234 * floatAEPBAL.h (FloatAEPBALANCE), fCmplxAEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
235 (FloatComplexAEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
236 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
237 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
238 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
239 * floatHESS.cc (FloatHESS), fCmplxHESS.cc (FloatComplexHESS): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
240 classes for single precision Hessenberg decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
241 * floatHESS.h (FloatHESS), fCmplxHESS.h (FloatComplexHESS): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
242 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
243 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
244 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
245 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
246 * floatQR.cc (FloatQR), fCmplxQR.cc (FloatComplexQR): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
247 classes for single precision QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
248 * floatQR.h (FloatQR), fCmplxQR.h (FloatComplexQR): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
249 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
250 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
251 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
252 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
253 * floatQRP.cc (FloatQRP), fCmplxQRP.cc (FloatComplexQRP): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
254 classes for single precision permuted QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
255 * floatQRP.h (FloatQRP), fCmplxQRP.h (FloatComplexQRP): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
256 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
257 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
258 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
259 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
260 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
261 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
262 FloatHESS, FloatComplexHESS, FloatQR, FloatComplexQR, QRP, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
263 ComplexQRP, FloatQRP, FloatComplexQRP): Declare classes. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
264 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
265 * 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
|
266 fCColVector.cc, fCColVector.h, fCDiagMatrix.cc, fCDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
267 fCMatrix.cc, fCMatrix.h, fCNDArray.cc, fCNDArray.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
268 fCRowVector.cc, fCRowVector.h, fCmplxCHOL.cc, fCmplxCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
269 fCmplxDET.cc, fCmplxDET.h, fCmplxLU.cc, fCmplxLU.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
270 fCmplxSCHUR.cc, fCmplxSCHUR.h, fCmplxSVD.cc, fCmplxSVD.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
271 fColVector.cc, fColVector.h, fDiagMatrix.cc, fDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
272 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
|
273 fRowVector.cc, fRowVector.h, floatCHOL.cc, floatCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
274 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
|
275 floatSCHUR.h, floatSVD.cc, floatSVD.h: New files. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
276 * 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
|
277 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
278 * 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
|
279 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
|
280 MatrixType.cc, MatrixType.h, SparseCmplxQR.cc, SparseCmplxQR.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
281 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
|
282 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
|
283 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
|
284 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
|
285 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
|
286 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
|
287 Allow single precision types. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
288 |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
289 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
|
290 |
7788 | 291 * CMatrix.cc (double rcond): Replace with double rcon everywhere |
292 to avoid shadowed variable warning | |
293 (double ComplexMatrix::rcond (void) const): New method for | |
294 reciprocal condition number calculation. | |
295 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
296 * CMatrix.h (double rcond): Replace with double rcon everywhere | |
297 to avoid shadowed variable warning | |
298 (double ComplexMatrix::rcond (void) const): New method for | |
299 reciprocal condition number calculation. | |
300 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
301 * dMatrix.cc (double rcond): Replace with double rcon everywhere | |
302 to avoid shadowed variable warning | |
303 (double Matrix::rcond (void) const): New method for | |
304 reciprocal condition number calculation. | |
305 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
306 * dMatrix.h (double rcond): Replace with double rcon everywhere | |
307 to avoid shadowed variable warning | |
308 (double Matrix::rcond (void) const): New method for | |
309 reciprocal condition number calculation. | |
310 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
311 | |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
312 * 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
|
313 expression matching |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
314 * 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
|
315 (LIBOCTAVE_CXX_SOURCES): regex-match.cc here. |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
316 |
7776 | 317 2008-05-19 David Bateman <dbateman@free.fr> |
318 | |
319 * dSparse.cc: Replace some DGBCON with GPBCON where they are | |
320 incorrectly used. | |
321 | |
7774
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
322 2008-05-13 David Bateman <dbateman@free.fr> |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
323 |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
324 * 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
|
325 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
|
326 is not zero. |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
327 |
7758
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
328 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
|
329 |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
330 * 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
|
331 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
|
332 * 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
|
333 (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
|
334 * 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
|
335 * 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
|
336 |
7757
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
337 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
|
338 |
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
339 * 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
|
340 |
7749
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
341 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
|
342 |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
343 * 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
|
344 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
|
345 * 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
|
346 Likewise. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
347 (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
|
348 Adjust all uses. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
349 (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
|
350 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
|
351 (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
|
352 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
|
353 |
7740 | 354 2008-04-30 Jaroslav Hajek <highegg@gmail.com> |
355 | |
356 * lo-mappers.cc (xlog2 (double)): Compute log (2), not log2 (2). | |
357 (xlog2 (Complex), xlog2 (double, int&), xlog2 (Complex, int&)): | |
358 New functions. | |
359 * lo-mappers.h: Provide decls. | |
360 | |
7735
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
361 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
|
362 |
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
363 * 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
|
364 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
|
365 |
7732
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
366 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
|
367 |
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
368 * 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
|
369 |
7727
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
370 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
|
371 |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
372 * 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
|
373 Fix for-loop condition. |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
374 |
7725
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
375 2008-04-19 Jaroslav Hajek <highegg@gmail.com> |
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
376 |
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
377 * 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
|
378 |
7717
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
379 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
|
380 |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
381 * 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
|
382 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
383 * 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
|
384 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
385 * 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
|
386 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
387 * 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
|
388 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
389 |
7707
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
390 2008-04-09 Michael Goffioul <michael.goffioul@gmail.com> |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
391 |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
392 * lo-mappers.cc (xround): Avoid floating-point overflow when input |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
393 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
|
394 |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
395 * 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
|
396 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
|
397 __WIN32__ platforms. |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
398 |
7700
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
399 2008-04-07 Jaroslav Hajek <highegg@gmail.com> |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
400 |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
401 * dbleQR.h, dbleQR.cc (QR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
402 * CmplxQR.h, CmplxQR.cc (ComplexQR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
403 * 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
|
404 CHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
405 * CmplxCHOL.h, CmplxCHOL.cc (ComplexCHOL::insert_sym, |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
406 ComplexCHOL::delete_sym, ComplexCHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
407 |
7695
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
408 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
|
409 |
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
410 * 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
|
411 |
7671
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
412 2008-03-27 Jaroslav Hajek <highegg@gmail.com> |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
413 |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
414 * oct-lookup.h: New file. |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
415 |
7646
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
416 2008-03-26 David Bateman <dbateman@feee.fr> |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
417 |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
418 * Array.cc (assignN): Additional fix for vector assignments. |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
419 |
7642
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
420 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
|
421 |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
422 * 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
|
423 original matrix is empty. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
424 * 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
|
425 function. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
426 * 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
|
427 |
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
|
428 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
|
429 |
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
|
430 * 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
|
431 (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
|
432 * 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
|
433 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
|
434 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
|
435 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
436 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
|
437 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
438 * lo-mappers.cc (xtrunc): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
439 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
440 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
441 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
|
442 |
7638
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
443 * lo-specfun.cc (expm1, log1p): New functions. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
444 * lo-specfun.h: Provide decls. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
445 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
446 * lo-mappers.cc (xroundb): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
447 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
448 |
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
|
449 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
|
450 |
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
|
451 * 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
|
452 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
|
453 |
7619 | 454 2008-03-21 David Bateman <dbateman@free.fr> |
455 | |
456 * oct-sparse.h: Add headers for amd.h. | |
457 | |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
458 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
|
459 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
460 * 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
|
461 method for diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
462 * 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
|
463 * 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
|
464 * 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
|
465 * 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
|
466 * 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
|
467 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
468 * 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
|
469 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
470 * 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
|
471 * 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
|
472 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
473 * 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
|
474 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
475 * 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
|
476 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
477 * CDiagMatrix.cc (ComplexColumnVector ComplexDiagMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
478 (void) const): delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
479 * 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
|
480 * 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
|
481 * 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
|
482 delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
483 * 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
|
484 * 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
|
485 * 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
|
486 * 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
|
487 * 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
|
488 * 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
|
489 * 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
|
490 * 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
|
491 * 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
|
492 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
493 * 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
|
494 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
|
495 * 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
|
496 return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
497 * 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
|
498 terms of template classes function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
499 * 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
|
500 * 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
|
501 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
|
502 * 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
|
503 return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
504 * 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
|
505 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
|
506 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
507 * 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
|
508 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
|
509 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
510 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
511 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
512 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
513 * 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
|
514 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
515 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
516 * CNDArray.cc (ComplexNDArray ComplexNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
517 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
518 * 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
|
519 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
520 * 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
|
521 method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
522 * 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
|
523 * chNDArray.cc (charNDArray charNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
524 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
525 * 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
|
526 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
527 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
528 |
7609
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
529 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
|
530 |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
531 * 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
|
532 relative filenames. |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
533 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
534 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
|
535 |
7605
48488cca0006
Fix for array indexing if original matrix is empty
David Bateman <dbateman@free.fr>
parents:
7602
diff
changeset
|
536 * 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
|
537 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
|
538 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
539 * 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
|
540 const): New template function. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
541 * 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
|
542 const): ditto. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
543 * 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
|
544 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
|
545 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
|
546 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
|
547 * 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
|
548 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
|
549 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
|
550 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
551 2008-03-18 David Bateman <dbateman@free.fr> |
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
552 |
7601
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
553 * 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
|
554 * 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
|
555 * 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
|
556 |
7600
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
557 * 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
|
558 * CNDarray.cc (ComplexNDArray::min, CompelxNDArray::max): ditto. |
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
559 * 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
|
560 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
561 * 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
|
562 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
|
563 |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
564 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
|
565 |
7598
a89b3fa632ee
partial specialization for octave_int_fit_to_range
John W. Eaton <jwe@octave.org>
parents:
7597
diff
changeset
|
566 * 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
|
567 Use partial specialization for double values. |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
568 |
7573
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
569 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
|
570 |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
571 * 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
|
572 * 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
|
573 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
|
574 * idx-vector.cc, idx-vector.h |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
575 (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
|
576 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
|
577 (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
|
578 (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
|
579 (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
|
580 |
7572
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
581 2008-03-07 John W. Eaton <jwe@octave.org> |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
582 |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
583 * 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
|
584 IDX_VEC_REP::idx_vector_rep (const boolNDArray&)): |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
585 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
|
586 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
|
587 (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
|
588 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
589 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
|
590 |
7560
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
591 * 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
|
592 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
|
593 * 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
|
594 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
|
595 |
7559
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
596 * dbleCHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
597 * CmplxHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
598 * 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
|
599 * 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
|
600 * 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
|
601 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
602 2008-03-04 Jaroslav Hajek <highegg@gmail.com> |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
603 |
7554
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
604 * dbleCHOL.cc (CHOL::set, CHOL::update, CHOL::downdate): |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
605 New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
606 * dbleCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
607 * CmplxCHOL.cc (ComplexCHOL::set, ComplexCHOL::update, |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
608 ComplexCHOL::downdate): New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
609 * CmplxCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
610 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
611 * 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
|
612 QR::insert_row, QR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
613 (QR::QR (const Matrix&, const MAtrix&)): New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
614 * dbleQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
615 * CmplxQR.cc (ComplexQR::update, ComplexQR::insert_col, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
616 ComplexQR::delete_col, ComplexQR::insert_row, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
617 ComplexQR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
618 (ComplexQR::ComplexQR (const ComplexMatrix&, const ComplexMAtrix&)): |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
619 New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
620 * CmplxQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
621 |
7549
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
622 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
|
623 |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
624 * 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
|
625 of < and > operators. |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
626 |
7546
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
627 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
|
628 |
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
629 * 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
|
630 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
|
631 |
7545 | 632 2008-03-03 Jaroslav Hajek <highegg@gmail.com> |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
633 |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
634 * dMatrix.cc (Matrix::lssolve): Also avoid dgelsd lwork query bug |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
635 in lssolve method that accepts column vector argument. Correct |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
636 calculation of nlvl. |
7545 | 637 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd. |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
638 |
7537
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
639 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
|
640 |
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
641 * 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
|
642 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
643 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
|
644 |
7536 | 645 * oct-rand.cc (get_dist_id): Fix typo. |
646 (get_dist_id, octave_rand::distribution, octave_rand::scalar, | |
647 fill_rand): Improve error messages. | |
648 | |
7535
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
649 * 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
|
650 (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
|
651 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
|
652 (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
|
653 |
7533
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
654 * 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
|
655 (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
|
656 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
|
657 (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
|
658 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
|
659 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
|
660 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
|
661 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
|
662 (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
|
663 (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
|
664 (octave_rand::uniform_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
665 octave_rand::normal_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
666 octave_rand::exponential_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
667 octave_rand::poisson_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
668 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
|
669 (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
|
670 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
|
671 (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
|
672 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
673 * 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
|
674 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd |
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
675 |
7521
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
676 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
|
677 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
678 * 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
|
679 specializations for signed and unsigned types. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
680 (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
|
681 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
|
682 octave_int_helper class. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
683 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
684 * 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
|
685 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
|
686 with "template <>". |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
687 |
7520 | 688 2008-02-22 John W. Eaton <jwe@octave.org> |
689 | |
690 * CSparse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc, | |
691 file-ops.cc, oct-group.cc, oct-shlib.cc, sparse-base-chol.h, | |
692 sparse-dmsolve.cc: Use 0 instead of NULL. | |
693 | |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
694 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
|
695 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
696 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
697 (octave_idx_type) const): New method. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
698 * boolSparse.h (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
699 (octave_idx_type) const): Declare it. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
700 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
701 * 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
|
702 factorization of xGETRF directly. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
703 * 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
|
704 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
|
705 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
|
706 to simulate the retirn of xGETRF. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
707 * 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
|
708 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
|
709 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
|
710 (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
|
711 * 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
|
712 scaling. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
713 * SparseCmplxLU.cc: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
714 * 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
|
715 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
|
716 * SparseCmplxLU.h: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
717 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
718 * 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
|
719 return permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
720 * 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
|
721 * 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
|
722 return row permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
723 (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
|
724 permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
725 * 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
|
726 (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
|
727 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
728 * 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
|
729 |
7505
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
730 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
|
731 |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
732 * 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
|
733 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
|
734 (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
|
735 * 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
|
736 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
|
737 (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
|
738 * 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
|
739 * 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
|
740 |
7503
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
741 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
|
742 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
743 * boolNDArray.h (boolNDArray (const Array2<bool>&)): Delete. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
744 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
745 * Marray2.h (MArray2 (const Array2<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
746 MArray2 (const MArray2<U>&)): New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
747 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
748 * Array2.h (Array2 (const Array<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
749 Array2 (const Array<U>&, const dim_vector&)): |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
750 New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
751 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
752 * CColVector.cc (ComplexColumnVector::map): Forward to MArray::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
753 * dColVector.cc (ColumnVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
754 * CRowVector.cc (ComplexRowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
755 * dRowVector.cc (RowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
756 * CMatrix.cc (ComplexMatrix::map): Forward to MArray2::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
757 * dMatrix.cc (Matrix::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
758 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
759 * dNDArray.cc (NDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
760 * dNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
761 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
762 * CNDArray.cc (ComplexNDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
763 * CNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
764 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
765 * MArray2.h (MArray2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
766 * Array2.h (Array2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
767 * MArrayN.h (MArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
768 * ArrayN.h (ArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
769 * Array.h (Array<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
770 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
771 * functor.h: New file. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
772 * Makefile.in (INCLUDES): Add it to the list. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
773 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
774 2008-02-20 David Bateman <dbateman@free.fr> |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
775 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
776 * CColVector.h, CColVector.cc (ComplexColumnVector::apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
777 * dColVector.h, dColVector.cc (ColumnVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
778 * CRowVector.h, CRowVector.cc (ComplexRowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
779 * dRowVector.h, dRowVector.cc (RowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
780 * CMatrix.h, CMatrix.cc (ComplexMatrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
781 * dMatrix.h, dMatrix.cc (Matrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
782 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
783 * CSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
784 (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
|
785 * CSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
786 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
787 * dSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
788 (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
|
789 * dSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
790 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
791 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
792 * intNDArray.cc (abs, signum): Two new mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
793 * intNDArray.h (abs, signum): Declare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
794 * 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
|
795 base type. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
796 |
7486
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
797 2008-02-15 John W. Eaton <jwe@octave.org> |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
798 |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
799 * 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
|
800 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
|
801 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
802 |
7482
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
803 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
|
804 |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
805 * 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
|
806 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
|
807 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
|
808 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
|
809 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
|
810 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
|
811 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc: |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
812 Don't check f77_exception_encountered. |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
813 |
7477 | 814 2008-02-12 John W. Eaton <jwe@octave.org> |
815 | |
816 * CMatrix.cc: Declare xilaenv instead of ilaenv. | |
817 (ComplexMatrix::lssolve): Call xilaenv instead of ilaenv. | |
818 | |
7476 | 819 2008-02-12 Jason Riedy <ejr@cs.berkeley.edu> |
820 | |
7480 | 821 * Array.cc (ascending_compare, descending_compare): Remove |
822 non-standard extern in the instantiations. | |
823 | |
824 * oct-sort.cc: Include <cstring> and sprinkle with std:: as needed. | |
825 | |
7476 | 826 * dMatrix.cc (ILAENV): Declare LAPACK Fortran function. |
827 (Matrix::lssolve): Use ILAENV to query smlsiz. And add an ugly | |
828 workaround for DGELSD's broken lwork query. The formula is from | |
829 LAPACK's dgelsd.f source and allocates enough workspace to use an | |
830 efficient algorithm in the short-and-fat case (n > m). | |
831 * CMatrix.cc (ILAENV): Declare LAPACK Fortran function. | |
832 (ComplexMatrix::lssolve): Use ILAENV to query smlsiz. And add an | |
833 ugly workaround for DGELSD's broken lwork query, as with double. | |
834 | |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
835 2008-02-12 John W. Eaton <jwe@octave.org> |
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
836 |
7470
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
837 * sparse-sort.cc: Don't explicitly instantiate |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
838 class octave_sort<octave_idx_vector_sort *>, |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
839 class octave_sort<octave_idx_type>, or |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
840 class octave_sort<octave_sparse_sort_idxl *>. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
841 |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
842 * Sparse.h (INSTANTIATE_SPARSE_SORT): Delete macro. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
843 * 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
|
844 |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
845 * 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
|
846 |
7466
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
847 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
|
848 |
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
849 * 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
|
850 |
7463
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
851 2008-02-08 John W. Eaton <jwe@octave.org> |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
852 |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
853 * oct-sort.h (enum sortmode): Eliminate UNDEFINED. Change all |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
854 uses of UNDEFINED to ASCENDING. |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
855 |
7457 | 856 2008-02-07 John W. Eaton <jwe@octave.org> |
857 | |
7458 | 858 * Range.cc (Range::sort_internal): Rename from sort. New arg, |
859 ASCENDING, with default value of true. | |
860 (Range::sort_internal (Array<octave_idx_type>&, bool)): New function. | |
861 (Range::sort (octave_idx_type, sortmode) const): New function. | |
862 (Range::sort (Array<octave_idx_type>&, octave_idx_type, sortmode) | |
863 const): New function. | |
864 * Range.h: Fix/provide decls. | |
865 | |
7457 | 866 * intNDArray.cc (intNDArray<T>::any (int)): Use != for comparison. |
867 | |
7449 | 868 2008-02-06 John W. Eaton <jwe@octave.org> |
869 | |
870 * Makefile.in ($(OPTS_INC)): Use mv instead of move-if-change. | |
871 (stamp-prereq): Eliminate. | |
872 (clean): Don't remove stamp-prereq. | |
873 (libraries): Don't depend on stamp-prereq. | |
874 (PREREQ): New macro. | |
875 ($(MAKEDEPS)): Depend on $(PREREQ), not stamp-prereq. | |
876 (distclean): Simplify with $(PREREQ). | |
877 (OPT_BASE): New macro. | |
878 (OPT_IN): Rename from OPTS_INC_DATA. Define in terms of OPT_BASE. | |
879 (OPT_INC): Rename from OPTS_INC. Define in terms of OPT_BASE. | |
880 | |
7448 | 881 2008-02-05 John W. Eaton <jwe@octave.org> |
882 | |
883 * Makefile.in: Unconditionally include $(MAKEDEPS). | |
884 Mark $(MAKEDEPS) as .PHONY targets if omit_deps is true. | |
885 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
886 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> |
7443 | 887 |
888 * Array.cc (ascending_compare, descending_compare, | |
889 Array<T>::sort): Declare explicit specialization for T=double to | |
890 avoid symbol duplication error at link time. | |
891 * Array-d.cc (ascending_compare, descending_compare): Declare and | |
892 define as nonmember functions, not member functions of Array<T>. | |
893 | |
7442 | 894 2008-02-03 John W. Eaton <jwe@octave.org> |
895 | |
896 * Array-i.cc: Also instantiate Arrays for long long type if it exists. | |
897 | |
898 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> | |
899 | |
900 * Array.cc: Don't include Range.h. | |
901 | |
7433 | 902 2008-01-31 David Bateman <dbateman@free.fr> |
903 | |
904 * oct-sort.cc: conversion of int to octave_idx_type where needed | |
905 for 64-bit builds. | |
906 (IFLT): Allow IFLT macro to be overridden. | |
907 * oct-sort.h: conversion of int to octave_idx_type where needed | |
908 for 64-bit builds. | |
909 (enum sortmode): Type of sort to perform. | |
910 (vec_index): Simple class to aid in indexed sorts. | |
911 | |
912 * Array.h ( Array<T> sort (octave_idx_type, sortmode) const, | |
913 Array<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
914 sortmode) const): Array sorting methods. | |
915 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT): Macros to | |
916 instantiate the array sorting methods. | |
917 * Array.cc (ascending_compare, descending_compare): New template | |
918 functions for generic sort comparison. | |
919 ( Array<T> Array<T>::sort (octave_idx_type, sortmode) const, | |
920 Array<T> Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, | |
921 sortmode) const): Array sorting functions based of octave_sort | |
922 class. | |
923 * Array-C.cc: Instantiate the complex array sort methods. | |
924 (IFLT): New macro to override the one in the | |
925 octave_sort class to avoid need for Complex < and > operators. | |
926 (static double xabs (const Complex&)): Complex abs function | |
927 avoiding std::abs(Inf) returning NaN with some compilers. | |
928 (ascending_compare, descending compare): override template | |
929 functions for complex comparison. | |
930 * Array-d.cc: Instantiate the double array sort methods. | |
931 (Array<double> Array<double>::sort (octave_idx_type, | |
932 sortmode) const, Array<double> Array<double>::sort | |
933 (Array<octave_idx_type> &, octave_idx_type, sortmode) const): | |
934 Array sorting functions based of octave_sort using uint64 sorting | |
935 on IEE754 doubles, for speed and correct sorting of Inf and NaN. | |
936 (ascending_compare, descending compare): override template | |
937 functions for double and uint64 comparison. | |
938 * Array-b.cc, Array-ch.cc, Array-i.cc, Array-s.cc, Array-str.cc: | |
939 Instantiate the array sort methods. | |
940 * Array-idx-vec.cc: Null instantiation of array sort methods. | |
941 * Array2.h, Array3.h, ArrayN.h (sort): 2, 3 and N-dimensional | |
942 versions of the sort methods based on Array<T>::sort. | |
943 | |
944 * CSparse.cc, dSparse.cc: Remove inclusion of octa-sort.h. | |
945 * Sparse.h ( Sparse<T> sort (octave_idx_type, sortmode) const, | |
946 Sparse<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
947 sortmode) const): Sparse sorting methods. | |
948 (INSTANTIATE_ARRAY_SORT): Macro to instantiate the sparse sorting | |
949 methods. | |
950 * Sparse.cc: replace sort with lsort throughout to avoid shadowing | |
951 of new sort method. | |
952 (sparse_ascending_compare, sparse_descending_compare): New template | |
953 functions for generic sort comparison. | |
954 ( Sparse<T> Sparse<T>::sort (octave_idx_type, sortmode) const, | |
955 Sparse<T> Sparse<T>::sort (Sparse<octave_idx_type> &, octave_idx_type, | |
956 sortmode) const): Sparse sorting functions based of octave_sort | |
957 class. | |
958 * Sparse-C.cc: Instantiate the complex sparse sort methods. | |
959 (IFLT): New macro to override the one in the | |
960 octave_sort class to avoid need for Complex < and > operators. | |
961 (static double xabs (const Complex&)): Complex abs function | |
962 avoiding std::abs(Inf) returning NaN with some compilers. | |
963 (sparse_ascending_compare, sparse_descending compare): override | |
964 template functions for complex comparison. | |
965 * Sparse-d.cc: Instantiate the cdouble sparse sort methods. | |
966 (sparse_ascending_compare, sparse_descending compare): override | |
967 template functions for double comparison. | |
968 * Array-b.cc: Instantiate the sparse sort methods. | |
969 | |
7422 | 970 2008-01-25 Jaroslav Hajek <highegg@gmail.com> |
971 | |
972 * idx-vector.h (idx_vector::idx_vector_rep::range_base, | |
973 idx_vector::idx_vector_rep::range_step, | |
974 idx_vector::idx_vector_rep::range_step): New data members. | |
975 (idx_vector::idx_vector_rep::idx_vector_rep): Initialize them. | |
976 * idx-vector.cc (IDX_VEC_REP::sort, IDX_VEC_REP::is_colon_equiv, | |
977 IDX_VEC_REP::init_state, IDX_VEC_REP::operator =, | |
978 IDX_VECTOR_REP::idx_vector_rep): Handle range. | |
979 | |
7416 | 980 2008-01-18 Marco Caliari <marco.caliari@univr.it> |
981 | |
982 * dMatrix.cc (Matrix::expm): Correctly perform reverse permutation. | |
983 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
984 | |
7408 | 985 2008-01-22 Michael Goffioul <michael.goffioul@gmail.com> |
7407 | 986 |
987 * oct-time.cc (octave_base_tim::init): Validate pointer argument; | |
988 this fixes the "localtime(-1)" crash under Windows. | |
989 | |
7400 | 990 2008-01-18 John W. Eaton <jwe@octave.org> |
991 | |
992 * dMatrix.cc (solve_singularity_warning): New function. | |
993 (Matrix::expm): Pass pointer to solve_singularity_warning to | |
994 Matrix::solve method. Exit early if Matrix::solve fails. | |
995 Limit sqpow value to avoid overflowing scale factor. | |
996 * CMatrix.cc (solve_singularity_warning): New function. | |
997 (ComplexMatrix::expm): Pass pointer to solve_singularity_warning to | |
998 ComplexMatrix::solve method. Exit early if ComplexMatrix::solve fails. | |
999 Limit sqpow value to avoid overflowing scale factor. | |
7402 | 1000 From Marco Caliari <marco.caliari@univr.it>. |
7400 | 1001 |
7356 | 1002 2008-01-10 Kim Hansen <kimhanse@gmail.com> |
1003 | |
1004 * Sparse.cc: New tests for slicing of sparse matrices. | |
1005 | |
7350 | 1006 2008-01-07 David Bateman <dbateman@free.fr> |
1007 | |
1008 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Don't break from | |
1009 loop if this test succeeds. | |
1010 | |
7342 | 1011 2008-01-03 David Bateman <dbateman@free.fr> |
1012 | |
1013 * MSparse.cc (SPARSE_A2A2_OP): If first arg is scalar zero, then | |
1014 need unary operator on remaining argument | |
1015 * Sparse-op-defs.h (SPARSE_SMSM_BIN_OP_1): ditto. | |
1016 | |
7334 | 1017 2007-12-21 John W. Eaton <jwe@octave.org> |
1018 | |
1019 Version 3.0.0 released. | |
1020 | |
7322 | 1021 2007-12-18 David Bateman <dbateman@free.fr> |
1022 | |
1023 * Sparse.cc (template <class T> Sparse<T> Sparse<T>::index | |
1024 (idx_vector&, int) const): Fix case indexing of non zero scalar | |
1025 stored as a sparse matrix. | |
1026 (template <class T> Sparse<T> Sparse<T>::index (idx_vector&, | |
1027 idx_vector&, int) const): For the non permutated indexing case, | |
1028 fix link list calculation and use. | |
1029 | |
7321 | 1030 2007-12-17 John W. Eaton <jwe@octave.org> |
1031 | |
1032 * Array.cc (Array<T>::indexN): Correctly handle scalar indexed by | |
1033 N-d array. | |
1034 | |
7318 | 1035 2007-12-17 David Bateman <dbateman@free.fr> |
1036 | |
1037 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Use ridx for row | |
1038 index. | |
1039 | |
7299 | 1040 2007-12-11 John W. Eaton <jwe@octave.org> |
1041 | |
1042 * Sparse.cc (Sparse<T>::index (idx_vector&, int) const): | |
1043 If indexing scalar with empty matrix, return empty array with same | |
1044 size as index. | |
1045 | |
7272 | 1046 2007-12-10 John W. Eaton <jwe@octave.org> |
1047 | |
7279 | 1048 * NLEqn.h (NLEqn::fval): New data member. Adjust constructors |
1049 and assignment operator. | |
1050 (NLEqn::function_value): New function. | |
1051 * NLEqn.cc (NLEqn::solve): If solution is successful, compute | |
1052 function value. | |
1053 | |
7272 | 1054 * file-ops.cc (file_ops::concat): New function. |
1055 * file-ops.h: Provide decl. | |
1056 | |
7270 | 1057 2007-12-07 John W. Eaton <jwe@octave.org> |
1058 | |
1059 * oct-time.cc (octave_base_tm::init): Only assign t->tm_zone if it | |
1060 is not 0. | |
1061 | |
7269 | 1062 2007-12-07 David Bateman <dbateman@free.fr> |
1063 | |
1064 * Sparse-op-defs.h (SPARSE_SMS_CMP_OP, SPARSE_SMS_BOOL_OP, | |
1065 SPARSE_SSM_CMP_OP, SPARSE_SSM_BOOL_OP, SPARSE_SMSM_CMP_OP, | |
1066 SPARSE_SMSM_BOOL_OP, SPARSE_BASE_REDUCTION_OP): Use sparse | |
1067 indexing where possible rather than the elem method. | |
1068 (SPARSE_REDUCTION_OP_ROW_EXPR, SPARSE_REDUCTION_OP_COL_EXPR, | |
1069 SPARSE_ANY_ALL_OP_ROW_CODE, SPARSE_ANY_ALL_OP_COL_CODE): | |
1070 Replace for new version of SPARSE_BASE_REDUCTION_OP. | |
1071 (SPARSE_ALL_OP): Specialize the initial value, and only treat dim | |
1072 = 0 directly. | |
1073 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::sumsq (int) | |
1074 const): Replace ROW_EXPR and COL_EXPR functions for new version of | |
1075 SPARSE_BASE_REDUCTION_OP. | |
1076 (SparseComplexMatrix SparseComplexMatrix::prod (int) const): | |
1077 Specialize the initial value, and only treat dim = 0 directly. | |
1078 * dSparse.cc (SparseMatrix SparseMatrix::sumsq (int) const): | |
1079 ditto. | |
1080 (SparseMatrix SparseMatrix::prod (int) const): ditto. | |
1081 | |
7265 | 1082 2007-12-06 John W. Eaton <jwe@octave.org> |
1083 | |
1084 * CMatrix.cc (ComplexMatrix::expm): Update pointers to internal | |
1085 data for npp and dpp after assignments. | |
1086 * dMatrix.cc (Matrix::expm): Use same method as ComplexMatrix::expm. | |
1087 | |
7253 | 1088 2007-12-04 John W. Eaton <jwe@octave.org> |
1089 | |
1090 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1091 Do nothing if one index is empty. | |
1092 | |
7246 | 1093 2007-12-04 David Bateman <dbateman@free.fr> |
1094 | |
1095 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1096 Resize matrix as well if one dimension of lhs is zero and the rhs | |
1097 index exceeds the lhs index. | |
1098 * Sparse.cc (assign1 (Sparse<LT>&, const Sparse<RT>&)): | |
1099 Don't resize to a smaller matrix for empty matrices with a max rhs | |
1100 index smaller than the non zero lhs index. | |
1101 | |
1102 2007-12-04 Michael Goffioul <michael.goffioul@gmail.com> | |
1103 | |
1104 * Array-util.h: Tag permute_vector_compare with OCTAVE_API. | |
1105 | |
7241 | 1106 2007-12-03 Moritz Borgmann <octave@moriborg.de> |
1107 | |
1108 * Array-util.cc (permute_vector_compare): Move here from Array.cc. | |
1109 * Array-util.h (permute_vector, permute_vector_compare): Provide decls. | |
1110 * Array.cc (permute_vector, permute_vector_compare): Delete. | |
1111 | |
7238 | 1112 2007-12-03 David Bateman <dbateman@free.fr> |
1113 | |
1114 * Sparse.cc (template <class LT, class RT> int assign | |
1115 (Sparse<LT>&, const Sparse<RT>&)): Only set return matrix size to | |
1116 rhs values if both no. rows and columns are zero. | |
1117 | |
7231 | 1118 2007-11-30 John W. Eaton <jwe@octave.org> |
1119 | |
7234 | 1120 * oct-sort.cc, oct-sort.h: Style fixes. |
1121 | |
7231 | 1122 * lo-math.h: New file. |
1123 * Makefile.in (INCLUDES): Add it to the list. | |
1124 * liboctave/Array2.h, liboctave/ArrayN.h, liboctave/CmplxDET.cc, | |
1125 liboctave/DASPK.cc, liboctave/DASPK.h, liboctave/DASRT.cc, | |
1126 liboctave/DASRT.h, liboctave/DASSL.cc, liboctave/DASSL.h, | |
1127 liboctave/LSODE.cc, liboctave/LSODE.h, liboctave/NLEqn.h, | |
1128 liboctave/Quad.h, liboctave/Range.cc, liboctave/dbleDET.cc, | |
1129 liboctave/lo-cieee.c, liboctave/lo-ieee.cc, | |
1130 liboctave/lo-mappers.cc, liboctave/oct-time.cc, | |
1131 liboctave/oct-time.h, liboctave/randgamma.c, | |
1132 liboctave/randmtzig.c, liboctave/randpoisson.c: Include lo-math.h | |
1133 instead of cmath or math.h. | |
1134 * lo-mappers.h: Don't include sunmath.h here. | |
1135 | |
7198 | 1136 2007-11-26 John W. Eaton <jwe@octave.org> |
1137 | |
1138 * idx-vector.h (idx_vector::idx_vector_rep (const intNDArray<U>&)): | |
1139 Eliminate unnecessary second arg from call to tree_to_mat_idx. | |
1140 | |
1141 * oct-inttypes.h (operator bool, operator char): Delete. | |
1142 (bool_value, char_value, double_value, float_value): New functions. | |
1143 | |
7189 | 1144 2007-11-26 David Bateman <dbateman@free.fr> |
1145 | |
1146 * intNDArray.cc (template <class T> intNDArray<T> | |
1147 intNDArray<T>::max (int) const, template <class T> intNDArray<T> | |
1148 intNDArray<T>::max (ArrayN<octave_idx_type>&, int) const, | |
1149 template <class T> intNDArray<T> intNDArray<T>::min (int) const, | |
1150 template <class T> intNDArray<T> intNDArray<T>::min | |
1151 (ArrayN<octave_idx_type>&, int) const): New methods for integer | |
1152 classes. | |
1153 * intNDArray.h (class intNDArray): Add min/max methods | |
1154 * mx-op-defs.h (MIXMAX_DECLS, MINMAX_FCNS, SND_MINMAX_FCN, | |
1155 NDS_MINMAX_FCN, NDND_MINMAX_FCN): New macro for instantiation of | |
1156 min/max functions. | |
1157 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
1158 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
1159 (MINMAX_DECLS(T)): Declare the min/max functions for integer | |
1160 types. | |
1161 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
1162 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
1163 (MINMAX_FCNS(T)): Instantiate the min/max functions for integer | |
1164 types. | |
1165 | |
1166 * Arrayc.cc (Array<T>::index (idx_vector&, idx_vector&, int, | |
1167 const T& rfv) const): If ndims != 2 call ND version of index. | |
1168 | |
7176 | 1169 2007-11-14 John W. Eaton <jwe@octave.org> |
1170 | |
7178 | 1171 * oct-inttypes.h (opeator T (void) const): New conversion operator. |
1172 | |
7176 | 1173 * lo-specfun.cc (zbesi): When alpha is negative, don't limit |
1174 correction to half-integer values. From Eric Chassande-Mottin | |
1175 <echassandemottin@gmail.com>. | |
1176 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
1177 2007-11-07 Michael Goffioul <michael.goffioul@gmail.com> |
7124 | 1178 |
1179 * dMatrix.cc, CMatrix.cc: Help MSVC compiler to resolve | |
1180 ambiguities related to math functions (in C++ mode). | |
1181 | |
7102 | 1182 2007-11-06 David Bateman <dbateman@free.fr> |
1183 | |
7113 | 1184 * intNDArray.cc (intNDArray<T> intNDArray<T>::sum (int) const): |
1185 New method. | |
1186 * intNDarray.h (intNDArray sum (int) const): Declare it. | |
1187 * boolNDArray.cc (boolNDArray boolNDArray::sum (int) const): | |
1188 New method. | |
1189 * boolNDarray.cc (boolNDArray sum (int) const): Declare it. | |
7102 | 1190 * MArray-def.h (MARRAY_NORM_BODY): Scale frobenius norm by infinity |
1191 norm to avoid issues of over- and underflow. From Rolf Fabian | |
1192 <Rolf.Fabian@gmx.de>. | |
1193 | |
7081 | 1194 2007-10-30 David Bateman <dbateman@free.fr> |
1195 | |
1196 * DASRT-opts.in, LSODE-opts.in: Doc fixes for small book format. | |
1197 | |
7079 | 1198 2007-10-30 John W. Eaton <jwe@octave.org> |
1199 | |
1200 * CMatrix.cc (lssolve): Compute size of rwork and iwork arrays. | |
1201 * dMatrix.cc (lssolve): Compute size of iwork array. | |
1202 | |
7076 | 1203 2007-10-29 David Bateman <dbateman@free.fr> |
1204 | |
1205 * CMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
1206 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1207 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
1208 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
1209 double& rcond) const, lssolve (const ComplexColumnVector&, | |
1210 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
1211 declarations. | |
1212 * CMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
1213 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1214 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
1215 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
1216 double& rcond) const, lssolve (const ComplexColumnVector&, | |
1217 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
1218 methods. | |
1219 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
1220 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
1221 octave_idx_type&, double&) const): Also return rcond from the | |
1222 singular values returned by XGELSD. | |
1223 * dMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
1224 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1225 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
1226 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
1227 double& rcond) const, lssolve (const ComplexColumnVector&, | |
1228 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
1229 declarations. | |
1230 * dMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
1231 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1232 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
1233 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
1234 double& rcond) const, lssolve (const ComplexColumnVector&, | |
1235 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
1236 methods. | |
1237 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
1238 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
1239 octave_idx_type&, double&) const): Also return rcond from the | |
1240 singular values returned by XGELSD. | |
1241 | |
7072 | 1242 2007-10-26 David Bateman <dbateman@free.fr> |
1243 | |
1244 * dMatrix.cc (Matrix::lssolve): Use xGELSD for rank deficient | |
1245 matrices to avoid reliability issues with xGELSY. | |
1246 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. | |
7071 | 1247 |
7065 | 1248 2007-10-25 John W. Eaton <jwe@octave.org> |
1249 | |
1250 * oct-time.cc (octave_gmtime::init, octave_localtime::init): | |
1251 Call unix_time on arg instead of relying on conversion operator. | |
1252 | |
1253 * oct-time.h (octave_time::double_value): New function. | |
1254 (octave_time::operator double () const): Delete. | |
1255 (octave_time::operator time_t () const): Delete. | |
1256 | |
7058 | 1257 2007-10-24 John W. Eaton <jwe@octave.org> |
1258 | |
1259 * strptime.c: Also compile if OCTAVE_HAVE_BROKEN_STRPTIME is defined. | |
1260 | |
7052 | 1261 2007-10-23 John W. Eaton <jwe@octave.org> |
1262 | |
1263 * CRowVector.cc (operator * const ComplexRowVector&, const | |
1264 ComplexColumnVector&)): Delete spurious code left from patch. | |
1265 | |
7048 | 1266 2007-10-22 Kim Hansen <kimhanse@gmail.com> |
1267 | |
1268 * chMatrix.cc, lo-utils.cc, oct-env.cc, oct-uname.cc, | |
1269 sparse-sort.cc: Include <cstring>. | |
1270 | |
7036 | 1271 2007-10-17 John W. Eaton <jwe@octave.org> |
1272 | |
1273 * oct-sparse.h: Don't include metis.h. | |
1274 | |
1275 * dSparse.cc (SparseMatrix::fsolve): Delete special code for METIS. | |
1276 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
1277 * sparse-base-chol.cc (sparse_base_chol<chol_type, chol_elt, | |
1278 p_type>::sparse_base_chol_rep::init): Likewise. | |
1279 | |
7033 | 1280 2007-10-16 John W. Eaton <jwe@octave.org> |
1281 | |
1282 * dMatrix.cc (Matrix::inverse): Only check rcond == 0 if the | |
1283 matrix is hermitian or calc_cond is true. | |
1284 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
1285 | |
7016 | 1286 2007-10-12 John W. Eaton <jwe@octave.org> |
1287 | |
1288 * Change copyright notices in all files that are part of Octave to | |
1289 GPLv3 or any later version. | |
1290 | |
7007 | 1291 2007-10-11 Brian Gough <bjg@network-theory.co.uk> |
1292 | |
1293 * DASSL-opts.in, LSODE-opts.in: Spelling fixes. | |
1294 | |
7001 | 1295 2007-10-10 Olli Saarela <Olli.Saarela@kcl.fi> |
1296 | |
1297 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in: Spelling fixes. | |
1298 | |
7000 | 1299 2007-10-10 John W. Eaton <jwe@octave.org> |
1300 | |
1301 * LPsolve.h, LPsolve.cc: Delete. | |
1302 * Makefile.in: Remove them from the INCLUDES and | |
1303 LIBOCTAVE_CXX_SOURCES lists. | |
1304 | |
6989 | 1305 2007-10-09 John W. Eaton <jwe@octave.org> |
1306 | |
6996 | 1307 * oct-time.cc (octave_strptime::init): Initialize t.tm_mon to -1 |
1308 and t.tm_year to INT_MIN before call to oct_strptime. Adjust | |
1309 values to zero after call if they remain unchanged. | |
1310 | |
6989 | 1311 * dSparse.cc (SparseMatrix::all_elements_are_zero): New function. |
1312 * dNDArray.cc (NDArray::all_elements_are_zero): New function. | |
1313 | |
6988 | 1314 2007-10-09 David Bateman <dbateman@free.fr> |
1315 | |
6995 | 1316 * oct-time.cc (octave_strptime::init): Only call mktime if mday is |
1317 valud and mon and year are also filled in. | |
1318 | |
6990 | 1319 * Array2.h (Array2<T>::Array2(const dim_vector&), |
1320 Array2<T>::Array(const dim_vector&, const T&)): Check that | |
1321 dim_vector is 2 dimensional. | |
1322 | |
6988 | 1323 * Sparse.cc (Sparse<T> Sparse<T>::index (idx_vector&, idx_vector&, |
1324 int)): Remove a for loop in the random indexing case at the | |
1325 expense of maintaining a set of linked lists of indices that point | |
1326 to the same column in the original matrix. | |
1327 (int assign (Sparse<LT>&, Sparse<RT>)): Take a const copy of lhs | |
1328 and use it on the RHS of expressions to avoid unnecessary calls to | |
1329 make_unique. | |
1330 | |
6979 | 1331 2007-10-08 David Bateman <dbateman@free.fr> |
1332 | |
1333 * oct-rl-edit. (typedef rl_quoting_fcn_ptr, rl_dequoting_fcn_ptr, | |
1334 rl_char_is_quoted_fcn_ptr, rl_command_fcn_ptr): New typedefs | |
1335 for readline compatible functions. | |
1336 (octave_rl_redisplay): Redisplay the current line of text. | |
1337 (octave_rl_newline): Change interface to the same | |
1338 as used by the equivalent readline function itself. | |
1339 (octave_rl_filename_quoting_desired, | |
1340 octave_rl_set_filename_quote_characters, | |
1341 octave_rl_set_completer_quote_characters, | |
1342 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
1343 octave_rl_set_char_is_quoted_function): New functions to control | |
1344 readline filename quoting and line acceptace. | |
1345 * oct-rl-edit.c (octave_rl_newline): Change interface to the same | |
1346 as used by the equivalent readline function itself. | |
1347 (octave_rl_redisplay): Redisplay the current line of text. | |
1348 (octave_rl_filename_quoting_desired, | |
1349 octave_rl_set_filename_quote_characters, | |
1350 octave_rl_set_completer_quote_characters, | |
1351 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
1352 octave_rl_set_char_is_quoted_function): New functions to control | |
1353 readline filename quoting and line acceptace. | |
1354 * cmd-edit.h (typedef quoting_fcn, typedef dequoting_fcn, | |
1355 typedef char_is_quoted_fcn, user_accept_line_fcn): New typedefs | |
1356 to map C++ function to readline compatible functions. | |
1357 (set_filename_quote_characters): New function to set the | |
1358 characters to if they appear in a filename that force the filename | |
1359 to be quoted. | |
1360 (set_completer_quote_characters): The characters that the readline | |
1361 completion function considers as quotation characters. | |
1362 (set_quoting_function, set_dequoting_function, | |
1363 set_char_is_quoted_function, set_user_accept_line_function): | |
1364 Functions to set the Octave functions to perform quoting and the | |
1365 acceptance of a line of text by readline. | |
1366 (get_quoting_function, get_dequoting_function, | |
1367 get_char_is_quoted_function, get_user_accept_line_function): | |
1368 Functions to get the above functions. | |
1369 (accept_line): New method for the command_editor to accept a line | |
1370 of text. | |
1371 (file_quoting_desired): Function to set whether readline should | |
1372 attempt to quote filenames. | |
1373 (do_set_filename_quoting_characters, | |
1374 do_set_completer_quote_characters, do_set_quoting_function, | |
1375 do_set_dequoting_function, do_set_char_is_quoted_function, | |
1376 do_set_user_accept_line_function, do_get_quoting_function, | |
1377 do_get_dequoting_function, do_get_char_is_quoted_function, | |
1378 do_get_user_accept_line_function, do_filename_quoting_desired): | |
1379 Virtual functions to control the behavior of readline quoting and | |
1380 acceptance of lines. | |
1381 (do_accept_line): Virtual function for the accept line function. | |
1382 * cmd-edit.cc (class gnu_readline do_set_filename_quote_characters, | |
1383 do_completer_quote_characters, do_set_quoting_function, | |
1384 do_set_dequoting_function, do_set_char_is_quoted_function, | |
1385 do_set_user_accept_line_function, do_get_quoting_function, | |
1386 do_get_dequoting_function, do_get_user_accept_line_function, | |
1387 do_accept_line, do_filename_quoting_desired, command_quoter, | |
1388 command_dequoter, command_char_is_quoted, command_accept_line): | |
1389 New functions in gnu_readline class to control filename quoting | |
1390 and line acceptance. | |
1391 (quoting_function, dequoting_function, char_is_quoted_function, | |
1392 user_accept_line_function): private variable to store functions | |
1393 supplied for readline quoting and line acceptance. | |
1394 (gnu_readline::gnu_readline): Also set the new function pointers | |
1395 to zero. | |
1396 (gnu_readline::do_newline): Adapt to new octave_rl_newline | |
1397 interface. | |
1398 (gnu_readeline::operate_and_get_next): Use new accept_line | |
1399 function rather than newline. | |
1400 (default_ommand_editor::do_accept_line): New method. | |
1401 (class command_editor set_filename_quote_characters, | |
1402 set_completer_quote_characters, set_quoting_function, | |
1403 set_dequoting_function, set_char_is_quoted_function, | |
1404 set_user_accept_line_function, get_quoting_function, | |
1405 get_dequoting_function, get_user_accept_line_function, | |
1406 accept_line, filename_quoting_desired): New functions checking | |
1407 instance before calling virtual function. | |
1408 | |
1409 * CMatrix.h, dMatrix.h, boolMatrix.h, chMatrix.h, MArray2.h, | |
1410 Array2.h: Add dim_vector constructors. | |
1411 * charNDArray.h (charNDArray (const dim_vector&)): Add missing | |
1412 const to dim_vector constructors. | |
1413 * boolMatrix.cc, chMatrix.cc, intNDArray.cc (diag (void), diag | |
1414 (octave_idx_type)): New methods to constructor diagonal matrices. | |
1415 * boolMatrix.h, chMatrix.h, intNDArray.h (diag (void), diag | |
1416 (octave_idx_type)): Declare them. | |
1417 | |
1418 | |
6969 | 1419 2007-10-06 John W. Eaton <jwe@octave.org> |
1420 | |
1421 * lo-specfun.cc: (zlgamma): Delete. | |
1422 (xgamma): Use C library gamma function if available. | |
1423 (xlgamma): Use C library lgamma function if available. | |
1424 (xlgamma) [! HAVE_LGAMMA]: Allow calculation for any value of X | |
1425 other than NaN or Inf. | |
1426 | |
6961 | 1427 2007-10-05 John W. Eaton <jwe@octave.org> |
1428 | |
1429 * lo-specfun.cc (zlgamma): New function. | |
1430 | |
6959 | 1431 2007-10-04 John W. Eaton <jwe@octave.org> |
1432 | |
1433 * oct-sort.cc (octave_sort<T>::binarysort): Remove register | |
1434 qualifiers on local variables. | |
1435 | |
6958 | 1436 2007-10-04 Marco Caliari <mcaliari@math.unipd.it> |
1437 | |
1438 * CMatrix.cc (ComplexMatrix::expm): Limit shift to values less | |
1439 than log(realmax) to avoid issues with NaN. | |
1440 | |
6940 | 1441 2007-10-01 John W. Eaton <jwe@octave.org> |
1442 | |
6941 | 1443 * oct-time.cc (octave_strptime::init): Call mktime to propertly |
1444 initialize wday and yday. | |
1445 From Matthias Drochner <m.drochner@fz-juelich.de>. | |
1446 | |
6940 | 1447 * cmd-edit.cc (command_editor::do_decode_prompt_string): Don't |
1448 insert extra '\001' when decoding \[ and \]. | |
1449 | |
6926 | 1450 2007-09-26 David Bateman <dbateman@free.fr> |
1451 | |
1452 * dMatrix.cc (lssolve): Replace the use of xGELSS with xGELSY with | |
1453 is much faster and no less accurate. | |
1454 * CMatrix.cc (lssolve): ditto. | |
1455 | |
6924 | 1456 2007-09-25 David Bateman <dbateman@free.fr> |
1457 | |
1458 * dMatrix.cc (utsolve, ltsolve, fsolve, lssolve): Allow | |
1459 zero dimensioned matrices. | |
1460 * CMatrix.cc (utsolve, ltsolve, fsolve, lssolve): ditto. | |
1461 * dSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
1462 ditto. | |
1463 * CSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
1464 ditto. | |
1465 * SparseQR.cc (SparseQR::SparseQR_rep::C, qrsolve): ditto. | |
1466 * SparseCmplxQR.cc (SparseComplexQR::SparseComplexQR_rep::C, | |
1467 qrsolve): ditto. | |
1468 * sparse-dmsolve.cc (dmsolve): ditto. | |
1469 | |
6922 | 1470 2007-09-21 John W. Eaton <jwe@octave.org> |
1471 | |
1472 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): | |
1473 Also allow resizing empty LHS if it is 1x0 or 0xN. | |
1474 | |
6916 | 1475 2007-09-19 John W. Eaton <jwe@octave.org> |
1476 | |
1477 * cmd-edit.cc (command_editor::remove_startup_hook): | |
1478 Fix cut-and-paste error. | |
6917 | 1479 (gnu_readline::set_startup_hook): Only set hook function if new |
1480 function is different from the current one. | |
6916 | 1481 |
6913 | 1482 2007-09-18 John W. Eaton <jwe@octave.org> |
1483 | |
1484 * cmd-edit.h, cmd-edit.cc (command_editor::startup_hook_set, | |
1485 command_editor::event_hook_set): New static data. | |
1486 (default_command_editor::set_startup_hook, | |
1487 gnu_readline::set_startup_hook, | |
1488 default_command_editor::restore_startup_hook, | |
1489 gnu_readline_restore_event_hook): | |
1490 Rename from do_set_startup_hook and do_set_event_hook. | |
1491 (gnu_readline::operate_and_get_next): Call | |
1492 command_editor::add_startup_hook, not | |
1493 command_editor::set_startup_hook. | |
1494 (command_editor::startup_handler, command_editor::event_handler): | |
1495 New functions. | |
1496 (command_editor::add_startup_hook, command_editor::add_event_hook, | |
1497 command_editor::remove_startup_hook, | |
1498 command_editor::remove_event_hook): Rename from set_startup_hook | |
1499 and restore_startup_hook. Handle hook sets here. | |
1500 * cmd-edit.cc (gnu_history::do_goto_mark): | |
1501 Call remove_startup_hook instead of restore_startup_hook. | |
1502 | |
6907 | 1503 2007-09-17 John W. Eaton <jwe@octave.org> |
1504 | |
1505 * lo-utils.cc (octave_read_complex, octave_read_double): Skip | |
1506 leading whitespace. | |
1507 | |
6897 | 1508 2007-09-13 John W. Eaton <jwe@octave.org> |
1509 | |
1510 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
1511 octave_read_complex): Use istream::get instead of >> to read | |
1512 individual characters. | |
1513 | |
6884 | 1514 2007-09-10 John W. Eaton <jwe@octave.org> |
1515 | |
1516 * Array.cc (assign1): Don't call make_unique for invalid assignment. | |
1517 | |
1518 2007-09-10 David Bateman <dbateman@free.fr> | |
1519 | |
1520 * Array.h (Array<T>::make_unique): Make public so that the | |
1521 ::assign functions can access it directly. | |
1522 * Array.cc (Array<T>::maybe_delete_elements_1(idx_vector&), | |
1523 Array<T>::maybe_delete_elements_1(idx_vector&), | |
1524 Array<T>::maybe_delete_elements(idx_vector&, idx_vector&), | |
1525 Array<T>::maybe_delete_elements(Array<idx_vector>&, const T&)): | |
1526 Use xelem for non const RHS to avoid call to make_unique. | |
1527 (int assign1 (Array<LT>&, const Array<RT>&, const LT&)): Use | |
1528 xelem for LHS and call lhs.make_unique() only once. Special case | |
1529 the is_colon index case and use Array<T>::xelem(octave_idx_type) | |
1530 rather than Array<T>::xelem(octave_idx_type,octave_idx_type) and | |
1531 bring the additional multiplication out of the inner loop. | |
1532 (int assign2 (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
1533 (int assignN (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
1534 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep | |
1535 (const Range& r)): Don't use init_state() method but special case | |
1536 as with a Range can avoid exhaustive search. | |
1537 | |
6881 | 1538 2007-09-07 John W. Eaton <jwe@octave.org> |
1539 | |
1540 * Array.cc (Array<T>::fortran_vec): Call make_unique instead of | |
1541 manipulating rep directly. | |
1542 | |
1543 * Array.h (idx, idx_count): Declare mutable. | |
1544 (Array<T>::set_index, Array<T>::clear_index, Array<T>::value): | |
1545 Now const. | |
1546 | |
6867 | 1547 2007-09-06 David Bateman <dbateman@free.fr> |
1548 | |
6868 | 1549 * Array-util.cc (increment_index): dimensions can have singleton |
1550 trailing dimensions. | |
6867 | 1551 * Array.h (range_error, xelem, checkelem, elem, operator ()): |
1552 Modify use of Array<int> to Array<octave_idx_type> and adjust | |
1553 where necessary. | |
1554 * Array.cc (range_error): ditto. | |
1555 * MArrayN.h (permute, ipermute): ditto. | |
1556 * ArrayN.h (permute, ipermute): ditto. | |
1557 * so-array.cc (streamoff_array::compute_index): ditto. | |
1558 * so-array.h (compute_index): ditto. | |
1559 * CMattrix.cc (ComplexMatrix::exmpm): ditto. | |
1560 | |
6840 | 1561 2007-08-29 David Bateman <dbateman@free.fr> |
1562 | |
1563 * dSparse.cc (SparseMatrix SparseMatrix::inverse (MatrixType &, | |
1564 octave_idx_type&, double&, int, int)): Calculate with LU even for | |
1565 matrices marked as singular. | |
1566 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::inverse ( | |
1567 MatrixType &, octave_idx_type&, double&, int, int)): ditto. | |
1568 * dMatrix.cc (Matrix Matrix::inverse (MatrixType &, octave_idx_type&, | |
1569 double&, int, int)): ditto. If rcond==0 force matrix of infinities. | |
1570 * dMatrix.cc (ComplexMatrix ComplexMatrix::inverse (MatrixType &, | |
1571 octave_idx_type&, double&, int, int)): ditto. | |
1572 | |
6838 | 1573 2007-08-27 John W. Eaton <jwe@octave.org> |
1574 | |
1575 * oct-env.cc (octave_env::rooted_relative_pathname, | |
1576 octave_env::do_rooted_relative_pathname): New functions. | |
1577 * oct-env.h: Provide decls. | |
1578 | |
6823 | 1579 2007-08-24 David Bateman <dbateman@free.fr> |
1580 | |
1581 * MSparse.h (MSparse<T>& insert (const Sparse<T>&, | |
1582 const Array<octave_idx_type>&)): New method. | |
1583 (MSparse (const dim_vector&, octave_idx_type)): Ditto. | |
1584 * dSparse.h (SparseMatrix& SparseMatrix::insert (const | |
1585 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
1586 (SparseMatrix (const dim_vector&, octave_idx_type)): ditto. | |
1587 * dSparse.cc (SparseMatrix& SparseMatrix::insert (const | |
1588 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
1589 * boolSparse.h (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
1590 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
1591 * boolSparse.cc (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
1592 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
1593 * CSparse.h (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
1594 SparseMatrix&, const Array<octave_idx_type>&), | |
1595 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
1596 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
1597 (SparseComplexMatrix (const dim_vector&, octave_idx_type)): ditto. | |
1598 * CSparse.cc (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
1599 SparseMatrix&, const Array<octave_idx_type>&), | |
1600 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
1601 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
1602 | |
6817 | 1603 2007-08-19 David Bateman <dbateman@free.fr> |
1604 | |
1605 * Sparse.cc (Sparse<T>::permute): Avoid shadowing warning. | |
1606 | |
6813 | 1607 2007-08-14 John W. Eaton <jwe@octave.org> |
1608 | |
1609 * Sparse.cc (Sparse<T>::permute): permutation vector is zero based. | |
1610 Simplify. | |
6814 | 1611 (Sparse<T>::reshape): Warn about reshaping to N-d array. |
6813 | 1612 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
1613 2007-08-10 Michael Goffioul <michael.goffioul@gmail.com> |
6810 | 1614 |
1615 * file-stat.cc (file_stat::update_internal) [__WIN32__]: | |
1616 Remove trailing dir separator when stat'ing directory except for | |
1617 root directory. | |
1618 | |
6796 | 1619 2007-07-25 David Bateman <dbateman@free.fr> |
1620 | |
1621 * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" | |
1622 to work. | |
1623 | |
6764 | 1624 2007-06-04 David Bateman <dbateman@free.fr> |
1625 | |
1626 * oct-inttypes.h (octave_int<T>& operator <<= (const T2&), | |
1627 octave_int<T>& operator >>= (const T2&)): Make shift operators | |
1628 perform a twos complement arithmetic shift for both signed and | |
1629 unsigned integers regardless of compiler implementations. | |
1630 | |
6708 | 1631 2007-06-13 Michael Goffioul <michael.goffioul@swing.be> |
1632 | |
6719 | 1633 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): For CXSparse 2.2 and greater |
1634 use cs_complex_t(0,0) for the complex zero. | |
1635 | |
6708 | 1636 * MArray-ch.cc, MArray-d.cc, MArray-i.cc, MArray-s.cc: |
1637 Sprinkle class instantiations with OCTAVE_API as needed. | |
1638 | |
1639 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY, | |
1640 INSTANTIATE_ARRAY_AND_ASSIGN): New arg, API. Change all uses. | |
1641 * MArray-defs.h (MARRAY_OP_ASSIGN_DECL, MARRAY_OP_ASSIGN_DECLS, | |
1642 MARRAY_OP_ASSIGN_FWD_DECLS, MARRAY_OP_ASSIGN_FRIENDS, | |
1643 MARRAY_OP_ASSIGN_DEFS, MARRAY_UNOP, MARRAY_UNOP_DECLS, | |
1644 MARRAY_UNOP_FWD_DECLS, MARRAY_UNOP_FRIENDS, MARRAY_UNOP_DEFS, | |
1645 MARRAY_BINOP_DECL, MARRAY_BINOP_DECLS, MARRAY_AA_BINOP_DECLS, | |
1646 MDIAGARRAY2_DAS_BINOP_DECLS, MDIAGARRAY2_SDA_BINOP_DECLS, | |
1647 MDIAGARRAY2_DADA_BINOP_DECLS, MARRAY_BINOP_FWD_DECLS, | |
1648 MDIAGARRAY2_BINOP_FWD_DECLS, MARRAY_BINOP_FRIENDS, | |
1649 MDIAGARRAY2_BINOP_FRIENDS, MARRAY_BINOP_DEFS, | |
1650 MDIAGARRAY2_BINOP_DEFS, MARRAY_OPS_FORWARD_DECLS, | |
1651 MDIAGARRAY2_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS, | |
1652 MDIAGARRAY2_OPS_FRIEND_DECLS, INSTANTIATE_MARRAY_FRIENDS, | |
1653 INSTANTIATE_MARRAY2_FRIENDS, INSTANTIATE_MARRAYN_FRIENDS, | |
1654 INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. | |
1655 * MSparse-defs.h (SPARSE_OP_ASSIGN_DECL, SPARSE_OP_ASSIGN_DECLS, | |
1656 SPARSE_OP_ASSIGN_FWD_DECLS, SPARSE_OP_ASSIGN_FRIENDS, | |
1657 SPARSE_OP_ASSIGN_DEFS, SPARSE_UNOP, SPARSE_UNOP_DECLS, | |
1658 SPARSE_UNOP_FWD_DECLS, SPARSE_UNOP_FRIENDS, SPARSE_UNOP_DEFS, | |
1659 SPARSE_BINOP_DECL, SPARSE_BINOP_DECLS, SPARSE_AA_BINOP_DECLS, | |
1660 SPARSE_BINOP_FWD_DECLS, SPARSE_BINOP_FRIENDS, SPARSE_BINOP_DEFS, | |
1661 SPARSE_OPS_FORWARD_DECLS, SPARSE_OPS_FRIEND_DECLS, | |
1662 INSTANTIATE_SPARSE_FRIENDS): Ditto. | |
1663 * Sparse-op-defs.h (SPARSE_BIN_OP_DECL, SPARSE_CMP_OP_DECL, | |
1664 SPARSE_BOOL_OP_DECL, SPARSE_SMS_BIN_OP_DECLS, | |
1665 SPARSE_SMS_CMP_OP_DECLS, SPARSE_SMS_EQNE_OP_DECLS, | |
1666 SPARSE_SMS_BOOL_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
1667 SPARSE_SMS_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
1668 SPARSE_SSM_CMP_OP_DECLS, SPARSE_SSM_EQNE_OP_DECLS, | |
1669 SPARSE_SSM_BOOL_OP_DECLS, SPARSE_SSM_OP_DECLS, | |
1670 SPARSE_SMSM_BIN_OP_DECLS, SPARSE_SMSM_CMP_OP_DECLS, | |
1671 SPARSE_SMSM_EQNE_OP_DECLS, SPARSE_SMSM_BOOL_OP_DECLS, | |
1672 SPARSE_SMSM_OP_DECLS, SPARSE_MSM_BIN_OP_DECLS, | |
1673 SPARSE_MSM_CMP_OP_DECLS, SPARSE_MSM_EQNE_OP_DECLS, | |
1674 SPARSE_MSM_BOOL_OP_DECLS, SPARSE_MSM_OP_DECLS, | |
1675 SPARSE_SMM_BIN_OP_DECLS, SPARSE_SMM_CMP_OP_DECLS, | |
1676 SPARSE_SMM_EQNE_OP_DECLS, SPARSE_SMM_BOOL_OP_DECLS, | |
1677 SPARSE_SMM_OP_DECLS): Ditto. | |
1678 * Sparse.h (INSTANTIATE_SPARSE_ASSIGN, INSTANTIATE_SPARSE, | |
1679 INSTANTIATE_SPARSE_AND_ASSIGN): Ditto. | |
1680 * mx-op-defs.h (BIN_OP_DECL, CMP_OP_DECL, NDCMP_OP_DECL, | |
1681 BOOL_OP_DECL, NDBOOL_OP_DECL, VS_BIN_OP_DECLS, VS_OP_DECLS, | |
1682 SV_BIN_OP_DECLS, SV_OP_DECLS, VV_BIN_OP_DECLS, VV_OP_DECLS, | |
1683 MS_BIN_OP_DECLS, MS_CMP_OP_DECLS, MS_BOOL_OP_DECLS, MS_OP_DECLS, | |
1684 SM_BIN_OP_DECLS, SM_CMP_OP_DECLS, SM_BOOL_OP_DECLS, SM_OP_DECLS, | |
1685 MM_BIN_OP_DECLS, MM_CMP_OP_DECLS, MM_BOOL_OP_DECLS, MM_OP_DECLS, | |
1686 NDS_BIN_OP_DECLS, NDS_CMP_OP_DECLS, NDS_BOOL_OP_DECLS, | |
1687 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_CMP_OP_DECLS, | |
1688 SND_BOOL_OP_DECLS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
1689 NDND_CMP_OP_DECLS, NDND_BOOL_OP_DECLS, NDND_OP_DECLS, | |
1690 SDM_BIN_OP_DECLS, SDM_OP_DECLS, DMS_BIN_OP_DECLS, DMS_OP_DECLS, | |
1691 MDM_BIN_OP_DECLS, MDM_OP_DECLS, DMM_BIN_OP_DECLS, DMM_OP_DECLS, | |
1692 DMDM_BIN_OP_DECLS, DMDM_OP_DECLS): Ditto. | |
1693 | |
6699 | 1694 2007-06-12 John W. Eaton <jwe@octave.org> |
1695 | |
1696 * dMatrix.cc (Matrix::expm): Special case for scalar arg. | |
1697 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6697 | 1698 |
6693 | 1699 2007-06-06 Michael Goffioul <michael.goffioul@swing.be> |
1700 | |
6709 | 1701 * file-ops.cc (tilde_find_suffix, isolate_tilde_prefix, |
1702 tilde_expand_word): Use file_ops::is_dir_sep instead of comparing | |
1703 with file_ops::dir_sep_char. | |
6694 | 1704 |
6693 | 1705 * MArray-C.cc: Sprinkle with OCTINTERP_API as needed. |
1706 | |
6689 | 1707 2007-06-04 David Bateman <dbateman@free.fr> |
1708 | |
6699 | 1709 * file-ops.cc: Typo. |
1710 | |
6689 | 1711 * Sparse.cc (Sparse<T> Sparse<T>::reshape): If length of new |
1712 dimensions is greater than 2, collapse to 2-D. | |
1713 | |
6685 | 1714 2007-06-02 David Bateman <dbateman@free.fr> |
1715 | |
1716 * SparseCmplxQR.cc: Changes to support CXSparse 2.2.0. | |
1717 | |
6680 | 1718 2007-05-31 John W. Eaton <jwe@octave.org> |
1719 | |
1720 * Array.cc (Array::get_size): Throw std::bad_alloc exception if | |
1721 the computed size is too large for the size of Octave's index type. | |
1722 | |
6662 | 1723 2007-05-23 John W. Eaton <jwe@octave.org> |
1724 | |
1725 * oct-sparse.h: Don't surround included files with extern "C" { ... }. | |
1726 | |
6629 | 1727 2007-05-16 David Bateman <dbateman@free.fr> |
1728 | |
1729 * dRowVector.cc (linspace): Return second argument if fewer than | |
1730 two values are requested. | |
1731 * CRowVector.cc (linspace): Likewise. | |
1732 | |
6596 | 1733 2007-04-27 John W. Eaton <jwe@octave.org> |
1734 | |
1735 * lo-mappers.cc (signum (const Complex&)): Special case for (0, 0). | |
1736 | |
6583 | 1737 2007-04-25 John W. Eaton <jwe@octave.org> |
1738 | |
1739 * oct-fftw.h (octave_fftw): Tag with OCTAVE_API. | |
1740 | |
6553 | 1741 2007-04-20 John W. Eaton <jwe@octave.org> |
1742 | |
1743 * Array.cc (assign1): For x(:) = RHS, require rhs_len == lhs_len, | |
1744 not rhs_len == 1. | |
1745 | |
6536 | 1746 2007-04-18 Michael Goffioul <michael.goffioul@swing.be> |
1747 | |
1748 * oct-md5.h (oct_md5, oct_md5_file): Tag decls with OCTAVE_API. | |
1749 | |
6525 | 1750 2007-04-13 John W. Eaton <jwe@octave.org> |
1751 | |
1752 * Array.cc (Array<T>::maybe_delete_elements_2): Don't return early | |
1753 for empty matrix. Only check for colon index equivalence if not empty. | |
1754 | |
6513 | 1755 2007-04-10 John W. Eaton <jwe@octave.org> |
1756 | |
1757 * SparseCmplxQR.cc | |
1758 (SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep): | |
1759 Move GCC_ATTR_UNUSED before the parameter decl. | |
1760 From Luis Ortiz <lortiz@interactivesupercomputing.com>. | |
1761 | |
6508 | 1762 2007-04-06 John W. Eaton <jwe@octave.org> |
1763 | |
1764 * MArray-defs.h (MARRAY_NORM_BODY): New macro. | |
1765 * MArray.h (MArray<T>::norm): New function. | |
1766 * MArray.cc: Provide decl. | |
1767 * MArray-d.cc (MArray<double>::norm): Define double specialization. | |
1768 * MArray-C.cc (MArray<Complex>::norm): Define Complex specialization. | |
1769 | |
6490 | 1770 2007-04-04 John W. Eaton <jwe@octave.org> |
1771 | |
1772 * Range.cc (Range::nelem_internal): Likewise. | |
1773 * lo-utils.cc (NINT): Use numeric_limits<int> instead of INT_MAX. | |
1774 (NINTbig): Use numeric_limits<octave_idx_type> instead of INT_MAX. | |
1775 From Scott Pakin <pakin@lanl.gov>. | |
1776 | |
6486 | 1777 2007-04-04 David Bateman <dbateman@free.fr> |
1778 | |
1779 * dMatrix.cc (Matrix::inverse): If calc_cond is true, calculate | |
1780 the condition number for positive definite matrices. | |
1781 * CMatrix.cc (ComplexMatrix::inverse): Ditto. | |
1782 * dbleChol.h (CHOL(const Matrix&, bool)): New arg, calc_cond. | |
1783 (CHOL(const Matrix&, octave_idx_type&, bool): Ditto. | |
1784 (octave_idx_type init (const Matrix&, bool)): Ditto. | |
1785 (CHOL(const CHOL&)): Copy xrcond. | |
1786 (CHOL& operator = (const CHOL&)): Copy xrcond. | |
1787 (xrcond): New private data member. | |
1788 * CmplxCHOL.h (ComplexCHOL(const ComplexMatrix&, bool)): New arg, | |
1789 calc_cond. | |
1790 (ComplexCHOL(const ComplexMatrix&, octave_idx_type&, bool): Ditto | |
1791 (octave_idx_type init (const ComplexMatrix&, bool)): Ditto. | |
1792 (ComplexCHOL(const ComplexCHOL&)): Copy xrcond. | |
1793 (ComplexCHOL& operator = (const ComplexCHOL&)): Copy xrcond. | |
1794 (xrcond): New private data member. | |
1795 * dbleCHOL.cc (CHOL::init(const Matrix&, bool)): If calc_cond is | |
1796 true, calculate the condition number with dpocon. | |
1797 * CmplxCHOL.cc (ComplexCHOL::init(const ComplexMatrix&, bool)): If | |
1798 calc_cond is true, calculate the condition number with zpocon. | |
1799 | |
6481 | 1800 2007-04-03 John W. Eaton <jwe@octave.org> |
1801 | |
6482 | 1802 * intNDArray.cc (intNDArray): Delete spurious semicolon. |
1803 | |
1804 * CMatrix.cc (ComplexMatrix::tinverse): Use Array<T> and | |
1805 fortran_vec method instead of OCTAVE_LOCAL_BUFFER to avoid | |
1806 "maybe clobbered by vfork" warning. | |
1807 | |
6483 | 1808 * Sparse-op-defs.h (SPARSE_CUMSUM): Add braces to avoid ambiguous |
6482 | 1809 if/else. |
1810 | |
1811 * oct-spparms.h (octave_sparse_params): Define copy constructor | |
1812 and destructor. | |
1813 | |
6481 | 1814 * Array.cc (assignN): Don't resize dimension if corresponding |
1815 index is empty. | |
1816 | |
6479 | 1817 2007-04-02 John W. Eaton <jwe@octave.org> |
1818 | |
1819 * dMatrix.h (Matrix::inverse): Reinstate versions without | |
1820 MatrixType argument. | |
1821 * CMatrix.h (ComplexMatrix::inverse): Likewise. | |
1822 | |
6467 | 1823 2007-03-27 John W. Eaton <jwe@octave.org> |
1824 | |
1825 * Makefile.in (DISTDIRS): Delete variable. | |
1826 (dist): Delete action for DISTDIRS. Use ln instead of $(LN_S). | |
1827 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
1828 2007-03-26 David Bateman <dbateman@free.fr> |
6460 | 1829 |
1830 * MatrixType.cc: Replace all uses of the method | |
1831 octave_sparse_params::get_key ("bandden") with | |
1832 octave_sparse_params::get_bandden (void). | |
1833 (MatrixType::MatrixType (void)): Undo previous change but use | |
1834 octave_sparse_params::get_bandden (void). | |
1835 * oct-spparms.cc (get_bandden(void), do_get_bandden(void)): New | |
1836 methods. | |
1837 * oct-spparms.h (get_bandden(void), do_get_bandden(void)): | |
1838 Declare them. | |
1839 | |
6458 | 1840 2007-03-26 Luis Ortiz <lortiz@interactivesupercomputing.com> |
1841 David Bateman <dbateman@free.fr> | |
1842 | |
1843 * idx-vector.h.cc (IDX_VEC_REP::idx_vector_rep (const Range&)): | |
1844 Check that all elements are ints before doing anything. Simplify | |
1845 calculation of index values. | |
1846 | |
6457 | 1847 2007-03-26 David Bateman <dbateman@free.fr> |
1848 | |
1849 * Range.cc (Range::all_elements_are_ints): Improve check. | |
1850 | |
6456 | 1851 2007-03-26 John W. Eaton <jwe@octave.org> |
1852 | |
1853 * chNDArray.cc, chMatrix.cc: Also generate comparison and bool ops. | |
1854 * chNDArray.h, chMatrix.h: Provide decls. | |
1855 | |
1856 2007-03-24 Luis Ortiz <lortiz@interactivesupercomputing.com> | |
1857 | |
1858 * MatrixType.cc (MatrixType::MatrixType (void)): Initialize | |
1859 sp_bandden to zero for performance reasons as it's not used. | |
6452 | 1860 |
6435 | 1861 2007-03-23 David Bateman <dbateman@free.fr> |
1862 | |
1863 * oct-rand.cc (octave_rand::seed): Seed differently for big and | |
1864 little endian. | |
1865 | |
6414 | 1866 2007-03-15 John W. Eaton <jwe@octave.org> |
1867 | |
1868 * lo-mappers.cc (acos): Use formula similar to what we use for asin. | |
1869 From Alexander Barth <abarth@marine.usf.edu>. | |
1870 | |
6402 | 1871 2007-03-12 John W. Eaton <jwe@octave.org> |
1872 | |
1873 * oct-inttypes.h (octave_int::octave_int (double)): | |
1874 New Specialization. Round arg. | |
1875 (operator / (const octave_int<T1>&, const octave_int<T2>&)): | |
1876 Round result before converting type. | |
1877 | |
6388 | 1878 2007-03-07 John W. Eaton <jwe@octave.org> |
1879 | |
6392 | 1880 * Array.cc (assign1): Avoid resizing if there is an error. |
1881 | |
6390 | 1882 * dMatrix.cc, CMatrix.cc (operator *): Only check |
1883 f77_exception_encountered immediately after calls that use F77_XFCN. | |
1884 | |
6389 | 1885 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
1886 Only allow resizing empty LHS if it is 0x0. | |
1887 | |
6388 | 1888 * Array.cc (Array<T>::maybe_delete_elements (Array<idx_vector>&, |
1889 const T&)): Handle case of more indices than dimensions. | |
1890 (assign (Array<LT>&, const Array<RT>&, const LT&)): Allow more | |
1891 cases to be handled by assignN. | |
1892 (assignN (Array<LT>&, const Array<RT>&, const LT&)): | |
1893 Special cases for 2-d array assignments for speed. | |
1894 Improve handling of scalar RHS and empty indices. | |
6384 | 1895 |
6383 | 1896 2007-03-05 David Bateman <dbateman@free.fr> |
1897 | |
1898 * oct-md5.c (oct_md5_file (const std::string&)): New function. | |
1899 * oct-md5.h (oct_md5_file (const std::string&)): Declare it. | |
1900 | |
6379 | 1901 2007-03-02 John W. Eaton <jwe@octave.org> |
1902 | |
1903 * str-vec.h (string_vector::empty): Return bool, not int. | |
1904 | |
6375 | 1905 2007-03-01 David Bateman <dbateman@free.fr> |
1906 | |
1907 * md5.h, md5.c: New files from libmd5-rfc sourceforge project for | |
1908 an independent implementation of RFC1321. | |
1909 * oct-md5.h, oct-md5: New files for treating std::string class | |
1910 with MD5. | |
1911 * Makefile.in (INCLUDES): Add md5.h and oct-md5.h | |
1912 (LIBOCTAVE_CXX_SOURCES): Add oct-md5.cc | |
1913 (LIBOCTAVE_C_SOURCES): Add md5.c | |
1914 | |
6366 | 1915 2007-02-27 John W. Eaton <jwe@octave.org> |
1916 | |
1917 * Makefile.in (uninstall): Delete files listed in | |
1918 $(INCLUDES_FOR_INSTALL), instead of $(INCLUDES). | |
1919 From Thomas Treichl <Thomas.Treichl@gmx.net>. | |
1920 | |
6536 | 1921 2007-02-27 Michael Goffioul <michael.goffioul@swing.be> |
6363 | 1922 |
1923 * file-ops.cc (file_ops::recursive_rmdir): | |
1924 Close dir_entry object before calling rmdir. | |
1925 | |
6536 | 1926 2007-02-26 Michael Goffioul <michael.goffioul@swing.be> |
6358 | 1927 |
1928 * Makefile.in: Use $(LN_S) instead of ln or ln -s. | |
1929 | |
6359 | 1930 * sparse-util.h (SparseCholPrint, SparseCholError): |
1931 Tag with OCTAVE_API. | |
1932 | |
6326 | 1933 2007-02-18 David Bateman <dbateman@free.fr> |
1934 | |
1935 * oct-rand.cc (do_old_initialization()): call setcgn(1) prior to | |
1936 calling setall and reset to the current generator after. | |
1937 | |
6323 | 1938 2007-02-16 John W. Eaton <jwe@octave.org> |
1939 | |
1940 * oct-shlib.h (octave_shlib::relative): New data member. | |
1941 (octave_shlib::mark_relative, octave_shlib::is_relative): | |
1942 New functions. | |
1943 | |
6321 | 1944 2007-02-16 Michael Goffioul <michael.goffioul@swing.be> |
1945 | |
1946 * lo-sysdep.cc (octave_popen2): New function to simulate popen2 on | |
1947 windows platform. | |
1948 * lo-sysdep.h (octave_popen2): Declare it. | |
1949 * oct-syscalls.cc (octave_syscalls::popen2): New function. | |
1950 * oct-syscalls.h (octave_syscalls::popen2): Declare it. | |
1951 | |
6306 | 1952 2007-02-14 John W. Eaton <jwe@octave.org> |
1953 | |
1954 * kpse.cc (expand_elt): Omit special treatment for //. | |
1955 | |
6273 | 1956 2007-02-06 John W. Eaton <jwe@octave.org> |
1957 | |
1958 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_REALPATH]: | |
1959 Don't delete value returned from realpath. | |
1960 | |
6271 | 1961 2007-02-05 Thomas Treichl <Thomas.Treichl@gmx.net> |
1962 | |
1963 * file-ops.cc (file_ops::canonicalize_file_name): | |
1964 Provide implementation if realpath function is available. | |
1965 | |
6256 | 1966 2007-01-29 Michael Goffioul <michael.goffioul@swing.be> |
1967 | |
1968 * oct-fftw.h: Sprinkle with OCTAVE_API as needed. | |
1969 | |
6244 | 1970 2007-01-17 Michael Goffioul <michael.goffioul@swing.be> |
1971 | |
1972 * lo-sysdep.cc (octave_chdir): Handle directory names like "C:" on | |
1973 Windows systems. | |
1974 | |
6242 | 1975 2007-01-16 John W. Eaton <jwe@octave.org> |
1976 | |
1977 * dSparse.cc: Fix dgbtrf decl for --enable-64. | |
1978 (SparseMatrix::bsolve): Fix call to dgbtrf for --enable-64 | |
1979 | |
1980 * oct-fftw.h (fftw_planner): Provide decl. | |
1981 | |
6241 | 1982 2007-01-11 Michael Goffioul <michael.goffioul@swing.be> |
1983 | |
1984 * Makefile.in (LINK_DEPS): Include $(CAMD_LIBS) in the list. | |
1985 | |
6236 | 1986 2007-01-10 John W. Eaton <jwe@octave.org> |
1987 | |
1988 * oct-sparse.h: Use HAVE_CHOLMOD_CHOLMOD_H, not | |
1989 HAVE_UMFPACK_CHOLMOD_H for case of "cholmod/cholmod.h". | |
1990 | |
6231 | 1991 2007-01-08 David Bateman <dbateman@free.fr> |
1992 | |
1993 * oct-sparse.h: Replace sparsesuite with suitesparse and | |
1994 SPARSESUITE with SUITESPARSE to match upstream name. | |
1995 | |
6228 | 1996 2007-01-05 David Bateman <dbateman@free.fr> |
1997 | |
1998 * oct-fftw.cc: (octave_fftw_planner::method (void), | |
1999 octave_fftw_planner (FftwMethod)): New methods to interrogate and | |
2000 set the FFTW wisdom method used. | |
2001 (octave_fftw_planner::create_plan) Modify to allow different | |
2002 methods to be used. | |
2003 (octave_fftw_planner): Move class definition from here. | |
2004 * oct-fftw.h (octave_fftw_planner): To here. Add method methods | |
2005 and FftwMethod enum. | |
2006 | |
6221 | 2007 2007-01-03 David Bateman <dbateman@free.fr> |
2008 | |
2009 * MSparse.cc (SPARSE_A2A2_OP, SPARSE_A2A2_FCN_1, | |
2010 SPARSE_A2A2_FCN_1): Modify macros so that scalars stored as | |
2011 sparse matrices are special cased. | |
2012 | |
2013 * Sparse-op-defs.h: Include mx-ops.h to have access to mixed | |
2014 matrix, sparse matrix operations. | |
2015 (SPARSE_SMSM_BIN_OP_1, SPARSE_SMSM_BIN_OP_2, SPARSE_SMSM_BIN_OP_3, | |
2016 SPARSE_SMSM_CMP_OP, SPARSE_SMSM_BOOL_OP, SPARSE_MSM_BIN_OP_1, | |
2017 SPARSE_MSM_BIN_OP_2, SPARSE_MSM_CMP_OP, SPARSE_MSM_BOOL_OP, | |
2018 SPARSE_SMM_BIN_OP_1, SPARSE_SMM_BIN_OP_2, SPARSE_SMM_CMP_OP, | |
2019 SPARSE_SMM_BOOL_OP, SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, | |
2020 FULL_SPARSE_MUL): Modify macros so that scalars stored as | |
2021 sparse matrices are special cased. | |
2022 | |
6217 | 2023 2006-12-22 David Bateman <dbateman@free.fr> |
2024 | |
2025 * boolSparse.cc (SparseBoolMatrix::operator !): Fix off-by-one error. | |
2026 | |
6216 | 2027 2006-12-22 John W. Eaton <jwe@octave.org> |
2028 | |
2029 * dim-vector.h (dim_vector::dim_vector): Always start with at | |
2030 least 2 dimensions. | |
2031 (dim_vector::resize): Don't allow resizing to fewer than 2 dimensions. | |
2032 | |
6208 | 2033 2006-12-06 Michael Goffioul <michael.goffioul@swing.be> |
2034 | |
2035 * lo-sysdep.cc (opendir): Avoid passing \\* to FindFirstFile. | |
2036 | |
2037 * file-ops.cc (ops::canonicalize_file_name): Provide partial | |
6217 | 2038 implementation for Windows. |
6208 | 2039 |
6207 | 2040 2006-12-06 David Bateman <dbateman@free.fr> |
2041 | |
6208 | 2042 * dSparse.cc (SparseMatrix::is_symmetric): Faster implementation. |
2043 * CSparse.cc (SparseComplexMatrix::is_symmetric): Ditto. | |
6207 | 2044 |
2045 * dMatrrix.cc (finverse): Old inverse method renamed inverse. | |
2046 (tinverse): New method for triangular matrices. | |
2047 (inverse): New function with matrix type probing. | |
2048 * dMatrix.h (finverse, tinverse, inverse): New and modified | |
2049 declarations. | |
6208 | 2050 * CMatrix.cc: Ditto. |
2051 * CMatrix.h: Ditto. | |
6207 | 2052 |
6205 | 2053 2006-12-06 John W. Eaton <jwe@octave.org> |
2054 | |
2055 * strptime.c (day_of_the_week): Use code from current glibc sources. | |
2056 | |
6202 | 2057 2006-12-05 John W. Eaton <jwe@octave.org> |
2058 | |
2059 * lo-utils.cc (octave_read_double): If we see '+' or '-' but not | |
2060 followed by 'I' or 'i', try reading number after putting | |
2061 characters back on input stream. | |
2062 | |
6198 | 2063 2006-12-05 Paul Kienzle <pkienzle@users.sf.net> |
2064 | |
2065 * randpoisson.c (oct_fill_randp): For lambda > 1e8, upper limit of | |
2066 loop is n, not L. | |
2067 | |
6194 | 2068 2006-11-30 John W. Eaton <jwe@octave.org> |
2069 | |
2070 * lo-utils.cc (octave_read_double, read_inf_nan_na): | |
2071 Also recognize [+-][Ii]nf. | |
2072 | |
6187 | 2073 2006-11-28 David Bateman <dbateman@free.fr> |
6186 | 2074 |
2075 * oct-sparse.h: Allow sparse headers to also be in a sparsesuite | |
2076 sub-directory. | |
2077 | |
6204 | 2078 * dSparse.cc (SparseMatrix::inverse): Transpose the matrix type as |
2079 well when calling tinverse for lower triangular matrices. | |
2080 * CSparse.cc (SparseComplexMatrix::inverse): | |
2081 Ditto. | |
6185 | 2082 |
6183 | 2083 2006-11-21 John W. Eaton <jwe@octave.org> |
2084 | |
2085 * oct-env.cc (do_absolute_pathname): Undo previous change. | |
2086 | |
6182 | 2087 2006-11-20 John W. Eaton <jwe@octave.org> |
2088 | |
2089 * oct-env.cc (octave_env::do_absolute_pathname): Also return true | |
2090 for ".", and names beginning with "./" or "../". | |
2091 | |
6162 | 2092 2006-11-14 Luis F. Ortiz <lortiz@interactivesupercomputing.com> |
2093 | |
2094 * CMatrix.cc, dMatrix.cc: New tests. | |
2095 | |
6153 | 2096 2006-11-13 Michael Goffioul <michael.goffioul@swing.be> |
2097 | |
2098 * Array-d.cc, dDiagMatrix.h: Sprinkle with OCTAVE_API as needed. | |
2099 | |
6152 | 2100 2006-11-11 John W. Eaton <jwe@octave.org> |
2101 | |
2102 * Makefile.in ($(OPTS_INC), mx-ops.h): | |
2103 Use $(simple-move-if-change-rule) here. | |
2104 | |
6148 | 2105 2006-11-09 David Bateman <dbateman@free.fr> |
2106 | |
2107 * sparse-base-chol.cc (sparse_base_chol_rep::Q): Cast perms(i) to | |
2108 octave_idx_type, not int. | |
2109 | |
6145 | 2110 2006-11-08 John W. Eaton <jwe@octave.org> |
2111 | |
2112 * dir-ops.cc (dir_entry::read): Avoid rewinddir. | |
2113 | |
6141 | 2114 2006-11-06 John W. Eaton <jwe@octave.org> |
2115 | |
2116 * Array.cc (assignN): Exit early if invalid indices are found. | |
2117 | |
6140 | 2118 2006-11-03 Michael Goffioul <michael.goffioul@swing.be> |
2119 | |
2120 * strftime.c [HAVE_TZNAME]: Tag tzname with OCTAVE_IMPORT. | |
2121 | |
6137 | 2122 2006-11-03 John W. Eaton <jwe@octave.org> |
2123 | |
2124 * Makefile.in (DLL_CXXDEFS): Rename from XTRA_CXXDEFS. | |
2125 (DLL_CDEFS): Rename from XTRA_CDEFS. | |
2126 Substitute OCTAVE_DLL_DEFS, not XTRA_OCTAVE_DEFS. | |
2127 | |
6123 | 2128 2006-10-28 Michael Goffioul <michael.goffioul@swing.be> |
2129 | |
2130 * oct-shlib.cc: Undefine min and max after including windows.h. | |
2131 * oct-syscalls.cc (syscalls::pipe (int *)): Avoid infinite recursion. | |
2132 * lo-sysdep.h: Move opendir, readdir, etc. decls here from | |
2133 lo-sysdep.cc. | |
2134 | |
6113 | 2135 2006-10-27 John W. Eaton <jwe@octave.org> |
2136 | |
6119 | 2137 * oct-time.cc [! HAVE_STRFTIME]: Declare strftime. |
2138 | |
2139 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> | |
2140 | |
2141 * mx-op-defs.h (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, | |
2142 NDS_CMP_OPS2): New macros. | |
6113 | 2143 |
6111 | 2144 2006-10-26 John W. Eaton <jwe@octave.org> |
2145 | |
6119 | 2146 * mx-ops (core-type): New field for integer types. |
2147 * mk-ops.awk: Handle core-type for integer comparison ops. | |
2148 | |
6111 | 2149 * lo-cutils.c (octave_strcasecmp, octave-strncasecmp): |
2150 Move here from src/cutils.c. | |
2151 * lo-utils.h: Provide decls. | |
2152 * strcasecmp.c: Move here from src/strcasecmp.c. | |
2153 * strncase.c: Move here from src/strncase.c. | |
2154 * Makefile.in (LIBOCTAVE_C_SOURCES): Add them to the list. | |
2155 | |
6106 | 2156 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
2157 | |
2158 * kpse.cc [! MSVC]: Don't include win32lib.h. | |
2159 | |
6708 | 2160 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-util.h, |
2161 Array.h, CColVector.h, CMatrix.h, CNDArray.h, CRowVector.h, | |
2162 CSparse.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, | |
2163 CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, | |
2164 CollocWt.h, DAE.h, DASPK.h, DASRT.h, DASSL.h, EIG.h, LSODE.h, | |
2165 MArray-C.cc, MArray-defs.h, MSparse-C.cc, MSparse-d.cc, | |
2166 MSparse-defs.h, MatrixType.h, NLEqn.h, Quad.h, Range.h, | |
2167 Sparse-op-defs.h, Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, | |
2168 SparseCmplxQR.h, SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, | |
2169 boolMatrix.h, boolNDArray.h, boolSparse.h, chMatrix.h, | |
2170 chNDArray.h, cmd-edit.h, cmd-hist.h, dColVector.h, dDiagMatrix.h, | |
2171 dMatrix.h, dNDArray.h, dRowVector.h, dSparse.h, data-conv.h, | |
2172 dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, dbleLU.h, | |
2173 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, dir-ops.h, | |
2174 file-ops.h, file-stat.h, glob-match.h, idx-vector.h, | |
2175 int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, | |
2176 lo-cutils.c, lo-ieee.h, lo-mappers.h, lo-specfun.h, lo-utils.h, | |
2177 mach-info.h, mx-op-defs.h, oct-alloc.h, oct-env.h, oct-group.h, | |
2178 oct-inttypes.cc, oct-inttypes.h, oct-passwd.h, oct-rand.h, | |
2179 oct-shlib.h, oct-spparms.h, oct-syscalls.h, oct-time.h, | |
2180 oct-uname.h, pathsearch.h, prog-args.h, so-array.h, str-vec.h, | |
2181 uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc, | |
2182 uint8NDArray.cc: Sprinkle with OCTAVE_API as needed. | |
6108 | 2183 |
6105 | 2184 2006-10-26 John W. Eaton <jwe@octave.org> |
2185 | |
2186 * oct-inttypes.cc (INSTANTIATE_INTTYPE_BIN_OP): Provide explicit | |
2187 type qualification for OP. | |
2188 | |
6101 | 2189 2006-10-26 David Bateman <dbateman@free.fr> |
2190 | |
2191 * Sparse.cc (Sparse<T>::resize_no_fill (octave_idx_type, | |
2192 octave_idx_type)): Be more careful with the size of the input | |
2193 matrix, and therefore don't create or read non existent data. | |
2194 | |
6092 | 2195 2006-10-25 John W. Eaton <jwe@octave.org> |
2196 | |
2197 * Sparse.cc (assign): Clear lhs index after error. | |
2198 | |
6093 | 2199 2006-10-25 David Bateman <dbateman@free.fr> |
6092 | 2200 |
2201 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
2202 Fix previous patch so it works. | |
2203 | |
6087 | 2204 2006-10-25 Michael Goffioul <michael.goffioul@swing.be> |
2205 | |
6095 | 2206 * glob-match.h (glob_match::glob_match (const std::string&, |
2207 unsigned int)): Delete initializer for first arg. | |
2208 | |
6093 | 2209 * lo-sysdep.cc (opendir, readdir, rewinddir, closedir): |
2210 New functions. | |
2211 | |
6087 | 2212 * Makefile.in (XTRA_CDEFS, XTRA_CXXDEFS): Substitute here. |
2213 | |
6096 | 2214 * oct-env.cc (octave_env::do_get_home_directory) [_MSC_VER]: Use |
2215 same code as __MINGW32__. | |
2216 * syswait.h [_MSC_VER]: Define HAVE_WAITPID, WAITPID, and WNOHANG | |
2217 the same as for __MINGW32__. | |
2218 | |
2219 * randpoisson.c: Undefine INFINITE before redefining. | |
2220 | |
6079 | 2221 2006-10-24 David Bateman <dbateman@free.fr> |
2222 | |
2223 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Resize the | |
2224 lhs at the point we know the assignment can succeed if the lhs is | |
2225 empty. | |
2226 | |
6072 | 2227 2006-10-23 John W. Eaton <jwe@octave.org> |
2228 | |
2229 * Array.cc (assign2): Don't require vector assignments to be oriented. | |
2230 | |
6061 | 2231 2006-10-17 John W. Eaton <jwe@octave.org> |
2232 | |
2233 * lo-cieee.c: If isnan is not available but _isnan is, then define | |
2234 isnan to be _isnan, and define HAVE_ISNAN. Likewise for _finite | |
2235 and _copysign. | |
2236 | |
6059 | 2237 2006-10-17 Michael Goffioul <michael.goffioul@swing.be> |
6051 | 2238 |
6061 | 2239 * oct-syscalls.cc (syscalls::waitpid): Always declare and define retval. |
2240 | |
6708 | 2241 * CMatrix.cc (ComplexMatrix::solve): Avoid infinite recursion. |
2242 * CSparse.cc (SparseComplexMatrix::insert): Likewise. | |
6061 | 2243 |
6058 | 2244 * oct-types.h.in: Include limits.h, for CHAR_BIT. |
2245 | |
6059 | 2246 2006-10-13 Michael Goffioul <michael.goffioul@swing.be> |
2247 | |
6051 | 2248 * Makefile.in: Adapt rules to use $(LIBPRE). |
2249 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2250 2006-10-03 David Bateman <dbateman@free.fr> |
6027 | 2251 |
2252 * MatrixType.cc (MatrixType::MatrixType): Avoid crash if np == 0 | |
2253 or p == 0. | |
2254 | |
6018 | 2255 2006-10-02 John W. Eaton <jwe@octave.org> |
2256 | |
2257 * dbleDET.cc (DET::initialize2): Ensure arg to log10 is double. | |
2258 * CmplxDET.cc (ComplexDET::initialize2): Likewise. | |
2259 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2260 2006-09-22 David Bateman <dbateman@free.fr> |
5996 | 2261 |
2262 * MatrixType.h (MatrixType::MatrixType(const SparseComplexMatrix&)): | |
5997 | 2263 Remove spurious warning. |
5996 | 2264 |
5992 | 2265 2006-09-15 John W. Eaton <jwe@octave.org> |
2266 | |
2267 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&) const): | |
2268 Handle resizing. | |
2269 | |
2270 * intNDArray.h (intNDArray<T>:elt_type): New typedef. | |
2271 | |
5983 | 2272 2006-09-11 John W. Eaton <jwe@octave.org> |
2273 | |
2274 * dMatrix.cc (operator * (const Matrix&, const Matrix&))): | |
2275 Handle M*v and rv*cv special cases. | |
2276 * CMatrix.cc (operator * (const ComplexMatrix&, const | |
2277 ComplexMatrix&))): Likewise. | |
2278 From Luis F. Ortiz <lortiz@interactivesupercomputing.com>. | |
2279 | |
2280 * dRowVector.cc (operator * (const RowVector&, const | |
2281 ColumnVector&)): Call xddot here instead of using a Fortran | |
2282 function directly. | |
2283 * CRowVector.cc (operator * (const ComplexRowVector&, const | |
2284 ComplexColumnVector&)): Call xzdotu here. | |
2285 | |
2286 2006-09-05 John W. Eaton <jwe@octave.org> | |
2287 | |
2288 * chNDArray.cc (charNDArray::any, charNDArray::all): Compare | |
2289 elements to '\0', not ' '. | |
2290 | |
5972 | 2291 2006-08-25 John W. Eaton <jwe@octave.org> |
2292 | |
2293 * mx-inlines.cc (MX_ND_REDUCTION): Special case for 0x0 arrays. | |
2294 | |
5958 | 2295 2006-08-23 John W. Eaton <jwe@octave.org> |
2296 | |
2297 * dMatrix.cc, dMatrix.h (Matrix::save_ascii): Delete function and decl. | |
2298 * CMatrix.cc, CMatrix.h (ComplexMatrix::save_ascii): Likewise. | |
2299 | |
5955 | 2300 2006-08-22 John W. Eaton <jwe@octave.org> |
2301 | |
5956 | 2302 * CMatrix.cc (ComplexMatrix::save_ascii): New function. |
2303 * dMatrix.cc (Matrix::save_ascii): New function. | |
2304 | |
5955 | 2305 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Correctly detect empty arrays. |
2306 If array is empty, return value is same size as array. | |
2307 (MX_ND_REDUCTION): Correctly detect empty arrays. | |
2308 If array is empty, produce correctly sized return value. | |
2309 | |
5940 | 2310 2006-08-18 John W. Eaton <jwe@octave.org> |
2311 | |
5943 | 2312 * dMatrix.cc (Matrix::any_element_not_one_or_zero): New function. |
2313 * dMatrix.h: Provide decl. | |
2314 * dNDArray.cc (NDArray::any_element_not_one_or_zero): New function. | |
2315 * dNDArray.h: Provide decl. | |
2316 * intNDArray.cc (intNDArray<T>::any_element_not_one_or_zero): | |
2317 New function. | |
2318 * intNDArray.h: Provide decl. | |
2319 | |
5940 | 2320 * Array.cc (Array<T>::permute): Only rearrange values if array is |
2321 not empty. | |
2322 | |
5904 | 2323 2006-07-26 John W. Eaton <jwe@octave.org> |
2324 | |
2325 * dbleDET.cc (DET::initialize10, DET::value_will_underflow, | |
2326 DET::value_will_overflow): Use xlog2 instead of log2. | |
2327 (DET::initialize2, DET::initialize10): Use xround instead of round. | |
2328 (DET::initialize2, DET::value): Use xexp2 instead of exp2. | |
2329 * CmplxDET.cc (ComplexDET::initialize10, | |
2330 ComplexDET::value_will_underflow, | |
2331 ComplexDET::value_will_overflow): Use xlog2 instead of log2. | |
2332 (ComplexDET::initialize2, ComplexDET::initialize10): | |
2333 Use xround instead of round. | |
2334 (ComplexDET::initialize2, ComplexDET::value): | |
2335 Use xexp2 instead of exp2. | |
2336 | |
2337 * lo-mappers.cc (M_LOG10E): Delete unused macro. | |
2338 (xlog2, xexp2): New functions. | |
2339 * lo-mappers.h: Provide decls. | |
2340 | |
5900 | 2341 2006-07-22 John W. Eaton <jwe@octave.org> |
2342 | |
2343 * Sparse.h (Sparse<T>::mex_get_data, Sparse<T>::mex_get_ir, | |
2344 Sparse<T>::mex_get_jc): New functions. | |
2345 | |
2346 2006-07-21 John W. Eaton <jwe@octave.org> | |
2347 | |
2348 * oct-inttypes.h (octave_int<T>::mex_get_data): New function. | |
2349 * Array.h (Array<T>::mex_get_data): New function. | |
2350 | |
5898 | 2351 2006-07-19 John W. Eaton <jwe@octave.org> |
2352 | |
2353 * oct-inttypes.h (octave_int::operator bool (void)): New function. | |
2354 | |
5893 | 2355 2006-07-16 John W. Eaton <jwe@octave.org> |
2356 | |
2357 * oct-spparms.h, oct-spparms.cc (class octave_sparse_params): | |
2358 Rename from SparseParams. Use same implementation method as other | |
2359 singleton classes in Octave. Change all uses of | |
2360 Voctave_sparse_controls to use static functions from | |
2361 octave_sparse_params class instead. | |
2362 | |
2363 * oct-spparms.h, oct-spparms.cc (SparseParams::set_key, | |
2364 SparseParams::get_key): Pass std::string arg by const reference, | |
2365 not const value. | |
2366 | |
5892 | 2367 2006-07-15 John W. Eaton <jwe@octave.org> |
2368 | |
2369 * data-conv.cc: Instantiante swap_bytes templates here. | |
2370 | |
2371 * MatrixType.cc (MatrixType::MatrixType): | |
2372 Use complete initializer lists in constructors. | |
2373 | |
5880 | 2374 2006-07-06 John W. Eaton <jwe@octave.org> |
2375 | |
2376 * str-vec.cc (string_vector::string_vector (std::list<std::string>&)): | |
2377 New constructor. | |
2378 * str-vec.h: Provide decl. | |
2379 | |
5876 | 2380 2006-07-01 David Bateman <dbateman@free.fr> |
2381 | |
2382 * dSparse.cc (tinverse): Check for rows with no elements and zero | |
2383 elements on the diagonal. Allow both Upper and Lower triangular | |
2384 matrices to be treated. | |
2385 * CSparse.cc (tinverse): ditto. | |
2386 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Take into account 64-bit | |
2387 constant assignment. | |
2388 | |
5870 | 2389 2006-06-30 John W. Eaton <jwe@octave.org> |
2390 | |
5872 | 2391 * lo-sysdep.cc (octave_chdir): Perform tilde expansion here. |
2392 * cmd-edit.cc (editor::read_init_file): Ditto. | |
2393 * dir-ops.cc (dir_entry::open): Ditto. | |
5871 | 2394 * file-stat.cc (stat::update_internal): Ditto. |
5872 | 2395 * cmd-hist.cc (command_history::set_file): Ditto. |
5871 | 2396 |
5870 | 2397 * data-conv.cc (data_conv::string_to_data_type): |
2398 Correctly handle leading "*". | |
2399 | |
5869 | 2400 2006-06-29 Atsushi Kajita <a-kajita@mizar.freemail.ne.jp> |
2401 | |
2402 * Sparse.cc (Sparse<T>::SparseRep::elem): Avoid out of bounds | |
2403 array access. | |
2404 | |
5866 | 2405 2006-06-27 John W. Eaton <jwe@octave.org> |
2406 | |
2407 * Makefile.in: Finish renaming of OBJECTS -> LIBOCTAVE_OBJECTS. | |
2408 | |
5864 | 2409 2006-06-21 John W. Eaton <jwe@octave.org> |
2410 | |
2411 * oct-shlib.cc (octave_dlopen_shlib::close, | |
2412 octave_shl_load_shlib::close, octave_w32_shlib::close): | |
2413 Skip do_close_hook if cl_hook is 0. | |
2414 | |
5863 | 2415 2006-06-16 John W. Eaton <jwe@octave.org> |
2416 | |
2417 * oct-sort.h: Don't include config.h, lo-mappers.h, or quit.h. | |
2418 * randmtzig.h: Don't inlcude config.h. | |
2419 | |
5837 | 2420 2006-05-31 David Bateman <dbateman@free.fr> |
2421 | |
2422 * Array.cc (assignN): Maybe reshape LHS before doing assignment. | |
2423 | |
5828 | 2424 2006-05-23 John W. Eaton <jwe@octave.org> |
2425 | |
2426 * oct-types.h.in: Include stdint.h or inttypes.h for integer | |
2427 typedefs, or define them if those files are not available. | |
2428 * oct-inttypes.h (octave_int8_t, octave_int16_t, octave_int32_t, | |
2429 octave_int64_t, octave_uint8_t, octave_uint16_t, octave_uint32_t, | |
2430 octave_uint64_t): Delete typedefs. Replace all uses of these | |
2431 types with int8_t, int16_t, etc. | |
2432 * data-conv.h (TWO_BYTE_INT, FOUR_BYTE_INT, EIGHT_BYTE_INT): | |
2433 Delete definitions. Replace all uses of these macros with int8_t, | |
2434 int16_t, etc. | |
2435 * randmtzig.h: Delete integer typedefs. | |
2436 | |
5822 | 2437 2006-05-18 John W. Eaton <jwe@octave.org> |
2438 | |
2439 * EIG.cc (EIG::init): Trap Inf and NaN values here. | |
2440 From Keith Goodman <kwgoodman@gmail.com>. | |
2441 | |
5813 | 2442 2006-05-08 David Bateman <dbateman@free.fr> |
2443 | |
2444 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): fix bug in previous | |
2445 modification. | |
2446 | |
5797 | 2447 2006-05-09 David Bateman <dbateman@free.fr> |
2448 | |
2449 * sparse-dmsolve.cc: Remove reference to ov-re-sparse.h, | |
2450 ov-cx-sparse. and error_state. | |
2451 * SparseQR.cc, SparseCmplxQR.cc (qrsolve): Return info = -1 on error. | |
2452 | |
5795 | 2453 2006-05-08 David Bateman <dbateman@free.fr> |
2454 | |
2455 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Set column pointers in | |
2456 first pass and use to determine which algorithm to use on a | |
2457 column-by-column basis. | |
2458 | |
5792 | 2459 2006-05-04 David Bateman <dbateman@free.fr> |
2460 | |
2461 * SparseQR.cc, SparseQR.h, SparseCmplxQR.cc, SparseCmplxQR.h, | |
2462 sparse-dmsolve.cc : Allow compilation with versions v2.0.0 of | |
2463 CXSparse or later | |
2464 | |
5785 | 2465 2006-05-03 David Bateman <dbateman@free.fr> |
2466 | |
2467 * CMatrix.cc (zpotrf, zpocon, zpotrs, ztrcon, ztrtrs): | |
2468 External declaration of lapack triangular and Cholesky codes. | |
2469 (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, | |
2470 ComplexMatrix::fsolve): New private solver codes for | |
2471 upper, lower and LU/Cholesky solvers. | |
2472 (ComplexMatrix::solve): New versions for cached matrix | |
2473 type. Adapt old versions to call new versions | |
2474 * CMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
2475 new solvers. | |
2476 (solve): New versions for cached matrix type. | |
2477 * dMatrix.cc (dpotrf, dpocon, dpotrs, dtrcon, dtrtrs): | |
2478 External declaration of lapack triangular and Cholesky codes. | |
2479 (Matrix::utsolve, Matrix::ltsolve, | |
2480 Matrix::fsolve): New private solver codes for | |
2481 upper, lower and LU/Cholesky solvers. | |
2482 (Matrix::solve): New versions for cached matrix | |
2483 type. Adapt old versions to call new versions | |
2484 * dMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
2485 new solvers. | |
2486 (solve): New versions for cached matrix type. | |
2487 * CSparse.cc: Replace all uses of SparseType with MatrixType. | |
2488 * CSparse.h: ditto. | |
2489 * dSparse.cc: ditto. | |
2490 * dSparse.h: ditto. | |
2491 * SparseCmplxCHOL.cc: ditto. | |
2492 * SparsedbleCHOL.cc: ditto. | |
2493 * sparse-dmsolve.cc: ditto. | |
2494 * SparseType.cc, SparseType.h: delete. | |
2495 * MatrixType.cc: New file for class to cache matrix type, based on | |
2496 old SparseType class but caching matrix and sparse types. | |
2497 * MatrixType.h: ditto. | |
2498 * Makefile.in (MATRIX_INC, MATRIX_SRC): Add MatrixType.h and | |
2499 MatrixType.cc respectively. Delete SparseType.h and SparseType.cc | |
2500 respectively. | |
2501 * mx-base.h: Include MatrixTye.h as header file. | |
2502 | |
5781 | 2503 2006-05-01 John W. Eaton <jwe@octave.org> |
2504 | |
2505 * oct-shlib.h (octave_shlib::octave_shlib, octave_shlib::open): | |
2506 Delete WARN_FUTURE arg. Change all uses. | |
2507 * oct-shlib.cc (octave_base_shlib::stamp_time): Delete arg. | |
2508 Change all uses. Use current_liboctave_warning_with_id_handler. | |
2509 (octave_base_shlib::open): Delete arg. Change all derived classes | |
2510 and uses. | |
2511 | |
2512 2006-04-29 John W. Eaton <jwe@octave.org> | |
2513 | |
2514 * Array-flags.cc, Array-flags.h: Delete. | |
2515 * Makefile.in (MATRIX_SRC): Remove Array-flags.cc from the list. | |
2516 (MATRIX_INC): Remove Array-flags.h from the list. | |
2517 | |
2518 * idx-vector.cc (IDX_VEC_REP::freeze): Delete warn_resize arg. | |
2519 Use current_liboctave_warning_with_id_handler | |
2520 with warning ID Octave:resize-on-range-error. | |
2521 * idx-vector.h: Fix decl. | |
2522 * Array.cc, Sparse.cc: Change all callers. | |
2523 | |
2524 * Array.cc (Array<T>::maybe_delete_elements, Array<T>::index2, | |
2525 assign2, assignN): Use current_liboctave_warning_with_id_handler | |
2526 with warning ID Octave:fortran-indexing instead of | |
2527 liboctave_wfi_flag. | |
2528 * Sparse.cc (assign, Sparse<T>::index): Likewise. | |
2529 | |
5777 | 2530 2006-04-26 John W. Eaton <jwe@octave.org> |
2531 | |
2532 * pathsearch.cc (dir_path::path_sep_char, dir_path::path_sep_str): | |
2533 New static data. | |
2534 * pathsearch.h: Provide decls. | |
2535 (dir_path::is_path_sep): New function. | |
2536 | |
5766 | 2537 2006-04-18 John W. Eaton <jwe@octave.org> |
2538 | |
2539 * randmtzig.c (randmt, randi53, randi54, randi64, randu32, randu53): | |
2540 Omit inline from decl. | |
2541 | |
2542 * Sparse.cc (Sparse<T>::index): Use std::vector<bool> to avoid | |
2543 local array with variable dimension. | |
2544 | |
5764 | 2545 2006-04-16 John W. Eaton <jwe@octave.org> |
2546 | |
5765 | 2547 * lo-sstream.h: Delete. |
2548 * Makefile.in (INCLUDES): Remove it from the list. | |
2549 | |
2550 * dim-vector.h (dim_vector::str): Use std::ostringstream directly. | |
2551 * Sparse.cc (Sparse::range_error): Likewise. | |
2552 * DASSL.cc (DASSL::error_message): Likewise. | |
2553 * LSODE.cc (LSODE::error_message): Likewise. | |
2554 * DASRT.cc (DASRT::error_message): Likewise. | |
2555 * DASPK.cc (DASPK::error_message): Likewise. | |
2556 * Array.cc (Array::range_error): Likewise. | |
2557 | |
5764 | 2558 * kpse.cc (kpse_hash): Rename from hash. |
2559 (hash_lookup): Call kpse_hash instead of hash. | |
2560 | |
2561 * SparseType.cc (SparseType::SparseType): Use std::vector<bool> | |
2562 to avoid local array with variable dimension. | |
2563 | |
5760 | 2564 2006-04-13 David Bateman <dbateman@free.fr> |
2565 | |
2566 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
2567 Optimize assignment. | |
2568 | |
2569 2006-04-13 John W. Eaton <jwe@octave.org> | |
2570 | |
2571 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
2572 Eliminate unnecessary casts. | |
2573 * SparsedbleLU.cc (SparseLU::SparseLU): Likewise. | |
2574 | |
2575 * kpse.cc (fopen): Use reinterpret_cast instead of C-style cast. | |
2576 (log_search, dir_links): Use static_cast instead of C-style cast. | |
2577 | |
2578 * prog-args.cc (args::getopt): Use reinterpret_cast instead of X_CAST. | |
2579 * oct-alloc.cc (allocator::grow): Likewise. | |
2580 * CSparse.cc (SparseComplexMatrix::determinant, | |
2581 SparseComplexMatrix::factorize, SparseComplexMatrix::fsolve): | |
2582 Likewise. | |
2583 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU): Likewise. | |
2584 | |
2585 * oct-sort.cc (roundupsize, octave_sort<T>::merge_getmem): | |
2586 Use static_cast instead of C-style cast. | |
2587 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
2588 * dSparse.cc (SparseMatrix::fsolve): Likewise. | |
2589 | |
2590 * data-conv.cc (LS_DO_WRITE): Use static_cast for value conversion. | |
2591 Use OCTAVE_LOCAL_BUFFER instead of new/delete. | |
2592 (LS_DO_READ): Allocate local buffer to avoid pointer tricks. | |
2593 (write_doubles, read_doubles, LS_DO_WRITE, LS_DO_READ): | |
2594 Use reinterpret_cast instead of X_CAST. | |
2595 | |
2596 * DiagArray2.h (DiagArray2::Proxy::operator&): No need to cast | |
2597 return value here. | |
2598 | |
5752 | 2599 2006-04-12 Rafael Laboissiere <rafael@debian.org> |
2600 | |
2601 * ArrayN.h (ArrayN::ArrayN): Qualify fill with Array<T> base class. | |
2602 * DiagArray2.h (DiagArray2::DiagArray2): Likewise. | |
2603 | |
5730 | 2604 2006-04-03 David Bateman <dbateman@free.fr> |
2605 | |
5731 | 2606 * Sparse.cc (Sparse<T>::resize): Use xcidx rather than cdix, etc |
2607 to avoid copy of original matrix. | |
2608 | |
5730 | 2609 * Makefile.in (INCLUDES): Add randgamma.h, randpoisson.h and |
2610 randmtzig.h to the list. | |
2611 (LIBOCTAVE_C_SOURCES): Add randgamma.c, randpoisson.c and | |
2612 randmtzig.c to the list. | |
2613 * oct-rand.cc (do_old_initialization): Rename from do_initialization. | |
2614 (use_old_generators): New variable. | |
2615 (old_initialized): Rename from initialized. | |
2616 (new_initialized): New variable. | |
2617 (oct_init_by_entropy): New function. | |
2618 (maybe_initialize): Initialize new or old generator depending on | |
2619 value of use_old_generators. | |
2620 (octave_rand::state): New functions. | |
2621 (octave_rand::distribution): Add gamma, exponential and poisson | |
2622 distributions. | |
2623 (octave_rand::exponential_distribution, | |
2624 octave_rand::poisson_distribution, | |
2625 octave_rand::gamma_distribution): New methods to select | |
2626 exponential, poisson or gamma distribution. | |
2627 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
2628 octave_rand::vector): Add new distributions. | |
2629 * oct-rand.h: Provide decls for new functions. | |
2630 (octave_rand::matrix, octave_rand::scalar, octave_rand:: | |
2631 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
2632 octave_rand::vector): New arg A, for gamma and poisson distributions. | |
2633 * randpoisson.c, randpoisson.h, randgamma.c, randmtzig.c, | |
2634 randmtzig.h: New files. | |
2635 | |
5717 | 2636 2006-03-24 John W. Eaton <jwe@octave.org> |
2637 | |
2638 * dSparse.cc (SparseMatrix::bsolve): Integer work vector is | |
2639 Array<octave_idx_type>, so fortran_vec returns pointer to | |
2640 octave_idx_type, not pointer to int. | |
2641 | |
2642 * CMatrix.cc, CMatrix.h (ComplexMatrix::row (char*), | |
2643 ComplexMatrix::column (char*)): Delete. | |
2644 * dMatrix.cc, dMatrix.h (Matrix::row (char*), | |
2645 Matrix::column (char*)): Delete. | |
2646 | |
5713 | 2647 2006-03-21 David Bateman <dbateman@free.fr> |
2648 | |
2649 * SparseQR.h: Publish externally used friends. | |
2650 * SparseCmplxQR.h: ditto. | |
2651 | |
5700 | 2652 2006-03-21 John W. Eaton <jwe@octave.org> |
2653 | |
2654 * lo-specfun.cc (betainc): Use F77_XFCN instead of F77_FUNC for | |
2655 call to xdbetai. | |
2656 | |
5697 | 2657 2006-03-21 David Bateman <dbateman@free.fr> |
2658 | |
5701 | 2659 * lo-specfun.cc (xlgamma, xgamma): Trap special values. |
2660 (xlgamma): Use F77_XFCN instead of F77_FUNC for call to dlgams. | |
5700 | 2661 |
2662 * dSparse.cc (solve): Add argument singular_fallback, to allow | |
2663 fallback to QR solvers to be optional. | |
2664 * CSparse.cc (solve): Ditto. | |
2665 * dSparse.h (solve): update declaration for new argument. | |
2666 * CSparse.h (solve): Ditto. | |
2667 * sparse-dmsolve.cc (dmsolve): Use singular_fallback argument | |
2668 to bypass QR solvers when solving the well determined part of | |
2669 the problem. | |
5697 | 2670 |
5690 | 2671 2006-03-17 John W. Eaton <jwe@octave.org> |
2672 | |
2673 * str-vec.cc (vector::list_in_columns): New optional arg, width. | |
2674 | |
5681 | 2675 2006-03-16 David Bateman <dbateman@free.fr> |
2676 | |
2677 * CSparse.cc: Change use of nzmax to nnz to allow automatic | |
2678 reduction of matrix size, except for a couple of cases where nzmax | |
2679 is needed. | |
2680 (zpbcon): Correct declaration of lapack zpbcon function. | |
2681 (dsolve, utsolve, ltsolve, trisolve, bsolve, factorize, fsolve): Add | |
2682 an argument to allow the calculation of condition number to be | |
2683 optional. | |
2684 (bsolve): Add code for the calculation of the condition number | |
2685 using zpbcon and zgbcon. | |
2686 (dsolve): Bug fix for rectangular matrices with sparse RHS. | |
2687 (utsolve, ltsolve, trisolve, bsolve, fsolve): Mark matrix type as | |
2688 singular if singularity is detected. | |
2689 (solve): Use optional argument to disable calculation of | |
2690 condition number for all but fsolve, for speed. Add code to | |
2691 allow rectnagular matrices or matrices identified as singular | |
2692 to be treated. | |
2693 (lssolve): delete. | |
2694 (operator *): Don't recast real matrices as complex, but | |
2695 rather use the macro directly on the real data. | |
2696 * dSparse.cc: ditto. | |
2697 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, | |
2698 fsolve, factorize): Update declaration for new argument to | |
2699 calculate the condition number. | |
2700 (lssolve): delete. | |
2701 * dSparse.h: ditto. | |
2702 * Msparse.h: Change use of nxmax to nnz to allow automatic | |
2703 reduction of matrix size, except for a couple of cases where | |
2704 nzmax is needed. | |
2705 * Sparse.cc: Change use of nxmax to nnz to allow automatic | |
2706 reduction of matrix size, except for a couple of cases where | |
2707 nzmax is needed. | |
2708 (Sparse<T>::index (idx_vector&, idx_vector&, int) const): | |
2709 Special case strict permutations for speed. | |
2710 * Sparse-op-defs.h: Change use of nxmax to nnz to allow automatic | |
2711 reduction of matrix size, except for a couple of cases where | |
2712 nzmax is needed. | |
2713 (SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, FULL_SPARSE_MUL): Update | |
2714 macros to allow mixed complex/real arguments. | |
2715 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): New macro for C99 zero | |
2716 value. | |
2717 (qrsolve): Use it to zero temporary buffers used bt CXSPARSE. | |
2718 * SparseType.cc (SparseType::SparseType ()): Correct detection | |
2719 of permutated triangular matrices to avoid seg-faults. Disable | |
2720 detection of underdetermined lower and over-determined upper | |
2721 matrix due to problems with non minimum norm solutions. | |
2722 * sparse-dmsolve.cc: New file for Dulmage-Mendelsohn solver. | |
2723 * Makefile.in: add sparse-dmsolve.cc to targets. | |
2724 | |
5675 | 2725 2006-03-15 William Poetra Yoga Hadisoeseno <williampoetra@gmail.com> |
2726 | |
2727 * oct-time.cc (octave_strptime::init): Return useful character count. | |
2728 | |
5648 | 2729 2006-03-08 David Bateman <dbateman@free.fr> |
2730 | |
2731 * SparseCmplxQR.cc: Updates for new upstream CXSPARSE release. Fix for | |
2732 g++ 4.x stl_vector.h issue with C99 double _Complex type. | |
2733 * SparseCmplxQR.h: Updates for new upstream CXSPARSE release. | |
2734 * SparseQR.cc: ditto. | |
2735 * SparseQR.h: ditto. | |
2736 * oct-sparse.h: ditto. | |
2737 * sparse-base-chol.cc (sparse_base_chol<>::sparse_base_chol_rep::init): | |
2738 Declare info variable as volatile. | |
2739 | |
2740 * Sparse.cc (Sparse<T>::transpose (void) const): Accelerate algorithm. | |
2741 * CSparse.cc (SparseComplexMatrix::transpose (void) const): ditto. | |
2742 | |
5634 | 2743 2006-03-01 John W. Eaton <jwe@octave.org> |
2744 | |
2745 * CMatrix.cc (ComplexMatrix::determinant): | |
2746 Scale result by factors of 2, not 10. | |
2747 * dMatrix.cc (Matrix::determinant): Likewise. | |
2748 | |
2749 * dbleDET.h (DET::DET): Use initializer list. | |
2750 (DET::coefficient2, DET::coefficient10, DET::exponent2, | |
2751 DET::exponent10): New functions. | |
2752 (DET::det): Delete. | |
2753 (DET::c2, DET::c10, DET::e2, DET::e10, DET::base2): New data members. | |
2754 Store value internally with double and int instead of 2-element | |
2755 double vector. | |
2756 (DET::initialize2, DET::initialize10): Provide decls. | |
2757 * dbleDET.cc (DET::value_will_overflow, DET::value_will_underflow): | |
2758 Return bool value, not int. | |
2759 (DET::initialize2, DET::initialize10): New functions. | |
2760 | |
2761 * CmplxDET.h (ComplexDET::ComplexDET): Use initializer list. | |
2762 (ComplexDET::coefficient2, ComplexDET::coefficient10, | |
2763 ComplexDET::exponent2, ComplexDET::exponent10): New functions. | |
2764 (ComplexDET::det): Delete. | |
2765 (ComplexDET::c2, ComplexDET::c10, ComplexDET::e2, ComplexDET::e10, | |
2766 ComplexDET::base2): New data members. | |
2767 Store value internally with Complex and int instead of 2-element | |
2768 Complex vector. | |
2769 (ComplexDET::initialize2, ComplexDET::initialize10): Provide decls. | |
2770 * dbleComplexDET.cc (ComplexDET::value_will_overflow, | |
2771 ComplexDET::value_will_underflow): Return bool value, not int. | |
2772 (ComplexDET::initialize2, ComplexDET::initialize10): New functions. | |
2773 | |
5632 | 2774 2006-02-24 John W. Eaton <jwe@octave.org> |
2775 | |
2776 * Array.cc (assignN): Clear index before reshaping. | |
2777 | |
2778 * Array.h (Array<T>::operator =): Don't set idx to 0 if copying self. | |
2779 | |
5630 | 2780 2006-02-20 David Bateman <dbateman@free.fr> |
2781 | |
2782 * dSparse.cc (dsolve, utsolve, ltsolve): Remove restriction that | |
2783 matrix must be square in diagonal, permuted diagonal, triangular | |
2784 and permuted triangular back/forward substitution code. Change | |
2785 ambiguous use of no. rows and columns. | |
2786 * CSParse.cc (dsolve, utsolve, ltsolve): ditto. | |
2787 * SparseType.cc (SparseType::SparseType(const SparseMatrix&), | |
2788 SparseType::SparseType(const SparseComplexMatrix&)): Recognize | |
2789 rectangular diagonal, permuted diagonal, triangular and permuted | |
2790 triangular matrices. | |
2791 * Sparse.cc (Sparse<T>::Sparse (octave_idx_type, octave_idx_type, T)): | |
2792 Treat case where third argument is zero. | |
2793 | |
5621 | 2794 2006-02-15 John W. Eaton <jwe@octave.org> |
2795 | |
5622 | 2796 * kpse.cc: Do define ST_NLINK_TRICK for Cygwin systems. |
2797 (do_subdir) [ST_NLINK_TRICK]: Check links != 2 instead of links > 2. | |
2798 | |
5621 | 2799 * getopt.c: Use __CYGWIN__ instead of __CYGWIN32__. |
2800 | |
5619 | 2801 2006-02-13 David Bateman <dbateman@free.fr> |
2802 | |
2803 * Makefile.in (LINK_DEPS): Add missing dependencies on colamd, | |
2804 ccolamd and cxsparse | |
2805 | |
5617 | 2806 2006-02-13 John W. Eaton <jwe@octave.org> |
2807 | |
5618 | 2808 * kpse.cc (kpse_path_iterator::next): Reverse order of tests in |
2809 while loop condition. | |
2810 (kpse_path_iterator::operator =): Declare as private function but | |
2811 don't define to prevent attempts to use assignment operator. | |
2812 Don't define ST_NLINK_TRICK for Cygwin systems. | |
5617 | 2813 |
5615 | 2814 2006-02-10 John W. Eaton <jwe@octave.org> |
2815 | |
2816 * mx-inlines.cc (MX_ND_REDUCTION): Store in cummulative | |
2817 product of all dimensions in CP_SZ. | |
2818 | |
5611 | 2819 2006-02-09 John W. Eaton <jwe@octave.org> |
2820 | |
2821 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Store in cummulative | |
5615 | 2822 product of all dimensions in CP_SZ. |
5611 | 2823 |
5610 | 2824 2006-02-09 David Bateman <dbateman@free.fr> |
2825 | |
2826 * SparseQR.cc: new file for real sparse QR class. | |
2827 * SparseQR.h: declaration. | |
2828 * SparseCmplxQR.cc: new file for complex sparse QR class. | |
2829 * SparseCmplxQR.h: declaration. | |
2830 * dSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
2831 (factorize, fsolve): Enable code code lssolve. | |
2832 (lssolve): disable unused args, write based in above sparse QR class. | |
2833 * CSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
2834 (factorize, fsolve): Enable code code lssolve. | |
2835 (lssolve): disable unused args, write based in above sparse QR class. | |
2836 * oct-sparse.h: fix location of colamd, ccolamd and metis headers. | |
2837 Include CXSparse headers. | |
2838 * Makefile.in (MATRIX_INC): Include SparseQR.h and SparseCmplxQR.h. | |
2839 (MATRIX_SRC): Include SparseQR.cc and SparseCmplxQR.cc. | |
2840 | |
5607 | 2841 2006-02-08 John W. Eaton <jwe@octave.org> |
2842 | |
2843 * Array-util.h (calc_permutated_idx): Delete. | |
2844 * Array.cc (permute_vector): New data structure. | |
2845 (permute_vector_compare): New function. | |
2846 (Array<T>::permute): Rewrite to avoid calc_permutated_index for | |
2847 improved performance. | |
2848 | |
5606 | 2849 2006-02-04 David Bateman <dbateman@free.fr> |
2850 | |
2851 * COLAMD: Remove all files, as now unused. | |
2852 | |
5604 | 2853 2006-01-31 John W. Eaton <jwe@octave.org> |
2854 | |
2855 * Sparse.h (Sparse<T>::nzmax): New function. | |
2856 (Sparse<T>::nnz): Rename from nonzero. | |
2857 Change all uses of old nnz function to be nzmax. Change all uses | |
2858 of nonzero to be nnz. | |
2859 (Sparse<T>::nzmx): Rename from nnz (data member). Change all uses. | |
2860 | |
5603 | 2861 2006-01-21 David Bateman <dbateman@free.fr> |
2862 | |
2863 * sparse-sort.cc (bool octave_sparse_sidxl_comp): 64-bit fix. | |
2864 (bool octave_idx_vector_comp): New function. | |
2865 (template class octave_sort<octave_idx_vector_sort *>): Instantiate | |
2866 indexed idx_vector sorting function. | |
2867 * sparse-sort.h (class octave_sparse_sort_idxl): 64-bit fix. | |
2868 (class octave_idx_vector_sort): New class for indexed idx_vector | |
2869 sorting. | |
2870 (bool octave_idx_vector_comp): Declaration. | |
2871 * Sparse.cc (int assign1(Sparse<LT>&, Sparse<RT>&)): Treat cases of | |
2872 unordered LHS indexes in assignment using new octave_idx_vector_sort | |
2873 class. | |
2874 (int assign(Sparse<LT>&, Sparse<RT>&)): ditto. | |
2875 | |
5602 | 2876 2006-01-30 John W. Eaton <jwe@octave.org> |
2877 | |
2878 * so-array.h (streamoff_array::nnz): New funtion. | |
2879 * boolNDArray.h (boolNDArray::nnz): New function. | |
2880 * MArrayN.h (MArrayN<T>::nnz): New function. | |
2881 * MArray.h (MArray<T>::nnz): New function. | |
2882 | |
5587 | 2883 2006-01-04 David Bateman <dbateman@free.fr> |
2884 | |
2885 * Spars-op-defs.h (SPARSE_SPARSE_MUL): Previous change resulted in | |
2886 elements not being sorted in return matrix. Sort them, and make | |
2887 solver select between two algorithms to further improve the | |
2888 performance. | |
2889 * dSparse.cc: include oct-sort.h. | |
2890 * CSparse.cc: ditto. | |
2891 * sparse-sort.cc: Instantiate octave_sort<octave_idx_type>. | |
2892 | |
5586 | 2893 2005-12-28 David Bateman <dbateman@free.fr> |
2894 | |
5587 | 2895 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Improved algorithm that is |
2896 faster in all cases, and significantly so for low density or small | |
2897 order problems. | |
5586 | 2898 |
5552 | 2899 2005-11-30 John W. Eaton <jwe@octave.org> |
2900 | |
2901 * LSODE.cc (LSODE::do_integrate (double)): Resize iwork and rwork | |
2902 before setting any values in either array. | |
2903 | |
5547 | 2904 2005-11-29 John W. Eaton <jwe@octave.org> |
2905 | |
2906 * oct-uname.h, oct-uname.cc: New files. | |
2907 * Makefile.in: Add them to the appropriate lists. | |
2908 | |
5535 | 2909 2005-11-11 John W. Eaton <jwe@octave.org> |
2910 | |
2911 * Array.cc (Array<T>::indexN): Simplify. | |
2912 | |
5533 | 2913 2005-11-09 John W. Eaton <jwe@octave.org> |
2914 | |
2915 * oct-inttypes.h (octave_int::operator char (void) const): | |
2916 New conversion op. | |
2917 | |
5527 | 2918 2005-11-01 John W. Eaton <jwe@octave.org> |
2919 | |
2920 * Makefile.in (distclean): Also remove oct-types.h. | |
2921 From Quentin Spencer <qspencer@ieee.org>. | |
2922 | |
5526 | 2923 2005-10-31 David Bateman <dbateman@free.fr> |
2924 | |
2925 * dSparse.cc, CSparse.cc: Use C++ true/false instead of | |
2926 preprocessor defined TRUE/FALSE. | |
2927 | |
5523 | 2928 2005-10-30 John W. Eaton <jwe@octave.org> |
2929 | |
2930 * mx-inlines.cc (MX_ND_REDUCTION): Iterate in direction of DIM. | |
2931 (MX_ND_CUMULATIVE_OP): Likewise. | |
2932 | |
5519 | 2933 2005-10-29 John W. Eaton <jwe@octave.org> |
2934 | |
5520 | 2935 * mx-inlines.cc (MX_ND_REDUCTION): Avoid increment_index to speed |
2936 things up. Simplify. | |
2937 | |
5519 | 2938 * Array.cc (Array<T>::indexN): Simplify. Delete separate special |
2939 case for "vector_equivalent". | |
2940 | |
2941 * Array-util.cc (vector_equivalent): Arg is now dim_vector. | |
2942 | |
5518 | 2943 2005-10-28 John W. Eaton <jwe@octave.org> |
2944 | |
2945 * oct-sparse.h: Fix typo in HAVE_UFSPARSE_UMFPACK_H. | |
2946 From Quentin Spencer <qspencer@ieee.org>. | |
2947 | |
2948 * sparse-base-chol.cc: Use C++ true/false instead of | |
2949 preprocessor defined TRUE/FALSE. Use 0 instead of NULL. | |
2950 | |
5516 | 2951 2005-10-27 John W. Eaton <jwe@octave.org> |
2952 | |
2953 * Array.cc (assignN): Reshape to final size instead of resizing. | |
2954 | |
5512 | 2955 2005-10-26 John W. Eaton <jwe@octave.org> |
2956 | |
2957 * oct-sparse.h: New file. | |
2958 * oct-sparse.h.in: Delete. | |
2959 | |
5511 | 2960 2005-10-26 David Bateman <dbateman@free.fr> |
2961 | |
2962 * sparse-base-chol.h: Include cholmod specific code in HAVE_CHOLMOD | |
2963 * sparse-base-chol.cc: ditto. | |
2964 | |
5508 | 2965 2005-10-26 John W. Eaton <jwe@octave.org> |
2966 | |
2967 Changes for GCC 4.1, tip from Arno J. Klaassen | |
2968 <arno@heho.snv.jussieu.fr>: | |
2969 | |
5509 | 2970 * dSparse.h (real (const SparseComplexMatrix&)): |
2971 Publish externally used friend function. | |
2972 (imag (const SparseComplexMatrix&)): Likewise. | |
2973 | |
5508 | 2974 * dColVector.h (real (const ComplexColumnVector&)): |
2975 Publish externally used friend function. | |
2976 (imag (const ComplexColumnVector&)): Likewise. | |
2977 | |
2978 * dNDArray.h (real (const ComplexNDArray&)): | |
2979 Publish externally used friend function. | |
2980 (imag (const ComplexNDArray&)): Likewise. | |
2981 | |
2982 * dMatrix.h (operator * (const ComplexMatrix&)): | |
2983 Move decl outside class. No need to be friend. | |
2984 (real (const ComplexMatrix&)): Publish externally used friend function. | |
2985 (imag (const ComplexMatrix&)): Likewise. | |
2986 | |
2987 * CMatrix.h: (operator * (const ColumnVector&, const | |
2988 ComplexRowVector&)): Move decl outside class. No need to be friend. | |
2989 (operator * (const ComplexColumnVector&, const RowVector&)): Likewise. | |
2990 (operator * (const ComplexColumnVector&, const ComplexRowVector& b)): | |
2991 Likewise. | |
2992 | |
5506 | 2993 2005-10-23 David Bateman <dbateman@free.fr> |
2994 | |
2995 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Check whether trailing zero | |
2996 elements need to be removed. | |
2997 | |
2998 * oct-sparse.h.in: Include metis headers and some macros for long/int | |
2999 versions of cholmod. | |
3000 | |
3001 * CSparse.cc (tinverse): New private function for the inversion of | |
3002 an upper triangular matrix. | |
3003 (dinverse): ditto for diagonal matrices. | |
3004 (inverse): Add SparseType as an argument. Implement matrix inverse | |
3005 using tinverse and dinverse. | |
3006 (fsolve): Use cholmod to implement Cholesky solver. | |
3007 * CSparse.h (tinverse, dinverse): Declarations | |
3008 (inverse): Alter declaration to include SparseType. | |
3009 | |
3010 * dSparse.cc (tinverse, dinverse, inverse, fsolve): ditto. | |
3011 * dSparse.h (tinverse, dinverse, inverse): ditto. | |
3012 | |
3013 * SparseType.cc: Fix complex constructor for hermitian matrices. | |
3014 | |
3015 * sparse-util.cc: New file for sparse utility functions. | |
3016 * sparse-util.h: New file with declarations of sparse utility | |
3017 functions. | |
3018 | |
3019 * sparse-base-chol.cc: New file with sparse cholesky class based | |
3020 on cholmod. | |
3021 * sparse-base-chol.h: New file with declaration of sparse cholesky | |
3022 class based on cholmod. | |
3023 | |
3024 * SparseCmplxCHOL.cc: Instantiate sparse cholesky class for Complex. | |
3025 * SparseCmplxCHOL.h: Declaration of sparse cholesky class. | |
3026 | |
3027 * SparsedbleCHOL.cc: ditto. | |
3028 * SparsedbleCHOL.h: ditto. | |
3029 | |
3030 * Makefile.in (MATRIX_INC): Include sparse-base-chol.h. | |
3031 (INCLUDES): Include sparse-util.h | |
3032 (TEMPLATE_SRC): Include sparse-base-chol.cc | |
3033 (MATRIX_SRC): Include SparseCmplxCHOL.cc and SparsedbleCHOL.cc | |
3034 | |
5489 | 3035 2005-10-12 John W. Eaton <jwe@octave.org> |
3036 | |
3037 * oct-env.cc (octave_env::have_x11_display): New function. | |
3038 * oct-env.h: Provide decl. | |
3039 | |
5476 | 3040 2005-09-29 John W. Eaton <jwe@octave.org> |
3041 | |
3042 * file-stat.h (file_stat::mode): New function. | |
3043 | |
3044 * file-stat.cc (file_stat::is_blk, file_stat::is_chr, | |
3045 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
3046 file_stat::is_reg, file_stat::is_sock): New static functions. | |
3047 * file-stat.h: Provide decls. | |
3048 | |
3049 2005-09-28 John W. Eaton <jwe@octave.org> | |
3050 | |
3051 * file-ops.cc (file_ops::recursive_rmdir): New function. | |
3052 * file-ops.h: Provide decl. | |
3053 | |
5454 | 3054 2005-09-19 David Bateman <dbateman@free.fr> |
3055 | |
3056 * oct-env.cc (octave_env::do_get_home_directory): | |
3057 Also check HOMEDRIVE under mingw. | |
3058 | |
5455 | 3059 * Makefile.in (LINK_DEPS): Include UFsparse libraries. |
3060 | |
5453 | 3061 2005-09-16 John W. Eaton <jwe@octave.org> |
3062 | |
3063 * oct-syscalls.cc: Include lo-utils.h here. | |
3064 (octave_syscalls::waitpid): Call octave_waitpid here. | |
3065 | |
3066 * lo-cutils.c (octave_waitpid): New function. | |
3067 * lo-utils.h: Provide decl. Include syswait.h here, not in | |
3068 oct-syscalls.cc | |
3069 | |
3070 | |
3071 * syswait.h [__MINGW32__]: Define WAITPID here instead of defining | |
3072 waitpid in src/sysdep.h. Make this header C-compatible. | |
3073 | |
3074 * oct-syscalls.cc (octave_syscalls::waitpid): New arg, status. | |
3075 Change all uses. | |
3076 | |
5451 | 3077 2005-09-15 John W. Eaton <jwe@octave.org> |
3078 | |
3079 * Makefile.in (MAKEDEPS_2): Omit unnecessary variable. | |
3080 | |
3081 * oct-sparse.h.in: New file. | |
3082 * Makefile.in (DISTFILES): Include it in the list. | |
3083 (INCLUDES): Add oct-sparse.h to the list. | |
3084 | |
3085 2005-09-15 David Bateman <dbateman@free.fr> | |
3086 | |
3087 * dSparse.cc : Include oct-sparse.h for probed umfpack, colamd etc | |
3088 headers. Remove include of umfpack.h. | |
3089 * CSparse.cc : ditto. | |
3090 * SparsedbleLU.cc : ditto. | |
3091 * SparseCmplxLU.cc : ditto. | |
3092 | |
3093 * COLAMD : Remove colamd files from octave. | |
3094 * COLAMD.files : delete. | |
3095 * COLAMD.README : delete. | |
3096 * Makefile.in: Remove COLAMD. Add LIBGLOB. | |
3097 (LN_S): Change to DESTDIR before LN_S to avoid lack of symlinks | |
3098 under mingw. | |
3099 | |
3100 * kpse.cc (ENV_SEP, ENV_SEP_STRING): Use SEPCHAR and SEPCHAR_STR | |
3101 in definition. | |
3102 * lo-cutils.c (octave_w32_library_search): Call GetProcAddress with | |
3103 change of cast not allowed under g++ 3.x. | |
3104 * lo-utils.h (octave_w32_library_search): Declaration. | |
3105 * oct-env.cc (do_get_home_directory): Also check HOMEPATH under mingw. | |
3106 * oct-shlib.cc (octave_w32_shlib::search): Use octave_w32_library_search. | |
3107 | |
5442 | 3108 2005-09-07 John W. Eaton <jwe@octave.org> |
3109 | |
3110 * cmd-edit.cc (command_editor::do_decode_prompt_string): Update | |
3111 based on current code in Bash. Handle a few more escape | |
3112 sequences. Do a better job of decoding \W. | |
3113 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3114 2005-09-04 David Bateman <dbateman@free.fr> |
5438 | 3115 |
3116 * COLAMD: Update version of colamd to v2.4. | |
3117 * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of | |
3118 colamd.c for long version. | |
3119 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3120 2005-08-25 David Bateman <dbateman@free.fr> |
5429 | 3121 |
3122 * Sparse-op-defs.h (FULL_SPARSE_MUL, SPARSE_FULL_MUL): Macro for | |
3123 mixed sparse/full multiply. | |
3124 * dSparse.cc (operator *), CSparse.cc (operator *): New operators for | |
3125 mixed sparse/full multiply. | |
3126 * dSparse.h (operator *), CSparse.h (operator *): Declaration of | |
3127 mixed sparse/full multiply operators. | |
3128 | |
5420 | 3129 2005-07-25 Erik de Castro Lopo <erikd@zip.com.au> |
3130 | |
3131 * oct-inttypes.h (OCTAVE_S_US_FTR): Compare <= 0 instead of < 0 to | |
3132 avoid warnings for unsigned types. | |
3133 | |
5404 | 3134 2005-07-07 John W. Eaton <jwe@octave.org> |
3135 | |
3136 * dSparse.cc (SparseMatrix::factorize): Initialize Numeric to 0. | |
3137 * CSparse.cc (SparseComplexMatrix::factorize:) Likewise. | |
3138 | |
5392 | 3139 2005-06-15 John W. Eaton <jwe@octave.org> |
3140 | |
5394 | 3141 * oct-rl-edit.c (flush_stdout): Rename from no_redisplay. |
3142 Flush stdout here. | |
3143 (octave_rl_clear_screen): Set rl_redisplay_function to flush_stdout. | |
3144 | |
5392 | 3145 * Array.h (Array::resize): Change int args to octave_idx_type. |
3146 | |
5386 | 3147 2005-06-14 John W. Eaton <jwe@octave.org> |
3148 | |
5389 | 3149 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
3150 dSparse.cc, lo-cieee.c, lo-mappers.cc: Change all uses of | |
3151 octave_is_NaN_or_NA to xisnan. | |
3152 | |
3153 * lo-mappers.h (octave_is_NaN_or_NA): Mark with GCC_ATTR_DEPRECATED. | |
3154 * lo-ieee.h (lo_ieee_is_NaN_or_NA): Likewise. | |
3155 | |
3156 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Now just a wrapper for | |
3157 lo_ieee_isnan. | |
3158 | |
5387 | 3159 * dMatrix.cc (Matrix::too_large_for_float): Only check if abs |
3160 value is greater than FLT_MAX. | |
3161 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
3162 * dNDArray.cc (NDArray::too_large_for_float): Ditto. | |
3163 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
3164 | |
3165 * dMatrix.cc (Matrix::too_large_for_float): Special case Inf | |
3166 values too. | |
3167 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
3168 | |
3169 * dNDArray.cc (NDArray::too_large_for_float): Likewise for NaN, | |
3170 NA, Inf values. | |
3171 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
5386 | 3172 |
5385 | 3173 2005-06-14 David Bateman <dbateman@free.fr> |
3174 | |
5387 | 3175 * dMatrix.cc (Matrix::too_large_for_float): Special case NaN and |
3176 NA values. | |
3177 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
5385 | 3178 |
5379 | 3179 2005-06-02 John W. Eaton <jwe@octave.org> |
3180 | |
3181 * Array.cc (assignN): Try harder to correctly resize previously | |
3182 empty LHS. | |
3183 | |
5351 | 3184 2005-05-16 David Bateman <dbateman@free.fr> |
3185 | |
3186 * dSparse.h: Change UMFPACK_LONG_IDX to IDX_TYPE_LONG. | |
3187 * CSparse.h: ditto. | |
3188 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3189 2005-05-10 David Bateman <dbateman@free.fr> |
5346 | 3190 |
3191 * dSparse.cc (determinant): Free numeric factorization after | |
3192 sucessful calculation. | |
3193 * CSparse.cc (determinant): ditto. | |
3194 | |
5340 | 3195 2005-05-06 John W. Eaton <jwe@octave.org> |
3196 | |
3197 * dbleCHOL.cc (CHOL::init): Use xelem instead of elem for indexing | |
3198 chol_mat. | |
3199 (chol2mat_internal, chol2mat, CHOL::inverse): New functions. | |
3200 * dbleCHOL.h (chol2mat_internal, chol2mat, CHOL::inverse): | |
3201 Provide decls. | |
3202 | |
3203 * CmplxChol.cc (ComplexCHOL::init): Use xelem instead of elem for | |
3204 indexing chol_mat. | |
3205 (chol2mat_internal, chol2mat, ComplexCHOL::inverse): New functions. | |
3206 * CmplxCHOL.h (chol2mat_internal, chol2mat, CmplxCHOL::inverse): | |
3207 Provide decls. | |
3208 | |
5338 | 3209 2005-05-05 John W. Eaton <jwe@octave.org> |
3210 | |
3211 * Array.cc (Array<T>::permute): Call chop_trailing_singletons on | |
3212 retval before return. | |
3213 | |
5336 | 3214 2005-05-04 John W. Eaton <jwe@octave.org> |
3215 | |
3216 * cmd-edit.cc (gnu_readline::do_readline): Extract const char* | |
3217 from prompt outside of INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE block. | |
3218 | |
5330 | 3219 2005-05-02 John W. Eaton <jwe@octave.org> |
3220 | |
3221 * Makefile.in (LINK_DEPS): List $(UMFPACK_LIBS) ahead of $(BLAS_LIBS). | |
3222 From Dmitri A. Sergatskov <dasergatskov@gmail.com>. | |
3223 | |
5322 | 3224 2005-04-29 David Bateman <dbateman@free.fr> |
3225 | |
5330 | 3226 * dSparse.cc (trisolve): Diagonal passed to lapack zptsv is type |
3227 double. Correct indexing for upper diagonal elements for sparse | |
3228 tridiagonal. | |
5322 | 3229 * CSparse.cc (trisolve): ditto. |
3230 | |
5330 | 3231 * CSparse.h (UMFPACK_ZNAME): Define macro to pick version of |
3232 UMFPACK for 64-bit. | |
5322 | 3233 * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with |
3234 UMFPACK_ZNAME(*). | |
3235 * SparseCmplxLU.cc (UMFPACK_ZNAME): ditto | |
3236 | |
5330 | 3237 * dSparse.h (UMFPACK_DNAME): Define macro to pick version of |
3238 UMFPACK for 64-bit. | |
5322 | 3239 * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with |
3240 UMFPACK_DNAME(*). | |
3241 * SparsedbleLU.cc (UMFPACK_DNAME): ditto | |
3242 | |
5330 | 3243 * dSparse.cc (ltsolve, utsolve): Correct permuted upper/lower |
3244 triangular back/forward substitution code. | |
5322 | 3245 * CSparse.cc (ltsolve, utsolve): ditto. |
3246 | |
5330 | 3247 * dSparse.cc (solve): Use mattype.type (false) to force messaging |
3248 from spparms("spumoni",1). | |
5322 | 3249 * CSparse.cc (solve): ditto |
3250 | |
5330 | 3251 * SparseType.cc (SparseType(void)): Print info for |
3252 spparms("spumoni",1). | |
5322 | 3253 (SparseType(const matrix_type), SparseType(const matrix_type, const |
3254 octave_idx_type, const octave_idx_type*), SparseType(const matrix_type, | |
3255 const octave_idx_type, const octave_idx_type)): New constructors. | |
3256 (SparseType (const SparseMatrix&), SparseType (SparseComplexMatrix&)): | |
5330 | 3257 Detect row permuted lower triangular and column permuted upper |
3258 triangular matrices. Remove one of the permutation vectors.. | |
5322 | 3259 |
3260 * SparseType.h: Simplify the permutation code. | |
3261 (SparseType(const matrix_type), SparseType | |
3262 (const matrix_type, const octave_idx_type, const octave_idx_type*), | |
3263 SparseType(const matrix_type, const octave_idx_type, | |
3264 const octave_idx_type)): Declarations. | |
3265 | |
5304 | 3266 2005-04-25 John W. Eaton <jwe@octave.org> |
3267 | |
3268 * str-vec.cc (string_vector::delete_c_str_vec): Correctly free | |
3269 array and its contents. | |
3270 | |
5303 | 3271 2005-04-22 John W. Eaton <jwe@octave.org> |
3272 | |
3273 * oct-rl-edit.c (octave_rl_set_terminal_name): Don't cast away | |
3274 const here now that rl_terminal_name is declared const char*. | |
3275 | |
5294 | 3276 2005-04-21 John W. Eaton <jwe@octave.org> |
3277 | |
3278 * Makefile.in (DISTFILES): Include oct-types.h.in in the list. | |
3279 | |
5285 | 3280 2005-04-19 John W. Eaton <jwe@octave.org> |
3281 | |
3282 * Array.cc (assignN): Don't crash if the index list is empty. | |
3283 | |
5282 | 3284 2005-04-14 David Bateman <dbateman@free.fr> |
3285 | |
3286 * SparseCmplxLU.cc: Add flags for incomplete factorization. | |
3287 * SparsedbleLU.cc: Ditto. | |
3288 * SparseCmplxLU.h: Definition. | |
3289 * SparsedbleLU.h: ditto. | |
3290 | |
3291 * SparseType.cc (transpose): New function. | |
3292 * SparseType.h (transpose): Definition. | |
3293 | |
5278 | 3294 2005-04-11 John W. Eaton <jwe@octave.org> |
3295 | |
3296 * lo-specfun.cc: Use F77_XFCN instead of F77_FUNC for calls to | |
3297 fortran code that could end up calling XSTOPX. | |
3298 | |
5277 | 3299 2005-04-10 David Bateman <dbateman@free.fr> |
3300 | |
3301 * Makefile.in: include oct-types in INCLUDES so that it is | |
3302 installed | |
3303 | |
5275 | 3304 2005-04-08 John W. Eaton <jwe@octave.org> |
3305 | |
5276 | 3306 * Makefile.in (clean): Use exact filenames instead of *.xxx. |
3307 | |
5275 | 3308 * Initial merge of 64-bit changes from Clinton Chee: |
3309 | |
3310 2005-04-07 John W. Eaton <jwe@octave.org> | |
3311 | |
3312 * MArray-i.cc, Array-i.cc: Instantiate Array<long> and MArray<long>. | |
3313 | |
3314 * CSparse.cc, CSparse.h, MSparse.cc, MSparse.h, Sparse-op-defs.h, | |
3315 Sparse.cc, Sparse.h, SparseCmplxLU.cc, SparseType.cc, | |
3316 SparseType.h, SparsedbleLU.cc, boolSparse.cc, boolSparse.h, | |
3317 dSparse.cc, dSparse.h, sparse-base-lu.cc: | |
3318 Use octave_idx_type instead of int where needed. | |
3319 | |
3320 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
3321 | |
3322 * Array-util.cc, Array-util.h, Array.cc,Array.h, Array2.h, | |
3323 Array3.h, ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
3324 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
3325 CMatrix.h, CNDArray.cc, CNDArray.h, CRowVector.cc, CRowVector.h, | |
3326 CmplxAEPBAL.cc, CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, | |
3327 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
3328 CmplxSCHUR.cc, CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, | |
3329 CollocWt.h, DAEFunc.h, DASPK-opts.in,DASPK.cc,DASPK.h, | |
3330 DASRT-opts.in, DASRT.cc, DASRT.h, DASSL-opts.in, DASSL.cc, | |
3331 DASSL.h, DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, | |
3332 FEGrid.h, LPsolve.cc, LPsolve.h, LSODE-opts.in, LSODE.cc, LSODE.h, | |
3333 MArray-defs.h, MArray.cc, MArray.h, MArray2.cc, MArray2.h, | |
3334 MArrayN.cc, MDiagArray2.cc, MDiagArray2.h, NLConst.h, NLEqn.cc, | |
3335 NLEqn.h, Quad.cc, Quad.h, Range.cc,Range.cc, Range.h, base-de.h, | |
3336 base-lu.cc, base-lu.h, base-min.h, boolMatrix.cc, boolMatrix.h, | |
3337 boolNDArray.cc, boolNDArray.h, chMatrix.cc, chMatrix.h, | |
3338 chNDArray.cc, chNDArray.h, dColVector.cc, dColVector.h, | |
3339 dDiagMatrix.cc, dDiagMatrix.h, dMatrix.cc, dMatrix.h, | |
3340 dNDArray.cc,dNDArray.cc, dNDArray.h, dRowVector.cc, dRowVector.h, | |
3341 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleHESS.cc, | |
3342 dbleHESS.h, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
3343 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, dim-vector.h, idx-vector.cc, | |
3344 idx-vector.h, intNDArray.cc, intNDArray.h, lo-specfun.cc, | |
3345 lo-specfun.h, mach-info.cc, mx-inlines.cc, oct-fftw.cc, | |
3346 oct-fftw.h, oct-rand.cc, oct-rand.h, so-array.cc, so-array.h, | |
3347 str-vec.cc, str-vec.h: | |
3348 Use octave_idx_type instead of int where needed. | |
3349 | |
3350 2005-04-01 John W. Eaton <jwe@octave.org> | |
3351 | |
3352 * dim-vector.h, lo-utils.h: Include oct-types.h. | |
3353 | |
3354 * oct-types.h.in: New file. | |
3355 | |
3356 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
3357 | |
3358 * lo-utils.cc (NINTbig): New function. | |
3359 * lo-utils.h: Provide decl. | |
3360 | |
5269 | 3361 2005-04-06 David Bateman <dbateman@free.fr> |
3362 | |
3363 * Makefile.in: Link to UMFPACK_LIBS. | |
3364 | |
5265 | 3365 2005-04-05 John W. Eaton <jwe@octave.org> |
3366 | |
3367 * Array.cc (assignN): Avoid shadowed declaration in previous change. | |
3368 | |
5264 | 3369 2005-04-01 John W. Eaton <jwe@octave.org> |
3370 | |
3371 * Array.cc (assignN): For A(IDX-LIST) = RHS with A previously | |
3372 undefined, correctly match colons in IDX-LIST with RHS dimensions | |
3373 when resizing A. When performing the assignment, just check that | |
3374 the number of elements in RHS matches the number of elements | |
3375 indexed by IDX-LIST. | |
3376 | |
5260 | 3377 2005-03-30 John W. Eaton <jwe@octave.org> |
3378 | |
5261 | 3379 * lo-mappers.cc (log10, tan, tanh): Delete functions. |
3380 * lo-mappers.h (log10, tan, tanh): Delete decls. | |
3381 | |
3382 * CColVector.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, | |
3383 dSparse.cc: Use std:: for Complex functions instead of relying on | |
3384 wrappers from oct-cmplx.h. | |
5260 | 3385 |
3386 * oct-cmplx.h: Provide typedef only. | |
3387 | |
3388 * DiagArray2.cc (xelem): Don't use initializer for static data. | |
3389 * DiagArray2.h (DiagArray<T>::Proxy::operator T ()): | |
3390 Likewise. | |
3391 | |
5247 | 3392 2005-03-26 John W. Eaton <jwe@octave.org> |
3393 | |
3394 * cmd-edit.cc (do_readline): Wrap call to ::octave_rl_readline | |
3395 with {BEGIN,END}_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE. | |
3396 | |
5209 | 3397 2005-03-15 John W. Eaton <jwe@octave.org> |
3398 | |
3399 * Makefile.in (MATRIX_INC): Remove oct-spparms.h from the list. | |
3400 | |
5203 | 3401 2005-03-14 John W. Eaton <jwe@octave.org> |
3402 | |
3403 * Makefile.in (DISTFILES): Don't include $(UMFPACK_EXTRAS). | |
3404 (DISTDIRS): Don't include UMFPACK. | |
3405 (LIBOCTAVE_OBJECTS): Don't include $(UMFPACK_OBJ). | |
3406 (UMFPACK_SPECIAL_1, UMFPACK_SPECIAL): No need for special include | |
3407 flags for these files. | |
3408 Don't include include $(srcdir)/UMFPACK.files. | |
3409 Don't include include $(srcdir)/UMFPACK.rules. | |
3410 | |
3411 * UMFPACK.README, UMFPACK.files, UMFPACK.patch, UMFPACK.rules: | |
3412 Delete files. | |
3413 * UMFPACK: Delete directory tree. | |
3414 | |
3415 * dSparse.cc: Include <umfpack/umfpack.h> instead of just "umfpack.h". | |
3416 * CSparse.cc: Likewise. | |
3417 * SparsedbleLU.cc: Likewise. | |
3418 * SparseCmplxLU.cc: Likewise. | |
3419 | |
3420 2005-03-14 David Bateman <dbateman@free.org> | |
3421 | |
3422 * CSParse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc: | |
3423 Allow compilation to succeed if UMFPACK is not available. | |
3424 | |
5196 | 3425 2005-03-09 John W. Eaton <jwe@octave.org> |
3426 | |
3427 * Makefile.in (bin-dist): Delete target. | |
3428 (BINDISTLIBS, BINDISTFILES): Delete variables. | |
3429 | |
5173 | 3430 2005-03-01 John W. Eaton <jwe@octave.org> |
3431 | |
3432 * ODESSA.h, ODESSA.cc, ODESSA-opts.in: Delete. | |
3433 * Makefile.in: Remove them from the lists. | |
3434 | |
5169 | 3435 2005-02-28 John W. Eaton <jwe@octave.org> |
3436 | |
3437 * Makefile.in (LINK_DEPS): Remove -lglob from the list. | |
3438 | |
5167 | 3439 2005-02-27 David Bateman <dbateman@free.org> |
3440 | |
5169 | 3441 * Sparse.cc (Sparse<T>::reshape): Set cidx for the N last elements |
3442 in the sparse matrix. | |
5167 | 3443 |
5164 | 3444 2005-02-25 John W. Eaton <jwe@octave.org> |
3445 | |
3446 Sparse merge. | |
3447 | |
3448 2005-02-13 David Bateman <dbateman@free.fr> | |
3449 | |
3450 * CSparse.cc (SparseComplexMatrix:dsolve, SparseComplexMatrix:utsolve, | |
3451 SparseComplexMatrix::ltsolve, SparseComplexMatrix::trisolve, | |
3452 SparseComplexMatrix::bsolve, SparseComplexMatrix:fsolve): Split sparse | |
3453 solver into separate functions for the diagonal, upper, lower | |
3454 triangular, tridiagonal, banded and full cases. | |
3455 (SparseComplexMatrix::solve): rewrite to call the above function. One | |
3456 version that probes the matrix type and another that assumes the type | |
3457 is passed. | |
3458 | |
3459 * dSparse.cc (SparseMatrix:dsolve, SparseMatrix:utsolve, | |
3460 SparseMatrix::ltsolve, SparseMatrix::trisolve, | |
3461 SparseMatrix::bsolve, SparseMatrix:fsolve): Likewise | |
3462 (SparseMatrix::solve): Likewise | |
3463 | |
3464 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
3465 Declaration of new functions | |
3466 * dSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
3467 Likewise | |
3468 | |
3469 * CSparse.cc (operator !): Reverse the sense of the test. | |
3470 * dSpase.cc (operator !): Likewise | |
3471 | |
3472 * dSparse.h (type, band_size, is_dense, triangular_row_perm, | |
3473 triangular_col_perm, sparse_info): Remove matrix type code | |
3474 * CSparse.h (type, band_size, is_dense, triangular_row_perm, | |
3475 triangular_col_perm, sparse_info): Likewise | |
3476 * boolSparse.h (type, band_size, is_dense, triangular_row_perm, | |
3477 triangular_col_perm, sparse_info): Likewise | |
3478 * MSparse.h (type, band_size, is_dense, triangular_row_perm, | |
3479 triangular_col_perm, sparse_info): Likewise | |
3480 * Sparse.h (type, band_size, is_dense, triangular_row_perm, | |
3481 triangular_col_perm, sparse_info, matrix_type): Likewise | |
3482 | |
3483 * Sparse.cc (type, sparse_info, band_size): Remove type code | |
3484 | |
3485 * SparseType.h: New class for the matrix type used in solvers | |
3486 * SparseType.cc: methods of sparse matrix type class | |
3487 | |
3488 * Makefile.in: Add SparseType.cc | |
3489 | |
3490 2005-02-01 David Bateman <dbateman@free.fr> | |
3491 | |
3492 * UMFPACK: Update to version 4.4 | |
3493 * UMFPACK.patch: Version 4.4 contains most of the previous patch. Only | |
3494 keep octave specific test files | |
3495 | |
3496 2005-01-23 David Bateman <dbateman@free.fr> | |
3497 | |
3498 * dSparse.cc (SparseMatrix::solve): Include tridiagonal, cholesky | |
3499 tridiagonal and banded cholesky solvers. Remove calculation of | |
3500 condition number for banded solvers. | |
3501 * CSparse.cc (SparseComplexMatrix::solve): ditto. | |
3502 | |
3503 * Sparse.h (int type (int) const, bool is_dense (void) const): | |
3504 new functions. | |
3505 * MSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
3506 * dSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
3507 * CSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
3508 * boolSparse.h (int type (int) const, bool is_dense (void) const): | |
3509 ditto | |
3510 | |
3511 * Sparse.cc (int Sparse<T>::type (int) const, | |
3512 bool Sparse<T>::is_dense (void) const): New functions definition | |
3513 | |
3514 * Sparse.h (matrix_type typ): Move caching of matrix type to SparseRep, | |
3515 so it actually is cached, but disable | |
3516 | |
3517 * oct-spparms.cc (SparseParams::init_keys): Change spmoni to spumoni | |
3518 for compatiability | |
3519 | |
3520 2005-01-18 David Bateman <dbateman@free.fr> | |
3521 | |
3522 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
3523 Modify calculation of number elements to skip between copied blocks. | |
3524 | |
3525 2005-01-07 David Bateman <dbateman@free.fr> | |
3526 | |
3527 * Sparse.h : Reverse definitions of numel and nelem. | |
3528 * Sparse.cc (assign1): Use numel and not nelem | |
3529 * Sparse-op-def.h: Replace all uses of nelem with numel | |
3530 | |
3531 2005-01-07 David Bateman <dbateman@free.fr> | |
3532 | |
3533 * dbleDET.h: Make SparseMatrix a friend of the class DET | |
3534 * CmplexDET.h: Make SparseComplexMatrix a friend of the class | |
3535 ComplexDET | |
3536 * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET | |
3537 by DET | |
3538 * dSparse.h (determinant): ditto | |
3539 * CSparse.cc (SparseComplexMatrix::determinant): Replace use of | |
3540 SparseComplexDET by ComplexDET | |
3541 * CSparse.h (determinant): ditto | |
3542 * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, | |
3543 SparseCmplxDET.cc: delete files | |
3544 * Makefile.in: Delete reference to SparsedbleDET.h, SparsedbleDET.cc, | |
3545 SparseCmplxDET.h andSparseCmplxDET.cc. | |
3546 | |
3547 * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in | |
3548 local variable to avoid variable shadowing. | |
3549 * dSparse.cc (SparseMatrix::solve): ditto. | |
3550 | |
3551 * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc | |
3552 dSparse.h MSparse.cc MSparse-C.cc MSparse-d.cc MSparse-defs.h | |
3553 MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc | |
3554 Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc | |
3555 SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc | |
3556 sparse-sort.h: Remove additional licensing clause with authors | |
3557 permission. | |
3558 | |
3559 2004-12-30 John W. Eaton <jwe@octave.org> | |
3560 | |
3561 * MSparse.cc (SPARSE_A2S_OP_2, SPARSE_SA2_OP_2): | |
3562 Loop counter is int, not size_t. | |
3563 | |
3564 * oct-spparms.cc (SparseParams::operator =): Return *this. | |
3565 | |
3566 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Delete unused variable tmpval. | |
3567 | |
3568 * dSparse.cc (operator << (ostream&, const SparseMatrix&), atan2): | |
3569 Delete unused variables. | |
3570 (SparseMatrix::solve): Avoid warnings about uninitialized | |
3571 variables and variables that might be clobbered by longjmp. | |
3572 | |
3573 * CSparse.cc (operator << (ostream&, const SparseComplexMatrix&), | |
3574 min, max): Delete unused variables. | |
3575 (SparseComplexMatrix::solve): Avoid warnings about uninitialized | |
3576 variables and variables that might be clobbered by longjmp. | |
3577 | |
3578 * Makefile.in (UMFPACK_SPECIAL): Include .d files in the list. | |
3579 | |
3580 * Sparse-op-defs.h (SPARSE_SMS_BIN_OP_2, SPARSE_SSM_BIN_OP_2): | |
3581 Loop counter is int, not size_t. | |
3582 | |
3583 * CSparse.cc (SparseComplexMatrix::hermitian): Avoid shadow warnings. | |
3584 * Sparse.cc (Sparse<T>::Sparse, Sparse<T>::type, assign): Likewise. | |
3585 | |
3586 * Sparse.h (Sparse::SparseRep): Order data members and initializer | |
3587 lists consistently. | |
3588 | |
3589 * mx-base.h: Include boolSparse.h, dSparse.h, and CSparse.h. | |
3590 | |
3591 2004-12-29 John W. Eaton <jwe@octave.org> | |
3592 | |
3593 * COLAMD.files (COLAMD_EXTRAS): New variable. | |
3594 * UMFPACK.files (UMFPACK_EXTRAS): New variable. | |
3595 * Makefile.in (DISTFILES): Add $(COLAMD_EXTRAS) and | |
3596 $(UMFPACK_EXTRAS) to the list. | |
3597 (DISTDIRS): New variable. | |
3598 (dist): Handle $(DISTDIRS). | |
3599 | |
3600 Merge of sparse code from David Bateman <dbateman@free.fr> and | |
3601 Andy Adler <adler@site.uottawa.ca>. | |
3602 | |
3603 * Makefile.in (VPATH): ADD @srcdir@/COLAMD to the list. | |
3604 | |
3605 * Makefile.in (MAKEDEPS): Include $(COLAMD_SRC) and $(UMFPACK_SRC) | |
3606 without directory prefix. | |
3607 | |
3608 * Makefile.in (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJ) and | |
3609 $(UMFPACK_OBJ) to the list. | |
3610 | |
3611 * COLAMD: New directory. | |
3612 * COLAMD.files: New file. | |
3613 * Makefile.in: Include COLAMD.files. | |
3614 (SOURCES): Add $(COLAMD_SOURCES) to the list. | |
3615 (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJECTS) to the list. | |
3616 (INCLUDES): Add $(COLAMD_INCLUDES) to the list. | |
3617 | |
3618 * UMFPACK: New directory. | |
3619 * UMFPACK.patch, UMFPACK.README, UMFPACK.files, UMFPACK.rules: | |
3620 New files. | |
3621 * Makefile.in: Include UMFPACK.files and UMFPACK.rules. | |
3622 (SOURCES): Add $(UMFPACK_SOURCES) to the list. | |
3623 (LIBOCTAVE_OBJECTS): Add $(UMFPACK_OBJECTS) to the list. | |
3624 (INCLUDES): Add $(UMFPACK_INCLUDES) to the list. | |
3625 | |
3626 * Makefile.in (SPARSE_MX_OP_INC): New variable. | |
3627 (INCLUDES): Add it to the list. | |
3628 (SPARSE_MX_OP_SRC): New variable. | |
3629 (LIBOCTAVE_CXX_SOURCES): Add it to the list. | |
3630 (distclean): Remove $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
3631 (stamp-prereq): Depend on $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
3632 | |
3633 * sparse-mk-ops.awk, sparse-mx-ops: New files. | |
3634 * Makefile.in (DISTFILES): Add them to the lists. | |
3635 | |
3636 * oct-spparms.h, sparse-sort.h: New files. | |
3637 * Makefile.in (INCLUDES): Add them to the list. | |
3638 | |
3639 * oct-spparms.cc, sparse-sort.cc: New files. | |
3640 * Makefile.in (LIBOCTAVE_CXX_SOURCES): Add them to the list. | |
3641 | |
3642 * sparse-base-lu.cc: New file. | |
3643 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
3644 | |
3645 * boolSparse.cc, CSparse.cc, dSparse.cc, MSparse.cc, Sparse.cc, | |
3646 SparseCmplxDET.cc, SparseCmplxLU.cc, SparsedbleDET.cc, | |
3647 SparsedbleLU.cc: New files. | |
3648 * Makefile.in (MATRIX_SRC): Add them to the list. | |
3649 | |
3650 * boolSparse.h, CSparse.h, dSparse.h, MSparse-defs.h, MSparse.h, | |
3651 Sparse.h, oct-spparms.h, sparse-base-lu.h, SparseCmplxDET.h, | |
3652 SparseCmplxLU.h, SparsedbleDET.h, SparsedbleLU.h, | |
3653 Sparse-op-defs.h: New files. | |
3654 * Makefile.in (MATRIX_INC): Add them to the appropriate lists. | |
3655 | |
3656 * MSparse-d.cc, MSparse-C.cc, Sparse-b.cc, Sparse-d.cc, | |
3657 Sparse-C.cc: New files. | |
3658 * Makefile.in (TI_SRC): Add them to the list. | |
3659 | |
5149 | 3660 2005-02-18 John W. Eaton <jwe@octave.org> |
3661 | |
3662 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_RESOLVEPATH]: | |
3663 Pass current directory to octave_env::make_absolute. | |
3664 Save value returned from octave_env::make_absolute in local var. | |
3665 Pass const char*, not std::string as first arg of resolvepath. | |
3666 Provide decl for resolved_len. | |
3667 | |
5148 | 3668 2005-02-18 John W. Eaton <jwe@octave.org> |
3669 | |
3670 * Array.cc (Array<T>::permute): Allow permutation vector longer | |
3671 than number of dimenensions of permuted matrix. | |
3672 | |
3673 * Array.cc (Array<T>::permute): Use zero-based indexing for perm_vec. | |
3674 * Array-util.cc (calc_permutated_idx): Likewise. | |
3675 | |
5139 | 3676 2005-02-10 David Bateman <dbateman@free.fr> |
3677 | |
3678 * CNDArray.cc (ComplexNDarray::operator !): Change sense of test. | |
3679 * CMatrix.cc (ComplexMatrix::operator !): Likewise. | |
3680 | |
5137 | 3681 2005-02-09 John W. Eaton <jwe@octave.org> |
3682 | |
5138 | 3683 * file-ops.cc (file_ops::canonicalize_file_name): New functions. |
3684 * file-ops.h: Provide decls. | |
3685 | |
5137 | 3686 * kpse.cc (kpse_tilde_expand): Simply return NAME if it is empty. |
3687 | |
5136 | 3688 2005-02-08 John W. Eaton <jwe@octave.org> |
3689 | |
3690 * Array-util.cc (freeze): Improve error message. | |
3691 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3692 2005-01-26 David Bateman <dbateman@free.fr> |
5120 | 3693 |
5121 | 3694 * Array.cc (Array<T>::insert): Handle generic case, not just |
3695 special case for fast concatenation. | |
5120 | 3696 |
5110 | 3697 2005-01-18 John W. Eaton <jwe@octave.org> |
3698 | |
3699 * mx-inlines.cc (MX_ND_REDUCTION): Delete RET_ELT_TYPE arg. | |
3700 Change all uses. Use VAL instead of RET_ELT_TYPE when resizing. | |
3701 | |
3702 * dNDArray.cc (NDArray::any): NaN does not count as a nonzero value. | |
3703 * CNDArray.cc (ComplexNDArray::any): Likewise. | |
3704 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3705 2005-01-18 David Bateman <dbateman@free.fr> |
5108 | 3706 |
3707 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
3708 Modify calculation of number elements to skip between copied blocks. | |
3709 | |
3710 2005-01-18 John W. Eaton <jwe@octave.org> | |
3711 | |
3712 * idx-vector.cc (IDX_VEC_REP::freeze): Call warning handler, not | |
3713 error handler, to warn about resizing. | |
3714 | |
5105 | 3715 2004-12-27 Martin Dalecki <martin@dalecki.de> |
3716 | |
3717 * Array.cc, ArrayN.cc, base-lu.cc, boolMatrix.cc, boolNDArray.cc, | |
3718 Bounds.cc, CColVector.cc, CDiagMatrix.cc, chMatrix.cc, | |
3719 chNDArray.cc, CMatrix.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, | |
3720 CmplxDET.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
3721 CmplxSCHUR.cc, CmplxSVD.cc, CNDArray.cc, CollocWt.cc, | |
3722 CRowVector.cc, DASPK.cc, DASRT.cc, DASSL.cc, dbleAEPBAL.cc, | |
3723 dbleCHOL.cc, dbleDET.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, | |
3724 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, dColVector.cc, | |
3725 dDiagMatrix.cc, DiagArray2.cc, dMatrix.cc, dNDArray.cc, | |
3726 dRowVector.cc, EIG.cc, FEGrid.cc, idx-vector.cc, int16NDArray.cc, | |
3727 int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, intNDArray.cc, | |
3728 LinConst.cc, LPsolve.cc, LSODE.cc, MArray2.cc, MArray.cc, | |
3729 MArrayN.cc, MDiagArray2.cc, NLEqn.cc, oct-alloc.cc, ODES.cc, | |
3730 ODESSA.cc, Quad.cc, Range.cc, so-array.cc, uint16NDArray.cc, | |
3731 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: | |
3732 Delete #pragma implementation. | |
3733 | |
3734 * Array2.h, Array3.h, Array.h, ArrayN.h, base-lu.h, boolMatrix.h, | |
3735 boolNDArray.h, Bounds.h, CColVector.h, CDiagMatrix.h, chMatrix.h, | |
3736 chNDArray.h, CMatrix.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, | |
3737 CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, | |
3738 CmplxSVD.h, CNDArray.h, CollocWt.h, CRowVector.h, DASPK.h, | |
3739 DASRT.h, DASSL.h, dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, | |
3740 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, | |
3741 dColVector.h, dDiagMatrix.h, DiagArray2.h, dim-vector.h, | |
3742 dMatrix.h, dNDArray.h, dRowVector.h, EIG.h, FEGrid.h, | |
3743 idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
3744 int8NDArray.h, intNDArray.h, LinConst.h, LPsolve.h, LSODE.h, | |
3745 MArray2.h, MArray.h, MArrayN.h, MDiagArray2.h, NLConst.h, NLEqn.h, | |
3746 ODES.h, ODESSA.h, Quad.h, Range.h, so-array.h, uint16NDArray.h, | |
3747 uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: | |
3748 Delete #pragma interface. | |
3749 | |
5098 | 3750 2004-12-17 John W. Eaton <jwe@octave.org> |
3751 | |
3752 * lo-cieee.c (lo_ieee_signbit): New function. | |
3753 * lo-ieee.h: Provide decl. | |
3754 Don't define lo_ieee_signbit as a macro here. | |
3755 From Orion Poplawski <orion@cora.nwra.com>. | |
3756 | |
5085 | 3757 2004-11-18 John W. Eaton <jwe@octave.org> |
3758 | |
3759 * int32NDArray.cc (pow): Delete instantiation. | |
3760 * int16NDArray.cc (pow): Likewise. | |
3761 * int8NDArray.cc (pow): Likewise. | |
3762 * uint32NDArray.cc (pow): Likewise. | |
3763 * uint16NDArray.cc (pow): Likewise. | |
3764 * uint8NDArray.cc (pow): Likewise. | |
3765 | |
5081 | 3766 2004-11-17 John W. Eaton <jwe@octave.org> |
3767 | |
5085 | 3768 * kpse.cc (str_llist_float, str_llist_add, kpse_var_expand): |
3769 Now static. | |
3770 (DB_ENVS, DB_HASH_SIZE, DB_NAME, ALIAS_NAME, ALIAS_HASH_SIZE, | |
3771 DEFAULT_TEXMFDBS): Delete unused macros. | |
3772 | |
5081 | 3773 * Array.cc (Array<T>::index): Call generic N-d indexing function |
3774 if idx_arg is N-d. | |
3775 | |
5073 | 3776 2004-11-09 David Bateman <dbateman@free.fr> |
3777 | |
3778 * dNDArray.cc (concat): Delete. | |
3779 (NDArray::concat): New methods. | |
3780 * dNDArray.h: Provide decls. | |
3781 | |
3782 * CNDArray.cc (concat): Delete. | |
3783 (ComplexNDArray::concat): New methods. | |
3784 * CNDArray.h: Provide decls. | |
3785 | |
3786 * boolNDArray.cc (concat): Delete. | |
3787 (boolNDArray::concat): New methods. | |
3788 * boolNDArray.h: Provide decls. | |
3789 | |
3790 * chNDArray.cc (concat): Delete. | |
3791 (charNDArray::concat): New methods. | |
3792 * chNDArray.h: Provide decls. | |
3793 | |
3794 * oct-inttypes.h (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): | |
3795 Delete macros. | |
3796 | |
3797 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
3798 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
3799 (OCTAVE_INT_CONCAT_DECL): Delete use of macro. | |
3800 | |
3801 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
3802 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
3803 (OCTAVE_INT_CONCAT_FN): Delete use of macro. | |
3804 | |
3805 * intNDArray.cc (intNDArray<T>::concat): New method. | |
3806 * intNDArray.h: Provide decl. | |
3807 | |
5072 | 3808 2004-11-08 John W. Eaton <jwe@octave.org> |
3809 | |
3810 * oct-inttypes.cc: New file. | |
3811 * Makefile.in (TI_SRC): Add it to the list. | |
3812 * oct-inttypes.h (OCTAVE_US_TYPE1_CMP_OP, OCTAVE_US_TYPE1_CMP_OPS, | |
3813 OCTAVE_SU_TYPE1_CMP_OP, OCTAVE_SU_TYPE1_CMP_OPS, | |
3814 OCTAVE_TYPE1_CMP_OPS, OCTAVE_US_TYPE2_CMP_OP, | |
3815 OCTAVE_US_TYPE2_CMP_OPS, OCTAVE_SU_TYPE2_CMP_OP, | |
3816 OCTAVE_SU_TYPE2_CMP_OPS, OCTAVE_TYPE2_CMP_OPS): | |
3817 New macros for comparison operations. Avoid potential | |
3818 problems with default conversions when comparing signed and | |
3819 unsigned values. | |
3820 | |
5061 | 3821 2004-11-03 John W. Eaton <jwe@octave.org> |
3822 | |
3823 * dMatrix.cc (Matrix::inverse): Return info == -1 for any failure. | |
3824 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
3825 | |
5052 | 3826 2004-10-19 John W. Eaton <jwe@octave.org> |
3827 | |
3828 * Array.cc (assignN): Avoid resizing if assignment will fail. | |
3829 | |
5047 | 3830 2004-10-18 John W. Eaton <jwe@octave.org> |
3831 | |
3832 * Array.cc (assign2): Save result of squeeze operation. | |
3833 Squeeze if ndims is > 2, not if length of RHS vector is > 2. | |
3834 | |
5095 | 3835 2004-10-11 David Bateman <dbateman@free.fr> |
5044 | 3836 |
3837 * oct-fftw.cc (class octave_fftw_planner): Add inplace[2] to | |
3838 flag whether transform in- or out-of-place. | |
3839 (octave_fftw_planner::octave_fftw_planner): Initialize it. | |
3840 (octave_fftw_planner::create_plan): Use it. | |
3841 | |
5039 | 3842 2004-09-24 John W. Eaton <jwe@octave.org> |
3843 | |
3844 * Array.cc (assign2, assignN): If index is empty, allow RHS to be | |
3845 any empty matrix, not just []. | |
3846 | |
5030 | 3847 2004-09-23 John W. Eaton <jwe@octave.org> |
3848 | |
3849 * mx-ops: Include scalar zero value in type definitions. | |
3850 Delete zero information from ops section. | |
3851 * mk-ops.awk: Use type-specific zero info. | |
3852 | |
3853 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, | |
3854 SND_BOOL_OP, NDND_BOOL_OP): Args now include zero values for both | |
3855 LHS and RHS. | |
3856 (MS_BOOL_OPS2, SM_BOOL_OPS2, MM_BOOL_OPS2, NDS_BOOL_OPS2, | |
3857 SND_BOOL_OPS2, NDND_BOOL_OPS2): New macros. | |
3858 (MS_BOOL_OPS, SM_BOOL_OPS, MM_BOOL_OPS, NDS_BOOL_OPS, | |
3859 SND_BOOL_OPS, NDND_BOOL_OPS): Define in terms of 2-zero versions. | |
3860 | |
3861 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const | |
3862 intNDArray<U>&)): Use explicit as_double () conversion in call to | |
3863 tree_to_mat_idx. | |
3864 | |
3865 * oct-inttypes.h (octave_int<T>::operator float): New conversion. | |
3866 (pow): Instead of "if (b_val)", use "if (b_val != zero)". | |
3867 Likewise for the "if (b_val & one)" test. | |
3868 (operator <<, operator >>): Type of retval is octave_int<T1>, not T1. | |
3869 | |
5029 | 3870 2004-09-23 David Bateman <dbateman@free.fr> |
3871 | |
3872 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): | |
3873 New macros. Use them to define mixed intX-double and double-intX ops. | |
3874 | |
5021 | 3875 2004-09-22 Federico Zenith <zenith@chemeng.ntnu.no> |
3876 | |
3877 * DASPK-opts.in, DASRT-opts.in, ODESSA-opts.in: | |
3878 Fix doc string layout to avoid overfull hbox in printed output. | |
3879 | |
5015 | 3880 2004-09-21 John W. Eaton <jwe@octave.org> |
3881 | |
3882 * mach-info.h (octave_mach_info::flt_fmt_native): Delete. | |
3883 * mach-info.cc (octave_mach_info::string_to_float_format): | |
3884 For "native", set actual native format. | |
3885 (octave_mach_info::float_format_as_string): Delete flt_fmt_native case. | |
3886 | |
5008 | 3887 2004-09-17 David Bateman <dbateman@free.fr> |
3888 | |
3889 * CmplxSCHUR.cc (CmplxSCHUR::init): New arg, calc_unitary to make the | |
3890 calculation of the unitary matrix optional. | |
3891 * dbleSCHUR.cc (SCHUR::init): Ditto. | |
3892 * CmplxSCHUR.h, dbleSCHUR.h: Update decls. | |
3893 | |
4998 | 3894 2004-09-15 David Bateman <dbateman@free.fr> |
3895 | |
3896 * oct-sort.h (octave_sort<T>::set_compare (bool (*comp) (T, T))): | |
3897 New function to set the comparison function for the sort. | |
3898 | |
4985 | 3899 2004-09-10 John W. Eaton <jwe@octave.org> |
3900 | |
3901 * lo-mappers.cc (xround): Fix typo. | |
3902 | |
4979 | 3903 2004-09-08 John W. Eaton <jwe@octave.org> |
3904 | |
3905 * Array.h (Array::~Array): Declare virtual. | |
3906 | |
3907 * idx-vector.h (idx_vector::idx_vector): Initialize rep in member | |
3908 initializaion list. Don't set rep->count since the rep | |
3909 constructor does that. | |
3910 | |
4968 | 3911 2004-09-07 John W. Eaton <jwe@octave.org> |
3912 | |
4970 | 3913 * data-conv.cc (oct_data_conv::string_to_data_type): Handle dt_logical. |
3914 (oct_data_conv::data_type_as_string): Likewise. | |
3915 | |
3916 * data-conv.h (oct_data_conv::data_type): Add dt_logical to list. | |
3917 | |
4968 | 3918 * Range.cc (round): Delete unused function. |
3919 | |
3920 * lo-mappers.cc (xround): Rename from round. Change all uses. | |
3921 If HAVE_ROUND, call round, otherwise fake with floor and ceil. | |
3922 | |
3923 * oct-inttypes.h: Include <cmath> here. | |
3924 | |
4964 | 3925 2004-09-03 David Bateman <dbateman@free.fr> |
3926 | |
3927 * boolNDArray.cc (boolNDArray::concat, boolNDArray::insert): | |
3928 New functions for boolean matrix concatenation. | |
3929 * boolNDArray.h: Provide decls. | |
3930 | |
4963 | 3931 2004-09-03 John W. Eaton <jwe@octave.org> |
3932 | |
4964 | 3933 * oct-inttpes.h (OCTAVE_INT_CMP_OP): Convert operarands to double |
3934 to avoid signed/unsigned int comparison problems. | |
3935 | |
3936 * mx-ops: Generate CMP and BOOL ops for mixed integer types and | |
3937 for mixed integer and double types. | |
3938 | |
3939 * mk-ops.awk: Output BIN_OP_DECLS, CMP_OP_DECLS, and BOOL_OP_DECLS | |
3940 separately, and only if needed. | |
3941 | |
4963 | 3942 * oct-inttypes.h (octave_fit_to_range): Use constructor instead of |
3943 static_cast for type conversion. | |
3944 | |
4953 | 3945 2004-09-01 John W. Eaton <jwe@octave.org> |
3946 | |
3947 * oct-inttypes.h (pow, operator +, operator -, operator *, | |
3948 operator /): Handle mixed integer/double ops. If op generates a | |
3949 NaN, set result to 0. | |
3950 (octave_int::operator - (void)): Convert to double, then negate, | |
3951 then fit to range. | |
3952 | |
3953 * mx-ops: Define integer types. Include declarations for mixed | |
3954 integer/double ops. | |
3955 | |
4952 | 3956 2004-08-31 John W. Eaton <jwe@octave.org> |
3957 | |
3958 * oct-inttypes.h (pow): Args now const reference. | |
3959 (octave_int<T>::operator *=, octave_int<T>::operator /=, | |
3960 octave_int<T>::operator <<=, octave_int<T>::operator >>=): | |
3961 New member functions. | |
3962 (OCTAVE_INT_BITSHIFT_OP): Delete macro. | |
3963 (operator >> (const octave_int<T1>& x, const T2& y)): | |
3964 Define in terms of >>=. | |
3965 (operator << (const octave_int<T1>& x, const T2& y)): | |
3966 Define in terms of <<=. | |
3967 (bitshift): Operate on octave_int<T> objects, not the values, so | |
3968 we get proper saturation properties. | |
3969 | |
3970 2004-08-31 David Bateman <dbateman@free.fr> | |
3971 | |
3972 * oct-inttypes.h (pow (constT, T)): New template. | |
3973 | |
3974 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, | |
3975 uint16NDArray.cc, uint32NDArray.cc: Instantiate power function. | |
3976 | |
4949 | 3977 2004-08-31 John W. Eaton <jwe@octave.org> |
3978 | |
3979 * oct-inttypes.h (octave_int::byte_size): New function. | |
3980 | |
4944 | 3981 2004-08-31 John W. Eaton <jwe@octave.org> |
3982 | |
4946 | 3983 * Makefile.in (EXTRAS): Add intNDArray.cc to the list. |
3984 | |
4944 | 3985 * data-conv.h (oct_data_conv::data_type): Include sized types. |
3986 Explicitly number enum elements. | |
3987 | |
3988 * data-conv.cc (oct_data_conv::string_to_data_type (const | |
3989 std::string&, int&, oct_data_conv::data_type&, | |
3990 oct_data_conv::data_type&)): New function. | |
3991 (oct_data_conv::string_to_data_type (const std::string&, int&, | |
3992 oct_data_conv::data_type&)): New function. | |
3993 (oct_data_conv::data_type_as_string): New function. | |
3994 | |
3995 * dMatrix.cc (read_int, do_read, Matrix::read): Delete. | |
3996 (write_int, do_write, Matrix::write): Delete. | |
3997 * dMatrix.h (Matrix::read, Matrix::write): Delete decls. | |
3998 | |
3999 * byte-swap.h: Use template functions and specialization. | |
4000 Change all uses. | |
4001 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
4002 | |
4943 | 4003 2004-08-30 John W. Eaton <jwe@octave.org> |
4004 | |
4005 * oct-inttypes.h (octave_int_fit_to_range): Use template | |
4006 specializations to avoid warnings about signed/unsigned comparisons. | |
4007 | |
4008 2004-08-28 John W. Eaton <jwe@octave.org> | |
4009 | |
4010 * data-conv.cc (do_float_format_conversion (unsigned char *, | |
4011 size_t, int, oct_mach_info::float_format)): New function. | |
4012 (GET_SIZED_INT_TYPE): New macro. | |
4013 (string_to_data_type): Use it to return sized types corresponding | |
4014 to Octave array data types. | |
4015 (strip_spaces): New function. | |
4016 (do_double_format_conversion, do_float_format_conversion): Pass | |
4017 from_fmt and to_fmt. Don't always assume the to_fmt is the native | |
4018 float format. | |
4019 (do_double_format_conversion, | |
4020 IEEE_big_double_to_IEEE_little_double, | |
4021 VAX_D_double_to_IEEE_little_double, | |
4022 VAX_G_double_to_IEEE_little_double, Cray_to_IEEE_little_double, | |
4023 IEEE_little_double_to_IEEE_big_double, | |
4024 VAX_D_double_to_IEEE_big_double, VAX_G_double_to_IEEE_big_double, | |
4025 Cray_to_IEEE_big_double, IEEE_little_double_to_VAX_D_double, | |
4026 IEEE_big_double_to_VAX_D_double, VAX_G_double_to_VAX_D_double, | |
4027 Cray_to_VAX_D_double, IEEE_little_double_to_VAX_G_double, | |
4028 IEEE_big_double_to_VAX_G_double, VAX_D_double_to_VAX_G_double, | |
4029 Cray_to_VAX_G_double): | |
4030 Pass data as void*, not double*. | |
4031 (do_float_format_conversion, IEEE_big_float_to_IEEE_little_float, | |
4032 VAX_D_float_to_IEEE_little_float, | |
4033 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, | |
4034 IEEE_little_float_to_IEEE_big_float, | |
4035 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, | |
4036 Cray_to_IEEE_big_float, IEEE_little_float_to_VAX_D_float, | |
4037 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, | |
4038 Cray_to_VAX_D_float, IEEE_little_float_to_VAX_G_float, | |
4039 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, | |
4040 Cray_to_VAX_G_float): | |
4041 Pass data as void*, not float*. | |
4042 | |
4043 2004-08-27 John W. Eaton <jwe@octave.org> | |
4044 | |
4045 * byte-swap.h (swap_bytes): New template versions, with | |
4046 specializations. | |
4047 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
4048 Change all uses. | |
4049 | |
4940 | 4050 2004-08-24 David Bateman <dbateman@free.fr> |
4051 | |
4052 * chNDArray.cc (concat): Check whether matrix to be inserted is | |
4053 empty instead of checking final matrix. | |
4054 * dNDArray.cc (concat): Likewise. | |
4055 * CNDArray.cc (concat): Likewise. | |
4056 | |
4057 2004-08-23 David Bateman <dbateman@free.fr> | |
4058 | |
4059 * dim-vector.h (dim_vector::concat): Correct incrementation for | |
4060 non-existent dimensions. | |
4061 | |
4938 | 4062 2004-08-09 John W. Eaton <jwe@octave.org> |
4063 | |
4064 * idx-vector.h (idx_vector::idx_vector_rep::tree_to_mat_idx | |
4065 (const octave_int<U>&)): New member function. | |
4066 (idx_vector::idx_vector_rep::tree_to_mat_idx (double, bool&), | |
4067 idx_vector::idx_vector_rep::tree_to_mat_idx (int)): | |
4068 Now member functions instead of static in idx-vector.cc. | |
4069 (idx_vector::idx_vector_rep::idx_vector_rep (const octave_int<U>&), | |
4070 idx_vector::idx_vector_rep::idx_vector_rep (const intNDArray<U>&)): | |
4071 New template constructors. | |
4072 | |
4932 | 4073 2004-08-05 John W. Eaton <jwe@octave.org> |
4074 | |
4933 | 4075 * EIG.cc (EIG::init): Add volatile qualifier to nvr decl. |
4076 | |
4932 | 4077 * intNDArray.cc (intNDArray<T>::operator !, intNDArray<T>::all, |
4078 intNDArray<T>::any): Sprinkle with this-> as needed. | |
4079 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): Likewise. | |
4080 | |
4929 | 4081 2004-08-03 John W. Eaton <jwe@octave.org> |
4082 | |
4083 * Array.cc (Array<T>::squeeze): Do nothing for 2-d arrays. For | |
4084 arrays with more than two dimensions and only one non-singleton | |
4085 dimension, return a column vector. | |
4086 | |
4921 | 4087 2004-07-28 John W. Eaton <jwe@octave.org> |
4088 | |
4089 * oct-cmplx.h (pow (const Complex&, const double&): | |
4090 Convert second arg to complex to avoid libstdc++ bug. | |
4091 | |
4920 | 4092 2004-07-27 John W. Eaton <jwe@octave.org> |
4093 | |
4094 * oct-inttypes.h (bitshift): New arg, MASK. | |
4095 (OCTAVE_INT_BITSHIFT_OP): Bitshift does not saturate. | |
4096 | |
4916 | 4097 2004-07-23 John W. Eaton <jwe@octave.org> |
4098 | |
4099 * Array.cc (Array<T>::reshape): Return *this if no change in size. | |
4100 | |
4915 | 4101 2004-07-23 David Bateman <dbateman@free.fr> |
4102 | |
4103 * Array.cc, Array.h (cat_ra): Delete. | |
4104 * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc | |
4105 (INSTANTIATE_ARRAY_CAT): Delete. | |
4106 | |
4107 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
4108 chNDArray.h, intNDArray.cc, intNDArray.h (cat): Delete. | |
4109 | |
4110 * Array.cc (Array<T>::insert): Copy data in NDArray version. | |
4111 | |
4112 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
4113 chNDArray.h (concat): New function used for concatenation that does | |
4114 an indexed copy of one array into another. | |
4115 | |
4116 * dim-vector.h (concat): New function to concatenate dim_vectors. | |
4117 | |
4118 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
4119 chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for | |
4120 insertion of one NDArray into another. | |
4121 | |
4122 * oct-inttype.cc (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): New | |
4123 macros to define the int/uint concatenation functions. | |
4124 | |
4125 * uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
4126 int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc | |
4127 (OCTAVE_INT_CONCAT_FN): Instantiate the concatenation function . | |
4128 | |
4129 * uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
4130 int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h | |
4131 (OCTAVE_INT_CONCAT_DECL): Declare the int/uint concatentaion | |
4132 functions. | |
4133 | |
4911 | 4134 2004-07-22 David Bateman <dbateman@free.fr> |
4135 | |
4136 * oct-sort.h: Don't include oct-obj.h. | |
4137 | |
4138 * lo-specfun.cc (is_integer_value): New function. | |
4139 (zbesj, zbesi, zbesy): Special case negative integer or half | |
4140 integer orders that cause overflow for small arguments. | |
4141 | |
4909 | 4142 2004-07-12 John W. Eaton <jwe@octave.org> |
4143 | |
4144 * oct-inttypes.h (octave_int<T>::nbits): New function. | |
4145 (bitshift (const octave_int<T>&, int)): New function. | |
4146 | |
4902 | 4147 2004-06-14 John W. Eaton <jwe@octave.org> |
4148 | |
4149 * mx-base.h: Include headers for new int types. | |
4150 | |
4151 * dNDArray.h, dNDArray.cc (NDArray::NDArray (const boolNDArray&), | |
4152 NDArray::NDArray (const charNDArray&)): Delete. | |
4153 (template <class U> explicit NDArray (const intNDArray<U>&)): New | |
4154 constructor. | |
4155 (NDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
4156 | |
4157 * chMatrix.h (CharMatrix::transpose): New forwarding functions for | |
4158 return type conversion. | |
4159 | |
4160 * ComplexNDArray.h, ComplexNDArray.cc | |
4161 (ComplexNDArray::ComplexNDArray (const ArrayN<Complex>&), | |
4162 (ComplexNDArray::ComplexNDArray (const NDArray&), | |
4163 (ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
4164 (ComplexNDArray::ComplexNDArray (const charNDArray&)): Delete. | |
4165 | |
4166 (ComplexNDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
4167 | |
4168 * MArrayN.h: | |
4169 (template <class U> explicit MArrayN<T>::MArrayN (const Array2<U>&), | |
4170 (template <class U> MArrayN<T>::MArrayN (const ArrayN<U>&), | |
4171 (template <class U> explicit MArrayN<T>::MArrayN (const MArray<U>&)): | |
4172 New constructors. | |
4173 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
4174 ArrayN<T>::squeeze): | |
4175 New forwarding functions for return type conversion. | |
4176 | |
4177 * ArrayN.h: | |
4178 (template <class U> explicit ArrayN<T>::ArrayN (const Array2<U>&), | |
4179 (template <class U> explicit ArrayN<T>::ArrayN (const ArrayN<U>&), | |
4180 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&), | |
4181 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&, | |
4182 const dim_vector&)): New constructors. | |
4183 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
4184 ArrayN<T>::transpose): | |
4185 New forwarding functions for return type conversion. | |
4186 | |
4187 * Array.h (template <class U> Array<T>::Array (const Array<U>&)): | |
4188 New constructor. | |
4189 (Array<T>::coerce, Array<T>::byte_size): New functions. | |
4190 | |
4191 * Array-i.cc, MArray-i.cc: Instantiate new integer types. | |
4192 | |
4193 * oct-inttypes.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
4194 int8NDArray.h , intNDArray.h, uint16NDArray.h, uint32NDArray.h, | |
4195 uint64NDArray.h, uint8NDArray.h, int16NDArray.cc, int32NDArray.cc, | |
4196 int64NDArray.cc, int8NDArray.cc, intNDArray.cc, uint16NDArray.cc, | |
4197 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: New files. | |
4198 * Makefile.in: Add them to the appropriate lists. | |
4199 | |
4899 | 4200 2004-06-04 John W. Eaton <jwe@octave.org> |
4201 | |
4202 * mx-inlines.cc (MX_ND_REDUCTION): New arg, RET_ELT_TYPE. Use | |
4203 "RET_ELT_TYPE ()" rather than "false" as fill value for retval | |
4204 resize op. Change all uses. | |
4205 | |
4898 | 4206 2004-06-03 David Bateman <dbateman@free.fr> |
4207 | |
4208 * Array.cc (assignN): Allow magic colon for dimensions lvalue | |
4209 greater than the existing number of dimensions in lvalue. | |
4210 | |
4887 | 4211 2004-04-30 David Bateman <dbateman@free.fr> |
4212 | |
4213 * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): | |
4214 New arg, fill_value. | |
4215 (dim_vector::resize): Allow optional fill_value argument. | |
4216 | |
4217 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
4218 Don't chop trailing dimensions of Array<idx_vector> if there is | |
4219 more than one element in idx_vector. Resize the return value to | |
4220 the size of Array<idx_vector>. | |
4221 | |
4222 * Array-util.cc (short_freeze): Better freeze of last dimension of | |
4223 idx_vector that is shorter than a dim_vector. | |
4224 | |
4882 | 4225 2004-04-23 John W. Eaton <jwe@octave.org> |
4226 | |
4227 * oct-sort.cc: Don't include oct-obj.h. | |
4228 | |
4876 | 4229 2004-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
4230 | |
4231 * Array.cc (Array<T>::index2, Array<T>::indexN): | |
4232 Don't set invalid dimensions on return value. | |
4233 | |
4871 | 4234 2004-04-21 John W. Eaton <jwe@octave.org> |
4235 | |
4236 * mx-inlines.cc (MX_ND_REDUCTION): Chop trailing singletons. | |
4237 | |
4850 | 4238 2004-04-06 David Bateman <dbateman@free.fr> |
4239 | |
4870 | 4240 * Array.cc (Array<T>::resize_no_fill (const dim_vector& dv), |
4241 Array<T>::resize_and_fill (const dim_vector& dv, const T& val)): | |
4242 Make their behavior equivalent except for filling vs. not filling. | |
4243 | |
4850 | 4244 * oct-sort.cc: New template class for arbitrary sorting. |
4245 * oct-sort.h: Declaration of sort class. | |
4246 * Makefile: Add them to the appropriate lists. | |
4247 | |
4845 | 4248 2004-04-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
4249 | |
4250 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Fix off-by-one error. | |
4251 | |
4844 | 4252 2004-04-02 David Bateman <dbateman@free.fr> |
4253 | |
4254 * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, | |
4255 besselh2, airy, biry, betainc, gammainc, do_bessel): | |
4852 | 4256 New N-d array versions. |
4844 | 4257 (SN_BESSEL, NS_BESSEL, NN_BESSEL): New macros. |
4258 * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, | |
4259 besselh2, airy, biry, betainc, gammainc): Provide decls. | |
4260 | |
4261 * dNDArray.cc (NDArray::min, NDArray::max, min, max): | |
4262 New functions. | |
4263 * dNDArray.h (NDArray::min, NDArray::max, min, max): Provide decls. | |
4264 | |
4265 * CNDArray.cc (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
4266 New functions. | |
4267 * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
4268 Provide decls. | |
4269 | |
4842 | 4270 2004-03-17 David Hoover <jazzdaq@yahoo.com> |
4271 | |
4272 * DASPK.cc (DASPK::do_integrate): Always add n*n elements to the | |
4273 work vector, not just when using a numerical Jacobian. | |
4274 | |
4834 | 4275 2004-03-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4276 | |
4835 | 4277 * so-array.cc (SND_CMP_OP, NDS_CMP_OP, NDND_CMP_OP): |
4278 Omit empty result args. | |
4279 | |
4834 | 4280 * Array.cc (Array<T>::Array (const Array<T>&, const dim_vector&)): |
4281 Move here from Array.h, check that size of array arg is not | |
4282 smaller than the size defined by the new dimensions. | |
4283 | |
4832 | 4284 2004-03-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4285 | |
4286 * Array.cc (Array<T>::index2): Allow result to be N-d if indexing | |
4287 a scalar or vector with an N-d array. | |
4288 | |
4826 | 4289 2004-03-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
4290 | |
4828 | 4291 * Array.cc (Array<T>::index2): If scalar or vector is indexed by |
4292 matrix, return object that is the same size as the index. | |
4293 | |
4826 | 4294 * mx-op-defs.h (NDND_CMP_OP, MM_CMP_OP): Require dimensions to agree. |
4295 Eliminate MT_RESULT args. Return value is always size of args. | |
4296 (MS_CMP_OP, SM_CMP_OP, NDS_CMP_OP, SND_CMP_OP): | |
4297 Eliminate EMPTY_RESULT arg. | |
4298 Return value is always size of matrix or N-d array arg. | |
4299 (TBM, FBM, NBM): Delete unused macros. | |
4300 | |
4821 | 4301 2004-03-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
4302 | |
4303 * Array.cc (Array<T>::maybe_delete_elements): Return immediately | |
4304 if all LHS dimensions are zero. For one index case, freeze and | |
4305 sort idx_vec before checking length, and do nothing if | |
4306 num_to_delete is zero. | |
4822 | 4307 (Array<T>::maybe_delete_elements_2): Omit Fortran-indexing warning. |
4821 | 4308 |
4816 | 4309 2004-03-04 David Bateman <dbateman@free.fr> |
4310 | |
4311 * dNDArray.cc (NDArray::ifourier): Arg is int, not const int. | |
4312 * CNDArray.cc (ComplexNDArray::ifourier): Likewise. | |
4313 | |
4811 | 4314 2004-03-03 Hans Ekkehard Plesser <hans.ekkehard.plesser@nlh.no> |
4315 | |
4316 * base-lu.cc (base_lu<>::L): Check bounds before setting diagonal | |
4317 element. | |
4318 | |
4319 2004-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4320 | |
4321 * Range.h (Range::Range): Add cache to member initialization list. | |
4322 (Range::clear_cache): New private function. | |
4323 | |
4324 * Range.h (Range::set_base, Range::set_limit, Range::set_inc): | |
4325 Use clear cache. Don't do anything if range does not change. | |
4326 * Range.cc (Range::sort): Likewise. | |
4327 | |
4810 | 4328 2004-03-02 Paul Kienzle <pkienzle@users.sf.net> |
4329 | |
4330 * Range.cc (Range::matrix_value): Cache result. | |
4331 (Range::sort): Clear cache. | |
4332 * Range.h (Range::cache): New data member. | |
4333 (Range::set_base, Range::set_limit, Range::set_inc): Clear cache. | |
4334 (Range::print_range): Delete. | |
4808 | 4335 |
4336 2004-03-02 David Bateman <dbateman@free.fr> | |
4337 | |
4338 * oct-fftw.cc: Only two versions of plan, and avoid endless | |
4339 changes between them. Faster for small fft's. | |
4340 (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): | |
4341 New member variables. | |
4342 (octave_fftw_planner::ialign, octave_fftw_planner::oalign, | |
4343 octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. | |
4344 Change all uses. | |
4345 (CHECK_SIMD_ALIGNMENT): New macro. | |
4346 (octave_fftw_planner::create_plan): Use it. | |
4347 | |
4806 | 4348 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> |
4349 | |
4350 * Array.cc (Array<T>::insertN): Eliminate N-d indexing. | |
4351 | |
4352 * mx-inlines.cc (MX_ND_CAT): Delete macro. | |
4353 | |
4354 * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. | |
4355 * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. | |
4356 * chNDArray.cc (charNDArray<T>::cat): Ditto. | |
4357 * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. | |
4358 | |
4359 * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. | |
4360 * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. | |
4361 | |
4800 | 4362 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4363 | |
4802 | 4364 * oct-rl-edit.c (octave_rl_set_startup_hook, |
4365 octave_rl_get_startup_hook, octave_rl_set_event_hook, | |
4366 octave_rl_get_event_hook): Omit casts. | |
4367 * oct-rl-edit.h (rl_startup_hook_fcn_ptr, rl_event_hook_fcn_ptr): | |
4368 Return value for function pointer typedef is now int. | |
4369 * cmd-edit.h (command_editor::startup_hook_fcn, | |
4370 command_editor::event_hook_fcn): Likewise. | |
4371 * cmd-hist.cc, cmd-hist.h (command_history::goto_mark, | |
4372 command_history::do_goto_mark, gnu_history::do_goto_mark): | |
4373 Return type is now int. Return 0. | |
4374 | |
4800 | 4375 * EIG.cc (EIG::init, EIG::symmetric_init): |
4376 Query Lapack for workspace size. | |
4377 | |
4796 | 4378 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4379 | |
4380 * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): | |
4381 Fix thinko in extending dimensions. | |
4382 | |
4791 | 4383 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
4384 | |
4385 * Range.cc (Range::matrix_value, Range::min, Range::max): | |
4386 Don't compute values beyond the limits of the range. | |
4387 (operator << (std::ostream&, const Range&)): Likewise. | |
4388 | |
4786 | 4389 2004-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4390 | |
4788 | 4391 * oct-fftw.cc (octave_fftw_planner::create_plan): |
4392 Cast IN and OUT args to ptrdiff_t instead of long before masking. | |
4393 From Paul Kienzle <pkienzle@users.sf.net>. | |
4394 | |
4786 | 4395 * Array.cc (Array<T>::insertN (const Array<T>&, int, int)): |
4396 Rename from Array<T>::insert. | |
4397 (Array<T>::insert2 (const Array<T>&, int, int)): | |
4398 Reinstate old Array<T>::insert function under this name. | |
4399 (Array<T>::insert (const Array<T>&, int, int)): | |
4400 New function. Dispatch to insert2 or insertN as appropriate. | |
4401 | |
4785 | 4402 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
4403 | |
4404 * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): | |
4405 Sprinkle with OCTAVE_QUIT. | |
4406 | |
5095 | 4407 2004-02-16 David Bateman <dbateman@free.fr> |
4773 | 4408 |
4409 * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): | |
4410 Add support for FFTW 3.x. Include the ability to | |
4411 use the real to complex transform for fft's of real matrices | |
4412 (octave_fftw_planner::create_plan2d): Delete. | |
4413 (octave_fftw::fft2d): Delete. | |
4414 (convert_packcomplex_1d, convert_packcomplex_Nd): | |
4415 New static functions. | |
4416 * oct-fftw.h: Update decls. | |
4417 | |
4418 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
4419 Matrix::fourier2d, Matrix::ifourier2d): FFT's use real to complex | |
4420 transforms. 1D FFT of a matrix done as single call rather than | |
4421 loop. Update for FFTW 3.x | |
4422 * CMatrix.cc (ComplexMatrix::fourier, ComplexMatrix::ifourier, | |
4423 ComplexMatrix::fourier2d, ComplexMatrix::ifourier2d): 1D fft of a | |
4424 matrix done as single call rather than loop. Update for FFTW 3.x. | |
4425 | |
4426 * dNDArray.cc (NDArray::fourier, NDArray::ifourier, | |
4427 NDArray::fourierNd, NDArray::ifouriourNd): New fourier transform | |
4428 functions for Nd arrays. | |
4429 * dNArray.h Provide decls. | |
4430 * CNDArray.cc (ComplexNDArray::fourier, ComplexNDArray::ifourier, | |
4431 ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New | |
4432 fourier transform functions for complex Nd arrays. | |
4433 * CNArray.h: Provide decls. | |
4434 | |
4765 | 4435 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> |
4436 | |
4437 * Array.cc (Array<T>::insert (const Array<T>&, int, int)): | |
4438 Make it work for N-d arrays. | |
4439 | |
4440 * ArrayN.h (ArrayN<T>::insert (const ArrayN<T>& a, int, int)): | |
4441 New function. | |
4442 | |
4443 * CNDArray.cc (ComplexNDArray::insert (const NDArray&, int, int), | |
4444 ComplexNDArray::insert (const ComplexNDArray&, int, int)): | |
4445 New functions. | |
4446 * CNDArray.h: Provide decls. | |
4447 | |
4759 | 4448 2004-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4449 | |
4760 | 4450 * Makefile.in (LINK_DEPS): Always define. |
4451 | |
4759 | 4452 * Array.cc (Array<T>::squeeze): Always return an array with at |
4453 least two dimensions. | |
4454 | |
4758 | 4455 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
4456 | |
4457 * mx-inlines.cc (MX_ND_CAT): New macro. | |
4458 * dNDArray.cc (NDArray::cat): New function. | |
4459 * dNDArray.h: Provide decls. | |
4460 * CNDArray.cc (complexNDArray::cat): New function. | |
4461 * CNDArray.h: Provide decls. | |
4462 * chNDArray.cc (charNDArray::cat): New function. | |
4463 * chNDArray.h: Provide decls. | |
4464 | |
4756 | 4465 2004-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
4466 | |
4467 * Array.cc (maybe_delete_elements_2): Allow X(n) = [] for 2-d X. | |
4468 (Array<T>assign2): Also call maybe_delete_elements for single | |
4469 index when rows and columns or LHS are both greater than 1. | |
4470 | |
4755 | 4471 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
4472 | |
4473 * Array.cc (Array<T>::maybe_delete_elements): | |
4474 Check for index out of bounds. Handle one index. | |
4475 | |
4476 * Array.cc (Array<T>::indexN): Use dim_vector (0, 0) instead of | |
4477 dim_vector (0) to create empty return vector. | |
4478 | |
4749 | 4479 2004-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
4480 | |
4481 * Array.cc (Array<T>::assignN): Don't crash if trying to resize a | |
4482 non-empty LHS when the number of lhs dimensions is less than the | |
4483 number of indices. Detect error if attempting to resize non-empty | |
4484 LHS with colon indices. | |
4485 | |
4745 | 4486 2004-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
4487 | |
4747 | 4488 * Array.cc (Array<T>::resize_and_fill): Don't bother to assign any |
4489 values unless the length of the new array is greater than 0. | |
4490 (Array<T>::resize_no_fill): Likewise. | |
4491 | |
4492 * Array-util.cc (index_in_bounds): Also return false if ra_idx(i) | |
4493 is equal to dimensions(i). | |
4494 | |
4495 * Array-util.h, Array-util.cc (equal_arrays, any_zero_len, | |
4496 get_zero_len_size, number_of_elements): | |
4497 Delete unused functions. | |
4498 | |
4499 * Array-util.cc (get_ra_idx): Use dim_vector::numel instead of | |
4500 number_of_elements function. | |
4501 * Array.cc (Array<T>::indexN): Likewise. | |
4502 | |
4503 * Array.cc (Array<T>::indexN): Use dim_vector::operator == instead | |
4504 of equal_arrays function. | |
4505 (Array<T>::index, Array<T>::indexN, Array<T>::assignN) Use | |
4506 dim_vector::any_zero instead of any_zero_len function. | |
4507 | |
4508 * Array.cc (Array<T>::assignN): Eliminate special case for empty index. | |
4509 Don't skip reshaping and resizing if RHS is empty. | |
4510 | |
4746 | 4511 * Array.cc (Array<T>::assignN): Simplify loop for array assignment. |
4512 Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. | |
4747 | 4513 Delete unused variables is_colon and is_colon_equiv. |
4746 | 4514 Correctly resize for expressions like x(:,:,2) = ones(3,3) when |
4515 LHS is not yet defined. | |
4745 | 4516 Error for resizing if number of indices is less than number of LHS |
4517 dimensions. | |
4518 | |
4746 | 4519 * Array.cc (Array<T>::maybe_delete_elements): Maybe warn about |
4520 Fortran-style indexing. | |
4521 | |
4743 | 4522 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
4523 | |
4524 * Array.cc (Array<T>::assignN): Simplify. | |
4525 Allow assignments to succeed if number if indices is less than the | |
4526 number of RHS dimensions. | |
4527 | |
4738 | 4528 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
4529 | |
4741 | 4530 * Array.cc (Array<T>::maybe_delete_elements): Reshape LHS |
4531 when number of indices is less than number of dimensions. | |
4532 | |
4533 * Array.cc (Array<T>::assignN, Array<T>::maybe_delete_elements): | |
4534 Remove unsued variable lhs_inc. | |
4535 | |
4740 | 4536 * Array.cc (Array<T>::maybe_delete_elements): Declare idx_is_colon |
4537 and idx_is_colon_equiv Array<int> instead of dim_vector. | |
4538 | |
4539 * Array.cc (Array<T>::assignN): Compute new dims in a cleaner way. | |
4540 | |
4738 | 4541 * Array.cc (Array<T>::index): Check for frozen_lengths.length () |
4542 == n_dims before checking to see if all indices are colon_equiv. | |
4543 | |
4736 | 4544 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
4545 | |
4546 * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for | |
4547 deleting elements. | |
4737 | 4548 (Array<T>::index): Remove trailing singletons in ra_idx, but leave |
4549 at least ndims elements. | |
4736 | 4550 |
4735 | 4551 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
4552 | |
4553 * Array.cc (Array<T>::assignN): Accept assignment of a vector | |
4554 oriented differently from the index. | |
4555 | |
4556 * dim-vector.h (dim_vector::squeeze): Return value always has at | |
4557 least two dimensions. | |
4558 | |
4733 | 4559 2004-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
4560 | |
4735 | 4561 * dim-vector.h (dim_vector::squeeze): New function. |
4562 (Array<T>::assignN): Use it instead of chop_trailing_singltons for | |
4563 deciding whether the assignment conforms. | |
4564 | |
4733 | 4565 * Array.cc (Array<T>::assignN): Simplify dimension check by |
4566 comparing rhs_dims and frozen_len sans trailing singletons. | |
4567 | |
4732 | 4568 2004-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
4569 | |
4570 * idx-vector.cc (tree_to_mat_idx): New arg, conversion_error. | |
4571 Call error handler and return conversion_error == true if arg is | |
4572 not integer. | |
4573 (IDX_VEC_REP::idx_vector_rep): Exit early if conversion_error. | |
4574 | |
4730 | 4575 2004-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
4576 | |
4577 * boolNDArray.h (boolNDArray::boolNDArray): Declare dim_vector | |
4578 reference arg const. | |
4579 | |
4580 2004-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4581 | |
4582 * Array-flags.cc: Include Array-flags.h, not Array.h. Doh. | |
4583 | |
4729 | 4584 2004-01-30 Jakub Bogusz <qboosh@pld-linux.org> |
4585 | |
4586 * Array-flags.h (liboctave_wfi_flag, liboctave_wrore_flag): | |
4587 Now bool, to match definition in Array-flags.cc. | |
4588 | |
4725 | 4589 2004-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4590 | |
4726 | 4591 * file-ops.cc: Include <vector> instead of <memory> for new |
4592 definition of OCTAVE_LOCAL_BUFFER. | |
4593 | |
4725 | 4594 * EIG.cc, EIG.h (EIG::init, EIG::symmetric_init, EIG::hermitian_init): |
4595 New arg, calc_eigenvectors. | |
4596 * EIG.h (EIG:EIG): New optional arg, calc_eigenvectors. | |
4597 Based on patch from David Bateman <dbateman@free.fr>. | |
4598 | |
4716 | 4599 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
4600 | |
4601 * Array.cc (Array<T>::assign2, Array<T>::assignN): | |
4602 For X(I) = RHS, don't restrict I to fewer elements than X. | |
4603 | |
4604 * Array.cc (Array<T>::assign2): Simplify indexing for X(I) = RHS case. | |
4605 | |
4711 | 4606 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
4607 | |
4714 | 4608 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): |
4609 Simplify calculation of number of elements in retval. | |
4610 | |
4711 | 4611 * Array.cc (Array<T>::assignN): Eliminate unnecessray code for |
4612 filling when RHS is scalar and dimension lengths agree. | |
4613 | |
4710 | 4614 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
4615 | |
4713 | 4616 * Makefile.in (distclean): Remove mx-ops.h, $(MX_OP_INC), |
4617 $(VX_OP_INC), $(MX_OP_SRC), $(VX_OP_SRC), and $(OPTS_INC). | |
4710 | 4618 |
4707 | 4619 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
4620 | |
4709 | 4621 * Array.cc (Array<T>::resize_and_fill): Correctly copy old elements. |
4622 (Array<T>::assign2): Check for RHS dimensions larger than 2. | |
4707 | 4623 |
4702 | 4624 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> |
4625 | |
4703 | 4626 * Array.h (Array<T>::chop_trailing_singletons): New function. |
4627 * Array.cc (Array<T>::assignN): Use it on LHS. | |
4628 | |
4629 * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. | |
4702 | 4630 Retrieve scalar element by passin 0 instead of an index array. |
4703 | 4631 Check for singleton dimensions where RHS is matrix or higher dimension. |
4632 Make sure index is in bounds. | |
4702 | 4633 |
4698 | 4634 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
4635 | |
4636 * lo-ieee.cc (octave_ieee_init): Ensure that octave_Inf, | |
4637 octave_NaN, and octav_NA values are always initialized. Check | |
4638 floating point format, not HAVE_ISINF, HAVE_FINITE, or HAVE_ISNAN | |
4639 to decide whether to do IEEE initialization. | |
4640 | |
4687 | 4641 2004-01-06 David Bateman <dbateman@free.fr> |
4642 | |
4643 * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, | |
4644 ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, | |
4645 ComplexNDArray::too_large_for_float): New functions | |
4646 | |
4647 * CNDArray.cc (operator <<, operator >>): New IO operators. | |
4648 * CNDArray.h: Provide decls. | |
4649 * dNDArray.cc (operator <<, operator >>): New IO operators. | |
4650 * dNDArray.h: Provide decls. | |
4651 | |
4673 | 4652 2003-12-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4653 | |
4674 | 4654 * mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since |
4655 they are already defined in boolNDArray.cc. | |
4656 | |
4673 | 4657 * Array-util.cc (get_zero_len_size): Delete. |
4658 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
4659 Handle zero-length result dimensions the same as empty original | |
4660 indices. | |
4661 | |
4662 2003-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4663 | |
4664 * dim-vector.h (dim_vector::chop_trailing_singleton_dims, | |
4665 dim_vector::dim_vector_rep::chop_trailing_singleton_dims): | |
4666 New functions. | |
4667 * Array.cc (ArrayN<T>::indexN): Use it. | |
4668 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): Likewise. | |
4669 | |
4669 | 4670 2003-11-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
4671 | |
4672 * boolNDArray.cc: Define BOOL ops. Define mixed CMP ops. | |
4673 * boolNDArray.h: Declare BOOL ops. Declare mixed CMP ops. | |
4674 | |
4675 2003-11-25 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4676 | |
4677 * mk-ops.awk: Also emit #include "Array-util.h". | |
4678 | |
4679 * mx-ops: Add bool, boolMatrix, and boolNDarray types. | |
4680 Add bnda x bnda, b x bnda, and bnda x b ops. | |
4681 | |
4682 * MArray-misc.cc: Delete. | |
4683 * Makefile.in (MATRIX_SRC): Remove it from the list. | |
4684 | |
4685 * Array-util.h, Array-util.cc (gripe_nonconformant): Move here from | |
4686 MArray.h, MArray2.h, MArrayN.h, and MArray-misc.cc. | |
4687 | |
4655 | 4688 2003-11-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4689 | |
4663 | 4690 * dbleQR.cc (QR::init): Use separate pwork pointers. |
4691 * CmplxQR.cc (ComplexQR::init): Likewise. | |
4692 | |
4693 * oct-group.cc (octave_group::getgrnam): Pass correct args to | |
4694 two-arg getgrnam version. | |
4695 | |
4657 | 4696 * Array.cc (assignN): Allow single indexing to work. |
4661 | 4697 (Array<T>::range_error (const char*, const Array<int>&)): |
4698 Report index values. | |
4699 | |
4700 * Array.cc (Array<T>::index): Delete unused arg names. | |
4662 | 4701 * ODESSA.cc (odessa_j): Likewise. |
4702 * DASRT.cc (ddasrt_f, ddasrt_g): Likewise. | |
4703 * DASPK.cc (ddaspk_psol): Likewise. | |
4704 * lo-mappers.cc (imag): Likewise. | |
4663 | 4705 * Array-util.cc (get_zero_len_size): Likewise. |
4706 * kpse.cc (path_search, path_find_first_of): Likewise. | |
4707 * cmd-edit.cc (do_generate_filename_completions): Likewise. | |
4656 | 4708 |
4655 | 4709 * dim-vector.h (dim_vector::all_ones): New function. |
4710 | |
4646 | 4711 2003-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4712 | |
4653 | 4713 * idx-vector.h (idx_vector::orig_empty): Check orig_dims for |
4714 zeros, not orig_rows or orig_columns. | |
4715 (idx_vector::idx_vector_rep::orig_rows): Define using orig_dims. | |
4716 (idx_vector::idx_vector_rep::orig_columns): Likewise. | |
4717 | |
4718 * idx-vector.cc (idx_vector::idx_vector_rep::orig_nr, | |
4719 (idx_vector::idx_vector_rep::orig_nc): Delete. | |
4720 | |
4721 * idx-vector.cc (idx_vector::idx_vector_rep): | |
4722 Use initialization lists for constructors. | |
4723 | |
4651 | 4724 * Array.cc (Array<T>::indexN): Correctly handle single colon index. |
4725 Omit special case for ra_idx.capacity () == 1. | |
4726 Always allow single index for matrix args with optional warning. | |
4727 | |
4650 | 4728 * idx-vector.h, idx-vector.cc: Convert boolMatrix functions to use |
4729 boolNDArray. Likewise, convert Matrix functions to use NDArray. | |
4730 | |
4648 | 4731 * Array-so.cc: New file. Move instantiations here from so-array.h. |
4732 * Makefile.in (TI_SRC): Add it to the list. | |
4733 | |
4646 | 4734 * MArray-defs.h (DO_VS_OP2, DO_VV_OP2): Accept args for element |
4735 type and the names of the left and right operands. Change all uses. | |
4736 | |
4737 * so-array.cc, so-array.h: New files. Move streamoff_array here | |
4738 from src/ov-streamoff.h and src/ov-streamoff.cc. | |
4739 | |
4645 | 4740 2003-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
4741 | |
4742 * MArrayN.cc (operator -=, operator +=): Check dimensions, not | |
4743 just length. | |
4744 | |
4745 * Array2.h, Array3.h, DiagArray2.h, DiagArray2.cc, MDiagArray2.h, | |
4746 ArrayN.h: Add this-> or Base:: qualifiers for references to | |
4747 non-dependent member functions and data as needed. | |
4748 | |
4749 * DiagArray2.h, DiagArray2.cc: Delete unused code. | |
4750 | |
4751 * Array2.h (Array2<T>::operator =): Don't copy dimensions here. | |
4752 * Array3.h (Array3<T>::operator =): Likewise. | |
4753 * DiagArray2.h (DiagArray2<T>::operator =): Likewise. | |
4754 Include Array.h, not Array2.h. | |
4755 | |
4634 | 4756 2003-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
4757 | |
4636 | 4758 * str-vec.cc (list_in_columns): Fix previous change. |
4759 | |
4635 | 4760 * dim-vector.h (dim_vector::num_ones): New function. |
4761 * Array.cc (maybe_delete_elements): Use it instead of | |
4762 num_ones (const Array<int>&). | |
4763 | |
4764 * Array.cc (assignN): Omit dubious check of singleton dimensions. | |
4765 | |
4634 | 4766 * dNDArray.cc (NDArray::all_elements_are_int_or_inf_or_nan, |
4767 NDArray::any_element_is_inf_or_nan, NDArray::too_large_for_float): | |
4768 New functions. | |
4769 * dNDArray.h: Provide decls. | |
4770 | |
4771 * dMatrix.h (Matrix::any_element_is_negative, | |
4772 Matrix::any_element_is_inf_or_nan, Matrix::too_large_for_float, | |
4773 Matrix::all_elements_are_int_or_inf_or_nan, Matrix::all_integers): | |
4774 Simplify. | |
4775 | |
4776 * dNDArray.cc (NDArray::abs): Make it work for N-d arrays. | |
4777 * CNDArray.cc (ComplexNDArray::abs): Likewise. | |
4778 | |
4779 * dNDArray.cc (real, imag): New functions. | |
4780 * dNDArray.h: Provide decls. | |
4781 | |
4630 | 4782 2003-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4783 | |
4784 * Makefile.in (TEMPLATE_SRC): Move MArrayN.cc here from MATRIX_SRC. | |
4785 | |
4625 | 4786 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
4787 | |
4788 * Array.h (Array<T>::resize (int, const T&)): Reinstate. | |
4789 * MArray.h (resize): Delete. | |
4790 * MArray2.h (resize): Delete. | |
4791 * DASRT.cc (DASRT::integrate): Use resize, not resize_and_fill. | |
4792 * ODESSA (ODESSA::integrate): Likewise. | |
4793 | |
4616 | 4794 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4795 | |
4796 * Makefile.in (dist): Depend on stamp-prereq. | |
4797 | |
4605 | 4798 2003-11-12 John Eaton <jwe@bevo.che.wisc.edu> |
4799 | |
4800 * mach-info.c (oct_mach_info::init_float_format) [CRAY]: | |
4801 Kluge to make it work. | |
4604 | 4802 |
4803 * lo-ieee.cc (octave_ieee_init): Set octave_Inf, octave_NaN, and | |
4804 octave_NA to DBL_MAX if native float format is vaxd, vaxg, or cray. | |
4805 | |
4806 * cmd-edit.cc (gnu_readline::do_generate_filename_completions, | |
4807 default_command_editor::do_generate_filename_completions, | |
4808 command_editor::generate_filename_completions): New functions. | |
4809 * cmd-edit.h: Provide decls. | |
4810 * oct-rl-edit.c (octave_rl_filename_completion_function): New | |
4811 function. | |
4812 * oct-rl-edit.h: Provide decl. | |
4813 | |
4593 | 4814 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4815 | |
4594 | 4816 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY_AND_ASSIGN, |
4817 INSTANTIATE_ARRAY): New macros. | |
4818 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
4819 Array-idx-vec.cc, Array-s.cc, Array-str.cc, ODESSA.cc: Use them. | |
4820 | |
4593 | 4821 * Array.h (Array<T>::ipermute): New function. |
4822 | |
4823 2003-11-11 Petter Risholm <risholm@stud.ntnu.no> | |
4824 | |
4825 * Array.cc (Array<T>::permute): New function. | |
4826 * Array.h: Provide decl. | |
4827 | |
4828 * Array-util.cc (calc_permutated_idx): New function. | |
4829 * Array-util.h: Provide decl. | |
4830 | |
4587 | 4831 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4832 | |
4592 | 4833 * Array.cc (Array<T>::index2): Return value has orientation of |
4834 indexed value if indexing a vector with a bool matrix. | |
4835 | |
4589 | 4836 * ArrayN.h (ArrayN<T>::get_size): Delete. |
4837 | |
4588 | 4838 * Array.cc, ArrayN.cc, dNDArray.cc, CNDArray.cc, boolNDArray.cc, |
4839 chNDArray.cc: Include Array-util.h instead of ArrayN-inline.h. | |
4840 | |
4841 * ArrayN-inline.h: Delete. | |
4842 * Array-util.h, Array-util.cc: New files, from ArrayN-inline.h. | |
4843 * Makefile.in: Fix the appropriate lists. | |
4844 | |
4587 | 4845 * Array.cc, Array.h, ArrayN.h, CMatrix.cc, CNDArray.h, |
4846 CRowVector.cc, CmplxQR.cc, CollocWt.h, DASPK.h, DASRT.h, DASSL.h, | |
4847 FEGrid.cc, LP.h, LSODE.h, MArrayN.h, ODE.h, ODES.h, ODESSA.cc, | |
4848 boolNDArray.h, chNDArray.h, dMatrix.cc, dNDArray.h, dRowVector.cc, | |
4849 dbleQR.cc, kpse.cc, oct-rl-hist.c, str-vec.cc, str-vec.h: | |
4850 Avoid -Wshadow warnings. | |
4851 | |
4852 2003-11-08 John Eaton <jwe@bevo.che.wisc.edu> | |
4585 | 4853 |
4854 * Array.h (Array<T>::nil_rep): Qualify return type with typename. | |
4855 | |
4856 * mk-ops.awk: Delete elements of bool_headers array individually. | |
4857 | |
4858 2003-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4859 | |
4860 * Array.cc (maybe_delete_elements): Rename arg idx to ra_idx. | |
4861 | |
4584 | 4862 2003-10-31 Petter Risholm <risholm@stud.ntnu.no> |
4863 | |
4864 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): New macro. | |
4865 | |
4866 * CNDArray.cc, CNDArray.h (ComplexNDArray::cumsum, | |
4867 ComplexNDArray::cumprod): Return ComplexNDArray. Handle N-d arrays. | |
4868 * dNDArray.cc, dNDArray.h (NDArray::cumsum, NDArray::cumprod): | |
4869 Return NDArray. Handle N-d arrays. | |
4870 | |
4575 | 4871 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
4872 | |
4583 | 4873 * LSODE.cc (LSODE::do_integrate): Avoid name conflict on systems |
4874 that upcase Fortran names by calling dlsode instead of lsode. | |
4875 | |
4876 * ODESSA.cc (ODESSA::do_integrate): Avoid name conflict on systems | |
4877 that upcase Fortran names by calling dodessa instead of odessa. | |
4878 | |
4577 | 4879 * file-ops.cc (file_ops::symlink): Cope with systems that expect |
4880 non-const args for symlink system call. | |
4881 (file_ops::readlink): Likewise, for readlink. | |
4882 | |
4575 | 4883 * DASRT.cc (DASRT::integrate): Fix typo in Fortran function name. |
4884 | |
4574 | 4885 2003-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4886 | |
4887 * mach-info.h (oct_mach_info): Prefix enum elements with flt_fmt_. | |
4888 Change all uses. | |
4889 | |
4569 | 4890 2003-10-29 Petter Risholm <risholm@stud.ntnu.no> |
4891 | |
4892 * dNDArray.cc (NDArray::cumprod, NDArray::cumsum, NDArray::prod, | |
4893 NDArray::sum, NDArray::sumsq, NDArray::abs): New functions. | |
4894 * dNDArray.h: Provide decls. | |
4895 * CNDArray.cc (ComplexNDArray::cumprod, ComplexNDArray::cumsum, | |
4896 ComplexNDArray::prod, ComplexNDArray::sum, ComplexNDArray::sumsq, | |
4897 ComplexNDArray::abs): New functions. | |
4898 * CNDArray.h: Provide decls. | |
4899 | |
4900 * mx-inlines.cc (MX_ND_REDUCTION): Rename from MX_ND_ANY_ALL. | |
4901 Generalize to handle other reduction operations. | |
4902 (MX_ND_REAL_OP_REDUCTION, MX_ND_COMPLEX_OP_REDUCTION, | |
4903 MX_ND_ALL_ANY_REDUCTION): New macros. | |
4904 | |
4565 | 4905 2003-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
4906 | |
4567 | 4907 * Array.cc (Array<T>::reshape): New function. |
4908 * Array.h: Provide decl. | |
4909 | |
4910 * dim-vector.h (dim_vector::numel): New function. | |
4911 | |
4565 | 4912 * dim-vector.h (dim_vector_rep::dim_vector_rep (int, const |
4913 dim_vector&)): Correctly handle case of n < dv->ndims. | |
4914 | |
4559 | 4915 2003-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
4916 | |
4917 * dim-vector.h (dim_vector::any_zero): New function. | |
4918 (dim_vector::str): New default arg, sep. | |
4919 | |
4920 * Array.h (Array<T>::numel): New function. | |
4921 | |
4556 | 4922 2003-10-27 Petter Risholm <risholm@stud.ntnu.no> |
4923 | |
4924 * mx-inlines.cc (MX_ND_ALL_EXPR, MX_ND_ANY_EXPR, | |
4925 MX_ND_ALL_EVAL, MX_ND_ANY_EVAL, MX_ND_ALL_ANY): New macros. | |
4926 * dNDArray.h (NDArray::all, NDArray::any): Return type now boolNDArray. | |
4927 * CNDArray.h (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
4928 * boolNDArray.h (boolNDArray::all, boolNDArray::any): Likewise. | |
4929 * chNDArray.h (charNDArray::all, charNDArray::any): Likewise. | |
4930 * dNDArray.cc (NDArray::all, NDArray::any): Make them work. | |
4931 * CNDArray.cc (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
4932 * boolNDArray.cc (boolNDArray::all, boolNDArray::any): Likewise. | |
4933 * chNDArray.cc (charNDArray::all, charNDArray::any): Likewise. | |
4934 | |
4552 | 4935 2003-10-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
4936 | |
4553 | 4937 * Array.cc (Array<T>::resize_and_fill): Allow number of dimensions |
4938 to change. From Petter Risholm <risholm@stud.ntnu.no>. | |
4939 | |
4552 | 4940 * oct-rand.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, |
4941 CmplxAEPBAL.cc CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
4942 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, | |
4943 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, ODESSA.cc, | |
4944 Quad.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
4945 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
4946 dbleSCHUR.cc, dbleSVD.cc, lo-specfun.cc: | |
4947 Use new F77 arg macros in declarations of external Fortran | |
4948 subroutines and for calling them. | |
4949 | |
4548 | 4950 2003-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
4951 | |
4952 * Array.cc (Array<T>::resize_no_fill (const dim_vector&)): | |
4953 Allow number of dimensions to change. | |
4954 (Array<T>::resize_no_fill (int, int)): Require ndims to be 0 or 2. | |
4955 (Array<T>::resize_and_fill (int, int, const T&)): Likewise. | |
4956 (Array<T>::resize_no_fill (int, int, int)): Require ndims to be 0 or 3. | |
4957 (Array<T>::resize_and_fill (int, int, int, const T&)): Likewise. | |
4958 (Array<T>::transpose): Require ndims to be 2. | |
4959 (Array<T>::index2): Likewise. | |
4960 (Array<T>::index (idx_vector&, idx_vector&, int, const T&)): Likewise. | |
4961 (Array<T>::maybe_delete_elements_2): Likewise. | |
4962 (Array<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Likewise. | |
4963 (Array<T>::index1): Use resize_and_fill. | |
4964 (MAYBE_RESIZE_ND_DIMS): Likewise. | |
4965 | |
4966 * ODESSA.cc (ODESSA::integrate): Use resize_and_fill for x_s_out. | |
4967 | |
4968 * MArray2.h (MArray2<T>::resize (int, int)): New function. | |
4969 (MArray2<T>::resize (int, int, const T&)): New function. | |
4970 | |
4971 * MArray.h (MArray<T>::resize (int)): New function. | |
4972 (MArray<T>::resize (int, const T&)): New function. | |
4973 | |
4974 * DASRT.cc (DASRT::integrate): Use resize_and_fill for jroot. | |
4975 | |
4976 * DASPK-opts.in: Use single-arg resize for initial condition | |
4977 heuristics. | |
4978 | |
4979 * dim-vector.h (class dim_vector): Now reference counted. | |
4980 (dim_vector_rep::elem): Use assert to check that index is in bounds. | |
4981 | |
4544 | 4982 2003-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4983 | |
4545 | 4984 * Array.cc (Array<T>::squeeze): Delete redundant retval decl. |
4985 | |
4544 | 4986 * mx-cdm-cm.cc, mx-cdm-cm.h, mx-cdm-cs.cc, mx-cdm-cs.h, |
4987 mx-cdm-dm.cc, mx-cdm-dm.h, mx-cdm-m.cc, mx-cdm-m.h, mx-cdm-s.cc, | |
4988 mx-cdm-s.h, mx-cm-cdm.cc, mx-cm-cdm.h, mx-cm-dm.cc, mx-cm-dm.h, | |
4989 mx-cm-m.cc, mx-cm-m.h, mx-cm-s.cc, mx-cm-s.h, mx-cs-cdm.cc, | |
4990 mx-cs-cdm.h, mx-cs-dm.cc, mx-cs-dm.h, mx-cs-m.cc, mx-cs-m.h, | |
4991 mx-dm-cdm.cc, mx-dm-cdm.h, mx-dm-cm.cc, mx-dm-cm.h, mx-dm-cs.cc, | |
4992 mx-dm-cs.h, mx-dm-m.cc, mx-dm-m.h, mx-dm-s.cc, mx-dm-s.h, | |
4993 mx-m-cdm.cc, mx-m-cdm.h, mx-m-cm.cc, mx-m-cm.h, mx-m-cs.cc, | |
4994 mx-m-cs.h, mx-m-dm.cc, mx-m-dm.h, mx-ops.h, mx-s-cdm.cc, | |
4995 mx-s-cdm.h, mx-s-cm.cc, mx-s-cm.h, mx-s-dm.cc, mx-s-dm.h, | |
4996 vx-ccv-cv.cc, vx-ccv-cv.h, vx-ccv-s.cc, vx-ccv-s.h, vx-crv-rv.cc, | |
4997 vx-crv-rv.h, vx-crv-s.cc, vx-crv-s.h, vx-cs-cv.cc, vx-cs-cv.h, | |
4998 vx-cs-rv.cc, vx-cs-rv.h, vx-cv-ccv.cc, vx-cv-ccv.h, vx-cv-cs.cc, | |
4999 vx-cv-cs.h, vx-rv-crv.cc, vx-rv-crv.h, vx-rv-cs.cc, vx-rv-cs.h, | |
5000 vx-s-ccv.cc, vx-s-ccv.h, vx-s-crv.cc, vx-s-crv.h: Delete. These | |
5001 files are now automatically generated. | |
5002 | |
5003 * Makefile.in ($(VX_OP_INC), $(VX_OP_SRC), $(MX_OP_INC), | |
5004 $(MX_OP_SRC)): Generate lists with new mk-ops.awk script. | |
5005 Add rules to generate these files and mx-ops.h. | |
5006 (stamp-prereq): Depend on these files. | |
5007 | |
5008 * mx-ops, vx-ops, mk-ops.awk: New files. | |
5009 * Makefile.in (DISTFILES): Add them to the list. | |
5010 | |
4543 | 5011 2003-10-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5012 | |
5013 * NDArray.cc (NDArray::NDArray (const boolNDArray), | |
5014 NDArray::NDArray (const charNDArray)): New constructors. | |
5015 (NDArray::operator !): New function. | |
5016 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
5017 NDND_CMP_OPS, NDND_BOOL_OPS. | |
5018 | |
5019 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const NDArray&), | |
5020 ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
5021 ComplexNDArray::ComplexNDArray (const charNDArray&)): | |
5022 New constructors. | |
5023 (ComplexNDArray::operator !): New function. | |
5024 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
5025 NDND_CMP_OPS, NDND_BOOL_OPS. | |
5026 | |
5027 * ArrayN.h (resize (const dim_vector&)): Fix typo. | |
5028 | |
5029 * boolNDArray.cc (boolNDArray::operator !): New function. | |
5030 Provide NDND_CMP_OPS. | |
5031 | |
5032 * MArrayN.cc (operator +=, operator -=): New functions. | |
5033 Provide product and quotient functions. | |
5034 | |
5035 * MArray-misc.cc (gripe_nonconformant (const char *, dim_vector&, | |
5036 dim_vector&)): New function. | |
5037 | |
5038 * dim-vector.h (dim_vector::str, dim_vector::all_zero, | |
5039 operator ==, operator !=): New functions. | |
5040 * ArrayN.cc (operator <<): Use dim_vector::str here. | |
5041 | |
5042 * Array.cc (Array<T>::resize_no_fill, Array<T>::resize_and_fill): | |
5043 No need to save old dimensions. | |
5044 | |
5045 * oct-rand.cc (MAKE_RAND_ND_ARRAY): New macro. | |
5046 (octave_rand::nd_array): New function. | |
5047 * oct-rand.h (octave_rand::nd_array): Provide decl. | |
5048 | |
5049 * mx-op-defs.h (NDCMP_OP_DECL, NDBOOL_OP_DECL, NDS_BIN_OP_DECLS, | |
5050 NDS_BIN_OP, NDS_BIN_OPS, NDS_CMP_OP_DECLS, NDS_CMP_OP, | |
5051 NDS_CMP_OPS, NDS_BOOL_OP_DECLS, NDS_BOOL_OP, NDS_BOOL_OPS, | |
5052 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_BIN_OP, SND_BIN_OPS, | |
5053 SND_CMP_OP_DECLS, SND_CMP_OP, SND_CMP_OPS, SND_BOOL_OP_DECLS, | |
5054 SND_BOOL_OP, SND_BOOL_OPS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
5055 NDND_BIN_OP, NDND_BIN_OPS, NDND_CMP_OP_DECLS, NDND_CMP_OP, | |
5056 NDND_CMP_OPS, NDND_BOOL_OP_DECLS, NDND_BOOL_OP, NDND_BOOL_OPS, | |
5057 NDND_OP_DECLS): New macros. | |
5058 * mx-cm-m.h, mx-cm-s.h, mx-cs-m.h, mx-m-cm.h, mx-m-cs.h, | |
5059 mx-s-cm.h, mx-cm-m.cc, mx-cm-s.cc, mx-cs-m.cc, mx-m-cm.cc, | |
5060 mx-m-cs.cc, mx-s-cm.cc: Use them. | |
5061 | |
5062 * mx-defs.h (class NDArray, class ComplexNDArray, class | |
5063 boolNDArray, class charNDArray): New forward decls. | |
5064 | |
4534 | 5065 2003-10-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5066 | |
5067 * Array.cc (assign2): No error (but don't do anything either) for | |
5068 expressions like x([],j) = scalar. | |
5069 | |
4532 | 5070 2003-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5071 | |
4533 | 5072 * Array.cc (assignN): Allow lhs(:) = scalar. |
5073 | |
4532 | 5074 * CNDArray.cc (ComplexNDArray::increment_index): New function. |
5075 * dNDArray.cc (NDArray::increment_index): Likewise. | |
5076 * boolNDArray.cc (boolNDArray::increment_index): Likewise. | |
5077 * chNDArray.cc (charNDArray::increment_index): Likewise. | |
5078 | |
5079 * dim-vector.h (rows, cols): Delete unused data members. | |
5080 | |
5081 * Array.cc (Array<T>::get_size): Fix thinko. | |
5082 | |
5083 2003-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5084 | |
5085 * Array.cc (Array<T>::squeeze): New function. | |
5086 * CNDArray.h (ComplexNDArray::squeeze): Likewise. | |
5087 * dNDArray.h (NDArray::squeeze): Likewise. | |
5088 * boolNDArray.h (boolNDArray::squeeze): Likewise. | |
5089 * chNDArray.h (charNDArray::squeeze): Likewise. | |
5090 | |
4530 | 5091 2003-10-06 Petter Risholm <risholm@stud.ntnu.no> |
5092 | |
5093 * Array.cc (ArrayN<T>::indexN): New definition. | |
5094 * Array.h (Array<T>::indexN): Provide decl. | |
5095 * Array.cc (ArrayN<T>::index (idx_vector&, int, const T&): | |
5096 Call indexN if more than 2 indices. | |
5097 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): | |
5098 Make it (mostly) work. | |
5099 * ArrayN-inline.h (number_of_elements, get_ra_idx, short_freeze): | |
5100 New functions. | |
5101 | |
4527 | 5102 2003-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5103 | |
5104 * cmd-edit.cc (do_readline): Pass eof to octave_fgetl. | |
5105 * lo-utils.cc (octave_fgets, octave_fgetl): New overloaded | |
5106 versions with eof arg. | |
5107 | |
4518 | 5108 2003-09-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5109 | |
5110 * Array.h (dimensions): Now public. | |
5111 template <class LT, class RT> | |
5112 (assign (Array<LT>&, const Array<RT>&, const LT&), | |
5113 assign1 (Array<LT>&, const Array<RT>&, const LT&), | |
5114 assign2 (Array<LT>&, const Array<RT>&, const LT&), | |
5115 assignN (Array<LT>&, const Array<RT>&, const LT&), | |
5116 resize_no_fill (int), | |
5117 resize_no_fill (int, int), | |
5118 resize_no_fill (int, int, int), | |
5119 resize_no_fill (const dim_vector&), | |
5120 resize_and_fill (int, const T&), | |
5121 resize_and_fill (int, int, const T&), | |
5122 resize_and_fill (int, int, int, const T&), | |
5123 resize_and_fill (const dim_vector&, const T&)): Now public. | |
5124 | |
5125 * Array.cc: Include <climits>. | |
5126 | |
4513 | 5127 2003-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5128 | |
4517 | 5129 * Array.cc: Merge Array-idx.h. |
5130 * Array-idx.h: Delete. | |
5131 | |
4514 | 5132 * chNDArray.h, chNDArray.cc, boolNDArray.h, boolNDArray.cc: New files. |
5133 | |
4513 | 5134 * Array.h, Array-idx.h, Array.cc: Fold all N-d functionality here. |
5135 Turn inheritance hierarchy upside down (2-d and 3-d arrays are now | |
5136 just special cases of the general purpose N-d Array object). | |
5137 | |
5138 * dim-vector.h: New file. Use dim_vector objects instead of | |
5139 ints or Array<int> objects to represent the size of Array | |
5140 objects. | |
5141 | |
5142 * MArray-defs.h (INSTANTIATE_MARRAYN_FRIENDS): New macro. | |
5143 | |
5144 * Array2-idx.h, Array3-idx.h, Array2.cc, Array3.cc: Delete. | |
5145 | |
5146 * mx-base.h: Include NDArray header files. | |
5147 | |
5148 * MArray-C.cc, MArray-d.cc: Also instantiate ArrayN objects. | |
5149 | |
5150 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
5151 Array-s.cc: Also instantiate ArrayN objects. | |
5152 Don't instantiate assign funcitons for Array2 objects. | |
5153 | |
5154 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Signal error with | |
5155 liboctave_error_handler, not cerr. | |
5156 * CMatrix.cc (ComplexMatrix::diag): Likewise. | |
5157 * dDiagMatrix.cc (DiagMatrix::diag): Likewise. | |
5158 * dMatrix.cc (Matrix::diag): Likewise. | |
5159 | |
5160 * Array-flags.cc, Array.cc, Array.h, Array2.h, Array3.h, ArrayN.h: | |
5161 Omit checks for HEAVYWEIGHT_INDEXING. | |
5162 | |
5163 2003-09-12 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5164 | |
5165 * mx-base.h: Include CNDarray.h. Include dNDArray.h, not NDArray.h. | |
5166 | |
5167 * CNDARray.h, CNDArray.cc: New files. | |
5168 * Makefile.in: Add them to the appropriate lists. | |
5169 | |
5170 * dNDArray.h: Rename from NDArray.h. | |
5171 * dNDArray.cc: Rename from NDArray.cc. | |
5172 * Makefile.in: Rename them here too. | |
5173 | |
4507 | 5174 2003-09-10 Petter Risholm <risholm@stud.ntnu.no> |
5175 | |
5176 * mx-base.h: Include NDArray.h, not ArrayN.h. | |
5177 | |
5178 * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. | |
5179 * Makefile.in: Add them to the appropriate lists. | |
5180 | |
5095 | 5181 2003-09-09 David Bateman <dbateman@free.fr> |
4506 | 5182 |
5183 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, | |
5184 biry): Always request scaled results from AMOS functions and | |
5185 perform reverse scaling on results if scaled result not requested | |
5186 by user. | |
5187 | |
5188 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5189 | |
5190 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
5191 | |
4505 | 5192 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5193 | |
5194 * Array-d.cc: Instantiate assign functions. | |
5195 | |
4504 | 5196 2003-09-09 Petter Risholm <risholm@stud.ntnu.no> |
5197 | |
5198 * ArrayN-idx.h (vector_equivalent, equal_arrays): New functions. | |
5199 (get_elt_idx): Index ra_idx correctly. | |
5200 | |
5201 * ArrayN-inline.h (index_in_bounds): Index is also condidered in | |
5202 bounds if it is exactly on the bound. | |
5203 | |
5204 * ArrayN.cc (ArrayN<T>::maybe_delete_dims): New function. | |
5205 * ArrayN.h: Provide decl. | |
5206 | |
5207 * ArrayN.h (ArrayN<T>::ArrayN<T> (const Matrix&)): New constructor. | |
5208 | |
5209 * idx-vector.h (idx_vector::orig_dims): New member variable. | |
5210 (idx_vector::idx_vector_rep::orig_dimensions): New function. | |
5211 (idx_vector::orig_dimensions): New function. | |
5212 | |
4497 | 5213 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5214 | |
5215 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
5216 | |
4496 | 5217 2003-09-04 Petter Risholm <risholm@stud.ntnu.no> |
5218 | |
5219 * ArrayN-idx.h (maybe_delete_elements): Implement function. | |
5220 (is_in, how_many_lgt, all_ones): New functions. | |
5221 | |
4493 | 5222 2003-09-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5223 | |
5224 * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. | |
5225 | |
5226 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> | |
5227 | |
5228 * ArrayN-inline.h: New file. | |
5229 (index_in_bounds, increment_index): Move here. | |
5230 * ArrayN.cc: From here. | |
5231 | |
5232 * ArrayN.h (maybe_delete_elements): New arg, resize_fill_value. | |
5233 * ArrayN-idx.h (assign): New function. | |
5234 | |
4490 | 5235 2003-08-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5236 | |
5237 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, airy, biry): | |
5238 Also zero imaginary part of result if real part of input value is | |
5239 zero. | |
5240 | |
4478 | 5241 2003-07-30 Heine Kolltveit <kolltvei@idi.ntnu.no> |
5242 | |
5243 * mx-base.h: Include ArrayN.h. | |
5244 | |
4476 | 5245 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> |
5246 | |
5247 * ArrayN.cc (operator <<): Corrected output. | |
5248 | |
4474 | 5249 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5250 | |
5251 * ArrayN.cc (increment_index): New arg, start_dimension. | |
5252 | |
5095 | 5253 2003-07-29 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4473 | 5254 |
5255 * ArrayN.cc (operator <<): Improve output readability. | |
5256 | |
4493 | 5257 2003-07-29 Petter Risholm <risholm@stud.ntnu.no> |
4473 | 5258 |
5259 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&, const T&)): | |
5260 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&)): | |
5261 Initialize old_len before changing size. | |
5262 | |
4472 | 5263 2003-07-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5264 | |
5265 * Makefile.in (install-lib): Use $(INSTALL), not | |
4473 | 5266 $(INSTALL_PROGRAM) for $(SHLLIB) files. |
4472 | 5267 |
4469 | 5268 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5269 | |
5270 * lo-mappers.cc (xmin, xmax): Handle NaN in a Matlab-compatible | |
5271 way. Handle NA in an R-compatible way. | |
5272 | |
5273 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Also check for lo_ieee_is_NA. | |
5274 (lo_ieee_is_NA): Don't call isnan unless HAVE_ISNAN is defined. | |
5275 | |
5276 * lo-mappers.h (octave_is_NA (const Complex&)): Provide decl. | |
5277 (octave_is_NaN_or_NA (const Complex&)): Likewise. | |
5278 | |
5279 * dMatrix.cc (Matrix::row_min, Matrix::row_max, | |
5280 Matrix::column_min, Matrix::column_max): Ignore NaNs. | |
5281 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_max, | |
5282 ComplexMatrix::column_min, ComplexMatrix::column_max): Likewise. | |
5283 | |
4461 | 5284 2003-07-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5285 | |
5286 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
5287 Pass true for resize_ok arg to freeze. | |
5288 * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
5289 Likewise. | |
5290 | |
5291 * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; | |
5292 resize_ok arg is now bool. | |
5293 * idx-vector.h (idx_vector::freeze): Likewise. | |
5294 | |
5295 * Array-flags.cc, Array-flags.h (liboctave_wrore_flag): | |
5296 Rename from liboctave_rre_flag. Now bool. | |
5297 (liboctave_wfi_flag): Now bool. | |
5298 | |
5299 * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. | |
5300 | |
5095 | 5301 2003-07-11 Russell Standish <R.Standish@unsw.edu.au> |
4459 | 5302 |
5303 * Array.h (resize_fill_value): Now a top-level template function. | |
5304 Accept object as argument. Change all uses. | |
5305 | |
4455 | 5306 2003-07-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5307 | |
5308 * Array-flags.cc, Array-flags.h (liboctave_pcv_flag): Delete. | |
5309 | |
5310 * Array2-idx.h (Array2<T>::index): Use liboctave_wfi_flag, not | |
5311 liboctave_dfi_flag. | |
5312 (assign): Likewise. For indexed assignments like X(I) = RHS with | |
5313 X undefined or empty, always create a row vector. | |
5314 | |
5315 * Array-flags.cc (liboctave_wfi_flag): Rename from liboctave_dfi_flag. | |
5316 * Array-flags.h (liboctave_wfi_flag): Ditto. | |
5317 | |
4437 | 5318 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5319 | |
5320 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
5321 Magic colon indexing always produces an object with one column. | |
5322 | |
5095 | 5323 2003-06-21 Paul Kienzle <pkienzle@users.sf.net> |
4433 | 5324 |
5325 * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. | |
5326 | |
5327 * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. | |
5328 | |
4431 | 5329 2003-06-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5330 | |
5331 * dMatrix.cc (any_element_is_negative): If new optional arg | |
5332 neg_zero is true, also return true for negative zero. | |
5333 | |
4429 | 5334 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5335 | |
5336 * DASSL.cc (DASSL::do_integrate): Set liw to 21 + n, not 20 + n. | |
5337 Handle step limit. | |
5338 * DASSL-opts.in: New option for step limit. | |
5339 | |
5095 | 5340 2003-06-16 Per Persson <persquare@mac.com> |
4429 | 5341 |
5342 * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. | |
5343 | |
4428 | 5344 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5345 | |
5346 * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. | |
5347 Store step limit in iwork(20), not iwork(18). | |
5348 | |
5095 | 5349 2003-05-16 Paul Kienzle <pkienzle@users.sf.net> |
4415 | 5350 |
5351 * oct-rand.cc: Use liboctave's clock layer instead of the system clock. | |
5352 | |
4412 | 5353 2003-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5354 | |
4413 | 5355 * Makefile.in: Handle DESTDIR. |
5356 | |
4412 | 5357 * kpse.cc (kpse_path_iterator::next): Skip consecutive colons here. |
5358 (kpse_path_iterator::set_end): Don't miss last element when not | |
5359 followed by a colon. | |
5360 | |
4409 | 5361 2003-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5362 | |
5363 * Array-idx.h (Array<T>::index): Fix off-by-one error. | |
5364 | |
5365 2003-05-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5366 | |
5367 * kpse.cc (kpse_absolute_p): Fix typo in translation. | |
5368 (find_first_of): Also do an absolute search on each | |
5369 name before looking in the path. | |
5370 | |
4407 | 5371 2003-05-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5372 | |
5373 * kpse.cc (dir_list_add): Ensure that directory ends with a | |
5374 directory separator. | |
5375 | |
4399 | 5376 2003-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5377 | |
5378 * pathsearch.cc: Include kpse.cc here. | |
5379 | |
5380 * kpse.cc: All functions are now static. Massive surgery to | |
5381 condense kpathsearch library to a single file of just the | |
5382 essentials for Octave and convert to using C++ strings (no more | |
5383 calls to malloc, very few calls to new, so there should be much | |
5384 less potential for introducing memory leaks now). | |
5385 | |
5386 * Makefile.in (EXTRAS): Move kpse.cc here from | |
5387 LIBOCT_PATHSEARCH_CXX_SOURCES. | |
5388 | |
5389 * kpse.h, kpse-config.h: Delete. | |
5390 * Makefile.in (INCLUDES): Delete them from the list. | |
5391 | |
4392 | 5392 2003-04-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
5393 | |
5394 * str-vec.cc (string_vector::append (const std::string&), | |
5395 string_vector::append (const string_vector&)): New methods. | |
5396 | |
4386 | 5397 2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5398 | |
4389 | 5399 * kpse.cc, kpse.h: Replace fn_type with std::string. |
5400 | |
4387 | 5401 * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. |
5402 | |
4386 | 5403 * kpse.cc (xclosedir): Don't define or declare for Windows. |
5404 (READABLE): Now a static function to avoid warnings from MinGW | |
5405 compiler. | |
5406 | |
4384 | 5407 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5408 | |
4385 | 5409 * kpse.cc: Move most functions from kpse-xfns.c here and make |
5410 static. Include most of kpse-xfns.h directly, removing | |
5411 unnecessary bits. | |
5412 | |
4384 | 5413 * dMatrix.cc (Matrix::pseudo_inverse): Now const. |
5414 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
5415 | |
4378 | 5416 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5417 | |
5418 * getopt.c, getopt1.c, getopt.h: Move here from kpathsea. | |
5419 * Makefile.in: Add them to the appropriates lists. | |
5420 | |
5421 * oct-getopt.c: Include "getopt.h", not <kpathsea/getopt.h>. | |
5422 | |
5423 * Makefile.in (liboctave.$(LIBEXT), liboctave.$(SHLEXT)): Adjust | |
5424 for new locations of kpathsea objects. | |
5425 Delete kpathsea targets. | |
5426 | |
5427 * pathsearch.cc (dir_path::set_program_name): Delete. | |
5428 | |
5429 * kpse.cc: New file. | |
5430 * Makefile.in (LIBOCT_PATHSEARCH_CXX_SOURCES): Add it to the list. | |
5431 | |
5432 * kpse.c: New file. | |
5433 * Makefile.in (LIBOCT_PATHSEARCH_C_SOURCES): Add it to the list. | |
5434 | |
5435 * kpse.h, kpse-config.h, kpse-xfns.h: New files. | |
5436 * Makefile.in (INCLUDES): Add them to the list. | |
5437 | |
5438 * oct-kpse.h: Delete. | |
5439 * Makefile.in (INCLUDES): Delete it from the list. | |
5440 | |
4374 | 5441 2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
5442 | |
5443 * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. | |
5444 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): | |
5445 Likewise. | |
5446 From Quentin H. Spencer <qspencer@ieee.org>. | |
5447 | |
4365 | 5448 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5449 | |
5450 * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h". | |
5451 | |
4349 | 5452 2003-02-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
5453 | |
4352 | 5454 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Handle systems with or |
5455 without placement delete. | |
5456 | |
4349 | 5457 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Don't lose -0 |
5458 imaginary parts. | |
5459 | |
5460 * lo-ieee.h (lo_ieee_signbit): New macro. | |
5461 | |
5095 | 5462 2003-02-18 David Bateman <dbateman@free.fr> |
4329 | 5463 |
5464 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
5465 Use Lapack instead of Linpack. | |
5315 | 5466 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
4329 | 5467 ComplexMatrix::solve): Likewise. |
5468 | |
5469 * dMatrix.cc (Matrix::determinant, Matrix::inverse): New arg, | |
5470 calc_cond. If 0, skip condition number calculation. | |
5471 * CMatrix.cc (ComplexMatrix::determinant, ComplexMatrix::inverse): | |
5472 Likewise. | |
5473 | |
5474 * CmplxLU.cc (ComplexLU::ComplexLU): Allow non-square matrices. | |
5475 * dbleLU.cc (LU::LU): Likewise. | |
5476 * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. | |
5477 | |
5478 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5479 | |
5480 * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: | |
5481 | |
4323 | 5482 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5483 | |
5484 * Array2-idx.h (Array2<T>::index): Fix thinko. | |
5485 Additional compatibility fix. | |
5486 | |
5487 2003-02-13 Arno Klaassen <arno@scito.com> | |
5488 | |
5489 * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
5490 ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: | |
5491 Sprinkle with Array<T>:: as necessary for gcc 3.4. | |
5492 | |
4322 | 5493 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
5494 | |
5495 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
5496 Compatibility fix. | |
5497 | |
4316 | 5498 2003-02-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5499 | |
5500 * CColVector.cc (ComplexColumnVector::extract_n): New function. | |
5501 * CRowVector.cc (ComplexRowVector::extract_n): Likewise. | |
5502 * CMatrix.cc (ComplexMatrix::extract_n): Likewise. | |
5503 * dColVector.cc (ColumnVector::extract_n): Likewise. | |
5504 * dRowVector.cc (RowVector::extract_n): Likewise. | |
5505 * dMatrix.cc (Matrix::extract_n): Likewise. | |
5506 | |
5507 * CColVector.cc (ComplexColumnVector::insert): Improve efficiency | |
5508 with make_unique and xelem. | |
5509 * CRowVector.cc (ComplexRowVector::insert): Likewise. | |
5510 * CMatrix.cc (ComplexMatrix::insert, ComplexMatrix::fill, | |
5511 ComplexMatrix::extract, ComplexMatrix::row, | |
5512 ComplexMatrix::column): Likewise. | |
5513 * dColVector.cc (ColumnVector::insert): Likewise. | |
5514 * dRowVector.cc (RowVector::insert): Likewise. | |
5515 * dMatrix.cc (Matrix::insert, Matrix::fill, Matrix::extract, | |
5516 Matrix::row, Matrix::column): Likewise. | |
5517 | |
4313 | 5518 2003-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5519 | |
5520 * lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN. | |
5521 | |
4309 | 5522 2003-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5523 | |
5524 * CMatrix.cc, dMatrix.cc: Move min and max functions here, from | |
5525 src/DLD-FUNCTIONS/minmax.cc, and make them extern. | |
5526 * CMatrix.h, dMatrix.h: Provide decls. | |
5527 | |
4307 | 5528 2003-01-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5529 | |
5530 * oct-rand.h, oct-rand.cc: New files. | |
5531 * Makefile.in: Add them to the appropriate lists. | |
5532 | |
4306 | 5533 2003-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5534 | |
5535 * Array2-idx.h (Array2<T>::index): Fix off-by-one error. | |
5536 | |
4299 | 5537 2003-01-16 Mumit Khan <khan@nanotech.wisc.edu> |
5538 | |
5539 * oct-syscalls.cc: Include signal.h. | |
5540 | |
4294 | 5541 2003-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5542 | |
5543 * oct-syscalls.cc (octave_syscalls::kill): New function. | |
5544 * oct-syscalls.h: Provide decl. | |
5545 | |
5546 | |
4293 | 5547 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5548 | |
5549 * dMatrix.cc (Matrix::read): Set size and return immediately if | |
5550 there is nothing to read. | |
5551 | |
4290 | 5552 2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
5553 | |
5554 * lo-cutils.c: Define _XOPEN_SOURCE. | |
5555 | |
4286 | 5556 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5557 | |
4288 | 5558 * getopt.h: Update to version from kpathsearch, so we will install |
5559 the version that we are using. | |
5560 | |
5561 * getopt.c, getopt1.c: Delete. | |
5562 (INCLUDES): Delete them from the list. We'll get these files from | |
5563 kpathsearch. | |
5564 | |
4286 | 5565 * Makefile.in (liboctave.$(LIBEXT)): Link directly to |
5566 ../kpathsea/STATIC/*.o. | |
5567 (liboctave.$(SHLEXT)): Link directly to ../kpathsea/SHARED/*.o. | |
5568 | |
4270 | 5569 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5570 | |
4282 | 5571 * dMatrix.cc (read_int, write_int): Avoid warnings about |
5572 unreachable code. | |
5573 | |
4279 | 5574 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete |
5575 to correspond to placement new operator. | |
5576 | |
4278 | 5577 * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. |
5578 (DET::value_will_underflow): Likewise. | |
5579 * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. | |
5580 (ComplexDET::value_will_underflow): Likewise. | |
5581 | |
4276 | 5582 * Makefile.in (distclean): Also remove stamp-prereq. |
5583 | |
4306 | 5584 * Array2-idx.h (Array2<T>::assign): If assignment conforms but the |
5585 RHS and index are empty matrices, don't do anything. | |
4270 | 5586 |
4242 | 5587 2002-12-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
5588 | |
5589 * pathsearch.cc (make_retval, free_c_array, make_c_names, | |
5590 delete_c_names): New helper functions. | |
5591 (dir_path::find_first_of): New function. | |
5592 (dir_path::find_all_first_of): Likewise. | |
5593 * pathsearch.h: Provide decls. | |
5594 | |
5595 * oct-kpse.c (octave_kpse_path_find_first_of): New function. | |
5596 (octave_kpse_all_path_find_first_of): Likewise. | |
5597 * oct-kpse.h: Provide decls. | |
5598 | |
4231 | 5599 2002-12-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5600 | |
5601 * ODESSA.cc (ODESSA::integrate): Handle maxord. | |
5602 * ODESSA-opts.in: Likewise. | |
5603 | |
5604 * LSODE.cc (ODESSA::integrate): Handle maxord. | |
5605 * LSODE-opts.in: Likewise. | |
5606 | |
4229 | 5607 2002-12-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5608 | |
4230 | 5609 * ODESSA.cc (ODESSA::ODESSA): Initialize "initialized" data member |
5610 in all constructors. | |
5611 | |
4229 | 5612 * Makefile.in (liboctave.$(SHLEXT)): Include $(LIBKPATHSEA) here. |
5613 (LINK_DEPS): Not here. | |
5614 | |
4219 | 5615 2002-12-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5616 | |
4220 | 5617 * str-vec.cc (string_vector::compare): New static member function. |
5618 * str-vec.h: Provide decl. | |
5619 (string_vector::sort): Use it. | |
5620 (str_vec_compare): Delete static function. | |
5621 | |
4219 | 5622 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Also declare and define |
5623 a placement operator new. | |
5624 | |
4209 | 5625 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5626 | |
4210 | 5627 * Matrix.h: Include mx-ops.h too. |
4209 | 5628 * mx-ops.h: New file. |
5629 | |
4192 | 5630 2002-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5631 | |
5632 * DASRT.cc, DASRT.h, Array.cc, ArrayN.h, Array.h, Array2.cc, | |
5633 Array2.h, Array3.cc, Array3.h, Bounds.cc, Bounds.h, CRowVector.h, | |
5634 CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, CMatrix.h, | |
5635 CRowVector.cc, CColVector.h, ChangeLog, CmplxAEPBAL.cc, | |
5636 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
5637 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
5638 CmplxQR.h, CmplxQRP.cc, ArrayN.cc, CmplxQRP.h, CmplxSCHUR.cc, | |
5639 CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, dMatrix.cc, | |
5640 CollocWt.h, EIG.h, DASSL.cc, FEGrid.h, DASSL.h, DiagArray2.cc, | |
5641 DiagArray2.h, EIG.cc, FEGrid.cc, LSODE.cc, LPsolve.cc, LPsolve.h, | |
5642 LSODE.h, LinConst.cc, LinConst.h, MArray.h, MArray.cc, MArray2.cc, | |
5643 MArray2.h, MDiagArray2.cc, MDiagArray2.h, Range.cc, NLConst.h, | |
5644 NLEqn.cc, Range.h, NLEqn.h, Quad.cc, dbleQR.h, Quad.h, base-lu.cc, | |
5645 base-lu.h, boolMatrix.cc, boolMatrix.h, dColVector.cc, | |
5646 dColVector.h, dDiagMatrix.cc, dDiagMatrix.h, dMatrix.h, | |
5647 dRowVector.cc, dRowVector.h, dbleAEPBAL.cc, dbleAEPBAL.h, | |
5648 dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, dbleDET.h, dbleHESS.cc, | |
5649 dbleHESS.h, dbleLU.cc, dbleLU.h, dbleQR.cc, dbleQRP.cc, dbleQRP.h, | |
5650 dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, | |
5651 idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, | |
5652 ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: | |
5653 Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of | |
5654 "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". | |
5655 | |
4184 | 5656 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5657 | |
5658 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_GLOBAL too. | |
5659 From Remy Bruno <remy.bruno@libertysurf.fr> | |
5660 | |
4180 | 5661 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5662 | |
5663 * lo-specfun.cc: Use F77_FUNC instead of F77_XFCN for calls to | |
5664 fortran code that should run fast enough that it is not worth all | |
5665 the setup costs of F77_XFCN. | |
5666 | |
5667 * Quad.cc (user_function): Surround body of function with | |
5668 BEGIN_INTERRUPT_WITH_EXCEPTIONS, END_INTERRUPT_WITH_EXCEPTIONS. | |
5669 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Likewise. | |
5670 * NLEqn.cc (hybrd1_fcn, hybrj1_fcn): Likewise. | |
5671 * LSODE.cc (lsode_f, lsode_j): Likewise. | |
5672 * DASSL.cc (ddassl_f, ddassl_j): Likewise. | |
5673 * DASRT.cc (ddasrt_f, ddasrt_j, ddasrt_g): Likewise. | |
5674 * DASPK.cc (ddaspk_f, ddaspk_psol, ddaspk_j): Likewise. | |
5675 | |
4164 | 5676 2002-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5677 | |
5678 * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead | |
5679 of ! defined (linux). | |
5680 | |
5095 | 5681 2002-11-09 Per Persson <persquare@mac.com> |
4162 | 5682 |
5683 * oct-shlib.cc (octave_dyld_shlib): New class. | |
5684 (make_shlib): Instantiate octave_dyld_shlib. | |
5685 | |
4152 | 5686 2002-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5687 | |
4153 | 5688 * CMatrix.cc, dMatrix.cc: Sprinkle with OCTAVE_QUIT. |
5689 | |
4152 | 5690 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Abort on error. |
5691 | |
5692 * Array.h: Include <cstddef> here. | |
5693 | |
4142 | 5694 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
5695 | |
4144 | 5696 * DASPK.cc (DASPK::do_integrate): Resize rwork and iwork before |
5697 using them. Accept inequality contraint option of 0. Assign | |
5698 pabs_tol and prel_tol before calling DASPK. Don't redeclare | |
5699 abs_tol and rel_tol. | |
5700 | |
4143 | 5701 * cmd-edit.h (command_editor::filename_completion_desired): New |
5702 static function. | |
5703 (command_editor::do_filename_completion_desired): New virtual function. | |
5704 * oct-rl-edit.c (octave_rl_filename_completion_desired): New function. | |
5705 * oct-rl-edit.h: Provide decl. | |
5706 | |
4142 | 5707 * Array2.cc (Array2<T>::get_size): #define MALLOC_OVERHEAD to |
5708 avoid OS X linker bug. | |
5709 * ArrayN.cc (ArrayN<T>::get_size): Likewise. | |
5710 | |
4139 | 5711 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
5712 | |
4141 | 5713 * ODESFunc.h (ODESFunc::ODES_fsub, ODESFunc::ODES_bsub, |
5714 ODESFunc::ODES_jsub): Reorder args for consistency with other | |
5715 solvers. | |
5716 * ODESSA.cc: Fix all callers. | |
5717 | |
4139 | 5718 * mx-inlines.cc (MX_BASE_REDUCTION_OP): Also return scalar |
5719 MT_RESULT if nr == 1 && nc == 0 && dim == -1 (i.e., | |
5720 sum(zeros(1,0)) returns 0, not [](1x0)). | |
5721 | |
4136 | 5722 2002-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5723 | |
5724 * Makefile.in (LINK_DEPS): Include $(FLIBS) here too. | |
5725 | |
4132 | 5726 2002-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5727 | |
4133 | 5728 * DASRT.cc (DASRT::integrate): Fix computation of lrw |
5729 (ddasrt_f): Combine loops. | |
5730 | |
4132 | 5731 * NLEqn.cc (NLEqn::solve): Return current estimate of solution |
5732 instead of empty vector if user termninates iteration. | |
5733 | |
4130 | 5734 2002-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5735 | |
5736 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
5737 octave_read_complex, octave_write_double, octave_write_complex): | |
5738 New functions. | |
5739 * CMatrix.cc (operator << (std::ostream&, const ComplexMatrix&)): | |
5740 Use octave_write_complex. | |
5741 (operator >> (std::istream&, const ComplexMatrix&)): | |
5742 Use octave_read_complex. | |
5743 * dMatrix.cc (operator << (std::ostream&, double)): | |
5744 Use octave_write_double. | |
5745 (operator >> (std::istream&, double)): Use octave_read_double. | |
5746 | |
4126 | 5747 2002-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5748 | |
5749 * oct-kpse.c (octave_kpse_clear_dir_cache): Delete. | |
5750 * oct-kpse.h: Delete decl. | |
5751 * pathsearch.cc (dir_path::init): Delete unnecessary call to | |
5752 ::octave_kpse_clear_dir_cache. | |
5753 | |
4123 | 5754 2002-10-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5755 | |
4124 | 5756 * lo-sstream.h: Undef HAVE_SSTREAM if using a version of g++ |
5757 earlier than 3.0. | |
5758 | |
4123 | 5759 * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. |
5760 (liboctave.$(SHLEXT)): Not here. | |
5761 | |
5095 | 5762 2002-10-17 Paul Kienzle <pkienzle@users.sf.net> |
4110 | 5763 |
5764 * oct-shlib.cc (octave_w32_shlib): New class to support Windows. | |
5765 | |
4108 | 5766 2002-10-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5767 | |
5768 * Makefile.in (install-lib): Don't bother with versions for | |
5769 $(SHLBIN) files. | |
5770 | |
5095 | 5771 2002-10-16 Paul Kienzle <pkienzle@users.sf.net> |
4105 | 5772 |
5773 * Makefile.in (LIB_DEPS): Include $(LIBS). | |
5774 | |
4102 | 5775 2002-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5776 | |
5777 * lo-cieee.c: Move everything but lo_ieee_init here. | |
5778 (lo_ieee_Inf_value, lo_ieee_NA_value, lo_ieee_NaN_value): | |
5779 New functions. | |
5780 | |
5781 * Makefile.in (install): No need to use cd to create links. | |
5782 (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. | |
5783 | |
5095 | 5784 2002-10-14 Paul Kienzle <pkienzle@users.sf.net> |
4102 | 5785 |
5786 * Makefile.in: Merge liboctave with liboct-readline and | |
5787 liboct-pathsearch. | |
5788 Use link dependencies for shared libs if INCLUDE_LINK_DEPS. | |
5789 (libraries): Depend on versioned library. | |
5790 (liboctave.$(SHLEXT), liboctave.$(SHLEXT_VER)): Reverse actions -- | |
5791 build unversioned library, symbolic link adds version info. | |
5792 (install, uninstall): Handle link and load forms of the library | |
5793 separately. | |
5794 | |
4101 | 5795 2002-10-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5796 | |
5797 * oct-time.cc: Use OCTAVE_USE_WINDOWS_API instead of __WIN32__ and | |
5798 __CYGWIN__. | |
5799 | |
5800 * file-ops.cc (file_ops::dir_sep_char, file_ops::dir_sep_str, | |
5801 file_ops::dir_sep_chars): New static functions to replace | |
5802 OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS. | |
5803 | |
5804 * oct-env.cc (octave_env::do_set_program_name): | |
5805 Use file_ops::dir_sep_chars instead of OCTAVE_DIR_SEP_CHARS. | |
5806 (octave_env::do_base_pathname): Likewise. | |
5807 (octave_env::do_make_absolute): Likewise. | |
5808 | |
5809 * oct-env.cc (octave_env::do_make_absolute): | |
5810 Use file_ops::dir_sep_str instead of OCTAVE_DIR_SEP_STR. | |
5811 (octave_env::do_get_home_directory): Likewise. | |
5812 | |
5813 * file-ops.cc (is_dir_sep): Use dir_sep_chars instead of embedding | |
5814 that information here too. | |
5815 (tilde_find_suffix, isolate_tilde_prefix, tilde_expand_word): | |
5816 Use file_ops::dir_sep_char instead of OCTAVE_DIR_SEP_CHAR. | |
5817 | |
5818 * file-ops.h: Use OCTAVE_HAVE_WINDOWS_FILESYSTEM and | |
5819 OCTAVE_HAVE_POSIX_FILESYSTEM instead of __WIN32__ and __CYGWIN__. | |
5820 | |
4097 | 5821 2002-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5822 | |
5823 * oct-env.h (octave_env::current_directory): Now mutable. | |
5824 (octave_env:do_getcwd): Now const. | |
5825 | |
5826 * file-ops.h, file-ops.cc (file_ops::is_dir_sep): New function. | |
5827 (OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS, | |
5828 OCTAVE_CURRENT_DIR_STR): New macros. | |
5829 * oct-env.cc (is_dir_sep): Delete. | |
5830 (octave_env::do_base_pathname): Look for OCTAVE_DIR_SEP_CHARS, not '/'. | |
5831 (octave_env::do_set_program_name): Likewise. | |
5832 (octave_env::do_polite_directory_format): Use file_ops::is_dir_sep | |
5833 instead of checking for '/'. | |
5834 (octave_env::pathname_backup): Likewise. | |
5835 (octave_env::do_absolute_pathname): Likewise. | |
5836 (octave_env::do_make_absolute): Likewise. | |
5837 If dot_path is empty, use getcwd to set current_dir. | |
5838 (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR | |
5839 instead of "/". | |
5840 | |
5095 | 5841 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 5842 |
5843 * lo-cutils.c: On non-Posix Windows systems, include winsock.h. | |
5844 | |
5095 | 5845 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 5846 |
5847 * oct-env.cc (octave_env::do_absolute_pathname): Recognize | |
5848 absolute path names under MinGW as well. | |
5849 | |
5850 2002-10-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5851 | |
5852 * oct-env.cc: Include <cctype> too. | |
5853 | |
4087 | 5854 2002-10-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5855 | |
5856 * oct-env.cc (octave_env::do_absolute_pathname): Handle Windows | |
5857 filenames. | |
5858 (octave_env::do_make_absolute): Check for absolute name with | |
5859 do_absolute_path. | |
4088 | 5860 (octave_env::do_chdir): Likewise. |
5861 (is_dir_sep): New function. | |
4087 | 5862 |
5095 | 5863 2002-10-03 Paul Kienzle <pkienzle@users.sf.net> |
4085 | 5864 |
4086 | 5865 * oct-time.cc (octave_time::stamp): Better resolution for Windows |
5866 systems. | |
4085 | 5867 |
4083 | 5868 2002-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5869 | |
5870 * dMatrix.cc (Matrix::read): Clean up error handling logic. | |
5871 | |
4080 | 5872 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5873 | |
4081 | 5874 * file-ops.cc (file_ops::mkdir): Handle one-arg mkdir here. |
5875 | |
4080 | 5876 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
5877 | |
5095 | 5878 2002-09-27 Per Persson <persquare@mac.com> |
4076 | 5879 |
5880 * oct-group.cc (octave_group::octave_group): Dont' forget to set | |
5881 gr_gid too. | |
5882 | |
4072 | 5883 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
5884 | |
4074 | 5885 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
5886 lo_ieee_* functions. | |
4072 | 5887 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074 | 5888 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
5889 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. | |
4072 | 5890 * lo-cieee.c: New file. |
4074 | 5891 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072 | 5892 * lo-ieee.h: Now all extern "C". |
4074 | 5893 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
5894 lo-mappers.cc and rename from xisnan, xfinite, xisinf. | |
5895 | |
4072 | 5896 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
5897 Now extern. | |
5898 | |
4066 | 5899 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
5900 | |
5901 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
5902 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
5903 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
5904 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
5905 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
5906 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
5907 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
5908 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
5909 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
5910 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
5911 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
5912 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
5913 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
5914 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
5915 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
5916 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
5917 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
5918 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
5919 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
5920 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
5921 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
5922 oct-alloc.cc: | |
5923 If __GNUG__, use pragma interface/implementation. Allow this to | |
5924 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. | |
5925 | |
5095 | 5926 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
4064 | 5927 |
4066 | 5928 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
5929 system readlink function is not available. | |
5930 | |
4065 | 5931 * lo-mappers.cc (xerf, xerfc): Delete. |
5932 * lo-mappers.h (xerf, xerfc): Delete decls. | |
5933 | |
4064 | 5934 * lo-mappers.cc: Remove unused #define M_PI. |
5935 * lo-specfun.cc: Add #define M_PI if needed. | |
5936 | |
4062 | 5937 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5938 | |
5939 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility | |
5940 that geteuid doesn't exist. | |
5941 | |
5942 * LP.h: Rename LP class to octave_LP. | |
5943 LPsolve.h: Change all uses. | |
5944 | |
5945 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove | |
5946 incorrect token-pasting op. | |
5947 | |
5948 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to | |
5949 define lstat. | |
5950 | |
4061 | 5951 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5952 | |
5953 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
5954 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
5955 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
5956 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
5957 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
5958 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
5959 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
5960 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
5961 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
5962 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
5963 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
5964 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
5965 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
5966 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
5967 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
5968 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
5969 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
5970 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
5971 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
5972 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
5973 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
5974 oct-alloc.cc: | |
5975 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ | |
5976 to decide whether to use the interface/implementation pragmas. | |
5977 | |
4058 | 5978 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5979 | |
5980 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. | |
5981 | |
4055 | 5982 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
5983 | |
5984 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use | |
5985 qualified names. | |
5986 | |
4051 | 5987 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5988 | |
4054 | 5989 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
5990 ArrayN.cc: Add typename where needed. | |
4053 | 5991 |
4051 | 5992 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
5993 strstream classes directly. | |
5994 * DASRT.cc: Likewise. | |
5995 * DASSL.cc: Likewise. | |
5996 * LSODE.cc: Likewise. | |
5997 * ODESSA.cc: Likewise. | |
5998 | |
5999 * cmd-hist.cc: Don't include <strstream>. | |
6000 * oct-shlib.cc: Likewise. | |
6001 | |
6002 * lo-sstream.h: New file. | |
6003 | |
4049 | 6004 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6005 | |
6006 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): | |
6007 New data members. | |
6008 (LSODE::sanity_checked): Delete unused data member. | |
6009 | |
6010 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, | |
6011 prel_tol, pinfo, piwork, prwork): New data members. | |
6012 * DASSL.h (DASSL): Likewise. | |
6013 | |
6014 * DASRT.h (DASRT::sanity_checked): Delete unused data member. | |
6015 | |
6016 * DASRT.cc (DASRT::integrate (double)): Better handling of | |
6017 initialization, changes in options, etc. | |
6018 * DASPK.cc (DASPK::do_integrate): Likewise. | |
6019 * DASSL.cc (DASSL::do_integrate): Likewise. | |
6020 * LSODE.cc (LSODE::do_integrate): Likewise. | |
6021 | |
4047 | 6022 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
6023 | |
4049 | 6024 * DAEFunc.h (DAEFunc::reset): New data member. |
6025 * DAERTFunc.h (DAERTFunc::reset): Likewise. | |
6026 | |
6027 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. | |
6028 (base_diff_eqn::clear_stop_time): Likewise. | |
6029 | |
4047 | 6030 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
6031 * DASPK.cc (DASPK::do_integrate (double)): Likewise. | |
6032 | |
5095 | 6033 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
4044 | 6034 |
6035 * DASPK-opts.in, DASPK.h: Move include to .in file. | |
6036 * DASRT-opts.in, DASRT.h: Likewise. | |
6037 * DASSL-opts.in, DASSL.h: Likewise. | |
6038 * LSODE-opts.in, LSODE.h: Likewise. | |
6039 * NLEqn-opts.in, NLEqn.h: Likewise. | |
6040 * ODESSA-opts.in, ODESSA.h: Likewise. | |
6041 | |
4038 | 6042 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6043 | |
4042 | 6044 * LSODE.cc (LSODE::error_message): Also return current T on |
6045 failures when that makes sense. | |
4043 | 6046 * DASSL.cc (DASSL::error_message): Likewise. |
6047 * DASRT.cc (DASRT::error_message): Likewise. | |
6048 * DASPK.cc (DASPK::error_message): Likewise. | |
6049 * ODESSA.cc (ODESSA:error_message): Likewise. | |
4042 | 6050 |
4038 | 6051 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
6052 $(LIBKPATHSEA) here. | |
6053 | |
4025 | 6054 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6055 | |
6056 * lo-ieee.cc (lo_ieee_is_NA): New function. | |
6057 (lo_ieee_is_NaN_or_NA): New function. | |
6058 (octave_NA): New global value. | |
6059 (octave_ieee_init): Initialize it. | |
6060 * lo-mappers.cc (octave_is_NA): New function. | |
6061 (octave_is_NaN_or_NA): New function. | |
6062 (xisnan): Return false if NaN looks like a missing value. | |
6063 (xisnan (const Complex&)): Use xisnan here. | |
6064 | |
4015 | 6065 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6066 | |
4017 | 6067 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
6068 ComplexMatrix::cumprod, ComplexMatrix::cumsum, | |
6069 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): | |
6070 Default value for dim is -1, not 0. | |
6071 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, | |
6072 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. | |
6073 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. | |
6074 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. | |
6075 | |
4015 | 6076 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
6077 New macros. | |
6078 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and | |
6079 MX_BASE_REDUCTION_OP. | |
6080 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. | |
6081 | |
4014 | 6082 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6083 | |
4015 | 6084 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
6085 Return boolMatrix, not Matrix. | |
6086 | |
6087 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. | |
6088 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. | |
6089 (Matrix::all): Replace guts with MX_ALL_OP. | |
6090 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. | |
6091 (ComplexMatrix::all): Replace guts with MX_ALL_OP. | |
6092 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. | |
6093 (boolMatrix::all): Replace guts with MX_ALL_OP. | |
6094 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. | |
6095 (charMatrix::all): Replace guts with MX_ALL_OP. | |
6096 | |
6097 * dMatrix.h (Matrix::any): New arg, dim. | |
6098 (Matrix::all): Likewise. | |
6099 * CMatrix.h (ComplexMatrix::any): Likewise. | |
6100 (ComplexMatrix::all): Likewise. | |
6101 * boolMatrix.h (boolMatrix::any): Likewise. | |
6102 (boolMatrix::all): Likewise. | |
6103 * chMatrix.h (charMatrix::any): Likewise. | |
6104 (charMatrix::all): Likewise. | |
6105 | |
4014 | 6106 * Makefile.in: Use $@-t instead of $@.t. |
6107 | |
4004 | 6108 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6109 | |
6110 * lo-specfun.cc (gammainc): New arg, err, for scalar version. | |
6111 Use it in matrix versions to avoid spewing multiple errors. | |
6112 Call xgammainc instead of dgamit. | |
6113 | |
3998 | 6114 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6115 | |
6116 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): | |
6117 Get rows and columns right in loop. | |
6118 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. | |
6119 | |
6120 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6121 | |
6122 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. | |
6123 * DASRT.cc (DASRT::integrate): Likewise. | |
6124 * DASSL.cc (DASSL::do_integrate): Likewise. | |
6125 | |
6126 * Quad.cc: Don't pass tolerances in constructors. | |
6127 | |
6128 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, | |
6129 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. | |
6130 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, | |
6131 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically | |
6132 from corresponding .in files. | |
6133 * LSODE.h, Quad.h: Replace options class definitions with included | |
6134 file. | |
6135 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to | |
6136 create OPTS_INC files from OPTS_INC_SRC files. | |
6137 (stamp-prereq): New target. | |
6138 (libraries): Depend on stamp-prereq. | |
6139 Include stamp-prereq along with $(MAKEDEPS). | |
6140 | |
3997 | 6141 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6142 | |
6143 * base-de.h (base_diff_eqn::istate): New data member. | |
6144 (base_diff_eqn::integration_state): New member function. | |
6145 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding | |
6146 data members and functions. | |
6147 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. | |
6148 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. | |
6149 | |
3990 | 6150 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6151 | |
3995 | 6152 * base-de.h (base_diff_eqn::stop_time, |
6153 base_diff_eqn::stop_time_set, base_diff_eqn::restart, | |
6154 base_diff_eqn::integration_error): New data members. | |
6155 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, | |
6156 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, | |
6157 base_diff_eqn::error_message): New member functions. | |
6158 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, | |
6159 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data | |
6160 members and functions. | |
6161 | |
3992 | 6162 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
6163 * DASRT.cc (DASRT::DASRT): Set ng here. | |
3993 | 6164 (DASRT::integrate): Don't forget to set nn. |
3992 | 6165 |
3991 | 6166 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
6167 * DASSL.cc (ddassl_j): Make it work. | |
6168 * DASPK.cc (ddaspk_j): Likewise. | |
6169 | |
3990 | 6170 * DAE.cc: Delete. |
6171 | |
6172 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE | |
6173 solving with root finding. | |
6174 * Makefile.in: Add them to the appropriate lists. | |
6175 | |
6176 * base-dae.h: New file. | |
6177 * Makefile.in (INCLUDES): Add it to the list. | |
6178 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. | |
6179 | |
3984 | 6180 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6181 | |
6182 * ODE.h: Move integrate and do_integrate method declarations and | |
6183 definitions here. | |
6184 * base-de.h: From here. | |
6185 | |
6186 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. | |
6187 * Makefile.in: Add them to the appropriate lists. | |
6188 (LIBOCTAVE_CXX_SOURCES): | |
6189 | |
3971 | 6190 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6191 | |
6192 * NLEqn.cc (NLEqn::error_message): New function. | |
6193 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. | |
6194 | |
3970 | 6195 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6196 | |
6197 * lo-utils.cc (octave_fgetl): New function. | |
6198 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. | |
6199 | |
3959 | 6200 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
6201 | |
6202 * LSODE.cc (LSODE::error_message): New function. | |
6203 * LSODE.h: Provide decl. | |
6204 (LSODE::integration_state): New function. | |
6205 (LSODE::integration_ok): New function. | |
6206 | |
3952 | 6207 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6208 | |
3955 | 6209 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
6210 (LSODE_options::set_integration_method, | |
6211 LSODE_options::integration_method): New functions. | |
3954 | 6212 |
3952 | 6213 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
6214 Change all uses. | |
6215 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. | |
6216 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): | |
6217 New function. | |
6218 | |
6219 * Array.h (Array::fortran_vec): New const version. | |
6220 | |
3951 | 6221 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6222 | |
6223 * cmd-edit.cc (gnu_readline::history_search_backward): New function. | |
6224 (gnu_readline::history_search_forward): Likewise. | |
6225 (gnu_readline::gnu_readline): Use them instead of passing pointers | |
6226 to extern "C" functions to octave_rl_ad_defun. | |
6227 | |
5095 | 6228 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
3946 | 6229 |
6230 * DASPK.cc (ddaspk_psol): Return value. | |
6231 * oct-rl-edit.c: Use /* ... */ to comment. | |
6232 | |
3945 | 6233 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6234 | |
6235 * DASSL.h (DASSL_options::init): Undo previous change. | |
6236 (DASSL_options::set_absolute_tolerance): Likewise. | |
6237 * LSODE.h (LSODE_options::init): Likewise. | |
6238 (LSODE_options::set_absolute_tolerance): Likewise. | |
6239 | |
6240 * DASPK.h (DASPK_options::init): Use default absolute tolerance of | |
6241 sqrt(eps), not eps^2. | |
6242 DASPK_options::set_absolute_tolerance): Likewise. | |
6243 | |
5095 | 6244 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
3944 | 6245 |
6246 * Array.h (Array<T>::resize_fill_value): Return default initialized | |
6247 object. | |
6248 | |
3933 | 6249 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6250 | |
6251 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. | |
6252 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. | |
6253 (octave_rl_set_basic_word_break_characters, | |
6254 octave_rl_set_completer_word_break_characters): New functions. | |
6255 * oct-rl-edit.h: Provide decls. | |
6256 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, | |
6257 gnu_readline::do_set_completer_word_break_characters): New functions. | |
6258 (command_editor::set_basic_quote_characters, | |
6259 command_editor::set_completion_append_character): New static functions. | |
6260 * cmd-edit.h: Provide decls. | |
6261 (command_editor::do_set_basic_word_break_characters, | |
6262 command_editor::do_set_completer_word_break_characters): | |
6263 New virtual functions. | |
6264 | |
6265 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h | |
6266 (resize_fill_value): New static function. | |
6267 | |
6268 * Array-idx.h (Array<T>::index): New args, resize_ok and | |
6269 resize_fill_value. | |
6270 * Array2-idx.h (Array2<T>::index): Likewise. | |
6271 * ArrayN-idx.h (ArrayN<T>::index): Likewise. | |
6272 | |
6273 * Array2.cc (Array<T>::print_info): New function. | |
6274 * Array2.h: Provide decl. | |
6275 | |
6276 * Array.cc (Array<T>::print_info): New function. | |
6277 * Array.h: Provide decl. | |
6278 | |
3928 | 6279 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6280 | |
6281 * idx-vector.h (idx_vector::idx_vector (int)): New function. | |
6282 (idx_vector_rep::idx_vector_rep (int)): New decl. | |
6283 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. | |
6284 | |
6285 * Array.h (Array<T>::resize_fill_value (void)): New static function. | |
6286 (assign (Array<LT>&, const Array<RT>&)): Use it. | |
6287 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. | |
6288 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. | |
6289 | |
5095 | 6290 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
3928 | 6291 |
6292 * Array3.h (Array3<T>::checkelem): Improve error message. | |
6293 * ArrayN.h (ArrayN<T>::range_error): Likewise. | |
6294 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. | |
6295 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. | |
6296 | |
3919 | 6297 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6298 | |
6299 * DASSL.h (DASSL_options::init): Undo previous change. | |
6300 (DASSL_options::set_absolute_tolerance): Likewise. | |
6301 | |
3912 | 6302 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
6303 | |
6304 * DASPK.h, DASPK.cc: New files. | |
6305 * Makefile.in: Add them to the appropriate lists. | |
6306 | |
3904 | 6307 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6308 | |
6309 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): | |
6310 Simplify indexing when one or both of the indices are empty. | |
6311 | |
3896 | 6312 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6313 | |
6314 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. | |
6315 (DASSL_options::set_absolute_tolerance): Likewise. | |
6316 * LSODE.h (LSODE_options::init): Likewise. | |
6317 (LSODE_options::set_absolute_tolerance): Likewise. | |
6318 | |
5095 | 6319 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
3887 | 6320 |
6321 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. | |
6322 * file-stat.cc (file_stat::update_internal, file_stat::copy): | |
6323 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. | |
6324 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. | |
6325 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. | |
6326 * file-stat.h: Likewise. | |
6327 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, | |
6328 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE | |
6329 instead of HAVE_STRUCT_TM_TM_ZONE. | |
6330 * strftime.c: Likewise. | |
6331 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, | |
6332 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, | |
6333 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, | |
6334 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, | |
6335 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
6336 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
6337 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. | |
6338 | |
5095 | 6339 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
3883 | 6340 |
6341 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition | |
6342 internally when the user requests it. | |
6343 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
6344 * dbleQR.cc (QR::init): Ditto. | |
6345 * dbleQRP.cc (QRP::init): Ditto. | |
6346 | |
3874 | 6347 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6348 | |
6349 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a | |
6350 definition for NULL by passing 0 as the last arg to fftwnd_one. | |
6351 (octave_fftw::ifft2d): Likewise. | |
6352 | |
5095 | 6353 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
3873 | 6354 |
6355 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). | |
6356 | |
3867 | 6357 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6358 | |
6359 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. | |
6360 (LS_DO_WRITE): Likewise. | |
6361 | |
3864 | 6362 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6363 | |
6364 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. | |
6365 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. | |
6366 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. | |
6367 | |
6368 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, | |
6369 MX_REDUCTION_OP_ROW_EXPR): New macros. | |
6370 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. | |
6371 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. | |
6372 | |
6373 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. | |
6374 DIM == -1 now means no orientation for vector sums. | |
6375 * dMatrix.cc (ComplexMatrix::sumsq): Use it. | |
6376 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. | |
6377 | |
3858 | 6378 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6379 | |
6380 * Range.cc (Range::nelem_internal): Special case ranges that must | |
6381 have zero elements. | |
6382 | |
3854 | 6383 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6384 | |
3857 | 6385 * Makefile.in: Split out readline and pathsearch functionality |
6386 into separate liboct-readline and liboct-pathsearch libraries. | |
6387 | |
3854 | 6388 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857 | 6389 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
6390 to do nothing for this call to rl_clear_screen. | |
3854 | 6391 |
3849 | 6392 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6393 | |
6394 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied | |
6395 function. | |
6396 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. | |
6397 | |
3838 | 6398 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6399 | |
6400 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, | |
6401 Matrix::inverse): Handle the case of rcond being a NaN the same as | |
6402 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. | |
6403 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, | |
6404 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. | |
6405 | |
3836 | 6406 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
6407 | |
6408 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. | |
6409 | |
6410 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, | |
6411 Array-b.cc: Instantiate three arg assign functions. | |
6412 | |
6413 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): | |
6414 New arg, resize_fill_value. | |
6415 * ArrayN.h: Provide declaration. | |
6416 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling | |
6417 three arg version. | |
6418 | |
6419 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): | |
6420 New arg, resize_fill_value. | |
6421 * Array3.h: Provide declaration. | |
6422 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling | |
6423 three arg version. | |
6424 | |
6425 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
6426 New arg, resize_fill_value. | |
6427 * Array2.h: Provide declaration. | |
6428 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling | |
6429 three arg version. | |
6430 | |
6431 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
6432 New arg, resize_fill_value. | |
6433 * Array.h: Provide declaration. | |
6434 (assign (Array<LT>&, const Array<RT>&): Define here by calling | |
6435 three arg version. | |
6436 | |
3833 | 6437 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6438 | |
6439 * pathsearch.cc (dir_path::set_program_name): Set the environment | |
6440 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS | |
6441 to the empty string. | |
6442 | |
3832 | 6443 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
6444 | |
6445 * Array2.h (Array2<T>::operator = (const Array2<T>&)): | |
6446 Don't check for rep != a.rep. | |
6447 | |
3827 | 6448 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
6449 | |
6450 * oct-fftw.h, oct-fftw.cc: New files. | |
6451 * Makefile.in (INCLUDES, SOURCES): Add new files. | |
6452 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, | |
6453 ifourier2d}): Use fftw if available. | |
6454 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): | |
6455 Likewise. | |
6456 | |
3821 | 6457 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6458 | |
6459 * Makefile.in (install-lib): Don't use mk-libdir-link. | |
6460 (install-inc): Don't use mk-includedir-link. | |
6461 | |
3803 | 6462 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6463 | |
6464 * lo-cutils.c (octave_gethostname): New function. | |
6465 * lo-utils.h: Provide declaration. | |
6466 * oct-env.cc (octave_env::do_get_host_name): | |
6467 Call octave_gethostname, instead of gethostname. | |
6468 | |
6469 * lo-cutils.c (gethostname): Define here. | |
6470 * lo-sysdep.cc: Not here. | |
6471 | |
3786 | 6472 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6473 | |
6474 * lo-cutils.c: Don't declare strptime. | |
6475 (oct_strptime): Cast return type of strptime to char*. | |
6476 | |
3777 | 6477 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6478 | |
3779 | 6479 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
6480 (octave_rl_set_name): call rl_re_read_init_file with two args. | |
6481 (octave_rl_read_init_file): Ditto. | |
6482 (octave_rl_clear_undo_list): Call rl_free_undo_list, not | |
6483 free_undo_list. | |
6484 (octave_rl_completion_matches): Call rl_completion_matches, not | |
6485 completion_matches. | |
6486 (octave_rl_enable_paren_matching): New function. | |
6487 (octave_rl_set_blink_matching_paren_flag): Delete. | |
6488 (octave_rl_get_blink_matching_paren_flag): Delete. | |
6489 | |
3777 | 6490 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
6491 tanh (const Complex&)): Declare and define if not | |
6492 CXX_ISO_COMPLIANT_LIBRARY. | |
6493 | |
3776 | 6494 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
6495 | |
6496 * lo-mappers.h (tanh (const Complex&)): Only declare if not | |
6497 CXX_ISO_COMPLIANT_LIBRARY. | |
6498 | |
3775 | 6499 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
6500 | |
3776 | 6501 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
6502 CXX_ISO_COMPLIANT_LIBRARY. | |
6503 | |
3775 | 6504 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
6505 archive libraries containing templates. | |
6506 | |
6507 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, | |
6508 get_zero_len_size, all_colon_equiv): Inline. | |
6509 (ArrayN<T>::index): Rename idx to arr_idx. | |
6510 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, | |
6511 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, | |
6512 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. | |
6513 | |
6514 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6515 | |
6516 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), | |
6517 log10 (const Complex&)): Delete. | |
6518 | |
6519 * oct-cmplx.h: Define forwarding functions for real, imag, abs, | |
6520 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, | |
6521 sinh, sqrt, tan, and tanh. | |
6522 | |
3769 | 6523 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
6524 | |
6525 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: | |
6526 Add std:: namespace qualifier as needed. | |
6527 | |
6528 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. | |
6529 Change all uses to match. | |
6530 | |
3767 | 6531 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6532 | |
6533 * lo-cutils.c: Don't delcare strptime. | |
6534 | |
3760 | 6535 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6536 | |
6537 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): | |
6538 Return correct size result for empty matrix case. | |
6539 | |
3757 | 6540 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
6541 | |
6542 * lo-mappers.cc (xmin (const Complex&, const Complex& y): | |
6543 If args are equal in magnitude, return first arg instead of | |
6544 second. | |
6545 | |
3752 | 6546 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
6547 | |
3755 | 6548 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
6549 then try harder to compute correct number of elements. | |
3753 | 6550 |
3752 | 6551 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
6552 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. | |
6553 | |
3750 | 6554 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
6555 | |
3751 | 6556 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
6557 Rename n_intervals to be n_elt. | |
6558 | |
3750 | 6559 * strptime.c: Surround everything after including config.h in |
6560 #ifndef HAVE_STRPTIME ... #endif. | |
6561 | |
3742 | 6562 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6563 | |
6564 * Array-idx.h (assign): When resizing, cast fill value to LT. | |
6565 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. | |
6566 | |
3741 | 6567 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6568 | |
6569 * MArray-defs.h: Protect against multiple inclusion. | |
6570 | |
3739 | 6571 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6572 | |
6573 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the | |
6574 end of the list, to be compatible with previous versions of Octave. | |
6575 | |
3736 | 6576 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
6577 | |
6578 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, | |
6579 since mktime is supposed to `normalize' the results for us. | |
6580 | |
3731 | 6581 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
6582 | |
6583 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices | |
3732 | 6584 and vectors. Use xelem for faster access to elements when copying. |
3731 | 6585 |
3726 | 6586 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6587 | |
6588 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): | |
6589 Correct indexing for operation across rows. | |
6590 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. | |
6591 | |
3725 | 6592 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
6593 | |
6594 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying | |
6595 elements if arg is a colon. | |
6596 | |
5095 | 6597 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
3723 | 6598 |
3795 | 6599 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723 | 6600 (Matrix::cumsum (int) const): Likewise. |
6601 (Matrix::prod (int) const): Likewise. | |
6602 (Matrix::sum (int) const): Likewise. | |
6603 (Matrix::sumsq (int) const): Likewise. | |
6604 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. | |
6605 (ComplexMatrix::cumsum (int) const): Likewise. | |
6606 (ComplexMatrix::prod (int) const): Likewise. | |
6607 (ComplexMatrix::sum (int) const): Likewise. | |
6608 (ComplexMatrix::sumsq (int) const): Likewise. | |
6609 | |
3722 | 6610 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6611 | |
6612 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set | |
6613 size if Array<T>::index returns an empty array. | |
6614 | |
3710 | 6615 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6616 | |
6617 * file-ops.cc (file_ops::link, file_ops::symlink, | |
6618 file_ops::readlink): New functions. | |
6619 | |
3709 | 6620 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6621 | |
6622 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is | |
6623 indexed, always return an object the same size as the index arg. | |
6624 | |
6625 * oct-time.cc (octave_base_tm::strftime): Return empty string for | |
6626 empty format. | |
6627 | |
3706 | 6628 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6629 | |
6630 * lo-cutils.c (oct_strptime): New function. | |
6631 * oct-time.cc (octave_strptime::init): Call it instead of strptime. | |
6632 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. | |
6633 | |
3702 | 6634 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6635 | |
3703 | 6636 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
6637 | |
3702 | 6638 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
6639 | |
3689 | 6640 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6641 | |
6642 * dMatrix.h (read_int): Provide declaration. | |
6643 | |
3688 | 6644 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
6645 | |
6646 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. | |
6647 (write_doubles): Ditto. | |
6648 * data-conv.h: Ditto. | |
6649 (enum save_type): New values, LS_U_LONG and LS_LONG. | |
6650 | |
3685 | 6651 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
6652 | |
6653 * boolMatrix.h: Declare MM_CMP_OPS here. | |
6654 * boolMatrix.cc: Define them here. | |
6655 | |
3680 | 6656 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6657 | |
6658 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is | |
6659 previously undefined and set size of x to size of bool index. | |
6660 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): | |
6661 Allow z_len to be zero. | |
6662 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. | |
6663 If frozen, don't assert that frozen_at_z_len == z_len. | |
6664 | |
3670 | 6665 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6666 | |
6667 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen | |
6668 instead of rl_clear_screen. | |
6669 | |
3665 | 6670 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6671 | |
6672 * Array-d.cc: Instantiate ArrayN<double> here too. | |
6673 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. | |
6674 * Makefile.in: Add them to the appropriate lists. | |
6675 | |
3657 | 6676 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6677 | |
6678 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. | |
6679 | |
3635 | 6680 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6681 | |
6682 * lo-sysdep.h: octave_chdir returns int, not bool. | |
6683 | |
3615 | 6684 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
6685 | |
6686 * Makefile.in (liboctave.$(SHLEXT)): Delete target | |
6687 before rebuilding. | |
6688 | |
5095 | 6689 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
3615 | 6690 |
5261 | 6691 * Makefile.in (liboctave.$(LIBEXT)): New target. |
3615 | 6692 (libraries): Depend only on library targets, not archive members. |
6693 | |
3613 | 6694 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6695 | |
6696 * Makefile.in: (objects): New target. | |
6697 | |
6698 * lo-cutils.c: New file. | |
6699 * Makefile.in (SOURCES): Add it to the list. | |
6700 * lo-utils.h: Declare octave_qsort here. | |
6701 * Array.h (Array::qsort): Use it here. | |
6702 | |
3607 | 6703 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6704 | |
6705 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. | |
6706 | |
3598 | 6707 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6708 | |
6709 * oct-rl-hist.c (octave_history_list): Do something when not | |
6710 printing line numbers. Fix reallocation of retval. | |
6711 | |
3597 | 6712 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6713 | |
6714 * Makefile.in (install-inc): Install files in | |
6715 $(octincludedir)/octave. | |
6716 (uninstall): Remove them from the correct directory too. | |
6717 | |
6718 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if | |
6719 they are not already defined. | |
6720 | |
3588 | 6721 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6722 | |
6723 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: | |
6724 Delete declarations and definitions of mixed-type vector-vector ops. | |
6725 | |
3585 | 6726 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6727 | |
6728 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS | |
6729 matrix and vector objects. | |
6730 | |
6731 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to | |
6732 return type from second arg type. | |
6733 (MDM_BIN_OP): Likewise, for first arg type. | |
6734 | |
6735 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
6736 Matrix::fourier2d, Matrix::ifourier2d): Likewise. | |
6737 | |
6738 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly | |
6739 request ColumnVector to ComplexColumnVector, and Matrix to | |
6740 ComplexMatrix conversions. | |
6741 | |
6742 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its | |
6743 initial value using ComplexMatrix constructor. | |
6744 | |
6745 * CColVector.cc (product, quotient, | |
6746 operator * (const DiagMatrix&, const ComplexColumnVetor&)): | |
6747 Fix type of returned value. | |
6748 * CDiagMatrix.cc (ComplexDiagMatrix::row, | |
6749 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. | |
6750 | |
6751 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, | |
6752 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, | |
6753 dRowVector.h: Declare some constructors explicit, to disallow | |
6754 potentially problematic automatic type conversions. | |
6755 | |
3580 | 6756 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
6757 | |
3582 | 6758 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
6759 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: | |
6760 More new files. | |
6761 * Makefile.in: Add them to the appropriate lists. | |
6762 | |
6763 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, | |
6764 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, | |
6765 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, | |
6766 vx-s-crv.cc:, New files. | |
6767 * Makefile.in: Add them to the appropriate lists. | |
6768 | |
6769 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: | |
6770 Delete scalar by vector and vector by scalar binary ops. | |
6771 | |
3580 | 6772 * MArray-defs.h: More new macros to handle MDiagArray operators. |
6773 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. | |
6774 | |
3573 | 6775 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
6776 | |
3578 | 6777 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
6778 rl_event_hook before casting to void **. | |
6779 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. | |
6780 | |
3574 | 6781 * MArray-defs.h: Many new macros to make declaration and |
6782 definition of operators more consistent. | |
6783 | |
6784 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, | |
6785 CRowVector.h, dMatrix.h, CMatrix.h: Use them. | |
3573 | 6786 |
3569 | 6787 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6788 | |
3572 | 6789 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
6790 (Matrix::ifourier2d): Likewise. | |
6791 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. | |
6792 (ComplexMatrix::ifourier2d): Likewise. | |
6793 | |
3569 | 6794 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
6795 | |
3504 | 6796 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6797 | |
3519 | 6798 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
6799 readline library. | |
6800 * Makefile.in: Add them to the appropriate lists. | |
6801 | |
6802 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU | |
6803 readline history library. | |
6804 * Makefile.in: Add them to the appropriate lists. | |
6805 | |
3517 | 6806 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
6807 (LS_DO_READ): Likewise, for istream::read. | |
3518 | 6808 (write_doubles): Likewise. |
6809 (read_doubles): Likewise. | |
3517 | 6810 |
3516 | 6811 * oct-env.cc (octave_env::do_polite_directory_format): |
6812 Use operator== and substr method to do limited-length string | |
6813 comparison. | |
6814 | |
3513 | 6815 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512 | 6816 |
3511 | 6817 * Quad.h: Use do_integrate as name of pure virtual function. |
6818 | |
3508 | 6819 * base-de.h: Use tt instead of t as arg names. |
3511 | 6820 Add method with tcrit arg. |
6821 | |
3509 | 6822 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508 | 6823 |
3507 | 6824 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
6825 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. | |
6826 * Quad.cc (quad_fcn_ptr): Ditto. | |
6827 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. | |
6828 | |
3505 | 6829 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519 | 6830 * Makefile.in: Add them to the appropriate lists. |
3505 | 6831 |
6832 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. | |
3519 | 6833 * Makefile.in: Add them to the appropriate lists. |
3505 | 6834 |
3504 | 6835 * dMatrix.cc (write_int, read_int): No longer declared static. |
6836 | |
6837 * CDiagMatrix.h: Delete decls for friend operators that are | |
6838 handled by MDiagArray2 class. Move others outside class decl and | |
6839 strip friend status. | |
6840 * dDiagMatrix.h: Likewise. | |
6841 | |
6842 * MArray.h: Delete decls for friend operators inside class decl. | |
6843 * MArray2.h: Ditto. | |
6844 * MDiagArray2.h: Ditto. | |
6845 | |
6846 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all | |
6847 necessary parameters. Don't allocate memory in the macro. Change | |
6848 all uses. | |
6849 | |
6850 * dMatrix.h (class Matrix): Delete `friend class' decls. | |
6851 * CMatrix.h (class ComplexMatrix): Ditto. | |
6852 | |
6853 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, | |
6854 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, | |
6855 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to | |
6856 avoid type conflicts. Change all uses. | |
6857 | |
6858 * strptime.c (__mon_yday): Fix size of array decl. | |
6859 | |
6860 * mx-inlines.cc: Use `xnot' instead of `not' for function name. | |
6861 | |
6862 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous | |
6863 default value for second arg. | |
6864 | |
6865 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to | |
6866 references to ArrayRep. | |
6867 | |
3503 | 6868 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
6869 | |
3504 | 6870 * Array.h (Array::ArrayRep): Now protected, not private. |
3503 | 6871 |
6872 * All source files: Include iostream, fstream, strstream, | |
6873 etc. as needed instead of using forward declarations for these | |
3504 | 6874 classes. Add std:: qualifier as needed. |
3503 | 6875 |
3498 | 6876 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6877 | |
6878 * oct-time.cc: Declare strptime extern "C". | |
6879 | |
3496 | 6880 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6881 | |
6882 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. | |
6883 | |
3488 | 6884 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6885 | |
3492 | 6886 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
6887 * Array3.h, Array3.cc: Use it in constructors and resize methods | |
6888 to get total size to be allocated. | |
6889 | |
3488 | 6890 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
6891 as bool, not int. | |
6892 | |
3482 | 6893 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6894 | |
6895 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
6896 Allow A(idx) = RHS if idx is a boolean index with the same shape | |
6897 as A, even when do_fortran_indexing is not enabled. | |
6898 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). | |
6899 | |
3473 | 6900 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6901 | |
3480 | 6902 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
6903 function pointer as final arg. Passed function (if any) will be | |
6904 called for singularity errors. | |
6905 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. | |
6906 | |
6907 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. | |
6908 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
6909 | |
3475 | 6910 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
6911 No longer bother with infinity or quiet_nan. | |
6912 | |
3473 | 6913 * Array2.cc (Array2<T>::get_size): New function. |
6914 (Array2<T>::Array2, Array2<T>::resize): Use it. | |
6915 | |
3472 | 6916 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6917 | |
6918 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): | |
6919 New function. | |
6920 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
6921 Use it when indexing with one arg instead of faking a second one. | |
6922 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): | |
6923 Return empty matrices with the correct dimensions for A(:,:) = [] | |
6924 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all | |
6925 rows or columns. | |
6926 | |
6927 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool | |
6928 vector that is all true values with a length equal to n as colon | |
6929 equivalent. | |
6930 | |
3470 | 6931 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6932 | |
6933 * strptime.c: Only include langinfo.h if _LIBC is defined. | |
6934 | |
5095 | 6935 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468 | 6936 |
6937 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling | |
6938 operations directly in step 2 and reverse step 2. | |
6939 * dMatrix.cc (Matrix::expm): Apply permutation and scaling | |
6940 operations directly in step 2 and reverse step 2. | |
6941 | |
3465 | 6942 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6943 | |
6944 * oct-time.h, oct-time.cc (octave_strptime): New class. | |
6945 | |
6946 * strptime.c: New file, from glibc 2.1.2. | |
6947 * Makefile.in (SOURCES): Add strptime.c to the list. | |
6948 | |
3419 | 6949 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6950 | |
6951 * MArray.h (MArray <const Array<T>&)): New constructor. | |
6952 | |
3415 | 6953 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6954 | |
6955 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing | |
6956 NULL directory list returned from kpse_element_dirs | |
6957 | |
3375 | 6958 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6959 | |
6960 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. | |
6961 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF | |
6962 directly, instead of calling ZGESV. | |
6963 | |
3358 | 6964 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6965 | |
6966 * data-conv.cc (init_sized_type_lookup_table): New function. | |
6967 (string_to_data_type): Use it to improve lookup of data types. | |
6968 | |
3354 | 6969 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6970 | |
6971 * dMatrix.cc (is_symmetric): Move here from Array2.cc. | |
6972 * Array2.h (is_symmetric): Delete declaration. | |
6973 | |
3347 | 6974 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6975 | |
6976 * oct-env.cc (do_get_user_name): Reverse sense of test. | |
6977 | |
3344 | 6978 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6979 | |
6980 * oct-time.cc (Fstrftime): Undo previous change. | |
6981 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
6982 | |
3334 | 6983 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6984 | |
3336 | 6985 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
6986 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. | |
6987 | |
3334 | 6988 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
6989 Don't forget to pass length of third string argument to dgeesx. | |
6990 | |
6991 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length | |
6992 of third string argument to zgeesx. | |
6993 | |
3333 | 6994 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6995 | |
6996 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): | |
6997 On errors, simply return `T ()'. | |
6998 (DiagArray2<T>::checkelem (int, int)): Likewise. | |
6999 | |
5095 | 7000 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3331 | 7001 |
7002 * dMatrix.cc (Matrix::expm): Do balancing here instead of using | |
7003 AEPBALANCE class. | |
7004 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
7005 | |
3325 | 7006 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7007 | |
7008 * oct-shlib.cc, oct-shlib.h: New files. | |
7009 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
7010 | |
3322 | 7011 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
7012 | |
7013 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. | |
7014 * dRowVector.cc (linspace): Ditto. | |
7015 | |
7016 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. | |
7017 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
7018 | |
3312 | 7019 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
7020 | |
7021 * DASSL.cc (DASSL::do_integrate (double)): If we have a function | |
7022 to evaluate the Jacobian, set info(4), not iwork(4). | |
7023 Set rwork(1) to the maximum step size, not rwork(2). | |
7024 | |
3290 | 7025 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7026 | |
7027 * oct-time.cc: Include <climits>. | |
7028 | |
3281 | 7029 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
7030 | |
7031 * cmd-edit.h (command_editor::do_resize_terminal): New function. | |
7032 * cmd-edit.cc (command_editor::resize_terminal): New function. | |
7033 (gnu_readline::do_resize_terminal): New function. | |
7034 | |
3268 | 7035 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7036 | |
7037 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. | |
7038 * lo-ieee.c: Likewise. | |
7039 Delete extern "C" declarations for infinity and quiet_nan. | |
7040 | |
3262 | 7041 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7042 | |
3263 | 7043 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
7044 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions | |
7045 `inline', not `static inline'. | |
7046 | |
3262 | 7047 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
7048 then cast to const int * to compare. | |
7049 | |
3257 | 7050 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7051 | |
7052 * DAEFunc.h: Remove useless preprocessor conditional. | |
7053 | |
3255 | 7054 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7055 | |
3257 | 7056 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
7057 Use octave_time object instead of time_t. | |
7058 | |
7059 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, | |
7060 file_stat::fs_ctime): Now octave_time objects. | |
7061 (file_stat::atime, file_stat::mtime, file_stat::ctime): | |
7062 Return octave_time objects. | |
7063 (file_stat::is_newer): Args are now octave_time objects instead of | |
7064 time_t. | |
7065 | |
3255 | 7066 * oct-time.h (octave_time::as_double): Delete. |
7067 (octave_time::operator double ()): New function. | |
7068 (octave_time::operator time_t ()): New function. | |
7069 (octave_time::ctime): New function. | |
7070 (octave_base_tm::strftime): Renamed from format_as_string. | |
7071 (octave_base_tm::asctime): New function. | |
7072 (operator == (const octave_time&, const octave_time&), | |
7073 operator != (const octave_time&, const octave_time&), | |
7074 operator < (const octave_time&, const octave_time&), | |
7075 operator <= (const octave_time&, const octave_time&), | |
7076 operator > (const octave_time&, const octave_time&), | |
7077 operator >= (const octave_time&, const octave_time&)): | |
7078 New comparison functions. | |
7079 | |
7080 * strftime.c: Move here from src directory. | |
7081 * Makefile.in (SOURCES): Add it to the list. | |
7082 | |
7083 * oct-time.h (octave_time::octave_time (time_t)): New constructor. | |
7084 | |
3253 | 7085 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7086 | |
7087 * oct-time.h, oct-time.cc: New files. | |
7088 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
7089 | |
7090 * systime.h: Move here from src directory. | |
7091 * Makefile.in (INCLUDES): Add it to the list. | |
7092 | |
3248 | 7093 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7094 | |
7095 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. | |
7096 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. | |
7097 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. | |
7098 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. | |
7099 | |
7100 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. | |
7101 | |
3243 | 7102 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7103 | |
7104 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. | |
7105 | |
7106 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7107 | |
7108 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a | |
7109 column vector for A(:), for compatibility with Matlab. | |
7110 | |
7111 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7112 | |
7113 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set | |
7114 iopt when there are optional inputs in rwork or iwork. | |
7115 | |
3238 | 7116 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7117 | |
7118 * Makefile.in (libraries): Use the libfoo.a(objects) method of | |
7119 creating static libs. | |
7120 | |
5095 | 7121 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
3238 | 7122 |
7123 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 | |
7124 and uint32 data types. | |
7125 | |
7126 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7127 | |
7128 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code | |
7129 for Linux. Remove old Linux-specific code. | |
7130 | |
3233 | 7131 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7132 | |
7133 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): | |
7134 Don't require lengths to be equal. | |
7135 * CMatrix.cc (operator * (const ComplexColumnVector& v, const | |
7136 ComplexRowVector& a)): Likewise | |
7137 | |
5095 | 7138 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
3225 | 7139 |
7140 * statdefs.h: Only define mode_t if not already defined. | |
7141 | |
5095 | 7142 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
3225 | 7143 |
7144 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero | |
7145 when appropriate. | |
7146 | |
7147 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7148 | |
7149 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name | |
7150 before calling rl_initialize. | |
7151 | |
3220 | 7152 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7153 | |
7154 * lo-specfun.cc (besselh, airy, biry): New functions. | |
7155 Update Bessel function support to use library by D. E. Amos. | |
7156 | |
3219 | 7157 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7158 | |
7159 * cmd-edit.h (command_editor::readline): Add new variation that | |
7160 allows EOF information to be passed back to caller. | |
7161 | |
7162 * dMatrix.cc (Matrix::read): Do the right thing for EOF when | |
7163 amount of data to read is unspecified. | |
7164 | |
3215 | 7165 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7166 | |
3219 | 7167 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
7168 (DEFINE_OCTAVE_ALLOCATOR): Ditto. | |
7169 | |
3215 | 7170 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
7171 Add volatile qualifier to void* arg. | |
7172 Cast volatile void* arg to volatile char*. | |
7173 | |
7174 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7175 | |
7176 * cmd-edit.h (command_editor::do_set_event_hook): New function. | |
7177 (command_editor::do_restore_event_hook): Ditto. | |
7178 * cmd-edit.cc (command_editor::set_event_hook): Ditto. | |
7179 (command_editor::restore_event_hook): Ditto. | |
7180 (gnu_readline::do_set_event_hook): Ditto. | |
7181 (gnu_readline::do_restore_event_hook): Ditto. | |
7182 (gnu_readline::previous_event_hook): New data member. | |
7183 (gnu_readline::gnu_readline): Initialize previous_event_hook. | |
7184 | |
3206 | 7185 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7186 | |
7187 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. | |
7188 | |
7189 * Makefile.in (stmp-pic): New target. | |
7190 ($(PICOBJ)): Depend on stmp-pic, not pic. | |
7191 (clean): Remove stmp-pic | |
7192 | |
7193 * Makefile.in: Undo previous change to avoid optmization when | |
7194 compiling lo-ieee.cc. | |
7195 | |
7196 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7197 | |
7198 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and | |
7199 imaginary parts. | |
7200 (xisinf): Define in terms of xisinf for real and imaginary parts. | |
7201 | |
3203 | 7202 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7203 | |
7204 * boolMatrix.cc (boolMatrix::operator !): New function. | |
7205 | |
3196 | 7206 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7207 | |
7208 * pathsearch.h (dir_path::default_path): New data member. | |
7209 * pathsearch.cc (dir_path::init): Use it. | |
7210 | |
7211 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. | |
7212 | |
3189 | 7213 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7214 | |
7215 * chMatrix.cc (charMatrix::extract): New function. | |
7216 (charMatrix::charMatrix (char c)): New constructor. | |
7217 | |
7218 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7219 | |
7220 * cmd-edit.h: (command_editor::do_read_init_file): New function. | |
7221 * cmd-edit.cc (command_editor::read_init_file): New function. | |
7222 (gnu_readline::do_read_init_file): Likewise. | |
7223 | |
3185 | 7224 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7225 | |
7226 * oct-env.cc (octave_env::do_get_home_directory): | |
7227 If HOME can't be found, set it to "/". | |
7228 (octave_env::do_get_user_name) | |
7229 If user name can't be found, set it to "unknown". | |
7230 (octave_env::do_get_host_name) | |
7231 If host name can't be found, set it to "unknown". | |
7232 | |
7233 * pathsearch.h (dir_path::rehash): New function. | |
7234 * pathsearch.cc (dir_path::init): Clear kpathsea's internal | |
7235 diretcory cache before doing initialization. | |
7236 | |
3180 | 7237 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7238 | |
3185 | 7239 * dMatrix.cc (Qzval): Delete. |
7240 (qzhes, qzit, qzval): Delete F77_FCN declarations. | |
7241 * dMatrix.h (Qzval): Delete declaration. | |
7242 | |
7243 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. | |
7244 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. | |
7245 * mx-ext.h: Don't include dbleGEPBAL. | |
7246 | |
3180 | 7247 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
7248 static_cast. | |
7249 | |
7250 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7251 | |
7252 * dMatrix.cc (Matrix::read): Skip after reading, not before. | |
7253 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. | |
7254 | |
7255 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7256 | |
7257 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on | |
7258 HUGE_VAL and NAN. | |
7259 | |
7260 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7261 | |
7262 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
7263 Handle x(i) = scalar for do_fortran_indexing == 1. | |
7264 | |
7265 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7266 | |
7267 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): | |
7268 Alloctate space before attempting to use it. | |
7269 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. | |
7270 | |
5095 | 7271 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
3178 | 7272 |
7273 * EIG.cc (EIG::init): Move invariant code outside loop. | |
7274 | |
7275 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7276 | |
7277 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result | |
7278 have the same size as the operands. | |
7279 | |
7280 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7281 | |
7282 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the | |
7283 call to ddassl, set integration_error to 1 before calling the | |
7284 error handler and returning. | |
7285 * LSODE.cc (LSODE::do_integrate): Likewise. | |
7286 | |
3177 | 7287 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7288 | |
7289 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if | |
7290 do_fortran_indexing is set, A([]) = scalar. | |
7291 * Array-idx.h (assign): Allow A([]) = scalar. | |
7292 | |
3176 | 7293 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7294 | |
7295 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not | |
7296 if dm_nc == 0. | |
7297 | |
3174 | 7298 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7299 | |
7300 * pathsearch.h (dir_path::p_orig): New field. | |
7301 * pathsearch.cc (dir_path::init): Perform variable and tilde | |
7302 expansion on the original path here. | |
7303 (dir_path::find_all): Don't do anything if not initialized. | |
7304 | |
3164 | 7305 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7306 | |
7307 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing | |
7308 is not set. | |
7309 (index): Allow x = zeros (2, 0); x(1,:) to work. | |
7310 | |
7311 * lo-specfun.cc (gammainc): Use dgamit to compute | |
7312 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just | |
7313 \int_0^x exp(-t) t^(a-1) dt. | |
7314 | |
7315 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7316 | |
7317 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, | |
7318 Array-s.cc: Change return types of all `assign' explicit | |
7319 instantiations to be int, not void, to match the template decl in | |
7320 Array.h. | |
7321 | |
3162 | 7322 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7323 | |
7324 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. | |
7325 | |
3156 | 7326 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7327 | |
7328 * lo-specfun.cc (xgamma, xlgamma): Define here. | |
7329 * lo-mappers.cc: Not here. | |
7330 | |
7331 * lo-specfun.h: Declare xgamma and xlgamma here. | |
7332 * lo-mappers.h: Not here. | |
7333 | |
7334 * lo-specfun.h: Never declare gamma or lgamma. | |
7335 | |
3154 | 7336 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7337 | |
7338 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an | |
7339 empty matrix of any dimension. | |
7340 | |
3145 | 7341 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7342 | |
3147 | 7343 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
7344 | |
3146 | 7345 * lo-specfun.cc: Don't include dbleBessel.h. |
7346 | |
7347 * Makefile.in (INCLUDES): Delete oct-math.h from the list. | |
7348 | |
3145 | 7349 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
7350 * file-stat.h (file_stat::operator bool ()): Likewise. | |
7351 * idx-vector.h (idx_vector::operator bool ()): Likewise. | |
7352 * oct-group.h (octave_group::operator bool ()): Likewise. | |
7353 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. | |
7354 | |
7355 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): | |
7356 Don't cast arg in call to swap_8_bytes. | |
7357 (IEEE_big_double_to_IEEE_little_double): Ditto | |
7358 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to | |
7359 swap_4_bytes. | |
7360 (IEEE_little_float_to_IEEE_big_float): Ditto | |
7361 | |
7362 * oct-alloc.cc (grow): Use X_CAST, not static_cast. | |
7363 * prog-args.cc (prog_args::getopt): Likewise. | |
7364 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. | |
7365 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. | |
7366 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): | |
7367 Likewise. | |
7368 | |
7369 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, | |
7370 swap_8_bytes): Declare ptr arg as void*, then use cast. | |
7371 | |
3141 | 7372 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7373 | |
7374 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). | |
7375 Use $(mk-libdir-link). | |
7376 | |
7377 * file-stat.cc (file_stat::update_internal): Use stat and lstat, | |
7378 not SAFE_STAT and SAFE_LSTAT. | |
7379 (lstat): New function, defined if HAVE_LSTAT is not defined. | |
7380 * safe-xstat.hin, safe-xstat.cin: Delete. | |
7381 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, | |
7382 safe-lstat.h, and safe-lstat.cc. | |
7383 | |
3136 | 7384 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7385 | |
7386 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. | |
7387 | |
3130 | 7388 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7389 | |
7390 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the | |
7391 trace is negative. | |
7392 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if | |
7393 the real part of the trace is negative. | |
7394 | |
7395 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7396 | |
7397 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. | |
7398 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. | |
7399 | |
7400 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] | |
7401 to succeed. | |
7402 | |
3125 | 7403 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7404 | |
7405 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. | |
7406 (make_uniq): Likewise. | |
7407 | |
7408 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7409 | |
7410 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. | |
7411 | |
3119 | 7412 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7413 | |
3121 | 7414 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
7415 | |
7416 * lo-specfun.h, lo-specfun.cc: New files. | |
3119 | 7417 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
7418 | |
3121 | 7419 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
7420 oct-math.h: Delete. | |
7421 * Makefile.in (SOURCES): Delete them from the list. | |
7422 | |
3112 | 7423 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7424 | |
7425 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. | |
7426 | |
5095 | 7427 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
3107 | 7428 |
7429 Changes to make support egcs snapshots that implement explicit | |
7430 specification of template functions according to CD2. | |
7431 | |
7432 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit | |
7433 template function specs for template friends. | |
7434 * MArray2.h: Likewise. | |
7435 * MDiagArray2.h: Likewise. | |
7436 | |
3095 | 7437 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7438 | |
7439 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) | |
7440 | |
3092 | 7441 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
7442 | |
7443 * CRowVector.cc (linspace): Removed attempt for implicit conversion | |
7444 to complex<double>(int) instead of complex<double>(double). | |
7445 | |
7446 * lo-mappers.cc (atanh): Ditto. | |
7447 | |
3079 | 7448 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7449 | |
7450 * idx-vector.cc (IDX_VEC_REP::sort): New function. | |
7451 * idx-vector.h (idx_vector::sort): Ditto. | |
7452 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before | |
7453 trying to delete elements specified by the index vectors. | |
7454 | |
3075 | 7455 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7456 | |
7457 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. | |
7458 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. | |
7459 | |
3074 | 7460 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7461 | |
7462 * file-ops.cc (tilde_expand_word): Fix off-by-one error. | |
7463 | |
3069 | 7464 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7465 | |
7466 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. | |
7467 Call error handler if we can't find the current directory. | |
7468 | |
3068 | 7469 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7470 | |
3069 | 7471 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
7472 (xfinite (double)): Ditto. | |
7473 | |
3068 | 7474 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
7475 * CmplxQR.cc (ComplexQR::init): Ditto. | |
7476 | |
3056 | 7477 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7478 | |
7479 * lo-mappers.cc (acos (const Complex&)): Select branch that is | |
7480 compatible with Matlab. | |
7481 | |
3050 | 7482 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7483 | |
7484 * Array2-idx.h: Correctly handle empty matrices indexed by a | |
7485 single colon. | |
7486 | |
3040 | 7487 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7488 | |
3049 | 7489 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
7490 (xgamma): Likewise, for calling xdgamma. | |
7491 | |
3042 | 7492 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
7493 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. | |
7494 | |
3040 | 7495 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
7496 to do better job expanding tildes. | |
7497 | |
7498 * str-vec.cc (string_vector::string_vector (const char * const *): | |
7499 Use temporary variable to compute length. | |
7500 | |
3029 | 7501 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7502 | |
3034 | 7503 * Makefile.in: Make building of static library optional. |
3036 | 7504 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034 | 7505 |
3029 | 7506 * Makefile.in (stamp-picdir): Delete. |
7507 (pic): New target. Don't worry so much about creating pic | |
7508 directory only when it is really needed. | |
7509 (stamp-interp): Delete. | |
7510 (libraries): New target. Depend on shared library directly. | |
7511 | |
3024 | 7512 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7513 | |
7514 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): | |
7515 New static function. | |
7516 | |
3012 | 7517 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7518 | |
7519 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. | |
7520 | |
3004 | 7521 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7522 | |
7523 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to | |
7524 set_basic_quote_characters, to match new version of readline. | |
7525 | |
7526 * cmd-edit.cc (do_restore_terminal_state): Call readline function | |
7527 for restoring terminal state through rl_deprep_term_function, now | |
7528 declared in readline.h | |
7529 (rl_deprep_terminal): Delete declaration. | |
7530 | |
2993 | 7531 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7532 | |
7533 * Makefile.in (install-in): Use new mk-includedir-link macro. | |
7534 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. | |
7535 | |
2968 | 7536 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7537 | |
7538 * cmd-edit.cc (command_editor::increment_current_command_number): | |
7539 New static function. | |
7540 | |
2964 | 7541 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7542 | |
2966 | 7543 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
7544 the vector is not sorted. | |
7545 | |
2964 | 7546 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
7547 * dMatrix.cc (Matrix::operator !): Likewise | |
7548 | |
2941 | 7549 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7550 | |
7551 * oct-syscalls.h, oct-syscalls.cc: New files. | |
7552 | |
7553 * cmd-edit.h, cmd-edit.cc: Handle completion function. | |
7554 | |
7555 * str-vec.h, str-vec.cc (string_vector::uniq): New function. | |
7556 | |
2938 | 7557 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7558 | |
2941 | 7559 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
7560 (install-inc): Use it. | |
7561 | |
2938 | 7562 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
7563 Handle errors and missing functions consistently. | |
7564 | |
7565 * oct-group.h, oct-group.cc: New files. | |
7566 | |
7567 * oct-passwd.cc: Handle errors and missing functions consistently. | |
7568 | |
7569 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. | |
7570 | |
2934 | 7571 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7572 | |
7573 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. | |
7574 * oct-env.cc (octave_env::do_get_user_name): Likewise. | |
7575 | |
7576 * oct-passwd.h, oct-passwd.cc: New files. | |
7577 | |
2926 | 7578 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7579 | |
7580 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. | |
7581 | |
7582 * mach-info.h, mach-info.cc: Add missing const qualifiers. | |
7583 (instance_ok ()): New function. | |
7584 | |
7585 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. | |
7586 | |
7587 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. | |
7588 | |
7589 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from | |
7590 src/utils.h and src/utils.cc. | |
7591 (octave_fgets): New function, extracted from src/input.cc. | |
7592 | |
7593 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for | |
7594 GNU readline, and allow Octave to work without GNU readline. | |
7595 | |
7596 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous | |
7597 system-dependent functions. | |
7598 | |
7599 * oct-env.h, oct-env.cc: New files for process environment stuff. | |
7600 | |
7601 * file-stat.h, file-stat.cc: New files. Extract file_stat class | |
7602 from file-ops.h and file-ops.cc and move here. | |
7603 | |
7604 * file-ops.h, file-ops.cc: Wrap functions in struct. Move | |
7605 tilde_expand functions here from src/dirfns.cc. | |
7606 | |
7607 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7608 | |
7609 * pathlen.h: New file, from ../src. | |
7610 | |
2917 | 7611 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7612 | |
7613 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent | |
7614 out-of-bounds indexing of the index array. | |
7615 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. | |
7616 | |
2850 | 7617 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7618 | |
7619 * LSODE.h (x_step_limit): New field. | |
7620 (LSODE_options::init): Initialize it. | |
7621 (LSODE_options::copy): Copy it. | |
7622 (LSODE_options::set_step_limit, LSODE_options::step_limit): | |
7623 New functions. | |
7624 (LSODE::working_too_hard): Delete. | |
7625 * LSODE.cc (LSODE::do_integrate): Handle step limit. | |
7626 | |
2844 | 7627 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7628 | |
7629 * MArray-b.cc: Delete. | |
7630 * Makefile.in: Delete it from the lists. | |
7631 | |
7632 * boolMatrix.h (class bboolMatrix): Derive from Array2, not | |
7633 MArray2, since most of the numeric ops don't really make sense. | |
7634 | |
2829 | 7635 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7636 | |
2832 | 7637 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
7638 | |
7639 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. | |
7640 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. | |
7641 | |
2830 | 7642 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
7643 idx_vector::freeze): Delete prefer_zero_one arg. | |
7644 * Array-idx.h, Array2-idx.h: Change all callers. | |
7645 | |
7646 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. | |
7647 | |
2829 | 7648 * mx-op-defs.h: New file for operator definitions. |
7649 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, | |
7650 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, | |
7651 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, | |
7652 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, | |
7653 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, | |
7654 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, | |
7655 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, | |
7656 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, | |
7657 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, | |
7658 mx-s-cm.cc, mx-s-dm.cc: | |
7659 New files for mixed-type operations. | |
7660 * Makefiles.in: Add them to the appropriate lists. | |
7661 | |
7662 * mx-inlines.cc: Add bool by bool EQ ops. | |
7663 | |
7664 * idx-vector.h, idx-vector.cc: Add constructors for bool and | |
7665 boolMatrix types. | |
7666 (idx_vector::maybe_convert_one_zero_to_idx, | |
7667 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): | |
7668 Delete second arg, prefer_zero_one. Change all callers. | |
7669 | |
7670 * boolMatrix.h, boolMatrix.cc: New files. | |
7671 * mx-base.h: Include boolMatrix.h here. | |
7672 * mx-defs.h: Provide forward declaration for boolMatrix here. | |
7673 | |
7674 * chMatrix.h, chMatrix.cc: Delete unused junk. | |
7675 | |
7676 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, | |
7677 operator-, operator*, product, and quotient functions. | |
7678 Add constructor for boolMatrix type. | |
7679 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, | |
7680 product, and quotient functions. | |
7681 | |
7682 * CDiagMatrix.h: Delete friend declarations for operator+, | |
7683 operator-, and product functions. | |
7684 * CDiagMatrix.h: Delete operator+, operator-, and product functions. | |
7685 | |
7686 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. | |
7687 | |
2815 | 7688 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7689 | |
7690 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. | |
7691 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. | |
7692 (EIG::symmetric_init (const Matrix&)): New function. | |
7693 (EIG::init (const Matrix&)): Call it if arg is symmetric. | |
7694 | |
7695 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. | |
7696 | |
7697 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7698 | |
7699 * Array2.cc (is_symmetric): New function. | |
7700 * Array2.h (is_square): New function. | |
7701 | |
2811 | 7702 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7703 | |
7704 * Makefile.in (install-strip): New target. | |
7705 | |
2804 | 7706 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7707 | |
7708 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
7709 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, | |
7710 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
7711 dbleSVD.cc: Don't include mx-inlines.cc. | |
7712 | |
7713 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of | |
7714 duplicate code. | |
7715 | |
2800 | 7716 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7717 | |
2804 | 7718 * dbleQR.h (QR): Delete extra comma at end of list. |
7719 | |
7720 * prog-args.cc (prog_args::getopt): Add missing const in cast. | |
7721 | |
7722 * dbleSVD.h (SVD::type): Delete extra comma at end of list. | |
7723 | |
7724 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and | |
7725 idx_vecotr_rep:: qualifiers. | |
7726 | |
7727 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. | |
7728 | |
7729 * data-conv.h (save_type): Delete extra comma at end of list. | |
7730 | |
2800 | 7731 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
7732 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, | |
7733 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of | |
7734 old C-style `(T) val' casts. | |
7735 | |
2795 | 7736 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7737 | |
7738 * dMatrix.cc (operator >>): Return if an error occurs instead of | |
7739 just breaking out of the innermost loop. | |
7740 * CMatrix.cc (operator >>): Likewise. | |
7741 | |
2779 | 7742 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775 | 7743 |
7744 * Version 2.0.5 released. | |
7745 | |
2767 | 7746 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7747 | |
7748 * CmplxQR.cc (ComplexQR::init): New function. | |
7749 (ComplexQR::ComplexQR): Use it. Use initializer list too. | |
7750 * CmplxQRP.cc (ComplexQRP::init): New function. | |
7751 Get sizes right in all cases. | |
7752 (ComplexQR::ComplexQRP): Use it. Use initializer list too. | |
7753 | |
7754 * dbleQR.cc (QR::init): New function. | |
7755 (QR::QR): Use it. Use initializer list too. | |
7756 * dbleQRP.cc (QRP::init): New function. | |
7757 Get sizes right in all cases. | |
7758 (QR::QRP): Use it. Use initializer list too. | |
7759 | |
2759 | 7760 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7761 | |
7762 * mach-info.cc (oct_mach_info::string_to_float_format): | |
7763 Recognize "vaxg", not "vax_g". | |
7764 | |
2713 | 7765 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7766 | |
2714 | 7767 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
7768 dimension in check for colon equivalent index. | |
7769 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element | |
7770 index whose value is 0 is also colon eqivalent for n == 1. | |
7771 | |
2713 | 7772 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
7773 system-specific tests first. | |
7774 | |
2709 | 7775 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702 | 7776 |
7777 * Version 2.0.4 released. | |
7778 | |
7779 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7780 | |
7781 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. | |
7782 | |
2693 | 7783 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690 | 7784 |
7785 * Version 2.0.3 released. | |
7786 | |
2686 | 7787 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7788 | |
7789 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. | |
7790 | |
2673 | 7791 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7792 | |
2676 | 7793 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
7794 (all): Don't depend on stamp-prereq or stamp-picdir. | |
7795 (liboctave.a, stamp-shared): Do depend on stamp-prereq. | |
7796 (stamp-picdir): Silence noise about making pic. | |
7797 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. | |
7798 | |
2673 | 7799 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
7800 Fix typo in last change. | |
7801 | |
7802 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): | |
7803 Convert from friend (moved from dColVector.cc). | |
7804 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): | |
7805 Likewise (moved from dMatrix.cc). | |
7806 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): | |
7807 Likewise (moved from dRowVector.cc). | |
7808 | |
7809 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. | |
7810 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. | |
7811 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. | |
7812 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. | |
7813 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. | |
7814 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. | |
7815 | |
7816 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. | |
7817 * dMatrix.cc (Matrix::apply): Likewise. | |
7818 * dRowVector.cc (RowVector::apply): Likewise. | |
7819 * CColVector.cc (ComplexColumnVector::apply): Likewise. | |
7820 * CMatrix.cc (ComplexMatrix::apply): Likewise. | |
7821 * CRowVector.cc (ComplexRowVector::apply): Likewise. | |
7822 | |
2668 | 7823 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7824 | |
7825 * lo-ieee.cc: Declare quiet_nan() and infinity(). | |
7826 | |
7827 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7828 | |
7829 * file-ops.cc (oct_unlink (const string&, string&)): | |
7830 New two-arg version. | |
7831 (oct_rmdir (const string&, string&)): New two-arg version. | |
7832 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. | |
7833 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. | |
7834 (oct_rename (const string&, const string&, string&)): | |
7835 New three-arg version. | |
7836 | |
2663 | 7837 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7838 | |
7839 * idx-vector.h (idx_vector::orig_empty): New function. | |
7840 | |
7841 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): | |
7842 Don't always resize to [](0x0) if one of the indices is empty or | |
7843 zero. | |
7844 | |
2658 | 7845 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7846 | |
7847 * cmd-hist.cc (command_history::read): New arg, must_exist. | |
7848 Set line_in_file here too. | |
7849 (command_history::read_range): New arg, must_exist. | |
7850 | |
2651 | 7851 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7852 | |
7853 * f2c-main.c: Change C++-style comments to C-style comments. | |
7854 | |
2638 | 7855 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7856 | |
7857 * Makefile.in (install-inc): Create a relative symbolic link. | |
7858 | |
2634 | 7859 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7860 | |
7861 * Version 2.0.2 released. | |
7862 | |
2624 | 7863 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7864 | |
7865 * Makefile.in (bin-dist): New target. | |
7866 | |
2621 | 7867 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7868 | |
7869 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. | |
7870 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. | |
7871 | |
2613 | 7872 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7873 | |
7874 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
7875 If the number of columns is zero, also set the number of rows to zero. | |
7876 (charMatrix::charMatrix (const char *)): Likewise. | |
7877 | |
2602 | 7878 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7879 | |
7880 * Version 2.0.1 released. | |
7881 | |
2601 | 7882 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7883 | |
7884 * dMatrix.cc (Matrix::read): Correctly compute the number of | |
7885 columns for resizing when the number of rows is specified but the | |
7886 number of columns is not. | |
7887 | |
2598 | 7888 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7889 | |
2599 | 7890 * Range.cc (operator -): New function. |
7891 | |
2598 | 7892 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
7893 | |
2589 | 7894 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7895 | |
7896 * Array2-idx.h (assign): Delay resizing left hand side until we | |
7897 know if the assignment conforms. | |
7898 | |
2583 | 7899 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7900 | |
7901 * Version 2.0 released. | |
7902 | |
2570 | 7903 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7904 | |
2575 | 7905 * Array2-idx.h (assign): If index is a colon, set number of |
7906 elements to the lhs dimension if the lhs dimension is greater than | |
7907 zero. Otherwise, set it to the rhs dimension. | |
7908 | |
7909 * Version 1.94. | |
7910 | |
2570 | 7911 * Array2-idx.h (assign): Test for rhs scalar case first. |
7912 If index is colon, set number of elements to lhs dimension, not | |
7913 rhs dimension. | |
7914 | |
2563 | 7915 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7916 | |
2566 | 7917 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
7918 * sun-utils.cc: Delete. | |
7919 * f2c-main.c: New file | |
7920 | |
7921 * Makefile.in: Fix file name lists. | |
7922 | |
2563 | 7923 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
7924 | |
2561 | 7925 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7926 | |
7927 * dMatrix.cc (Qzval): Don't try to use same memory three times. | |
7928 Create result using Complex constructor, not multiplication. | |
7929 Order elements as they are returned from Eispack. | |
7930 | |
2559 | 7931 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7932 | |
2560 | 7933 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
7934 Only include nan.h if SCO is defined. Define _IEEE before | |
7935 including it and undefine it afterward. | |
7936 [SCO] (isnan): Don't mistake Inf as NaN. | |
7937 | |
2559 | 7938 * Array-idx.h (assign): Only resize if assignment conforms. |
7939 | |
2551 | 7940 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7941 | |
7942 * Makefile.in (INCLUDES): Delete lo-error.h. | |
7943 * lo-error.h: Delete (moved to libcruft/misc). | |
7944 | |
7945 * Version 1.93. | |
7946 | |
2546 | 7947 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7948 | |
2549 | 7949 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
7950 be the same as they are in fnmatch.h. | |
7951 | |
2546 | 7952 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
7953 | |
7954 * Makefile.in (INCLUDES): Delete f77-fcn.h. | |
7955 (SOURCES): Delete f77-fcn.c. | |
7956 | |
2522 | 7957 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7958 | |
7959 * lo-ieee.h: [SCO]: Declare isinf and isnan. | |
7960 | |
2512 | 7961 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7962 | |
7963 * Version 1.92. | |
7964 | |
2508 | 7965 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7966 | |
2512 | 7967 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
7968 lines that have only carriage return or newline. | |
7969 | |
2508 | 7970 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
7971 | |
2500 | 7972 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7973 | |
7974 * idx-vector.cc (idx_is_inf_or_nan): New function. | |
7975 (IDX_VEC_REP::idx_vector_rep): Use it. | |
7976 | |
2493 | 7977 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7978 | |
7979 * str-vec.h, str-vec.cc: Add constructors to make string vectors | |
7980 from vectors of C strings. | |
7981 | |
7982 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string | |
7983 vector. | |
7984 (glob_match::match): Allow match string to be a string vector. | |
7985 (glob_match::glob): New function. | |
7986 | |
7987 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. | |
7988 | |
7989 * Array-b.cc: New file. | |
7990 * Makefile.in (TI_SRC): Add it to the list. | |
7991 | |
2492 | 7992 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7993 | |
7994 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h | |
7995 and safe-stat.h, to avoid getting them from $srcdir when we really | |
7996 want the version from the build directory. (Maybe this should be | |
7997 done for all the include files, not just those that are | |
7998 auto-generated? Hmm.) | |
7999 | |
2481 | 8000 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8001 | |
2482 | 8002 * Version 1.91. |
8003 | |
2481 | 8004 * Array3.cc (Array3<T>::resize): Make it work. |
8005 | |
8006 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8007 | |
8008 * oct-alloc.h, oct-alloc.cc: New files. | |
8009 * Makefile.in: Add them to the lists. | |
8010 | |
8011 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8012 | |
8013 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. | |
8014 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. | |
8015 | |
2466 | 8016 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8017 | |
8018 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, | |
8019 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
8020 file_stat::is_reg, file_stat::is_sock): Just return false if the | |
8021 underlying macro is not defined. | |
8022 | |
8023 * oct-math.h (lgamma, gamma): Delete declarations. | |
8024 (asinh, acosh, atanh, erf, erfc): Declare arg types too. | |
8025 Protect declarations with #ifdef HAVE_*. | |
8026 | |
2440 | 8027 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8028 | |
2452 | 8029 * Version 1.90. |
8030 | |
8031 * Makefile.in (DISTFILES): Add ChangeLog. | |
8032 | |
2444 | 8033 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
8034 | |
8035 * Matrix-ext.cc: Include <cfloat>, not <float.h>. | |
8036 | |
2443 | 8037 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444 | 8038 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
8039 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. | |
2443 | 8040 |
2440 | 8041 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
8042 since that is now accepatble syntax, even for built-in types. | |
8043 * Array2.h (T Array2<T>::checkelem): Likewise | |
8044 | |
2433 | 8045 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8046 | |
8047 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error | |
8048 message and return -1. | |
8049 | |
2428 | 8050 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8051 | |
2431 | 8052 * str-vec.h (str_vec_compare): Declare args as const void *, then |
8053 cast them to const string * in the body of the function. | |
8054 | |
8055 * file-ops.cc (file_stat::mode_as_string): Explicitly construct | |
8056 string from buf. | |
8057 | |
2428 | 8058 * Array3.h (Array3::checkelem): Tag bogus return value with |
8059 GCC_ATTRIBUTE_UNUSED. | |
8060 * Array2.h (Array2::checkelem): Likewise. | |
8061 | |
2424 | 8062 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8063 | |
8064 * Quad.h (Quad): Define virtual destructor. | |
8065 | |
2408 | 8066 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8067 | |
8068 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. | |
8069 | |
2401 | 8070 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8071 | |
8072 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ | |
8073 and MAIN__ extern "C". | |
8074 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. | |
8075 | |
2391 | 8076 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8077 | |
8078 * MArray-misc.cc: New file. | |
8079 * Makefile.in (MATRIX_SRC): Add it to the list. | |
8080 | |
8081 * mx-inlines.cc (equal): Return bool, not int. | |
8082 | |
8083 * idx-vector.h (idx_vector (double)): New constructor. | |
8084 | |
8085 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, | |
8086 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, | |
8087 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, | |
8088 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, | |
8089 CRowVector.cc: Logical operators return bool, not int. | |
8090 | |
8091 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): | |
8092 New function. | |
8093 | |
8094 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, | |
8095 Matrix::any_element_is_inf_or_nan, Matrix::abs, | |
8096 Matrix::all_elements_are_inf_or_nan): New functions. | |
8097 | |
8098 * Range.h, Range.cc (Range::all_elements_are_ints): New function. | |
8099 | |
8100 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant | |
8101 for errors. Simplify macros by converting FCN to string for error | |
8102 messages. | |
8103 | |
8104 * Array-idx.h (Array<T>::index): New function. Don't call | |
8105 clear_index() here. | |
8106 (Array<T>::value): Call it, do call clear_index() here. | |
8107 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for | |
8108 one and two arg index functions. | |
8109 | |
8110 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8111 | |
8112 * DAEFunc.h: Delete #pragma interface since there is no longer a | |
8113 separate implementation file. | |
8114 | |
2354 | 8115 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8116 | |
2358 | 8117 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
8118 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. | |
8119 | |
2356 | 8120 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
8121 sort_uniq. If sort_uniq is nonzero, sort the elements and make | |
8122 them uniq. | |
8123 | |
2354 | 8124 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
8125 ComplexMatrix::column_max, ComplexMatrix::column_min): | |
8126 Rewrite. Also return index as a reference arg. | |
8127 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, | |
8128 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): | |
8129 Delete. | |
8130 | |
8131 * dMatrix.cc (Matrix::row_max, Matrix::row_min, | |
8132 Matrix::column_max, Matrix::column_min): | |
8133 Rewrite. Also return index as a reference arg. | |
8134 (Matrix::row_max_loc, Matrix::row_min_loc, | |
8135 Matrix::column_max_loc, Matrix::column_min_loc): Delete. | |
8136 | |
8137 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8138 | |
8139 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, | |
8140 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, | |
8141 Matrix::column_min_loc, Matrix::column_max, | |
8142 Matrix::column_max_loc): Ignore leading NaNs. | |
8143 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, | |
8144 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, | |
8145 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, | |
8146 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore | |
8147 leading NaNs. | |
8148 | |
2352 | 8149 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8150 | |
8151 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds | |
8152 starting at n, not 0. | |
8153 | |
2349 | 8154 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8155 | |
8156 * dMatrix.cc (Matrix::Matrix (const RowVector&), | |
8157 Matrix::Matrix (const ColumnVector&)): New constructors. | |
8158 | |
8159 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), | |
8160 ComplexMatrix::ComplexMatrix (const ColumnVector&), | |
8161 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), | |
8162 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): | |
8163 New constructors. | |
8164 | |
8165 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): | |
8166 New constructor. | |
8167 | |
2343 | 8168 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8169 | |
8170 * LSODE.cc (do_integrate): Check to make sure that the state and | |
8171 derivative vectors are the same size. | |
2344 | 8172 * DASSL.cc (do_integrate): Likewise. |
2343 | 8173 |
2330 | 8174 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8175 | |
8176 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use | |
8177 iostreams and handler data format conversions. Delete old methods | |
8178 that used stdio. | |
8179 | |
8180 * data-conv.h, data-conv.cc (oct_data_conv): New class. | |
8181 | |
8182 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8183 | |
8184 * mach-info.h: Rename from float-fmt.h. | |
8185 * mach-info.cc: Rename from float-fmt.cc. | |
8186 Handle machine information using a singlton class. | |
8187 * Makefile.in: Update appropriate lists. | |
8188 | |
8189 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8190 | |
8191 * Array-flags.cc: Provide definitions for the flags even if | |
8192 OCTAVE_SOURCE is not defined. | |
8193 | |
8194 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects | |
8195 operator(), not elem(). | |
8196 * Array3.h: Move indexing methods here from Array3.cc. | |
8197 | |
8198 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8199 | |
8200 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). | |
8201 | |
8202 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of | |
8203 INSTALL_DATA for shared libs. | |
8204 | |
8205 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8206 | |
8207 * Quad.cc: Include lo-error.h here too. | |
8208 | |
8209 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8210 | |
8211 * file-ops.h: Include sys/types.h here. | |
8212 | |
8213 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8214 | |
8215 * chMatrix.cc (charMatrix::transpose): Provide definition. | |
8216 | |
8217 * Array-idx.h (maybe_delete_elements): Correctly compute number of | |
8218 elements in result. | |
8219 * Array2-idx.h (maybe_delete_elements): Likewise for number of | |
8220 rows and columns in result. | |
8221 | |
8222 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8223 | |
8224 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. | |
8225 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. | |
8226 | |
8227 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8228 | |
8229 * Makefile.in (install-inc): Install in octincludedir, not includedir. | |
8230 | |
8231 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8232 | |
8233 * Makefile.in (uninstall): Also delete shared library. | |
8234 Split install into install-libs and install-includes. | |
8235 (install-inc): If linkdir is a directory, leave it alone. | |
8236 | |
8237 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. | |
8238 | |
8239 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8240 | |
8241 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. | |
8242 * Array2-idx.h (assign): Likewise. | |
8243 | |
8244 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8245 | |
8246 * Array2.cc (Array2<T>::range_error): New functions. | |
8247 | |
8248 * Array.h (class Array<T>): elem() and operator() are now | |
8249 equivalent, and do bounds checking by default. | |
8250 * Array2.cc (class Array2<T>): Likewise. | |
8251 | |
8252 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8253 | |
8254 * Makefile.in (maintainer-clean, distclean): Also delete | |
8255 stamp-picdir, stamp-shared, and pic directory. | |
8256 (stamp-prereq): New target. | |
8257 | |
8258 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8259 | |
8260 * NPSOL.h (NPSOL_options::set_option (const char *, int)): | |
8261 New function. | |
8262 | |
8263 * Array.h, Array.cc (Array<T>::range_error ()): New functions. | |
8264 * Array.h (Array<T>::checkelem): Use them. | |
8265 | |
8266 * base-lu.h, base-lu.cc: Parameterize based on types of matrix | |
8267 elements too. | |
8268 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. | |
8269 | |
8270 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. | |
8271 | |
8272 * Makefile.in (distclean): Delete so_locations, which is created | |
8273 on DEC Alpha systems. | |
8274 | |
8275 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8276 | |
8277 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not | |
8278 already defined. | |
8279 | |
8280 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8281 | |
8282 * pathsearch.cc: Include config.h. | |
8283 | |
8284 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8285 | |
8286 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't | |
8287 allow M(I, J) = scalar if I or J is empty. | |
8288 | |
8289 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h | |
8290 and Array3-idx.h). | |
8291 | |
8292 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8293 | |
8294 * lo-error.h: Make comments C friendly. | |
8295 | |
8296 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8297 | |
8298 * Array2.h (make_unique): Move all indexing functions here. | |
8299 * Array2.cc: From here. | |
8300 | |
8301 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control | |
8302 whether operator() calls elem or checkelem. | |
8303 | |
8304 * Array.h (make_unique): New private function. | |
8305 Move all indexing functions here. | |
8306 * Array.cc: From here. | |
8307 | |
8308 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference | |
8309 it too. | |
8310 | |
8311 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, | |
8312 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, | |
8313 MArray-C.cc: Include config.h. | |
8314 | |
8315 * Array.h, Array2.h, DiagArray2.h, Array3.h: | |
8316 Don't define HEAVYWEIGHT_INDEXING here. | |
8317 | |
8318 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8319 | |
8320 * base-lu.h, base-lu.cc: New files. | |
8321 * Makefile.in: Add them to the appropriate lists. | |
8322 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. | |
8323 | |
8324 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8325 | |
8326 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h | |
8327 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h | |
8328 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. | |
8329 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. | |
8330 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. | |
8331 | |
8332 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. | |
8333 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. | |
8334 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. | |
8335 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: | |
8336 Simplify using new macros. | |
8337 | |
8338 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8339 | |
8340 * Makefile.in (install): If $(includedir) ends in version string, | |
8341 make link to name that does not include version info. | |
8342 | |
8343 * lo-ieee.cc: Include <cmath> here. | |
8344 | |
8345 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8346 | |
8347 * lo-ieee.cc, lo-ieee.h: New files. | |
8348 * lo-mappers.cc, lo-mappers.h: New files. | |
8349 * lo-utils.cc, lo-utils.h: New files. | |
8350 * Makefile.in: Add them to the appropriate lists. | |
8351 | |
8352 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8353 | |
8354 * dMatrix.cc (all_integers, too_large_for_float): New functions. | |
8355 * CMatrix.cc (all_integers, too_large_for_float): New functions. | |
8356 | |
8357 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, | |
8358 float-fmt.cc: New files. | |
8359 * Makefile.in: Include them in the appropriate lists. | |
8360 | |
8361 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8362 | |
8363 * dMatrix.cc (Qzval): New function. | |
8364 | |
8365 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8366 | |
8367 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not | |
8368 char*. | |
8369 | |
8370 * DASSL.h, DASSL.cc: Do better management of temporary workspace. | |
8371 Use F77_XFCN to call Fortran subroutine. | |
8372 * dColVector.cc, CColVector.cc: Likewise. | |
8373 * dRowVector.cc, CRowVector.cc: Likewise. | |
8374 * NPSOL.h, NPSOL.cc: Likewise. | |
8375 * CmplxCHOL.cc: Likewise. | |
8376 * dbleCHOL.cc: Likewise. | |
8377 * CMatrix.cc: Likewise. | |
8378 * dMatrix.cc: Likewise. | |
8379 * QPSOL.cc: Likewise. | |
8380 * LSODE.cc: Likewise. | |
8381 | |
8382 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8383 | |
8384 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. | |
8385 | |
8386 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary | |
8387 workspace. Use F77_XFCN to call Fortran subroutine. | |
8388 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. | |
8389 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. | |
8390 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. | |
8391 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. | |
8392 * CmplxHESS.h, CmplxHESS.cc: Likewise. | |
8393 * CmplxSVD.h, CmplxSVD.cc: Likewise. | |
8394 * dbleHESS.h, dbleHESS.cc: Likewise. | |
8395 * dbleSVD.h, dbleSVD.cc: Likewise. | |
8396 * EIG.h, EIG.cc; Likewise. | |
8397 * CollocWt.cc: Likewise. | |
8398 * NLEqn.cc: Likewise. | |
8399 * Quad.cc: Likewise. | |
8400 | |
8401 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8402 | |
8403 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. | |
8404 Use F77_XFCN to call Fortran subroutine. | |
8405 * CmplxLU.h, CmplxLU.cc: Ditto. | |
8406 * dbleQR.h, dbleQR.cc: Ditto. | |
8407 * CmplxQR.h, CmplxQR.cc: Ditto. | |
8408 * dbleQRP.h, dbleQRP.cc: Ditto. | |
8409 * CmplxQRP.h, CmplxQRP.cc: Ditto. | |
8410 | |
8411 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. | |
8412 (struct DIR): delete forward declaration. | |
8413 (dir_entry::operator = (const dir_entry$)): Protect against | |
8414 copying same object. | |
8415 * dir-ops.cc: Cast dir appropriately. | |
8416 | |
8417 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8418 | |
8419 * lo-error.cc: Moved to libcruft/misc. | |
8420 * Makefile.in: Delete it from the list. | |
8421 | |
8422 * f77-fcn.c (f77_context, f77_exception_encountered): Delete | |
8423 definitions (they have been moved to libcruft/misc/f77-extern.cc). | |
8424 | |
8425 * Array-flags.h: New file. | |
8426 * Array-idx.h: Include it here. | |
8427 * Makefile.in (MATRIX_INC): Add it to the list. | |
8428 | |
8429 * Array-flags.cc: Renamed from Array-ext.cc. | |
8430 (liboctave_dfi_flag): Renamed from dfi_flag. | |
8431 (liboctave_pcv_flag): Renamed from pcv_flag. | |
8432 (liboctave_pzo_flag): Renamed from pzo_flag. | |
8433 (liboctave_rre_flag): Renamed from rre_flag. | |
8434 * Array-idx.h: Change all uses of dfi_flag, etc. | |
8435 * Makefile.in (MATRIX_SRC): Change file name here too. | |
8436 | |
8437 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. | |
8438 (stamp-shared): Use them here. | |
8439 | |
8440 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8441 | |
8442 * cmd-hist.cc (command_history::ignore_entries): Delete default | |
8443 argument value. | |
8444 | |
8445 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8446 | |
8447 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, | |
8448 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, | |
8449 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, | |
8450 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: | |
8451 Clean up constructors, assigment operator. | |
8452 | |
8453 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8454 | |
8455 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. | |
8456 Check f77_exception_encountered on return. | |
8457 | |
8458 * f77-fcn.c (f77_exception_encountered): New variable. | |
8459 (F77_XFCN): Set it. | |
8460 * f77-fcn.h: Provide declaration. | |
8461 | |
8462 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). | |
8463 | |
8464 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). | |
8465 | |
8466 * NLEqn.h (NLEqn_options::set_options): New function. | |
8467 * Quad.h (Quad_options::set_options): Likewise. | |
8468 | |
8469 * LP.h (class LP): Add accessors for LP data. | |
8470 | |
8471 * NLEqn.h (NLEqn::n): Delete. | |
8472 | |
8473 * NLEqn.h (class NLEqn::n): Likewise. | |
8474 | |
8475 * NLP.h (class NLP): Add accessors for NLP data. | |
8476 | |
8477 * NPSOL.h (class NPSOL_options): Move constructors, set, and | |
8478 access functions here. | |
8479 * NPSOL.cc.cc: From here. | |
8480 | |
8481 * QLD.h (class QLD): Add destructor definition. | |
8482 * Objective.h (class Objective): Likewise. | |
8483 * ODEFunc.h (class ODEFunc): Likewise. | |
8484 * NLFunc.h (class NLFunc): Likewise. | |
8485 * NLEqn.h (class NLEqn): Likewise. | |
8486 * NLConst.h (class NLConst): Likewise. | |
8487 * LinConst.h (class LinConst): Likewise. | |
8488 * LSODE.h (class LSODE_options): Likewise. | |
8489 * CollocWt.h (class CollocWt): Likewise. | |
8490 * Bounds.h (class Bounds): Likewise. | |
8491 | |
8492 * QLD.cc (QLD::set_default_options): Delete. | |
8493 | |
8494 * QP.h (QP): Add accessors for QP data. | |
8495 Add copy constructor, operator =, and destructor definitions. | |
8496 | |
8497 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, | |
8498 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, | |
8499 DAEFunc.h, CollocWt.h, Bounds.h: | |
8500 Clean up constructors, assigment operator. | |
8501 | |
8502 * dRowVector.cc (RowVector::transpose): Use magic of reference | |
8503 counting to avoid duplicating the data immediately. | |
8504 * dColVector.cc (ColumnVector::transpose): Likewise. | |
8505 * CRowVector.cc (ComplexrowVector::transpose): Likewise. | |
8506 * CColVector.cc (ComplexColumnVector::transpose): Likewise. | |
8507 | |
8508 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8509 | |
8510 * prog-args.h (prog_args::option_argument): New enum. | |
8511 | |
8512 * f77-fcn.h: Rename from f77-uscore.h. | |
8513 (F77_XFCN_ERROR, F77_XFCN): New macros. | |
8514 * f77-fcn.c: New file. | |
8515 * Makefile.in (SOURCES): Add it to the list. | |
8516 | |
8517 * ODEFunc.h: Clean up. | |
8518 | |
8519 * DASSL.cc, DASSL.h: New files. | |
8520 * Makefile.in: Add them to the appropriate lists. | |
8521 | |
8522 * LSODE.cc, LSODE.h: New files. | |
8523 * Makefile.in: Add them to the appropriate lists. | |
8524 | |
8525 * ODE.cc: Delete. | |
8526 * Makefile.in (SOURCES): Remove from list. | |
8527 | |
8528 * base-de.h, DAE.cc: New files. | |
8529 * Makefile.in: Add them to the appropriate lists. | |
8530 * ODE.h: Only define interface for ODE classes. | |
8531 * DAE.h: Only define interface for ODE classes. | |
8532 | |
8533 * LPsolve.cc (do_minimize): Print sorry not implemented message. | |
8534 (LPsolve::set_default_options)): Delete | |
8535 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and | |
8536 destructor. | |
8537 | |
8538 * LP.h (class LP): Add operator =, copy constructor, and destructor. | |
8539 | |
8540 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. | |
8541 (QPSOL::operator =): Call base class operator = instead of assuming | |
8542 we know what to copy. | |
8543 | |
8544 * base-min.h (size): New function. | |
8545 | |
8546 * NLP.h (NLP::size): Delete. | |
8547 (NLP::NLP (const NLP&)): New constructor. | |
8548 (NLP::operator =): Call base class operator = instead of assuming | |
8549 we know what to copy. | |
8550 | |
8551 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. | |
8552 (class NPSOL): Add operator = and destructor. | |
8553 | |
8554 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. | |
8555 | |
8556 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8557 | |
8558 * Makefile.in (liboctave.a): Depend on $(PICOBJ). | |
8559 | |
8560 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8561 | |
8562 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. | |
8563 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. | |
8564 | |
8565 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8566 | |
8567 * prog-args.h, prog-args.cc: New files. | |
8568 * Makefile.in: Add them to lists. | |
8569 | |
8570 * getopt.h, getopt.c, getopt1.c: New files. | |
8571 * Makefile.in: Add them to the lists. | |
8572 | |
8573 * oct-term.h, oct-term.cc: New files. | |
8574 * Makefile.in: Add them to the lists. | |
8575 | |
8576 * str-vec.cc: New file. | |
8577 * Makefile.in (SOURCES): Add it to the list. | |
8578 | |
8579 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. | |
8580 | |
8581 * tempname.c, tempnam.c: Move here from src directory. | |
8582 * Makefile.in: Add to lists. | |
8583 | |
8584 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8585 | |
8586 * cmd-hist.h, cmd-hist.cc: New files. | |
8587 * Makefile.in: Add them to lists. | |
8588 | |
8589 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8590 | |
8591 * oct-glob.h, oct-glob.cc: New files. | |
8592 * Makefile.in: Add them to lists. | |
8593 | |
8594 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8595 | |
8596 * pathsearch.h, pathsearch.cc: New files. | |
8597 * Makefile.in: Add them to lists. | |
8598 | |
8599 * dir-ops.h, dir-ops.cc: New files. | |
8600 * sysdir.h: Move here from src directory. | |
8601 * Makefile.in: Add them to lists. | |
8602 | |
8603 * Array.h (Array::qsort): Return *this, not void. | |
8604 * str-vec.h (string_vector::qsort): Likewise. | |
8605 | |
8606 * chMatrix.cc (row_as_string): Resize result to eliminate | |
8607 unnecessary NULs. | |
8608 | |
8609 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8610 | |
8611 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, | |
8612 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: | |
8613 Files moved here from src directory. | |
8614 * Makefile.in: Add them to lists. Include appropriate rules. | |
8615 | |
8616 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
8617 Use pointers, not references (this is C code!). | |
8618 | |
8619 * oct-math.h: New file. | |
8620 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
8621 Files moved here from src directory. | |
8622 * Makefile.in: Add them to lists. | |
8623 | |
8624 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8625 | |
8626 * idx-vector.cc (make_uniq): Fix major brain-o. | |
8627 | |
8628 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: | |
8629 Convert to use string class instead of char*. | |
8630 | |
8631 * str-vec.h, Array-str.cc: New files. | |
8632 | |
8633 * Array.h (Array::qsort): New function. | |
8634 | |
8635 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8636 | |
8637 * Array.h: Nest ArrayRep class inside Array class. | |
8638 Refer to ArrayRep, not ArrayRep<T>. | |
8639 Move all ArrayRep functions inline. | |
8640 Don't declare other Array classes as friends of ArrayRep. | |
8641 * Array.cc: Delete ArrayRep functions. | |
8642 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. | |
8643 | |
8644 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: | |
8645 Don't instantiate ArrayRep objects. | |
8646 | |
8647 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8648 | |
8649 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
8650 New constructor. | |
8651 | |
8652 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8653 | |
8654 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* | |
8655 for balance_job arg. | |
8656 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. | |
8657 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. | |
8658 | |
8659 * chMatrix.cc (row_as_string): Return string, not const char*. | |
8660 | |
8661 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8662 | |
8663 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. | |
8664 | |
8665 * chMatrix.cc (row_as_string): Undo previous change. | |
8666 | |
8667 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8668 | |
8669 * chMatrix.cc (row_as_string): Do memory management here. Caller | |
8670 is expected to save string if necessary. | |
8671 | |
8672 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8673 | |
8674 * Array.h (class DiagArray): Enable nested Proxy class for all | |
8675 platforms. | |
8676 | |
8677 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == | |
8678 a.rep, don't mess with count. | |
8679 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, | |
8680 don't do anything if reps are the same. | |
8681 (Array3<T>& operator = (const Array3<T>&) | |
8682 | |
8683 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): | |
8684 Declare private with no definition to prevent misuse. | |
8685 | |
8686 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): | |
8687 Get range check right. | |
8688 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. | |
8689 (Matrix::insert (const ColumnVector&, int, int)): Ditto. | |
8690 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. | |
8691 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. | |
8692 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. | |
8693 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. | |
8694 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. | |
8695 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. | |
8696 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. | |
8697 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. | |
8698 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. | |
8699 * dColVector.cc | |
8700 (ColumnVector::insert (const ColumnVector&, int)): Ditto. | |
8701 * CRowVector.cc | |
8702 (ComplexRowVector::insert (const RowVector&, int)): Ditto. | |
8703 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. | |
8704 * CColVector.cc | |
8705 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. | |
8706 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. | |
8707 | |
8708 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): | |
8709 Also fill in zeros, not just the diagonal. | |
8710 | |
8711 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): | |
8712 Use END parameter properly. | |
8713 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. | |
8714 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. | |
8715 | |
8716 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. | |
8717 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. | |
8718 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): | |
8719 Don't copy count. Set it to 1. | |
8720 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. | |
8721 | |
8722 * Array.h (Array<T>::Array (T *, int)): After constructing rep, | |
8723 don't set rep->count to 1 here (now handled by ArrayRep | |
8724 constructors). | |
8725 (Array<T>::Array (void)): Ditto. | |
8726 (Array<T>::Array (int)): Ditto. | |
8727 (Array<T>::T& elem (int)): Ditto. | |
8728 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. | |
8729 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. | |
8730 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. | |
8731 (Array<T>::resize (int)): Ditto. | |
8732 (Array<T>::resize (int, const T&)) :Ditto. | |
8733 (Array<T>::fortran_vec (void)): Ditto. | |
8734 (Array2<T>::resize (int, int)): Ditto. | |
8735 (Array2<T>::resize (int, int, const T&)): Ditto. | |
8736 (DiagArray<T>::resize (int, int)): Ditto. | |
8737 (DiagArray<T>::resize (int, int, const T&)): Ditto. | |
8738 | |
8739 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8740 | |
8741 * Array-ch.cc: Rename from Array-c.cc. | |
8742 * MArray-ch.cc: Rename from MArray-c.cc. | |
8743 * chMatrix.cc: Rename from cMatrix.cc. | |
8744 * chMatrix.h: Rename from cMatrix.h. | |
8745 * Makefile.in (TI_SRC): Use new names here. | |
8746 * mx-base.h: Likewise. | |
8747 | |
8748 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8749 | |
8750 * Makefile.in: Handle shared libraries. | |
8751 | |
8752 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8753 | |
8754 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): | |
8755 Correctly compute length of return value. Correct rows and | |
8756 columns in zgemv call. | |
8757 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. | |
8758 | |
8759 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8760 | |
8761 * Makefile.in (stamp-picdir): New target. | |
8762 (all): Depend on it. | |
8763 | |
8764 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8765 | |
8766 * Makefile.in (INCLUDES): Remove QLD.h. | |
8767 (SOURCES): Remove QLD.cc. | |
8768 | |
8769 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8770 | |
8771 * dMatrix.cc (Matrix::inverse): New arg, force. | |
8772 If force is nonzero, invert even if matrix is singular. | |
8773 (ComplexMatrix::inverse): Likewise. | |
8774 | |
8775 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, | |
8776 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, | |
8777 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: | |
8778 Include "oct-cmplx.h" instead of <Complex.h>. | |
8779 | |
8780 * mx-defs.h: Include oct-cmplx.h in place of forward declaration | |
8781 for class Complex. | |
8782 | |
8783 * oct-cmplx.h: New file. | |
8784 * Makefile.in (INCLUDES): Add it to the list. | |
8785 | |
8786 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. | |
8787 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. | |
8788 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. | |
8789 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): | |
8790 Avoid g++ bugs. | |
8791 | |
8792 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8793 | |
8794 * Array-idx.h (maybe_delete_elements): Give useful error message. | |
8795 | |
8796 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. | |
8797 | |
8798 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8799 | |
8800 * CDiagMatrix.cc (inverse): Return retval, not *this. | |
8801 * dDiagMatrix.cc (inverse): Use same method as for Complex case. | |
8802 | |
8803 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8804 | |
8805 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep | |
8806 index vector object with Array, not ArrayRep. | |
8807 | |
8808 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8809 | |
8810 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail | |
8811 if index is a colon and resizing is maybe needed. | |
8812 | |
8813 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8814 | |
8815 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true | |
8816 if we have a vector of 1's. | |
8817 | |
8818 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no | |
8819 current orientation, require index and rhs to conform unless | |
8820 do_fortran_indexing flag is set. | |
8821 | |
8822 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8823 | |
8824 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, | |
8825 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, | |
8826 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, | |
8827 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, | |
8828 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: | |
8829 Massive changes to support additional data types. Only charMatrix | |
8830 is currently used in Octave. | |
8831 | |
8832 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8833 | |
8834 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. | |
8835 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): | |
8836 Simply call Array2<Complex> version. | |
8837 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just | |
8838 call Array2<double> version. | |
8839 | |
8840 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. | |
8841 | |
8842 * Array.h, Array.cc: Massive overhaul to support new way of | |
8843 handling indexing. | |
8844 * idx-vector.h, idx-vector.cc: Likewise. | |
8845 * Array-ext.cc, Array-idx.h: New files. | |
8846 * Makefile.in: Add them to the appropriate lists. | |
8847 | |
8848 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8849 | |
8850 * Range.cc (nelem_internal): Use tfloor here, not round. | |
8851 | |
8852 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8853 | |
8854 * idx-vector.h, idx-vector.cc: New files, moved from ../src. | |
8855 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. | |
8856 | |
8857 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8858 | |
8859 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. | |
8860 | |
8861 * Array.h: Move simple member functions here. | |
8862 * Array.cc: From here. | |
8863 | |
8864 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8865 | |
8866 * Range.cc (tfloor, tceil, round): New static functions. | |
8867 (Range::nelem_internal): Rewrite to use better method. | |
8868 | |
8869 * dbleSVD.h (SVD::type): New item, sigma_only. | |
8870 (type_computed): New var. | |
8871 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): | |
8872 Handle possible error condition. | |
8873 (init): Allow for SVD::sigma_only, save type computed. | |
8874 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): | |
8875 Handle possible error condition. | |
8876 (init): Allow for SVD::sigma_only, save type computed. | |
8877 | |
8878 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8879 | |
8880 * Nearly all non-matrix .h and .cc files: | |
8881 Move short function bodies into class declarations for inlining. | |
8882 Generally clean up. | |
8883 | |
8884 * base-min.h: New file. | |
8885 * LP.h (class LP): Derive from base_minimizer. | |
8886 * QLP.h (class QLP): Derive from base_minimizer. | |
8887 * NLP.h (class NLP): Derive from base_minimizer. | |
8888 * Makefile.in (INCLUDES): Add base-min.h to the list. | |
8889 | |
8890 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, | |
8891 NLFunc.cc, Objective.cc and QP.cc from list. | |
8892 | |
8893 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8894 | |
8895 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. | |
8896 (SCHUR::SCHUR): Delete unused parameter ord. | |
8897 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. | |
8898 | |
8899 * CRowVector.cc | |
8900 (ComplexRowVector::operator+ (const Complex&, const RowVector&), | |
8901 (ComplexRowVector::operator- (const Complex&, const RowVector&), | |
8902 (ComplexRowVector::operator* (const Complex&, const RowVector&), | |
8903 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): | |
8904 Actually do something. | |
8905 | |
8906 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. | |
8907 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. | |
8908 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. | |
8909 | |
8910 * Quad.cc (Quad_options::Quad_options (double, double)): New function. | |
8911 * (Quad::Quad (integrand_fcn, double, double): Properly initialize | |
8912 tolerances. | |
8913 | |
8914 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. | |
8915 * LPsolve.cc (LPsolve::minimize): Likewise. | |
8916 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. | |
8917 * ODE.cc (lsode_f, lsode_j): Likewise. | |
8918 * QPSOL.cc (qphess): Likewise. | |
8919 | |
8920 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8921 | |
8922 * dMatrix.cc: Include <cstring>. | |
8923 | |
8924 * Array.cc: Try harder to avoid warnings from gcc in functions | |
8925 that return bogus values after calling the error handler. | |
8926 | |
8927 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8928 | |
8929 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. | |
8930 | |
8931 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. | |
8932 | |
8933 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8934 | |
8935 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. | |
8936 (dassl_j): Likewise. | |
8937 | |
8938 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, | |
8939 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, | |
8940 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: | |
8941 Update for change in for loop variable scope for gcc 2.7.0. | |
8942 | |
8943 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8944 | |
8945 * Makefile.in: Only include dependency files if $(omit_deps) is | |
8946 not set. | |
8947 | |
8948 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) | |
8949 | |
8950 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h | |
8951 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h | |
8952 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h | |
8953 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h | |
8954 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h | |
8955 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h | |
8956 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h | |
8957 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h | |
8958 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc | |
8959 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc | |
8960 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc | |
8961 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc | |
8962 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc | |
8963 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc | |
8964 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc | |
8965 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc | |
8966 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc | |
8967 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h | |
8968 NLP.h: Use pragma interface/implementation. Don't surround | |
8969 contents in extern "C++". | |
8970 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". | |
8971 | |
8972 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8973 | |
8974 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase | |
8975 identifiers. | |
8976 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
8977 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
8978 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
8979 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
8980 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
8981 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
8982 Quad.cc: Change usage of F77_FCN to match new definition | |
8983 | |
8984 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
8985 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
8986 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
8987 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
8988 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
8989 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
8990 Quad.cc: Where appropriate, declare Fortran subroutines to take | |
8991 args by reference instead of pointer. Change all callers. | |
8992 | |
8993 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8994 | |
8995 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New | |
8996 functions. Make += and -= operators friend functions. | |
8997 | |
8998 * Array.h (Array2::~Array2, Array3::~Array3, | |
8999 DiagArray::~DiagArray): New functions. | |
9000 | |
9001 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9002 | |
9003 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. | |
9004 (MATRIX_INC): Don't distribute mx-kludge.h. | |
9005 | |
9006 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
9007 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
9008 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
9009 dRowVector.h dRowVector.cc: | |
9010 Derive classes from MArray, MArray2, and MDiagArray, not Array, | |
9011 Array2, and DiagArray2. | |
9012 Don't use functions defined in mx-kludge.cc for arithmetic | |
9013 like-type operations on arrays. | |
9014 | |
9015 * MArray.cc: Use the classes defined here like-type mathematical | |
9016 operations on Array objects. Abuse CPP more. | |
9017 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
9018 (EXTRAS): Delete it from this list. | |
9019 | |
9020 * MArray-C.cc, MArray-d.cc: New files. | |
9021 * Makefile.in (TI_SRC): Add them to the list. | |
9022 | |
9023 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9024 | |
9025 * mx-kludge.cc: Abuse CPP even more. | |
9026 | |
9027 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9028 | |
9029 * Objective.h (objective_function): Add missing const. | |
9030 (gradient_function): Likewise. | |
9031 | |
9032 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
9033 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
9034 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
9035 dRowVector.h dRowVector.cc: | |
9036 Reorganize to declare and define friends where they should be, | |
9037 based on the use of private constructors. | |
9038 | |
9039 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9040 | |
9041 * CRowVector.h (linspace): Add declaration. | |
9042 * dRowVector.h (linspace): Likewise. | |
9043 | |
9044 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
9045 Force result of rcond + 1.0 to be stored. | |
9046 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, | |
9047 ComplexMatrix::solve): Likewise. | |
9048 | |
9049 See ChangeLog.1 in the top level directory for earlier changes. |