Mercurial > hg > octave-nkf
annotate liboctave/ChangeLog @ 7999:f7f2d867c523
style fixes
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 30 Jul 2008 16:36:58 -0400 |
parents | 2b8952e133c9 |
children | b0e7bbe7cd47 |
rev | line source |
---|---|
7999 | 1 2008-07-30 John W. Eaton <jwe@octave.org> |
2 | |
3 * oct-inttypes.h: Style fixes. | |
4 | |
7997
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
5 2008-07-30 Jaroslav Hajek <highegg@gmail.com> |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
6 |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
7 * oct-inttypes.h (octave_int<T>::trunc_flag): New member static field. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
8 (octave_int<T>::get_trunc_flag, octave_int<T>::clear_trunc_flag): New |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
9 member functions. |
7999 | 10 (octave_int<T>::octave_int (const octave_int<U>&)): set trunc_flag |
11 on truncation. | |
7997
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
12 (SPECIALIZE_WIDENING_CONVERSION): New macro. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
13 (DECLARE_OCTAVE_INT_TYPENAME): New macro. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
14 |
7991
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
15 2008-07-29 David Bateman <dbateman@free.fr> |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
16 |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
17 * lo-ieee.h (LO_IEEE_NA_HW, LO_IEEE_NA_LW, LO_IEEE_NA_FLOAT): |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
18 Change definition so cast from single to double and visa versa |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
19 maintains NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
20 (LO_IEEE_NA_HW_OLD, LO_IEEE_NA_LW_OLD): Keep old values. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
21 (extern OCTAVE_API int __lo_ieee_is_old_NA (double)): Function to |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
22 detect old NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
23 (extern OCTAVE_API double __lo_ieee_replace_old_NA (double)): |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
24 Function to replace old NA value with new new. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
25 * lo-cieee.c (int __lo_ieee_is_old_NA (double)): Function to |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
26 detect old NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
27 (double __lo_ieee_replace_old_NA (double)): Function to replace |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
28 old NA value with new new. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
29 * data-conv.cc (void read_doubles(std::istream&, double *, |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
30 save_type, int, bool, octave_mach_info::float_format)): Test if |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
31 loaded NA values is the old representation and replace it. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
32 |
7979 | 33 2008-07-28 Jaroslav Hajek <highegg@gmail.com> |
34 | |
35 * lo-math.h: Ensure log2 is undefined from cmath in C++ mode. | |
36 | |
7957
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
37 2008-07-21 Michael Goffioul <michael.goffioul@gmail.com> |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
38 |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
39 * oct-mutex.h (octave_base_mutex::octave_base_mutex): Initialize |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
40 count to 1, not -1. |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
41 |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
42 * oct-mutex.cc (octave_base_mutex::lock, octave_base_mutex::unlock): |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
43 Replace error calls with (*current_liboctave_error_handler). |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
44 |
7955
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
45 2008-07-21 John W. Eaton <jwe@octave.org> |
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
46 |
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
47 * regex-match.cc (regex_match::init): Initialize err to 0. |
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
48 |
7952
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
49 2008-07-19 John W. Eaton <jwe@octave.org> |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
50 |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
51 * oct-mutex.h (class octave_base_mutex): New class. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
52 (class octave_mutex): Don't use union for rep and count. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
53 (octave_mutex::rep): Declare as octave_base_mutex. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
54 (octave_mutex::count): Delete. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
55 (octave_mutex::lock, octave_mutex::unlock): No longer virtual. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
56 (octave_mutex::~octave_mutex): No need to check that rep is |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
57 valid or set rep to zero after deleting. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
58 (octave_mutex::operator =): No need to check that rep is valid. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
59 * oct-mutex.cc (octave_w32_mutex, octave_pthread_mutex): Derive |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
60 from octave_base_mutex, not octave_mutex. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
61 |
7943
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
62 2008-07-18 John W. Eaton <jwe@octave.org> |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
63 |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
64 * oct-mutex.h (octave_mutex::octave_mutex (int)): Initialize rep |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
65 to 0, not count. |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
66 * oct-mutex.cc (octave_mutex::octave_mutex (void)): Set rep->count |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
67 to 1 instead of incrementing it. |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
68 |
7941
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
69 2008-07-17 Michael Goffioul <michael.goffioul@gmail.com> |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
70 |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
71 * dNDArray.cc: Do not include ctor NDArray(Array<octave_idx_type>, |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
72 bool, bool) into conditional HAVE_FFTW3 preprocessor statement. |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
73 |
7936
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
74 2008-07-16 John W. Eaton <jwe@octave.org> |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
75 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
76 * oct-mutex.h (octave_autolock::octave_autolock (void), |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
77 octave_autolock (const octave_autolock&), |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
78 octave_autolock::operator = (const octave_autolock&)): |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
79 Delete definitions. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
80 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
81 2008-07-16 Michael Goffioul <michael.goffioul@gmail.com> |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
82 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
83 * cmd-edit.cc (event_hook_lock): New static mutex variable. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
84 (command_editor::event_handler): Lock and copy event_hook_set before |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
85 executing handlers. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
86 (command_editor::add_event_hook, command_editor::remove_event_hook): |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
87 Autolock event_hook_lock. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
88 |
7934 | 89 2008-07-15 Michael Goffioul <michael.goffioul@gmail.com> |
90 | |
91 * oct-mutex.h, oct-mutex.cc: New files. | |
92 * Makefile.in: Add them to appropriate lists. | |
93 | |
7929 | 94 2008-07-15 John W. Eaton <jwe@octave.org> |
95 | |
96 * oct-sort.cc, oct-sort.h (octave_sort<T>::count_run): Declare | |
97 descending arg as bool&. | |
98 (octave_sort<T>::sort): Pass bool to count_run for descending arg. | |
99 | |
7922
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
100 2008-07-11 John W. Eaton <jwe@octave.org> |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
101 |
7924 | 102 * dDiagMatrix.cc (DiagMatrix::diag): Return empty ColumnVector if |
103 number of rows or columns is 0. | |
104 * fDiagMatrix.cc (FloatDiagMatrix::diag): Likewise. | |
105 | |
106 * Array-util.cc (is_vector): Avoid GCC warning. | |
107 * Array-f.cc (Array<float>::sort): Likewise. | |
108 * Array-d.cc (Array<double>::sort): Likewise. | |
109 * dbleQR.cc (QR::QR (const Matrix&, const Matrix&)): Likewise. | |
110 * CmplxQR.cc (ComplexQR::ComplexQR (const ComplexMatrix&, const | |
111 ComplexMatrix&)): Likewise. | |
112 * floatQR.cc (FloatQR::FloatQR (const FloatMatrix&, const | |
113 FloatMatrix&)): Likewise. | |
114 * fCmplxQR.cc (FloatComplexQR::FloatComplexQR (const | |
115 FloatComplexMatrix&, const FloatComplexMatrix&)): Likewise. | |
116 * Quad.cc (IndefQuad::do_integrate (octave_idx_type&, | |
117 octave_idx_type&, float&), FloatIndefQuad::do_integrate, | |
118 DefQuad::do_integrate octave_idx_type&, octave_idx_type&, float&, | |
119 FloatIndefQuad::do_integrate): Likewise. | |
120 | |
7922
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
121 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
122 SND_BOOL_OP, NDND_BOOL_OP): Detect NaN values. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
123 * Array-util.cc (gripe_nan_to_logical_conversion): New function. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
124 * Array-util.h: Provide decl. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
125 * oct-inttypes.h (xisnan (octave_int<T>)): New function. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
126 * lo-mappers.h (xisnan (bool), xisnan (char)): New inline functions. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
127 |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
128 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
129 dSparse.cc, fCMatrix.cc, fCNDArray.cc, fMatrix.cc, fNDArray.cc: |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
130 New member function, any_element_is_nan. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
131 * CMatrix.h, CNDArray.h, CSparse.h, dMatrix.h, dNDArray.h, |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
132 dSparse.h, fCMatrix.h, fCNDArray.h, fMatrix.h, fNDArray.h: |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
133 Provide decl. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
134 |
7919
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
135 2008-07-10 David Bateman <dbateman@free.fr> |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
136 |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
137 * dNDArray.cc (NDArray::NDArray (const Array<octave_idx_type>&, |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
138 bool, bool)): New constructor. |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
139 * dNDArray.h: Provide decl. |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
140 |
7914
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
141 2008-07-10 Michael Goffioul <michael.goffioul@gmail.com> |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
142 |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
143 * lo-specfun.h: Fix typo in erff/erfcf declaration. |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
144 * lo-specfun.cc: Ditto. Add atanhf implementation. |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
145 |
7894
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
146 2008-06-20 Jaroslav Hajek <highegg@gmail.com> |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
147 |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
148 * MatrixType.h: Add missing include statement. |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
149 |
7889
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
150 2008-06-13 Michael Goffioul <michael.goffioul@gmail.com> |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
151 |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
152 * lo-mappers.cc (arg): Remove ambiguity about atan2(float,float) usage. |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
153 * fCmplxDET.cc (FloatComplexDET::initialize10): Likewise, for pow. |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
154 |
7885 | 155 2008-06-11 John W. Eaton <jwe@octave.org> |
156 | |
157 * so-array.h, so-array.cc, Array-so.cc: Delete. | |
158 * Makefile.in: Remove them from the lists. | |
159 | |
7872 | 160 2008-06-05 John W. Eaton <jwe@octave.org> |
161 | |
162 * oct-shlib.cc (octave_base_shlib::remove): Only dereference | |
163 counter if iterator is valid. | |
164 | |
7814
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
165 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
|
166 |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
167 * 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
|
168 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
|
169 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
|
170 * 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
|
171 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
|
172 * 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
|
173 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
|
174 (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
|
175 (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
|
176 (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
|
177 * 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
|
178 * 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
|
179 (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
|
180 (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
|
181 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
182 2008-06-02 David Bateman <dbateman@free.fr> |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
183 |
7810
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
184 * fCmplxLU.cc (class FloatComplexLU): Correct error in instantiation. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
185 * floatLU.cc (class FloatLU): ditto. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
186 * floatLU.h (class FloatLU): ditto. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
187 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
188 * floatAEPBAL.cc (octave_idx_type FloatAEPBALANCE::init (const |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
189 FloatMatrix&, const std::string&)): Use FloatMatrix to initialize |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
190 balancing_mat. |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
191 |
7809
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
192 * 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
|
193 (MATRIX_SRC): Add fCmplxAEPBAL.cc and floatAEPBAL.cc. |
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
194 |
7805
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
195 2008-05-21 David Bateman <dbateman@free.fr> |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
196 |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
197 * Quad-opts.in: Handle single precision tolerances. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
198 * Quad.cc (float_user_fcn): New static variable. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
199 (quad_float_fcn_ptr): New typedef. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
200 (qagp, quagi): New QUADPACK decls. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
201 (float_user_function): New function. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
202 (DefQuad::do_integrate, IndefQuad::do_integrate): Float versions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
203 (FloatDefQuad::do_integrate, FloatIndefQuad::do_integrate): |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
204 New functions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
205 * Quad.h (class Quad): Handle float type. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
206 (class FloatDefQuad, class FloatIndefQuad): New classes. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
207 |
7799 | 208 2008-05-21 Jaroslav Hajek <highegg@gmail.com> |
209 | |
7804
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
210 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
211 (xcdotc, csyrk, cherk): New F77 decls. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
212 * fMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
213 (operator * (const FloatMatrix&, const FloatMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
214 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
215 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
216 (ssyrk): New F77 decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
217 * fCMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
218 (operator * (const FloatComplexMatrix&, const |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
219 FloatComplexMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
220 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
221 |
7803 | 222 * dMatrix.cc, CMatrix.cc, Sparse-op-defs.h: Add missing copyright. |
223 | |
7802
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
224 * 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
|
225 Correct indenting. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
226 (SPARSE_FULL_TRANS_MUL): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
227 (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
|
228 Move OCTAVE_QUIT one level up. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
229 (FULL_SPARSE_MUL_TRANS): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
230 * dSparse.h (mul_trans, trans_mul): Provide decl. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
231 * dSparse.cc (mul_trans, trans_mul): New functions. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
232 * 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
|
233 * 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
|
234 |
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
|
235 * 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
|
236 * 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
|
237 (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
|
238 (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
|
239 * 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
|
240 * 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
|
241 (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
|
242 (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
|
243 |
7799 | 244 * MatrixType.cc (matrix_real_probe, matrix_complex_probe): |
245 New template functions. | |
246 (MatrixType::MatrixType (const Matrix&), | |
247 MatrixType::MatrixType (const FloatMatrix&)): | |
248 just call matrix_real_probe. | |
249 (MatrixType::MatrixType (const ComplexMatrix&), | |
250 MatrixType::MatrixType (const FloatComplexMatrix&)): | |
251 just call matrix_complex_probe. | |
252 | |
253 * MatrixType.cc (MatrixType::MatrixType (matrix_type, bool)): | |
254 add missing test for Unknown. | |
255 | |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
256 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
|
257 |
7797
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
258 * 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
|
259 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
260 (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
|
261 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
262 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
263 * 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
|
264 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
265 (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
|
266 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
267 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
268 * 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
|
269 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
270 (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
|
271 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
272 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
273 * 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
|
274 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
275 (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
|
276 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
277 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
278 |
7796
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
279 * Array.cc: Fix transpose tests. |
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
280 |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
281 * 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
|
282 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
|
283 (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
|
284 * 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
|
285 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
|
286 (FloatGEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
287 * 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
|
288 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
289 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
290 * 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
|
291 (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
|
292 Algebraic eignvalue balancing. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
293 * 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
|
294 (FloatComplexAEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
295 * 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
|
296 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
297 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
298 * 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
|
299 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
|
300 * 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
|
301 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
302 * 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
|
303 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
304 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
305 * 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
|
306 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
|
307 * 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
|
308 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
309 * 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
|
310 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
311 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
312 * 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
|
313 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
|
314 * 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
|
315 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
316 * 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
|
317 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
318 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
319 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
320 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
321 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
|
322 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
|
323 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
324 2008-05-20 David Bateman <dbateman@free.fr> |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
325 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
326 * 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
|
327 transpose to limit the number of cache misses. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
328 (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
|
329 for matrix conjugate transpose. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
330 * 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
|
331 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
332 * DiagArray2.cc (DiagArray2<T> DiagArray2<T>::transpose () const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
333 Specialization for diagonal arrays. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
334 (DiagArray2<T> DiagArray2<T>::transpose (T (*) (const&)) const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
335 Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
336 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
337 * 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
|
338 (MArray<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
339 * 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
|
340 * 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
|
341 * 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
|
342 * MDiagArray2.h (MDiagArray2<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
343 (MDiagArray<T> hermitian <T (*) (const&)) const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
344 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
345 * 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
|
346 * CRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
347 * dColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
348 * dRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
349 * CDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
350 * dDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
351 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
352 * 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
|
353 * fCRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
354 * fColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
355 * fRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
356 * fCDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
357 * fDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
358 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
359 * CDiagMatrix.cc (ComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
360 ComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
361 * dDiagMatrix.cc (DiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
362 * CMatrix.cc (ComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
363 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
364 * fCDiagMatrix.cc (FloatComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
365 FloatComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
366 * fDiagMatrix.cc (FloatDiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
367 * fCMatrix.cc (FloatComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
368 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
369 * lo-mappers.cc (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
370 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
371 New mapper functions for single precion values. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
372 * lo-mappers.h (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
373 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
374 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
375 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
376 * CmplxGEBAL.cc (ComplexGEPBALANCE), dbleGEPBAL.cc (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
377 fCmplxGEPBAL.cc (FloatComplexGEPBALANCE), floatGEPBAL.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
378 (FloatGEPBALANCE): New class for generalized eigenvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
379 * CmplxGEBAL.h (ComplexGEPBALANCE), dbleGEPBAL.h (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
380 fCmplxGEPBAL.h (FloatComplexGEPBALANCE), floatGEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
381 (FloatGEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
382 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
383 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
384 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
385 * floatAEPBAL.cc (FloatAEPBALANCE), fCmplxAEPBAL.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
386 (FloatComplexAEPBALANCE): New classes for single precision |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
387 Algebraic eignvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
388 * floatAEPBAL.h (FloatAEPBALANCE), fCmplxAEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
389 (FloatComplexAEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
390 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
391 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
392 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
393 * floatHESS.cc (FloatHESS), fCmplxHESS.cc (FloatComplexHESS): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
394 classes for single precision Hessenberg decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
395 * floatHESS.h (FloatHESS), fCmplxHESS.h (FloatComplexHESS): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
396 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
397 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
398 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
399 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
400 * floatQR.cc (FloatQR), fCmplxQR.cc (FloatComplexQR): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
401 classes for single precision QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
402 * floatQR.h (FloatQR), fCmplxQR.h (FloatComplexQR): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
403 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
404 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
405 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
406 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
407 * floatQRP.cc (FloatQRP), fCmplxQRP.cc (FloatComplexQRP): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
408 classes for single precision permuted QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
409 * floatQRP.h (FloatQRP), fCmplxQRP.h (FloatComplexQRP): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
410 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
411 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
412 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
413 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
414 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
415 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
416 FloatHESS, FloatComplexHESS, FloatQR, FloatComplexQR, QRP, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
417 ComplexQRP, FloatQRP, FloatComplexQRP): Declare classes. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
418 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
419 * 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
|
420 fCColVector.cc, fCColVector.h, fCDiagMatrix.cc, fCDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
421 fCMatrix.cc, fCMatrix.h, fCNDArray.cc, fCNDArray.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
422 fCRowVector.cc, fCRowVector.h, fCmplxCHOL.cc, fCmplxCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
423 fCmplxDET.cc, fCmplxDET.h, fCmplxLU.cc, fCmplxLU.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
424 fCmplxSCHUR.cc, fCmplxSCHUR.h, fCmplxSVD.cc, fCmplxSVD.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
425 fColVector.cc, fColVector.h, fDiagMatrix.cc, fDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
426 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
|
427 fRowVector.cc, fRowVector.h, floatCHOL.cc, floatCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
428 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
|
429 floatSCHUR.h, floatSVD.cc, floatSVD.h: New files. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
430 * 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
|
431 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
432 * 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
|
433 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
|
434 MatrixType.cc, MatrixType.h, SparseCmplxQR.cc, SparseCmplxQR.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
435 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
|
436 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
|
437 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
|
438 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
|
439 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
|
440 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
|
441 Allow single precision types. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
442 |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
443 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
|
444 |
7788 | 445 * CMatrix.cc (double rcond): Replace with double rcon everywhere |
446 to avoid shadowed variable warning | |
447 (double ComplexMatrix::rcond (void) const): New method for | |
448 reciprocal condition number calculation. | |
449 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
450 * CMatrix.h (double rcond): Replace with double rcon everywhere | |
451 to avoid shadowed variable warning | |
452 (double ComplexMatrix::rcond (void) const): New method for | |
453 reciprocal condition number calculation. | |
454 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
455 * dMatrix.cc (double rcond): Replace with double rcon everywhere | |
456 to avoid shadowed variable warning | |
457 (double Matrix::rcond (void) const): New method for | |
458 reciprocal condition number calculation. | |
459 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
460 * dMatrix.h (double rcond): Replace with double rcon everywhere | |
461 to avoid shadowed variable warning | |
462 (double Matrix::rcond (void) const): New method for | |
463 reciprocal condition number calculation. | |
464 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
465 | |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
466 * 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
|
467 expression matching |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
468 * 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
|
469 (LIBOCTAVE_CXX_SOURCES): regex-match.cc here. |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
470 |
7776 | 471 2008-05-19 David Bateman <dbateman@free.fr> |
472 | |
473 * dSparse.cc: Replace some DGBCON with GPBCON where they are | |
474 incorrectly used. | |
475 | |
7774
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
476 2008-05-13 David Bateman <dbateman@free.fr> |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
477 |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
478 * 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
|
479 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
|
480 is not zero. |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
481 |
7758
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
482 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
|
483 |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
484 * 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
|
485 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
|
486 * 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
|
487 (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
|
488 * 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
|
489 * 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
|
490 |
7757
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
491 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
|
492 |
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
493 * 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
|
494 |
7749
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
495 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
|
496 |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
497 * 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
|
498 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
|
499 * 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
|
500 Likewise. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
501 (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
|
502 Adjust all uses. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
503 (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
|
504 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
|
505 (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
|
506 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
|
507 |
7740 | 508 2008-04-30 Jaroslav Hajek <highegg@gmail.com> |
509 | |
510 * lo-mappers.cc (xlog2 (double)): Compute log (2), not log2 (2). | |
511 (xlog2 (Complex), xlog2 (double, int&), xlog2 (Complex, int&)): | |
512 New functions. | |
513 * lo-mappers.h: Provide decls. | |
514 | |
7735
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
515 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
|
516 |
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
517 * 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
|
518 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
|
519 |
7732
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
520 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
|
521 |
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
522 * 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
|
523 |
7727
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
524 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
|
525 |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
526 * 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
|
527 Fix for-loop condition. |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
528 |
7725
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
529 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
|
530 |
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
531 * 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
|
532 |
7717
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
533 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
|
534 |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
535 * 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
|
536 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
537 * 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
|
538 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
539 * 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
|
540 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
541 * 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
|
542 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
543 |
7707
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
544 2008-04-09 Michael Goffioul <michael.goffioul@gmail.com> |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
545 |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
546 * lo-mappers.cc (xround): Avoid floating-point overflow when input |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
547 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
|
548 |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
549 * 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
|
550 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
|
551 __WIN32__ platforms. |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
552 |
7700
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
553 2008-04-07 Jaroslav Hajek <highegg@gmail.com> |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
554 |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
555 * dbleQR.h, dbleQR.cc (QR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
556 * CmplxQR.h, CmplxQR.cc (ComplexQR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
557 * 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
|
558 CHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
559 * CmplxCHOL.h, CmplxCHOL.cc (ComplexCHOL::insert_sym, |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
560 ComplexCHOL::delete_sym, ComplexCHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
561 |
7695
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
562 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
|
563 |
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
564 * 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
|
565 |
7671
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
566 2008-03-27 Jaroslav Hajek <highegg@gmail.com> |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
567 |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
568 * oct-lookup.h: New file. |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
569 |
7646
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
570 2008-03-26 David Bateman <dbateman@feee.fr> |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
571 |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
572 * Array.cc (assignN): Additional fix for vector assignments. |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
573 |
7642
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
574 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
|
575 |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
576 * 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
|
577 original matrix is empty. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
578 * 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
|
579 function. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
580 * 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
|
581 |
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
|
582 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
|
583 |
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
|
584 * 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
|
585 (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
|
586 * 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
|
587 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
|
588 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
|
589 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
590 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
|
591 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
592 * lo-mappers.cc (xtrunc): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
593 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
594 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
595 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
|
596 |
7638
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
597 * lo-specfun.cc (expm1, log1p): New functions. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
598 * lo-specfun.h: Provide decls. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
599 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
600 * lo-mappers.cc (xroundb): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
601 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
602 |
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
|
603 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
|
604 |
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
|
605 * 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
|
606 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
|
607 |
7619 | 608 2008-03-21 David Bateman <dbateman@free.fr> |
609 | |
610 * oct-sparse.h: Add headers for amd.h. | |
611 | |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
612 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
|
613 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
614 * 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
|
615 method for diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
616 * 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
|
617 * 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
|
618 * 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
|
619 * 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
|
620 * 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
|
621 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
622 * 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
|
623 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
624 * 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
|
625 * 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
|
626 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
627 * 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
|
628 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
629 * 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
|
630 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
631 * CDiagMatrix.cc (ComplexColumnVector ComplexDiagMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
632 (void) const): delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
633 * 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
|
634 * 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
|
635 * 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
|
636 delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
637 * 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
|
638 * 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
|
639 * 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
|
640 * 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
|
641 * 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
|
642 * 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
|
643 * 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
|
644 * 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
|
645 * 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
|
646 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
647 * 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
|
648 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
|
649 * 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
|
650 return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
651 * 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
|
652 terms of template classes function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
653 * 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
|
654 * 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
|
655 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
|
656 * 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
|
657 return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
658 * 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
|
659 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
|
660 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
661 * 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
|
662 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
|
663 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
664 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
665 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
666 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
667 * 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
|
668 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
669 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
670 * CNDArray.cc (ComplexNDArray ComplexNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
671 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
672 * 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
|
673 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
674 * 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
|
675 method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
676 * 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
|
677 * chNDArray.cc (charNDArray charNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
678 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
679 * 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
|
680 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
681 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
682 |
7609
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
683 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
|
684 |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
685 * 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
|
686 relative filenames. |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
687 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
688 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
|
689 |
7605
48488cca0006
Fix for array indexing if original matrix is empty
David Bateman <dbateman@free.fr>
parents:
7602
diff
changeset
|
690 * 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
|
691 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
|
692 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
693 * 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
|
694 const): New template function. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
695 * 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
|
696 const): ditto. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
697 * 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
|
698 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
|
699 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
|
700 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
|
701 * 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
|
702 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
|
703 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
|
704 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
705 2008-03-18 David Bateman <dbateman@free.fr> |
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
706 |
7601
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
707 * 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
|
708 * 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
|
709 * 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
|
710 |
7600
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
711 * 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
|
712 * CNDarray.cc (ComplexNDArray::min, CompelxNDArray::max): ditto. |
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
713 * 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
|
714 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
715 * 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
|
716 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
|
717 |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
718 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
|
719 |
7598
a89b3fa632ee
partial specialization for octave_int_fit_to_range
John W. Eaton <jwe@octave.org>
parents:
7597
diff
changeset
|
720 * 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
|
721 Use partial specialization for double values. |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
722 |
7573
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
723 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
|
724 |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
725 * 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
|
726 * 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
|
727 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
|
728 * idx-vector.cc, idx-vector.h |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
729 (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
|
730 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
|
731 (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
|
732 (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
|
733 (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
|
734 |
7572
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
735 2008-03-07 John W. Eaton <jwe@octave.org> |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
736 |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
737 * 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
|
738 IDX_VEC_REP::idx_vector_rep (const boolNDArray&)): |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
739 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
|
740 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
|
741 (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
|
742 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
743 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
|
744 |
7560
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
745 * 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
|
746 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
|
747 * 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
|
748 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
|
749 |
7559
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
750 * dbleCHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
751 * CmplxHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
752 * 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
|
753 * 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
|
754 * 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
|
755 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
756 2008-03-04 Jaroslav Hajek <highegg@gmail.com> |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
757 |
7554
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
758 * dbleCHOL.cc (CHOL::set, CHOL::update, CHOL::downdate): |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
759 New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
760 * dbleCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
761 * CmplxCHOL.cc (ComplexCHOL::set, ComplexCHOL::update, |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
762 ComplexCHOL::downdate): New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
763 * CmplxCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
764 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
765 * 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
|
766 QR::insert_row, QR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
767 (QR::QR (const Matrix&, const MAtrix&)): New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
768 * dbleQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
769 * CmplxQR.cc (ComplexQR::update, ComplexQR::insert_col, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
770 ComplexQR::delete_col, ComplexQR::insert_row, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
771 ComplexQR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
772 (ComplexQR::ComplexQR (const ComplexMatrix&, const ComplexMAtrix&)): |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
773 New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
774 * CmplxQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
775 |
7549
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
776 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
|
777 |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
778 * 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
|
779 of < and > operators. |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
780 |
7546
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
781 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
|
782 |
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
783 * 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
|
784 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
|
785 |
7545 | 786 2008-03-03 Jaroslav Hajek <highegg@gmail.com> |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
787 |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
788 * dMatrix.cc (Matrix::lssolve): Also avoid dgelsd lwork query bug |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
789 in lssolve method that accepts column vector argument. Correct |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
790 calculation of nlvl. |
7545 | 791 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd. |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
792 |
7537
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
793 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
|
794 |
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
795 * 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
|
796 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
797 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
|
798 |
7536 | 799 * oct-rand.cc (get_dist_id): Fix typo. |
800 (get_dist_id, octave_rand::distribution, octave_rand::scalar, | |
801 fill_rand): Improve error messages. | |
802 | |
7535
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
803 * 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
|
804 (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
|
805 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
|
806 (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
|
807 |
7533
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
808 * 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
|
809 (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
|
810 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
|
811 (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
|
812 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
|
813 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
|
814 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
|
815 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
|
816 (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
|
817 (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
|
818 (octave_rand::uniform_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
819 octave_rand::normal_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
820 octave_rand::exponential_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
821 octave_rand::poisson_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
822 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
|
823 (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
|
824 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
|
825 (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
|
826 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
827 * 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
|
828 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd |
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
829 |
7521
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
830 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
|
831 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
832 * 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
|
833 specializations for signed and unsigned types. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
834 (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
|
835 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
|
836 octave_int_helper class. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
837 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
838 * 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
|
839 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
|
840 with "template <>". |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
841 |
7520 | 842 2008-02-22 John W. Eaton <jwe@octave.org> |
843 | |
844 * CSparse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc, | |
845 file-ops.cc, oct-group.cc, oct-shlib.cc, sparse-base-chol.h, | |
846 sparse-dmsolve.cc: Use 0 instead of NULL. | |
847 | |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
848 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
|
849 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
850 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
851 (octave_idx_type) const): New method. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
852 * boolSparse.h (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
853 (octave_idx_type) const): Declare it. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
854 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
855 * 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
|
856 factorization of xGETRF directly. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
857 * 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
|
858 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
|
859 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
|
860 to simulate the retirn of xGETRF. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
861 * 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
|
862 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
|
863 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
|
864 (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
|
865 * 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
|
866 scaling. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
867 * SparseCmplxLU.cc: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
868 * 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
|
869 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
|
870 * SparseCmplxLU.h: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
871 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
872 * 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
|
873 return permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
874 * 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
|
875 * 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
|
876 return row permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
877 (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
|
878 permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
879 * 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
|
880 (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
|
881 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
882 * 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
|
883 |
7505
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
884 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
|
885 |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
886 * 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
|
887 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
|
888 (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
|
889 * 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
|
890 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
|
891 (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
|
892 * 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
|
893 * 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
|
894 |
7503
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
895 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
|
896 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
897 * boolNDArray.h (boolNDArray (const Array2<bool>&)): Delete. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
898 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
899 * Marray2.h (MArray2 (const Array2<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
900 MArray2 (const MArray2<U>&)): New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
901 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
902 * Array2.h (Array2 (const Array<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
903 Array2 (const Array<U>&, const dim_vector&)): |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
904 New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
905 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
906 * CColVector.cc (ComplexColumnVector::map): Forward to MArray::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
907 * dColVector.cc (ColumnVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
908 * CRowVector.cc (ComplexRowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
909 * dRowVector.cc (RowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
910 * CMatrix.cc (ComplexMatrix::map): Forward to MArray2::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
911 * dMatrix.cc (Matrix::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
912 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
913 * dNDArray.cc (NDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
914 * dNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
915 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
916 * CNDArray.cc (ComplexNDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
917 * CNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
918 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
919 * MArray2.h (MArray2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
920 * Array2.h (Array2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
921 * MArrayN.h (MArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
922 * ArrayN.h (ArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
923 * Array.h (Array<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
924 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
925 * functor.h: New file. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
926 * Makefile.in (INCLUDES): Add it to the list. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
927 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
928 2008-02-20 David Bateman <dbateman@free.fr> |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
929 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
930 * CColVector.h, CColVector.cc (ComplexColumnVector::apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
931 * dColVector.h, dColVector.cc (ColumnVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
932 * CRowVector.h, CRowVector.cc (ComplexRowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
933 * dRowVector.h, dRowVector.cc (RowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
934 * CMatrix.h, CMatrix.cc (ComplexMatrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
935 * dMatrix.h, dMatrix.cc (Matrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
936 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
937 * CSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
938 (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
|
939 * CSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
940 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
941 * dSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
942 (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
|
943 * dSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
944 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
945 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
946 * intNDArray.cc (abs, signum): Two new mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
947 * intNDArray.h (abs, signum): Declare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
948 * 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
|
949 base type. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
950 |
7486
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
951 2008-02-15 John W. Eaton <jwe@octave.org> |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
952 |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
953 * 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
|
954 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
|
955 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
956 |
7482
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
957 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
|
958 |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
959 * 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
|
960 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
|
961 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
|
962 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
|
963 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
|
964 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
|
965 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc: |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
966 Don't check f77_exception_encountered. |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
967 |
7477 | 968 2008-02-12 John W. Eaton <jwe@octave.org> |
969 | |
970 * CMatrix.cc: Declare xilaenv instead of ilaenv. | |
971 (ComplexMatrix::lssolve): Call xilaenv instead of ilaenv. | |
972 | |
7476 | 973 2008-02-12 Jason Riedy <ejr@cs.berkeley.edu> |
974 | |
7480 | 975 * Array.cc (ascending_compare, descending_compare): Remove |
976 non-standard extern in the instantiations. | |
977 | |
978 * oct-sort.cc: Include <cstring> and sprinkle with std:: as needed. | |
979 | |
7476 | 980 * dMatrix.cc (ILAENV): Declare LAPACK Fortran function. |
981 (Matrix::lssolve): Use ILAENV to query smlsiz. And add an ugly | |
982 workaround for DGELSD's broken lwork query. The formula is from | |
983 LAPACK's dgelsd.f source and allocates enough workspace to use an | |
984 efficient algorithm in the short-and-fat case (n > m). | |
985 * CMatrix.cc (ILAENV): Declare LAPACK Fortran function. | |
986 (ComplexMatrix::lssolve): Use ILAENV to query smlsiz. And add an | |
987 ugly workaround for DGELSD's broken lwork query, as with double. | |
988 | |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
989 2008-02-12 John W. Eaton <jwe@octave.org> |
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
990 |
7470
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
991 * sparse-sort.cc: Don't explicitly instantiate |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
992 class octave_sort<octave_idx_vector_sort *>, |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
993 class octave_sort<octave_idx_type>, or |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
994 class octave_sort<octave_sparse_sort_idxl *>. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
995 |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
996 * Sparse.h (INSTANTIATE_SPARSE_SORT): Delete macro. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
997 * 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
|
998 |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
999 * 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
|
1000 |
7466
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
1001 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
|
1002 |
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
1003 * 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
|
1004 |
7463
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
1005 2008-02-08 John W. Eaton <jwe@octave.org> |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
1006 |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
1007 * oct-sort.h (enum sortmode): Eliminate UNDEFINED. Change all |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
1008 uses of UNDEFINED to ASCENDING. |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
1009 |
7457 | 1010 2008-02-07 John W. Eaton <jwe@octave.org> |
1011 | |
7458 | 1012 * Range.cc (Range::sort_internal): Rename from sort. New arg, |
1013 ASCENDING, with default value of true. | |
1014 (Range::sort_internal (Array<octave_idx_type>&, bool)): New function. | |
1015 (Range::sort (octave_idx_type, sortmode) const): New function. | |
1016 (Range::sort (Array<octave_idx_type>&, octave_idx_type, sortmode) | |
1017 const): New function. | |
1018 * Range.h: Fix/provide decls. | |
1019 | |
7457 | 1020 * intNDArray.cc (intNDArray<T>::any (int)): Use != for comparison. |
1021 | |
7449 | 1022 2008-02-06 John W. Eaton <jwe@octave.org> |
1023 | |
1024 * Makefile.in ($(OPTS_INC)): Use mv instead of move-if-change. | |
1025 (stamp-prereq): Eliminate. | |
1026 (clean): Don't remove stamp-prereq. | |
1027 (libraries): Don't depend on stamp-prereq. | |
1028 (PREREQ): New macro. | |
1029 ($(MAKEDEPS)): Depend on $(PREREQ), not stamp-prereq. | |
1030 (distclean): Simplify with $(PREREQ). | |
1031 (OPT_BASE): New macro. | |
1032 (OPT_IN): Rename from OPTS_INC_DATA. Define in terms of OPT_BASE. | |
1033 (OPT_INC): Rename from OPTS_INC. Define in terms of OPT_BASE. | |
1034 | |
7448 | 1035 2008-02-05 John W. Eaton <jwe@octave.org> |
1036 | |
1037 * Makefile.in: Unconditionally include $(MAKEDEPS). | |
1038 Mark $(MAKEDEPS) as .PHONY targets if omit_deps is true. | |
1039 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
1040 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> |
7443 | 1041 |
1042 * Array.cc (ascending_compare, descending_compare, | |
1043 Array<T>::sort): Declare explicit specialization for T=double to | |
1044 avoid symbol duplication error at link time. | |
1045 * Array-d.cc (ascending_compare, descending_compare): Declare and | |
1046 define as nonmember functions, not member functions of Array<T>. | |
1047 | |
7442 | 1048 2008-02-03 John W. Eaton <jwe@octave.org> |
1049 | |
1050 * Array-i.cc: Also instantiate Arrays for long long type if it exists. | |
1051 | |
1052 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> | |
1053 | |
1054 * Array.cc: Don't include Range.h. | |
1055 | |
7433 | 1056 2008-01-31 David Bateman <dbateman@free.fr> |
1057 | |
1058 * oct-sort.cc: conversion of int to octave_idx_type where needed | |
1059 for 64-bit builds. | |
1060 (IFLT): Allow IFLT macro to be overridden. | |
1061 * oct-sort.h: conversion of int to octave_idx_type where needed | |
1062 for 64-bit builds. | |
1063 (enum sortmode): Type of sort to perform. | |
1064 (vec_index): Simple class to aid in indexed sorts. | |
1065 | |
1066 * Array.h ( Array<T> sort (octave_idx_type, sortmode) const, | |
1067 Array<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
1068 sortmode) const): Array sorting methods. | |
1069 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT): Macros to | |
1070 instantiate the array sorting methods. | |
1071 * Array.cc (ascending_compare, descending_compare): New template | |
1072 functions for generic sort comparison. | |
1073 ( Array<T> Array<T>::sort (octave_idx_type, sortmode) const, | |
1074 Array<T> Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, | |
1075 sortmode) const): Array sorting functions based of octave_sort | |
1076 class. | |
1077 * Array-C.cc: Instantiate the complex array sort methods. | |
1078 (IFLT): New macro to override the one in the | |
1079 octave_sort class to avoid need for Complex < and > operators. | |
1080 (static double xabs (const Complex&)): Complex abs function | |
1081 avoiding std::abs(Inf) returning NaN with some compilers. | |
1082 (ascending_compare, descending compare): override template | |
1083 functions for complex comparison. | |
1084 * Array-d.cc: Instantiate the double array sort methods. | |
1085 (Array<double> Array<double>::sort (octave_idx_type, | |
1086 sortmode) const, Array<double> Array<double>::sort | |
1087 (Array<octave_idx_type> &, octave_idx_type, sortmode) const): | |
1088 Array sorting functions based of octave_sort using uint64 sorting | |
1089 on IEE754 doubles, for speed and correct sorting of Inf and NaN. | |
1090 (ascending_compare, descending compare): override template | |
1091 functions for double and uint64 comparison. | |
1092 * Array-b.cc, Array-ch.cc, Array-i.cc, Array-s.cc, Array-str.cc: | |
1093 Instantiate the array sort methods. | |
1094 * Array-idx-vec.cc: Null instantiation of array sort methods. | |
1095 * Array2.h, Array3.h, ArrayN.h (sort): 2, 3 and N-dimensional | |
1096 versions of the sort methods based on Array<T>::sort. | |
1097 | |
1098 * CSparse.cc, dSparse.cc: Remove inclusion of octa-sort.h. | |
1099 * Sparse.h ( Sparse<T> sort (octave_idx_type, sortmode) const, | |
1100 Sparse<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
1101 sortmode) const): Sparse sorting methods. | |
1102 (INSTANTIATE_ARRAY_SORT): Macro to instantiate the sparse sorting | |
1103 methods. | |
1104 * Sparse.cc: replace sort with lsort throughout to avoid shadowing | |
1105 of new sort method. | |
1106 (sparse_ascending_compare, sparse_descending_compare): New template | |
1107 functions for generic sort comparison. | |
1108 ( Sparse<T> Sparse<T>::sort (octave_idx_type, sortmode) const, | |
1109 Sparse<T> Sparse<T>::sort (Sparse<octave_idx_type> &, octave_idx_type, | |
1110 sortmode) const): Sparse sorting functions based of octave_sort | |
1111 class. | |
1112 * Sparse-C.cc: Instantiate the complex sparse sort methods. | |
1113 (IFLT): New macro to override the one in the | |
1114 octave_sort class to avoid need for Complex < and > operators. | |
1115 (static double xabs (const Complex&)): Complex abs function | |
1116 avoiding std::abs(Inf) returning NaN with some compilers. | |
1117 (sparse_ascending_compare, sparse_descending compare): override | |
1118 template functions for complex comparison. | |
1119 * Sparse-d.cc: Instantiate the cdouble sparse sort methods. | |
1120 (sparse_ascending_compare, sparse_descending compare): override | |
1121 template functions for double comparison. | |
1122 * Array-b.cc: Instantiate the sparse sort methods. | |
1123 | |
7422 | 1124 2008-01-25 Jaroslav Hajek <highegg@gmail.com> |
1125 | |
1126 * idx-vector.h (idx_vector::idx_vector_rep::range_base, | |
1127 idx_vector::idx_vector_rep::range_step, | |
1128 idx_vector::idx_vector_rep::range_step): New data members. | |
1129 (idx_vector::idx_vector_rep::idx_vector_rep): Initialize them. | |
1130 * idx-vector.cc (IDX_VEC_REP::sort, IDX_VEC_REP::is_colon_equiv, | |
1131 IDX_VEC_REP::init_state, IDX_VEC_REP::operator =, | |
1132 IDX_VECTOR_REP::idx_vector_rep): Handle range. | |
1133 | |
7416 | 1134 2008-01-18 Marco Caliari <marco.caliari@univr.it> |
1135 | |
1136 * dMatrix.cc (Matrix::expm): Correctly perform reverse permutation. | |
1137 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
1138 | |
7408 | 1139 2008-01-22 Michael Goffioul <michael.goffioul@gmail.com> |
7407 | 1140 |
1141 * oct-time.cc (octave_base_tim::init): Validate pointer argument; | |
1142 this fixes the "localtime(-1)" crash under Windows. | |
1143 | |
7400 | 1144 2008-01-18 John W. Eaton <jwe@octave.org> |
1145 | |
1146 * dMatrix.cc (solve_singularity_warning): New function. | |
1147 (Matrix::expm): Pass pointer to solve_singularity_warning to | |
1148 Matrix::solve method. Exit early if Matrix::solve fails. | |
1149 Limit sqpow value to avoid overflowing scale factor. | |
1150 * CMatrix.cc (solve_singularity_warning): New function. | |
1151 (ComplexMatrix::expm): Pass pointer to solve_singularity_warning to | |
1152 ComplexMatrix::solve method. Exit early if ComplexMatrix::solve fails. | |
1153 Limit sqpow value to avoid overflowing scale factor. | |
7402 | 1154 From Marco Caliari <marco.caliari@univr.it>. |
7400 | 1155 |
7356 | 1156 2008-01-10 Kim Hansen <kimhanse@gmail.com> |
1157 | |
1158 * Sparse.cc: New tests for slicing of sparse matrices. | |
1159 | |
7350 | 1160 2008-01-07 David Bateman <dbateman@free.fr> |
1161 | |
1162 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Don't break from | |
1163 loop if this test succeeds. | |
1164 | |
7342 | 1165 2008-01-03 David Bateman <dbateman@free.fr> |
1166 | |
1167 * MSparse.cc (SPARSE_A2A2_OP): If first arg is scalar zero, then | |
1168 need unary operator on remaining argument | |
1169 * Sparse-op-defs.h (SPARSE_SMSM_BIN_OP_1): ditto. | |
1170 | |
7334 | 1171 2007-12-21 John W. Eaton <jwe@octave.org> |
1172 | |
1173 Version 3.0.0 released. | |
1174 | |
7322 | 1175 2007-12-18 David Bateman <dbateman@free.fr> |
1176 | |
1177 * Sparse.cc (template <class T> Sparse<T> Sparse<T>::index | |
1178 (idx_vector&, int) const): Fix case indexing of non zero scalar | |
1179 stored as a sparse matrix. | |
1180 (template <class T> Sparse<T> Sparse<T>::index (idx_vector&, | |
1181 idx_vector&, int) const): For the non permutated indexing case, | |
1182 fix link list calculation and use. | |
1183 | |
7321 | 1184 2007-12-17 John W. Eaton <jwe@octave.org> |
1185 | |
1186 * Array.cc (Array<T>::indexN): Correctly handle scalar indexed by | |
1187 N-d array. | |
1188 | |
7318 | 1189 2007-12-17 David Bateman <dbateman@free.fr> |
1190 | |
1191 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Use ridx for row | |
1192 index. | |
1193 | |
7299 | 1194 2007-12-11 John W. Eaton <jwe@octave.org> |
1195 | |
1196 * Sparse.cc (Sparse<T>::index (idx_vector&, int) const): | |
1197 If indexing scalar with empty matrix, return empty array with same | |
1198 size as index. | |
1199 | |
7272 | 1200 2007-12-10 John W. Eaton <jwe@octave.org> |
1201 | |
7279 | 1202 * NLEqn.h (NLEqn::fval): New data member. Adjust constructors |
1203 and assignment operator. | |
1204 (NLEqn::function_value): New function. | |
1205 * NLEqn.cc (NLEqn::solve): If solution is successful, compute | |
1206 function value. | |
1207 | |
7272 | 1208 * file-ops.cc (file_ops::concat): New function. |
1209 * file-ops.h: Provide decl. | |
1210 | |
7270 | 1211 2007-12-07 John W. Eaton <jwe@octave.org> |
1212 | |
1213 * oct-time.cc (octave_base_tm::init): Only assign t->tm_zone if it | |
1214 is not 0. | |
1215 | |
7269 | 1216 2007-12-07 David Bateman <dbateman@free.fr> |
1217 | |
1218 * Sparse-op-defs.h (SPARSE_SMS_CMP_OP, SPARSE_SMS_BOOL_OP, | |
1219 SPARSE_SSM_CMP_OP, SPARSE_SSM_BOOL_OP, SPARSE_SMSM_CMP_OP, | |
1220 SPARSE_SMSM_BOOL_OP, SPARSE_BASE_REDUCTION_OP): Use sparse | |
1221 indexing where possible rather than the elem method. | |
1222 (SPARSE_REDUCTION_OP_ROW_EXPR, SPARSE_REDUCTION_OP_COL_EXPR, | |
1223 SPARSE_ANY_ALL_OP_ROW_CODE, SPARSE_ANY_ALL_OP_COL_CODE): | |
1224 Replace for new version of SPARSE_BASE_REDUCTION_OP. | |
1225 (SPARSE_ALL_OP): Specialize the initial value, and only treat dim | |
1226 = 0 directly. | |
1227 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::sumsq (int) | |
1228 const): Replace ROW_EXPR and COL_EXPR functions for new version of | |
1229 SPARSE_BASE_REDUCTION_OP. | |
1230 (SparseComplexMatrix SparseComplexMatrix::prod (int) const): | |
1231 Specialize the initial value, and only treat dim = 0 directly. | |
1232 * dSparse.cc (SparseMatrix SparseMatrix::sumsq (int) const): | |
1233 ditto. | |
1234 (SparseMatrix SparseMatrix::prod (int) const): ditto. | |
1235 | |
7265 | 1236 2007-12-06 John W. Eaton <jwe@octave.org> |
1237 | |
1238 * CMatrix.cc (ComplexMatrix::expm): Update pointers to internal | |
1239 data for npp and dpp after assignments. | |
1240 * dMatrix.cc (Matrix::expm): Use same method as ComplexMatrix::expm. | |
1241 | |
7253 | 1242 2007-12-04 John W. Eaton <jwe@octave.org> |
1243 | |
1244 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1245 Do nothing if one index is empty. | |
1246 | |
7246 | 1247 2007-12-04 David Bateman <dbateman@free.fr> |
1248 | |
1249 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1250 Resize matrix as well if one dimension of lhs is zero and the rhs | |
1251 index exceeds the lhs index. | |
1252 * Sparse.cc (assign1 (Sparse<LT>&, const Sparse<RT>&)): | |
1253 Don't resize to a smaller matrix for empty matrices with a max rhs | |
1254 index smaller than the non zero lhs index. | |
1255 | |
1256 2007-12-04 Michael Goffioul <michael.goffioul@gmail.com> | |
1257 | |
1258 * Array-util.h: Tag permute_vector_compare with OCTAVE_API. | |
1259 | |
7241 | 1260 2007-12-03 Moritz Borgmann <octave@moriborg.de> |
1261 | |
1262 * Array-util.cc (permute_vector_compare): Move here from Array.cc. | |
1263 * Array-util.h (permute_vector, permute_vector_compare): Provide decls. | |
1264 * Array.cc (permute_vector, permute_vector_compare): Delete. | |
1265 | |
7238 | 1266 2007-12-03 David Bateman <dbateman@free.fr> |
1267 | |
1268 * Sparse.cc (template <class LT, class RT> int assign | |
1269 (Sparse<LT>&, const Sparse<RT>&)): Only set return matrix size to | |
1270 rhs values if both no. rows and columns are zero. | |
1271 | |
7231 | 1272 2007-11-30 John W. Eaton <jwe@octave.org> |
1273 | |
7234 | 1274 * oct-sort.cc, oct-sort.h: Style fixes. |
1275 | |
7231 | 1276 * lo-math.h: New file. |
1277 * Makefile.in (INCLUDES): Add it to the list. | |
1278 * liboctave/Array2.h, liboctave/ArrayN.h, liboctave/CmplxDET.cc, | |
1279 liboctave/DASPK.cc, liboctave/DASPK.h, liboctave/DASRT.cc, | |
1280 liboctave/DASRT.h, liboctave/DASSL.cc, liboctave/DASSL.h, | |
1281 liboctave/LSODE.cc, liboctave/LSODE.h, liboctave/NLEqn.h, | |
1282 liboctave/Quad.h, liboctave/Range.cc, liboctave/dbleDET.cc, | |
1283 liboctave/lo-cieee.c, liboctave/lo-ieee.cc, | |
1284 liboctave/lo-mappers.cc, liboctave/oct-time.cc, | |
1285 liboctave/oct-time.h, liboctave/randgamma.c, | |
1286 liboctave/randmtzig.c, liboctave/randpoisson.c: Include lo-math.h | |
1287 instead of cmath or math.h. | |
1288 * lo-mappers.h: Don't include sunmath.h here. | |
1289 | |
7198 | 1290 2007-11-26 John W. Eaton <jwe@octave.org> |
1291 | |
1292 * idx-vector.h (idx_vector::idx_vector_rep (const intNDArray<U>&)): | |
1293 Eliminate unnecessary second arg from call to tree_to_mat_idx. | |
1294 | |
1295 * oct-inttypes.h (operator bool, operator char): Delete. | |
1296 (bool_value, char_value, double_value, float_value): New functions. | |
1297 | |
7189 | 1298 2007-11-26 David Bateman <dbateman@free.fr> |
1299 | |
1300 * intNDArray.cc (template <class T> intNDArray<T> | |
1301 intNDArray<T>::max (int) const, template <class T> intNDArray<T> | |
1302 intNDArray<T>::max (ArrayN<octave_idx_type>&, int) const, | |
1303 template <class T> intNDArray<T> intNDArray<T>::min (int) const, | |
1304 template <class T> intNDArray<T> intNDArray<T>::min | |
1305 (ArrayN<octave_idx_type>&, int) const): New methods for integer | |
1306 classes. | |
1307 * intNDArray.h (class intNDArray): Add min/max methods | |
1308 * mx-op-defs.h (MIXMAX_DECLS, MINMAX_FCNS, SND_MINMAX_FCN, | |
1309 NDS_MINMAX_FCN, NDND_MINMAX_FCN): New macro for instantiation of | |
1310 min/max functions. | |
1311 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
1312 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
1313 (MINMAX_DECLS(T)): Declare the min/max functions for integer | |
1314 types. | |
1315 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
1316 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
1317 (MINMAX_FCNS(T)): Instantiate the min/max functions for integer | |
1318 types. | |
1319 | |
1320 * Arrayc.cc (Array<T>::index (idx_vector&, idx_vector&, int, | |
1321 const T& rfv) const): If ndims != 2 call ND version of index. | |
1322 | |
7176 | 1323 2007-11-14 John W. Eaton <jwe@octave.org> |
1324 | |
7178 | 1325 * oct-inttypes.h (opeator T (void) const): New conversion operator. |
1326 | |
7176 | 1327 * lo-specfun.cc (zbesi): When alpha is negative, don't limit |
1328 correction to half-integer values. From Eric Chassande-Mottin | |
1329 <echassandemottin@gmail.com>. | |
1330 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
1331 2007-11-07 Michael Goffioul <michael.goffioul@gmail.com> |
7124 | 1332 |
1333 * dMatrix.cc, CMatrix.cc: Help MSVC compiler to resolve | |
1334 ambiguities related to math functions (in C++ mode). | |
1335 | |
7102 | 1336 2007-11-06 David Bateman <dbateman@free.fr> |
1337 | |
7113 | 1338 * intNDArray.cc (intNDArray<T> intNDArray<T>::sum (int) const): |
1339 New method. | |
1340 * intNDarray.h (intNDArray sum (int) const): Declare it. | |
1341 * boolNDArray.cc (boolNDArray boolNDArray::sum (int) const): | |
1342 New method. | |
1343 * boolNDarray.cc (boolNDArray sum (int) const): Declare it. | |
7102 | 1344 * MArray-def.h (MARRAY_NORM_BODY): Scale frobenius norm by infinity |
1345 norm to avoid issues of over- and underflow. From Rolf Fabian | |
1346 <Rolf.Fabian@gmx.de>. | |
1347 | |
7081 | 1348 2007-10-30 David Bateman <dbateman@free.fr> |
1349 | |
1350 * DASRT-opts.in, LSODE-opts.in: Doc fixes for small book format. | |
1351 | |
7079 | 1352 2007-10-30 John W. Eaton <jwe@octave.org> |
1353 | |
1354 * CMatrix.cc (lssolve): Compute size of rwork and iwork arrays. | |
1355 * dMatrix.cc (lssolve): Compute size of iwork array. | |
1356 | |
7076 | 1357 2007-10-29 David Bateman <dbateman@free.fr> |
1358 | |
1359 * CMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
1360 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1361 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
1362 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
1363 double& rcond) const, lssolve (const ComplexColumnVector&, | |
1364 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
1365 declarations. | |
1366 * CMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
1367 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1368 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
1369 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
1370 double& rcond) const, lssolve (const ComplexColumnVector&, | |
1371 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
1372 methods. | |
1373 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
1374 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
1375 octave_idx_type&, double&) const): Also return rcond from the | |
1376 singular values returned by XGELSD. | |
1377 * dMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
1378 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1379 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
1380 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
1381 double& rcond) const, lssolve (const ComplexColumnVector&, | |
1382 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
1383 declarations. | |
1384 * dMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
1385 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1386 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
1387 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
1388 double& rcond) const, lssolve (const ComplexColumnVector&, | |
1389 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
1390 methods. | |
1391 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
1392 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
1393 octave_idx_type&, double&) const): Also return rcond from the | |
1394 singular values returned by XGELSD. | |
1395 | |
7072 | 1396 2007-10-26 David Bateman <dbateman@free.fr> |
1397 | |
1398 * dMatrix.cc (Matrix::lssolve): Use xGELSD for rank deficient | |
1399 matrices to avoid reliability issues with xGELSY. | |
1400 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. | |
7071 | 1401 |
7065 | 1402 2007-10-25 John W. Eaton <jwe@octave.org> |
1403 | |
1404 * oct-time.cc (octave_gmtime::init, octave_localtime::init): | |
1405 Call unix_time on arg instead of relying on conversion operator. | |
1406 | |
1407 * oct-time.h (octave_time::double_value): New function. | |
1408 (octave_time::operator double () const): Delete. | |
1409 (octave_time::operator time_t () const): Delete. | |
1410 | |
7058 | 1411 2007-10-24 John W. Eaton <jwe@octave.org> |
1412 | |
1413 * strptime.c: Also compile if OCTAVE_HAVE_BROKEN_STRPTIME is defined. | |
1414 | |
7052 | 1415 2007-10-23 John W. Eaton <jwe@octave.org> |
1416 | |
1417 * CRowVector.cc (operator * const ComplexRowVector&, const | |
1418 ComplexColumnVector&)): Delete spurious code left from patch. | |
1419 | |
7048 | 1420 2007-10-22 Kim Hansen <kimhanse@gmail.com> |
1421 | |
1422 * chMatrix.cc, lo-utils.cc, oct-env.cc, oct-uname.cc, | |
1423 sparse-sort.cc: Include <cstring>. | |
1424 | |
7036 | 1425 2007-10-17 John W. Eaton <jwe@octave.org> |
1426 | |
1427 * oct-sparse.h: Don't include metis.h. | |
1428 | |
1429 * dSparse.cc (SparseMatrix::fsolve): Delete special code for METIS. | |
1430 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
1431 * sparse-base-chol.cc (sparse_base_chol<chol_type, chol_elt, | |
1432 p_type>::sparse_base_chol_rep::init): Likewise. | |
1433 | |
7033 | 1434 2007-10-16 John W. Eaton <jwe@octave.org> |
1435 | |
1436 * dMatrix.cc (Matrix::inverse): Only check rcond == 0 if the | |
1437 matrix is hermitian or calc_cond is true. | |
1438 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
1439 | |
7016 | 1440 2007-10-12 John W. Eaton <jwe@octave.org> |
1441 | |
1442 * Change copyright notices in all files that are part of Octave to | |
1443 GPLv3 or any later version. | |
1444 | |
7007 | 1445 2007-10-11 Brian Gough <bjg@network-theory.co.uk> |
1446 | |
1447 * DASSL-opts.in, LSODE-opts.in: Spelling fixes. | |
1448 | |
7001 | 1449 2007-10-10 Olli Saarela <Olli.Saarela@kcl.fi> |
1450 | |
1451 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in: Spelling fixes. | |
1452 | |
7000 | 1453 2007-10-10 John W. Eaton <jwe@octave.org> |
1454 | |
1455 * LPsolve.h, LPsolve.cc: Delete. | |
1456 * Makefile.in: Remove them from the INCLUDES and | |
1457 LIBOCTAVE_CXX_SOURCES lists. | |
1458 | |
6989 | 1459 2007-10-09 John W. Eaton <jwe@octave.org> |
1460 | |
6996 | 1461 * oct-time.cc (octave_strptime::init): Initialize t.tm_mon to -1 |
1462 and t.tm_year to INT_MIN before call to oct_strptime. Adjust | |
1463 values to zero after call if they remain unchanged. | |
1464 | |
6989 | 1465 * dSparse.cc (SparseMatrix::all_elements_are_zero): New function. |
1466 * dNDArray.cc (NDArray::all_elements_are_zero): New function. | |
1467 | |
6988 | 1468 2007-10-09 David Bateman <dbateman@free.fr> |
1469 | |
6995 | 1470 * oct-time.cc (octave_strptime::init): Only call mktime if mday is |
1471 valud and mon and year are also filled in. | |
1472 | |
6990 | 1473 * Array2.h (Array2<T>::Array2(const dim_vector&), |
1474 Array2<T>::Array(const dim_vector&, const T&)): Check that | |
1475 dim_vector is 2 dimensional. | |
1476 | |
6988 | 1477 * Sparse.cc (Sparse<T> Sparse<T>::index (idx_vector&, idx_vector&, |
1478 int)): Remove a for loop in the random indexing case at the | |
1479 expense of maintaining a set of linked lists of indices that point | |
1480 to the same column in the original matrix. | |
1481 (int assign (Sparse<LT>&, Sparse<RT>)): Take a const copy of lhs | |
1482 and use it on the RHS of expressions to avoid unnecessary calls to | |
1483 make_unique. | |
1484 | |
6979 | 1485 2007-10-08 David Bateman <dbateman@free.fr> |
1486 | |
1487 * oct-rl-edit. (typedef rl_quoting_fcn_ptr, rl_dequoting_fcn_ptr, | |
1488 rl_char_is_quoted_fcn_ptr, rl_command_fcn_ptr): New typedefs | |
1489 for readline compatible functions. | |
1490 (octave_rl_redisplay): Redisplay the current line of text. | |
1491 (octave_rl_newline): Change interface to the same | |
1492 as used by the equivalent readline function itself. | |
1493 (octave_rl_filename_quoting_desired, | |
1494 octave_rl_set_filename_quote_characters, | |
1495 octave_rl_set_completer_quote_characters, | |
1496 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
1497 octave_rl_set_char_is_quoted_function): New functions to control | |
1498 readline filename quoting and line acceptace. | |
1499 * oct-rl-edit.c (octave_rl_newline): Change interface to the same | |
1500 as used by the equivalent readline function itself. | |
1501 (octave_rl_redisplay): Redisplay the current line of text. | |
1502 (octave_rl_filename_quoting_desired, | |
1503 octave_rl_set_filename_quote_characters, | |
1504 octave_rl_set_completer_quote_characters, | |
1505 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
1506 octave_rl_set_char_is_quoted_function): New functions to control | |
1507 readline filename quoting and line acceptace. | |
1508 * cmd-edit.h (typedef quoting_fcn, typedef dequoting_fcn, | |
1509 typedef char_is_quoted_fcn, user_accept_line_fcn): New typedefs | |
1510 to map C++ function to readline compatible functions. | |
1511 (set_filename_quote_characters): New function to set the | |
1512 characters to if they appear in a filename that force the filename | |
1513 to be quoted. | |
1514 (set_completer_quote_characters): The characters that the readline | |
1515 completion function considers as quotation characters. | |
1516 (set_quoting_function, set_dequoting_function, | |
1517 set_char_is_quoted_function, set_user_accept_line_function): | |
1518 Functions to set the Octave functions to perform quoting and the | |
1519 acceptance of a line of text by readline. | |
1520 (get_quoting_function, get_dequoting_function, | |
1521 get_char_is_quoted_function, get_user_accept_line_function): | |
1522 Functions to get the above functions. | |
1523 (accept_line): New method for the command_editor to accept a line | |
1524 of text. | |
1525 (file_quoting_desired): Function to set whether readline should | |
1526 attempt to quote filenames. | |
1527 (do_set_filename_quoting_characters, | |
1528 do_set_completer_quote_characters, do_set_quoting_function, | |
1529 do_set_dequoting_function, do_set_char_is_quoted_function, | |
1530 do_set_user_accept_line_function, do_get_quoting_function, | |
1531 do_get_dequoting_function, do_get_char_is_quoted_function, | |
1532 do_get_user_accept_line_function, do_filename_quoting_desired): | |
1533 Virtual functions to control the behavior of readline quoting and | |
1534 acceptance of lines. | |
1535 (do_accept_line): Virtual function for the accept line function. | |
1536 * cmd-edit.cc (class gnu_readline do_set_filename_quote_characters, | |
1537 do_completer_quote_characters, do_set_quoting_function, | |
1538 do_set_dequoting_function, do_set_char_is_quoted_function, | |
1539 do_set_user_accept_line_function, do_get_quoting_function, | |
1540 do_get_dequoting_function, do_get_user_accept_line_function, | |
1541 do_accept_line, do_filename_quoting_desired, command_quoter, | |
1542 command_dequoter, command_char_is_quoted, command_accept_line): | |
1543 New functions in gnu_readline class to control filename quoting | |
1544 and line acceptance. | |
1545 (quoting_function, dequoting_function, char_is_quoted_function, | |
1546 user_accept_line_function): private variable to store functions | |
1547 supplied for readline quoting and line acceptance. | |
1548 (gnu_readline::gnu_readline): Also set the new function pointers | |
1549 to zero. | |
1550 (gnu_readline::do_newline): Adapt to new octave_rl_newline | |
1551 interface. | |
1552 (gnu_readeline::operate_and_get_next): Use new accept_line | |
1553 function rather than newline. | |
1554 (default_ommand_editor::do_accept_line): New method. | |
1555 (class command_editor set_filename_quote_characters, | |
1556 set_completer_quote_characters, set_quoting_function, | |
1557 set_dequoting_function, set_char_is_quoted_function, | |
1558 set_user_accept_line_function, get_quoting_function, | |
1559 get_dequoting_function, get_user_accept_line_function, | |
1560 accept_line, filename_quoting_desired): New functions checking | |
1561 instance before calling virtual function. | |
1562 | |
1563 * CMatrix.h, dMatrix.h, boolMatrix.h, chMatrix.h, MArray2.h, | |
1564 Array2.h: Add dim_vector constructors. | |
1565 * charNDArray.h (charNDArray (const dim_vector&)): Add missing | |
1566 const to dim_vector constructors. | |
1567 * boolMatrix.cc, chMatrix.cc, intNDArray.cc (diag (void), diag | |
1568 (octave_idx_type)): New methods to constructor diagonal matrices. | |
1569 * boolMatrix.h, chMatrix.h, intNDArray.h (diag (void), diag | |
1570 (octave_idx_type)): Declare them. | |
1571 | |
1572 | |
6969 | 1573 2007-10-06 John W. Eaton <jwe@octave.org> |
1574 | |
1575 * lo-specfun.cc: (zlgamma): Delete. | |
1576 (xgamma): Use C library gamma function if available. | |
1577 (xlgamma): Use C library lgamma function if available. | |
1578 (xlgamma) [! HAVE_LGAMMA]: Allow calculation for any value of X | |
1579 other than NaN or Inf. | |
1580 | |
6961 | 1581 2007-10-05 John W. Eaton <jwe@octave.org> |
1582 | |
1583 * lo-specfun.cc (zlgamma): New function. | |
1584 | |
6959 | 1585 2007-10-04 John W. Eaton <jwe@octave.org> |
1586 | |
1587 * oct-sort.cc (octave_sort<T>::binarysort): Remove register | |
1588 qualifiers on local variables. | |
1589 | |
6958 | 1590 2007-10-04 Marco Caliari <mcaliari@math.unipd.it> |
1591 | |
1592 * CMatrix.cc (ComplexMatrix::expm): Limit shift to values less | |
1593 than log(realmax) to avoid issues with NaN. | |
1594 | |
6940 | 1595 2007-10-01 John W. Eaton <jwe@octave.org> |
1596 | |
6941 | 1597 * oct-time.cc (octave_strptime::init): Call mktime to propertly |
1598 initialize wday and yday. | |
1599 From Matthias Drochner <m.drochner@fz-juelich.de>. | |
1600 | |
6940 | 1601 * cmd-edit.cc (command_editor::do_decode_prompt_string): Don't |
1602 insert extra '\001' when decoding \[ and \]. | |
1603 | |
6926 | 1604 2007-09-26 David Bateman <dbateman@free.fr> |
1605 | |
1606 * dMatrix.cc (lssolve): Replace the use of xGELSS with xGELSY with | |
1607 is much faster and no less accurate. | |
1608 * CMatrix.cc (lssolve): ditto. | |
1609 | |
6924 | 1610 2007-09-25 David Bateman <dbateman@free.fr> |
1611 | |
1612 * dMatrix.cc (utsolve, ltsolve, fsolve, lssolve): Allow | |
1613 zero dimensioned matrices. | |
1614 * CMatrix.cc (utsolve, ltsolve, fsolve, lssolve): ditto. | |
1615 * dSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
1616 ditto. | |
1617 * CSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
1618 ditto. | |
1619 * SparseQR.cc (SparseQR::SparseQR_rep::C, qrsolve): ditto. | |
1620 * SparseCmplxQR.cc (SparseComplexQR::SparseComplexQR_rep::C, | |
1621 qrsolve): ditto. | |
1622 * sparse-dmsolve.cc (dmsolve): ditto. | |
1623 | |
6922 | 1624 2007-09-21 John W. Eaton <jwe@octave.org> |
1625 | |
1626 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): | |
1627 Also allow resizing empty LHS if it is 1x0 or 0xN. | |
1628 | |
6916 | 1629 2007-09-19 John W. Eaton <jwe@octave.org> |
1630 | |
1631 * cmd-edit.cc (command_editor::remove_startup_hook): | |
1632 Fix cut-and-paste error. | |
6917 | 1633 (gnu_readline::set_startup_hook): Only set hook function if new |
1634 function is different from the current one. | |
6916 | 1635 |
6913 | 1636 2007-09-18 John W. Eaton <jwe@octave.org> |
1637 | |
1638 * cmd-edit.h, cmd-edit.cc (command_editor::startup_hook_set, | |
1639 command_editor::event_hook_set): New static data. | |
1640 (default_command_editor::set_startup_hook, | |
1641 gnu_readline::set_startup_hook, | |
1642 default_command_editor::restore_startup_hook, | |
1643 gnu_readline_restore_event_hook): | |
1644 Rename from do_set_startup_hook and do_set_event_hook. | |
1645 (gnu_readline::operate_and_get_next): Call | |
1646 command_editor::add_startup_hook, not | |
1647 command_editor::set_startup_hook. | |
1648 (command_editor::startup_handler, command_editor::event_handler): | |
1649 New functions. | |
1650 (command_editor::add_startup_hook, command_editor::add_event_hook, | |
1651 command_editor::remove_startup_hook, | |
1652 command_editor::remove_event_hook): Rename from set_startup_hook | |
1653 and restore_startup_hook. Handle hook sets here. | |
1654 * cmd-edit.cc (gnu_history::do_goto_mark): | |
1655 Call remove_startup_hook instead of restore_startup_hook. | |
1656 | |
6907 | 1657 2007-09-17 John W. Eaton <jwe@octave.org> |
1658 | |
1659 * lo-utils.cc (octave_read_complex, octave_read_double): Skip | |
1660 leading whitespace. | |
1661 | |
6897 | 1662 2007-09-13 John W. Eaton <jwe@octave.org> |
1663 | |
1664 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
1665 octave_read_complex): Use istream::get instead of >> to read | |
1666 individual characters. | |
1667 | |
6884 | 1668 2007-09-10 John W. Eaton <jwe@octave.org> |
1669 | |
1670 * Array.cc (assign1): Don't call make_unique for invalid assignment. | |
1671 | |
1672 2007-09-10 David Bateman <dbateman@free.fr> | |
1673 | |
1674 * Array.h (Array<T>::make_unique): Make public so that the | |
1675 ::assign functions can access it directly. | |
1676 * Array.cc (Array<T>::maybe_delete_elements_1(idx_vector&), | |
1677 Array<T>::maybe_delete_elements_1(idx_vector&), | |
1678 Array<T>::maybe_delete_elements(idx_vector&, idx_vector&), | |
1679 Array<T>::maybe_delete_elements(Array<idx_vector>&, const T&)): | |
1680 Use xelem for non const RHS to avoid call to make_unique. | |
1681 (int assign1 (Array<LT>&, const Array<RT>&, const LT&)): Use | |
1682 xelem for LHS and call lhs.make_unique() only once. Special case | |
1683 the is_colon index case and use Array<T>::xelem(octave_idx_type) | |
1684 rather than Array<T>::xelem(octave_idx_type,octave_idx_type) and | |
1685 bring the additional multiplication out of the inner loop. | |
1686 (int assign2 (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
1687 (int assignN (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
1688 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep | |
1689 (const Range& r)): Don't use init_state() method but special case | |
1690 as with a Range can avoid exhaustive search. | |
1691 | |
6881 | 1692 2007-09-07 John W. Eaton <jwe@octave.org> |
1693 | |
1694 * Array.cc (Array<T>::fortran_vec): Call make_unique instead of | |
1695 manipulating rep directly. | |
1696 | |
1697 * Array.h (idx, idx_count): Declare mutable. | |
1698 (Array<T>::set_index, Array<T>::clear_index, Array<T>::value): | |
1699 Now const. | |
1700 | |
6867 | 1701 2007-09-06 David Bateman <dbateman@free.fr> |
1702 | |
6868 | 1703 * Array-util.cc (increment_index): dimensions can have singleton |
1704 trailing dimensions. | |
6867 | 1705 * Array.h (range_error, xelem, checkelem, elem, operator ()): |
1706 Modify use of Array<int> to Array<octave_idx_type> and adjust | |
1707 where necessary. | |
1708 * Array.cc (range_error): ditto. | |
1709 * MArrayN.h (permute, ipermute): ditto. | |
1710 * ArrayN.h (permute, ipermute): ditto. | |
1711 * so-array.cc (streamoff_array::compute_index): ditto. | |
1712 * so-array.h (compute_index): ditto. | |
1713 * CMattrix.cc (ComplexMatrix::exmpm): ditto. | |
1714 | |
6840 | 1715 2007-08-29 David Bateman <dbateman@free.fr> |
1716 | |
1717 * dSparse.cc (SparseMatrix SparseMatrix::inverse (MatrixType &, | |
1718 octave_idx_type&, double&, int, int)): Calculate with LU even for | |
1719 matrices marked as singular. | |
1720 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::inverse ( | |
1721 MatrixType &, octave_idx_type&, double&, int, int)): ditto. | |
1722 * dMatrix.cc (Matrix Matrix::inverse (MatrixType &, octave_idx_type&, | |
1723 double&, int, int)): ditto. If rcond==0 force matrix of infinities. | |
1724 * dMatrix.cc (ComplexMatrix ComplexMatrix::inverse (MatrixType &, | |
1725 octave_idx_type&, double&, int, int)): ditto. | |
1726 | |
6838 | 1727 2007-08-27 John W. Eaton <jwe@octave.org> |
1728 | |
1729 * oct-env.cc (octave_env::rooted_relative_pathname, | |
1730 octave_env::do_rooted_relative_pathname): New functions. | |
1731 * oct-env.h: Provide decls. | |
1732 | |
6823 | 1733 2007-08-24 David Bateman <dbateman@free.fr> |
1734 | |
1735 * MSparse.h (MSparse<T>& insert (const Sparse<T>&, | |
1736 const Array<octave_idx_type>&)): New method. | |
1737 (MSparse (const dim_vector&, octave_idx_type)): Ditto. | |
1738 * dSparse.h (SparseMatrix& SparseMatrix::insert (const | |
1739 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
1740 (SparseMatrix (const dim_vector&, octave_idx_type)): ditto. | |
1741 * dSparse.cc (SparseMatrix& SparseMatrix::insert (const | |
1742 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
1743 * boolSparse.h (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
1744 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
1745 * boolSparse.cc (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
1746 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
1747 * CSparse.h (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
1748 SparseMatrix&, const Array<octave_idx_type>&), | |
1749 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
1750 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
1751 (SparseComplexMatrix (const dim_vector&, octave_idx_type)): ditto. | |
1752 * CSparse.cc (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
1753 SparseMatrix&, const Array<octave_idx_type>&), | |
1754 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
1755 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
1756 | |
6817 | 1757 2007-08-19 David Bateman <dbateman@free.fr> |
1758 | |
1759 * Sparse.cc (Sparse<T>::permute): Avoid shadowing warning. | |
1760 | |
6813 | 1761 2007-08-14 John W. Eaton <jwe@octave.org> |
1762 | |
1763 * Sparse.cc (Sparse<T>::permute): permutation vector is zero based. | |
1764 Simplify. | |
6814 | 1765 (Sparse<T>::reshape): Warn about reshaping to N-d array. |
6813 | 1766 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
1767 2007-08-10 Michael Goffioul <michael.goffioul@gmail.com> |
6810 | 1768 |
1769 * file-stat.cc (file_stat::update_internal) [__WIN32__]: | |
1770 Remove trailing dir separator when stat'ing directory except for | |
1771 root directory. | |
1772 | |
6796 | 1773 2007-07-25 David Bateman <dbateman@free.fr> |
1774 | |
1775 * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" | |
1776 to work. | |
1777 | |
6764 | 1778 2007-06-04 David Bateman <dbateman@free.fr> |
1779 | |
1780 * oct-inttypes.h (octave_int<T>& operator <<= (const T2&), | |
1781 octave_int<T>& operator >>= (const T2&)): Make shift operators | |
1782 perform a twos complement arithmetic shift for both signed and | |
1783 unsigned integers regardless of compiler implementations. | |
1784 | |
6708 | 1785 2007-06-13 Michael Goffioul <michael.goffioul@swing.be> |
1786 | |
6719 | 1787 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): For CXSparse 2.2 and greater |
1788 use cs_complex_t(0,0) for the complex zero. | |
1789 | |
6708 | 1790 * MArray-ch.cc, MArray-d.cc, MArray-i.cc, MArray-s.cc: |
1791 Sprinkle class instantiations with OCTAVE_API as needed. | |
1792 | |
1793 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY, | |
1794 INSTANTIATE_ARRAY_AND_ASSIGN): New arg, API. Change all uses. | |
1795 * MArray-defs.h (MARRAY_OP_ASSIGN_DECL, MARRAY_OP_ASSIGN_DECLS, | |
1796 MARRAY_OP_ASSIGN_FWD_DECLS, MARRAY_OP_ASSIGN_FRIENDS, | |
1797 MARRAY_OP_ASSIGN_DEFS, MARRAY_UNOP, MARRAY_UNOP_DECLS, | |
1798 MARRAY_UNOP_FWD_DECLS, MARRAY_UNOP_FRIENDS, MARRAY_UNOP_DEFS, | |
1799 MARRAY_BINOP_DECL, MARRAY_BINOP_DECLS, MARRAY_AA_BINOP_DECLS, | |
1800 MDIAGARRAY2_DAS_BINOP_DECLS, MDIAGARRAY2_SDA_BINOP_DECLS, | |
1801 MDIAGARRAY2_DADA_BINOP_DECLS, MARRAY_BINOP_FWD_DECLS, | |
1802 MDIAGARRAY2_BINOP_FWD_DECLS, MARRAY_BINOP_FRIENDS, | |
1803 MDIAGARRAY2_BINOP_FRIENDS, MARRAY_BINOP_DEFS, | |
1804 MDIAGARRAY2_BINOP_DEFS, MARRAY_OPS_FORWARD_DECLS, | |
1805 MDIAGARRAY2_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS, | |
1806 MDIAGARRAY2_OPS_FRIEND_DECLS, INSTANTIATE_MARRAY_FRIENDS, | |
1807 INSTANTIATE_MARRAY2_FRIENDS, INSTANTIATE_MARRAYN_FRIENDS, | |
1808 INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. | |
1809 * MSparse-defs.h (SPARSE_OP_ASSIGN_DECL, SPARSE_OP_ASSIGN_DECLS, | |
1810 SPARSE_OP_ASSIGN_FWD_DECLS, SPARSE_OP_ASSIGN_FRIENDS, | |
1811 SPARSE_OP_ASSIGN_DEFS, SPARSE_UNOP, SPARSE_UNOP_DECLS, | |
1812 SPARSE_UNOP_FWD_DECLS, SPARSE_UNOP_FRIENDS, SPARSE_UNOP_DEFS, | |
1813 SPARSE_BINOP_DECL, SPARSE_BINOP_DECLS, SPARSE_AA_BINOP_DECLS, | |
1814 SPARSE_BINOP_FWD_DECLS, SPARSE_BINOP_FRIENDS, SPARSE_BINOP_DEFS, | |
1815 SPARSE_OPS_FORWARD_DECLS, SPARSE_OPS_FRIEND_DECLS, | |
1816 INSTANTIATE_SPARSE_FRIENDS): Ditto. | |
1817 * Sparse-op-defs.h (SPARSE_BIN_OP_DECL, SPARSE_CMP_OP_DECL, | |
1818 SPARSE_BOOL_OP_DECL, SPARSE_SMS_BIN_OP_DECLS, | |
1819 SPARSE_SMS_CMP_OP_DECLS, SPARSE_SMS_EQNE_OP_DECLS, | |
1820 SPARSE_SMS_BOOL_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
1821 SPARSE_SMS_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
1822 SPARSE_SSM_CMP_OP_DECLS, SPARSE_SSM_EQNE_OP_DECLS, | |
1823 SPARSE_SSM_BOOL_OP_DECLS, SPARSE_SSM_OP_DECLS, | |
1824 SPARSE_SMSM_BIN_OP_DECLS, SPARSE_SMSM_CMP_OP_DECLS, | |
1825 SPARSE_SMSM_EQNE_OP_DECLS, SPARSE_SMSM_BOOL_OP_DECLS, | |
1826 SPARSE_SMSM_OP_DECLS, SPARSE_MSM_BIN_OP_DECLS, | |
1827 SPARSE_MSM_CMP_OP_DECLS, SPARSE_MSM_EQNE_OP_DECLS, | |
1828 SPARSE_MSM_BOOL_OP_DECLS, SPARSE_MSM_OP_DECLS, | |
1829 SPARSE_SMM_BIN_OP_DECLS, SPARSE_SMM_CMP_OP_DECLS, | |
1830 SPARSE_SMM_EQNE_OP_DECLS, SPARSE_SMM_BOOL_OP_DECLS, | |
1831 SPARSE_SMM_OP_DECLS): Ditto. | |
1832 * Sparse.h (INSTANTIATE_SPARSE_ASSIGN, INSTANTIATE_SPARSE, | |
1833 INSTANTIATE_SPARSE_AND_ASSIGN): Ditto. | |
1834 * mx-op-defs.h (BIN_OP_DECL, CMP_OP_DECL, NDCMP_OP_DECL, | |
1835 BOOL_OP_DECL, NDBOOL_OP_DECL, VS_BIN_OP_DECLS, VS_OP_DECLS, | |
1836 SV_BIN_OP_DECLS, SV_OP_DECLS, VV_BIN_OP_DECLS, VV_OP_DECLS, | |
1837 MS_BIN_OP_DECLS, MS_CMP_OP_DECLS, MS_BOOL_OP_DECLS, MS_OP_DECLS, | |
1838 SM_BIN_OP_DECLS, SM_CMP_OP_DECLS, SM_BOOL_OP_DECLS, SM_OP_DECLS, | |
1839 MM_BIN_OP_DECLS, MM_CMP_OP_DECLS, MM_BOOL_OP_DECLS, MM_OP_DECLS, | |
1840 NDS_BIN_OP_DECLS, NDS_CMP_OP_DECLS, NDS_BOOL_OP_DECLS, | |
1841 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_CMP_OP_DECLS, | |
1842 SND_BOOL_OP_DECLS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
1843 NDND_CMP_OP_DECLS, NDND_BOOL_OP_DECLS, NDND_OP_DECLS, | |
1844 SDM_BIN_OP_DECLS, SDM_OP_DECLS, DMS_BIN_OP_DECLS, DMS_OP_DECLS, | |
1845 MDM_BIN_OP_DECLS, MDM_OP_DECLS, DMM_BIN_OP_DECLS, DMM_OP_DECLS, | |
1846 DMDM_BIN_OP_DECLS, DMDM_OP_DECLS): Ditto. | |
1847 | |
6699 | 1848 2007-06-12 John W. Eaton <jwe@octave.org> |
1849 | |
1850 * dMatrix.cc (Matrix::expm): Special case for scalar arg. | |
1851 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6697 | 1852 |
6693 | 1853 2007-06-06 Michael Goffioul <michael.goffioul@swing.be> |
1854 | |
6709 | 1855 * file-ops.cc (tilde_find_suffix, isolate_tilde_prefix, |
1856 tilde_expand_word): Use file_ops::is_dir_sep instead of comparing | |
1857 with file_ops::dir_sep_char. | |
6694 | 1858 |
6693 | 1859 * MArray-C.cc: Sprinkle with OCTINTERP_API as needed. |
1860 | |
6689 | 1861 2007-06-04 David Bateman <dbateman@free.fr> |
1862 | |
6699 | 1863 * file-ops.cc: Typo. |
1864 | |
6689 | 1865 * Sparse.cc (Sparse<T> Sparse<T>::reshape): If length of new |
1866 dimensions is greater than 2, collapse to 2-D. | |
1867 | |
6685 | 1868 2007-06-02 David Bateman <dbateman@free.fr> |
1869 | |
1870 * SparseCmplxQR.cc: Changes to support CXSparse 2.2.0. | |
1871 | |
6680 | 1872 2007-05-31 John W. Eaton <jwe@octave.org> |
1873 | |
1874 * Array.cc (Array::get_size): Throw std::bad_alloc exception if | |
1875 the computed size is too large for the size of Octave's index type. | |
1876 | |
6662 | 1877 2007-05-23 John W. Eaton <jwe@octave.org> |
1878 | |
1879 * oct-sparse.h: Don't surround included files with extern "C" { ... }. | |
1880 | |
6629 | 1881 2007-05-16 David Bateman <dbateman@free.fr> |
1882 | |
1883 * dRowVector.cc (linspace): Return second argument if fewer than | |
1884 two values are requested. | |
1885 * CRowVector.cc (linspace): Likewise. | |
1886 | |
6596 | 1887 2007-04-27 John W. Eaton <jwe@octave.org> |
1888 | |
1889 * lo-mappers.cc (signum (const Complex&)): Special case for (0, 0). | |
1890 | |
6583 | 1891 2007-04-25 John W. Eaton <jwe@octave.org> |
1892 | |
1893 * oct-fftw.h (octave_fftw): Tag with OCTAVE_API. | |
1894 | |
6553 | 1895 2007-04-20 John W. Eaton <jwe@octave.org> |
1896 | |
1897 * Array.cc (assign1): For x(:) = RHS, require rhs_len == lhs_len, | |
1898 not rhs_len == 1. | |
1899 | |
6536 | 1900 2007-04-18 Michael Goffioul <michael.goffioul@swing.be> |
1901 | |
1902 * oct-md5.h (oct_md5, oct_md5_file): Tag decls with OCTAVE_API. | |
1903 | |
6525 | 1904 2007-04-13 John W. Eaton <jwe@octave.org> |
1905 | |
1906 * Array.cc (Array<T>::maybe_delete_elements_2): Don't return early | |
1907 for empty matrix. Only check for colon index equivalence if not empty. | |
1908 | |
6513 | 1909 2007-04-10 John W. Eaton <jwe@octave.org> |
1910 | |
1911 * SparseCmplxQR.cc | |
1912 (SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep): | |
1913 Move GCC_ATTR_UNUSED before the parameter decl. | |
1914 From Luis Ortiz <lortiz@interactivesupercomputing.com>. | |
1915 | |
6508 | 1916 2007-04-06 John W. Eaton <jwe@octave.org> |
1917 | |
1918 * MArray-defs.h (MARRAY_NORM_BODY): New macro. | |
1919 * MArray.h (MArray<T>::norm): New function. | |
1920 * MArray.cc: Provide decl. | |
1921 * MArray-d.cc (MArray<double>::norm): Define double specialization. | |
1922 * MArray-C.cc (MArray<Complex>::norm): Define Complex specialization. | |
1923 | |
6490 | 1924 2007-04-04 John W. Eaton <jwe@octave.org> |
1925 | |
1926 * Range.cc (Range::nelem_internal): Likewise. | |
1927 * lo-utils.cc (NINT): Use numeric_limits<int> instead of INT_MAX. | |
1928 (NINTbig): Use numeric_limits<octave_idx_type> instead of INT_MAX. | |
1929 From Scott Pakin <pakin@lanl.gov>. | |
1930 | |
6486 | 1931 2007-04-04 David Bateman <dbateman@free.fr> |
1932 | |
1933 * dMatrix.cc (Matrix::inverse): If calc_cond is true, calculate | |
1934 the condition number for positive definite matrices. | |
1935 * CMatrix.cc (ComplexMatrix::inverse): Ditto. | |
1936 * dbleChol.h (CHOL(const Matrix&, bool)): New arg, calc_cond. | |
1937 (CHOL(const Matrix&, octave_idx_type&, bool): Ditto. | |
1938 (octave_idx_type init (const Matrix&, bool)): Ditto. | |
1939 (CHOL(const CHOL&)): Copy xrcond. | |
1940 (CHOL& operator = (const CHOL&)): Copy xrcond. | |
1941 (xrcond): New private data member. | |
1942 * CmplxCHOL.h (ComplexCHOL(const ComplexMatrix&, bool)): New arg, | |
1943 calc_cond. | |
1944 (ComplexCHOL(const ComplexMatrix&, octave_idx_type&, bool): Ditto | |
1945 (octave_idx_type init (const ComplexMatrix&, bool)): Ditto. | |
1946 (ComplexCHOL(const ComplexCHOL&)): Copy xrcond. | |
1947 (ComplexCHOL& operator = (const ComplexCHOL&)): Copy xrcond. | |
1948 (xrcond): New private data member. | |
1949 * dbleCHOL.cc (CHOL::init(const Matrix&, bool)): If calc_cond is | |
1950 true, calculate the condition number with dpocon. | |
1951 * CmplxCHOL.cc (ComplexCHOL::init(const ComplexMatrix&, bool)): If | |
1952 calc_cond is true, calculate the condition number with zpocon. | |
1953 | |
6481 | 1954 2007-04-03 John W. Eaton <jwe@octave.org> |
1955 | |
6482 | 1956 * intNDArray.cc (intNDArray): Delete spurious semicolon. |
1957 | |
1958 * CMatrix.cc (ComplexMatrix::tinverse): Use Array<T> and | |
1959 fortran_vec method instead of OCTAVE_LOCAL_BUFFER to avoid | |
1960 "maybe clobbered by vfork" warning. | |
1961 | |
6483 | 1962 * Sparse-op-defs.h (SPARSE_CUMSUM): Add braces to avoid ambiguous |
6482 | 1963 if/else. |
1964 | |
1965 * oct-spparms.h (octave_sparse_params): Define copy constructor | |
1966 and destructor. | |
1967 | |
6481 | 1968 * Array.cc (assignN): Don't resize dimension if corresponding |
1969 index is empty. | |
1970 | |
6479 | 1971 2007-04-02 John W. Eaton <jwe@octave.org> |
1972 | |
1973 * dMatrix.h (Matrix::inverse): Reinstate versions without | |
1974 MatrixType argument. | |
1975 * CMatrix.h (ComplexMatrix::inverse): Likewise. | |
1976 | |
6467 | 1977 2007-03-27 John W. Eaton <jwe@octave.org> |
1978 | |
1979 * Makefile.in (DISTDIRS): Delete variable. | |
1980 (dist): Delete action for DISTDIRS. Use ln instead of $(LN_S). | |
1981 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
1982 2007-03-26 David Bateman <dbateman@free.fr> |
6460 | 1983 |
1984 * MatrixType.cc: Replace all uses of the method | |
1985 octave_sparse_params::get_key ("bandden") with | |
1986 octave_sparse_params::get_bandden (void). | |
1987 (MatrixType::MatrixType (void)): Undo previous change but use | |
1988 octave_sparse_params::get_bandden (void). | |
1989 * oct-spparms.cc (get_bandden(void), do_get_bandden(void)): New | |
1990 methods. | |
1991 * oct-spparms.h (get_bandden(void), do_get_bandden(void)): | |
1992 Declare them. | |
1993 | |
6458 | 1994 2007-03-26 Luis Ortiz <lortiz@interactivesupercomputing.com> |
1995 David Bateman <dbateman@free.fr> | |
1996 | |
1997 * idx-vector.h.cc (IDX_VEC_REP::idx_vector_rep (const Range&)): | |
1998 Check that all elements are ints before doing anything. Simplify | |
1999 calculation of index values. | |
2000 | |
6457 | 2001 2007-03-26 David Bateman <dbateman@free.fr> |
2002 | |
2003 * Range.cc (Range::all_elements_are_ints): Improve check. | |
2004 | |
6456 | 2005 2007-03-26 John W. Eaton <jwe@octave.org> |
2006 | |
2007 * chNDArray.cc, chMatrix.cc: Also generate comparison and bool ops. | |
2008 * chNDArray.h, chMatrix.h: Provide decls. | |
2009 | |
2010 2007-03-24 Luis Ortiz <lortiz@interactivesupercomputing.com> | |
2011 | |
2012 * MatrixType.cc (MatrixType::MatrixType (void)): Initialize | |
2013 sp_bandden to zero for performance reasons as it's not used. | |
6452 | 2014 |
6435 | 2015 2007-03-23 David Bateman <dbateman@free.fr> |
2016 | |
2017 * oct-rand.cc (octave_rand::seed): Seed differently for big and | |
2018 little endian. | |
2019 | |
6414 | 2020 2007-03-15 John W. Eaton <jwe@octave.org> |
2021 | |
2022 * lo-mappers.cc (acos): Use formula similar to what we use for asin. | |
2023 From Alexander Barth <abarth@marine.usf.edu>. | |
2024 | |
6402 | 2025 2007-03-12 John W. Eaton <jwe@octave.org> |
2026 | |
2027 * oct-inttypes.h (octave_int::octave_int (double)): | |
2028 New Specialization. Round arg. | |
2029 (operator / (const octave_int<T1>&, const octave_int<T2>&)): | |
2030 Round result before converting type. | |
2031 | |
6388 | 2032 2007-03-07 John W. Eaton <jwe@octave.org> |
2033 | |
6392 | 2034 * Array.cc (assign1): Avoid resizing if there is an error. |
2035 | |
6390 | 2036 * dMatrix.cc, CMatrix.cc (operator *): Only check |
2037 f77_exception_encountered immediately after calls that use F77_XFCN. | |
2038 | |
6389 | 2039 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
2040 Only allow resizing empty LHS if it is 0x0. | |
2041 | |
6388 | 2042 * Array.cc (Array<T>::maybe_delete_elements (Array<idx_vector>&, |
2043 const T&)): Handle case of more indices than dimensions. | |
2044 (assign (Array<LT>&, const Array<RT>&, const LT&)): Allow more | |
2045 cases to be handled by assignN. | |
2046 (assignN (Array<LT>&, const Array<RT>&, const LT&)): | |
2047 Special cases for 2-d array assignments for speed. | |
2048 Improve handling of scalar RHS and empty indices. | |
6384 | 2049 |
6383 | 2050 2007-03-05 David Bateman <dbateman@free.fr> |
2051 | |
2052 * oct-md5.c (oct_md5_file (const std::string&)): New function. | |
2053 * oct-md5.h (oct_md5_file (const std::string&)): Declare it. | |
2054 | |
6379 | 2055 2007-03-02 John W. Eaton <jwe@octave.org> |
2056 | |
2057 * str-vec.h (string_vector::empty): Return bool, not int. | |
2058 | |
6375 | 2059 2007-03-01 David Bateman <dbateman@free.fr> |
2060 | |
2061 * md5.h, md5.c: New files from libmd5-rfc sourceforge project for | |
2062 an independent implementation of RFC1321. | |
2063 * oct-md5.h, oct-md5: New files for treating std::string class | |
2064 with MD5. | |
2065 * Makefile.in (INCLUDES): Add md5.h and oct-md5.h | |
2066 (LIBOCTAVE_CXX_SOURCES): Add oct-md5.cc | |
2067 (LIBOCTAVE_C_SOURCES): Add md5.c | |
2068 | |
6366 | 2069 2007-02-27 John W. Eaton <jwe@octave.org> |
2070 | |
2071 * Makefile.in (uninstall): Delete files listed in | |
2072 $(INCLUDES_FOR_INSTALL), instead of $(INCLUDES). | |
2073 From Thomas Treichl <Thomas.Treichl@gmx.net>. | |
2074 | |
6536 | 2075 2007-02-27 Michael Goffioul <michael.goffioul@swing.be> |
6363 | 2076 |
2077 * file-ops.cc (file_ops::recursive_rmdir): | |
2078 Close dir_entry object before calling rmdir. | |
2079 | |
6536 | 2080 2007-02-26 Michael Goffioul <michael.goffioul@swing.be> |
6358 | 2081 |
2082 * Makefile.in: Use $(LN_S) instead of ln or ln -s. | |
2083 | |
6359 | 2084 * sparse-util.h (SparseCholPrint, SparseCholError): |
2085 Tag with OCTAVE_API. | |
2086 | |
6326 | 2087 2007-02-18 David Bateman <dbateman@free.fr> |
2088 | |
2089 * oct-rand.cc (do_old_initialization()): call setcgn(1) prior to | |
2090 calling setall and reset to the current generator after. | |
2091 | |
6323 | 2092 2007-02-16 John W. Eaton <jwe@octave.org> |
2093 | |
2094 * oct-shlib.h (octave_shlib::relative): New data member. | |
2095 (octave_shlib::mark_relative, octave_shlib::is_relative): | |
2096 New functions. | |
2097 | |
6321 | 2098 2007-02-16 Michael Goffioul <michael.goffioul@swing.be> |
2099 | |
2100 * lo-sysdep.cc (octave_popen2): New function to simulate popen2 on | |
2101 windows platform. | |
2102 * lo-sysdep.h (octave_popen2): Declare it. | |
2103 * oct-syscalls.cc (octave_syscalls::popen2): New function. | |
2104 * oct-syscalls.h (octave_syscalls::popen2): Declare it. | |
2105 | |
6306 | 2106 2007-02-14 John W. Eaton <jwe@octave.org> |
2107 | |
2108 * kpse.cc (expand_elt): Omit special treatment for //. | |
2109 | |
6273 | 2110 2007-02-06 John W. Eaton <jwe@octave.org> |
2111 | |
2112 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_REALPATH]: | |
2113 Don't delete value returned from realpath. | |
2114 | |
6271 | 2115 2007-02-05 Thomas Treichl <Thomas.Treichl@gmx.net> |
2116 | |
2117 * file-ops.cc (file_ops::canonicalize_file_name): | |
2118 Provide implementation if realpath function is available. | |
2119 | |
6256 | 2120 2007-01-29 Michael Goffioul <michael.goffioul@swing.be> |
2121 | |
2122 * oct-fftw.h: Sprinkle with OCTAVE_API as needed. | |
2123 | |
6244 | 2124 2007-01-17 Michael Goffioul <michael.goffioul@swing.be> |
2125 | |
2126 * lo-sysdep.cc (octave_chdir): Handle directory names like "C:" on | |
2127 Windows systems. | |
2128 | |
6242 | 2129 2007-01-16 John W. Eaton <jwe@octave.org> |
2130 | |
2131 * dSparse.cc: Fix dgbtrf decl for --enable-64. | |
2132 (SparseMatrix::bsolve): Fix call to dgbtrf for --enable-64 | |
2133 | |
2134 * oct-fftw.h (fftw_planner): Provide decl. | |
2135 | |
6241 | 2136 2007-01-11 Michael Goffioul <michael.goffioul@swing.be> |
2137 | |
2138 * Makefile.in (LINK_DEPS): Include $(CAMD_LIBS) in the list. | |
2139 | |
6236 | 2140 2007-01-10 John W. Eaton <jwe@octave.org> |
2141 | |
2142 * oct-sparse.h: Use HAVE_CHOLMOD_CHOLMOD_H, not | |
2143 HAVE_UMFPACK_CHOLMOD_H for case of "cholmod/cholmod.h". | |
2144 | |
6231 | 2145 2007-01-08 David Bateman <dbateman@free.fr> |
2146 | |
2147 * oct-sparse.h: Replace sparsesuite with suitesparse and | |
2148 SPARSESUITE with SUITESPARSE to match upstream name. | |
2149 | |
6228 | 2150 2007-01-05 David Bateman <dbateman@free.fr> |
2151 | |
2152 * oct-fftw.cc: (octave_fftw_planner::method (void), | |
2153 octave_fftw_planner (FftwMethod)): New methods to interrogate and | |
2154 set the FFTW wisdom method used. | |
2155 (octave_fftw_planner::create_plan) Modify to allow different | |
2156 methods to be used. | |
2157 (octave_fftw_planner): Move class definition from here. | |
2158 * oct-fftw.h (octave_fftw_planner): To here. Add method methods | |
2159 and FftwMethod enum. | |
2160 | |
6221 | 2161 2007-01-03 David Bateman <dbateman@free.fr> |
2162 | |
2163 * MSparse.cc (SPARSE_A2A2_OP, SPARSE_A2A2_FCN_1, | |
2164 SPARSE_A2A2_FCN_1): Modify macros so that scalars stored as | |
2165 sparse matrices are special cased. | |
2166 | |
2167 * Sparse-op-defs.h: Include mx-ops.h to have access to mixed | |
2168 matrix, sparse matrix operations. | |
2169 (SPARSE_SMSM_BIN_OP_1, SPARSE_SMSM_BIN_OP_2, SPARSE_SMSM_BIN_OP_3, | |
2170 SPARSE_SMSM_CMP_OP, SPARSE_SMSM_BOOL_OP, SPARSE_MSM_BIN_OP_1, | |
2171 SPARSE_MSM_BIN_OP_2, SPARSE_MSM_CMP_OP, SPARSE_MSM_BOOL_OP, | |
2172 SPARSE_SMM_BIN_OP_1, SPARSE_SMM_BIN_OP_2, SPARSE_SMM_CMP_OP, | |
2173 SPARSE_SMM_BOOL_OP, SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, | |
2174 FULL_SPARSE_MUL): Modify macros so that scalars stored as | |
2175 sparse matrices are special cased. | |
2176 | |
6217 | 2177 2006-12-22 David Bateman <dbateman@free.fr> |
2178 | |
2179 * boolSparse.cc (SparseBoolMatrix::operator !): Fix off-by-one error. | |
2180 | |
6216 | 2181 2006-12-22 John W. Eaton <jwe@octave.org> |
2182 | |
2183 * dim-vector.h (dim_vector::dim_vector): Always start with at | |
2184 least 2 dimensions. | |
2185 (dim_vector::resize): Don't allow resizing to fewer than 2 dimensions. | |
2186 | |
6208 | 2187 2006-12-06 Michael Goffioul <michael.goffioul@swing.be> |
2188 | |
2189 * lo-sysdep.cc (opendir): Avoid passing \\* to FindFirstFile. | |
2190 | |
2191 * file-ops.cc (ops::canonicalize_file_name): Provide partial | |
6217 | 2192 implementation for Windows. |
6208 | 2193 |
6207 | 2194 2006-12-06 David Bateman <dbateman@free.fr> |
2195 | |
6208 | 2196 * dSparse.cc (SparseMatrix::is_symmetric): Faster implementation. |
2197 * CSparse.cc (SparseComplexMatrix::is_symmetric): Ditto. | |
6207 | 2198 |
2199 * dMatrrix.cc (finverse): Old inverse method renamed inverse. | |
2200 (tinverse): New method for triangular matrices. | |
2201 (inverse): New function with matrix type probing. | |
2202 * dMatrix.h (finverse, tinverse, inverse): New and modified | |
2203 declarations. | |
6208 | 2204 * CMatrix.cc: Ditto. |
2205 * CMatrix.h: Ditto. | |
6207 | 2206 |
6205 | 2207 2006-12-06 John W. Eaton <jwe@octave.org> |
2208 | |
2209 * strptime.c (day_of_the_week): Use code from current glibc sources. | |
2210 | |
6202 | 2211 2006-12-05 John W. Eaton <jwe@octave.org> |
2212 | |
2213 * lo-utils.cc (octave_read_double): If we see '+' or '-' but not | |
2214 followed by 'I' or 'i', try reading number after putting | |
2215 characters back on input stream. | |
2216 | |
6198 | 2217 2006-12-05 Paul Kienzle <pkienzle@users.sf.net> |
2218 | |
2219 * randpoisson.c (oct_fill_randp): For lambda > 1e8, upper limit of | |
2220 loop is n, not L. | |
2221 | |
6194 | 2222 2006-11-30 John W. Eaton <jwe@octave.org> |
2223 | |
2224 * lo-utils.cc (octave_read_double, read_inf_nan_na): | |
2225 Also recognize [+-][Ii]nf. | |
2226 | |
6187 | 2227 2006-11-28 David Bateman <dbateman@free.fr> |
6186 | 2228 |
2229 * oct-sparse.h: Allow sparse headers to also be in a sparsesuite | |
2230 sub-directory. | |
2231 | |
6204 | 2232 * dSparse.cc (SparseMatrix::inverse): Transpose the matrix type as |
2233 well when calling tinverse for lower triangular matrices. | |
2234 * CSparse.cc (SparseComplexMatrix::inverse): | |
2235 Ditto. | |
6185 | 2236 |
6183 | 2237 2006-11-21 John W. Eaton <jwe@octave.org> |
2238 | |
2239 * oct-env.cc (do_absolute_pathname): Undo previous change. | |
2240 | |
6182 | 2241 2006-11-20 John W. Eaton <jwe@octave.org> |
2242 | |
2243 * oct-env.cc (octave_env::do_absolute_pathname): Also return true | |
2244 for ".", and names beginning with "./" or "../". | |
2245 | |
6162 | 2246 2006-11-14 Luis F. Ortiz <lortiz@interactivesupercomputing.com> |
2247 | |
2248 * CMatrix.cc, dMatrix.cc: New tests. | |
2249 | |
6153 | 2250 2006-11-13 Michael Goffioul <michael.goffioul@swing.be> |
2251 | |
2252 * Array-d.cc, dDiagMatrix.h: Sprinkle with OCTAVE_API as needed. | |
2253 | |
6152 | 2254 2006-11-11 John W. Eaton <jwe@octave.org> |
2255 | |
2256 * Makefile.in ($(OPTS_INC), mx-ops.h): | |
2257 Use $(simple-move-if-change-rule) here. | |
2258 | |
6148 | 2259 2006-11-09 David Bateman <dbateman@free.fr> |
2260 | |
2261 * sparse-base-chol.cc (sparse_base_chol_rep::Q): Cast perms(i) to | |
2262 octave_idx_type, not int. | |
2263 | |
6145 | 2264 2006-11-08 John W. Eaton <jwe@octave.org> |
2265 | |
2266 * dir-ops.cc (dir_entry::read): Avoid rewinddir. | |
2267 | |
6141 | 2268 2006-11-06 John W. Eaton <jwe@octave.org> |
2269 | |
2270 * Array.cc (assignN): Exit early if invalid indices are found. | |
2271 | |
6140 | 2272 2006-11-03 Michael Goffioul <michael.goffioul@swing.be> |
2273 | |
2274 * strftime.c [HAVE_TZNAME]: Tag tzname with OCTAVE_IMPORT. | |
2275 | |
6137 | 2276 2006-11-03 John W. Eaton <jwe@octave.org> |
2277 | |
2278 * Makefile.in (DLL_CXXDEFS): Rename from XTRA_CXXDEFS. | |
2279 (DLL_CDEFS): Rename from XTRA_CDEFS. | |
2280 Substitute OCTAVE_DLL_DEFS, not XTRA_OCTAVE_DEFS. | |
2281 | |
6123 | 2282 2006-10-28 Michael Goffioul <michael.goffioul@swing.be> |
2283 | |
2284 * oct-shlib.cc: Undefine min and max after including windows.h. | |
2285 * oct-syscalls.cc (syscalls::pipe (int *)): Avoid infinite recursion. | |
2286 * lo-sysdep.h: Move opendir, readdir, etc. decls here from | |
2287 lo-sysdep.cc. | |
2288 | |
6113 | 2289 2006-10-27 John W. Eaton <jwe@octave.org> |
2290 | |
6119 | 2291 * oct-time.cc [! HAVE_STRFTIME]: Declare strftime. |
2292 | |
2293 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> | |
2294 | |
2295 * mx-op-defs.h (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, | |
2296 NDS_CMP_OPS2): New macros. | |
6113 | 2297 |
6111 | 2298 2006-10-26 John W. Eaton <jwe@octave.org> |
2299 | |
6119 | 2300 * mx-ops (core-type): New field for integer types. |
2301 * mk-ops.awk: Handle core-type for integer comparison ops. | |
2302 | |
6111 | 2303 * lo-cutils.c (octave_strcasecmp, octave-strncasecmp): |
2304 Move here from src/cutils.c. | |
2305 * lo-utils.h: Provide decls. | |
2306 * strcasecmp.c: Move here from src/strcasecmp.c. | |
2307 * strncase.c: Move here from src/strncase.c. | |
2308 * Makefile.in (LIBOCTAVE_C_SOURCES): Add them to the list. | |
2309 | |
6106 | 2310 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
2311 | |
2312 * kpse.cc [! MSVC]: Don't include win32lib.h. | |
2313 | |
6708 | 2314 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-util.h, |
2315 Array.h, CColVector.h, CMatrix.h, CNDArray.h, CRowVector.h, | |
2316 CSparse.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, | |
2317 CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, | |
2318 CollocWt.h, DAE.h, DASPK.h, DASRT.h, DASSL.h, EIG.h, LSODE.h, | |
2319 MArray-C.cc, MArray-defs.h, MSparse-C.cc, MSparse-d.cc, | |
2320 MSparse-defs.h, MatrixType.h, NLEqn.h, Quad.h, Range.h, | |
2321 Sparse-op-defs.h, Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, | |
2322 SparseCmplxQR.h, SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, | |
2323 boolMatrix.h, boolNDArray.h, boolSparse.h, chMatrix.h, | |
2324 chNDArray.h, cmd-edit.h, cmd-hist.h, dColVector.h, dDiagMatrix.h, | |
2325 dMatrix.h, dNDArray.h, dRowVector.h, dSparse.h, data-conv.h, | |
2326 dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, dbleLU.h, | |
2327 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, dir-ops.h, | |
2328 file-ops.h, file-stat.h, glob-match.h, idx-vector.h, | |
2329 int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, | |
2330 lo-cutils.c, lo-ieee.h, lo-mappers.h, lo-specfun.h, lo-utils.h, | |
2331 mach-info.h, mx-op-defs.h, oct-alloc.h, oct-env.h, oct-group.h, | |
2332 oct-inttypes.cc, oct-inttypes.h, oct-passwd.h, oct-rand.h, | |
2333 oct-shlib.h, oct-spparms.h, oct-syscalls.h, oct-time.h, | |
2334 oct-uname.h, pathsearch.h, prog-args.h, so-array.h, str-vec.h, | |
2335 uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc, | |
2336 uint8NDArray.cc: Sprinkle with OCTAVE_API as needed. | |
6108 | 2337 |
6105 | 2338 2006-10-26 John W. Eaton <jwe@octave.org> |
2339 | |
2340 * oct-inttypes.cc (INSTANTIATE_INTTYPE_BIN_OP): Provide explicit | |
2341 type qualification for OP. | |
2342 | |
6101 | 2343 2006-10-26 David Bateman <dbateman@free.fr> |
2344 | |
2345 * Sparse.cc (Sparse<T>::resize_no_fill (octave_idx_type, | |
2346 octave_idx_type)): Be more careful with the size of the input | |
2347 matrix, and therefore don't create or read non existent data. | |
2348 | |
6092 | 2349 2006-10-25 John W. Eaton <jwe@octave.org> |
2350 | |
2351 * Sparse.cc (assign): Clear lhs index after error. | |
2352 | |
6093 | 2353 2006-10-25 David Bateman <dbateman@free.fr> |
6092 | 2354 |
2355 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
2356 Fix previous patch so it works. | |
2357 | |
6087 | 2358 2006-10-25 Michael Goffioul <michael.goffioul@swing.be> |
2359 | |
6095 | 2360 * glob-match.h (glob_match::glob_match (const std::string&, |
2361 unsigned int)): Delete initializer for first arg. | |
2362 | |
6093 | 2363 * lo-sysdep.cc (opendir, readdir, rewinddir, closedir): |
2364 New functions. | |
2365 | |
6087 | 2366 * Makefile.in (XTRA_CDEFS, XTRA_CXXDEFS): Substitute here. |
2367 | |
6096 | 2368 * oct-env.cc (octave_env::do_get_home_directory) [_MSC_VER]: Use |
2369 same code as __MINGW32__. | |
2370 * syswait.h [_MSC_VER]: Define HAVE_WAITPID, WAITPID, and WNOHANG | |
2371 the same as for __MINGW32__. | |
2372 | |
2373 * randpoisson.c: Undefine INFINITE before redefining. | |
2374 | |
6079 | 2375 2006-10-24 David Bateman <dbateman@free.fr> |
2376 | |
2377 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Resize the | |
2378 lhs at the point we know the assignment can succeed if the lhs is | |
2379 empty. | |
2380 | |
6072 | 2381 2006-10-23 John W. Eaton <jwe@octave.org> |
2382 | |
2383 * Array.cc (assign2): Don't require vector assignments to be oriented. | |
2384 | |
6061 | 2385 2006-10-17 John W. Eaton <jwe@octave.org> |
2386 | |
2387 * lo-cieee.c: If isnan is not available but _isnan is, then define | |
2388 isnan to be _isnan, and define HAVE_ISNAN. Likewise for _finite | |
2389 and _copysign. | |
2390 | |
6059 | 2391 2006-10-17 Michael Goffioul <michael.goffioul@swing.be> |
6051 | 2392 |
6061 | 2393 * oct-syscalls.cc (syscalls::waitpid): Always declare and define retval. |
2394 | |
6708 | 2395 * CMatrix.cc (ComplexMatrix::solve): Avoid infinite recursion. |
2396 * CSparse.cc (SparseComplexMatrix::insert): Likewise. | |
6061 | 2397 |
6058 | 2398 * oct-types.h.in: Include limits.h, for CHAR_BIT. |
2399 | |
6059 | 2400 2006-10-13 Michael Goffioul <michael.goffioul@swing.be> |
2401 | |
6051 | 2402 * Makefile.in: Adapt rules to use $(LIBPRE). |
2403 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2404 2006-10-03 David Bateman <dbateman@free.fr> |
6027 | 2405 |
2406 * MatrixType.cc (MatrixType::MatrixType): Avoid crash if np == 0 | |
2407 or p == 0. | |
2408 | |
6018 | 2409 2006-10-02 John W. Eaton <jwe@octave.org> |
2410 | |
2411 * dbleDET.cc (DET::initialize2): Ensure arg to log10 is double. | |
2412 * CmplxDET.cc (ComplexDET::initialize2): Likewise. | |
2413 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2414 2006-09-22 David Bateman <dbateman@free.fr> |
5996 | 2415 |
2416 * MatrixType.h (MatrixType::MatrixType(const SparseComplexMatrix&)): | |
5997 | 2417 Remove spurious warning. |
5996 | 2418 |
5992 | 2419 2006-09-15 John W. Eaton <jwe@octave.org> |
2420 | |
2421 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&) const): | |
2422 Handle resizing. | |
2423 | |
2424 * intNDArray.h (intNDArray<T>:elt_type): New typedef. | |
2425 | |
5983 | 2426 2006-09-11 John W. Eaton <jwe@octave.org> |
2427 | |
2428 * dMatrix.cc (operator * (const Matrix&, const Matrix&))): | |
2429 Handle M*v and rv*cv special cases. | |
2430 * CMatrix.cc (operator * (const ComplexMatrix&, const | |
2431 ComplexMatrix&))): Likewise. | |
2432 From Luis F. Ortiz <lortiz@interactivesupercomputing.com>. | |
2433 | |
2434 * dRowVector.cc (operator * (const RowVector&, const | |
2435 ColumnVector&)): Call xddot here instead of using a Fortran | |
2436 function directly. | |
2437 * CRowVector.cc (operator * (const ComplexRowVector&, const | |
2438 ComplexColumnVector&)): Call xzdotu here. | |
2439 | |
2440 2006-09-05 John W. Eaton <jwe@octave.org> | |
2441 | |
2442 * chNDArray.cc (charNDArray::any, charNDArray::all): Compare | |
2443 elements to '\0', not ' '. | |
2444 | |
5972 | 2445 2006-08-25 John W. Eaton <jwe@octave.org> |
2446 | |
2447 * mx-inlines.cc (MX_ND_REDUCTION): Special case for 0x0 arrays. | |
2448 | |
5958 | 2449 2006-08-23 John W. Eaton <jwe@octave.org> |
2450 | |
2451 * dMatrix.cc, dMatrix.h (Matrix::save_ascii): Delete function and decl. | |
2452 * CMatrix.cc, CMatrix.h (ComplexMatrix::save_ascii): Likewise. | |
2453 | |
5955 | 2454 2006-08-22 John W. Eaton <jwe@octave.org> |
2455 | |
5956 | 2456 * CMatrix.cc (ComplexMatrix::save_ascii): New function. |
2457 * dMatrix.cc (Matrix::save_ascii): New function. | |
2458 | |
5955 | 2459 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Correctly detect empty arrays. |
2460 If array is empty, return value is same size as array. | |
2461 (MX_ND_REDUCTION): Correctly detect empty arrays. | |
2462 If array is empty, produce correctly sized return value. | |
2463 | |
5940 | 2464 2006-08-18 John W. Eaton <jwe@octave.org> |
2465 | |
5943 | 2466 * dMatrix.cc (Matrix::any_element_not_one_or_zero): New function. |
2467 * dMatrix.h: Provide decl. | |
2468 * dNDArray.cc (NDArray::any_element_not_one_or_zero): New function. | |
2469 * dNDArray.h: Provide decl. | |
2470 * intNDArray.cc (intNDArray<T>::any_element_not_one_or_zero): | |
2471 New function. | |
2472 * intNDArray.h: Provide decl. | |
2473 | |
5940 | 2474 * Array.cc (Array<T>::permute): Only rearrange values if array is |
2475 not empty. | |
2476 | |
5904 | 2477 2006-07-26 John W. Eaton <jwe@octave.org> |
2478 | |
2479 * dbleDET.cc (DET::initialize10, DET::value_will_underflow, | |
2480 DET::value_will_overflow): Use xlog2 instead of log2. | |
2481 (DET::initialize2, DET::initialize10): Use xround instead of round. | |
2482 (DET::initialize2, DET::value): Use xexp2 instead of exp2. | |
2483 * CmplxDET.cc (ComplexDET::initialize10, | |
2484 ComplexDET::value_will_underflow, | |
2485 ComplexDET::value_will_overflow): Use xlog2 instead of log2. | |
2486 (ComplexDET::initialize2, ComplexDET::initialize10): | |
2487 Use xround instead of round. | |
2488 (ComplexDET::initialize2, ComplexDET::value): | |
2489 Use xexp2 instead of exp2. | |
2490 | |
2491 * lo-mappers.cc (M_LOG10E): Delete unused macro. | |
2492 (xlog2, xexp2): New functions. | |
2493 * lo-mappers.h: Provide decls. | |
2494 | |
5900 | 2495 2006-07-22 John W. Eaton <jwe@octave.org> |
2496 | |
2497 * Sparse.h (Sparse<T>::mex_get_data, Sparse<T>::mex_get_ir, | |
2498 Sparse<T>::mex_get_jc): New functions. | |
2499 | |
2500 2006-07-21 John W. Eaton <jwe@octave.org> | |
2501 | |
2502 * oct-inttypes.h (octave_int<T>::mex_get_data): New function. | |
2503 * Array.h (Array<T>::mex_get_data): New function. | |
2504 | |
5898 | 2505 2006-07-19 John W. Eaton <jwe@octave.org> |
2506 | |
2507 * oct-inttypes.h (octave_int::operator bool (void)): New function. | |
2508 | |
5893 | 2509 2006-07-16 John W. Eaton <jwe@octave.org> |
2510 | |
2511 * oct-spparms.h, oct-spparms.cc (class octave_sparse_params): | |
2512 Rename from SparseParams. Use same implementation method as other | |
2513 singleton classes in Octave. Change all uses of | |
2514 Voctave_sparse_controls to use static functions from | |
2515 octave_sparse_params class instead. | |
2516 | |
2517 * oct-spparms.h, oct-spparms.cc (SparseParams::set_key, | |
2518 SparseParams::get_key): Pass std::string arg by const reference, | |
2519 not const value. | |
2520 | |
5892 | 2521 2006-07-15 John W. Eaton <jwe@octave.org> |
2522 | |
2523 * data-conv.cc: Instantiante swap_bytes templates here. | |
2524 | |
2525 * MatrixType.cc (MatrixType::MatrixType): | |
2526 Use complete initializer lists in constructors. | |
2527 | |
5880 | 2528 2006-07-06 John W. Eaton <jwe@octave.org> |
2529 | |
2530 * str-vec.cc (string_vector::string_vector (std::list<std::string>&)): | |
2531 New constructor. | |
2532 * str-vec.h: Provide decl. | |
2533 | |
5876 | 2534 2006-07-01 David Bateman <dbateman@free.fr> |
2535 | |
2536 * dSparse.cc (tinverse): Check for rows with no elements and zero | |
2537 elements on the diagonal. Allow both Upper and Lower triangular | |
2538 matrices to be treated. | |
2539 * CSparse.cc (tinverse): ditto. | |
2540 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Take into account 64-bit | |
2541 constant assignment. | |
2542 | |
5870 | 2543 2006-06-30 John W. Eaton <jwe@octave.org> |
2544 | |
5872 | 2545 * lo-sysdep.cc (octave_chdir): Perform tilde expansion here. |
2546 * cmd-edit.cc (editor::read_init_file): Ditto. | |
2547 * dir-ops.cc (dir_entry::open): Ditto. | |
5871 | 2548 * file-stat.cc (stat::update_internal): Ditto. |
5872 | 2549 * cmd-hist.cc (command_history::set_file): Ditto. |
5871 | 2550 |
5870 | 2551 * data-conv.cc (data_conv::string_to_data_type): |
2552 Correctly handle leading "*". | |
2553 | |
5869 | 2554 2006-06-29 Atsushi Kajita <a-kajita@mizar.freemail.ne.jp> |
2555 | |
2556 * Sparse.cc (Sparse<T>::SparseRep::elem): Avoid out of bounds | |
2557 array access. | |
2558 | |
5866 | 2559 2006-06-27 John W. Eaton <jwe@octave.org> |
2560 | |
2561 * Makefile.in: Finish renaming of OBJECTS -> LIBOCTAVE_OBJECTS. | |
2562 | |
5864 | 2563 2006-06-21 John W. Eaton <jwe@octave.org> |
2564 | |
2565 * oct-shlib.cc (octave_dlopen_shlib::close, | |
2566 octave_shl_load_shlib::close, octave_w32_shlib::close): | |
2567 Skip do_close_hook if cl_hook is 0. | |
2568 | |
5863 | 2569 2006-06-16 John W. Eaton <jwe@octave.org> |
2570 | |
2571 * oct-sort.h: Don't include config.h, lo-mappers.h, or quit.h. | |
2572 * randmtzig.h: Don't inlcude config.h. | |
2573 | |
5837 | 2574 2006-05-31 David Bateman <dbateman@free.fr> |
2575 | |
2576 * Array.cc (assignN): Maybe reshape LHS before doing assignment. | |
2577 | |
5828 | 2578 2006-05-23 John W. Eaton <jwe@octave.org> |
2579 | |
2580 * oct-types.h.in: Include stdint.h or inttypes.h for integer | |
2581 typedefs, or define them if those files are not available. | |
2582 * oct-inttypes.h (octave_int8_t, octave_int16_t, octave_int32_t, | |
2583 octave_int64_t, octave_uint8_t, octave_uint16_t, octave_uint32_t, | |
2584 octave_uint64_t): Delete typedefs. Replace all uses of these | |
2585 types with int8_t, int16_t, etc. | |
2586 * data-conv.h (TWO_BYTE_INT, FOUR_BYTE_INT, EIGHT_BYTE_INT): | |
2587 Delete definitions. Replace all uses of these macros with int8_t, | |
2588 int16_t, etc. | |
2589 * randmtzig.h: Delete integer typedefs. | |
2590 | |
5822 | 2591 2006-05-18 John W. Eaton <jwe@octave.org> |
2592 | |
2593 * EIG.cc (EIG::init): Trap Inf and NaN values here. | |
2594 From Keith Goodman <kwgoodman@gmail.com>. | |
2595 | |
5813 | 2596 2006-05-08 David Bateman <dbateman@free.fr> |
2597 | |
2598 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): fix bug in previous | |
2599 modification. | |
2600 | |
5797 | 2601 2006-05-09 David Bateman <dbateman@free.fr> |
2602 | |
2603 * sparse-dmsolve.cc: Remove reference to ov-re-sparse.h, | |
2604 ov-cx-sparse. and error_state. | |
2605 * SparseQR.cc, SparseCmplxQR.cc (qrsolve): Return info = -1 on error. | |
2606 | |
5795 | 2607 2006-05-08 David Bateman <dbateman@free.fr> |
2608 | |
2609 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Set column pointers in | |
2610 first pass and use to determine which algorithm to use on a | |
2611 column-by-column basis. | |
2612 | |
5792 | 2613 2006-05-04 David Bateman <dbateman@free.fr> |
2614 | |
2615 * SparseQR.cc, SparseQR.h, SparseCmplxQR.cc, SparseCmplxQR.h, | |
2616 sparse-dmsolve.cc : Allow compilation with versions v2.0.0 of | |
2617 CXSparse or later | |
2618 | |
5785 | 2619 2006-05-03 David Bateman <dbateman@free.fr> |
2620 | |
2621 * CMatrix.cc (zpotrf, zpocon, zpotrs, ztrcon, ztrtrs): | |
2622 External declaration of lapack triangular and Cholesky codes. | |
2623 (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, | |
2624 ComplexMatrix::fsolve): New private solver codes for | |
2625 upper, lower and LU/Cholesky solvers. | |
2626 (ComplexMatrix::solve): New versions for cached matrix | |
2627 type. Adapt old versions to call new versions | |
2628 * CMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
2629 new solvers. | |
2630 (solve): New versions for cached matrix type. | |
2631 * dMatrix.cc (dpotrf, dpocon, dpotrs, dtrcon, dtrtrs): | |
2632 External declaration of lapack triangular and Cholesky codes. | |
2633 (Matrix::utsolve, Matrix::ltsolve, | |
2634 Matrix::fsolve): New private solver codes for | |
2635 upper, lower and LU/Cholesky solvers. | |
2636 (Matrix::solve): New versions for cached matrix | |
2637 type. Adapt old versions to call new versions | |
2638 * dMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
2639 new solvers. | |
2640 (solve): New versions for cached matrix type. | |
2641 * CSparse.cc: Replace all uses of SparseType with MatrixType. | |
2642 * CSparse.h: ditto. | |
2643 * dSparse.cc: ditto. | |
2644 * dSparse.h: ditto. | |
2645 * SparseCmplxCHOL.cc: ditto. | |
2646 * SparsedbleCHOL.cc: ditto. | |
2647 * sparse-dmsolve.cc: ditto. | |
2648 * SparseType.cc, SparseType.h: delete. | |
2649 * MatrixType.cc: New file for class to cache matrix type, based on | |
2650 old SparseType class but caching matrix and sparse types. | |
2651 * MatrixType.h: ditto. | |
2652 * Makefile.in (MATRIX_INC, MATRIX_SRC): Add MatrixType.h and | |
2653 MatrixType.cc respectively. Delete SparseType.h and SparseType.cc | |
2654 respectively. | |
2655 * mx-base.h: Include MatrixTye.h as header file. | |
2656 | |
5781 | 2657 2006-05-01 John W. Eaton <jwe@octave.org> |
2658 | |
2659 * oct-shlib.h (octave_shlib::octave_shlib, octave_shlib::open): | |
2660 Delete WARN_FUTURE arg. Change all uses. | |
2661 * oct-shlib.cc (octave_base_shlib::stamp_time): Delete arg. | |
2662 Change all uses. Use current_liboctave_warning_with_id_handler. | |
2663 (octave_base_shlib::open): Delete arg. Change all derived classes | |
2664 and uses. | |
2665 | |
2666 2006-04-29 John W. Eaton <jwe@octave.org> | |
2667 | |
2668 * Array-flags.cc, Array-flags.h: Delete. | |
2669 * Makefile.in (MATRIX_SRC): Remove Array-flags.cc from the list. | |
2670 (MATRIX_INC): Remove Array-flags.h from the list. | |
2671 | |
2672 * idx-vector.cc (IDX_VEC_REP::freeze): Delete warn_resize arg. | |
2673 Use current_liboctave_warning_with_id_handler | |
2674 with warning ID Octave:resize-on-range-error. | |
2675 * idx-vector.h: Fix decl. | |
2676 * Array.cc, Sparse.cc: Change all callers. | |
2677 | |
2678 * Array.cc (Array<T>::maybe_delete_elements, Array<T>::index2, | |
2679 assign2, assignN): Use current_liboctave_warning_with_id_handler | |
2680 with warning ID Octave:fortran-indexing instead of | |
2681 liboctave_wfi_flag. | |
2682 * Sparse.cc (assign, Sparse<T>::index): Likewise. | |
2683 | |
5777 | 2684 2006-04-26 John W. Eaton <jwe@octave.org> |
2685 | |
2686 * pathsearch.cc (dir_path::path_sep_char, dir_path::path_sep_str): | |
2687 New static data. | |
2688 * pathsearch.h: Provide decls. | |
2689 (dir_path::is_path_sep): New function. | |
2690 | |
5766 | 2691 2006-04-18 John W. Eaton <jwe@octave.org> |
2692 | |
2693 * randmtzig.c (randmt, randi53, randi54, randi64, randu32, randu53): | |
2694 Omit inline from decl. | |
2695 | |
2696 * Sparse.cc (Sparse<T>::index): Use std::vector<bool> to avoid | |
2697 local array with variable dimension. | |
2698 | |
5764 | 2699 2006-04-16 John W. Eaton <jwe@octave.org> |
2700 | |
5765 | 2701 * lo-sstream.h: Delete. |
2702 * Makefile.in (INCLUDES): Remove it from the list. | |
2703 | |
2704 * dim-vector.h (dim_vector::str): Use std::ostringstream directly. | |
2705 * Sparse.cc (Sparse::range_error): Likewise. | |
2706 * DASSL.cc (DASSL::error_message): Likewise. | |
2707 * LSODE.cc (LSODE::error_message): Likewise. | |
2708 * DASRT.cc (DASRT::error_message): Likewise. | |
2709 * DASPK.cc (DASPK::error_message): Likewise. | |
2710 * Array.cc (Array::range_error): Likewise. | |
2711 | |
5764 | 2712 * kpse.cc (kpse_hash): Rename from hash. |
2713 (hash_lookup): Call kpse_hash instead of hash. | |
2714 | |
2715 * SparseType.cc (SparseType::SparseType): Use std::vector<bool> | |
2716 to avoid local array with variable dimension. | |
2717 | |
5760 | 2718 2006-04-13 David Bateman <dbateman@free.fr> |
2719 | |
2720 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
2721 Optimize assignment. | |
2722 | |
2723 2006-04-13 John W. Eaton <jwe@octave.org> | |
2724 | |
2725 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
2726 Eliminate unnecessary casts. | |
2727 * SparsedbleLU.cc (SparseLU::SparseLU): Likewise. | |
2728 | |
2729 * kpse.cc (fopen): Use reinterpret_cast instead of C-style cast. | |
2730 (log_search, dir_links): Use static_cast instead of C-style cast. | |
2731 | |
2732 * prog-args.cc (args::getopt): Use reinterpret_cast instead of X_CAST. | |
2733 * oct-alloc.cc (allocator::grow): Likewise. | |
2734 * CSparse.cc (SparseComplexMatrix::determinant, | |
2735 SparseComplexMatrix::factorize, SparseComplexMatrix::fsolve): | |
2736 Likewise. | |
2737 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU): Likewise. | |
2738 | |
2739 * oct-sort.cc (roundupsize, octave_sort<T>::merge_getmem): | |
2740 Use static_cast instead of C-style cast. | |
2741 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
2742 * dSparse.cc (SparseMatrix::fsolve): Likewise. | |
2743 | |
2744 * data-conv.cc (LS_DO_WRITE): Use static_cast for value conversion. | |
2745 Use OCTAVE_LOCAL_BUFFER instead of new/delete. | |
2746 (LS_DO_READ): Allocate local buffer to avoid pointer tricks. | |
2747 (write_doubles, read_doubles, LS_DO_WRITE, LS_DO_READ): | |
2748 Use reinterpret_cast instead of X_CAST. | |
2749 | |
2750 * DiagArray2.h (DiagArray2::Proxy::operator&): No need to cast | |
2751 return value here. | |
2752 | |
5752 | 2753 2006-04-12 Rafael Laboissiere <rafael@debian.org> |
2754 | |
2755 * ArrayN.h (ArrayN::ArrayN): Qualify fill with Array<T> base class. | |
2756 * DiagArray2.h (DiagArray2::DiagArray2): Likewise. | |
2757 | |
5730 | 2758 2006-04-03 David Bateman <dbateman@free.fr> |
2759 | |
5731 | 2760 * Sparse.cc (Sparse<T>::resize): Use xcidx rather than cdix, etc |
2761 to avoid copy of original matrix. | |
2762 | |
5730 | 2763 * Makefile.in (INCLUDES): Add randgamma.h, randpoisson.h and |
2764 randmtzig.h to the list. | |
2765 (LIBOCTAVE_C_SOURCES): Add randgamma.c, randpoisson.c and | |
2766 randmtzig.c to the list. | |
2767 * oct-rand.cc (do_old_initialization): Rename from do_initialization. | |
2768 (use_old_generators): New variable. | |
2769 (old_initialized): Rename from initialized. | |
2770 (new_initialized): New variable. | |
2771 (oct_init_by_entropy): New function. | |
2772 (maybe_initialize): Initialize new or old generator depending on | |
2773 value of use_old_generators. | |
2774 (octave_rand::state): New functions. | |
2775 (octave_rand::distribution): Add gamma, exponential and poisson | |
2776 distributions. | |
2777 (octave_rand::exponential_distribution, | |
2778 octave_rand::poisson_distribution, | |
2779 octave_rand::gamma_distribution): New methods to select | |
2780 exponential, poisson or gamma distribution. | |
2781 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
2782 octave_rand::vector): Add new distributions. | |
2783 * oct-rand.h: Provide decls for new functions. | |
2784 (octave_rand::matrix, octave_rand::scalar, octave_rand:: | |
2785 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
2786 octave_rand::vector): New arg A, for gamma and poisson distributions. | |
2787 * randpoisson.c, randpoisson.h, randgamma.c, randmtzig.c, | |
2788 randmtzig.h: New files. | |
2789 | |
5717 | 2790 2006-03-24 John W. Eaton <jwe@octave.org> |
2791 | |
2792 * dSparse.cc (SparseMatrix::bsolve): Integer work vector is | |
2793 Array<octave_idx_type>, so fortran_vec returns pointer to | |
2794 octave_idx_type, not pointer to int. | |
2795 | |
2796 * CMatrix.cc, CMatrix.h (ComplexMatrix::row (char*), | |
2797 ComplexMatrix::column (char*)): Delete. | |
2798 * dMatrix.cc, dMatrix.h (Matrix::row (char*), | |
2799 Matrix::column (char*)): Delete. | |
2800 | |
5713 | 2801 2006-03-21 David Bateman <dbateman@free.fr> |
2802 | |
2803 * SparseQR.h: Publish externally used friends. | |
2804 * SparseCmplxQR.h: ditto. | |
2805 | |
5700 | 2806 2006-03-21 John W. Eaton <jwe@octave.org> |
2807 | |
2808 * lo-specfun.cc (betainc): Use F77_XFCN instead of F77_FUNC for | |
2809 call to xdbetai. | |
2810 | |
5697 | 2811 2006-03-21 David Bateman <dbateman@free.fr> |
2812 | |
5701 | 2813 * lo-specfun.cc (xlgamma, xgamma): Trap special values. |
2814 (xlgamma): Use F77_XFCN instead of F77_FUNC for call to dlgams. | |
5700 | 2815 |
2816 * dSparse.cc (solve): Add argument singular_fallback, to allow | |
2817 fallback to QR solvers to be optional. | |
2818 * CSparse.cc (solve): Ditto. | |
2819 * dSparse.h (solve): update declaration for new argument. | |
2820 * CSparse.h (solve): Ditto. | |
2821 * sparse-dmsolve.cc (dmsolve): Use singular_fallback argument | |
2822 to bypass QR solvers when solving the well determined part of | |
2823 the problem. | |
5697 | 2824 |
5690 | 2825 2006-03-17 John W. Eaton <jwe@octave.org> |
2826 | |
2827 * str-vec.cc (vector::list_in_columns): New optional arg, width. | |
2828 | |
5681 | 2829 2006-03-16 David Bateman <dbateman@free.fr> |
2830 | |
2831 * CSparse.cc: Change use of nzmax to nnz to allow automatic | |
2832 reduction of matrix size, except for a couple of cases where nzmax | |
2833 is needed. | |
2834 (zpbcon): Correct declaration of lapack zpbcon function. | |
2835 (dsolve, utsolve, ltsolve, trisolve, bsolve, factorize, fsolve): Add | |
2836 an argument to allow the calculation of condition number to be | |
2837 optional. | |
2838 (bsolve): Add code for the calculation of the condition number | |
2839 using zpbcon and zgbcon. | |
2840 (dsolve): Bug fix for rectangular matrices with sparse RHS. | |
2841 (utsolve, ltsolve, trisolve, bsolve, fsolve): Mark matrix type as | |
2842 singular if singularity is detected. | |
2843 (solve): Use optional argument to disable calculation of | |
2844 condition number for all but fsolve, for speed. Add code to | |
2845 allow rectnagular matrices or matrices identified as singular | |
2846 to be treated. | |
2847 (lssolve): delete. | |
2848 (operator *): Don't recast real matrices as complex, but | |
2849 rather use the macro directly on the real data. | |
2850 * dSparse.cc: ditto. | |
2851 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, | |
2852 fsolve, factorize): Update declaration for new argument to | |
2853 calculate the condition number. | |
2854 (lssolve): delete. | |
2855 * dSparse.h: ditto. | |
2856 * Msparse.h: Change use of nxmax to nnz to allow automatic | |
2857 reduction of matrix size, except for a couple of cases where | |
2858 nzmax is needed. | |
2859 * Sparse.cc: Change use of nxmax to nnz to allow automatic | |
2860 reduction of matrix size, except for a couple of cases where | |
2861 nzmax is needed. | |
2862 (Sparse<T>::index (idx_vector&, idx_vector&, int) const): | |
2863 Special case strict permutations for speed. | |
2864 * Sparse-op-defs.h: Change use of nxmax to nnz to allow automatic | |
2865 reduction of matrix size, except for a couple of cases where | |
2866 nzmax is needed. | |
2867 (SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, FULL_SPARSE_MUL): Update | |
2868 macros to allow mixed complex/real arguments. | |
2869 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): New macro for C99 zero | |
2870 value. | |
2871 (qrsolve): Use it to zero temporary buffers used bt CXSPARSE. | |
2872 * SparseType.cc (SparseType::SparseType ()): Correct detection | |
2873 of permutated triangular matrices to avoid seg-faults. Disable | |
2874 detection of underdetermined lower and over-determined upper | |
2875 matrix due to problems with non minimum norm solutions. | |
2876 * sparse-dmsolve.cc: New file for Dulmage-Mendelsohn solver. | |
2877 * Makefile.in: add sparse-dmsolve.cc to targets. | |
2878 | |
5675 | 2879 2006-03-15 William Poetra Yoga Hadisoeseno <williampoetra@gmail.com> |
2880 | |
2881 * oct-time.cc (octave_strptime::init): Return useful character count. | |
2882 | |
5648 | 2883 2006-03-08 David Bateman <dbateman@free.fr> |
2884 | |
2885 * SparseCmplxQR.cc: Updates for new upstream CXSPARSE release. Fix for | |
2886 g++ 4.x stl_vector.h issue with C99 double _Complex type. | |
2887 * SparseCmplxQR.h: Updates for new upstream CXSPARSE release. | |
2888 * SparseQR.cc: ditto. | |
2889 * SparseQR.h: ditto. | |
2890 * oct-sparse.h: ditto. | |
2891 * sparse-base-chol.cc (sparse_base_chol<>::sparse_base_chol_rep::init): | |
2892 Declare info variable as volatile. | |
2893 | |
2894 * Sparse.cc (Sparse<T>::transpose (void) const): Accelerate algorithm. | |
2895 * CSparse.cc (SparseComplexMatrix::transpose (void) const): ditto. | |
2896 | |
5634 | 2897 2006-03-01 John W. Eaton <jwe@octave.org> |
2898 | |
2899 * CMatrix.cc (ComplexMatrix::determinant): | |
2900 Scale result by factors of 2, not 10. | |
2901 * dMatrix.cc (Matrix::determinant): Likewise. | |
2902 | |
2903 * dbleDET.h (DET::DET): Use initializer list. | |
2904 (DET::coefficient2, DET::coefficient10, DET::exponent2, | |
2905 DET::exponent10): New functions. | |
2906 (DET::det): Delete. | |
2907 (DET::c2, DET::c10, DET::e2, DET::e10, DET::base2): New data members. | |
2908 Store value internally with double and int instead of 2-element | |
2909 double vector. | |
2910 (DET::initialize2, DET::initialize10): Provide decls. | |
2911 * dbleDET.cc (DET::value_will_overflow, DET::value_will_underflow): | |
2912 Return bool value, not int. | |
2913 (DET::initialize2, DET::initialize10): New functions. | |
2914 | |
2915 * CmplxDET.h (ComplexDET::ComplexDET): Use initializer list. | |
2916 (ComplexDET::coefficient2, ComplexDET::coefficient10, | |
2917 ComplexDET::exponent2, ComplexDET::exponent10): New functions. | |
2918 (ComplexDET::det): Delete. | |
2919 (ComplexDET::c2, ComplexDET::c10, ComplexDET::e2, ComplexDET::e10, | |
2920 ComplexDET::base2): New data members. | |
2921 Store value internally with Complex and int instead of 2-element | |
2922 Complex vector. | |
2923 (ComplexDET::initialize2, ComplexDET::initialize10): Provide decls. | |
2924 * dbleComplexDET.cc (ComplexDET::value_will_overflow, | |
2925 ComplexDET::value_will_underflow): Return bool value, not int. | |
2926 (ComplexDET::initialize2, ComplexDET::initialize10): New functions. | |
2927 | |
5632 | 2928 2006-02-24 John W. Eaton <jwe@octave.org> |
2929 | |
2930 * Array.cc (assignN): Clear index before reshaping. | |
2931 | |
2932 * Array.h (Array<T>::operator =): Don't set idx to 0 if copying self. | |
2933 | |
5630 | 2934 2006-02-20 David Bateman <dbateman@free.fr> |
2935 | |
2936 * dSparse.cc (dsolve, utsolve, ltsolve): Remove restriction that | |
2937 matrix must be square in diagonal, permuted diagonal, triangular | |
2938 and permuted triangular back/forward substitution code. Change | |
2939 ambiguous use of no. rows and columns. | |
2940 * CSParse.cc (dsolve, utsolve, ltsolve): ditto. | |
2941 * SparseType.cc (SparseType::SparseType(const SparseMatrix&), | |
2942 SparseType::SparseType(const SparseComplexMatrix&)): Recognize | |
2943 rectangular diagonal, permuted diagonal, triangular and permuted | |
2944 triangular matrices. | |
2945 * Sparse.cc (Sparse<T>::Sparse (octave_idx_type, octave_idx_type, T)): | |
2946 Treat case where third argument is zero. | |
2947 | |
5621 | 2948 2006-02-15 John W. Eaton <jwe@octave.org> |
2949 | |
5622 | 2950 * kpse.cc: Do define ST_NLINK_TRICK for Cygwin systems. |
2951 (do_subdir) [ST_NLINK_TRICK]: Check links != 2 instead of links > 2. | |
2952 | |
5621 | 2953 * getopt.c: Use __CYGWIN__ instead of __CYGWIN32__. |
2954 | |
5619 | 2955 2006-02-13 David Bateman <dbateman@free.fr> |
2956 | |
2957 * Makefile.in (LINK_DEPS): Add missing dependencies on colamd, | |
2958 ccolamd and cxsparse | |
2959 | |
5617 | 2960 2006-02-13 John W. Eaton <jwe@octave.org> |
2961 | |
5618 | 2962 * kpse.cc (kpse_path_iterator::next): Reverse order of tests in |
2963 while loop condition. | |
2964 (kpse_path_iterator::operator =): Declare as private function but | |
2965 don't define to prevent attempts to use assignment operator. | |
2966 Don't define ST_NLINK_TRICK for Cygwin systems. | |
5617 | 2967 |
5615 | 2968 2006-02-10 John W. Eaton <jwe@octave.org> |
2969 | |
2970 * mx-inlines.cc (MX_ND_REDUCTION): Store in cummulative | |
2971 product of all dimensions in CP_SZ. | |
2972 | |
5611 | 2973 2006-02-09 John W. Eaton <jwe@octave.org> |
2974 | |
2975 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Store in cummulative | |
5615 | 2976 product of all dimensions in CP_SZ. |
5611 | 2977 |
5610 | 2978 2006-02-09 David Bateman <dbateman@free.fr> |
2979 | |
2980 * SparseQR.cc: new file for real sparse QR class. | |
2981 * SparseQR.h: declaration. | |
2982 * SparseCmplxQR.cc: new file for complex sparse QR class. | |
2983 * SparseCmplxQR.h: declaration. | |
2984 * dSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
2985 (factorize, fsolve): Enable code code lssolve. | |
2986 (lssolve): disable unused args, write based in above sparse QR class. | |
2987 * CSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
2988 (factorize, fsolve): Enable code code lssolve. | |
2989 (lssolve): disable unused args, write based in above sparse QR class. | |
2990 * oct-sparse.h: fix location of colamd, ccolamd and metis headers. | |
2991 Include CXSparse headers. | |
2992 * Makefile.in (MATRIX_INC): Include SparseQR.h and SparseCmplxQR.h. | |
2993 (MATRIX_SRC): Include SparseQR.cc and SparseCmplxQR.cc. | |
2994 | |
5607 | 2995 2006-02-08 John W. Eaton <jwe@octave.org> |
2996 | |
2997 * Array-util.h (calc_permutated_idx): Delete. | |
2998 * Array.cc (permute_vector): New data structure. | |
2999 (permute_vector_compare): New function. | |
3000 (Array<T>::permute): Rewrite to avoid calc_permutated_index for | |
3001 improved performance. | |
3002 | |
5606 | 3003 2006-02-04 David Bateman <dbateman@free.fr> |
3004 | |
3005 * COLAMD: Remove all files, as now unused. | |
3006 | |
5604 | 3007 2006-01-31 John W. Eaton <jwe@octave.org> |
3008 | |
3009 * Sparse.h (Sparse<T>::nzmax): New function. | |
3010 (Sparse<T>::nnz): Rename from nonzero. | |
3011 Change all uses of old nnz function to be nzmax. Change all uses | |
3012 of nonzero to be nnz. | |
3013 (Sparse<T>::nzmx): Rename from nnz (data member). Change all uses. | |
3014 | |
5603 | 3015 2006-01-21 David Bateman <dbateman@free.fr> |
3016 | |
3017 * sparse-sort.cc (bool octave_sparse_sidxl_comp): 64-bit fix. | |
3018 (bool octave_idx_vector_comp): New function. | |
3019 (template class octave_sort<octave_idx_vector_sort *>): Instantiate | |
3020 indexed idx_vector sorting function. | |
3021 * sparse-sort.h (class octave_sparse_sort_idxl): 64-bit fix. | |
3022 (class octave_idx_vector_sort): New class for indexed idx_vector | |
3023 sorting. | |
3024 (bool octave_idx_vector_comp): Declaration. | |
3025 * Sparse.cc (int assign1(Sparse<LT>&, Sparse<RT>&)): Treat cases of | |
3026 unordered LHS indexes in assignment using new octave_idx_vector_sort | |
3027 class. | |
3028 (int assign(Sparse<LT>&, Sparse<RT>&)): ditto. | |
3029 | |
5602 | 3030 2006-01-30 John W. Eaton <jwe@octave.org> |
3031 | |
3032 * so-array.h (streamoff_array::nnz): New funtion. | |
3033 * boolNDArray.h (boolNDArray::nnz): New function. | |
3034 * MArrayN.h (MArrayN<T>::nnz): New function. | |
3035 * MArray.h (MArray<T>::nnz): New function. | |
3036 | |
5587 | 3037 2006-01-04 David Bateman <dbateman@free.fr> |
3038 | |
3039 * Spars-op-defs.h (SPARSE_SPARSE_MUL): Previous change resulted in | |
3040 elements not being sorted in return matrix. Sort them, and make | |
3041 solver select between two algorithms to further improve the | |
3042 performance. | |
3043 * dSparse.cc: include oct-sort.h. | |
3044 * CSparse.cc: ditto. | |
3045 * sparse-sort.cc: Instantiate octave_sort<octave_idx_type>. | |
3046 | |
5586 | 3047 2005-12-28 David Bateman <dbateman@free.fr> |
3048 | |
5587 | 3049 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Improved algorithm that is |
3050 faster in all cases, and significantly so for low density or small | |
3051 order problems. | |
5586 | 3052 |
5552 | 3053 2005-11-30 John W. Eaton <jwe@octave.org> |
3054 | |
3055 * LSODE.cc (LSODE::do_integrate (double)): Resize iwork and rwork | |
3056 before setting any values in either array. | |
3057 | |
5547 | 3058 2005-11-29 John W. Eaton <jwe@octave.org> |
3059 | |
3060 * oct-uname.h, oct-uname.cc: New files. | |
3061 * Makefile.in: Add them to the appropriate lists. | |
3062 | |
5535 | 3063 2005-11-11 John W. Eaton <jwe@octave.org> |
3064 | |
3065 * Array.cc (Array<T>::indexN): Simplify. | |
3066 | |
5533 | 3067 2005-11-09 John W. Eaton <jwe@octave.org> |
3068 | |
3069 * oct-inttypes.h (octave_int::operator char (void) const): | |
3070 New conversion op. | |
3071 | |
5527 | 3072 2005-11-01 John W. Eaton <jwe@octave.org> |
3073 | |
3074 * Makefile.in (distclean): Also remove oct-types.h. | |
3075 From Quentin Spencer <qspencer@ieee.org>. | |
3076 | |
5526 | 3077 2005-10-31 David Bateman <dbateman@free.fr> |
3078 | |
3079 * dSparse.cc, CSparse.cc: Use C++ true/false instead of | |
3080 preprocessor defined TRUE/FALSE. | |
3081 | |
5523 | 3082 2005-10-30 John W. Eaton <jwe@octave.org> |
3083 | |
3084 * mx-inlines.cc (MX_ND_REDUCTION): Iterate in direction of DIM. | |
3085 (MX_ND_CUMULATIVE_OP): Likewise. | |
3086 | |
5519 | 3087 2005-10-29 John W. Eaton <jwe@octave.org> |
3088 | |
5520 | 3089 * mx-inlines.cc (MX_ND_REDUCTION): Avoid increment_index to speed |
3090 things up. Simplify. | |
3091 | |
5519 | 3092 * Array.cc (Array<T>::indexN): Simplify. Delete separate special |
3093 case for "vector_equivalent". | |
3094 | |
3095 * Array-util.cc (vector_equivalent): Arg is now dim_vector. | |
3096 | |
5518 | 3097 2005-10-28 John W. Eaton <jwe@octave.org> |
3098 | |
3099 * oct-sparse.h: Fix typo in HAVE_UFSPARSE_UMFPACK_H. | |
3100 From Quentin Spencer <qspencer@ieee.org>. | |
3101 | |
3102 * sparse-base-chol.cc: Use C++ true/false instead of | |
3103 preprocessor defined TRUE/FALSE. Use 0 instead of NULL. | |
3104 | |
5516 | 3105 2005-10-27 John W. Eaton <jwe@octave.org> |
3106 | |
3107 * Array.cc (assignN): Reshape to final size instead of resizing. | |
3108 | |
5512 | 3109 2005-10-26 John W. Eaton <jwe@octave.org> |
3110 | |
3111 * oct-sparse.h: New file. | |
3112 * oct-sparse.h.in: Delete. | |
3113 | |
5511 | 3114 2005-10-26 David Bateman <dbateman@free.fr> |
3115 | |
3116 * sparse-base-chol.h: Include cholmod specific code in HAVE_CHOLMOD | |
3117 * sparse-base-chol.cc: ditto. | |
3118 | |
5508 | 3119 2005-10-26 John W. Eaton <jwe@octave.org> |
3120 | |
3121 Changes for GCC 4.1, tip from Arno J. Klaassen | |
3122 <arno@heho.snv.jussieu.fr>: | |
3123 | |
5509 | 3124 * dSparse.h (real (const SparseComplexMatrix&)): |
3125 Publish externally used friend function. | |
3126 (imag (const SparseComplexMatrix&)): Likewise. | |
3127 | |
5508 | 3128 * dColVector.h (real (const ComplexColumnVector&)): |
3129 Publish externally used friend function. | |
3130 (imag (const ComplexColumnVector&)): Likewise. | |
3131 | |
3132 * dNDArray.h (real (const ComplexNDArray&)): | |
3133 Publish externally used friend function. | |
3134 (imag (const ComplexNDArray&)): Likewise. | |
3135 | |
3136 * dMatrix.h (operator * (const ComplexMatrix&)): | |
3137 Move decl outside class. No need to be friend. | |
3138 (real (const ComplexMatrix&)): Publish externally used friend function. | |
3139 (imag (const ComplexMatrix&)): Likewise. | |
3140 | |
3141 * CMatrix.h: (operator * (const ColumnVector&, const | |
3142 ComplexRowVector&)): Move decl outside class. No need to be friend. | |
3143 (operator * (const ComplexColumnVector&, const RowVector&)): Likewise. | |
3144 (operator * (const ComplexColumnVector&, const ComplexRowVector& b)): | |
3145 Likewise. | |
3146 | |
5506 | 3147 2005-10-23 David Bateman <dbateman@free.fr> |
3148 | |
3149 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Check whether trailing zero | |
3150 elements need to be removed. | |
3151 | |
3152 * oct-sparse.h.in: Include metis headers and some macros for long/int | |
3153 versions of cholmod. | |
3154 | |
3155 * CSparse.cc (tinverse): New private function for the inversion of | |
3156 an upper triangular matrix. | |
3157 (dinverse): ditto for diagonal matrices. | |
3158 (inverse): Add SparseType as an argument. Implement matrix inverse | |
3159 using tinverse and dinverse. | |
3160 (fsolve): Use cholmod to implement Cholesky solver. | |
3161 * CSparse.h (tinverse, dinverse): Declarations | |
3162 (inverse): Alter declaration to include SparseType. | |
3163 | |
3164 * dSparse.cc (tinverse, dinverse, inverse, fsolve): ditto. | |
3165 * dSparse.h (tinverse, dinverse, inverse): ditto. | |
3166 | |
3167 * SparseType.cc: Fix complex constructor for hermitian matrices. | |
3168 | |
3169 * sparse-util.cc: New file for sparse utility functions. | |
3170 * sparse-util.h: New file with declarations of sparse utility | |
3171 functions. | |
3172 | |
3173 * sparse-base-chol.cc: New file with sparse cholesky class based | |
3174 on cholmod. | |
3175 * sparse-base-chol.h: New file with declaration of sparse cholesky | |
3176 class based on cholmod. | |
3177 | |
3178 * SparseCmplxCHOL.cc: Instantiate sparse cholesky class for Complex. | |
3179 * SparseCmplxCHOL.h: Declaration of sparse cholesky class. | |
3180 | |
3181 * SparsedbleCHOL.cc: ditto. | |
3182 * SparsedbleCHOL.h: ditto. | |
3183 | |
3184 * Makefile.in (MATRIX_INC): Include sparse-base-chol.h. | |
3185 (INCLUDES): Include sparse-util.h | |
3186 (TEMPLATE_SRC): Include sparse-base-chol.cc | |
3187 (MATRIX_SRC): Include SparseCmplxCHOL.cc and SparsedbleCHOL.cc | |
3188 | |
5489 | 3189 2005-10-12 John W. Eaton <jwe@octave.org> |
3190 | |
3191 * oct-env.cc (octave_env::have_x11_display): New function. | |
3192 * oct-env.h: Provide decl. | |
3193 | |
5476 | 3194 2005-09-29 John W. Eaton <jwe@octave.org> |
3195 | |
3196 * file-stat.h (file_stat::mode): New function. | |
3197 | |
3198 * file-stat.cc (file_stat::is_blk, file_stat::is_chr, | |
3199 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
3200 file_stat::is_reg, file_stat::is_sock): New static functions. | |
3201 * file-stat.h: Provide decls. | |
3202 | |
3203 2005-09-28 John W. Eaton <jwe@octave.org> | |
3204 | |
3205 * file-ops.cc (file_ops::recursive_rmdir): New function. | |
3206 * file-ops.h: Provide decl. | |
3207 | |
5454 | 3208 2005-09-19 David Bateman <dbateman@free.fr> |
3209 | |
3210 * oct-env.cc (octave_env::do_get_home_directory): | |
3211 Also check HOMEDRIVE under mingw. | |
3212 | |
5455 | 3213 * Makefile.in (LINK_DEPS): Include UFsparse libraries. |
3214 | |
5453 | 3215 2005-09-16 John W. Eaton <jwe@octave.org> |
3216 | |
3217 * oct-syscalls.cc: Include lo-utils.h here. | |
3218 (octave_syscalls::waitpid): Call octave_waitpid here. | |
3219 | |
3220 * lo-cutils.c (octave_waitpid): New function. | |
3221 * lo-utils.h: Provide decl. Include syswait.h here, not in | |
3222 oct-syscalls.cc | |
3223 | |
3224 | |
3225 * syswait.h [__MINGW32__]: Define WAITPID here instead of defining | |
3226 waitpid in src/sysdep.h. Make this header C-compatible. | |
3227 | |
3228 * oct-syscalls.cc (octave_syscalls::waitpid): New arg, status. | |
3229 Change all uses. | |
3230 | |
5451 | 3231 2005-09-15 John W. Eaton <jwe@octave.org> |
3232 | |
3233 * Makefile.in (MAKEDEPS_2): Omit unnecessary variable. | |
3234 | |
3235 * oct-sparse.h.in: New file. | |
3236 * Makefile.in (DISTFILES): Include it in the list. | |
3237 (INCLUDES): Add oct-sparse.h to the list. | |
3238 | |
3239 2005-09-15 David Bateman <dbateman@free.fr> | |
3240 | |
3241 * dSparse.cc : Include oct-sparse.h for probed umfpack, colamd etc | |
3242 headers. Remove include of umfpack.h. | |
3243 * CSparse.cc : ditto. | |
3244 * SparsedbleLU.cc : ditto. | |
3245 * SparseCmplxLU.cc : ditto. | |
3246 | |
3247 * COLAMD : Remove colamd files from octave. | |
3248 * COLAMD.files : delete. | |
3249 * COLAMD.README : delete. | |
3250 * Makefile.in: Remove COLAMD. Add LIBGLOB. | |
3251 (LN_S): Change to DESTDIR before LN_S to avoid lack of symlinks | |
3252 under mingw. | |
3253 | |
3254 * kpse.cc (ENV_SEP, ENV_SEP_STRING): Use SEPCHAR and SEPCHAR_STR | |
3255 in definition. | |
3256 * lo-cutils.c (octave_w32_library_search): Call GetProcAddress with | |
3257 change of cast not allowed under g++ 3.x. | |
3258 * lo-utils.h (octave_w32_library_search): Declaration. | |
3259 * oct-env.cc (do_get_home_directory): Also check HOMEPATH under mingw. | |
3260 * oct-shlib.cc (octave_w32_shlib::search): Use octave_w32_library_search. | |
3261 | |
5442 | 3262 2005-09-07 John W. Eaton <jwe@octave.org> |
3263 | |
3264 * cmd-edit.cc (command_editor::do_decode_prompt_string): Update | |
3265 based on current code in Bash. Handle a few more escape | |
3266 sequences. Do a better job of decoding \W. | |
3267 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3268 2005-09-04 David Bateman <dbateman@free.fr> |
5438 | 3269 |
3270 * COLAMD: Update version of colamd to v2.4. | |
3271 * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of | |
3272 colamd.c for long version. | |
3273 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3274 2005-08-25 David Bateman <dbateman@free.fr> |
5429 | 3275 |
3276 * Sparse-op-defs.h (FULL_SPARSE_MUL, SPARSE_FULL_MUL): Macro for | |
3277 mixed sparse/full multiply. | |
3278 * dSparse.cc (operator *), CSparse.cc (operator *): New operators for | |
3279 mixed sparse/full multiply. | |
3280 * dSparse.h (operator *), CSparse.h (operator *): Declaration of | |
3281 mixed sparse/full multiply operators. | |
3282 | |
5420 | 3283 2005-07-25 Erik de Castro Lopo <erikd@zip.com.au> |
3284 | |
3285 * oct-inttypes.h (OCTAVE_S_US_FTR): Compare <= 0 instead of < 0 to | |
3286 avoid warnings for unsigned types. | |
3287 | |
5404 | 3288 2005-07-07 John W. Eaton <jwe@octave.org> |
3289 | |
3290 * dSparse.cc (SparseMatrix::factorize): Initialize Numeric to 0. | |
3291 * CSparse.cc (SparseComplexMatrix::factorize:) Likewise. | |
3292 | |
5392 | 3293 2005-06-15 John W. Eaton <jwe@octave.org> |
3294 | |
5394 | 3295 * oct-rl-edit.c (flush_stdout): Rename from no_redisplay. |
3296 Flush stdout here. | |
3297 (octave_rl_clear_screen): Set rl_redisplay_function to flush_stdout. | |
3298 | |
5392 | 3299 * Array.h (Array::resize): Change int args to octave_idx_type. |
3300 | |
5386 | 3301 2005-06-14 John W. Eaton <jwe@octave.org> |
3302 | |
5389 | 3303 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
3304 dSparse.cc, lo-cieee.c, lo-mappers.cc: Change all uses of | |
3305 octave_is_NaN_or_NA to xisnan. | |
3306 | |
3307 * lo-mappers.h (octave_is_NaN_or_NA): Mark with GCC_ATTR_DEPRECATED. | |
3308 * lo-ieee.h (lo_ieee_is_NaN_or_NA): Likewise. | |
3309 | |
3310 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Now just a wrapper for | |
3311 lo_ieee_isnan. | |
3312 | |
5387 | 3313 * dMatrix.cc (Matrix::too_large_for_float): Only check if abs |
3314 value is greater than FLT_MAX. | |
3315 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
3316 * dNDArray.cc (NDArray::too_large_for_float): Ditto. | |
3317 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
3318 | |
3319 * dMatrix.cc (Matrix::too_large_for_float): Special case Inf | |
3320 values too. | |
3321 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
3322 | |
3323 * dNDArray.cc (NDArray::too_large_for_float): Likewise for NaN, | |
3324 NA, Inf values. | |
3325 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
5386 | 3326 |
5385 | 3327 2005-06-14 David Bateman <dbateman@free.fr> |
3328 | |
5387 | 3329 * dMatrix.cc (Matrix::too_large_for_float): Special case NaN and |
3330 NA values. | |
3331 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
5385 | 3332 |
5379 | 3333 2005-06-02 John W. Eaton <jwe@octave.org> |
3334 | |
3335 * Array.cc (assignN): Try harder to correctly resize previously | |
3336 empty LHS. | |
3337 | |
5351 | 3338 2005-05-16 David Bateman <dbateman@free.fr> |
3339 | |
3340 * dSparse.h: Change UMFPACK_LONG_IDX to IDX_TYPE_LONG. | |
3341 * CSparse.h: ditto. | |
3342 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3343 2005-05-10 David Bateman <dbateman@free.fr> |
5346 | 3344 |
3345 * dSparse.cc (determinant): Free numeric factorization after | |
3346 sucessful calculation. | |
3347 * CSparse.cc (determinant): ditto. | |
3348 | |
5340 | 3349 2005-05-06 John W. Eaton <jwe@octave.org> |
3350 | |
3351 * dbleCHOL.cc (CHOL::init): Use xelem instead of elem for indexing | |
3352 chol_mat. | |
3353 (chol2mat_internal, chol2mat, CHOL::inverse): New functions. | |
3354 * dbleCHOL.h (chol2mat_internal, chol2mat, CHOL::inverse): | |
3355 Provide decls. | |
3356 | |
3357 * CmplxChol.cc (ComplexCHOL::init): Use xelem instead of elem for | |
3358 indexing chol_mat. | |
3359 (chol2mat_internal, chol2mat, ComplexCHOL::inverse): New functions. | |
3360 * CmplxCHOL.h (chol2mat_internal, chol2mat, CmplxCHOL::inverse): | |
3361 Provide decls. | |
3362 | |
5338 | 3363 2005-05-05 John W. Eaton <jwe@octave.org> |
3364 | |
3365 * Array.cc (Array<T>::permute): Call chop_trailing_singletons on | |
3366 retval before return. | |
3367 | |
5336 | 3368 2005-05-04 John W. Eaton <jwe@octave.org> |
3369 | |
3370 * cmd-edit.cc (gnu_readline::do_readline): Extract const char* | |
3371 from prompt outside of INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE block. | |
3372 | |
5330 | 3373 2005-05-02 John W. Eaton <jwe@octave.org> |
3374 | |
3375 * Makefile.in (LINK_DEPS): List $(UMFPACK_LIBS) ahead of $(BLAS_LIBS). | |
3376 From Dmitri A. Sergatskov <dasergatskov@gmail.com>. | |
3377 | |
5322 | 3378 2005-04-29 David Bateman <dbateman@free.fr> |
3379 | |
5330 | 3380 * dSparse.cc (trisolve): Diagonal passed to lapack zptsv is type |
3381 double. Correct indexing for upper diagonal elements for sparse | |
3382 tridiagonal. | |
5322 | 3383 * CSparse.cc (trisolve): ditto. |
3384 | |
5330 | 3385 * CSparse.h (UMFPACK_ZNAME): Define macro to pick version of |
3386 UMFPACK for 64-bit. | |
5322 | 3387 * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with |
3388 UMFPACK_ZNAME(*). | |
3389 * SparseCmplxLU.cc (UMFPACK_ZNAME): ditto | |
3390 | |
5330 | 3391 * dSparse.h (UMFPACK_DNAME): Define macro to pick version of |
3392 UMFPACK for 64-bit. | |
5322 | 3393 * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with |
3394 UMFPACK_DNAME(*). | |
3395 * SparsedbleLU.cc (UMFPACK_DNAME): ditto | |
3396 | |
5330 | 3397 * dSparse.cc (ltsolve, utsolve): Correct permuted upper/lower |
3398 triangular back/forward substitution code. | |
5322 | 3399 * CSparse.cc (ltsolve, utsolve): ditto. |
3400 | |
5330 | 3401 * dSparse.cc (solve): Use mattype.type (false) to force messaging |
3402 from spparms("spumoni",1). | |
5322 | 3403 * CSparse.cc (solve): ditto |
3404 | |
5330 | 3405 * SparseType.cc (SparseType(void)): Print info for |
3406 spparms("spumoni",1). | |
5322 | 3407 (SparseType(const matrix_type), SparseType(const matrix_type, const |
3408 octave_idx_type, const octave_idx_type*), SparseType(const matrix_type, | |
3409 const octave_idx_type, const octave_idx_type)): New constructors. | |
3410 (SparseType (const SparseMatrix&), SparseType (SparseComplexMatrix&)): | |
5330 | 3411 Detect row permuted lower triangular and column permuted upper |
3412 triangular matrices. Remove one of the permutation vectors.. | |
5322 | 3413 |
3414 * SparseType.h: Simplify the permutation code. | |
3415 (SparseType(const matrix_type), SparseType | |
3416 (const matrix_type, const octave_idx_type, const octave_idx_type*), | |
3417 SparseType(const matrix_type, const octave_idx_type, | |
3418 const octave_idx_type)): Declarations. | |
3419 | |
5304 | 3420 2005-04-25 John W. Eaton <jwe@octave.org> |
3421 | |
3422 * str-vec.cc (string_vector::delete_c_str_vec): Correctly free | |
3423 array and its contents. | |
3424 | |
5303 | 3425 2005-04-22 John W. Eaton <jwe@octave.org> |
3426 | |
3427 * oct-rl-edit.c (octave_rl_set_terminal_name): Don't cast away | |
3428 const here now that rl_terminal_name is declared const char*. | |
3429 | |
5294 | 3430 2005-04-21 John W. Eaton <jwe@octave.org> |
3431 | |
3432 * Makefile.in (DISTFILES): Include oct-types.h.in in the list. | |
3433 | |
5285 | 3434 2005-04-19 John W. Eaton <jwe@octave.org> |
3435 | |
3436 * Array.cc (assignN): Don't crash if the index list is empty. | |
3437 | |
5282 | 3438 2005-04-14 David Bateman <dbateman@free.fr> |
3439 | |
3440 * SparseCmplxLU.cc: Add flags for incomplete factorization. | |
3441 * SparsedbleLU.cc: Ditto. | |
3442 * SparseCmplxLU.h: Definition. | |
3443 * SparsedbleLU.h: ditto. | |
3444 | |
3445 * SparseType.cc (transpose): New function. | |
3446 * SparseType.h (transpose): Definition. | |
3447 | |
5278 | 3448 2005-04-11 John W. Eaton <jwe@octave.org> |
3449 | |
3450 * lo-specfun.cc: Use F77_XFCN instead of F77_FUNC for calls to | |
3451 fortran code that could end up calling XSTOPX. | |
3452 | |
5277 | 3453 2005-04-10 David Bateman <dbateman@free.fr> |
3454 | |
3455 * Makefile.in: include oct-types in INCLUDES so that it is | |
3456 installed | |
3457 | |
5275 | 3458 2005-04-08 John W. Eaton <jwe@octave.org> |
3459 | |
5276 | 3460 * Makefile.in (clean): Use exact filenames instead of *.xxx. |
3461 | |
5275 | 3462 * Initial merge of 64-bit changes from Clinton Chee: |
3463 | |
3464 2005-04-07 John W. Eaton <jwe@octave.org> | |
3465 | |
3466 * MArray-i.cc, Array-i.cc: Instantiate Array<long> and MArray<long>. | |
3467 | |
3468 * CSparse.cc, CSparse.h, MSparse.cc, MSparse.h, Sparse-op-defs.h, | |
3469 Sparse.cc, Sparse.h, SparseCmplxLU.cc, SparseType.cc, | |
3470 SparseType.h, SparsedbleLU.cc, boolSparse.cc, boolSparse.h, | |
3471 dSparse.cc, dSparse.h, sparse-base-lu.cc: | |
3472 Use octave_idx_type instead of int where needed. | |
3473 | |
3474 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
3475 | |
3476 * Array-util.cc, Array-util.h, Array.cc,Array.h, Array2.h, | |
3477 Array3.h, ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
3478 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
3479 CMatrix.h, CNDArray.cc, CNDArray.h, CRowVector.cc, CRowVector.h, | |
3480 CmplxAEPBAL.cc, CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, | |
3481 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
3482 CmplxSCHUR.cc, CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, | |
3483 CollocWt.h, DAEFunc.h, DASPK-opts.in,DASPK.cc,DASPK.h, | |
3484 DASRT-opts.in, DASRT.cc, DASRT.h, DASSL-opts.in, DASSL.cc, | |
3485 DASSL.h, DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, | |
3486 FEGrid.h, LPsolve.cc, LPsolve.h, LSODE-opts.in, LSODE.cc, LSODE.h, | |
3487 MArray-defs.h, MArray.cc, MArray.h, MArray2.cc, MArray2.h, | |
3488 MArrayN.cc, MDiagArray2.cc, MDiagArray2.h, NLConst.h, NLEqn.cc, | |
3489 NLEqn.h, Quad.cc, Quad.h, Range.cc,Range.cc, Range.h, base-de.h, | |
3490 base-lu.cc, base-lu.h, base-min.h, boolMatrix.cc, boolMatrix.h, | |
3491 boolNDArray.cc, boolNDArray.h, chMatrix.cc, chMatrix.h, | |
3492 chNDArray.cc, chNDArray.h, dColVector.cc, dColVector.h, | |
3493 dDiagMatrix.cc, dDiagMatrix.h, dMatrix.cc, dMatrix.h, | |
3494 dNDArray.cc,dNDArray.cc, dNDArray.h, dRowVector.cc, dRowVector.h, | |
3495 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleHESS.cc, | |
3496 dbleHESS.h, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
3497 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, dim-vector.h, idx-vector.cc, | |
3498 idx-vector.h, intNDArray.cc, intNDArray.h, lo-specfun.cc, | |
3499 lo-specfun.h, mach-info.cc, mx-inlines.cc, oct-fftw.cc, | |
3500 oct-fftw.h, oct-rand.cc, oct-rand.h, so-array.cc, so-array.h, | |
3501 str-vec.cc, str-vec.h: | |
3502 Use octave_idx_type instead of int where needed. | |
3503 | |
3504 2005-04-01 John W. Eaton <jwe@octave.org> | |
3505 | |
3506 * dim-vector.h, lo-utils.h: Include oct-types.h. | |
3507 | |
3508 * oct-types.h.in: New file. | |
3509 | |
3510 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
3511 | |
3512 * lo-utils.cc (NINTbig): New function. | |
3513 * lo-utils.h: Provide decl. | |
3514 | |
5269 | 3515 2005-04-06 David Bateman <dbateman@free.fr> |
3516 | |
3517 * Makefile.in: Link to UMFPACK_LIBS. | |
3518 | |
5265 | 3519 2005-04-05 John W. Eaton <jwe@octave.org> |
3520 | |
3521 * Array.cc (assignN): Avoid shadowed declaration in previous change. | |
3522 | |
5264 | 3523 2005-04-01 John W. Eaton <jwe@octave.org> |
3524 | |
3525 * Array.cc (assignN): For A(IDX-LIST) = RHS with A previously | |
3526 undefined, correctly match colons in IDX-LIST with RHS dimensions | |
3527 when resizing A. When performing the assignment, just check that | |
3528 the number of elements in RHS matches the number of elements | |
3529 indexed by IDX-LIST. | |
3530 | |
5260 | 3531 2005-03-30 John W. Eaton <jwe@octave.org> |
3532 | |
5261 | 3533 * lo-mappers.cc (log10, tan, tanh): Delete functions. |
3534 * lo-mappers.h (log10, tan, tanh): Delete decls. | |
3535 | |
3536 * CColVector.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, | |
3537 dSparse.cc: Use std:: for Complex functions instead of relying on | |
3538 wrappers from oct-cmplx.h. | |
5260 | 3539 |
3540 * oct-cmplx.h: Provide typedef only. | |
3541 | |
3542 * DiagArray2.cc (xelem): Don't use initializer for static data. | |
3543 * DiagArray2.h (DiagArray<T>::Proxy::operator T ()): | |
3544 Likewise. | |
3545 | |
5247 | 3546 2005-03-26 John W. Eaton <jwe@octave.org> |
3547 | |
3548 * cmd-edit.cc (do_readline): Wrap call to ::octave_rl_readline | |
3549 with {BEGIN,END}_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE. | |
3550 | |
5209 | 3551 2005-03-15 John W. Eaton <jwe@octave.org> |
3552 | |
3553 * Makefile.in (MATRIX_INC): Remove oct-spparms.h from the list. | |
3554 | |
5203 | 3555 2005-03-14 John W. Eaton <jwe@octave.org> |
3556 | |
3557 * Makefile.in (DISTFILES): Don't include $(UMFPACK_EXTRAS). | |
3558 (DISTDIRS): Don't include UMFPACK. | |
3559 (LIBOCTAVE_OBJECTS): Don't include $(UMFPACK_OBJ). | |
3560 (UMFPACK_SPECIAL_1, UMFPACK_SPECIAL): No need for special include | |
3561 flags for these files. | |
3562 Don't include include $(srcdir)/UMFPACK.files. | |
3563 Don't include include $(srcdir)/UMFPACK.rules. | |
3564 | |
3565 * UMFPACK.README, UMFPACK.files, UMFPACK.patch, UMFPACK.rules: | |
3566 Delete files. | |
3567 * UMFPACK: Delete directory tree. | |
3568 | |
3569 * dSparse.cc: Include <umfpack/umfpack.h> instead of just "umfpack.h". | |
3570 * CSparse.cc: Likewise. | |
3571 * SparsedbleLU.cc: Likewise. | |
3572 * SparseCmplxLU.cc: Likewise. | |
3573 | |
3574 2005-03-14 David Bateman <dbateman@free.org> | |
3575 | |
3576 * CSParse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc: | |
3577 Allow compilation to succeed if UMFPACK is not available. | |
3578 | |
5196 | 3579 2005-03-09 John W. Eaton <jwe@octave.org> |
3580 | |
3581 * Makefile.in (bin-dist): Delete target. | |
3582 (BINDISTLIBS, BINDISTFILES): Delete variables. | |
3583 | |
5173 | 3584 2005-03-01 John W. Eaton <jwe@octave.org> |
3585 | |
3586 * ODESSA.h, ODESSA.cc, ODESSA-opts.in: Delete. | |
3587 * Makefile.in: Remove them from the lists. | |
3588 | |
5169 | 3589 2005-02-28 John W. Eaton <jwe@octave.org> |
3590 | |
3591 * Makefile.in (LINK_DEPS): Remove -lglob from the list. | |
3592 | |
5167 | 3593 2005-02-27 David Bateman <dbateman@free.org> |
3594 | |
5169 | 3595 * Sparse.cc (Sparse<T>::reshape): Set cidx for the N last elements |
3596 in the sparse matrix. | |
5167 | 3597 |
5164 | 3598 2005-02-25 John W. Eaton <jwe@octave.org> |
3599 | |
3600 Sparse merge. | |
3601 | |
3602 2005-02-13 David Bateman <dbateman@free.fr> | |
3603 | |
3604 * CSparse.cc (SparseComplexMatrix:dsolve, SparseComplexMatrix:utsolve, | |
3605 SparseComplexMatrix::ltsolve, SparseComplexMatrix::trisolve, | |
3606 SparseComplexMatrix::bsolve, SparseComplexMatrix:fsolve): Split sparse | |
3607 solver into separate functions for the diagonal, upper, lower | |
3608 triangular, tridiagonal, banded and full cases. | |
3609 (SparseComplexMatrix::solve): rewrite to call the above function. One | |
3610 version that probes the matrix type and another that assumes the type | |
3611 is passed. | |
3612 | |
3613 * dSparse.cc (SparseMatrix:dsolve, SparseMatrix:utsolve, | |
3614 SparseMatrix::ltsolve, SparseMatrix::trisolve, | |
3615 SparseMatrix::bsolve, SparseMatrix:fsolve): Likewise | |
3616 (SparseMatrix::solve): Likewise | |
3617 | |
3618 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
3619 Declaration of new functions | |
3620 * dSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
3621 Likewise | |
3622 | |
3623 * CSparse.cc (operator !): Reverse the sense of the test. | |
3624 * dSpase.cc (operator !): Likewise | |
3625 | |
3626 * dSparse.h (type, band_size, is_dense, triangular_row_perm, | |
3627 triangular_col_perm, sparse_info): Remove matrix type code | |
3628 * CSparse.h (type, band_size, is_dense, triangular_row_perm, | |
3629 triangular_col_perm, sparse_info): Likewise | |
3630 * boolSparse.h (type, band_size, is_dense, triangular_row_perm, | |
3631 triangular_col_perm, sparse_info): Likewise | |
3632 * MSparse.h (type, band_size, is_dense, triangular_row_perm, | |
3633 triangular_col_perm, sparse_info): Likewise | |
3634 * Sparse.h (type, band_size, is_dense, triangular_row_perm, | |
3635 triangular_col_perm, sparse_info, matrix_type): Likewise | |
3636 | |
3637 * Sparse.cc (type, sparse_info, band_size): Remove type code | |
3638 | |
3639 * SparseType.h: New class for the matrix type used in solvers | |
3640 * SparseType.cc: methods of sparse matrix type class | |
3641 | |
3642 * Makefile.in: Add SparseType.cc | |
3643 | |
3644 2005-02-01 David Bateman <dbateman@free.fr> | |
3645 | |
3646 * UMFPACK: Update to version 4.4 | |
3647 * UMFPACK.patch: Version 4.4 contains most of the previous patch. Only | |
3648 keep octave specific test files | |
3649 | |
3650 2005-01-23 David Bateman <dbateman@free.fr> | |
3651 | |
3652 * dSparse.cc (SparseMatrix::solve): Include tridiagonal, cholesky | |
3653 tridiagonal and banded cholesky solvers. Remove calculation of | |
3654 condition number for banded solvers. | |
3655 * CSparse.cc (SparseComplexMatrix::solve): ditto. | |
3656 | |
3657 * Sparse.h (int type (int) const, bool is_dense (void) const): | |
3658 new functions. | |
3659 * MSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
3660 * dSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
3661 * CSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
3662 * boolSparse.h (int type (int) const, bool is_dense (void) const): | |
3663 ditto | |
3664 | |
3665 * Sparse.cc (int Sparse<T>::type (int) const, | |
3666 bool Sparse<T>::is_dense (void) const): New functions definition | |
3667 | |
3668 * Sparse.h (matrix_type typ): Move caching of matrix type to SparseRep, | |
3669 so it actually is cached, but disable | |
3670 | |
3671 * oct-spparms.cc (SparseParams::init_keys): Change spmoni to spumoni | |
3672 for compatiability | |
3673 | |
3674 2005-01-18 David Bateman <dbateman@free.fr> | |
3675 | |
3676 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
3677 Modify calculation of number elements to skip between copied blocks. | |
3678 | |
3679 2005-01-07 David Bateman <dbateman@free.fr> | |
3680 | |
3681 * Sparse.h : Reverse definitions of numel and nelem. | |
3682 * Sparse.cc (assign1): Use numel and not nelem | |
3683 * Sparse-op-def.h: Replace all uses of nelem with numel | |
3684 | |
3685 2005-01-07 David Bateman <dbateman@free.fr> | |
3686 | |
3687 * dbleDET.h: Make SparseMatrix a friend of the class DET | |
3688 * CmplexDET.h: Make SparseComplexMatrix a friend of the class | |
3689 ComplexDET | |
3690 * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET | |
3691 by DET | |
3692 * dSparse.h (determinant): ditto | |
3693 * CSparse.cc (SparseComplexMatrix::determinant): Replace use of | |
3694 SparseComplexDET by ComplexDET | |
3695 * CSparse.h (determinant): ditto | |
3696 * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, | |
3697 SparseCmplxDET.cc: delete files | |
3698 * Makefile.in: Delete reference to SparsedbleDET.h, SparsedbleDET.cc, | |
3699 SparseCmplxDET.h andSparseCmplxDET.cc. | |
3700 | |
3701 * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in | |
3702 local variable to avoid variable shadowing. | |
3703 * dSparse.cc (SparseMatrix::solve): ditto. | |
3704 | |
3705 * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc | |
3706 dSparse.h MSparse.cc MSparse-C.cc MSparse-d.cc MSparse-defs.h | |
3707 MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc | |
3708 Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc | |
3709 SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc | |
3710 sparse-sort.h: Remove additional licensing clause with authors | |
3711 permission. | |
3712 | |
3713 2004-12-30 John W. Eaton <jwe@octave.org> | |
3714 | |
3715 * MSparse.cc (SPARSE_A2S_OP_2, SPARSE_SA2_OP_2): | |
3716 Loop counter is int, not size_t. | |
3717 | |
3718 * oct-spparms.cc (SparseParams::operator =): Return *this. | |
3719 | |
3720 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Delete unused variable tmpval. | |
3721 | |
3722 * dSparse.cc (operator << (ostream&, const SparseMatrix&), atan2): | |
3723 Delete unused variables. | |
3724 (SparseMatrix::solve): Avoid warnings about uninitialized | |
3725 variables and variables that might be clobbered by longjmp. | |
3726 | |
3727 * CSparse.cc (operator << (ostream&, const SparseComplexMatrix&), | |
3728 min, max): Delete unused variables. | |
3729 (SparseComplexMatrix::solve): Avoid warnings about uninitialized | |
3730 variables and variables that might be clobbered by longjmp. | |
3731 | |
3732 * Makefile.in (UMFPACK_SPECIAL): Include .d files in the list. | |
3733 | |
3734 * Sparse-op-defs.h (SPARSE_SMS_BIN_OP_2, SPARSE_SSM_BIN_OP_2): | |
3735 Loop counter is int, not size_t. | |
3736 | |
3737 * CSparse.cc (SparseComplexMatrix::hermitian): Avoid shadow warnings. | |
3738 * Sparse.cc (Sparse<T>::Sparse, Sparse<T>::type, assign): Likewise. | |
3739 | |
3740 * Sparse.h (Sparse::SparseRep): Order data members and initializer | |
3741 lists consistently. | |
3742 | |
3743 * mx-base.h: Include boolSparse.h, dSparse.h, and CSparse.h. | |
3744 | |
3745 2004-12-29 John W. Eaton <jwe@octave.org> | |
3746 | |
3747 * COLAMD.files (COLAMD_EXTRAS): New variable. | |
3748 * UMFPACK.files (UMFPACK_EXTRAS): New variable. | |
3749 * Makefile.in (DISTFILES): Add $(COLAMD_EXTRAS) and | |
3750 $(UMFPACK_EXTRAS) to the list. | |
3751 (DISTDIRS): New variable. | |
3752 (dist): Handle $(DISTDIRS). | |
3753 | |
3754 Merge of sparse code from David Bateman <dbateman@free.fr> and | |
3755 Andy Adler <adler@site.uottawa.ca>. | |
3756 | |
3757 * Makefile.in (VPATH): ADD @srcdir@/COLAMD to the list. | |
3758 | |
3759 * Makefile.in (MAKEDEPS): Include $(COLAMD_SRC) and $(UMFPACK_SRC) | |
3760 without directory prefix. | |
3761 | |
3762 * Makefile.in (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJ) and | |
3763 $(UMFPACK_OBJ) to the list. | |
3764 | |
3765 * COLAMD: New directory. | |
3766 * COLAMD.files: New file. | |
3767 * Makefile.in: Include COLAMD.files. | |
3768 (SOURCES): Add $(COLAMD_SOURCES) to the list. | |
3769 (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJECTS) to the list. | |
3770 (INCLUDES): Add $(COLAMD_INCLUDES) to the list. | |
3771 | |
3772 * UMFPACK: New directory. | |
3773 * UMFPACK.patch, UMFPACK.README, UMFPACK.files, UMFPACK.rules: | |
3774 New files. | |
3775 * Makefile.in: Include UMFPACK.files and UMFPACK.rules. | |
3776 (SOURCES): Add $(UMFPACK_SOURCES) to the list. | |
3777 (LIBOCTAVE_OBJECTS): Add $(UMFPACK_OBJECTS) to the list. | |
3778 (INCLUDES): Add $(UMFPACK_INCLUDES) to the list. | |
3779 | |
3780 * Makefile.in (SPARSE_MX_OP_INC): New variable. | |
3781 (INCLUDES): Add it to the list. | |
3782 (SPARSE_MX_OP_SRC): New variable. | |
3783 (LIBOCTAVE_CXX_SOURCES): Add it to the list. | |
3784 (distclean): Remove $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
3785 (stamp-prereq): Depend on $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
3786 | |
3787 * sparse-mk-ops.awk, sparse-mx-ops: New files. | |
3788 * Makefile.in (DISTFILES): Add them to the lists. | |
3789 | |
3790 * oct-spparms.h, sparse-sort.h: New files. | |
3791 * Makefile.in (INCLUDES): Add them to the list. | |
3792 | |
3793 * oct-spparms.cc, sparse-sort.cc: New files. | |
3794 * Makefile.in (LIBOCTAVE_CXX_SOURCES): Add them to the list. | |
3795 | |
3796 * sparse-base-lu.cc: New file. | |
3797 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
3798 | |
3799 * boolSparse.cc, CSparse.cc, dSparse.cc, MSparse.cc, Sparse.cc, | |
3800 SparseCmplxDET.cc, SparseCmplxLU.cc, SparsedbleDET.cc, | |
3801 SparsedbleLU.cc: New files. | |
3802 * Makefile.in (MATRIX_SRC): Add them to the list. | |
3803 | |
3804 * boolSparse.h, CSparse.h, dSparse.h, MSparse-defs.h, MSparse.h, | |
3805 Sparse.h, oct-spparms.h, sparse-base-lu.h, SparseCmplxDET.h, | |
3806 SparseCmplxLU.h, SparsedbleDET.h, SparsedbleLU.h, | |
3807 Sparse-op-defs.h: New files. | |
3808 * Makefile.in (MATRIX_INC): Add them to the appropriate lists. | |
3809 | |
3810 * MSparse-d.cc, MSparse-C.cc, Sparse-b.cc, Sparse-d.cc, | |
3811 Sparse-C.cc: New files. | |
3812 * Makefile.in (TI_SRC): Add them to the list. | |
3813 | |
5149 | 3814 2005-02-18 John W. Eaton <jwe@octave.org> |
3815 | |
3816 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_RESOLVEPATH]: | |
3817 Pass current directory to octave_env::make_absolute. | |
3818 Save value returned from octave_env::make_absolute in local var. | |
3819 Pass const char*, not std::string as first arg of resolvepath. | |
3820 Provide decl for resolved_len. | |
3821 | |
5148 | 3822 2005-02-18 John W. Eaton <jwe@octave.org> |
3823 | |
3824 * Array.cc (Array<T>::permute): Allow permutation vector longer | |
3825 than number of dimenensions of permuted matrix. | |
3826 | |
3827 * Array.cc (Array<T>::permute): Use zero-based indexing for perm_vec. | |
3828 * Array-util.cc (calc_permutated_idx): Likewise. | |
3829 | |
5139 | 3830 2005-02-10 David Bateman <dbateman@free.fr> |
3831 | |
3832 * CNDArray.cc (ComplexNDarray::operator !): Change sense of test. | |
3833 * CMatrix.cc (ComplexMatrix::operator !): Likewise. | |
3834 | |
5137 | 3835 2005-02-09 John W. Eaton <jwe@octave.org> |
3836 | |
5138 | 3837 * file-ops.cc (file_ops::canonicalize_file_name): New functions. |
3838 * file-ops.h: Provide decls. | |
3839 | |
5137 | 3840 * kpse.cc (kpse_tilde_expand): Simply return NAME if it is empty. |
3841 | |
5136 | 3842 2005-02-08 John W. Eaton <jwe@octave.org> |
3843 | |
3844 * Array-util.cc (freeze): Improve error message. | |
3845 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3846 2005-01-26 David Bateman <dbateman@free.fr> |
5120 | 3847 |
5121 | 3848 * Array.cc (Array<T>::insert): Handle generic case, not just |
3849 special case for fast concatenation. | |
5120 | 3850 |
5110 | 3851 2005-01-18 John W. Eaton <jwe@octave.org> |
3852 | |
3853 * mx-inlines.cc (MX_ND_REDUCTION): Delete RET_ELT_TYPE arg. | |
3854 Change all uses. Use VAL instead of RET_ELT_TYPE when resizing. | |
3855 | |
3856 * dNDArray.cc (NDArray::any): NaN does not count as a nonzero value. | |
3857 * CNDArray.cc (ComplexNDArray::any): Likewise. | |
3858 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3859 2005-01-18 David Bateman <dbateman@free.fr> |
5108 | 3860 |
3861 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
3862 Modify calculation of number elements to skip between copied blocks. | |
3863 | |
3864 2005-01-18 John W. Eaton <jwe@octave.org> | |
3865 | |
3866 * idx-vector.cc (IDX_VEC_REP::freeze): Call warning handler, not | |
3867 error handler, to warn about resizing. | |
3868 | |
5105 | 3869 2004-12-27 Martin Dalecki <martin@dalecki.de> |
3870 | |
3871 * Array.cc, ArrayN.cc, base-lu.cc, boolMatrix.cc, boolNDArray.cc, | |
3872 Bounds.cc, CColVector.cc, CDiagMatrix.cc, chMatrix.cc, | |
3873 chNDArray.cc, CMatrix.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, | |
3874 CmplxDET.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
3875 CmplxSCHUR.cc, CmplxSVD.cc, CNDArray.cc, CollocWt.cc, | |
3876 CRowVector.cc, DASPK.cc, DASRT.cc, DASSL.cc, dbleAEPBAL.cc, | |
3877 dbleCHOL.cc, dbleDET.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, | |
3878 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, dColVector.cc, | |
3879 dDiagMatrix.cc, DiagArray2.cc, dMatrix.cc, dNDArray.cc, | |
3880 dRowVector.cc, EIG.cc, FEGrid.cc, idx-vector.cc, int16NDArray.cc, | |
3881 int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, intNDArray.cc, | |
3882 LinConst.cc, LPsolve.cc, LSODE.cc, MArray2.cc, MArray.cc, | |
3883 MArrayN.cc, MDiagArray2.cc, NLEqn.cc, oct-alloc.cc, ODES.cc, | |
3884 ODESSA.cc, Quad.cc, Range.cc, so-array.cc, uint16NDArray.cc, | |
3885 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: | |
3886 Delete #pragma implementation. | |
3887 | |
3888 * Array2.h, Array3.h, Array.h, ArrayN.h, base-lu.h, boolMatrix.h, | |
3889 boolNDArray.h, Bounds.h, CColVector.h, CDiagMatrix.h, chMatrix.h, | |
3890 chNDArray.h, CMatrix.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, | |
3891 CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, | |
3892 CmplxSVD.h, CNDArray.h, CollocWt.h, CRowVector.h, DASPK.h, | |
3893 DASRT.h, DASSL.h, dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, | |
3894 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, | |
3895 dColVector.h, dDiagMatrix.h, DiagArray2.h, dim-vector.h, | |
3896 dMatrix.h, dNDArray.h, dRowVector.h, EIG.h, FEGrid.h, | |
3897 idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
3898 int8NDArray.h, intNDArray.h, LinConst.h, LPsolve.h, LSODE.h, | |
3899 MArray2.h, MArray.h, MArrayN.h, MDiagArray2.h, NLConst.h, NLEqn.h, | |
3900 ODES.h, ODESSA.h, Quad.h, Range.h, so-array.h, uint16NDArray.h, | |
3901 uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: | |
3902 Delete #pragma interface. | |
3903 | |
5098 | 3904 2004-12-17 John W. Eaton <jwe@octave.org> |
3905 | |
3906 * lo-cieee.c (lo_ieee_signbit): New function. | |
3907 * lo-ieee.h: Provide decl. | |
3908 Don't define lo_ieee_signbit as a macro here. | |
3909 From Orion Poplawski <orion@cora.nwra.com>. | |
3910 | |
5085 | 3911 2004-11-18 John W. Eaton <jwe@octave.org> |
3912 | |
3913 * int32NDArray.cc (pow): Delete instantiation. | |
3914 * int16NDArray.cc (pow): Likewise. | |
3915 * int8NDArray.cc (pow): Likewise. | |
3916 * uint32NDArray.cc (pow): Likewise. | |
3917 * uint16NDArray.cc (pow): Likewise. | |
3918 * uint8NDArray.cc (pow): Likewise. | |
3919 | |
5081 | 3920 2004-11-17 John W. Eaton <jwe@octave.org> |
3921 | |
5085 | 3922 * kpse.cc (str_llist_float, str_llist_add, kpse_var_expand): |
3923 Now static. | |
3924 (DB_ENVS, DB_HASH_SIZE, DB_NAME, ALIAS_NAME, ALIAS_HASH_SIZE, | |
3925 DEFAULT_TEXMFDBS): Delete unused macros. | |
3926 | |
5081 | 3927 * Array.cc (Array<T>::index): Call generic N-d indexing function |
3928 if idx_arg is N-d. | |
3929 | |
5073 | 3930 2004-11-09 David Bateman <dbateman@free.fr> |
3931 | |
3932 * dNDArray.cc (concat): Delete. | |
3933 (NDArray::concat): New methods. | |
3934 * dNDArray.h: Provide decls. | |
3935 | |
3936 * CNDArray.cc (concat): Delete. | |
3937 (ComplexNDArray::concat): New methods. | |
3938 * CNDArray.h: Provide decls. | |
3939 | |
3940 * boolNDArray.cc (concat): Delete. | |
3941 (boolNDArray::concat): New methods. | |
3942 * boolNDArray.h: Provide decls. | |
3943 | |
3944 * chNDArray.cc (concat): Delete. | |
3945 (charNDArray::concat): New methods. | |
3946 * chNDArray.h: Provide decls. | |
3947 | |
3948 * oct-inttypes.h (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): | |
3949 Delete macros. | |
3950 | |
3951 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
3952 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
3953 (OCTAVE_INT_CONCAT_DECL): Delete use of macro. | |
3954 | |
3955 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
3956 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
3957 (OCTAVE_INT_CONCAT_FN): Delete use of macro. | |
3958 | |
3959 * intNDArray.cc (intNDArray<T>::concat): New method. | |
3960 * intNDArray.h: Provide decl. | |
3961 | |
5072 | 3962 2004-11-08 John W. Eaton <jwe@octave.org> |
3963 | |
3964 * oct-inttypes.cc: New file. | |
3965 * Makefile.in (TI_SRC): Add it to the list. | |
3966 * oct-inttypes.h (OCTAVE_US_TYPE1_CMP_OP, OCTAVE_US_TYPE1_CMP_OPS, | |
3967 OCTAVE_SU_TYPE1_CMP_OP, OCTAVE_SU_TYPE1_CMP_OPS, | |
3968 OCTAVE_TYPE1_CMP_OPS, OCTAVE_US_TYPE2_CMP_OP, | |
3969 OCTAVE_US_TYPE2_CMP_OPS, OCTAVE_SU_TYPE2_CMP_OP, | |
3970 OCTAVE_SU_TYPE2_CMP_OPS, OCTAVE_TYPE2_CMP_OPS): | |
3971 New macros for comparison operations. Avoid potential | |
3972 problems with default conversions when comparing signed and | |
3973 unsigned values. | |
3974 | |
5061 | 3975 2004-11-03 John W. Eaton <jwe@octave.org> |
3976 | |
3977 * dMatrix.cc (Matrix::inverse): Return info == -1 for any failure. | |
3978 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
3979 | |
5052 | 3980 2004-10-19 John W. Eaton <jwe@octave.org> |
3981 | |
3982 * Array.cc (assignN): Avoid resizing if assignment will fail. | |
3983 | |
5047 | 3984 2004-10-18 John W. Eaton <jwe@octave.org> |
3985 | |
3986 * Array.cc (assign2): Save result of squeeze operation. | |
3987 Squeeze if ndims is > 2, not if length of RHS vector is > 2. | |
3988 | |
5095 | 3989 2004-10-11 David Bateman <dbateman@free.fr> |
5044 | 3990 |
3991 * oct-fftw.cc (class octave_fftw_planner): Add inplace[2] to | |
3992 flag whether transform in- or out-of-place. | |
3993 (octave_fftw_planner::octave_fftw_planner): Initialize it. | |
3994 (octave_fftw_planner::create_plan): Use it. | |
3995 | |
5039 | 3996 2004-09-24 John W. Eaton <jwe@octave.org> |
3997 | |
3998 * Array.cc (assign2, assignN): If index is empty, allow RHS to be | |
3999 any empty matrix, not just []. | |
4000 | |
5030 | 4001 2004-09-23 John W. Eaton <jwe@octave.org> |
4002 | |
4003 * mx-ops: Include scalar zero value in type definitions. | |
4004 Delete zero information from ops section. | |
4005 * mk-ops.awk: Use type-specific zero info. | |
4006 | |
4007 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, | |
4008 SND_BOOL_OP, NDND_BOOL_OP): Args now include zero values for both | |
4009 LHS and RHS. | |
4010 (MS_BOOL_OPS2, SM_BOOL_OPS2, MM_BOOL_OPS2, NDS_BOOL_OPS2, | |
4011 SND_BOOL_OPS2, NDND_BOOL_OPS2): New macros. | |
4012 (MS_BOOL_OPS, SM_BOOL_OPS, MM_BOOL_OPS, NDS_BOOL_OPS, | |
4013 SND_BOOL_OPS, NDND_BOOL_OPS): Define in terms of 2-zero versions. | |
4014 | |
4015 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const | |
4016 intNDArray<U>&)): Use explicit as_double () conversion in call to | |
4017 tree_to_mat_idx. | |
4018 | |
4019 * oct-inttypes.h (octave_int<T>::operator float): New conversion. | |
4020 (pow): Instead of "if (b_val)", use "if (b_val != zero)". | |
4021 Likewise for the "if (b_val & one)" test. | |
4022 (operator <<, operator >>): Type of retval is octave_int<T1>, not T1. | |
4023 | |
5029 | 4024 2004-09-23 David Bateman <dbateman@free.fr> |
4025 | |
4026 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): | |
4027 New macros. Use them to define mixed intX-double and double-intX ops. | |
4028 | |
5021 | 4029 2004-09-22 Federico Zenith <zenith@chemeng.ntnu.no> |
4030 | |
4031 * DASPK-opts.in, DASRT-opts.in, ODESSA-opts.in: | |
4032 Fix doc string layout to avoid overfull hbox in printed output. | |
4033 | |
5015 | 4034 2004-09-21 John W. Eaton <jwe@octave.org> |
4035 | |
4036 * mach-info.h (octave_mach_info::flt_fmt_native): Delete. | |
4037 * mach-info.cc (octave_mach_info::string_to_float_format): | |
4038 For "native", set actual native format. | |
4039 (octave_mach_info::float_format_as_string): Delete flt_fmt_native case. | |
4040 | |
5008 | 4041 2004-09-17 David Bateman <dbateman@free.fr> |
4042 | |
4043 * CmplxSCHUR.cc (CmplxSCHUR::init): New arg, calc_unitary to make the | |
4044 calculation of the unitary matrix optional. | |
4045 * dbleSCHUR.cc (SCHUR::init): Ditto. | |
4046 * CmplxSCHUR.h, dbleSCHUR.h: Update decls. | |
4047 | |
4998 | 4048 2004-09-15 David Bateman <dbateman@free.fr> |
4049 | |
4050 * oct-sort.h (octave_sort<T>::set_compare (bool (*comp) (T, T))): | |
4051 New function to set the comparison function for the sort. | |
4052 | |
4985 | 4053 2004-09-10 John W. Eaton <jwe@octave.org> |
4054 | |
4055 * lo-mappers.cc (xround): Fix typo. | |
4056 | |
4979 | 4057 2004-09-08 John W. Eaton <jwe@octave.org> |
4058 | |
4059 * Array.h (Array::~Array): Declare virtual. | |
4060 | |
4061 * idx-vector.h (idx_vector::idx_vector): Initialize rep in member | |
4062 initializaion list. Don't set rep->count since the rep | |
4063 constructor does that. | |
4064 | |
4968 | 4065 2004-09-07 John W. Eaton <jwe@octave.org> |
4066 | |
4970 | 4067 * data-conv.cc (oct_data_conv::string_to_data_type): Handle dt_logical. |
4068 (oct_data_conv::data_type_as_string): Likewise. | |
4069 | |
4070 * data-conv.h (oct_data_conv::data_type): Add dt_logical to list. | |
4071 | |
4968 | 4072 * Range.cc (round): Delete unused function. |
4073 | |
4074 * lo-mappers.cc (xround): Rename from round. Change all uses. | |
4075 If HAVE_ROUND, call round, otherwise fake with floor and ceil. | |
4076 | |
4077 * oct-inttypes.h: Include <cmath> here. | |
4078 | |
4964 | 4079 2004-09-03 David Bateman <dbateman@free.fr> |
4080 | |
4081 * boolNDArray.cc (boolNDArray::concat, boolNDArray::insert): | |
4082 New functions for boolean matrix concatenation. | |
4083 * boolNDArray.h: Provide decls. | |
4084 | |
4963 | 4085 2004-09-03 John W. Eaton <jwe@octave.org> |
4086 | |
4964 | 4087 * oct-inttpes.h (OCTAVE_INT_CMP_OP): Convert operarands to double |
4088 to avoid signed/unsigned int comparison problems. | |
4089 | |
4090 * mx-ops: Generate CMP and BOOL ops for mixed integer types and | |
4091 for mixed integer and double types. | |
4092 | |
4093 * mk-ops.awk: Output BIN_OP_DECLS, CMP_OP_DECLS, and BOOL_OP_DECLS | |
4094 separately, and only if needed. | |
4095 | |
4963 | 4096 * oct-inttypes.h (octave_fit_to_range): Use constructor instead of |
4097 static_cast for type conversion. | |
4098 | |
4953 | 4099 2004-09-01 John W. Eaton <jwe@octave.org> |
4100 | |
4101 * oct-inttypes.h (pow, operator +, operator -, operator *, | |
4102 operator /): Handle mixed integer/double ops. If op generates a | |
4103 NaN, set result to 0. | |
4104 (octave_int::operator - (void)): Convert to double, then negate, | |
4105 then fit to range. | |
4106 | |
4107 * mx-ops: Define integer types. Include declarations for mixed | |
4108 integer/double ops. | |
4109 | |
4952 | 4110 2004-08-31 John W. Eaton <jwe@octave.org> |
4111 | |
4112 * oct-inttypes.h (pow): Args now const reference. | |
4113 (octave_int<T>::operator *=, octave_int<T>::operator /=, | |
4114 octave_int<T>::operator <<=, octave_int<T>::operator >>=): | |
4115 New member functions. | |
4116 (OCTAVE_INT_BITSHIFT_OP): Delete macro. | |
4117 (operator >> (const octave_int<T1>& x, const T2& y)): | |
4118 Define in terms of >>=. | |
4119 (operator << (const octave_int<T1>& x, const T2& y)): | |
4120 Define in terms of <<=. | |
4121 (bitshift): Operate on octave_int<T> objects, not the values, so | |
4122 we get proper saturation properties. | |
4123 | |
4124 2004-08-31 David Bateman <dbateman@free.fr> | |
4125 | |
4126 * oct-inttypes.h (pow (constT, T)): New template. | |
4127 | |
4128 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, | |
4129 uint16NDArray.cc, uint32NDArray.cc: Instantiate power function. | |
4130 | |
4949 | 4131 2004-08-31 John W. Eaton <jwe@octave.org> |
4132 | |
4133 * oct-inttypes.h (octave_int::byte_size): New function. | |
4134 | |
4944 | 4135 2004-08-31 John W. Eaton <jwe@octave.org> |
4136 | |
4946 | 4137 * Makefile.in (EXTRAS): Add intNDArray.cc to the list. |
4138 | |
4944 | 4139 * data-conv.h (oct_data_conv::data_type): Include sized types. |
4140 Explicitly number enum elements. | |
4141 | |
4142 * data-conv.cc (oct_data_conv::string_to_data_type (const | |
4143 std::string&, int&, oct_data_conv::data_type&, | |
4144 oct_data_conv::data_type&)): New function. | |
4145 (oct_data_conv::string_to_data_type (const std::string&, int&, | |
4146 oct_data_conv::data_type&)): New function. | |
4147 (oct_data_conv::data_type_as_string): New function. | |
4148 | |
4149 * dMatrix.cc (read_int, do_read, Matrix::read): Delete. | |
4150 (write_int, do_write, Matrix::write): Delete. | |
4151 * dMatrix.h (Matrix::read, Matrix::write): Delete decls. | |
4152 | |
4153 * byte-swap.h: Use template functions and specialization. | |
4154 Change all uses. | |
4155 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
4156 | |
4943 | 4157 2004-08-30 John W. Eaton <jwe@octave.org> |
4158 | |
4159 * oct-inttypes.h (octave_int_fit_to_range): Use template | |
4160 specializations to avoid warnings about signed/unsigned comparisons. | |
4161 | |
4162 2004-08-28 John W. Eaton <jwe@octave.org> | |
4163 | |
4164 * data-conv.cc (do_float_format_conversion (unsigned char *, | |
4165 size_t, int, oct_mach_info::float_format)): New function. | |
4166 (GET_SIZED_INT_TYPE): New macro. | |
4167 (string_to_data_type): Use it to return sized types corresponding | |
4168 to Octave array data types. | |
4169 (strip_spaces): New function. | |
4170 (do_double_format_conversion, do_float_format_conversion): Pass | |
4171 from_fmt and to_fmt. Don't always assume the to_fmt is the native | |
4172 float format. | |
4173 (do_double_format_conversion, | |
4174 IEEE_big_double_to_IEEE_little_double, | |
4175 VAX_D_double_to_IEEE_little_double, | |
4176 VAX_G_double_to_IEEE_little_double, Cray_to_IEEE_little_double, | |
4177 IEEE_little_double_to_IEEE_big_double, | |
4178 VAX_D_double_to_IEEE_big_double, VAX_G_double_to_IEEE_big_double, | |
4179 Cray_to_IEEE_big_double, IEEE_little_double_to_VAX_D_double, | |
4180 IEEE_big_double_to_VAX_D_double, VAX_G_double_to_VAX_D_double, | |
4181 Cray_to_VAX_D_double, IEEE_little_double_to_VAX_G_double, | |
4182 IEEE_big_double_to_VAX_G_double, VAX_D_double_to_VAX_G_double, | |
4183 Cray_to_VAX_G_double): | |
4184 Pass data as void*, not double*. | |
4185 (do_float_format_conversion, IEEE_big_float_to_IEEE_little_float, | |
4186 VAX_D_float_to_IEEE_little_float, | |
4187 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, | |
4188 IEEE_little_float_to_IEEE_big_float, | |
4189 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, | |
4190 Cray_to_IEEE_big_float, IEEE_little_float_to_VAX_D_float, | |
4191 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, | |
4192 Cray_to_VAX_D_float, IEEE_little_float_to_VAX_G_float, | |
4193 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, | |
4194 Cray_to_VAX_G_float): | |
4195 Pass data as void*, not float*. | |
4196 | |
4197 2004-08-27 John W. Eaton <jwe@octave.org> | |
4198 | |
4199 * byte-swap.h (swap_bytes): New template versions, with | |
4200 specializations. | |
4201 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
4202 Change all uses. | |
4203 | |
4940 | 4204 2004-08-24 David Bateman <dbateman@free.fr> |
4205 | |
4206 * chNDArray.cc (concat): Check whether matrix to be inserted is | |
4207 empty instead of checking final matrix. | |
4208 * dNDArray.cc (concat): Likewise. | |
4209 * CNDArray.cc (concat): Likewise. | |
4210 | |
4211 2004-08-23 David Bateman <dbateman@free.fr> | |
4212 | |
4213 * dim-vector.h (dim_vector::concat): Correct incrementation for | |
4214 non-existent dimensions. | |
4215 | |
4938 | 4216 2004-08-09 John W. Eaton <jwe@octave.org> |
4217 | |
4218 * idx-vector.h (idx_vector::idx_vector_rep::tree_to_mat_idx | |
4219 (const octave_int<U>&)): New member function. | |
4220 (idx_vector::idx_vector_rep::tree_to_mat_idx (double, bool&), | |
4221 idx_vector::idx_vector_rep::tree_to_mat_idx (int)): | |
4222 Now member functions instead of static in idx-vector.cc. | |
4223 (idx_vector::idx_vector_rep::idx_vector_rep (const octave_int<U>&), | |
4224 idx_vector::idx_vector_rep::idx_vector_rep (const intNDArray<U>&)): | |
4225 New template constructors. | |
4226 | |
4932 | 4227 2004-08-05 John W. Eaton <jwe@octave.org> |
4228 | |
4933 | 4229 * EIG.cc (EIG::init): Add volatile qualifier to nvr decl. |
4230 | |
4932 | 4231 * intNDArray.cc (intNDArray<T>::operator !, intNDArray<T>::all, |
4232 intNDArray<T>::any): Sprinkle with this-> as needed. | |
4233 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): Likewise. | |
4234 | |
4929 | 4235 2004-08-03 John W. Eaton <jwe@octave.org> |
4236 | |
4237 * Array.cc (Array<T>::squeeze): Do nothing for 2-d arrays. For | |
4238 arrays with more than two dimensions and only one non-singleton | |
4239 dimension, return a column vector. | |
4240 | |
4921 | 4241 2004-07-28 John W. Eaton <jwe@octave.org> |
4242 | |
4243 * oct-cmplx.h (pow (const Complex&, const double&): | |
4244 Convert second arg to complex to avoid libstdc++ bug. | |
4245 | |
4920 | 4246 2004-07-27 John W. Eaton <jwe@octave.org> |
4247 | |
4248 * oct-inttypes.h (bitshift): New arg, MASK. | |
4249 (OCTAVE_INT_BITSHIFT_OP): Bitshift does not saturate. | |
4250 | |
4916 | 4251 2004-07-23 John W. Eaton <jwe@octave.org> |
4252 | |
4253 * Array.cc (Array<T>::reshape): Return *this if no change in size. | |
4254 | |
4915 | 4255 2004-07-23 David Bateman <dbateman@free.fr> |
4256 | |
4257 * Array.cc, Array.h (cat_ra): Delete. | |
4258 * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc | |
4259 (INSTANTIATE_ARRAY_CAT): Delete. | |
4260 | |
4261 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
4262 chNDArray.h, intNDArray.cc, intNDArray.h (cat): Delete. | |
4263 | |
4264 * Array.cc (Array<T>::insert): Copy data in NDArray version. | |
4265 | |
4266 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
4267 chNDArray.h (concat): New function used for concatenation that does | |
4268 an indexed copy of one array into another. | |
4269 | |
4270 * dim-vector.h (concat): New function to concatenate dim_vectors. | |
4271 | |
4272 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
4273 chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for | |
4274 insertion of one NDArray into another. | |
4275 | |
4276 * oct-inttype.cc (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): New | |
4277 macros to define the int/uint concatenation functions. | |
4278 | |
4279 * uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
4280 int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc | |
4281 (OCTAVE_INT_CONCAT_FN): Instantiate the concatenation function . | |
4282 | |
4283 * uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
4284 int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h | |
4285 (OCTAVE_INT_CONCAT_DECL): Declare the int/uint concatentaion | |
4286 functions. | |
4287 | |
4911 | 4288 2004-07-22 David Bateman <dbateman@free.fr> |
4289 | |
4290 * oct-sort.h: Don't include oct-obj.h. | |
4291 | |
4292 * lo-specfun.cc (is_integer_value): New function. | |
4293 (zbesj, zbesi, zbesy): Special case negative integer or half | |
4294 integer orders that cause overflow for small arguments. | |
4295 | |
4909 | 4296 2004-07-12 John W. Eaton <jwe@octave.org> |
4297 | |
4298 * oct-inttypes.h (octave_int<T>::nbits): New function. | |
4299 (bitshift (const octave_int<T>&, int)): New function. | |
4300 | |
4902 | 4301 2004-06-14 John W. Eaton <jwe@octave.org> |
4302 | |
4303 * mx-base.h: Include headers for new int types. | |
4304 | |
4305 * dNDArray.h, dNDArray.cc (NDArray::NDArray (const boolNDArray&), | |
4306 NDArray::NDArray (const charNDArray&)): Delete. | |
4307 (template <class U> explicit NDArray (const intNDArray<U>&)): New | |
4308 constructor. | |
4309 (NDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
4310 | |
4311 * chMatrix.h (CharMatrix::transpose): New forwarding functions for | |
4312 return type conversion. | |
4313 | |
4314 * ComplexNDArray.h, ComplexNDArray.cc | |
4315 (ComplexNDArray::ComplexNDArray (const ArrayN<Complex>&), | |
4316 (ComplexNDArray::ComplexNDArray (const NDArray&), | |
4317 (ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
4318 (ComplexNDArray::ComplexNDArray (const charNDArray&)): Delete. | |
4319 | |
4320 (ComplexNDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
4321 | |
4322 * MArrayN.h: | |
4323 (template <class U> explicit MArrayN<T>::MArrayN (const Array2<U>&), | |
4324 (template <class U> MArrayN<T>::MArrayN (const ArrayN<U>&), | |
4325 (template <class U> explicit MArrayN<T>::MArrayN (const MArray<U>&)): | |
4326 New constructors. | |
4327 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
4328 ArrayN<T>::squeeze): | |
4329 New forwarding functions for return type conversion. | |
4330 | |
4331 * ArrayN.h: | |
4332 (template <class U> explicit ArrayN<T>::ArrayN (const Array2<U>&), | |
4333 (template <class U> explicit ArrayN<T>::ArrayN (const ArrayN<U>&), | |
4334 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&), | |
4335 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&, | |
4336 const dim_vector&)): New constructors. | |
4337 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
4338 ArrayN<T>::transpose): | |
4339 New forwarding functions for return type conversion. | |
4340 | |
4341 * Array.h (template <class U> Array<T>::Array (const Array<U>&)): | |
4342 New constructor. | |
4343 (Array<T>::coerce, Array<T>::byte_size): New functions. | |
4344 | |
4345 * Array-i.cc, MArray-i.cc: Instantiate new integer types. | |
4346 | |
4347 * oct-inttypes.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
4348 int8NDArray.h , intNDArray.h, uint16NDArray.h, uint32NDArray.h, | |
4349 uint64NDArray.h, uint8NDArray.h, int16NDArray.cc, int32NDArray.cc, | |
4350 int64NDArray.cc, int8NDArray.cc, intNDArray.cc, uint16NDArray.cc, | |
4351 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: New files. | |
4352 * Makefile.in: Add them to the appropriate lists. | |
4353 | |
4899 | 4354 2004-06-04 John W. Eaton <jwe@octave.org> |
4355 | |
4356 * mx-inlines.cc (MX_ND_REDUCTION): New arg, RET_ELT_TYPE. Use | |
4357 "RET_ELT_TYPE ()" rather than "false" as fill value for retval | |
4358 resize op. Change all uses. | |
4359 | |
4898 | 4360 2004-06-03 David Bateman <dbateman@free.fr> |
4361 | |
4362 * Array.cc (assignN): Allow magic colon for dimensions lvalue | |
4363 greater than the existing number of dimensions in lvalue. | |
4364 | |
4887 | 4365 2004-04-30 David Bateman <dbateman@free.fr> |
4366 | |
4367 * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): | |
4368 New arg, fill_value. | |
4369 (dim_vector::resize): Allow optional fill_value argument. | |
4370 | |
4371 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
4372 Don't chop trailing dimensions of Array<idx_vector> if there is | |
4373 more than one element in idx_vector. Resize the return value to | |
4374 the size of Array<idx_vector>. | |
4375 | |
4376 * Array-util.cc (short_freeze): Better freeze of last dimension of | |
4377 idx_vector that is shorter than a dim_vector. | |
4378 | |
4882 | 4379 2004-04-23 John W. Eaton <jwe@octave.org> |
4380 | |
4381 * oct-sort.cc: Don't include oct-obj.h. | |
4382 | |
4876 | 4383 2004-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
4384 | |
4385 * Array.cc (Array<T>::index2, Array<T>::indexN): | |
4386 Don't set invalid dimensions on return value. | |
4387 | |
4871 | 4388 2004-04-21 John W. Eaton <jwe@octave.org> |
4389 | |
4390 * mx-inlines.cc (MX_ND_REDUCTION): Chop trailing singletons. | |
4391 | |
4850 | 4392 2004-04-06 David Bateman <dbateman@free.fr> |
4393 | |
4870 | 4394 * Array.cc (Array<T>::resize_no_fill (const dim_vector& dv), |
4395 Array<T>::resize_and_fill (const dim_vector& dv, const T& val)): | |
4396 Make their behavior equivalent except for filling vs. not filling. | |
4397 | |
4850 | 4398 * oct-sort.cc: New template class for arbitrary sorting. |
4399 * oct-sort.h: Declaration of sort class. | |
4400 * Makefile: Add them to the appropriate lists. | |
4401 | |
4845 | 4402 2004-04-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
4403 | |
4404 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Fix off-by-one error. | |
4405 | |
4844 | 4406 2004-04-02 David Bateman <dbateman@free.fr> |
4407 | |
4408 * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, | |
4409 besselh2, airy, biry, betainc, gammainc, do_bessel): | |
4852 | 4410 New N-d array versions. |
4844 | 4411 (SN_BESSEL, NS_BESSEL, NN_BESSEL): New macros. |
4412 * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, | |
4413 besselh2, airy, biry, betainc, gammainc): Provide decls. | |
4414 | |
4415 * dNDArray.cc (NDArray::min, NDArray::max, min, max): | |
4416 New functions. | |
4417 * dNDArray.h (NDArray::min, NDArray::max, min, max): Provide decls. | |
4418 | |
4419 * CNDArray.cc (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
4420 New functions. | |
4421 * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
4422 Provide decls. | |
4423 | |
4842 | 4424 2004-03-17 David Hoover <jazzdaq@yahoo.com> |
4425 | |
4426 * DASPK.cc (DASPK::do_integrate): Always add n*n elements to the | |
4427 work vector, not just when using a numerical Jacobian. | |
4428 | |
4834 | 4429 2004-03-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4430 | |
4835 | 4431 * so-array.cc (SND_CMP_OP, NDS_CMP_OP, NDND_CMP_OP): |
4432 Omit empty result args. | |
4433 | |
4834 | 4434 * Array.cc (Array<T>::Array (const Array<T>&, const dim_vector&)): |
4435 Move here from Array.h, check that size of array arg is not | |
4436 smaller than the size defined by the new dimensions. | |
4437 | |
4832 | 4438 2004-03-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4439 | |
4440 * Array.cc (Array<T>::index2): Allow result to be N-d if indexing | |
4441 a scalar or vector with an N-d array. | |
4442 | |
4826 | 4443 2004-03-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
4444 | |
4828 | 4445 * Array.cc (Array<T>::index2): If scalar or vector is indexed by |
4446 matrix, return object that is the same size as the index. | |
4447 | |
4826 | 4448 * mx-op-defs.h (NDND_CMP_OP, MM_CMP_OP): Require dimensions to agree. |
4449 Eliminate MT_RESULT args. Return value is always size of args. | |
4450 (MS_CMP_OP, SM_CMP_OP, NDS_CMP_OP, SND_CMP_OP): | |
4451 Eliminate EMPTY_RESULT arg. | |
4452 Return value is always size of matrix or N-d array arg. | |
4453 (TBM, FBM, NBM): Delete unused macros. | |
4454 | |
4821 | 4455 2004-03-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
4456 | |
4457 * Array.cc (Array<T>::maybe_delete_elements): Return immediately | |
4458 if all LHS dimensions are zero. For one index case, freeze and | |
4459 sort idx_vec before checking length, and do nothing if | |
4460 num_to_delete is zero. | |
4822 | 4461 (Array<T>::maybe_delete_elements_2): Omit Fortran-indexing warning. |
4821 | 4462 |
4816 | 4463 2004-03-04 David Bateman <dbateman@free.fr> |
4464 | |
4465 * dNDArray.cc (NDArray::ifourier): Arg is int, not const int. | |
4466 * CNDArray.cc (ComplexNDArray::ifourier): Likewise. | |
4467 | |
4811 | 4468 2004-03-03 Hans Ekkehard Plesser <hans.ekkehard.plesser@nlh.no> |
4469 | |
4470 * base-lu.cc (base_lu<>::L): Check bounds before setting diagonal | |
4471 element. | |
4472 | |
4473 2004-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4474 | |
4475 * Range.h (Range::Range): Add cache to member initialization list. | |
4476 (Range::clear_cache): New private function. | |
4477 | |
4478 * Range.h (Range::set_base, Range::set_limit, Range::set_inc): | |
4479 Use clear cache. Don't do anything if range does not change. | |
4480 * Range.cc (Range::sort): Likewise. | |
4481 | |
4810 | 4482 2004-03-02 Paul Kienzle <pkienzle@users.sf.net> |
4483 | |
4484 * Range.cc (Range::matrix_value): Cache result. | |
4485 (Range::sort): Clear cache. | |
4486 * Range.h (Range::cache): New data member. | |
4487 (Range::set_base, Range::set_limit, Range::set_inc): Clear cache. | |
4488 (Range::print_range): Delete. | |
4808 | 4489 |
4490 2004-03-02 David Bateman <dbateman@free.fr> | |
4491 | |
4492 * oct-fftw.cc: Only two versions of plan, and avoid endless | |
4493 changes between them. Faster for small fft's. | |
4494 (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): | |
4495 New member variables. | |
4496 (octave_fftw_planner::ialign, octave_fftw_planner::oalign, | |
4497 octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. | |
4498 Change all uses. | |
4499 (CHECK_SIMD_ALIGNMENT): New macro. | |
4500 (octave_fftw_planner::create_plan): Use it. | |
4501 | |
4806 | 4502 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> |
4503 | |
4504 * Array.cc (Array<T>::insertN): Eliminate N-d indexing. | |
4505 | |
4506 * mx-inlines.cc (MX_ND_CAT): Delete macro. | |
4507 | |
4508 * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. | |
4509 * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. | |
4510 * chNDArray.cc (charNDArray<T>::cat): Ditto. | |
4511 * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. | |
4512 | |
4513 * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. | |
4514 * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. | |
4515 | |
4800 | 4516 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4517 | |
4802 | 4518 * oct-rl-edit.c (octave_rl_set_startup_hook, |
4519 octave_rl_get_startup_hook, octave_rl_set_event_hook, | |
4520 octave_rl_get_event_hook): Omit casts. | |
4521 * oct-rl-edit.h (rl_startup_hook_fcn_ptr, rl_event_hook_fcn_ptr): | |
4522 Return value for function pointer typedef is now int. | |
4523 * cmd-edit.h (command_editor::startup_hook_fcn, | |
4524 command_editor::event_hook_fcn): Likewise. | |
4525 * cmd-hist.cc, cmd-hist.h (command_history::goto_mark, | |
4526 command_history::do_goto_mark, gnu_history::do_goto_mark): | |
4527 Return type is now int. Return 0. | |
4528 | |
4800 | 4529 * EIG.cc (EIG::init, EIG::symmetric_init): |
4530 Query Lapack for workspace size. | |
4531 | |
4796 | 4532 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4533 | |
4534 * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): | |
4535 Fix thinko in extending dimensions. | |
4536 | |
4791 | 4537 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
4538 | |
4539 * Range.cc (Range::matrix_value, Range::min, Range::max): | |
4540 Don't compute values beyond the limits of the range. | |
4541 (operator << (std::ostream&, const Range&)): Likewise. | |
4542 | |
4786 | 4543 2004-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4544 | |
4788 | 4545 * oct-fftw.cc (octave_fftw_planner::create_plan): |
4546 Cast IN and OUT args to ptrdiff_t instead of long before masking. | |
4547 From Paul Kienzle <pkienzle@users.sf.net>. | |
4548 | |
4786 | 4549 * Array.cc (Array<T>::insertN (const Array<T>&, int, int)): |
4550 Rename from Array<T>::insert. | |
4551 (Array<T>::insert2 (const Array<T>&, int, int)): | |
4552 Reinstate old Array<T>::insert function under this name. | |
4553 (Array<T>::insert (const Array<T>&, int, int)): | |
4554 New function. Dispatch to insert2 or insertN as appropriate. | |
4555 | |
4785 | 4556 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
4557 | |
4558 * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): | |
4559 Sprinkle with OCTAVE_QUIT. | |
4560 | |
5095 | 4561 2004-02-16 David Bateman <dbateman@free.fr> |
4773 | 4562 |
4563 * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): | |
4564 Add support for FFTW 3.x. Include the ability to | |
4565 use the real to complex transform for fft's of real matrices | |
4566 (octave_fftw_planner::create_plan2d): Delete. | |
4567 (octave_fftw::fft2d): Delete. | |
4568 (convert_packcomplex_1d, convert_packcomplex_Nd): | |
4569 New static functions. | |
4570 * oct-fftw.h: Update decls. | |
4571 | |
4572 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
4573 Matrix::fourier2d, Matrix::ifourier2d): FFT's use real to complex | |
4574 transforms. 1D FFT of a matrix done as single call rather than | |
4575 loop. Update for FFTW 3.x | |
4576 * CMatrix.cc (ComplexMatrix::fourier, ComplexMatrix::ifourier, | |
4577 ComplexMatrix::fourier2d, ComplexMatrix::ifourier2d): 1D fft of a | |
4578 matrix done as single call rather than loop. Update for FFTW 3.x. | |
4579 | |
4580 * dNDArray.cc (NDArray::fourier, NDArray::ifourier, | |
4581 NDArray::fourierNd, NDArray::ifouriourNd): New fourier transform | |
4582 functions for Nd arrays. | |
4583 * dNArray.h Provide decls. | |
4584 * CNDArray.cc (ComplexNDArray::fourier, ComplexNDArray::ifourier, | |
4585 ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New | |
4586 fourier transform functions for complex Nd arrays. | |
4587 * CNArray.h: Provide decls. | |
4588 | |
4765 | 4589 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> |
4590 | |
4591 * Array.cc (Array<T>::insert (const Array<T>&, int, int)): | |
4592 Make it work for N-d arrays. | |
4593 | |
4594 * ArrayN.h (ArrayN<T>::insert (const ArrayN<T>& a, int, int)): | |
4595 New function. | |
4596 | |
4597 * CNDArray.cc (ComplexNDArray::insert (const NDArray&, int, int), | |
4598 ComplexNDArray::insert (const ComplexNDArray&, int, int)): | |
4599 New functions. | |
4600 * CNDArray.h: Provide decls. | |
4601 | |
4759 | 4602 2004-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4603 | |
4760 | 4604 * Makefile.in (LINK_DEPS): Always define. |
4605 | |
4759 | 4606 * Array.cc (Array<T>::squeeze): Always return an array with at |
4607 least two dimensions. | |
4608 | |
4758 | 4609 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
4610 | |
4611 * mx-inlines.cc (MX_ND_CAT): New macro. | |
4612 * dNDArray.cc (NDArray::cat): New function. | |
4613 * dNDArray.h: Provide decls. | |
4614 * CNDArray.cc (complexNDArray::cat): New function. | |
4615 * CNDArray.h: Provide decls. | |
4616 * chNDArray.cc (charNDArray::cat): New function. | |
4617 * chNDArray.h: Provide decls. | |
4618 | |
4756 | 4619 2004-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
4620 | |
4621 * Array.cc (maybe_delete_elements_2): Allow X(n) = [] for 2-d X. | |
4622 (Array<T>assign2): Also call maybe_delete_elements for single | |
4623 index when rows and columns or LHS are both greater than 1. | |
4624 | |
4755 | 4625 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
4626 | |
4627 * Array.cc (Array<T>::maybe_delete_elements): | |
4628 Check for index out of bounds. Handle one index. | |
4629 | |
4630 * Array.cc (Array<T>::indexN): Use dim_vector (0, 0) instead of | |
4631 dim_vector (0) to create empty return vector. | |
4632 | |
4749 | 4633 2004-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
4634 | |
4635 * Array.cc (Array<T>::assignN): Don't crash if trying to resize a | |
4636 non-empty LHS when the number of lhs dimensions is less than the | |
4637 number of indices. Detect error if attempting to resize non-empty | |
4638 LHS with colon indices. | |
4639 | |
4745 | 4640 2004-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
4641 | |
4747 | 4642 * Array.cc (Array<T>::resize_and_fill): Don't bother to assign any |
4643 values unless the length of the new array is greater than 0. | |
4644 (Array<T>::resize_no_fill): Likewise. | |
4645 | |
4646 * Array-util.cc (index_in_bounds): Also return false if ra_idx(i) | |
4647 is equal to dimensions(i). | |
4648 | |
4649 * Array-util.h, Array-util.cc (equal_arrays, any_zero_len, | |
4650 get_zero_len_size, number_of_elements): | |
4651 Delete unused functions. | |
4652 | |
4653 * Array-util.cc (get_ra_idx): Use dim_vector::numel instead of | |
4654 number_of_elements function. | |
4655 * Array.cc (Array<T>::indexN): Likewise. | |
4656 | |
4657 * Array.cc (Array<T>::indexN): Use dim_vector::operator == instead | |
4658 of equal_arrays function. | |
4659 (Array<T>::index, Array<T>::indexN, Array<T>::assignN) Use | |
4660 dim_vector::any_zero instead of any_zero_len function. | |
4661 | |
4662 * Array.cc (Array<T>::assignN): Eliminate special case for empty index. | |
4663 Don't skip reshaping and resizing if RHS is empty. | |
4664 | |
4746 | 4665 * Array.cc (Array<T>::assignN): Simplify loop for array assignment. |
4666 Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. | |
4747 | 4667 Delete unused variables is_colon and is_colon_equiv. |
4746 | 4668 Correctly resize for expressions like x(:,:,2) = ones(3,3) when |
4669 LHS is not yet defined. | |
4745 | 4670 Error for resizing if number of indices is less than number of LHS |
4671 dimensions. | |
4672 | |
4746 | 4673 * Array.cc (Array<T>::maybe_delete_elements): Maybe warn about |
4674 Fortran-style indexing. | |
4675 | |
4743 | 4676 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
4677 | |
4678 * Array.cc (Array<T>::assignN): Simplify. | |
4679 Allow assignments to succeed if number if indices is less than the | |
4680 number of RHS dimensions. | |
4681 | |
4738 | 4682 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
4683 | |
4741 | 4684 * Array.cc (Array<T>::maybe_delete_elements): Reshape LHS |
4685 when number of indices is less than number of dimensions. | |
4686 | |
4687 * Array.cc (Array<T>::assignN, Array<T>::maybe_delete_elements): | |
4688 Remove unsued variable lhs_inc. | |
4689 | |
4740 | 4690 * Array.cc (Array<T>::maybe_delete_elements): Declare idx_is_colon |
4691 and idx_is_colon_equiv Array<int> instead of dim_vector. | |
4692 | |
4693 * Array.cc (Array<T>::assignN): Compute new dims in a cleaner way. | |
4694 | |
4738 | 4695 * Array.cc (Array<T>::index): Check for frozen_lengths.length () |
4696 == n_dims before checking to see if all indices are colon_equiv. | |
4697 | |
4736 | 4698 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
4699 | |
4700 * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for | |
4701 deleting elements. | |
4737 | 4702 (Array<T>::index): Remove trailing singletons in ra_idx, but leave |
4703 at least ndims elements. | |
4736 | 4704 |
4735 | 4705 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
4706 | |
4707 * Array.cc (Array<T>::assignN): Accept assignment of a vector | |
4708 oriented differently from the index. | |
4709 | |
4710 * dim-vector.h (dim_vector::squeeze): Return value always has at | |
4711 least two dimensions. | |
4712 | |
4733 | 4713 2004-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
4714 | |
4735 | 4715 * dim-vector.h (dim_vector::squeeze): New function. |
4716 (Array<T>::assignN): Use it instead of chop_trailing_singltons for | |
4717 deciding whether the assignment conforms. | |
4718 | |
4733 | 4719 * Array.cc (Array<T>::assignN): Simplify dimension check by |
4720 comparing rhs_dims and frozen_len sans trailing singletons. | |
4721 | |
4732 | 4722 2004-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
4723 | |
4724 * idx-vector.cc (tree_to_mat_idx): New arg, conversion_error. | |
4725 Call error handler and return conversion_error == true if arg is | |
4726 not integer. | |
4727 (IDX_VEC_REP::idx_vector_rep): Exit early if conversion_error. | |
4728 | |
4730 | 4729 2004-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
4730 | |
4731 * boolNDArray.h (boolNDArray::boolNDArray): Declare dim_vector | |
4732 reference arg const. | |
4733 | |
4734 2004-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4735 | |
4736 * Array-flags.cc: Include Array-flags.h, not Array.h. Doh. | |
4737 | |
4729 | 4738 2004-01-30 Jakub Bogusz <qboosh@pld-linux.org> |
4739 | |
4740 * Array-flags.h (liboctave_wfi_flag, liboctave_wrore_flag): | |
4741 Now bool, to match definition in Array-flags.cc. | |
4742 | |
4725 | 4743 2004-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4744 | |
4726 | 4745 * file-ops.cc: Include <vector> instead of <memory> for new |
4746 definition of OCTAVE_LOCAL_BUFFER. | |
4747 | |
4725 | 4748 * EIG.cc, EIG.h (EIG::init, EIG::symmetric_init, EIG::hermitian_init): |
4749 New arg, calc_eigenvectors. | |
4750 * EIG.h (EIG:EIG): New optional arg, calc_eigenvectors. | |
4751 Based on patch from David Bateman <dbateman@free.fr>. | |
4752 | |
4716 | 4753 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
4754 | |
4755 * Array.cc (Array<T>::assign2, Array<T>::assignN): | |
4756 For X(I) = RHS, don't restrict I to fewer elements than X. | |
4757 | |
4758 * Array.cc (Array<T>::assign2): Simplify indexing for X(I) = RHS case. | |
4759 | |
4711 | 4760 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
4761 | |
4714 | 4762 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): |
4763 Simplify calculation of number of elements in retval. | |
4764 | |
4711 | 4765 * Array.cc (Array<T>::assignN): Eliminate unnecessray code for |
4766 filling when RHS is scalar and dimension lengths agree. | |
4767 | |
4710 | 4768 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
4769 | |
4713 | 4770 * Makefile.in (distclean): Remove mx-ops.h, $(MX_OP_INC), |
4771 $(VX_OP_INC), $(MX_OP_SRC), $(VX_OP_SRC), and $(OPTS_INC). | |
4710 | 4772 |
4707 | 4773 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
4774 | |
4709 | 4775 * Array.cc (Array<T>::resize_and_fill): Correctly copy old elements. |
4776 (Array<T>::assign2): Check for RHS dimensions larger than 2. | |
4707 | 4777 |
4702 | 4778 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> |
4779 | |
4703 | 4780 * Array.h (Array<T>::chop_trailing_singletons): New function. |
4781 * Array.cc (Array<T>::assignN): Use it on LHS. | |
4782 | |
4783 * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. | |
4702 | 4784 Retrieve scalar element by passin 0 instead of an index array. |
4703 | 4785 Check for singleton dimensions where RHS is matrix or higher dimension. |
4786 Make sure index is in bounds. | |
4702 | 4787 |
4698 | 4788 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
4789 | |
4790 * lo-ieee.cc (octave_ieee_init): Ensure that octave_Inf, | |
4791 octave_NaN, and octav_NA values are always initialized. Check | |
4792 floating point format, not HAVE_ISINF, HAVE_FINITE, or HAVE_ISNAN | |
4793 to decide whether to do IEEE initialization. | |
4794 | |
4687 | 4795 2004-01-06 David Bateman <dbateman@free.fr> |
4796 | |
4797 * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, | |
4798 ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, | |
4799 ComplexNDArray::too_large_for_float): New functions | |
4800 | |
4801 * CNDArray.cc (operator <<, operator >>): New IO operators. | |
4802 * CNDArray.h: Provide decls. | |
4803 * dNDArray.cc (operator <<, operator >>): New IO operators. | |
4804 * dNDArray.h: Provide decls. | |
4805 | |
4673 | 4806 2003-12-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4807 | |
4674 | 4808 * mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since |
4809 they are already defined in boolNDArray.cc. | |
4810 | |
4673 | 4811 * Array-util.cc (get_zero_len_size): Delete. |
4812 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
4813 Handle zero-length result dimensions the same as empty original | |
4814 indices. | |
4815 | |
4816 2003-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4817 | |
4818 * dim-vector.h (dim_vector::chop_trailing_singleton_dims, | |
4819 dim_vector::dim_vector_rep::chop_trailing_singleton_dims): | |
4820 New functions. | |
4821 * Array.cc (ArrayN<T>::indexN): Use it. | |
4822 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): Likewise. | |
4823 | |
4669 | 4824 2003-11-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
4825 | |
4826 * boolNDArray.cc: Define BOOL ops. Define mixed CMP ops. | |
4827 * boolNDArray.h: Declare BOOL ops. Declare mixed CMP ops. | |
4828 | |
4829 2003-11-25 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4830 | |
4831 * mk-ops.awk: Also emit #include "Array-util.h". | |
4832 | |
4833 * mx-ops: Add bool, boolMatrix, and boolNDarray types. | |
4834 Add bnda x bnda, b x bnda, and bnda x b ops. | |
4835 | |
4836 * MArray-misc.cc: Delete. | |
4837 * Makefile.in (MATRIX_SRC): Remove it from the list. | |
4838 | |
4839 * Array-util.h, Array-util.cc (gripe_nonconformant): Move here from | |
4840 MArray.h, MArray2.h, MArrayN.h, and MArray-misc.cc. | |
4841 | |
4655 | 4842 2003-11-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4843 | |
4663 | 4844 * dbleQR.cc (QR::init): Use separate pwork pointers. |
4845 * CmplxQR.cc (ComplexQR::init): Likewise. | |
4846 | |
4847 * oct-group.cc (octave_group::getgrnam): Pass correct args to | |
4848 two-arg getgrnam version. | |
4849 | |
4657 | 4850 * Array.cc (assignN): Allow single indexing to work. |
4661 | 4851 (Array<T>::range_error (const char*, const Array<int>&)): |
4852 Report index values. | |
4853 | |
4854 * Array.cc (Array<T>::index): Delete unused arg names. | |
4662 | 4855 * ODESSA.cc (odessa_j): Likewise. |
4856 * DASRT.cc (ddasrt_f, ddasrt_g): Likewise. | |
4857 * DASPK.cc (ddaspk_psol): Likewise. | |
4858 * lo-mappers.cc (imag): Likewise. | |
4663 | 4859 * Array-util.cc (get_zero_len_size): Likewise. |
4860 * kpse.cc (path_search, path_find_first_of): Likewise. | |
4861 * cmd-edit.cc (do_generate_filename_completions): Likewise. | |
4656 | 4862 |
4655 | 4863 * dim-vector.h (dim_vector::all_ones): New function. |
4864 | |
4646 | 4865 2003-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4866 | |
4653 | 4867 * idx-vector.h (idx_vector::orig_empty): Check orig_dims for |
4868 zeros, not orig_rows or orig_columns. | |
4869 (idx_vector::idx_vector_rep::orig_rows): Define using orig_dims. | |
4870 (idx_vector::idx_vector_rep::orig_columns): Likewise. | |
4871 | |
4872 * idx-vector.cc (idx_vector::idx_vector_rep::orig_nr, | |
4873 (idx_vector::idx_vector_rep::orig_nc): Delete. | |
4874 | |
4875 * idx-vector.cc (idx_vector::idx_vector_rep): | |
4876 Use initialization lists for constructors. | |
4877 | |
4651 | 4878 * Array.cc (Array<T>::indexN): Correctly handle single colon index. |
4879 Omit special case for ra_idx.capacity () == 1. | |
4880 Always allow single index for matrix args with optional warning. | |
4881 | |
4650 | 4882 * idx-vector.h, idx-vector.cc: Convert boolMatrix functions to use |
4883 boolNDArray. Likewise, convert Matrix functions to use NDArray. | |
4884 | |
4648 | 4885 * Array-so.cc: New file. Move instantiations here from so-array.h. |
4886 * Makefile.in (TI_SRC): Add it to the list. | |
4887 | |
4646 | 4888 * MArray-defs.h (DO_VS_OP2, DO_VV_OP2): Accept args for element |
4889 type and the names of the left and right operands. Change all uses. | |
4890 | |
4891 * so-array.cc, so-array.h: New files. Move streamoff_array here | |
4892 from src/ov-streamoff.h and src/ov-streamoff.cc. | |
4893 | |
4645 | 4894 2003-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
4895 | |
4896 * MArrayN.cc (operator -=, operator +=): Check dimensions, not | |
4897 just length. | |
4898 | |
4899 * Array2.h, Array3.h, DiagArray2.h, DiagArray2.cc, MDiagArray2.h, | |
4900 ArrayN.h: Add this-> or Base:: qualifiers for references to | |
4901 non-dependent member functions and data as needed. | |
4902 | |
4903 * DiagArray2.h, DiagArray2.cc: Delete unused code. | |
4904 | |
4905 * Array2.h (Array2<T>::operator =): Don't copy dimensions here. | |
4906 * Array3.h (Array3<T>::operator =): Likewise. | |
4907 * DiagArray2.h (DiagArray2<T>::operator =): Likewise. | |
4908 Include Array.h, not Array2.h. | |
4909 | |
4634 | 4910 2003-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
4911 | |
4636 | 4912 * str-vec.cc (list_in_columns): Fix previous change. |
4913 | |
4635 | 4914 * dim-vector.h (dim_vector::num_ones): New function. |
4915 * Array.cc (maybe_delete_elements): Use it instead of | |
4916 num_ones (const Array<int>&). | |
4917 | |
4918 * Array.cc (assignN): Omit dubious check of singleton dimensions. | |
4919 | |
4634 | 4920 * dNDArray.cc (NDArray::all_elements_are_int_or_inf_or_nan, |
4921 NDArray::any_element_is_inf_or_nan, NDArray::too_large_for_float): | |
4922 New functions. | |
4923 * dNDArray.h: Provide decls. | |
4924 | |
4925 * dMatrix.h (Matrix::any_element_is_negative, | |
4926 Matrix::any_element_is_inf_or_nan, Matrix::too_large_for_float, | |
4927 Matrix::all_elements_are_int_or_inf_or_nan, Matrix::all_integers): | |
4928 Simplify. | |
4929 | |
4930 * dNDArray.cc (NDArray::abs): Make it work for N-d arrays. | |
4931 * CNDArray.cc (ComplexNDArray::abs): Likewise. | |
4932 | |
4933 * dNDArray.cc (real, imag): New functions. | |
4934 * dNDArray.h: Provide decls. | |
4935 | |
4630 | 4936 2003-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4937 | |
4938 * Makefile.in (TEMPLATE_SRC): Move MArrayN.cc here from MATRIX_SRC. | |
4939 | |
4625 | 4940 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
4941 | |
4942 * Array.h (Array<T>::resize (int, const T&)): Reinstate. | |
4943 * MArray.h (resize): Delete. | |
4944 * MArray2.h (resize): Delete. | |
4945 * DASRT.cc (DASRT::integrate): Use resize, not resize_and_fill. | |
4946 * ODESSA (ODESSA::integrate): Likewise. | |
4947 | |
4616 | 4948 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4949 | |
4950 * Makefile.in (dist): Depend on stamp-prereq. | |
4951 | |
4605 | 4952 2003-11-12 John Eaton <jwe@bevo.che.wisc.edu> |
4953 | |
4954 * mach-info.c (oct_mach_info::init_float_format) [CRAY]: | |
4955 Kluge to make it work. | |
4604 | 4956 |
4957 * lo-ieee.cc (octave_ieee_init): Set octave_Inf, octave_NaN, and | |
4958 octave_NA to DBL_MAX if native float format is vaxd, vaxg, or cray. | |
4959 | |
4960 * cmd-edit.cc (gnu_readline::do_generate_filename_completions, | |
4961 default_command_editor::do_generate_filename_completions, | |
4962 command_editor::generate_filename_completions): New functions. | |
4963 * cmd-edit.h: Provide decls. | |
4964 * oct-rl-edit.c (octave_rl_filename_completion_function): New | |
4965 function. | |
4966 * oct-rl-edit.h: Provide decl. | |
4967 | |
4593 | 4968 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4969 | |
4594 | 4970 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY_AND_ASSIGN, |
4971 INSTANTIATE_ARRAY): New macros. | |
4972 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
4973 Array-idx-vec.cc, Array-s.cc, Array-str.cc, ODESSA.cc: Use them. | |
4974 | |
4593 | 4975 * Array.h (Array<T>::ipermute): New function. |
4976 | |
4977 2003-11-11 Petter Risholm <risholm@stud.ntnu.no> | |
4978 | |
4979 * Array.cc (Array<T>::permute): New function. | |
4980 * Array.h: Provide decl. | |
4981 | |
4982 * Array-util.cc (calc_permutated_idx): New function. | |
4983 * Array-util.h: Provide decl. | |
4984 | |
4587 | 4985 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4986 | |
4592 | 4987 * Array.cc (Array<T>::index2): Return value has orientation of |
4988 indexed value if indexing a vector with a bool matrix. | |
4989 | |
4589 | 4990 * ArrayN.h (ArrayN<T>::get_size): Delete. |
4991 | |
4588 | 4992 * Array.cc, ArrayN.cc, dNDArray.cc, CNDArray.cc, boolNDArray.cc, |
4993 chNDArray.cc: Include Array-util.h instead of ArrayN-inline.h. | |
4994 | |
4995 * ArrayN-inline.h: Delete. | |
4996 * Array-util.h, Array-util.cc: New files, from ArrayN-inline.h. | |
4997 * Makefile.in: Fix the appropriate lists. | |
4998 | |
4587 | 4999 * Array.cc, Array.h, ArrayN.h, CMatrix.cc, CNDArray.h, |
5000 CRowVector.cc, CmplxQR.cc, CollocWt.h, DASPK.h, DASRT.h, DASSL.h, | |
5001 FEGrid.cc, LP.h, LSODE.h, MArrayN.h, ODE.h, ODES.h, ODESSA.cc, | |
5002 boolNDArray.h, chNDArray.h, dMatrix.cc, dNDArray.h, dRowVector.cc, | |
5003 dbleQR.cc, kpse.cc, oct-rl-hist.c, str-vec.cc, str-vec.h: | |
5004 Avoid -Wshadow warnings. | |
5005 | |
5006 2003-11-08 John Eaton <jwe@bevo.che.wisc.edu> | |
4585 | 5007 |
5008 * Array.h (Array<T>::nil_rep): Qualify return type with typename. | |
5009 | |
5010 * mk-ops.awk: Delete elements of bool_headers array individually. | |
5011 | |
5012 2003-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5013 | |
5014 * Array.cc (maybe_delete_elements): Rename arg idx to ra_idx. | |
5015 | |
4584 | 5016 2003-10-31 Petter Risholm <risholm@stud.ntnu.no> |
5017 | |
5018 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): New macro. | |
5019 | |
5020 * CNDArray.cc, CNDArray.h (ComplexNDArray::cumsum, | |
5021 ComplexNDArray::cumprod): Return ComplexNDArray. Handle N-d arrays. | |
5022 * dNDArray.cc, dNDArray.h (NDArray::cumsum, NDArray::cumprod): | |
5023 Return NDArray. Handle N-d arrays. | |
5024 | |
4575 | 5025 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
5026 | |
4583 | 5027 * LSODE.cc (LSODE::do_integrate): Avoid name conflict on systems |
5028 that upcase Fortran names by calling dlsode instead of lsode. | |
5029 | |
5030 * ODESSA.cc (ODESSA::do_integrate): Avoid name conflict on systems | |
5031 that upcase Fortran names by calling dodessa instead of odessa. | |
5032 | |
4577 | 5033 * file-ops.cc (file_ops::symlink): Cope with systems that expect |
5034 non-const args for symlink system call. | |
5035 (file_ops::readlink): Likewise, for readlink. | |
5036 | |
4575 | 5037 * DASRT.cc (DASRT::integrate): Fix typo in Fortran function name. |
5038 | |
4574 | 5039 2003-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5040 | |
5041 * mach-info.h (oct_mach_info): Prefix enum elements with flt_fmt_. | |
5042 Change all uses. | |
5043 | |
4569 | 5044 2003-10-29 Petter Risholm <risholm@stud.ntnu.no> |
5045 | |
5046 * dNDArray.cc (NDArray::cumprod, NDArray::cumsum, NDArray::prod, | |
5047 NDArray::sum, NDArray::sumsq, NDArray::abs): New functions. | |
5048 * dNDArray.h: Provide decls. | |
5049 * CNDArray.cc (ComplexNDArray::cumprod, ComplexNDArray::cumsum, | |
5050 ComplexNDArray::prod, ComplexNDArray::sum, ComplexNDArray::sumsq, | |
5051 ComplexNDArray::abs): New functions. | |
5052 * CNDArray.h: Provide decls. | |
5053 | |
5054 * mx-inlines.cc (MX_ND_REDUCTION): Rename from MX_ND_ANY_ALL. | |
5055 Generalize to handle other reduction operations. | |
5056 (MX_ND_REAL_OP_REDUCTION, MX_ND_COMPLEX_OP_REDUCTION, | |
5057 MX_ND_ALL_ANY_REDUCTION): New macros. | |
5058 | |
4565 | 5059 2003-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5060 | |
4567 | 5061 * Array.cc (Array<T>::reshape): New function. |
5062 * Array.h: Provide decl. | |
5063 | |
5064 * dim-vector.h (dim_vector::numel): New function. | |
5065 | |
4565 | 5066 * dim-vector.h (dim_vector_rep::dim_vector_rep (int, const |
5067 dim_vector&)): Correctly handle case of n < dv->ndims. | |
5068 | |
4559 | 5069 2003-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5070 | |
5071 * dim-vector.h (dim_vector::any_zero): New function. | |
5072 (dim_vector::str): New default arg, sep. | |
5073 | |
5074 * Array.h (Array<T>::numel): New function. | |
5075 | |
4556 | 5076 2003-10-27 Petter Risholm <risholm@stud.ntnu.no> |
5077 | |
5078 * mx-inlines.cc (MX_ND_ALL_EXPR, MX_ND_ANY_EXPR, | |
5079 MX_ND_ALL_EVAL, MX_ND_ANY_EVAL, MX_ND_ALL_ANY): New macros. | |
5080 * dNDArray.h (NDArray::all, NDArray::any): Return type now boolNDArray. | |
5081 * CNDArray.h (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
5082 * boolNDArray.h (boolNDArray::all, boolNDArray::any): Likewise. | |
5083 * chNDArray.h (charNDArray::all, charNDArray::any): Likewise. | |
5084 * dNDArray.cc (NDArray::all, NDArray::any): Make them work. | |
5085 * CNDArray.cc (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
5086 * boolNDArray.cc (boolNDArray::all, boolNDArray::any): Likewise. | |
5087 * chNDArray.cc (charNDArray::all, charNDArray::any): Likewise. | |
5088 | |
4552 | 5089 2003-10-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
5090 | |
4553 | 5091 * Array.cc (Array<T>::resize_and_fill): Allow number of dimensions |
5092 to change. From Petter Risholm <risholm@stud.ntnu.no>. | |
5093 | |
4552 | 5094 * oct-rand.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, |
5095 CmplxAEPBAL.cc CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
5096 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, | |
5097 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, ODESSA.cc, | |
5098 Quad.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
5099 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
5100 dbleSCHUR.cc, dbleSVD.cc, lo-specfun.cc: | |
5101 Use new F77 arg macros in declarations of external Fortran | |
5102 subroutines and for calling them. | |
5103 | |
4548 | 5104 2003-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5105 | |
5106 * Array.cc (Array<T>::resize_no_fill (const dim_vector&)): | |
5107 Allow number of dimensions to change. | |
5108 (Array<T>::resize_no_fill (int, int)): Require ndims to be 0 or 2. | |
5109 (Array<T>::resize_and_fill (int, int, const T&)): Likewise. | |
5110 (Array<T>::resize_no_fill (int, int, int)): Require ndims to be 0 or 3. | |
5111 (Array<T>::resize_and_fill (int, int, int, const T&)): Likewise. | |
5112 (Array<T>::transpose): Require ndims to be 2. | |
5113 (Array<T>::index2): Likewise. | |
5114 (Array<T>::index (idx_vector&, idx_vector&, int, const T&)): Likewise. | |
5115 (Array<T>::maybe_delete_elements_2): Likewise. | |
5116 (Array<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Likewise. | |
5117 (Array<T>::index1): Use resize_and_fill. | |
5118 (MAYBE_RESIZE_ND_DIMS): Likewise. | |
5119 | |
5120 * ODESSA.cc (ODESSA::integrate): Use resize_and_fill for x_s_out. | |
5121 | |
5122 * MArray2.h (MArray2<T>::resize (int, int)): New function. | |
5123 (MArray2<T>::resize (int, int, const T&)): New function. | |
5124 | |
5125 * MArray.h (MArray<T>::resize (int)): New function. | |
5126 (MArray<T>::resize (int, const T&)): New function. | |
5127 | |
5128 * DASRT.cc (DASRT::integrate): Use resize_and_fill for jroot. | |
5129 | |
5130 * DASPK-opts.in: Use single-arg resize for initial condition | |
5131 heuristics. | |
5132 | |
5133 * dim-vector.h (class dim_vector): Now reference counted. | |
5134 (dim_vector_rep::elem): Use assert to check that index is in bounds. | |
5135 | |
4544 | 5136 2003-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5137 | |
4545 | 5138 * Array.cc (Array<T>::squeeze): Delete redundant retval decl. |
5139 | |
4544 | 5140 * mx-cdm-cm.cc, mx-cdm-cm.h, mx-cdm-cs.cc, mx-cdm-cs.h, |
5141 mx-cdm-dm.cc, mx-cdm-dm.h, mx-cdm-m.cc, mx-cdm-m.h, mx-cdm-s.cc, | |
5142 mx-cdm-s.h, mx-cm-cdm.cc, mx-cm-cdm.h, mx-cm-dm.cc, mx-cm-dm.h, | |
5143 mx-cm-m.cc, mx-cm-m.h, mx-cm-s.cc, mx-cm-s.h, mx-cs-cdm.cc, | |
5144 mx-cs-cdm.h, mx-cs-dm.cc, mx-cs-dm.h, mx-cs-m.cc, mx-cs-m.h, | |
5145 mx-dm-cdm.cc, mx-dm-cdm.h, mx-dm-cm.cc, mx-dm-cm.h, mx-dm-cs.cc, | |
5146 mx-dm-cs.h, mx-dm-m.cc, mx-dm-m.h, mx-dm-s.cc, mx-dm-s.h, | |
5147 mx-m-cdm.cc, mx-m-cdm.h, mx-m-cm.cc, mx-m-cm.h, mx-m-cs.cc, | |
5148 mx-m-cs.h, mx-m-dm.cc, mx-m-dm.h, mx-ops.h, mx-s-cdm.cc, | |
5149 mx-s-cdm.h, mx-s-cm.cc, mx-s-cm.h, mx-s-dm.cc, mx-s-dm.h, | |
5150 vx-ccv-cv.cc, vx-ccv-cv.h, vx-ccv-s.cc, vx-ccv-s.h, vx-crv-rv.cc, | |
5151 vx-crv-rv.h, vx-crv-s.cc, vx-crv-s.h, vx-cs-cv.cc, vx-cs-cv.h, | |
5152 vx-cs-rv.cc, vx-cs-rv.h, vx-cv-ccv.cc, vx-cv-ccv.h, vx-cv-cs.cc, | |
5153 vx-cv-cs.h, vx-rv-crv.cc, vx-rv-crv.h, vx-rv-cs.cc, vx-rv-cs.h, | |
5154 vx-s-ccv.cc, vx-s-ccv.h, vx-s-crv.cc, vx-s-crv.h: Delete. These | |
5155 files are now automatically generated. | |
5156 | |
5157 * Makefile.in ($(VX_OP_INC), $(VX_OP_SRC), $(MX_OP_INC), | |
5158 $(MX_OP_SRC)): Generate lists with new mk-ops.awk script. | |
5159 Add rules to generate these files and mx-ops.h. | |
5160 (stamp-prereq): Depend on these files. | |
5161 | |
5162 * mx-ops, vx-ops, mk-ops.awk: New files. | |
5163 * Makefile.in (DISTFILES): Add them to the list. | |
5164 | |
4543 | 5165 2003-10-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5166 | |
5167 * NDArray.cc (NDArray::NDArray (const boolNDArray), | |
5168 NDArray::NDArray (const charNDArray)): New constructors. | |
5169 (NDArray::operator !): New function. | |
5170 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
5171 NDND_CMP_OPS, NDND_BOOL_OPS. | |
5172 | |
5173 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const NDArray&), | |
5174 ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
5175 ComplexNDArray::ComplexNDArray (const charNDArray&)): | |
5176 New constructors. | |
5177 (ComplexNDArray::operator !): New function. | |
5178 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
5179 NDND_CMP_OPS, NDND_BOOL_OPS. | |
5180 | |
5181 * ArrayN.h (resize (const dim_vector&)): Fix typo. | |
5182 | |
5183 * boolNDArray.cc (boolNDArray::operator !): New function. | |
5184 Provide NDND_CMP_OPS. | |
5185 | |
5186 * MArrayN.cc (operator +=, operator -=): New functions. | |
5187 Provide product and quotient functions. | |
5188 | |
5189 * MArray-misc.cc (gripe_nonconformant (const char *, dim_vector&, | |
5190 dim_vector&)): New function. | |
5191 | |
5192 * dim-vector.h (dim_vector::str, dim_vector::all_zero, | |
5193 operator ==, operator !=): New functions. | |
5194 * ArrayN.cc (operator <<): Use dim_vector::str here. | |
5195 | |
5196 * Array.cc (Array<T>::resize_no_fill, Array<T>::resize_and_fill): | |
5197 No need to save old dimensions. | |
5198 | |
5199 * oct-rand.cc (MAKE_RAND_ND_ARRAY): New macro. | |
5200 (octave_rand::nd_array): New function. | |
5201 * oct-rand.h (octave_rand::nd_array): Provide decl. | |
5202 | |
5203 * mx-op-defs.h (NDCMP_OP_DECL, NDBOOL_OP_DECL, NDS_BIN_OP_DECLS, | |
5204 NDS_BIN_OP, NDS_BIN_OPS, NDS_CMP_OP_DECLS, NDS_CMP_OP, | |
5205 NDS_CMP_OPS, NDS_BOOL_OP_DECLS, NDS_BOOL_OP, NDS_BOOL_OPS, | |
5206 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_BIN_OP, SND_BIN_OPS, | |
5207 SND_CMP_OP_DECLS, SND_CMP_OP, SND_CMP_OPS, SND_BOOL_OP_DECLS, | |
5208 SND_BOOL_OP, SND_BOOL_OPS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
5209 NDND_BIN_OP, NDND_BIN_OPS, NDND_CMP_OP_DECLS, NDND_CMP_OP, | |
5210 NDND_CMP_OPS, NDND_BOOL_OP_DECLS, NDND_BOOL_OP, NDND_BOOL_OPS, | |
5211 NDND_OP_DECLS): New macros. | |
5212 * mx-cm-m.h, mx-cm-s.h, mx-cs-m.h, mx-m-cm.h, mx-m-cs.h, | |
5213 mx-s-cm.h, mx-cm-m.cc, mx-cm-s.cc, mx-cs-m.cc, mx-m-cm.cc, | |
5214 mx-m-cs.cc, mx-s-cm.cc: Use them. | |
5215 | |
5216 * mx-defs.h (class NDArray, class ComplexNDArray, class | |
5217 boolNDArray, class charNDArray): New forward decls. | |
5218 | |
4534 | 5219 2003-10-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5220 | |
5221 * Array.cc (assign2): No error (but don't do anything either) for | |
5222 expressions like x([],j) = scalar. | |
5223 | |
4532 | 5224 2003-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5225 | |
4533 | 5226 * Array.cc (assignN): Allow lhs(:) = scalar. |
5227 | |
4532 | 5228 * CNDArray.cc (ComplexNDArray::increment_index): New function. |
5229 * dNDArray.cc (NDArray::increment_index): Likewise. | |
5230 * boolNDArray.cc (boolNDArray::increment_index): Likewise. | |
5231 * chNDArray.cc (charNDArray::increment_index): Likewise. | |
5232 | |
5233 * dim-vector.h (rows, cols): Delete unused data members. | |
5234 | |
5235 * Array.cc (Array<T>::get_size): Fix thinko. | |
5236 | |
5237 2003-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5238 | |
5239 * Array.cc (Array<T>::squeeze): New function. | |
5240 * CNDArray.h (ComplexNDArray::squeeze): Likewise. | |
5241 * dNDArray.h (NDArray::squeeze): Likewise. | |
5242 * boolNDArray.h (boolNDArray::squeeze): Likewise. | |
5243 * chNDArray.h (charNDArray::squeeze): Likewise. | |
5244 | |
4530 | 5245 2003-10-06 Petter Risholm <risholm@stud.ntnu.no> |
5246 | |
5247 * Array.cc (ArrayN<T>::indexN): New definition. | |
5248 * Array.h (Array<T>::indexN): Provide decl. | |
5249 * Array.cc (ArrayN<T>::index (idx_vector&, int, const T&): | |
5250 Call indexN if more than 2 indices. | |
5251 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): | |
5252 Make it (mostly) work. | |
5253 * ArrayN-inline.h (number_of_elements, get_ra_idx, short_freeze): | |
5254 New functions. | |
5255 | |
4527 | 5256 2003-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5257 | |
5258 * cmd-edit.cc (do_readline): Pass eof to octave_fgetl. | |
5259 * lo-utils.cc (octave_fgets, octave_fgetl): New overloaded | |
5260 versions with eof arg. | |
5261 | |
4518 | 5262 2003-09-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5263 | |
5264 * Array.h (dimensions): Now public. | |
5265 template <class LT, class RT> | |
5266 (assign (Array<LT>&, const Array<RT>&, const LT&), | |
5267 assign1 (Array<LT>&, const Array<RT>&, const LT&), | |
5268 assign2 (Array<LT>&, const Array<RT>&, const LT&), | |
5269 assignN (Array<LT>&, const Array<RT>&, const LT&), | |
5270 resize_no_fill (int), | |
5271 resize_no_fill (int, int), | |
5272 resize_no_fill (int, int, int), | |
5273 resize_no_fill (const dim_vector&), | |
5274 resize_and_fill (int, const T&), | |
5275 resize_and_fill (int, int, const T&), | |
5276 resize_and_fill (int, int, int, const T&), | |
5277 resize_and_fill (const dim_vector&, const T&)): Now public. | |
5278 | |
5279 * Array.cc: Include <climits>. | |
5280 | |
4513 | 5281 2003-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5282 | |
4517 | 5283 * Array.cc: Merge Array-idx.h. |
5284 * Array-idx.h: Delete. | |
5285 | |
4514 | 5286 * chNDArray.h, chNDArray.cc, boolNDArray.h, boolNDArray.cc: New files. |
5287 | |
4513 | 5288 * Array.h, Array-idx.h, Array.cc: Fold all N-d functionality here. |
5289 Turn inheritance hierarchy upside down (2-d and 3-d arrays are now | |
5290 just special cases of the general purpose N-d Array object). | |
5291 | |
5292 * dim-vector.h: New file. Use dim_vector objects instead of | |
5293 ints or Array<int> objects to represent the size of Array | |
5294 objects. | |
5295 | |
5296 * MArray-defs.h (INSTANTIATE_MARRAYN_FRIENDS): New macro. | |
5297 | |
5298 * Array2-idx.h, Array3-idx.h, Array2.cc, Array3.cc: Delete. | |
5299 | |
5300 * mx-base.h: Include NDArray header files. | |
5301 | |
5302 * MArray-C.cc, MArray-d.cc: Also instantiate ArrayN objects. | |
5303 | |
5304 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
5305 Array-s.cc: Also instantiate ArrayN objects. | |
5306 Don't instantiate assign funcitons for Array2 objects. | |
5307 | |
5308 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Signal error with | |
5309 liboctave_error_handler, not cerr. | |
5310 * CMatrix.cc (ComplexMatrix::diag): Likewise. | |
5311 * dDiagMatrix.cc (DiagMatrix::diag): Likewise. | |
5312 * dMatrix.cc (Matrix::diag): Likewise. | |
5313 | |
5314 * Array-flags.cc, Array.cc, Array.h, Array2.h, Array3.h, ArrayN.h: | |
5315 Omit checks for HEAVYWEIGHT_INDEXING. | |
5316 | |
5317 2003-09-12 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5318 | |
5319 * mx-base.h: Include CNDarray.h. Include dNDArray.h, not NDArray.h. | |
5320 | |
5321 * CNDARray.h, CNDArray.cc: New files. | |
5322 * Makefile.in: Add them to the appropriate lists. | |
5323 | |
5324 * dNDArray.h: Rename from NDArray.h. | |
5325 * dNDArray.cc: Rename from NDArray.cc. | |
5326 * Makefile.in: Rename them here too. | |
5327 | |
4507 | 5328 2003-09-10 Petter Risholm <risholm@stud.ntnu.no> |
5329 | |
5330 * mx-base.h: Include NDArray.h, not ArrayN.h. | |
5331 | |
5332 * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. | |
5333 * Makefile.in: Add them to the appropriate lists. | |
5334 | |
5095 | 5335 2003-09-09 David Bateman <dbateman@free.fr> |
4506 | 5336 |
5337 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, | |
5338 biry): Always request scaled results from AMOS functions and | |
5339 perform reverse scaling on results if scaled result not requested | |
5340 by user. | |
5341 | |
5342 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5343 | |
5344 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
5345 | |
4505 | 5346 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5347 | |
5348 * Array-d.cc: Instantiate assign functions. | |
5349 | |
4504 | 5350 2003-09-09 Petter Risholm <risholm@stud.ntnu.no> |
5351 | |
5352 * ArrayN-idx.h (vector_equivalent, equal_arrays): New functions. | |
5353 (get_elt_idx): Index ra_idx correctly. | |
5354 | |
5355 * ArrayN-inline.h (index_in_bounds): Index is also condidered in | |
5356 bounds if it is exactly on the bound. | |
5357 | |
5358 * ArrayN.cc (ArrayN<T>::maybe_delete_dims): New function. | |
5359 * ArrayN.h: Provide decl. | |
5360 | |
5361 * ArrayN.h (ArrayN<T>::ArrayN<T> (const Matrix&)): New constructor. | |
5362 | |
5363 * idx-vector.h (idx_vector::orig_dims): New member variable. | |
5364 (idx_vector::idx_vector_rep::orig_dimensions): New function. | |
5365 (idx_vector::orig_dimensions): New function. | |
5366 | |
4497 | 5367 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5368 | |
5369 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
5370 | |
4496 | 5371 2003-09-04 Petter Risholm <risholm@stud.ntnu.no> |
5372 | |
5373 * ArrayN-idx.h (maybe_delete_elements): Implement function. | |
5374 (is_in, how_many_lgt, all_ones): New functions. | |
5375 | |
4493 | 5376 2003-09-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5377 | |
5378 * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. | |
5379 | |
5380 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> | |
5381 | |
5382 * ArrayN-inline.h: New file. | |
5383 (index_in_bounds, increment_index): Move here. | |
5384 * ArrayN.cc: From here. | |
5385 | |
5386 * ArrayN.h (maybe_delete_elements): New arg, resize_fill_value. | |
5387 * ArrayN-idx.h (assign): New function. | |
5388 | |
4490 | 5389 2003-08-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5390 | |
5391 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, airy, biry): | |
5392 Also zero imaginary part of result if real part of input value is | |
5393 zero. | |
5394 | |
4478 | 5395 2003-07-30 Heine Kolltveit <kolltvei@idi.ntnu.no> |
5396 | |
5397 * mx-base.h: Include ArrayN.h. | |
5398 | |
4476 | 5399 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> |
5400 | |
5401 * ArrayN.cc (operator <<): Corrected output. | |
5402 | |
4474 | 5403 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5404 | |
5405 * ArrayN.cc (increment_index): New arg, start_dimension. | |
5406 | |
5095 | 5407 2003-07-29 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4473 | 5408 |
5409 * ArrayN.cc (operator <<): Improve output readability. | |
5410 | |
4493 | 5411 2003-07-29 Petter Risholm <risholm@stud.ntnu.no> |
4473 | 5412 |
5413 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&, const T&)): | |
5414 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&)): | |
5415 Initialize old_len before changing size. | |
5416 | |
4472 | 5417 2003-07-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5418 | |
5419 * Makefile.in (install-lib): Use $(INSTALL), not | |
4473 | 5420 $(INSTALL_PROGRAM) for $(SHLLIB) files. |
4472 | 5421 |
4469 | 5422 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5423 | |
5424 * lo-mappers.cc (xmin, xmax): Handle NaN in a Matlab-compatible | |
5425 way. Handle NA in an R-compatible way. | |
5426 | |
5427 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Also check for lo_ieee_is_NA. | |
5428 (lo_ieee_is_NA): Don't call isnan unless HAVE_ISNAN is defined. | |
5429 | |
5430 * lo-mappers.h (octave_is_NA (const Complex&)): Provide decl. | |
5431 (octave_is_NaN_or_NA (const Complex&)): Likewise. | |
5432 | |
5433 * dMatrix.cc (Matrix::row_min, Matrix::row_max, | |
5434 Matrix::column_min, Matrix::column_max): Ignore NaNs. | |
5435 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_max, | |
5436 ComplexMatrix::column_min, ComplexMatrix::column_max): Likewise. | |
5437 | |
4461 | 5438 2003-07-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5439 | |
5440 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
5441 Pass true for resize_ok arg to freeze. | |
5442 * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
5443 Likewise. | |
5444 | |
5445 * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; | |
5446 resize_ok arg is now bool. | |
5447 * idx-vector.h (idx_vector::freeze): Likewise. | |
5448 | |
5449 * Array-flags.cc, Array-flags.h (liboctave_wrore_flag): | |
5450 Rename from liboctave_rre_flag. Now bool. | |
5451 (liboctave_wfi_flag): Now bool. | |
5452 | |
5453 * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. | |
5454 | |
5095 | 5455 2003-07-11 Russell Standish <R.Standish@unsw.edu.au> |
4459 | 5456 |
5457 * Array.h (resize_fill_value): Now a top-level template function. | |
5458 Accept object as argument. Change all uses. | |
5459 | |
4455 | 5460 2003-07-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5461 | |
5462 * Array-flags.cc, Array-flags.h (liboctave_pcv_flag): Delete. | |
5463 | |
5464 * Array2-idx.h (Array2<T>::index): Use liboctave_wfi_flag, not | |
5465 liboctave_dfi_flag. | |
5466 (assign): Likewise. For indexed assignments like X(I) = RHS with | |
5467 X undefined or empty, always create a row vector. | |
5468 | |
5469 * Array-flags.cc (liboctave_wfi_flag): Rename from liboctave_dfi_flag. | |
5470 * Array-flags.h (liboctave_wfi_flag): Ditto. | |
5471 | |
4437 | 5472 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5473 | |
5474 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
5475 Magic colon indexing always produces an object with one column. | |
5476 | |
5095 | 5477 2003-06-21 Paul Kienzle <pkienzle@users.sf.net> |
4433 | 5478 |
5479 * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. | |
5480 | |
5481 * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. | |
5482 | |
4431 | 5483 2003-06-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5484 | |
5485 * dMatrix.cc (any_element_is_negative): If new optional arg | |
5486 neg_zero is true, also return true for negative zero. | |
5487 | |
4429 | 5488 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5489 | |
5490 * DASSL.cc (DASSL::do_integrate): Set liw to 21 + n, not 20 + n. | |
5491 Handle step limit. | |
5492 * DASSL-opts.in: New option for step limit. | |
5493 | |
5095 | 5494 2003-06-16 Per Persson <persquare@mac.com> |
4429 | 5495 |
5496 * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. | |
5497 | |
4428 | 5498 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5499 | |
5500 * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. | |
5501 Store step limit in iwork(20), not iwork(18). | |
5502 | |
5095 | 5503 2003-05-16 Paul Kienzle <pkienzle@users.sf.net> |
4415 | 5504 |
5505 * oct-rand.cc: Use liboctave's clock layer instead of the system clock. | |
5506 | |
4412 | 5507 2003-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5508 | |
4413 | 5509 * Makefile.in: Handle DESTDIR. |
5510 | |
4412 | 5511 * kpse.cc (kpse_path_iterator::next): Skip consecutive colons here. |
5512 (kpse_path_iterator::set_end): Don't miss last element when not | |
5513 followed by a colon. | |
5514 | |
4409 | 5515 2003-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5516 | |
5517 * Array-idx.h (Array<T>::index): Fix off-by-one error. | |
5518 | |
5519 2003-05-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5520 | |
5521 * kpse.cc (kpse_absolute_p): Fix typo in translation. | |
5522 (find_first_of): Also do an absolute search on each | |
5523 name before looking in the path. | |
5524 | |
4407 | 5525 2003-05-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5526 | |
5527 * kpse.cc (dir_list_add): Ensure that directory ends with a | |
5528 directory separator. | |
5529 | |
4399 | 5530 2003-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5531 | |
5532 * pathsearch.cc: Include kpse.cc here. | |
5533 | |
5534 * kpse.cc: All functions are now static. Massive surgery to | |
5535 condense kpathsearch library to a single file of just the | |
5536 essentials for Octave and convert to using C++ strings (no more | |
5537 calls to malloc, very few calls to new, so there should be much | |
5538 less potential for introducing memory leaks now). | |
5539 | |
5540 * Makefile.in (EXTRAS): Move kpse.cc here from | |
5541 LIBOCT_PATHSEARCH_CXX_SOURCES. | |
5542 | |
5543 * kpse.h, kpse-config.h: Delete. | |
5544 * Makefile.in (INCLUDES): Delete them from the list. | |
5545 | |
4392 | 5546 2003-04-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
5547 | |
5548 * str-vec.cc (string_vector::append (const std::string&), | |
5549 string_vector::append (const string_vector&)): New methods. | |
5550 | |
4386 | 5551 2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5552 | |
4389 | 5553 * kpse.cc, kpse.h: Replace fn_type with std::string. |
5554 | |
4387 | 5555 * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. |
5556 | |
4386 | 5557 * kpse.cc (xclosedir): Don't define or declare for Windows. |
5558 (READABLE): Now a static function to avoid warnings from MinGW | |
5559 compiler. | |
5560 | |
4384 | 5561 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5562 | |
4385 | 5563 * kpse.cc: Move most functions from kpse-xfns.c here and make |
5564 static. Include most of kpse-xfns.h directly, removing | |
5565 unnecessary bits. | |
5566 | |
4384 | 5567 * dMatrix.cc (Matrix::pseudo_inverse): Now const. |
5568 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
5569 | |
4378 | 5570 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5571 | |
5572 * getopt.c, getopt1.c, getopt.h: Move here from kpathsea. | |
5573 * Makefile.in: Add them to the appropriates lists. | |
5574 | |
5575 * oct-getopt.c: Include "getopt.h", not <kpathsea/getopt.h>. | |
5576 | |
5577 * Makefile.in (liboctave.$(LIBEXT), liboctave.$(SHLEXT)): Adjust | |
5578 for new locations of kpathsea objects. | |
5579 Delete kpathsea targets. | |
5580 | |
5581 * pathsearch.cc (dir_path::set_program_name): Delete. | |
5582 | |
5583 * kpse.cc: New file. | |
5584 * Makefile.in (LIBOCT_PATHSEARCH_CXX_SOURCES): Add it to the list. | |
5585 | |
5586 * kpse.c: New file. | |
5587 * Makefile.in (LIBOCT_PATHSEARCH_C_SOURCES): Add it to the list. | |
5588 | |
5589 * kpse.h, kpse-config.h, kpse-xfns.h: New files. | |
5590 * Makefile.in (INCLUDES): Add them to the list. | |
5591 | |
5592 * oct-kpse.h: Delete. | |
5593 * Makefile.in (INCLUDES): Delete it from the list. | |
5594 | |
4374 | 5595 2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
5596 | |
5597 * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. | |
5598 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): | |
5599 Likewise. | |
5600 From Quentin H. Spencer <qspencer@ieee.org>. | |
5601 | |
4365 | 5602 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5603 | |
5604 * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h". | |
5605 | |
4349 | 5606 2003-02-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
5607 | |
4352 | 5608 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Handle systems with or |
5609 without placement delete. | |
5610 | |
4349 | 5611 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Don't lose -0 |
5612 imaginary parts. | |
5613 | |
5614 * lo-ieee.h (lo_ieee_signbit): New macro. | |
5615 | |
5095 | 5616 2003-02-18 David Bateman <dbateman@free.fr> |
4329 | 5617 |
5618 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
5619 Use Lapack instead of Linpack. | |
5315 | 5620 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
4329 | 5621 ComplexMatrix::solve): Likewise. |
5622 | |
5623 * dMatrix.cc (Matrix::determinant, Matrix::inverse): New arg, | |
5624 calc_cond. If 0, skip condition number calculation. | |
5625 * CMatrix.cc (ComplexMatrix::determinant, ComplexMatrix::inverse): | |
5626 Likewise. | |
5627 | |
5628 * CmplxLU.cc (ComplexLU::ComplexLU): Allow non-square matrices. | |
5629 * dbleLU.cc (LU::LU): Likewise. | |
5630 * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. | |
5631 | |
5632 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5633 | |
5634 * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: | |
5635 | |
4323 | 5636 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5637 | |
5638 * Array2-idx.h (Array2<T>::index): Fix thinko. | |
5639 Additional compatibility fix. | |
5640 | |
5641 2003-02-13 Arno Klaassen <arno@scito.com> | |
5642 | |
5643 * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
5644 ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: | |
5645 Sprinkle with Array<T>:: as necessary for gcc 3.4. | |
5646 | |
4322 | 5647 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
5648 | |
5649 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
5650 Compatibility fix. | |
5651 | |
4316 | 5652 2003-02-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5653 | |
5654 * CColVector.cc (ComplexColumnVector::extract_n): New function. | |
5655 * CRowVector.cc (ComplexRowVector::extract_n): Likewise. | |
5656 * CMatrix.cc (ComplexMatrix::extract_n): Likewise. | |
5657 * dColVector.cc (ColumnVector::extract_n): Likewise. | |
5658 * dRowVector.cc (RowVector::extract_n): Likewise. | |
5659 * dMatrix.cc (Matrix::extract_n): Likewise. | |
5660 | |
5661 * CColVector.cc (ComplexColumnVector::insert): Improve efficiency | |
5662 with make_unique and xelem. | |
5663 * CRowVector.cc (ComplexRowVector::insert): Likewise. | |
5664 * CMatrix.cc (ComplexMatrix::insert, ComplexMatrix::fill, | |
5665 ComplexMatrix::extract, ComplexMatrix::row, | |
5666 ComplexMatrix::column): Likewise. | |
5667 * dColVector.cc (ColumnVector::insert): Likewise. | |
5668 * dRowVector.cc (RowVector::insert): Likewise. | |
5669 * dMatrix.cc (Matrix::insert, Matrix::fill, Matrix::extract, | |
5670 Matrix::row, Matrix::column): Likewise. | |
5671 | |
4313 | 5672 2003-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5673 | |
5674 * lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN. | |
5675 | |
4309 | 5676 2003-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5677 | |
5678 * CMatrix.cc, dMatrix.cc: Move min and max functions here, from | |
5679 src/DLD-FUNCTIONS/minmax.cc, and make them extern. | |
5680 * CMatrix.h, dMatrix.h: Provide decls. | |
5681 | |
4307 | 5682 2003-01-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5683 | |
5684 * oct-rand.h, oct-rand.cc: New files. | |
5685 * Makefile.in: Add them to the appropriate lists. | |
5686 | |
4306 | 5687 2003-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5688 | |
5689 * Array2-idx.h (Array2<T>::index): Fix off-by-one error. | |
5690 | |
4299 | 5691 2003-01-16 Mumit Khan <khan@nanotech.wisc.edu> |
5692 | |
5693 * oct-syscalls.cc: Include signal.h. | |
5694 | |
4294 | 5695 2003-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5696 | |
5697 * oct-syscalls.cc (octave_syscalls::kill): New function. | |
5698 * oct-syscalls.h: Provide decl. | |
5699 | |
5700 | |
4293 | 5701 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5702 | |
5703 * dMatrix.cc (Matrix::read): Set size and return immediately if | |
5704 there is nothing to read. | |
5705 | |
4290 | 5706 2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
5707 | |
5708 * lo-cutils.c: Define _XOPEN_SOURCE. | |
5709 | |
4286 | 5710 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5711 | |
4288 | 5712 * getopt.h: Update to version from kpathsearch, so we will install |
5713 the version that we are using. | |
5714 | |
5715 * getopt.c, getopt1.c: Delete. | |
5716 (INCLUDES): Delete them from the list. We'll get these files from | |
5717 kpathsearch. | |
5718 | |
4286 | 5719 * Makefile.in (liboctave.$(LIBEXT)): Link directly to |
5720 ../kpathsea/STATIC/*.o. | |
5721 (liboctave.$(SHLEXT)): Link directly to ../kpathsea/SHARED/*.o. | |
5722 | |
4270 | 5723 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5724 | |
4282 | 5725 * dMatrix.cc (read_int, write_int): Avoid warnings about |
5726 unreachable code. | |
5727 | |
4279 | 5728 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete |
5729 to correspond to placement new operator. | |
5730 | |
4278 | 5731 * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. |
5732 (DET::value_will_underflow): Likewise. | |
5733 * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. | |
5734 (ComplexDET::value_will_underflow): Likewise. | |
5735 | |
4276 | 5736 * Makefile.in (distclean): Also remove stamp-prereq. |
5737 | |
4306 | 5738 * Array2-idx.h (Array2<T>::assign): If assignment conforms but the |
5739 RHS and index are empty matrices, don't do anything. | |
4270 | 5740 |
4242 | 5741 2002-12-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
5742 | |
5743 * pathsearch.cc (make_retval, free_c_array, make_c_names, | |
5744 delete_c_names): New helper functions. | |
5745 (dir_path::find_first_of): New function. | |
5746 (dir_path::find_all_first_of): Likewise. | |
5747 * pathsearch.h: Provide decls. | |
5748 | |
5749 * oct-kpse.c (octave_kpse_path_find_first_of): New function. | |
5750 (octave_kpse_all_path_find_first_of): Likewise. | |
5751 * oct-kpse.h: Provide decls. | |
5752 | |
4231 | 5753 2002-12-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5754 | |
5755 * ODESSA.cc (ODESSA::integrate): Handle maxord. | |
5756 * ODESSA-opts.in: Likewise. | |
5757 | |
5758 * LSODE.cc (ODESSA::integrate): Handle maxord. | |
5759 * LSODE-opts.in: Likewise. | |
5760 | |
4229 | 5761 2002-12-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5762 | |
4230 | 5763 * ODESSA.cc (ODESSA::ODESSA): Initialize "initialized" data member |
5764 in all constructors. | |
5765 | |
4229 | 5766 * Makefile.in (liboctave.$(SHLEXT)): Include $(LIBKPATHSEA) here. |
5767 (LINK_DEPS): Not here. | |
5768 | |
4219 | 5769 2002-12-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5770 | |
4220 | 5771 * str-vec.cc (string_vector::compare): New static member function. |
5772 * str-vec.h: Provide decl. | |
5773 (string_vector::sort): Use it. | |
5774 (str_vec_compare): Delete static function. | |
5775 | |
4219 | 5776 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Also declare and define |
5777 a placement operator new. | |
5778 | |
4209 | 5779 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5780 | |
4210 | 5781 * Matrix.h: Include mx-ops.h too. |
4209 | 5782 * mx-ops.h: New file. |
5783 | |
4192 | 5784 2002-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5785 | |
5786 * DASRT.cc, DASRT.h, Array.cc, ArrayN.h, Array.h, Array2.cc, | |
5787 Array2.h, Array3.cc, Array3.h, Bounds.cc, Bounds.h, CRowVector.h, | |
5788 CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, CMatrix.h, | |
5789 CRowVector.cc, CColVector.h, ChangeLog, CmplxAEPBAL.cc, | |
5790 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
5791 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
5792 CmplxQR.h, CmplxQRP.cc, ArrayN.cc, CmplxQRP.h, CmplxSCHUR.cc, | |
5793 CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, dMatrix.cc, | |
5794 CollocWt.h, EIG.h, DASSL.cc, FEGrid.h, DASSL.h, DiagArray2.cc, | |
5795 DiagArray2.h, EIG.cc, FEGrid.cc, LSODE.cc, LPsolve.cc, LPsolve.h, | |
5796 LSODE.h, LinConst.cc, LinConst.h, MArray.h, MArray.cc, MArray2.cc, | |
5797 MArray2.h, MDiagArray2.cc, MDiagArray2.h, Range.cc, NLConst.h, | |
5798 NLEqn.cc, Range.h, NLEqn.h, Quad.cc, dbleQR.h, Quad.h, base-lu.cc, | |
5799 base-lu.h, boolMatrix.cc, boolMatrix.h, dColVector.cc, | |
5800 dColVector.h, dDiagMatrix.cc, dDiagMatrix.h, dMatrix.h, | |
5801 dRowVector.cc, dRowVector.h, dbleAEPBAL.cc, dbleAEPBAL.h, | |
5802 dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, dbleDET.h, dbleHESS.cc, | |
5803 dbleHESS.h, dbleLU.cc, dbleLU.h, dbleQR.cc, dbleQRP.cc, dbleQRP.h, | |
5804 dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, | |
5805 idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, | |
5806 ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: | |
5807 Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of | |
5808 "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". | |
5809 | |
4184 | 5810 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5811 | |
5812 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_GLOBAL too. | |
5813 From Remy Bruno <remy.bruno@libertysurf.fr> | |
5814 | |
4180 | 5815 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5816 | |
5817 * lo-specfun.cc: Use F77_FUNC instead of F77_XFCN for calls to | |
5818 fortran code that should run fast enough that it is not worth all | |
5819 the setup costs of F77_XFCN. | |
5820 | |
5821 * Quad.cc (user_function): Surround body of function with | |
5822 BEGIN_INTERRUPT_WITH_EXCEPTIONS, END_INTERRUPT_WITH_EXCEPTIONS. | |
5823 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Likewise. | |
5824 * NLEqn.cc (hybrd1_fcn, hybrj1_fcn): Likewise. | |
5825 * LSODE.cc (lsode_f, lsode_j): Likewise. | |
5826 * DASSL.cc (ddassl_f, ddassl_j): Likewise. | |
5827 * DASRT.cc (ddasrt_f, ddasrt_j, ddasrt_g): Likewise. | |
5828 * DASPK.cc (ddaspk_f, ddaspk_psol, ddaspk_j): Likewise. | |
5829 | |
4164 | 5830 2002-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5831 | |
5832 * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead | |
5833 of ! defined (linux). | |
5834 | |
5095 | 5835 2002-11-09 Per Persson <persquare@mac.com> |
4162 | 5836 |
5837 * oct-shlib.cc (octave_dyld_shlib): New class. | |
5838 (make_shlib): Instantiate octave_dyld_shlib. | |
5839 | |
4152 | 5840 2002-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5841 | |
4153 | 5842 * CMatrix.cc, dMatrix.cc: Sprinkle with OCTAVE_QUIT. |
5843 | |
4152 | 5844 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Abort on error. |
5845 | |
5846 * Array.h: Include <cstddef> here. | |
5847 | |
4142 | 5848 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
5849 | |
4144 | 5850 * DASPK.cc (DASPK::do_integrate): Resize rwork and iwork before |
5851 using them. Accept inequality contraint option of 0. Assign | |
5852 pabs_tol and prel_tol before calling DASPK. Don't redeclare | |
5853 abs_tol and rel_tol. | |
5854 | |
4143 | 5855 * cmd-edit.h (command_editor::filename_completion_desired): New |
5856 static function. | |
5857 (command_editor::do_filename_completion_desired): New virtual function. | |
5858 * oct-rl-edit.c (octave_rl_filename_completion_desired): New function. | |
5859 * oct-rl-edit.h: Provide decl. | |
5860 | |
4142 | 5861 * Array2.cc (Array2<T>::get_size): #define MALLOC_OVERHEAD to |
5862 avoid OS X linker bug. | |
5863 * ArrayN.cc (ArrayN<T>::get_size): Likewise. | |
5864 | |
4139 | 5865 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
5866 | |
4141 | 5867 * ODESFunc.h (ODESFunc::ODES_fsub, ODESFunc::ODES_bsub, |
5868 ODESFunc::ODES_jsub): Reorder args for consistency with other | |
5869 solvers. | |
5870 * ODESSA.cc: Fix all callers. | |
5871 | |
4139 | 5872 * mx-inlines.cc (MX_BASE_REDUCTION_OP): Also return scalar |
5873 MT_RESULT if nr == 1 && nc == 0 && dim == -1 (i.e., | |
5874 sum(zeros(1,0)) returns 0, not [](1x0)). | |
5875 | |
4136 | 5876 2002-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5877 | |
5878 * Makefile.in (LINK_DEPS): Include $(FLIBS) here too. | |
5879 | |
4132 | 5880 2002-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5881 | |
4133 | 5882 * DASRT.cc (DASRT::integrate): Fix computation of lrw |
5883 (ddasrt_f): Combine loops. | |
5884 | |
4132 | 5885 * NLEqn.cc (NLEqn::solve): Return current estimate of solution |
5886 instead of empty vector if user termninates iteration. | |
5887 | |
4130 | 5888 2002-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5889 | |
5890 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
5891 octave_read_complex, octave_write_double, octave_write_complex): | |
5892 New functions. | |
5893 * CMatrix.cc (operator << (std::ostream&, const ComplexMatrix&)): | |
5894 Use octave_write_complex. | |
5895 (operator >> (std::istream&, const ComplexMatrix&)): | |
5896 Use octave_read_complex. | |
5897 * dMatrix.cc (operator << (std::ostream&, double)): | |
5898 Use octave_write_double. | |
5899 (operator >> (std::istream&, double)): Use octave_read_double. | |
5900 | |
4126 | 5901 2002-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5902 | |
5903 * oct-kpse.c (octave_kpse_clear_dir_cache): Delete. | |
5904 * oct-kpse.h: Delete decl. | |
5905 * pathsearch.cc (dir_path::init): Delete unnecessary call to | |
5906 ::octave_kpse_clear_dir_cache. | |
5907 | |
4123 | 5908 2002-10-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5909 | |
4124 | 5910 * lo-sstream.h: Undef HAVE_SSTREAM if using a version of g++ |
5911 earlier than 3.0. | |
5912 | |
4123 | 5913 * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. |
5914 (liboctave.$(SHLEXT)): Not here. | |
5915 | |
5095 | 5916 2002-10-17 Paul Kienzle <pkienzle@users.sf.net> |
4110 | 5917 |
5918 * oct-shlib.cc (octave_w32_shlib): New class to support Windows. | |
5919 | |
4108 | 5920 2002-10-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5921 | |
5922 * Makefile.in (install-lib): Don't bother with versions for | |
5923 $(SHLBIN) files. | |
5924 | |
5095 | 5925 2002-10-16 Paul Kienzle <pkienzle@users.sf.net> |
4105 | 5926 |
5927 * Makefile.in (LIB_DEPS): Include $(LIBS). | |
5928 | |
4102 | 5929 2002-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5930 | |
5931 * lo-cieee.c: Move everything but lo_ieee_init here. | |
5932 (lo_ieee_Inf_value, lo_ieee_NA_value, lo_ieee_NaN_value): | |
5933 New functions. | |
5934 | |
5935 * Makefile.in (install): No need to use cd to create links. | |
5936 (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. | |
5937 | |
5095 | 5938 2002-10-14 Paul Kienzle <pkienzle@users.sf.net> |
4102 | 5939 |
5940 * Makefile.in: Merge liboctave with liboct-readline and | |
5941 liboct-pathsearch. | |
5942 Use link dependencies for shared libs if INCLUDE_LINK_DEPS. | |
5943 (libraries): Depend on versioned library. | |
5944 (liboctave.$(SHLEXT), liboctave.$(SHLEXT_VER)): Reverse actions -- | |
5945 build unversioned library, symbolic link adds version info. | |
5946 (install, uninstall): Handle link and load forms of the library | |
5947 separately. | |
5948 | |
4101 | 5949 2002-10-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5950 | |
5951 * oct-time.cc: Use OCTAVE_USE_WINDOWS_API instead of __WIN32__ and | |
5952 __CYGWIN__. | |
5953 | |
5954 * file-ops.cc (file_ops::dir_sep_char, file_ops::dir_sep_str, | |
5955 file_ops::dir_sep_chars): New static functions to replace | |
5956 OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS. | |
5957 | |
5958 * oct-env.cc (octave_env::do_set_program_name): | |
5959 Use file_ops::dir_sep_chars instead of OCTAVE_DIR_SEP_CHARS. | |
5960 (octave_env::do_base_pathname): Likewise. | |
5961 (octave_env::do_make_absolute): Likewise. | |
5962 | |
5963 * oct-env.cc (octave_env::do_make_absolute): | |
5964 Use file_ops::dir_sep_str instead of OCTAVE_DIR_SEP_STR. | |
5965 (octave_env::do_get_home_directory): Likewise. | |
5966 | |
5967 * file-ops.cc (is_dir_sep): Use dir_sep_chars instead of embedding | |
5968 that information here too. | |
5969 (tilde_find_suffix, isolate_tilde_prefix, tilde_expand_word): | |
5970 Use file_ops::dir_sep_char instead of OCTAVE_DIR_SEP_CHAR. | |
5971 | |
5972 * file-ops.h: Use OCTAVE_HAVE_WINDOWS_FILESYSTEM and | |
5973 OCTAVE_HAVE_POSIX_FILESYSTEM instead of __WIN32__ and __CYGWIN__. | |
5974 | |
4097 | 5975 2002-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5976 | |
5977 * oct-env.h (octave_env::current_directory): Now mutable. | |
5978 (octave_env:do_getcwd): Now const. | |
5979 | |
5980 * file-ops.h, file-ops.cc (file_ops::is_dir_sep): New function. | |
5981 (OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS, | |
5982 OCTAVE_CURRENT_DIR_STR): New macros. | |
5983 * oct-env.cc (is_dir_sep): Delete. | |
5984 (octave_env::do_base_pathname): Look for OCTAVE_DIR_SEP_CHARS, not '/'. | |
5985 (octave_env::do_set_program_name): Likewise. | |
5986 (octave_env::do_polite_directory_format): Use file_ops::is_dir_sep | |
5987 instead of checking for '/'. | |
5988 (octave_env::pathname_backup): Likewise. | |
5989 (octave_env::do_absolute_pathname): Likewise. | |
5990 (octave_env::do_make_absolute): Likewise. | |
5991 If dot_path is empty, use getcwd to set current_dir. | |
5992 (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR | |
5993 instead of "/". | |
5994 | |
5095 | 5995 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 5996 |
5997 * lo-cutils.c: On non-Posix Windows systems, include winsock.h. | |
5998 | |
5095 | 5999 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 6000 |
6001 * oct-env.cc (octave_env::do_absolute_pathname): Recognize | |
6002 absolute path names under MinGW as well. | |
6003 | |
6004 2002-10-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6005 | |
6006 * oct-env.cc: Include <cctype> too. | |
6007 | |
4087 | 6008 2002-10-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
6009 | |
6010 * oct-env.cc (octave_env::do_absolute_pathname): Handle Windows | |
6011 filenames. | |
6012 (octave_env::do_make_absolute): Check for absolute name with | |
6013 do_absolute_path. | |
4088 | 6014 (octave_env::do_chdir): Likewise. |
6015 (is_dir_sep): New function. | |
4087 | 6016 |
5095 | 6017 2002-10-03 Paul Kienzle <pkienzle@users.sf.net> |
4085 | 6018 |
4086 | 6019 * oct-time.cc (octave_time::stamp): Better resolution for Windows |
6020 systems. | |
4085 | 6021 |
4083 | 6022 2002-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6023 | |
6024 * dMatrix.cc (Matrix::read): Clean up error handling logic. | |
6025 | |
4080 | 6026 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6027 | |
4081 | 6028 * file-ops.cc (file_ops::mkdir): Handle one-arg mkdir here. |
6029 | |
4080 | 6030 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
6031 | |
5095 | 6032 2002-09-27 Per Persson <persquare@mac.com> |
4076 | 6033 |
6034 * oct-group.cc (octave_group::octave_group): Dont' forget to set | |
6035 gr_gid too. | |
6036 | |
4072 | 6037 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
6038 | |
4074 | 6039 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
6040 lo_ieee_* functions. | |
4072 | 6041 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074 | 6042 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
6043 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. | |
4072 | 6044 * lo-cieee.c: New file. |
4074 | 6045 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072 | 6046 * lo-ieee.h: Now all extern "C". |
4074 | 6047 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
6048 lo-mappers.cc and rename from xisnan, xfinite, xisinf. | |
6049 | |
4072 | 6050 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
6051 Now extern. | |
6052 | |
4066 | 6053 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6054 | |
6055 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
6056 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
6057 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
6058 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
6059 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
6060 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
6061 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
6062 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
6063 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
6064 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
6065 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
6066 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
6067 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
6068 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
6069 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
6070 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
6071 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
6072 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
6073 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
6074 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
6075 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
6076 oct-alloc.cc: | |
6077 If __GNUG__, use pragma interface/implementation. Allow this to | |
6078 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. | |
6079 | |
5095 | 6080 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
4064 | 6081 |
4066 | 6082 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
6083 system readlink function is not available. | |
6084 | |
4065 | 6085 * lo-mappers.cc (xerf, xerfc): Delete. |
6086 * lo-mappers.h (xerf, xerfc): Delete decls. | |
6087 | |
4064 | 6088 * lo-mappers.cc: Remove unused #define M_PI. |
6089 * lo-specfun.cc: Add #define M_PI if needed. | |
6090 | |
4062 | 6091 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6092 | |
6093 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility | |
6094 that geteuid doesn't exist. | |
6095 | |
6096 * LP.h: Rename LP class to octave_LP. | |
6097 LPsolve.h: Change all uses. | |
6098 | |
6099 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove | |
6100 incorrect token-pasting op. | |
6101 | |
6102 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to | |
6103 define lstat. | |
6104 | |
4061 | 6105 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
6106 | |
6107 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
6108 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
6109 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
6110 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
6111 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
6112 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
6113 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
6114 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
6115 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
6116 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
6117 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
6118 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
6119 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
6120 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
6121 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
6122 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
6123 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
6124 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
6125 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
6126 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
6127 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
6128 oct-alloc.cc: | |
6129 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ | |
6130 to decide whether to use the interface/implementation pragmas. | |
6131 | |
4058 | 6132 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6133 | |
6134 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. | |
6135 | |
4055 | 6136 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
6137 | |
6138 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use | |
6139 qualified names. | |
6140 | |
4051 | 6141 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6142 | |
4054 | 6143 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
6144 ArrayN.cc: Add typename where needed. | |
4053 | 6145 |
4051 | 6146 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
6147 strstream classes directly. | |
6148 * DASRT.cc: Likewise. | |
6149 * DASSL.cc: Likewise. | |
6150 * LSODE.cc: Likewise. | |
6151 * ODESSA.cc: Likewise. | |
6152 | |
6153 * cmd-hist.cc: Don't include <strstream>. | |
6154 * oct-shlib.cc: Likewise. | |
6155 | |
6156 * lo-sstream.h: New file. | |
6157 | |
4049 | 6158 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6159 | |
6160 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): | |
6161 New data members. | |
6162 (LSODE::sanity_checked): Delete unused data member. | |
6163 | |
6164 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, | |
6165 prel_tol, pinfo, piwork, prwork): New data members. | |
6166 * DASSL.h (DASSL): Likewise. | |
6167 | |
6168 * DASRT.h (DASRT::sanity_checked): Delete unused data member. | |
6169 | |
6170 * DASRT.cc (DASRT::integrate (double)): Better handling of | |
6171 initialization, changes in options, etc. | |
6172 * DASPK.cc (DASPK::do_integrate): Likewise. | |
6173 * DASSL.cc (DASSL::do_integrate): Likewise. | |
6174 * LSODE.cc (LSODE::do_integrate): Likewise. | |
6175 | |
4047 | 6176 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
6177 | |
4049 | 6178 * DAEFunc.h (DAEFunc::reset): New data member. |
6179 * DAERTFunc.h (DAERTFunc::reset): Likewise. | |
6180 | |
6181 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. | |
6182 (base_diff_eqn::clear_stop_time): Likewise. | |
6183 | |
4047 | 6184 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
6185 * DASPK.cc (DASPK::do_integrate (double)): Likewise. | |
6186 | |
5095 | 6187 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
4044 | 6188 |
6189 * DASPK-opts.in, DASPK.h: Move include to .in file. | |
6190 * DASRT-opts.in, DASRT.h: Likewise. | |
6191 * DASSL-opts.in, DASSL.h: Likewise. | |
6192 * LSODE-opts.in, LSODE.h: Likewise. | |
6193 * NLEqn-opts.in, NLEqn.h: Likewise. | |
6194 * ODESSA-opts.in, ODESSA.h: Likewise. | |
6195 | |
4038 | 6196 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6197 | |
4042 | 6198 * LSODE.cc (LSODE::error_message): Also return current T on |
6199 failures when that makes sense. | |
4043 | 6200 * DASSL.cc (DASSL::error_message): Likewise. |
6201 * DASRT.cc (DASRT::error_message): Likewise. | |
6202 * DASPK.cc (DASPK::error_message): Likewise. | |
6203 * ODESSA.cc (ODESSA:error_message): Likewise. | |
4042 | 6204 |
4038 | 6205 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
6206 $(LIBKPATHSEA) here. | |
6207 | |
4025 | 6208 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6209 | |
6210 * lo-ieee.cc (lo_ieee_is_NA): New function. | |
6211 (lo_ieee_is_NaN_or_NA): New function. | |
6212 (octave_NA): New global value. | |
6213 (octave_ieee_init): Initialize it. | |
6214 * lo-mappers.cc (octave_is_NA): New function. | |
6215 (octave_is_NaN_or_NA): New function. | |
6216 (xisnan): Return false if NaN looks like a missing value. | |
6217 (xisnan (const Complex&)): Use xisnan here. | |
6218 | |
4015 | 6219 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6220 | |
4017 | 6221 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
6222 ComplexMatrix::cumprod, ComplexMatrix::cumsum, | |
6223 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): | |
6224 Default value for dim is -1, not 0. | |
6225 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, | |
6226 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. | |
6227 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. | |
6228 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. | |
6229 | |
4015 | 6230 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
6231 New macros. | |
6232 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and | |
6233 MX_BASE_REDUCTION_OP. | |
6234 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. | |
6235 | |
4014 | 6236 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6237 | |
4015 | 6238 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
6239 Return boolMatrix, not Matrix. | |
6240 | |
6241 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. | |
6242 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. | |
6243 (Matrix::all): Replace guts with MX_ALL_OP. | |
6244 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. | |
6245 (ComplexMatrix::all): Replace guts with MX_ALL_OP. | |
6246 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. | |
6247 (boolMatrix::all): Replace guts with MX_ALL_OP. | |
6248 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. | |
6249 (charMatrix::all): Replace guts with MX_ALL_OP. | |
6250 | |
6251 * dMatrix.h (Matrix::any): New arg, dim. | |
6252 (Matrix::all): Likewise. | |
6253 * CMatrix.h (ComplexMatrix::any): Likewise. | |
6254 (ComplexMatrix::all): Likewise. | |
6255 * boolMatrix.h (boolMatrix::any): Likewise. | |
6256 (boolMatrix::all): Likewise. | |
6257 * chMatrix.h (charMatrix::any): Likewise. | |
6258 (charMatrix::all): Likewise. | |
6259 | |
4014 | 6260 * Makefile.in: Use $@-t instead of $@.t. |
6261 | |
4004 | 6262 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6263 | |
6264 * lo-specfun.cc (gammainc): New arg, err, for scalar version. | |
6265 Use it in matrix versions to avoid spewing multiple errors. | |
6266 Call xgammainc instead of dgamit. | |
6267 | |
3998 | 6268 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6269 | |
6270 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): | |
6271 Get rows and columns right in loop. | |
6272 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. | |
6273 | |
6274 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6275 | |
6276 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. | |
6277 * DASRT.cc (DASRT::integrate): Likewise. | |
6278 * DASSL.cc (DASSL::do_integrate): Likewise. | |
6279 | |
6280 * Quad.cc: Don't pass tolerances in constructors. | |
6281 | |
6282 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, | |
6283 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. | |
6284 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, | |
6285 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically | |
6286 from corresponding .in files. | |
6287 * LSODE.h, Quad.h: Replace options class definitions with included | |
6288 file. | |
6289 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to | |
6290 create OPTS_INC files from OPTS_INC_SRC files. | |
6291 (stamp-prereq): New target. | |
6292 (libraries): Depend on stamp-prereq. | |
6293 Include stamp-prereq along with $(MAKEDEPS). | |
6294 | |
3997 | 6295 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6296 | |
6297 * base-de.h (base_diff_eqn::istate): New data member. | |
6298 (base_diff_eqn::integration_state): New member function. | |
6299 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding | |
6300 data members and functions. | |
6301 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. | |
6302 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. | |
6303 | |
3990 | 6304 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6305 | |
3995 | 6306 * base-de.h (base_diff_eqn::stop_time, |
6307 base_diff_eqn::stop_time_set, base_diff_eqn::restart, | |
6308 base_diff_eqn::integration_error): New data members. | |
6309 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, | |
6310 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, | |
6311 base_diff_eqn::error_message): New member functions. | |
6312 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, | |
6313 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data | |
6314 members and functions. | |
6315 | |
3992 | 6316 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
6317 * DASRT.cc (DASRT::DASRT): Set ng here. | |
3993 | 6318 (DASRT::integrate): Don't forget to set nn. |
3992 | 6319 |
3991 | 6320 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
6321 * DASSL.cc (ddassl_j): Make it work. | |
6322 * DASPK.cc (ddaspk_j): Likewise. | |
6323 | |
3990 | 6324 * DAE.cc: Delete. |
6325 | |
6326 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE | |
6327 solving with root finding. | |
6328 * Makefile.in: Add them to the appropriate lists. | |
6329 | |
6330 * base-dae.h: New file. | |
6331 * Makefile.in (INCLUDES): Add it to the list. | |
6332 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. | |
6333 | |
3984 | 6334 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6335 | |
6336 * ODE.h: Move integrate and do_integrate method declarations and | |
6337 definitions here. | |
6338 * base-de.h: From here. | |
6339 | |
6340 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. | |
6341 * Makefile.in: Add them to the appropriate lists. | |
6342 (LIBOCTAVE_CXX_SOURCES): | |
6343 | |
3971 | 6344 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6345 | |
6346 * NLEqn.cc (NLEqn::error_message): New function. | |
6347 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. | |
6348 | |
3970 | 6349 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6350 | |
6351 * lo-utils.cc (octave_fgetl): New function. | |
6352 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. | |
6353 | |
3959 | 6354 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
6355 | |
6356 * LSODE.cc (LSODE::error_message): New function. | |
6357 * LSODE.h: Provide decl. | |
6358 (LSODE::integration_state): New function. | |
6359 (LSODE::integration_ok): New function. | |
6360 | |
3952 | 6361 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6362 | |
3955 | 6363 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
6364 (LSODE_options::set_integration_method, | |
6365 LSODE_options::integration_method): New functions. | |
3954 | 6366 |
3952 | 6367 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
6368 Change all uses. | |
6369 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. | |
6370 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): | |
6371 New function. | |
6372 | |
6373 * Array.h (Array::fortran_vec): New const version. | |
6374 | |
3951 | 6375 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6376 | |
6377 * cmd-edit.cc (gnu_readline::history_search_backward): New function. | |
6378 (gnu_readline::history_search_forward): Likewise. | |
6379 (gnu_readline::gnu_readline): Use them instead of passing pointers | |
6380 to extern "C" functions to octave_rl_ad_defun. | |
6381 | |
5095 | 6382 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
3946 | 6383 |
6384 * DASPK.cc (ddaspk_psol): Return value. | |
6385 * oct-rl-edit.c: Use /* ... */ to comment. | |
6386 | |
3945 | 6387 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6388 | |
6389 * DASSL.h (DASSL_options::init): Undo previous change. | |
6390 (DASSL_options::set_absolute_tolerance): Likewise. | |
6391 * LSODE.h (LSODE_options::init): Likewise. | |
6392 (LSODE_options::set_absolute_tolerance): Likewise. | |
6393 | |
6394 * DASPK.h (DASPK_options::init): Use default absolute tolerance of | |
6395 sqrt(eps), not eps^2. | |
6396 DASPK_options::set_absolute_tolerance): Likewise. | |
6397 | |
5095 | 6398 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
3944 | 6399 |
6400 * Array.h (Array<T>::resize_fill_value): Return default initialized | |
6401 object. | |
6402 | |
3933 | 6403 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6404 | |
6405 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. | |
6406 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. | |
6407 (octave_rl_set_basic_word_break_characters, | |
6408 octave_rl_set_completer_word_break_characters): New functions. | |
6409 * oct-rl-edit.h: Provide decls. | |
6410 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, | |
6411 gnu_readline::do_set_completer_word_break_characters): New functions. | |
6412 (command_editor::set_basic_quote_characters, | |
6413 command_editor::set_completion_append_character): New static functions. | |
6414 * cmd-edit.h: Provide decls. | |
6415 (command_editor::do_set_basic_word_break_characters, | |
6416 command_editor::do_set_completer_word_break_characters): | |
6417 New virtual functions. | |
6418 | |
6419 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h | |
6420 (resize_fill_value): New static function. | |
6421 | |
6422 * Array-idx.h (Array<T>::index): New args, resize_ok and | |
6423 resize_fill_value. | |
6424 * Array2-idx.h (Array2<T>::index): Likewise. | |
6425 * ArrayN-idx.h (ArrayN<T>::index): Likewise. | |
6426 | |
6427 * Array2.cc (Array<T>::print_info): New function. | |
6428 * Array2.h: Provide decl. | |
6429 | |
6430 * Array.cc (Array<T>::print_info): New function. | |
6431 * Array.h: Provide decl. | |
6432 | |
3928 | 6433 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6434 | |
6435 * idx-vector.h (idx_vector::idx_vector (int)): New function. | |
6436 (idx_vector_rep::idx_vector_rep (int)): New decl. | |
6437 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. | |
6438 | |
6439 * Array.h (Array<T>::resize_fill_value (void)): New static function. | |
6440 (assign (Array<LT>&, const Array<RT>&)): Use it. | |
6441 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. | |
6442 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. | |
6443 | |
5095 | 6444 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
3928 | 6445 |
6446 * Array3.h (Array3<T>::checkelem): Improve error message. | |
6447 * ArrayN.h (ArrayN<T>::range_error): Likewise. | |
6448 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. | |
6449 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. | |
6450 | |
3919 | 6451 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6452 | |
6453 * DASSL.h (DASSL_options::init): Undo previous change. | |
6454 (DASSL_options::set_absolute_tolerance): Likewise. | |
6455 | |
3912 | 6456 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
6457 | |
6458 * DASPK.h, DASPK.cc: New files. | |
6459 * Makefile.in: Add them to the appropriate lists. | |
6460 | |
3904 | 6461 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6462 | |
6463 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): | |
6464 Simplify indexing when one or both of the indices are empty. | |
6465 | |
3896 | 6466 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6467 | |
6468 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. | |
6469 (DASSL_options::set_absolute_tolerance): Likewise. | |
6470 * LSODE.h (LSODE_options::init): Likewise. | |
6471 (LSODE_options::set_absolute_tolerance): Likewise. | |
6472 | |
5095 | 6473 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
3887 | 6474 |
6475 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. | |
6476 * file-stat.cc (file_stat::update_internal, file_stat::copy): | |
6477 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. | |
6478 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. | |
6479 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. | |
6480 * file-stat.h: Likewise. | |
6481 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, | |
6482 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE | |
6483 instead of HAVE_STRUCT_TM_TM_ZONE. | |
6484 * strftime.c: Likewise. | |
6485 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, | |
6486 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, | |
6487 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, | |
6488 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, | |
6489 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
6490 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
6491 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. | |
6492 | |
5095 | 6493 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
3883 | 6494 |
6495 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition | |
6496 internally when the user requests it. | |
6497 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
6498 * dbleQR.cc (QR::init): Ditto. | |
6499 * dbleQRP.cc (QRP::init): Ditto. | |
6500 | |
3874 | 6501 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6502 | |
6503 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a | |
6504 definition for NULL by passing 0 as the last arg to fftwnd_one. | |
6505 (octave_fftw::ifft2d): Likewise. | |
6506 | |
5095 | 6507 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
3873 | 6508 |
6509 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). | |
6510 | |
3867 | 6511 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6512 | |
6513 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. | |
6514 (LS_DO_WRITE): Likewise. | |
6515 | |
3864 | 6516 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6517 | |
6518 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. | |
6519 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. | |
6520 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. | |
6521 | |
6522 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, | |
6523 MX_REDUCTION_OP_ROW_EXPR): New macros. | |
6524 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. | |
6525 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. | |
6526 | |
6527 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. | |
6528 DIM == -1 now means no orientation for vector sums. | |
6529 * dMatrix.cc (ComplexMatrix::sumsq): Use it. | |
6530 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. | |
6531 | |
3858 | 6532 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6533 | |
6534 * Range.cc (Range::nelem_internal): Special case ranges that must | |
6535 have zero elements. | |
6536 | |
3854 | 6537 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6538 | |
3857 | 6539 * Makefile.in: Split out readline and pathsearch functionality |
6540 into separate liboct-readline and liboct-pathsearch libraries. | |
6541 | |
3854 | 6542 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857 | 6543 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
6544 to do nothing for this call to rl_clear_screen. | |
3854 | 6545 |
3849 | 6546 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6547 | |
6548 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied | |
6549 function. | |
6550 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. | |
6551 | |
3838 | 6552 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6553 | |
6554 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, | |
6555 Matrix::inverse): Handle the case of rcond being a NaN the same as | |
6556 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. | |
6557 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, | |
6558 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. | |
6559 | |
3836 | 6560 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
6561 | |
6562 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. | |
6563 | |
6564 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, | |
6565 Array-b.cc: Instantiate three arg assign functions. | |
6566 | |
6567 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): | |
6568 New arg, resize_fill_value. | |
6569 * ArrayN.h: Provide declaration. | |
6570 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling | |
6571 three arg version. | |
6572 | |
6573 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): | |
6574 New arg, resize_fill_value. | |
6575 * Array3.h: Provide declaration. | |
6576 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling | |
6577 three arg version. | |
6578 | |
6579 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
6580 New arg, resize_fill_value. | |
6581 * Array2.h: Provide declaration. | |
6582 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling | |
6583 three arg version. | |
6584 | |
6585 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
6586 New arg, resize_fill_value. | |
6587 * Array.h: Provide declaration. | |
6588 (assign (Array<LT>&, const Array<RT>&): Define here by calling | |
6589 three arg version. | |
6590 | |
3833 | 6591 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6592 | |
6593 * pathsearch.cc (dir_path::set_program_name): Set the environment | |
6594 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS | |
6595 to the empty string. | |
6596 | |
3832 | 6597 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
6598 | |
6599 * Array2.h (Array2<T>::operator = (const Array2<T>&)): | |
6600 Don't check for rep != a.rep. | |
6601 | |
3827 | 6602 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
6603 | |
6604 * oct-fftw.h, oct-fftw.cc: New files. | |
6605 * Makefile.in (INCLUDES, SOURCES): Add new files. | |
6606 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, | |
6607 ifourier2d}): Use fftw if available. | |
6608 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): | |
6609 Likewise. | |
6610 | |
3821 | 6611 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6612 | |
6613 * Makefile.in (install-lib): Don't use mk-libdir-link. | |
6614 (install-inc): Don't use mk-includedir-link. | |
6615 | |
3803 | 6616 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6617 | |
6618 * lo-cutils.c (octave_gethostname): New function. | |
6619 * lo-utils.h: Provide declaration. | |
6620 * oct-env.cc (octave_env::do_get_host_name): | |
6621 Call octave_gethostname, instead of gethostname. | |
6622 | |
6623 * lo-cutils.c (gethostname): Define here. | |
6624 * lo-sysdep.cc: Not here. | |
6625 | |
3786 | 6626 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6627 | |
6628 * lo-cutils.c: Don't declare strptime. | |
6629 (oct_strptime): Cast return type of strptime to char*. | |
6630 | |
3777 | 6631 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6632 | |
3779 | 6633 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
6634 (octave_rl_set_name): call rl_re_read_init_file with two args. | |
6635 (octave_rl_read_init_file): Ditto. | |
6636 (octave_rl_clear_undo_list): Call rl_free_undo_list, not | |
6637 free_undo_list. | |
6638 (octave_rl_completion_matches): Call rl_completion_matches, not | |
6639 completion_matches. | |
6640 (octave_rl_enable_paren_matching): New function. | |
6641 (octave_rl_set_blink_matching_paren_flag): Delete. | |
6642 (octave_rl_get_blink_matching_paren_flag): Delete. | |
6643 | |
3777 | 6644 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
6645 tanh (const Complex&)): Declare and define if not | |
6646 CXX_ISO_COMPLIANT_LIBRARY. | |
6647 | |
3776 | 6648 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
6649 | |
6650 * lo-mappers.h (tanh (const Complex&)): Only declare if not | |
6651 CXX_ISO_COMPLIANT_LIBRARY. | |
6652 | |
3775 | 6653 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
6654 | |
3776 | 6655 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
6656 CXX_ISO_COMPLIANT_LIBRARY. | |
6657 | |
3775 | 6658 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
6659 archive libraries containing templates. | |
6660 | |
6661 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, | |
6662 get_zero_len_size, all_colon_equiv): Inline. | |
6663 (ArrayN<T>::index): Rename idx to arr_idx. | |
6664 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, | |
6665 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, | |
6666 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. | |
6667 | |
6668 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6669 | |
6670 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), | |
6671 log10 (const Complex&)): Delete. | |
6672 | |
6673 * oct-cmplx.h: Define forwarding functions for real, imag, abs, | |
6674 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, | |
6675 sinh, sqrt, tan, and tanh. | |
6676 | |
3769 | 6677 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
6678 | |
6679 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: | |
6680 Add std:: namespace qualifier as needed. | |
6681 | |
6682 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. | |
6683 Change all uses to match. | |
6684 | |
3767 | 6685 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6686 | |
6687 * lo-cutils.c: Don't delcare strptime. | |
6688 | |
3760 | 6689 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6690 | |
6691 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): | |
6692 Return correct size result for empty matrix case. | |
6693 | |
3757 | 6694 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
6695 | |
6696 * lo-mappers.cc (xmin (const Complex&, const Complex& y): | |
6697 If args are equal in magnitude, return first arg instead of | |
6698 second. | |
6699 | |
3752 | 6700 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
6701 | |
3755 | 6702 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
6703 then try harder to compute correct number of elements. | |
3753 | 6704 |
3752 | 6705 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
6706 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. | |
6707 | |
3750 | 6708 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
6709 | |
3751 | 6710 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
6711 Rename n_intervals to be n_elt. | |
6712 | |
3750 | 6713 * strptime.c: Surround everything after including config.h in |
6714 #ifndef HAVE_STRPTIME ... #endif. | |
6715 | |
3742 | 6716 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6717 | |
6718 * Array-idx.h (assign): When resizing, cast fill value to LT. | |
6719 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. | |
6720 | |
3741 | 6721 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6722 | |
6723 * MArray-defs.h: Protect against multiple inclusion. | |
6724 | |
3739 | 6725 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6726 | |
6727 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the | |
6728 end of the list, to be compatible with previous versions of Octave. | |
6729 | |
3736 | 6730 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
6731 | |
6732 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, | |
6733 since mktime is supposed to `normalize' the results for us. | |
6734 | |
3731 | 6735 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
6736 | |
6737 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices | |
3732 | 6738 and vectors. Use xelem for faster access to elements when copying. |
3731 | 6739 |
3726 | 6740 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6741 | |
6742 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): | |
6743 Correct indexing for operation across rows. | |
6744 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. | |
6745 | |
3725 | 6746 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
6747 | |
6748 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying | |
6749 elements if arg is a colon. | |
6750 | |
5095 | 6751 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
3723 | 6752 |
3795 | 6753 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723 | 6754 (Matrix::cumsum (int) const): Likewise. |
6755 (Matrix::prod (int) const): Likewise. | |
6756 (Matrix::sum (int) const): Likewise. | |
6757 (Matrix::sumsq (int) const): Likewise. | |
6758 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. | |
6759 (ComplexMatrix::cumsum (int) const): Likewise. | |
6760 (ComplexMatrix::prod (int) const): Likewise. | |
6761 (ComplexMatrix::sum (int) const): Likewise. | |
6762 (ComplexMatrix::sumsq (int) const): Likewise. | |
6763 | |
3722 | 6764 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6765 | |
6766 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set | |
6767 size if Array<T>::index returns an empty array. | |
6768 | |
3710 | 6769 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6770 | |
6771 * file-ops.cc (file_ops::link, file_ops::symlink, | |
6772 file_ops::readlink): New functions. | |
6773 | |
3709 | 6774 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6775 | |
6776 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is | |
6777 indexed, always return an object the same size as the index arg. | |
6778 | |
6779 * oct-time.cc (octave_base_tm::strftime): Return empty string for | |
6780 empty format. | |
6781 | |
3706 | 6782 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6783 | |
6784 * lo-cutils.c (oct_strptime): New function. | |
6785 * oct-time.cc (octave_strptime::init): Call it instead of strptime. | |
6786 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. | |
6787 | |
3702 | 6788 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6789 | |
3703 | 6790 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
6791 | |
3702 | 6792 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
6793 | |
3689 | 6794 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6795 | |
6796 * dMatrix.h (read_int): Provide declaration. | |
6797 | |
3688 | 6798 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
6799 | |
6800 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. | |
6801 (write_doubles): Ditto. | |
6802 * data-conv.h: Ditto. | |
6803 (enum save_type): New values, LS_U_LONG and LS_LONG. | |
6804 | |
3685 | 6805 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
6806 | |
6807 * boolMatrix.h: Declare MM_CMP_OPS here. | |
6808 * boolMatrix.cc: Define them here. | |
6809 | |
3680 | 6810 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6811 | |
6812 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is | |
6813 previously undefined and set size of x to size of bool index. | |
6814 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): | |
6815 Allow z_len to be zero. | |
6816 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. | |
6817 If frozen, don't assert that frozen_at_z_len == z_len. | |
6818 | |
3670 | 6819 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6820 | |
6821 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen | |
6822 instead of rl_clear_screen. | |
6823 | |
3665 | 6824 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6825 | |
6826 * Array-d.cc: Instantiate ArrayN<double> here too. | |
6827 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. | |
6828 * Makefile.in: Add them to the appropriate lists. | |
6829 | |
3657 | 6830 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6831 | |
6832 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. | |
6833 | |
3635 | 6834 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6835 | |
6836 * lo-sysdep.h: octave_chdir returns int, not bool. | |
6837 | |
3615 | 6838 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
6839 | |
6840 * Makefile.in (liboctave.$(SHLEXT)): Delete target | |
6841 before rebuilding. | |
6842 | |
5095 | 6843 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
3615 | 6844 |
5261 | 6845 * Makefile.in (liboctave.$(LIBEXT)): New target. |
3615 | 6846 (libraries): Depend only on library targets, not archive members. |
6847 | |
3613 | 6848 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6849 | |
6850 * Makefile.in: (objects): New target. | |
6851 | |
6852 * lo-cutils.c: New file. | |
6853 * Makefile.in (SOURCES): Add it to the list. | |
6854 * lo-utils.h: Declare octave_qsort here. | |
6855 * Array.h (Array::qsort): Use it here. | |
6856 | |
3607 | 6857 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6858 | |
6859 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. | |
6860 | |
3598 | 6861 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6862 | |
6863 * oct-rl-hist.c (octave_history_list): Do something when not | |
6864 printing line numbers. Fix reallocation of retval. | |
6865 | |
3597 | 6866 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6867 | |
6868 * Makefile.in (install-inc): Install files in | |
6869 $(octincludedir)/octave. | |
6870 (uninstall): Remove them from the correct directory too. | |
6871 | |
6872 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if | |
6873 they are not already defined. | |
6874 | |
3588 | 6875 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6876 | |
6877 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: | |
6878 Delete declarations and definitions of mixed-type vector-vector ops. | |
6879 | |
3585 | 6880 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6881 | |
6882 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS | |
6883 matrix and vector objects. | |
6884 | |
6885 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to | |
6886 return type from second arg type. | |
6887 (MDM_BIN_OP): Likewise, for first arg type. | |
6888 | |
6889 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
6890 Matrix::fourier2d, Matrix::ifourier2d): Likewise. | |
6891 | |
6892 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly | |
6893 request ColumnVector to ComplexColumnVector, and Matrix to | |
6894 ComplexMatrix conversions. | |
6895 | |
6896 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its | |
6897 initial value using ComplexMatrix constructor. | |
6898 | |
6899 * CColVector.cc (product, quotient, | |
6900 operator * (const DiagMatrix&, const ComplexColumnVetor&)): | |
6901 Fix type of returned value. | |
6902 * CDiagMatrix.cc (ComplexDiagMatrix::row, | |
6903 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. | |
6904 | |
6905 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, | |
6906 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, | |
6907 dRowVector.h: Declare some constructors explicit, to disallow | |
6908 potentially problematic automatic type conversions. | |
6909 | |
3580 | 6910 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
6911 | |
3582 | 6912 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
6913 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: | |
6914 More new files. | |
6915 * Makefile.in: Add them to the appropriate lists. | |
6916 | |
6917 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, | |
6918 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, | |
6919 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, | |
6920 vx-s-crv.cc:, New files. | |
6921 * Makefile.in: Add them to the appropriate lists. | |
6922 | |
6923 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: | |
6924 Delete scalar by vector and vector by scalar binary ops. | |
6925 | |
3580 | 6926 * MArray-defs.h: More new macros to handle MDiagArray operators. |
6927 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. | |
6928 | |
3573 | 6929 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
6930 | |
3578 | 6931 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
6932 rl_event_hook before casting to void **. | |
6933 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. | |
6934 | |
3574 | 6935 * MArray-defs.h: Many new macros to make declaration and |
6936 definition of operators more consistent. | |
6937 | |
6938 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, | |
6939 CRowVector.h, dMatrix.h, CMatrix.h: Use them. | |
3573 | 6940 |
3569 | 6941 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6942 | |
3572 | 6943 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
6944 (Matrix::ifourier2d): Likewise. | |
6945 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. | |
6946 (ComplexMatrix::ifourier2d): Likewise. | |
6947 | |
3569 | 6948 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
6949 | |
3504 | 6950 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6951 | |
3519 | 6952 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
6953 readline library. | |
6954 * Makefile.in: Add them to the appropriate lists. | |
6955 | |
6956 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU | |
6957 readline history library. | |
6958 * Makefile.in: Add them to the appropriate lists. | |
6959 | |
3517 | 6960 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
6961 (LS_DO_READ): Likewise, for istream::read. | |
3518 | 6962 (write_doubles): Likewise. |
6963 (read_doubles): Likewise. | |
3517 | 6964 |
3516 | 6965 * oct-env.cc (octave_env::do_polite_directory_format): |
6966 Use operator== and substr method to do limited-length string | |
6967 comparison. | |
6968 | |
3513 | 6969 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512 | 6970 |
3511 | 6971 * Quad.h: Use do_integrate as name of pure virtual function. |
6972 | |
3508 | 6973 * base-de.h: Use tt instead of t as arg names. |
3511 | 6974 Add method with tcrit arg. |
6975 | |
3509 | 6976 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508 | 6977 |
3507 | 6978 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
6979 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. | |
6980 * Quad.cc (quad_fcn_ptr): Ditto. | |
6981 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. | |
6982 | |
3505 | 6983 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519 | 6984 * Makefile.in: Add them to the appropriate lists. |
3505 | 6985 |
6986 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. | |
3519 | 6987 * Makefile.in: Add them to the appropriate lists. |
3505 | 6988 |
3504 | 6989 * dMatrix.cc (write_int, read_int): No longer declared static. |
6990 | |
6991 * CDiagMatrix.h: Delete decls for friend operators that are | |
6992 handled by MDiagArray2 class. Move others outside class decl and | |
6993 strip friend status. | |
6994 * dDiagMatrix.h: Likewise. | |
6995 | |
6996 * MArray.h: Delete decls for friend operators inside class decl. | |
6997 * MArray2.h: Ditto. | |
6998 * MDiagArray2.h: Ditto. | |
6999 | |
7000 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all | |
7001 necessary parameters. Don't allocate memory in the macro. Change | |
7002 all uses. | |
7003 | |
7004 * dMatrix.h (class Matrix): Delete `friend class' decls. | |
7005 * CMatrix.h (class ComplexMatrix): Ditto. | |
7006 | |
7007 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, | |
7008 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, | |
7009 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to | |
7010 avoid type conflicts. Change all uses. | |
7011 | |
7012 * strptime.c (__mon_yday): Fix size of array decl. | |
7013 | |
7014 * mx-inlines.cc: Use `xnot' instead of `not' for function name. | |
7015 | |
7016 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous | |
7017 default value for second arg. | |
7018 | |
7019 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to | |
7020 references to ArrayRep. | |
7021 | |
3503 | 7022 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
7023 | |
3504 | 7024 * Array.h (Array::ArrayRep): Now protected, not private. |
3503 | 7025 |
7026 * All source files: Include iostream, fstream, strstream, | |
7027 etc. as needed instead of using forward declarations for these | |
3504 | 7028 classes. Add std:: qualifier as needed. |
3503 | 7029 |
3498 | 7030 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
7031 | |
7032 * oct-time.cc: Declare strptime extern "C". | |
7033 | |
3496 | 7034 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7035 | |
7036 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. | |
7037 | |
3488 | 7038 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
7039 | |
3492 | 7040 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
7041 * Array3.h, Array3.cc: Use it in constructors and resize methods | |
7042 to get total size to be allocated. | |
7043 | |
3488 | 7044 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
7045 as bool, not int. | |
7046 | |
3482 | 7047 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
7048 | |
7049 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
7050 Allow A(idx) = RHS if idx is a boolean index with the same shape | |
7051 as A, even when do_fortran_indexing is not enabled. | |
7052 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). | |
7053 | |
3473 | 7054 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
7055 | |
3480 | 7056 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
7057 function pointer as final arg. Passed function (if any) will be | |
7058 called for singularity errors. | |
7059 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. | |
7060 | |
7061 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. | |
7062 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
7063 | |
3475 | 7064 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
7065 No longer bother with infinity or quiet_nan. | |
7066 | |
3473 | 7067 * Array2.cc (Array2<T>::get_size): New function. |
7068 (Array2<T>::Array2, Array2<T>::resize): Use it. | |
7069 | |
3472 | 7070 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7071 | |
7072 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): | |
7073 New function. | |
7074 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
7075 Use it when indexing with one arg instead of faking a second one. | |
7076 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): | |
7077 Return empty matrices with the correct dimensions for A(:,:) = [] | |
7078 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all | |
7079 rows or columns. | |
7080 | |
7081 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool | |
7082 vector that is all true values with a length equal to n as colon | |
7083 equivalent. | |
7084 | |
3470 | 7085 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
7086 | |
7087 * strptime.c: Only include langinfo.h if _LIBC is defined. | |
7088 | |
5095 | 7089 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468 | 7090 |
7091 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling | |
7092 operations directly in step 2 and reverse step 2. | |
7093 * dMatrix.cc (Matrix::expm): Apply permutation and scaling | |
7094 operations directly in step 2 and reverse step 2. | |
7095 | |
3465 | 7096 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
7097 | |
7098 * oct-time.h, oct-time.cc (octave_strptime): New class. | |
7099 | |
7100 * strptime.c: New file, from glibc 2.1.2. | |
7101 * Makefile.in (SOURCES): Add strptime.c to the list. | |
7102 | |
3419 | 7103 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7104 | |
7105 * MArray.h (MArray <const Array<T>&)): New constructor. | |
7106 | |
3415 | 7107 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
7108 | |
7109 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing | |
7110 NULL directory list returned from kpse_element_dirs | |
7111 | |
3375 | 7112 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
7113 | |
7114 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. | |
7115 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF | |
7116 directly, instead of calling ZGESV. | |
7117 | |
3358 | 7118 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7119 | |
7120 * data-conv.cc (init_sized_type_lookup_table): New function. | |
7121 (string_to_data_type): Use it to improve lookup of data types. | |
7122 | |
3354 | 7123 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
7124 | |
7125 * dMatrix.cc (is_symmetric): Move here from Array2.cc. | |
7126 * Array2.h (is_symmetric): Delete declaration. | |
7127 | |
3347 | 7128 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
7129 | |
7130 * oct-env.cc (do_get_user_name): Reverse sense of test. | |
7131 | |
3344 | 7132 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
7133 | |
7134 * oct-time.cc (Fstrftime): Undo previous change. | |
7135 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
7136 | |
3334 | 7137 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
7138 | |
3336 | 7139 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
7140 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. | |
7141 | |
3334 | 7142 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
7143 Don't forget to pass length of third string argument to dgeesx. | |
7144 | |
7145 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length | |
7146 of third string argument to zgeesx. | |
7147 | |
3333 | 7148 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
7149 | |
7150 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): | |
7151 On errors, simply return `T ()'. | |
7152 (DiagArray2<T>::checkelem (int, int)): Likewise. | |
7153 | |
5095 | 7154 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3331 | 7155 |
7156 * dMatrix.cc (Matrix::expm): Do balancing here instead of using | |
7157 AEPBALANCE class. | |
7158 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
7159 | |
3325 | 7160 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7161 | |
7162 * oct-shlib.cc, oct-shlib.h: New files. | |
7163 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
7164 | |
3322 | 7165 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
7166 | |
7167 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. | |
7168 * dRowVector.cc (linspace): Ditto. | |
7169 | |
7170 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. | |
7171 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
7172 | |
3312 | 7173 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
7174 | |
7175 * DASSL.cc (DASSL::do_integrate (double)): If we have a function | |
7176 to evaluate the Jacobian, set info(4), not iwork(4). | |
7177 Set rwork(1) to the maximum step size, not rwork(2). | |
7178 | |
3290 | 7179 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7180 | |
7181 * oct-time.cc: Include <climits>. | |
7182 | |
3281 | 7183 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
7184 | |
7185 * cmd-edit.h (command_editor::do_resize_terminal): New function. | |
7186 * cmd-edit.cc (command_editor::resize_terminal): New function. | |
7187 (gnu_readline::do_resize_terminal): New function. | |
7188 | |
3268 | 7189 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7190 | |
7191 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. | |
7192 * lo-ieee.c: Likewise. | |
7193 Delete extern "C" declarations for infinity and quiet_nan. | |
7194 | |
3262 | 7195 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7196 | |
3263 | 7197 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
7198 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions | |
7199 `inline', not `static inline'. | |
7200 | |
3262 | 7201 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
7202 then cast to const int * to compare. | |
7203 | |
3257 | 7204 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7205 | |
7206 * DAEFunc.h: Remove useless preprocessor conditional. | |
7207 | |
3255 | 7208 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7209 | |
3257 | 7210 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
7211 Use octave_time object instead of time_t. | |
7212 | |
7213 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, | |
7214 file_stat::fs_ctime): Now octave_time objects. | |
7215 (file_stat::atime, file_stat::mtime, file_stat::ctime): | |
7216 Return octave_time objects. | |
7217 (file_stat::is_newer): Args are now octave_time objects instead of | |
7218 time_t. | |
7219 | |
3255 | 7220 * oct-time.h (octave_time::as_double): Delete. |
7221 (octave_time::operator double ()): New function. | |
7222 (octave_time::operator time_t ()): New function. | |
7223 (octave_time::ctime): New function. | |
7224 (octave_base_tm::strftime): Renamed from format_as_string. | |
7225 (octave_base_tm::asctime): New function. | |
7226 (operator == (const octave_time&, const octave_time&), | |
7227 operator != (const octave_time&, const octave_time&), | |
7228 operator < (const octave_time&, const octave_time&), | |
7229 operator <= (const octave_time&, const octave_time&), | |
7230 operator > (const octave_time&, const octave_time&), | |
7231 operator >= (const octave_time&, const octave_time&)): | |
7232 New comparison functions. | |
7233 | |
7234 * strftime.c: Move here from src directory. | |
7235 * Makefile.in (SOURCES): Add it to the list. | |
7236 | |
7237 * oct-time.h (octave_time::octave_time (time_t)): New constructor. | |
7238 | |
3253 | 7239 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7240 | |
7241 * oct-time.h, oct-time.cc: New files. | |
7242 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
7243 | |
7244 * systime.h: Move here from src directory. | |
7245 * Makefile.in (INCLUDES): Add it to the list. | |
7246 | |
3248 | 7247 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7248 | |
7249 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. | |
7250 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. | |
7251 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. | |
7252 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. | |
7253 | |
7254 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. | |
7255 | |
3243 | 7256 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7257 | |
7258 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. | |
7259 | |
7260 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7261 | |
7262 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a | |
7263 column vector for A(:), for compatibility with Matlab. | |
7264 | |
7265 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7266 | |
7267 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set | |
7268 iopt when there are optional inputs in rwork or iwork. | |
7269 | |
3238 | 7270 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7271 | |
7272 * Makefile.in (libraries): Use the libfoo.a(objects) method of | |
7273 creating static libs. | |
7274 | |
5095 | 7275 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
3238 | 7276 |
7277 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 | |
7278 and uint32 data types. | |
7279 | |
7280 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7281 | |
7282 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code | |
7283 for Linux. Remove old Linux-specific code. | |
7284 | |
3233 | 7285 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7286 | |
7287 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): | |
7288 Don't require lengths to be equal. | |
7289 * CMatrix.cc (operator * (const ComplexColumnVector& v, const | |
7290 ComplexRowVector& a)): Likewise | |
7291 | |
5095 | 7292 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
3225 | 7293 |
7294 * statdefs.h: Only define mode_t if not already defined. | |
7295 | |
5095 | 7296 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
3225 | 7297 |
7298 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero | |
7299 when appropriate. | |
7300 | |
7301 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7302 | |
7303 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name | |
7304 before calling rl_initialize. | |
7305 | |
3220 | 7306 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7307 | |
7308 * lo-specfun.cc (besselh, airy, biry): New functions. | |
7309 Update Bessel function support to use library by D. E. Amos. | |
7310 | |
3219 | 7311 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7312 | |
7313 * cmd-edit.h (command_editor::readline): Add new variation that | |
7314 allows EOF information to be passed back to caller. | |
7315 | |
7316 * dMatrix.cc (Matrix::read): Do the right thing for EOF when | |
7317 amount of data to read is unspecified. | |
7318 | |
3215 | 7319 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7320 | |
3219 | 7321 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
7322 (DEFINE_OCTAVE_ALLOCATOR): Ditto. | |
7323 | |
3215 | 7324 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
7325 Add volatile qualifier to void* arg. | |
7326 Cast volatile void* arg to volatile char*. | |
7327 | |
7328 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7329 | |
7330 * cmd-edit.h (command_editor::do_set_event_hook): New function. | |
7331 (command_editor::do_restore_event_hook): Ditto. | |
7332 * cmd-edit.cc (command_editor::set_event_hook): Ditto. | |
7333 (command_editor::restore_event_hook): Ditto. | |
7334 (gnu_readline::do_set_event_hook): Ditto. | |
7335 (gnu_readline::do_restore_event_hook): Ditto. | |
7336 (gnu_readline::previous_event_hook): New data member. | |
7337 (gnu_readline::gnu_readline): Initialize previous_event_hook. | |
7338 | |
3206 | 7339 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7340 | |
7341 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. | |
7342 | |
7343 * Makefile.in (stmp-pic): New target. | |
7344 ($(PICOBJ)): Depend on stmp-pic, not pic. | |
7345 (clean): Remove stmp-pic | |
7346 | |
7347 * Makefile.in: Undo previous change to avoid optmization when | |
7348 compiling lo-ieee.cc. | |
7349 | |
7350 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7351 | |
7352 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and | |
7353 imaginary parts. | |
7354 (xisinf): Define in terms of xisinf for real and imaginary parts. | |
7355 | |
3203 | 7356 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7357 | |
7358 * boolMatrix.cc (boolMatrix::operator !): New function. | |
7359 | |
3196 | 7360 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7361 | |
7362 * pathsearch.h (dir_path::default_path): New data member. | |
7363 * pathsearch.cc (dir_path::init): Use it. | |
7364 | |
7365 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. | |
7366 | |
3189 | 7367 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7368 | |
7369 * chMatrix.cc (charMatrix::extract): New function. | |
7370 (charMatrix::charMatrix (char c)): New constructor. | |
7371 | |
7372 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7373 | |
7374 * cmd-edit.h: (command_editor::do_read_init_file): New function. | |
7375 * cmd-edit.cc (command_editor::read_init_file): New function. | |
7376 (gnu_readline::do_read_init_file): Likewise. | |
7377 | |
3185 | 7378 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7379 | |
7380 * oct-env.cc (octave_env::do_get_home_directory): | |
7381 If HOME can't be found, set it to "/". | |
7382 (octave_env::do_get_user_name) | |
7383 If user name can't be found, set it to "unknown". | |
7384 (octave_env::do_get_host_name) | |
7385 If host name can't be found, set it to "unknown". | |
7386 | |
7387 * pathsearch.h (dir_path::rehash): New function. | |
7388 * pathsearch.cc (dir_path::init): Clear kpathsea's internal | |
7389 diretcory cache before doing initialization. | |
7390 | |
3180 | 7391 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7392 | |
3185 | 7393 * dMatrix.cc (Qzval): Delete. |
7394 (qzhes, qzit, qzval): Delete F77_FCN declarations. | |
7395 * dMatrix.h (Qzval): Delete declaration. | |
7396 | |
7397 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. | |
7398 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. | |
7399 * mx-ext.h: Don't include dbleGEPBAL. | |
7400 | |
3180 | 7401 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
7402 static_cast. | |
7403 | |
7404 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7405 | |
7406 * dMatrix.cc (Matrix::read): Skip after reading, not before. | |
7407 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. | |
7408 | |
7409 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7410 | |
7411 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on | |
7412 HUGE_VAL and NAN. | |
7413 | |
7414 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7415 | |
7416 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
7417 Handle x(i) = scalar for do_fortran_indexing == 1. | |
7418 | |
7419 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7420 | |
7421 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): | |
7422 Alloctate space before attempting to use it. | |
7423 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. | |
7424 | |
5095 | 7425 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
3178 | 7426 |
7427 * EIG.cc (EIG::init): Move invariant code outside loop. | |
7428 | |
7429 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7430 | |
7431 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result | |
7432 have the same size as the operands. | |
7433 | |
7434 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7435 | |
7436 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the | |
7437 call to ddassl, set integration_error to 1 before calling the | |
7438 error handler and returning. | |
7439 * LSODE.cc (LSODE::do_integrate): Likewise. | |
7440 | |
3177 | 7441 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7442 | |
7443 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if | |
7444 do_fortran_indexing is set, A([]) = scalar. | |
7445 * Array-idx.h (assign): Allow A([]) = scalar. | |
7446 | |
3176 | 7447 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7448 | |
7449 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not | |
7450 if dm_nc == 0. | |
7451 | |
3174 | 7452 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7453 | |
7454 * pathsearch.h (dir_path::p_orig): New field. | |
7455 * pathsearch.cc (dir_path::init): Perform variable and tilde | |
7456 expansion on the original path here. | |
7457 (dir_path::find_all): Don't do anything if not initialized. | |
7458 | |
3164 | 7459 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7460 | |
7461 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing | |
7462 is not set. | |
7463 (index): Allow x = zeros (2, 0); x(1,:) to work. | |
7464 | |
7465 * lo-specfun.cc (gammainc): Use dgamit to compute | |
7466 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just | |
7467 \int_0^x exp(-t) t^(a-1) dt. | |
7468 | |
7469 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7470 | |
7471 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, | |
7472 Array-s.cc: Change return types of all `assign' explicit | |
7473 instantiations to be int, not void, to match the template decl in | |
7474 Array.h. | |
7475 | |
3162 | 7476 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7477 | |
7478 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. | |
7479 | |
3156 | 7480 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7481 | |
7482 * lo-specfun.cc (xgamma, xlgamma): Define here. | |
7483 * lo-mappers.cc: Not here. | |
7484 | |
7485 * lo-specfun.h: Declare xgamma and xlgamma here. | |
7486 * lo-mappers.h: Not here. | |
7487 | |
7488 * lo-specfun.h: Never declare gamma or lgamma. | |
7489 | |
3154 | 7490 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7491 | |
7492 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an | |
7493 empty matrix of any dimension. | |
7494 | |
3145 | 7495 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7496 | |
3147 | 7497 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
7498 | |
3146 | 7499 * lo-specfun.cc: Don't include dbleBessel.h. |
7500 | |
7501 * Makefile.in (INCLUDES): Delete oct-math.h from the list. | |
7502 | |
3145 | 7503 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
7504 * file-stat.h (file_stat::operator bool ()): Likewise. | |
7505 * idx-vector.h (idx_vector::operator bool ()): Likewise. | |
7506 * oct-group.h (octave_group::operator bool ()): Likewise. | |
7507 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. | |
7508 | |
7509 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): | |
7510 Don't cast arg in call to swap_8_bytes. | |
7511 (IEEE_big_double_to_IEEE_little_double): Ditto | |
7512 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to | |
7513 swap_4_bytes. | |
7514 (IEEE_little_float_to_IEEE_big_float): Ditto | |
7515 | |
7516 * oct-alloc.cc (grow): Use X_CAST, not static_cast. | |
7517 * prog-args.cc (prog_args::getopt): Likewise. | |
7518 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. | |
7519 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. | |
7520 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): | |
7521 Likewise. | |
7522 | |
7523 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, | |
7524 swap_8_bytes): Declare ptr arg as void*, then use cast. | |
7525 | |
3141 | 7526 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7527 | |
7528 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). | |
7529 Use $(mk-libdir-link). | |
7530 | |
7531 * file-stat.cc (file_stat::update_internal): Use stat and lstat, | |
7532 not SAFE_STAT and SAFE_LSTAT. | |
7533 (lstat): New function, defined if HAVE_LSTAT is not defined. | |
7534 * safe-xstat.hin, safe-xstat.cin: Delete. | |
7535 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, | |
7536 safe-lstat.h, and safe-lstat.cc. | |
7537 | |
3136 | 7538 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7539 | |
7540 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. | |
7541 | |
3130 | 7542 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7543 | |
7544 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the | |
7545 trace is negative. | |
7546 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if | |
7547 the real part of the trace is negative. | |
7548 | |
7549 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7550 | |
7551 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. | |
7552 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. | |
7553 | |
7554 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] | |
7555 to succeed. | |
7556 | |
3125 | 7557 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7558 | |
7559 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. | |
7560 (make_uniq): Likewise. | |
7561 | |
7562 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7563 | |
7564 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. | |
7565 | |
3119 | 7566 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7567 | |
3121 | 7568 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
7569 | |
7570 * lo-specfun.h, lo-specfun.cc: New files. | |
3119 | 7571 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
7572 | |
3121 | 7573 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
7574 oct-math.h: Delete. | |
7575 * Makefile.in (SOURCES): Delete them from the list. | |
7576 | |
3112 | 7577 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7578 | |
7579 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. | |
7580 | |
5095 | 7581 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
3107 | 7582 |
7583 Changes to make support egcs snapshots that implement explicit | |
7584 specification of template functions according to CD2. | |
7585 | |
7586 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit | |
7587 template function specs for template friends. | |
7588 * MArray2.h: Likewise. | |
7589 * MDiagArray2.h: Likewise. | |
7590 | |
3095 | 7591 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7592 | |
7593 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) | |
7594 | |
3092 | 7595 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
7596 | |
7597 * CRowVector.cc (linspace): Removed attempt for implicit conversion | |
7598 to complex<double>(int) instead of complex<double>(double). | |
7599 | |
7600 * lo-mappers.cc (atanh): Ditto. | |
7601 | |
3079 | 7602 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7603 | |
7604 * idx-vector.cc (IDX_VEC_REP::sort): New function. | |
7605 * idx-vector.h (idx_vector::sort): Ditto. | |
7606 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before | |
7607 trying to delete elements specified by the index vectors. | |
7608 | |
3075 | 7609 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7610 | |
7611 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. | |
7612 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. | |
7613 | |
3074 | 7614 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7615 | |
7616 * file-ops.cc (tilde_expand_word): Fix off-by-one error. | |
7617 | |
3069 | 7618 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7619 | |
7620 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. | |
7621 Call error handler if we can't find the current directory. | |
7622 | |
3068 | 7623 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7624 | |
3069 | 7625 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
7626 (xfinite (double)): Ditto. | |
7627 | |
3068 | 7628 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
7629 * CmplxQR.cc (ComplexQR::init): Ditto. | |
7630 | |
3056 | 7631 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7632 | |
7633 * lo-mappers.cc (acos (const Complex&)): Select branch that is | |
7634 compatible with Matlab. | |
7635 | |
3050 | 7636 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7637 | |
7638 * Array2-idx.h: Correctly handle empty matrices indexed by a | |
7639 single colon. | |
7640 | |
3040 | 7641 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7642 | |
3049 | 7643 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
7644 (xgamma): Likewise, for calling xdgamma. | |
7645 | |
3042 | 7646 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
7647 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. | |
7648 | |
3040 | 7649 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
7650 to do better job expanding tildes. | |
7651 | |
7652 * str-vec.cc (string_vector::string_vector (const char * const *): | |
7653 Use temporary variable to compute length. | |
7654 | |
3029 | 7655 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7656 | |
3034 | 7657 * Makefile.in: Make building of static library optional. |
3036 | 7658 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034 | 7659 |
3029 | 7660 * Makefile.in (stamp-picdir): Delete. |
7661 (pic): New target. Don't worry so much about creating pic | |
7662 directory only when it is really needed. | |
7663 (stamp-interp): Delete. | |
7664 (libraries): New target. Depend on shared library directly. | |
7665 | |
3024 | 7666 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7667 | |
7668 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): | |
7669 New static function. | |
7670 | |
3012 | 7671 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7672 | |
7673 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. | |
7674 | |
3004 | 7675 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7676 | |
7677 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to | |
7678 set_basic_quote_characters, to match new version of readline. | |
7679 | |
7680 * cmd-edit.cc (do_restore_terminal_state): Call readline function | |
7681 for restoring terminal state through rl_deprep_term_function, now | |
7682 declared in readline.h | |
7683 (rl_deprep_terminal): Delete declaration. | |
7684 | |
2993 | 7685 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7686 | |
7687 * Makefile.in (install-in): Use new mk-includedir-link macro. | |
7688 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. | |
7689 | |
2968 | 7690 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7691 | |
7692 * cmd-edit.cc (command_editor::increment_current_command_number): | |
7693 New static function. | |
7694 | |
2964 | 7695 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7696 | |
2966 | 7697 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
7698 the vector is not sorted. | |
7699 | |
2964 | 7700 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
7701 * dMatrix.cc (Matrix::operator !): Likewise | |
7702 | |
2941 | 7703 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7704 | |
7705 * oct-syscalls.h, oct-syscalls.cc: New files. | |
7706 | |
7707 * cmd-edit.h, cmd-edit.cc: Handle completion function. | |
7708 | |
7709 * str-vec.h, str-vec.cc (string_vector::uniq): New function. | |
7710 | |
2938 | 7711 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7712 | |
2941 | 7713 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
7714 (install-inc): Use it. | |
7715 | |
2938 | 7716 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
7717 Handle errors and missing functions consistently. | |
7718 | |
7719 * oct-group.h, oct-group.cc: New files. | |
7720 | |
7721 * oct-passwd.cc: Handle errors and missing functions consistently. | |
7722 | |
7723 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. | |
7724 | |
2934 | 7725 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7726 | |
7727 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. | |
7728 * oct-env.cc (octave_env::do_get_user_name): Likewise. | |
7729 | |
7730 * oct-passwd.h, oct-passwd.cc: New files. | |
7731 | |
2926 | 7732 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7733 | |
7734 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. | |
7735 | |
7736 * mach-info.h, mach-info.cc: Add missing const qualifiers. | |
7737 (instance_ok ()): New function. | |
7738 | |
7739 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. | |
7740 | |
7741 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. | |
7742 | |
7743 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from | |
7744 src/utils.h and src/utils.cc. | |
7745 (octave_fgets): New function, extracted from src/input.cc. | |
7746 | |
7747 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for | |
7748 GNU readline, and allow Octave to work without GNU readline. | |
7749 | |
7750 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous | |
7751 system-dependent functions. | |
7752 | |
7753 * oct-env.h, oct-env.cc: New files for process environment stuff. | |
7754 | |
7755 * file-stat.h, file-stat.cc: New files. Extract file_stat class | |
7756 from file-ops.h and file-ops.cc and move here. | |
7757 | |
7758 * file-ops.h, file-ops.cc: Wrap functions in struct. Move | |
7759 tilde_expand functions here from src/dirfns.cc. | |
7760 | |
7761 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7762 | |
7763 * pathlen.h: New file, from ../src. | |
7764 | |
2917 | 7765 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7766 | |
7767 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent | |
7768 out-of-bounds indexing of the index array. | |
7769 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. | |
7770 | |
2850 | 7771 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7772 | |
7773 * LSODE.h (x_step_limit): New field. | |
7774 (LSODE_options::init): Initialize it. | |
7775 (LSODE_options::copy): Copy it. | |
7776 (LSODE_options::set_step_limit, LSODE_options::step_limit): | |
7777 New functions. | |
7778 (LSODE::working_too_hard): Delete. | |
7779 * LSODE.cc (LSODE::do_integrate): Handle step limit. | |
7780 | |
2844 | 7781 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7782 | |
7783 * MArray-b.cc: Delete. | |
7784 * Makefile.in: Delete it from the lists. | |
7785 | |
7786 * boolMatrix.h (class bboolMatrix): Derive from Array2, not | |
7787 MArray2, since most of the numeric ops don't really make sense. | |
7788 | |
2829 | 7789 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7790 | |
2832 | 7791 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
7792 | |
7793 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. | |
7794 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. | |
7795 | |
2830 | 7796 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
7797 idx_vector::freeze): Delete prefer_zero_one arg. | |
7798 * Array-idx.h, Array2-idx.h: Change all callers. | |
7799 | |
7800 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. | |
7801 | |
2829 | 7802 * mx-op-defs.h: New file for operator definitions. |
7803 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, | |
7804 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, | |
7805 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, | |
7806 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, | |
7807 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, | |
7808 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, | |
7809 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, | |
7810 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, | |
7811 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, | |
7812 mx-s-cm.cc, mx-s-dm.cc: | |
7813 New files for mixed-type operations. | |
7814 * Makefiles.in: Add them to the appropriate lists. | |
7815 | |
7816 * mx-inlines.cc: Add bool by bool EQ ops. | |
7817 | |
7818 * idx-vector.h, idx-vector.cc: Add constructors for bool and | |
7819 boolMatrix types. | |
7820 (idx_vector::maybe_convert_one_zero_to_idx, | |
7821 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): | |
7822 Delete second arg, prefer_zero_one. Change all callers. | |
7823 | |
7824 * boolMatrix.h, boolMatrix.cc: New files. | |
7825 * mx-base.h: Include boolMatrix.h here. | |
7826 * mx-defs.h: Provide forward declaration for boolMatrix here. | |
7827 | |
7828 * chMatrix.h, chMatrix.cc: Delete unused junk. | |
7829 | |
7830 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, | |
7831 operator-, operator*, product, and quotient functions. | |
7832 Add constructor for boolMatrix type. | |
7833 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, | |
7834 product, and quotient functions. | |
7835 | |
7836 * CDiagMatrix.h: Delete friend declarations for operator+, | |
7837 operator-, and product functions. | |
7838 * CDiagMatrix.h: Delete operator+, operator-, and product functions. | |
7839 | |
7840 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. | |
7841 | |
2815 | 7842 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7843 | |
7844 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. | |
7845 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. | |
7846 (EIG::symmetric_init (const Matrix&)): New function. | |
7847 (EIG::init (const Matrix&)): Call it if arg is symmetric. | |
7848 | |
7849 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. | |
7850 | |
7851 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7852 | |
7853 * Array2.cc (is_symmetric): New function. | |
7854 * Array2.h (is_square): New function. | |
7855 | |
2811 | 7856 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7857 | |
7858 * Makefile.in (install-strip): New target. | |
7859 | |
2804 | 7860 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7861 | |
7862 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
7863 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, | |
7864 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
7865 dbleSVD.cc: Don't include mx-inlines.cc. | |
7866 | |
7867 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of | |
7868 duplicate code. | |
7869 | |
2800 | 7870 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7871 | |
2804 | 7872 * dbleQR.h (QR): Delete extra comma at end of list. |
7873 | |
7874 * prog-args.cc (prog_args::getopt): Add missing const in cast. | |
7875 | |
7876 * dbleSVD.h (SVD::type): Delete extra comma at end of list. | |
7877 | |
7878 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and | |
7879 idx_vecotr_rep:: qualifiers. | |
7880 | |
7881 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. | |
7882 | |
7883 * data-conv.h (save_type): Delete extra comma at end of list. | |
7884 | |
2800 | 7885 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
7886 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, | |
7887 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of | |
7888 old C-style `(T) val' casts. | |
7889 | |
2795 | 7890 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7891 | |
7892 * dMatrix.cc (operator >>): Return if an error occurs instead of | |
7893 just breaking out of the innermost loop. | |
7894 * CMatrix.cc (operator >>): Likewise. | |
7895 | |
2779 | 7896 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775 | 7897 |
7898 * Version 2.0.5 released. | |
7899 | |
2767 | 7900 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7901 | |
7902 * CmplxQR.cc (ComplexQR::init): New function. | |
7903 (ComplexQR::ComplexQR): Use it. Use initializer list too. | |
7904 * CmplxQRP.cc (ComplexQRP::init): New function. | |
7905 Get sizes right in all cases. | |
7906 (ComplexQR::ComplexQRP): Use it. Use initializer list too. | |
7907 | |
7908 * dbleQR.cc (QR::init): New function. | |
7909 (QR::QR): Use it. Use initializer list too. | |
7910 * dbleQRP.cc (QRP::init): New function. | |
7911 Get sizes right in all cases. | |
7912 (QR::QRP): Use it. Use initializer list too. | |
7913 | |
2759 | 7914 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7915 | |
7916 * mach-info.cc (oct_mach_info::string_to_float_format): | |
7917 Recognize "vaxg", not "vax_g". | |
7918 | |
2713 | 7919 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7920 | |
2714 | 7921 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
7922 dimension in check for colon equivalent index. | |
7923 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element | |
7924 index whose value is 0 is also colon eqivalent for n == 1. | |
7925 | |
2713 | 7926 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
7927 system-specific tests first. | |
7928 | |
2709 | 7929 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702 | 7930 |
7931 * Version 2.0.4 released. | |
7932 | |
7933 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7934 | |
7935 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. | |
7936 | |
2693 | 7937 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690 | 7938 |
7939 * Version 2.0.3 released. | |
7940 | |
2686 | 7941 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7942 | |
7943 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. | |
7944 | |
2673 | 7945 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7946 | |
2676 | 7947 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
7948 (all): Don't depend on stamp-prereq or stamp-picdir. | |
7949 (liboctave.a, stamp-shared): Do depend on stamp-prereq. | |
7950 (stamp-picdir): Silence noise about making pic. | |
7951 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. | |
7952 | |
2673 | 7953 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
7954 Fix typo in last change. | |
7955 | |
7956 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): | |
7957 Convert from friend (moved from dColVector.cc). | |
7958 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): | |
7959 Likewise (moved from dMatrix.cc). | |
7960 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): | |
7961 Likewise (moved from dRowVector.cc). | |
7962 | |
7963 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. | |
7964 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. | |
7965 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. | |
7966 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. | |
7967 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. | |
7968 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. | |
7969 | |
7970 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. | |
7971 * dMatrix.cc (Matrix::apply): Likewise. | |
7972 * dRowVector.cc (RowVector::apply): Likewise. | |
7973 * CColVector.cc (ComplexColumnVector::apply): Likewise. | |
7974 * CMatrix.cc (ComplexMatrix::apply): Likewise. | |
7975 * CRowVector.cc (ComplexRowVector::apply): Likewise. | |
7976 | |
2668 | 7977 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7978 | |
7979 * lo-ieee.cc: Declare quiet_nan() and infinity(). | |
7980 | |
7981 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7982 | |
7983 * file-ops.cc (oct_unlink (const string&, string&)): | |
7984 New two-arg version. | |
7985 (oct_rmdir (const string&, string&)): New two-arg version. | |
7986 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. | |
7987 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. | |
7988 (oct_rename (const string&, const string&, string&)): | |
7989 New three-arg version. | |
7990 | |
2663 | 7991 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7992 | |
7993 * idx-vector.h (idx_vector::orig_empty): New function. | |
7994 | |
7995 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): | |
7996 Don't always resize to [](0x0) if one of the indices is empty or | |
7997 zero. | |
7998 | |
2658 | 7999 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8000 | |
8001 * cmd-hist.cc (command_history::read): New arg, must_exist. | |
8002 Set line_in_file here too. | |
8003 (command_history::read_range): New arg, must_exist. | |
8004 | |
2651 | 8005 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8006 | |
8007 * f2c-main.c: Change C++-style comments to C-style comments. | |
8008 | |
2638 | 8009 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8010 | |
8011 * Makefile.in (install-inc): Create a relative symbolic link. | |
8012 | |
2634 | 8013 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8014 | |
8015 * Version 2.0.2 released. | |
8016 | |
2624 | 8017 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8018 | |
8019 * Makefile.in (bin-dist): New target. | |
8020 | |
2621 | 8021 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8022 | |
8023 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. | |
8024 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. | |
8025 | |
2613 | 8026 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8027 | |
8028 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
8029 If the number of columns is zero, also set the number of rows to zero. | |
8030 (charMatrix::charMatrix (const char *)): Likewise. | |
8031 | |
2602 | 8032 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8033 | |
8034 * Version 2.0.1 released. | |
8035 | |
2601 | 8036 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8037 | |
8038 * dMatrix.cc (Matrix::read): Correctly compute the number of | |
8039 columns for resizing when the number of rows is specified but the | |
8040 number of columns is not. | |
8041 | |
2598 | 8042 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8043 | |
2599 | 8044 * Range.cc (operator -): New function. |
8045 | |
2598 | 8046 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
8047 | |
2589 | 8048 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8049 | |
8050 * Array2-idx.h (assign): Delay resizing left hand side until we | |
8051 know if the assignment conforms. | |
8052 | |
2583 | 8053 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8054 | |
8055 * Version 2.0 released. | |
8056 | |
2570 | 8057 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8058 | |
2575 | 8059 * Array2-idx.h (assign): If index is a colon, set number of |
8060 elements to the lhs dimension if the lhs dimension is greater than | |
8061 zero. Otherwise, set it to the rhs dimension. | |
8062 | |
8063 * Version 1.94. | |
8064 | |
2570 | 8065 * Array2-idx.h (assign): Test for rhs scalar case first. |
8066 If index is colon, set number of elements to lhs dimension, not | |
8067 rhs dimension. | |
8068 | |
2563 | 8069 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8070 | |
2566 | 8071 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
8072 * sun-utils.cc: Delete. | |
8073 * f2c-main.c: New file | |
8074 | |
8075 * Makefile.in: Fix file name lists. | |
8076 | |
2563 | 8077 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
8078 | |
2561 | 8079 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8080 | |
8081 * dMatrix.cc (Qzval): Don't try to use same memory three times. | |
8082 Create result using Complex constructor, not multiplication. | |
8083 Order elements as they are returned from Eispack. | |
8084 | |
2559 | 8085 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8086 | |
2560 | 8087 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
8088 Only include nan.h if SCO is defined. Define _IEEE before | |
8089 including it and undefine it afterward. | |
8090 [SCO] (isnan): Don't mistake Inf as NaN. | |
8091 | |
2559 | 8092 * Array-idx.h (assign): Only resize if assignment conforms. |
8093 | |
2551 | 8094 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8095 | |
8096 * Makefile.in (INCLUDES): Delete lo-error.h. | |
8097 * lo-error.h: Delete (moved to libcruft/misc). | |
8098 | |
8099 * Version 1.93. | |
8100 | |
2546 | 8101 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8102 | |
2549 | 8103 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
8104 be the same as they are in fnmatch.h. | |
8105 | |
2546 | 8106 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
8107 | |
8108 * Makefile.in (INCLUDES): Delete f77-fcn.h. | |
8109 (SOURCES): Delete f77-fcn.c. | |
8110 | |
2522 | 8111 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8112 | |
8113 * lo-ieee.h: [SCO]: Declare isinf and isnan. | |
8114 | |
2512 | 8115 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8116 | |
8117 * Version 1.92. | |
8118 | |
2508 | 8119 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8120 | |
2512 | 8121 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
8122 lines that have only carriage return or newline. | |
8123 | |
2508 | 8124 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
8125 | |
2500 | 8126 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8127 | |
8128 * idx-vector.cc (idx_is_inf_or_nan): New function. | |
8129 (IDX_VEC_REP::idx_vector_rep): Use it. | |
8130 | |
2493 | 8131 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8132 | |
8133 * str-vec.h, str-vec.cc: Add constructors to make string vectors | |
8134 from vectors of C strings. | |
8135 | |
8136 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string | |
8137 vector. | |
8138 (glob_match::match): Allow match string to be a string vector. | |
8139 (glob_match::glob): New function. | |
8140 | |
8141 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. | |
8142 | |
8143 * Array-b.cc: New file. | |
8144 * Makefile.in (TI_SRC): Add it to the list. | |
8145 | |
2492 | 8146 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8147 | |
8148 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h | |
8149 and safe-stat.h, to avoid getting them from $srcdir when we really | |
8150 want the version from the build directory. (Maybe this should be | |
8151 done for all the include files, not just those that are | |
8152 auto-generated? Hmm.) | |
8153 | |
2481 | 8154 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8155 | |
2482 | 8156 * Version 1.91. |
8157 | |
2481 | 8158 * Array3.cc (Array3<T>::resize): Make it work. |
8159 | |
8160 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8161 | |
8162 * oct-alloc.h, oct-alloc.cc: New files. | |
8163 * Makefile.in: Add them to the lists. | |
8164 | |
8165 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8166 | |
8167 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. | |
8168 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. | |
8169 | |
2466 | 8170 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8171 | |
8172 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, | |
8173 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
8174 file_stat::is_reg, file_stat::is_sock): Just return false if the | |
8175 underlying macro is not defined. | |
8176 | |
8177 * oct-math.h (lgamma, gamma): Delete declarations. | |
8178 (asinh, acosh, atanh, erf, erfc): Declare arg types too. | |
8179 Protect declarations with #ifdef HAVE_*. | |
8180 | |
2440 | 8181 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8182 | |
2452 | 8183 * Version 1.90. |
8184 | |
8185 * Makefile.in (DISTFILES): Add ChangeLog. | |
8186 | |
2444 | 8187 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
8188 | |
8189 * Matrix-ext.cc: Include <cfloat>, not <float.h>. | |
8190 | |
2443 | 8191 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444 | 8192 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
8193 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. | |
2443 | 8194 |
2440 | 8195 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
8196 since that is now accepatble syntax, even for built-in types. | |
8197 * Array2.h (T Array2<T>::checkelem): Likewise | |
8198 | |
2433 | 8199 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8200 | |
8201 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error | |
8202 message and return -1. | |
8203 | |
2428 | 8204 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8205 | |
2431 | 8206 * str-vec.h (str_vec_compare): Declare args as const void *, then |
8207 cast them to const string * in the body of the function. | |
8208 | |
8209 * file-ops.cc (file_stat::mode_as_string): Explicitly construct | |
8210 string from buf. | |
8211 | |
2428 | 8212 * Array3.h (Array3::checkelem): Tag bogus return value with |
8213 GCC_ATTRIBUTE_UNUSED. | |
8214 * Array2.h (Array2::checkelem): Likewise. | |
8215 | |
2424 | 8216 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8217 | |
8218 * Quad.h (Quad): Define virtual destructor. | |
8219 | |
2408 | 8220 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8221 | |
8222 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. | |
8223 | |
2401 | 8224 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8225 | |
8226 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ | |
8227 and MAIN__ extern "C". | |
8228 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. | |
8229 | |
2391 | 8230 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8231 | |
8232 * MArray-misc.cc: New file. | |
8233 * Makefile.in (MATRIX_SRC): Add it to the list. | |
8234 | |
8235 * mx-inlines.cc (equal): Return bool, not int. | |
8236 | |
8237 * idx-vector.h (idx_vector (double)): New constructor. | |
8238 | |
8239 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, | |
8240 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, | |
8241 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, | |
8242 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, | |
8243 CRowVector.cc: Logical operators return bool, not int. | |
8244 | |
8245 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): | |
8246 New function. | |
8247 | |
8248 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, | |
8249 Matrix::any_element_is_inf_or_nan, Matrix::abs, | |
8250 Matrix::all_elements_are_inf_or_nan): New functions. | |
8251 | |
8252 * Range.h, Range.cc (Range::all_elements_are_ints): New function. | |
8253 | |
8254 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant | |
8255 for errors. Simplify macros by converting FCN to string for error | |
8256 messages. | |
8257 | |
8258 * Array-idx.h (Array<T>::index): New function. Don't call | |
8259 clear_index() here. | |
8260 (Array<T>::value): Call it, do call clear_index() here. | |
8261 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for | |
8262 one and two arg index functions. | |
8263 | |
8264 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8265 | |
8266 * DAEFunc.h: Delete #pragma interface since there is no longer a | |
8267 separate implementation file. | |
8268 | |
2354 | 8269 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8270 | |
2358 | 8271 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
8272 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. | |
8273 | |
2356 | 8274 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
8275 sort_uniq. If sort_uniq is nonzero, sort the elements and make | |
8276 them uniq. | |
8277 | |
2354 | 8278 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
8279 ComplexMatrix::column_max, ComplexMatrix::column_min): | |
8280 Rewrite. Also return index as a reference arg. | |
8281 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, | |
8282 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): | |
8283 Delete. | |
8284 | |
8285 * dMatrix.cc (Matrix::row_max, Matrix::row_min, | |
8286 Matrix::column_max, Matrix::column_min): | |
8287 Rewrite. Also return index as a reference arg. | |
8288 (Matrix::row_max_loc, Matrix::row_min_loc, | |
8289 Matrix::column_max_loc, Matrix::column_min_loc): Delete. | |
8290 | |
8291 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8292 | |
8293 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, | |
8294 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, | |
8295 Matrix::column_min_loc, Matrix::column_max, | |
8296 Matrix::column_max_loc): Ignore leading NaNs. | |
8297 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, | |
8298 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, | |
8299 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, | |
8300 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore | |
8301 leading NaNs. | |
8302 | |
2352 | 8303 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8304 | |
8305 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds | |
8306 starting at n, not 0. | |
8307 | |
2349 | 8308 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8309 | |
8310 * dMatrix.cc (Matrix::Matrix (const RowVector&), | |
8311 Matrix::Matrix (const ColumnVector&)): New constructors. | |
8312 | |
8313 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), | |
8314 ComplexMatrix::ComplexMatrix (const ColumnVector&), | |
8315 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), | |
8316 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): | |
8317 New constructors. | |
8318 | |
8319 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): | |
8320 New constructor. | |
8321 | |
2343 | 8322 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8323 | |
8324 * LSODE.cc (do_integrate): Check to make sure that the state and | |
8325 derivative vectors are the same size. | |
2344 | 8326 * DASSL.cc (do_integrate): Likewise. |
2343 | 8327 |
2330 | 8328 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8329 | |
8330 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use | |
8331 iostreams and handler data format conversions. Delete old methods | |
8332 that used stdio. | |
8333 | |
8334 * data-conv.h, data-conv.cc (oct_data_conv): New class. | |
8335 | |
8336 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8337 | |
8338 * mach-info.h: Rename from float-fmt.h. | |
8339 * mach-info.cc: Rename from float-fmt.cc. | |
8340 Handle machine information using a singlton class. | |
8341 * Makefile.in: Update appropriate lists. | |
8342 | |
8343 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8344 | |
8345 * Array-flags.cc: Provide definitions for the flags even if | |
8346 OCTAVE_SOURCE is not defined. | |
8347 | |
8348 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects | |
8349 operator(), not elem(). | |
8350 * Array3.h: Move indexing methods here from Array3.cc. | |
8351 | |
8352 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8353 | |
8354 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). | |
8355 | |
8356 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of | |
8357 INSTALL_DATA for shared libs. | |
8358 | |
8359 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8360 | |
8361 * Quad.cc: Include lo-error.h here too. | |
8362 | |
8363 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8364 | |
8365 * file-ops.h: Include sys/types.h here. | |
8366 | |
8367 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8368 | |
8369 * chMatrix.cc (charMatrix::transpose): Provide definition. | |
8370 | |
8371 * Array-idx.h (maybe_delete_elements): Correctly compute number of | |
8372 elements in result. | |
8373 * Array2-idx.h (maybe_delete_elements): Likewise for number of | |
8374 rows and columns in result. | |
8375 | |
8376 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8377 | |
8378 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. | |
8379 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. | |
8380 | |
8381 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8382 | |
8383 * Makefile.in (install-inc): Install in octincludedir, not includedir. | |
8384 | |
8385 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8386 | |
8387 * Makefile.in (uninstall): Also delete shared library. | |
8388 Split install into install-libs and install-includes. | |
8389 (install-inc): If linkdir is a directory, leave it alone. | |
8390 | |
8391 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. | |
8392 | |
8393 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8394 | |
8395 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. | |
8396 * Array2-idx.h (assign): Likewise. | |
8397 | |
8398 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8399 | |
8400 * Array2.cc (Array2<T>::range_error): New functions. | |
8401 | |
8402 * Array.h (class Array<T>): elem() and operator() are now | |
8403 equivalent, and do bounds checking by default. | |
8404 * Array2.cc (class Array2<T>): Likewise. | |
8405 | |
8406 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8407 | |
8408 * Makefile.in (maintainer-clean, distclean): Also delete | |
8409 stamp-picdir, stamp-shared, and pic directory. | |
8410 (stamp-prereq): New target. | |
8411 | |
8412 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8413 | |
8414 * NPSOL.h (NPSOL_options::set_option (const char *, int)): | |
8415 New function. | |
8416 | |
8417 * Array.h, Array.cc (Array<T>::range_error ()): New functions. | |
8418 * Array.h (Array<T>::checkelem): Use them. | |
8419 | |
8420 * base-lu.h, base-lu.cc: Parameterize based on types of matrix | |
8421 elements too. | |
8422 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. | |
8423 | |
8424 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. | |
8425 | |
8426 * Makefile.in (distclean): Delete so_locations, which is created | |
8427 on DEC Alpha systems. | |
8428 | |
8429 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8430 | |
8431 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not | |
8432 already defined. | |
8433 | |
8434 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8435 | |
8436 * pathsearch.cc: Include config.h. | |
8437 | |
8438 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8439 | |
8440 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't | |
8441 allow M(I, J) = scalar if I or J is empty. | |
8442 | |
8443 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h | |
8444 and Array3-idx.h). | |
8445 | |
8446 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8447 | |
8448 * lo-error.h: Make comments C friendly. | |
8449 | |
8450 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8451 | |
8452 * Array2.h (make_unique): Move all indexing functions here. | |
8453 * Array2.cc: From here. | |
8454 | |
8455 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control | |
8456 whether operator() calls elem or checkelem. | |
8457 | |
8458 * Array.h (make_unique): New private function. | |
8459 Move all indexing functions here. | |
8460 * Array.cc: From here. | |
8461 | |
8462 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference | |
8463 it too. | |
8464 | |
8465 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, | |
8466 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, | |
8467 MArray-C.cc: Include config.h. | |
8468 | |
8469 * Array.h, Array2.h, DiagArray2.h, Array3.h: | |
8470 Don't define HEAVYWEIGHT_INDEXING here. | |
8471 | |
8472 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8473 | |
8474 * base-lu.h, base-lu.cc: New files. | |
8475 * Makefile.in: Add them to the appropriate lists. | |
8476 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. | |
8477 | |
8478 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8479 | |
8480 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h | |
8481 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h | |
8482 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. | |
8483 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. | |
8484 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. | |
8485 | |
8486 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. | |
8487 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. | |
8488 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. | |
8489 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: | |
8490 Simplify using new macros. | |
8491 | |
8492 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8493 | |
8494 * Makefile.in (install): If $(includedir) ends in version string, | |
8495 make link to name that does not include version info. | |
8496 | |
8497 * lo-ieee.cc: Include <cmath> here. | |
8498 | |
8499 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8500 | |
8501 * lo-ieee.cc, lo-ieee.h: New files. | |
8502 * lo-mappers.cc, lo-mappers.h: New files. | |
8503 * lo-utils.cc, lo-utils.h: New files. | |
8504 * Makefile.in: Add them to the appropriate lists. | |
8505 | |
8506 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8507 | |
8508 * dMatrix.cc (all_integers, too_large_for_float): New functions. | |
8509 * CMatrix.cc (all_integers, too_large_for_float): New functions. | |
8510 | |
8511 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, | |
8512 float-fmt.cc: New files. | |
8513 * Makefile.in: Include them in the appropriate lists. | |
8514 | |
8515 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8516 | |
8517 * dMatrix.cc (Qzval): New function. | |
8518 | |
8519 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8520 | |
8521 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not | |
8522 char*. | |
8523 | |
8524 * DASSL.h, DASSL.cc: Do better management of temporary workspace. | |
8525 Use F77_XFCN to call Fortran subroutine. | |
8526 * dColVector.cc, CColVector.cc: Likewise. | |
8527 * dRowVector.cc, CRowVector.cc: Likewise. | |
8528 * NPSOL.h, NPSOL.cc: Likewise. | |
8529 * CmplxCHOL.cc: Likewise. | |
8530 * dbleCHOL.cc: Likewise. | |
8531 * CMatrix.cc: Likewise. | |
8532 * dMatrix.cc: Likewise. | |
8533 * QPSOL.cc: Likewise. | |
8534 * LSODE.cc: Likewise. | |
8535 | |
8536 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8537 | |
8538 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. | |
8539 | |
8540 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary | |
8541 workspace. Use F77_XFCN to call Fortran subroutine. | |
8542 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. | |
8543 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. | |
8544 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. | |
8545 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. | |
8546 * CmplxHESS.h, CmplxHESS.cc: Likewise. | |
8547 * CmplxSVD.h, CmplxSVD.cc: Likewise. | |
8548 * dbleHESS.h, dbleHESS.cc: Likewise. | |
8549 * dbleSVD.h, dbleSVD.cc: Likewise. | |
8550 * EIG.h, EIG.cc; Likewise. | |
8551 * CollocWt.cc: Likewise. | |
8552 * NLEqn.cc: Likewise. | |
8553 * Quad.cc: Likewise. | |
8554 | |
8555 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8556 | |
8557 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. | |
8558 Use F77_XFCN to call Fortran subroutine. | |
8559 * CmplxLU.h, CmplxLU.cc: Ditto. | |
8560 * dbleQR.h, dbleQR.cc: Ditto. | |
8561 * CmplxQR.h, CmplxQR.cc: Ditto. | |
8562 * dbleQRP.h, dbleQRP.cc: Ditto. | |
8563 * CmplxQRP.h, CmplxQRP.cc: Ditto. | |
8564 | |
8565 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. | |
8566 (struct DIR): delete forward declaration. | |
8567 (dir_entry::operator = (const dir_entry$)): Protect against | |
8568 copying same object. | |
8569 * dir-ops.cc: Cast dir appropriately. | |
8570 | |
8571 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8572 | |
8573 * lo-error.cc: Moved to libcruft/misc. | |
8574 * Makefile.in: Delete it from the list. | |
8575 | |
8576 * f77-fcn.c (f77_context, f77_exception_encountered): Delete | |
8577 definitions (they have been moved to libcruft/misc/f77-extern.cc). | |
8578 | |
8579 * Array-flags.h: New file. | |
8580 * Array-idx.h: Include it here. | |
8581 * Makefile.in (MATRIX_INC): Add it to the list. | |
8582 | |
8583 * Array-flags.cc: Renamed from Array-ext.cc. | |
8584 (liboctave_dfi_flag): Renamed from dfi_flag. | |
8585 (liboctave_pcv_flag): Renamed from pcv_flag. | |
8586 (liboctave_pzo_flag): Renamed from pzo_flag. | |
8587 (liboctave_rre_flag): Renamed from rre_flag. | |
8588 * Array-idx.h: Change all uses of dfi_flag, etc. | |
8589 * Makefile.in (MATRIX_SRC): Change file name here too. | |
8590 | |
8591 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. | |
8592 (stamp-shared): Use them here. | |
8593 | |
8594 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8595 | |
8596 * cmd-hist.cc (command_history::ignore_entries): Delete default | |
8597 argument value. | |
8598 | |
8599 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8600 | |
8601 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, | |
8602 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, | |
8603 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, | |
8604 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: | |
8605 Clean up constructors, assigment operator. | |
8606 | |
8607 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8608 | |
8609 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. | |
8610 Check f77_exception_encountered on return. | |
8611 | |
8612 * f77-fcn.c (f77_exception_encountered): New variable. | |
8613 (F77_XFCN): Set it. | |
8614 * f77-fcn.h: Provide declaration. | |
8615 | |
8616 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). | |
8617 | |
8618 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). | |
8619 | |
8620 * NLEqn.h (NLEqn_options::set_options): New function. | |
8621 * Quad.h (Quad_options::set_options): Likewise. | |
8622 | |
8623 * LP.h (class LP): Add accessors for LP data. | |
8624 | |
8625 * NLEqn.h (NLEqn::n): Delete. | |
8626 | |
8627 * NLEqn.h (class NLEqn::n): Likewise. | |
8628 | |
8629 * NLP.h (class NLP): Add accessors for NLP data. | |
8630 | |
8631 * NPSOL.h (class NPSOL_options): Move constructors, set, and | |
8632 access functions here. | |
8633 * NPSOL.cc.cc: From here. | |
8634 | |
8635 * QLD.h (class QLD): Add destructor definition. | |
8636 * Objective.h (class Objective): Likewise. | |
8637 * ODEFunc.h (class ODEFunc): Likewise. | |
8638 * NLFunc.h (class NLFunc): Likewise. | |
8639 * NLEqn.h (class NLEqn): Likewise. | |
8640 * NLConst.h (class NLConst): Likewise. | |
8641 * LinConst.h (class LinConst): Likewise. | |
8642 * LSODE.h (class LSODE_options): Likewise. | |
8643 * CollocWt.h (class CollocWt): Likewise. | |
8644 * Bounds.h (class Bounds): Likewise. | |
8645 | |
8646 * QLD.cc (QLD::set_default_options): Delete. | |
8647 | |
8648 * QP.h (QP): Add accessors for QP data. | |
8649 Add copy constructor, operator =, and destructor definitions. | |
8650 | |
8651 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, | |
8652 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, | |
8653 DAEFunc.h, CollocWt.h, Bounds.h: | |
8654 Clean up constructors, assigment operator. | |
8655 | |
8656 * dRowVector.cc (RowVector::transpose): Use magic of reference | |
8657 counting to avoid duplicating the data immediately. | |
8658 * dColVector.cc (ColumnVector::transpose): Likewise. | |
8659 * CRowVector.cc (ComplexrowVector::transpose): Likewise. | |
8660 * CColVector.cc (ComplexColumnVector::transpose): Likewise. | |
8661 | |
8662 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8663 | |
8664 * prog-args.h (prog_args::option_argument): New enum. | |
8665 | |
8666 * f77-fcn.h: Rename from f77-uscore.h. | |
8667 (F77_XFCN_ERROR, F77_XFCN): New macros. | |
8668 * f77-fcn.c: New file. | |
8669 * Makefile.in (SOURCES): Add it to the list. | |
8670 | |
8671 * ODEFunc.h: Clean up. | |
8672 | |
8673 * DASSL.cc, DASSL.h: New files. | |
8674 * Makefile.in: Add them to the appropriate lists. | |
8675 | |
8676 * LSODE.cc, LSODE.h: New files. | |
8677 * Makefile.in: Add them to the appropriate lists. | |
8678 | |
8679 * ODE.cc: Delete. | |
8680 * Makefile.in (SOURCES): Remove from list. | |
8681 | |
8682 * base-de.h, DAE.cc: New files. | |
8683 * Makefile.in: Add them to the appropriate lists. | |
8684 * ODE.h: Only define interface for ODE classes. | |
8685 * DAE.h: Only define interface for ODE classes. | |
8686 | |
8687 * LPsolve.cc (do_minimize): Print sorry not implemented message. | |
8688 (LPsolve::set_default_options)): Delete | |
8689 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and | |
8690 destructor. | |
8691 | |
8692 * LP.h (class LP): Add operator =, copy constructor, and destructor. | |
8693 | |
8694 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. | |
8695 (QPSOL::operator =): Call base class operator = instead of assuming | |
8696 we know what to copy. | |
8697 | |
8698 * base-min.h (size): New function. | |
8699 | |
8700 * NLP.h (NLP::size): Delete. | |
8701 (NLP::NLP (const NLP&)): New constructor. | |
8702 (NLP::operator =): Call base class operator = instead of assuming | |
8703 we know what to copy. | |
8704 | |
8705 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. | |
8706 (class NPSOL): Add operator = and destructor. | |
8707 | |
8708 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. | |
8709 | |
8710 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8711 | |
8712 * Makefile.in (liboctave.a): Depend on $(PICOBJ). | |
8713 | |
8714 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8715 | |
8716 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. | |
8717 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. | |
8718 | |
8719 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8720 | |
8721 * prog-args.h, prog-args.cc: New files. | |
8722 * Makefile.in: Add them to lists. | |
8723 | |
8724 * getopt.h, getopt.c, getopt1.c: New files. | |
8725 * Makefile.in: Add them to the lists. | |
8726 | |
8727 * oct-term.h, oct-term.cc: New files. | |
8728 * Makefile.in: Add them to the lists. | |
8729 | |
8730 * str-vec.cc: New file. | |
8731 * Makefile.in (SOURCES): Add it to the list. | |
8732 | |
8733 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. | |
8734 | |
8735 * tempname.c, tempnam.c: Move here from src directory. | |
8736 * Makefile.in: Add to lists. | |
8737 | |
8738 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8739 | |
8740 * cmd-hist.h, cmd-hist.cc: New files. | |
8741 * Makefile.in: Add them to lists. | |
8742 | |
8743 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8744 | |
8745 * oct-glob.h, oct-glob.cc: New files. | |
8746 * Makefile.in: Add them to lists. | |
8747 | |
8748 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8749 | |
8750 * pathsearch.h, pathsearch.cc: New files. | |
8751 * Makefile.in: Add them to lists. | |
8752 | |
8753 * dir-ops.h, dir-ops.cc: New files. | |
8754 * sysdir.h: Move here from src directory. | |
8755 * Makefile.in: Add them to lists. | |
8756 | |
8757 * Array.h (Array::qsort): Return *this, not void. | |
8758 * str-vec.h (string_vector::qsort): Likewise. | |
8759 | |
8760 * chMatrix.cc (row_as_string): Resize result to eliminate | |
8761 unnecessary NULs. | |
8762 | |
8763 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8764 | |
8765 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, | |
8766 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: | |
8767 Files moved here from src directory. | |
8768 * Makefile.in: Add them to lists. Include appropriate rules. | |
8769 | |
8770 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
8771 Use pointers, not references (this is C code!). | |
8772 | |
8773 * oct-math.h: New file. | |
8774 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
8775 Files moved here from src directory. | |
8776 * Makefile.in: Add them to lists. | |
8777 | |
8778 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8779 | |
8780 * idx-vector.cc (make_uniq): Fix major brain-o. | |
8781 | |
8782 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: | |
8783 Convert to use string class instead of char*. | |
8784 | |
8785 * str-vec.h, Array-str.cc: New files. | |
8786 | |
8787 * Array.h (Array::qsort): New function. | |
8788 | |
8789 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8790 | |
8791 * Array.h: Nest ArrayRep class inside Array class. | |
8792 Refer to ArrayRep, not ArrayRep<T>. | |
8793 Move all ArrayRep functions inline. | |
8794 Don't declare other Array classes as friends of ArrayRep. | |
8795 * Array.cc: Delete ArrayRep functions. | |
8796 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. | |
8797 | |
8798 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: | |
8799 Don't instantiate ArrayRep objects. | |
8800 | |
8801 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8802 | |
8803 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
8804 New constructor. | |
8805 | |
8806 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8807 | |
8808 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* | |
8809 for balance_job arg. | |
8810 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. | |
8811 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. | |
8812 | |
8813 * chMatrix.cc (row_as_string): Return string, not const char*. | |
8814 | |
8815 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8816 | |
8817 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. | |
8818 | |
8819 * chMatrix.cc (row_as_string): Undo previous change. | |
8820 | |
8821 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8822 | |
8823 * chMatrix.cc (row_as_string): Do memory management here. Caller | |
8824 is expected to save string if necessary. | |
8825 | |
8826 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8827 | |
8828 * Array.h (class DiagArray): Enable nested Proxy class for all | |
8829 platforms. | |
8830 | |
8831 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == | |
8832 a.rep, don't mess with count. | |
8833 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, | |
8834 don't do anything if reps are the same. | |
8835 (Array3<T>& operator = (const Array3<T>&) | |
8836 | |
8837 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): | |
8838 Declare private with no definition to prevent misuse. | |
8839 | |
8840 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): | |
8841 Get range check right. | |
8842 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. | |
8843 (Matrix::insert (const ColumnVector&, int, int)): Ditto. | |
8844 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. | |
8845 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. | |
8846 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. | |
8847 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. | |
8848 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. | |
8849 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. | |
8850 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. | |
8851 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. | |
8852 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. | |
8853 * dColVector.cc | |
8854 (ColumnVector::insert (const ColumnVector&, int)): Ditto. | |
8855 * CRowVector.cc | |
8856 (ComplexRowVector::insert (const RowVector&, int)): Ditto. | |
8857 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. | |
8858 * CColVector.cc | |
8859 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. | |
8860 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. | |
8861 | |
8862 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): | |
8863 Also fill in zeros, not just the diagonal. | |
8864 | |
8865 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): | |
8866 Use END parameter properly. | |
8867 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. | |
8868 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. | |
8869 | |
8870 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. | |
8871 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. | |
8872 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): | |
8873 Don't copy count. Set it to 1. | |
8874 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. | |
8875 | |
8876 * Array.h (Array<T>::Array (T *, int)): After constructing rep, | |
8877 don't set rep->count to 1 here (now handled by ArrayRep | |
8878 constructors). | |
8879 (Array<T>::Array (void)): Ditto. | |
8880 (Array<T>::Array (int)): Ditto. | |
8881 (Array<T>::T& elem (int)): Ditto. | |
8882 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. | |
8883 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. | |
8884 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. | |
8885 (Array<T>::resize (int)): Ditto. | |
8886 (Array<T>::resize (int, const T&)) :Ditto. | |
8887 (Array<T>::fortran_vec (void)): Ditto. | |
8888 (Array2<T>::resize (int, int)): Ditto. | |
8889 (Array2<T>::resize (int, int, const T&)): Ditto. | |
8890 (DiagArray<T>::resize (int, int)): Ditto. | |
8891 (DiagArray<T>::resize (int, int, const T&)): Ditto. | |
8892 | |
8893 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8894 | |
8895 * Array-ch.cc: Rename from Array-c.cc. | |
8896 * MArray-ch.cc: Rename from MArray-c.cc. | |
8897 * chMatrix.cc: Rename from cMatrix.cc. | |
8898 * chMatrix.h: Rename from cMatrix.h. | |
8899 * Makefile.in (TI_SRC): Use new names here. | |
8900 * mx-base.h: Likewise. | |
8901 | |
8902 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8903 | |
8904 * Makefile.in: Handle shared libraries. | |
8905 | |
8906 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8907 | |
8908 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): | |
8909 Correctly compute length of return value. Correct rows and | |
8910 columns in zgemv call. | |
8911 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. | |
8912 | |
8913 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8914 | |
8915 * Makefile.in (stamp-picdir): New target. | |
8916 (all): Depend on it. | |
8917 | |
8918 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8919 | |
8920 * Makefile.in (INCLUDES): Remove QLD.h. | |
8921 (SOURCES): Remove QLD.cc. | |
8922 | |
8923 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8924 | |
8925 * dMatrix.cc (Matrix::inverse): New arg, force. | |
8926 If force is nonzero, invert even if matrix is singular. | |
8927 (ComplexMatrix::inverse): Likewise. | |
8928 | |
8929 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, | |
8930 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, | |
8931 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: | |
8932 Include "oct-cmplx.h" instead of <Complex.h>. | |
8933 | |
8934 * mx-defs.h: Include oct-cmplx.h in place of forward declaration | |
8935 for class Complex. | |
8936 | |
8937 * oct-cmplx.h: New file. | |
8938 * Makefile.in (INCLUDES): Add it to the list. | |
8939 | |
8940 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. | |
8941 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. | |
8942 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. | |
8943 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): | |
8944 Avoid g++ bugs. | |
8945 | |
8946 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8947 | |
8948 * Array-idx.h (maybe_delete_elements): Give useful error message. | |
8949 | |
8950 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. | |
8951 | |
8952 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8953 | |
8954 * CDiagMatrix.cc (inverse): Return retval, not *this. | |
8955 * dDiagMatrix.cc (inverse): Use same method as for Complex case. | |
8956 | |
8957 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8958 | |
8959 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep | |
8960 index vector object with Array, not ArrayRep. | |
8961 | |
8962 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8963 | |
8964 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail | |
8965 if index is a colon and resizing is maybe needed. | |
8966 | |
8967 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8968 | |
8969 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true | |
8970 if we have a vector of 1's. | |
8971 | |
8972 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no | |
8973 current orientation, require index and rhs to conform unless | |
8974 do_fortran_indexing flag is set. | |
8975 | |
8976 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8977 | |
8978 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, | |
8979 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, | |
8980 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, | |
8981 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, | |
8982 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: | |
8983 Massive changes to support additional data types. Only charMatrix | |
8984 is currently used in Octave. | |
8985 | |
8986 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8987 | |
8988 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. | |
8989 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): | |
8990 Simply call Array2<Complex> version. | |
8991 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just | |
8992 call Array2<double> version. | |
8993 | |
8994 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. | |
8995 | |
8996 * Array.h, Array.cc: Massive overhaul to support new way of | |
8997 handling indexing. | |
8998 * idx-vector.h, idx-vector.cc: Likewise. | |
8999 * Array-ext.cc, Array-idx.h: New files. | |
9000 * Makefile.in: Add them to the appropriate lists. | |
9001 | |
9002 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9003 | |
9004 * Range.cc (nelem_internal): Use tfloor here, not round. | |
9005 | |
9006 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9007 | |
9008 * idx-vector.h, idx-vector.cc: New files, moved from ../src. | |
9009 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. | |
9010 | |
9011 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9012 | |
9013 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. | |
9014 | |
9015 * Array.h: Move simple member functions here. | |
9016 * Array.cc: From here. | |
9017 | |
9018 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9019 | |
9020 * Range.cc (tfloor, tceil, round): New static functions. | |
9021 (Range::nelem_internal): Rewrite to use better method. | |
9022 | |
9023 * dbleSVD.h (SVD::type): New item, sigma_only. | |
9024 (type_computed): New var. | |
9025 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): | |
9026 Handle possible error condition. | |
9027 (init): Allow for SVD::sigma_only, save type computed. | |
9028 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): | |
9029 Handle possible error condition. | |
9030 (init): Allow for SVD::sigma_only, save type computed. | |
9031 | |
9032 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9033 | |
9034 * Nearly all non-matrix .h and .cc files: | |
9035 Move short function bodies into class declarations for inlining. | |
9036 Generally clean up. | |
9037 | |
9038 * base-min.h: New file. | |
9039 * LP.h (class LP): Derive from base_minimizer. | |
9040 * QLP.h (class QLP): Derive from base_minimizer. | |
9041 * NLP.h (class NLP): Derive from base_minimizer. | |
9042 * Makefile.in (INCLUDES): Add base-min.h to the list. | |
9043 | |
9044 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, | |
9045 NLFunc.cc, Objective.cc and QP.cc from list. | |
9046 | |
9047 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9048 | |
9049 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. | |
9050 (SCHUR::SCHUR): Delete unused parameter ord. | |
9051 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. | |
9052 | |
9053 * CRowVector.cc | |
9054 (ComplexRowVector::operator+ (const Complex&, const RowVector&), | |
9055 (ComplexRowVector::operator- (const Complex&, const RowVector&), | |
9056 (ComplexRowVector::operator* (const Complex&, const RowVector&), | |
9057 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): | |
9058 Actually do something. | |
9059 | |
9060 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. | |
9061 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. | |
9062 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. | |
9063 | |
9064 * Quad.cc (Quad_options::Quad_options (double, double)): New function. | |
9065 * (Quad::Quad (integrand_fcn, double, double): Properly initialize | |
9066 tolerances. | |
9067 | |
9068 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. | |
9069 * LPsolve.cc (LPsolve::minimize): Likewise. | |
9070 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. | |
9071 * ODE.cc (lsode_f, lsode_j): Likewise. | |
9072 * QPSOL.cc (qphess): Likewise. | |
9073 | |
9074 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9075 | |
9076 * dMatrix.cc: Include <cstring>. | |
9077 | |
9078 * Array.cc: Try harder to avoid warnings from gcc in functions | |
9079 that return bogus values after calling the error handler. | |
9080 | |
9081 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9082 | |
9083 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. | |
9084 | |
9085 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. | |
9086 | |
9087 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9088 | |
9089 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. | |
9090 (dassl_j): Likewise. | |
9091 | |
9092 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, | |
9093 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, | |
9094 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: | |
9095 Update for change in for loop variable scope for gcc 2.7.0. | |
9096 | |
9097 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9098 | |
9099 * Makefile.in: Only include dependency files if $(omit_deps) is | |
9100 not set. | |
9101 | |
9102 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) | |
9103 | |
9104 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h | |
9105 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h | |
9106 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h | |
9107 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h | |
9108 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h | |
9109 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h | |
9110 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h | |
9111 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h | |
9112 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc | |
9113 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc | |
9114 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc | |
9115 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc | |
9116 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc | |
9117 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc | |
9118 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc | |
9119 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc | |
9120 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc | |
9121 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h | |
9122 NLP.h: Use pragma interface/implementation. Don't surround | |
9123 contents in extern "C++". | |
9124 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". | |
9125 | |
9126 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9127 | |
9128 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase | |
9129 identifiers. | |
9130 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
9131 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
9132 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
9133 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
9134 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
9135 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
9136 Quad.cc: Change usage of F77_FCN to match new definition | |
9137 | |
9138 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
9139 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
9140 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
9141 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
9142 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
9143 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
9144 Quad.cc: Where appropriate, declare Fortran subroutines to take | |
9145 args by reference instead of pointer. Change all callers. | |
9146 | |
9147 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9148 | |
9149 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New | |
9150 functions. Make += and -= operators friend functions. | |
9151 | |
9152 * Array.h (Array2::~Array2, Array3::~Array3, | |
9153 DiagArray::~DiagArray): New functions. | |
9154 | |
9155 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9156 | |
9157 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. | |
9158 (MATRIX_INC): Don't distribute mx-kludge.h. | |
9159 | |
9160 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
9161 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
9162 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
9163 dRowVector.h dRowVector.cc: | |
9164 Derive classes from MArray, MArray2, and MDiagArray, not Array, | |
9165 Array2, and DiagArray2. | |
9166 Don't use functions defined in mx-kludge.cc for arithmetic | |
9167 like-type operations on arrays. | |
9168 | |
9169 * MArray.cc: Use the classes defined here like-type mathematical | |
9170 operations on Array objects. Abuse CPP more. | |
9171 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
9172 (EXTRAS): Delete it from this list. | |
9173 | |
9174 * MArray-C.cc, MArray-d.cc: New files. | |
9175 * Makefile.in (TI_SRC): Add them to the list. | |
9176 | |
9177 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9178 | |
9179 * mx-kludge.cc: Abuse CPP even more. | |
9180 | |
9181 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9182 | |
9183 * Objective.h (objective_function): Add missing const. | |
9184 (gradient_function): Likewise. | |
9185 | |
9186 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
9187 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
9188 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
9189 dRowVector.h dRowVector.cc: | |
9190 Reorganize to declare and define friends where they should be, | |
9191 based on the use of private constructors. | |
9192 | |
9193 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9194 | |
9195 * CRowVector.h (linspace): Add declaration. | |
9196 * dRowVector.h (linspace): Likewise. | |
9197 | |
9198 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
9199 Force result of rcond + 1.0 to be stored. | |
9200 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, | |
9201 ComplexMatrix::solve): Likewise. | |
9202 | |
9203 See ChangeLog.1 in the top level directory for earlier changes. |