Mercurial > hg > octave-nkf
annotate liboctave/ChangeLog @ 7872:1b63f8da772d
fix unloading of mex files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 05 Jun 2008 14:41:52 -0400 |
parents | 87865ed7405f |
children | f336dd8e96d0 |
rev | line source |
---|---|
7872 | 1 2008-06-05 John W. Eaton <jwe@octave.org> |
2 | |
3 * oct-shlib.cc (octave_base_shlib::remove): Only dereference | |
4 counter if iterator is valid. | |
5 | |
7814
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
6 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
|
7 |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
8 * 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
|
9 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
|
10 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
|
11 * 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
|
12 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
|
13 * 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
|
14 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
|
15 (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
|
16 (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
|
17 (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
|
18 * 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
|
19 * 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
|
20 (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
|
21 (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
|
22 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
23 2008-06-02 David Bateman <dbateman@free.fr> |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
24 |
7810
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
25 * fCmplxLU.cc (class FloatComplexLU): Correct error in instantiation. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
26 * floatLU.cc (class FloatLU): ditto. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
27 * floatLU.h (class FloatLU): ditto. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
28 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
29 * floatAEPBAL.cc (octave_idx_type FloatAEPBALANCE::init (const |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
30 FloatMatrix&, const std::string&)): Use FloatMatrix to initialize |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
31 balancing_mat. |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
32 |
7809
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
33 * 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
|
34 (MATRIX_SRC): Add fCmplxAEPBAL.cc and floatAEPBAL.cc. |
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
35 |
7805
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
36 2008-05-21 David Bateman <dbateman@free.fr> |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
37 |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
38 * Quad-opts.in: Handle single precision tolerances. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
39 * Quad.cc (float_user_fcn): New static variable. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
40 (quad_float_fcn_ptr): New typedef. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
41 (qagp, quagi): New QUADPACK decls. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
42 (float_user_function): New function. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
43 (DefQuad::do_integrate, IndefQuad::do_integrate): Float versions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
44 (FloatDefQuad::do_integrate, FloatIndefQuad::do_integrate): |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
45 New functions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
46 * Quad.h (class Quad): Handle float type. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
47 (class FloatDefQuad, class FloatIndefQuad): New classes. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
48 |
7799 | 49 2008-05-21 Jaroslav Hajek <highegg@gmail.com> |
50 | |
7804
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
51 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
52 (xcdotc, csyrk, cherk): New F77 decls. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
53 * fMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
54 (operator * (const FloatMatrix&, const FloatMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
55 (get_blas_trans_arg): New function. |
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 (ssyrk): New F77 decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
58 * fCMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
59 (operator * (const FloatComplexMatrix&, const |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
60 FloatComplexMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
61 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
62 |
7803 | 63 * dMatrix.cc, CMatrix.cc, Sparse-op-defs.h: Add missing copyright. |
64 | |
7802
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
65 * 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
|
66 Correct indenting. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
67 (SPARSE_FULL_TRANS_MUL): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
68 (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
|
69 Move OCTAVE_QUIT one level up. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
70 (FULL_SPARSE_MUL_TRANS): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
71 * dSparse.h (mul_trans, trans_mul): Provide decl. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
72 * dSparse.cc (mul_trans, trans_mul): New functions. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
73 * 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
|
74 * 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
|
75 |
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
|
76 * 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
|
77 * 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
|
78 (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
|
79 (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
|
80 * 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
|
81 * 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
|
82 (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
|
83 (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
|
84 |
7799 | 85 * MatrixType.cc (matrix_real_probe, matrix_complex_probe): |
86 New template functions. | |
87 (MatrixType::MatrixType (const Matrix&), | |
88 MatrixType::MatrixType (const FloatMatrix&)): | |
89 just call matrix_real_probe. | |
90 (MatrixType::MatrixType (const ComplexMatrix&), | |
91 MatrixType::MatrixType (const FloatComplexMatrix&)): | |
92 just call matrix_complex_probe. | |
93 | |
94 * MatrixType.cc (MatrixType::MatrixType (matrix_type, bool)): | |
95 add missing test for Unknown. | |
96 | |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
97 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
|
98 |
7797
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
99 * 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
|
100 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
101 (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
|
102 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
103 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
104 * 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
|
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 * 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
|
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 Matrix::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 Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
114 * 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
|
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 |
7796
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
120 * Array.cc: Fix transpose tests. |
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
121 |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
122 * 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
|
123 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
|
124 (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
|
125 * 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
|
126 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
|
127 (FloatGEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
128 * 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
|
129 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
130 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
131 * 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
|
132 (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
|
133 Algebraic eignvalue balancing. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
134 * 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
|
135 (FloatComplexAEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
136 * 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
|
137 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
138 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
139 * 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
|
140 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
|
141 * 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
|
142 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
143 * 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
|
144 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
145 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
146 * 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
|
147 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
|
148 * 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
|
149 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
150 * 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
|
151 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
152 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
153 * 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
|
154 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
|
155 * 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
|
156 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
157 * 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
|
158 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
159 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
160 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
161 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
162 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
|
163 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
|
164 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
165 2008-05-20 David Bateman <dbateman@free.fr> |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
166 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
167 * 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
|
168 transpose to limit the number of cache misses. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
169 (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
|
170 for matrix conjugate transpose. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
171 * 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
|
172 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
173 * DiagArray2.cc (DiagArray2<T> DiagArray2<T>::transpose () const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
174 Specialization for diagonal arrays. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
175 (DiagArray2<T> DiagArray2<T>::transpose (T (*) (const&)) const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
176 Ditto. |
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 * 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
|
179 (MArray<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
180 * 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
|
181 * 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
|
182 * 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
|
183 * MDiagArray2.h (MDiagArray2<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
184 (MDiagArray<T> hermitian <T (*) (const&)) const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
185 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
186 * 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
|
187 * CRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
188 * dColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
189 * dRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
190 * CDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
191 * dDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
192 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
193 * 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
|
194 * fCRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
195 * fColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
196 * fRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
197 * fCDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
198 * fDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
199 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
200 * CDiagMatrix.cc (ComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
201 ComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
202 * dDiagMatrix.cc (DiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
203 * CMatrix.cc (ComplexMatrix::hermitian): 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 * fCDiagMatrix.cc (FloatComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
206 FloatComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
207 * fDiagMatrix.cc (FloatDiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
208 * fCMatrix.cc (FloatComplexMatrix::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 * lo-mappers.cc (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
211 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
212 New mapper functions for single precion values. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
213 * lo-mappers.h (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
214 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
215 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
216 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
217 * CmplxGEBAL.cc (ComplexGEPBALANCE), dbleGEPBAL.cc (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
218 fCmplxGEPBAL.cc (FloatComplexGEPBALANCE), floatGEPBAL.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
219 (FloatGEPBALANCE): New class for generalized eigenvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
220 * CmplxGEBAL.h (ComplexGEPBALANCE), dbleGEPBAL.h (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
221 fCmplxGEPBAL.h (FloatComplexGEPBALANCE), floatGEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
222 (FloatGEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
223 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
224 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
225 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
226 * floatAEPBAL.cc (FloatAEPBALANCE), fCmplxAEPBAL.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
227 (FloatComplexAEPBALANCE): New classes for single precision |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
228 Algebraic eignvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
229 * floatAEPBAL.h (FloatAEPBALANCE), fCmplxAEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
230 (FloatComplexAEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
231 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
232 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
233 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
234 * floatHESS.cc (FloatHESS), fCmplxHESS.cc (FloatComplexHESS): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
235 classes for single precision Hessenberg decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
236 * floatHESS.h (FloatHESS), fCmplxHESS.h (FloatComplexHESS): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
237 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
238 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
239 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
240 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
241 * floatQR.cc (FloatQR), fCmplxQR.cc (FloatComplexQR): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
242 classes for single precision QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
243 * floatQR.h (FloatQR), fCmplxQR.h (FloatComplexQR): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
244 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
245 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
246 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
247 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
248 * floatQRP.cc (FloatQRP), fCmplxQRP.cc (FloatComplexQRP): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
249 classes for single precision permuted QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
250 * floatQRP.h (FloatQRP), fCmplxQRP.h (FloatComplexQRP): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
251 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
252 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
253 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
254 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
255 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
256 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
257 FloatHESS, FloatComplexHESS, FloatQR, FloatComplexQR, QRP, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
258 ComplexQRP, FloatQRP, FloatComplexQRP): Declare classes. |
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 * 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
|
261 fCColVector.cc, fCColVector.h, fCDiagMatrix.cc, fCDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
262 fCMatrix.cc, fCMatrix.h, fCNDArray.cc, fCNDArray.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
263 fCRowVector.cc, fCRowVector.h, fCmplxCHOL.cc, fCmplxCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
264 fCmplxDET.cc, fCmplxDET.h, fCmplxLU.cc, fCmplxLU.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
265 fCmplxSCHUR.cc, fCmplxSCHUR.h, fCmplxSVD.cc, fCmplxSVD.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
266 fColVector.cc, fColVector.h, fDiagMatrix.cc, fDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
267 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
|
268 fRowVector.cc, fRowVector.h, floatCHOL.cc, floatCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
269 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
|
270 floatSCHUR.h, floatSVD.cc, floatSVD.h: New files. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
271 * 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
|
272 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
273 * 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
|
274 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
|
275 MatrixType.cc, MatrixType.h, SparseCmplxQR.cc, SparseCmplxQR.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
276 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
|
277 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
|
278 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
|
279 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
|
280 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
|
281 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
|
282 Allow single precision types. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
283 |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
284 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
|
285 |
7788 | 286 * CMatrix.cc (double rcond): Replace with double rcon everywhere |
287 to avoid shadowed variable warning | |
288 (double ComplexMatrix::rcond (void) const): New method for | |
289 reciprocal condition number calculation. | |
290 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
291 * CMatrix.h (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 * dMatrix.cc (double rcond): Replace with double rcon everywhere | |
297 to avoid shadowed variable warning | |
298 (double Matrix::rcond (void) const): New method for | |
299 reciprocal condition number calculation. | |
300 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
301 * dMatrix.h (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 | |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
307 * 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
|
308 expression matching |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
309 * 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
|
310 (LIBOCTAVE_CXX_SOURCES): regex-match.cc here. |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
311 |
7776 | 312 2008-05-19 David Bateman <dbateman@free.fr> |
313 | |
314 * dSparse.cc: Replace some DGBCON with GPBCON where they are | |
315 incorrectly used. | |
316 | |
7774
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
317 2008-05-13 David Bateman <dbateman@free.fr> |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
318 |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
319 * 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
|
320 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
|
321 is not zero. |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
322 |
7758
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
323 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
|
324 |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
325 * 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
|
326 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
|
327 * 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
|
328 (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
|
329 * 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
|
330 * 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
|
331 |
7757
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
332 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
|
333 |
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
334 * 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
|
335 |
7749
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
336 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
|
337 |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
338 * 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
|
339 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
|
340 * 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
|
341 Likewise. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
342 (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
|
343 Adjust all uses. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
344 (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
|
345 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
|
346 (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
|
347 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
|
348 |
7740 | 349 2008-04-30 Jaroslav Hajek <highegg@gmail.com> |
350 | |
351 * lo-mappers.cc (xlog2 (double)): Compute log (2), not log2 (2). | |
352 (xlog2 (Complex), xlog2 (double, int&), xlog2 (Complex, int&)): | |
353 New functions. | |
354 * lo-mappers.h: Provide decls. | |
355 | |
7735
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
356 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
|
357 |
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
358 * 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
|
359 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
|
360 |
7732
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
361 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
|
362 |
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
363 * 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
|
364 |
7727
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
365 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
|
366 |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
367 * 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
|
368 Fix for-loop condition. |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
369 |
7725
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
370 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
|
371 |
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
372 * 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
|
373 |
7717
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
374 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
|
375 |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
376 * 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
|
377 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
378 * 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
|
379 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
380 * 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
|
381 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
382 * 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
|
383 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
384 |
7707
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
385 2008-04-09 Michael Goffioul <michael.goffioul@gmail.com> |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
386 |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
387 * lo-mappers.cc (xround): Avoid floating-point overflow when input |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
388 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
|
389 |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
390 * 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
|
391 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
|
392 __WIN32__ platforms. |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
393 |
7700
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
394 2008-04-07 Jaroslav Hajek <highegg@gmail.com> |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
395 |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
396 * dbleQR.h, dbleQR.cc (QR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
397 * CmplxQR.h, CmplxQR.cc (ComplexQR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
398 * 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
|
399 CHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
400 * CmplxCHOL.h, CmplxCHOL.cc (ComplexCHOL::insert_sym, |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
401 ComplexCHOL::delete_sym, ComplexCHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
402 |
7695
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
403 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
|
404 |
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
405 * 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
|
406 |
7671
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
407 2008-03-27 Jaroslav Hajek <highegg@gmail.com> |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
408 |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
409 * oct-lookup.h: New file. |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
410 |
7646
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
411 2008-03-26 David Bateman <dbateman@feee.fr> |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
412 |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
413 * Array.cc (assignN): Additional fix for vector assignments. |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
414 |
7642
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
415 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
|
416 |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
417 * 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
|
418 original matrix is empty. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
419 * 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
|
420 function. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
421 * 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
|
422 |
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
|
423 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
|
424 |
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
|
425 * 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
|
426 (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
|
427 * 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
|
428 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
|
429 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
|
430 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
431 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
|
432 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
433 * lo-mappers.cc (xtrunc): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
434 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
435 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
436 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
|
437 |
7638
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
438 * lo-specfun.cc (expm1, log1p): New functions. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
439 * lo-specfun.h: Provide decls. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
440 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
441 * lo-mappers.cc (xroundb): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
442 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
443 |
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
|
444 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
|
445 |
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
|
446 * 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
|
447 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
|
448 |
7619 | 449 2008-03-21 David Bateman <dbateman@free.fr> |
450 | |
451 * oct-sparse.h: Add headers for amd.h. | |
452 | |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
453 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
|
454 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
455 * 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
|
456 method for diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
457 * 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
|
458 * 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
|
459 * 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
|
460 * 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
|
461 * 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
|
462 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
463 * 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
|
464 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
465 * 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
|
466 * 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
|
467 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
468 * 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
|
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 * 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
|
471 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
472 * CDiagMatrix.cc (ComplexColumnVector ComplexDiagMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
473 (void) const): delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
474 * 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
|
475 * 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
|
476 * 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
|
477 delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
478 * 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
|
479 * 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
|
480 * 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
|
481 * 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
|
482 * 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
|
483 * 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
|
484 * 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
|
485 * 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
|
486 * 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
|
487 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
488 * 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
|
489 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
|
490 * 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
|
491 return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
492 * 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
|
493 terms of template classes function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
494 * 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
|
495 * 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
|
496 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
|
497 * 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
|
498 return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
499 * 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
|
500 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
|
501 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
502 * 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
|
503 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
|
504 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
505 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
506 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
507 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
508 * 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
|
509 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
510 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
511 * CNDArray.cc (ComplexNDArray ComplexNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
512 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
513 * 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
|
514 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
515 * 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
|
516 method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
517 * 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
|
518 * chNDArray.cc (charNDArray charNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
519 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
520 * 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
|
521 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
522 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
523 |
7609
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
524 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
|
525 |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
526 * 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
|
527 relative filenames. |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
528 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
529 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
|
530 |
7605
48488cca0006
Fix for array indexing if original matrix is empty
David Bateman <dbateman@free.fr>
parents:
7602
diff
changeset
|
531 * 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
|
532 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
|
533 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
534 * 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
|
535 const): New template function. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
536 * 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
|
537 const): ditto. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
538 * 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
|
539 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
|
540 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
|
541 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
|
542 * 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
|
543 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
|
544 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
|
545 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
546 2008-03-18 David Bateman <dbateman@free.fr> |
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
547 |
7601
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
548 * 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
|
549 * 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
|
550 * 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
|
551 |
7600
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
552 * 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
|
553 * CNDarray.cc (ComplexNDArray::min, CompelxNDArray::max): ditto. |
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
554 * 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
|
555 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
556 * 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
|
557 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
|
558 |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
559 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
|
560 |
7598
a89b3fa632ee
partial specialization for octave_int_fit_to_range
John W. Eaton <jwe@octave.org>
parents:
7597
diff
changeset
|
561 * 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
|
562 Use partial specialization for double values. |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
563 |
7573
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
564 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
|
565 |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
566 * 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
|
567 * 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
|
568 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
|
569 * idx-vector.cc, idx-vector.h |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
570 (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
|
571 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
|
572 (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
|
573 (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
|
574 (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
|
575 |
7572
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
576 2008-03-07 John W. Eaton <jwe@octave.org> |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
577 |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
578 * 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
|
579 IDX_VEC_REP::idx_vector_rep (const boolNDArray&)): |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
580 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
|
581 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
|
582 (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
|
583 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
584 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
|
585 |
7560
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
586 * 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
|
587 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
|
588 * 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
|
589 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
|
590 |
7559
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
591 * dbleCHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
592 * CmplxHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
593 * 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
|
594 * 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
|
595 * 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
|
596 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
597 2008-03-04 Jaroslav Hajek <highegg@gmail.com> |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
598 |
7554
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
599 * dbleCHOL.cc (CHOL::set, CHOL::update, CHOL::downdate): |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
600 New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
601 * dbleCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
602 * CmplxCHOL.cc (ComplexCHOL::set, ComplexCHOL::update, |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
603 ComplexCHOL::downdate): New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
604 * CmplxCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
605 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
606 * 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
|
607 QR::insert_row, QR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
608 (QR::QR (const Matrix&, const MAtrix&)): New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
609 * dbleQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
610 * CmplxQR.cc (ComplexQR::update, ComplexQR::insert_col, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
611 ComplexQR::delete_col, ComplexQR::insert_row, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
612 ComplexQR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
613 (ComplexQR::ComplexQR (const ComplexMatrix&, const ComplexMAtrix&)): |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
614 New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
615 * CmplxQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
616 |
7549
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
617 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
|
618 |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
619 * 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
|
620 of < and > operators. |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
621 |
7546
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
622 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
|
623 |
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
624 * 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
|
625 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
|
626 |
7545 | 627 2008-03-03 Jaroslav Hajek <highegg@gmail.com> |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
628 |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
629 * dMatrix.cc (Matrix::lssolve): Also avoid dgelsd lwork query bug |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
630 in lssolve method that accepts column vector argument. Correct |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
631 calculation of nlvl. |
7545 | 632 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd. |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
633 |
7537
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
634 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
|
635 |
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
636 * 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
|
637 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
638 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
|
639 |
7536 | 640 * oct-rand.cc (get_dist_id): Fix typo. |
641 (get_dist_id, octave_rand::distribution, octave_rand::scalar, | |
642 fill_rand): Improve error messages. | |
643 | |
7535
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
644 * 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
|
645 (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
|
646 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
|
647 (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
|
648 |
7533
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
649 * 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
|
650 (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
|
651 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
|
652 (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
|
653 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
|
654 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
|
655 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
|
656 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
|
657 (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
|
658 (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
|
659 (octave_rand::uniform_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
660 octave_rand::normal_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
661 octave_rand::exponential_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
662 octave_rand::poisson_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
663 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
|
664 (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
|
665 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
|
666 (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
|
667 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
668 * 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
|
669 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd |
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
670 |
7521
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
671 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
|
672 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
673 * 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
|
674 specializations for signed and unsigned types. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
675 (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
|
676 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
|
677 octave_int_helper class. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
678 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
679 * 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
|
680 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
|
681 with "template <>". |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
682 |
7520 | 683 2008-02-22 John W. Eaton <jwe@octave.org> |
684 | |
685 * CSparse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc, | |
686 file-ops.cc, oct-group.cc, oct-shlib.cc, sparse-base-chol.h, | |
687 sparse-dmsolve.cc: Use 0 instead of NULL. | |
688 | |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
689 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
|
690 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
691 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
692 (octave_idx_type) const): New method. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
693 * boolSparse.h (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
694 (octave_idx_type) const): Declare it. |
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 * 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
|
697 factorization of xGETRF directly. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
698 * 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
|
699 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
|
700 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
|
701 to simulate the retirn of xGETRF. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
702 * 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
|
703 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
|
704 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
|
705 (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
|
706 * 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
|
707 scaling. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
708 * SparseCmplxLU.cc: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
709 * 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
|
710 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
|
711 * SparseCmplxLU.h: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
712 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
713 * 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
|
714 return permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
715 * 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
|
716 * 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
|
717 return row permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
718 (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
|
719 permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
720 * 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
|
721 (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
|
722 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
723 * 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
|
724 |
7505
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
725 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
|
726 |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
727 * 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
|
728 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
|
729 (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
|
730 * 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
|
731 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
|
732 (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
|
733 * 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
|
734 * 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
|
735 |
7503
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
736 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
|
737 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
738 * boolNDArray.h (boolNDArray (const Array2<bool>&)): Delete. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
739 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
740 * Marray2.h (MArray2 (const Array2<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
741 MArray2 (const MArray2<U>&)): New templated constructors. |
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 * Array2.h (Array2 (const Array<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
744 Array2 (const Array<U>&, const dim_vector&)): |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
745 New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
746 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
747 * CColVector.cc (ComplexColumnVector::map): Forward to MArray::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
748 * dColVector.cc (ColumnVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
749 * CRowVector.cc (ComplexRowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
750 * dRowVector.cc (RowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
751 * CMatrix.cc (ComplexMatrix::map): Forward to MArray2::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
752 * dMatrix.cc (Matrix::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
753 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
754 * dNDArray.cc (NDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
755 * dNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
756 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
757 * CNDArray.cc (ComplexNDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
758 * CNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
759 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
760 * MArray2.h (MArray2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
761 * Array2.h (Array2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
762 * MArrayN.h (MArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
763 * ArrayN.h (ArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
764 * Array.h (Array<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
765 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
766 * functor.h: New file. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
767 * Makefile.in (INCLUDES): Add it to the list. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
768 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
769 2008-02-20 David Bateman <dbateman@free.fr> |
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 * CColVector.h, CColVector.cc (ComplexColumnVector::apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
772 * dColVector.h, dColVector.cc (ColumnVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
773 * CRowVector.h, CRowVector.cc (ComplexRowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
774 * dRowVector.h, dRowVector.cc (RowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
775 * CMatrix.h, CMatrix.cc (ComplexMatrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
776 * dMatrix.h, dMatrix.cc (Matrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
777 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
778 * CSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
779 (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
|
780 * CSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
781 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
782 * dSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
783 (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
|
784 * dSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
785 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
786 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
787 * intNDArray.cc (abs, signum): Two new mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
788 * intNDArray.h (abs, signum): Declare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
789 * 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
|
790 base type. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
791 |
7486
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
792 2008-02-15 John W. Eaton <jwe@octave.org> |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
793 |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
794 * 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
|
795 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
|
796 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
797 |
7482
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
798 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
|
799 |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
800 * 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
|
801 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
|
802 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
|
803 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
|
804 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
|
805 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
|
806 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc: |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
807 Don't check f77_exception_encountered. |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
808 |
7477 | 809 2008-02-12 John W. Eaton <jwe@octave.org> |
810 | |
811 * CMatrix.cc: Declare xilaenv instead of ilaenv. | |
812 (ComplexMatrix::lssolve): Call xilaenv instead of ilaenv. | |
813 | |
7476 | 814 2008-02-12 Jason Riedy <ejr@cs.berkeley.edu> |
815 | |
7480 | 816 * Array.cc (ascending_compare, descending_compare): Remove |
817 non-standard extern in the instantiations. | |
818 | |
819 * oct-sort.cc: Include <cstring> and sprinkle with std:: as needed. | |
820 | |
7476 | 821 * dMatrix.cc (ILAENV): Declare LAPACK Fortran function. |
822 (Matrix::lssolve): Use ILAENV to query smlsiz. And add an ugly | |
823 workaround for DGELSD's broken lwork query. The formula is from | |
824 LAPACK's dgelsd.f source and allocates enough workspace to use an | |
825 efficient algorithm in the short-and-fat case (n > m). | |
826 * CMatrix.cc (ILAENV): Declare LAPACK Fortran function. | |
827 (ComplexMatrix::lssolve): Use ILAENV to query smlsiz. And add an | |
828 ugly workaround for DGELSD's broken lwork query, as with double. | |
829 | |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
830 2008-02-12 John W. Eaton <jwe@octave.org> |
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
831 |
7470
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
832 * sparse-sort.cc: Don't explicitly instantiate |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
833 class octave_sort<octave_idx_vector_sort *>, |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
834 class octave_sort<octave_idx_type>, or |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
835 class octave_sort<octave_sparse_sort_idxl *>. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
836 |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
837 * Sparse.h (INSTANTIATE_SPARSE_SORT): Delete macro. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
838 * 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
|
839 |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
840 * 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
|
841 |
7466
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
842 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
|
843 |
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
844 * 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
|
845 |
7463
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
846 2008-02-08 John W. Eaton <jwe@octave.org> |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
847 |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
848 * oct-sort.h (enum sortmode): Eliminate UNDEFINED. Change all |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
849 uses of UNDEFINED to ASCENDING. |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
850 |
7457 | 851 2008-02-07 John W. Eaton <jwe@octave.org> |
852 | |
7458 | 853 * Range.cc (Range::sort_internal): Rename from sort. New arg, |
854 ASCENDING, with default value of true. | |
855 (Range::sort_internal (Array<octave_idx_type>&, bool)): New function. | |
856 (Range::sort (octave_idx_type, sortmode) const): New function. | |
857 (Range::sort (Array<octave_idx_type>&, octave_idx_type, sortmode) | |
858 const): New function. | |
859 * Range.h: Fix/provide decls. | |
860 | |
7457 | 861 * intNDArray.cc (intNDArray<T>::any (int)): Use != for comparison. |
862 | |
7449 | 863 2008-02-06 John W. Eaton <jwe@octave.org> |
864 | |
865 * Makefile.in ($(OPTS_INC)): Use mv instead of move-if-change. | |
866 (stamp-prereq): Eliminate. | |
867 (clean): Don't remove stamp-prereq. | |
868 (libraries): Don't depend on stamp-prereq. | |
869 (PREREQ): New macro. | |
870 ($(MAKEDEPS)): Depend on $(PREREQ), not stamp-prereq. | |
871 (distclean): Simplify with $(PREREQ). | |
872 (OPT_BASE): New macro. | |
873 (OPT_IN): Rename from OPTS_INC_DATA. Define in terms of OPT_BASE. | |
874 (OPT_INC): Rename from OPTS_INC. Define in terms of OPT_BASE. | |
875 | |
7448 | 876 2008-02-05 John W. Eaton <jwe@octave.org> |
877 | |
878 * Makefile.in: Unconditionally include $(MAKEDEPS). | |
879 Mark $(MAKEDEPS) as .PHONY targets if omit_deps is true. | |
880 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
881 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> |
7443 | 882 |
883 * Array.cc (ascending_compare, descending_compare, | |
884 Array<T>::sort): Declare explicit specialization for T=double to | |
885 avoid symbol duplication error at link time. | |
886 * Array-d.cc (ascending_compare, descending_compare): Declare and | |
887 define as nonmember functions, not member functions of Array<T>. | |
888 | |
7442 | 889 2008-02-03 John W. Eaton <jwe@octave.org> |
890 | |
891 * Array-i.cc: Also instantiate Arrays for long long type if it exists. | |
892 | |
893 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> | |
894 | |
895 * Array.cc: Don't include Range.h. | |
896 | |
7433 | 897 2008-01-31 David Bateman <dbateman@free.fr> |
898 | |
899 * oct-sort.cc: conversion of int to octave_idx_type where needed | |
900 for 64-bit builds. | |
901 (IFLT): Allow IFLT macro to be overridden. | |
902 * oct-sort.h: conversion of int to octave_idx_type where needed | |
903 for 64-bit builds. | |
904 (enum sortmode): Type of sort to perform. | |
905 (vec_index): Simple class to aid in indexed sorts. | |
906 | |
907 * Array.h ( Array<T> sort (octave_idx_type, sortmode) const, | |
908 Array<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
909 sortmode) const): Array sorting methods. | |
910 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT): Macros to | |
911 instantiate the array sorting methods. | |
912 * Array.cc (ascending_compare, descending_compare): New template | |
913 functions for generic sort comparison. | |
914 ( Array<T> Array<T>::sort (octave_idx_type, sortmode) const, | |
915 Array<T> Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, | |
916 sortmode) const): Array sorting functions based of octave_sort | |
917 class. | |
918 * Array-C.cc: Instantiate the complex array sort methods. | |
919 (IFLT): New macro to override the one in the | |
920 octave_sort class to avoid need for Complex < and > operators. | |
921 (static double xabs (const Complex&)): Complex abs function | |
922 avoiding std::abs(Inf) returning NaN with some compilers. | |
923 (ascending_compare, descending compare): override template | |
924 functions for complex comparison. | |
925 * Array-d.cc: Instantiate the double array sort methods. | |
926 (Array<double> Array<double>::sort (octave_idx_type, | |
927 sortmode) const, Array<double> Array<double>::sort | |
928 (Array<octave_idx_type> &, octave_idx_type, sortmode) const): | |
929 Array sorting functions based of octave_sort using uint64 sorting | |
930 on IEE754 doubles, for speed and correct sorting of Inf and NaN. | |
931 (ascending_compare, descending compare): override template | |
932 functions for double and uint64 comparison. | |
933 * Array-b.cc, Array-ch.cc, Array-i.cc, Array-s.cc, Array-str.cc: | |
934 Instantiate the array sort methods. | |
935 * Array-idx-vec.cc: Null instantiation of array sort methods. | |
936 * Array2.h, Array3.h, ArrayN.h (sort): 2, 3 and N-dimensional | |
937 versions of the sort methods based on Array<T>::sort. | |
938 | |
939 * CSparse.cc, dSparse.cc: Remove inclusion of octa-sort.h. | |
940 * Sparse.h ( Sparse<T> sort (octave_idx_type, sortmode) const, | |
941 Sparse<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
942 sortmode) const): Sparse sorting methods. | |
943 (INSTANTIATE_ARRAY_SORT): Macro to instantiate the sparse sorting | |
944 methods. | |
945 * Sparse.cc: replace sort with lsort throughout to avoid shadowing | |
946 of new sort method. | |
947 (sparse_ascending_compare, sparse_descending_compare): New template | |
948 functions for generic sort comparison. | |
949 ( Sparse<T> Sparse<T>::sort (octave_idx_type, sortmode) const, | |
950 Sparse<T> Sparse<T>::sort (Sparse<octave_idx_type> &, octave_idx_type, | |
951 sortmode) const): Sparse sorting functions based of octave_sort | |
952 class. | |
953 * Sparse-C.cc: Instantiate the complex sparse sort methods. | |
954 (IFLT): New macro to override the one in the | |
955 octave_sort class to avoid need for Complex < and > operators. | |
956 (static double xabs (const Complex&)): Complex abs function | |
957 avoiding std::abs(Inf) returning NaN with some compilers. | |
958 (sparse_ascending_compare, sparse_descending compare): override | |
959 template functions for complex comparison. | |
960 * Sparse-d.cc: Instantiate the cdouble sparse sort methods. | |
961 (sparse_ascending_compare, sparse_descending compare): override | |
962 template functions for double comparison. | |
963 * Array-b.cc: Instantiate the sparse sort methods. | |
964 | |
7422 | 965 2008-01-25 Jaroslav Hajek <highegg@gmail.com> |
966 | |
967 * idx-vector.h (idx_vector::idx_vector_rep::range_base, | |
968 idx_vector::idx_vector_rep::range_step, | |
969 idx_vector::idx_vector_rep::range_step): New data members. | |
970 (idx_vector::idx_vector_rep::idx_vector_rep): Initialize them. | |
971 * idx-vector.cc (IDX_VEC_REP::sort, IDX_VEC_REP::is_colon_equiv, | |
972 IDX_VEC_REP::init_state, IDX_VEC_REP::operator =, | |
973 IDX_VECTOR_REP::idx_vector_rep): Handle range. | |
974 | |
7416 | 975 2008-01-18 Marco Caliari <marco.caliari@univr.it> |
976 | |
977 * dMatrix.cc (Matrix::expm): Correctly perform reverse permutation. | |
978 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
979 | |
7408 | 980 2008-01-22 Michael Goffioul <michael.goffioul@gmail.com> |
7407 | 981 |
982 * oct-time.cc (octave_base_tim::init): Validate pointer argument; | |
983 this fixes the "localtime(-1)" crash under Windows. | |
984 | |
7400 | 985 2008-01-18 John W. Eaton <jwe@octave.org> |
986 | |
987 * dMatrix.cc (solve_singularity_warning): New function. | |
988 (Matrix::expm): Pass pointer to solve_singularity_warning to | |
989 Matrix::solve method. Exit early if Matrix::solve fails. | |
990 Limit sqpow value to avoid overflowing scale factor. | |
991 * CMatrix.cc (solve_singularity_warning): New function. | |
992 (ComplexMatrix::expm): Pass pointer to solve_singularity_warning to | |
993 ComplexMatrix::solve method. Exit early if ComplexMatrix::solve fails. | |
994 Limit sqpow value to avoid overflowing scale factor. | |
7402 | 995 From Marco Caliari <marco.caliari@univr.it>. |
7400 | 996 |
7356 | 997 2008-01-10 Kim Hansen <kimhanse@gmail.com> |
998 | |
999 * Sparse.cc: New tests for slicing of sparse matrices. | |
1000 | |
7350 | 1001 2008-01-07 David Bateman <dbateman@free.fr> |
1002 | |
1003 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Don't break from | |
1004 loop if this test succeeds. | |
1005 | |
7342 | 1006 2008-01-03 David Bateman <dbateman@free.fr> |
1007 | |
1008 * MSparse.cc (SPARSE_A2A2_OP): If first arg is scalar zero, then | |
1009 need unary operator on remaining argument | |
1010 * Sparse-op-defs.h (SPARSE_SMSM_BIN_OP_1): ditto. | |
1011 | |
7334 | 1012 2007-12-21 John W. Eaton <jwe@octave.org> |
1013 | |
1014 Version 3.0.0 released. | |
1015 | |
7322 | 1016 2007-12-18 David Bateman <dbateman@free.fr> |
1017 | |
1018 * Sparse.cc (template <class T> Sparse<T> Sparse<T>::index | |
1019 (idx_vector&, int) const): Fix case indexing of non zero scalar | |
1020 stored as a sparse matrix. | |
1021 (template <class T> Sparse<T> Sparse<T>::index (idx_vector&, | |
1022 idx_vector&, int) const): For the non permutated indexing case, | |
1023 fix link list calculation and use. | |
1024 | |
7321 | 1025 2007-12-17 John W. Eaton <jwe@octave.org> |
1026 | |
1027 * Array.cc (Array<T>::indexN): Correctly handle scalar indexed by | |
1028 N-d array. | |
1029 | |
7318 | 1030 2007-12-17 David Bateman <dbateman@free.fr> |
1031 | |
1032 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Use ridx for row | |
1033 index. | |
1034 | |
7299 | 1035 2007-12-11 John W. Eaton <jwe@octave.org> |
1036 | |
1037 * Sparse.cc (Sparse<T>::index (idx_vector&, int) const): | |
1038 If indexing scalar with empty matrix, return empty array with same | |
1039 size as index. | |
1040 | |
7272 | 1041 2007-12-10 John W. Eaton <jwe@octave.org> |
1042 | |
7279 | 1043 * NLEqn.h (NLEqn::fval): New data member. Adjust constructors |
1044 and assignment operator. | |
1045 (NLEqn::function_value): New function. | |
1046 * NLEqn.cc (NLEqn::solve): If solution is successful, compute | |
1047 function value. | |
1048 | |
7272 | 1049 * file-ops.cc (file_ops::concat): New function. |
1050 * file-ops.h: Provide decl. | |
1051 | |
7270 | 1052 2007-12-07 John W. Eaton <jwe@octave.org> |
1053 | |
1054 * oct-time.cc (octave_base_tm::init): Only assign t->tm_zone if it | |
1055 is not 0. | |
1056 | |
7269 | 1057 2007-12-07 David Bateman <dbateman@free.fr> |
1058 | |
1059 * Sparse-op-defs.h (SPARSE_SMS_CMP_OP, SPARSE_SMS_BOOL_OP, | |
1060 SPARSE_SSM_CMP_OP, SPARSE_SSM_BOOL_OP, SPARSE_SMSM_CMP_OP, | |
1061 SPARSE_SMSM_BOOL_OP, SPARSE_BASE_REDUCTION_OP): Use sparse | |
1062 indexing where possible rather than the elem method. | |
1063 (SPARSE_REDUCTION_OP_ROW_EXPR, SPARSE_REDUCTION_OP_COL_EXPR, | |
1064 SPARSE_ANY_ALL_OP_ROW_CODE, SPARSE_ANY_ALL_OP_COL_CODE): | |
1065 Replace for new version of SPARSE_BASE_REDUCTION_OP. | |
1066 (SPARSE_ALL_OP): Specialize the initial value, and only treat dim | |
1067 = 0 directly. | |
1068 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::sumsq (int) | |
1069 const): Replace ROW_EXPR and COL_EXPR functions for new version of | |
1070 SPARSE_BASE_REDUCTION_OP. | |
1071 (SparseComplexMatrix SparseComplexMatrix::prod (int) const): | |
1072 Specialize the initial value, and only treat dim = 0 directly. | |
1073 * dSparse.cc (SparseMatrix SparseMatrix::sumsq (int) const): | |
1074 ditto. | |
1075 (SparseMatrix SparseMatrix::prod (int) const): ditto. | |
1076 | |
7265 | 1077 2007-12-06 John W. Eaton <jwe@octave.org> |
1078 | |
1079 * CMatrix.cc (ComplexMatrix::expm): Update pointers to internal | |
1080 data for npp and dpp after assignments. | |
1081 * dMatrix.cc (Matrix::expm): Use same method as ComplexMatrix::expm. | |
1082 | |
7253 | 1083 2007-12-04 John W. Eaton <jwe@octave.org> |
1084 | |
1085 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1086 Do nothing if one index is empty. | |
1087 | |
7246 | 1088 2007-12-04 David Bateman <dbateman@free.fr> |
1089 | |
1090 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1091 Resize matrix as well if one dimension of lhs is zero and the rhs | |
1092 index exceeds the lhs index. | |
1093 * Sparse.cc (assign1 (Sparse<LT>&, const Sparse<RT>&)): | |
1094 Don't resize to a smaller matrix for empty matrices with a max rhs | |
1095 index smaller than the non zero lhs index. | |
1096 | |
1097 2007-12-04 Michael Goffioul <michael.goffioul@gmail.com> | |
1098 | |
1099 * Array-util.h: Tag permute_vector_compare with OCTAVE_API. | |
1100 | |
7241 | 1101 2007-12-03 Moritz Borgmann <octave@moriborg.de> |
1102 | |
1103 * Array-util.cc (permute_vector_compare): Move here from Array.cc. | |
1104 * Array-util.h (permute_vector, permute_vector_compare): Provide decls. | |
1105 * Array.cc (permute_vector, permute_vector_compare): Delete. | |
1106 | |
7238 | 1107 2007-12-03 David Bateman <dbateman@free.fr> |
1108 | |
1109 * Sparse.cc (template <class LT, class RT> int assign | |
1110 (Sparse<LT>&, const Sparse<RT>&)): Only set return matrix size to | |
1111 rhs values if both no. rows and columns are zero. | |
1112 | |
7231 | 1113 2007-11-30 John W. Eaton <jwe@octave.org> |
1114 | |
7234 | 1115 * oct-sort.cc, oct-sort.h: Style fixes. |
1116 | |
7231 | 1117 * lo-math.h: New file. |
1118 * Makefile.in (INCLUDES): Add it to the list. | |
1119 * liboctave/Array2.h, liboctave/ArrayN.h, liboctave/CmplxDET.cc, | |
1120 liboctave/DASPK.cc, liboctave/DASPK.h, liboctave/DASRT.cc, | |
1121 liboctave/DASRT.h, liboctave/DASSL.cc, liboctave/DASSL.h, | |
1122 liboctave/LSODE.cc, liboctave/LSODE.h, liboctave/NLEqn.h, | |
1123 liboctave/Quad.h, liboctave/Range.cc, liboctave/dbleDET.cc, | |
1124 liboctave/lo-cieee.c, liboctave/lo-ieee.cc, | |
1125 liboctave/lo-mappers.cc, liboctave/oct-time.cc, | |
1126 liboctave/oct-time.h, liboctave/randgamma.c, | |
1127 liboctave/randmtzig.c, liboctave/randpoisson.c: Include lo-math.h | |
1128 instead of cmath or math.h. | |
1129 * lo-mappers.h: Don't include sunmath.h here. | |
1130 | |
7198 | 1131 2007-11-26 John W. Eaton <jwe@octave.org> |
1132 | |
1133 * idx-vector.h (idx_vector::idx_vector_rep (const intNDArray<U>&)): | |
1134 Eliminate unnecessary second arg from call to tree_to_mat_idx. | |
1135 | |
1136 * oct-inttypes.h (operator bool, operator char): Delete. | |
1137 (bool_value, char_value, double_value, float_value): New functions. | |
1138 | |
7189 | 1139 2007-11-26 David Bateman <dbateman@free.fr> |
1140 | |
1141 * intNDArray.cc (template <class T> intNDArray<T> | |
1142 intNDArray<T>::max (int) const, template <class T> intNDArray<T> | |
1143 intNDArray<T>::max (ArrayN<octave_idx_type>&, int) const, | |
1144 template <class T> intNDArray<T> intNDArray<T>::min (int) const, | |
1145 template <class T> intNDArray<T> intNDArray<T>::min | |
1146 (ArrayN<octave_idx_type>&, int) const): New methods for integer | |
1147 classes. | |
1148 * intNDArray.h (class intNDArray): Add min/max methods | |
1149 * mx-op-defs.h (MIXMAX_DECLS, MINMAX_FCNS, SND_MINMAX_FCN, | |
1150 NDS_MINMAX_FCN, NDND_MINMAX_FCN): New macro for instantiation of | |
1151 min/max functions. | |
1152 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
1153 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
1154 (MINMAX_DECLS(T)): Declare the min/max functions for integer | |
1155 types. | |
1156 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
1157 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
1158 (MINMAX_FCNS(T)): Instantiate the min/max functions for integer | |
1159 types. | |
1160 | |
1161 * Arrayc.cc (Array<T>::index (idx_vector&, idx_vector&, int, | |
1162 const T& rfv) const): If ndims != 2 call ND version of index. | |
1163 | |
7176 | 1164 2007-11-14 John W. Eaton <jwe@octave.org> |
1165 | |
7178 | 1166 * oct-inttypes.h (opeator T (void) const): New conversion operator. |
1167 | |
7176 | 1168 * lo-specfun.cc (zbesi): When alpha is negative, don't limit |
1169 correction to half-integer values. From Eric Chassande-Mottin | |
1170 <echassandemottin@gmail.com>. | |
1171 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
1172 2007-11-07 Michael Goffioul <michael.goffioul@gmail.com> |
7124 | 1173 |
1174 * dMatrix.cc, CMatrix.cc: Help MSVC compiler to resolve | |
1175 ambiguities related to math functions (in C++ mode). | |
1176 | |
7102 | 1177 2007-11-06 David Bateman <dbateman@free.fr> |
1178 | |
7113 | 1179 * intNDArray.cc (intNDArray<T> intNDArray<T>::sum (int) const): |
1180 New method. | |
1181 * intNDarray.h (intNDArray sum (int) const): Declare it. | |
1182 * boolNDArray.cc (boolNDArray boolNDArray::sum (int) const): | |
1183 New method. | |
1184 * boolNDarray.cc (boolNDArray sum (int) const): Declare it. | |
7102 | 1185 * MArray-def.h (MARRAY_NORM_BODY): Scale frobenius norm by infinity |
1186 norm to avoid issues of over- and underflow. From Rolf Fabian | |
1187 <Rolf.Fabian@gmx.de>. | |
1188 | |
7081 | 1189 2007-10-30 David Bateman <dbateman@free.fr> |
1190 | |
1191 * DASRT-opts.in, LSODE-opts.in: Doc fixes for small book format. | |
1192 | |
7079 | 1193 2007-10-30 John W. Eaton <jwe@octave.org> |
1194 | |
1195 * CMatrix.cc (lssolve): Compute size of rwork and iwork arrays. | |
1196 * dMatrix.cc (lssolve): Compute size of iwork array. | |
1197 | |
7076 | 1198 2007-10-29 David Bateman <dbateman@free.fr> |
1199 | |
1200 * CMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
1201 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1202 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
1203 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
1204 double& rcond) const, lssolve (const ComplexColumnVector&, | |
1205 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
1206 declarations. | |
1207 * CMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
1208 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1209 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
1210 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
1211 double& rcond) const, lssolve (const ComplexColumnVector&, | |
1212 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
1213 methods. | |
1214 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
1215 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
1216 octave_idx_type&, double&) const): Also return rcond from the | |
1217 singular values returned by XGELSD. | |
1218 * dMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
1219 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1220 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
1221 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
1222 double& rcond) const, lssolve (const ComplexColumnVector&, | |
1223 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
1224 declarations. | |
1225 * dMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
1226 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1227 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
1228 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
1229 double& rcond) const, lssolve (const ComplexColumnVector&, | |
1230 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
1231 methods. | |
1232 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
1233 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
1234 octave_idx_type&, double&) const): Also return rcond from the | |
1235 singular values returned by XGELSD. | |
1236 | |
7072 | 1237 2007-10-26 David Bateman <dbateman@free.fr> |
1238 | |
1239 * dMatrix.cc (Matrix::lssolve): Use xGELSD for rank deficient | |
1240 matrices to avoid reliability issues with xGELSY. | |
1241 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. | |
7071 | 1242 |
7065 | 1243 2007-10-25 John W. Eaton <jwe@octave.org> |
1244 | |
1245 * oct-time.cc (octave_gmtime::init, octave_localtime::init): | |
1246 Call unix_time on arg instead of relying on conversion operator. | |
1247 | |
1248 * oct-time.h (octave_time::double_value): New function. | |
1249 (octave_time::operator double () const): Delete. | |
1250 (octave_time::operator time_t () const): Delete. | |
1251 | |
7058 | 1252 2007-10-24 John W. Eaton <jwe@octave.org> |
1253 | |
1254 * strptime.c: Also compile if OCTAVE_HAVE_BROKEN_STRPTIME is defined. | |
1255 | |
7052 | 1256 2007-10-23 John W. Eaton <jwe@octave.org> |
1257 | |
1258 * CRowVector.cc (operator * const ComplexRowVector&, const | |
1259 ComplexColumnVector&)): Delete spurious code left from patch. | |
1260 | |
7048 | 1261 2007-10-22 Kim Hansen <kimhanse@gmail.com> |
1262 | |
1263 * chMatrix.cc, lo-utils.cc, oct-env.cc, oct-uname.cc, | |
1264 sparse-sort.cc: Include <cstring>. | |
1265 | |
7036 | 1266 2007-10-17 John W. Eaton <jwe@octave.org> |
1267 | |
1268 * oct-sparse.h: Don't include metis.h. | |
1269 | |
1270 * dSparse.cc (SparseMatrix::fsolve): Delete special code for METIS. | |
1271 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
1272 * sparse-base-chol.cc (sparse_base_chol<chol_type, chol_elt, | |
1273 p_type>::sparse_base_chol_rep::init): Likewise. | |
1274 | |
7033 | 1275 2007-10-16 John W. Eaton <jwe@octave.org> |
1276 | |
1277 * dMatrix.cc (Matrix::inverse): Only check rcond == 0 if the | |
1278 matrix is hermitian or calc_cond is true. | |
1279 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
1280 | |
7016 | 1281 2007-10-12 John W. Eaton <jwe@octave.org> |
1282 | |
1283 * Change copyright notices in all files that are part of Octave to | |
1284 GPLv3 or any later version. | |
1285 | |
7007 | 1286 2007-10-11 Brian Gough <bjg@network-theory.co.uk> |
1287 | |
1288 * DASSL-opts.in, LSODE-opts.in: Spelling fixes. | |
1289 | |
7001 | 1290 2007-10-10 Olli Saarela <Olli.Saarela@kcl.fi> |
1291 | |
1292 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in: Spelling fixes. | |
1293 | |
7000 | 1294 2007-10-10 John W. Eaton <jwe@octave.org> |
1295 | |
1296 * LPsolve.h, LPsolve.cc: Delete. | |
1297 * Makefile.in: Remove them from the INCLUDES and | |
1298 LIBOCTAVE_CXX_SOURCES lists. | |
1299 | |
6989 | 1300 2007-10-09 John W. Eaton <jwe@octave.org> |
1301 | |
6996 | 1302 * oct-time.cc (octave_strptime::init): Initialize t.tm_mon to -1 |
1303 and t.tm_year to INT_MIN before call to oct_strptime. Adjust | |
1304 values to zero after call if they remain unchanged. | |
1305 | |
6989 | 1306 * dSparse.cc (SparseMatrix::all_elements_are_zero): New function. |
1307 * dNDArray.cc (NDArray::all_elements_are_zero): New function. | |
1308 | |
6988 | 1309 2007-10-09 David Bateman <dbateman@free.fr> |
1310 | |
6995 | 1311 * oct-time.cc (octave_strptime::init): Only call mktime if mday is |
1312 valud and mon and year are also filled in. | |
1313 | |
6990 | 1314 * Array2.h (Array2<T>::Array2(const dim_vector&), |
1315 Array2<T>::Array(const dim_vector&, const T&)): Check that | |
1316 dim_vector is 2 dimensional. | |
1317 | |
6988 | 1318 * Sparse.cc (Sparse<T> Sparse<T>::index (idx_vector&, idx_vector&, |
1319 int)): Remove a for loop in the random indexing case at the | |
1320 expense of maintaining a set of linked lists of indices that point | |
1321 to the same column in the original matrix. | |
1322 (int assign (Sparse<LT>&, Sparse<RT>)): Take a const copy of lhs | |
1323 and use it on the RHS of expressions to avoid unnecessary calls to | |
1324 make_unique. | |
1325 | |
6979 | 1326 2007-10-08 David Bateman <dbateman@free.fr> |
1327 | |
1328 * oct-rl-edit. (typedef rl_quoting_fcn_ptr, rl_dequoting_fcn_ptr, | |
1329 rl_char_is_quoted_fcn_ptr, rl_command_fcn_ptr): New typedefs | |
1330 for readline compatible functions. | |
1331 (octave_rl_redisplay): Redisplay the current line of text. | |
1332 (octave_rl_newline): Change interface to the same | |
1333 as used by the equivalent readline function itself. | |
1334 (octave_rl_filename_quoting_desired, | |
1335 octave_rl_set_filename_quote_characters, | |
1336 octave_rl_set_completer_quote_characters, | |
1337 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
1338 octave_rl_set_char_is_quoted_function): New functions to control | |
1339 readline filename quoting and line acceptace. | |
1340 * oct-rl-edit.c (octave_rl_newline): Change interface to the same | |
1341 as used by the equivalent readline function itself. | |
1342 (octave_rl_redisplay): Redisplay the current line of text. | |
1343 (octave_rl_filename_quoting_desired, | |
1344 octave_rl_set_filename_quote_characters, | |
1345 octave_rl_set_completer_quote_characters, | |
1346 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
1347 octave_rl_set_char_is_quoted_function): New functions to control | |
1348 readline filename quoting and line acceptace. | |
1349 * cmd-edit.h (typedef quoting_fcn, typedef dequoting_fcn, | |
1350 typedef char_is_quoted_fcn, user_accept_line_fcn): New typedefs | |
1351 to map C++ function to readline compatible functions. | |
1352 (set_filename_quote_characters): New function to set the | |
1353 characters to if they appear in a filename that force the filename | |
1354 to be quoted. | |
1355 (set_completer_quote_characters): The characters that the readline | |
1356 completion function considers as quotation characters. | |
1357 (set_quoting_function, set_dequoting_function, | |
1358 set_char_is_quoted_function, set_user_accept_line_function): | |
1359 Functions to set the Octave functions to perform quoting and the | |
1360 acceptance of a line of text by readline. | |
1361 (get_quoting_function, get_dequoting_function, | |
1362 get_char_is_quoted_function, get_user_accept_line_function): | |
1363 Functions to get the above functions. | |
1364 (accept_line): New method for the command_editor to accept a line | |
1365 of text. | |
1366 (file_quoting_desired): Function to set whether readline should | |
1367 attempt to quote filenames. | |
1368 (do_set_filename_quoting_characters, | |
1369 do_set_completer_quote_characters, do_set_quoting_function, | |
1370 do_set_dequoting_function, do_set_char_is_quoted_function, | |
1371 do_set_user_accept_line_function, do_get_quoting_function, | |
1372 do_get_dequoting_function, do_get_char_is_quoted_function, | |
1373 do_get_user_accept_line_function, do_filename_quoting_desired): | |
1374 Virtual functions to control the behavior of readline quoting and | |
1375 acceptance of lines. | |
1376 (do_accept_line): Virtual function for the accept line function. | |
1377 * cmd-edit.cc (class gnu_readline do_set_filename_quote_characters, | |
1378 do_completer_quote_characters, do_set_quoting_function, | |
1379 do_set_dequoting_function, do_set_char_is_quoted_function, | |
1380 do_set_user_accept_line_function, do_get_quoting_function, | |
1381 do_get_dequoting_function, do_get_user_accept_line_function, | |
1382 do_accept_line, do_filename_quoting_desired, command_quoter, | |
1383 command_dequoter, command_char_is_quoted, command_accept_line): | |
1384 New functions in gnu_readline class to control filename quoting | |
1385 and line acceptance. | |
1386 (quoting_function, dequoting_function, char_is_quoted_function, | |
1387 user_accept_line_function): private variable to store functions | |
1388 supplied for readline quoting and line acceptance. | |
1389 (gnu_readline::gnu_readline): Also set the new function pointers | |
1390 to zero. | |
1391 (gnu_readline::do_newline): Adapt to new octave_rl_newline | |
1392 interface. | |
1393 (gnu_readeline::operate_and_get_next): Use new accept_line | |
1394 function rather than newline. | |
1395 (default_ommand_editor::do_accept_line): New method. | |
1396 (class command_editor set_filename_quote_characters, | |
1397 set_completer_quote_characters, set_quoting_function, | |
1398 set_dequoting_function, set_char_is_quoted_function, | |
1399 set_user_accept_line_function, get_quoting_function, | |
1400 get_dequoting_function, get_user_accept_line_function, | |
1401 accept_line, filename_quoting_desired): New functions checking | |
1402 instance before calling virtual function. | |
1403 | |
1404 * CMatrix.h, dMatrix.h, boolMatrix.h, chMatrix.h, MArray2.h, | |
1405 Array2.h: Add dim_vector constructors. | |
1406 * charNDArray.h (charNDArray (const dim_vector&)): Add missing | |
1407 const to dim_vector constructors. | |
1408 * boolMatrix.cc, chMatrix.cc, intNDArray.cc (diag (void), diag | |
1409 (octave_idx_type)): New methods to constructor diagonal matrices. | |
1410 * boolMatrix.h, chMatrix.h, intNDArray.h (diag (void), diag | |
1411 (octave_idx_type)): Declare them. | |
1412 | |
1413 | |
6969 | 1414 2007-10-06 John W. Eaton <jwe@octave.org> |
1415 | |
1416 * lo-specfun.cc: (zlgamma): Delete. | |
1417 (xgamma): Use C library gamma function if available. | |
1418 (xlgamma): Use C library lgamma function if available. | |
1419 (xlgamma) [! HAVE_LGAMMA]: Allow calculation for any value of X | |
1420 other than NaN or Inf. | |
1421 | |
6961 | 1422 2007-10-05 John W. Eaton <jwe@octave.org> |
1423 | |
1424 * lo-specfun.cc (zlgamma): New function. | |
1425 | |
6959 | 1426 2007-10-04 John W. Eaton <jwe@octave.org> |
1427 | |
1428 * oct-sort.cc (octave_sort<T>::binarysort): Remove register | |
1429 qualifiers on local variables. | |
1430 | |
6958 | 1431 2007-10-04 Marco Caliari <mcaliari@math.unipd.it> |
1432 | |
1433 * CMatrix.cc (ComplexMatrix::expm): Limit shift to values less | |
1434 than log(realmax) to avoid issues with NaN. | |
1435 | |
6940 | 1436 2007-10-01 John W. Eaton <jwe@octave.org> |
1437 | |
6941 | 1438 * oct-time.cc (octave_strptime::init): Call mktime to propertly |
1439 initialize wday and yday. | |
1440 From Matthias Drochner <m.drochner@fz-juelich.de>. | |
1441 | |
6940 | 1442 * cmd-edit.cc (command_editor::do_decode_prompt_string): Don't |
1443 insert extra '\001' when decoding \[ and \]. | |
1444 | |
6926 | 1445 2007-09-26 David Bateman <dbateman@free.fr> |
1446 | |
1447 * dMatrix.cc (lssolve): Replace the use of xGELSS with xGELSY with | |
1448 is much faster and no less accurate. | |
1449 * CMatrix.cc (lssolve): ditto. | |
1450 | |
6924 | 1451 2007-09-25 David Bateman <dbateman@free.fr> |
1452 | |
1453 * dMatrix.cc (utsolve, ltsolve, fsolve, lssolve): Allow | |
1454 zero dimensioned matrices. | |
1455 * CMatrix.cc (utsolve, ltsolve, fsolve, lssolve): ditto. | |
1456 * dSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
1457 ditto. | |
1458 * CSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
1459 ditto. | |
1460 * SparseQR.cc (SparseQR::SparseQR_rep::C, qrsolve): ditto. | |
1461 * SparseCmplxQR.cc (SparseComplexQR::SparseComplexQR_rep::C, | |
1462 qrsolve): ditto. | |
1463 * sparse-dmsolve.cc (dmsolve): ditto. | |
1464 | |
6922 | 1465 2007-09-21 John W. Eaton <jwe@octave.org> |
1466 | |
1467 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): | |
1468 Also allow resizing empty LHS if it is 1x0 or 0xN. | |
1469 | |
6916 | 1470 2007-09-19 John W. Eaton <jwe@octave.org> |
1471 | |
1472 * cmd-edit.cc (command_editor::remove_startup_hook): | |
1473 Fix cut-and-paste error. | |
6917 | 1474 (gnu_readline::set_startup_hook): Only set hook function if new |
1475 function is different from the current one. | |
6916 | 1476 |
6913 | 1477 2007-09-18 John W. Eaton <jwe@octave.org> |
1478 | |
1479 * cmd-edit.h, cmd-edit.cc (command_editor::startup_hook_set, | |
1480 command_editor::event_hook_set): New static data. | |
1481 (default_command_editor::set_startup_hook, | |
1482 gnu_readline::set_startup_hook, | |
1483 default_command_editor::restore_startup_hook, | |
1484 gnu_readline_restore_event_hook): | |
1485 Rename from do_set_startup_hook and do_set_event_hook. | |
1486 (gnu_readline::operate_and_get_next): Call | |
1487 command_editor::add_startup_hook, not | |
1488 command_editor::set_startup_hook. | |
1489 (command_editor::startup_handler, command_editor::event_handler): | |
1490 New functions. | |
1491 (command_editor::add_startup_hook, command_editor::add_event_hook, | |
1492 command_editor::remove_startup_hook, | |
1493 command_editor::remove_event_hook): Rename from set_startup_hook | |
1494 and restore_startup_hook. Handle hook sets here. | |
1495 * cmd-edit.cc (gnu_history::do_goto_mark): | |
1496 Call remove_startup_hook instead of restore_startup_hook. | |
1497 | |
6907 | 1498 2007-09-17 John W. Eaton <jwe@octave.org> |
1499 | |
1500 * lo-utils.cc (octave_read_complex, octave_read_double): Skip | |
1501 leading whitespace. | |
1502 | |
6897 | 1503 2007-09-13 John W. Eaton <jwe@octave.org> |
1504 | |
1505 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
1506 octave_read_complex): Use istream::get instead of >> to read | |
1507 individual characters. | |
1508 | |
6884 | 1509 2007-09-10 John W. Eaton <jwe@octave.org> |
1510 | |
1511 * Array.cc (assign1): Don't call make_unique for invalid assignment. | |
1512 | |
1513 2007-09-10 David Bateman <dbateman@free.fr> | |
1514 | |
1515 * Array.h (Array<T>::make_unique): Make public so that the | |
1516 ::assign functions can access it directly. | |
1517 * Array.cc (Array<T>::maybe_delete_elements_1(idx_vector&), | |
1518 Array<T>::maybe_delete_elements_1(idx_vector&), | |
1519 Array<T>::maybe_delete_elements(idx_vector&, idx_vector&), | |
1520 Array<T>::maybe_delete_elements(Array<idx_vector>&, const T&)): | |
1521 Use xelem for non const RHS to avoid call to make_unique. | |
1522 (int assign1 (Array<LT>&, const Array<RT>&, const LT&)): Use | |
1523 xelem for LHS and call lhs.make_unique() only once. Special case | |
1524 the is_colon index case and use Array<T>::xelem(octave_idx_type) | |
1525 rather than Array<T>::xelem(octave_idx_type,octave_idx_type) and | |
1526 bring the additional multiplication out of the inner loop. | |
1527 (int assign2 (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
1528 (int assignN (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
1529 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep | |
1530 (const Range& r)): Don't use init_state() method but special case | |
1531 as with a Range can avoid exhaustive search. | |
1532 | |
6881 | 1533 2007-09-07 John W. Eaton <jwe@octave.org> |
1534 | |
1535 * Array.cc (Array<T>::fortran_vec): Call make_unique instead of | |
1536 manipulating rep directly. | |
1537 | |
1538 * Array.h (idx, idx_count): Declare mutable. | |
1539 (Array<T>::set_index, Array<T>::clear_index, Array<T>::value): | |
1540 Now const. | |
1541 | |
6867 | 1542 2007-09-06 David Bateman <dbateman@free.fr> |
1543 | |
6868 | 1544 * Array-util.cc (increment_index): dimensions can have singleton |
1545 trailing dimensions. | |
6867 | 1546 * Array.h (range_error, xelem, checkelem, elem, operator ()): |
1547 Modify use of Array<int> to Array<octave_idx_type> and adjust | |
1548 where necessary. | |
1549 * Array.cc (range_error): ditto. | |
1550 * MArrayN.h (permute, ipermute): ditto. | |
1551 * ArrayN.h (permute, ipermute): ditto. | |
1552 * so-array.cc (streamoff_array::compute_index): ditto. | |
1553 * so-array.h (compute_index): ditto. | |
1554 * CMattrix.cc (ComplexMatrix::exmpm): ditto. | |
1555 | |
6840 | 1556 2007-08-29 David Bateman <dbateman@free.fr> |
1557 | |
1558 * dSparse.cc (SparseMatrix SparseMatrix::inverse (MatrixType &, | |
1559 octave_idx_type&, double&, int, int)): Calculate with LU even for | |
1560 matrices marked as singular. | |
1561 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::inverse ( | |
1562 MatrixType &, octave_idx_type&, double&, int, int)): ditto. | |
1563 * dMatrix.cc (Matrix Matrix::inverse (MatrixType &, octave_idx_type&, | |
1564 double&, int, int)): ditto. If rcond==0 force matrix of infinities. | |
1565 * dMatrix.cc (ComplexMatrix ComplexMatrix::inverse (MatrixType &, | |
1566 octave_idx_type&, double&, int, int)): ditto. | |
1567 | |
6838 | 1568 2007-08-27 John W. Eaton <jwe@octave.org> |
1569 | |
1570 * oct-env.cc (octave_env::rooted_relative_pathname, | |
1571 octave_env::do_rooted_relative_pathname): New functions. | |
1572 * oct-env.h: Provide decls. | |
1573 | |
6823 | 1574 2007-08-24 David Bateman <dbateman@free.fr> |
1575 | |
1576 * MSparse.h (MSparse<T>& insert (const Sparse<T>&, | |
1577 const Array<octave_idx_type>&)): New method. | |
1578 (MSparse (const dim_vector&, octave_idx_type)): Ditto. | |
1579 * dSparse.h (SparseMatrix& SparseMatrix::insert (const | |
1580 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
1581 (SparseMatrix (const dim_vector&, octave_idx_type)): ditto. | |
1582 * dSparse.cc (SparseMatrix& SparseMatrix::insert (const | |
1583 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
1584 * boolSparse.h (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
1585 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
1586 * boolSparse.cc (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
1587 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
1588 * CSparse.h (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
1589 SparseMatrix&, const Array<octave_idx_type>&), | |
1590 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
1591 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
1592 (SparseComplexMatrix (const dim_vector&, octave_idx_type)): ditto. | |
1593 * CSparse.cc (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 | |
6817 | 1598 2007-08-19 David Bateman <dbateman@free.fr> |
1599 | |
1600 * Sparse.cc (Sparse<T>::permute): Avoid shadowing warning. | |
1601 | |
6813 | 1602 2007-08-14 John W. Eaton <jwe@octave.org> |
1603 | |
1604 * Sparse.cc (Sparse<T>::permute): permutation vector is zero based. | |
1605 Simplify. | |
6814 | 1606 (Sparse<T>::reshape): Warn about reshaping to N-d array. |
6813 | 1607 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
1608 2007-08-10 Michael Goffioul <michael.goffioul@gmail.com> |
6810 | 1609 |
1610 * file-stat.cc (file_stat::update_internal) [__WIN32__]: | |
1611 Remove trailing dir separator when stat'ing directory except for | |
1612 root directory. | |
1613 | |
6796 | 1614 2007-07-25 David Bateman <dbateman@free.fr> |
1615 | |
1616 * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" | |
1617 to work. | |
1618 | |
6764 | 1619 2007-06-04 David Bateman <dbateman@free.fr> |
1620 | |
1621 * oct-inttypes.h (octave_int<T>& operator <<= (const T2&), | |
1622 octave_int<T>& operator >>= (const T2&)): Make shift operators | |
1623 perform a twos complement arithmetic shift for both signed and | |
1624 unsigned integers regardless of compiler implementations. | |
1625 | |
6708 | 1626 2007-06-13 Michael Goffioul <michael.goffioul@swing.be> |
1627 | |
6719 | 1628 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): For CXSparse 2.2 and greater |
1629 use cs_complex_t(0,0) for the complex zero. | |
1630 | |
6708 | 1631 * MArray-ch.cc, MArray-d.cc, MArray-i.cc, MArray-s.cc: |
1632 Sprinkle class instantiations with OCTAVE_API as needed. | |
1633 | |
1634 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY, | |
1635 INSTANTIATE_ARRAY_AND_ASSIGN): New arg, API. Change all uses. | |
1636 * MArray-defs.h (MARRAY_OP_ASSIGN_DECL, MARRAY_OP_ASSIGN_DECLS, | |
1637 MARRAY_OP_ASSIGN_FWD_DECLS, MARRAY_OP_ASSIGN_FRIENDS, | |
1638 MARRAY_OP_ASSIGN_DEFS, MARRAY_UNOP, MARRAY_UNOP_DECLS, | |
1639 MARRAY_UNOP_FWD_DECLS, MARRAY_UNOP_FRIENDS, MARRAY_UNOP_DEFS, | |
1640 MARRAY_BINOP_DECL, MARRAY_BINOP_DECLS, MARRAY_AA_BINOP_DECLS, | |
1641 MDIAGARRAY2_DAS_BINOP_DECLS, MDIAGARRAY2_SDA_BINOP_DECLS, | |
1642 MDIAGARRAY2_DADA_BINOP_DECLS, MARRAY_BINOP_FWD_DECLS, | |
1643 MDIAGARRAY2_BINOP_FWD_DECLS, MARRAY_BINOP_FRIENDS, | |
1644 MDIAGARRAY2_BINOP_FRIENDS, MARRAY_BINOP_DEFS, | |
1645 MDIAGARRAY2_BINOP_DEFS, MARRAY_OPS_FORWARD_DECLS, | |
1646 MDIAGARRAY2_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS, | |
1647 MDIAGARRAY2_OPS_FRIEND_DECLS, INSTANTIATE_MARRAY_FRIENDS, | |
1648 INSTANTIATE_MARRAY2_FRIENDS, INSTANTIATE_MARRAYN_FRIENDS, | |
1649 INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. | |
1650 * MSparse-defs.h (SPARSE_OP_ASSIGN_DECL, SPARSE_OP_ASSIGN_DECLS, | |
1651 SPARSE_OP_ASSIGN_FWD_DECLS, SPARSE_OP_ASSIGN_FRIENDS, | |
1652 SPARSE_OP_ASSIGN_DEFS, SPARSE_UNOP, SPARSE_UNOP_DECLS, | |
1653 SPARSE_UNOP_FWD_DECLS, SPARSE_UNOP_FRIENDS, SPARSE_UNOP_DEFS, | |
1654 SPARSE_BINOP_DECL, SPARSE_BINOP_DECLS, SPARSE_AA_BINOP_DECLS, | |
1655 SPARSE_BINOP_FWD_DECLS, SPARSE_BINOP_FRIENDS, SPARSE_BINOP_DEFS, | |
1656 SPARSE_OPS_FORWARD_DECLS, SPARSE_OPS_FRIEND_DECLS, | |
1657 INSTANTIATE_SPARSE_FRIENDS): Ditto. | |
1658 * Sparse-op-defs.h (SPARSE_BIN_OP_DECL, SPARSE_CMP_OP_DECL, | |
1659 SPARSE_BOOL_OP_DECL, SPARSE_SMS_BIN_OP_DECLS, | |
1660 SPARSE_SMS_CMP_OP_DECLS, SPARSE_SMS_EQNE_OP_DECLS, | |
1661 SPARSE_SMS_BOOL_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
1662 SPARSE_SMS_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
1663 SPARSE_SSM_CMP_OP_DECLS, SPARSE_SSM_EQNE_OP_DECLS, | |
1664 SPARSE_SSM_BOOL_OP_DECLS, SPARSE_SSM_OP_DECLS, | |
1665 SPARSE_SMSM_BIN_OP_DECLS, SPARSE_SMSM_CMP_OP_DECLS, | |
1666 SPARSE_SMSM_EQNE_OP_DECLS, SPARSE_SMSM_BOOL_OP_DECLS, | |
1667 SPARSE_SMSM_OP_DECLS, SPARSE_MSM_BIN_OP_DECLS, | |
1668 SPARSE_MSM_CMP_OP_DECLS, SPARSE_MSM_EQNE_OP_DECLS, | |
1669 SPARSE_MSM_BOOL_OP_DECLS, SPARSE_MSM_OP_DECLS, | |
1670 SPARSE_SMM_BIN_OP_DECLS, SPARSE_SMM_CMP_OP_DECLS, | |
1671 SPARSE_SMM_EQNE_OP_DECLS, SPARSE_SMM_BOOL_OP_DECLS, | |
1672 SPARSE_SMM_OP_DECLS): Ditto. | |
1673 * Sparse.h (INSTANTIATE_SPARSE_ASSIGN, INSTANTIATE_SPARSE, | |
1674 INSTANTIATE_SPARSE_AND_ASSIGN): Ditto. | |
1675 * mx-op-defs.h (BIN_OP_DECL, CMP_OP_DECL, NDCMP_OP_DECL, | |
1676 BOOL_OP_DECL, NDBOOL_OP_DECL, VS_BIN_OP_DECLS, VS_OP_DECLS, | |
1677 SV_BIN_OP_DECLS, SV_OP_DECLS, VV_BIN_OP_DECLS, VV_OP_DECLS, | |
1678 MS_BIN_OP_DECLS, MS_CMP_OP_DECLS, MS_BOOL_OP_DECLS, MS_OP_DECLS, | |
1679 SM_BIN_OP_DECLS, SM_CMP_OP_DECLS, SM_BOOL_OP_DECLS, SM_OP_DECLS, | |
1680 MM_BIN_OP_DECLS, MM_CMP_OP_DECLS, MM_BOOL_OP_DECLS, MM_OP_DECLS, | |
1681 NDS_BIN_OP_DECLS, NDS_CMP_OP_DECLS, NDS_BOOL_OP_DECLS, | |
1682 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_CMP_OP_DECLS, | |
1683 SND_BOOL_OP_DECLS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
1684 NDND_CMP_OP_DECLS, NDND_BOOL_OP_DECLS, NDND_OP_DECLS, | |
1685 SDM_BIN_OP_DECLS, SDM_OP_DECLS, DMS_BIN_OP_DECLS, DMS_OP_DECLS, | |
1686 MDM_BIN_OP_DECLS, MDM_OP_DECLS, DMM_BIN_OP_DECLS, DMM_OP_DECLS, | |
1687 DMDM_BIN_OP_DECLS, DMDM_OP_DECLS): Ditto. | |
1688 | |
6699 | 1689 2007-06-12 John W. Eaton <jwe@octave.org> |
1690 | |
1691 * dMatrix.cc (Matrix::expm): Special case for scalar arg. | |
1692 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6697 | 1693 |
6693 | 1694 2007-06-06 Michael Goffioul <michael.goffioul@swing.be> |
1695 | |
6709 | 1696 * file-ops.cc (tilde_find_suffix, isolate_tilde_prefix, |
1697 tilde_expand_word): Use file_ops::is_dir_sep instead of comparing | |
1698 with file_ops::dir_sep_char. | |
6694 | 1699 |
6693 | 1700 * MArray-C.cc: Sprinkle with OCTINTERP_API as needed. |
1701 | |
6689 | 1702 2007-06-04 David Bateman <dbateman@free.fr> |
1703 | |
6699 | 1704 * file-ops.cc: Typo. |
1705 | |
6689 | 1706 * Sparse.cc (Sparse<T> Sparse<T>::reshape): If length of new |
1707 dimensions is greater than 2, collapse to 2-D. | |
1708 | |
6685 | 1709 2007-06-02 David Bateman <dbateman@free.fr> |
1710 | |
1711 * SparseCmplxQR.cc: Changes to support CXSparse 2.2.0. | |
1712 | |
6680 | 1713 2007-05-31 John W. Eaton <jwe@octave.org> |
1714 | |
1715 * Array.cc (Array::get_size): Throw std::bad_alloc exception if | |
1716 the computed size is too large for the size of Octave's index type. | |
1717 | |
6662 | 1718 2007-05-23 John W. Eaton <jwe@octave.org> |
1719 | |
1720 * oct-sparse.h: Don't surround included files with extern "C" { ... }. | |
1721 | |
6629 | 1722 2007-05-16 David Bateman <dbateman@free.fr> |
1723 | |
1724 * dRowVector.cc (linspace): Return second argument if fewer than | |
1725 two values are requested. | |
1726 * CRowVector.cc (linspace): Likewise. | |
1727 | |
6596 | 1728 2007-04-27 John W. Eaton <jwe@octave.org> |
1729 | |
1730 * lo-mappers.cc (signum (const Complex&)): Special case for (0, 0). | |
1731 | |
6583 | 1732 2007-04-25 John W. Eaton <jwe@octave.org> |
1733 | |
1734 * oct-fftw.h (octave_fftw): Tag with OCTAVE_API. | |
1735 | |
6553 | 1736 2007-04-20 John W. Eaton <jwe@octave.org> |
1737 | |
1738 * Array.cc (assign1): For x(:) = RHS, require rhs_len == lhs_len, | |
1739 not rhs_len == 1. | |
1740 | |
6536 | 1741 2007-04-18 Michael Goffioul <michael.goffioul@swing.be> |
1742 | |
1743 * oct-md5.h (oct_md5, oct_md5_file): Tag decls with OCTAVE_API. | |
1744 | |
6525 | 1745 2007-04-13 John W. Eaton <jwe@octave.org> |
1746 | |
1747 * Array.cc (Array<T>::maybe_delete_elements_2): Don't return early | |
1748 for empty matrix. Only check for colon index equivalence if not empty. | |
1749 | |
6513 | 1750 2007-04-10 John W. Eaton <jwe@octave.org> |
1751 | |
1752 * SparseCmplxQR.cc | |
1753 (SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep): | |
1754 Move GCC_ATTR_UNUSED before the parameter decl. | |
1755 From Luis Ortiz <lortiz@interactivesupercomputing.com>. | |
1756 | |
6508 | 1757 2007-04-06 John W. Eaton <jwe@octave.org> |
1758 | |
1759 * MArray-defs.h (MARRAY_NORM_BODY): New macro. | |
1760 * MArray.h (MArray<T>::norm): New function. | |
1761 * MArray.cc: Provide decl. | |
1762 * MArray-d.cc (MArray<double>::norm): Define double specialization. | |
1763 * MArray-C.cc (MArray<Complex>::norm): Define Complex specialization. | |
1764 | |
6490 | 1765 2007-04-04 John W. Eaton <jwe@octave.org> |
1766 | |
1767 * Range.cc (Range::nelem_internal): Likewise. | |
1768 * lo-utils.cc (NINT): Use numeric_limits<int> instead of INT_MAX. | |
1769 (NINTbig): Use numeric_limits<octave_idx_type> instead of INT_MAX. | |
1770 From Scott Pakin <pakin@lanl.gov>. | |
1771 | |
6486 | 1772 2007-04-04 David Bateman <dbateman@free.fr> |
1773 | |
1774 * dMatrix.cc (Matrix::inverse): If calc_cond is true, calculate | |
1775 the condition number for positive definite matrices. | |
1776 * CMatrix.cc (ComplexMatrix::inverse): Ditto. | |
1777 * dbleChol.h (CHOL(const Matrix&, bool)): New arg, calc_cond. | |
1778 (CHOL(const Matrix&, octave_idx_type&, bool): Ditto. | |
1779 (octave_idx_type init (const Matrix&, bool)): Ditto. | |
1780 (CHOL(const CHOL&)): Copy xrcond. | |
1781 (CHOL& operator = (const CHOL&)): Copy xrcond. | |
1782 (xrcond): New private data member. | |
1783 * CmplxCHOL.h (ComplexCHOL(const ComplexMatrix&, bool)): New arg, | |
1784 calc_cond. | |
1785 (ComplexCHOL(const ComplexMatrix&, octave_idx_type&, bool): Ditto | |
1786 (octave_idx_type init (const ComplexMatrix&, bool)): Ditto. | |
1787 (ComplexCHOL(const ComplexCHOL&)): Copy xrcond. | |
1788 (ComplexCHOL& operator = (const ComplexCHOL&)): Copy xrcond. | |
1789 (xrcond): New private data member. | |
1790 * dbleCHOL.cc (CHOL::init(const Matrix&, bool)): If calc_cond is | |
1791 true, calculate the condition number with dpocon. | |
1792 * CmplxCHOL.cc (ComplexCHOL::init(const ComplexMatrix&, bool)): If | |
1793 calc_cond is true, calculate the condition number with zpocon. | |
1794 | |
6481 | 1795 2007-04-03 John W. Eaton <jwe@octave.org> |
1796 | |
6482 | 1797 * intNDArray.cc (intNDArray): Delete spurious semicolon. |
1798 | |
1799 * CMatrix.cc (ComplexMatrix::tinverse): Use Array<T> and | |
1800 fortran_vec method instead of OCTAVE_LOCAL_BUFFER to avoid | |
1801 "maybe clobbered by vfork" warning. | |
1802 | |
6483 | 1803 * Sparse-op-defs.h (SPARSE_CUMSUM): Add braces to avoid ambiguous |
6482 | 1804 if/else. |
1805 | |
1806 * oct-spparms.h (octave_sparse_params): Define copy constructor | |
1807 and destructor. | |
1808 | |
6481 | 1809 * Array.cc (assignN): Don't resize dimension if corresponding |
1810 index is empty. | |
1811 | |
6479 | 1812 2007-04-02 John W. Eaton <jwe@octave.org> |
1813 | |
1814 * dMatrix.h (Matrix::inverse): Reinstate versions without | |
1815 MatrixType argument. | |
1816 * CMatrix.h (ComplexMatrix::inverse): Likewise. | |
1817 | |
6467 | 1818 2007-03-27 John W. Eaton <jwe@octave.org> |
1819 | |
1820 * Makefile.in (DISTDIRS): Delete variable. | |
1821 (dist): Delete action for DISTDIRS. Use ln instead of $(LN_S). | |
1822 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
1823 2007-03-26 David Bateman <dbateman@free.fr> |
6460 | 1824 |
1825 * MatrixType.cc: Replace all uses of the method | |
1826 octave_sparse_params::get_key ("bandden") with | |
1827 octave_sparse_params::get_bandden (void). | |
1828 (MatrixType::MatrixType (void)): Undo previous change but use | |
1829 octave_sparse_params::get_bandden (void). | |
1830 * oct-spparms.cc (get_bandden(void), do_get_bandden(void)): New | |
1831 methods. | |
1832 * oct-spparms.h (get_bandden(void), do_get_bandden(void)): | |
1833 Declare them. | |
1834 | |
6458 | 1835 2007-03-26 Luis Ortiz <lortiz@interactivesupercomputing.com> |
1836 David Bateman <dbateman@free.fr> | |
1837 | |
1838 * idx-vector.h.cc (IDX_VEC_REP::idx_vector_rep (const Range&)): | |
1839 Check that all elements are ints before doing anything. Simplify | |
1840 calculation of index values. | |
1841 | |
6457 | 1842 2007-03-26 David Bateman <dbateman@free.fr> |
1843 | |
1844 * Range.cc (Range::all_elements_are_ints): Improve check. | |
1845 | |
6456 | 1846 2007-03-26 John W. Eaton <jwe@octave.org> |
1847 | |
1848 * chNDArray.cc, chMatrix.cc: Also generate comparison and bool ops. | |
1849 * chNDArray.h, chMatrix.h: Provide decls. | |
1850 | |
1851 2007-03-24 Luis Ortiz <lortiz@interactivesupercomputing.com> | |
1852 | |
1853 * MatrixType.cc (MatrixType::MatrixType (void)): Initialize | |
1854 sp_bandden to zero for performance reasons as it's not used. | |
6452 | 1855 |
6435 | 1856 2007-03-23 David Bateman <dbateman@free.fr> |
1857 | |
1858 * oct-rand.cc (octave_rand::seed): Seed differently for big and | |
1859 little endian. | |
1860 | |
6414 | 1861 2007-03-15 John W. Eaton <jwe@octave.org> |
1862 | |
1863 * lo-mappers.cc (acos): Use formula similar to what we use for asin. | |
1864 From Alexander Barth <abarth@marine.usf.edu>. | |
1865 | |
6402 | 1866 2007-03-12 John W. Eaton <jwe@octave.org> |
1867 | |
1868 * oct-inttypes.h (octave_int::octave_int (double)): | |
1869 New Specialization. Round arg. | |
1870 (operator / (const octave_int<T1>&, const octave_int<T2>&)): | |
1871 Round result before converting type. | |
1872 | |
6388 | 1873 2007-03-07 John W. Eaton <jwe@octave.org> |
1874 | |
6392 | 1875 * Array.cc (assign1): Avoid resizing if there is an error. |
1876 | |
6390 | 1877 * dMatrix.cc, CMatrix.cc (operator *): Only check |
1878 f77_exception_encountered immediately after calls that use F77_XFCN. | |
1879 | |
6389 | 1880 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
1881 Only allow resizing empty LHS if it is 0x0. | |
1882 | |
6388 | 1883 * Array.cc (Array<T>::maybe_delete_elements (Array<idx_vector>&, |
1884 const T&)): Handle case of more indices than dimensions. | |
1885 (assign (Array<LT>&, const Array<RT>&, const LT&)): Allow more | |
1886 cases to be handled by assignN. | |
1887 (assignN (Array<LT>&, const Array<RT>&, const LT&)): | |
1888 Special cases for 2-d array assignments for speed. | |
1889 Improve handling of scalar RHS and empty indices. | |
6384 | 1890 |
6383 | 1891 2007-03-05 David Bateman <dbateman@free.fr> |
1892 | |
1893 * oct-md5.c (oct_md5_file (const std::string&)): New function. | |
1894 * oct-md5.h (oct_md5_file (const std::string&)): Declare it. | |
1895 | |
6379 | 1896 2007-03-02 John W. Eaton <jwe@octave.org> |
1897 | |
1898 * str-vec.h (string_vector::empty): Return bool, not int. | |
1899 | |
6375 | 1900 2007-03-01 David Bateman <dbateman@free.fr> |
1901 | |
1902 * md5.h, md5.c: New files from libmd5-rfc sourceforge project for | |
1903 an independent implementation of RFC1321. | |
1904 * oct-md5.h, oct-md5: New files for treating std::string class | |
1905 with MD5. | |
1906 * Makefile.in (INCLUDES): Add md5.h and oct-md5.h | |
1907 (LIBOCTAVE_CXX_SOURCES): Add oct-md5.cc | |
1908 (LIBOCTAVE_C_SOURCES): Add md5.c | |
1909 | |
6366 | 1910 2007-02-27 John W. Eaton <jwe@octave.org> |
1911 | |
1912 * Makefile.in (uninstall): Delete files listed in | |
1913 $(INCLUDES_FOR_INSTALL), instead of $(INCLUDES). | |
1914 From Thomas Treichl <Thomas.Treichl@gmx.net>. | |
1915 | |
6536 | 1916 2007-02-27 Michael Goffioul <michael.goffioul@swing.be> |
6363 | 1917 |
1918 * file-ops.cc (file_ops::recursive_rmdir): | |
1919 Close dir_entry object before calling rmdir. | |
1920 | |
6536 | 1921 2007-02-26 Michael Goffioul <michael.goffioul@swing.be> |
6358 | 1922 |
1923 * Makefile.in: Use $(LN_S) instead of ln or ln -s. | |
1924 | |
6359 | 1925 * sparse-util.h (SparseCholPrint, SparseCholError): |
1926 Tag with OCTAVE_API. | |
1927 | |
6326 | 1928 2007-02-18 David Bateman <dbateman@free.fr> |
1929 | |
1930 * oct-rand.cc (do_old_initialization()): call setcgn(1) prior to | |
1931 calling setall and reset to the current generator after. | |
1932 | |
6323 | 1933 2007-02-16 John W. Eaton <jwe@octave.org> |
1934 | |
1935 * oct-shlib.h (octave_shlib::relative): New data member. | |
1936 (octave_shlib::mark_relative, octave_shlib::is_relative): | |
1937 New functions. | |
1938 | |
6321 | 1939 2007-02-16 Michael Goffioul <michael.goffioul@swing.be> |
1940 | |
1941 * lo-sysdep.cc (octave_popen2): New function to simulate popen2 on | |
1942 windows platform. | |
1943 * lo-sysdep.h (octave_popen2): Declare it. | |
1944 * oct-syscalls.cc (octave_syscalls::popen2): New function. | |
1945 * oct-syscalls.h (octave_syscalls::popen2): Declare it. | |
1946 | |
6306 | 1947 2007-02-14 John W. Eaton <jwe@octave.org> |
1948 | |
1949 * kpse.cc (expand_elt): Omit special treatment for //. | |
1950 | |
6273 | 1951 2007-02-06 John W. Eaton <jwe@octave.org> |
1952 | |
1953 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_REALPATH]: | |
1954 Don't delete value returned from realpath. | |
1955 | |
6271 | 1956 2007-02-05 Thomas Treichl <Thomas.Treichl@gmx.net> |
1957 | |
1958 * file-ops.cc (file_ops::canonicalize_file_name): | |
1959 Provide implementation if realpath function is available. | |
1960 | |
6256 | 1961 2007-01-29 Michael Goffioul <michael.goffioul@swing.be> |
1962 | |
1963 * oct-fftw.h: Sprinkle with OCTAVE_API as needed. | |
1964 | |
6244 | 1965 2007-01-17 Michael Goffioul <michael.goffioul@swing.be> |
1966 | |
1967 * lo-sysdep.cc (octave_chdir): Handle directory names like "C:" on | |
1968 Windows systems. | |
1969 | |
6242 | 1970 2007-01-16 John W. Eaton <jwe@octave.org> |
1971 | |
1972 * dSparse.cc: Fix dgbtrf decl for --enable-64. | |
1973 (SparseMatrix::bsolve): Fix call to dgbtrf for --enable-64 | |
1974 | |
1975 * oct-fftw.h (fftw_planner): Provide decl. | |
1976 | |
6241 | 1977 2007-01-11 Michael Goffioul <michael.goffioul@swing.be> |
1978 | |
1979 * Makefile.in (LINK_DEPS): Include $(CAMD_LIBS) in the list. | |
1980 | |
6236 | 1981 2007-01-10 John W. Eaton <jwe@octave.org> |
1982 | |
1983 * oct-sparse.h: Use HAVE_CHOLMOD_CHOLMOD_H, not | |
1984 HAVE_UMFPACK_CHOLMOD_H for case of "cholmod/cholmod.h". | |
1985 | |
6231 | 1986 2007-01-08 David Bateman <dbateman@free.fr> |
1987 | |
1988 * oct-sparse.h: Replace sparsesuite with suitesparse and | |
1989 SPARSESUITE with SUITESPARSE to match upstream name. | |
1990 | |
6228 | 1991 2007-01-05 David Bateman <dbateman@free.fr> |
1992 | |
1993 * oct-fftw.cc: (octave_fftw_planner::method (void), | |
1994 octave_fftw_planner (FftwMethod)): New methods to interrogate and | |
1995 set the FFTW wisdom method used. | |
1996 (octave_fftw_planner::create_plan) Modify to allow different | |
1997 methods to be used. | |
1998 (octave_fftw_planner): Move class definition from here. | |
1999 * oct-fftw.h (octave_fftw_planner): To here. Add method methods | |
2000 and FftwMethod enum. | |
2001 | |
6221 | 2002 2007-01-03 David Bateman <dbateman@free.fr> |
2003 | |
2004 * MSparse.cc (SPARSE_A2A2_OP, SPARSE_A2A2_FCN_1, | |
2005 SPARSE_A2A2_FCN_1): Modify macros so that scalars stored as | |
2006 sparse matrices are special cased. | |
2007 | |
2008 * Sparse-op-defs.h: Include mx-ops.h to have access to mixed | |
2009 matrix, sparse matrix operations. | |
2010 (SPARSE_SMSM_BIN_OP_1, SPARSE_SMSM_BIN_OP_2, SPARSE_SMSM_BIN_OP_3, | |
2011 SPARSE_SMSM_CMP_OP, SPARSE_SMSM_BOOL_OP, SPARSE_MSM_BIN_OP_1, | |
2012 SPARSE_MSM_BIN_OP_2, SPARSE_MSM_CMP_OP, SPARSE_MSM_BOOL_OP, | |
2013 SPARSE_SMM_BIN_OP_1, SPARSE_SMM_BIN_OP_2, SPARSE_SMM_CMP_OP, | |
2014 SPARSE_SMM_BOOL_OP, SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, | |
2015 FULL_SPARSE_MUL): Modify macros so that scalars stored as | |
2016 sparse matrices are special cased. | |
2017 | |
6217 | 2018 2006-12-22 David Bateman <dbateman@free.fr> |
2019 | |
2020 * boolSparse.cc (SparseBoolMatrix::operator !): Fix off-by-one error. | |
2021 | |
6216 | 2022 2006-12-22 John W. Eaton <jwe@octave.org> |
2023 | |
2024 * dim-vector.h (dim_vector::dim_vector): Always start with at | |
2025 least 2 dimensions. | |
2026 (dim_vector::resize): Don't allow resizing to fewer than 2 dimensions. | |
2027 | |
6208 | 2028 2006-12-06 Michael Goffioul <michael.goffioul@swing.be> |
2029 | |
2030 * lo-sysdep.cc (opendir): Avoid passing \\* to FindFirstFile. | |
2031 | |
2032 * file-ops.cc (ops::canonicalize_file_name): Provide partial | |
6217 | 2033 implementation for Windows. |
6208 | 2034 |
6207 | 2035 2006-12-06 David Bateman <dbateman@free.fr> |
2036 | |
6208 | 2037 * dSparse.cc (SparseMatrix::is_symmetric): Faster implementation. |
2038 * CSparse.cc (SparseComplexMatrix::is_symmetric): Ditto. | |
6207 | 2039 |
2040 * dMatrrix.cc (finverse): Old inverse method renamed inverse. | |
2041 (tinverse): New method for triangular matrices. | |
2042 (inverse): New function with matrix type probing. | |
2043 * dMatrix.h (finverse, tinverse, inverse): New and modified | |
2044 declarations. | |
6208 | 2045 * CMatrix.cc: Ditto. |
2046 * CMatrix.h: Ditto. | |
6207 | 2047 |
6205 | 2048 2006-12-06 John W. Eaton <jwe@octave.org> |
2049 | |
2050 * strptime.c (day_of_the_week): Use code from current glibc sources. | |
2051 | |
6202 | 2052 2006-12-05 John W. Eaton <jwe@octave.org> |
2053 | |
2054 * lo-utils.cc (octave_read_double): If we see '+' or '-' but not | |
2055 followed by 'I' or 'i', try reading number after putting | |
2056 characters back on input stream. | |
2057 | |
6198 | 2058 2006-12-05 Paul Kienzle <pkienzle@users.sf.net> |
2059 | |
2060 * randpoisson.c (oct_fill_randp): For lambda > 1e8, upper limit of | |
2061 loop is n, not L. | |
2062 | |
6194 | 2063 2006-11-30 John W. Eaton <jwe@octave.org> |
2064 | |
2065 * lo-utils.cc (octave_read_double, read_inf_nan_na): | |
2066 Also recognize [+-][Ii]nf. | |
2067 | |
6187 | 2068 2006-11-28 David Bateman <dbateman@free.fr> |
6186 | 2069 |
2070 * oct-sparse.h: Allow sparse headers to also be in a sparsesuite | |
2071 sub-directory. | |
2072 | |
6204 | 2073 * dSparse.cc (SparseMatrix::inverse): Transpose the matrix type as |
2074 well when calling tinverse for lower triangular matrices. | |
2075 * CSparse.cc (SparseComplexMatrix::inverse): | |
2076 Ditto. | |
6185 | 2077 |
6183 | 2078 2006-11-21 John W. Eaton <jwe@octave.org> |
2079 | |
2080 * oct-env.cc (do_absolute_pathname): Undo previous change. | |
2081 | |
6182 | 2082 2006-11-20 John W. Eaton <jwe@octave.org> |
2083 | |
2084 * oct-env.cc (octave_env::do_absolute_pathname): Also return true | |
2085 for ".", and names beginning with "./" or "../". | |
2086 | |
6162 | 2087 2006-11-14 Luis F. Ortiz <lortiz@interactivesupercomputing.com> |
2088 | |
2089 * CMatrix.cc, dMatrix.cc: New tests. | |
2090 | |
6153 | 2091 2006-11-13 Michael Goffioul <michael.goffioul@swing.be> |
2092 | |
2093 * Array-d.cc, dDiagMatrix.h: Sprinkle with OCTAVE_API as needed. | |
2094 | |
6152 | 2095 2006-11-11 John W. Eaton <jwe@octave.org> |
2096 | |
2097 * Makefile.in ($(OPTS_INC), mx-ops.h): | |
2098 Use $(simple-move-if-change-rule) here. | |
2099 | |
6148 | 2100 2006-11-09 David Bateman <dbateman@free.fr> |
2101 | |
2102 * sparse-base-chol.cc (sparse_base_chol_rep::Q): Cast perms(i) to | |
2103 octave_idx_type, not int. | |
2104 | |
6145 | 2105 2006-11-08 John W. Eaton <jwe@octave.org> |
2106 | |
2107 * dir-ops.cc (dir_entry::read): Avoid rewinddir. | |
2108 | |
6141 | 2109 2006-11-06 John W. Eaton <jwe@octave.org> |
2110 | |
2111 * Array.cc (assignN): Exit early if invalid indices are found. | |
2112 | |
6140 | 2113 2006-11-03 Michael Goffioul <michael.goffioul@swing.be> |
2114 | |
2115 * strftime.c [HAVE_TZNAME]: Tag tzname with OCTAVE_IMPORT. | |
2116 | |
6137 | 2117 2006-11-03 John W. Eaton <jwe@octave.org> |
2118 | |
2119 * Makefile.in (DLL_CXXDEFS): Rename from XTRA_CXXDEFS. | |
2120 (DLL_CDEFS): Rename from XTRA_CDEFS. | |
2121 Substitute OCTAVE_DLL_DEFS, not XTRA_OCTAVE_DEFS. | |
2122 | |
6123 | 2123 2006-10-28 Michael Goffioul <michael.goffioul@swing.be> |
2124 | |
2125 * oct-shlib.cc: Undefine min and max after including windows.h. | |
2126 * oct-syscalls.cc (syscalls::pipe (int *)): Avoid infinite recursion. | |
2127 * lo-sysdep.h: Move opendir, readdir, etc. decls here from | |
2128 lo-sysdep.cc. | |
2129 | |
6113 | 2130 2006-10-27 John W. Eaton <jwe@octave.org> |
2131 | |
6119 | 2132 * oct-time.cc [! HAVE_STRFTIME]: Declare strftime. |
2133 | |
2134 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> | |
2135 | |
2136 * mx-op-defs.h (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, | |
2137 NDS_CMP_OPS2): New macros. | |
6113 | 2138 |
6111 | 2139 2006-10-26 John W. Eaton <jwe@octave.org> |
2140 | |
6119 | 2141 * mx-ops (core-type): New field for integer types. |
2142 * mk-ops.awk: Handle core-type for integer comparison ops. | |
2143 | |
6111 | 2144 * lo-cutils.c (octave_strcasecmp, octave-strncasecmp): |
2145 Move here from src/cutils.c. | |
2146 * lo-utils.h: Provide decls. | |
2147 * strcasecmp.c: Move here from src/strcasecmp.c. | |
2148 * strncase.c: Move here from src/strncase.c. | |
2149 * Makefile.in (LIBOCTAVE_C_SOURCES): Add them to the list. | |
2150 | |
6106 | 2151 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
2152 | |
2153 * kpse.cc [! MSVC]: Don't include win32lib.h. | |
2154 | |
6708 | 2155 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-util.h, |
2156 Array.h, CColVector.h, CMatrix.h, CNDArray.h, CRowVector.h, | |
2157 CSparse.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, | |
2158 CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, | |
2159 CollocWt.h, DAE.h, DASPK.h, DASRT.h, DASSL.h, EIG.h, LSODE.h, | |
2160 MArray-C.cc, MArray-defs.h, MSparse-C.cc, MSparse-d.cc, | |
2161 MSparse-defs.h, MatrixType.h, NLEqn.h, Quad.h, Range.h, | |
2162 Sparse-op-defs.h, Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, | |
2163 SparseCmplxQR.h, SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, | |
2164 boolMatrix.h, boolNDArray.h, boolSparse.h, chMatrix.h, | |
2165 chNDArray.h, cmd-edit.h, cmd-hist.h, dColVector.h, dDiagMatrix.h, | |
2166 dMatrix.h, dNDArray.h, dRowVector.h, dSparse.h, data-conv.h, | |
2167 dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, dbleLU.h, | |
2168 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, dir-ops.h, | |
2169 file-ops.h, file-stat.h, glob-match.h, idx-vector.h, | |
2170 int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, | |
2171 lo-cutils.c, lo-ieee.h, lo-mappers.h, lo-specfun.h, lo-utils.h, | |
2172 mach-info.h, mx-op-defs.h, oct-alloc.h, oct-env.h, oct-group.h, | |
2173 oct-inttypes.cc, oct-inttypes.h, oct-passwd.h, oct-rand.h, | |
2174 oct-shlib.h, oct-spparms.h, oct-syscalls.h, oct-time.h, | |
2175 oct-uname.h, pathsearch.h, prog-args.h, so-array.h, str-vec.h, | |
2176 uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc, | |
2177 uint8NDArray.cc: Sprinkle with OCTAVE_API as needed. | |
6108 | 2178 |
6105 | 2179 2006-10-26 John W. Eaton <jwe@octave.org> |
2180 | |
2181 * oct-inttypes.cc (INSTANTIATE_INTTYPE_BIN_OP): Provide explicit | |
2182 type qualification for OP. | |
2183 | |
6101 | 2184 2006-10-26 David Bateman <dbateman@free.fr> |
2185 | |
2186 * Sparse.cc (Sparse<T>::resize_no_fill (octave_idx_type, | |
2187 octave_idx_type)): Be more careful with the size of the input | |
2188 matrix, and therefore don't create or read non existent data. | |
2189 | |
6092 | 2190 2006-10-25 John W. Eaton <jwe@octave.org> |
2191 | |
2192 * Sparse.cc (assign): Clear lhs index after error. | |
2193 | |
6093 | 2194 2006-10-25 David Bateman <dbateman@free.fr> |
6092 | 2195 |
2196 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
2197 Fix previous patch so it works. | |
2198 | |
6087 | 2199 2006-10-25 Michael Goffioul <michael.goffioul@swing.be> |
2200 | |
6095 | 2201 * glob-match.h (glob_match::glob_match (const std::string&, |
2202 unsigned int)): Delete initializer for first arg. | |
2203 | |
6093 | 2204 * lo-sysdep.cc (opendir, readdir, rewinddir, closedir): |
2205 New functions. | |
2206 | |
6087 | 2207 * Makefile.in (XTRA_CDEFS, XTRA_CXXDEFS): Substitute here. |
2208 | |
6096 | 2209 * oct-env.cc (octave_env::do_get_home_directory) [_MSC_VER]: Use |
2210 same code as __MINGW32__. | |
2211 * syswait.h [_MSC_VER]: Define HAVE_WAITPID, WAITPID, and WNOHANG | |
2212 the same as for __MINGW32__. | |
2213 | |
2214 * randpoisson.c: Undefine INFINITE before redefining. | |
2215 | |
6079 | 2216 2006-10-24 David Bateman <dbateman@free.fr> |
2217 | |
2218 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Resize the | |
2219 lhs at the point we know the assignment can succeed if the lhs is | |
2220 empty. | |
2221 | |
6072 | 2222 2006-10-23 John W. Eaton <jwe@octave.org> |
2223 | |
2224 * Array.cc (assign2): Don't require vector assignments to be oriented. | |
2225 | |
6061 | 2226 2006-10-17 John W. Eaton <jwe@octave.org> |
2227 | |
2228 * lo-cieee.c: If isnan is not available but _isnan is, then define | |
2229 isnan to be _isnan, and define HAVE_ISNAN. Likewise for _finite | |
2230 and _copysign. | |
2231 | |
6059 | 2232 2006-10-17 Michael Goffioul <michael.goffioul@swing.be> |
6051 | 2233 |
6061 | 2234 * oct-syscalls.cc (syscalls::waitpid): Always declare and define retval. |
2235 | |
6708 | 2236 * CMatrix.cc (ComplexMatrix::solve): Avoid infinite recursion. |
2237 * CSparse.cc (SparseComplexMatrix::insert): Likewise. | |
6061 | 2238 |
6058 | 2239 * oct-types.h.in: Include limits.h, for CHAR_BIT. |
2240 | |
6059 | 2241 2006-10-13 Michael Goffioul <michael.goffioul@swing.be> |
2242 | |
6051 | 2243 * Makefile.in: Adapt rules to use $(LIBPRE). |
2244 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2245 2006-10-03 David Bateman <dbateman@free.fr> |
6027 | 2246 |
2247 * MatrixType.cc (MatrixType::MatrixType): Avoid crash if np == 0 | |
2248 or p == 0. | |
2249 | |
6018 | 2250 2006-10-02 John W. Eaton <jwe@octave.org> |
2251 | |
2252 * dbleDET.cc (DET::initialize2): Ensure arg to log10 is double. | |
2253 * CmplxDET.cc (ComplexDET::initialize2): Likewise. | |
2254 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2255 2006-09-22 David Bateman <dbateman@free.fr> |
5996 | 2256 |
2257 * MatrixType.h (MatrixType::MatrixType(const SparseComplexMatrix&)): | |
5997 | 2258 Remove spurious warning. |
5996 | 2259 |
5992 | 2260 2006-09-15 John W. Eaton <jwe@octave.org> |
2261 | |
2262 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&) const): | |
2263 Handle resizing. | |
2264 | |
2265 * intNDArray.h (intNDArray<T>:elt_type): New typedef. | |
2266 | |
5983 | 2267 2006-09-11 John W. Eaton <jwe@octave.org> |
2268 | |
2269 * dMatrix.cc (operator * (const Matrix&, const Matrix&))): | |
2270 Handle M*v and rv*cv special cases. | |
2271 * CMatrix.cc (operator * (const ComplexMatrix&, const | |
2272 ComplexMatrix&))): Likewise. | |
2273 From Luis F. Ortiz <lortiz@interactivesupercomputing.com>. | |
2274 | |
2275 * dRowVector.cc (operator * (const RowVector&, const | |
2276 ColumnVector&)): Call xddot here instead of using a Fortran | |
2277 function directly. | |
2278 * CRowVector.cc (operator * (const ComplexRowVector&, const | |
2279 ComplexColumnVector&)): Call xzdotu here. | |
2280 | |
2281 2006-09-05 John W. Eaton <jwe@octave.org> | |
2282 | |
2283 * chNDArray.cc (charNDArray::any, charNDArray::all): Compare | |
2284 elements to '\0', not ' '. | |
2285 | |
5972 | 2286 2006-08-25 John W. Eaton <jwe@octave.org> |
2287 | |
2288 * mx-inlines.cc (MX_ND_REDUCTION): Special case for 0x0 arrays. | |
2289 | |
5958 | 2290 2006-08-23 John W. Eaton <jwe@octave.org> |
2291 | |
2292 * dMatrix.cc, dMatrix.h (Matrix::save_ascii): Delete function and decl. | |
2293 * CMatrix.cc, CMatrix.h (ComplexMatrix::save_ascii): Likewise. | |
2294 | |
5955 | 2295 2006-08-22 John W. Eaton <jwe@octave.org> |
2296 | |
5956 | 2297 * CMatrix.cc (ComplexMatrix::save_ascii): New function. |
2298 * dMatrix.cc (Matrix::save_ascii): New function. | |
2299 | |
5955 | 2300 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Correctly detect empty arrays. |
2301 If array is empty, return value is same size as array. | |
2302 (MX_ND_REDUCTION): Correctly detect empty arrays. | |
2303 If array is empty, produce correctly sized return value. | |
2304 | |
5940 | 2305 2006-08-18 John W. Eaton <jwe@octave.org> |
2306 | |
5943 | 2307 * dMatrix.cc (Matrix::any_element_not_one_or_zero): New function. |
2308 * dMatrix.h: Provide decl. | |
2309 * dNDArray.cc (NDArray::any_element_not_one_or_zero): New function. | |
2310 * dNDArray.h: Provide decl. | |
2311 * intNDArray.cc (intNDArray<T>::any_element_not_one_or_zero): | |
2312 New function. | |
2313 * intNDArray.h: Provide decl. | |
2314 | |
5940 | 2315 * Array.cc (Array<T>::permute): Only rearrange values if array is |
2316 not empty. | |
2317 | |
5904 | 2318 2006-07-26 John W. Eaton <jwe@octave.org> |
2319 | |
2320 * dbleDET.cc (DET::initialize10, DET::value_will_underflow, | |
2321 DET::value_will_overflow): Use xlog2 instead of log2. | |
2322 (DET::initialize2, DET::initialize10): Use xround instead of round. | |
2323 (DET::initialize2, DET::value): Use xexp2 instead of exp2. | |
2324 * CmplxDET.cc (ComplexDET::initialize10, | |
2325 ComplexDET::value_will_underflow, | |
2326 ComplexDET::value_will_overflow): Use xlog2 instead of log2. | |
2327 (ComplexDET::initialize2, ComplexDET::initialize10): | |
2328 Use xround instead of round. | |
2329 (ComplexDET::initialize2, ComplexDET::value): | |
2330 Use xexp2 instead of exp2. | |
2331 | |
2332 * lo-mappers.cc (M_LOG10E): Delete unused macro. | |
2333 (xlog2, xexp2): New functions. | |
2334 * lo-mappers.h: Provide decls. | |
2335 | |
5900 | 2336 2006-07-22 John W. Eaton <jwe@octave.org> |
2337 | |
2338 * Sparse.h (Sparse<T>::mex_get_data, Sparse<T>::mex_get_ir, | |
2339 Sparse<T>::mex_get_jc): New functions. | |
2340 | |
2341 2006-07-21 John W. Eaton <jwe@octave.org> | |
2342 | |
2343 * oct-inttypes.h (octave_int<T>::mex_get_data): New function. | |
2344 * Array.h (Array<T>::mex_get_data): New function. | |
2345 | |
5898 | 2346 2006-07-19 John W. Eaton <jwe@octave.org> |
2347 | |
2348 * oct-inttypes.h (octave_int::operator bool (void)): New function. | |
2349 | |
5893 | 2350 2006-07-16 John W. Eaton <jwe@octave.org> |
2351 | |
2352 * oct-spparms.h, oct-spparms.cc (class octave_sparse_params): | |
2353 Rename from SparseParams. Use same implementation method as other | |
2354 singleton classes in Octave. Change all uses of | |
2355 Voctave_sparse_controls to use static functions from | |
2356 octave_sparse_params class instead. | |
2357 | |
2358 * oct-spparms.h, oct-spparms.cc (SparseParams::set_key, | |
2359 SparseParams::get_key): Pass std::string arg by const reference, | |
2360 not const value. | |
2361 | |
5892 | 2362 2006-07-15 John W. Eaton <jwe@octave.org> |
2363 | |
2364 * data-conv.cc: Instantiante swap_bytes templates here. | |
2365 | |
2366 * MatrixType.cc (MatrixType::MatrixType): | |
2367 Use complete initializer lists in constructors. | |
2368 | |
5880 | 2369 2006-07-06 John W. Eaton <jwe@octave.org> |
2370 | |
2371 * str-vec.cc (string_vector::string_vector (std::list<std::string>&)): | |
2372 New constructor. | |
2373 * str-vec.h: Provide decl. | |
2374 | |
5876 | 2375 2006-07-01 David Bateman <dbateman@free.fr> |
2376 | |
2377 * dSparse.cc (tinverse): Check for rows with no elements and zero | |
2378 elements on the diagonal. Allow both Upper and Lower triangular | |
2379 matrices to be treated. | |
2380 * CSparse.cc (tinverse): ditto. | |
2381 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Take into account 64-bit | |
2382 constant assignment. | |
2383 | |
5870 | 2384 2006-06-30 John W. Eaton <jwe@octave.org> |
2385 | |
5872 | 2386 * lo-sysdep.cc (octave_chdir): Perform tilde expansion here. |
2387 * cmd-edit.cc (editor::read_init_file): Ditto. | |
2388 * dir-ops.cc (dir_entry::open): Ditto. | |
5871 | 2389 * file-stat.cc (stat::update_internal): Ditto. |
5872 | 2390 * cmd-hist.cc (command_history::set_file): Ditto. |
5871 | 2391 |
5870 | 2392 * data-conv.cc (data_conv::string_to_data_type): |
2393 Correctly handle leading "*". | |
2394 | |
5869 | 2395 2006-06-29 Atsushi Kajita <a-kajita@mizar.freemail.ne.jp> |
2396 | |
2397 * Sparse.cc (Sparse<T>::SparseRep::elem): Avoid out of bounds | |
2398 array access. | |
2399 | |
5866 | 2400 2006-06-27 John W. Eaton <jwe@octave.org> |
2401 | |
2402 * Makefile.in: Finish renaming of OBJECTS -> LIBOCTAVE_OBJECTS. | |
2403 | |
5864 | 2404 2006-06-21 John W. Eaton <jwe@octave.org> |
2405 | |
2406 * oct-shlib.cc (octave_dlopen_shlib::close, | |
2407 octave_shl_load_shlib::close, octave_w32_shlib::close): | |
2408 Skip do_close_hook if cl_hook is 0. | |
2409 | |
5863 | 2410 2006-06-16 John W. Eaton <jwe@octave.org> |
2411 | |
2412 * oct-sort.h: Don't include config.h, lo-mappers.h, or quit.h. | |
2413 * randmtzig.h: Don't inlcude config.h. | |
2414 | |
5837 | 2415 2006-05-31 David Bateman <dbateman@free.fr> |
2416 | |
2417 * Array.cc (assignN): Maybe reshape LHS before doing assignment. | |
2418 | |
5828 | 2419 2006-05-23 John W. Eaton <jwe@octave.org> |
2420 | |
2421 * oct-types.h.in: Include stdint.h or inttypes.h for integer | |
2422 typedefs, or define them if those files are not available. | |
2423 * oct-inttypes.h (octave_int8_t, octave_int16_t, octave_int32_t, | |
2424 octave_int64_t, octave_uint8_t, octave_uint16_t, octave_uint32_t, | |
2425 octave_uint64_t): Delete typedefs. Replace all uses of these | |
2426 types with int8_t, int16_t, etc. | |
2427 * data-conv.h (TWO_BYTE_INT, FOUR_BYTE_INT, EIGHT_BYTE_INT): | |
2428 Delete definitions. Replace all uses of these macros with int8_t, | |
2429 int16_t, etc. | |
2430 * randmtzig.h: Delete integer typedefs. | |
2431 | |
5822 | 2432 2006-05-18 John W. Eaton <jwe@octave.org> |
2433 | |
2434 * EIG.cc (EIG::init): Trap Inf and NaN values here. | |
2435 From Keith Goodman <kwgoodman@gmail.com>. | |
2436 | |
5813 | 2437 2006-05-08 David Bateman <dbateman@free.fr> |
2438 | |
2439 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): fix bug in previous | |
2440 modification. | |
2441 | |
5797 | 2442 2006-05-09 David Bateman <dbateman@free.fr> |
2443 | |
2444 * sparse-dmsolve.cc: Remove reference to ov-re-sparse.h, | |
2445 ov-cx-sparse. and error_state. | |
2446 * SparseQR.cc, SparseCmplxQR.cc (qrsolve): Return info = -1 on error. | |
2447 | |
5795 | 2448 2006-05-08 David Bateman <dbateman@free.fr> |
2449 | |
2450 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Set column pointers in | |
2451 first pass and use to determine which algorithm to use on a | |
2452 column-by-column basis. | |
2453 | |
5792 | 2454 2006-05-04 David Bateman <dbateman@free.fr> |
2455 | |
2456 * SparseQR.cc, SparseQR.h, SparseCmplxQR.cc, SparseCmplxQR.h, | |
2457 sparse-dmsolve.cc : Allow compilation with versions v2.0.0 of | |
2458 CXSparse or later | |
2459 | |
5785 | 2460 2006-05-03 David Bateman <dbateman@free.fr> |
2461 | |
2462 * CMatrix.cc (zpotrf, zpocon, zpotrs, ztrcon, ztrtrs): | |
2463 External declaration of lapack triangular and Cholesky codes. | |
2464 (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, | |
2465 ComplexMatrix::fsolve): New private solver codes for | |
2466 upper, lower and LU/Cholesky solvers. | |
2467 (ComplexMatrix::solve): New versions for cached matrix | |
2468 type. Adapt old versions to call new versions | |
2469 * CMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
2470 new solvers. | |
2471 (solve): New versions for cached matrix type. | |
2472 * dMatrix.cc (dpotrf, dpocon, dpotrs, dtrcon, dtrtrs): | |
2473 External declaration of lapack triangular and Cholesky codes. | |
2474 (Matrix::utsolve, Matrix::ltsolve, | |
2475 Matrix::fsolve): New private solver codes for | |
2476 upper, lower and LU/Cholesky solvers. | |
2477 (Matrix::solve): New versions for cached matrix | |
2478 type. Adapt old versions to call new versions | |
2479 * dMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
2480 new solvers. | |
2481 (solve): New versions for cached matrix type. | |
2482 * CSparse.cc: Replace all uses of SparseType with MatrixType. | |
2483 * CSparse.h: ditto. | |
2484 * dSparse.cc: ditto. | |
2485 * dSparse.h: ditto. | |
2486 * SparseCmplxCHOL.cc: ditto. | |
2487 * SparsedbleCHOL.cc: ditto. | |
2488 * sparse-dmsolve.cc: ditto. | |
2489 * SparseType.cc, SparseType.h: delete. | |
2490 * MatrixType.cc: New file for class to cache matrix type, based on | |
2491 old SparseType class but caching matrix and sparse types. | |
2492 * MatrixType.h: ditto. | |
2493 * Makefile.in (MATRIX_INC, MATRIX_SRC): Add MatrixType.h and | |
2494 MatrixType.cc respectively. Delete SparseType.h and SparseType.cc | |
2495 respectively. | |
2496 * mx-base.h: Include MatrixTye.h as header file. | |
2497 | |
5781 | 2498 2006-05-01 John W. Eaton <jwe@octave.org> |
2499 | |
2500 * oct-shlib.h (octave_shlib::octave_shlib, octave_shlib::open): | |
2501 Delete WARN_FUTURE arg. Change all uses. | |
2502 * oct-shlib.cc (octave_base_shlib::stamp_time): Delete arg. | |
2503 Change all uses. Use current_liboctave_warning_with_id_handler. | |
2504 (octave_base_shlib::open): Delete arg. Change all derived classes | |
2505 and uses. | |
2506 | |
2507 2006-04-29 John W. Eaton <jwe@octave.org> | |
2508 | |
2509 * Array-flags.cc, Array-flags.h: Delete. | |
2510 * Makefile.in (MATRIX_SRC): Remove Array-flags.cc from the list. | |
2511 (MATRIX_INC): Remove Array-flags.h from the list. | |
2512 | |
2513 * idx-vector.cc (IDX_VEC_REP::freeze): Delete warn_resize arg. | |
2514 Use current_liboctave_warning_with_id_handler | |
2515 with warning ID Octave:resize-on-range-error. | |
2516 * idx-vector.h: Fix decl. | |
2517 * Array.cc, Sparse.cc: Change all callers. | |
2518 | |
2519 * Array.cc (Array<T>::maybe_delete_elements, Array<T>::index2, | |
2520 assign2, assignN): Use current_liboctave_warning_with_id_handler | |
2521 with warning ID Octave:fortran-indexing instead of | |
2522 liboctave_wfi_flag. | |
2523 * Sparse.cc (assign, Sparse<T>::index): Likewise. | |
2524 | |
5777 | 2525 2006-04-26 John W. Eaton <jwe@octave.org> |
2526 | |
2527 * pathsearch.cc (dir_path::path_sep_char, dir_path::path_sep_str): | |
2528 New static data. | |
2529 * pathsearch.h: Provide decls. | |
2530 (dir_path::is_path_sep): New function. | |
2531 | |
5766 | 2532 2006-04-18 John W. Eaton <jwe@octave.org> |
2533 | |
2534 * randmtzig.c (randmt, randi53, randi54, randi64, randu32, randu53): | |
2535 Omit inline from decl. | |
2536 | |
2537 * Sparse.cc (Sparse<T>::index): Use std::vector<bool> to avoid | |
2538 local array with variable dimension. | |
2539 | |
5764 | 2540 2006-04-16 John W. Eaton <jwe@octave.org> |
2541 | |
5765 | 2542 * lo-sstream.h: Delete. |
2543 * Makefile.in (INCLUDES): Remove it from the list. | |
2544 | |
2545 * dim-vector.h (dim_vector::str): Use std::ostringstream directly. | |
2546 * Sparse.cc (Sparse::range_error): Likewise. | |
2547 * DASSL.cc (DASSL::error_message): Likewise. | |
2548 * LSODE.cc (LSODE::error_message): Likewise. | |
2549 * DASRT.cc (DASRT::error_message): Likewise. | |
2550 * DASPK.cc (DASPK::error_message): Likewise. | |
2551 * Array.cc (Array::range_error): Likewise. | |
2552 | |
5764 | 2553 * kpse.cc (kpse_hash): Rename from hash. |
2554 (hash_lookup): Call kpse_hash instead of hash. | |
2555 | |
2556 * SparseType.cc (SparseType::SparseType): Use std::vector<bool> | |
2557 to avoid local array with variable dimension. | |
2558 | |
5760 | 2559 2006-04-13 David Bateman <dbateman@free.fr> |
2560 | |
2561 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
2562 Optimize assignment. | |
2563 | |
2564 2006-04-13 John W. Eaton <jwe@octave.org> | |
2565 | |
2566 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
2567 Eliminate unnecessary casts. | |
2568 * SparsedbleLU.cc (SparseLU::SparseLU): Likewise. | |
2569 | |
2570 * kpse.cc (fopen): Use reinterpret_cast instead of C-style cast. | |
2571 (log_search, dir_links): Use static_cast instead of C-style cast. | |
2572 | |
2573 * prog-args.cc (args::getopt): Use reinterpret_cast instead of X_CAST. | |
2574 * oct-alloc.cc (allocator::grow): Likewise. | |
2575 * CSparse.cc (SparseComplexMatrix::determinant, | |
2576 SparseComplexMatrix::factorize, SparseComplexMatrix::fsolve): | |
2577 Likewise. | |
2578 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU): Likewise. | |
2579 | |
2580 * oct-sort.cc (roundupsize, octave_sort<T>::merge_getmem): | |
2581 Use static_cast instead of C-style cast. | |
2582 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
2583 * dSparse.cc (SparseMatrix::fsolve): Likewise. | |
2584 | |
2585 * data-conv.cc (LS_DO_WRITE): Use static_cast for value conversion. | |
2586 Use OCTAVE_LOCAL_BUFFER instead of new/delete. | |
2587 (LS_DO_READ): Allocate local buffer to avoid pointer tricks. | |
2588 (write_doubles, read_doubles, LS_DO_WRITE, LS_DO_READ): | |
2589 Use reinterpret_cast instead of X_CAST. | |
2590 | |
2591 * DiagArray2.h (DiagArray2::Proxy::operator&): No need to cast | |
2592 return value here. | |
2593 | |
5752 | 2594 2006-04-12 Rafael Laboissiere <rafael@debian.org> |
2595 | |
2596 * ArrayN.h (ArrayN::ArrayN): Qualify fill with Array<T> base class. | |
2597 * DiagArray2.h (DiagArray2::DiagArray2): Likewise. | |
2598 | |
5730 | 2599 2006-04-03 David Bateman <dbateman@free.fr> |
2600 | |
5731 | 2601 * Sparse.cc (Sparse<T>::resize): Use xcidx rather than cdix, etc |
2602 to avoid copy of original matrix. | |
2603 | |
5730 | 2604 * Makefile.in (INCLUDES): Add randgamma.h, randpoisson.h and |
2605 randmtzig.h to the list. | |
2606 (LIBOCTAVE_C_SOURCES): Add randgamma.c, randpoisson.c and | |
2607 randmtzig.c to the list. | |
2608 * oct-rand.cc (do_old_initialization): Rename from do_initialization. | |
2609 (use_old_generators): New variable. | |
2610 (old_initialized): Rename from initialized. | |
2611 (new_initialized): New variable. | |
2612 (oct_init_by_entropy): New function. | |
2613 (maybe_initialize): Initialize new or old generator depending on | |
2614 value of use_old_generators. | |
2615 (octave_rand::state): New functions. | |
2616 (octave_rand::distribution): Add gamma, exponential and poisson | |
2617 distributions. | |
2618 (octave_rand::exponential_distribution, | |
2619 octave_rand::poisson_distribution, | |
2620 octave_rand::gamma_distribution): New methods to select | |
2621 exponential, poisson or gamma distribution. | |
2622 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
2623 octave_rand::vector): Add new distributions. | |
2624 * oct-rand.h: Provide decls for new functions. | |
2625 (octave_rand::matrix, octave_rand::scalar, octave_rand:: | |
2626 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
2627 octave_rand::vector): New arg A, for gamma and poisson distributions. | |
2628 * randpoisson.c, randpoisson.h, randgamma.c, randmtzig.c, | |
2629 randmtzig.h: New files. | |
2630 | |
5717 | 2631 2006-03-24 John W. Eaton <jwe@octave.org> |
2632 | |
2633 * dSparse.cc (SparseMatrix::bsolve): Integer work vector is | |
2634 Array<octave_idx_type>, so fortran_vec returns pointer to | |
2635 octave_idx_type, not pointer to int. | |
2636 | |
2637 * CMatrix.cc, CMatrix.h (ComplexMatrix::row (char*), | |
2638 ComplexMatrix::column (char*)): Delete. | |
2639 * dMatrix.cc, dMatrix.h (Matrix::row (char*), | |
2640 Matrix::column (char*)): Delete. | |
2641 | |
5713 | 2642 2006-03-21 David Bateman <dbateman@free.fr> |
2643 | |
2644 * SparseQR.h: Publish externally used friends. | |
2645 * SparseCmplxQR.h: ditto. | |
2646 | |
5700 | 2647 2006-03-21 John W. Eaton <jwe@octave.org> |
2648 | |
2649 * lo-specfun.cc (betainc): Use F77_XFCN instead of F77_FUNC for | |
2650 call to xdbetai. | |
2651 | |
5697 | 2652 2006-03-21 David Bateman <dbateman@free.fr> |
2653 | |
5701 | 2654 * lo-specfun.cc (xlgamma, xgamma): Trap special values. |
2655 (xlgamma): Use F77_XFCN instead of F77_FUNC for call to dlgams. | |
5700 | 2656 |
2657 * dSparse.cc (solve): Add argument singular_fallback, to allow | |
2658 fallback to QR solvers to be optional. | |
2659 * CSparse.cc (solve): Ditto. | |
2660 * dSparse.h (solve): update declaration for new argument. | |
2661 * CSparse.h (solve): Ditto. | |
2662 * sparse-dmsolve.cc (dmsolve): Use singular_fallback argument | |
2663 to bypass QR solvers when solving the well determined part of | |
2664 the problem. | |
5697 | 2665 |
5690 | 2666 2006-03-17 John W. Eaton <jwe@octave.org> |
2667 | |
2668 * str-vec.cc (vector::list_in_columns): New optional arg, width. | |
2669 | |
5681 | 2670 2006-03-16 David Bateman <dbateman@free.fr> |
2671 | |
2672 * CSparse.cc: Change use of nzmax to nnz to allow automatic | |
2673 reduction of matrix size, except for a couple of cases where nzmax | |
2674 is needed. | |
2675 (zpbcon): Correct declaration of lapack zpbcon function. | |
2676 (dsolve, utsolve, ltsolve, trisolve, bsolve, factorize, fsolve): Add | |
2677 an argument to allow the calculation of condition number to be | |
2678 optional. | |
2679 (bsolve): Add code for the calculation of the condition number | |
2680 using zpbcon and zgbcon. | |
2681 (dsolve): Bug fix for rectangular matrices with sparse RHS. | |
2682 (utsolve, ltsolve, trisolve, bsolve, fsolve): Mark matrix type as | |
2683 singular if singularity is detected. | |
2684 (solve): Use optional argument to disable calculation of | |
2685 condition number for all but fsolve, for speed. Add code to | |
2686 allow rectnagular matrices or matrices identified as singular | |
2687 to be treated. | |
2688 (lssolve): delete. | |
2689 (operator *): Don't recast real matrices as complex, but | |
2690 rather use the macro directly on the real data. | |
2691 * dSparse.cc: ditto. | |
2692 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, | |
2693 fsolve, factorize): Update declaration for new argument to | |
2694 calculate the condition number. | |
2695 (lssolve): delete. | |
2696 * dSparse.h: ditto. | |
2697 * Msparse.h: Change use of nxmax to nnz to allow automatic | |
2698 reduction of matrix size, except for a couple of cases where | |
2699 nzmax is needed. | |
2700 * Sparse.cc: Change use of nxmax to nnz to allow automatic | |
2701 reduction of matrix size, except for a couple of cases where | |
2702 nzmax is needed. | |
2703 (Sparse<T>::index (idx_vector&, idx_vector&, int) const): | |
2704 Special case strict permutations for speed. | |
2705 * Sparse-op-defs.h: 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_SPARSE_MUL, SPARSE_FULL_MUL, FULL_SPARSE_MUL): Update | |
2709 macros to allow mixed complex/real arguments. | |
2710 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): New macro for C99 zero | |
2711 value. | |
2712 (qrsolve): Use it to zero temporary buffers used bt CXSPARSE. | |
2713 * SparseType.cc (SparseType::SparseType ()): Correct detection | |
2714 of permutated triangular matrices to avoid seg-faults. Disable | |
2715 detection of underdetermined lower and over-determined upper | |
2716 matrix due to problems with non minimum norm solutions. | |
2717 * sparse-dmsolve.cc: New file for Dulmage-Mendelsohn solver. | |
2718 * Makefile.in: add sparse-dmsolve.cc to targets. | |
2719 | |
5675 | 2720 2006-03-15 William Poetra Yoga Hadisoeseno <williampoetra@gmail.com> |
2721 | |
2722 * oct-time.cc (octave_strptime::init): Return useful character count. | |
2723 | |
5648 | 2724 2006-03-08 David Bateman <dbateman@free.fr> |
2725 | |
2726 * SparseCmplxQR.cc: Updates for new upstream CXSPARSE release. Fix for | |
2727 g++ 4.x stl_vector.h issue with C99 double _Complex type. | |
2728 * SparseCmplxQR.h: Updates for new upstream CXSPARSE release. | |
2729 * SparseQR.cc: ditto. | |
2730 * SparseQR.h: ditto. | |
2731 * oct-sparse.h: ditto. | |
2732 * sparse-base-chol.cc (sparse_base_chol<>::sparse_base_chol_rep::init): | |
2733 Declare info variable as volatile. | |
2734 | |
2735 * Sparse.cc (Sparse<T>::transpose (void) const): Accelerate algorithm. | |
2736 * CSparse.cc (SparseComplexMatrix::transpose (void) const): ditto. | |
2737 | |
5634 | 2738 2006-03-01 John W. Eaton <jwe@octave.org> |
2739 | |
2740 * CMatrix.cc (ComplexMatrix::determinant): | |
2741 Scale result by factors of 2, not 10. | |
2742 * dMatrix.cc (Matrix::determinant): Likewise. | |
2743 | |
2744 * dbleDET.h (DET::DET): Use initializer list. | |
2745 (DET::coefficient2, DET::coefficient10, DET::exponent2, | |
2746 DET::exponent10): New functions. | |
2747 (DET::det): Delete. | |
2748 (DET::c2, DET::c10, DET::e2, DET::e10, DET::base2): New data members. | |
2749 Store value internally with double and int instead of 2-element | |
2750 double vector. | |
2751 (DET::initialize2, DET::initialize10): Provide decls. | |
2752 * dbleDET.cc (DET::value_will_overflow, DET::value_will_underflow): | |
2753 Return bool value, not int. | |
2754 (DET::initialize2, DET::initialize10): New functions. | |
2755 | |
2756 * CmplxDET.h (ComplexDET::ComplexDET): Use initializer list. | |
2757 (ComplexDET::coefficient2, ComplexDET::coefficient10, | |
2758 ComplexDET::exponent2, ComplexDET::exponent10): New functions. | |
2759 (ComplexDET::det): Delete. | |
2760 (ComplexDET::c2, ComplexDET::c10, ComplexDET::e2, ComplexDET::e10, | |
2761 ComplexDET::base2): New data members. | |
2762 Store value internally with Complex and int instead of 2-element | |
2763 Complex vector. | |
2764 (ComplexDET::initialize2, ComplexDET::initialize10): Provide decls. | |
2765 * dbleComplexDET.cc (ComplexDET::value_will_overflow, | |
2766 ComplexDET::value_will_underflow): Return bool value, not int. | |
2767 (ComplexDET::initialize2, ComplexDET::initialize10): New functions. | |
2768 | |
5632 | 2769 2006-02-24 John W. Eaton <jwe@octave.org> |
2770 | |
2771 * Array.cc (assignN): Clear index before reshaping. | |
2772 | |
2773 * Array.h (Array<T>::operator =): Don't set idx to 0 if copying self. | |
2774 | |
5630 | 2775 2006-02-20 David Bateman <dbateman@free.fr> |
2776 | |
2777 * dSparse.cc (dsolve, utsolve, ltsolve): Remove restriction that | |
2778 matrix must be square in diagonal, permuted diagonal, triangular | |
2779 and permuted triangular back/forward substitution code. Change | |
2780 ambiguous use of no. rows and columns. | |
2781 * CSParse.cc (dsolve, utsolve, ltsolve): ditto. | |
2782 * SparseType.cc (SparseType::SparseType(const SparseMatrix&), | |
2783 SparseType::SparseType(const SparseComplexMatrix&)): Recognize | |
2784 rectangular diagonal, permuted diagonal, triangular and permuted | |
2785 triangular matrices. | |
2786 * Sparse.cc (Sparse<T>::Sparse (octave_idx_type, octave_idx_type, T)): | |
2787 Treat case where third argument is zero. | |
2788 | |
5621 | 2789 2006-02-15 John W. Eaton <jwe@octave.org> |
2790 | |
5622 | 2791 * kpse.cc: Do define ST_NLINK_TRICK for Cygwin systems. |
2792 (do_subdir) [ST_NLINK_TRICK]: Check links != 2 instead of links > 2. | |
2793 | |
5621 | 2794 * getopt.c: Use __CYGWIN__ instead of __CYGWIN32__. |
2795 | |
5619 | 2796 2006-02-13 David Bateman <dbateman@free.fr> |
2797 | |
2798 * Makefile.in (LINK_DEPS): Add missing dependencies on colamd, | |
2799 ccolamd and cxsparse | |
2800 | |
5617 | 2801 2006-02-13 John W. Eaton <jwe@octave.org> |
2802 | |
5618 | 2803 * kpse.cc (kpse_path_iterator::next): Reverse order of tests in |
2804 while loop condition. | |
2805 (kpse_path_iterator::operator =): Declare as private function but | |
2806 don't define to prevent attempts to use assignment operator. | |
2807 Don't define ST_NLINK_TRICK for Cygwin systems. | |
5617 | 2808 |
5615 | 2809 2006-02-10 John W. Eaton <jwe@octave.org> |
2810 | |
2811 * mx-inlines.cc (MX_ND_REDUCTION): Store in cummulative | |
2812 product of all dimensions in CP_SZ. | |
2813 | |
5611 | 2814 2006-02-09 John W. Eaton <jwe@octave.org> |
2815 | |
2816 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Store in cummulative | |
5615 | 2817 product of all dimensions in CP_SZ. |
5611 | 2818 |
5610 | 2819 2006-02-09 David Bateman <dbateman@free.fr> |
2820 | |
2821 * SparseQR.cc: new file for real sparse QR class. | |
2822 * SparseQR.h: declaration. | |
2823 * SparseCmplxQR.cc: new file for complex sparse QR class. | |
2824 * SparseCmplxQR.h: declaration. | |
2825 * dSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
2826 (factorize, fsolve): Enable code code lssolve. | |
2827 (lssolve): disable unused args, write based in above sparse QR class. | |
2828 * CSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
2829 (factorize, fsolve): Enable code code lssolve. | |
2830 (lssolve): disable unused args, write based in above sparse QR class. | |
2831 * oct-sparse.h: fix location of colamd, ccolamd and metis headers. | |
2832 Include CXSparse headers. | |
2833 * Makefile.in (MATRIX_INC): Include SparseQR.h and SparseCmplxQR.h. | |
2834 (MATRIX_SRC): Include SparseQR.cc and SparseCmplxQR.cc. | |
2835 | |
5607 | 2836 2006-02-08 John W. Eaton <jwe@octave.org> |
2837 | |
2838 * Array-util.h (calc_permutated_idx): Delete. | |
2839 * Array.cc (permute_vector): New data structure. | |
2840 (permute_vector_compare): New function. | |
2841 (Array<T>::permute): Rewrite to avoid calc_permutated_index for | |
2842 improved performance. | |
2843 | |
5606 | 2844 2006-02-04 David Bateman <dbateman@free.fr> |
2845 | |
2846 * COLAMD: Remove all files, as now unused. | |
2847 | |
5604 | 2848 2006-01-31 John W. Eaton <jwe@octave.org> |
2849 | |
2850 * Sparse.h (Sparse<T>::nzmax): New function. | |
2851 (Sparse<T>::nnz): Rename from nonzero. | |
2852 Change all uses of old nnz function to be nzmax. Change all uses | |
2853 of nonzero to be nnz. | |
2854 (Sparse<T>::nzmx): Rename from nnz (data member). Change all uses. | |
2855 | |
5603 | 2856 2006-01-21 David Bateman <dbateman@free.fr> |
2857 | |
2858 * sparse-sort.cc (bool octave_sparse_sidxl_comp): 64-bit fix. | |
2859 (bool octave_idx_vector_comp): New function. | |
2860 (template class octave_sort<octave_idx_vector_sort *>): Instantiate | |
2861 indexed idx_vector sorting function. | |
2862 * sparse-sort.h (class octave_sparse_sort_idxl): 64-bit fix. | |
2863 (class octave_idx_vector_sort): New class for indexed idx_vector | |
2864 sorting. | |
2865 (bool octave_idx_vector_comp): Declaration. | |
2866 * Sparse.cc (int assign1(Sparse<LT>&, Sparse<RT>&)): Treat cases of | |
2867 unordered LHS indexes in assignment using new octave_idx_vector_sort | |
2868 class. | |
2869 (int assign(Sparse<LT>&, Sparse<RT>&)): ditto. | |
2870 | |
5602 | 2871 2006-01-30 John W. Eaton <jwe@octave.org> |
2872 | |
2873 * so-array.h (streamoff_array::nnz): New funtion. | |
2874 * boolNDArray.h (boolNDArray::nnz): New function. | |
2875 * MArrayN.h (MArrayN<T>::nnz): New function. | |
2876 * MArray.h (MArray<T>::nnz): New function. | |
2877 | |
5587 | 2878 2006-01-04 David Bateman <dbateman@free.fr> |
2879 | |
2880 * Spars-op-defs.h (SPARSE_SPARSE_MUL): Previous change resulted in | |
2881 elements not being sorted in return matrix. Sort them, and make | |
2882 solver select between two algorithms to further improve the | |
2883 performance. | |
2884 * dSparse.cc: include oct-sort.h. | |
2885 * CSparse.cc: ditto. | |
2886 * sparse-sort.cc: Instantiate octave_sort<octave_idx_type>. | |
2887 | |
5586 | 2888 2005-12-28 David Bateman <dbateman@free.fr> |
2889 | |
5587 | 2890 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Improved algorithm that is |
2891 faster in all cases, and significantly so for low density or small | |
2892 order problems. | |
5586 | 2893 |
5552 | 2894 2005-11-30 John W. Eaton <jwe@octave.org> |
2895 | |
2896 * LSODE.cc (LSODE::do_integrate (double)): Resize iwork and rwork | |
2897 before setting any values in either array. | |
2898 | |
5547 | 2899 2005-11-29 John W. Eaton <jwe@octave.org> |
2900 | |
2901 * oct-uname.h, oct-uname.cc: New files. | |
2902 * Makefile.in: Add them to the appropriate lists. | |
2903 | |
5535 | 2904 2005-11-11 John W. Eaton <jwe@octave.org> |
2905 | |
2906 * Array.cc (Array<T>::indexN): Simplify. | |
2907 | |
5533 | 2908 2005-11-09 John W. Eaton <jwe@octave.org> |
2909 | |
2910 * oct-inttypes.h (octave_int::operator char (void) const): | |
2911 New conversion op. | |
2912 | |
5527 | 2913 2005-11-01 John W. Eaton <jwe@octave.org> |
2914 | |
2915 * Makefile.in (distclean): Also remove oct-types.h. | |
2916 From Quentin Spencer <qspencer@ieee.org>. | |
2917 | |
5526 | 2918 2005-10-31 David Bateman <dbateman@free.fr> |
2919 | |
2920 * dSparse.cc, CSparse.cc: Use C++ true/false instead of | |
2921 preprocessor defined TRUE/FALSE. | |
2922 | |
5523 | 2923 2005-10-30 John W. Eaton <jwe@octave.org> |
2924 | |
2925 * mx-inlines.cc (MX_ND_REDUCTION): Iterate in direction of DIM. | |
2926 (MX_ND_CUMULATIVE_OP): Likewise. | |
2927 | |
5519 | 2928 2005-10-29 John W. Eaton <jwe@octave.org> |
2929 | |
5520 | 2930 * mx-inlines.cc (MX_ND_REDUCTION): Avoid increment_index to speed |
2931 things up. Simplify. | |
2932 | |
5519 | 2933 * Array.cc (Array<T>::indexN): Simplify. Delete separate special |
2934 case for "vector_equivalent". | |
2935 | |
2936 * Array-util.cc (vector_equivalent): Arg is now dim_vector. | |
2937 | |
5518 | 2938 2005-10-28 John W. Eaton <jwe@octave.org> |
2939 | |
2940 * oct-sparse.h: Fix typo in HAVE_UFSPARSE_UMFPACK_H. | |
2941 From Quentin Spencer <qspencer@ieee.org>. | |
2942 | |
2943 * sparse-base-chol.cc: Use C++ true/false instead of | |
2944 preprocessor defined TRUE/FALSE. Use 0 instead of NULL. | |
2945 | |
5516 | 2946 2005-10-27 John W. Eaton <jwe@octave.org> |
2947 | |
2948 * Array.cc (assignN): Reshape to final size instead of resizing. | |
2949 | |
5512 | 2950 2005-10-26 John W. Eaton <jwe@octave.org> |
2951 | |
2952 * oct-sparse.h: New file. | |
2953 * oct-sparse.h.in: Delete. | |
2954 | |
5511 | 2955 2005-10-26 David Bateman <dbateman@free.fr> |
2956 | |
2957 * sparse-base-chol.h: Include cholmod specific code in HAVE_CHOLMOD | |
2958 * sparse-base-chol.cc: ditto. | |
2959 | |
5508 | 2960 2005-10-26 John W. Eaton <jwe@octave.org> |
2961 | |
2962 Changes for GCC 4.1, tip from Arno J. Klaassen | |
2963 <arno@heho.snv.jussieu.fr>: | |
2964 | |
5509 | 2965 * dSparse.h (real (const SparseComplexMatrix&)): |
2966 Publish externally used friend function. | |
2967 (imag (const SparseComplexMatrix&)): Likewise. | |
2968 | |
5508 | 2969 * dColVector.h (real (const ComplexColumnVector&)): |
2970 Publish externally used friend function. | |
2971 (imag (const ComplexColumnVector&)): Likewise. | |
2972 | |
2973 * dNDArray.h (real (const ComplexNDArray&)): | |
2974 Publish externally used friend function. | |
2975 (imag (const ComplexNDArray&)): Likewise. | |
2976 | |
2977 * dMatrix.h (operator * (const ComplexMatrix&)): | |
2978 Move decl outside class. No need to be friend. | |
2979 (real (const ComplexMatrix&)): Publish externally used friend function. | |
2980 (imag (const ComplexMatrix&)): Likewise. | |
2981 | |
2982 * CMatrix.h: (operator * (const ColumnVector&, const | |
2983 ComplexRowVector&)): Move decl outside class. No need to be friend. | |
2984 (operator * (const ComplexColumnVector&, const RowVector&)): Likewise. | |
2985 (operator * (const ComplexColumnVector&, const ComplexRowVector& b)): | |
2986 Likewise. | |
2987 | |
5506 | 2988 2005-10-23 David Bateman <dbateman@free.fr> |
2989 | |
2990 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Check whether trailing zero | |
2991 elements need to be removed. | |
2992 | |
2993 * oct-sparse.h.in: Include metis headers and some macros for long/int | |
2994 versions of cholmod. | |
2995 | |
2996 * CSparse.cc (tinverse): New private function for the inversion of | |
2997 an upper triangular matrix. | |
2998 (dinverse): ditto for diagonal matrices. | |
2999 (inverse): Add SparseType as an argument. Implement matrix inverse | |
3000 using tinverse and dinverse. | |
3001 (fsolve): Use cholmod to implement Cholesky solver. | |
3002 * CSparse.h (tinverse, dinverse): Declarations | |
3003 (inverse): Alter declaration to include SparseType. | |
3004 | |
3005 * dSparse.cc (tinverse, dinverse, inverse, fsolve): ditto. | |
3006 * dSparse.h (tinverse, dinverse, inverse): ditto. | |
3007 | |
3008 * SparseType.cc: Fix complex constructor for hermitian matrices. | |
3009 | |
3010 * sparse-util.cc: New file for sparse utility functions. | |
3011 * sparse-util.h: New file with declarations of sparse utility | |
3012 functions. | |
3013 | |
3014 * sparse-base-chol.cc: New file with sparse cholesky class based | |
3015 on cholmod. | |
3016 * sparse-base-chol.h: New file with declaration of sparse cholesky | |
3017 class based on cholmod. | |
3018 | |
3019 * SparseCmplxCHOL.cc: Instantiate sparse cholesky class for Complex. | |
3020 * SparseCmplxCHOL.h: Declaration of sparse cholesky class. | |
3021 | |
3022 * SparsedbleCHOL.cc: ditto. | |
3023 * SparsedbleCHOL.h: ditto. | |
3024 | |
3025 * Makefile.in (MATRIX_INC): Include sparse-base-chol.h. | |
3026 (INCLUDES): Include sparse-util.h | |
3027 (TEMPLATE_SRC): Include sparse-base-chol.cc | |
3028 (MATRIX_SRC): Include SparseCmplxCHOL.cc and SparsedbleCHOL.cc | |
3029 | |
5489 | 3030 2005-10-12 John W. Eaton <jwe@octave.org> |
3031 | |
3032 * oct-env.cc (octave_env::have_x11_display): New function. | |
3033 * oct-env.h: Provide decl. | |
3034 | |
5476 | 3035 2005-09-29 John W. Eaton <jwe@octave.org> |
3036 | |
3037 * file-stat.h (file_stat::mode): New function. | |
3038 | |
3039 * file-stat.cc (file_stat::is_blk, file_stat::is_chr, | |
3040 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
3041 file_stat::is_reg, file_stat::is_sock): New static functions. | |
3042 * file-stat.h: Provide decls. | |
3043 | |
3044 2005-09-28 John W. Eaton <jwe@octave.org> | |
3045 | |
3046 * file-ops.cc (file_ops::recursive_rmdir): New function. | |
3047 * file-ops.h: Provide decl. | |
3048 | |
5454 | 3049 2005-09-19 David Bateman <dbateman@free.fr> |
3050 | |
3051 * oct-env.cc (octave_env::do_get_home_directory): | |
3052 Also check HOMEDRIVE under mingw. | |
3053 | |
5455 | 3054 * Makefile.in (LINK_DEPS): Include UFsparse libraries. |
3055 | |
5453 | 3056 2005-09-16 John W. Eaton <jwe@octave.org> |
3057 | |
3058 * oct-syscalls.cc: Include lo-utils.h here. | |
3059 (octave_syscalls::waitpid): Call octave_waitpid here. | |
3060 | |
3061 * lo-cutils.c (octave_waitpid): New function. | |
3062 * lo-utils.h: Provide decl. Include syswait.h here, not in | |
3063 oct-syscalls.cc | |
3064 | |
3065 | |
3066 * syswait.h [__MINGW32__]: Define WAITPID here instead of defining | |
3067 waitpid in src/sysdep.h. Make this header C-compatible. | |
3068 | |
3069 * oct-syscalls.cc (octave_syscalls::waitpid): New arg, status. | |
3070 Change all uses. | |
3071 | |
5451 | 3072 2005-09-15 John W. Eaton <jwe@octave.org> |
3073 | |
3074 * Makefile.in (MAKEDEPS_2): Omit unnecessary variable. | |
3075 | |
3076 * oct-sparse.h.in: New file. | |
3077 * Makefile.in (DISTFILES): Include it in the list. | |
3078 (INCLUDES): Add oct-sparse.h to the list. | |
3079 | |
3080 2005-09-15 David Bateman <dbateman@free.fr> | |
3081 | |
3082 * dSparse.cc : Include oct-sparse.h for probed umfpack, colamd etc | |
3083 headers. Remove include of umfpack.h. | |
3084 * CSparse.cc : ditto. | |
3085 * SparsedbleLU.cc : ditto. | |
3086 * SparseCmplxLU.cc : ditto. | |
3087 | |
3088 * COLAMD : Remove colamd files from octave. | |
3089 * COLAMD.files : delete. | |
3090 * COLAMD.README : delete. | |
3091 * Makefile.in: Remove COLAMD. Add LIBGLOB. | |
3092 (LN_S): Change to DESTDIR before LN_S to avoid lack of symlinks | |
3093 under mingw. | |
3094 | |
3095 * kpse.cc (ENV_SEP, ENV_SEP_STRING): Use SEPCHAR and SEPCHAR_STR | |
3096 in definition. | |
3097 * lo-cutils.c (octave_w32_library_search): Call GetProcAddress with | |
3098 change of cast not allowed under g++ 3.x. | |
3099 * lo-utils.h (octave_w32_library_search): Declaration. | |
3100 * oct-env.cc (do_get_home_directory): Also check HOMEPATH under mingw. | |
3101 * oct-shlib.cc (octave_w32_shlib::search): Use octave_w32_library_search. | |
3102 | |
5442 | 3103 2005-09-07 John W. Eaton <jwe@octave.org> |
3104 | |
3105 * cmd-edit.cc (command_editor::do_decode_prompt_string): Update | |
3106 based on current code in Bash. Handle a few more escape | |
3107 sequences. Do a better job of decoding \W. | |
3108 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3109 2005-09-04 David Bateman <dbateman@free.fr> |
5438 | 3110 |
3111 * COLAMD: Update version of colamd to v2.4. | |
3112 * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of | |
3113 colamd.c for long version. | |
3114 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3115 2005-08-25 David Bateman <dbateman@free.fr> |
5429 | 3116 |
3117 * Sparse-op-defs.h (FULL_SPARSE_MUL, SPARSE_FULL_MUL): Macro for | |
3118 mixed sparse/full multiply. | |
3119 * dSparse.cc (operator *), CSparse.cc (operator *): New operators for | |
3120 mixed sparse/full multiply. | |
3121 * dSparse.h (operator *), CSparse.h (operator *): Declaration of | |
3122 mixed sparse/full multiply operators. | |
3123 | |
5420 | 3124 2005-07-25 Erik de Castro Lopo <erikd@zip.com.au> |
3125 | |
3126 * oct-inttypes.h (OCTAVE_S_US_FTR): Compare <= 0 instead of < 0 to | |
3127 avoid warnings for unsigned types. | |
3128 | |
5404 | 3129 2005-07-07 John W. Eaton <jwe@octave.org> |
3130 | |
3131 * dSparse.cc (SparseMatrix::factorize): Initialize Numeric to 0. | |
3132 * CSparse.cc (SparseComplexMatrix::factorize:) Likewise. | |
3133 | |
5392 | 3134 2005-06-15 John W. Eaton <jwe@octave.org> |
3135 | |
5394 | 3136 * oct-rl-edit.c (flush_stdout): Rename from no_redisplay. |
3137 Flush stdout here. | |
3138 (octave_rl_clear_screen): Set rl_redisplay_function to flush_stdout. | |
3139 | |
5392 | 3140 * Array.h (Array::resize): Change int args to octave_idx_type. |
3141 | |
5386 | 3142 2005-06-14 John W. Eaton <jwe@octave.org> |
3143 | |
5389 | 3144 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
3145 dSparse.cc, lo-cieee.c, lo-mappers.cc: Change all uses of | |
3146 octave_is_NaN_or_NA to xisnan. | |
3147 | |
3148 * lo-mappers.h (octave_is_NaN_or_NA): Mark with GCC_ATTR_DEPRECATED. | |
3149 * lo-ieee.h (lo_ieee_is_NaN_or_NA): Likewise. | |
3150 | |
3151 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Now just a wrapper for | |
3152 lo_ieee_isnan. | |
3153 | |
5387 | 3154 * dMatrix.cc (Matrix::too_large_for_float): Only check if abs |
3155 value is greater than FLT_MAX. | |
3156 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
3157 * dNDArray.cc (NDArray::too_large_for_float): Ditto. | |
3158 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
3159 | |
3160 * dMatrix.cc (Matrix::too_large_for_float): Special case Inf | |
3161 values too. | |
3162 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
3163 | |
3164 * dNDArray.cc (NDArray::too_large_for_float): Likewise for NaN, | |
3165 NA, Inf values. | |
3166 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
5386 | 3167 |
5385 | 3168 2005-06-14 David Bateman <dbateman@free.fr> |
3169 | |
5387 | 3170 * dMatrix.cc (Matrix::too_large_for_float): Special case NaN and |
3171 NA values. | |
3172 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
5385 | 3173 |
5379 | 3174 2005-06-02 John W. Eaton <jwe@octave.org> |
3175 | |
3176 * Array.cc (assignN): Try harder to correctly resize previously | |
3177 empty LHS. | |
3178 | |
5351 | 3179 2005-05-16 David Bateman <dbateman@free.fr> |
3180 | |
3181 * dSparse.h: Change UMFPACK_LONG_IDX to IDX_TYPE_LONG. | |
3182 * CSparse.h: ditto. | |
3183 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3184 2005-05-10 David Bateman <dbateman@free.fr> |
5346 | 3185 |
3186 * dSparse.cc (determinant): Free numeric factorization after | |
3187 sucessful calculation. | |
3188 * CSparse.cc (determinant): ditto. | |
3189 | |
5340 | 3190 2005-05-06 John W. Eaton <jwe@octave.org> |
3191 | |
3192 * dbleCHOL.cc (CHOL::init): Use xelem instead of elem for indexing | |
3193 chol_mat. | |
3194 (chol2mat_internal, chol2mat, CHOL::inverse): New functions. | |
3195 * dbleCHOL.h (chol2mat_internal, chol2mat, CHOL::inverse): | |
3196 Provide decls. | |
3197 | |
3198 * CmplxChol.cc (ComplexCHOL::init): Use xelem instead of elem for | |
3199 indexing chol_mat. | |
3200 (chol2mat_internal, chol2mat, ComplexCHOL::inverse): New functions. | |
3201 * CmplxCHOL.h (chol2mat_internal, chol2mat, CmplxCHOL::inverse): | |
3202 Provide decls. | |
3203 | |
5338 | 3204 2005-05-05 John W. Eaton <jwe@octave.org> |
3205 | |
3206 * Array.cc (Array<T>::permute): Call chop_trailing_singletons on | |
3207 retval before return. | |
3208 | |
5336 | 3209 2005-05-04 John W. Eaton <jwe@octave.org> |
3210 | |
3211 * cmd-edit.cc (gnu_readline::do_readline): Extract const char* | |
3212 from prompt outside of INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE block. | |
3213 | |
5330 | 3214 2005-05-02 John W. Eaton <jwe@octave.org> |
3215 | |
3216 * Makefile.in (LINK_DEPS): List $(UMFPACK_LIBS) ahead of $(BLAS_LIBS). | |
3217 From Dmitri A. Sergatskov <dasergatskov@gmail.com>. | |
3218 | |
5322 | 3219 2005-04-29 David Bateman <dbateman@free.fr> |
3220 | |
5330 | 3221 * dSparse.cc (trisolve): Diagonal passed to lapack zptsv is type |
3222 double. Correct indexing for upper diagonal elements for sparse | |
3223 tridiagonal. | |
5322 | 3224 * CSparse.cc (trisolve): ditto. |
3225 | |
5330 | 3226 * CSparse.h (UMFPACK_ZNAME): Define macro to pick version of |
3227 UMFPACK for 64-bit. | |
5322 | 3228 * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with |
3229 UMFPACK_ZNAME(*). | |
3230 * SparseCmplxLU.cc (UMFPACK_ZNAME): ditto | |
3231 | |
5330 | 3232 * dSparse.h (UMFPACK_DNAME): Define macro to pick version of |
3233 UMFPACK for 64-bit. | |
5322 | 3234 * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with |
3235 UMFPACK_DNAME(*). | |
3236 * SparsedbleLU.cc (UMFPACK_DNAME): ditto | |
3237 | |
5330 | 3238 * dSparse.cc (ltsolve, utsolve): Correct permuted upper/lower |
3239 triangular back/forward substitution code. | |
5322 | 3240 * CSparse.cc (ltsolve, utsolve): ditto. |
3241 | |
5330 | 3242 * dSparse.cc (solve): Use mattype.type (false) to force messaging |
3243 from spparms("spumoni",1). | |
5322 | 3244 * CSparse.cc (solve): ditto |
3245 | |
5330 | 3246 * SparseType.cc (SparseType(void)): Print info for |
3247 spparms("spumoni",1). | |
5322 | 3248 (SparseType(const matrix_type), SparseType(const matrix_type, const |
3249 octave_idx_type, const octave_idx_type*), SparseType(const matrix_type, | |
3250 const octave_idx_type, const octave_idx_type)): New constructors. | |
3251 (SparseType (const SparseMatrix&), SparseType (SparseComplexMatrix&)): | |
5330 | 3252 Detect row permuted lower triangular and column permuted upper |
3253 triangular matrices. Remove one of the permutation vectors.. | |
5322 | 3254 |
3255 * SparseType.h: Simplify the permutation code. | |
3256 (SparseType(const matrix_type), SparseType | |
3257 (const matrix_type, const octave_idx_type, const octave_idx_type*), | |
3258 SparseType(const matrix_type, const octave_idx_type, | |
3259 const octave_idx_type)): Declarations. | |
3260 | |
5304 | 3261 2005-04-25 John W. Eaton <jwe@octave.org> |
3262 | |
3263 * str-vec.cc (string_vector::delete_c_str_vec): Correctly free | |
3264 array and its contents. | |
3265 | |
5303 | 3266 2005-04-22 John W. Eaton <jwe@octave.org> |
3267 | |
3268 * oct-rl-edit.c (octave_rl_set_terminal_name): Don't cast away | |
3269 const here now that rl_terminal_name is declared const char*. | |
3270 | |
5294 | 3271 2005-04-21 John W. Eaton <jwe@octave.org> |
3272 | |
3273 * Makefile.in (DISTFILES): Include oct-types.h.in in the list. | |
3274 | |
5285 | 3275 2005-04-19 John W. Eaton <jwe@octave.org> |
3276 | |
3277 * Array.cc (assignN): Don't crash if the index list is empty. | |
3278 | |
5282 | 3279 2005-04-14 David Bateman <dbateman@free.fr> |
3280 | |
3281 * SparseCmplxLU.cc: Add flags for incomplete factorization. | |
3282 * SparsedbleLU.cc: Ditto. | |
3283 * SparseCmplxLU.h: Definition. | |
3284 * SparsedbleLU.h: ditto. | |
3285 | |
3286 * SparseType.cc (transpose): New function. | |
3287 * SparseType.h (transpose): Definition. | |
3288 | |
5278 | 3289 2005-04-11 John W. Eaton <jwe@octave.org> |
3290 | |
3291 * lo-specfun.cc: Use F77_XFCN instead of F77_FUNC for calls to | |
3292 fortran code that could end up calling XSTOPX. | |
3293 | |
5277 | 3294 2005-04-10 David Bateman <dbateman@free.fr> |
3295 | |
3296 * Makefile.in: include oct-types in INCLUDES so that it is | |
3297 installed | |
3298 | |
5275 | 3299 2005-04-08 John W. Eaton <jwe@octave.org> |
3300 | |
5276 | 3301 * Makefile.in (clean): Use exact filenames instead of *.xxx. |
3302 | |
5275 | 3303 * Initial merge of 64-bit changes from Clinton Chee: |
3304 | |
3305 2005-04-07 John W. Eaton <jwe@octave.org> | |
3306 | |
3307 * MArray-i.cc, Array-i.cc: Instantiate Array<long> and MArray<long>. | |
3308 | |
3309 * CSparse.cc, CSparse.h, MSparse.cc, MSparse.h, Sparse-op-defs.h, | |
3310 Sparse.cc, Sparse.h, SparseCmplxLU.cc, SparseType.cc, | |
3311 SparseType.h, SparsedbleLU.cc, boolSparse.cc, boolSparse.h, | |
3312 dSparse.cc, dSparse.h, sparse-base-lu.cc: | |
3313 Use octave_idx_type instead of int where needed. | |
3314 | |
3315 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
3316 | |
3317 * Array-util.cc, Array-util.h, Array.cc,Array.h, Array2.h, | |
3318 Array3.h, ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
3319 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
3320 CMatrix.h, CNDArray.cc, CNDArray.h, CRowVector.cc, CRowVector.h, | |
3321 CmplxAEPBAL.cc, CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, | |
3322 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
3323 CmplxSCHUR.cc, CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, | |
3324 CollocWt.h, DAEFunc.h, DASPK-opts.in,DASPK.cc,DASPK.h, | |
3325 DASRT-opts.in, DASRT.cc, DASRT.h, DASSL-opts.in, DASSL.cc, | |
3326 DASSL.h, DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, | |
3327 FEGrid.h, LPsolve.cc, LPsolve.h, LSODE-opts.in, LSODE.cc, LSODE.h, | |
3328 MArray-defs.h, MArray.cc, MArray.h, MArray2.cc, MArray2.h, | |
3329 MArrayN.cc, MDiagArray2.cc, MDiagArray2.h, NLConst.h, NLEqn.cc, | |
3330 NLEqn.h, Quad.cc, Quad.h, Range.cc,Range.cc, Range.h, base-de.h, | |
3331 base-lu.cc, base-lu.h, base-min.h, boolMatrix.cc, boolMatrix.h, | |
3332 boolNDArray.cc, boolNDArray.h, chMatrix.cc, chMatrix.h, | |
3333 chNDArray.cc, chNDArray.h, dColVector.cc, dColVector.h, | |
3334 dDiagMatrix.cc, dDiagMatrix.h, dMatrix.cc, dMatrix.h, | |
3335 dNDArray.cc,dNDArray.cc, dNDArray.h, dRowVector.cc, dRowVector.h, | |
3336 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleHESS.cc, | |
3337 dbleHESS.h, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
3338 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, dim-vector.h, idx-vector.cc, | |
3339 idx-vector.h, intNDArray.cc, intNDArray.h, lo-specfun.cc, | |
3340 lo-specfun.h, mach-info.cc, mx-inlines.cc, oct-fftw.cc, | |
3341 oct-fftw.h, oct-rand.cc, oct-rand.h, so-array.cc, so-array.h, | |
3342 str-vec.cc, str-vec.h: | |
3343 Use octave_idx_type instead of int where needed. | |
3344 | |
3345 2005-04-01 John W. Eaton <jwe@octave.org> | |
3346 | |
3347 * dim-vector.h, lo-utils.h: Include oct-types.h. | |
3348 | |
3349 * oct-types.h.in: New file. | |
3350 | |
3351 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
3352 | |
3353 * lo-utils.cc (NINTbig): New function. | |
3354 * lo-utils.h: Provide decl. | |
3355 | |
5269 | 3356 2005-04-06 David Bateman <dbateman@free.fr> |
3357 | |
3358 * Makefile.in: Link to UMFPACK_LIBS. | |
3359 | |
5265 | 3360 2005-04-05 John W. Eaton <jwe@octave.org> |
3361 | |
3362 * Array.cc (assignN): Avoid shadowed declaration in previous change. | |
3363 | |
5264 | 3364 2005-04-01 John W. Eaton <jwe@octave.org> |
3365 | |
3366 * Array.cc (assignN): For A(IDX-LIST) = RHS with A previously | |
3367 undefined, correctly match colons in IDX-LIST with RHS dimensions | |
3368 when resizing A. When performing the assignment, just check that | |
3369 the number of elements in RHS matches the number of elements | |
3370 indexed by IDX-LIST. | |
3371 | |
5260 | 3372 2005-03-30 John W. Eaton <jwe@octave.org> |
3373 | |
5261 | 3374 * lo-mappers.cc (log10, tan, tanh): Delete functions. |
3375 * lo-mappers.h (log10, tan, tanh): Delete decls. | |
3376 | |
3377 * CColVector.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, | |
3378 dSparse.cc: Use std:: for Complex functions instead of relying on | |
3379 wrappers from oct-cmplx.h. | |
5260 | 3380 |
3381 * oct-cmplx.h: Provide typedef only. | |
3382 | |
3383 * DiagArray2.cc (xelem): Don't use initializer for static data. | |
3384 * DiagArray2.h (DiagArray<T>::Proxy::operator T ()): | |
3385 Likewise. | |
3386 | |
5247 | 3387 2005-03-26 John W. Eaton <jwe@octave.org> |
3388 | |
3389 * cmd-edit.cc (do_readline): Wrap call to ::octave_rl_readline | |
3390 with {BEGIN,END}_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE. | |
3391 | |
5209 | 3392 2005-03-15 John W. Eaton <jwe@octave.org> |
3393 | |
3394 * Makefile.in (MATRIX_INC): Remove oct-spparms.h from the list. | |
3395 | |
5203 | 3396 2005-03-14 John W. Eaton <jwe@octave.org> |
3397 | |
3398 * Makefile.in (DISTFILES): Don't include $(UMFPACK_EXTRAS). | |
3399 (DISTDIRS): Don't include UMFPACK. | |
3400 (LIBOCTAVE_OBJECTS): Don't include $(UMFPACK_OBJ). | |
3401 (UMFPACK_SPECIAL_1, UMFPACK_SPECIAL): No need for special include | |
3402 flags for these files. | |
3403 Don't include include $(srcdir)/UMFPACK.files. | |
3404 Don't include include $(srcdir)/UMFPACK.rules. | |
3405 | |
3406 * UMFPACK.README, UMFPACK.files, UMFPACK.patch, UMFPACK.rules: | |
3407 Delete files. | |
3408 * UMFPACK: Delete directory tree. | |
3409 | |
3410 * dSparse.cc: Include <umfpack/umfpack.h> instead of just "umfpack.h". | |
3411 * CSparse.cc: Likewise. | |
3412 * SparsedbleLU.cc: Likewise. | |
3413 * SparseCmplxLU.cc: Likewise. | |
3414 | |
3415 2005-03-14 David Bateman <dbateman@free.org> | |
3416 | |
3417 * CSParse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc: | |
3418 Allow compilation to succeed if UMFPACK is not available. | |
3419 | |
5196 | 3420 2005-03-09 John W. Eaton <jwe@octave.org> |
3421 | |
3422 * Makefile.in (bin-dist): Delete target. | |
3423 (BINDISTLIBS, BINDISTFILES): Delete variables. | |
3424 | |
5173 | 3425 2005-03-01 John W. Eaton <jwe@octave.org> |
3426 | |
3427 * ODESSA.h, ODESSA.cc, ODESSA-opts.in: Delete. | |
3428 * Makefile.in: Remove them from the lists. | |
3429 | |
5169 | 3430 2005-02-28 John W. Eaton <jwe@octave.org> |
3431 | |
3432 * Makefile.in (LINK_DEPS): Remove -lglob from the list. | |
3433 | |
5167 | 3434 2005-02-27 David Bateman <dbateman@free.org> |
3435 | |
5169 | 3436 * Sparse.cc (Sparse<T>::reshape): Set cidx for the N last elements |
3437 in the sparse matrix. | |
5167 | 3438 |
5164 | 3439 2005-02-25 John W. Eaton <jwe@octave.org> |
3440 | |
3441 Sparse merge. | |
3442 | |
3443 2005-02-13 David Bateman <dbateman@free.fr> | |
3444 | |
3445 * CSparse.cc (SparseComplexMatrix:dsolve, SparseComplexMatrix:utsolve, | |
3446 SparseComplexMatrix::ltsolve, SparseComplexMatrix::trisolve, | |
3447 SparseComplexMatrix::bsolve, SparseComplexMatrix:fsolve): Split sparse | |
3448 solver into separate functions for the diagonal, upper, lower | |
3449 triangular, tridiagonal, banded and full cases. | |
3450 (SparseComplexMatrix::solve): rewrite to call the above function. One | |
3451 version that probes the matrix type and another that assumes the type | |
3452 is passed. | |
3453 | |
3454 * dSparse.cc (SparseMatrix:dsolve, SparseMatrix:utsolve, | |
3455 SparseMatrix::ltsolve, SparseMatrix::trisolve, | |
3456 SparseMatrix::bsolve, SparseMatrix:fsolve): Likewise | |
3457 (SparseMatrix::solve): Likewise | |
3458 | |
3459 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
3460 Declaration of new functions | |
3461 * dSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
3462 Likewise | |
3463 | |
3464 * CSparse.cc (operator !): Reverse the sense of the test. | |
3465 * dSpase.cc (operator !): Likewise | |
3466 | |
3467 * dSparse.h (type, band_size, is_dense, triangular_row_perm, | |
3468 triangular_col_perm, sparse_info): Remove matrix type code | |
3469 * CSparse.h (type, band_size, is_dense, triangular_row_perm, | |
3470 triangular_col_perm, sparse_info): Likewise | |
3471 * boolSparse.h (type, band_size, is_dense, triangular_row_perm, | |
3472 triangular_col_perm, sparse_info): Likewise | |
3473 * MSparse.h (type, band_size, is_dense, triangular_row_perm, | |
3474 triangular_col_perm, sparse_info): Likewise | |
3475 * Sparse.h (type, band_size, is_dense, triangular_row_perm, | |
3476 triangular_col_perm, sparse_info, matrix_type): Likewise | |
3477 | |
3478 * Sparse.cc (type, sparse_info, band_size): Remove type code | |
3479 | |
3480 * SparseType.h: New class for the matrix type used in solvers | |
3481 * SparseType.cc: methods of sparse matrix type class | |
3482 | |
3483 * Makefile.in: Add SparseType.cc | |
3484 | |
3485 2005-02-01 David Bateman <dbateman@free.fr> | |
3486 | |
3487 * UMFPACK: Update to version 4.4 | |
3488 * UMFPACK.patch: Version 4.4 contains most of the previous patch. Only | |
3489 keep octave specific test files | |
3490 | |
3491 2005-01-23 David Bateman <dbateman@free.fr> | |
3492 | |
3493 * dSparse.cc (SparseMatrix::solve): Include tridiagonal, cholesky | |
3494 tridiagonal and banded cholesky solvers. Remove calculation of | |
3495 condition number for banded solvers. | |
3496 * CSparse.cc (SparseComplexMatrix::solve): ditto. | |
3497 | |
3498 * Sparse.h (int type (int) const, bool is_dense (void) const): | |
3499 new functions. | |
3500 * MSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
3501 * dSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
3502 * CSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
3503 * boolSparse.h (int type (int) const, bool is_dense (void) const): | |
3504 ditto | |
3505 | |
3506 * Sparse.cc (int Sparse<T>::type (int) const, | |
3507 bool Sparse<T>::is_dense (void) const): New functions definition | |
3508 | |
3509 * Sparse.h (matrix_type typ): Move caching of matrix type to SparseRep, | |
3510 so it actually is cached, but disable | |
3511 | |
3512 * oct-spparms.cc (SparseParams::init_keys): Change spmoni to spumoni | |
3513 for compatiability | |
3514 | |
3515 2005-01-18 David Bateman <dbateman@free.fr> | |
3516 | |
3517 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
3518 Modify calculation of number elements to skip between copied blocks. | |
3519 | |
3520 2005-01-07 David Bateman <dbateman@free.fr> | |
3521 | |
3522 * Sparse.h : Reverse definitions of numel and nelem. | |
3523 * Sparse.cc (assign1): Use numel and not nelem | |
3524 * Sparse-op-def.h: Replace all uses of nelem with numel | |
3525 | |
3526 2005-01-07 David Bateman <dbateman@free.fr> | |
3527 | |
3528 * dbleDET.h: Make SparseMatrix a friend of the class DET | |
3529 * CmplexDET.h: Make SparseComplexMatrix a friend of the class | |
3530 ComplexDET | |
3531 * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET | |
3532 by DET | |
3533 * dSparse.h (determinant): ditto | |
3534 * CSparse.cc (SparseComplexMatrix::determinant): Replace use of | |
3535 SparseComplexDET by ComplexDET | |
3536 * CSparse.h (determinant): ditto | |
3537 * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, | |
3538 SparseCmplxDET.cc: delete files | |
3539 * Makefile.in: Delete reference to SparsedbleDET.h, SparsedbleDET.cc, | |
3540 SparseCmplxDET.h andSparseCmplxDET.cc. | |
3541 | |
3542 * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in | |
3543 local variable to avoid variable shadowing. | |
3544 * dSparse.cc (SparseMatrix::solve): ditto. | |
3545 | |
3546 * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc | |
3547 dSparse.h MSparse.cc MSparse-C.cc MSparse-d.cc MSparse-defs.h | |
3548 MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc | |
3549 Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc | |
3550 SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc | |
3551 sparse-sort.h: Remove additional licensing clause with authors | |
3552 permission. | |
3553 | |
3554 2004-12-30 John W. Eaton <jwe@octave.org> | |
3555 | |
3556 * MSparse.cc (SPARSE_A2S_OP_2, SPARSE_SA2_OP_2): | |
3557 Loop counter is int, not size_t. | |
3558 | |
3559 * oct-spparms.cc (SparseParams::operator =): Return *this. | |
3560 | |
3561 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Delete unused variable tmpval. | |
3562 | |
3563 * dSparse.cc (operator << (ostream&, const SparseMatrix&), atan2): | |
3564 Delete unused variables. | |
3565 (SparseMatrix::solve): Avoid warnings about uninitialized | |
3566 variables and variables that might be clobbered by longjmp. | |
3567 | |
3568 * CSparse.cc (operator << (ostream&, const SparseComplexMatrix&), | |
3569 min, max): Delete unused variables. | |
3570 (SparseComplexMatrix::solve): Avoid warnings about uninitialized | |
3571 variables and variables that might be clobbered by longjmp. | |
3572 | |
3573 * Makefile.in (UMFPACK_SPECIAL): Include .d files in the list. | |
3574 | |
3575 * Sparse-op-defs.h (SPARSE_SMS_BIN_OP_2, SPARSE_SSM_BIN_OP_2): | |
3576 Loop counter is int, not size_t. | |
3577 | |
3578 * CSparse.cc (SparseComplexMatrix::hermitian): Avoid shadow warnings. | |
3579 * Sparse.cc (Sparse<T>::Sparse, Sparse<T>::type, assign): Likewise. | |
3580 | |
3581 * Sparse.h (Sparse::SparseRep): Order data members and initializer | |
3582 lists consistently. | |
3583 | |
3584 * mx-base.h: Include boolSparse.h, dSparse.h, and CSparse.h. | |
3585 | |
3586 2004-12-29 John W. Eaton <jwe@octave.org> | |
3587 | |
3588 * COLAMD.files (COLAMD_EXTRAS): New variable. | |
3589 * UMFPACK.files (UMFPACK_EXTRAS): New variable. | |
3590 * Makefile.in (DISTFILES): Add $(COLAMD_EXTRAS) and | |
3591 $(UMFPACK_EXTRAS) to the list. | |
3592 (DISTDIRS): New variable. | |
3593 (dist): Handle $(DISTDIRS). | |
3594 | |
3595 Merge of sparse code from David Bateman <dbateman@free.fr> and | |
3596 Andy Adler <adler@site.uottawa.ca>. | |
3597 | |
3598 * Makefile.in (VPATH): ADD @srcdir@/COLAMD to the list. | |
3599 | |
3600 * Makefile.in (MAKEDEPS): Include $(COLAMD_SRC) and $(UMFPACK_SRC) | |
3601 without directory prefix. | |
3602 | |
3603 * Makefile.in (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJ) and | |
3604 $(UMFPACK_OBJ) to the list. | |
3605 | |
3606 * COLAMD: New directory. | |
3607 * COLAMD.files: New file. | |
3608 * Makefile.in: Include COLAMD.files. | |
3609 (SOURCES): Add $(COLAMD_SOURCES) to the list. | |
3610 (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJECTS) to the list. | |
3611 (INCLUDES): Add $(COLAMD_INCLUDES) to the list. | |
3612 | |
3613 * UMFPACK: New directory. | |
3614 * UMFPACK.patch, UMFPACK.README, UMFPACK.files, UMFPACK.rules: | |
3615 New files. | |
3616 * Makefile.in: Include UMFPACK.files and UMFPACK.rules. | |
3617 (SOURCES): Add $(UMFPACK_SOURCES) to the list. | |
3618 (LIBOCTAVE_OBJECTS): Add $(UMFPACK_OBJECTS) to the list. | |
3619 (INCLUDES): Add $(UMFPACK_INCLUDES) to the list. | |
3620 | |
3621 * Makefile.in (SPARSE_MX_OP_INC): New variable. | |
3622 (INCLUDES): Add it to the list. | |
3623 (SPARSE_MX_OP_SRC): New variable. | |
3624 (LIBOCTAVE_CXX_SOURCES): Add it to the list. | |
3625 (distclean): Remove $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
3626 (stamp-prereq): Depend on $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
3627 | |
3628 * sparse-mk-ops.awk, sparse-mx-ops: New files. | |
3629 * Makefile.in (DISTFILES): Add them to the lists. | |
3630 | |
3631 * oct-spparms.h, sparse-sort.h: New files. | |
3632 * Makefile.in (INCLUDES): Add them to the list. | |
3633 | |
3634 * oct-spparms.cc, sparse-sort.cc: New files. | |
3635 * Makefile.in (LIBOCTAVE_CXX_SOURCES): Add them to the list. | |
3636 | |
3637 * sparse-base-lu.cc: New file. | |
3638 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
3639 | |
3640 * boolSparse.cc, CSparse.cc, dSparse.cc, MSparse.cc, Sparse.cc, | |
3641 SparseCmplxDET.cc, SparseCmplxLU.cc, SparsedbleDET.cc, | |
3642 SparsedbleLU.cc: New files. | |
3643 * Makefile.in (MATRIX_SRC): Add them to the list. | |
3644 | |
3645 * boolSparse.h, CSparse.h, dSparse.h, MSparse-defs.h, MSparse.h, | |
3646 Sparse.h, oct-spparms.h, sparse-base-lu.h, SparseCmplxDET.h, | |
3647 SparseCmplxLU.h, SparsedbleDET.h, SparsedbleLU.h, | |
3648 Sparse-op-defs.h: New files. | |
3649 * Makefile.in (MATRIX_INC): Add them to the appropriate lists. | |
3650 | |
3651 * MSparse-d.cc, MSparse-C.cc, Sparse-b.cc, Sparse-d.cc, | |
3652 Sparse-C.cc: New files. | |
3653 * Makefile.in (TI_SRC): Add them to the list. | |
3654 | |
5149 | 3655 2005-02-18 John W. Eaton <jwe@octave.org> |
3656 | |
3657 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_RESOLVEPATH]: | |
3658 Pass current directory to octave_env::make_absolute. | |
3659 Save value returned from octave_env::make_absolute in local var. | |
3660 Pass const char*, not std::string as first arg of resolvepath. | |
3661 Provide decl for resolved_len. | |
3662 | |
5148 | 3663 2005-02-18 John W. Eaton <jwe@octave.org> |
3664 | |
3665 * Array.cc (Array<T>::permute): Allow permutation vector longer | |
3666 than number of dimenensions of permuted matrix. | |
3667 | |
3668 * Array.cc (Array<T>::permute): Use zero-based indexing for perm_vec. | |
3669 * Array-util.cc (calc_permutated_idx): Likewise. | |
3670 | |
5139 | 3671 2005-02-10 David Bateman <dbateman@free.fr> |
3672 | |
3673 * CNDArray.cc (ComplexNDarray::operator !): Change sense of test. | |
3674 * CMatrix.cc (ComplexMatrix::operator !): Likewise. | |
3675 | |
5137 | 3676 2005-02-09 John W. Eaton <jwe@octave.org> |
3677 | |
5138 | 3678 * file-ops.cc (file_ops::canonicalize_file_name): New functions. |
3679 * file-ops.h: Provide decls. | |
3680 | |
5137 | 3681 * kpse.cc (kpse_tilde_expand): Simply return NAME if it is empty. |
3682 | |
5136 | 3683 2005-02-08 John W. Eaton <jwe@octave.org> |
3684 | |
3685 * Array-util.cc (freeze): Improve error message. | |
3686 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3687 2005-01-26 David Bateman <dbateman@free.fr> |
5120 | 3688 |
5121 | 3689 * Array.cc (Array<T>::insert): Handle generic case, not just |
3690 special case for fast concatenation. | |
5120 | 3691 |
5110 | 3692 2005-01-18 John W. Eaton <jwe@octave.org> |
3693 | |
3694 * mx-inlines.cc (MX_ND_REDUCTION): Delete RET_ELT_TYPE arg. | |
3695 Change all uses. Use VAL instead of RET_ELT_TYPE when resizing. | |
3696 | |
3697 * dNDArray.cc (NDArray::any): NaN does not count as a nonzero value. | |
3698 * CNDArray.cc (ComplexNDArray::any): Likewise. | |
3699 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3700 2005-01-18 David Bateman <dbateman@free.fr> |
5108 | 3701 |
3702 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
3703 Modify calculation of number elements to skip between copied blocks. | |
3704 | |
3705 2005-01-18 John W. Eaton <jwe@octave.org> | |
3706 | |
3707 * idx-vector.cc (IDX_VEC_REP::freeze): Call warning handler, not | |
3708 error handler, to warn about resizing. | |
3709 | |
5105 | 3710 2004-12-27 Martin Dalecki <martin@dalecki.de> |
3711 | |
3712 * Array.cc, ArrayN.cc, base-lu.cc, boolMatrix.cc, boolNDArray.cc, | |
3713 Bounds.cc, CColVector.cc, CDiagMatrix.cc, chMatrix.cc, | |
3714 chNDArray.cc, CMatrix.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, | |
3715 CmplxDET.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
3716 CmplxSCHUR.cc, CmplxSVD.cc, CNDArray.cc, CollocWt.cc, | |
3717 CRowVector.cc, DASPK.cc, DASRT.cc, DASSL.cc, dbleAEPBAL.cc, | |
3718 dbleCHOL.cc, dbleDET.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, | |
3719 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, dColVector.cc, | |
3720 dDiagMatrix.cc, DiagArray2.cc, dMatrix.cc, dNDArray.cc, | |
3721 dRowVector.cc, EIG.cc, FEGrid.cc, idx-vector.cc, int16NDArray.cc, | |
3722 int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, intNDArray.cc, | |
3723 LinConst.cc, LPsolve.cc, LSODE.cc, MArray2.cc, MArray.cc, | |
3724 MArrayN.cc, MDiagArray2.cc, NLEqn.cc, oct-alloc.cc, ODES.cc, | |
3725 ODESSA.cc, Quad.cc, Range.cc, so-array.cc, uint16NDArray.cc, | |
3726 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: | |
3727 Delete #pragma implementation. | |
3728 | |
3729 * Array2.h, Array3.h, Array.h, ArrayN.h, base-lu.h, boolMatrix.h, | |
3730 boolNDArray.h, Bounds.h, CColVector.h, CDiagMatrix.h, chMatrix.h, | |
3731 chNDArray.h, CMatrix.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, | |
3732 CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, | |
3733 CmplxSVD.h, CNDArray.h, CollocWt.h, CRowVector.h, DASPK.h, | |
3734 DASRT.h, DASSL.h, dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, | |
3735 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, | |
3736 dColVector.h, dDiagMatrix.h, DiagArray2.h, dim-vector.h, | |
3737 dMatrix.h, dNDArray.h, dRowVector.h, EIG.h, FEGrid.h, | |
3738 idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
3739 int8NDArray.h, intNDArray.h, LinConst.h, LPsolve.h, LSODE.h, | |
3740 MArray2.h, MArray.h, MArrayN.h, MDiagArray2.h, NLConst.h, NLEqn.h, | |
3741 ODES.h, ODESSA.h, Quad.h, Range.h, so-array.h, uint16NDArray.h, | |
3742 uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: | |
3743 Delete #pragma interface. | |
3744 | |
5098 | 3745 2004-12-17 John W. Eaton <jwe@octave.org> |
3746 | |
3747 * lo-cieee.c (lo_ieee_signbit): New function. | |
3748 * lo-ieee.h: Provide decl. | |
3749 Don't define lo_ieee_signbit as a macro here. | |
3750 From Orion Poplawski <orion@cora.nwra.com>. | |
3751 | |
5085 | 3752 2004-11-18 John W. Eaton <jwe@octave.org> |
3753 | |
3754 * int32NDArray.cc (pow): Delete instantiation. | |
3755 * int16NDArray.cc (pow): Likewise. | |
3756 * int8NDArray.cc (pow): Likewise. | |
3757 * uint32NDArray.cc (pow): Likewise. | |
3758 * uint16NDArray.cc (pow): Likewise. | |
3759 * uint8NDArray.cc (pow): Likewise. | |
3760 | |
5081 | 3761 2004-11-17 John W. Eaton <jwe@octave.org> |
3762 | |
5085 | 3763 * kpse.cc (str_llist_float, str_llist_add, kpse_var_expand): |
3764 Now static. | |
3765 (DB_ENVS, DB_HASH_SIZE, DB_NAME, ALIAS_NAME, ALIAS_HASH_SIZE, | |
3766 DEFAULT_TEXMFDBS): Delete unused macros. | |
3767 | |
5081 | 3768 * Array.cc (Array<T>::index): Call generic N-d indexing function |
3769 if idx_arg is N-d. | |
3770 | |
5073 | 3771 2004-11-09 David Bateman <dbateman@free.fr> |
3772 | |
3773 * dNDArray.cc (concat): Delete. | |
3774 (NDArray::concat): New methods. | |
3775 * dNDArray.h: Provide decls. | |
3776 | |
3777 * CNDArray.cc (concat): Delete. | |
3778 (ComplexNDArray::concat): New methods. | |
3779 * CNDArray.h: Provide decls. | |
3780 | |
3781 * boolNDArray.cc (concat): Delete. | |
3782 (boolNDArray::concat): New methods. | |
3783 * boolNDArray.h: Provide decls. | |
3784 | |
3785 * chNDArray.cc (concat): Delete. | |
3786 (charNDArray::concat): New methods. | |
3787 * chNDArray.h: Provide decls. | |
3788 | |
3789 * oct-inttypes.h (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): | |
3790 Delete macros. | |
3791 | |
3792 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
3793 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
3794 (OCTAVE_INT_CONCAT_DECL): Delete use of macro. | |
3795 | |
3796 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
3797 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
3798 (OCTAVE_INT_CONCAT_FN): Delete use of macro. | |
3799 | |
3800 * intNDArray.cc (intNDArray<T>::concat): New method. | |
3801 * intNDArray.h: Provide decl. | |
3802 | |
5072 | 3803 2004-11-08 John W. Eaton <jwe@octave.org> |
3804 | |
3805 * oct-inttypes.cc: New file. | |
3806 * Makefile.in (TI_SRC): Add it to the list. | |
3807 * oct-inttypes.h (OCTAVE_US_TYPE1_CMP_OP, OCTAVE_US_TYPE1_CMP_OPS, | |
3808 OCTAVE_SU_TYPE1_CMP_OP, OCTAVE_SU_TYPE1_CMP_OPS, | |
3809 OCTAVE_TYPE1_CMP_OPS, OCTAVE_US_TYPE2_CMP_OP, | |
3810 OCTAVE_US_TYPE2_CMP_OPS, OCTAVE_SU_TYPE2_CMP_OP, | |
3811 OCTAVE_SU_TYPE2_CMP_OPS, OCTAVE_TYPE2_CMP_OPS): | |
3812 New macros for comparison operations. Avoid potential | |
3813 problems with default conversions when comparing signed and | |
3814 unsigned values. | |
3815 | |
5061 | 3816 2004-11-03 John W. Eaton <jwe@octave.org> |
3817 | |
3818 * dMatrix.cc (Matrix::inverse): Return info == -1 for any failure. | |
3819 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
3820 | |
5052 | 3821 2004-10-19 John W. Eaton <jwe@octave.org> |
3822 | |
3823 * Array.cc (assignN): Avoid resizing if assignment will fail. | |
3824 | |
5047 | 3825 2004-10-18 John W. Eaton <jwe@octave.org> |
3826 | |
3827 * Array.cc (assign2): Save result of squeeze operation. | |
3828 Squeeze if ndims is > 2, not if length of RHS vector is > 2. | |
3829 | |
5095 | 3830 2004-10-11 David Bateman <dbateman@free.fr> |
5044 | 3831 |
3832 * oct-fftw.cc (class octave_fftw_planner): Add inplace[2] to | |
3833 flag whether transform in- or out-of-place. | |
3834 (octave_fftw_planner::octave_fftw_planner): Initialize it. | |
3835 (octave_fftw_planner::create_plan): Use it. | |
3836 | |
5039 | 3837 2004-09-24 John W. Eaton <jwe@octave.org> |
3838 | |
3839 * Array.cc (assign2, assignN): If index is empty, allow RHS to be | |
3840 any empty matrix, not just []. | |
3841 | |
5030 | 3842 2004-09-23 John W. Eaton <jwe@octave.org> |
3843 | |
3844 * mx-ops: Include scalar zero value in type definitions. | |
3845 Delete zero information from ops section. | |
3846 * mk-ops.awk: Use type-specific zero info. | |
3847 | |
3848 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, | |
3849 SND_BOOL_OP, NDND_BOOL_OP): Args now include zero values for both | |
3850 LHS and RHS. | |
3851 (MS_BOOL_OPS2, SM_BOOL_OPS2, MM_BOOL_OPS2, NDS_BOOL_OPS2, | |
3852 SND_BOOL_OPS2, NDND_BOOL_OPS2): New macros. | |
3853 (MS_BOOL_OPS, SM_BOOL_OPS, MM_BOOL_OPS, NDS_BOOL_OPS, | |
3854 SND_BOOL_OPS, NDND_BOOL_OPS): Define in terms of 2-zero versions. | |
3855 | |
3856 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const | |
3857 intNDArray<U>&)): Use explicit as_double () conversion in call to | |
3858 tree_to_mat_idx. | |
3859 | |
3860 * oct-inttypes.h (octave_int<T>::operator float): New conversion. | |
3861 (pow): Instead of "if (b_val)", use "if (b_val != zero)". | |
3862 Likewise for the "if (b_val & one)" test. | |
3863 (operator <<, operator >>): Type of retval is octave_int<T1>, not T1. | |
3864 | |
5029 | 3865 2004-09-23 David Bateman <dbateman@free.fr> |
3866 | |
3867 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): | |
3868 New macros. Use them to define mixed intX-double and double-intX ops. | |
3869 | |
5021 | 3870 2004-09-22 Federico Zenith <zenith@chemeng.ntnu.no> |
3871 | |
3872 * DASPK-opts.in, DASRT-opts.in, ODESSA-opts.in: | |
3873 Fix doc string layout to avoid overfull hbox in printed output. | |
3874 | |
5015 | 3875 2004-09-21 John W. Eaton <jwe@octave.org> |
3876 | |
3877 * mach-info.h (octave_mach_info::flt_fmt_native): Delete. | |
3878 * mach-info.cc (octave_mach_info::string_to_float_format): | |
3879 For "native", set actual native format. | |
3880 (octave_mach_info::float_format_as_string): Delete flt_fmt_native case. | |
3881 | |
5008 | 3882 2004-09-17 David Bateman <dbateman@free.fr> |
3883 | |
3884 * CmplxSCHUR.cc (CmplxSCHUR::init): New arg, calc_unitary to make the | |
3885 calculation of the unitary matrix optional. | |
3886 * dbleSCHUR.cc (SCHUR::init): Ditto. | |
3887 * CmplxSCHUR.h, dbleSCHUR.h: Update decls. | |
3888 | |
4998 | 3889 2004-09-15 David Bateman <dbateman@free.fr> |
3890 | |
3891 * oct-sort.h (octave_sort<T>::set_compare (bool (*comp) (T, T))): | |
3892 New function to set the comparison function for the sort. | |
3893 | |
4985 | 3894 2004-09-10 John W. Eaton <jwe@octave.org> |
3895 | |
3896 * lo-mappers.cc (xround): Fix typo. | |
3897 | |
4979 | 3898 2004-09-08 John W. Eaton <jwe@octave.org> |
3899 | |
3900 * Array.h (Array::~Array): Declare virtual. | |
3901 | |
3902 * idx-vector.h (idx_vector::idx_vector): Initialize rep in member | |
3903 initializaion list. Don't set rep->count since the rep | |
3904 constructor does that. | |
3905 | |
4968 | 3906 2004-09-07 John W. Eaton <jwe@octave.org> |
3907 | |
4970 | 3908 * data-conv.cc (oct_data_conv::string_to_data_type): Handle dt_logical. |
3909 (oct_data_conv::data_type_as_string): Likewise. | |
3910 | |
3911 * data-conv.h (oct_data_conv::data_type): Add dt_logical to list. | |
3912 | |
4968 | 3913 * Range.cc (round): Delete unused function. |
3914 | |
3915 * lo-mappers.cc (xround): Rename from round. Change all uses. | |
3916 If HAVE_ROUND, call round, otherwise fake with floor and ceil. | |
3917 | |
3918 * oct-inttypes.h: Include <cmath> here. | |
3919 | |
4964 | 3920 2004-09-03 David Bateman <dbateman@free.fr> |
3921 | |
3922 * boolNDArray.cc (boolNDArray::concat, boolNDArray::insert): | |
3923 New functions for boolean matrix concatenation. | |
3924 * boolNDArray.h: Provide decls. | |
3925 | |
4963 | 3926 2004-09-03 John W. Eaton <jwe@octave.org> |
3927 | |
4964 | 3928 * oct-inttpes.h (OCTAVE_INT_CMP_OP): Convert operarands to double |
3929 to avoid signed/unsigned int comparison problems. | |
3930 | |
3931 * mx-ops: Generate CMP and BOOL ops for mixed integer types and | |
3932 for mixed integer and double types. | |
3933 | |
3934 * mk-ops.awk: Output BIN_OP_DECLS, CMP_OP_DECLS, and BOOL_OP_DECLS | |
3935 separately, and only if needed. | |
3936 | |
4963 | 3937 * oct-inttypes.h (octave_fit_to_range): Use constructor instead of |
3938 static_cast for type conversion. | |
3939 | |
4953 | 3940 2004-09-01 John W. Eaton <jwe@octave.org> |
3941 | |
3942 * oct-inttypes.h (pow, operator +, operator -, operator *, | |
3943 operator /): Handle mixed integer/double ops. If op generates a | |
3944 NaN, set result to 0. | |
3945 (octave_int::operator - (void)): Convert to double, then negate, | |
3946 then fit to range. | |
3947 | |
3948 * mx-ops: Define integer types. Include declarations for mixed | |
3949 integer/double ops. | |
3950 | |
4952 | 3951 2004-08-31 John W. Eaton <jwe@octave.org> |
3952 | |
3953 * oct-inttypes.h (pow): Args now const reference. | |
3954 (octave_int<T>::operator *=, octave_int<T>::operator /=, | |
3955 octave_int<T>::operator <<=, octave_int<T>::operator >>=): | |
3956 New member functions. | |
3957 (OCTAVE_INT_BITSHIFT_OP): Delete macro. | |
3958 (operator >> (const octave_int<T1>& x, const T2& y)): | |
3959 Define in terms of >>=. | |
3960 (operator << (const octave_int<T1>& x, const T2& y)): | |
3961 Define in terms of <<=. | |
3962 (bitshift): Operate on octave_int<T> objects, not the values, so | |
3963 we get proper saturation properties. | |
3964 | |
3965 2004-08-31 David Bateman <dbateman@free.fr> | |
3966 | |
3967 * oct-inttypes.h (pow (constT, T)): New template. | |
3968 | |
3969 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, | |
3970 uint16NDArray.cc, uint32NDArray.cc: Instantiate power function. | |
3971 | |
4949 | 3972 2004-08-31 John W. Eaton <jwe@octave.org> |
3973 | |
3974 * oct-inttypes.h (octave_int::byte_size): New function. | |
3975 | |
4944 | 3976 2004-08-31 John W. Eaton <jwe@octave.org> |
3977 | |
4946 | 3978 * Makefile.in (EXTRAS): Add intNDArray.cc to the list. |
3979 | |
4944 | 3980 * data-conv.h (oct_data_conv::data_type): Include sized types. |
3981 Explicitly number enum elements. | |
3982 | |
3983 * data-conv.cc (oct_data_conv::string_to_data_type (const | |
3984 std::string&, int&, oct_data_conv::data_type&, | |
3985 oct_data_conv::data_type&)): New function. | |
3986 (oct_data_conv::string_to_data_type (const std::string&, int&, | |
3987 oct_data_conv::data_type&)): New function. | |
3988 (oct_data_conv::data_type_as_string): New function. | |
3989 | |
3990 * dMatrix.cc (read_int, do_read, Matrix::read): Delete. | |
3991 (write_int, do_write, Matrix::write): Delete. | |
3992 * dMatrix.h (Matrix::read, Matrix::write): Delete decls. | |
3993 | |
3994 * byte-swap.h: Use template functions and specialization. | |
3995 Change all uses. | |
3996 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
3997 | |
4943 | 3998 2004-08-30 John W. Eaton <jwe@octave.org> |
3999 | |
4000 * oct-inttypes.h (octave_int_fit_to_range): Use template | |
4001 specializations to avoid warnings about signed/unsigned comparisons. | |
4002 | |
4003 2004-08-28 John W. Eaton <jwe@octave.org> | |
4004 | |
4005 * data-conv.cc (do_float_format_conversion (unsigned char *, | |
4006 size_t, int, oct_mach_info::float_format)): New function. | |
4007 (GET_SIZED_INT_TYPE): New macro. | |
4008 (string_to_data_type): Use it to return sized types corresponding | |
4009 to Octave array data types. | |
4010 (strip_spaces): New function. | |
4011 (do_double_format_conversion, do_float_format_conversion): Pass | |
4012 from_fmt and to_fmt. Don't always assume the to_fmt is the native | |
4013 float format. | |
4014 (do_double_format_conversion, | |
4015 IEEE_big_double_to_IEEE_little_double, | |
4016 VAX_D_double_to_IEEE_little_double, | |
4017 VAX_G_double_to_IEEE_little_double, Cray_to_IEEE_little_double, | |
4018 IEEE_little_double_to_IEEE_big_double, | |
4019 VAX_D_double_to_IEEE_big_double, VAX_G_double_to_IEEE_big_double, | |
4020 Cray_to_IEEE_big_double, IEEE_little_double_to_VAX_D_double, | |
4021 IEEE_big_double_to_VAX_D_double, VAX_G_double_to_VAX_D_double, | |
4022 Cray_to_VAX_D_double, IEEE_little_double_to_VAX_G_double, | |
4023 IEEE_big_double_to_VAX_G_double, VAX_D_double_to_VAX_G_double, | |
4024 Cray_to_VAX_G_double): | |
4025 Pass data as void*, not double*. | |
4026 (do_float_format_conversion, IEEE_big_float_to_IEEE_little_float, | |
4027 VAX_D_float_to_IEEE_little_float, | |
4028 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, | |
4029 IEEE_little_float_to_IEEE_big_float, | |
4030 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, | |
4031 Cray_to_IEEE_big_float, IEEE_little_float_to_VAX_D_float, | |
4032 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, | |
4033 Cray_to_VAX_D_float, IEEE_little_float_to_VAX_G_float, | |
4034 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, | |
4035 Cray_to_VAX_G_float): | |
4036 Pass data as void*, not float*. | |
4037 | |
4038 2004-08-27 John W. Eaton <jwe@octave.org> | |
4039 | |
4040 * byte-swap.h (swap_bytes): New template versions, with | |
4041 specializations. | |
4042 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
4043 Change all uses. | |
4044 | |
4940 | 4045 2004-08-24 David Bateman <dbateman@free.fr> |
4046 | |
4047 * chNDArray.cc (concat): Check whether matrix to be inserted is | |
4048 empty instead of checking final matrix. | |
4049 * dNDArray.cc (concat): Likewise. | |
4050 * CNDArray.cc (concat): Likewise. | |
4051 | |
4052 2004-08-23 David Bateman <dbateman@free.fr> | |
4053 | |
4054 * dim-vector.h (dim_vector::concat): Correct incrementation for | |
4055 non-existent dimensions. | |
4056 | |
4938 | 4057 2004-08-09 John W. Eaton <jwe@octave.org> |
4058 | |
4059 * idx-vector.h (idx_vector::idx_vector_rep::tree_to_mat_idx | |
4060 (const octave_int<U>&)): New member function. | |
4061 (idx_vector::idx_vector_rep::tree_to_mat_idx (double, bool&), | |
4062 idx_vector::idx_vector_rep::tree_to_mat_idx (int)): | |
4063 Now member functions instead of static in idx-vector.cc. | |
4064 (idx_vector::idx_vector_rep::idx_vector_rep (const octave_int<U>&), | |
4065 idx_vector::idx_vector_rep::idx_vector_rep (const intNDArray<U>&)): | |
4066 New template constructors. | |
4067 | |
4932 | 4068 2004-08-05 John W. Eaton <jwe@octave.org> |
4069 | |
4933 | 4070 * EIG.cc (EIG::init): Add volatile qualifier to nvr decl. |
4071 | |
4932 | 4072 * intNDArray.cc (intNDArray<T>::operator !, intNDArray<T>::all, |
4073 intNDArray<T>::any): Sprinkle with this-> as needed. | |
4074 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): Likewise. | |
4075 | |
4929 | 4076 2004-08-03 John W. Eaton <jwe@octave.org> |
4077 | |
4078 * Array.cc (Array<T>::squeeze): Do nothing for 2-d arrays. For | |
4079 arrays with more than two dimensions and only one non-singleton | |
4080 dimension, return a column vector. | |
4081 | |
4921 | 4082 2004-07-28 John W. Eaton <jwe@octave.org> |
4083 | |
4084 * oct-cmplx.h (pow (const Complex&, const double&): | |
4085 Convert second arg to complex to avoid libstdc++ bug. | |
4086 | |
4920 | 4087 2004-07-27 John W. Eaton <jwe@octave.org> |
4088 | |
4089 * oct-inttypes.h (bitshift): New arg, MASK. | |
4090 (OCTAVE_INT_BITSHIFT_OP): Bitshift does not saturate. | |
4091 | |
4916 | 4092 2004-07-23 John W. Eaton <jwe@octave.org> |
4093 | |
4094 * Array.cc (Array<T>::reshape): Return *this if no change in size. | |
4095 | |
4915 | 4096 2004-07-23 David Bateman <dbateman@free.fr> |
4097 | |
4098 * Array.cc, Array.h (cat_ra): Delete. | |
4099 * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc | |
4100 (INSTANTIATE_ARRAY_CAT): Delete. | |
4101 | |
4102 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
4103 chNDArray.h, intNDArray.cc, intNDArray.h (cat): Delete. | |
4104 | |
4105 * Array.cc (Array<T>::insert): Copy data in NDArray version. | |
4106 | |
4107 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
4108 chNDArray.h (concat): New function used for concatenation that does | |
4109 an indexed copy of one array into another. | |
4110 | |
4111 * dim-vector.h (concat): New function to concatenate dim_vectors. | |
4112 | |
4113 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
4114 chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for | |
4115 insertion of one NDArray into another. | |
4116 | |
4117 * oct-inttype.cc (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): New | |
4118 macros to define the int/uint concatenation functions. | |
4119 | |
4120 * uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
4121 int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc | |
4122 (OCTAVE_INT_CONCAT_FN): Instantiate the concatenation function . | |
4123 | |
4124 * uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
4125 int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h | |
4126 (OCTAVE_INT_CONCAT_DECL): Declare the int/uint concatentaion | |
4127 functions. | |
4128 | |
4911 | 4129 2004-07-22 David Bateman <dbateman@free.fr> |
4130 | |
4131 * oct-sort.h: Don't include oct-obj.h. | |
4132 | |
4133 * lo-specfun.cc (is_integer_value): New function. | |
4134 (zbesj, zbesi, zbesy): Special case negative integer or half | |
4135 integer orders that cause overflow for small arguments. | |
4136 | |
4909 | 4137 2004-07-12 John W. Eaton <jwe@octave.org> |
4138 | |
4139 * oct-inttypes.h (octave_int<T>::nbits): New function. | |
4140 (bitshift (const octave_int<T>&, int)): New function. | |
4141 | |
4902 | 4142 2004-06-14 John W. Eaton <jwe@octave.org> |
4143 | |
4144 * mx-base.h: Include headers for new int types. | |
4145 | |
4146 * dNDArray.h, dNDArray.cc (NDArray::NDArray (const boolNDArray&), | |
4147 NDArray::NDArray (const charNDArray&)): Delete. | |
4148 (template <class U> explicit NDArray (const intNDArray<U>&)): New | |
4149 constructor. | |
4150 (NDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
4151 | |
4152 * chMatrix.h (CharMatrix::transpose): New forwarding functions for | |
4153 return type conversion. | |
4154 | |
4155 * ComplexNDArray.h, ComplexNDArray.cc | |
4156 (ComplexNDArray::ComplexNDArray (const ArrayN<Complex>&), | |
4157 (ComplexNDArray::ComplexNDArray (const NDArray&), | |
4158 (ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
4159 (ComplexNDArray::ComplexNDArray (const charNDArray&)): Delete. | |
4160 | |
4161 (ComplexNDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
4162 | |
4163 * MArrayN.h: | |
4164 (template <class U> explicit MArrayN<T>::MArrayN (const Array2<U>&), | |
4165 (template <class U> MArrayN<T>::MArrayN (const ArrayN<U>&), | |
4166 (template <class U> explicit MArrayN<T>::MArrayN (const MArray<U>&)): | |
4167 New constructors. | |
4168 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
4169 ArrayN<T>::squeeze): | |
4170 New forwarding functions for return type conversion. | |
4171 | |
4172 * ArrayN.h: | |
4173 (template <class U> explicit ArrayN<T>::ArrayN (const Array2<U>&), | |
4174 (template <class U> explicit ArrayN<T>::ArrayN (const ArrayN<U>&), | |
4175 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&), | |
4176 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&, | |
4177 const dim_vector&)): New constructors. | |
4178 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
4179 ArrayN<T>::transpose): | |
4180 New forwarding functions for return type conversion. | |
4181 | |
4182 * Array.h (template <class U> Array<T>::Array (const Array<U>&)): | |
4183 New constructor. | |
4184 (Array<T>::coerce, Array<T>::byte_size): New functions. | |
4185 | |
4186 * Array-i.cc, MArray-i.cc: Instantiate new integer types. | |
4187 | |
4188 * oct-inttypes.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
4189 int8NDArray.h , intNDArray.h, uint16NDArray.h, uint32NDArray.h, | |
4190 uint64NDArray.h, uint8NDArray.h, int16NDArray.cc, int32NDArray.cc, | |
4191 int64NDArray.cc, int8NDArray.cc, intNDArray.cc, uint16NDArray.cc, | |
4192 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: New files. | |
4193 * Makefile.in: Add them to the appropriate lists. | |
4194 | |
4899 | 4195 2004-06-04 John W. Eaton <jwe@octave.org> |
4196 | |
4197 * mx-inlines.cc (MX_ND_REDUCTION): New arg, RET_ELT_TYPE. Use | |
4198 "RET_ELT_TYPE ()" rather than "false" as fill value for retval | |
4199 resize op. Change all uses. | |
4200 | |
4898 | 4201 2004-06-03 David Bateman <dbateman@free.fr> |
4202 | |
4203 * Array.cc (assignN): Allow magic colon for dimensions lvalue | |
4204 greater than the existing number of dimensions in lvalue. | |
4205 | |
4887 | 4206 2004-04-30 David Bateman <dbateman@free.fr> |
4207 | |
4208 * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): | |
4209 New arg, fill_value. | |
4210 (dim_vector::resize): Allow optional fill_value argument. | |
4211 | |
4212 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
4213 Don't chop trailing dimensions of Array<idx_vector> if there is | |
4214 more than one element in idx_vector. Resize the return value to | |
4215 the size of Array<idx_vector>. | |
4216 | |
4217 * Array-util.cc (short_freeze): Better freeze of last dimension of | |
4218 idx_vector that is shorter than a dim_vector. | |
4219 | |
4882 | 4220 2004-04-23 John W. Eaton <jwe@octave.org> |
4221 | |
4222 * oct-sort.cc: Don't include oct-obj.h. | |
4223 | |
4876 | 4224 2004-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
4225 | |
4226 * Array.cc (Array<T>::index2, Array<T>::indexN): | |
4227 Don't set invalid dimensions on return value. | |
4228 | |
4871 | 4229 2004-04-21 John W. Eaton <jwe@octave.org> |
4230 | |
4231 * mx-inlines.cc (MX_ND_REDUCTION): Chop trailing singletons. | |
4232 | |
4850 | 4233 2004-04-06 David Bateman <dbateman@free.fr> |
4234 | |
4870 | 4235 * Array.cc (Array<T>::resize_no_fill (const dim_vector& dv), |
4236 Array<T>::resize_and_fill (const dim_vector& dv, const T& val)): | |
4237 Make their behavior equivalent except for filling vs. not filling. | |
4238 | |
4850 | 4239 * oct-sort.cc: New template class for arbitrary sorting. |
4240 * oct-sort.h: Declaration of sort class. | |
4241 * Makefile: Add them to the appropriate lists. | |
4242 | |
4845 | 4243 2004-04-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
4244 | |
4245 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Fix off-by-one error. | |
4246 | |
4844 | 4247 2004-04-02 David Bateman <dbateman@free.fr> |
4248 | |
4249 * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, | |
4250 besselh2, airy, biry, betainc, gammainc, do_bessel): | |
4852 | 4251 New N-d array versions. |
4844 | 4252 (SN_BESSEL, NS_BESSEL, NN_BESSEL): New macros. |
4253 * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, | |
4254 besselh2, airy, biry, betainc, gammainc): Provide decls. | |
4255 | |
4256 * dNDArray.cc (NDArray::min, NDArray::max, min, max): | |
4257 New functions. | |
4258 * dNDArray.h (NDArray::min, NDArray::max, min, max): Provide decls. | |
4259 | |
4260 * CNDArray.cc (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
4261 New functions. | |
4262 * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
4263 Provide decls. | |
4264 | |
4842 | 4265 2004-03-17 David Hoover <jazzdaq@yahoo.com> |
4266 | |
4267 * DASPK.cc (DASPK::do_integrate): Always add n*n elements to the | |
4268 work vector, not just when using a numerical Jacobian. | |
4269 | |
4834 | 4270 2004-03-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4271 | |
4835 | 4272 * so-array.cc (SND_CMP_OP, NDS_CMP_OP, NDND_CMP_OP): |
4273 Omit empty result args. | |
4274 | |
4834 | 4275 * Array.cc (Array<T>::Array (const Array<T>&, const dim_vector&)): |
4276 Move here from Array.h, check that size of array arg is not | |
4277 smaller than the size defined by the new dimensions. | |
4278 | |
4832 | 4279 2004-03-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4280 | |
4281 * Array.cc (Array<T>::index2): Allow result to be N-d if indexing | |
4282 a scalar or vector with an N-d array. | |
4283 | |
4826 | 4284 2004-03-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
4285 | |
4828 | 4286 * Array.cc (Array<T>::index2): If scalar or vector is indexed by |
4287 matrix, return object that is the same size as the index. | |
4288 | |
4826 | 4289 * mx-op-defs.h (NDND_CMP_OP, MM_CMP_OP): Require dimensions to agree. |
4290 Eliminate MT_RESULT args. Return value is always size of args. | |
4291 (MS_CMP_OP, SM_CMP_OP, NDS_CMP_OP, SND_CMP_OP): | |
4292 Eliminate EMPTY_RESULT arg. | |
4293 Return value is always size of matrix or N-d array arg. | |
4294 (TBM, FBM, NBM): Delete unused macros. | |
4295 | |
4821 | 4296 2004-03-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
4297 | |
4298 * Array.cc (Array<T>::maybe_delete_elements): Return immediately | |
4299 if all LHS dimensions are zero. For one index case, freeze and | |
4300 sort idx_vec before checking length, and do nothing if | |
4301 num_to_delete is zero. | |
4822 | 4302 (Array<T>::maybe_delete_elements_2): Omit Fortran-indexing warning. |
4821 | 4303 |
4816 | 4304 2004-03-04 David Bateman <dbateman@free.fr> |
4305 | |
4306 * dNDArray.cc (NDArray::ifourier): Arg is int, not const int. | |
4307 * CNDArray.cc (ComplexNDArray::ifourier): Likewise. | |
4308 | |
4811 | 4309 2004-03-03 Hans Ekkehard Plesser <hans.ekkehard.plesser@nlh.no> |
4310 | |
4311 * base-lu.cc (base_lu<>::L): Check bounds before setting diagonal | |
4312 element. | |
4313 | |
4314 2004-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4315 | |
4316 * Range.h (Range::Range): Add cache to member initialization list. | |
4317 (Range::clear_cache): New private function. | |
4318 | |
4319 * Range.h (Range::set_base, Range::set_limit, Range::set_inc): | |
4320 Use clear cache. Don't do anything if range does not change. | |
4321 * Range.cc (Range::sort): Likewise. | |
4322 | |
4810 | 4323 2004-03-02 Paul Kienzle <pkienzle@users.sf.net> |
4324 | |
4325 * Range.cc (Range::matrix_value): Cache result. | |
4326 (Range::sort): Clear cache. | |
4327 * Range.h (Range::cache): New data member. | |
4328 (Range::set_base, Range::set_limit, Range::set_inc): Clear cache. | |
4329 (Range::print_range): Delete. | |
4808 | 4330 |
4331 2004-03-02 David Bateman <dbateman@free.fr> | |
4332 | |
4333 * oct-fftw.cc: Only two versions of plan, and avoid endless | |
4334 changes between them. Faster for small fft's. | |
4335 (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): | |
4336 New member variables. | |
4337 (octave_fftw_planner::ialign, octave_fftw_planner::oalign, | |
4338 octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. | |
4339 Change all uses. | |
4340 (CHECK_SIMD_ALIGNMENT): New macro. | |
4341 (octave_fftw_planner::create_plan): Use it. | |
4342 | |
4806 | 4343 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> |
4344 | |
4345 * Array.cc (Array<T>::insertN): Eliminate N-d indexing. | |
4346 | |
4347 * mx-inlines.cc (MX_ND_CAT): Delete macro. | |
4348 | |
4349 * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. | |
4350 * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. | |
4351 * chNDArray.cc (charNDArray<T>::cat): Ditto. | |
4352 * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. | |
4353 | |
4354 * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. | |
4355 * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. | |
4356 | |
4800 | 4357 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4358 | |
4802 | 4359 * oct-rl-edit.c (octave_rl_set_startup_hook, |
4360 octave_rl_get_startup_hook, octave_rl_set_event_hook, | |
4361 octave_rl_get_event_hook): Omit casts. | |
4362 * oct-rl-edit.h (rl_startup_hook_fcn_ptr, rl_event_hook_fcn_ptr): | |
4363 Return value for function pointer typedef is now int. | |
4364 * cmd-edit.h (command_editor::startup_hook_fcn, | |
4365 command_editor::event_hook_fcn): Likewise. | |
4366 * cmd-hist.cc, cmd-hist.h (command_history::goto_mark, | |
4367 command_history::do_goto_mark, gnu_history::do_goto_mark): | |
4368 Return type is now int. Return 0. | |
4369 | |
4800 | 4370 * EIG.cc (EIG::init, EIG::symmetric_init): |
4371 Query Lapack for workspace size. | |
4372 | |
4796 | 4373 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4374 | |
4375 * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): | |
4376 Fix thinko in extending dimensions. | |
4377 | |
4791 | 4378 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
4379 | |
4380 * Range.cc (Range::matrix_value, Range::min, Range::max): | |
4381 Don't compute values beyond the limits of the range. | |
4382 (operator << (std::ostream&, const Range&)): Likewise. | |
4383 | |
4786 | 4384 2004-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4385 | |
4788 | 4386 * oct-fftw.cc (octave_fftw_planner::create_plan): |
4387 Cast IN and OUT args to ptrdiff_t instead of long before masking. | |
4388 From Paul Kienzle <pkienzle@users.sf.net>. | |
4389 | |
4786 | 4390 * Array.cc (Array<T>::insertN (const Array<T>&, int, int)): |
4391 Rename from Array<T>::insert. | |
4392 (Array<T>::insert2 (const Array<T>&, int, int)): | |
4393 Reinstate old Array<T>::insert function under this name. | |
4394 (Array<T>::insert (const Array<T>&, int, int)): | |
4395 New function. Dispatch to insert2 or insertN as appropriate. | |
4396 | |
4785 | 4397 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
4398 | |
4399 * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): | |
4400 Sprinkle with OCTAVE_QUIT. | |
4401 | |
5095 | 4402 2004-02-16 David Bateman <dbateman@free.fr> |
4773 | 4403 |
4404 * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): | |
4405 Add support for FFTW 3.x. Include the ability to | |
4406 use the real to complex transform for fft's of real matrices | |
4407 (octave_fftw_planner::create_plan2d): Delete. | |
4408 (octave_fftw::fft2d): Delete. | |
4409 (convert_packcomplex_1d, convert_packcomplex_Nd): | |
4410 New static functions. | |
4411 * oct-fftw.h: Update decls. | |
4412 | |
4413 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
4414 Matrix::fourier2d, Matrix::ifourier2d): FFT's use real to complex | |
4415 transforms. 1D FFT of a matrix done as single call rather than | |
4416 loop. Update for FFTW 3.x | |
4417 * CMatrix.cc (ComplexMatrix::fourier, ComplexMatrix::ifourier, | |
4418 ComplexMatrix::fourier2d, ComplexMatrix::ifourier2d): 1D fft of a | |
4419 matrix done as single call rather than loop. Update for FFTW 3.x. | |
4420 | |
4421 * dNDArray.cc (NDArray::fourier, NDArray::ifourier, | |
4422 NDArray::fourierNd, NDArray::ifouriourNd): New fourier transform | |
4423 functions for Nd arrays. | |
4424 * dNArray.h Provide decls. | |
4425 * CNDArray.cc (ComplexNDArray::fourier, ComplexNDArray::ifourier, | |
4426 ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New | |
4427 fourier transform functions for complex Nd arrays. | |
4428 * CNArray.h: Provide decls. | |
4429 | |
4765 | 4430 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> |
4431 | |
4432 * Array.cc (Array<T>::insert (const Array<T>&, int, int)): | |
4433 Make it work for N-d arrays. | |
4434 | |
4435 * ArrayN.h (ArrayN<T>::insert (const ArrayN<T>& a, int, int)): | |
4436 New function. | |
4437 | |
4438 * CNDArray.cc (ComplexNDArray::insert (const NDArray&, int, int), | |
4439 ComplexNDArray::insert (const ComplexNDArray&, int, int)): | |
4440 New functions. | |
4441 * CNDArray.h: Provide decls. | |
4442 | |
4759 | 4443 2004-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4444 | |
4760 | 4445 * Makefile.in (LINK_DEPS): Always define. |
4446 | |
4759 | 4447 * Array.cc (Array<T>::squeeze): Always return an array with at |
4448 least two dimensions. | |
4449 | |
4758 | 4450 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
4451 | |
4452 * mx-inlines.cc (MX_ND_CAT): New macro. | |
4453 * dNDArray.cc (NDArray::cat): New function. | |
4454 * dNDArray.h: Provide decls. | |
4455 * CNDArray.cc (complexNDArray::cat): New function. | |
4456 * CNDArray.h: Provide decls. | |
4457 * chNDArray.cc (charNDArray::cat): New function. | |
4458 * chNDArray.h: Provide decls. | |
4459 | |
4756 | 4460 2004-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
4461 | |
4462 * Array.cc (maybe_delete_elements_2): Allow X(n) = [] for 2-d X. | |
4463 (Array<T>assign2): Also call maybe_delete_elements for single | |
4464 index when rows and columns or LHS are both greater than 1. | |
4465 | |
4755 | 4466 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
4467 | |
4468 * Array.cc (Array<T>::maybe_delete_elements): | |
4469 Check for index out of bounds. Handle one index. | |
4470 | |
4471 * Array.cc (Array<T>::indexN): Use dim_vector (0, 0) instead of | |
4472 dim_vector (0) to create empty return vector. | |
4473 | |
4749 | 4474 2004-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
4475 | |
4476 * Array.cc (Array<T>::assignN): Don't crash if trying to resize a | |
4477 non-empty LHS when the number of lhs dimensions is less than the | |
4478 number of indices. Detect error if attempting to resize non-empty | |
4479 LHS with colon indices. | |
4480 | |
4745 | 4481 2004-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
4482 | |
4747 | 4483 * Array.cc (Array<T>::resize_and_fill): Don't bother to assign any |
4484 values unless the length of the new array is greater than 0. | |
4485 (Array<T>::resize_no_fill): Likewise. | |
4486 | |
4487 * Array-util.cc (index_in_bounds): Also return false if ra_idx(i) | |
4488 is equal to dimensions(i). | |
4489 | |
4490 * Array-util.h, Array-util.cc (equal_arrays, any_zero_len, | |
4491 get_zero_len_size, number_of_elements): | |
4492 Delete unused functions. | |
4493 | |
4494 * Array-util.cc (get_ra_idx): Use dim_vector::numel instead of | |
4495 number_of_elements function. | |
4496 * Array.cc (Array<T>::indexN): Likewise. | |
4497 | |
4498 * Array.cc (Array<T>::indexN): Use dim_vector::operator == instead | |
4499 of equal_arrays function. | |
4500 (Array<T>::index, Array<T>::indexN, Array<T>::assignN) Use | |
4501 dim_vector::any_zero instead of any_zero_len function. | |
4502 | |
4503 * Array.cc (Array<T>::assignN): Eliminate special case for empty index. | |
4504 Don't skip reshaping and resizing if RHS is empty. | |
4505 | |
4746 | 4506 * Array.cc (Array<T>::assignN): Simplify loop for array assignment. |
4507 Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. | |
4747 | 4508 Delete unused variables is_colon and is_colon_equiv. |
4746 | 4509 Correctly resize for expressions like x(:,:,2) = ones(3,3) when |
4510 LHS is not yet defined. | |
4745 | 4511 Error for resizing if number of indices is less than number of LHS |
4512 dimensions. | |
4513 | |
4746 | 4514 * Array.cc (Array<T>::maybe_delete_elements): Maybe warn about |
4515 Fortran-style indexing. | |
4516 | |
4743 | 4517 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
4518 | |
4519 * Array.cc (Array<T>::assignN): Simplify. | |
4520 Allow assignments to succeed if number if indices is less than the | |
4521 number of RHS dimensions. | |
4522 | |
4738 | 4523 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
4524 | |
4741 | 4525 * Array.cc (Array<T>::maybe_delete_elements): Reshape LHS |
4526 when number of indices is less than number of dimensions. | |
4527 | |
4528 * Array.cc (Array<T>::assignN, Array<T>::maybe_delete_elements): | |
4529 Remove unsued variable lhs_inc. | |
4530 | |
4740 | 4531 * Array.cc (Array<T>::maybe_delete_elements): Declare idx_is_colon |
4532 and idx_is_colon_equiv Array<int> instead of dim_vector. | |
4533 | |
4534 * Array.cc (Array<T>::assignN): Compute new dims in a cleaner way. | |
4535 | |
4738 | 4536 * Array.cc (Array<T>::index): Check for frozen_lengths.length () |
4537 == n_dims before checking to see if all indices are colon_equiv. | |
4538 | |
4736 | 4539 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
4540 | |
4541 * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for | |
4542 deleting elements. | |
4737 | 4543 (Array<T>::index): Remove trailing singletons in ra_idx, but leave |
4544 at least ndims elements. | |
4736 | 4545 |
4735 | 4546 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
4547 | |
4548 * Array.cc (Array<T>::assignN): Accept assignment of a vector | |
4549 oriented differently from the index. | |
4550 | |
4551 * dim-vector.h (dim_vector::squeeze): Return value always has at | |
4552 least two dimensions. | |
4553 | |
4733 | 4554 2004-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
4555 | |
4735 | 4556 * dim-vector.h (dim_vector::squeeze): New function. |
4557 (Array<T>::assignN): Use it instead of chop_trailing_singltons for | |
4558 deciding whether the assignment conforms. | |
4559 | |
4733 | 4560 * Array.cc (Array<T>::assignN): Simplify dimension check by |
4561 comparing rhs_dims and frozen_len sans trailing singletons. | |
4562 | |
4732 | 4563 2004-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
4564 | |
4565 * idx-vector.cc (tree_to_mat_idx): New arg, conversion_error. | |
4566 Call error handler and return conversion_error == true if arg is | |
4567 not integer. | |
4568 (IDX_VEC_REP::idx_vector_rep): Exit early if conversion_error. | |
4569 | |
4730 | 4570 2004-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
4571 | |
4572 * boolNDArray.h (boolNDArray::boolNDArray): Declare dim_vector | |
4573 reference arg const. | |
4574 | |
4575 2004-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4576 | |
4577 * Array-flags.cc: Include Array-flags.h, not Array.h. Doh. | |
4578 | |
4729 | 4579 2004-01-30 Jakub Bogusz <qboosh@pld-linux.org> |
4580 | |
4581 * Array-flags.h (liboctave_wfi_flag, liboctave_wrore_flag): | |
4582 Now bool, to match definition in Array-flags.cc. | |
4583 | |
4725 | 4584 2004-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4585 | |
4726 | 4586 * file-ops.cc: Include <vector> instead of <memory> for new |
4587 definition of OCTAVE_LOCAL_BUFFER. | |
4588 | |
4725 | 4589 * EIG.cc, EIG.h (EIG::init, EIG::symmetric_init, EIG::hermitian_init): |
4590 New arg, calc_eigenvectors. | |
4591 * EIG.h (EIG:EIG): New optional arg, calc_eigenvectors. | |
4592 Based on patch from David Bateman <dbateman@free.fr>. | |
4593 | |
4716 | 4594 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
4595 | |
4596 * Array.cc (Array<T>::assign2, Array<T>::assignN): | |
4597 For X(I) = RHS, don't restrict I to fewer elements than X. | |
4598 | |
4599 * Array.cc (Array<T>::assign2): Simplify indexing for X(I) = RHS case. | |
4600 | |
4711 | 4601 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
4602 | |
4714 | 4603 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): |
4604 Simplify calculation of number of elements in retval. | |
4605 | |
4711 | 4606 * Array.cc (Array<T>::assignN): Eliminate unnecessray code for |
4607 filling when RHS is scalar and dimension lengths agree. | |
4608 | |
4710 | 4609 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
4610 | |
4713 | 4611 * Makefile.in (distclean): Remove mx-ops.h, $(MX_OP_INC), |
4612 $(VX_OP_INC), $(MX_OP_SRC), $(VX_OP_SRC), and $(OPTS_INC). | |
4710 | 4613 |
4707 | 4614 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
4615 | |
4709 | 4616 * Array.cc (Array<T>::resize_and_fill): Correctly copy old elements. |
4617 (Array<T>::assign2): Check for RHS dimensions larger than 2. | |
4707 | 4618 |
4702 | 4619 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> |
4620 | |
4703 | 4621 * Array.h (Array<T>::chop_trailing_singletons): New function. |
4622 * Array.cc (Array<T>::assignN): Use it on LHS. | |
4623 | |
4624 * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. | |
4702 | 4625 Retrieve scalar element by passin 0 instead of an index array. |
4703 | 4626 Check for singleton dimensions where RHS is matrix or higher dimension. |
4627 Make sure index is in bounds. | |
4702 | 4628 |
4698 | 4629 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
4630 | |
4631 * lo-ieee.cc (octave_ieee_init): Ensure that octave_Inf, | |
4632 octave_NaN, and octav_NA values are always initialized. Check | |
4633 floating point format, not HAVE_ISINF, HAVE_FINITE, or HAVE_ISNAN | |
4634 to decide whether to do IEEE initialization. | |
4635 | |
4687 | 4636 2004-01-06 David Bateman <dbateman@free.fr> |
4637 | |
4638 * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, | |
4639 ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, | |
4640 ComplexNDArray::too_large_for_float): New functions | |
4641 | |
4642 * CNDArray.cc (operator <<, operator >>): New IO operators. | |
4643 * CNDArray.h: Provide decls. | |
4644 * dNDArray.cc (operator <<, operator >>): New IO operators. | |
4645 * dNDArray.h: Provide decls. | |
4646 | |
4673 | 4647 2003-12-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4648 | |
4674 | 4649 * mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since |
4650 they are already defined in boolNDArray.cc. | |
4651 | |
4673 | 4652 * Array-util.cc (get_zero_len_size): Delete. |
4653 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
4654 Handle zero-length result dimensions the same as empty original | |
4655 indices. | |
4656 | |
4657 2003-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4658 | |
4659 * dim-vector.h (dim_vector::chop_trailing_singleton_dims, | |
4660 dim_vector::dim_vector_rep::chop_trailing_singleton_dims): | |
4661 New functions. | |
4662 * Array.cc (ArrayN<T>::indexN): Use it. | |
4663 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): Likewise. | |
4664 | |
4669 | 4665 2003-11-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
4666 | |
4667 * boolNDArray.cc: Define BOOL ops. Define mixed CMP ops. | |
4668 * boolNDArray.h: Declare BOOL ops. Declare mixed CMP ops. | |
4669 | |
4670 2003-11-25 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4671 | |
4672 * mk-ops.awk: Also emit #include "Array-util.h". | |
4673 | |
4674 * mx-ops: Add bool, boolMatrix, and boolNDarray types. | |
4675 Add bnda x bnda, b x bnda, and bnda x b ops. | |
4676 | |
4677 * MArray-misc.cc: Delete. | |
4678 * Makefile.in (MATRIX_SRC): Remove it from the list. | |
4679 | |
4680 * Array-util.h, Array-util.cc (gripe_nonconformant): Move here from | |
4681 MArray.h, MArray2.h, MArrayN.h, and MArray-misc.cc. | |
4682 | |
4655 | 4683 2003-11-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4684 | |
4663 | 4685 * dbleQR.cc (QR::init): Use separate pwork pointers. |
4686 * CmplxQR.cc (ComplexQR::init): Likewise. | |
4687 | |
4688 * oct-group.cc (octave_group::getgrnam): Pass correct args to | |
4689 two-arg getgrnam version. | |
4690 | |
4657 | 4691 * Array.cc (assignN): Allow single indexing to work. |
4661 | 4692 (Array<T>::range_error (const char*, const Array<int>&)): |
4693 Report index values. | |
4694 | |
4695 * Array.cc (Array<T>::index): Delete unused arg names. | |
4662 | 4696 * ODESSA.cc (odessa_j): Likewise. |
4697 * DASRT.cc (ddasrt_f, ddasrt_g): Likewise. | |
4698 * DASPK.cc (ddaspk_psol): Likewise. | |
4699 * lo-mappers.cc (imag): Likewise. | |
4663 | 4700 * Array-util.cc (get_zero_len_size): Likewise. |
4701 * kpse.cc (path_search, path_find_first_of): Likewise. | |
4702 * cmd-edit.cc (do_generate_filename_completions): Likewise. | |
4656 | 4703 |
4655 | 4704 * dim-vector.h (dim_vector::all_ones): New function. |
4705 | |
4646 | 4706 2003-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4707 | |
4653 | 4708 * idx-vector.h (idx_vector::orig_empty): Check orig_dims for |
4709 zeros, not orig_rows or orig_columns. | |
4710 (idx_vector::idx_vector_rep::orig_rows): Define using orig_dims. | |
4711 (idx_vector::idx_vector_rep::orig_columns): Likewise. | |
4712 | |
4713 * idx-vector.cc (idx_vector::idx_vector_rep::orig_nr, | |
4714 (idx_vector::idx_vector_rep::orig_nc): Delete. | |
4715 | |
4716 * idx-vector.cc (idx_vector::idx_vector_rep): | |
4717 Use initialization lists for constructors. | |
4718 | |
4651 | 4719 * Array.cc (Array<T>::indexN): Correctly handle single colon index. |
4720 Omit special case for ra_idx.capacity () == 1. | |
4721 Always allow single index for matrix args with optional warning. | |
4722 | |
4650 | 4723 * idx-vector.h, idx-vector.cc: Convert boolMatrix functions to use |
4724 boolNDArray. Likewise, convert Matrix functions to use NDArray. | |
4725 | |
4648 | 4726 * Array-so.cc: New file. Move instantiations here from so-array.h. |
4727 * Makefile.in (TI_SRC): Add it to the list. | |
4728 | |
4646 | 4729 * MArray-defs.h (DO_VS_OP2, DO_VV_OP2): Accept args for element |
4730 type and the names of the left and right operands. Change all uses. | |
4731 | |
4732 * so-array.cc, so-array.h: New files. Move streamoff_array here | |
4733 from src/ov-streamoff.h and src/ov-streamoff.cc. | |
4734 | |
4645 | 4735 2003-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
4736 | |
4737 * MArrayN.cc (operator -=, operator +=): Check dimensions, not | |
4738 just length. | |
4739 | |
4740 * Array2.h, Array3.h, DiagArray2.h, DiagArray2.cc, MDiagArray2.h, | |
4741 ArrayN.h: Add this-> or Base:: qualifiers for references to | |
4742 non-dependent member functions and data as needed. | |
4743 | |
4744 * DiagArray2.h, DiagArray2.cc: Delete unused code. | |
4745 | |
4746 * Array2.h (Array2<T>::operator =): Don't copy dimensions here. | |
4747 * Array3.h (Array3<T>::operator =): Likewise. | |
4748 * DiagArray2.h (DiagArray2<T>::operator =): Likewise. | |
4749 Include Array.h, not Array2.h. | |
4750 | |
4634 | 4751 2003-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
4752 | |
4636 | 4753 * str-vec.cc (list_in_columns): Fix previous change. |
4754 | |
4635 | 4755 * dim-vector.h (dim_vector::num_ones): New function. |
4756 * Array.cc (maybe_delete_elements): Use it instead of | |
4757 num_ones (const Array<int>&). | |
4758 | |
4759 * Array.cc (assignN): Omit dubious check of singleton dimensions. | |
4760 | |
4634 | 4761 * dNDArray.cc (NDArray::all_elements_are_int_or_inf_or_nan, |
4762 NDArray::any_element_is_inf_or_nan, NDArray::too_large_for_float): | |
4763 New functions. | |
4764 * dNDArray.h: Provide decls. | |
4765 | |
4766 * dMatrix.h (Matrix::any_element_is_negative, | |
4767 Matrix::any_element_is_inf_or_nan, Matrix::too_large_for_float, | |
4768 Matrix::all_elements_are_int_or_inf_or_nan, Matrix::all_integers): | |
4769 Simplify. | |
4770 | |
4771 * dNDArray.cc (NDArray::abs): Make it work for N-d arrays. | |
4772 * CNDArray.cc (ComplexNDArray::abs): Likewise. | |
4773 | |
4774 * dNDArray.cc (real, imag): New functions. | |
4775 * dNDArray.h: Provide decls. | |
4776 | |
4630 | 4777 2003-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4778 | |
4779 * Makefile.in (TEMPLATE_SRC): Move MArrayN.cc here from MATRIX_SRC. | |
4780 | |
4625 | 4781 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
4782 | |
4783 * Array.h (Array<T>::resize (int, const T&)): Reinstate. | |
4784 * MArray.h (resize): Delete. | |
4785 * MArray2.h (resize): Delete. | |
4786 * DASRT.cc (DASRT::integrate): Use resize, not resize_and_fill. | |
4787 * ODESSA (ODESSA::integrate): Likewise. | |
4788 | |
4616 | 4789 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4790 | |
4791 * Makefile.in (dist): Depend on stamp-prereq. | |
4792 | |
4605 | 4793 2003-11-12 John Eaton <jwe@bevo.che.wisc.edu> |
4794 | |
4795 * mach-info.c (oct_mach_info::init_float_format) [CRAY]: | |
4796 Kluge to make it work. | |
4604 | 4797 |
4798 * lo-ieee.cc (octave_ieee_init): Set octave_Inf, octave_NaN, and | |
4799 octave_NA to DBL_MAX if native float format is vaxd, vaxg, or cray. | |
4800 | |
4801 * cmd-edit.cc (gnu_readline::do_generate_filename_completions, | |
4802 default_command_editor::do_generate_filename_completions, | |
4803 command_editor::generate_filename_completions): New functions. | |
4804 * cmd-edit.h: Provide decls. | |
4805 * oct-rl-edit.c (octave_rl_filename_completion_function): New | |
4806 function. | |
4807 * oct-rl-edit.h: Provide decl. | |
4808 | |
4593 | 4809 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4810 | |
4594 | 4811 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY_AND_ASSIGN, |
4812 INSTANTIATE_ARRAY): New macros. | |
4813 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
4814 Array-idx-vec.cc, Array-s.cc, Array-str.cc, ODESSA.cc: Use them. | |
4815 | |
4593 | 4816 * Array.h (Array<T>::ipermute): New function. |
4817 | |
4818 2003-11-11 Petter Risholm <risholm@stud.ntnu.no> | |
4819 | |
4820 * Array.cc (Array<T>::permute): New function. | |
4821 * Array.h: Provide decl. | |
4822 | |
4823 * Array-util.cc (calc_permutated_idx): New function. | |
4824 * Array-util.h: Provide decl. | |
4825 | |
4587 | 4826 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4827 | |
4592 | 4828 * Array.cc (Array<T>::index2): Return value has orientation of |
4829 indexed value if indexing a vector with a bool matrix. | |
4830 | |
4589 | 4831 * ArrayN.h (ArrayN<T>::get_size): Delete. |
4832 | |
4588 | 4833 * Array.cc, ArrayN.cc, dNDArray.cc, CNDArray.cc, boolNDArray.cc, |
4834 chNDArray.cc: Include Array-util.h instead of ArrayN-inline.h. | |
4835 | |
4836 * ArrayN-inline.h: Delete. | |
4837 * Array-util.h, Array-util.cc: New files, from ArrayN-inline.h. | |
4838 * Makefile.in: Fix the appropriate lists. | |
4839 | |
4587 | 4840 * Array.cc, Array.h, ArrayN.h, CMatrix.cc, CNDArray.h, |
4841 CRowVector.cc, CmplxQR.cc, CollocWt.h, DASPK.h, DASRT.h, DASSL.h, | |
4842 FEGrid.cc, LP.h, LSODE.h, MArrayN.h, ODE.h, ODES.h, ODESSA.cc, | |
4843 boolNDArray.h, chNDArray.h, dMatrix.cc, dNDArray.h, dRowVector.cc, | |
4844 dbleQR.cc, kpse.cc, oct-rl-hist.c, str-vec.cc, str-vec.h: | |
4845 Avoid -Wshadow warnings. | |
4846 | |
4847 2003-11-08 John Eaton <jwe@bevo.che.wisc.edu> | |
4585 | 4848 |
4849 * Array.h (Array<T>::nil_rep): Qualify return type with typename. | |
4850 | |
4851 * mk-ops.awk: Delete elements of bool_headers array individually. | |
4852 | |
4853 2003-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4854 | |
4855 * Array.cc (maybe_delete_elements): Rename arg idx to ra_idx. | |
4856 | |
4584 | 4857 2003-10-31 Petter Risholm <risholm@stud.ntnu.no> |
4858 | |
4859 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): New macro. | |
4860 | |
4861 * CNDArray.cc, CNDArray.h (ComplexNDArray::cumsum, | |
4862 ComplexNDArray::cumprod): Return ComplexNDArray. Handle N-d arrays. | |
4863 * dNDArray.cc, dNDArray.h (NDArray::cumsum, NDArray::cumprod): | |
4864 Return NDArray. Handle N-d arrays. | |
4865 | |
4575 | 4866 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
4867 | |
4583 | 4868 * LSODE.cc (LSODE::do_integrate): Avoid name conflict on systems |
4869 that upcase Fortran names by calling dlsode instead of lsode. | |
4870 | |
4871 * ODESSA.cc (ODESSA::do_integrate): Avoid name conflict on systems | |
4872 that upcase Fortran names by calling dodessa instead of odessa. | |
4873 | |
4577 | 4874 * file-ops.cc (file_ops::symlink): Cope with systems that expect |
4875 non-const args for symlink system call. | |
4876 (file_ops::readlink): Likewise, for readlink. | |
4877 | |
4575 | 4878 * DASRT.cc (DASRT::integrate): Fix typo in Fortran function name. |
4879 | |
4574 | 4880 2003-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4881 | |
4882 * mach-info.h (oct_mach_info): Prefix enum elements with flt_fmt_. | |
4883 Change all uses. | |
4884 | |
4569 | 4885 2003-10-29 Petter Risholm <risholm@stud.ntnu.no> |
4886 | |
4887 * dNDArray.cc (NDArray::cumprod, NDArray::cumsum, NDArray::prod, | |
4888 NDArray::sum, NDArray::sumsq, NDArray::abs): New functions. | |
4889 * dNDArray.h: Provide decls. | |
4890 * CNDArray.cc (ComplexNDArray::cumprod, ComplexNDArray::cumsum, | |
4891 ComplexNDArray::prod, ComplexNDArray::sum, ComplexNDArray::sumsq, | |
4892 ComplexNDArray::abs): New functions. | |
4893 * CNDArray.h: Provide decls. | |
4894 | |
4895 * mx-inlines.cc (MX_ND_REDUCTION): Rename from MX_ND_ANY_ALL. | |
4896 Generalize to handle other reduction operations. | |
4897 (MX_ND_REAL_OP_REDUCTION, MX_ND_COMPLEX_OP_REDUCTION, | |
4898 MX_ND_ALL_ANY_REDUCTION): New macros. | |
4899 | |
4565 | 4900 2003-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
4901 | |
4567 | 4902 * Array.cc (Array<T>::reshape): New function. |
4903 * Array.h: Provide decl. | |
4904 | |
4905 * dim-vector.h (dim_vector::numel): New function. | |
4906 | |
4565 | 4907 * dim-vector.h (dim_vector_rep::dim_vector_rep (int, const |
4908 dim_vector&)): Correctly handle case of n < dv->ndims. | |
4909 | |
4559 | 4910 2003-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
4911 | |
4912 * dim-vector.h (dim_vector::any_zero): New function. | |
4913 (dim_vector::str): New default arg, sep. | |
4914 | |
4915 * Array.h (Array<T>::numel): New function. | |
4916 | |
4556 | 4917 2003-10-27 Petter Risholm <risholm@stud.ntnu.no> |
4918 | |
4919 * mx-inlines.cc (MX_ND_ALL_EXPR, MX_ND_ANY_EXPR, | |
4920 MX_ND_ALL_EVAL, MX_ND_ANY_EVAL, MX_ND_ALL_ANY): New macros. | |
4921 * dNDArray.h (NDArray::all, NDArray::any): Return type now boolNDArray. | |
4922 * CNDArray.h (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
4923 * boolNDArray.h (boolNDArray::all, boolNDArray::any): Likewise. | |
4924 * chNDArray.h (charNDArray::all, charNDArray::any): Likewise. | |
4925 * dNDArray.cc (NDArray::all, NDArray::any): Make them work. | |
4926 * CNDArray.cc (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
4927 * boolNDArray.cc (boolNDArray::all, boolNDArray::any): Likewise. | |
4928 * chNDArray.cc (charNDArray::all, charNDArray::any): Likewise. | |
4929 | |
4552 | 4930 2003-10-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
4931 | |
4553 | 4932 * Array.cc (Array<T>::resize_and_fill): Allow number of dimensions |
4933 to change. From Petter Risholm <risholm@stud.ntnu.no>. | |
4934 | |
4552 | 4935 * oct-rand.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, |
4936 CmplxAEPBAL.cc CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
4937 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, | |
4938 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, ODESSA.cc, | |
4939 Quad.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
4940 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
4941 dbleSCHUR.cc, dbleSVD.cc, lo-specfun.cc: | |
4942 Use new F77 arg macros in declarations of external Fortran | |
4943 subroutines and for calling them. | |
4944 | |
4548 | 4945 2003-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
4946 | |
4947 * Array.cc (Array<T>::resize_no_fill (const dim_vector&)): | |
4948 Allow number of dimensions to change. | |
4949 (Array<T>::resize_no_fill (int, int)): Require ndims to be 0 or 2. | |
4950 (Array<T>::resize_and_fill (int, int, const T&)): Likewise. | |
4951 (Array<T>::resize_no_fill (int, int, int)): Require ndims to be 0 or 3. | |
4952 (Array<T>::resize_and_fill (int, int, int, const T&)): Likewise. | |
4953 (Array<T>::transpose): Require ndims to be 2. | |
4954 (Array<T>::index2): Likewise. | |
4955 (Array<T>::index (idx_vector&, idx_vector&, int, const T&)): Likewise. | |
4956 (Array<T>::maybe_delete_elements_2): Likewise. | |
4957 (Array<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Likewise. | |
4958 (Array<T>::index1): Use resize_and_fill. | |
4959 (MAYBE_RESIZE_ND_DIMS): Likewise. | |
4960 | |
4961 * ODESSA.cc (ODESSA::integrate): Use resize_and_fill for x_s_out. | |
4962 | |
4963 * MArray2.h (MArray2<T>::resize (int, int)): New function. | |
4964 (MArray2<T>::resize (int, int, const T&)): New function. | |
4965 | |
4966 * MArray.h (MArray<T>::resize (int)): New function. | |
4967 (MArray<T>::resize (int, const T&)): New function. | |
4968 | |
4969 * DASRT.cc (DASRT::integrate): Use resize_and_fill for jroot. | |
4970 | |
4971 * DASPK-opts.in: Use single-arg resize for initial condition | |
4972 heuristics. | |
4973 | |
4974 * dim-vector.h (class dim_vector): Now reference counted. | |
4975 (dim_vector_rep::elem): Use assert to check that index is in bounds. | |
4976 | |
4544 | 4977 2003-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4978 | |
4545 | 4979 * Array.cc (Array<T>::squeeze): Delete redundant retval decl. |
4980 | |
4544 | 4981 * mx-cdm-cm.cc, mx-cdm-cm.h, mx-cdm-cs.cc, mx-cdm-cs.h, |
4982 mx-cdm-dm.cc, mx-cdm-dm.h, mx-cdm-m.cc, mx-cdm-m.h, mx-cdm-s.cc, | |
4983 mx-cdm-s.h, mx-cm-cdm.cc, mx-cm-cdm.h, mx-cm-dm.cc, mx-cm-dm.h, | |
4984 mx-cm-m.cc, mx-cm-m.h, mx-cm-s.cc, mx-cm-s.h, mx-cs-cdm.cc, | |
4985 mx-cs-cdm.h, mx-cs-dm.cc, mx-cs-dm.h, mx-cs-m.cc, mx-cs-m.h, | |
4986 mx-dm-cdm.cc, mx-dm-cdm.h, mx-dm-cm.cc, mx-dm-cm.h, mx-dm-cs.cc, | |
4987 mx-dm-cs.h, mx-dm-m.cc, mx-dm-m.h, mx-dm-s.cc, mx-dm-s.h, | |
4988 mx-m-cdm.cc, mx-m-cdm.h, mx-m-cm.cc, mx-m-cm.h, mx-m-cs.cc, | |
4989 mx-m-cs.h, mx-m-dm.cc, mx-m-dm.h, mx-ops.h, mx-s-cdm.cc, | |
4990 mx-s-cdm.h, mx-s-cm.cc, mx-s-cm.h, mx-s-dm.cc, mx-s-dm.h, | |
4991 vx-ccv-cv.cc, vx-ccv-cv.h, vx-ccv-s.cc, vx-ccv-s.h, vx-crv-rv.cc, | |
4992 vx-crv-rv.h, vx-crv-s.cc, vx-crv-s.h, vx-cs-cv.cc, vx-cs-cv.h, | |
4993 vx-cs-rv.cc, vx-cs-rv.h, vx-cv-ccv.cc, vx-cv-ccv.h, vx-cv-cs.cc, | |
4994 vx-cv-cs.h, vx-rv-crv.cc, vx-rv-crv.h, vx-rv-cs.cc, vx-rv-cs.h, | |
4995 vx-s-ccv.cc, vx-s-ccv.h, vx-s-crv.cc, vx-s-crv.h: Delete. These | |
4996 files are now automatically generated. | |
4997 | |
4998 * Makefile.in ($(VX_OP_INC), $(VX_OP_SRC), $(MX_OP_INC), | |
4999 $(MX_OP_SRC)): Generate lists with new mk-ops.awk script. | |
5000 Add rules to generate these files and mx-ops.h. | |
5001 (stamp-prereq): Depend on these files. | |
5002 | |
5003 * mx-ops, vx-ops, mk-ops.awk: New files. | |
5004 * Makefile.in (DISTFILES): Add them to the list. | |
5005 | |
4543 | 5006 2003-10-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5007 | |
5008 * NDArray.cc (NDArray::NDArray (const boolNDArray), | |
5009 NDArray::NDArray (const charNDArray)): New constructors. | |
5010 (NDArray::operator !): New function. | |
5011 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
5012 NDND_CMP_OPS, NDND_BOOL_OPS. | |
5013 | |
5014 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const NDArray&), | |
5015 ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
5016 ComplexNDArray::ComplexNDArray (const charNDArray&)): | |
5017 New constructors. | |
5018 (ComplexNDArray::operator !): New function. | |
5019 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
5020 NDND_CMP_OPS, NDND_BOOL_OPS. | |
5021 | |
5022 * ArrayN.h (resize (const dim_vector&)): Fix typo. | |
5023 | |
5024 * boolNDArray.cc (boolNDArray::operator !): New function. | |
5025 Provide NDND_CMP_OPS. | |
5026 | |
5027 * MArrayN.cc (operator +=, operator -=): New functions. | |
5028 Provide product and quotient functions. | |
5029 | |
5030 * MArray-misc.cc (gripe_nonconformant (const char *, dim_vector&, | |
5031 dim_vector&)): New function. | |
5032 | |
5033 * dim-vector.h (dim_vector::str, dim_vector::all_zero, | |
5034 operator ==, operator !=): New functions. | |
5035 * ArrayN.cc (operator <<): Use dim_vector::str here. | |
5036 | |
5037 * Array.cc (Array<T>::resize_no_fill, Array<T>::resize_and_fill): | |
5038 No need to save old dimensions. | |
5039 | |
5040 * oct-rand.cc (MAKE_RAND_ND_ARRAY): New macro. | |
5041 (octave_rand::nd_array): New function. | |
5042 * oct-rand.h (octave_rand::nd_array): Provide decl. | |
5043 | |
5044 * mx-op-defs.h (NDCMP_OP_DECL, NDBOOL_OP_DECL, NDS_BIN_OP_DECLS, | |
5045 NDS_BIN_OP, NDS_BIN_OPS, NDS_CMP_OP_DECLS, NDS_CMP_OP, | |
5046 NDS_CMP_OPS, NDS_BOOL_OP_DECLS, NDS_BOOL_OP, NDS_BOOL_OPS, | |
5047 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_BIN_OP, SND_BIN_OPS, | |
5048 SND_CMP_OP_DECLS, SND_CMP_OP, SND_CMP_OPS, SND_BOOL_OP_DECLS, | |
5049 SND_BOOL_OP, SND_BOOL_OPS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
5050 NDND_BIN_OP, NDND_BIN_OPS, NDND_CMP_OP_DECLS, NDND_CMP_OP, | |
5051 NDND_CMP_OPS, NDND_BOOL_OP_DECLS, NDND_BOOL_OP, NDND_BOOL_OPS, | |
5052 NDND_OP_DECLS): New macros. | |
5053 * mx-cm-m.h, mx-cm-s.h, mx-cs-m.h, mx-m-cm.h, mx-m-cs.h, | |
5054 mx-s-cm.h, mx-cm-m.cc, mx-cm-s.cc, mx-cs-m.cc, mx-m-cm.cc, | |
5055 mx-m-cs.cc, mx-s-cm.cc: Use them. | |
5056 | |
5057 * mx-defs.h (class NDArray, class ComplexNDArray, class | |
5058 boolNDArray, class charNDArray): New forward decls. | |
5059 | |
4534 | 5060 2003-10-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5061 | |
5062 * Array.cc (assign2): No error (but don't do anything either) for | |
5063 expressions like x([],j) = scalar. | |
5064 | |
4532 | 5065 2003-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5066 | |
4533 | 5067 * Array.cc (assignN): Allow lhs(:) = scalar. |
5068 | |
4532 | 5069 * CNDArray.cc (ComplexNDArray::increment_index): New function. |
5070 * dNDArray.cc (NDArray::increment_index): Likewise. | |
5071 * boolNDArray.cc (boolNDArray::increment_index): Likewise. | |
5072 * chNDArray.cc (charNDArray::increment_index): Likewise. | |
5073 | |
5074 * dim-vector.h (rows, cols): Delete unused data members. | |
5075 | |
5076 * Array.cc (Array<T>::get_size): Fix thinko. | |
5077 | |
5078 2003-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5079 | |
5080 * Array.cc (Array<T>::squeeze): New function. | |
5081 * CNDArray.h (ComplexNDArray::squeeze): Likewise. | |
5082 * dNDArray.h (NDArray::squeeze): Likewise. | |
5083 * boolNDArray.h (boolNDArray::squeeze): Likewise. | |
5084 * chNDArray.h (charNDArray::squeeze): Likewise. | |
5085 | |
4530 | 5086 2003-10-06 Petter Risholm <risholm@stud.ntnu.no> |
5087 | |
5088 * Array.cc (ArrayN<T>::indexN): New definition. | |
5089 * Array.h (Array<T>::indexN): Provide decl. | |
5090 * Array.cc (ArrayN<T>::index (idx_vector&, int, const T&): | |
5091 Call indexN if more than 2 indices. | |
5092 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): | |
5093 Make it (mostly) work. | |
5094 * ArrayN-inline.h (number_of_elements, get_ra_idx, short_freeze): | |
5095 New functions. | |
5096 | |
4527 | 5097 2003-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5098 | |
5099 * cmd-edit.cc (do_readline): Pass eof to octave_fgetl. | |
5100 * lo-utils.cc (octave_fgets, octave_fgetl): New overloaded | |
5101 versions with eof arg. | |
5102 | |
4518 | 5103 2003-09-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5104 | |
5105 * Array.h (dimensions): Now public. | |
5106 template <class LT, class RT> | |
5107 (assign (Array<LT>&, const Array<RT>&, const LT&), | |
5108 assign1 (Array<LT>&, const Array<RT>&, const LT&), | |
5109 assign2 (Array<LT>&, const Array<RT>&, const LT&), | |
5110 assignN (Array<LT>&, const Array<RT>&, const LT&), | |
5111 resize_no_fill (int), | |
5112 resize_no_fill (int, int), | |
5113 resize_no_fill (int, int, int), | |
5114 resize_no_fill (const dim_vector&), | |
5115 resize_and_fill (int, const T&), | |
5116 resize_and_fill (int, int, const T&), | |
5117 resize_and_fill (int, int, int, const T&), | |
5118 resize_and_fill (const dim_vector&, const T&)): Now public. | |
5119 | |
5120 * Array.cc: Include <climits>. | |
5121 | |
4513 | 5122 2003-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5123 | |
4517 | 5124 * Array.cc: Merge Array-idx.h. |
5125 * Array-idx.h: Delete. | |
5126 | |
4514 | 5127 * chNDArray.h, chNDArray.cc, boolNDArray.h, boolNDArray.cc: New files. |
5128 | |
4513 | 5129 * Array.h, Array-idx.h, Array.cc: Fold all N-d functionality here. |
5130 Turn inheritance hierarchy upside down (2-d and 3-d arrays are now | |
5131 just special cases of the general purpose N-d Array object). | |
5132 | |
5133 * dim-vector.h: New file. Use dim_vector objects instead of | |
5134 ints or Array<int> objects to represent the size of Array | |
5135 objects. | |
5136 | |
5137 * MArray-defs.h (INSTANTIATE_MARRAYN_FRIENDS): New macro. | |
5138 | |
5139 * Array2-idx.h, Array3-idx.h, Array2.cc, Array3.cc: Delete. | |
5140 | |
5141 * mx-base.h: Include NDArray header files. | |
5142 | |
5143 * MArray-C.cc, MArray-d.cc: Also instantiate ArrayN objects. | |
5144 | |
5145 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
5146 Array-s.cc: Also instantiate ArrayN objects. | |
5147 Don't instantiate assign funcitons for Array2 objects. | |
5148 | |
5149 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Signal error with | |
5150 liboctave_error_handler, not cerr. | |
5151 * CMatrix.cc (ComplexMatrix::diag): Likewise. | |
5152 * dDiagMatrix.cc (DiagMatrix::diag): Likewise. | |
5153 * dMatrix.cc (Matrix::diag): Likewise. | |
5154 | |
5155 * Array-flags.cc, Array.cc, Array.h, Array2.h, Array3.h, ArrayN.h: | |
5156 Omit checks for HEAVYWEIGHT_INDEXING. | |
5157 | |
5158 2003-09-12 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5159 | |
5160 * mx-base.h: Include CNDarray.h. Include dNDArray.h, not NDArray.h. | |
5161 | |
5162 * CNDARray.h, CNDArray.cc: New files. | |
5163 * Makefile.in: Add them to the appropriate lists. | |
5164 | |
5165 * dNDArray.h: Rename from NDArray.h. | |
5166 * dNDArray.cc: Rename from NDArray.cc. | |
5167 * Makefile.in: Rename them here too. | |
5168 | |
4507 | 5169 2003-09-10 Petter Risholm <risholm@stud.ntnu.no> |
5170 | |
5171 * mx-base.h: Include NDArray.h, not ArrayN.h. | |
5172 | |
5173 * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. | |
5174 * Makefile.in: Add them to the appropriate lists. | |
5175 | |
5095 | 5176 2003-09-09 David Bateman <dbateman@free.fr> |
4506 | 5177 |
5178 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, | |
5179 biry): Always request scaled results from AMOS functions and | |
5180 perform reverse scaling on results if scaled result not requested | |
5181 by user. | |
5182 | |
5183 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5184 | |
5185 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
5186 | |
4505 | 5187 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5188 | |
5189 * Array-d.cc: Instantiate assign functions. | |
5190 | |
4504 | 5191 2003-09-09 Petter Risholm <risholm@stud.ntnu.no> |
5192 | |
5193 * ArrayN-idx.h (vector_equivalent, equal_arrays): New functions. | |
5194 (get_elt_idx): Index ra_idx correctly. | |
5195 | |
5196 * ArrayN-inline.h (index_in_bounds): Index is also condidered in | |
5197 bounds if it is exactly on the bound. | |
5198 | |
5199 * ArrayN.cc (ArrayN<T>::maybe_delete_dims): New function. | |
5200 * ArrayN.h: Provide decl. | |
5201 | |
5202 * ArrayN.h (ArrayN<T>::ArrayN<T> (const Matrix&)): New constructor. | |
5203 | |
5204 * idx-vector.h (idx_vector::orig_dims): New member variable. | |
5205 (idx_vector::idx_vector_rep::orig_dimensions): New function. | |
5206 (idx_vector::orig_dimensions): New function. | |
5207 | |
4497 | 5208 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5209 | |
5210 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
5211 | |
4496 | 5212 2003-09-04 Petter Risholm <risholm@stud.ntnu.no> |
5213 | |
5214 * ArrayN-idx.h (maybe_delete_elements): Implement function. | |
5215 (is_in, how_many_lgt, all_ones): New functions. | |
5216 | |
4493 | 5217 2003-09-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5218 | |
5219 * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. | |
5220 | |
5221 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> | |
5222 | |
5223 * ArrayN-inline.h: New file. | |
5224 (index_in_bounds, increment_index): Move here. | |
5225 * ArrayN.cc: From here. | |
5226 | |
5227 * ArrayN.h (maybe_delete_elements): New arg, resize_fill_value. | |
5228 * ArrayN-idx.h (assign): New function. | |
5229 | |
4490 | 5230 2003-08-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5231 | |
5232 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, airy, biry): | |
5233 Also zero imaginary part of result if real part of input value is | |
5234 zero. | |
5235 | |
4478 | 5236 2003-07-30 Heine Kolltveit <kolltvei@idi.ntnu.no> |
5237 | |
5238 * mx-base.h: Include ArrayN.h. | |
5239 | |
4476 | 5240 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> |
5241 | |
5242 * ArrayN.cc (operator <<): Corrected output. | |
5243 | |
4474 | 5244 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5245 | |
5246 * ArrayN.cc (increment_index): New arg, start_dimension. | |
5247 | |
5095 | 5248 2003-07-29 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4473 | 5249 |
5250 * ArrayN.cc (operator <<): Improve output readability. | |
5251 | |
4493 | 5252 2003-07-29 Petter Risholm <risholm@stud.ntnu.no> |
4473 | 5253 |
5254 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&, const T&)): | |
5255 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&)): | |
5256 Initialize old_len before changing size. | |
5257 | |
4472 | 5258 2003-07-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5259 | |
5260 * Makefile.in (install-lib): Use $(INSTALL), not | |
4473 | 5261 $(INSTALL_PROGRAM) for $(SHLLIB) files. |
4472 | 5262 |
4469 | 5263 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5264 | |
5265 * lo-mappers.cc (xmin, xmax): Handle NaN in a Matlab-compatible | |
5266 way. Handle NA in an R-compatible way. | |
5267 | |
5268 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Also check for lo_ieee_is_NA. | |
5269 (lo_ieee_is_NA): Don't call isnan unless HAVE_ISNAN is defined. | |
5270 | |
5271 * lo-mappers.h (octave_is_NA (const Complex&)): Provide decl. | |
5272 (octave_is_NaN_or_NA (const Complex&)): Likewise. | |
5273 | |
5274 * dMatrix.cc (Matrix::row_min, Matrix::row_max, | |
5275 Matrix::column_min, Matrix::column_max): Ignore NaNs. | |
5276 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_max, | |
5277 ComplexMatrix::column_min, ComplexMatrix::column_max): Likewise. | |
5278 | |
4461 | 5279 2003-07-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5280 | |
5281 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
5282 Pass true for resize_ok arg to freeze. | |
5283 * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
5284 Likewise. | |
5285 | |
5286 * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; | |
5287 resize_ok arg is now bool. | |
5288 * idx-vector.h (idx_vector::freeze): Likewise. | |
5289 | |
5290 * Array-flags.cc, Array-flags.h (liboctave_wrore_flag): | |
5291 Rename from liboctave_rre_flag. Now bool. | |
5292 (liboctave_wfi_flag): Now bool. | |
5293 | |
5294 * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. | |
5295 | |
5095 | 5296 2003-07-11 Russell Standish <R.Standish@unsw.edu.au> |
4459 | 5297 |
5298 * Array.h (resize_fill_value): Now a top-level template function. | |
5299 Accept object as argument. Change all uses. | |
5300 | |
4455 | 5301 2003-07-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5302 | |
5303 * Array-flags.cc, Array-flags.h (liboctave_pcv_flag): Delete. | |
5304 | |
5305 * Array2-idx.h (Array2<T>::index): Use liboctave_wfi_flag, not | |
5306 liboctave_dfi_flag. | |
5307 (assign): Likewise. For indexed assignments like X(I) = RHS with | |
5308 X undefined or empty, always create a row vector. | |
5309 | |
5310 * Array-flags.cc (liboctave_wfi_flag): Rename from liboctave_dfi_flag. | |
5311 * Array-flags.h (liboctave_wfi_flag): Ditto. | |
5312 | |
4437 | 5313 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5314 | |
5315 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
5316 Magic colon indexing always produces an object with one column. | |
5317 | |
5095 | 5318 2003-06-21 Paul Kienzle <pkienzle@users.sf.net> |
4433 | 5319 |
5320 * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. | |
5321 | |
5322 * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. | |
5323 | |
4431 | 5324 2003-06-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5325 | |
5326 * dMatrix.cc (any_element_is_negative): If new optional arg | |
5327 neg_zero is true, also return true for negative zero. | |
5328 | |
4429 | 5329 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5330 | |
5331 * DASSL.cc (DASSL::do_integrate): Set liw to 21 + n, not 20 + n. | |
5332 Handle step limit. | |
5333 * DASSL-opts.in: New option for step limit. | |
5334 | |
5095 | 5335 2003-06-16 Per Persson <persquare@mac.com> |
4429 | 5336 |
5337 * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. | |
5338 | |
4428 | 5339 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5340 | |
5341 * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. | |
5342 Store step limit in iwork(20), not iwork(18). | |
5343 | |
5095 | 5344 2003-05-16 Paul Kienzle <pkienzle@users.sf.net> |
4415 | 5345 |
5346 * oct-rand.cc: Use liboctave's clock layer instead of the system clock. | |
5347 | |
4412 | 5348 2003-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5349 | |
4413 | 5350 * Makefile.in: Handle DESTDIR. |
5351 | |
4412 | 5352 * kpse.cc (kpse_path_iterator::next): Skip consecutive colons here. |
5353 (kpse_path_iterator::set_end): Don't miss last element when not | |
5354 followed by a colon. | |
5355 | |
4409 | 5356 2003-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5357 | |
5358 * Array-idx.h (Array<T>::index): Fix off-by-one error. | |
5359 | |
5360 2003-05-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5361 | |
5362 * kpse.cc (kpse_absolute_p): Fix typo in translation. | |
5363 (find_first_of): Also do an absolute search on each | |
5364 name before looking in the path. | |
5365 | |
4407 | 5366 2003-05-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5367 | |
5368 * kpse.cc (dir_list_add): Ensure that directory ends with a | |
5369 directory separator. | |
5370 | |
4399 | 5371 2003-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5372 | |
5373 * pathsearch.cc: Include kpse.cc here. | |
5374 | |
5375 * kpse.cc: All functions are now static. Massive surgery to | |
5376 condense kpathsearch library to a single file of just the | |
5377 essentials for Octave and convert to using C++ strings (no more | |
5378 calls to malloc, very few calls to new, so there should be much | |
5379 less potential for introducing memory leaks now). | |
5380 | |
5381 * Makefile.in (EXTRAS): Move kpse.cc here from | |
5382 LIBOCT_PATHSEARCH_CXX_SOURCES. | |
5383 | |
5384 * kpse.h, kpse-config.h: Delete. | |
5385 * Makefile.in (INCLUDES): Delete them from the list. | |
5386 | |
4392 | 5387 2003-04-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
5388 | |
5389 * str-vec.cc (string_vector::append (const std::string&), | |
5390 string_vector::append (const string_vector&)): New methods. | |
5391 | |
4386 | 5392 2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5393 | |
4389 | 5394 * kpse.cc, kpse.h: Replace fn_type with std::string. |
5395 | |
4387 | 5396 * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. |
5397 | |
4386 | 5398 * kpse.cc (xclosedir): Don't define or declare for Windows. |
5399 (READABLE): Now a static function to avoid warnings from MinGW | |
5400 compiler. | |
5401 | |
4384 | 5402 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5403 | |
4385 | 5404 * kpse.cc: Move most functions from kpse-xfns.c here and make |
5405 static. Include most of kpse-xfns.h directly, removing | |
5406 unnecessary bits. | |
5407 | |
4384 | 5408 * dMatrix.cc (Matrix::pseudo_inverse): Now const. |
5409 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
5410 | |
4378 | 5411 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5412 | |
5413 * getopt.c, getopt1.c, getopt.h: Move here from kpathsea. | |
5414 * Makefile.in: Add them to the appropriates lists. | |
5415 | |
5416 * oct-getopt.c: Include "getopt.h", not <kpathsea/getopt.h>. | |
5417 | |
5418 * Makefile.in (liboctave.$(LIBEXT), liboctave.$(SHLEXT)): Adjust | |
5419 for new locations of kpathsea objects. | |
5420 Delete kpathsea targets. | |
5421 | |
5422 * pathsearch.cc (dir_path::set_program_name): Delete. | |
5423 | |
5424 * kpse.cc: New file. | |
5425 * Makefile.in (LIBOCT_PATHSEARCH_CXX_SOURCES): Add it to the list. | |
5426 | |
5427 * kpse.c: New file. | |
5428 * Makefile.in (LIBOCT_PATHSEARCH_C_SOURCES): Add it to the list. | |
5429 | |
5430 * kpse.h, kpse-config.h, kpse-xfns.h: New files. | |
5431 * Makefile.in (INCLUDES): Add them to the list. | |
5432 | |
5433 * oct-kpse.h: Delete. | |
5434 * Makefile.in (INCLUDES): Delete it from the list. | |
5435 | |
4374 | 5436 2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
5437 | |
5438 * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. | |
5439 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): | |
5440 Likewise. | |
5441 From Quentin H. Spencer <qspencer@ieee.org>. | |
5442 | |
4365 | 5443 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5444 | |
5445 * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h". | |
5446 | |
4349 | 5447 2003-02-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
5448 | |
4352 | 5449 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Handle systems with or |
5450 without placement delete. | |
5451 | |
4349 | 5452 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Don't lose -0 |
5453 imaginary parts. | |
5454 | |
5455 * lo-ieee.h (lo_ieee_signbit): New macro. | |
5456 | |
5095 | 5457 2003-02-18 David Bateman <dbateman@free.fr> |
4329 | 5458 |
5459 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
5460 Use Lapack instead of Linpack. | |
5315 | 5461 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
4329 | 5462 ComplexMatrix::solve): Likewise. |
5463 | |
5464 * dMatrix.cc (Matrix::determinant, Matrix::inverse): New arg, | |
5465 calc_cond. If 0, skip condition number calculation. | |
5466 * CMatrix.cc (ComplexMatrix::determinant, ComplexMatrix::inverse): | |
5467 Likewise. | |
5468 | |
5469 * CmplxLU.cc (ComplexLU::ComplexLU): Allow non-square matrices. | |
5470 * dbleLU.cc (LU::LU): Likewise. | |
5471 * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. | |
5472 | |
5473 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5474 | |
5475 * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: | |
5476 | |
4323 | 5477 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5478 | |
5479 * Array2-idx.h (Array2<T>::index): Fix thinko. | |
5480 Additional compatibility fix. | |
5481 | |
5482 2003-02-13 Arno Klaassen <arno@scito.com> | |
5483 | |
5484 * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
5485 ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: | |
5486 Sprinkle with Array<T>:: as necessary for gcc 3.4. | |
5487 | |
4322 | 5488 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
5489 | |
5490 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
5491 Compatibility fix. | |
5492 | |
4316 | 5493 2003-02-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5494 | |
5495 * CColVector.cc (ComplexColumnVector::extract_n): New function. | |
5496 * CRowVector.cc (ComplexRowVector::extract_n): Likewise. | |
5497 * CMatrix.cc (ComplexMatrix::extract_n): Likewise. | |
5498 * dColVector.cc (ColumnVector::extract_n): Likewise. | |
5499 * dRowVector.cc (RowVector::extract_n): Likewise. | |
5500 * dMatrix.cc (Matrix::extract_n): Likewise. | |
5501 | |
5502 * CColVector.cc (ComplexColumnVector::insert): Improve efficiency | |
5503 with make_unique and xelem. | |
5504 * CRowVector.cc (ComplexRowVector::insert): Likewise. | |
5505 * CMatrix.cc (ComplexMatrix::insert, ComplexMatrix::fill, | |
5506 ComplexMatrix::extract, ComplexMatrix::row, | |
5507 ComplexMatrix::column): Likewise. | |
5508 * dColVector.cc (ColumnVector::insert): Likewise. | |
5509 * dRowVector.cc (RowVector::insert): Likewise. | |
5510 * dMatrix.cc (Matrix::insert, Matrix::fill, Matrix::extract, | |
5511 Matrix::row, Matrix::column): Likewise. | |
5512 | |
4313 | 5513 2003-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5514 | |
5515 * lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN. | |
5516 | |
4309 | 5517 2003-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5518 | |
5519 * CMatrix.cc, dMatrix.cc: Move min and max functions here, from | |
5520 src/DLD-FUNCTIONS/minmax.cc, and make them extern. | |
5521 * CMatrix.h, dMatrix.h: Provide decls. | |
5522 | |
4307 | 5523 2003-01-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5524 | |
5525 * oct-rand.h, oct-rand.cc: New files. | |
5526 * Makefile.in: Add them to the appropriate lists. | |
5527 | |
4306 | 5528 2003-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5529 | |
5530 * Array2-idx.h (Array2<T>::index): Fix off-by-one error. | |
5531 | |
4299 | 5532 2003-01-16 Mumit Khan <khan@nanotech.wisc.edu> |
5533 | |
5534 * oct-syscalls.cc: Include signal.h. | |
5535 | |
4294 | 5536 2003-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5537 | |
5538 * oct-syscalls.cc (octave_syscalls::kill): New function. | |
5539 * oct-syscalls.h: Provide decl. | |
5540 | |
5541 | |
4293 | 5542 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5543 | |
5544 * dMatrix.cc (Matrix::read): Set size and return immediately if | |
5545 there is nothing to read. | |
5546 | |
4290 | 5547 2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
5548 | |
5549 * lo-cutils.c: Define _XOPEN_SOURCE. | |
5550 | |
4286 | 5551 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5552 | |
4288 | 5553 * getopt.h: Update to version from kpathsearch, so we will install |
5554 the version that we are using. | |
5555 | |
5556 * getopt.c, getopt1.c: Delete. | |
5557 (INCLUDES): Delete them from the list. We'll get these files from | |
5558 kpathsearch. | |
5559 | |
4286 | 5560 * Makefile.in (liboctave.$(LIBEXT)): Link directly to |
5561 ../kpathsea/STATIC/*.o. | |
5562 (liboctave.$(SHLEXT)): Link directly to ../kpathsea/SHARED/*.o. | |
5563 | |
4270 | 5564 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5565 | |
4282 | 5566 * dMatrix.cc (read_int, write_int): Avoid warnings about |
5567 unreachable code. | |
5568 | |
4279 | 5569 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete |
5570 to correspond to placement new operator. | |
5571 | |
4278 | 5572 * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. |
5573 (DET::value_will_underflow): Likewise. | |
5574 * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. | |
5575 (ComplexDET::value_will_underflow): Likewise. | |
5576 | |
4276 | 5577 * Makefile.in (distclean): Also remove stamp-prereq. |
5578 | |
4306 | 5579 * Array2-idx.h (Array2<T>::assign): If assignment conforms but the |
5580 RHS and index are empty matrices, don't do anything. | |
4270 | 5581 |
4242 | 5582 2002-12-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
5583 | |
5584 * pathsearch.cc (make_retval, free_c_array, make_c_names, | |
5585 delete_c_names): New helper functions. | |
5586 (dir_path::find_first_of): New function. | |
5587 (dir_path::find_all_first_of): Likewise. | |
5588 * pathsearch.h: Provide decls. | |
5589 | |
5590 * oct-kpse.c (octave_kpse_path_find_first_of): New function. | |
5591 (octave_kpse_all_path_find_first_of): Likewise. | |
5592 * oct-kpse.h: Provide decls. | |
5593 | |
4231 | 5594 2002-12-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5595 | |
5596 * ODESSA.cc (ODESSA::integrate): Handle maxord. | |
5597 * ODESSA-opts.in: Likewise. | |
5598 | |
5599 * LSODE.cc (ODESSA::integrate): Handle maxord. | |
5600 * LSODE-opts.in: Likewise. | |
5601 | |
4229 | 5602 2002-12-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5603 | |
4230 | 5604 * ODESSA.cc (ODESSA::ODESSA): Initialize "initialized" data member |
5605 in all constructors. | |
5606 | |
4229 | 5607 * Makefile.in (liboctave.$(SHLEXT)): Include $(LIBKPATHSEA) here. |
5608 (LINK_DEPS): Not here. | |
5609 | |
4219 | 5610 2002-12-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5611 | |
4220 | 5612 * str-vec.cc (string_vector::compare): New static member function. |
5613 * str-vec.h: Provide decl. | |
5614 (string_vector::sort): Use it. | |
5615 (str_vec_compare): Delete static function. | |
5616 | |
4219 | 5617 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Also declare and define |
5618 a placement operator new. | |
5619 | |
4209 | 5620 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5621 | |
4210 | 5622 * Matrix.h: Include mx-ops.h too. |
4209 | 5623 * mx-ops.h: New file. |
5624 | |
4192 | 5625 2002-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5626 | |
5627 * DASRT.cc, DASRT.h, Array.cc, ArrayN.h, Array.h, Array2.cc, | |
5628 Array2.h, Array3.cc, Array3.h, Bounds.cc, Bounds.h, CRowVector.h, | |
5629 CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, CMatrix.h, | |
5630 CRowVector.cc, CColVector.h, ChangeLog, CmplxAEPBAL.cc, | |
5631 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
5632 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
5633 CmplxQR.h, CmplxQRP.cc, ArrayN.cc, CmplxQRP.h, CmplxSCHUR.cc, | |
5634 CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, dMatrix.cc, | |
5635 CollocWt.h, EIG.h, DASSL.cc, FEGrid.h, DASSL.h, DiagArray2.cc, | |
5636 DiagArray2.h, EIG.cc, FEGrid.cc, LSODE.cc, LPsolve.cc, LPsolve.h, | |
5637 LSODE.h, LinConst.cc, LinConst.h, MArray.h, MArray.cc, MArray2.cc, | |
5638 MArray2.h, MDiagArray2.cc, MDiagArray2.h, Range.cc, NLConst.h, | |
5639 NLEqn.cc, Range.h, NLEqn.h, Quad.cc, dbleQR.h, Quad.h, base-lu.cc, | |
5640 base-lu.h, boolMatrix.cc, boolMatrix.h, dColVector.cc, | |
5641 dColVector.h, dDiagMatrix.cc, dDiagMatrix.h, dMatrix.h, | |
5642 dRowVector.cc, dRowVector.h, dbleAEPBAL.cc, dbleAEPBAL.h, | |
5643 dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, dbleDET.h, dbleHESS.cc, | |
5644 dbleHESS.h, dbleLU.cc, dbleLU.h, dbleQR.cc, dbleQRP.cc, dbleQRP.h, | |
5645 dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, | |
5646 idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, | |
5647 ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: | |
5648 Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of | |
5649 "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". | |
5650 | |
4184 | 5651 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5652 | |
5653 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_GLOBAL too. | |
5654 From Remy Bruno <remy.bruno@libertysurf.fr> | |
5655 | |
4180 | 5656 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5657 | |
5658 * lo-specfun.cc: Use F77_FUNC instead of F77_XFCN for calls to | |
5659 fortran code that should run fast enough that it is not worth all | |
5660 the setup costs of F77_XFCN. | |
5661 | |
5662 * Quad.cc (user_function): Surround body of function with | |
5663 BEGIN_INTERRUPT_WITH_EXCEPTIONS, END_INTERRUPT_WITH_EXCEPTIONS. | |
5664 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Likewise. | |
5665 * NLEqn.cc (hybrd1_fcn, hybrj1_fcn): Likewise. | |
5666 * LSODE.cc (lsode_f, lsode_j): Likewise. | |
5667 * DASSL.cc (ddassl_f, ddassl_j): Likewise. | |
5668 * DASRT.cc (ddasrt_f, ddasrt_j, ddasrt_g): Likewise. | |
5669 * DASPK.cc (ddaspk_f, ddaspk_psol, ddaspk_j): Likewise. | |
5670 | |
4164 | 5671 2002-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5672 | |
5673 * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead | |
5674 of ! defined (linux). | |
5675 | |
5095 | 5676 2002-11-09 Per Persson <persquare@mac.com> |
4162 | 5677 |
5678 * oct-shlib.cc (octave_dyld_shlib): New class. | |
5679 (make_shlib): Instantiate octave_dyld_shlib. | |
5680 | |
4152 | 5681 2002-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5682 | |
4153 | 5683 * CMatrix.cc, dMatrix.cc: Sprinkle with OCTAVE_QUIT. |
5684 | |
4152 | 5685 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Abort on error. |
5686 | |
5687 * Array.h: Include <cstddef> here. | |
5688 | |
4142 | 5689 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
5690 | |
4144 | 5691 * DASPK.cc (DASPK::do_integrate): Resize rwork and iwork before |
5692 using them. Accept inequality contraint option of 0. Assign | |
5693 pabs_tol and prel_tol before calling DASPK. Don't redeclare | |
5694 abs_tol and rel_tol. | |
5695 | |
4143 | 5696 * cmd-edit.h (command_editor::filename_completion_desired): New |
5697 static function. | |
5698 (command_editor::do_filename_completion_desired): New virtual function. | |
5699 * oct-rl-edit.c (octave_rl_filename_completion_desired): New function. | |
5700 * oct-rl-edit.h: Provide decl. | |
5701 | |
4142 | 5702 * Array2.cc (Array2<T>::get_size): #define MALLOC_OVERHEAD to |
5703 avoid OS X linker bug. | |
5704 * ArrayN.cc (ArrayN<T>::get_size): Likewise. | |
5705 | |
4139 | 5706 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
5707 | |
4141 | 5708 * ODESFunc.h (ODESFunc::ODES_fsub, ODESFunc::ODES_bsub, |
5709 ODESFunc::ODES_jsub): Reorder args for consistency with other | |
5710 solvers. | |
5711 * ODESSA.cc: Fix all callers. | |
5712 | |
4139 | 5713 * mx-inlines.cc (MX_BASE_REDUCTION_OP): Also return scalar |
5714 MT_RESULT if nr == 1 && nc == 0 && dim == -1 (i.e., | |
5715 sum(zeros(1,0)) returns 0, not [](1x0)). | |
5716 | |
4136 | 5717 2002-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5718 | |
5719 * Makefile.in (LINK_DEPS): Include $(FLIBS) here too. | |
5720 | |
4132 | 5721 2002-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5722 | |
4133 | 5723 * DASRT.cc (DASRT::integrate): Fix computation of lrw |
5724 (ddasrt_f): Combine loops. | |
5725 | |
4132 | 5726 * NLEqn.cc (NLEqn::solve): Return current estimate of solution |
5727 instead of empty vector if user termninates iteration. | |
5728 | |
4130 | 5729 2002-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5730 | |
5731 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
5732 octave_read_complex, octave_write_double, octave_write_complex): | |
5733 New functions. | |
5734 * CMatrix.cc (operator << (std::ostream&, const ComplexMatrix&)): | |
5735 Use octave_write_complex. | |
5736 (operator >> (std::istream&, const ComplexMatrix&)): | |
5737 Use octave_read_complex. | |
5738 * dMatrix.cc (operator << (std::ostream&, double)): | |
5739 Use octave_write_double. | |
5740 (operator >> (std::istream&, double)): Use octave_read_double. | |
5741 | |
4126 | 5742 2002-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5743 | |
5744 * oct-kpse.c (octave_kpse_clear_dir_cache): Delete. | |
5745 * oct-kpse.h: Delete decl. | |
5746 * pathsearch.cc (dir_path::init): Delete unnecessary call to | |
5747 ::octave_kpse_clear_dir_cache. | |
5748 | |
4123 | 5749 2002-10-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5750 | |
4124 | 5751 * lo-sstream.h: Undef HAVE_SSTREAM if using a version of g++ |
5752 earlier than 3.0. | |
5753 | |
4123 | 5754 * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. |
5755 (liboctave.$(SHLEXT)): Not here. | |
5756 | |
5095 | 5757 2002-10-17 Paul Kienzle <pkienzle@users.sf.net> |
4110 | 5758 |
5759 * oct-shlib.cc (octave_w32_shlib): New class to support Windows. | |
5760 | |
4108 | 5761 2002-10-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5762 | |
5763 * Makefile.in (install-lib): Don't bother with versions for | |
5764 $(SHLBIN) files. | |
5765 | |
5095 | 5766 2002-10-16 Paul Kienzle <pkienzle@users.sf.net> |
4105 | 5767 |
5768 * Makefile.in (LIB_DEPS): Include $(LIBS). | |
5769 | |
4102 | 5770 2002-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5771 | |
5772 * lo-cieee.c: Move everything but lo_ieee_init here. | |
5773 (lo_ieee_Inf_value, lo_ieee_NA_value, lo_ieee_NaN_value): | |
5774 New functions. | |
5775 | |
5776 * Makefile.in (install): No need to use cd to create links. | |
5777 (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. | |
5778 | |
5095 | 5779 2002-10-14 Paul Kienzle <pkienzle@users.sf.net> |
4102 | 5780 |
5781 * Makefile.in: Merge liboctave with liboct-readline and | |
5782 liboct-pathsearch. | |
5783 Use link dependencies for shared libs if INCLUDE_LINK_DEPS. | |
5784 (libraries): Depend on versioned library. | |
5785 (liboctave.$(SHLEXT), liboctave.$(SHLEXT_VER)): Reverse actions -- | |
5786 build unversioned library, symbolic link adds version info. | |
5787 (install, uninstall): Handle link and load forms of the library | |
5788 separately. | |
5789 | |
4101 | 5790 2002-10-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5791 | |
5792 * oct-time.cc: Use OCTAVE_USE_WINDOWS_API instead of __WIN32__ and | |
5793 __CYGWIN__. | |
5794 | |
5795 * file-ops.cc (file_ops::dir_sep_char, file_ops::dir_sep_str, | |
5796 file_ops::dir_sep_chars): New static functions to replace | |
5797 OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS. | |
5798 | |
5799 * oct-env.cc (octave_env::do_set_program_name): | |
5800 Use file_ops::dir_sep_chars instead of OCTAVE_DIR_SEP_CHARS. | |
5801 (octave_env::do_base_pathname): Likewise. | |
5802 (octave_env::do_make_absolute): Likewise. | |
5803 | |
5804 * oct-env.cc (octave_env::do_make_absolute): | |
5805 Use file_ops::dir_sep_str instead of OCTAVE_DIR_SEP_STR. | |
5806 (octave_env::do_get_home_directory): Likewise. | |
5807 | |
5808 * file-ops.cc (is_dir_sep): Use dir_sep_chars instead of embedding | |
5809 that information here too. | |
5810 (tilde_find_suffix, isolate_tilde_prefix, tilde_expand_word): | |
5811 Use file_ops::dir_sep_char instead of OCTAVE_DIR_SEP_CHAR. | |
5812 | |
5813 * file-ops.h: Use OCTAVE_HAVE_WINDOWS_FILESYSTEM and | |
5814 OCTAVE_HAVE_POSIX_FILESYSTEM instead of __WIN32__ and __CYGWIN__. | |
5815 | |
4097 | 5816 2002-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5817 | |
5818 * oct-env.h (octave_env::current_directory): Now mutable. | |
5819 (octave_env:do_getcwd): Now const. | |
5820 | |
5821 * file-ops.h, file-ops.cc (file_ops::is_dir_sep): New function. | |
5822 (OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS, | |
5823 OCTAVE_CURRENT_DIR_STR): New macros. | |
5824 * oct-env.cc (is_dir_sep): Delete. | |
5825 (octave_env::do_base_pathname): Look for OCTAVE_DIR_SEP_CHARS, not '/'. | |
5826 (octave_env::do_set_program_name): Likewise. | |
5827 (octave_env::do_polite_directory_format): Use file_ops::is_dir_sep | |
5828 instead of checking for '/'. | |
5829 (octave_env::pathname_backup): Likewise. | |
5830 (octave_env::do_absolute_pathname): Likewise. | |
5831 (octave_env::do_make_absolute): Likewise. | |
5832 If dot_path is empty, use getcwd to set current_dir. | |
5833 (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR | |
5834 instead of "/". | |
5835 | |
5095 | 5836 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 5837 |
5838 * lo-cutils.c: On non-Posix Windows systems, include winsock.h. | |
5839 | |
5095 | 5840 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 5841 |
5842 * oct-env.cc (octave_env::do_absolute_pathname): Recognize | |
5843 absolute path names under MinGW as well. | |
5844 | |
5845 2002-10-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5846 | |
5847 * oct-env.cc: Include <cctype> too. | |
5848 | |
4087 | 5849 2002-10-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5850 | |
5851 * oct-env.cc (octave_env::do_absolute_pathname): Handle Windows | |
5852 filenames. | |
5853 (octave_env::do_make_absolute): Check for absolute name with | |
5854 do_absolute_path. | |
4088 | 5855 (octave_env::do_chdir): Likewise. |
5856 (is_dir_sep): New function. | |
4087 | 5857 |
5095 | 5858 2002-10-03 Paul Kienzle <pkienzle@users.sf.net> |
4085 | 5859 |
4086 | 5860 * oct-time.cc (octave_time::stamp): Better resolution for Windows |
5861 systems. | |
4085 | 5862 |
4083 | 5863 2002-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5864 | |
5865 * dMatrix.cc (Matrix::read): Clean up error handling logic. | |
5866 | |
4080 | 5867 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5868 | |
4081 | 5869 * file-ops.cc (file_ops::mkdir): Handle one-arg mkdir here. |
5870 | |
4080 | 5871 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
5872 | |
5095 | 5873 2002-09-27 Per Persson <persquare@mac.com> |
4076 | 5874 |
5875 * oct-group.cc (octave_group::octave_group): Dont' forget to set | |
5876 gr_gid too. | |
5877 | |
4072 | 5878 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
5879 | |
4074 | 5880 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
5881 lo_ieee_* functions. | |
4072 | 5882 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074 | 5883 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
5884 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. | |
4072 | 5885 * lo-cieee.c: New file. |
4074 | 5886 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072 | 5887 * lo-ieee.h: Now all extern "C". |
4074 | 5888 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
5889 lo-mappers.cc and rename from xisnan, xfinite, xisinf. | |
5890 | |
4072 | 5891 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
5892 Now extern. | |
5893 | |
4066 | 5894 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
5895 | |
5896 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
5897 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
5898 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
5899 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
5900 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
5901 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
5902 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
5903 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
5904 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
5905 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
5906 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
5907 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
5908 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
5909 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
5910 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
5911 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
5912 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
5913 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
5914 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
5915 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
5916 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
5917 oct-alloc.cc: | |
5918 If __GNUG__, use pragma interface/implementation. Allow this to | |
5919 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. | |
5920 | |
5095 | 5921 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
4064 | 5922 |
4066 | 5923 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
5924 system readlink function is not available. | |
5925 | |
4065 | 5926 * lo-mappers.cc (xerf, xerfc): Delete. |
5927 * lo-mappers.h (xerf, xerfc): Delete decls. | |
5928 | |
4064 | 5929 * lo-mappers.cc: Remove unused #define M_PI. |
5930 * lo-specfun.cc: Add #define M_PI if needed. | |
5931 | |
4062 | 5932 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5933 | |
5934 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility | |
5935 that geteuid doesn't exist. | |
5936 | |
5937 * LP.h: Rename LP class to octave_LP. | |
5938 LPsolve.h: Change all uses. | |
5939 | |
5940 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove | |
5941 incorrect token-pasting op. | |
5942 | |
5943 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to | |
5944 define lstat. | |
5945 | |
4061 | 5946 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5947 | |
5948 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
5949 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
5950 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
5951 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
5952 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
5953 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
5954 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
5955 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
5956 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
5957 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
5958 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
5959 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
5960 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
5961 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
5962 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
5963 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
5964 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
5965 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
5966 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
5967 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
5968 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
5969 oct-alloc.cc: | |
5970 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ | |
5971 to decide whether to use the interface/implementation pragmas. | |
5972 | |
4058 | 5973 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5974 | |
5975 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. | |
5976 | |
4055 | 5977 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
5978 | |
5979 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use | |
5980 qualified names. | |
5981 | |
4051 | 5982 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5983 | |
4054 | 5984 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
5985 ArrayN.cc: Add typename where needed. | |
4053 | 5986 |
4051 | 5987 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
5988 strstream classes directly. | |
5989 * DASRT.cc: Likewise. | |
5990 * DASSL.cc: Likewise. | |
5991 * LSODE.cc: Likewise. | |
5992 * ODESSA.cc: Likewise. | |
5993 | |
5994 * cmd-hist.cc: Don't include <strstream>. | |
5995 * oct-shlib.cc: Likewise. | |
5996 | |
5997 * lo-sstream.h: New file. | |
5998 | |
4049 | 5999 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6000 | |
6001 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): | |
6002 New data members. | |
6003 (LSODE::sanity_checked): Delete unused data member. | |
6004 | |
6005 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, | |
6006 prel_tol, pinfo, piwork, prwork): New data members. | |
6007 * DASSL.h (DASSL): Likewise. | |
6008 | |
6009 * DASRT.h (DASRT::sanity_checked): Delete unused data member. | |
6010 | |
6011 * DASRT.cc (DASRT::integrate (double)): Better handling of | |
6012 initialization, changes in options, etc. | |
6013 * DASPK.cc (DASPK::do_integrate): Likewise. | |
6014 * DASSL.cc (DASSL::do_integrate): Likewise. | |
6015 * LSODE.cc (LSODE::do_integrate): Likewise. | |
6016 | |
4047 | 6017 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
6018 | |
4049 | 6019 * DAEFunc.h (DAEFunc::reset): New data member. |
6020 * DAERTFunc.h (DAERTFunc::reset): Likewise. | |
6021 | |
6022 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. | |
6023 (base_diff_eqn::clear_stop_time): Likewise. | |
6024 | |
4047 | 6025 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
6026 * DASPK.cc (DASPK::do_integrate (double)): Likewise. | |
6027 | |
5095 | 6028 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
4044 | 6029 |
6030 * DASPK-opts.in, DASPK.h: Move include to .in file. | |
6031 * DASRT-opts.in, DASRT.h: Likewise. | |
6032 * DASSL-opts.in, DASSL.h: Likewise. | |
6033 * LSODE-opts.in, LSODE.h: Likewise. | |
6034 * NLEqn-opts.in, NLEqn.h: Likewise. | |
6035 * ODESSA-opts.in, ODESSA.h: Likewise. | |
6036 | |
4038 | 6037 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6038 | |
4042 | 6039 * LSODE.cc (LSODE::error_message): Also return current T on |
6040 failures when that makes sense. | |
4043 | 6041 * DASSL.cc (DASSL::error_message): Likewise. |
6042 * DASRT.cc (DASRT::error_message): Likewise. | |
6043 * DASPK.cc (DASPK::error_message): Likewise. | |
6044 * ODESSA.cc (ODESSA:error_message): Likewise. | |
4042 | 6045 |
4038 | 6046 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
6047 $(LIBKPATHSEA) here. | |
6048 | |
4025 | 6049 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6050 | |
6051 * lo-ieee.cc (lo_ieee_is_NA): New function. | |
6052 (lo_ieee_is_NaN_or_NA): New function. | |
6053 (octave_NA): New global value. | |
6054 (octave_ieee_init): Initialize it. | |
6055 * lo-mappers.cc (octave_is_NA): New function. | |
6056 (octave_is_NaN_or_NA): New function. | |
6057 (xisnan): Return false if NaN looks like a missing value. | |
6058 (xisnan (const Complex&)): Use xisnan here. | |
6059 | |
4015 | 6060 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6061 | |
4017 | 6062 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
6063 ComplexMatrix::cumprod, ComplexMatrix::cumsum, | |
6064 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): | |
6065 Default value for dim is -1, not 0. | |
6066 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, | |
6067 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. | |
6068 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. | |
6069 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. | |
6070 | |
4015 | 6071 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
6072 New macros. | |
6073 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and | |
6074 MX_BASE_REDUCTION_OP. | |
6075 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. | |
6076 | |
4014 | 6077 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6078 | |
4015 | 6079 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
6080 Return boolMatrix, not Matrix. | |
6081 | |
6082 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. | |
6083 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. | |
6084 (Matrix::all): Replace guts with MX_ALL_OP. | |
6085 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. | |
6086 (ComplexMatrix::all): Replace guts with MX_ALL_OP. | |
6087 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. | |
6088 (boolMatrix::all): Replace guts with MX_ALL_OP. | |
6089 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. | |
6090 (charMatrix::all): Replace guts with MX_ALL_OP. | |
6091 | |
6092 * dMatrix.h (Matrix::any): New arg, dim. | |
6093 (Matrix::all): Likewise. | |
6094 * CMatrix.h (ComplexMatrix::any): Likewise. | |
6095 (ComplexMatrix::all): Likewise. | |
6096 * boolMatrix.h (boolMatrix::any): Likewise. | |
6097 (boolMatrix::all): Likewise. | |
6098 * chMatrix.h (charMatrix::any): Likewise. | |
6099 (charMatrix::all): Likewise. | |
6100 | |
4014 | 6101 * Makefile.in: Use $@-t instead of $@.t. |
6102 | |
4004 | 6103 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6104 | |
6105 * lo-specfun.cc (gammainc): New arg, err, for scalar version. | |
6106 Use it in matrix versions to avoid spewing multiple errors. | |
6107 Call xgammainc instead of dgamit. | |
6108 | |
3998 | 6109 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6110 | |
6111 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): | |
6112 Get rows and columns right in loop. | |
6113 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. | |
6114 | |
6115 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6116 | |
6117 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. | |
6118 * DASRT.cc (DASRT::integrate): Likewise. | |
6119 * DASSL.cc (DASSL::do_integrate): Likewise. | |
6120 | |
6121 * Quad.cc: Don't pass tolerances in constructors. | |
6122 | |
6123 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, | |
6124 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. | |
6125 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, | |
6126 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically | |
6127 from corresponding .in files. | |
6128 * LSODE.h, Quad.h: Replace options class definitions with included | |
6129 file. | |
6130 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to | |
6131 create OPTS_INC files from OPTS_INC_SRC files. | |
6132 (stamp-prereq): New target. | |
6133 (libraries): Depend on stamp-prereq. | |
6134 Include stamp-prereq along with $(MAKEDEPS). | |
6135 | |
3997 | 6136 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6137 | |
6138 * base-de.h (base_diff_eqn::istate): New data member. | |
6139 (base_diff_eqn::integration_state): New member function. | |
6140 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding | |
6141 data members and functions. | |
6142 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. | |
6143 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. | |
6144 | |
3990 | 6145 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6146 | |
3995 | 6147 * base-de.h (base_diff_eqn::stop_time, |
6148 base_diff_eqn::stop_time_set, base_diff_eqn::restart, | |
6149 base_diff_eqn::integration_error): New data members. | |
6150 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, | |
6151 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, | |
6152 base_diff_eqn::error_message): New member functions. | |
6153 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, | |
6154 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data | |
6155 members and functions. | |
6156 | |
3992 | 6157 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
6158 * DASRT.cc (DASRT::DASRT): Set ng here. | |
3993 | 6159 (DASRT::integrate): Don't forget to set nn. |
3992 | 6160 |
3991 | 6161 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
6162 * DASSL.cc (ddassl_j): Make it work. | |
6163 * DASPK.cc (ddaspk_j): Likewise. | |
6164 | |
3990 | 6165 * DAE.cc: Delete. |
6166 | |
6167 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE | |
6168 solving with root finding. | |
6169 * Makefile.in: Add them to the appropriate lists. | |
6170 | |
6171 * base-dae.h: New file. | |
6172 * Makefile.in (INCLUDES): Add it to the list. | |
6173 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. | |
6174 | |
3984 | 6175 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6176 | |
6177 * ODE.h: Move integrate and do_integrate method declarations and | |
6178 definitions here. | |
6179 * base-de.h: From here. | |
6180 | |
6181 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. | |
6182 * Makefile.in: Add them to the appropriate lists. | |
6183 (LIBOCTAVE_CXX_SOURCES): | |
6184 | |
3971 | 6185 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6186 | |
6187 * NLEqn.cc (NLEqn::error_message): New function. | |
6188 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. | |
6189 | |
3970 | 6190 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6191 | |
6192 * lo-utils.cc (octave_fgetl): New function. | |
6193 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. | |
6194 | |
3959 | 6195 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
6196 | |
6197 * LSODE.cc (LSODE::error_message): New function. | |
6198 * LSODE.h: Provide decl. | |
6199 (LSODE::integration_state): New function. | |
6200 (LSODE::integration_ok): New function. | |
6201 | |
3952 | 6202 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6203 | |
3955 | 6204 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
6205 (LSODE_options::set_integration_method, | |
6206 LSODE_options::integration_method): New functions. | |
3954 | 6207 |
3952 | 6208 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
6209 Change all uses. | |
6210 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. | |
6211 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): | |
6212 New function. | |
6213 | |
6214 * Array.h (Array::fortran_vec): New const version. | |
6215 | |
3951 | 6216 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6217 | |
6218 * cmd-edit.cc (gnu_readline::history_search_backward): New function. | |
6219 (gnu_readline::history_search_forward): Likewise. | |
6220 (gnu_readline::gnu_readline): Use them instead of passing pointers | |
6221 to extern "C" functions to octave_rl_ad_defun. | |
6222 | |
5095 | 6223 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
3946 | 6224 |
6225 * DASPK.cc (ddaspk_psol): Return value. | |
6226 * oct-rl-edit.c: Use /* ... */ to comment. | |
6227 | |
3945 | 6228 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6229 | |
6230 * DASSL.h (DASSL_options::init): Undo previous change. | |
6231 (DASSL_options::set_absolute_tolerance): Likewise. | |
6232 * LSODE.h (LSODE_options::init): Likewise. | |
6233 (LSODE_options::set_absolute_tolerance): Likewise. | |
6234 | |
6235 * DASPK.h (DASPK_options::init): Use default absolute tolerance of | |
6236 sqrt(eps), not eps^2. | |
6237 DASPK_options::set_absolute_tolerance): Likewise. | |
6238 | |
5095 | 6239 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
3944 | 6240 |
6241 * Array.h (Array<T>::resize_fill_value): Return default initialized | |
6242 object. | |
6243 | |
3933 | 6244 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6245 | |
6246 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. | |
6247 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. | |
6248 (octave_rl_set_basic_word_break_characters, | |
6249 octave_rl_set_completer_word_break_characters): New functions. | |
6250 * oct-rl-edit.h: Provide decls. | |
6251 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, | |
6252 gnu_readline::do_set_completer_word_break_characters): New functions. | |
6253 (command_editor::set_basic_quote_characters, | |
6254 command_editor::set_completion_append_character): New static functions. | |
6255 * cmd-edit.h: Provide decls. | |
6256 (command_editor::do_set_basic_word_break_characters, | |
6257 command_editor::do_set_completer_word_break_characters): | |
6258 New virtual functions. | |
6259 | |
6260 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h | |
6261 (resize_fill_value): New static function. | |
6262 | |
6263 * Array-idx.h (Array<T>::index): New args, resize_ok and | |
6264 resize_fill_value. | |
6265 * Array2-idx.h (Array2<T>::index): Likewise. | |
6266 * ArrayN-idx.h (ArrayN<T>::index): Likewise. | |
6267 | |
6268 * Array2.cc (Array<T>::print_info): New function. | |
6269 * Array2.h: Provide decl. | |
6270 | |
6271 * Array.cc (Array<T>::print_info): New function. | |
6272 * Array.h: Provide decl. | |
6273 | |
3928 | 6274 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6275 | |
6276 * idx-vector.h (idx_vector::idx_vector (int)): New function. | |
6277 (idx_vector_rep::idx_vector_rep (int)): New decl. | |
6278 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. | |
6279 | |
6280 * Array.h (Array<T>::resize_fill_value (void)): New static function. | |
6281 (assign (Array<LT>&, const Array<RT>&)): Use it. | |
6282 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. | |
6283 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. | |
6284 | |
5095 | 6285 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
3928 | 6286 |
6287 * Array3.h (Array3<T>::checkelem): Improve error message. | |
6288 * ArrayN.h (ArrayN<T>::range_error): Likewise. | |
6289 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. | |
6290 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. | |
6291 | |
3919 | 6292 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6293 | |
6294 * DASSL.h (DASSL_options::init): Undo previous change. | |
6295 (DASSL_options::set_absolute_tolerance): Likewise. | |
6296 | |
3912 | 6297 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
6298 | |
6299 * DASPK.h, DASPK.cc: New files. | |
6300 * Makefile.in: Add them to the appropriate lists. | |
6301 | |
3904 | 6302 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6303 | |
6304 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): | |
6305 Simplify indexing when one or both of the indices are empty. | |
6306 | |
3896 | 6307 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6308 | |
6309 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. | |
6310 (DASSL_options::set_absolute_tolerance): Likewise. | |
6311 * LSODE.h (LSODE_options::init): Likewise. | |
6312 (LSODE_options::set_absolute_tolerance): Likewise. | |
6313 | |
5095 | 6314 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
3887 | 6315 |
6316 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. | |
6317 * file-stat.cc (file_stat::update_internal, file_stat::copy): | |
6318 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. | |
6319 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. | |
6320 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. | |
6321 * file-stat.h: Likewise. | |
6322 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, | |
6323 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE | |
6324 instead of HAVE_STRUCT_TM_TM_ZONE. | |
6325 * strftime.c: Likewise. | |
6326 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, | |
6327 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, | |
6328 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, | |
6329 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, | |
6330 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
6331 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
6332 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. | |
6333 | |
5095 | 6334 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
3883 | 6335 |
6336 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition | |
6337 internally when the user requests it. | |
6338 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
6339 * dbleQR.cc (QR::init): Ditto. | |
6340 * dbleQRP.cc (QRP::init): Ditto. | |
6341 | |
3874 | 6342 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6343 | |
6344 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a | |
6345 definition for NULL by passing 0 as the last arg to fftwnd_one. | |
6346 (octave_fftw::ifft2d): Likewise. | |
6347 | |
5095 | 6348 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
3873 | 6349 |
6350 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). | |
6351 | |
3867 | 6352 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6353 | |
6354 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. | |
6355 (LS_DO_WRITE): Likewise. | |
6356 | |
3864 | 6357 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6358 | |
6359 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. | |
6360 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. | |
6361 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. | |
6362 | |
6363 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, | |
6364 MX_REDUCTION_OP_ROW_EXPR): New macros. | |
6365 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. | |
6366 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. | |
6367 | |
6368 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. | |
6369 DIM == -1 now means no orientation for vector sums. | |
6370 * dMatrix.cc (ComplexMatrix::sumsq): Use it. | |
6371 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. | |
6372 | |
3858 | 6373 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6374 | |
6375 * Range.cc (Range::nelem_internal): Special case ranges that must | |
6376 have zero elements. | |
6377 | |
3854 | 6378 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6379 | |
3857 | 6380 * Makefile.in: Split out readline and pathsearch functionality |
6381 into separate liboct-readline and liboct-pathsearch libraries. | |
6382 | |
3854 | 6383 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857 | 6384 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
6385 to do nothing for this call to rl_clear_screen. | |
3854 | 6386 |
3849 | 6387 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6388 | |
6389 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied | |
6390 function. | |
6391 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. | |
6392 | |
3838 | 6393 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6394 | |
6395 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, | |
6396 Matrix::inverse): Handle the case of rcond being a NaN the same as | |
6397 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. | |
6398 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, | |
6399 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. | |
6400 | |
3836 | 6401 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
6402 | |
6403 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. | |
6404 | |
6405 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, | |
6406 Array-b.cc: Instantiate three arg assign functions. | |
6407 | |
6408 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): | |
6409 New arg, resize_fill_value. | |
6410 * ArrayN.h: Provide declaration. | |
6411 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling | |
6412 three arg version. | |
6413 | |
6414 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): | |
6415 New arg, resize_fill_value. | |
6416 * Array3.h: Provide declaration. | |
6417 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling | |
6418 three arg version. | |
6419 | |
6420 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
6421 New arg, resize_fill_value. | |
6422 * Array2.h: Provide declaration. | |
6423 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling | |
6424 three arg version. | |
6425 | |
6426 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
6427 New arg, resize_fill_value. | |
6428 * Array.h: Provide declaration. | |
6429 (assign (Array<LT>&, const Array<RT>&): Define here by calling | |
6430 three arg version. | |
6431 | |
3833 | 6432 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6433 | |
6434 * pathsearch.cc (dir_path::set_program_name): Set the environment | |
6435 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS | |
6436 to the empty string. | |
6437 | |
3832 | 6438 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
6439 | |
6440 * Array2.h (Array2<T>::operator = (const Array2<T>&)): | |
6441 Don't check for rep != a.rep. | |
6442 | |
3827 | 6443 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
6444 | |
6445 * oct-fftw.h, oct-fftw.cc: New files. | |
6446 * Makefile.in (INCLUDES, SOURCES): Add new files. | |
6447 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, | |
6448 ifourier2d}): Use fftw if available. | |
6449 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): | |
6450 Likewise. | |
6451 | |
3821 | 6452 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6453 | |
6454 * Makefile.in (install-lib): Don't use mk-libdir-link. | |
6455 (install-inc): Don't use mk-includedir-link. | |
6456 | |
3803 | 6457 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6458 | |
6459 * lo-cutils.c (octave_gethostname): New function. | |
6460 * lo-utils.h: Provide declaration. | |
6461 * oct-env.cc (octave_env::do_get_host_name): | |
6462 Call octave_gethostname, instead of gethostname. | |
6463 | |
6464 * lo-cutils.c (gethostname): Define here. | |
6465 * lo-sysdep.cc: Not here. | |
6466 | |
3786 | 6467 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6468 | |
6469 * lo-cutils.c: Don't declare strptime. | |
6470 (oct_strptime): Cast return type of strptime to char*. | |
6471 | |
3777 | 6472 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6473 | |
3779 | 6474 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
6475 (octave_rl_set_name): call rl_re_read_init_file with two args. | |
6476 (octave_rl_read_init_file): Ditto. | |
6477 (octave_rl_clear_undo_list): Call rl_free_undo_list, not | |
6478 free_undo_list. | |
6479 (octave_rl_completion_matches): Call rl_completion_matches, not | |
6480 completion_matches. | |
6481 (octave_rl_enable_paren_matching): New function. | |
6482 (octave_rl_set_blink_matching_paren_flag): Delete. | |
6483 (octave_rl_get_blink_matching_paren_flag): Delete. | |
6484 | |
3777 | 6485 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
6486 tanh (const Complex&)): Declare and define if not | |
6487 CXX_ISO_COMPLIANT_LIBRARY. | |
6488 | |
3776 | 6489 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
6490 | |
6491 * lo-mappers.h (tanh (const Complex&)): Only declare if not | |
6492 CXX_ISO_COMPLIANT_LIBRARY. | |
6493 | |
3775 | 6494 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
6495 | |
3776 | 6496 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
6497 CXX_ISO_COMPLIANT_LIBRARY. | |
6498 | |
3775 | 6499 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
6500 archive libraries containing templates. | |
6501 | |
6502 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, | |
6503 get_zero_len_size, all_colon_equiv): Inline. | |
6504 (ArrayN<T>::index): Rename idx to arr_idx. | |
6505 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, | |
6506 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, | |
6507 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. | |
6508 | |
6509 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6510 | |
6511 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), | |
6512 log10 (const Complex&)): Delete. | |
6513 | |
6514 * oct-cmplx.h: Define forwarding functions for real, imag, abs, | |
6515 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, | |
6516 sinh, sqrt, tan, and tanh. | |
6517 | |
3769 | 6518 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
6519 | |
6520 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: | |
6521 Add std:: namespace qualifier as needed. | |
6522 | |
6523 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. | |
6524 Change all uses to match. | |
6525 | |
3767 | 6526 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6527 | |
6528 * lo-cutils.c: Don't delcare strptime. | |
6529 | |
3760 | 6530 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6531 | |
6532 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): | |
6533 Return correct size result for empty matrix case. | |
6534 | |
3757 | 6535 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
6536 | |
6537 * lo-mappers.cc (xmin (const Complex&, const Complex& y): | |
6538 If args are equal in magnitude, return first arg instead of | |
6539 second. | |
6540 | |
3752 | 6541 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
6542 | |
3755 | 6543 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
6544 then try harder to compute correct number of elements. | |
3753 | 6545 |
3752 | 6546 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
6547 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. | |
6548 | |
3750 | 6549 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
6550 | |
3751 | 6551 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
6552 Rename n_intervals to be n_elt. | |
6553 | |
3750 | 6554 * strptime.c: Surround everything after including config.h in |
6555 #ifndef HAVE_STRPTIME ... #endif. | |
6556 | |
3742 | 6557 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6558 | |
6559 * Array-idx.h (assign): When resizing, cast fill value to LT. | |
6560 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. | |
6561 | |
3741 | 6562 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6563 | |
6564 * MArray-defs.h: Protect against multiple inclusion. | |
6565 | |
3739 | 6566 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6567 | |
6568 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the | |
6569 end of the list, to be compatible with previous versions of Octave. | |
6570 | |
3736 | 6571 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
6572 | |
6573 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, | |
6574 since mktime is supposed to `normalize' the results for us. | |
6575 | |
3731 | 6576 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
6577 | |
6578 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices | |
3732 | 6579 and vectors. Use xelem for faster access to elements when copying. |
3731 | 6580 |
3726 | 6581 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6582 | |
6583 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): | |
6584 Correct indexing for operation across rows. | |
6585 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. | |
6586 | |
3725 | 6587 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
6588 | |
6589 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying | |
6590 elements if arg is a colon. | |
6591 | |
5095 | 6592 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
3723 | 6593 |
3795 | 6594 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723 | 6595 (Matrix::cumsum (int) const): Likewise. |
6596 (Matrix::prod (int) const): Likewise. | |
6597 (Matrix::sum (int) const): Likewise. | |
6598 (Matrix::sumsq (int) const): Likewise. | |
6599 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. | |
6600 (ComplexMatrix::cumsum (int) const): Likewise. | |
6601 (ComplexMatrix::prod (int) const): Likewise. | |
6602 (ComplexMatrix::sum (int) const): Likewise. | |
6603 (ComplexMatrix::sumsq (int) const): Likewise. | |
6604 | |
3722 | 6605 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6606 | |
6607 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set | |
6608 size if Array<T>::index returns an empty array. | |
6609 | |
3710 | 6610 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6611 | |
6612 * file-ops.cc (file_ops::link, file_ops::symlink, | |
6613 file_ops::readlink): New functions. | |
6614 | |
3709 | 6615 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6616 | |
6617 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is | |
6618 indexed, always return an object the same size as the index arg. | |
6619 | |
6620 * oct-time.cc (octave_base_tm::strftime): Return empty string for | |
6621 empty format. | |
6622 | |
3706 | 6623 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6624 | |
6625 * lo-cutils.c (oct_strptime): New function. | |
6626 * oct-time.cc (octave_strptime::init): Call it instead of strptime. | |
6627 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. | |
6628 | |
3702 | 6629 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6630 | |
3703 | 6631 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
6632 | |
3702 | 6633 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
6634 | |
3689 | 6635 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6636 | |
6637 * dMatrix.h (read_int): Provide declaration. | |
6638 | |
3688 | 6639 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
6640 | |
6641 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. | |
6642 (write_doubles): Ditto. | |
6643 * data-conv.h: Ditto. | |
6644 (enum save_type): New values, LS_U_LONG and LS_LONG. | |
6645 | |
3685 | 6646 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
6647 | |
6648 * boolMatrix.h: Declare MM_CMP_OPS here. | |
6649 * boolMatrix.cc: Define them here. | |
6650 | |
3680 | 6651 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6652 | |
6653 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is | |
6654 previously undefined and set size of x to size of bool index. | |
6655 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): | |
6656 Allow z_len to be zero. | |
6657 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. | |
6658 If frozen, don't assert that frozen_at_z_len == z_len. | |
6659 | |
3670 | 6660 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6661 | |
6662 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen | |
6663 instead of rl_clear_screen. | |
6664 | |
3665 | 6665 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6666 | |
6667 * Array-d.cc: Instantiate ArrayN<double> here too. | |
6668 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. | |
6669 * Makefile.in: Add them to the appropriate lists. | |
6670 | |
3657 | 6671 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6672 | |
6673 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. | |
6674 | |
3635 | 6675 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6676 | |
6677 * lo-sysdep.h: octave_chdir returns int, not bool. | |
6678 | |
3615 | 6679 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
6680 | |
6681 * Makefile.in (liboctave.$(SHLEXT)): Delete target | |
6682 before rebuilding. | |
6683 | |
5095 | 6684 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
3615 | 6685 |
5261 | 6686 * Makefile.in (liboctave.$(LIBEXT)): New target. |
3615 | 6687 (libraries): Depend only on library targets, not archive members. |
6688 | |
3613 | 6689 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6690 | |
6691 * Makefile.in: (objects): New target. | |
6692 | |
6693 * lo-cutils.c: New file. | |
6694 * Makefile.in (SOURCES): Add it to the list. | |
6695 * lo-utils.h: Declare octave_qsort here. | |
6696 * Array.h (Array::qsort): Use it here. | |
6697 | |
3607 | 6698 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6699 | |
6700 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. | |
6701 | |
3598 | 6702 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6703 | |
6704 * oct-rl-hist.c (octave_history_list): Do something when not | |
6705 printing line numbers. Fix reallocation of retval. | |
6706 | |
3597 | 6707 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6708 | |
6709 * Makefile.in (install-inc): Install files in | |
6710 $(octincludedir)/octave. | |
6711 (uninstall): Remove them from the correct directory too. | |
6712 | |
6713 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if | |
6714 they are not already defined. | |
6715 | |
3588 | 6716 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6717 | |
6718 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: | |
6719 Delete declarations and definitions of mixed-type vector-vector ops. | |
6720 | |
3585 | 6721 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6722 | |
6723 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS | |
6724 matrix and vector objects. | |
6725 | |
6726 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to | |
6727 return type from second arg type. | |
6728 (MDM_BIN_OP): Likewise, for first arg type. | |
6729 | |
6730 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
6731 Matrix::fourier2d, Matrix::ifourier2d): Likewise. | |
6732 | |
6733 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly | |
6734 request ColumnVector to ComplexColumnVector, and Matrix to | |
6735 ComplexMatrix conversions. | |
6736 | |
6737 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its | |
6738 initial value using ComplexMatrix constructor. | |
6739 | |
6740 * CColVector.cc (product, quotient, | |
6741 operator * (const DiagMatrix&, const ComplexColumnVetor&)): | |
6742 Fix type of returned value. | |
6743 * CDiagMatrix.cc (ComplexDiagMatrix::row, | |
6744 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. | |
6745 | |
6746 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, | |
6747 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, | |
6748 dRowVector.h: Declare some constructors explicit, to disallow | |
6749 potentially problematic automatic type conversions. | |
6750 | |
3580 | 6751 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
6752 | |
3582 | 6753 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
6754 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: | |
6755 More new files. | |
6756 * Makefile.in: Add them to the appropriate lists. | |
6757 | |
6758 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, | |
6759 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, | |
6760 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, | |
6761 vx-s-crv.cc:, New files. | |
6762 * Makefile.in: Add them to the appropriate lists. | |
6763 | |
6764 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: | |
6765 Delete scalar by vector and vector by scalar binary ops. | |
6766 | |
3580 | 6767 * MArray-defs.h: More new macros to handle MDiagArray operators. |
6768 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. | |
6769 | |
3573 | 6770 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
6771 | |
3578 | 6772 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
6773 rl_event_hook before casting to void **. | |
6774 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. | |
6775 | |
3574 | 6776 * MArray-defs.h: Many new macros to make declaration and |
6777 definition of operators more consistent. | |
6778 | |
6779 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, | |
6780 CRowVector.h, dMatrix.h, CMatrix.h: Use them. | |
3573 | 6781 |
3569 | 6782 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6783 | |
3572 | 6784 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
6785 (Matrix::ifourier2d): Likewise. | |
6786 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. | |
6787 (ComplexMatrix::ifourier2d): Likewise. | |
6788 | |
3569 | 6789 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
6790 | |
3504 | 6791 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6792 | |
3519 | 6793 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
6794 readline library. | |
6795 * Makefile.in: Add them to the appropriate lists. | |
6796 | |
6797 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU | |
6798 readline history library. | |
6799 * Makefile.in: Add them to the appropriate lists. | |
6800 | |
3517 | 6801 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
6802 (LS_DO_READ): Likewise, for istream::read. | |
3518 | 6803 (write_doubles): Likewise. |
6804 (read_doubles): Likewise. | |
3517 | 6805 |
3516 | 6806 * oct-env.cc (octave_env::do_polite_directory_format): |
6807 Use operator== and substr method to do limited-length string | |
6808 comparison. | |
6809 | |
3513 | 6810 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512 | 6811 |
3511 | 6812 * Quad.h: Use do_integrate as name of pure virtual function. |
6813 | |
3508 | 6814 * base-de.h: Use tt instead of t as arg names. |
3511 | 6815 Add method with tcrit arg. |
6816 | |
3509 | 6817 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508 | 6818 |
3507 | 6819 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
6820 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. | |
6821 * Quad.cc (quad_fcn_ptr): Ditto. | |
6822 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. | |
6823 | |
3505 | 6824 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519 | 6825 * Makefile.in: Add them to the appropriate lists. |
3505 | 6826 |
6827 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. | |
3519 | 6828 * Makefile.in: Add them to the appropriate lists. |
3505 | 6829 |
3504 | 6830 * dMatrix.cc (write_int, read_int): No longer declared static. |
6831 | |
6832 * CDiagMatrix.h: Delete decls for friend operators that are | |
6833 handled by MDiagArray2 class. Move others outside class decl and | |
6834 strip friend status. | |
6835 * dDiagMatrix.h: Likewise. | |
6836 | |
6837 * MArray.h: Delete decls for friend operators inside class decl. | |
6838 * MArray2.h: Ditto. | |
6839 * MDiagArray2.h: Ditto. | |
6840 | |
6841 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all | |
6842 necessary parameters. Don't allocate memory in the macro. Change | |
6843 all uses. | |
6844 | |
6845 * dMatrix.h (class Matrix): Delete `friend class' decls. | |
6846 * CMatrix.h (class ComplexMatrix): Ditto. | |
6847 | |
6848 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, | |
6849 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, | |
6850 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to | |
6851 avoid type conflicts. Change all uses. | |
6852 | |
6853 * strptime.c (__mon_yday): Fix size of array decl. | |
6854 | |
6855 * mx-inlines.cc: Use `xnot' instead of `not' for function name. | |
6856 | |
6857 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous | |
6858 default value for second arg. | |
6859 | |
6860 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to | |
6861 references to ArrayRep. | |
6862 | |
3503 | 6863 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
6864 | |
3504 | 6865 * Array.h (Array::ArrayRep): Now protected, not private. |
3503 | 6866 |
6867 * All source files: Include iostream, fstream, strstream, | |
6868 etc. as needed instead of using forward declarations for these | |
3504 | 6869 classes. Add std:: qualifier as needed. |
3503 | 6870 |
3498 | 6871 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6872 | |
6873 * oct-time.cc: Declare strptime extern "C". | |
6874 | |
3496 | 6875 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6876 | |
6877 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. | |
6878 | |
3488 | 6879 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6880 | |
3492 | 6881 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
6882 * Array3.h, Array3.cc: Use it in constructors and resize methods | |
6883 to get total size to be allocated. | |
6884 | |
3488 | 6885 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
6886 as bool, not int. | |
6887 | |
3482 | 6888 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6889 | |
6890 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
6891 Allow A(idx) = RHS if idx is a boolean index with the same shape | |
6892 as A, even when do_fortran_indexing is not enabled. | |
6893 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). | |
6894 | |
3473 | 6895 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6896 | |
3480 | 6897 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
6898 function pointer as final arg. Passed function (if any) will be | |
6899 called for singularity errors. | |
6900 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. | |
6901 | |
6902 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. | |
6903 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
6904 | |
3475 | 6905 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
6906 No longer bother with infinity or quiet_nan. | |
6907 | |
3473 | 6908 * Array2.cc (Array2<T>::get_size): New function. |
6909 (Array2<T>::Array2, Array2<T>::resize): Use it. | |
6910 | |
3472 | 6911 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6912 | |
6913 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): | |
6914 New function. | |
6915 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
6916 Use it when indexing with one arg instead of faking a second one. | |
6917 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): | |
6918 Return empty matrices with the correct dimensions for A(:,:) = [] | |
6919 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all | |
6920 rows or columns. | |
6921 | |
6922 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool | |
6923 vector that is all true values with a length equal to n as colon | |
6924 equivalent. | |
6925 | |
3470 | 6926 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6927 | |
6928 * strptime.c: Only include langinfo.h if _LIBC is defined. | |
6929 | |
5095 | 6930 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468 | 6931 |
6932 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling | |
6933 operations directly in step 2 and reverse step 2. | |
6934 * dMatrix.cc (Matrix::expm): Apply permutation and scaling | |
6935 operations directly in step 2 and reverse step 2. | |
6936 | |
3465 | 6937 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6938 | |
6939 * oct-time.h, oct-time.cc (octave_strptime): New class. | |
6940 | |
6941 * strptime.c: New file, from glibc 2.1.2. | |
6942 * Makefile.in (SOURCES): Add strptime.c to the list. | |
6943 | |
3419 | 6944 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6945 | |
6946 * MArray.h (MArray <const Array<T>&)): New constructor. | |
6947 | |
3415 | 6948 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6949 | |
6950 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing | |
6951 NULL directory list returned from kpse_element_dirs | |
6952 | |
3375 | 6953 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6954 | |
6955 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. | |
6956 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF | |
6957 directly, instead of calling ZGESV. | |
6958 | |
3358 | 6959 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6960 | |
6961 * data-conv.cc (init_sized_type_lookup_table): New function. | |
6962 (string_to_data_type): Use it to improve lookup of data types. | |
6963 | |
3354 | 6964 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6965 | |
6966 * dMatrix.cc (is_symmetric): Move here from Array2.cc. | |
6967 * Array2.h (is_symmetric): Delete declaration. | |
6968 | |
3347 | 6969 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6970 | |
6971 * oct-env.cc (do_get_user_name): Reverse sense of test. | |
6972 | |
3344 | 6973 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6974 | |
6975 * oct-time.cc (Fstrftime): Undo previous change. | |
6976 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
6977 | |
3334 | 6978 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6979 | |
3336 | 6980 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
6981 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. | |
6982 | |
3334 | 6983 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
6984 Don't forget to pass length of third string argument to dgeesx. | |
6985 | |
6986 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length | |
6987 of third string argument to zgeesx. | |
6988 | |
3333 | 6989 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6990 | |
6991 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): | |
6992 On errors, simply return `T ()'. | |
6993 (DiagArray2<T>::checkelem (int, int)): Likewise. | |
6994 | |
5095 | 6995 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3331 | 6996 |
6997 * dMatrix.cc (Matrix::expm): Do balancing here instead of using | |
6998 AEPBALANCE class. | |
6999 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
7000 | |
3325 | 7001 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7002 | |
7003 * oct-shlib.cc, oct-shlib.h: New files. | |
7004 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
7005 | |
3322 | 7006 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
7007 | |
7008 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. | |
7009 * dRowVector.cc (linspace): Ditto. | |
7010 | |
7011 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. | |
7012 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
7013 | |
3312 | 7014 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
7015 | |
7016 * DASSL.cc (DASSL::do_integrate (double)): If we have a function | |
7017 to evaluate the Jacobian, set info(4), not iwork(4). | |
7018 Set rwork(1) to the maximum step size, not rwork(2). | |
7019 | |
3290 | 7020 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7021 | |
7022 * oct-time.cc: Include <climits>. | |
7023 | |
3281 | 7024 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
7025 | |
7026 * cmd-edit.h (command_editor::do_resize_terminal): New function. | |
7027 * cmd-edit.cc (command_editor::resize_terminal): New function. | |
7028 (gnu_readline::do_resize_terminal): New function. | |
7029 | |
3268 | 7030 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7031 | |
7032 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. | |
7033 * lo-ieee.c: Likewise. | |
7034 Delete extern "C" declarations for infinity and quiet_nan. | |
7035 | |
3262 | 7036 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7037 | |
3263 | 7038 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
7039 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions | |
7040 `inline', not `static inline'. | |
7041 | |
3262 | 7042 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
7043 then cast to const int * to compare. | |
7044 | |
3257 | 7045 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7046 | |
7047 * DAEFunc.h: Remove useless preprocessor conditional. | |
7048 | |
3255 | 7049 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7050 | |
3257 | 7051 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
7052 Use octave_time object instead of time_t. | |
7053 | |
7054 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, | |
7055 file_stat::fs_ctime): Now octave_time objects. | |
7056 (file_stat::atime, file_stat::mtime, file_stat::ctime): | |
7057 Return octave_time objects. | |
7058 (file_stat::is_newer): Args are now octave_time objects instead of | |
7059 time_t. | |
7060 | |
3255 | 7061 * oct-time.h (octave_time::as_double): Delete. |
7062 (octave_time::operator double ()): New function. | |
7063 (octave_time::operator time_t ()): New function. | |
7064 (octave_time::ctime): New function. | |
7065 (octave_base_tm::strftime): Renamed from format_as_string. | |
7066 (octave_base_tm::asctime): New function. | |
7067 (operator == (const octave_time&, const octave_time&), | |
7068 operator != (const octave_time&, const octave_time&), | |
7069 operator < (const octave_time&, const octave_time&), | |
7070 operator <= (const octave_time&, const octave_time&), | |
7071 operator > (const octave_time&, const octave_time&), | |
7072 operator >= (const octave_time&, const octave_time&)): | |
7073 New comparison functions. | |
7074 | |
7075 * strftime.c: Move here from src directory. | |
7076 * Makefile.in (SOURCES): Add it to the list. | |
7077 | |
7078 * oct-time.h (octave_time::octave_time (time_t)): New constructor. | |
7079 | |
3253 | 7080 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7081 | |
7082 * oct-time.h, oct-time.cc: New files. | |
7083 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
7084 | |
7085 * systime.h: Move here from src directory. | |
7086 * Makefile.in (INCLUDES): Add it to the list. | |
7087 | |
3248 | 7088 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7089 | |
7090 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. | |
7091 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. | |
7092 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. | |
7093 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. | |
7094 | |
7095 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. | |
7096 | |
3243 | 7097 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7098 | |
7099 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. | |
7100 | |
7101 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7102 | |
7103 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a | |
7104 column vector for A(:), for compatibility with Matlab. | |
7105 | |
7106 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7107 | |
7108 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set | |
7109 iopt when there are optional inputs in rwork or iwork. | |
7110 | |
3238 | 7111 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7112 | |
7113 * Makefile.in (libraries): Use the libfoo.a(objects) method of | |
7114 creating static libs. | |
7115 | |
5095 | 7116 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
3238 | 7117 |
7118 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 | |
7119 and uint32 data types. | |
7120 | |
7121 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7122 | |
7123 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code | |
7124 for Linux. Remove old Linux-specific code. | |
7125 | |
3233 | 7126 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7127 | |
7128 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): | |
7129 Don't require lengths to be equal. | |
7130 * CMatrix.cc (operator * (const ComplexColumnVector& v, const | |
7131 ComplexRowVector& a)): Likewise | |
7132 | |
5095 | 7133 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
3225 | 7134 |
7135 * statdefs.h: Only define mode_t if not already defined. | |
7136 | |
5095 | 7137 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
3225 | 7138 |
7139 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero | |
7140 when appropriate. | |
7141 | |
7142 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7143 | |
7144 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name | |
7145 before calling rl_initialize. | |
7146 | |
3220 | 7147 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7148 | |
7149 * lo-specfun.cc (besselh, airy, biry): New functions. | |
7150 Update Bessel function support to use library by D. E. Amos. | |
7151 | |
3219 | 7152 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7153 | |
7154 * cmd-edit.h (command_editor::readline): Add new variation that | |
7155 allows EOF information to be passed back to caller. | |
7156 | |
7157 * dMatrix.cc (Matrix::read): Do the right thing for EOF when | |
7158 amount of data to read is unspecified. | |
7159 | |
3215 | 7160 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7161 | |
3219 | 7162 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
7163 (DEFINE_OCTAVE_ALLOCATOR): Ditto. | |
7164 | |
3215 | 7165 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
7166 Add volatile qualifier to void* arg. | |
7167 Cast volatile void* arg to volatile char*. | |
7168 | |
7169 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7170 | |
7171 * cmd-edit.h (command_editor::do_set_event_hook): New function. | |
7172 (command_editor::do_restore_event_hook): Ditto. | |
7173 * cmd-edit.cc (command_editor::set_event_hook): Ditto. | |
7174 (command_editor::restore_event_hook): Ditto. | |
7175 (gnu_readline::do_set_event_hook): Ditto. | |
7176 (gnu_readline::do_restore_event_hook): Ditto. | |
7177 (gnu_readline::previous_event_hook): New data member. | |
7178 (gnu_readline::gnu_readline): Initialize previous_event_hook. | |
7179 | |
3206 | 7180 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7181 | |
7182 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. | |
7183 | |
7184 * Makefile.in (stmp-pic): New target. | |
7185 ($(PICOBJ)): Depend on stmp-pic, not pic. | |
7186 (clean): Remove stmp-pic | |
7187 | |
7188 * Makefile.in: Undo previous change to avoid optmization when | |
7189 compiling lo-ieee.cc. | |
7190 | |
7191 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7192 | |
7193 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and | |
7194 imaginary parts. | |
7195 (xisinf): Define in terms of xisinf for real and imaginary parts. | |
7196 | |
3203 | 7197 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7198 | |
7199 * boolMatrix.cc (boolMatrix::operator !): New function. | |
7200 | |
3196 | 7201 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7202 | |
7203 * pathsearch.h (dir_path::default_path): New data member. | |
7204 * pathsearch.cc (dir_path::init): Use it. | |
7205 | |
7206 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. | |
7207 | |
3189 | 7208 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7209 | |
7210 * chMatrix.cc (charMatrix::extract): New function. | |
7211 (charMatrix::charMatrix (char c)): New constructor. | |
7212 | |
7213 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7214 | |
7215 * cmd-edit.h: (command_editor::do_read_init_file): New function. | |
7216 * cmd-edit.cc (command_editor::read_init_file): New function. | |
7217 (gnu_readline::do_read_init_file): Likewise. | |
7218 | |
3185 | 7219 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7220 | |
7221 * oct-env.cc (octave_env::do_get_home_directory): | |
7222 If HOME can't be found, set it to "/". | |
7223 (octave_env::do_get_user_name) | |
7224 If user name can't be found, set it to "unknown". | |
7225 (octave_env::do_get_host_name) | |
7226 If host name can't be found, set it to "unknown". | |
7227 | |
7228 * pathsearch.h (dir_path::rehash): New function. | |
7229 * pathsearch.cc (dir_path::init): Clear kpathsea's internal | |
7230 diretcory cache before doing initialization. | |
7231 | |
3180 | 7232 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7233 | |
3185 | 7234 * dMatrix.cc (Qzval): Delete. |
7235 (qzhes, qzit, qzval): Delete F77_FCN declarations. | |
7236 * dMatrix.h (Qzval): Delete declaration. | |
7237 | |
7238 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. | |
7239 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. | |
7240 * mx-ext.h: Don't include dbleGEPBAL. | |
7241 | |
3180 | 7242 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
7243 static_cast. | |
7244 | |
7245 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7246 | |
7247 * dMatrix.cc (Matrix::read): Skip after reading, not before. | |
7248 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. | |
7249 | |
7250 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7251 | |
7252 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on | |
7253 HUGE_VAL and NAN. | |
7254 | |
7255 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7256 | |
7257 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
7258 Handle x(i) = scalar for do_fortran_indexing == 1. | |
7259 | |
7260 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7261 | |
7262 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): | |
7263 Alloctate space before attempting to use it. | |
7264 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. | |
7265 | |
5095 | 7266 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
3178 | 7267 |
7268 * EIG.cc (EIG::init): Move invariant code outside loop. | |
7269 | |
7270 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7271 | |
7272 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result | |
7273 have the same size as the operands. | |
7274 | |
7275 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7276 | |
7277 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the | |
7278 call to ddassl, set integration_error to 1 before calling the | |
7279 error handler and returning. | |
7280 * LSODE.cc (LSODE::do_integrate): Likewise. | |
7281 | |
3177 | 7282 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7283 | |
7284 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if | |
7285 do_fortran_indexing is set, A([]) = scalar. | |
7286 * Array-idx.h (assign): Allow A([]) = scalar. | |
7287 | |
3176 | 7288 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7289 | |
7290 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not | |
7291 if dm_nc == 0. | |
7292 | |
3174 | 7293 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7294 | |
7295 * pathsearch.h (dir_path::p_orig): New field. | |
7296 * pathsearch.cc (dir_path::init): Perform variable and tilde | |
7297 expansion on the original path here. | |
7298 (dir_path::find_all): Don't do anything if not initialized. | |
7299 | |
3164 | 7300 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7301 | |
7302 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing | |
7303 is not set. | |
7304 (index): Allow x = zeros (2, 0); x(1,:) to work. | |
7305 | |
7306 * lo-specfun.cc (gammainc): Use dgamit to compute | |
7307 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just | |
7308 \int_0^x exp(-t) t^(a-1) dt. | |
7309 | |
7310 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7311 | |
7312 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, | |
7313 Array-s.cc: Change return types of all `assign' explicit | |
7314 instantiations to be int, not void, to match the template decl in | |
7315 Array.h. | |
7316 | |
3162 | 7317 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7318 | |
7319 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. | |
7320 | |
3156 | 7321 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7322 | |
7323 * lo-specfun.cc (xgamma, xlgamma): Define here. | |
7324 * lo-mappers.cc: Not here. | |
7325 | |
7326 * lo-specfun.h: Declare xgamma and xlgamma here. | |
7327 * lo-mappers.h: Not here. | |
7328 | |
7329 * lo-specfun.h: Never declare gamma or lgamma. | |
7330 | |
3154 | 7331 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7332 | |
7333 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an | |
7334 empty matrix of any dimension. | |
7335 | |
3145 | 7336 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7337 | |
3147 | 7338 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
7339 | |
3146 | 7340 * lo-specfun.cc: Don't include dbleBessel.h. |
7341 | |
7342 * Makefile.in (INCLUDES): Delete oct-math.h from the list. | |
7343 | |
3145 | 7344 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
7345 * file-stat.h (file_stat::operator bool ()): Likewise. | |
7346 * idx-vector.h (idx_vector::operator bool ()): Likewise. | |
7347 * oct-group.h (octave_group::operator bool ()): Likewise. | |
7348 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. | |
7349 | |
7350 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): | |
7351 Don't cast arg in call to swap_8_bytes. | |
7352 (IEEE_big_double_to_IEEE_little_double): Ditto | |
7353 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to | |
7354 swap_4_bytes. | |
7355 (IEEE_little_float_to_IEEE_big_float): Ditto | |
7356 | |
7357 * oct-alloc.cc (grow): Use X_CAST, not static_cast. | |
7358 * prog-args.cc (prog_args::getopt): Likewise. | |
7359 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. | |
7360 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. | |
7361 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): | |
7362 Likewise. | |
7363 | |
7364 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, | |
7365 swap_8_bytes): Declare ptr arg as void*, then use cast. | |
7366 | |
3141 | 7367 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7368 | |
7369 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). | |
7370 Use $(mk-libdir-link). | |
7371 | |
7372 * file-stat.cc (file_stat::update_internal): Use stat and lstat, | |
7373 not SAFE_STAT and SAFE_LSTAT. | |
7374 (lstat): New function, defined if HAVE_LSTAT is not defined. | |
7375 * safe-xstat.hin, safe-xstat.cin: Delete. | |
7376 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, | |
7377 safe-lstat.h, and safe-lstat.cc. | |
7378 | |
3136 | 7379 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7380 | |
7381 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. | |
7382 | |
3130 | 7383 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7384 | |
7385 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the | |
7386 trace is negative. | |
7387 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if | |
7388 the real part of the trace is negative. | |
7389 | |
7390 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7391 | |
7392 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. | |
7393 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. | |
7394 | |
7395 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] | |
7396 to succeed. | |
7397 | |
3125 | 7398 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7399 | |
7400 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. | |
7401 (make_uniq): Likewise. | |
7402 | |
7403 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7404 | |
7405 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. | |
7406 | |
3119 | 7407 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7408 | |
3121 | 7409 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
7410 | |
7411 * lo-specfun.h, lo-specfun.cc: New files. | |
3119 | 7412 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
7413 | |
3121 | 7414 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
7415 oct-math.h: Delete. | |
7416 * Makefile.in (SOURCES): Delete them from the list. | |
7417 | |
3112 | 7418 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7419 | |
7420 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. | |
7421 | |
5095 | 7422 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
3107 | 7423 |
7424 Changes to make support egcs snapshots that implement explicit | |
7425 specification of template functions according to CD2. | |
7426 | |
7427 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit | |
7428 template function specs for template friends. | |
7429 * MArray2.h: Likewise. | |
7430 * MDiagArray2.h: Likewise. | |
7431 | |
3095 | 7432 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7433 | |
7434 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) | |
7435 | |
3092 | 7436 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
7437 | |
7438 * CRowVector.cc (linspace): Removed attempt for implicit conversion | |
7439 to complex<double>(int) instead of complex<double>(double). | |
7440 | |
7441 * lo-mappers.cc (atanh): Ditto. | |
7442 | |
3079 | 7443 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7444 | |
7445 * idx-vector.cc (IDX_VEC_REP::sort): New function. | |
7446 * idx-vector.h (idx_vector::sort): Ditto. | |
7447 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before | |
7448 trying to delete elements specified by the index vectors. | |
7449 | |
3075 | 7450 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7451 | |
7452 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. | |
7453 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. | |
7454 | |
3074 | 7455 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7456 | |
7457 * file-ops.cc (tilde_expand_word): Fix off-by-one error. | |
7458 | |
3069 | 7459 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7460 | |
7461 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. | |
7462 Call error handler if we can't find the current directory. | |
7463 | |
3068 | 7464 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7465 | |
3069 | 7466 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
7467 (xfinite (double)): Ditto. | |
7468 | |
3068 | 7469 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
7470 * CmplxQR.cc (ComplexQR::init): Ditto. | |
7471 | |
3056 | 7472 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7473 | |
7474 * lo-mappers.cc (acos (const Complex&)): Select branch that is | |
7475 compatible with Matlab. | |
7476 | |
3050 | 7477 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7478 | |
7479 * Array2-idx.h: Correctly handle empty matrices indexed by a | |
7480 single colon. | |
7481 | |
3040 | 7482 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7483 | |
3049 | 7484 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
7485 (xgamma): Likewise, for calling xdgamma. | |
7486 | |
3042 | 7487 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
7488 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. | |
7489 | |
3040 | 7490 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
7491 to do better job expanding tildes. | |
7492 | |
7493 * str-vec.cc (string_vector::string_vector (const char * const *): | |
7494 Use temporary variable to compute length. | |
7495 | |
3029 | 7496 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7497 | |
3034 | 7498 * Makefile.in: Make building of static library optional. |
3036 | 7499 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034 | 7500 |
3029 | 7501 * Makefile.in (stamp-picdir): Delete. |
7502 (pic): New target. Don't worry so much about creating pic | |
7503 directory only when it is really needed. | |
7504 (stamp-interp): Delete. | |
7505 (libraries): New target. Depend on shared library directly. | |
7506 | |
3024 | 7507 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7508 | |
7509 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): | |
7510 New static function. | |
7511 | |
3012 | 7512 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7513 | |
7514 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. | |
7515 | |
3004 | 7516 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7517 | |
7518 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to | |
7519 set_basic_quote_characters, to match new version of readline. | |
7520 | |
7521 * cmd-edit.cc (do_restore_terminal_state): Call readline function | |
7522 for restoring terminal state through rl_deprep_term_function, now | |
7523 declared in readline.h | |
7524 (rl_deprep_terminal): Delete declaration. | |
7525 | |
2993 | 7526 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7527 | |
7528 * Makefile.in (install-in): Use new mk-includedir-link macro. | |
7529 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. | |
7530 | |
2968 | 7531 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7532 | |
7533 * cmd-edit.cc (command_editor::increment_current_command_number): | |
7534 New static function. | |
7535 | |
2964 | 7536 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7537 | |
2966 | 7538 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
7539 the vector is not sorted. | |
7540 | |
2964 | 7541 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
7542 * dMatrix.cc (Matrix::operator !): Likewise | |
7543 | |
2941 | 7544 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7545 | |
7546 * oct-syscalls.h, oct-syscalls.cc: New files. | |
7547 | |
7548 * cmd-edit.h, cmd-edit.cc: Handle completion function. | |
7549 | |
7550 * str-vec.h, str-vec.cc (string_vector::uniq): New function. | |
7551 | |
2938 | 7552 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7553 | |
2941 | 7554 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
7555 (install-inc): Use it. | |
7556 | |
2938 | 7557 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
7558 Handle errors and missing functions consistently. | |
7559 | |
7560 * oct-group.h, oct-group.cc: New files. | |
7561 | |
7562 * oct-passwd.cc: Handle errors and missing functions consistently. | |
7563 | |
7564 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. | |
7565 | |
2934 | 7566 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7567 | |
7568 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. | |
7569 * oct-env.cc (octave_env::do_get_user_name): Likewise. | |
7570 | |
7571 * oct-passwd.h, oct-passwd.cc: New files. | |
7572 | |
2926 | 7573 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7574 | |
7575 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. | |
7576 | |
7577 * mach-info.h, mach-info.cc: Add missing const qualifiers. | |
7578 (instance_ok ()): New function. | |
7579 | |
7580 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. | |
7581 | |
7582 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. | |
7583 | |
7584 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from | |
7585 src/utils.h and src/utils.cc. | |
7586 (octave_fgets): New function, extracted from src/input.cc. | |
7587 | |
7588 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for | |
7589 GNU readline, and allow Octave to work without GNU readline. | |
7590 | |
7591 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous | |
7592 system-dependent functions. | |
7593 | |
7594 * oct-env.h, oct-env.cc: New files for process environment stuff. | |
7595 | |
7596 * file-stat.h, file-stat.cc: New files. Extract file_stat class | |
7597 from file-ops.h and file-ops.cc and move here. | |
7598 | |
7599 * file-ops.h, file-ops.cc: Wrap functions in struct. Move | |
7600 tilde_expand functions here from src/dirfns.cc. | |
7601 | |
7602 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7603 | |
7604 * pathlen.h: New file, from ../src. | |
7605 | |
2917 | 7606 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7607 | |
7608 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent | |
7609 out-of-bounds indexing of the index array. | |
7610 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. | |
7611 | |
2850 | 7612 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7613 | |
7614 * LSODE.h (x_step_limit): New field. | |
7615 (LSODE_options::init): Initialize it. | |
7616 (LSODE_options::copy): Copy it. | |
7617 (LSODE_options::set_step_limit, LSODE_options::step_limit): | |
7618 New functions. | |
7619 (LSODE::working_too_hard): Delete. | |
7620 * LSODE.cc (LSODE::do_integrate): Handle step limit. | |
7621 | |
2844 | 7622 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7623 | |
7624 * MArray-b.cc: Delete. | |
7625 * Makefile.in: Delete it from the lists. | |
7626 | |
7627 * boolMatrix.h (class bboolMatrix): Derive from Array2, not | |
7628 MArray2, since most of the numeric ops don't really make sense. | |
7629 | |
2829 | 7630 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7631 | |
2832 | 7632 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
7633 | |
7634 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. | |
7635 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. | |
7636 | |
2830 | 7637 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
7638 idx_vector::freeze): Delete prefer_zero_one arg. | |
7639 * Array-idx.h, Array2-idx.h: Change all callers. | |
7640 | |
7641 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. | |
7642 | |
2829 | 7643 * mx-op-defs.h: New file for operator definitions. |
7644 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, | |
7645 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, | |
7646 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, | |
7647 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, | |
7648 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, | |
7649 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, | |
7650 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, | |
7651 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, | |
7652 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, | |
7653 mx-s-cm.cc, mx-s-dm.cc: | |
7654 New files for mixed-type operations. | |
7655 * Makefiles.in: Add them to the appropriate lists. | |
7656 | |
7657 * mx-inlines.cc: Add bool by bool EQ ops. | |
7658 | |
7659 * idx-vector.h, idx-vector.cc: Add constructors for bool and | |
7660 boolMatrix types. | |
7661 (idx_vector::maybe_convert_one_zero_to_idx, | |
7662 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): | |
7663 Delete second arg, prefer_zero_one. Change all callers. | |
7664 | |
7665 * boolMatrix.h, boolMatrix.cc: New files. | |
7666 * mx-base.h: Include boolMatrix.h here. | |
7667 * mx-defs.h: Provide forward declaration for boolMatrix here. | |
7668 | |
7669 * chMatrix.h, chMatrix.cc: Delete unused junk. | |
7670 | |
7671 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, | |
7672 operator-, operator*, product, and quotient functions. | |
7673 Add constructor for boolMatrix type. | |
7674 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, | |
7675 product, and quotient functions. | |
7676 | |
7677 * CDiagMatrix.h: Delete friend declarations for operator+, | |
7678 operator-, and product functions. | |
7679 * CDiagMatrix.h: Delete operator+, operator-, and product functions. | |
7680 | |
7681 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. | |
7682 | |
2815 | 7683 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7684 | |
7685 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. | |
7686 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. | |
7687 (EIG::symmetric_init (const Matrix&)): New function. | |
7688 (EIG::init (const Matrix&)): Call it if arg is symmetric. | |
7689 | |
7690 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. | |
7691 | |
7692 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7693 | |
7694 * Array2.cc (is_symmetric): New function. | |
7695 * Array2.h (is_square): New function. | |
7696 | |
2811 | 7697 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7698 | |
7699 * Makefile.in (install-strip): New target. | |
7700 | |
2804 | 7701 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7702 | |
7703 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
7704 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, | |
7705 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
7706 dbleSVD.cc: Don't include mx-inlines.cc. | |
7707 | |
7708 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of | |
7709 duplicate code. | |
7710 | |
2800 | 7711 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7712 | |
2804 | 7713 * dbleQR.h (QR): Delete extra comma at end of list. |
7714 | |
7715 * prog-args.cc (prog_args::getopt): Add missing const in cast. | |
7716 | |
7717 * dbleSVD.h (SVD::type): Delete extra comma at end of list. | |
7718 | |
7719 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and | |
7720 idx_vecotr_rep:: qualifiers. | |
7721 | |
7722 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. | |
7723 | |
7724 * data-conv.h (save_type): Delete extra comma at end of list. | |
7725 | |
2800 | 7726 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
7727 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, | |
7728 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of | |
7729 old C-style `(T) val' casts. | |
7730 | |
2795 | 7731 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7732 | |
7733 * dMatrix.cc (operator >>): Return if an error occurs instead of | |
7734 just breaking out of the innermost loop. | |
7735 * CMatrix.cc (operator >>): Likewise. | |
7736 | |
2779 | 7737 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775 | 7738 |
7739 * Version 2.0.5 released. | |
7740 | |
2767 | 7741 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7742 | |
7743 * CmplxQR.cc (ComplexQR::init): New function. | |
7744 (ComplexQR::ComplexQR): Use it. Use initializer list too. | |
7745 * CmplxQRP.cc (ComplexQRP::init): New function. | |
7746 Get sizes right in all cases. | |
7747 (ComplexQR::ComplexQRP): Use it. Use initializer list too. | |
7748 | |
7749 * dbleQR.cc (QR::init): New function. | |
7750 (QR::QR): Use it. Use initializer list too. | |
7751 * dbleQRP.cc (QRP::init): New function. | |
7752 Get sizes right in all cases. | |
7753 (QR::QRP): Use it. Use initializer list too. | |
7754 | |
2759 | 7755 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7756 | |
7757 * mach-info.cc (oct_mach_info::string_to_float_format): | |
7758 Recognize "vaxg", not "vax_g". | |
7759 | |
2713 | 7760 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7761 | |
2714 | 7762 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
7763 dimension in check for colon equivalent index. | |
7764 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element | |
7765 index whose value is 0 is also colon eqivalent for n == 1. | |
7766 | |
2713 | 7767 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
7768 system-specific tests first. | |
7769 | |
2709 | 7770 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702 | 7771 |
7772 * Version 2.0.4 released. | |
7773 | |
7774 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7775 | |
7776 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. | |
7777 | |
2693 | 7778 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690 | 7779 |
7780 * Version 2.0.3 released. | |
7781 | |
2686 | 7782 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7783 | |
7784 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. | |
7785 | |
2673 | 7786 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7787 | |
2676 | 7788 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
7789 (all): Don't depend on stamp-prereq or stamp-picdir. | |
7790 (liboctave.a, stamp-shared): Do depend on stamp-prereq. | |
7791 (stamp-picdir): Silence noise about making pic. | |
7792 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. | |
7793 | |
2673 | 7794 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
7795 Fix typo in last change. | |
7796 | |
7797 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): | |
7798 Convert from friend (moved from dColVector.cc). | |
7799 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): | |
7800 Likewise (moved from dMatrix.cc). | |
7801 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): | |
7802 Likewise (moved from dRowVector.cc). | |
7803 | |
7804 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. | |
7805 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. | |
7806 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. | |
7807 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. | |
7808 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. | |
7809 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. | |
7810 | |
7811 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. | |
7812 * dMatrix.cc (Matrix::apply): Likewise. | |
7813 * dRowVector.cc (RowVector::apply): Likewise. | |
7814 * CColVector.cc (ComplexColumnVector::apply): Likewise. | |
7815 * CMatrix.cc (ComplexMatrix::apply): Likewise. | |
7816 * CRowVector.cc (ComplexRowVector::apply): Likewise. | |
7817 | |
2668 | 7818 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7819 | |
7820 * lo-ieee.cc: Declare quiet_nan() and infinity(). | |
7821 | |
7822 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7823 | |
7824 * file-ops.cc (oct_unlink (const string&, string&)): | |
7825 New two-arg version. | |
7826 (oct_rmdir (const string&, string&)): New two-arg version. | |
7827 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. | |
7828 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. | |
7829 (oct_rename (const string&, const string&, string&)): | |
7830 New three-arg version. | |
7831 | |
2663 | 7832 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7833 | |
7834 * idx-vector.h (idx_vector::orig_empty): New function. | |
7835 | |
7836 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): | |
7837 Don't always resize to [](0x0) if one of the indices is empty or | |
7838 zero. | |
7839 | |
2658 | 7840 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7841 | |
7842 * cmd-hist.cc (command_history::read): New arg, must_exist. | |
7843 Set line_in_file here too. | |
7844 (command_history::read_range): New arg, must_exist. | |
7845 | |
2651 | 7846 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7847 | |
7848 * f2c-main.c: Change C++-style comments to C-style comments. | |
7849 | |
2638 | 7850 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7851 | |
7852 * Makefile.in (install-inc): Create a relative symbolic link. | |
7853 | |
2634 | 7854 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7855 | |
7856 * Version 2.0.2 released. | |
7857 | |
2624 | 7858 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7859 | |
7860 * Makefile.in (bin-dist): New target. | |
7861 | |
2621 | 7862 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7863 | |
7864 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. | |
7865 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. | |
7866 | |
2613 | 7867 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7868 | |
7869 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
7870 If the number of columns is zero, also set the number of rows to zero. | |
7871 (charMatrix::charMatrix (const char *)): Likewise. | |
7872 | |
2602 | 7873 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7874 | |
7875 * Version 2.0.1 released. | |
7876 | |
2601 | 7877 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7878 | |
7879 * dMatrix.cc (Matrix::read): Correctly compute the number of | |
7880 columns for resizing when the number of rows is specified but the | |
7881 number of columns is not. | |
7882 | |
2598 | 7883 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7884 | |
2599 | 7885 * Range.cc (operator -): New function. |
7886 | |
2598 | 7887 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
7888 | |
2589 | 7889 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7890 | |
7891 * Array2-idx.h (assign): Delay resizing left hand side until we | |
7892 know if the assignment conforms. | |
7893 | |
2583 | 7894 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7895 | |
7896 * Version 2.0 released. | |
7897 | |
2570 | 7898 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7899 | |
2575 | 7900 * Array2-idx.h (assign): If index is a colon, set number of |
7901 elements to the lhs dimension if the lhs dimension is greater than | |
7902 zero. Otherwise, set it to the rhs dimension. | |
7903 | |
7904 * Version 1.94. | |
7905 | |
2570 | 7906 * Array2-idx.h (assign): Test for rhs scalar case first. |
7907 If index is colon, set number of elements to lhs dimension, not | |
7908 rhs dimension. | |
7909 | |
2563 | 7910 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7911 | |
2566 | 7912 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
7913 * sun-utils.cc: Delete. | |
7914 * f2c-main.c: New file | |
7915 | |
7916 * Makefile.in: Fix file name lists. | |
7917 | |
2563 | 7918 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
7919 | |
2561 | 7920 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7921 | |
7922 * dMatrix.cc (Qzval): Don't try to use same memory three times. | |
7923 Create result using Complex constructor, not multiplication. | |
7924 Order elements as they are returned from Eispack. | |
7925 | |
2559 | 7926 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7927 | |
2560 | 7928 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
7929 Only include nan.h if SCO is defined. Define _IEEE before | |
7930 including it and undefine it afterward. | |
7931 [SCO] (isnan): Don't mistake Inf as NaN. | |
7932 | |
2559 | 7933 * Array-idx.h (assign): Only resize if assignment conforms. |
7934 | |
2551 | 7935 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7936 | |
7937 * Makefile.in (INCLUDES): Delete lo-error.h. | |
7938 * lo-error.h: Delete (moved to libcruft/misc). | |
7939 | |
7940 * Version 1.93. | |
7941 | |
2546 | 7942 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7943 | |
2549 | 7944 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
7945 be the same as they are in fnmatch.h. | |
7946 | |
2546 | 7947 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
7948 | |
7949 * Makefile.in (INCLUDES): Delete f77-fcn.h. | |
7950 (SOURCES): Delete f77-fcn.c. | |
7951 | |
2522 | 7952 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7953 | |
7954 * lo-ieee.h: [SCO]: Declare isinf and isnan. | |
7955 | |
2512 | 7956 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7957 | |
7958 * Version 1.92. | |
7959 | |
2508 | 7960 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7961 | |
2512 | 7962 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
7963 lines that have only carriage return or newline. | |
7964 | |
2508 | 7965 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
7966 | |
2500 | 7967 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7968 | |
7969 * idx-vector.cc (idx_is_inf_or_nan): New function. | |
7970 (IDX_VEC_REP::idx_vector_rep): Use it. | |
7971 | |
2493 | 7972 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7973 | |
7974 * str-vec.h, str-vec.cc: Add constructors to make string vectors | |
7975 from vectors of C strings. | |
7976 | |
7977 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string | |
7978 vector. | |
7979 (glob_match::match): Allow match string to be a string vector. | |
7980 (glob_match::glob): New function. | |
7981 | |
7982 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. | |
7983 | |
7984 * Array-b.cc: New file. | |
7985 * Makefile.in (TI_SRC): Add it to the list. | |
7986 | |
2492 | 7987 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7988 | |
7989 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h | |
7990 and safe-stat.h, to avoid getting them from $srcdir when we really | |
7991 want the version from the build directory. (Maybe this should be | |
7992 done for all the include files, not just those that are | |
7993 auto-generated? Hmm.) | |
7994 | |
2481 | 7995 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7996 | |
2482 | 7997 * Version 1.91. |
7998 | |
2481 | 7999 * Array3.cc (Array3<T>::resize): Make it work. |
8000 | |
8001 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8002 | |
8003 * oct-alloc.h, oct-alloc.cc: New files. | |
8004 * Makefile.in: Add them to the lists. | |
8005 | |
8006 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8007 | |
8008 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. | |
8009 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. | |
8010 | |
2466 | 8011 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8012 | |
8013 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, | |
8014 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
8015 file_stat::is_reg, file_stat::is_sock): Just return false if the | |
8016 underlying macro is not defined. | |
8017 | |
8018 * oct-math.h (lgamma, gamma): Delete declarations. | |
8019 (asinh, acosh, atanh, erf, erfc): Declare arg types too. | |
8020 Protect declarations with #ifdef HAVE_*. | |
8021 | |
2440 | 8022 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8023 | |
2452 | 8024 * Version 1.90. |
8025 | |
8026 * Makefile.in (DISTFILES): Add ChangeLog. | |
8027 | |
2444 | 8028 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
8029 | |
8030 * Matrix-ext.cc: Include <cfloat>, not <float.h>. | |
8031 | |
2443 | 8032 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444 | 8033 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
8034 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. | |
2443 | 8035 |
2440 | 8036 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
8037 since that is now accepatble syntax, even for built-in types. | |
8038 * Array2.h (T Array2<T>::checkelem): Likewise | |
8039 | |
2433 | 8040 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8041 | |
8042 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error | |
8043 message and return -1. | |
8044 | |
2428 | 8045 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8046 | |
2431 | 8047 * str-vec.h (str_vec_compare): Declare args as const void *, then |
8048 cast them to const string * in the body of the function. | |
8049 | |
8050 * file-ops.cc (file_stat::mode_as_string): Explicitly construct | |
8051 string from buf. | |
8052 | |
2428 | 8053 * Array3.h (Array3::checkelem): Tag bogus return value with |
8054 GCC_ATTRIBUTE_UNUSED. | |
8055 * Array2.h (Array2::checkelem): Likewise. | |
8056 | |
2424 | 8057 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8058 | |
8059 * Quad.h (Quad): Define virtual destructor. | |
8060 | |
2408 | 8061 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8062 | |
8063 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. | |
8064 | |
2401 | 8065 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8066 | |
8067 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ | |
8068 and MAIN__ extern "C". | |
8069 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. | |
8070 | |
2391 | 8071 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8072 | |
8073 * MArray-misc.cc: New file. | |
8074 * Makefile.in (MATRIX_SRC): Add it to the list. | |
8075 | |
8076 * mx-inlines.cc (equal): Return bool, not int. | |
8077 | |
8078 * idx-vector.h (idx_vector (double)): New constructor. | |
8079 | |
8080 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, | |
8081 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, | |
8082 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, | |
8083 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, | |
8084 CRowVector.cc: Logical operators return bool, not int. | |
8085 | |
8086 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): | |
8087 New function. | |
8088 | |
8089 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, | |
8090 Matrix::any_element_is_inf_or_nan, Matrix::abs, | |
8091 Matrix::all_elements_are_inf_or_nan): New functions. | |
8092 | |
8093 * Range.h, Range.cc (Range::all_elements_are_ints): New function. | |
8094 | |
8095 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant | |
8096 for errors. Simplify macros by converting FCN to string for error | |
8097 messages. | |
8098 | |
8099 * Array-idx.h (Array<T>::index): New function. Don't call | |
8100 clear_index() here. | |
8101 (Array<T>::value): Call it, do call clear_index() here. | |
8102 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for | |
8103 one and two arg index functions. | |
8104 | |
8105 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8106 | |
8107 * DAEFunc.h: Delete #pragma interface since there is no longer a | |
8108 separate implementation file. | |
8109 | |
2354 | 8110 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8111 | |
2358 | 8112 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
8113 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. | |
8114 | |
2356 | 8115 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
8116 sort_uniq. If sort_uniq is nonzero, sort the elements and make | |
8117 them uniq. | |
8118 | |
2354 | 8119 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
8120 ComplexMatrix::column_max, ComplexMatrix::column_min): | |
8121 Rewrite. Also return index as a reference arg. | |
8122 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, | |
8123 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): | |
8124 Delete. | |
8125 | |
8126 * dMatrix.cc (Matrix::row_max, Matrix::row_min, | |
8127 Matrix::column_max, Matrix::column_min): | |
8128 Rewrite. Also return index as a reference arg. | |
8129 (Matrix::row_max_loc, Matrix::row_min_loc, | |
8130 Matrix::column_max_loc, Matrix::column_min_loc): Delete. | |
8131 | |
8132 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8133 | |
8134 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, | |
8135 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, | |
8136 Matrix::column_min_loc, Matrix::column_max, | |
8137 Matrix::column_max_loc): Ignore leading NaNs. | |
8138 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, | |
8139 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, | |
8140 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, | |
8141 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore | |
8142 leading NaNs. | |
8143 | |
2352 | 8144 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8145 | |
8146 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds | |
8147 starting at n, not 0. | |
8148 | |
2349 | 8149 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8150 | |
8151 * dMatrix.cc (Matrix::Matrix (const RowVector&), | |
8152 Matrix::Matrix (const ColumnVector&)): New constructors. | |
8153 | |
8154 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), | |
8155 ComplexMatrix::ComplexMatrix (const ColumnVector&), | |
8156 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), | |
8157 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): | |
8158 New constructors. | |
8159 | |
8160 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): | |
8161 New constructor. | |
8162 | |
2343 | 8163 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8164 | |
8165 * LSODE.cc (do_integrate): Check to make sure that the state and | |
8166 derivative vectors are the same size. | |
2344 | 8167 * DASSL.cc (do_integrate): Likewise. |
2343 | 8168 |
2330 | 8169 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8170 | |
8171 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use | |
8172 iostreams and handler data format conversions. Delete old methods | |
8173 that used stdio. | |
8174 | |
8175 * data-conv.h, data-conv.cc (oct_data_conv): New class. | |
8176 | |
8177 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8178 | |
8179 * mach-info.h: Rename from float-fmt.h. | |
8180 * mach-info.cc: Rename from float-fmt.cc. | |
8181 Handle machine information using a singlton class. | |
8182 * Makefile.in: Update appropriate lists. | |
8183 | |
8184 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8185 | |
8186 * Array-flags.cc: Provide definitions for the flags even if | |
8187 OCTAVE_SOURCE is not defined. | |
8188 | |
8189 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects | |
8190 operator(), not elem(). | |
8191 * Array3.h: Move indexing methods here from Array3.cc. | |
8192 | |
8193 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8194 | |
8195 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). | |
8196 | |
8197 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of | |
8198 INSTALL_DATA for shared libs. | |
8199 | |
8200 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8201 | |
8202 * Quad.cc: Include lo-error.h here too. | |
8203 | |
8204 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8205 | |
8206 * file-ops.h: Include sys/types.h here. | |
8207 | |
8208 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8209 | |
8210 * chMatrix.cc (charMatrix::transpose): Provide definition. | |
8211 | |
8212 * Array-idx.h (maybe_delete_elements): Correctly compute number of | |
8213 elements in result. | |
8214 * Array2-idx.h (maybe_delete_elements): Likewise for number of | |
8215 rows and columns in result. | |
8216 | |
8217 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8218 | |
8219 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. | |
8220 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. | |
8221 | |
8222 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8223 | |
8224 * Makefile.in (install-inc): Install in octincludedir, not includedir. | |
8225 | |
8226 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8227 | |
8228 * Makefile.in (uninstall): Also delete shared library. | |
8229 Split install into install-libs and install-includes. | |
8230 (install-inc): If linkdir is a directory, leave it alone. | |
8231 | |
8232 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. | |
8233 | |
8234 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8235 | |
8236 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. | |
8237 * Array2-idx.h (assign): Likewise. | |
8238 | |
8239 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8240 | |
8241 * Array2.cc (Array2<T>::range_error): New functions. | |
8242 | |
8243 * Array.h (class Array<T>): elem() and operator() are now | |
8244 equivalent, and do bounds checking by default. | |
8245 * Array2.cc (class Array2<T>): Likewise. | |
8246 | |
8247 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8248 | |
8249 * Makefile.in (maintainer-clean, distclean): Also delete | |
8250 stamp-picdir, stamp-shared, and pic directory. | |
8251 (stamp-prereq): New target. | |
8252 | |
8253 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8254 | |
8255 * NPSOL.h (NPSOL_options::set_option (const char *, int)): | |
8256 New function. | |
8257 | |
8258 * Array.h, Array.cc (Array<T>::range_error ()): New functions. | |
8259 * Array.h (Array<T>::checkelem): Use them. | |
8260 | |
8261 * base-lu.h, base-lu.cc: Parameterize based on types of matrix | |
8262 elements too. | |
8263 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. | |
8264 | |
8265 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. | |
8266 | |
8267 * Makefile.in (distclean): Delete so_locations, which is created | |
8268 on DEC Alpha systems. | |
8269 | |
8270 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8271 | |
8272 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not | |
8273 already defined. | |
8274 | |
8275 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8276 | |
8277 * pathsearch.cc: Include config.h. | |
8278 | |
8279 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8280 | |
8281 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't | |
8282 allow M(I, J) = scalar if I or J is empty. | |
8283 | |
8284 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h | |
8285 and Array3-idx.h). | |
8286 | |
8287 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8288 | |
8289 * lo-error.h: Make comments C friendly. | |
8290 | |
8291 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8292 | |
8293 * Array2.h (make_unique): Move all indexing functions here. | |
8294 * Array2.cc: From here. | |
8295 | |
8296 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control | |
8297 whether operator() calls elem or checkelem. | |
8298 | |
8299 * Array.h (make_unique): New private function. | |
8300 Move all indexing functions here. | |
8301 * Array.cc: From here. | |
8302 | |
8303 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference | |
8304 it too. | |
8305 | |
8306 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, | |
8307 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, | |
8308 MArray-C.cc: Include config.h. | |
8309 | |
8310 * Array.h, Array2.h, DiagArray2.h, Array3.h: | |
8311 Don't define HEAVYWEIGHT_INDEXING here. | |
8312 | |
8313 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8314 | |
8315 * base-lu.h, base-lu.cc: New files. | |
8316 * Makefile.in: Add them to the appropriate lists. | |
8317 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. | |
8318 | |
8319 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8320 | |
8321 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h | |
8322 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h | |
8323 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. | |
8324 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. | |
8325 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. | |
8326 | |
8327 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. | |
8328 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. | |
8329 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. | |
8330 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: | |
8331 Simplify using new macros. | |
8332 | |
8333 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8334 | |
8335 * Makefile.in (install): If $(includedir) ends in version string, | |
8336 make link to name that does not include version info. | |
8337 | |
8338 * lo-ieee.cc: Include <cmath> here. | |
8339 | |
8340 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8341 | |
8342 * lo-ieee.cc, lo-ieee.h: New files. | |
8343 * lo-mappers.cc, lo-mappers.h: New files. | |
8344 * lo-utils.cc, lo-utils.h: New files. | |
8345 * Makefile.in: Add them to the appropriate lists. | |
8346 | |
8347 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8348 | |
8349 * dMatrix.cc (all_integers, too_large_for_float): New functions. | |
8350 * CMatrix.cc (all_integers, too_large_for_float): New functions. | |
8351 | |
8352 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, | |
8353 float-fmt.cc: New files. | |
8354 * Makefile.in: Include them in the appropriate lists. | |
8355 | |
8356 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8357 | |
8358 * dMatrix.cc (Qzval): New function. | |
8359 | |
8360 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8361 | |
8362 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not | |
8363 char*. | |
8364 | |
8365 * DASSL.h, DASSL.cc: Do better management of temporary workspace. | |
8366 Use F77_XFCN to call Fortran subroutine. | |
8367 * dColVector.cc, CColVector.cc: Likewise. | |
8368 * dRowVector.cc, CRowVector.cc: Likewise. | |
8369 * NPSOL.h, NPSOL.cc: Likewise. | |
8370 * CmplxCHOL.cc: Likewise. | |
8371 * dbleCHOL.cc: Likewise. | |
8372 * CMatrix.cc: Likewise. | |
8373 * dMatrix.cc: Likewise. | |
8374 * QPSOL.cc: Likewise. | |
8375 * LSODE.cc: Likewise. | |
8376 | |
8377 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8378 | |
8379 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. | |
8380 | |
8381 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary | |
8382 workspace. Use F77_XFCN to call Fortran subroutine. | |
8383 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. | |
8384 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. | |
8385 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. | |
8386 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. | |
8387 * CmplxHESS.h, CmplxHESS.cc: Likewise. | |
8388 * CmplxSVD.h, CmplxSVD.cc: Likewise. | |
8389 * dbleHESS.h, dbleHESS.cc: Likewise. | |
8390 * dbleSVD.h, dbleSVD.cc: Likewise. | |
8391 * EIG.h, EIG.cc; Likewise. | |
8392 * CollocWt.cc: Likewise. | |
8393 * NLEqn.cc: Likewise. | |
8394 * Quad.cc: Likewise. | |
8395 | |
8396 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8397 | |
8398 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. | |
8399 Use F77_XFCN to call Fortran subroutine. | |
8400 * CmplxLU.h, CmplxLU.cc: Ditto. | |
8401 * dbleQR.h, dbleQR.cc: Ditto. | |
8402 * CmplxQR.h, CmplxQR.cc: Ditto. | |
8403 * dbleQRP.h, dbleQRP.cc: Ditto. | |
8404 * CmplxQRP.h, CmplxQRP.cc: Ditto. | |
8405 | |
8406 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. | |
8407 (struct DIR): delete forward declaration. | |
8408 (dir_entry::operator = (const dir_entry$)): Protect against | |
8409 copying same object. | |
8410 * dir-ops.cc: Cast dir appropriately. | |
8411 | |
8412 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8413 | |
8414 * lo-error.cc: Moved to libcruft/misc. | |
8415 * Makefile.in: Delete it from the list. | |
8416 | |
8417 * f77-fcn.c (f77_context, f77_exception_encountered): Delete | |
8418 definitions (they have been moved to libcruft/misc/f77-extern.cc). | |
8419 | |
8420 * Array-flags.h: New file. | |
8421 * Array-idx.h: Include it here. | |
8422 * Makefile.in (MATRIX_INC): Add it to the list. | |
8423 | |
8424 * Array-flags.cc: Renamed from Array-ext.cc. | |
8425 (liboctave_dfi_flag): Renamed from dfi_flag. | |
8426 (liboctave_pcv_flag): Renamed from pcv_flag. | |
8427 (liboctave_pzo_flag): Renamed from pzo_flag. | |
8428 (liboctave_rre_flag): Renamed from rre_flag. | |
8429 * Array-idx.h: Change all uses of dfi_flag, etc. | |
8430 * Makefile.in (MATRIX_SRC): Change file name here too. | |
8431 | |
8432 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. | |
8433 (stamp-shared): Use them here. | |
8434 | |
8435 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8436 | |
8437 * cmd-hist.cc (command_history::ignore_entries): Delete default | |
8438 argument value. | |
8439 | |
8440 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8441 | |
8442 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, | |
8443 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, | |
8444 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, | |
8445 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: | |
8446 Clean up constructors, assigment operator. | |
8447 | |
8448 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8449 | |
8450 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. | |
8451 Check f77_exception_encountered on return. | |
8452 | |
8453 * f77-fcn.c (f77_exception_encountered): New variable. | |
8454 (F77_XFCN): Set it. | |
8455 * f77-fcn.h: Provide declaration. | |
8456 | |
8457 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). | |
8458 | |
8459 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). | |
8460 | |
8461 * NLEqn.h (NLEqn_options::set_options): New function. | |
8462 * Quad.h (Quad_options::set_options): Likewise. | |
8463 | |
8464 * LP.h (class LP): Add accessors for LP data. | |
8465 | |
8466 * NLEqn.h (NLEqn::n): Delete. | |
8467 | |
8468 * NLEqn.h (class NLEqn::n): Likewise. | |
8469 | |
8470 * NLP.h (class NLP): Add accessors for NLP data. | |
8471 | |
8472 * NPSOL.h (class NPSOL_options): Move constructors, set, and | |
8473 access functions here. | |
8474 * NPSOL.cc.cc: From here. | |
8475 | |
8476 * QLD.h (class QLD): Add destructor definition. | |
8477 * Objective.h (class Objective): Likewise. | |
8478 * ODEFunc.h (class ODEFunc): Likewise. | |
8479 * NLFunc.h (class NLFunc): Likewise. | |
8480 * NLEqn.h (class NLEqn): Likewise. | |
8481 * NLConst.h (class NLConst): Likewise. | |
8482 * LinConst.h (class LinConst): Likewise. | |
8483 * LSODE.h (class LSODE_options): Likewise. | |
8484 * CollocWt.h (class CollocWt): Likewise. | |
8485 * Bounds.h (class Bounds): Likewise. | |
8486 | |
8487 * QLD.cc (QLD::set_default_options): Delete. | |
8488 | |
8489 * QP.h (QP): Add accessors for QP data. | |
8490 Add copy constructor, operator =, and destructor definitions. | |
8491 | |
8492 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, | |
8493 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, | |
8494 DAEFunc.h, CollocWt.h, Bounds.h: | |
8495 Clean up constructors, assigment operator. | |
8496 | |
8497 * dRowVector.cc (RowVector::transpose): Use magic of reference | |
8498 counting to avoid duplicating the data immediately. | |
8499 * dColVector.cc (ColumnVector::transpose): Likewise. | |
8500 * CRowVector.cc (ComplexrowVector::transpose): Likewise. | |
8501 * CColVector.cc (ComplexColumnVector::transpose): Likewise. | |
8502 | |
8503 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8504 | |
8505 * prog-args.h (prog_args::option_argument): New enum. | |
8506 | |
8507 * f77-fcn.h: Rename from f77-uscore.h. | |
8508 (F77_XFCN_ERROR, F77_XFCN): New macros. | |
8509 * f77-fcn.c: New file. | |
8510 * Makefile.in (SOURCES): Add it to the list. | |
8511 | |
8512 * ODEFunc.h: Clean up. | |
8513 | |
8514 * DASSL.cc, DASSL.h: New files. | |
8515 * Makefile.in: Add them to the appropriate lists. | |
8516 | |
8517 * LSODE.cc, LSODE.h: New files. | |
8518 * Makefile.in: Add them to the appropriate lists. | |
8519 | |
8520 * ODE.cc: Delete. | |
8521 * Makefile.in (SOURCES): Remove from list. | |
8522 | |
8523 * base-de.h, DAE.cc: New files. | |
8524 * Makefile.in: Add them to the appropriate lists. | |
8525 * ODE.h: Only define interface for ODE classes. | |
8526 * DAE.h: Only define interface for ODE classes. | |
8527 | |
8528 * LPsolve.cc (do_minimize): Print sorry not implemented message. | |
8529 (LPsolve::set_default_options)): Delete | |
8530 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and | |
8531 destructor. | |
8532 | |
8533 * LP.h (class LP): Add operator =, copy constructor, and destructor. | |
8534 | |
8535 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. | |
8536 (QPSOL::operator =): Call base class operator = instead of assuming | |
8537 we know what to copy. | |
8538 | |
8539 * base-min.h (size): New function. | |
8540 | |
8541 * NLP.h (NLP::size): Delete. | |
8542 (NLP::NLP (const NLP&)): New constructor. | |
8543 (NLP::operator =): Call base class operator = instead of assuming | |
8544 we know what to copy. | |
8545 | |
8546 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. | |
8547 (class NPSOL): Add operator = and destructor. | |
8548 | |
8549 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. | |
8550 | |
8551 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8552 | |
8553 * Makefile.in (liboctave.a): Depend on $(PICOBJ). | |
8554 | |
8555 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8556 | |
8557 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. | |
8558 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. | |
8559 | |
8560 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8561 | |
8562 * prog-args.h, prog-args.cc: New files. | |
8563 * Makefile.in: Add them to lists. | |
8564 | |
8565 * getopt.h, getopt.c, getopt1.c: New files. | |
8566 * Makefile.in: Add them to the lists. | |
8567 | |
8568 * oct-term.h, oct-term.cc: New files. | |
8569 * Makefile.in: Add them to the lists. | |
8570 | |
8571 * str-vec.cc: New file. | |
8572 * Makefile.in (SOURCES): Add it to the list. | |
8573 | |
8574 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. | |
8575 | |
8576 * tempname.c, tempnam.c: Move here from src directory. | |
8577 * Makefile.in: Add to lists. | |
8578 | |
8579 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8580 | |
8581 * cmd-hist.h, cmd-hist.cc: New files. | |
8582 * Makefile.in: Add them to lists. | |
8583 | |
8584 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8585 | |
8586 * oct-glob.h, oct-glob.cc: New files. | |
8587 * Makefile.in: Add them to lists. | |
8588 | |
8589 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8590 | |
8591 * pathsearch.h, pathsearch.cc: New files. | |
8592 * Makefile.in: Add them to lists. | |
8593 | |
8594 * dir-ops.h, dir-ops.cc: New files. | |
8595 * sysdir.h: Move here from src directory. | |
8596 * Makefile.in: Add them to lists. | |
8597 | |
8598 * Array.h (Array::qsort): Return *this, not void. | |
8599 * str-vec.h (string_vector::qsort): Likewise. | |
8600 | |
8601 * chMatrix.cc (row_as_string): Resize result to eliminate | |
8602 unnecessary NULs. | |
8603 | |
8604 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8605 | |
8606 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, | |
8607 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: | |
8608 Files moved here from src directory. | |
8609 * Makefile.in: Add them to lists. Include appropriate rules. | |
8610 | |
8611 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
8612 Use pointers, not references (this is C code!). | |
8613 | |
8614 * oct-math.h: New file. | |
8615 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
8616 Files moved here from src directory. | |
8617 * Makefile.in: Add them to lists. | |
8618 | |
8619 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8620 | |
8621 * idx-vector.cc (make_uniq): Fix major brain-o. | |
8622 | |
8623 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: | |
8624 Convert to use string class instead of char*. | |
8625 | |
8626 * str-vec.h, Array-str.cc: New files. | |
8627 | |
8628 * Array.h (Array::qsort): New function. | |
8629 | |
8630 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8631 | |
8632 * Array.h: Nest ArrayRep class inside Array class. | |
8633 Refer to ArrayRep, not ArrayRep<T>. | |
8634 Move all ArrayRep functions inline. | |
8635 Don't declare other Array classes as friends of ArrayRep. | |
8636 * Array.cc: Delete ArrayRep functions. | |
8637 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. | |
8638 | |
8639 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: | |
8640 Don't instantiate ArrayRep objects. | |
8641 | |
8642 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8643 | |
8644 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
8645 New constructor. | |
8646 | |
8647 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8648 | |
8649 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* | |
8650 for balance_job arg. | |
8651 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. | |
8652 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. | |
8653 | |
8654 * chMatrix.cc (row_as_string): Return string, not const char*. | |
8655 | |
8656 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8657 | |
8658 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. | |
8659 | |
8660 * chMatrix.cc (row_as_string): Undo previous change. | |
8661 | |
8662 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8663 | |
8664 * chMatrix.cc (row_as_string): Do memory management here. Caller | |
8665 is expected to save string if necessary. | |
8666 | |
8667 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8668 | |
8669 * Array.h (class DiagArray): Enable nested Proxy class for all | |
8670 platforms. | |
8671 | |
8672 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == | |
8673 a.rep, don't mess with count. | |
8674 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, | |
8675 don't do anything if reps are the same. | |
8676 (Array3<T>& operator = (const Array3<T>&) | |
8677 | |
8678 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): | |
8679 Declare private with no definition to prevent misuse. | |
8680 | |
8681 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): | |
8682 Get range check right. | |
8683 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. | |
8684 (Matrix::insert (const ColumnVector&, int, int)): Ditto. | |
8685 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. | |
8686 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. | |
8687 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. | |
8688 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. | |
8689 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. | |
8690 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. | |
8691 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. | |
8692 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. | |
8693 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. | |
8694 * dColVector.cc | |
8695 (ColumnVector::insert (const ColumnVector&, int)): Ditto. | |
8696 * CRowVector.cc | |
8697 (ComplexRowVector::insert (const RowVector&, int)): Ditto. | |
8698 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. | |
8699 * CColVector.cc | |
8700 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. | |
8701 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. | |
8702 | |
8703 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): | |
8704 Also fill in zeros, not just the diagonal. | |
8705 | |
8706 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): | |
8707 Use END parameter properly. | |
8708 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. | |
8709 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. | |
8710 | |
8711 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. | |
8712 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. | |
8713 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): | |
8714 Don't copy count. Set it to 1. | |
8715 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. | |
8716 | |
8717 * Array.h (Array<T>::Array (T *, int)): After constructing rep, | |
8718 don't set rep->count to 1 here (now handled by ArrayRep | |
8719 constructors). | |
8720 (Array<T>::Array (void)): Ditto. | |
8721 (Array<T>::Array (int)): Ditto. | |
8722 (Array<T>::T& elem (int)): Ditto. | |
8723 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. | |
8724 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. | |
8725 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. | |
8726 (Array<T>::resize (int)): Ditto. | |
8727 (Array<T>::resize (int, const T&)) :Ditto. | |
8728 (Array<T>::fortran_vec (void)): Ditto. | |
8729 (Array2<T>::resize (int, int)): Ditto. | |
8730 (Array2<T>::resize (int, int, const T&)): Ditto. | |
8731 (DiagArray<T>::resize (int, int)): Ditto. | |
8732 (DiagArray<T>::resize (int, int, const T&)): Ditto. | |
8733 | |
8734 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8735 | |
8736 * Array-ch.cc: Rename from Array-c.cc. | |
8737 * MArray-ch.cc: Rename from MArray-c.cc. | |
8738 * chMatrix.cc: Rename from cMatrix.cc. | |
8739 * chMatrix.h: Rename from cMatrix.h. | |
8740 * Makefile.in (TI_SRC): Use new names here. | |
8741 * mx-base.h: Likewise. | |
8742 | |
8743 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8744 | |
8745 * Makefile.in: Handle shared libraries. | |
8746 | |
8747 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8748 | |
8749 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): | |
8750 Correctly compute length of return value. Correct rows and | |
8751 columns in zgemv call. | |
8752 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. | |
8753 | |
8754 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8755 | |
8756 * Makefile.in (stamp-picdir): New target. | |
8757 (all): Depend on it. | |
8758 | |
8759 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8760 | |
8761 * Makefile.in (INCLUDES): Remove QLD.h. | |
8762 (SOURCES): Remove QLD.cc. | |
8763 | |
8764 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8765 | |
8766 * dMatrix.cc (Matrix::inverse): New arg, force. | |
8767 If force is nonzero, invert even if matrix is singular. | |
8768 (ComplexMatrix::inverse): Likewise. | |
8769 | |
8770 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, | |
8771 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, | |
8772 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: | |
8773 Include "oct-cmplx.h" instead of <Complex.h>. | |
8774 | |
8775 * mx-defs.h: Include oct-cmplx.h in place of forward declaration | |
8776 for class Complex. | |
8777 | |
8778 * oct-cmplx.h: New file. | |
8779 * Makefile.in (INCLUDES): Add it to the list. | |
8780 | |
8781 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. | |
8782 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. | |
8783 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. | |
8784 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): | |
8785 Avoid g++ bugs. | |
8786 | |
8787 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8788 | |
8789 * Array-idx.h (maybe_delete_elements): Give useful error message. | |
8790 | |
8791 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. | |
8792 | |
8793 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8794 | |
8795 * CDiagMatrix.cc (inverse): Return retval, not *this. | |
8796 * dDiagMatrix.cc (inverse): Use same method as for Complex case. | |
8797 | |
8798 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8799 | |
8800 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep | |
8801 index vector object with Array, not ArrayRep. | |
8802 | |
8803 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8804 | |
8805 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail | |
8806 if index is a colon and resizing is maybe needed. | |
8807 | |
8808 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8809 | |
8810 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true | |
8811 if we have a vector of 1's. | |
8812 | |
8813 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no | |
8814 current orientation, require index and rhs to conform unless | |
8815 do_fortran_indexing flag is set. | |
8816 | |
8817 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8818 | |
8819 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, | |
8820 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, | |
8821 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, | |
8822 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, | |
8823 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: | |
8824 Massive changes to support additional data types. Only charMatrix | |
8825 is currently used in Octave. | |
8826 | |
8827 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8828 | |
8829 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. | |
8830 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): | |
8831 Simply call Array2<Complex> version. | |
8832 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just | |
8833 call Array2<double> version. | |
8834 | |
8835 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. | |
8836 | |
8837 * Array.h, Array.cc: Massive overhaul to support new way of | |
8838 handling indexing. | |
8839 * idx-vector.h, idx-vector.cc: Likewise. | |
8840 * Array-ext.cc, Array-idx.h: New files. | |
8841 * Makefile.in: Add them to the appropriate lists. | |
8842 | |
8843 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8844 | |
8845 * Range.cc (nelem_internal): Use tfloor here, not round. | |
8846 | |
8847 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8848 | |
8849 * idx-vector.h, idx-vector.cc: New files, moved from ../src. | |
8850 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. | |
8851 | |
8852 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8853 | |
8854 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. | |
8855 | |
8856 * Array.h: Move simple member functions here. | |
8857 * Array.cc: From here. | |
8858 | |
8859 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8860 | |
8861 * Range.cc (tfloor, tceil, round): New static functions. | |
8862 (Range::nelem_internal): Rewrite to use better method. | |
8863 | |
8864 * dbleSVD.h (SVD::type): New item, sigma_only. | |
8865 (type_computed): New var. | |
8866 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): | |
8867 Handle possible error condition. | |
8868 (init): Allow for SVD::sigma_only, save type computed. | |
8869 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): | |
8870 Handle possible error condition. | |
8871 (init): Allow for SVD::sigma_only, save type computed. | |
8872 | |
8873 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8874 | |
8875 * Nearly all non-matrix .h and .cc files: | |
8876 Move short function bodies into class declarations for inlining. | |
8877 Generally clean up. | |
8878 | |
8879 * base-min.h: New file. | |
8880 * LP.h (class LP): Derive from base_minimizer. | |
8881 * QLP.h (class QLP): Derive from base_minimizer. | |
8882 * NLP.h (class NLP): Derive from base_minimizer. | |
8883 * Makefile.in (INCLUDES): Add base-min.h to the list. | |
8884 | |
8885 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, | |
8886 NLFunc.cc, Objective.cc and QP.cc from list. | |
8887 | |
8888 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8889 | |
8890 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. | |
8891 (SCHUR::SCHUR): Delete unused parameter ord. | |
8892 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. | |
8893 | |
8894 * CRowVector.cc | |
8895 (ComplexRowVector::operator+ (const Complex&, const RowVector&), | |
8896 (ComplexRowVector::operator- (const Complex&, const RowVector&), | |
8897 (ComplexRowVector::operator* (const Complex&, const RowVector&), | |
8898 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): | |
8899 Actually do something. | |
8900 | |
8901 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. | |
8902 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. | |
8903 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. | |
8904 | |
8905 * Quad.cc (Quad_options::Quad_options (double, double)): New function. | |
8906 * (Quad::Quad (integrand_fcn, double, double): Properly initialize | |
8907 tolerances. | |
8908 | |
8909 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. | |
8910 * LPsolve.cc (LPsolve::minimize): Likewise. | |
8911 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. | |
8912 * ODE.cc (lsode_f, lsode_j): Likewise. | |
8913 * QPSOL.cc (qphess): Likewise. | |
8914 | |
8915 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8916 | |
8917 * dMatrix.cc: Include <cstring>. | |
8918 | |
8919 * Array.cc: Try harder to avoid warnings from gcc in functions | |
8920 that return bogus values after calling the error handler. | |
8921 | |
8922 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8923 | |
8924 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. | |
8925 | |
8926 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. | |
8927 | |
8928 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8929 | |
8930 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. | |
8931 (dassl_j): Likewise. | |
8932 | |
8933 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, | |
8934 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, | |
8935 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: | |
8936 Update for change in for loop variable scope for gcc 2.7.0. | |
8937 | |
8938 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8939 | |
8940 * Makefile.in: Only include dependency files if $(omit_deps) is | |
8941 not set. | |
8942 | |
8943 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) | |
8944 | |
8945 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h | |
8946 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h | |
8947 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h | |
8948 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h | |
8949 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h | |
8950 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h | |
8951 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h | |
8952 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h | |
8953 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc | |
8954 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc | |
8955 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc | |
8956 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc | |
8957 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc | |
8958 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc | |
8959 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc | |
8960 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc | |
8961 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc | |
8962 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h | |
8963 NLP.h: Use pragma interface/implementation. Don't surround | |
8964 contents in extern "C++". | |
8965 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". | |
8966 | |
8967 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8968 | |
8969 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase | |
8970 identifiers. | |
8971 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
8972 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
8973 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
8974 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
8975 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
8976 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
8977 Quad.cc: Change usage of F77_FCN to match new definition | |
8978 | |
8979 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
8980 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
8981 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
8982 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
8983 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
8984 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
8985 Quad.cc: Where appropriate, declare Fortran subroutines to take | |
8986 args by reference instead of pointer. Change all callers. | |
8987 | |
8988 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8989 | |
8990 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New | |
8991 functions. Make += and -= operators friend functions. | |
8992 | |
8993 * Array.h (Array2::~Array2, Array3::~Array3, | |
8994 DiagArray::~DiagArray): New functions. | |
8995 | |
8996 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8997 | |
8998 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. | |
8999 (MATRIX_INC): Don't distribute mx-kludge.h. | |
9000 | |
9001 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
9002 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
9003 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
9004 dRowVector.h dRowVector.cc: | |
9005 Derive classes from MArray, MArray2, and MDiagArray, not Array, | |
9006 Array2, and DiagArray2. | |
9007 Don't use functions defined in mx-kludge.cc for arithmetic | |
9008 like-type operations on arrays. | |
9009 | |
9010 * MArray.cc: Use the classes defined here like-type mathematical | |
9011 operations on Array objects. Abuse CPP more. | |
9012 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
9013 (EXTRAS): Delete it from this list. | |
9014 | |
9015 * MArray-C.cc, MArray-d.cc: New files. | |
9016 * Makefile.in (TI_SRC): Add them to the list. | |
9017 | |
9018 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9019 | |
9020 * mx-kludge.cc: Abuse CPP even more. | |
9021 | |
9022 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9023 | |
9024 * Objective.h (objective_function): Add missing const. | |
9025 (gradient_function): Likewise. | |
9026 | |
9027 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
9028 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
9029 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
9030 dRowVector.h dRowVector.cc: | |
9031 Reorganize to declare and define friends where they should be, | |
9032 based on the use of private constructors. | |
9033 | |
9034 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9035 | |
9036 * CRowVector.h (linspace): Add declaration. | |
9037 * dRowVector.h (linspace): Likewise. | |
9038 | |
9039 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
9040 Force result of rcond + 1.0 to be stored. | |
9041 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, | |
9042 ComplexMatrix::solve): Likewise. | |
9043 | |
9044 See ChangeLog.1 in the top level directory for earlier changes. |